From a7241984fd6945f59eb9dfc98bca0c481a5c560a Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 16:28:50 +0530 Subject: [PATCH 01/17] fix: json diff output --- scripts/schemaGenerator.py | 65 +++++++++++++++++++++++++++++--------- 1 file changed, 50 insertions(+), 15 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index 0f99cf66e..07910e9da 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -9,10 +9,9 @@ 2. python3 scripts/schemaGenerator.py -all source ''' import os -import sys import warnings import json -from jsondiff import diff +from jsondiff import JsonDiffer from enum import Enum import argparse @@ -883,10 +882,10 @@ def generate_warnings_for_each_type(uiConfig, dbConfig, schema, curUiType): curSchemaField = schema["properties"][field["value"]] newSchemaField = uiTypetoSchemaFn.get( curUiType)(field, dbConfig, "value") - schemaDiff = diff(newSchemaField, curSchemaField) + schemaDiff = get_json_diff(curSchemaField, newSchemaField) if schemaDiff: warnings.warn("For type:{} field:{} Difference is : \n\n {} \n".format( - curUiType, field["value"], schemaDiff), UserWarning) + curUiType, field["value"], get_formatted_json(schemaDiff)), UserWarning) else: baseTemplate = uiConfig.get('baseTemplate', []) sdkTemplate = uiConfig.get('sdkTemplate', {}) @@ -908,10 +907,10 @@ def generate_warnings_for_each_type(uiConfig, dbConfig, schema, curUiType): curSchemaField = schema["properties"][field["configKey"]] newSchemaField = uiTypetoSchemaFn.get( curUiType)(field, dbConfig, "configKey") - schemaDiff = diff(newSchemaField, curSchemaField) + schemaDiff = get_json_diff(curSchemaField, newSchemaField) if schemaDiff: warnings.warn("For type:{} field:{} Difference is : \n\n {} \n".format( - curUiType, field["configKey"], schemaDiff), UserWarning) + curUiType, field["configKey"], get_formatted_json(schemaDiff)), UserWarning) for field in sdkTemplate.get('fields', []): if "preRequisites" in field: @@ -926,10 +925,10 @@ def generate_warnings_for_each_type(uiConfig, dbConfig, schema, curUiType): curSchemaField = schema["properties"][field["configKey"]] newSchemaField = uiTypetoSchemaFn.get( curUiType)(field, dbConfig, "configKey") - schemaDiff = diff(newSchemaField, curSchemaField) + schemaDiff = get_json_diff(curSchemaField, newSchemaField) if schemaDiff: warnings.warn("For type:{} field:{} Difference is : \n\n {} \n".format( - curUiType, field["configKey"], schemaDiff), UserWarning) + curUiType, field["configKey"], get_formatted_json(schemaDiff)), UserWarning) uiTypetoSchemaFn = { @@ -947,6 +946,42 @@ def generate_warnings_for_each_type(uiConfig, dbConfig, schema, curUiType): 'timePicker': generate_schema_for_time_picker } +def get_json_diff(oldJson, newJson): + """Returns the difference between two JSONs. + + Args: + oldJson (object): old json. + newJson (object): new json. + + Returns: + object: difference between oldJson and newJson. + """ + differ = JsonDiffer(marshal=True) + return differ.diff(oldJson, newJson) + +def apply_json_diff(oldJson, diff): + """Applies the difference on oldJson and returns the newJson. + + Args: + oldJson (object): old json. + diff (object): difference between oldJson and newJson. + + Returns: + object: new json. + """ + differ = JsonDiffer(marshal=True) + return differ.patch(oldJson, diff) + +def get_formatted_json(jsonObj): + """Formats the json object. + + Args: + jsonObj (object): json object. + + Returns: + string: formatted json. + """ + return json.dumps(jsonObj, indent=2) def validate_config_consistency(name, selector, uiConfig, dbConfig, schema, shouldUpdateSchema): """Generates a schema and compares it with an existing one. @@ -985,30 +1020,30 @@ def validate_config_consistency(name, selector, uiConfig, dbConfig, schema, shou else: curRequiredField = schema["required"] newRequiredField = generatedSchema["configSchema"]["required"] - requiredFieldDiff = diff(curRequiredField, newRequiredField) + requiredFieldDiff = get_json_diff(curRequiredField, newRequiredField) if requiredFieldDiff: - warnings.warn("For required field Difference is : \n\n {} \n".format(requiredFieldDiff), UserWarning) + warnings.warn("For required field Difference is : \n\n {} \n".format(get_formatted_json(requiredFieldDiff)), UserWarning) if "allOf" in generatedSchema["configSchema"]: curAllOfSchema = {} if "allOf" in schema: curAllOfSchema = schema["allOf"] newAllOfSchema = generatedSchema["configSchema"]["allOf"] - allOfSchemaDiff = diff(newAllOfSchema, curAllOfSchema) + allOfSchemaDiff = get_json_diff(curAllOfSchema, newAllOfSchema) if allOfSchemaDiff: - warnings.warn("For allOf field Difference is : \n\n {} \n".format(allOfSchemaDiff), UserWarning) + warnings.warn("For allOf field Difference is : \n\n {} \n".format(get_formatted_json(allOfSchemaDiff)), UserWarning) if "anyOf" in generatedSchema["configSchema"]: curAnyOfSchema = {} if "anyOf" in schema: curAnyOfSchema = schema["anyOf"] newAnyOfSchema = generatedSchema["configSchema"]["anyOf"] - anyOfSchemaDiff = diff(newAnyOfSchema, curAnyOfSchema) + anyOfSchemaDiff = get_json_diff(curAnyOfSchema, newAnyOfSchema) if anyOfSchemaDiff: - warnings.warn("For anyOf field Difference is : \n\n {} \n".format(anyOfSchemaDiff), UserWarning) + warnings.warn("For anyOf field Difference is : \n\n {} \n".format(get_formatted_json(anyOfSchemaDiff)), UserWarning) print('-'*50) else: print('-'*50) print(f'Generated Schema for {name} in {selector}s') - print(json.dumps(generatedSchema,indent=2)) + print(get_formatted_json(generatedSchema)) print('-'*50) def get_schema_diff(name, selector, shouldUpdateSchema=False): From 7d7a07fa4277cf83113b32a22072b6b745f0e193 Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 16:29:27 +0530 Subject: [PATCH 02/17] feat: allow updating all files --- scripts/schemaGenerator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index 07910e9da..8e314285e 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -1085,7 +1085,7 @@ def get_schema_diff(name, selector, shouldUpdateSchema=False): CONFIG_DIR = 'src/configurations' current_items = os.listdir(f'./{CONFIG_DIR}/{selector}s') for name in current_items: - get_schema_diff(name, selector) + get_schema_diff(name, selector, shouldUpdateSchema) else: name = args.name From 307561e159d89b0c883b9b856224ef8c9e69b27f Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 16:30:02 +0530 Subject: [PATCH 03/17] feat: add directory check --- scripts/schemaGenerator.py | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index 8e314285e..dbf416002 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -1056,16 +1056,8 @@ def get_schema_diff(name, selector, shouldUpdateSchema=False): """ file_selectors = ['db-config.json', 'ui-config.json', 'schema.json'] directory = f'./{CONFIG_DIR}/{selector}s/{name}' - available_files = os.listdir(directory) - file_content = {} - for file_selector in file_selectors: - if file_selector in available_files: - with open (f'{directory}/{file_selector}', 'r') as f: - file_content.update(json.loads(f.read())) - uiConfig = file_content.get("uiConfig") - schema = file_content.get("configSchema") - dbConfig = file_content.get("config") - if name not in EXCLUDED_DEST: + if not os.path.isdir(directory): + return validate_config_consistency(name, selector, uiConfig, dbConfig, schema, shouldUpdateSchema) @@ -1083,7 +1075,12 @@ def get_schema_diff(name, selector, shouldUpdateSchema=False): if args.all: CONFIG_DIR = 'src/configurations' - current_items = os.listdir(f'./{CONFIG_DIR}/{selector}s') + dir_path = f'./{CONFIG_DIR}/{selector}s' + if not os.path.isdir(dir_path): + print(f'No {selector}s folder found') + exit(1) + + current_items = os.listdir(dir_path) for name in current_items: get_schema_diff(name, selector, shouldUpdateSchema) From 48c073ee47eac2f9a68ee7b2c533c15ae6eae1d9 Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 16:30:23 +0530 Subject: [PATCH 04/17] fix: avoid reading excluded files --- scripts/schemaGenerator.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index dbf416002..ba085ac9c 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -1058,6 +1058,18 @@ def get_schema_diff(name, selector, shouldUpdateSchema=False): directory = f'./{CONFIG_DIR}/{selector}s/{name}' if not os.path.isdir(directory): return + + if name not in EXCLUDED_DEST: + available_files = os.listdir(directory) + file_content = {} + for file_selector in file_selectors: + if file_selector in available_files: + with open (f'{directory}/{file_selector}', 'r') as f: + file_content.update(json.loads(f.read())) + uiConfig = file_content.get("uiConfig") + schema = file_content.get("configSchema") + dbConfig = file_content.get("config") + validate_config_consistency(name, selector, uiConfig, dbConfig, schema, shouldUpdateSchema) From 7c84171cce60bf4803df9eb5f20be32347fe4233 Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 16:33:32 +0530 Subject: [PATCH 05/17] feat: add warning for missing fields in db-config.json --- scripts/schemaGenerator.py | 40 ++++++++++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index ba085ac9c..e8fc9681d 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -101,6 +101,25 @@ def is_dest_field_dependent_on_source(field, dbConfig, schema_field_name): return True return False +def is_key_present_in_dest_config(dbConfig, key): + """Checks if the given key is present in destConfig across all source types. + + Args: + dbConfig (object): Destination configuration in db-config.json. + key (string): key to be searched in destConfig tree. + + Returns: + boolean: True if the key is present in destConfig else, False. + """ + if not dbConfig: + return False + + if "destConfig" in dbConfig: + for configSection in dbConfig["destConfig"]: + if key in dbConfig["destConfig"][configSection]: + return True + return False + def is_field_present_in_default_config(field, dbConfig, schema_field_name): """Checks if the given field is present in defaultConfig list present in dbConfig. @@ -755,8 +774,12 @@ def generate_schema_properties(uiConfig, dbConfig, schemaObject, properties, nam continue generateFunction = uiTypetoSchemaFn.get(field['type'], None) if generateFunction: - properties[field['value']] = generateFunction( - field, dbConfig, 'value') + # Generate schema for the field if it is defined in the destination config + if is_key_present_in_dest_config(dbConfig, field['value']): + properties[field['value']] = generateFunction( + field, dbConfig, 'value') + else: + warnings.warn(f'The field {field["value"]} is defined in ui-config.json but not in db-config.json\n', UserWarning) if field.get('required', False) == True and is_field_present_in_default_config(field, dbConfig, "value"): schemaObject['required'].append(field['value']) else: @@ -770,8 +793,12 @@ def generate_schema_properties(uiConfig, dbConfig, schemaObject, properties, nam generateFunction = uiTypetoSchemaFn.get( field['type'], None) if generateFunction: - properties[field['configKey']] = generateFunction( + # Generate schema for the field if it is defined in the destination config + if is_key_present_in_dest_config(dbConfig, field['configKey']): + properties[field['configKey']] = generateFunction( field, dbConfig, 'configKey') + else: + warnings.warn(f'The field {field["configKey"]} is defined in ui-config.json but not in db-config.json\n', UserWarning) if template.get('title', "") == "Initial setup" and is_field_present_in_default_config(field, dbConfig, "configKey") and 'preRequisites' not in field: schemaObject['required'].append( field['configKey']) @@ -779,8 +806,13 @@ def generate_schema_properties(uiConfig, dbConfig, schemaObject, properties, nam for field in sdkTemplate.get('fields', []): generateFunction = uiTypetoSchemaFn.get(field['type'], None) if generateFunction: - properties[field['configKey']] = generateFunction( + # Generate schema for the field if it is defined in the destination config + if is_key_present_in_dest_config(dbConfig, field['configKey']): + properties[field['configKey']] = generateFunction( field, dbConfig, 'configKey') + else: + warnings.warn(f'The field {field["configKey"]} is defined in ui-config.json but not in db-config.json\n', UserWarning) + if field.get('required', False) == True and is_field_present_in_default_config(field, dbConfig, "configKey"): schemaObject['required'].append(field['configKey']) From 161a810233e60b58369404b7d3af25e65cba1d4b Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 16:34:02 +0530 Subject: [PATCH 06/17] fix: avoid generating useNativeSDK schema always --- scripts/schemaGenerator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index e8fc9681d..6f99b3fe8 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -817,7 +817,8 @@ def generate_schema_properties(uiConfig, dbConfig, schemaObject, properties, nam schemaObject['required'].append(field['configKey']) # default properties in new ui-config based schemas. - schemaObject['properties']['useNativeSDK'] = generate_schema_for_checkbox({"type":"checkbox", + if is_key_present_in_dest_config(dbConfig, 'useNativeSDK'): + schemaObject['properties']['useNativeSDK'] = generate_schema_for_checkbox({"type":"checkbox", "value":"useNativeSDK"}, dbConfig, "value") schemaObject['properties']['connectionMode'] = generate_connection_mode(dbConfig) else: From 332771b076cd02a7de31a0df66e5b21914fdfd65 Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 16:35:43 +0530 Subject: [PATCH 07/17] chore: fix typos --- scripts/schemaGenerator.py | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index 6f99b3fe8..87e44d7bf 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -72,6 +72,8 @@ def generalize_regex_pattern(field): if defaultEnvPattern not in pattern and (('value' not in field or field['value'] != 'purpose') and ('configKey' not in field or field['configKey'] != 'purpose')): indexToPlace = pattern.find(defaultSubPattern) + len(defaultSubPattern) pattern = pattern[:indexToPlace] + '|' + defaultEnvPattern + pattern[indexToPlace:] + # TODO: we should not use a case here for the individual properties. Just pass the desired pattern as regex property + # in ketch purpose fields and delete next case elif ('value' in field and field['value'] == 'purpose') or ('configKey' in field and field['configKey'] == 'purpose'): pattern = '^(.{0,100})$' else: @@ -139,7 +141,7 @@ def is_field_present_in_default_config(field, dbConfig, schema_field_name): return False def generate_schema_for_default_checkbox(field, dbConfig, schema_field_name): - """Creates an schema object of defaultCheckbox. + """Creates a schema object of defaultCheckbox. Args: field (object): Individual field in ui-config. @@ -162,7 +164,7 @@ def generate_schema_for_default_checkbox(field, dbConfig, schema_field_name): def generate_schema_for_checkbox(field, dbConfig, schema_field_name): - """Creates an schema object of checkbox. + """Creates a schema object of checkbox. Args: field (object): Individual field in ui-config. @@ -191,7 +193,7 @@ def generate_schema_for_checkbox(field, dbConfig, schema_field_name): def generate_schema_for_textinput(field, dbConfig, schema_field_name): - """Creates an schema object of textinput. + """Creates a schema object of textinput. Args: field (object): Individual field in ui-config. @@ -222,7 +224,7 @@ def generate_schema_for_textinput(field, dbConfig, schema_field_name): def generate_schema_for_textarea_input(field, dbConfig, schema_field_name): - """Creates an schema object of textareaInput. + """Creates a schema object of textareaInput. Args: field (object): Individual field in ui-config. @@ -240,7 +242,7 @@ def generate_schema_for_textarea_input(field, dbConfig, schema_field_name): def generate_schema_for_single_select(field, dbConfig, schema_field_name): - """Creates an schema object of singleSelect. + """Creates a schema object of singleSelect. Args: field (object): Individual field in ui-config. @@ -287,7 +289,7 @@ def generate_schema_for_single_select(field, dbConfig, schema_field_name): def generate_schema_for_dynamic_custom_form(field, dbConfig, schema_field_name): - """Creates an schema object of dynamicCustomForm. + """Creates a schema object of dynamicCustomForm. Args: field (object): Individual field in ui-config. @@ -330,7 +332,7 @@ def generate_schema_for_dynamic_custom_form(field, dbConfig, schema_field_name): def generate_schema_for_dynamic_form(field, dbConfig, schema_field_name): - """Creates an schema object of dynamicForm. + """Creates a schema object of dynamicForm. Args: field (object): Individual field in ui-config. @@ -381,7 +383,7 @@ def generate_key(forFieldWithTo): def generate_schema_for_dynamic_select_form(field, dbConfig, schema_field_name): - """Creates an schema object of dynamicSelectForm. + """Creates a schema object of dynamicSelectForm. Args: field (object): Individual field in ui-config. @@ -395,7 +397,7 @@ def generate_schema_for_dynamic_select_form(field, dbConfig, schema_field_name): return generate_schema_for_dynamic_form(field, dbConfig, schema_field_name) def generate_schema_for_mapping(field, dbConfig, schema_field_name): - """Creates an schema object of mapping. + """Creates a schema object of mapping. Args: field (object): Individual field in ui-config. @@ -410,7 +412,7 @@ def generate_schema_for_mapping(field, dbConfig, schema_field_name): def generate_schema_for_tag_input(field, dbConfig, schema_field_name): - """Creates an schema object of tagInput. + """Creates a schema object of tagInput. Args: field (object): Individual field in ui-config. @@ -446,7 +448,7 @@ def generate_schema_for_tag_input(field, dbConfig, schema_field_name): def generate_schema_for_time_range_picker(field, dbConfig, schema_field_name): - """Creates an schema object of timeRangePicker. + """Creates a schema object of timeRangePicker. Args: field (object): Individual field in ui-config. @@ -469,7 +471,7 @@ def generate_schema_for_time_range_picker(field, dbConfig, schema_field_name): def generate_schema_for_time_picker(field, dbConfig, schema_field_name): - """Creates an schema object of timePicker. + """Creates a schema object of timePicker. Args: field (object): Individual field in ui-config. From 887727de04844450e3514db205d92bcbaf0e2afe Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 16:37:14 +0530 Subject: [PATCH 08/17] feat: handle dynamicCustomForm and v2 ui-config --- scripts/schemaGenerator.py | 125 ++++++++++++++++++++++++++++++------- 1 file changed, 104 insertions(+), 21 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index 87e44d7bf..64048d859 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -305,18 +305,35 @@ def generate_schema_for_dynamic_custom_form(field, dbConfig, schema_field_name): dynamicCustomFormItemObj = {} dynamicCustomFormItemObj["type"] = FieldTypeEnum.OBJECT.value dynamicCustomFormItemObj["properties"] = {} - for customField in field["customFields"]: - customeFieldSchemaObj = uiTypetoSchemaFn.get(customField["type"])(customField, dbConfig, schema_field_name) + allOfSchemaObj = {} + + # For old schema types customFields contains the children, for v2 its is rowFields + customFieldsKey = "customFields" + if "rowFields" in field: + customFieldsKey = "rowFields" + + allOfSchemaObj = generate_schema_for_dynamic_custom_form_allOf(field[customFieldsKey], dbConfig, schema_field_name) + + for customField in field[customFieldsKey]: + customFieldSchemaObj = uiTypetoSchemaFn.get(customField["type"])(customField, dbConfig, schema_field_name) isCustomFieldDependentOnSource = is_dest_field_dependent_on_source(customField, dbConfig, schema_field_name) - if 'pattern' not in customeFieldSchemaObj and not isCustomFieldDependentOnSource and customeFieldSchemaObj["type"]==FieldTypeEnum.STRING.value: - customeFieldSchemaObj["pattern"] = generalize_regex_pattern(customField) + + if "preRequisites" in customField: + continue + + if 'pattern' not in customFieldSchemaObj and not isCustomFieldDependentOnSource and customFieldSchemaObj["type"] == FieldTypeEnum.STRING.value and customField["type"] != "singleSelect" and customField["type"] != "dynamicSelectForm": + customFieldSchemaObj["pattern"] = generalize_regex_pattern(customField) + # If the custom field is source dependent, we remove the source keys as it's not required inside custom fields, rather they need to be moved to top. if isCustomFieldDependentOnSource: for sourceType in dbConfig["supportedSourceTypes"]: if sourceType in dbConfig["destConfig"] and field[schema_field_name] in dbConfig["destConfig"][sourceType]: - customeFieldSchemaObj = customeFieldSchemaObj["properties"][sourceType] + customFieldSchemaObj = customFieldSchemaObj["properties"][sourceType] break - dynamicCustomFormItemObj["properties"][customField[schema_field_name]] = customeFieldSchemaObj + dynamicCustomFormItemObj["properties"][customField[schema_field_name]] = customFieldSchemaObj + + if allOfSchemaObj: + dynamicCustomFormItemObj['allOf'] = allOfSchemaObj dynamicCustomFormObj["items"] = dynamicCustomFormItemObj isSourceDependent = is_dest_field_dependent_on_source(field, dbConfig, schema_field_name) @@ -331,6 +348,56 @@ def generate_schema_for_dynamic_custom_form(field, dbConfig, schema_field_name): return dynamicCustomFormObj + +def generate_schema_for_dynamic_custom_form_allOf(customFields, dbConfig, schema_field_name): + """Creates the allOf structure of schema, empty if not required. + - Finds the list of unique preRequisites. + - For each unique preRequisites, the properties are found by matching the current preRequisites. + - preRequisites becomes if block and corresponding properties become then block. + + Args: + customFields (collection): child fields from file content of ui-config.json. + dbConfig (object): Configurations of db-config.json. + schema_field_name (string): Specifies which key has the field's name in schema. + For old schema types, it is 'value' else 'configKey'. + + Returns: + object: allOf object of schema + """ + allOfItemList = [] + preRequisitesList = [] + + for field in customFields: + if "preRequisites" not in field: + continue + isPresent = False + for preRequisites in preRequisitesList: + if compare_pre_requisite_fields(preRequisites, field["preRequisites"]["fields"], True): + isPresent = True + break + if not isPresent: + preRequisitesList.append(field["preRequisites"]["fields"]) + + for preRequisites in preRequisitesList: + ifObj = generate_if_object(preRequisites, True) + thenObj = {"properties": {}, "required": []} + allOfItemObj = {"if": ifObj} + + for field in customFields: + if "preRequisites" not in field: + continue + if compare_pre_requisite_fields(field["preRequisites"]["fields"], preRequisites, True): + thenObj["properties"][field[schema_field_name]] = uiTypetoSchemaFn.get(field["type"])(field, dbConfig, schema_field_name) + if "required" in field and field["required"] == True: + thenObj["required"].append(field[schema_field_name]) + allOfItemObj["then"] = thenObj + allOfItemList.append(allOfItemObj) + + # Calling anyOf to check if two conditions can be grouped as anyOf. + allOfItemList = generate_schema_for_anyOf(allOfItemList, schema_field_name) + return allOfItemList + + def generate_schema_for_dynamic_form(field, dbConfig, schema_field_name): """Creates a schema object of dynamicForm. @@ -486,26 +553,34 @@ def generate_schema_for_time_picker(field, dbConfig, schema_field_name): "type": FieldTypeEnum.STRING.value } -def compare_pre_requisite_fields(fieldA, fieldB): - """Compares two preRequisiteFields fieldA and fieldB for each property and checks if there "selectedValue" match. +def compare_pre_requisite_fields(fieldA, fieldB, isV2 = False): + """Compares two preRequisiteFields fieldA and fieldB for each property and checks if their value matches. Args: - fieldA (list or object): contains two properties, 'name' and 'selectedValue'. - fieldB (list or object): + fieldA (list or object): contains two properties representing 'name' and 'selectedValue'. + fieldB (list or object): contains two properties representing 'name' and 'selectedValue'. + isV2 (bool): determines if new property names should be used Returns: boolean: If all the properties have the same 'name' and 'selectedValue', then it returns True else False. - """ + """ + valueKey = 'selectedValue' + nameKey = 'name' + + if isV2: + valueKey = 'value' + nameKey = 'configKey' + if type(fieldA) != type(fieldB): return False elif type(fieldA) == list: if len(fieldA) != len(fieldB): return False for i in range(0, len(fieldA)): - if fieldA[i]['name'] != fieldB[i]['name'] or fieldA[i]['selectedValue'] != fieldB[i]['selectedValue']: + if fieldA[i][nameKey] != fieldB[i][nameKey] or fieldA[i][valueKey] != fieldB[i][valueKey]: return False else: - if fieldA['name'] != fieldB['name'] or fieldA['selectedValue'] != fieldB['selectedValue']: + if fieldA[nameKey] != fieldB[nameKey] or fieldA[valueKey] != fieldB[valueKey]: return False return True @@ -534,27 +609,35 @@ def get_unique_pre_requisite_fields(uiConfig): return preRequisiteFieldsList -def generate_if_object(preRequisiteField): +def generate_if_object(preRequisiteField, isV2 = False): """Creates an if object for the given preRequisiteField. The preRequisiteField becomes an if condition in the schema. Args: preRequisiteField (list or object): contains two properties, 'name' and 'selectedValue'. + isV2 (bool): if it should use the v2 or the legacy property key names Returns: object: if block for given preRequisiteField. - """ + """ ifObj = {"properties": {}, "required": []} + valueKey = 'selectedValue' + nameKey = 'name' + + if isV2: + valueKey = 'value' + nameKey = 'configKey' + if type(preRequisiteField) == list: for field in preRequisiteField: - ifObj["properties"][field["name"]] = { - "const": field["selectedValue"] + ifObj["properties"][field[nameKey]] = { + "const": field[valueKey] } - ifObj["required"].append(field["name"]) + ifObj["required"].append(field[nameKey]) else: - ifObj["properties"][preRequisiteField["name"]] = { - "const": preRequisiteField["selectedValue"] + ifObj["properties"][preRequisiteField[nameKey]] = { + "const": preRequisiteField[valueKey] } - ifObj["required"].append(preRequisiteField["name"]) + ifObj["required"].append(preRequisiteField[nameKey]) return ifObj From 3533f29867c6f2843a6871a56d5f7461159d168b Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 16:38:00 +0530 Subject: [PATCH 09/17] fix: in-place schema file update --- scripts/schemaGenerator.py | 40 +++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index 64048d859..4a66a9291 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -840,7 +840,7 @@ def generate_connection_mode(dbConfig): return connectionObj -def generate_schema_properties(uiConfig, dbConfig, schemaObject, properties, name, selector): +def generate_schema_properties(uiConfig, dbConfig, schemaObject, properties, selector): """Generates corresponding schema properties by iterating over each of the ui-config fields. Args: @@ -848,7 +848,6 @@ def generate_schema_properties(uiConfig, dbConfig, schemaObject, properties, nam dbConfig (object): Configurations of db-config.json. schemaObject (object): schema being generated properties (object): properties of schema - name (string): name of the source or destination. selector (string): either 'source' or 'destination' """ if is_old_format(uiConfig): @@ -929,7 +928,7 @@ def generate_config_props(config): generate_config_props(config) -def generate_schema(uiConfig, dbConfig, name, selector, shouldUpdateSchema): +def generate_schema(uiConfig, dbConfig, name, selector): """Returns the schema generated from given uiConfig and dbConfig. Args: @@ -937,7 +936,6 @@ def generate_schema(uiConfig, dbConfig, name, selector, shouldUpdateSchema): dbConfig (object): Configurations of db-config.json. name (string): name of the source or destination. selector (string): either 'source' or 'destination' - shouldUpdateSchema (boolean): if it should update the existing schema with generated one Returns: object: schema @@ -949,6 +947,7 @@ def generate_schema(uiConfig, dbConfig, name, selector, shouldUpdateSchema): schemaObject['type'] = "object" schemaObject['properties'] = {} allOfSchemaObj = {} + print(f'Generating schema for {name} {selector}') if is_old_format(uiConfig): allOfSchemaObj = generate_schema_for_allOf(uiConfig, dbConfig, "value") if allOfSchemaObj: @@ -961,21 +960,9 @@ def generate_schema(uiConfig, dbConfig, name, selector, shouldUpdateSchema): else: schemaObject['allOf'] = allOfSchemaObj generate_schema_properties(uiConfig, dbConfig, schemaObject, - schemaObject['properties'], name, selector) + schemaObject['properties'], selector) newSchema['configSchema'] = schemaObject - if shouldUpdateSchema: - # Get the parent directory (one level up) - script_directory = os.path.dirname(os.path.abspath(__file__)) - directory = os.path.dirname(script_directory) - # Define the relative path - relative_path = f'src/configurations/{selector}s/{name.lower()}/schema.json' - file_path = os.path.join(directory, relative_path) - new_content = json.dumps(newSchema) - # Write the new content - with open(file_path, 'w') as file: - file.write(new_content) - return newSchema def generate_warnings_for_each_type(uiConfig, dbConfig, schema, curUiType): @@ -1117,12 +1104,25 @@ def validate_config_consistency(name, selector, uiConfig, dbConfig, schema, shou return if uiConfig == None: print('-'*50) - warnings.warn(f"Ui-Config is null for {name} in {selector} \n",UserWarning) + warnings.warn(f"Ui-Config is null for {name} in {selector} \n", UserWarning) print('-'*50) return - generatedSchema = generate_schema(uiConfig, dbConfig, name, selector, shouldUpdateSchema) + generatedSchema = generate_schema(uiConfig, dbConfig, name, selector) if schema: - schemaDiff = diff(schema, generatedSchema["configSchema"]) + schemaDiff = get_json_diff(schema, generatedSchema["configSchema"]) + if shouldUpdateSchema: + # Get the parent directory (one level up) + script_directory = os.path.dirname(os.path.abspath(__file__)) + directory = os.path.dirname(script_directory) + # Define the relative path + relative_path = f'src/configurations/{selector}s/{name.lower()}/schema.json' + file_path = os.path.join(directory, relative_path) + finalSchema = {} + finalSchema["configSchema"] = apply_json_diff(schema, schemaDiff) + # Write the new content + with open(file_path, 'w') as file: + file.write(get_formatted_json(finalSchema)) + if schemaDiff: print('-'*50) print(f'Schema diff for {name} in {selector}s') From 02465c8f368ddad9da48b3b1046ac48bf5898a6a Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 18:19:43 +0530 Subject: [PATCH 10/17] fix: handle preRequisites for v2 ui config --- scripts/schemaGenerator.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index 4a66a9291..ebe67fe4b 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -874,6 +874,9 @@ def generate_schema_properties(uiConfig, dbConfig, schemaObject, properties, sel for section in template.get('sections', []): for group in section.get('groups', []): for field in group.get('fields', []): + # TODO: Handle feature flags + if "preRequisites" in field: + continue generateFunction = uiTypetoSchemaFn.get( field['type'], None) if generateFunction: @@ -1108,6 +1111,14 @@ def validate_config_consistency(name, selector, uiConfig, dbConfig, schema, shou print('-'*50) return generatedSchema = generate_schema(uiConfig, dbConfig, name, selector) + + # TODO: This is a hack to ensure we don't lose any existing schema validations + if schema: + if "allOf" in schema and "allOf" not in generatedSchema["configSchema"]: + generatedSchema["configSchema"]["allOf"] = schema["allOf"] + if "anyOf" in schema and "anyOf" not in generatedSchema["configSchema"]: + generatedSchema["configSchema"]["anyOf"] = schema["anyOf"] + if schema: schemaDiff = get_json_diff(schema, generatedSchema["configSchema"]) if shouldUpdateSchema: From b984eddc467793fb32aa4d78d235575b8e9444e0 Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Mon, 18 Dec 2023 20:33:54 +0530 Subject: [PATCH 11/17] feat: generate allOf for new ui config --- scripts/schemaGenerator.py | 111 ++++++++++++++++++++++++++----------- 1 file changed, 80 insertions(+), 31 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index ebe67fe4b..4527de94b 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -594,18 +594,42 @@ def get_unique_pre_requisite_fields(uiConfig): list: containing unique preRequisiteFields. """ preRequisiteFieldsList = [] - for group in uiConfig: - fields = group.get('fields', []) - for field in fields: - if "preRequisiteField" not in field: - continue - isPresent = False - for preRequisiteField in preRequisiteFieldsList: - if compare_pre_requisite_fields(preRequisiteField, field["preRequisiteField"]): - isPresent = True - break - if not isPresent: - preRequisiteFieldsList.append(field["preRequisiteField"]) + if not is_old_format(uiConfig): + for template in uiConfig: + for templateEntry in uiConfig.get(template, []): + if "sections" not in templateEntry: + continue + for section in templateEntry.get('sections', []): + for group in section.get('groups', []): + for field in group.get('fields', []): + if "preRequisites" not in field or "fields" not in field["preRequisites"]: + continue + + for preRequisite in field["preRequisites"]["fields"]: + isPresent = False + + if '.' in preRequisite['configKey']: + continue + + for preRequisiteField in preRequisiteFieldsList: + if compare_pre_requisite_fields(preRequisiteField, preRequisite, True): + isPresent = True + break + if not isPresent: + preRequisiteFieldsList.append(preRequisite) + else: + for group in uiConfig: + fields = group.get('fields', []) + for field in fields: + if "preRequisiteField" not in field: + continue + isPresent = False + for preRequisiteField in preRequisiteFieldsList: + if compare_pre_requisite_fields(preRequisiteField, field["preRequisiteField"]): + isPresent = True + break + if not isPresent: + preRequisiteFieldsList.append(field["preRequisiteField"]) return preRequisiteFieldsList @@ -641,7 +665,7 @@ def generate_if_object(preRequisiteField, isV2 = False): return ifObj -def generate_schema_for_allOf(uiConfig, dbConfig, schema_field_name): +def generate_schema_for_allOf(uiConfig, dbConfig): """Creates the allOf structure of schema, empty if not required. - Finds the list of unique preRequisiteFields. - For each unique preRequisiteField, the properties are found by matching the current preRequisiteField. @@ -650,27 +674,53 @@ def generate_schema_for_allOf(uiConfig, dbConfig, schema_field_name): Args: uiConfig (object): file content of ui-config.json. dbConfig (object): Configurations of db-config.json. - schema_field_name (string): Specifies which key has the field's name in schema. - For old schema types, it is 'value' else 'configKey'. Returns: object: allOf object of schema """ allOfItemList = [] preRequisiteFieldsList = get_unique_pre_requisite_fields(uiConfig) + schema_field_name = 'configKey' for preRequisiteField in preRequisiteFieldsList: - ifObj = generate_if_object(preRequisiteField) - thenObj = {"properties": {}, "required": []} - allOfItemObj = {"if": ifObj} - for group in uiConfig: - fields = group.get('fields', []) - for field in fields: - if "preRequisiteField" not in field: - continue - if compare_pre_requisite_fields(field["preRequisiteField"], preRequisiteField): - thenObj["properties"][field[schema_field_name]] = uiTypetoSchemaFn.get(field["type"])(field, dbConfig, schema_field_name) - if "required" in field and field["required"] == True: - thenObj["required"].append(field[schema_field_name]) + if not is_old_format(uiConfig): + schema_field_name = 'configKey' + ifObj = generate_if_object(preRequisiteField, True) + thenObj = {"properties": {}, "required": []} + allOfItemObj = {"if": ifObj} + for template in uiConfig: + for templateEntry in uiConfig.get(template, []): + if "sections" not in templateEntry: + continue + for section in templateEntry.get('sections', []): + for group in section.get('groups', []): + for field in group.get('fields', []): + if "preRequisites" not in field or "fields" not in field["preRequisites"]: + continue + + generateFn = uiTypetoSchemaFn.get(field["type"]) + if not generateFn: + continue + + for preRequisite in field["preRequisites"]["fields"]: + if compare_pre_requisite_fields(preRequisite, preRequisiteField, True): + thenObj["properties"][field[schema_field_name]] = generateFn(field, dbConfig, schema_field_name) + if "required" in field and field["required"] == True: + thenObj["required"].append(field[schema_field_name]) + else: + schema_field_name = 'value' + ifObj = generate_if_object(preRequisiteField) + thenObj = {"properties": {}, "required": []} + allOfItemObj = {"if": ifObj} + + for group in uiConfig: + fields = group.get('fields', []) + for field in fields: + if "preRequisiteField" not in field: + continue + if compare_pre_requisite_fields(field["preRequisiteField"], preRequisiteField): + thenObj["properties"][field[schema_field_name]] = uiTypetoSchemaFn.get(field["type"])(field, dbConfig, schema_field_name) + if "required" in field and field["required"] == True: + thenObj["required"].append(field[schema_field_name]) allOfItemObj["then"] = thenObj allOfItemList.append(allOfItemObj) # Calling anyOf to check if two conditions can be grouped as anyOf. @@ -874,8 +924,7 @@ def generate_schema_properties(uiConfig, dbConfig, schemaObject, properties, sel for section in template.get('sections', []): for group in section.get('groups', []): for field in group.get('fields', []): - # TODO: Handle feature flags - if "preRequisites" in field: + if "preRequisites" in field and "fields" in field["preRequisites"]: continue generateFunction = uiTypetoSchemaFn.get( field['type'], None) @@ -951,8 +1000,7 @@ def generate_schema(uiConfig, dbConfig, name, selector): schemaObject['properties'] = {} allOfSchemaObj = {} print(f'Generating schema for {name} {selector}') - if is_old_format(uiConfig): - allOfSchemaObj = generate_schema_for_allOf(uiConfig, dbConfig, "value") + allOfSchemaObj = generate_schema_for_allOf(uiConfig, dbConfig) if allOfSchemaObj: # AnyOf occurring separately, not inside allOf. if len(allOfSchemaObj) == 1: @@ -962,6 +1010,7 @@ def generate_schema(uiConfig, dbConfig, name, selector): schemaObject['anyOf'] = allOfSchemaObj else: schemaObject['allOf'] = allOfSchemaObj + generate_schema_properties(uiConfig, dbConfig, schemaObject, schemaObject['properties'], selector) newSchema['configSchema'] = schemaObject From 24ec7bb01ca758707a44c458da4289706601ffcd Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Wed, 20 Dec 2023 11:26:35 +0530 Subject: [PATCH 12/17] feat: keep the encoding of the file intact --- scripts/schemaGenerator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index 4527de94b..37b44444d 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -1138,7 +1138,7 @@ def get_formatted_json(jsonObj): Returns: string: formatted json. """ - return json.dumps(jsonObj, indent=2) + return json.dumps(jsonObj, indent=2, ensure_ascii=False) def validate_config_consistency(name, selector, uiConfig, dbConfig, schema, shouldUpdateSchema): """Generates a schema and compares it with an existing one. @@ -1243,7 +1243,7 @@ def get_schema_diff(name, selector, shouldUpdateSchema=False): for file_selector in file_selectors: if file_selector in available_files: with open (f'{directory}/{file_selector}', 'r') as f: - file_content.update(json.loads(f.read())) + file_content.update(json.loads(f.read().encode('utf-8', 'ignore'))) uiConfig = file_content.get("uiConfig") schema = file_content.get("configSchema") dbConfig = file_content.get("config") From 4d16da5d7d36165a1f84c6e5bbe8b1d604f8d92e Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Wed, 20 Dec 2023 11:47:49 +0530 Subject: [PATCH 13/17] chore: formatting changes --- .../destinations/active_campaign/schema.json | 9 +- .../destinations/adobe_analytics/schema.json | 73 +++- .../destinations/adroll/db-config.json | 4 +- .../destinations/adroll/schema.json | 9 +- .../destinations/af/schema.json | 29 +- .../destinations/am/schema.json | 185 +++++++-- .../destinations/appcenter/ui-config.json | 2 +- .../destinations/appcues/db-config.json | 4 +- .../destinations/axeptio/db-config.json | 4 +- .../destinations/axeptio/schema.json | 14 +- .../destinations/azure_blob/ui-config.json | 14 +- .../destinations/azure_datalake/schema.json | 32 +- .../azure_datalake/ui-config.json | 54 ++- .../destinations/azure_synapse/schema.json | 155 +++++-- .../destinations/azure_synapse/ui-config.json | 300 +++++++++++--- .../destinations/bingads/db-config.json | 4 +- .../destinations/bingads_audience/schema.json | 5 +- .../destinations/blueshift/ui-config.json | 15 +- .../destinations/bq/schema.json | 42 +- .../destinations/bq/ui-config.json | 55 ++- .../destinations/braze/db-config.json | 1 - .../destinations/braze/schema.json | 91 ++++- .../destinations/bugsnag/db-config.json | 6 +- .../destinations/bugsnag/ui-config.json | 2 +- .../destinations/campaign_manager/schema.json | 20 +- .../destinations/canny/schema.json | 5 +- .../destinations/canny/ui-config.json | 10 +- .../destinations/chartbeat/db-config.json | 4 +- .../destinations/clickhouse/schema.json | 177 ++++++-- .../destinations/clickhouse/ui-config.json | 297 +++++++++++--- .../destinations/convertflow/db-config.json | 4 +- .../destinations/convertflow/schema.json | 20 +- .../destinations/criteo/db-config.json | 4 +- .../destinations/criteo/schema.json | 15 +- .../destinations/criteo_audience/schema.json | 6 +- .../criteo_audience/ui-config.json | 30 +- .../destinations/custify/schema.json | 5 +- .../destinations/customerio/db-config.json | 4 +- .../destinations/customerio/schema.json | 7 +- .../dcm_floodlight/db-config.json | 4 +- .../destinations/delighted/ui-config.json | 15 +- .../destinations/deltalake/schema.json | 167 ++++++-- .../destinations/deltalake/ui-config.json | 279 ++++++++++--- .../destinations/discord/schema.json | 19 +- .../destinations/discord/ui-config.json | 10 +- .../destinations/drip/db-config.json | 4 +- .../destinations/dynamic_yield/schema.json | 14 +- .../destinations/engage/db-config.json | 4 +- .../destinations/engage/schema.json | 19 +- .../destinations/eventbridge/ui-config.json | 15 +- .../facebook_conversions/db-config.json | 4 +- .../facebook_conversions/schema.json | 19 +- .../facebook_offline_conversions/schema.json | 9 +- .../ui-config.json | 106 ++++- .../facebook_pixel/db-config.json | 4 +- .../destinations/facebook_pixel/schema.json | 48 ++- .../destinations/fb/schema.json | 26 +- .../fb_custom_audience/ui-config.json | 386 ++++++++++++++---- .../destinations/firehose/ui-config.json | 15 +- .../destinations/freshmarketer/schema.json | 5 +- .../destinations/freshmarketer/ui-config.json | 10 +- .../destinations/freshsales/schema.json | 5 +- .../destinations/freshsales/ui-config.json | 10 +- .../destinations/fullstory/db-config.json | 4 +- .../destinations/fullstory/schema.json | 56 ++- .../destinations/ga/db-config.json | 4 +- .../destinations/ga/schema.json | 115 +++++- .../destinations/gcs/schema.json | 5 +- .../destinations/gcs_datalake/schema.json | 14 +- .../destinations/gcs_datalake/ui-config.json | 65 ++- .../db-config.json | 4 +- .../schema.json | 35 +- .../ui-config.json | 72 +++- .../ui-config.json | 53 ++- .../google_cloud_function/schema.json | 22 +- .../google_cloud_function/ui-config.json | 12 +- .../destinations/googleads/schema.json | 82 +++- .../destinations/googlepubsub/schema.json | 5 +- .../destinations/gtm/schema.json | 9 +- .../destinations/heap/db-config.json | 4 +- .../destinations/heap/schema.json | 9 +- .../destinations/hotjar/schema.json | 9 +- .../destinations/hs/schema.json | 41 +- .../destinations/impact/schema.json | 20 +- .../destinations/intercom/schema.json | 27 +- .../destinations/june/schema.json | 9 +- .../destinations/kafka/ui-config.json | 85 +++- .../destinations/kinesis/schema.json | 30 +- .../destinations/kinesis/ui-config.json | 15 +- .../destinations/klaviyo/db-config.json | 4 +- .../destinations/klaviyo/schema.json | 44 +- .../destinations/lambda/schema.json | 44 +- .../destinations/lambda/ui-config.json | 20 +- .../destinations/leanplum/schema.json | 32 +- .../destinations/lemnisk/schema.json | 41 +- .../linkedin_insight_tag/db-config.json | 4 +- .../destinations/livechat/db-config.json | 4 +- .../destinations/livechat/schema.json | 41 +- .../destinations/lotame/db-config.json | 5 +- .../destinations/lotame_mobile/db-config.json | 7 +- .../destinations/lotame_mobile/ui-config.json | 20 +- .../destinations/lytics/db-config.json | 4 +- .../destinations/mailchimp/schema.json | 5 +- .../marketo_bulk_upload/ui-config.json | 20 +- .../marketo_static_list/db-config.json | 4 +- .../destinations/mautic/schema.json | 17 +- .../destinations/mautic/ui-config.json | 29 +- .../microsoft_clarity/db-config.json | 4 +- .../microsoft_clarity/schema.json | 14 +- .../destinations/mouseflow/schema.json | 9 +- .../destinations/mssql/schema.json | 97 ++++- .../destinations/mssql/ui-config.json | 300 +++++++++++--- .../destinations/new_relic/schema.json | 16 +- .../destinations/new_relic/ui-config.json | 15 +- .../destinations/olark/schema.json | 35 +- .../destinations/ometria/ui-config.json | 20 +- .../destinations/one_signal/schema.json | 15 +- .../destinations/one_signal/ui-config.json | 8 +- .../destinations/optimizely/db-config.json | 6 +- .../destinations/ortto/schema.json | 55 ++- .../destinations/ortto/ui-config.json | 1 - .../destinations/pagerduty/schema.json | 4 +- .../destinations/pardot/db-config.json | 10 +- .../destinations/personalize/schema.json | 30 +- .../destinations/personalize/ui-config.json | 35 +- .../destinations/pinterest_tag/db-config.json | 4 +- .../destinations/pinterest_tag/schema.json | 65 ++- .../destinations/pipedream/ui-config.json | 30 +- .../destinations/pipedrive/db-config.json | 4 +- .../destinations/podsights/schema.json | 14 +- .../destinations/postgres/schema.json | 198 +++++++-- .../destinations/postgres/ui-config.json | 315 +++++++++++--- .../destinations/qualaroo/schema.json | 46 ++- .../destinations/quora_pixel/schema.json | 9 +- .../destinations/reddit/schema.json | 54 ++- .../destinations/redis/schema.json | 38 +- .../destinations/redis/ui-config.json | 29 +- .../destinations/refiner/schema.json | 9 +- .../destinations/revenue_cat/ui-config.json | 35 +- .../destinations/rockerbox/db-config.json | 4 +- .../destinations/rockerbox/schema.json | 25 +- .../destinations/rollbar/db-config.json | 4 +- .../destinations/rollbar/schema.json | 29 +- .../destinations/rs/schema.json | 54 ++- .../destinations/rs/ui-config.json | 107 ++++- .../destinations/s3/schema.json | 30 +- .../destinations/s3/ui-config.json | 15 +- .../destinations/s3_datalake/schema.json | 58 ++- .../destinations/s3_datalake/ui-config.json | 65 ++- .../destinations/salesforce/schema.json | 15 +- .../destinations/salesforce/ui-config.json | 7 +- .../salesforce_oauth/db-config.json | 4 +- .../destinations/salesforce_oauth/schema.json | 15 +- .../salesforce_oauth/ui-config.json | 7 +- .../destinations/satismeter/db-config.json | 4 +- .../destinations/satismeter/schema.json | 51 ++- .../destinations/segment/db-config.json | 4 +- .../destinations/sendgrid/ui-config.json | 146 +++++-- .../destinations/sendinblue/db-config.json | 4 +- .../destinations/sendinblue/schema.json | 28 +- .../destinations/sentry/db-config.json | 4 +- .../destinations/sentry/schema.json | 38 +- .../destinations/shynet/db-config.json | 4 +- .../destinations/shynet/schema.json | 9 +- .../destinations/signl4/schema.json | 5 +- .../destinations/signl4/ui-config.json | 40 +- .../destinations/singular/schema.json | 16 +- .../destinations/snap_pixel/db-config.json | 4 +- .../snapchat_conversion/schema.json | 11 +- .../snapchat_conversion/ui-config.json | 162 ++++++-- .../snapchat_custom_audience/schema.json | 11 +- .../snapchat_custom_audience/ui-config.json | 20 +- .../destinations/snapengage/schema.json | 35 +- .../destinations/snowflake/schema.json | 90 +++- .../destinations/statsig/schema.json | 55 ++- .../destinations/tiktok_ads/schema.json | 31 +- .../tiktok_ads_offline_events/schema.json | 5 +- .../tiktok_ads_offline_events/ui-config.json | 20 +- .../tiktok_audience/db-config.json | 8 +- .../destinations/trengo/ui-config.json | 15 +- .../destinations/tvsquared/db-config.json | 6 +- .../destinations/variance/db-config.json | 4 +- .../destinations/vero/db-config.json | 4 +- .../destinations/vero/schema.json | 9 +- .../destinations/vwo/db-config.json | 4 +- .../destinations/vwo/schema.json | 29 +- .../destinations/webengage/schema.json | 6 +- .../destinations/webengage/ui-config.json | 15 +- .../destinations/webhook/ui-config.json | 30 +- .../destinations/woopra/db-config.json | 4 +- .../destinations/woopra/schema.json | 39 +- .../destinations/woopra/ui-config.json | 2 +- .../destinations/wootric/schema.json | 5 +- .../destinations/yahoo_dsp/schema.json | 17 +- .../destinations/yahoo_dsp/ui-config.json | 40 +- .../yandex_metrica/db-config.json | 4 +- .../destinations/yandex_metrica/schema.json | 34 +- .../sources/reactnative/metadata.json | 5 +- .../sources/revenuecat/db-config.json | 4 +- test/configData/db-config.json | 8 +- test/configData/ui-config.json | 40 +- .../destinations/active_campaign.json | 4 +- test/data/validation/destinations/adroll.json | 139 ++++++- .../data/validation/destinations/axeptio.json | 66 ++- test/data/validation/destinations/braze.json | 4 +- .../data/validation/destinations/clickup.json | 15 +- .../validation/destinations/convertflow.json | 87 +++- test/data/validation/destinations/criteo.json | 111 ++++- .../destinations/criteo_audience.json | 24 +- .../destinations/dcm_floodlight.json | 152 +++++-- test/data/validation/destinations/fb.json | 26 +- .../validation/destinations/fullstory.json | 68 ++- .../validation/destinations/googleads.json | 178 ++++++-- test/data/validation/destinations/gtm.json | 80 +++- test/data/validation/destinations/heap.json | 38 +- test/data/validation/destinations/hotjar.json | 44 +- test/data/validation/destinations/hs.json | 135 ++++-- test/data/validation/destinations/impact.json | 132 +++++- .../validation/destinations/intercom.json | 77 +++- .../data/validation/destinations/klaviyo.json | 88 +++- .../validation/destinations/leanplum.json | 166 ++++++-- test/data/validation/destinations/monday.json | 28 +- .../validation/destinations/one_signal.json | 18 +- test/data/validation/destinations/ortto.json | 48 ++- .../validation/destinations/podsights.json | 48 ++- .../validation/destinations/qualaroo.json | 84 +++- .../validation/destinations/quora_pixel.json | 79 +++- .../validation/destinations/rockerbox.json | 135 ++++-- test/data/validation/destinations/sentry.json | 114 +++++- .../validation/destinations/tiktok_ads.json | 1 - test/data/validation/destinations/vero.json | 81 +++- .../destinations/yandex_metrica.json | 273 ++++++++++--- 232 files changed, 7842 insertions(+), 1858 deletions(-) diff --git a/src/configurations/destinations/active_campaign/schema.json b/src/configurations/destinations/active_campaign/schema.json index 8a9498f8f..bce662bec 100644 --- a/src/configurations/destinations/active_campaign/schema.json +++ b/src/configurations/destinations/active_campaign/schema.json @@ -35,13 +35,18 @@ "useNativeSDK": { "type": "object", "properties": { - "web": { "type": "boolean" } + "web": { + "type": "boolean" + } } }, "connectionMode": { "type": "object", "properties": { - "web": { "type": "string", "enum": ["cloud", "device", "hybrid"] } + "web": { + "type": "string", + "enum": ["cloud", "device", "hybrid"] + } } } }, diff --git a/src/configurations/destinations/adobe_analytics/schema.json b/src/configurations/destinations/adobe_analytics/schema.json index b472b4572..a9ff6a890 100644 --- a/src/configurations/destinations/adobe_analytics/schema.json +++ b/src/configurations/destinations/adobe_analytics/schema.json @@ -16,7 +16,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,300})$" }, - "sslHeartbeat": { "type": "boolean", "default": true }, + "sslHeartbeat": { + "type": "boolean", + "default": true + }, "heartbeatTrackingServerUrl": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{0,100})$" @@ -70,15 +73,27 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "dropVisitorId": { "type": "boolean", "default": true }, + "dropVisitorId": { + "type": "boolean", + "default": true + }, "timestampOption": { "type": "string", "enum": ["hybrid", "optional", "enabled", "disabled"], "default": "disabled" }, - "timestampOptionalReporting": { "type": "boolean", "default": false }, - "noFallbackVisitorId": { "type": "boolean", "default": false }, - "preferVisitorId": { "type": "boolean", "default": false }, + "timestampOptionalReporting": { + "type": "boolean", + "default": false + }, + "noFallbackVisitorId": { + "type": "boolean", + "default": false + }, + "preferVisitorId": { + "type": "boolean", + "default": false + }, "rudderEventsToAdobeEvents": { "type": "array", "items": { @@ -95,7 +110,10 @@ } } }, - "trackPageName": { "type": "boolean", "default": true }, + "trackPageName": { + "type": "boolean", + "default": true + }, "contextDataMapping": { "type": "array", "items": { @@ -177,7 +195,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "delimiter": { "type": "string", "enum": ["|", ":", ",", ";", "/", ""] } + "delimiter": { + "type": "string", + "enum": ["|", ":", ",", ";", "/", ""] + } } } }, @@ -194,7 +215,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "delimiter": { "type": "string", "enum": ["|", ":", ",", ";", "/", ""] } + "delimiter": { + "type": "string", + "enum": ["|", ":", ",", ";", "/", ""] + } } } }, @@ -270,21 +294,40 @@ } } }, - "productIdentifier": { "type": "string", "enum": ["name", "id", "sku"], "default": "name" }, + "productIdentifier": { + "type": "string", + "enum": ["name", "id", "sku"], + "default": "name" + }, "useNativeSDK": { "type": "object", "properties": { - "android": { "type": "boolean" }, - "ios": { "type": "boolean" }, - "web": { "type": "boolean" } + "android": { + "type": "boolean" + }, + "ios": { + "type": "boolean" + }, + "web": { + "type": "boolean" + } } }, "connectionMode": { "type": "object", "properties": { - "android": { "type": "string", "enum": ["cloud", "device"] }, - "ios": { "type": "string", "enum": ["cloud", "device"] }, - "web": { "type": "string", "enum": ["cloud", "device"] } + "android": { + "type": "string", + "enum": ["cloud", "device"] + }, + "ios": { + "type": "string", + "enum": ["cloud", "device"] + }, + "web": { + "type": "string", + "enum": ["cloud", "device"] + } } }, "eventFilteringOption": { diff --git a/src/configurations/destinations/adroll/db-config.json b/src/configurations/destinations/adroll/db-config.json index 0c46ec0de..f52d6a399 100644 --- a/src/configurations/destinations/adroll/db-config.json +++ b/src/configurations/destinations/adroll/db-config.json @@ -16,7 +16,9 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/adroll/schema.json b/src/configurations/destinations/adroll/schema.json index 8037635b2..a2ef2b177 100644 --- a/src/configurations/destinations/adroll/schema.json +++ b/src/configurations/destinations/adroll/schema.json @@ -28,7 +28,14 @@ } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/af/schema.json b/src/configurations/destinations/af/schema.json index 9da2c61de..9109c1dbe 100644 --- a/src/configurations/destinations/af/schema.json +++ b/src/configurations/destinations/af/schema.json @@ -16,7 +16,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "useRichEventName": { "type": "boolean", "default": false }, + "useRichEventName": { + "type": "boolean", + "default": false + }, "sharingFilter": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -24,11 +27,21 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { "type": "boolean" }, - "ios": { "type": "boolean" }, - "reactnative": { "type": "boolean" }, - "flutter": { "type": "boolean" }, - "cordova": { "type": "boolean" } + "android": { + "type": "boolean" + }, + "ios": { + "type": "boolean" + }, + "reactnative": { + "type": "boolean" + }, + "flutter": { + "type": "boolean" + }, + "cordova": { + "type": "boolean" + } } }, "eventFilteringOption": { @@ -64,7 +77,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(?!.*\\.ngrok\\.io).*$" }, - "apiToken": { "type": "string" }, + "apiToken": { + "type": "string" + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/am/schema.json b/src/configurations/destinations/am/schema.json index a02e004a6..e7d2a7107 100644 --- a/src/configurations/destinations/am/schema.json +++ b/src/configurations/destinations/am/schema.json @@ -8,11 +8,27 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "residencyServer": { "type": "string", "enum": ["standard", "EU"], "default": "standard" }, - "trackAllPages": { "type": "boolean", "default": false }, - "trackCategorizedPages": { "type": "boolean", "default": true }, - "trackNamedPages": { "type": "boolean", "default": true }, - "useUserDefinedPageEventName": { "type": "boolean", "default": false }, + "residencyServer": { + "type": "string", + "enum": ["standard", "EU"], + "default": "standard" + }, + "trackAllPages": { + "type": "boolean", + "default": false + }, + "trackCategorizedPages": { + "type": "boolean", + "default": true + }, + "trackNamedPages": { + "type": "boolean", + "default": true + }, + "useUserDefinedPageEventName": { + "type": "boolean", + "default": false + }, "userProvidedPageEventString": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,200})$" @@ -81,10 +97,22 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "mapDeviceBrand": { "type": "boolean", "default": false }, - "trackProductsOnce": { "type": "boolean", "default": false }, - "trackRevenuePerProduct": { "type": "boolean", "default": false }, - "useUserDefinedScreenEventName": { "type": "boolean", "default": false }, + "mapDeviceBrand": { + "type": "boolean", + "default": false + }, + "trackProductsOnce": { + "type": "boolean", + "default": false + }, + "trackRevenuePerProduct": { + "type": "boolean", + "default": false + }, + "useUserDefinedScreenEventName": { + "type": "boolean", + "default": false + }, "userProvidedScreenEventString": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,200})$" @@ -133,50 +161,102 @@ "enableLocationListening": { "type": "object", "properties": { - "android": { "type": "boolean" }, - "reactnative": { "type": "boolean" }, - "flutter": { "type": "boolean" } + "android": { + "type": "boolean" + }, + "reactnative": { + "type": "boolean" + }, + "flutter": { + "type": "boolean" + } } }, "trackSessionEvents": { "type": "object", "properties": { - "android": { "type": "boolean" }, - "ios": { "type": "boolean" }, - "reactnative": { "type": "boolean" }, - "flutter": { "type": "boolean" } + "android": { + "type": "boolean" + }, + "ios": { + "type": "boolean" + }, + "reactnative": { + "type": "boolean" + }, + "flutter": { + "type": "boolean" + } } }, "useAdvertisingIdForDeviceId": { "type": "object", "properties": { - "android": { "type": "boolean" }, - "reactnative": { "type": "boolean" }, - "flutter": { "type": "boolean" } + "android": { + "type": "boolean" + }, + "reactnative": { + "type": "boolean" + }, + "flutter": { + "type": "boolean" + } } }, "useIdfaAsDeviceId": { "type": "object", "properties": { - "ios": { "type": "boolean" }, - "reactnative": { "type": "boolean" }, - "flutter": { "type": "boolean" } + "ios": { + "type": "boolean" + }, + "reactnative": { + "type": "boolean" + }, + "flutter": { + "type": "boolean" + } } }, "attribution": { "type": "object", - "properties": { "web": { "type": "boolean" } } + "properties": { + "web": { + "type": "boolean" + } + } + }, + "trackUtmProperties": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } }, - "trackUtmProperties": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "trackNewCampaigns": { "type": "object", - "properties": { "web": { "type": "boolean" } } + "properties": { + "web": { + "type": "boolean" + } + } }, "unsetParamsReferrerOnNewSession": { "type": "object", - "properties": { "web": { "type": "boolean" } } + "properties": { + "web": { + "type": "boolean" + } + } + }, + "batchEvents": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } }, - "batchEvents": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventUploadPeriodMillis": { "type": "object", "properties": { @@ -230,26 +310,55 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { "type": "boolean" }, - "ios": { "type": "boolean" }, - "web": { "type": "boolean" }, - "reactnative": { "type": "boolean" }, - "flutter": { "type": "boolean" } + "android": { + "type": "boolean" + }, + "ios": { + "type": "boolean" + }, + "web": { + "type": "boolean" + }, + "reactnative": { + "type": "boolean" + }, + "flutter": { + "type": "boolean" + } } }, "connectionMode": { "type": "object", "properties": { - "android": { "type": "string", "enum": ["cloud", "device"] }, - "ios": { "type": "string", "enum": ["cloud", "device"] }, - "web": { "type": "string", "enum": ["cloud", "device"] }, - "reactnative": { "type": "string", "enum": ["cloud", "device"] }, - "flutter": { "type": "string", "enum": ["cloud", "device"] } + "android": { + "type": "string", + "enum": ["cloud", "device"] + }, + "ios": { + "type": "string", + "enum": ["cloud", "device"] + }, + "web": { + "type": "string", + "enum": ["cloud", "device"] + }, + "reactnative": { + "type": "string", + "enum": ["cloud", "device"] + }, + "flutter": { + "type": "string", + "enum": ["cloud", "device"] + } } }, "preferAnonymousIdForDeviceId": { "type": "object", - "properties": { "web": { "type": "boolean" } } + "properties": { + "web": { + "type": "boolean" + } + } } } } diff --git a/src/configurations/destinations/appcenter/ui-config.json b/src/configurations/destinations/appcenter/ui-config.json index 03d2cc46c..d3b062d66 100644 --- a/src/configurations/destinations/appcenter/ui-config.json +++ b/src/configurations/destinations/appcenter/ui-config.json @@ -10,7 +10,7 @@ "regex": "^(.{0,100})$", "regexErrorMessage": "Invalid AppCenter App Secret Key", "required": true, - "placeholder": "e.g: \u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u20225c0d", + "placeholder": "e.g: ••••••••••5c0d", "secret": true } ] diff --git a/src/configurations/destinations/appcues/db-config.json b/src/configurations/destinations/appcues/db-config.json index e18e20193..5cbc73ddf 100644 --- a/src/configurations/destinations/appcues/db-config.json +++ b/src/configurations/destinations/appcues/db-config.json @@ -28,7 +28,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track"], - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "supportedConnectionModes": { "android": ["cloud"], diff --git a/src/configurations/destinations/axeptio/db-config.json b/src/configurations/destinations/axeptio/db-config.json index 88221ad30..e0fa96ea3 100644 --- a/src/configurations/destinations/axeptio/db-config.json +++ b/src/configurations/destinations/axeptio/db-config.json @@ -15,7 +15,9 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { "web": [] } + "device": { + "web": [] + } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/axeptio/schema.json b/src/configurations/destinations/axeptio/schema.json index ba59e898c..ee4684f8d 100644 --- a/src/configurations/destinations/axeptio/schema.json +++ b/src/configurations/destinations/axeptio/schema.json @@ -8,8 +8,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "toggleToActivateCallback": { "type": "boolean", "default": false }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "toggleToActivateCallback": { + "type": "boolean", + "default": false + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/azure_blob/ui-config.json b/src/configurations/destinations/azure_blob/ui-config.json index b0bfdb7e0..84b5152e0 100644 --- a/src/configurations/destinations/azure_blob/ui-config.json +++ b/src/configurations/destinations/azure_blob/ui-config.json @@ -32,7 +32,12 @@ }, { "type": "textInput", - "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": false }], + "preRequisiteField": [ + { + "name": "useSASTokens", + "selectedValue": false + } + ], "label": "Azure Blob Storage Account Key", "value": "accountKey", "regex": "^(.{0,100})$", @@ -43,7 +48,12 @@ }, { "type": "textInput", - "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": true }], + "preRequisiteField": [ + { + "name": "useSASTokens", + "selectedValue": true + } + ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", "regex": "^(.+)$", diff --git a/src/configurations/destinations/azure_datalake/schema.json b/src/configurations/destinations/azure_datalake/schema.json index 9a57f9879..8e2c0730e 100644 --- a/src/configurations/destinations/azure_datalake/schema.json +++ b/src/configurations/destinations/azure_datalake/schema.json @@ -20,13 +20,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { "type": "boolean", "default": false }, + "useSASTokens": { + "type": "boolean", + "default": false + }, "syncFrequency": { "type": "string", "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -43,7 +48,11 @@ "allOf": [ { "if": { - "properties": { "useSASTokens": { "const": false } }, + "properties": { + "useSASTokens": { + "const": false + } + }, "required": ["useSASTokens"] }, "then": { @@ -52,20 +61,31 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { "const": false } + "useSASTokens": { + "const": false + } }, "required": ["accountKey"] } }, { - "if": { "properties": { "useSASTokens": { "const": true } }, "required": ["useSASTokens"] }, + "if": { + "properties": { + "useSASTokens": { + "const": true + } + }, + "required": ["useSASTokens"] + }, "then": { "properties": { "sasToken": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.+)$" }, - "useSASTokens": { "const": true } + "useSASTokens": { + "const": true + } }, "required": ["sasToken", "useSASTokens"] } diff --git a/src/configurations/destinations/azure_datalake/ui-config.json b/src/configurations/destinations/azure_datalake/ui-config.json index 2bcc1b27d..20ea0f4ec 100644 --- a/src/configurations/destinations/azure_datalake/ui-config.json +++ b/src/configurations/destinations/azure_datalake/ui-config.json @@ -46,7 +46,12 @@ }, { "type": "textInput", - "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": false }], + "preRequisiteField": [ + { + "name": "useSASTokens", + "selectedValue": false + } + ], "label": "Azure Blob Storage Account Key", "value": "accountKey", "regex": "^(.{1,100})$", @@ -57,7 +62,12 @@ }, { "type": "textInput", - "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": true }], + "preRequisiteField": [ + { + "name": "useSASTokens", + "selectedValue": true + } + ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", "regex": "^(.+)$", @@ -78,21 +88,45 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { "name": "Every 30 minutes", "value": "30" }, - { "name": "Every 1 hour", "value": "60" }, - { "name": "Every 3 hours", "value": "180" }, - { "name": "Every 6 hours", "value": "360" }, - { "name": "Every 12 hours", "value": "720" }, - { "name": "Every 24 hours", "value": "1440" } + { + "name": "Every 30 minutes", + "value": "30" + }, + { + "name": "Every 1 hour", + "value": "60" + }, + { + "name": "Every 3 hours", + "value": "180" + }, + { + "name": "Every 6 hours", + "value": "360" + }, + { + "name": "Every 12 hours", + "value": "720" + }, + { + "name": "Every 24 hours", + "value": "1440" + } ], - "defaultOption": { "name": "Every 30 minutes", "value": "30" }, + "defaultOption": { + "name": "Every 30 minutes", + "value": "30" + }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { "omitSeconds": true, "minuteStep": 15 }, + "options": { + "omitSeconds": true, + "minuteStep": 15 + }, "required": false, "footerNote": "Note: Please specify time in UTC" } diff --git a/src/configurations/destinations/azure_synapse/schema.json b/src/configurations/destinations/azure_synapse/schema.json index e9925492f..69f765abc 100644 --- a/src/configurations/destinations/azure_synapse/schema.json +++ b/src/configurations/destinations/azure_synapse/schema.json @@ -13,29 +13,62 @@ "useRudderStorage" ], "properties": { - "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, - "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "password": { "type": "string", "pattern": "(^env[.].+)|.+" }, - "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, - "sslMode": { "type": "string", "pattern": "^(disable|true|false)$" }, + "host": { + "type": "string", + "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" + }, + "database": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "user": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "password": { + "type": "string", + "pattern": "(^env[.].+)|.+" + }, + "port": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "namespace": { + "type": "string", + "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" + }, + "sslMode": { + "type": "string", + "pattern": "^(disable|true|false)$" + }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { "type": "string" }, - "excludeWindowEndTime": { "type": "string" } + "excludeWindowStartTime": { + "type": "string" + }, + "excludeWindowEndTime": { + "type": "string" + } } }, - "useRudderStorage": { "type": "boolean", "default": false }, - "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" }, + "useRudderStorage": { + "type": "boolean", + "default": false + }, + "bucketProvider": { + "type": "string", + "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -52,16 +85,26 @@ "allOf": [ { "if": { - "properties": { "useRudderStorage": { "const": false } }, + "properties": { + "useRudderStorage": { + "const": false + } + }, "required": ["useRudderStorage"] }, - "then": { "required": ["bucketProvider"] } + "then": { + "required": ["bucketProvider"] + } }, { "if": { "properties": { - "bucketProvider": { "const": "S3" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "S3" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -77,16 +120,26 @@ { "type": "object", "properties": { - "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, - "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } + "accessKeyID": { + "type": "string", + "pattern": "(^env[.].+)|^(.{0,100})$" + }, + "accessKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{0,100})$" + } }, "required": ["accessKeyID", "accessKey"] }, { "type": "object", "properties": { - "iamRoleARN": { "type": "string" }, - "roleBasedAuth": { "const": true } + "iamRoleARN": { + "type": "string" + }, + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -96,8 +149,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "GCS" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "GCS" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -107,7 +164,10 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } + "credentials": { + "type": "string", + "pattern": "(^env[.].+)|.+" + } }, "required": ["bucketName", "credentials"] } @@ -115,8 +175,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "AZURE_BLOB" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "AZURE_BLOB" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -126,20 +190,31 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } + "accountName": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } + "accountKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, - "useSASTokens": { "const": true } + "sasToken": { + "type": "string", + "pattern": "(^env[.].+)|^(.+)$" + }, + "useSASTokens": { + "const": true + } }, "required": ["useSASTokens", "sasToken"] } @@ -149,8 +224,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "MINIO" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "MINIO" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -160,13 +239,21 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "accessKeyID": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, "endPoint": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, - "secretAccessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "useSSL": { "type": "boolean" } + "secretAccessKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "useSSL": { + "type": "boolean" + } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey", "useSSL"] } diff --git a/src/configurations/destinations/azure_synapse/ui-config.json b/src/configurations/destinations/azure_synapse/ui-config.json index 098eaef29..8d1cb94c5 100644 --- a/src/configurations/destinations/azure_synapse/ui-config.json +++ b/src/configurations/destinations/azure_synapse/ui-config.json @@ -63,11 +63,23 @@ "label": "SSL Mode", "value": "sslMode", "options": [ - { "name": "disable", "value": "disable" }, - { "name": "true", "value": "true" }, - { "name": "false", "value": "false" } + { + "name": "disable", + "value": "disable" + }, + { + "name": "true", + "value": "true" + }, + { + "name": "false", + "value": "false" + } ], - "defaultOption": { "name": "disable", "value": "disable" }, + "defaultOption": { + "name": "disable", + "value": "disable" + }, "required": true }, { @@ -75,21 +87,45 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { "name": "Every 30 minutes", "value": "30" }, - { "name": "Every 1 hour", "value": "60" }, - { "name": "Every 3 hours", "value": "180" }, - { "name": "Every 6 hours", "value": "360" }, - { "name": "Every 12 hours", "value": "720" }, - { "name": "Every 24 hours", "value": "1440" } + { + "name": "Every 30 minutes", + "value": "30" + }, + { + "name": "Every 1 hour", + "value": "60" + }, + { + "name": "Every 3 hours", + "value": "180" + }, + { + "name": "Every 6 hours", + "value": "360" + }, + { + "name": "Every 12 hours", + "value": "720" + }, + { + "name": "Every 24 hours", + "value": "1440" + } ], - "defaultOption": { "name": "Every 30 minutes", "value": "30" }, + "defaultOption": { + "name": "Every 30 minutes", + "value": "30" + }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { "omitSeconds": true, "minuteStep": 15 }, + "options": { + "omitSeconds": true, + "minuteStep": 15 + }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -97,9 +133,18 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, - "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, - "options": { "omitSeconds": true, "minuteStep": 1 }, + "startTime": { + "label": "start time", + "value": "excludeWindowStartTime" + }, + "endTime": { + "label": "end time", + "value": "excludeWindowEndTime" + }, + "options": { + "omitSeconds": true, + "minuteStep": 1 + }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -120,20 +165,44 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { "name": "S3", "value": "S3" }, - { "name": "GCS", "value": "GCS" }, - { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, - { "name": "MINIO", "value": "MINIO" } + { + "name": "S3", + "value": "S3" + }, + { + "name": "GCS", + "value": "GCS" + }, + { + "name": "AZURE_BLOB", + "value": "AZURE_BLOB" + }, + { + "name": "MINIO", + "value": "MINIO" + } ], - "defaultOption": { "name": "MINIO", "value": "MINIO" }, + "defaultOption": { + "name": "MINIO", + "value": "MINIO" + }, "required": true, - "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } + "preRequisiteField": { + "name": "useRudderStorage", + "selectedValue": false + } }, { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into AzureSynapse", @@ -147,8 +216,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "GCS" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "GCS" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into AzureSynapse", @@ -162,8 +237,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into AzureSynapse", @@ -177,8 +258,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into AzureSynapse", @@ -192,8 +279,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -202,9 +295,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": true } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": true + } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -220,9 +322,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": false + } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -234,9 +345,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": false + } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -248,8 +368,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -261,9 +387,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "useSASTokens", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "useSASTokens", + "selectedValue": false + } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -276,9 +411,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "useSASTokens", "selectedValue": true } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "useSASTokens", + "selectedValue": true + } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -291,8 +435,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -302,8 +452,14 @@ { "type": "textareaInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "GCS" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "GCS" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -315,8 +471,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -328,8 +490,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -341,8 +509,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -354,8 +528,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Use SSL for connection", "value": "useSSL", diff --git a/src/configurations/destinations/bingads/db-config.json b/src/configurations/destinations/bingads/db-config.json index 9828174e3..098246920 100644 --- a/src/configurations/destinations/bingads/db-config.json +++ b/src/configurations/destinations/bingads/db-config.json @@ -17,7 +17,9 @@ "web": ["device"] }, "supportedMessageTypes": { - "device": { "web": ["track", "page"] } + "device": { + "web": ["track", "page"] + } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/bingads_audience/schema.json b/src/configurations/destinations/bingads_audience/schema.json index 2af35fe8f..d0ee99369 100644 --- a/src/configurations/destinations/bingads_audience/schema.json +++ b/src/configurations/destinations/bingads_audience/schema.json @@ -16,7 +16,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "hashEmail": { "type": "boolean", "default": true }, + "hashEmail": { + "type": "boolean", + "default": true + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/blueshift/ui-config.json b/src/configurations/destinations/blueshift/ui-config.json index c4c97893d..dd060e393 100644 --- a/src/configurations/destinations/blueshift/ui-config.json +++ b/src/configurations/destinations/blueshift/ui-config.json @@ -29,10 +29,19 @@ "value": "dataCenter", "mode": "single", "options": [ - { "name": "Standard", "value": "standard" }, - { "name": "EU", "value": "eu" } + { + "name": "Standard", + "value": "standard" + }, + { + "name": "EU", + "value": "eu" + } ], - "defaultOption": { "name": "Standard", "value": "standard" }, + "defaultOption": { + "name": "Standard", + "value": "standard" + }, "footerNote": "Select your Blueshift Data Center" } ] diff --git a/src/configurations/destinations/bq/schema.json b/src/configurations/destinations/bq/schema.json index fe7bab3a0..9722fbb7d 100644 --- a/src/configurations/destinations/bq/schema.json +++ b/src/configurations/destinations/bq/schema.json @@ -4,30 +4,54 @@ "type": "object", "required": ["project", "bucketName", "credentials", "syncFrequency"], "properties": { - "project": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "location": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "project": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "location": { + "type": "string", + "pattern": "(^env[.].*)|^(.{0,100})$" + }, "bucketName": { "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "prefix": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, - "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, - "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" }, + "prefix": { + "type": "string", + "pattern": "(^env[.].*)|^(.{0,100})$" + }, + "namespace": { + "type": "string", + "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" + }, + "credentials": { + "type": "string", + "pattern": "(^env[.].+)|.+" + }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { "type": "string" }, - "excludeWindowEndTime": { "type": "string" } + "excludeWindowStartTime": { + "type": "string" + }, + "excludeWindowEndTime": { + "type": "string" + } } }, - "jsonPaths": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "jsonPaths": { + "type": "string", + "pattern": "(^env[.].*)|.*" + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/bq/ui-config.json b/src/configurations/destinations/bq/ui-config.json index 92b56af7e..414239bcb 100644 --- a/src/configurations/destinations/bq/ui-config.json +++ b/src/configurations/destinations/bq/ui-config.json @@ -71,21 +71,45 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { "name": "Every 30 minutes", "value": "30" }, - { "name": "Every 1 hour", "value": "60" }, - { "name": "Every 3 hours", "value": "180" }, - { "name": "Every 6 hours", "value": "360" }, - { "name": "Every 12 hours", "value": "720" }, - { "name": "Every 24 hours", "value": "1440" } + { + "name": "Every 30 minutes", + "value": "30" + }, + { + "name": "Every 1 hour", + "value": "60" + }, + { + "name": "Every 3 hours", + "value": "180" + }, + { + "name": "Every 6 hours", + "value": "360" + }, + { + "name": "Every 12 hours", + "value": "720" + }, + { + "name": "Every 24 hours", + "value": "1440" + } ], - "defaultOption": { "name": "Every 30 minutes", "value": "30" }, + "defaultOption": { + "name": "Every 30 minutes", + "value": "30" + }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { "omitSeconds": true, "minuteStep": 15 }, + "options": { + "omitSeconds": true, + "minuteStep": 15 + }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -93,9 +117,18 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, - "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, - "options": { "omitSeconds": true, "minuteStep": 1 }, + "startTime": { + "label": "start time", + "value": "excludeWindowStartTime" + }, + "endTime": { + "label": "end time", + "value": "excludeWindowEndTime" + }, + "options": { + "omitSeconds": true, + "minuteStep": 1 + }, "required": false, "footerNote": "Note: Please specify time in UTC" }, diff --git a/src/configurations/destinations/braze/db-config.json b/src/configurations/destinations/braze/db-config.json index d66c8f95f..e9c1c2ead 100644 --- a/src/configurations/destinations/braze/db-config.json +++ b/src/configurations/destinations/braze/db-config.json @@ -47,7 +47,6 @@ "cordova": ["cloud"], "shopify": ["cloud"] }, - "supportedMessageTypes": { "cloud": ["group", "identify", "page", "screen", "track", "alias"], "device": { diff --git a/src/configurations/destinations/braze/schema.json b/src/configurations/destinations/braze/schema.json index f8dc62edc..8fa99e6ec 100644 --- a/src/configurations/destinations/braze/schema.json +++ b/src/configurations/destinations/braze/schema.json @@ -29,11 +29,26 @@ ], "default": "US-01" }, - "enableSubscriptionGroupInGroupCall": { "type": "boolean", "default": false }, - "enableNestedArrayOperations": { "type": "boolean", "default": false }, - "trackAnonymousUser": { "type": "boolean", "default": false }, - "sendPurchaseEventWithExtraProperties": { "type": "boolean", "default": false }, - "supportDedup": { "type": "boolean", "default": false }, + "enableSubscriptionGroupInGroupCall": { + "type": "boolean", + "default": false + }, + "enableNestedArrayOperations": { + "type": "boolean", + "default": false + }, + "trackAnonymousUser": { + "type": "boolean", + "default": false + }, + "sendPurchaseEventWithExtraProperties": { + "type": "boolean", + "default": false + }, + "supportDedup": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -75,34 +90,74 @@ } } }, - "enableBrazeLogging": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "enableBrazeLogging": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "useNativeSDK": { "type": "object", "properties": { - "android": { "type": "boolean" }, - "ios": { "type": "boolean" }, - "web": { "type": "boolean" }, - "reactnative": { "type": "boolean" }, - "flutter": { "type": "boolean" } + "android": { + "type": "boolean" + }, + "ios": { + "type": "boolean" + }, + "web": { + "type": "boolean" + }, + "reactnative": { + "type": "boolean" + }, + "flutter": { + "type": "boolean" + } } }, "connectionMode": { "type": "object", "properties": { - "android": { "type": "string", "enum": ["cloud", "device", "hybrid"] }, - "ios": { "type": "string", "enum": ["cloud", "device", "hybrid"] }, - "web": { "type": "string", "enum": ["cloud", "device", "hybrid"] }, - "reactnative": { "type": "string", "enum": ["cloud", "device"] }, - "flutter": { "type": "string", "enum": ["cloud", "device"] } + "android": { + "type": "string", + "enum": ["cloud", "device", "hybrid"] + }, + "ios": { + "type": "string", + "enum": ["cloud", "device", "hybrid"] + }, + "web": { + "type": "string", + "enum": ["cloud", "device", "hybrid"] + }, + "reactnative": { + "type": "string", + "enum": ["cloud", "device"] + }, + "flutter": { + "type": "string", + "enum": ["cloud", "device"] + } } }, "enablePushNotification": { "type": "object", - "properties": { "web": { "type": "boolean" } } + "properties": { + "web": { + "type": "boolean" + } + } }, "allowUserSuppliedJavascript": { "type": "object", - "properties": { "web": { "type": "boolean" } } + "properties": { + "web": { + "type": "boolean" + } + } } } } diff --git a/src/configurations/destinations/bugsnag/db-config.json b/src/configurations/destinations/bugsnag/db-config.json index 34766951b..c84c9ac45 100644 --- a/src/configurations/destinations/bugsnag/db-config.json +++ b/src/configurations/destinations/bugsnag/db-config.json @@ -15,7 +15,11 @@ "excludeKeys": [], "supportedSourceTypes": ["android", "ios", "web"], "supportedMessageTypes": { - "device": { "web": ["identify"], "android": ["identify"], "ios": ["identify"] } + "device": { + "web": ["identify"], + "android": ["identify"], + "ios": ["identify"] + } }, "supportedConnectionModes": { "android": ["cloud", "device"], diff --git a/src/configurations/destinations/bugsnag/ui-config.json b/src/configurations/destinations/bugsnag/ui-config.json index 78c8d30ce..4a4998cfc 100644 --- a/src/configurations/destinations/bugsnag/ui-config.json +++ b/src/configurations/destinations/bugsnag/ui-config.json @@ -10,7 +10,7 @@ "regex": "^(.{0,100})$", "regexErrorMessage": "Invalid BugSnag Api Key", "required": true, - "placeholder": "e.g: \u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u20225c0d" + "placeholder": "e.g: ••••••••••5c0d" } ] }, diff --git a/src/configurations/destinations/campaign_manager/schema.json b/src/configurations/destinations/campaign_manager/schema.json index e2b361627..02eb44ea0 100644 --- a/src/configurations/destinations/campaign_manager/schema.json +++ b/src/configurations/destinations/campaign_manager/schema.json @@ -8,10 +8,22 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,50})$" }, - "limitAdTracking": { "type": "boolean", "default": false }, - "childDirectedTreatment": { "type": "boolean", "default": false }, - "nonPersonalizedAd": { "type": "boolean", "default": false }, - "treatmentForUnderage": { "type": "boolean", "default": false }, + "limitAdTracking": { + "type": "boolean", + "default": false + }, + "childDirectedTreatment": { + "type": "boolean", + "default": false + }, + "nonPersonalizedAd": { + "type": "boolean", + "default": false + }, + "treatmentForUnderage": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/canny/schema.json b/src/configurations/destinations/canny/schema.json index 3189f9061..3a67848ec 100644 --- a/src/configurations/destinations/canny/schema.json +++ b/src/configurations/destinations/canny/schema.json @@ -17,7 +17,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "to": { "type": "string", "enum": ["createPost", "createVote", ""] } + "to": { + "type": "string", + "enum": ["createPost", "createVote", ""] + } } } }, diff --git a/src/configurations/destinations/canny/ui-config.json b/src/configurations/destinations/canny/ui-config.json index 5d66e388f..f66cbbb0c 100644 --- a/src/configurations/destinations/canny/ui-config.json +++ b/src/configurations/destinations/canny/ui-config.json @@ -29,8 +29,14 @@ "required": false, "placeholderLeft": "e.g: Submit", "options": [ - { "name": "Create Post", "value": "createPost" }, - { "name": "Create Vote", "value": "createVote" } + { + "name": "Create Post", + "value": "createPost" + }, + { + "name": "Create Vote", + "value": "createVote" + } ] } ] diff --git a/src/configurations/destinations/chartbeat/db-config.json b/src/configurations/destinations/chartbeat/db-config.json index 889b27131..ae2e45a96 100644 --- a/src/configurations/destinations/chartbeat/db-config.json +++ b/src/configurations/destinations/chartbeat/db-config.json @@ -20,7 +20,9 @@ "web": ["device"] }, "supportedMessageTypes": { - "device": { "web": ["page"] } + "device": { + "web": ["page"] + } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/clickhouse/schema.json b/src/configurations/destinations/clickhouse/schema.json index ff353f26b..24afaac57 100644 --- a/src/configurations/destinations/clickhouse/schema.json +++ b/src/configurations/destinations/clickhouse/schema.json @@ -4,31 +4,69 @@ "type": "object", "required": ["host", "port", "database", "user", "secure", "syncFrequency", "useRudderStorage"], "properties": { - "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, - "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "cluster": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, - "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "password": { "type": "string", "pattern": "(^env[.].*)|.*" }, - "secure": { "type": "boolean", "default": false }, - "skipVerify": { "type": "boolean" }, - "caCertificate": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "host": { + "type": "string", + "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" + }, + "port": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "database": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "cluster": { + "type": "string", + "pattern": "(^env[.].*)|^(.{0,100})$" + }, + "user": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "password": { + "type": "string", + "pattern": "(^env[.].*)|.*" + }, + "secure": { + "type": "boolean", + "default": false + }, + "skipVerify": { + "type": "boolean" + }, + "caCertificate": { + "type": "string", + "pattern": "(^env[.].*)|.*" + }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { "type": "string" }, - "excludeWindowEndTime": { "type": "string" } + "excludeWindowStartTime": { + "type": "string" + }, + "excludeWindowEndTime": { + "type": "string" + } } }, - "useRudderStorage": { "type": "boolean", "default": false }, - "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" }, + "useRudderStorage": { + "type": "boolean", + "default": false + }, + "bucketProvider": { + "type": "string", + "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -44,21 +82,40 @@ }, "allOf": [ { - "if": { "properties": { "secure": { "const": true } }, "required": ["secure"] }, - "then": { "required": ["skipVerify"] } + "if": { + "properties": { + "secure": { + "const": true + } + }, + "required": ["secure"] + }, + "then": { + "required": ["skipVerify"] + } }, { "if": { - "properties": { "useRudderStorage": { "const": false } }, + "properties": { + "useRudderStorage": { + "const": false + } + }, "required": ["useRudderStorage"] }, - "then": { "required": ["bucketProvider"] } + "then": { + "required": ["bucketProvider"] + } }, { "if": { "properties": { - "bucketProvider": { "const": "S3" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "S3" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -74,16 +131,26 @@ { "type": "object", "properties": { - "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, - "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } + "accessKeyID": { + "type": "string", + "pattern": "(^env[.].+)|^(.{0,100})$" + }, + "accessKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{0,100})$" + } }, "required": ["accessKeyID", "accessKey"] }, { "type": "object", "properties": { - "iamRoleARN": { "type": "string" }, - "roleBasedAuth": { "const": true } + "iamRoleARN": { + "type": "string" + }, + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -93,8 +160,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "GCS" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "GCS" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -104,7 +175,10 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } + "credentials": { + "type": "string", + "pattern": "(^env[.].+)|.+" + } }, "required": ["bucketName", "credentials"] } @@ -112,8 +186,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "AZURE_BLOB" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "AZURE_BLOB" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -123,20 +201,31 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } + "accountName": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } + "accountKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, - "useSASTokens": { "const": true } + "sasToken": { + "type": "string", + "pattern": "(^env[.].+)|^(.+)$" + }, + "useSASTokens": { + "const": true + } }, "required": ["useSASTokens", "sasToken"] } @@ -146,8 +235,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "MINIO" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "MINIO" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -157,13 +250,21 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "accessKeyID": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, "endPoint": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, - "secretAccessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "useSSL": { "type": "boolean" } + "secretAccessKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "useSSL": { + "type": "boolean" + } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey", "useSSL"] } diff --git a/src/configurations/destinations/clickhouse/ui-config.json b/src/configurations/destinations/clickhouse/ui-config.json index 9d5d625a7..da04588de 100644 --- a/src/configurations/destinations/clickhouse/ui-config.json +++ b/src/configurations/destinations/clickhouse/ui-config.json @@ -61,10 +61,18 @@ "required": false, "secret": true }, - { "type": "checkbox", "label": "Secure", "value": "secure", "default": false }, { "type": "checkbox", - "preRequisiteField": { "name": "secure", "selectedValue": true }, + "label": "Secure", + "value": "secure", + "default": false + }, + { + "type": "checkbox", + "preRequisiteField": { + "name": "secure", + "selectedValue": true + }, "label": "Skip verify", "value": "skipVerify", "default": false, @@ -72,7 +80,10 @@ }, { "type": "textareaInput", - "preRequisiteField": { "name": "secure", "selectedValue": true }, + "preRequisiteField": { + "name": "secure", + "selectedValue": true + }, "label": "CA certificate", "value": "caCertificate", "regex": ".*", @@ -84,21 +95,45 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { "name": "Every 30 minutes", "value": "30" }, - { "name": "Every 1 hour", "value": "60" }, - { "name": "Every 3 hours", "value": "180" }, - { "name": "Every 6 hours", "value": "360" }, - { "name": "Every 12 hours", "value": "720" }, - { "name": "Every 24 hours", "value": "1440" } + { + "name": "Every 30 minutes", + "value": "30" + }, + { + "name": "Every 1 hour", + "value": "60" + }, + { + "name": "Every 3 hours", + "value": "180" + }, + { + "name": "Every 6 hours", + "value": "360" + }, + { + "name": "Every 12 hours", + "value": "720" + }, + { + "name": "Every 24 hours", + "value": "1440" + } ], - "defaultOption": { "name": "Every 30 minutes", "value": "30" }, + "defaultOption": { + "name": "Every 30 minutes", + "value": "30" + }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { "omitSeconds": true, "minuteStep": 15 }, + "options": { + "omitSeconds": true, + "minuteStep": 15 + }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -106,9 +141,18 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, - "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, - "options": { "omitSeconds": true, "minuteStep": 1 }, + "startTime": { + "label": "start time", + "value": "excludeWindowStartTime" + }, + "endTime": { + "label": "end time", + "value": "excludeWindowEndTime" + }, + "options": { + "omitSeconds": true, + "minuteStep": 1 + }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -129,20 +173,44 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { "name": "S3", "value": "S3" }, - { "name": "GCS", "value": "GCS" }, - { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, - { "name": "MINIO", "value": "MINIO" } + { + "name": "S3", + "value": "S3" + }, + { + "name": "GCS", + "value": "GCS" + }, + { + "name": "AZURE_BLOB", + "value": "AZURE_BLOB" + }, + { + "name": "MINIO", + "value": "MINIO" + } ], - "defaultOption": { "name": "S3", "value": "S3" }, + "defaultOption": { + "name": "S3", + "value": "S3" + }, "required": true, - "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } + "preRequisiteField": { + "name": "useRudderStorage", + "selectedValue": false + } }, { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into ClickHouse", @@ -156,8 +224,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "GCS" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "GCS" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into ClickHouse", @@ -171,8 +245,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into ClickHouse", @@ -186,8 +266,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into ClickHouse", @@ -201,8 +287,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -211,9 +303,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": true } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": true + } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -229,9 +330,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": false + } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -243,9 +353,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": false + } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -257,8 +376,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -270,9 +395,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "useSASTokens", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "useSASTokens", + "selectedValue": false + } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -285,9 +419,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "useSASTokens", "selectedValue": true } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "useSASTokens", + "selectedValue": true + } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -300,8 +443,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -311,8 +460,14 @@ { "type": "textareaInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "GCS" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "GCS" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -325,8 +480,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -338,8 +499,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -351,8 +518,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -364,8 +537,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Use SSL for connection", "value": "useSSL", diff --git a/src/configurations/destinations/convertflow/db-config.json b/src/configurations/destinations/convertflow/db-config.json index 2088420d3..32f91c2cf 100644 --- a/src/configurations/destinations/convertflow/db-config.json +++ b/src/configurations/destinations/convertflow/db-config.json @@ -17,7 +17,9 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { "web": ["identify"] } + "device": { + "web": ["identify"] + } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/convertflow/schema.json b/src/configurations/destinations/convertflow/schema.json index a2f0940cc..69759c672 100644 --- a/src/configurations/destinations/convertflow/schema.json +++ b/src/configurations/destinations/convertflow/schema.json @@ -8,8 +8,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,10})$" }, - "toggleToSendData": { "type": "boolean", "default": false }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "toggleToSendData": { + "type": "boolean", + "default": false + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -55,7 +65,11 @@ "anyOf": [ { "if": { - "properties": { "toggleToSendData": { "const": true } }, + "properties": { + "toggleToSendData": { + "const": true + } + }, "required": ["toggleToSendData"] }, "then": { diff --git a/src/configurations/destinations/criteo/db-config.json b/src/configurations/destinations/criteo/db-config.json index 3ce355a87..51304d835 100644 --- a/src/configurations/destinations/criteo/db-config.json +++ b/src/configurations/destinations/criteo/db-config.json @@ -21,7 +21,9 @@ "web": ["device"] }, "supportedMessageTypes": { - "device": { "web": ["track", "page"] } + "device": { + "web": ["track", "page"] + } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/criteo/schema.json b/src/configurations/destinations/criteo/schema.json index f6954fa7b..b86516322 100644 --- a/src/configurations/destinations/criteo/schema.json +++ b/src/configurations/destinations/criteo/schema.json @@ -12,7 +12,11 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{0,100})$" }, - "hashMethod": { "type": "string", "enum": ["none", "md5"], "default": "none" }, + "hashMethod": { + "type": "string", + "enum": ["none", "md5"], + "default": "none" + }, "fieldMapping": { "type": "array", "items": { @@ -29,7 +33,14 @@ } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/criteo_audience/schema.json b/src/configurations/destinations/criteo_audience/schema.json index 4d3fabeec..f4e05c233 100644 --- a/src/configurations/destinations/criteo_audience/schema.json +++ b/src/configurations/destinations/criteo_audience/schema.json @@ -43,7 +43,11 @@ "anyOf": [ { "if": { - "properties": { "audienceType": { "const": "gum" } }, + "properties": { + "audienceType": { + "const": "gum" + } + }, "required": ["audienceType"] }, "then": { diff --git a/src/configurations/destinations/criteo_audience/ui-config.json b/src/configurations/destinations/criteo_audience/ui-config.json index 8304fe571..a8c8e1aeb 100644 --- a/src/configurations/destinations/criteo_audience/ui-config.json +++ b/src/configurations/destinations/criteo_audience/ui-config.json @@ -31,12 +31,27 @@ "required": true, "placeholder": "email", "options": [ - { "name": "email", "value": "email" }, - { "name": "madid", "value": "madid" }, - { "name": "identityLink", "value": "identityLink" }, - { "name": "gum", "value": "gum" } + { + "name": "email", + "value": "email" + }, + { + "name": "madid", + "value": "madid" + }, + { + "name": "identityLink", + "value": "identityLink" + }, + { + "name": "gum", + "value": "gum" + } ], - "defaultOption": { "name": "email", "value": "email" } + "defaultOption": { + "name": "email", + "value": "email" + } }, { "type": "textInput", @@ -47,7 +62,10 @@ "required": true, "placeholder": "e.g. 532XX445", "secret": false, - "preRequisiteField": { "name": "audienceType", "selectedValue": "gum" }, + "preRequisiteField": { + "name": "audienceType", + "selectedValue": "gum" + }, "footerNote": "GUM cookie identifier" } ] diff --git a/src/configurations/destinations/custify/schema.json b/src/configurations/destinations/custify/schema.json index 297ed8683..b1f6fc1d8 100644 --- a/src/configurations/destinations/custify/schema.json +++ b/src/configurations/destinations/custify/schema.json @@ -8,7 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,61})$" }, - "sendAnonymousId": { "type": "boolean", "default": false }, + "sendAnonymousId": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/customerio/db-config.json b/src/configurations/destinations/customerio/db-config.json index 5a049a60e..3aa617ad6 100644 --- a/src/configurations/destinations/customerio/db-config.json +++ b/src/configurations/destinations/customerio/db-config.json @@ -34,7 +34,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track", "alias", "group"], - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"] diff --git a/src/configurations/destinations/customerio/schema.json b/src/configurations/destinations/customerio/schema.json index 29aced2da..3057c3bdd 100644 --- a/src/configurations/destinations/customerio/schema.json +++ b/src/configurations/destinations/customerio/schema.json @@ -90,7 +90,12 @@ "type": "array", "items": { "type": "object", - "properties": { "purpose": { "type": "string", "pattern": "^(.{0,100})$" } } + "properties": { + "purpose": { + "type": "string", + "pattern": "^(.{0,100})$" + } + } } } } diff --git a/src/configurations/destinations/dcm_floodlight/db-config.json b/src/configurations/destinations/dcm_floodlight/db-config.json index 6c62985d8..437c88e83 100644 --- a/src/configurations/destinations/dcm_floodlight/db-config.json +++ b/src/configurations/destinations/dcm_floodlight/db-config.json @@ -36,7 +36,9 @@ ], "supportedMessageTypes": { "cloud": ["track", "page"], - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/delighted/ui-config.json b/src/configurations/destinations/delighted/ui-config.json index 2de5624f7..82bc6799d 100644 --- a/src/configurations/destinations/delighted/ui-config.json +++ b/src/configurations/destinations/delighted/ui-config.json @@ -20,10 +20,19 @@ "required": true, "placeholder": "Email", "options": [ - { "name": "Email", "value": "email" }, - { "name": "SMS", "value": "sms" } + { + "name": "Email", + "value": "email" + }, + { + "name": "SMS", + "value": "sms" + } ], - "defaultOption": { "name": "Email", "value": "email" } + "defaultOption": { + "name": "Email", + "value": "email" + } }, { "type": "textInput", diff --git a/src/configurations/destinations/deltalake/schema.json b/src/configurations/destinations/deltalake/schema.json index b267306c6..4d04b7cd3 100644 --- a/src/configurations/destinations/deltalake/schema.json +++ b/src/configurations/destinations/deltalake/schema.json @@ -4,30 +4,66 @@ "type": "object", "required": ["host", "port", "path", "token", "syncFrequency", "bucketProvider"], "properties": { - "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, - "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "path": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "token": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "catalog": { "type": "string", "pattern": "(^env[.].*)|^(.*)$" }, - "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "host": { + "type": "string", + "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" + }, + "port": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "path": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "token": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "catalog": { + "type": "string", + "pattern": "(^env[.].*)|^(.*)$" + }, + "namespace": { + "type": "string", + "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" + }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { "type": "string" }, - "excludeWindowEndTime": { "type": "string" } + "excludeWindowStartTime": { + "type": "string" + }, + "excludeWindowEndTime": { + "type": "string" + } } }, - "prefix": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, - "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB)$" }, - "enableExternalLocation": { "type": "boolean", "default": false }, - "useRudderStorage": { "type": "boolean", "default": false }, + "prefix": { + "type": "string", + "pattern": "(^env[.].*)|^(.{0,100})$" + }, + "bucketProvider": { + "type": "string", + "pattern": "^(S3|GCS|AZURE_BLOB)$" + }, + "enableExternalLocation": { + "type": "boolean", + "default": false + }, + "useRudderStorage": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -44,26 +80,45 @@ "allOf": [ { "if": { - "properties": { "useRudderStorage": { "const": false } }, + "properties": { + "useRudderStorage": { + "const": false + } + }, "required": ["useRudderStorage"] }, - "then": { "required": ["bucketProvider"] } + "then": { + "required": ["bucketProvider"] + } }, { "if": { - "properties": { "enableExternalLocation": { "const": "true" } }, + "properties": { + "enableExternalLocation": { + "const": "true" + } + }, "required": ["enableExternalLocation"] }, "then": { - "properties": { "externalLocation": { "type": "string", "pattern": "(^env[.].*)|.*" } }, + "properties": { + "externalLocation": { + "type": "string", + "pattern": "(^env[.].*)|.*" + } + }, "required": ["externalLocation"] } }, { "if": { "properties": { - "bucketProvider": { "const": "S3" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "S3" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -73,8 +128,12 @@ "type": "string", "pattern": "(^env[.].*)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "enableSSE": { "type": "boolean" }, - "useSTSTokens": { "type": "boolean" } + "enableSSE": { + "type": "boolean" + }, + "useSTSTokens": { + "type": "boolean" + } }, "required": ["bucketName", "enableSSE", "useSTSTokens"] }, @@ -82,8 +141,12 @@ { "if": { "properties": { - "useSTSTokens": { "const": true }, - "useRudderStorage": { "const": false } + "useSTSTokens": { + "const": true + }, + "useRudderStorage": { + "const": false + } }, "required": ["useSTSTokens", "useRudderStorage"] }, @@ -92,16 +155,26 @@ { "type": "object", "properties": { - "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, - "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } + "accessKeyID": { + "type": "string", + "pattern": "(^env[.].+)|^(.{0,100})$" + }, + "accessKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{0,100})$" + } }, "required": ["accessKeyID", "accessKey"] }, { "type": "object", "properties": { - "iamRoleARN": { "type": "string" }, - "roleBasedAuth": { "const": true } + "iamRoleARN": { + "type": "string" + }, + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -113,8 +186,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "GCS" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "GCS" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -124,7 +201,10 @@ "type": "string", "pattern": "(^env[.].*)|^((?!goog)(?!.*google.*)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } + "credentials": { + "type": "string", + "pattern": "(^env[.].+)|.+" + } }, "required": ["bucketName", "credentials"] } @@ -132,8 +212,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "AZURE_BLOB" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "AZURE_BLOB" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -143,20 +227,31 @@ "type": "string", "pattern": "(^env[.].*)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { "type": "string", "pattern": "(^env[.].*)|^(.{1,100})$" } + "accountName": { + "type": "string", + "pattern": "(^env[.].*)|^(.{1,100})$" + } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } + "accountKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, - "useSASTokens": { "const": true } + "sasToken": { + "type": "string", + "pattern": "(^env[.].+)|^(.+)$" + }, + "useSASTokens": { + "const": true + } }, "required": ["useSASTokens", "sasToken"] } diff --git a/src/configurations/destinations/deltalake/ui-config.json b/src/configurations/destinations/deltalake/ui-config.json index d99c3ff74..d451d0a69 100644 --- a/src/configurations/destinations/deltalake/ui-config.json +++ b/src/configurations/destinations/deltalake/ui-config.json @@ -48,7 +48,12 @@ }, { "type": "textInput", - "preRequisiteField": [{ "name": "enableExternalLocation", "selectedValue": true }], + "preRequisiteField": [ + { + "name": "enableExternalLocation", + "selectedValue": true + } + ], "label": "External delta table location", "value": "externalLocation", "regex": "^(.{1,100})$", @@ -87,21 +92,45 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { "name": "Every 30 minutes", "value": "30" }, - { "name": "Every 1 hour", "value": "60" }, - { "name": "Every 3 hours", "value": "180" }, - { "name": "Every 6 hours", "value": "360" }, - { "name": "Every 12 hours", "value": "720" }, - { "name": "Every 24 hours", "value": "1440" } + { + "name": "Every 30 minutes", + "value": "30" + }, + { + "name": "Every 1 hour", + "value": "60" + }, + { + "name": "Every 3 hours", + "value": "180" + }, + { + "name": "Every 6 hours", + "value": "360" + }, + { + "name": "Every 12 hours", + "value": "720" + }, + { + "name": "Every 24 hours", + "value": "1440" + } ], - "defaultOption": { "name": "Every 30 minutes", "value": "30" }, + "defaultOption": { + "name": "Every 30 minutes", + "value": "30" + }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { "omitSeconds": true, "minuteStep": 15 }, + "options": { + "omitSeconds": true, + "minuteStep": 15 + }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -109,9 +138,18 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, - "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, - "options": { "omitSeconds": true, "minuteStep": 1 }, + "startTime": { + "label": "start time", + "value": "excludeWindowStartTime" + }, + "endTime": { + "label": "end time", + "value": "excludeWindowEndTime" + }, + "options": { + "omitSeconds": true, + "minuteStep": 1 + }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -132,19 +170,40 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { "name": "S3", "value": "S3" }, - { "name": "GCS", "value": "GCS" }, - { "name": "AZURE_BLOB", "value": "AZURE_BLOB" } + { + "name": "S3", + "value": "S3" + }, + { + "name": "GCS", + "value": "GCS" + }, + { + "name": "AZURE_BLOB", + "value": "AZURE_BLOB" + } ], - "defaultOption": { "name": "S3", "value": "S3" }, + "defaultOption": { + "name": "S3", + "value": "S3" + }, "required": true, - "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } + "preRequisiteField": { + "name": "useRudderStorage", + "selectedValue": false + } }, { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into DeltaLake", @@ -158,8 +217,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "GCS" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "GCS" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into DeltaLake", @@ -173,8 +238,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into DeltaLake", @@ -187,7 +258,12 @@ }, { "type": "textInput", - "preRequisiteField": [{ "name": "useRudderStorage", "selectedValue": false }], + "preRequisiteField": [ + { + "name": "useRudderStorage", + "selectedValue": false + } + ], "label": "Prefix", "value": "prefix", "regex": "^(.{0,100})$", @@ -202,16 +278,31 @@ "default": false, "footerNote": "Note: This feature is only supported with databricks S3A client.", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ] }, { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useSTSTokens", "selectedValue": true }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useSTSTokens", + "selectedValue": true + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -220,10 +311,22 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useSTSTokens", "selectedValue": true }, - { "name": "roleBasedAuth", "selectedValue": true }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useSTSTokens", + "selectedValue": true + }, + { + "name": "roleBasedAuth", + "selectedValue": true + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -239,10 +342,22 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useSTSTokens", "selectedValue": true }, - { "name": "roleBasedAuth", "selectedValue": false }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useSTSTokens", + "selectedValue": true + }, + { + "name": "roleBasedAuth", + "selectedValue": false + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -255,10 +370,22 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useSTSTokens", "selectedValue": true }, - { "name": "roleBasedAuth", "selectedValue": false }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useSTSTokens", + "selectedValue": true + }, + { + "name": "roleBasedAuth", + "selectedValue": false + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -271,8 +398,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Enable Server Side Encryption For S3?", "value": "enableSSE", @@ -281,8 +414,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -295,9 +434,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useSASTokens", "selectedValue": false }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useSASTokens", + "selectedValue": false + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -310,9 +458,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useSASTokens", "selectedValue": true }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useSASTokens", + "selectedValue": true + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -325,8 +482,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -336,8 +499,14 @@ { "type": "textareaInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "GCS" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "GCS" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", diff --git a/src/configurations/destinations/discord/schema.json b/src/configurations/destinations/discord/schema.json index 739e567ca..9b7ff8670 100644 --- a/src/configurations/destinations/discord/schema.json +++ b/src/configurations/destinations/discord/schema.json @@ -12,7 +12,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,1000})$" }, - "embedFlag": { "type": "boolean", "default": false }, + "embedFlag": { + "type": "boolean", + "default": false + }, "eventTemplateSettings": { "type": "array", "items": { @@ -26,7 +29,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,1000})$" }, - "eventRegex": { "type": "boolean", "default": false } + "eventRegex": { + "type": "boolean", + "default": false + } } } }, @@ -57,7 +63,14 @@ }, "anyOf": [ { - "if": { "properties": { "embedFlag": { "const": true } }, "required": ["embedFlag"] }, + "if": { + "properties": { + "embedFlag": { + "const": true + } + }, + "required": ["embedFlag"] + }, "then": { "properties": { "embedTitleTemplate": { diff --git a/src/configurations/destinations/discord/ui-config.json b/src/configurations/destinations/discord/ui-config.json index afd28f0e7..ca7089a4a 100644 --- a/src/configurations/destinations/discord/ui-config.json +++ b/src/configurations/destinations/discord/ui-config.json @@ -65,7 +65,10 @@ "footerNote": "Toggle it on if you want a embed message on the discord. Refer To docs for more details" }, { - "preRequisiteField": { "name": "embedFlag", "selectedValue": true }, + "preRequisiteField": { + "name": "embedFlag", + "selectedValue": true + }, "type": "textInput", "label": "Title Template", "value": "embedTitleTemplate", @@ -76,7 +79,10 @@ "footerNote": "This template will be used to build title for embed message" }, { - "preRequisiteField": { "name": "embedFlag", "selectedValue": true }, + "preRequisiteField": { + "name": "embedFlag", + "selectedValue": true + }, "type": "textInput", "label": "Description Template", "value": "embedDescriptionTemplate", diff --git a/src/configurations/destinations/drip/db-config.json b/src/configurations/destinations/drip/db-config.json index 79e1b0126..1b01eb727 100644 --- a/src/configurations/destinations/drip/db-config.json +++ b/src/configurations/destinations/drip/db-config.json @@ -28,7 +28,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track"], - "device": { "web": ["identify", "track"] } + "device": { + "web": ["identify", "track"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/dynamic_yield/schema.json b/src/configurations/destinations/dynamic_yield/schema.json index fdefad61b..3016808d8 100644 --- a/src/configurations/destinations/dynamic_yield/schema.json +++ b/src/configurations/destinations/dynamic_yield/schema.json @@ -8,7 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "hashEmail": { "type": "boolean", "default": false }, + "hashEmail": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -21,8 +24,13 @@ } } }, - "useNativeSDK": { "type": "boolean" }, - "connectionMode": { "type": "object", "properties": {} } + "useNativeSDK": { + "type": "boolean" + }, + "connectionMode": { + "type": "object", + "properties": {} + } } } } diff --git a/src/configurations/destinations/engage/db-config.json b/src/configurations/destinations/engage/db-config.json index 02e955079..16b5527c0 100644 --- a/src/configurations/destinations/engage/db-config.json +++ b/src/configurations/destinations/engage/db-config.json @@ -29,7 +29,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track", "page", "group"], - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/engage/schema.json b/src/configurations/destinations/engage/schema.json index c57ceb551..851689cb6 100644 --- a/src/configurations/destinations/engage/schema.json +++ b/src/configurations/destinations/engage/schema.json @@ -4,8 +4,14 @@ "required": ["publicKey", "privateKey"], "type": "object", "properties": { - "publicKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, - "privateKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "publicKey": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, + "privateKey": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, "listIds": { "type": "array", "items": { @@ -18,7 +24,14 @@ } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/eventbridge/ui-config.json b/src/configurations/destinations/eventbridge/ui-config.json index 09f548e73..a6befcd28 100644 --- a/src/configurations/destinations/eventbridge/ui-config.json +++ b/src/configurations/destinations/eventbridge/ui-config.json @@ -20,7 +20,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": true + }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "^(.{0,100})$", @@ -34,7 +37,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "^(.{0,100})$", @@ -45,7 +51,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "^(.{0,100})$", diff --git a/src/configurations/destinations/facebook_conversions/db-config.json b/src/configurations/destinations/facebook_conversions/db-config.json index 35c2fd1d8..6472431f6 100644 --- a/src/configurations/destinations/facebook_conversions/db-config.json +++ b/src/configurations/destinations/facebook_conversions/db-config.json @@ -17,7 +17,9 @@ "cordova", "shopify" ], - "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track"] }, + "supportedMessageTypes": { + "cloud": ["identify", "page", "screen", "track"] + }, "supportedConnectionModes": { "android": ["cloud"], "ios": ["cloud"], diff --git a/src/configurations/destinations/facebook_conversions/schema.json b/src/configurations/destinations/facebook_conversions/schema.json index 6f70043cf..4bb8e52f0 100644 --- a/src/configurations/destinations/facebook_conversions/schema.json +++ b/src/configurations/destinations/facebook_conversions/schema.json @@ -87,7 +87,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "blacklistPiiHash": { "type": "boolean" } + "blacklistPiiHash": { + "type": "boolean" + } } } }, @@ -103,13 +105,22 @@ } } }, - "limitedDataUSage": { "type": "boolean", "default": false }, - "testDestination": { "type": "boolean", "default": false }, + "limitedDataUSage": { + "type": "boolean", + "default": false + }, + "testDestination": { + "type": "boolean", + "default": false + }, "testEventCode": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "removeExternalId": { "type": "boolean", "default": false }, + "removeExternalId": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/facebook_offline_conversions/schema.json b/src/configurations/destinations/facebook_offline_conversions/schema.json index 4041ea781..3bdf117e1 100644 --- a/src/configurations/destinations/facebook_offline_conversions/schema.json +++ b/src/configurations/destinations/facebook_offline_conversions/schema.json @@ -82,8 +82,13 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "limitedDataUSage": { "type": "boolean" }, - "isHashRequired": { "type": "boolean", "default": true }, + "limitedDataUSage": { + "type": "boolean" + }, + "isHashRequired": { + "type": "boolean", + "default": true + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/facebook_offline_conversions/ui-config.json b/src/configurations/destinations/facebook_offline_conversions/ui-config.json index d20f8ca79..878366a10 100644 --- a/src/configurations/destinations/facebook_offline_conversions/ui-config.json +++ b/src/configurations/destinations/facebook_offline_conversions/ui-config.json @@ -30,16 +30,46 @@ "required": true, "placeholderLeft": "e.g. Product Searched", "options": [ - { "name": "ViewContent", "value": "ViewContent" }, - { "name": "Search", "value": "Search" }, - { "name": "AddToCart", "value": "AddToCart" }, - { "name": "AddToWishlist", "value": "AddToWishlist" }, - { "name": "InitiateCheckout", "value": "InitiateCheckout" }, - { "name": "AddPaymentInfo", "value": "AddPaymentInfo" }, - { "name": "Purchase", "value": "Purchase" }, - { "name": "Lead", "value": "Lead" }, - { "name": "CompleteRegistration", "value": "CompleteRegistration" }, - { "name": "Other", "value": "Other" } + { + "name": "ViewContent", + "value": "ViewContent" + }, + { + "name": "Search", + "value": "Search" + }, + { + "name": "AddToCart", + "value": "AddToCart" + }, + { + "name": "AddToWishlist", + "value": "AddToWishlist" + }, + { + "name": "InitiateCheckout", + "value": "InitiateCheckout" + }, + { + "name": "AddPaymentInfo", + "value": "AddPaymentInfo" + }, + { + "name": "Purchase", + "value": "Purchase" + }, + { + "name": "Lead", + "value": "Lead" + }, + { + "name": "CompleteRegistration", + "value": "CompleteRegistration" + }, + { + "name": "Other", + "value": "Other" + } ] }, { @@ -54,16 +84,46 @@ "placeholderRight": "e.g. 506289934669334", "reverse": true, "options": [ - { "name": "ViewContent", "value": "ViewContent" }, - { "name": "Search", "value": "Search" }, - { "name": "AddToCart", "value": "AddToCart" }, - { "name": "AddToWishlist", "value": "AddToWishlist" }, - { "name": "InitiateCheckout", "value": "InitiateCheckout" }, - { "name": "AddPaymentInfo", "value": "AddPaymentInfo" }, - { "name": "Purchase", "value": "Purchase" }, - { "name": "Lead", "value": "Lead" }, - { "name": "CompleteRegistration", "value": "CompleteRegistration" }, - { "name": "Other", "value": "Other" } + { + "name": "ViewContent", + "value": "ViewContent" + }, + { + "name": "Search", + "value": "Search" + }, + { + "name": "AddToCart", + "value": "AddToCart" + }, + { + "name": "AddToWishlist", + "value": "AddToWishlist" + }, + { + "name": "InitiateCheckout", + "value": "InitiateCheckout" + }, + { + "name": "AddPaymentInfo", + "value": "AddPaymentInfo" + }, + { + "name": "Purchase", + "value": "Purchase" + }, + { + "name": "Lead", + "value": "Lead" + }, + { + "name": "CompleteRegistration", + "value": "CompleteRegistration" + }, + { + "name": "Other", + "value": "Other" + } ] }, { @@ -93,7 +153,11 @@ { "title": "Other Settings", "fields": [ - { "type": "checkbox", "label": "Limited Data Usage", "value": "limitedDataUSage" }, + { + "type": "checkbox", + "label": "Limited Data Usage", + "value": "limitedDataUSage" + }, { "type": "checkbox", "label": "Enable Hashing", diff --git a/src/configurations/destinations/facebook_pixel/db-config.json b/src/configurations/destinations/facebook_pixel/db-config.json index 827062858..dd1bfa9d1 100644 --- a/src/configurations/destinations/facebook_pixel/db-config.json +++ b/src/configurations/destinations/facebook_pixel/db-config.json @@ -36,7 +36,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track"], - "device": { "web": ["track", "page"] } + "device": { + "web": ["track", "page"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/facebook_pixel/schema.json b/src/configurations/destinations/facebook_pixel/schema.json index ae4f1c1f3..e9f4fa0d9 100644 --- a/src/configurations/destinations/facebook_pixel/schema.json +++ b/src/configurations/destinations/facebook_pixel/schema.json @@ -28,7 +28,10 @@ } } }, - "standardPageCall": { "type": "boolean", "default": false }, + "standardPageCall": { + "type": "boolean", + "default": false + }, "eventsToEvents": { "type": "array", "items": { @@ -70,7 +73,10 @@ "enum": ["properties.value", "properties.price"], "default": "properties.price" }, - "advancedMapping": { "type": "boolean", "default": false }, + "advancedMapping": { + "type": "boolean", + "default": false + }, "blacklistPiiProperties": { "type": "array", "items": { @@ -80,7 +86,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "blacklistPiiHash": { "type": "boolean" } + "blacklistPiiHash": { + "type": "boolean" + } } } }, @@ -117,21 +125,43 @@ } } }, - "limitedDataUSage": { "type": "boolean", "default": false }, - "testDestination": { "type": "boolean", "default": false }, + "limitedDataUSage": { + "type": "boolean", + "default": false + }, + "testDestination": { + "type": "boolean", + "default": false + }, "testEventCode": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "removeExternalId": { "type": "boolean", "default": false }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "removeExternalId": { + "type": "boolean", + "default": false + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "connectionMode": { "type": "object", "properties": { - "web": { "type": "string", "enum": ["cloud", "device"] } + "web": { + "type": "string", + "enum": ["cloud", "device"] + } } }, - "useUpdatedMapping": { "type": "boolean", "default": false }, + "useUpdatedMapping": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/fb/schema.json b/src/configurations/destinations/fb/schema.json index 08add89e7..e5a85147f 100644 --- a/src/configurations/destinations/fb/schema.json +++ b/src/configurations/destinations/fb/schema.json @@ -8,12 +8,30 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "limitedDataUse": { "type": "boolean", "default": false }, - "dpoState": { "type": "string", "enum": ["0", "1000"], "default": "0" }, - "dpoCountry": { "type": "string", "enum": ["0", "1"], "default": "0" }, + "limitedDataUse": { + "type": "boolean", + "default": false + }, + "dpoState": { + "type": "string", + "enum": ["0", "1000"], + "default": "0" + }, + "dpoCountry": { + "type": "string", + "enum": ["0", "1"], + "default": "0" + }, "useNativeSDK": { "type": "object", - "properties": { "android": { "type": "boolean" }, "ios": { "type": "boolean" } } + "properties": { + "android": { + "type": "boolean" + }, + "ios": { + "type": "boolean" + } + } }, "eventFilteringOption": { "type": "string", diff --git a/src/configurations/destinations/fb_custom_audience/ui-config.json b/src/configurations/destinations/fb_custom_audience/ui-config.json index 0c4ee2a33..958ab9c8b 100644 --- a/src/configurations/destinations/fb_custom_audience/ui-config.json +++ b/src/configurations/destinations/fb_custom_audience/ui-config.json @@ -38,23 +38,70 @@ "placeholder": "EMAIL", "mode": "multiple", "options": [ - { "name": "EMAIL", "value": "EMAIL" }, - { "name": "PHONE", "value": "PHONE" }, - { "name": "GENDER", "value": "GEN" }, - { "name": "MADID", "value": "MADID" }, - { "name": "EXTERN_ID", "value": "EXTERN_ID" }, - { "name": "DOB YEAR (YYYY)", "value": "DOBY" }, - { "name": "DOB MONTH (MM)", "value": "DOBM" }, - { "name": "DOB DATE (DD)", "value": "DOBD" }, - { "name": "LAST NAME", "value": "LN" }, - { "name": "FIRST NAME", "value": "FN" }, - { "name": "FIRST NAME INITIAL", "value": "FI" }, - { "name": "CITY", "value": "CT" }, - { "name": "US STATES", "value": "ST" }, - { "name": "ZIP", "value": "ZIP" }, - { "name": "COUNTRY", "value": "COUNTRY" } + { + "name": "EMAIL", + "value": "EMAIL" + }, + { + "name": "PHONE", + "value": "PHONE" + }, + { + "name": "GENDER", + "value": "GEN" + }, + { + "name": "MADID", + "value": "MADID" + }, + { + "name": "EXTERN_ID", + "value": "EXTERN_ID" + }, + { + "name": "DOB YEAR (YYYY)", + "value": "DOBY" + }, + { + "name": "DOB MONTH (MM)", + "value": "DOBM" + }, + { + "name": "DOB DATE (DD)", + "value": "DOBD" + }, + { + "name": "LAST NAME", + "value": "LN" + }, + { + "name": "FIRST NAME", + "value": "FN" + }, + { + "name": "FIRST NAME INITIAL", + "value": "FI" + }, + { + "name": "CITY", + "value": "CT" + }, + { + "name": "US STATES", + "value": "ST" + }, + { + "name": "ZIP", + "value": "ZIP" + }, + { + "name": "COUNTRY", + "value": "COUNTRY" + } ], - "defaultOption": { "value": ["EMAIL"] }, + "defaultOption": { + "value": ["EMAIL"] + }, "footerNote": "The Allowed Parameter List : https://developers.facebook.com/docs/marketing-api/audiences/guides/custom-audiences/#hash" }, { @@ -63,7 +110,12 @@ "value": "isHashRequired", "default": true }, - { "type": "checkbox", "label": "Is The Data Raw", "value": "isRaw", "default": false }, + { + "type": "checkbox", + "label": "Is The Data Raw", + "value": "isRaw", + "default": false + }, { "type": "checkbox", "label": "Disable Formatting", @@ -77,17 +129,47 @@ "placeholder": "NA", "mode": "single", "options": [ - { "name": "UNKNOWN", "value": "UNKNOWN" }, - { "name": "FILE_IMPORTED", "value": "FILE_IMPORTED" }, - { "name": "EVENT_BASED", "value": "EVENT_BASED" }, - { "name": "SEED_BASED", "value": "SEED_BASED" }, - { "name": "THIRD_PARTY_IMPORTED", "value": "THIRD_PARTY_IMPORTED" }, - { "name": "COPY_PASTE", "value": "COPY_PASTE" }, - { "name": "CONTACT_IMPORTER", "value": "CONTACT_IMPORTER" }, - { "name": "HOUSEHOLD_AUDIENCE", "value": "HOUSEHOLD_AUDIENCE" }, - { "name": "NA", "value": "NA" } + { + "name": "UNKNOWN", + "value": "UNKNOWN" + }, + { + "name": "FILE_IMPORTED", + "value": "FILE_IMPORTED" + }, + { + "name": "EVENT_BASED", + "value": "EVENT_BASED" + }, + { + "name": "SEED_BASED", + "value": "SEED_BASED" + }, + { + "name": "THIRD_PARTY_IMPORTED", + "value": "THIRD_PARTY_IMPORTED" + }, + { + "name": "COPY_PASTE", + "value": "COPY_PASTE" + }, + { + "name": "CONTACT_IMPORTER", + "value": "CONTACT_IMPORTER" + }, + { + "name": "HOUSEHOLD_AUDIENCE", + "value": "HOUSEHOLD_AUDIENCE" + }, + { + "name": "NA", + "value": "NA" + } ], - "defaultOption": { "name": "NA", "value": "NA" } + "defaultOption": { + "name": "NA", + "value": "NA" + } }, { "type": "singleSelect", @@ -96,34 +178,118 @@ "placeholder": "NA", "mode": "single", "options": [ - { "name": "ANYTHING", "value": "ANYTHING" }, - { "name": "NOTHING", "value": "NOTHING" }, - { "name": "HASHES", "value": "HASHES" }, - { "name": "USER_IDS", "value": "USER_IDS" }, - { "name": "HASHES_OR_USER_IDS", "value": "HASHES_OR_USER_IDS" }, - { "name": "MOBILE_ADVERTISER_IDS", "value": "MOBILE_ADVERTISER_IDS" }, - { "name": "FB_EVENT_SIGNALS", "value": "FB_EVENT_SIGNALS" }, - { "name": "EXTERNAL_IDS", "value": "EXTERNAL_IDS" }, - { "name": "MULTI_HASHES", "value": "MULTI_HASHES" }, - { "name": "TOKENS", "value": "TOKENS" }, - { "name": "EXTERNAL_IDS_MIX", "value": "EXTERNAL_IDS_MIX" }, - { "name": "WEB_PIXEL_HITS", "value": "WEB_PIXEL_HITS" }, - { "name": "MOBILE_APP_EVENTS", "value": "MOBILE_APP_EVENTS" }, - { "name": "MOBILE_APP_COMBINATION_EVENTS", "value": "MOBILE_APP_COMBINATION_EVENTS" }, - { "name": "VIDEO_EVENTS", "value": "VIDEO_EVENTS" }, - { "name": "WEB_PIXEL_COMBINATION_EVENTS", "value": "WEB_PIXEL_COMBINATION_EVENTS" }, - { "name": "IG_BUSINESS_EVENTS", "value": "IG_BUSINESS_EVENTS" }, - { "name": "MULTI_DATA_EVENTS", "value": "MULTI_DATA_EVENTS" }, - { "name": "STORE_VISIT_EVENTS", "value": "STORE_VISIT_EVENTS" }, - { "name": "INSTANT_ARTICLE_EVENTS", "value": "INSTANT_ARTICLE_EVENTS" }, - { "name": "ENGAGEMENT_EVENT_USERS", "value": "ENGAGEMENT_EVENT_USERS" }, - { "name": "FACEBOOK_WIFI_EVENTS", "value": "FACEBOOK_WIFI_EVENTS" }, - { "name": "CUSTOM_AUDIENCE_USERS", "value": "CUSTOM_AUDIENCE_USERS" }, - { "name": "S_EXPR", "value": "S_EXPR" }, - { "name": "DYNAMIC_RULE", "value": "DYNAMIC_RULE" }, - { "name": "CONVERSION_PIXEL_HITS", "value": "CONVERSION_PIXEL_HITS" }, - { "name": "APP_USERS", "value": "APP_USERS" }, - { "name": "CAMPAIGN_CONVERSIONS", "value": "CAMPAIGN_CONVERSIONS" }, + { + "name": "ANYTHING", + "value": "ANYTHING" + }, + { + "name": "NOTHING", + "value": "NOTHING" + }, + { + "name": "HASHES", + "value": "HASHES" + }, + { + "name": "USER_IDS", + "value": "USER_IDS" + }, + { + "name": "HASHES_OR_USER_IDS", + "value": "HASHES_OR_USER_IDS" + }, + { + "name": "MOBILE_ADVERTISER_IDS", + "value": "MOBILE_ADVERTISER_IDS" + }, + { + "name": "FB_EVENT_SIGNALS", + "value": "FB_EVENT_SIGNALS" + }, + { + "name": "EXTERNAL_IDS", + "value": "EXTERNAL_IDS" + }, + { + "name": "MULTI_HASHES", + "value": "MULTI_HASHES" + }, + { + "name": "TOKENS", + "value": "TOKENS" + }, + { + "name": "EXTERNAL_IDS_MIX", + "value": "EXTERNAL_IDS_MIX" + }, + { + "name": "WEB_PIXEL_HITS", + "value": "WEB_PIXEL_HITS" + }, + { + "name": "MOBILE_APP_EVENTS", + "value": "MOBILE_APP_EVENTS" + }, + { + "name": "MOBILE_APP_COMBINATION_EVENTS", + "value": "MOBILE_APP_COMBINATION_EVENTS" + }, + { + "name": "VIDEO_EVENTS", + "value": "VIDEO_EVENTS" + }, + { + "name": "WEB_PIXEL_COMBINATION_EVENTS", + "value": "WEB_PIXEL_COMBINATION_EVENTS" + }, + { + "name": "IG_BUSINESS_EVENTS", + "value": "IG_BUSINESS_EVENTS" + }, + { + "name": "MULTI_DATA_EVENTS", + "value": "MULTI_DATA_EVENTS" + }, + { + "name": "STORE_VISIT_EVENTS", + "value": "STORE_VISIT_EVENTS" + }, + { + "name": "INSTANT_ARTICLE_EVENTS", + "value": "INSTANT_ARTICLE_EVENTS" + }, + { + "name": "ENGAGEMENT_EVENT_USERS", + "value": "ENGAGEMENT_EVENT_USERS" + }, + { + "name": "FACEBOOK_WIFI_EVENTS", + "value": "FACEBOOK_WIFI_EVENTS" + }, + { + "name": "CUSTOM_AUDIENCE_USERS", + "value": "CUSTOM_AUDIENCE_USERS" + }, + { + "name": "S_EXPR", + "value": "S_EXPR" + }, + { + "name": "DYNAMIC_RULE", + "value": "DYNAMIC_RULE" + }, + { + "name": "CONVERSION_PIXEL_HITS", + "value": "CONVERSION_PIXEL_HITS" + }, + { + "name": "APP_USERS", + "value": "APP_USERS" + }, + { + "name": "CAMPAIGN_CONVERSIONS", + "value": "CAMPAIGN_CONVERSIONS" + }, { "name": "WEB_PIXEL_HITS_CUSTOM_AUDIENCE_USERS", "value": "WEB_PIXEL_HITS_CUSTOM_AUDIENCE_USERS" @@ -132,29 +298,95 @@ "name": "MOBILE_APP_CUSTOM_AUDIENCE_USERS", "value": "MOBILE_APP_CUSTOM_AUDIENCE_USERS" }, - { "name": "VIDEO_EVENT_USERS", "value": "VIDEO_EVENT_USERS" }, - { "name": "FB_PIXEL_HITS", "value": "FB_PIXEL_HITS" }, - { "name": "IG_PROMOTED_POST", "value": "IG_PROMOTED_POST" }, - { "name": "PLACE_VISITS", "value": "PLACE_VISITS" }, - { "name": "OFFLINE_EVENT_USERS", "value": "OFFLINE_EVENT_USERS" }, - { "name": "EXPANDED_AUDIENCE", "value": "EXPANDED_AUDIENCE" }, - { "name": "SEED_LIST", "value": "SEED_LIST" }, - { "name": "PARTNER_CATEGORY_USERS", "value": "PARTNER_CATEGORY_USERS" }, - { "name": "PAGE_SMART_AUDIENCE", "value": "PAGE_SMART_AUDIENCE" }, - { "name": "MULTICOUNTRY_COMBINATION", "value": "MULTICOUNTRY_COMBINATION" }, - { "name": "PLATFORM_USERS", "value": "PLATFORM_USERS" }, - { "name": "MULTI_EVENT_SOURCE", "value": "MULTI_EVENT_SOURCE" }, - { "name": "SMART_AUDIENCE", "value": "SMART_AUDIENCE" }, - { "name": "LOOKALIKE_PLATFORM", "value": "LOOKALIKE_PLATFORM" }, - { "name": "SIGNAL_SOURCE", "value": "SIGNAL_SOURCE" }, - { "name": "MAIL_CHIMP_EMAIL_HASHES", "value": "MAIL_CHIMP_EMAIL_HASHES" }, - { "name": "CONSTANT_CONTACTS_EMAIL_HASHES", "value": "CONSTANT_CONTACTS_EMAIL_HASHES" }, - { "name": "COPY_PASTE_EMAIL_HASHES", "value": "COPY_PASTE_EMAIL_HASHES" }, - { "name": "CONTACT_IMPORTER", "value": "CONTACT_IMPORTER" }, - { "name": "DATA_FILE", "value": "DATA_FILE" }, - { "name": "NA", "value": "NA" } + { + "name": "VIDEO_EVENT_USERS", + "value": "VIDEO_EVENT_USERS" + }, + { + "name": "FB_PIXEL_HITS", + "value": "FB_PIXEL_HITS" + }, + { + "name": "IG_PROMOTED_POST", + "value": "IG_PROMOTED_POST" + }, + { + "name": "PLACE_VISITS", + "value": "PLACE_VISITS" + }, + { + "name": "OFFLINE_EVENT_USERS", + "value": "OFFLINE_EVENT_USERS" + }, + { + "name": "EXPANDED_AUDIENCE", + "value": "EXPANDED_AUDIENCE" + }, + { + "name": "SEED_LIST", + "value": "SEED_LIST" + }, + { + "name": "PARTNER_CATEGORY_USERS", + "value": "PARTNER_CATEGORY_USERS" + }, + { + "name": "PAGE_SMART_AUDIENCE", + "value": "PAGE_SMART_AUDIENCE" + }, + { + "name": "MULTICOUNTRY_COMBINATION", + "value": "MULTICOUNTRY_COMBINATION" + }, + { + "name": "PLATFORM_USERS", + "value": "PLATFORM_USERS" + }, + { + "name": "MULTI_EVENT_SOURCE", + "value": "MULTI_EVENT_SOURCE" + }, + { + "name": "SMART_AUDIENCE", + "value": "SMART_AUDIENCE" + }, + { + "name": "LOOKALIKE_PLATFORM", + "value": "LOOKALIKE_PLATFORM" + }, + { + "name": "SIGNAL_SOURCE", + "value": "SIGNAL_SOURCE" + }, + { + "name": "MAIL_CHIMP_EMAIL_HASHES", + "value": "MAIL_CHIMP_EMAIL_HASHES" + }, + { + "name": "CONSTANT_CONTACTS_EMAIL_HASHES", + "value": "CONSTANT_CONTACTS_EMAIL_HASHES" + }, + { + "name": "COPY_PASTE_EMAIL_HASHES", + "value": "COPY_PASTE_EMAIL_HASHES" + }, + { + "name": "CONTACT_IMPORTER", + "value": "CONTACT_IMPORTER" + }, + { + "name": "DATA_FILE", + "value": "DATA_FILE" + }, + { + "name": "NA", + "value": "NA" + } ], - "defaultOption": { "name": "NA", "value": "NA" } + "defaultOption": { + "name": "NA", + "value": "NA" + } } ] }, diff --git a/src/configurations/destinations/firehose/ui-config.json b/src/configurations/destinations/firehose/ui-config.json index 65f6795de..2448e6908 100644 --- a/src/configurations/destinations/firehose/ui-config.json +++ b/src/configurations/destinations/firehose/ui-config.json @@ -20,7 +20,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": true + }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "^(.{0,100})$", @@ -34,7 +37,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "^(.{0,100})$", @@ -45,7 +51,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "^(.{0,100})$", diff --git a/src/configurations/destinations/freshmarketer/schema.json b/src/configurations/destinations/freshmarketer/schema.json index f6a0ddb70..70de07a4e 100644 --- a/src/configurations/destinations/freshmarketer/schema.json +++ b/src/configurations/destinations/freshmarketer/schema.json @@ -21,7 +21,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "to": { "type": "string", "enum": ["sales_activity", "lifecycle_stage", ""] } + "to": { + "type": "string", + "enum": ["sales_activity", "lifecycle_stage", ""] + } } } }, diff --git a/src/configurations/destinations/freshmarketer/ui-config.json b/src/configurations/destinations/freshmarketer/ui-config.json index 53ecbce99..ec4fd5a54 100644 --- a/src/configurations/destinations/freshmarketer/ui-config.json +++ b/src/configurations/destinations/freshmarketer/ui-config.json @@ -38,8 +38,14 @@ "required": false, "placeholderLeft": "e.g. Sales Activities", "options": [ - { "name": "Sales Activities", "value": "sales_activity" }, - { "name": "Lifecycle Stage", "value": "lifecycle_stage" } + { + "name": "Sales Activities", + "value": "sales_activity" + }, + { + "name": "Lifecycle Stage", + "value": "lifecycle_stage" + } ] } ] diff --git a/src/configurations/destinations/freshsales/schema.json b/src/configurations/destinations/freshsales/schema.json index da481e209..a58ed3a80 100644 --- a/src/configurations/destinations/freshsales/schema.json +++ b/src/configurations/destinations/freshsales/schema.json @@ -21,7 +21,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "to": { "type": "string", "enum": ["sales_activity", "lifecycle_stage", ""] } + "to": { + "type": "string", + "enum": ["sales_activity", "lifecycle_stage", ""] + } } } }, diff --git a/src/configurations/destinations/freshsales/ui-config.json b/src/configurations/destinations/freshsales/ui-config.json index ed7ed5048..3aa329eec 100644 --- a/src/configurations/destinations/freshsales/ui-config.json +++ b/src/configurations/destinations/freshsales/ui-config.json @@ -38,8 +38,14 @@ "required": false, "placeholderLeft": "e.g. Sales Activities", "options": [ - { "name": "Sales Activities", "value": "sales_activity" }, - { "name": "Lifecycle Stage", "value": "lifecycle_stage" } + { + "name": "Sales Activities", + "value": "sales_activity" + }, + { + "name": "Lifecycle Stage", + "value": "lifecycle_stage" + } ] } ] diff --git a/src/configurations/destinations/fullstory/db-config.json b/src/configurations/destinations/fullstory/db-config.json index 7ae9dad0f..5b13f9996 100644 --- a/src/configurations/destinations/fullstory/db-config.json +++ b/src/configurations/destinations/fullstory/db-config.json @@ -62,5 +62,7 @@ }, "secretKeys": ["apiKey"] }, - "options": { "isBeta": true } + "options": { + "isBeta": true + } } diff --git a/src/configurations/destinations/fullstory/schema.json b/src/configurations/destinations/fullstory/schema.json index 47de3751d..a5a26b82a 100644 --- a/src/configurations/destinations/fullstory/schema.json +++ b/src/configurations/destinations/fullstory/schema.json @@ -54,21 +54,43 @@ } } }, - "fs_debug_mode": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "fs_debug_mode": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "useNativeSDK": { "type": "object", "properties": { - "web": { "type": "boolean" }, - "android": { "type": "boolean" }, - "ios": { "type": "boolean" } + "web": { + "type": "boolean" + }, + "android": { + "type": "boolean" + }, + "ios": { + "type": "boolean" + } } }, "connectionMode": { "type": "object", "properties": { - "web": { "type": "string", "enum": ["cloud", "device"] }, - "android": { "type": "string", "enum": ["cloud", "device"] }, - "ios": { "type": "string", "enum": ["cloud", "device"] } + "web": { + "type": "string", + "enum": ["cloud", "device"] + }, + "android": { + "type": "string", + "enum": ["cloud", "device"] + }, + "ios": { + "type": "string", + "enum": ["cloud", "device"] + } } } }, @@ -81,7 +103,10 @@ "connectionMode": { "type": "object", "properties": { - "web": { "type": "string", "enum": ["cloud"] } + "web": { + "type": "string", + "enum": ["cloud"] + } }, "required": ["web"] } @@ -92,7 +117,10 @@ "connectionMode": { "type": "object", "properties": { - "android": { "type": "string", "enum": ["cloud"] } + "android": { + "type": "string", + "enum": ["cloud"] + } }, "required": ["android"] } @@ -103,7 +131,10 @@ "connectionMode": { "type": "object", "properties": { - "ios": { "type": "string", "enum": ["cloud"] } + "ios": { + "type": "string", + "enum": ["cloud"] + } }, "required": ["ios"] } @@ -127,7 +158,10 @@ "connectionMode": { "type": "object", "properties": { - "web": { "type": "string", "enum": ["device"] } + "web": { + "type": "string", + "enum": ["device"] + } }, "required": ["web"] } diff --git a/src/configurations/destinations/ga/db-config.json b/src/configurations/destinations/ga/db-config.json index 5f464802c..2b871bd7a 100644 --- a/src/configurations/destinations/ga/db-config.json +++ b/src/configurations/destinations/ga/db-config.json @@ -57,7 +57,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track"], - "device": { "web": ["track", "page"] } + "device": { + "web": ["track", "page"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/ga/schema.json b/src/configurations/destinations/ga/schema.json index 0a03627f5..a5ebfd333 100644 --- a/src/configurations/destinations/ga/schema.json +++ b/src/configurations/destinations/ga/schema.json @@ -8,7 +8,14 @@ "type": "string", "pattern": "(^env[.].+)|(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^(UA|YT|MO)-\\d+-\\d{0,100}$)" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -38,12 +45,42 @@ } } }, - "doubleClick": { "type": "boolean", "default": false }, - "enhancedLinkAttribution": { "type": "boolean", "default": false }, - "includeSearch": { "type": "boolean", "default": false }, - "trackCategorizedPages": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "trackNamedPages": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "useRichEventNames": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "doubleClick": { + "type": "boolean", + "default": false + }, + "enhancedLinkAttribution": { + "type": "boolean", + "default": false + }, + "includeSearch": { + "type": "boolean", + "default": false + }, + "trackCategorizedPages": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "trackNamedPages": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "useRichEventNames": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "sampleRate": { "type": "object", "properties": { @@ -111,7 +148,14 @@ } } }, - "setAllMappedProps": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "setAllMappedProps": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "contentGroupings": { "type": "array", "items": { @@ -128,7 +172,10 @@ } } }, - "enableServerSideIdentify": { "type": "boolean", "default": false }, + "enableServerSideIdentify": { + "type": "boolean", + "default": false + }, "serverSideIdentifyEventCategory": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(^(.{0,100})$)" @@ -137,9 +184,22 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(^(.{0,100})$)" }, - "namedTracker": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "disableMd5": { "type": "boolean", "default": false }, - "anonymizeIp": { "type": "boolean", "default": false }, + "namedTracker": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "disableMd5": { + "type": "boolean", + "default": false + }, + "anonymizeIp": { + "type": "boolean", + "default": false + }, "domain": { "type": "object", "properties": { @@ -149,8 +209,14 @@ } } }, - "enhancedEcommerce": { "type": "boolean", "default": false }, - "nonInteraction": { "type": "boolean", "default": false }, + "enhancedEcommerce": { + "type": "boolean", + "default": false + }, + "nonInteraction": { + "type": "boolean", + "default": false + }, "optimize": { "type": "object", "properties": { @@ -160,8 +226,18 @@ } } }, - "sendUserId": { "type": "boolean", "default": false }, - "useGoogleAmpClientId": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "sendUserId": { + "type": "boolean", + "default": false + }, + "useGoogleAmpClientId": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "customMappings": { "type": "array", "items": { @@ -194,7 +270,12 @@ "type": "array", "items": { "type": "object", - "properties": { "purpose": { "type": "string", "pattern": "^(.{0,100})$" } } + "properties": { + "purpose": { + "type": "string", + "pattern": "^(.{0,100})$" + } + } } } } diff --git a/src/configurations/destinations/gcs/schema.json b/src/configurations/destinations/gcs/schema.json index 68c71a20b..1c7642a05 100644 --- a/src/configurations/destinations/gcs/schema.json +++ b/src/configurations/destinations/gcs/schema.json @@ -12,7 +12,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "credentials": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "credentials": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/gcs_datalake/schema.json b/src/configurations/destinations/gcs_datalake/schema.json index 21ced5ba4..13108005b 100644 --- a/src/configurations/destinations/gcs_datalake/schema.json +++ b/src/configurations/destinations/gcs_datalake/schema.json @@ -16,7 +16,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, - "tableSuffix": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "tableSuffix": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, "timeWindowLayout": { "type": "string", "enum": [ @@ -29,13 +32,18 @@ ], "default": "2006/01/02/15" }, - "credentials": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "credentials": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, "syncFrequency": { "type": "string", "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/gcs_datalake/ui-config.json b/src/configurations/destinations/gcs_datalake/ui-config.json index 071fa9f34..543412474 100644 --- a/src/configurations/destinations/gcs_datalake/ui-config.json +++ b/src/configurations/destinations/gcs_datalake/ui-config.json @@ -50,10 +50,22 @@ "label": "Choose time window layout", "value": "timeWindowLayout", "options": [ - { "name": "Default (YYYY/MM/DD/HH)", "value": "2006/01/02/15" }, - { "name": "Upto Date (dt=YYYY-MM-DD)", "value": "dt=2006-01-02" }, - { "name": "Upto Year (year=YYYY)", "value": "year=2006" }, - { "name": "Upto Month (year=YYYY/month=MM)", "value": "year=2006/month=01" }, + { + "name": "Default (YYYY/MM/DD/HH)", + "value": "2006/01/02/15" + }, + { + "name": "Upto Date (dt=YYYY-MM-DD)", + "value": "dt=2006-01-02" + }, + { + "name": "Upto Year (year=YYYY)", + "value": "year=2006" + }, + { + "name": "Upto Month (year=YYYY/month=MM)", + "value": "year=2006/month=01" + }, { "name": "Upto Day (year=YYYY/month=MM/day=DD)", "value": "year=2006/month=01/day=02" @@ -63,7 +75,10 @@ "value": "year=2006/month=01/day=02/hour=15" } ], - "defaultOption": { "name": "Default (YYYY/MM/DD/HH)", "value": "2006/01/02/15" }, + "defaultOption": { + "name": "Default (YYYY/MM/DD/HH)", + "value": "2006/01/02/15" + }, "required": false }, { @@ -80,21 +95,45 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { "name": "Every 30 minutes", "value": "30" }, - { "name": "Every 1 hour", "value": "60" }, - { "name": "Every 3 hours", "value": "180" }, - { "name": "Every 6 hours", "value": "360" }, - { "name": "Every 12 hours", "value": "720" }, - { "name": "Every 24 hours", "value": "1440" } + { + "name": "Every 30 minutes", + "value": "30" + }, + { + "name": "Every 1 hour", + "value": "60" + }, + { + "name": "Every 3 hours", + "value": "180" + }, + { + "name": "Every 6 hours", + "value": "360" + }, + { + "name": "Every 12 hours", + "value": "720" + }, + { + "name": "Every 24 hours", + "value": "1440" + } ], - "defaultOption": { "name": "Every 30 minutes", "value": "30" }, + "defaultOption": { + "name": "Every 30 minutes", + "value": "30" + }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { "omitSeconds": true, "minuteStep": 15 }, + "options": { + "omitSeconds": true, + "minuteStep": 15 + }, "required": false, "footerNote": "Note: Please specify time in UTC" } diff --git a/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json b/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json index 56fe584ec..30e4ffd28 100644 --- a/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json +++ b/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json @@ -12,7 +12,9 @@ "saveDestinationResponse": true, "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], - "supportedMessageTypes": { "cloud": ["track"] }, + "supportedMessageTypes": { + "cloud": ["track"] + }, "supportedSourceTypes": [ "android", "ios", diff --git a/src/configurations/destinations/google_adwords_offline_conversions/schema.json b/src/configurations/destinations/google_adwords_offline_conversions/schema.json index 77cbc8a12..4a2282611 100644 --- a/src/configurations/destinations/google_adwords_offline_conversions/schema.json +++ b/src/configurations/destinations/google_adwords_offline_conversions/schema.json @@ -8,7 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "subAccount": { "type": "boolean", "default": false }, + "subAccount": { + "type": "boolean", + "default": false + }, "eventsToOfflineConversionsTypeMapping": { "type": "array", "items": { @@ -18,7 +21,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "to": { "type": "string", "enum": ["click", "call", "store", ""] } + "to": { + "type": "string", + "enum": ["click", "call", "store", ""] + } } } }, @@ -64,9 +70,19 @@ "enum": ["none", "UNSPECIFIED", "UNKNOWN", "APP", "WEB"], "default": "none" }, - "defaultUserIdentifier": { "type": "string", "enum": ["email", "phone"], "default": "email" }, - "hashUserIdentifier": { "type": "boolean", "default": true }, - "validateOnly": { "type": "boolean", "default": false }, + "defaultUserIdentifier": { + "type": "string", + "enum": ["email", "phone"], + "default": "email" + }, + "hashUserIdentifier": { + "type": "boolean", + "default": true + }, + "validateOnly": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -82,7 +98,14 @@ }, "anyOf": [ { - "if": { "properties": { "subAccount": { "const": true } }, "required": ["subAccount"] }, + "if": { + "properties": { + "subAccount": { + "const": true + } + }, + "required": ["subAccount"] + }, "then": { "properties": { "loginCustomerId": { diff --git a/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json b/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json index e6bce9479..d45be0ffb 100644 --- a/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json +++ b/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json @@ -22,7 +22,12 @@ { "type": "textInput", "label": "Login Customer ID", - "preRequisiteField": [{ "name": "subAccount", "selectedValue": true }], + "preRequisiteField": [ + { + "name": "subAccount", + "selectedValue": true + } + ], "value": "loginCustomerId", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$", "required": true, @@ -87,13 +92,31 @@ "required": false, "footerNote": "Source of the user identifier", "options": [ - { "name": "None", "value": "none" }, - { "name": "UNSPECIFIED", "value": "UNSPECIFIED" }, - { "name": "UNKNOWN", "value": "UNKNOWN" }, - { "name": "FIRST_PARTY", "value": "FIRST_PARTY" }, - { "name": "THIRD_PARTY", "value": "THIRD_PARTY" } + { + "name": "None", + "value": "none" + }, + { + "name": "UNSPECIFIED", + "value": "UNSPECIFIED" + }, + { + "name": "UNKNOWN", + "value": "UNKNOWN" + }, + { + "name": "FIRST_PARTY", + "value": "FIRST_PARTY" + }, + { + "name": "THIRD_PARTY", + "value": "THIRD_PARTY" + } ], - "defaultOption": { "name": "None", "value": "none" } + "defaultOption": { + "name": "None", + "value": "none" + } }, { "type": "singleSelect", @@ -102,13 +125,31 @@ "required": false, "footerNote": "The environment this conversion was recorded on. e.g. App or Web.", "options": [ - { "name": "None", "value": "none" }, - { "name": "UNSPECIFIED", "value": "UNSPECIFIED" }, - { "name": "UNKNOWN", "value": "UNKNOWN" }, - { "name": "APP", "value": "APP" }, - { "name": "WEB", "value": "WEB" } + { + "name": "None", + "value": "none" + }, + { + "name": "UNSPECIFIED", + "value": "UNSPECIFIED" + }, + { + "name": "UNKNOWN", + "value": "UNKNOWN" + }, + { + "name": "APP", + "value": "APP" + }, + { + "name": "WEB", + "value": "WEB" + } ], - "defaultOption": { "name": "None", "value": "none" } + "defaultOption": { + "name": "None", + "value": "none" + } }, { "type": "singleSelect", @@ -124,7 +165,10 @@ "value": "phone" } ], - "defaultOption": { "name": "Email", "value": "email" } + "defaultOption": { + "name": "Email", + "value": "email" + } }, { "type": "checkbox", diff --git a/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json b/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json index 631f39da3..ea74932e3 100644 --- a/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json +++ b/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json @@ -31,7 +31,12 @@ { "type": "textInput", "label": "Login Customer ID", - "preRequisiteField": [{ "name": "subAccount", "selectedValue": true }], + "preRequisiteField": [ + { + "name": "subAccount", + "selectedValue": true + } + ], "value": "loginCustomerId", "regex": "^(.{0,100})$", "required": true, @@ -48,11 +53,22 @@ "value": "typeOfList", "mode": "single", "options": [ - { "name": "General", "value": "General" }, - { "name": "User ID", "value": "userID" }, - { "name": "Mobile Device ID", "value": "mobileDeviceID" } + { + "name": "General", + "value": "General" + }, + { + "name": "User ID", + "value": "userID" + }, + { + "name": "Mobile Device ID", + "value": "mobileDeviceID" + } ], - "defaultOption": { "value": "General" } + "defaultOption": { + "value": "General" + } }, { "type": "checkbox", @@ -63,15 +79,32 @@ { "type": "singleSelect", "label": "Schema Fields", - "preRequisiteField": [{ "name": "typeOfList", "selectedValue": "General" }], + "preRequisiteField": [ + { + "name": "typeOfList", + "selectedValue": "General" + } + ], "value": "userSchema", "mode": "multiple", "options": [ - { "name": "Email", "value": "email" }, - { "name": "Phone Number", "value": "phone" }, - { "name": "Address Info", "value": "addressInfo" } + { + "name": "Email", + "value": "email" + }, + { + "name": "Phone Number", + "value": "phone" + }, + { + "name": "Address Info", + "value": "addressInfo" + } ], - "defaultOption": { "name": "Email", "value": ["email"] } + "defaultOption": { + "name": "Email", + "value": ["email"] + } } ] }, diff --git a/src/configurations/destinations/google_cloud_function/schema.json b/src/configurations/destinations/google_cloud_function/schema.json index 7a0bcf954..06af6d5cf 100644 --- a/src/configurations/destinations/google_cloud_function/schema.json +++ b/src/configurations/destinations/google_cloud_function/schema.json @@ -8,8 +8,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$" }, - "requireAuthentication": { "type": "boolean", "default": true }, - "enableBatchInput": { "type": "boolean", "default": false }, + "requireAuthentication": { + "type": "boolean", + "default": true + }, + "enableBatchInput": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -26,7 +32,11 @@ "allOf": [ { "if": { - "properties": { "requireAuthentication": { "const": true } }, + "properties": { + "requireAuthentication": { + "const": true + } + }, "required": ["requireAuthentication"] }, "then": { @@ -41,7 +51,11 @@ }, { "if": { - "properties": { "enableBatchInput": { "const": true } }, + "properties": { + "enableBatchInput": { + "const": true + } + }, "required": ["enableBatchInput"] }, "then": { diff --git a/src/configurations/destinations/google_cloud_function/ui-config.json b/src/configurations/destinations/google_cloud_function/ui-config.json index 737d3cdfc..9c4506f69 100644 --- a/src/configurations/destinations/google_cloud_function/ui-config.json +++ b/src/configurations/destinations/google_cloud_function/ui-config.json @@ -20,7 +20,12 @@ }, { "type": "textareaInput", - "preRequisiteField": [{ "name": "requireAuthentication", "selectedValue": true }], + "preRequisiteField": [ + { + "name": "requireAuthentication", + "selectedValue": true + } + ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in authenticating your Google Cloud Function", "value": "credentials", @@ -42,7 +47,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "enableBatchInput", "selectedValue": true }, + "preRequisiteField": { + "name": "enableBatchInput", + "selectedValue": true + }, "label": "Max Batch Size", "value": "maxBatchSize", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[1-9]\\d*$", diff --git a/src/configurations/destinations/googleads/schema.json b/src/configurations/destinations/googleads/schema.json index dda5cdb0e..6b457c3a6 100644 --- a/src/configurations/destinations/googleads/schema.json +++ b/src/configurations/destinations/googleads/schema.json @@ -35,9 +35,22 @@ } } }, - "trackConversions": { "type": "boolean", "default": true }, - "trackDynamicRemarketing": { "type": "boolean", "default": false }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "trackConversions": { + "type": "boolean", + "default": true + }, + "trackDynamicRemarketing": { + "type": "boolean", + "default": false + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -103,11 +116,26 @@ } } }, - "sendPageView": { "type": "boolean", "default": true }, - "conversionLinker": { "type": "boolean", "default": true }, - "disableAdPersonalization": { "type": "boolean", "default": false }, - "enableConversionLabel": { "type": "boolean", "default": false }, - "allowEnhancedConversions": { "type": "boolean", "default": false }, + "sendPageView": { + "type": "boolean", + "default": true + }, + "conversionLinker": { + "type": "boolean", + "default": true + }, + "disableAdPersonalization": { + "type": "boolean", + "default": false + }, + "enableConversionLabel": { + "type": "boolean", + "default": false + }, + "allowEnhancedConversions": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -124,12 +152,19 @@ "allOf": [ { "if": { - "properties": { "trackConversions": { "const": true } }, + "properties": { + "trackConversions": { + "const": true + } + }, "required": ["trackConversions"] }, "then": { "properties": { - "enableConversionEventsFiltering": { "type": "boolean", "default": false } + "enableConversionEventsFiltering": { + "type": "boolean", + "default": false + } }, "required": [] } @@ -137,8 +172,12 @@ { "if": { "properties": { - "trackConversions": { "const": true }, - "enableConversionEventsFiltering": { "const": true } + "trackConversions": { + "const": true + }, + "enableConversionEventsFiltering": { + "const": true + } }, "required": ["trackConversions", "enableConversionEventsFiltering"] }, @@ -162,12 +201,19 @@ }, { "if": { - "properties": { "trackDynamicRemarketing": { "const": true } }, + "properties": { + "trackDynamicRemarketing": { + "const": true + } + }, "required": ["trackDynamicRemarketing"] }, "then": { "properties": { - "enableDynamicRemarketingEventsFiltering": { "type": "boolean", "default": false } + "enableDynamicRemarketingEventsFiltering": { + "type": "boolean", + "default": false + } }, "required": [] } @@ -175,8 +221,12 @@ { "if": { "properties": { - "trackDynamicRemarketing": { "const": true }, - "enableDynamicRemarketingEventsFiltering": { "const": true } + "trackDynamicRemarketing": { + "const": true + }, + "enableDynamicRemarketingEventsFiltering": { + "const": true + } }, "required": ["trackDynamicRemarketing", "enableDynamicRemarketingEventsFiltering"] }, diff --git a/src/configurations/destinations/googlepubsub/schema.json b/src/configurations/destinations/googlepubsub/schema.json index d1c572dd6..621a96724 100644 --- a/src/configurations/destinations/googlepubsub/schema.json +++ b/src/configurations/destinations/googlepubsub/schema.json @@ -8,7 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "credentials": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.+" }, + "credentials": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.+" + }, "eventToTopicMap": { "type": "array", "items": { diff --git a/src/configurations/destinations/gtm/schema.json b/src/configurations/destinations/gtm/schema.json index d27415161..b368b587c 100644 --- a/src/configurations/destinations/gtm/schema.json +++ b/src/configurations/destinations/gtm/schema.json @@ -12,7 +12,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]*|^$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/heap/db-config.json b/src/configurations/destinations/heap/db-config.json index f4480071c..de2449b24 100644 --- a/src/configurations/destinations/heap/db-config.json +++ b/src/configurations/destinations/heap/db-config.json @@ -29,7 +29,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track"], - "device": { "web": ["identify", "track"] } + "device": { + "web": ["identify", "track"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/heap/schema.json b/src/configurations/destinations/heap/schema.json index dfe3aca06..9cffa0798 100644 --- a/src/configurations/destinations/heap/schema.json +++ b/src/configurations/destinations/heap/schema.json @@ -8,7 +8,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/hotjar/schema.json b/src/configurations/destinations/hotjar/schema.json index e88b23c8e..b08b921e4 100644 --- a/src/configurations/destinations/hotjar/schema.json +++ b/src/configurations/destinations/hotjar/schema.json @@ -8,7 +8,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/hs/schema.json b/src/configurations/destinations/hs/schema.json index 5953a44bc..4b9b61386 100644 --- a/src/configurations/destinations/hs/schema.json +++ b/src/configurations/destinations/hs/schema.json @@ -13,8 +13,19 @@ "enum": ["legacyApiKey", "newPrivateAppApi"], "default": "legacyApiKey" }, - "apiVersion": { "type": "string", "enum": ["legacyApi", "newApi"], "default": "legacyApi" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "apiVersion": { + "type": "string", + "enum": ["legacyApi", "newApi"], + "default": "legacyApi" + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -60,7 +71,11 @@ "allOf": [ { "if": { - "properties": { "authorizationType": { "const": "legacyApiKey" } }, + "properties": { + "authorizationType": { + "const": "legacyApiKey" + } + }, "required": ["authorizationType"] }, "then": { @@ -75,7 +90,11 @@ }, { "if": { - "properties": { "authorizationType": { "const": "newPrivateAppApi" } }, + "properties": { + "authorizationType": { + "const": "newPrivateAppApi" + } + }, "required": ["authorizationType"] }, "then": { @@ -89,14 +108,24 @@ } }, { - "if": { "properties": { "apiVersion": { "const": "newApi" } }, "required": ["apiVersion"] }, + "if": { + "properties": { + "apiVersion": { + "const": "newApi" + } + }, + "required": ["apiVersion"] + }, "then": { "properties": { "lookupField": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "doAssociation": { "type": "boolean", "default": false }, + "doAssociation": { + "type": "boolean", + "default": false + }, "hubspotEvents": { "type": "array", "items": { diff --git a/src/configurations/destinations/impact/schema.json b/src/configurations/destinations/impact/schema.json index 4b222b0a0..1f8cc301c 100644 --- a/src/configurations/destinations/impact/schema.json +++ b/src/configurations/destinations/impact/schema.json @@ -24,7 +24,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$|^$" }, - "enableEmailHashing": { "type": "boolean", "default": false }, + "enableEmailHashing": { + "type": "boolean", + "default": false + }, "rudderToImpactProperty": { "type": "array", "items": { @@ -57,9 +60,18 @@ } } }, - "enableIdentifyEvents": { "type": "boolean", "default": false }, - "enablePageEvents": { "type": "boolean", "default": false }, - "enableScreenEvents": { "type": "boolean", "default": false }, + "enableIdentifyEvents": { + "type": "boolean", + "default": false + }, + "enablePageEvents": { + "type": "boolean", + "default": false + }, + "enableScreenEvents": { + "type": "boolean", + "default": false + }, "actionEventNames": { "type": "array", "items": { diff --git a/src/configurations/destinations/intercom/schema.json b/src/configurations/destinations/intercom/schema.json index 44f33c8ec..5684fe8dd 100644 --- a/src/configurations/destinations/intercom/schema.json +++ b/src/configurations/destinations/intercom/schema.json @@ -33,14 +33,29 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { "type": "boolean" }, - "ios": { "type": "boolean" }, - "web": { "type": "boolean" } + "android": { + "type": "boolean" + }, + "ios": { + "type": "boolean" + }, + "web": { + "type": "boolean" + } } }, - "collectContext": { "type": "boolean", "default": false }, - "sendAnonymousId": { "type": "boolean", "default": false }, - "updateLastRequestAt": { "type": "boolean", "default": true }, + "collectContext": { + "type": "boolean", + "default": false + }, + "sendAnonymousId": { + "type": "boolean", + "default": false + }, + "updateLastRequestAt": { + "type": "boolean", + "default": true + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/june/schema.json b/src/configurations/destinations/june/schema.json index 0cd0d89e0..67f06f7e2 100644 --- a/src/configurations/destinations/june/schema.json +++ b/src/configurations/destinations/june/schema.json @@ -8,7 +8,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/kafka/ui-config.json b/src/configurations/destinations/kafka/ui-config.json index 3138e5546..7d5d5abd8 100644 --- a/src/configurations/destinations/kafka/ui-config.json +++ b/src/configurations/destinations/kafka/ui-config.json @@ -39,7 +39,10 @@ }, { "type": "textareaInput", - "preRequisiteField": { "name": "sslEnabled", "selectedValue": true }, + "preRequisiteField": { + "name": "sslEnabled", + "selectedValue": true + }, "label": "CA certificate", "value": "caCertificate", "regex": ".*", @@ -59,20 +62,38 @@ }, { "type": "singleSelect", - "preRequisiteField": { "name": "useSASL", "selectedValue": true }, + "preRequisiteField": { + "name": "useSASL", + "selectedValue": true + }, "label": "SASL Type", "value": "saslType", "options": [ - { "name": "Plain", "value": "plain" }, - { "name": "SCRAM SHA-512", "value": "sha512" }, - { "name": "SCRAM SHA-256", "value": "sha256" } + { + "name": "Plain", + "value": "plain" + }, + { + "name": "SCRAM SHA-512", + "value": "sha512" + }, + { + "name": "SCRAM SHA-256", + "value": "sha256" + } ], - "defaultOption": { "name": "Plain", "value": "plain" }, + "defaultOption": { + "name": "Plain", + "value": "plain" + }, "required": true }, { "type": "textInput", - "preRequisiteField": { "name": "useSASL", "selectedValue": true }, + "preRequisiteField": { + "name": "useSASL", + "selectedValue": true + }, "label": "Username", "value": "username", "regex": "^[a-zA-Z0-9_-]{1,32}$", @@ -82,7 +103,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "useSASL", "selectedValue": true }, + "preRequisiteField": { + "name": "useSASL", + "selectedValue": true + }, "label": "Password", "value": "password", "regex": "^(.{0,100})$", @@ -104,7 +128,10 @@ "footerNote": "If this option is turned on we will convert the data to avro" }, { - "preRequisiteField": { "name": "convertToAvro", "selectedValue": true }, + "preRequisiteField": { + "name": "convertToAvro", + "selectedValue": true + }, "label": "AVRO Schema Lists", "value": "avroSchemas", "required": true, @@ -127,7 +154,10 @@ ] }, { - "preRequisiteField": { "name": "convertToAvro", "selectedValue": true }, + "preRequisiteField": { + "name": "convertToAvro", + "selectedValue": true + }, "type": "checkbox", "label": "Embed Schema ID in Event Data", "value": "embedAvroSchemaID", @@ -147,7 +177,10 @@ "footerNote": "Enable this option to deliver events to multiple topics" }, { - "preRequisiteField": { "name": "enableMultiTopic", "selectedValue": true }, + "preRequisiteField": { + "name": "enableMultiTopic", + "selectedValue": true + }, "type": "dynamicSelectForm", "label": "Map event type to topic", "labelLeft": "Event Type", @@ -159,15 +192,33 @@ "required": true, "placeholderRight": "e.g. Sample-topic", "options": [ - { "name": "Identify", "value": "identify" }, - { "name": "Page", "value": "page" }, - { "name": "Screen", "value": "screen" }, - { "name": "Group", "value": "group" }, - { "name": "Alias", "value": "alias" } + { + "name": "Identify", + "value": "identify" + }, + { + "name": "Page", + "value": "page" + }, + { + "name": "Screen", + "value": "screen" + }, + { + "name": "Group", + "value": "group" + }, + { + "name": "Alias", + "value": "alias" + } ] }, { - "preRequisiteField": { "name": "enableMultiTopic", "selectedValue": true }, + "preRequisiteField": { + "name": "enableMultiTopic", + "selectedValue": true + }, "type": "dynamicForm", "label": "Map Track events to topic", "required": true, diff --git a/src/configurations/destinations/kinesis/schema.json b/src/configurations/destinations/kinesis/schema.json index 8956d589b..1ad29517b 100644 --- a/src/configurations/destinations/kinesis/schema.json +++ b/src/configurations/destinations/kinesis/schema.json @@ -12,8 +12,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "roleBasedAuth": { "type": "boolean", "default": true }, - "useMessageId": { "type": "boolean", "default": false }, + "roleBasedAuth": { + "type": "boolean", + "default": true + }, + "useMessageId": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -30,7 +36,11 @@ "allOf": [ { "if": { - "properties": { "roleBasedAuth": { "const": true } }, + "properties": { + "roleBasedAuth": { + "const": true + } + }, "required": ["roleBasedAuth"] }, "then": { @@ -39,14 +49,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": true } + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } }, { "if": { - "properties": { "roleBasedAuth": { "const": false } }, + "properties": { + "roleBasedAuth": { + "const": false + } + }, "required": ["roleBasedAuth"] }, "then": { @@ -59,7 +75,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": false } + "roleBasedAuth": { + "const": false + } }, "required": ["accessKeyID", "accessKey"] } diff --git a/src/configurations/destinations/kinesis/ui-config.json b/src/configurations/destinations/kinesis/ui-config.json index 9f4292475..9a2a11ff0 100644 --- a/src/configurations/destinations/kinesis/ui-config.json +++ b/src/configurations/destinations/kinesis/ui-config.json @@ -29,7 +29,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": true + }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -43,7 +46,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -54,7 +60,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", diff --git a/src/configurations/destinations/klaviyo/db-config.json b/src/configurations/destinations/klaviyo/db-config.json index e35723df4..46f651731 100644 --- a/src/configurations/destinations/klaviyo/db-config.json +++ b/src/configurations/destinations/klaviyo/db-config.json @@ -43,7 +43,9 @@ }, "supportedMessageTypes": { "cloud": ["group", "identify", "screen", "track"], - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/klaviyo/schema.json b/src/configurations/destinations/klaviyo/schema.json index 8aecd4ad8..9d248b845 100644 --- a/src/configurations/destinations/klaviyo/schema.json +++ b/src/configurations/destinations/klaviyo/schema.json @@ -16,7 +16,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "flattenProperties": { "type": "boolean", "default": false }, + "flattenProperties": { + "type": "boolean", + "default": false + }, "consent": { "type": "array", "items": { @@ -25,7 +28,10 @@ }, "default": ["email"] }, - "enforceEmailAsPrimary": { "type": "boolean", "default": false }, + "enforceEmailAsPrimary": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -67,12 +73,38 @@ } } }, - "sendPageAsTrack": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "additionalPageInfo": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "sendPageAsTrack": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "additionalPageInfo": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "connectionMode": { "type": "object", - "properties": { "web": { "type": "string", "enum": ["cloud", "device"] } } + "properties": { + "web": { + "type": "string", + "enum": ["cloud", "device"] + } + } } } } diff --git a/src/configurations/destinations/lambda/schema.json b/src/configurations/destinations/lambda/schema.json index 7484a589a..b809bdedc 100644 --- a/src/configurations/destinations/lambda/schema.json +++ b/src/configurations/destinations/lambda/schema.json @@ -8,10 +8,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "type": "boolean", "default": true }, - "lambda": { "type": "string" }, - "enableBatchInput": { "type": "boolean", "default": false }, - "clientContext": { "type": "string" }, + "roleBasedAuth": { + "type": "boolean", + "default": true + }, + "lambda": { + "type": "string" + }, + "enableBatchInput": { + "type": "boolean", + "default": false + }, + "clientContext": { + "type": "string" + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -28,7 +38,11 @@ "allOf": [ { "if": { - "properties": { "roleBasedAuth": { "const": true } }, + "properties": { + "roleBasedAuth": { + "const": true + } + }, "required": ["roleBasedAuth"] }, "then": { @@ -37,14 +51,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": true } + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } }, { "if": { - "properties": { "roleBasedAuth": { "const": false } }, + "properties": { + "roleBasedAuth": { + "const": false + } + }, "required": ["roleBasedAuth"] }, "then": { @@ -57,14 +77,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": false } + "roleBasedAuth": { + "const": false + } }, "required": ["accessKeyId", "accessKey"] } }, { "if": { - "properties": { "enableBatchInput": { "const": true } }, + "properties": { + "enableBatchInput": { + "const": true + } + }, "required": ["enableBatchInput"] }, "then": { diff --git a/src/configurations/destinations/lambda/ui-config.json b/src/configurations/destinations/lambda/ui-config.json index 494e4049d..cb6aafc28 100644 --- a/src/configurations/destinations/lambda/ui-config.json +++ b/src/configurations/destinations/lambda/ui-config.json @@ -20,7 +20,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": true + }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -34,7 +37,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "Access Key Id", "value": "accessKeyId", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -45,7 +51,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "Secret Access Key", "value": "accessKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -74,7 +83,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "enableBatchInput", "selectedValue": true }, + "preRequisiteField": { + "name": "enableBatchInput", + "selectedValue": true + }, "label": "Max Batch Size", "value": "maxBatchSize", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[1-9]\\d*$", diff --git a/src/configurations/destinations/leanplum/schema.json b/src/configurations/destinations/leanplum/schema.json index 3451f9653..8aeedf145 100644 --- a/src/configurations/destinations/leanplum/schema.json +++ b/src/configurations/destinations/leanplum/schema.json @@ -12,7 +12,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "isDevelop": { "type": "boolean", "default": false }, + "isDevelop": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -57,17 +60,32 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { "type": "boolean" }, - "ios": { "type": "boolean" }, - "flutter": { "type": "boolean" } + "android": { + "type": "boolean" + }, + "ios": { + "type": "boolean" + }, + "flutter": { + "type": "boolean" + } } }, "connectionMode": { "type": "object", "properties": { - "android": { "type": "string", "enum": ["cloud", "device", "hybrid"] }, - "ios": { "type": "string", "enum": ["cloud", "device", "hybrid"] }, - "flutter": { "type": "string", "enum": ["cloud", "device", "hybrid"] } + "android": { + "type": "string", + "enum": ["cloud", "device", "hybrid"] + }, + "ios": { + "type": "string", + "enum": ["cloud", "device", "hybrid"] + }, + "flutter": { + "type": "string", + "enum": ["cloud", "device", "hybrid"] + } } } } diff --git a/src/configurations/destinations/lemnisk/schema.json b/src/configurations/destinations/lemnisk/schema.json index a98aca11f..821bc22cc 100644 --- a/src/configurations/destinations/lemnisk/schema.json +++ b/src/configurations/destinations/lemnisk/schema.json @@ -4,7 +4,14 @@ "required": ["cloudMode"], "type": "object", "properties": { - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "sdkWriteKey": { "type": "object", "properties": { @@ -23,7 +30,11 @@ } } }, - "cloudMode": { "type": "string", "enum": ["web", "server", "device"], "default": "web" }, + "cloudMode": { + "type": "string", + "enum": ["web", "server", "device"], + "default": "web" + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -68,7 +79,14 @@ }, "allOf": [ { - "if": { "properties": { "cloudMode": { "const": "web" } }, "required": ["cloudMode"] }, + "if": { + "properties": { + "cloudMode": { + "const": "web" + } + }, + "required": ["cloudMode"] + }, "then": { "properties": { "plWriteKey": { @@ -84,7 +102,14 @@ } }, { - "if": { "properties": { "cloudMode": { "const": "server" } }, "required": ["cloudMode"] }, + "if": { + "properties": { + "cloudMode": { + "const": "server" + } + }, + "required": ["cloudMode"] + }, "then": { "properties": { "passKey": { @@ -95,8 +120,12 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "diapiWriteKey": { "type": "string" }, - "srcId": { "type": "string" }, + "diapiWriteKey": { + "type": "string" + }, + "srcId": { + "type": "string" + }, "diapi": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(https?|ftp)://[^\\s/$.?#].[^\\s]*$" diff --git a/src/configurations/destinations/linkedin_insight_tag/db-config.json b/src/configurations/destinations/linkedin_insight_tag/db-config.json index 262a4e0ee..8e3a60efd 100644 --- a/src/configurations/destinations/linkedin_insight_tag/db-config.json +++ b/src/configurations/destinations/linkedin_insight_tag/db-config.json @@ -18,7 +18,9 @@ "web": ["cloud", "device"] }, "supportedMessageTypes": { - "device": { "web": ["track"] } + "device": { + "web": ["track"] + } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/livechat/db-config.json b/src/configurations/destinations/livechat/db-config.json index 0fcc99cfa..b3a067070 100644 --- a/src/configurations/destinations/livechat/db-config.json +++ b/src/configurations/destinations/livechat/db-config.json @@ -18,7 +18,9 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { "web": ["identify", "track"] } + "device": { + "web": ["identify", "track"] + } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/livechat/schema.json b/src/configurations/destinations/livechat/schema.json index 50d18454d..bb0295400 100644 --- a/src/configurations/destinations/livechat/schema.json +++ b/src/configurations/destinations/livechat/schema.json @@ -8,8 +8,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "recordLiveChatEvents": { "type": "boolean", "default": false }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "recordLiveChatEvents": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -55,7 +65,11 @@ "allOf": [ { "if": { - "properties": { "recordLiveChatEvents": { "const": true } }, + "properties": { + "recordLiveChatEvents": { + "const": true + } + }, "required": ["recordLiveChatEvents"] }, "then": { @@ -85,19 +99,32 @@ }, { "if": { - "properties": { "recordLiveChatEvents": { "const": true } }, + "properties": { + "recordLiveChatEvents": { + "const": true + } + }, "required": ["recordLiveChatEvents"] }, "then": { - "properties": { "updateEventNames": { "type": "boolean", "default": false } }, + "properties": { + "updateEventNames": { + "type": "boolean", + "default": false + } + }, "required": [] } }, { "if": { "properties": { - "recordLiveChatEvents": { "const": true }, - "updateEventNames": { "const": true } + "recordLiveChatEvents": { + "const": true + }, + "updateEventNames": { + "const": true + } }, "required": ["recordLiveChatEvents", "updateEventNames"] }, diff --git a/src/configurations/destinations/lotame/db-config.json b/src/configurations/destinations/lotame/db-config.json index 124b8f0a7..99335c44c 100644 --- a/src/configurations/destinations/lotame/db-config.json +++ b/src/configurations/destinations/lotame/db-config.json @@ -22,7 +22,10 @@ "amp": ["cloud", "device"] }, "supportedMessageTypes": { - "device": { "web": ["identify", "page"], "amp": ["identify", "page"] } + "device": { + "web": ["identify", "page"], + "amp": ["identify", "page"] + } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/lotame_mobile/db-config.json b/src/configurations/destinations/lotame_mobile/db-config.json index f1e45c997..948843311 100644 --- a/src/configurations/destinations/lotame_mobile/db-config.json +++ b/src/configurations/destinations/lotame_mobile/db-config.json @@ -19,7 +19,12 @@ "android": ["device"], "ios": ["device"] }, - "supportedMessageTypes": { "device": { "ios": [], "android": [] } }, + "supportedMessageTypes": { + "device": { + "ios": [], + "android": [] + } + }, "destConfig": { "defaultConfig": [ "bcpUrlSettingsPixel", diff --git a/src/configurations/destinations/lotame_mobile/ui-config.json b/src/configurations/destinations/lotame_mobile/ui-config.json index c2e352091..03a30dd5d 100644 --- a/src/configurations/destinations/lotame_mobile/ui-config.json +++ b/src/configurations/destinations/lotame_mobile/ui-config.json @@ -75,11 +75,23 @@ "value": "eventFilteringOption", "required": false, "options": [ - { "name": "Disable", "value": "disable" }, - { "name": "Allowlist", "value": "whitelistedEvents" }, - { "name": "Denylist", "value": "blacklistedEvents" } + { + "name": "Disable", + "value": "disable" + }, + { + "name": "Allowlist", + "value": "whitelistedEvents" + }, + { + "name": "Denylist", + "value": "blacklistedEvents" + } ], - "defaultOption": { "name": "Disable", "value": "disable" } + "defaultOption": { + "name": "Disable", + "value": "disable" + } }, { "type": "dynamicCustomForm", diff --git a/src/configurations/destinations/lytics/db-config.json b/src/configurations/destinations/lytics/db-config.json index e081ed837..6af91176e 100644 --- a/src/configurations/destinations/lytics/db-config.json +++ b/src/configurations/destinations/lytics/db-config.json @@ -31,7 +31,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track"], - "device": { "web": ["identify", "page", "track"] } + "device": { + "web": ["identify", "page", "track"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/mailchimp/schema.json b/src/configurations/destinations/mailchimp/schema.json index 94bf2e448..69aa9fe06 100644 --- a/src/configurations/destinations/mailchimp/schema.json +++ b/src/configurations/destinations/mailchimp/schema.json @@ -16,7 +16,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "enableMergeFields": { "type": "boolean", "default": false }, + "enableMergeFields": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/marketo_bulk_upload/ui-config.json b/src/configurations/destinations/marketo_bulk_upload/ui-config.json index 1839358dd..9dff48ff1 100644 --- a/src/configurations/destinations/marketo_bulk_upload/ui-config.json +++ b/src/configurations/destinations/marketo_bulk_upload/ui-config.json @@ -48,11 +48,23 @@ "label": "Upload Interval", "value": "uploadInterval", "options": [ - { "name": "Every 10 minutes", "value": "10" }, - { "name": "Every 20 minutes", "value": "20" }, - { "name": "Every 30 minutes", "value": "30" } + { + "name": "Every 10 minutes", + "value": "10" + }, + { + "name": "Every 20 minutes", + "value": "20" + }, + { + "name": "Every 30 minutes", + "value": "30" + } ], - "defaultOption": { "name": "Every 10 minutes", "value": "10" } + "defaultOption": { + "name": "Every 10 minutes", + "value": "10" + } } ] }, diff --git a/src/configurations/destinations/marketo_static_list/db-config.json b/src/configurations/destinations/marketo_static_list/db-config.json index 580973634..6776ab2bf 100644 --- a/src/configurations/destinations/marketo_static_list/db-config.json +++ b/src/configurations/destinations/marketo_static_list/db-config.json @@ -14,7 +14,9 @@ ], "excludeKeys": [], "supportedSourceTypes": ["cloud", "warehouse", "shopify"], - "supportedMessageTypes": { "cloud": ["record", "audiencelist"] }, + "supportedMessageTypes": { + "cloud": ["record", "audiencelist"] + }, "supportedConnectionModes": { "shopify": ["cloud"] }, diff --git a/src/configurations/destinations/mautic/schema.json b/src/configurations/destinations/mautic/schema.json index 4f355394c..4b37278e7 100644 --- a/src/configurations/destinations/mautic/schema.json +++ b/src/configurations/destinations/mautic/schema.json @@ -8,7 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.+" }, + "password": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.+" + }, "domainMethod": { "type": "string", "enum": ["subDomainNameOption", "domainNameOption"], @@ -34,7 +37,11 @@ "allOf": [ { "if": { - "properties": { "domainMethod": { "const": "subDomainNameOption" } }, + "properties": { + "domainMethod": { + "const": "subDomainNameOption" + } + }, "required": ["domainMethod"] }, "then": { @@ -49,7 +56,11 @@ }, { "if": { - "properties": { "domainMethod": { "const": "domainNameOption" } }, + "properties": { + "domainMethod": { + "const": "domainNameOption" + } + }, "required": ["domainMethod"] }, "then": { diff --git a/src/configurations/destinations/mautic/ui-config.json b/src/configurations/destinations/mautic/ui-config.json index 32fd08197..a489909dc 100644 --- a/src/configurations/destinations/mautic/ui-config.json +++ b/src/configurations/destinations/mautic/ui-config.json @@ -27,10 +27,19 @@ "label": "Domain Method", "value": "domainMethod", "options": [ - { "name": "SubDomain", "value": "subDomainNameOption" }, - { "name": "Domain (Preferred for Self Hosted Instance)", "value": "domainNameOption" } + { + "name": "SubDomain", + "value": "subDomainNameOption" + }, + { + "name": "Domain (Preferred for Self Hosted Instance)", + "value": "domainNameOption" + } ], - "defaultOption": { "name": "SubDomain", "value": "subDomainNameOption" }, + "defaultOption": { + "name": "SubDomain", + "value": "subDomainNameOption" + }, "required": true, "footerNote": "Select Domain Input Method" }, @@ -40,7 +49,12 @@ "value": "subDomainName", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$", "required": true, - "preRequisiteField": [{ "name": "domainMethod", "selectedValue": "subDomainNameOption" }], + "preRequisiteField": [ + { + "name": "domainMethod", + "selectedValue": "subDomainNameOption" + } + ], "placeholder": "e.g: testdomain", "footerNote": "Enter the subdomain name of your Mautic instance." }, @@ -50,7 +64,12 @@ "value": "domainName", "required": true, "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(https?|ftp)://[^\\s/$.?#].[^\\s]*[^/]$", - "preRequisiteField": [{ "name": "domainMethod", "selectedValue": "domainNameOption" }], + "preRequisiteField": [ + { + "name": "domainMethod", + "selectedValue": "domainNameOption" + } + ], "placeholder": "e.g: https://test.mautic.app", "footerNote": "Enter the Domain name of your Mautic instance." }, diff --git a/src/configurations/destinations/microsoft_clarity/db-config.json b/src/configurations/destinations/microsoft_clarity/db-config.json index fc6d4d09f..62af47a07 100644 --- a/src/configurations/destinations/microsoft_clarity/db-config.json +++ b/src/configurations/destinations/microsoft_clarity/db-config.json @@ -15,7 +15,9 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { "web": ["identify"] } + "device": { + "web": ["identify"] + } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/microsoft_clarity/schema.json b/src/configurations/destinations/microsoft_clarity/schema.json index a1ee48534..8fa49886a 100644 --- a/src/configurations/destinations/microsoft_clarity/schema.json +++ b/src/configurations/destinations/microsoft_clarity/schema.json @@ -8,8 +8,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "cookieConsent": { "type": "boolean", "default": true }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "cookieConsent": { + "type": "boolean", + "default": true + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/mouseflow/schema.json b/src/configurations/destinations/mouseflow/schema.json index 01737e268..79ba95b64 100644 --- a/src/configurations/destinations/mouseflow/schema.json +++ b/src/configurations/destinations/mouseflow/schema.json @@ -8,7 +8,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/mssql/schema.json b/src/configurations/destinations/mssql/schema.json index 18eed41c7..448e97a31 100644 --- a/src/configurations/destinations/mssql/schema.json +++ b/src/configurations/destinations/mssql/schema.json @@ -16,7 +16,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "password": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, "port": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" @@ -25,22 +28,35 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, - "sslMode": { "type": "string", "enum": ["disable", "true", "false"], "default": "disable" }, + "sslMode": { + "type": "string", + "enum": ["disable", "true", "false"], + "default": "disable" + }, "syncFrequency": { "type": "string", "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "excludeWindow": { "type": "object", "properties": { - "excludeWindowStartTime": { "type": "string" }, - "excludeWindowEndTime": { "type": "string" } + "excludeWindowStartTime": { + "type": "string" + }, + "excludeWindowEndTime": { + "type": "string" + } }, "required": ["excludeWindowStartTime", "excludeWindowEndTime"] }, - "useRudderStorage": { "type": "boolean", "default": false }, + "useRudderStorage": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -57,7 +73,11 @@ "allOf": [ { "if": { - "properties": { "useRudderStorage": { "const": false } }, + "properties": { + "useRudderStorage": { + "const": false + } + }, "required": ["useRudderStorage"] }, "then": { @@ -74,8 +94,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "S3" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "S3" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -85,7 +109,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "roleBasedAuth": { "type": "boolean", "default": true } + "roleBasedAuth": { + "type": "boolean", + "default": true + } }, "required": ["bucketName"], "anyOf": [ @@ -99,7 +126,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": false } + "roleBasedAuth": { + "const": false + } }, "required": ["accessKeyID", "accessKey"] }, @@ -109,7 +138,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": true } + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -119,8 +150,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "GCS" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "GCS" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -141,8 +176,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "AZURE_BLOB" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "AZURE_BLOB" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -156,7 +195,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { "type": "boolean", "default": false } + "useSASTokens": { + "type": "boolean", + "default": false + } }, "required": ["containerName", "accountName"], "anyOf": [ @@ -166,7 +208,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { "const": false } + "useSASTokens": { + "const": false + } }, "required": ["accountKey"] }, @@ -176,7 +220,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.+)$" }, - "useSASTokens": { "const": true } + "useSASTokens": { + "const": true + } }, "required": ["sasToken", "useSASTokens"] } @@ -186,8 +232,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "MINIO" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "MINIO" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -209,7 +259,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSSL": { "type": "boolean", "default": true } + "useSSL": { + "type": "boolean", + "default": true + } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey"] } diff --git a/src/configurations/destinations/mssql/ui-config.json b/src/configurations/destinations/mssql/ui-config.json index c22ef94b0..6e265980a 100644 --- a/src/configurations/destinations/mssql/ui-config.json +++ b/src/configurations/destinations/mssql/ui-config.json @@ -63,11 +63,23 @@ "label": "SSL Mode", "value": "sslMode", "options": [ - { "name": "disable", "value": "disable" }, - { "name": "true", "value": "true" }, - { "name": "false", "value": "false" } + { + "name": "disable", + "value": "disable" + }, + { + "name": "true", + "value": "true" + }, + { + "name": "false", + "value": "false" + } ], - "defaultOption": { "name": "disable", "value": "disable" }, + "defaultOption": { + "name": "disable", + "value": "disable" + }, "required": true }, { @@ -75,21 +87,45 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { "name": "Every 30 minutes", "value": "30" }, - { "name": "Every 1 hour", "value": "60" }, - { "name": "Every 3 hours", "value": "180" }, - { "name": "Every 6 hours", "value": "360" }, - { "name": "Every 12 hours", "value": "720" }, - { "name": "Every 24 hours", "value": "1440" } + { + "name": "Every 30 minutes", + "value": "30" + }, + { + "name": "Every 1 hour", + "value": "60" + }, + { + "name": "Every 3 hours", + "value": "180" + }, + { + "name": "Every 6 hours", + "value": "360" + }, + { + "name": "Every 12 hours", + "value": "720" + }, + { + "name": "Every 24 hours", + "value": "1440" + } ], - "defaultOption": { "name": "Every 30 minutes", "value": "30" }, + "defaultOption": { + "name": "Every 30 minutes", + "value": "30" + }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { "omitSeconds": true, "minuteStep": 15 }, + "options": { + "omitSeconds": true, + "minuteStep": 15 + }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -97,9 +133,18 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, - "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, - "options": { "omitSeconds": true, "minuteStep": 1 }, + "startTime": { + "label": "start time", + "value": "excludeWindowStartTime" + }, + "endTime": { + "label": "end time", + "value": "excludeWindowEndTime" + }, + "options": { + "omitSeconds": true, + "minuteStep": 1 + }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -120,20 +165,44 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { "name": "S3", "value": "S3" }, - { "name": "GCS", "value": "GCS" }, - { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, - { "name": "MINIO", "value": "MINIO" } + { + "name": "S3", + "value": "S3" + }, + { + "name": "GCS", + "value": "GCS" + }, + { + "name": "AZURE_BLOB", + "value": "AZURE_BLOB" + }, + { + "name": "MINIO", + "value": "MINIO" + } ], - "defaultOption": { "name": "MINIO", "value": "MINIO" }, + "defaultOption": { + "name": "MINIO", + "value": "MINIO" + }, "required": true, - "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } + "preRequisiteField": { + "name": "useRudderStorage", + "selectedValue": false + } }, { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into Mssql", @@ -147,8 +216,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "GCS" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "GCS" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into Mssql", @@ -162,8 +237,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into Mssql", @@ -177,8 +258,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into Mssql", @@ -192,8 +279,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -202,9 +295,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": true } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": true + } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -220,9 +322,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": false + } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -234,9 +345,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": false + } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -248,8 +368,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -261,9 +387,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "useSASTokens", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "useSASTokens", + "selectedValue": false + } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -276,9 +411,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "useSASTokens", "selectedValue": true } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "useSASTokens", + "selectedValue": true + } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -291,8 +435,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -302,8 +452,14 @@ { "type": "textareaInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "GCS" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "GCS" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -315,8 +471,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -328,8 +490,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -341,8 +509,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -354,8 +528,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Use SSL for connection", "value": "useSSL", diff --git a/src/configurations/destinations/new_relic/schema.json b/src/configurations/destinations/new_relic/schema.json index 3f604da20..8eadd5d1a 100644 --- a/src/configurations/destinations/new_relic/schema.json +++ b/src/configurations/destinations/new_relic/schema.json @@ -12,13 +12,23 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "dataCenter": { "type": "string", "enum": ["us", "eu"], "default": "us" }, + "dataCenter": { + "type": "string", + "enum": ["us", "eu"], + "default": "us" + }, "customEventType": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, - "sendDeviceContext": { "type": "boolean", "default": false }, - "sendUserIdanonymousId": { "type": "boolean", "default": false }, + "sendDeviceContext": { + "type": "boolean", + "default": false + }, + "sendUserIdanonymousId": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/new_relic/ui-config.json b/src/configurations/destinations/new_relic/ui-config.json index fed256df8..c0124521d 100644 --- a/src/configurations/destinations/new_relic/ui-config.json +++ b/src/configurations/destinations/new_relic/ui-config.json @@ -29,10 +29,19 @@ "value": "dataCenter", "mode": "single", "options": [ - { "name": "US(standard)", "value": "us" }, - { "name": "EU", "value": "eu" } + { + "name": "US(standard)", + "value": "us" + }, + { + "name": "EU", + "value": "eu" + } ], - "defaultOption": { "name": "US(standard)", "value": "us" } + "defaultOption": { + "name": "US(standard)", + "value": "us" + } } ] }, diff --git a/src/configurations/destinations/olark/schema.json b/src/configurations/destinations/olark/schema.json index f5396198e..c14b67e33 100644 --- a/src/configurations/destinations/olark/schema.json +++ b/src/configurations/destinations/olark/schema.json @@ -12,8 +12,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "recordLiveChatEvents": { "type": "boolean", "default": false }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "recordLiveChatEvents": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -59,19 +69,32 @@ "allOf": [ { "if": { - "properties": { "recordLiveChatEvents": { "const": true } }, + "properties": { + "recordLiveChatEvents": { + "const": true + } + }, "required": ["recordLiveChatEvents"] }, "then": { - "properties": { "updateEventNames": { "type": "boolean", "default": false } }, + "properties": { + "updateEventNames": { + "type": "boolean", + "default": false + } + }, "required": [] } }, { "if": { "properties": { - "recordLiveChatEvents": { "const": true }, - "updateEventNames": { "const": true } + "recordLiveChatEvents": { + "const": true + }, + "updateEventNames": { + "const": true + } }, "required": ["recordLiveChatEvents", "updateEventNames"] }, diff --git a/src/configurations/destinations/ometria/ui-config.json b/src/configurations/destinations/ometria/ui-config.json index f202bd005..9683f859b 100644 --- a/src/configurations/destinations/ometria/ui-config.json +++ b/src/configurations/destinations/ometria/ui-config.json @@ -24,11 +24,23 @@ "required": false, "placeholder": "Explicitly Opted Out", "options": [ - { "name": "Explicitly Opted Out", "value": "EXPLICITLY_OPTEDOUT" }, - { "name": "Not Specified", "value": "NOT_SPECIFIED" }, - { "name": "Explicitly Opted In", "value": "EXPLICITLY_OPTEDIN" } + { + "name": "Explicitly Opted Out", + "value": "EXPLICITLY_OPTEDOUT" + }, + { + "name": "Not Specified", + "value": "NOT_SPECIFIED" + }, + { + "name": "Explicitly Opted In", + "value": "EXPLICITLY_OPTEDIN" + } ], - "defaultOption": { "name": "Explicitly Opted Out", "value": "EXPLICITLY_OPTEDOUT" } + "defaultOption": { + "name": "Explicitly Opted Out", + "value": "EXPLICITLY_OPTEDOUT" + } } ] }, diff --git a/src/configurations/destinations/one_signal/schema.json b/src/configurations/destinations/one_signal/schema.json index 9f082c99d..2d498cfdd 100644 --- a/src/configurations/destinations/one_signal/schema.json +++ b/src/configurations/destinations/one_signal/schema.json @@ -8,9 +8,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "emailDeviceType": { "type": "boolean", "default": false }, - "smsDeviceType": { "type": "boolean", "default": false }, - "eventAsTags": { "type": "boolean", "default": false }, + "emailDeviceType": { + "type": "boolean", + "default": false + }, + "smsDeviceType": { + "type": "boolean", + "default": false + }, + "eventAsTags": { + "type": "boolean", + "default": false + }, "allowedProperties": { "type": "array", "items": { diff --git a/src/configurations/destinations/one_signal/ui-config.json b/src/configurations/destinations/one_signal/ui-config.json index 2af9117c6..914380bc4 100644 --- a/src/configurations/destinations/one_signal/ui-config.json +++ b/src/configurations/destinations/one_signal/ui-config.json @@ -46,7 +46,13 @@ "type": "dynamicCustomForm", "value": "allowedProperties", "label": "Allowed Property List", - "customFields": [{ "type": "textInput", "value": "propertyName", "required": false }] + "customFields": [ + { + "type": "textInput", + "value": "propertyName", + "required": false + } + ] } ] }, diff --git a/src/configurations/destinations/optimizely/db-config.json b/src/configurations/destinations/optimizely/db-config.json index 4182cb6fc..3cb3dc16c 100644 --- a/src/configurations/destinations/optimizely/db-config.json +++ b/src/configurations/destinations/optimizely/db-config.json @@ -22,7 +22,11 @@ "supportedConnectionModes": { "web": ["device"] }, - "supportedMessageTypes": { "device": { "web": ["track", "page"] } }, + "supportedMessageTypes": { + "device": { + "web": ["track", "page"] + } + }, "destConfig": { "defaultConfig": [ "sendExperimentTrack", diff --git a/src/configurations/destinations/ortto/schema.json b/src/configurations/destinations/ortto/schema.json index 809be18f3..cf5b571b7 100644 --- a/src/configurations/destinations/ortto/schema.json +++ b/src/configurations/destinations/ortto/schema.json @@ -8,7 +8,11 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,300})$" }, - "instanceRegion": { "type": "string", "enum": ["au", "eu", "other"], "default": "other" }, + "instanceRegion": { + "type": "string", + "enum": ["au", "eu", "other"], + "default": "other" + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -21,19 +25,48 @@ } } }, - "useNativeSDK": { "type": "boolean" }, + "useNativeSDK": { + "type": "boolean" + }, "connectionMode": { "type": "object", "properties": { - "android": { "type": "string", "enum": ["cloud"] }, - "ios": { "type": "string", "enum": ["cloud"] }, - "web": { "type": "string", "enum": ["cloud"] }, - "unity": { "type": "string", "enum": ["cloud"] }, - "amp": { "type": "string", "enum": ["cloud"] }, - "reactnative": { "type": "string", "enum": ["cloud"] }, - "flutter": { "type": "string", "enum": ["cloud"] }, - "cordova": { "type": "string", "enum": ["cloud"] }, - "shopify": { "type": "string", "enum": ["cloud"] } + "android": { + "type": "string", + "enum": ["cloud"] + }, + "ios": { + "type": "string", + "enum": ["cloud"] + }, + "web": { + "type": "string", + "enum": ["cloud"] + }, + "unity": { + "type": "string", + "enum": ["cloud"] + }, + "amp": { + "type": "string", + "enum": ["cloud"] + }, + "reactnative": { + "type": "string", + "enum": ["cloud"] + }, + "flutter": { + "type": "string", + "enum": ["cloud"] + }, + "cordova": { + "type": "string", + "enum": ["cloud"] + }, + "shopify": { + "type": "string", + "enum": ["cloud"] + } } }, "orttoEventsMapping": { diff --git a/src/configurations/destinations/ortto/ui-config.json b/src/configurations/destinations/ortto/ui-config.json index dfdb0e170..11eaefc6c 100644 --- a/src/configurations/destinations/ortto/ui-config.json +++ b/src/configurations/destinations/ortto/ui-config.json @@ -196,7 +196,6 @@ "label": "Email", "value": "email" }, - { "label": "Text", "value": "text" diff --git a/src/configurations/destinations/pagerduty/schema.json b/src/configurations/destinations/pagerduty/schema.json index 59433219f..88a20ec07 100644 --- a/src/configurations/destinations/pagerduty/schema.json +++ b/src/configurations/destinations/pagerduty/schema.json @@ -8,7 +8,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "dedupKeyFieldIdentifier": { "type": "string" }, + "dedupKeyFieldIdentifier": { + "type": "string" + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/pardot/db-config.json b/src/configurations/destinations/pardot/db-config.json index faa201021..108508703 100644 --- a/src/configurations/destinations/pardot/db-config.json +++ b/src/configurations/destinations/pardot/db-config.json @@ -2,7 +2,11 @@ "name": "PARDOT", "displayName": "Pardot", "config": { - "auth": { "type": "OAuth", "role": "pardot", "rudderScopes": ["delivery"] }, + "auth": { + "type": "OAuth", + "role": "pardot", + "rudderScopes": ["delivery"] + }, "transformAtV1": "router", "saveDestinationResponse": true, "includeKeys": ["oneTrustCookieCategories"], @@ -44,5 +48,7 @@ }, "secretKeys": ["businessUnitId"] }, - "options": { "isBeta": false } + "options": { + "isBeta": false + } } diff --git a/src/configurations/destinations/personalize/schema.json b/src/configurations/destinations/personalize/schema.json index 0a80083d5..34fb4642f 100644 --- a/src/configurations/destinations/personalize/schema.json +++ b/src/configurations/destinations/personalize/schema.json @@ -4,7 +4,10 @@ "required": ["region"], "type": "object", "properties": { - "roleBasedAuth": { "type": "boolean", "default": true }, + "roleBasedAuth": { + "type": "boolean", + "default": true + }, "region": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -38,7 +41,10 @@ } } }, - "disableStringify": { "type": "boolean", "default": false }, + "disableStringify": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -55,7 +61,11 @@ "allOf": [ { "if": { - "properties": { "roleBasedAuth": { "const": true } }, + "properties": { + "roleBasedAuth": { + "const": true + } + }, "required": ["roleBasedAuth"] }, "then": { @@ -64,14 +74,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": true } + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } }, { "if": { - "properties": { "roleBasedAuth": { "const": false } }, + "properties": { + "roleBasedAuth": { + "const": false + } + }, "required": ["roleBasedAuth"] }, "then": { @@ -84,7 +100,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": false } + "roleBasedAuth": { + "const": false + } }, "required": [] } diff --git a/src/configurations/destinations/personalize/ui-config.json b/src/configurations/destinations/personalize/ui-config.json index 174a840fa..c016d5535 100644 --- a/src/configurations/destinations/personalize/ui-config.json +++ b/src/configurations/destinations/personalize/ui-config.json @@ -11,7 +11,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": true + }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -25,7 +28,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "Access Key Id", "value": "accessKeyId", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -35,7 +41,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "Secret Access Key", "value": "secretAccessKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -87,11 +96,23 @@ "placeholder": "PutEvents", "mode": "single", "options": [ - { "name": "PutEvents", "value": "PutEvents" }, - { "name": "PutUsers", "value": "PutUsers" }, - { "name": "PutItems", "value": "PutItems" } + { + "name": "PutEvents", + "value": "PutEvents" + }, + { + "name": "PutUsers", + "value": "PutUsers" + }, + { + "name": "PutItems", + "value": "PutItems" + } ], - "defaultOption": { "name": "PutEvents", "value": "PutEvents" } + "defaultOption": { + "name": "PutEvents", + "value": "PutEvents" + } } ] }, diff --git a/src/configurations/destinations/pinterest_tag/db-config.json b/src/configurations/destinations/pinterest_tag/db-config.json index 0a962f935..54cdb9925 100644 --- a/src/configurations/destinations/pinterest_tag/db-config.json +++ b/src/configurations/destinations/pinterest_tag/db-config.json @@ -44,7 +44,9 @@ }, "supportedMessageTypes": { "cloud": ["page", "screen", "track"], - "device": { "web": ["track", "page", "identify"] } + "device": { + "web": ["track", "page", "identify"] + } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/pinterest_tag/schema.json b/src/configurations/destinations/pinterest_tag/schema.json index c6a91d38c..fb53bd829 100644 --- a/src/configurations/destinations/pinterest_tag/schema.json +++ b/src/configurations/destinations/pinterest_tag/schema.json @@ -4,18 +4,43 @@ "required": [], "type": "object", "properties": { - "tagId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" }, - "appId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" }, - "apiVersion": { "type": "string", "enum": ["legacyApi", "newApi"], "default": "legacyApi" }, + "tagId": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" + }, + "appId": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" + }, + "apiVersion": { + "type": "string", + "enum": ["legacyApi", "newApi"], + "default": "legacyApi" + }, "deduplicationKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "sendingUnHashedData": { "type": "boolean", "default": true }, - "enhancedMatch": { "type": "boolean", "default": true }, - "sendExternalId": { "type": "boolean", "default": false }, - "sendAsCustomEvent": { "type": "boolean", "default": false }, - "sendAsTestEvent": { "type": "boolean", "default": false }, + "sendingUnHashedData": { + "type": "boolean", + "default": true + }, + "enhancedMatch": { + "type": "boolean", + "default": true + }, + "sendExternalId": { + "type": "boolean", + "default": false + }, + "sendAsCustomEvent": { + "type": "boolean", + "default": false + }, + "sendAsTestEvent": { + "type": "boolean", + "default": false + }, "customProperties": { "type": "array", "items": { @@ -55,7 +80,14 @@ } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -101,7 +133,11 @@ "allOf": [ { "if": { - "properties": { "apiVersion": { "const": "legacyApi" } }, + "properties": { + "apiVersion": { + "const": "legacyApi" + } + }, "required": ["apiVersion"] }, "then": { @@ -115,7 +151,14 @@ } }, { - "if": { "properties": { "apiVersion": { "const": "newApi" } }, "required": ["apiVersion"] }, + "if": { + "properties": { + "apiVersion": { + "const": "newApi" + } + }, + "required": ["apiVersion"] + }, "then": { "properties": { "adAccountId": { diff --git a/src/configurations/destinations/pipedream/ui-config.json b/src/configurations/destinations/pipedream/ui-config.json index 7666a6a24..d0032746e 100644 --- a/src/configurations/destinations/pipedream/ui-config.json +++ b/src/configurations/destinations/pipedream/ui-config.json @@ -17,13 +17,31 @@ "value": "pipedreamMethod", "placeholder": "POST", "options": [ - { "name": "POST", "value": "POST" }, - { "name": "PUT", "value": "PUT" }, - { "name": "PATCH", "value": "PATCH" }, - { "name": "GET", "value": "GET" }, - { "name": "DELETE", "value": "DELETE" } + { + "name": "POST", + "value": "POST" + }, + { + "name": "PUT", + "value": "PUT" + }, + { + "name": "PATCH", + "value": "PATCH" + }, + { + "name": "GET", + "value": "GET" + }, + { + "name": "DELETE", + "value": "DELETE" + } ], - "defaultOption": { "name": "POST", "value": "POST" } + "defaultOption": { + "name": "POST", + "value": "POST" + } }, { "type": "dynamicForm", diff --git a/src/configurations/destinations/pipedrive/db-config.json b/src/configurations/destinations/pipedrive/db-config.json index 8ad76e5cc..a302a4d02 100644 --- a/src/configurations/destinations/pipedrive/db-config.json +++ b/src/configurations/destinations/pipedrive/db-config.json @@ -43,5 +43,7 @@ }, "secretKeys": ["apiToken"] }, - "options": { "hidden": true } + "options": { + "hidden": true + } } diff --git a/src/configurations/destinations/podsights/schema.json b/src/configurations/destinations/podsights/schema.json index 8552c28a3..2c0acad5c 100644 --- a/src/configurations/destinations/podsights/schema.json +++ b/src/configurations/destinations/podsights/schema.json @@ -24,7 +24,10 @@ } } }, - "enableAliasCall": { "type": "boolean", "default": false }, + "enableAliasCall": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -54,7 +57,14 @@ } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/postgres/schema.json b/src/configurations/destinations/postgres/schema.json index d62cbd63b..e8a85c5fa 100644 --- a/src/configurations/destinations/postgres/schema.json +++ b/src/configurations/destinations/postgres/schema.json @@ -13,30 +13,66 @@ "useRudderStorage" ], "properties": { - "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*.ngrok.io)^(.{1,100})$" }, - "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "password": { "type": "string", "pattern": "(^env[.].+)|.+" }, - "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, - "sslMode": { "type": "string", "pattern": "^(disable|require|verify-ca)$" }, + "host": { + "type": "string", + "pattern": "(^env[.].+)|(?!.*.ngrok.io)^(.{1,100})$" + }, + "database": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "user": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "password": { + "type": "string", + "pattern": "(^env[.].+)|.+" + }, + "port": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "namespace": { + "type": "string", + "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" + }, + "sslMode": { + "type": "string", + "pattern": "^(disable|require|verify-ca)$" + }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { "type": "string" }, - "excludeWindowEndTime": { "type": "string" } + "excludeWindowStartTime": { + "type": "string" + }, + "excludeWindowEndTime": { + "type": "string" + } } }, - "jsonPaths": { "type": "string", "pattern": "(^env[.].*)|.*" }, - "useRudderStorage": { "type": "boolean", "default": false }, - "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" }, + "jsonPaths": { + "type": "string", + "pattern": "(^env[.].*)|.*" + }, + "useRudderStorage": { + "type": "boolean", + "default": false + }, + "bucketProvider": { + "type": "string", + "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -52,29 +88,58 @@ }, "allOf": [ { - "if": { "properties": { "useSSH": { "const": true } }, "required": ["useSSH"] }, + "if": { + "properties": { + "useSSH": { + "const": true + } + }, + "required": ["useSSH"] + }, "then": { "properties": { - "sshHost": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, - "sshPort": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, - "sshUser": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, - "sshPublicKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,1000})$" } + "sshHost": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,255})$" + }, + "sshPort": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,255})$" + }, + "sshUser": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,255})$" + }, + "sshPublicKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,1000})$" + } }, "required": ["sshHost", "sshPort", "sshUser", "sshPublicKey"] } }, { "if": { - "properties": { "useRudderStorage": { "const": false } }, + "properties": { + "useRudderStorage": { + "const": false + } + }, "required": ["useRudderStorage"] }, - "then": { "required": ["bucketProvider"] } + "then": { + "required": ["bucketProvider"] + } }, { "if": { "properties": { - "bucketProvider": { "const": "S3" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "S3" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -90,16 +155,26 @@ { "type": "object", "properties": { - "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, - "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } + "accessKeyID": { + "type": "string", + "pattern": "(^env[.].+)|^(.{0,100})$" + }, + "accessKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{0,100})$" + } }, "required": ["accessKeyID", "accessKey"] }, { "type": "object", "properties": { - "iamRoleARN": { "type": "string" }, - "roleBasedAuth": { "const": true } + "iamRoleARN": { + "type": "string" + }, + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -109,8 +184,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "GCS" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "GCS" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -120,7 +199,10 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } + "credentials": { + "type": "string", + "pattern": "(^env[.].+)|.+" + } }, "required": ["bucketName", "credentials"] } @@ -128,8 +210,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "AZURE_BLOB" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "AZURE_BLOB" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -139,20 +225,31 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } + "accountName": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } + "accountKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, - "useSASTokens": { "const": true } + "sasToken": { + "type": "string", + "pattern": "(^env[.].+)|^(.+)$" + }, + "useSASTokens": { + "const": true + } }, "required": ["useSASTokens", "sasToken"] } @@ -162,8 +259,12 @@ { "if": { "properties": { - "bucketProvider": { "const": "MINIO" }, - "useRudderStorage": { "const": false } + "bucketProvider": { + "const": "MINIO" + }, + "useRudderStorage": { + "const": false + } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -173,19 +274,34 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "accessKeyID": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, "endPoint": { "type": "string", "pattern": "(^env[.].+)|^(?!.*\\.ngrok\\.io)(.{1,100})$" }, - "secretAccessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, - "useSSL": { "type": "boolean" } + "secretAccessKey": { + "type": "string", + "pattern": "(^env[.].+)|^(.{1,100})$" + }, + "useSSL": { + "type": "boolean" + } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey", "useSSL"] } }, { - "if": { "properties": { "sslMode": { "const": "verify-ca" } }, "required": ["sslMode"] }, + "if": { + "properties": { + "sslMode": { + "const": "verify-ca" + } + }, + "required": ["sslMode"] + }, "then": { "properties": { "clientKey": { diff --git a/src/configurations/destinations/postgres/ui-config.json b/src/configurations/destinations/postgres/ui-config.json index 4c8d741d9..caa79e024 100644 --- a/src/configurations/destinations/postgres/ui-config.json +++ b/src/configurations/destinations/postgres/ui-config.json @@ -63,18 +63,33 @@ "label": "SSL Mode", "value": "sslMode", "options": [ - { "name": "disable", "value": "disable" }, - { "name": "require", "value": "require" }, - { "name": "verify ca", "value": "verify-ca" } + { + "name": "disable", + "value": "disable" + }, + { + "name": "require", + "value": "require" + }, + { + "name": "verify ca", + "value": "verify-ca" + } ], - "defaultOption": { "name": "disable", "value": "disable" }, + "defaultOption": { + "name": "disable", + "value": "disable" + }, "required": true }, { "type": "textInput", "required": true, "regex": "-----BEGIN RSA PRIVATE KEY-----.*-----END RSA PRIVATE KEY-----", - "preRequisiteField": { "name": "sslMode", "selectedValue": "verify-ca" }, + "preRequisiteField": { + "name": "sslMode", + "selectedValue": "verify-ca" + }, "label": "Client Key Pem File", "value": "clientKey" }, @@ -82,7 +97,10 @@ "type": "textInput", "required": true, "regex": "-----BEGIN CERTIFICATE-----.*-----END CERTIFICATE-----", - "preRequisiteField": { "name": "sslMode", "selectedValue": "verify-ca" }, + "preRequisiteField": { + "name": "sslMode", + "selectedValue": "verify-ca" + }, "label": "Client Cert Pem File", "value": "clientCert" }, @@ -90,7 +108,10 @@ "type": "textInput", "required": true, "regex": "-----BEGIN CERTIFICATE-----.*-----END CERTIFICATE-----", - "preRequisiteField": { "name": "sslMode", "selectedValue": "verify-ca" }, + "preRequisiteField": { + "name": "sslMode", + "selectedValue": "verify-ca" + }, "label": "Server CA Pem File", "value": "serverCA" }, @@ -99,21 +120,45 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { "name": "Every 30 minutes", "value": "30" }, - { "name": "Every 1 hour", "value": "60" }, - { "name": "Every 3 hours", "value": "180" }, - { "name": "Every 6 hours", "value": "360" }, - { "name": "Every 12 hours", "value": "720" }, - { "name": "Every 24 hours", "value": "1440" } + { + "name": "Every 30 minutes", + "value": "30" + }, + { + "name": "Every 1 hour", + "value": "60" + }, + { + "name": "Every 3 hours", + "value": "180" + }, + { + "name": "Every 6 hours", + "value": "360" + }, + { + "name": "Every 12 hours", + "value": "720" + }, + { + "name": "Every 24 hours", + "value": "1440" + } ], - "defaultOption": { "name": "Every 30 minutes", "value": "30" }, + "defaultOption": { + "name": "Every 30 minutes", + "value": "30" + }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { "omitSeconds": true, "minuteStep": 15 }, + "options": { + "omitSeconds": true, + "minuteStep": 15 + }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -121,9 +166,18 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, - "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, - "options": { "omitSeconds": true, "minuteStep": 1 }, + "startTime": { + "label": "start time", + "value": "excludeWindowStartTime" + }, + "endTime": { + "label": "end time", + "value": "excludeWindowEndTime" + }, + "options": { + "omitSeconds": true, + "minuteStep": 1 + }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -157,20 +211,44 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { "name": "S3", "value": "S3" }, - { "name": "GCS", "value": "GCS" }, - { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, - { "name": "MINIO", "value": "MINIO" } + { + "name": "S3", + "value": "S3" + }, + { + "name": "GCS", + "value": "GCS" + }, + { + "name": "AZURE_BLOB", + "value": "AZURE_BLOB" + }, + { + "name": "MINIO", + "value": "MINIO" + } ], - "defaultOption": { "name": "MINIO", "value": "MINIO" }, + "defaultOption": { + "name": "MINIO", + "value": "MINIO" + }, "required": true, - "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } + "preRequisiteField": { + "name": "useRudderStorage", + "selectedValue": false + } }, { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into Postgres", @@ -184,8 +262,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "GCS" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "GCS" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into Postgres", @@ -199,8 +283,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into Postgres", @@ -214,8 +304,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into Postgres", @@ -229,8 +325,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -239,9 +341,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": true } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": true + } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -257,9 +368,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": false + } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -271,9 +391,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "S3" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "S3" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": false + } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -285,8 +414,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -298,9 +433,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "useSASTokens", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "useSASTokens", + "selectedValue": false + } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -313,9 +457,18 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "useSASTokens", "selectedValue": true } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "useSASTokens", + "selectedValue": true + } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -328,8 +481,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "AZURE_BLOB" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -339,8 +498,14 @@ { "type": "textareaInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "GCS" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "GCS" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -352,8 +517,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -365,8 +536,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -378,8 +555,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -391,8 +574,14 @@ { "type": "checkbox", "preRequisiteField": [ - { "name": "bucketProvider", "selectedValue": "MINIO" }, - { "name": "useRudderStorage", "selectedValue": false } + { + "name": "bucketProvider", + "selectedValue": "MINIO" + }, + { + "name": "useRudderStorage", + "selectedValue": false + } ], "label": "Use SSL for connection", "value": "useSSL", diff --git a/src/configurations/destinations/qualaroo/schema.json b/src/configurations/destinations/qualaroo/schema.json index 85125b149..1a2d5d209 100644 --- a/src/configurations/destinations/qualaroo/schema.json +++ b/src/configurations/destinations/qualaroo/schema.json @@ -12,8 +12,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "recordQualarooEvents": { "type": "boolean", "default": false }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "recordQualarooEvents": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -59,14 +69,21 @@ "allOf": [ { "if": { - "properties": { "recordQualarooEvents": { "const": true } }, + "properties": { + "recordQualarooEvents": { + "const": true + } + }, "required": ["recordQualarooEvents"] }, "then": { "properties": { "eventsList": { "type": "array", - "items": { "type": "string", "enum": ["show", "close", "submit", "noTargetMatch"] }, + "items": { + "type": "string", + "enum": ["show", "close", "submit", "noTargetMatch"] + }, "default": ["show"] } }, @@ -75,19 +92,32 @@ }, { "if": { - "properties": { "recordQualarooEvents": { "const": true } }, + "properties": { + "recordQualarooEvents": { + "const": true + } + }, "required": ["recordQualarooEvents"] }, "then": { - "properties": { "updateEventNames": { "type": "boolean", "default": false } }, + "properties": { + "updateEventNames": { + "type": "boolean", + "default": false + } + }, "required": [] } }, { "if": { "properties": { - "recordQualarooEvents": { "const": true }, - "updateEventNames": { "const": true } + "recordQualarooEvents": { + "const": true + }, + "updateEventNames": { + "const": true + } }, "required": ["recordQualarooEvents", "updateEventNames"] }, diff --git a/src/configurations/destinations/quora_pixel/schema.json b/src/configurations/destinations/quora_pixel/schema.json index 4f4641ec6..999391091 100644 --- a/src/configurations/destinations/quora_pixel/schema.json +++ b/src/configurations/destinations/quora_pixel/schema.json @@ -65,7 +65,14 @@ } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/reddit/schema.json b/src/configurations/destinations/reddit/schema.json index cd8da8a3d..d8d2b4eab 100644 --- a/src/configurations/destinations/reddit/schema.json +++ b/src/configurations/destinations/reddit/schema.json @@ -8,7 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "hashData": { "type": "boolean", "default": true }, + "hashData": { + "type": "boolean", + "default": true + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -21,19 +24,48 @@ } } }, - "useNativeSDK": { "type": "boolean" }, + "useNativeSDK": { + "type": "boolean" + }, "connectionMode": { "type": "object", "properties": { - "android": { "type": "string", "enum": ["cloud"] }, - "ios": { "type": "string", "enum": ["cloud"] }, - "web": { "type": "string", "enum": ["cloud"] }, - "unity": { "type": "string", "enum": ["cloud"] }, - "amp": { "type": "string", "enum": ["cloud"] }, - "reactnative": { "type": "string", "enum": ["cloud"] }, - "flutter": { "type": "string", "enum": ["cloud"] }, - "cordova": { "type": "string", "enum": ["cloud"] }, - "shopify": { "type": "string", "enum": ["cloud"] } + "android": { + "type": "string", + "enum": ["cloud"] + }, + "ios": { + "type": "string", + "enum": ["cloud"] + }, + "web": { + "type": "string", + "enum": ["cloud"] + }, + "unity": { + "type": "string", + "enum": ["cloud"] + }, + "amp": { + "type": "string", + "enum": ["cloud"] + }, + "reactnative": { + "type": "string", + "enum": ["cloud"] + }, + "flutter": { + "type": "string", + "enum": ["cloud"] + }, + "cordova": { + "type": "string", + "enum": ["cloud"] + }, + "shopify": { + "type": "string", + "enum": ["cloud"] + } } } } diff --git a/src/configurations/destinations/redis/schema.json b/src/configurations/destinations/redis/schema.json index 669010760..5785beec2 100644 --- a/src/configurations/destinations/redis/schema.json +++ b/src/configurations/destinations/redis/schema.json @@ -8,9 +8,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{0,100})$" }, - "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, - "clusterMode": { "type": "boolean", "default": true }, - "secure": { "type": "boolean", "default": false }, + "password": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, + "clusterMode": { + "type": "boolean", + "default": true + }, + "secure": { + "type": "boolean", + "default": false + }, "prefix": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -30,7 +39,14 @@ }, "allOf": [ { - "if": { "properties": { "clusterMode": { "const": false } }, "required": ["clusterMode"] }, + "if": { + "properties": { + "clusterMode": { + "const": false + } + }, + "required": ["clusterMode"] + }, "then": { "properties": { "database": { @@ -42,10 +58,20 @@ } }, { - "if": { "properties": { "secure": { "const": true } }, "required": ["secure"] }, + "if": { + "properties": { + "secure": { + "const": true + } + }, + "required": ["secure"] + }, "then": { "properties": { - "skipVerify": { "type": "boolean", "default": false }, + "skipVerify": { + "type": "boolean", + "default": false + }, "caCertificate": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" diff --git a/src/configurations/destinations/redis/ui-config.json b/src/configurations/destinations/redis/ui-config.json index 071d0dc01..40ace3e8e 100644 --- a/src/configurations/destinations/redis/ui-config.json +++ b/src/configurations/destinations/redis/ui-config.json @@ -29,13 +29,29 @@ "regexErrorMessage": "Invalid Database", "required": false, "placeholder": "", - "preRequisiteField": { "name": "clusterMode", "selectedValue": false } + "preRequisiteField": { + "name": "clusterMode", + "selectedValue": false + } }, - { "type": "checkbox", "label": "Cluster Mode", "value": "clusterMode", "default": true }, - { "type": "checkbox", "label": "Secure", "value": "secure", "default": false }, { "type": "checkbox", - "preRequisiteField": { "name": "secure", "selectedValue": true }, + "label": "Cluster Mode", + "value": "clusterMode", + "default": true + }, + { + "type": "checkbox", + "label": "Secure", + "value": "secure", + "default": false + }, + { + "type": "checkbox", + "preRequisiteField": { + "name": "secure", + "selectedValue": true + }, "label": "Skip verify", "value": "skipVerify", "default": false, @@ -43,7 +59,10 @@ }, { "type": "textareaInput", - "preRequisiteField": { "name": "secure", "selectedValue": true }, + "preRequisiteField": { + "name": "secure", + "selectedValue": true + }, "label": "CA certificate", "value": "caCertificate", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*", diff --git a/src/configurations/destinations/refiner/schema.json b/src/configurations/destinations/refiner/schema.json index e1ccb4552..197169c46 100644 --- a/src/configurations/destinations/refiner/schema.json +++ b/src/configurations/destinations/refiner/schema.json @@ -44,7 +44,14 @@ } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/revenue_cat/ui-config.json b/src/configurations/destinations/revenue_cat/ui-config.json index c50a3d3bc..3f9391ba2 100644 --- a/src/configurations/destinations/revenue_cat/ui-config.json +++ b/src/configurations/destinations/revenue_cat/ui-config.json @@ -18,14 +18,35 @@ "label": "X-Platform", "value": "xPlatform", "options": [ - { "name": "iOS", "value": "ios" }, - { "name": "Android", "value": "android" }, - { "name": "Amazon", "value": "amazon" }, - { "name": "macOS", "value": "macos" }, - { "name": "Stripe", "value": "stripe" }, - { "name": "UI kit for mac", "value": "uikitformac" } + { + "name": "iOS", + "value": "ios" + }, + { + "name": "Android", + "value": "android" + }, + { + "name": "Amazon", + "value": "amazon" + }, + { + "name": "macOS", + "value": "macos" + }, + { + "name": "Stripe", + "value": "stripe" + }, + { + "name": "UI kit for mac", + "value": "uikitformac" + } ], - "defaultOption": { "name": "Stripe", "value": "stripe" } + "defaultOption": { + "name": "Stripe", + "value": "stripe" + } } ] }, diff --git a/src/configurations/destinations/rockerbox/db-config.json b/src/configurations/destinations/rockerbox/db-config.json index 6b64f68d8..e3159d0df 100644 --- a/src/configurations/destinations/rockerbox/db-config.json +++ b/src/configurations/destinations/rockerbox/db-config.json @@ -33,7 +33,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track", "page"], - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "supportedConnectionModes": { "web": ["cloud", "device", "hybrid"], diff --git a/src/configurations/destinations/rockerbox/schema.json b/src/configurations/destinations/rockerbox/schema.json index 210a1021c..07da4ff2f 100644 --- a/src/configurations/destinations/rockerbox/schema.json +++ b/src/configurations/destinations/rockerbox/schema.json @@ -83,11 +83,30 @@ } } }, - "enableCookieSync": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "enableCookieSync": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "connectionMode": { "type": "object", - "properties": { "web": { "type": "string", "enum": ["cloud", "device", "hybrid"] } } + "properties": { + "web": { + "type": "string", + "enum": ["cloud", "device", "hybrid"] + } + } } } } diff --git a/src/configurations/destinations/rollbar/db-config.json b/src/configurations/destinations/rollbar/db-config.json index f868ddd9c..2351ee5c9 100644 --- a/src/configurations/destinations/rollbar/db-config.json +++ b/src/configurations/destinations/rollbar/db-config.json @@ -20,7 +20,9 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { "web": ["identify"] } + "device": { + "web": ["identify"] + } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/rollbar/schema.json b/src/configurations/destinations/rollbar/schema.json index 4f0b4708b..f98680262 100644 --- a/src/configurations/destinations/rollbar/schema.json +++ b/src/configurations/destinations/rollbar/schema.json @@ -8,10 +8,26 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "captureUncaughtException": { "type": "boolean", "default": true }, - "captureUnhandledRejections": { "type": "boolean", "default": false }, - "guessUncaughtFrames": { "type": "boolean", "default": false }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "captureUncaughtException": { + "type": "boolean", + "default": true + }, + "captureUnhandledRejections": { + "type": "boolean", + "default": false + }, + "guessUncaughtFrames": { + "type": "boolean", + "default": false + }, "codeVersion": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -32,7 +48,10 @@ } } }, - "sourceMapEnabled": { "type": "boolean", "default": false }, + "sourceMapEnabled": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/rs/schema.json b/src/configurations/destinations/rs/schema.json index 4e5b3ee28..a222b652e 100644 --- a/src/configurations/destinations/rs/schema.json +++ b/src/configurations/destinations/rs/schema.json @@ -28,7 +28,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "password": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, "namespace": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" @@ -38,12 +41,18 @@ "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "excludeWindow": { "type": "object", "properties": { - "excludeWindowStartTime": { "type": "string" }, - "excludeWindowEndTime": { "type": "string" } + "excludeWindowStartTime": { + "type": "string" + }, + "excludeWindowEndTime": { + "type": "string" + } }, "required": ["excludeWindowStartTime", "excludeWindowEndTime"] }, @@ -51,7 +60,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.*)$" }, - "useRudderStorage": { "type": "boolean", "default": false }, + "useRudderStorage": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -68,7 +80,11 @@ "allOf": [ { "if": { - "properties": { "useRudderStorage": { "const": false } }, + "properties": { + "useRudderStorage": { + "const": false + } + }, "required": ["useRudderStorage"] }, "then": { @@ -81,7 +97,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^([^\\s]{0,100})$" }, - "enableSSE": { "type": "boolean", "default": false } + "enableSSE": { + "type": "boolean", + "default": false + } }, "required": ["bucketName"], "anyOf": [ @@ -95,7 +114,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": false } + "roleBasedAuth": { + "const": false + } }, "required": [] }, @@ -105,7 +126,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": true } + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -114,11 +137,20 @@ }, { "if": { - "properties": { "useRudderStorage": { "const": false } }, + "properties": { + "useRudderStorage": { + "const": false + } + }, "required": ["useRudderStorage"] }, "then": { - "properties": { "roleBasedAuth": { "type": "boolean", "default": true } }, + "properties": { + "roleBasedAuth": { + "type": "boolean", + "default": true + } + }, "required": [] } } diff --git a/src/configurations/destinations/rs/ui-config.json b/src/configurations/destinations/rs/ui-config.json index c3b838e18..4c0c86823 100644 --- a/src/configurations/destinations/rs/ui-config.json +++ b/src/configurations/destinations/rs/ui-config.json @@ -64,21 +64,45 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { "name": "Every 30 minutes", "value": "30" }, - { "name": "Every 1 hour", "value": "60" }, - { "name": "Every 3 hours", "value": "180" }, - { "name": "Every 6 hours", "value": "360" }, - { "name": "Every 12 hours", "value": "720" }, - { "name": "Every 24 hours", "value": "1440" } + { + "name": "Every 30 minutes", + "value": "30" + }, + { + "name": "Every 1 hour", + "value": "60" + }, + { + "name": "Every 3 hours", + "value": "180" + }, + { + "name": "Every 6 hours", + "value": "360" + }, + { + "name": "Every 12 hours", + "value": "720" + }, + { + "name": "Every 24 hours", + "value": "1440" + } ], - "defaultOption": { "name": "Every 30 minutes", "value": "30" }, + "defaultOption": { + "name": "Every 30 minutes", + "value": "30" + }, "required": true }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { "omitSeconds": true, "minuteStep": 15 }, + "options": { + "omitSeconds": true, + "minuteStep": 15 + }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -86,9 +110,18 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, - "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, - "options": { "omitSeconds": true, "minuteStep": 1 }, + "startTime": { + "label": "start time", + "value": "excludeWindowStartTime" + }, + "endTime": { + "label": "end time", + "value": "excludeWindowEndTime" + }, + "options": { + "omitSeconds": true, + "minuteStep": 1 + }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -128,7 +161,10 @@ "required": true, "placeholder": "e.g: event-bucket", "footerNote": "Please make sure the bucket exists in your S3", - "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } + "preRequisiteField": { + "name": "useRudderStorage", + "selectedValue": false + } }, { "type": "textInput", @@ -138,11 +174,19 @@ "regexErrorMessage": "Invalid Prefix", "required": false, "placeholder": "e.g: rudder", - "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } + "preRequisiteField": { + "name": "useRudderStorage", + "selectedValue": false + } }, { "type": "checkbox", - "preRequisiteField": [{ "name": "useRudderStorage", "selectedValue": false }], + "preRequisiteField": [ + { + "name": "useRudderStorage", + "selectedValue": false + } + ], "label": "Role Based Authentication", "value": "roleBasedAuth", "default": true @@ -150,8 +194,14 @@ { "type": "textInput", "preRequisiteField": [ - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": true } + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": true + } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -174,8 +224,14 @@ "placeholder": "e.g: access-key-id", "secret": true, "preRequisiteField": [ - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": false } + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": false + } ] }, { @@ -188,8 +244,14 @@ "placeholder": "e.g: secret-access-key", "secret": true, "preRequisiteField": [ - { "name": "useRudderStorage", "selectedValue": false }, - { "name": "roleBasedAuth", "selectedValue": false } + { + "name": "useRudderStorage", + "selectedValue": false + }, + { + "name": "roleBasedAuth", + "selectedValue": false + } ] }, { @@ -197,7 +259,10 @@ "label": "Enable Server Side Encryption For S3?", "value": "enableSSE", "default": false, - "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } + "preRequisiteField": { + "name": "useRudderStorage", + "selectedValue": false + } } ] }, diff --git a/src/configurations/destinations/s3/schema.json b/src/configurations/destinations/s3/schema.json index 4f4be35d9..f79aed80c 100644 --- a/src/configurations/destinations/s3/schema.json +++ b/src/configurations/destinations/s3/schema.json @@ -12,8 +12,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "type": "boolean", "default": true }, - "enableSSE": { "type": "boolean", "default": false }, + "roleBasedAuth": { + "type": "boolean", + "default": true + }, + "enableSSE": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -30,7 +36,11 @@ "allOf": [ { "if": { - "properties": { "roleBasedAuth": { "const": true } }, + "properties": { + "roleBasedAuth": { + "const": true + } + }, "required": ["roleBasedAuth"] }, "then": { @@ -39,14 +49,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": true } + "roleBasedAuth": { + "const": true + } }, "required": ["roleBasedAuth"] } }, { "if": { - "properties": { "roleBasedAuth": { "const": false } }, + "properties": { + "roleBasedAuth": { + "const": false + } + }, "required": ["roleBasedAuth"] }, "then": { @@ -59,7 +75,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "const": false } + "roleBasedAuth": { + "const": false + } }, "required": [] } diff --git a/src/configurations/destinations/s3/ui-config.json b/src/configurations/destinations/s3/ui-config.json index 9e496d782..e5e021cda 100644 --- a/src/configurations/destinations/s3/ui-config.json +++ b/src/configurations/destinations/s3/ui-config.json @@ -29,7 +29,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": true + }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -43,7 +46,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -54,7 +60,10 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, + "preRequisiteField": { + "name": "roleBasedAuth", + "selectedValue": false + }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", diff --git a/src/configurations/destinations/s3_datalake/schema.json b/src/configurations/destinations/s3_datalake/schema.json index 11fa124a0..387a23528 100644 --- a/src/configurations/destinations/s3_datalake/schema.json +++ b/src/configurations/destinations/s3_datalake/schema.json @@ -8,20 +8,34 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "useGlue": { "type": "boolean", "default": false }, - "prefix": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "useGlue": { + "type": "boolean", + "default": false + }, + "prefix": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, "namespace": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, - "roleBasedAuth": { "type": "boolean", "default": true }, - "enableSSE": { "type": "boolean", "default": false }, + "roleBasedAuth": { + "type": "boolean", + "default": true + }, + "enableSSE": { + "type": "boolean", + "default": false + }, "syncFrequency": { "type": "string", "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -37,17 +51,31 @@ }, "allOf": [ { - "if": { "properties": { "useGlue": { "const": true } }, "required": ["useGlue"] }, + "if": { + "properties": { + "useGlue": { + "const": true + } + }, + "required": ["useGlue"] + }, "then": { "properties": { - "region": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" } + "region": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + } }, "required": ["region"] } }, { "if": { - "properties": { "roleBasedAuth": { "const": true } }, + "properties": { + "roleBasedAuth": { + "const": true + } + }, "required": ["roleBasedAuth"] }, "then": { @@ -56,14 +84,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "roleBasedAuth": { "const": true } + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } }, { "if": { - "properties": { "roleBasedAuth": { "const": false } }, + "properties": { + "roleBasedAuth": { + "const": false + } + }, "required": ["roleBasedAuth"] }, "then": { @@ -76,7 +110,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, - "roleBasedAuth": { "const": false } + "roleBasedAuth": { + "const": false + } }, "required": [] } diff --git a/src/configurations/destinations/s3_datalake/ui-config.json b/src/configurations/destinations/s3_datalake/ui-config.json index cb5841a80..7cdabd199 100644 --- a/src/configurations/destinations/s3_datalake/ui-config.json +++ b/src/configurations/destinations/s3_datalake/ui-config.json @@ -26,7 +26,10 @@ "value": "region", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*", "required": true, - "preRequisiteField": { "name": "useGlue", "selectedValue": true } + "preRequisiteField": { + "name": "useGlue", + "selectedValue": true + } }, { "type": "textInput", @@ -54,7 +57,12 @@ }, { "type": "textInput", - "preRequisiteField": [{ "name": "roleBasedAuth", "selectedValue": true }], + "preRequisiteField": [ + { + "name": "roleBasedAuth", + "selectedValue": true + } + ], "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$", @@ -68,7 +76,12 @@ }, { "type": "textInput", - "preRequisiteField": [{ "name": "roleBasedAuth", "selectedValue": false }], + "preRequisiteField": [ + { + "name": "roleBasedAuth", + "selectedValue": false + } + ], "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*", @@ -78,7 +91,12 @@ }, { "type": "textInput", - "preRequisiteField": [{ "name": "roleBasedAuth", "selectedValue": false }], + "preRequisiteField": [ + { + "name": "roleBasedAuth", + "selectedValue": false + } + ], "label": "AWS Secret Access Key", "value": "accessKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*", @@ -97,21 +115,44 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { "name": "Every 30 minutes", "value": "30" }, - { "name": "Every 1 hour", "value": "60" }, - { "name": "Every 3 hours", "value": "180" }, - { "name": "Every 6 hours", "value": "360" }, - { "name": "Every 12 hours", "value": "720" }, - { "name": "Every 24 hours", "value": "1440" } + { + "name": "Every 30 minutes", + "value": "30" + }, + { + "name": "Every 1 hour", + "value": "60" + }, + { + "name": "Every 3 hours", + "value": "180" + }, + { + "name": "Every 6 hours", + "value": "360" + }, + { + "name": "Every 12 hours", + "value": "720" + }, + { + "name": "Every 24 hours", + "value": "1440" + } ], - "defaultOption": { "name": "Every 30 minutes", "value": "30" }, + "defaultOption": { + "name": "Every 30 minutes", + "value": "30" + }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { "omitSeconds": true }, + "options": { + "omitSeconds": true + }, "required": false, "footerNote": "Note: Please specify time in UTC" } diff --git a/src/configurations/destinations/salesforce/schema.json b/src/configurations/destinations/salesforce/schema.json index 9e0395b4a..23a034716 100644 --- a/src/configurations/destinations/salesforce/schema.json +++ b/src/configurations/destinations/salesforce/schema.json @@ -16,9 +16,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "mapProperties": { "type": "boolean", "default": true }, - "sandbox": { "type": "boolean", "default": false }, - "useContactId": { "type": "boolean", "default": false }, + "mapProperties": { + "type": "boolean", + "default": true + }, + "sandbox": { + "type": "boolean", + "default": false + }, + "useContactId": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/salesforce/ui-config.json b/src/configurations/destinations/salesforce/ui-config.json index 33150dfc3..ddb2f96bd 100644 --- a/src/configurations/destinations/salesforce/ui-config.json +++ b/src/configurations/destinations/salesforce/ui-config.json @@ -42,7 +42,12 @@ "value": "mapProperties", "default": true }, - { "type": "checkbox", "label": "Sandbox mode", "value": "sandbox", "default": false }, + { + "type": "checkbox", + "label": "Sandbox mode", + "value": "sandbox", + "default": false + }, { "type": "checkbox", "label": "Use contactId for converted leads", diff --git a/src/configurations/destinations/salesforce_oauth/db-config.json b/src/configurations/destinations/salesforce_oauth/db-config.json index 731480e36..f01b6e89b 100644 --- a/src/configurations/destinations/salesforce_oauth/db-config.json +++ b/src/configurations/destinations/salesforce_oauth/db-config.json @@ -37,5 +37,7 @@ }, "secretKeys": [] }, - "options": { "hidden": true } + "options": { + "hidden": true + } } diff --git a/src/configurations/destinations/salesforce_oauth/schema.json b/src/configurations/destinations/salesforce_oauth/schema.json index 2383092fc..40451138c 100644 --- a/src/configurations/destinations/salesforce_oauth/schema.json +++ b/src/configurations/destinations/salesforce_oauth/schema.json @@ -4,9 +4,18 @@ "required": [], "type": "object", "properties": { - "mapProperties": { "type": "boolean", "default": true }, - "sandbox": { "type": "boolean", "default": false }, - "useContactId": { "type": "boolean", "default": false }, + "mapProperties": { + "type": "boolean", + "default": true + }, + "sandbox": { + "type": "boolean", + "default": false + }, + "useContactId": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/salesforce_oauth/ui-config.json b/src/configurations/destinations/salesforce_oauth/ui-config.json index 18675c813..a92342930 100644 --- a/src/configurations/destinations/salesforce_oauth/ui-config.json +++ b/src/configurations/destinations/salesforce_oauth/ui-config.json @@ -9,7 +9,12 @@ "value": "mapProperties", "default": true }, - { "type": "checkbox", "label": "Sandbox mode", "value": "sandbox", "default": false }, + { + "type": "checkbox", + "label": "Sandbox mode", + "value": "sandbox", + "default": false + }, { "type": "checkbox", "label": "Use contactId for converted leads", diff --git a/src/configurations/destinations/satismeter/db-config.json b/src/configurations/destinations/satismeter/db-config.json index 35492b9e6..5a29f4fee 100644 --- a/src/configurations/destinations/satismeter/db-config.json +++ b/src/configurations/destinations/satismeter/db-config.json @@ -19,7 +19,9 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { "web": ["identify", "track"] } + "device": { + "web": ["identify", "track"] + } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/satismeter/schema.json b/src/configurations/destinations/satismeter/schema.json index 6b0f368d3..0307101d2 100644 --- a/src/configurations/destinations/satismeter/schema.json +++ b/src/configurations/destinations/satismeter/schema.json @@ -8,9 +8,22 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "identifyAnonymousUsers": { "type": "boolean", "default": false }, - "recordSatismeterEvents": { "type": "boolean", "default": false }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "identifyAnonymousUsers": { + "type": "boolean", + "default": false + }, + "recordSatismeterEvents": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -56,14 +69,21 @@ "allOf": [ { "if": { - "properties": { "recordSatismeterEvents": { "const": true } }, + "properties": { + "recordSatismeterEvents": { + "const": true + } + }, "required": ["recordSatismeterEvents"] }, "then": { "properties": { "eventsList": { "type": "array", - "items": { "type": "string", "enum": ["display", "dismiss", "progress", "complete"] }, + "items": { + "type": "string", + "enum": ["display", "dismiss", "progress", "complete"] + }, "default": ["display"] } }, @@ -72,19 +92,32 @@ }, { "if": { - "properties": { "recordSatismeterEvents": { "const": true } }, + "properties": { + "recordSatismeterEvents": { + "const": true + } + }, "required": ["recordSatismeterEvents"] }, "then": { - "properties": { "updateEventNames": { "type": "boolean", "default": false } }, + "properties": { + "updateEventNames": { + "type": "boolean", + "default": false + } + }, "required": [] } }, { "if": { "properties": { - "recordSatismeterEvents": { "const": true }, - "updateEventNames": { "const": true } + "recordSatismeterEvents": { + "const": true + }, + "updateEventNames": { + "const": true + } }, "required": ["recordSatismeterEvents", "updateEventNames"] }, diff --git a/src/configurations/destinations/segment/db-config.json b/src/configurations/destinations/segment/db-config.json index 19fa8d3e1..1e63d54ce 100644 --- a/src/configurations/destinations/segment/db-config.json +++ b/src/configurations/destinations/segment/db-config.json @@ -33,7 +33,9 @@ "cordova": ["cloud"], "shopify": ["cloud"] }, - "destConfig": { "defaultConfig": ["writeKey", "oneTrustCookieCategories"] }, + "destConfig": { + "defaultConfig": ["writeKey", "oneTrustCookieCategories"] + }, "secretKeys": [] } } diff --git a/src/configurations/destinations/sendgrid/ui-config.json b/src/configurations/destinations/sendgrid/ui-config.json index 84c312f20..e74946fa6 100644 --- a/src/configurations/destinations/sendgrid/ui-config.json +++ b/src/configurations/destinations/sendgrid/ui-config.json @@ -19,7 +19,12 @@ "required": true, "placeholder": "e.g. Sample subject" }, - { "type": "textInput", "label": "Template ID", "value": "templateId", "required": false }, + { + "type": "textInput", + "label": "Template ID", + "value": "templateId", + "required": false + }, { "type": "checkbox", "label": "Get email ID from traits", @@ -78,8 +83,18 @@ { "title": "From", "fields": [ - { "type": "textInput", "label": "Email ID", "value": "fromEmail", "required": true }, - { "type": "textInput", "label": "Name", "value": "fromName", "required": false } + { + "type": "textInput", + "label": "Email ID", + "value": "fromEmail", + "required": true + }, + { + "type": "textInput", + "label": "Name", + "value": "fromName", + "required": false + } ] }, { @@ -107,8 +122,18 @@ "type": "dynamicCustomForm", "value": "contents", "customFields": [ - { "type": "textInput", "label": "Type", "value": "type", "required": false }, - { "type": "textInput", "label": "Value", "value": "value", "required": false } + { + "type": "textInput", + "label": "Type", + "value": "type", + "required": false + }, + { + "type": "textInput", + "label": "Value", + "value": "value", + "required": false + } ] } ] @@ -120,16 +145,36 @@ "type": "dynamicCustomForm", "value": "attachments", "customFields": [ - { "type": "textInput", "label": "Content", "value": "content", "required": false }, - { "type": "textInput", "label": "Type", "value": "type", "required": false }, - { "type": "textInput", "label": "Filename", "value": "filename", "required": false }, + { + "type": "textInput", + "label": "Content", + "value": "content", + "required": false + }, + { + "type": "textInput", + "label": "Type", + "value": "type", + "required": false + }, + { + "type": "textInput", + "label": "Filename", + "value": "filename", + "required": false + }, { "type": "textInput", "label": "Disposition", "value": "disposition", "required": false }, - { "type": "textInput", "label": "Content ID", "value": "contentId", "required": false } + { + "type": "textInput", + "label": "Content ID", + "value": "contentId", + "required": false + } ] } ] @@ -162,22 +207,38 @@ { "title": "Email Settings", "fields": [ - { "type": "checkbox", "label": "Footer", "value": "footer", "default": false }, + { + "type": "checkbox", + "label": "Footer", + "value": "footer", + "default": false + }, { "type": "textInput", - "preRequisiteField": { "name": "footer", "selectedValue": true }, + "preRequisiteField": { + "name": "footer", + "selectedValue": true + }, "label": "Text", "value": "footerText", "required": false }, { "type": "textInput", - "preRequisiteField": { "name": "footer", "selectedValue": true }, + "preRequisiteField": { + "name": "footer", + "selectedValue": true + }, "label": "HTML", "value": "footerHtml", "required": false }, - { "type": "checkbox", "label": "Sandbox Mode", "value": "sandboxMode", "default": false } + { + "type": "checkbox", + "label": "Sandbox Mode", + "value": "sandboxMode", + "default": false + } ] }, { @@ -195,11 +256,19 @@ "value": "clickTrackingEnableText", "default": false }, - { "type": "checkbox", "label": "Open Tracking", "value": "openTracking", "default": false }, + { + "type": "checkbox", + "label": "Open Tracking", + "value": "openTracking", + "default": false + }, { "type": "textInput", "label": "Substitution Tag", - "preRequisiteField": { "name": "openTracking", "selectedValue": true }, + "preRequisiteField": { + "name": "openTracking", + "selectedValue": true + }, "value": "openTrackingSubstitutionTag", "required": false, "placeholder": "e.g. %open-track%" @@ -212,57 +281,86 @@ }, { "type": "textInput", - "preRequisiteField": { "name": "subscriptionTracking", "selectedValue": true }, + "preRequisiteField": { + "name": "subscriptionTracking", + "selectedValue": true + }, "label": "Text", "value": "text", "required": false }, { "type": "textInput", - "preRequisiteField": { "name": "subscriptionTracking", "selectedValue": true }, + "preRequisiteField": { + "name": "subscriptionTracking", + "selectedValue": true + }, "label": "HTML", "value": "html", "required": false }, { "type": "textInput", - "preRequisiteField": { "name": "subscriptionTracking", "selectedValue": true }, + "preRequisiteField": { + "name": "subscriptionTracking", + "selectedValue": true + }, "label": "Substitution Tag", "value": "substitutionTag", "required": false }, - { "type": "checkbox", "label": "GAnalytics", "value": "ganalytics", "default": false }, + { + "type": "checkbox", + "label": "GAnalytics", + "value": "ganalytics", + "default": false + }, { "type": "textInput", - "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, + "preRequisiteField": { + "name": "ganalytics", + "selectedValue": true + }, "label": "utm source", "value": "utmSource", "required": false }, { "type": "textInput", - "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, + "preRequisiteField": { + "name": "ganalytics", + "selectedValue": true + }, "label": "utm medium", "value": "utmMedium", "required": false }, { "type": "textInput", - "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, + "preRequisiteField": { + "name": "ganalytics", + "selectedValue": true + }, "label": "utm term", "value": "utmTerm", "required": false }, { "type": "textInput", - "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, + "preRequisiteField": { + "name": "ganalytics", + "selectedValue": true + }, "label": "utm content", "value": "utmContent", "required": false }, { "type": "textInput", - "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, + "preRequisiteField": { + "name": "ganalytics", + "selectedValue": true + }, "label": "utm campaign", "value": "utmCampaign", "required": false diff --git a/src/configurations/destinations/sendinblue/db-config.json b/src/configurations/destinations/sendinblue/db-config.json index 54fc70d17..11600a79f 100644 --- a/src/configurations/destinations/sendinblue/db-config.json +++ b/src/configurations/destinations/sendinblue/db-config.json @@ -29,7 +29,9 @@ ], "supportedMessageTypes": { "cloud": ["track", "identify", "page"], - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/sendinblue/schema.json b/src/configurations/destinations/sendinblue/schema.json index 291ed7ba1..94403434a 100644 --- a/src/configurations/destinations/sendinblue/schema.json +++ b/src/configurations/destinations/sendinblue/schema.json @@ -12,9 +12,22 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "doi": { "type": "boolean", "default": false }, - "sendTraitsInTrack": { "type": "boolean", "default": false }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "doi": { + "type": "boolean", + "default": false + }, + "sendTraitsInTrack": { + "type": "boolean", + "default": false + }, "contactAttributeMapping": { "type": "array", "items": { @@ -75,7 +88,14 @@ }, "anyOf": [ { - "if": { "properties": { "doi": { "const": true } }, "required": ["doi"] }, + "if": { + "properties": { + "doi": { + "const": true + } + }, + "required": ["doi"] + }, "then": { "properties": { "templateId": { diff --git a/src/configurations/destinations/sentry/db-config.json b/src/configurations/destinations/sentry/db-config.json index fa5682e8e..716027e81 100644 --- a/src/configurations/destinations/sentry/db-config.json +++ b/src/configurations/destinations/sentry/db-config.json @@ -24,7 +24,9 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { "web": ["identify"] } + "device": { + "web": ["identify"] + } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/sentry/schema.json b/src/configurations/destinations/sentry/schema.json index be30ceecf..ae28092b4 100644 --- a/src/configurations/destinations/sentry/schema.json +++ b/src/configurations/destinations/sentry/schema.json @@ -4,12 +4,24 @@ "required": ["dsn"], "type": "object", "properties": { - "dsn": { "type": "string" }, - "environment": { "type": "string" }, - "customVersionProperty": { "type": "string" }, - "release": { "type": "string" }, - "serverName": { "type": "string" }, - "logger": { "type": "string" }, + "dsn": { + "type": "string" + }, + "environment": { + "type": "string" + }, + "customVersionProperty": { + "type": "string" + }, + "release": { + "type": "string" + }, + "serverName": { + "type": "string" + }, + "logger": { + "type": "string" + }, "ignoreErrors": { "type": "array", "items": { @@ -58,8 +70,18 @@ } } }, - "debugMode": { "type": "boolean", "default": false }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "debugMode": { + "type": "boolean", + "default": false + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/shynet/db-config.json b/src/configurations/destinations/shynet/db-config.json index 720219e35..6436271bc 100644 --- a/src/configurations/destinations/shynet/db-config.json +++ b/src/configurations/destinations/shynet/db-config.json @@ -28,7 +28,9 @@ ], "supportedMessageTypes": { "cloud": ["page"], - "device": { "web": ["page"] } + "device": { + "web": ["page"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/shynet/schema.json b/src/configurations/destinations/shynet/schema.json index cdb150b84..336ff9831 100644 --- a/src/configurations/destinations/shynet/schema.json +++ b/src/configurations/destinations/shynet/schema.json @@ -12,7 +12,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,300})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/signl4/schema.json b/src/configurations/destinations/signl4/schema.json index dda4e9f9e..71fba1610 100644 --- a/src/configurations/destinations/signl4/schema.json +++ b/src/configurations/destinations/signl4/schema.json @@ -50,7 +50,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "s4Filter": { "type": "boolean", "default": false }, + "s4Filter": { + "type": "boolean", + "default": false + }, "eventToTitleMapping": { "type": "array", "items": { diff --git a/src/configurations/destinations/signl4/ui-config.json b/src/configurations/destinations/signl4/ui-config.json index a304cf552..13181bc8d 100644 --- a/src/configurations/destinations/signl4/ui-config.json +++ b/src/configurations/destinations/signl4/ui-config.json @@ -76,11 +76,23 @@ "value": "s4AlertingScenarioValue", "required": false, "options": [ - { "name": "single_ack", "value": "single_ack" }, - { "name": "multi_ack", "value": "multi_ack" }, - { "name": "emergency", "value": "emergency" } + { + "name": "single_ack", + "value": "single_ack" + }, + { + "name": "multi_ack", + "value": "multi_ack" + }, + { + "name": "emergency", + "value": "emergency" + } ], - "defaultOption": { "name": "single_ack", "value": "single_ack" } + "defaultOption": { + "name": "single_ack", + "value": "single_ack" + } }, { "type": "textInput", @@ -130,11 +142,23 @@ "value": "s4StatusValue", "required": false, "options": [ - { "name": "new", "value": "new" }, - { "name": "acknowledged", "value": "acknowledged" }, - { "name": "resolved", "value": "resolved" } + { + "name": "new", + "value": "new" + }, + { + "name": "acknowledged", + "value": "acknowledged" + }, + { + "name": "resolved", + "value": "resolved" + } ], - "defaultOption": { "name": "new", "value": "new" } + "defaultOption": { + "name": "new", + "value": "new" + } }, { "type": "textInput", diff --git a/src/configurations/destinations/singular/schema.json b/src/configurations/destinations/singular/schema.json index 2582c434f..d731b4df2 100644 --- a/src/configurations/destinations/singular/schema.json +++ b/src/configurations/destinations/singular/schema.json @@ -27,10 +27,18 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { "type": "boolean" }, - "ios": { "type": "boolean" }, - "reactnative": { "type": "boolean" }, - "cordova": { "type": "boolean" } + "android": { + "type": "boolean" + }, + "ios": { + "type": "boolean" + }, + "reactnative": { + "type": "boolean" + }, + "cordova": { + "type": "boolean" + } } }, "eventFilteringOption": { diff --git a/src/configurations/destinations/snap_pixel/db-config.json b/src/configurations/destinations/snap_pixel/db-config.json index bc9ab91a8..74a45693f 100644 --- a/src/configurations/destinations/snap_pixel/db-config.json +++ b/src/configurations/destinations/snap_pixel/db-config.json @@ -22,7 +22,9 @@ "web": ["device"] }, "supportedMessageTypes": { - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/snapchat_conversion/schema.json b/src/configurations/destinations/snapchat_conversion/schema.json index e3ffe35d9..9c1602e50 100644 --- a/src/configurations/destinations/snapchat_conversion/schema.json +++ b/src/configurations/destinations/snapchat_conversion/schema.json @@ -69,7 +69,10 @@ } } }, - "enableDeduplication": { "type": "boolean", "default": false }, + "enableDeduplication": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -86,7 +89,11 @@ "anyOf": [ { "if": { - "properties": { "enableDeduplication": { "const": true } }, + "properties": { + "enableDeduplication": { + "const": true + } + }, "required": ["enableDeduplication"] }, "then": { diff --git a/src/configurations/destinations/snapchat_conversion/ui-config.json b/src/configurations/destinations/snapchat_conversion/ui-config.json index 54595bf54..bd2bf7d91 100644 --- a/src/configurations/destinations/snapchat_conversion/ui-config.json +++ b/src/configurations/destinations/snapchat_conversion/ui-config.json @@ -60,37 +60,130 @@ "required": false, "placeholderLeft": "e.g. Product Searched", "options": [ - { "name": "Products Searched", "value": "products_searched" }, - { "name": "Product List Viewed", "value": "product_list_viewed" }, - { "name": "Promotion Viewed", "value": "promotion_viewed" }, - { "name": "Promotion Clicked", "value": "promotion_clicked" }, - { "name": "Product Viewed", "value": "product_viewed" }, - { "name": "Checkout Started", "value": "checkout_started" }, - { "name": "Payment Info Entered", "value": "payment_info_entered" }, - { "name": "Order Completed", "value": "order_completed" }, - { "name": "Product Added", "value": "product_added" }, - { "name": "Product Added To Wishlist", "value": "product_added_to_wishlist" }, - { "name": "Sign Up", "value": "sign_up" }, - { "name": "App Open", "value": "app_open" }, - { "name": "Save", "value": "save" }, - { "name": "Subscribe", "value": "subscribe" }, - { "name": "Complete Tutorial", "value": "complete_tutorial" }, - { "name": "Invite", "value": "invite" }, - { "name": "Login", "value": "login" }, - { "name": "Share", "value": "share" }, - { "name": "Reserve", "value": "reserve" }, - { "name": "Achievement Unlocked", "value": "achievement_unlocked" }, - { "name": "Spent Credits", "value": "spent_credits" }, - { "name": "Rate", "value": "rate" }, - { "name": "Start Trial", "value": "start_trial" }, - { "name": "List View", "value": "list_view" }, - { "name": "Page View", "value": "page_view" }, - { "name": "App Install", "value": "app_install" }, - { "name": "Custom Event 1", "value": "custom_event_1" }, - { "name": "Custom Event 2", "value": "custom_event_2" }, - { "name": "Custom Event 3", "value": "custom_event_3" }, - { "name": "Custom Event 4", "value": "custom_event_4" }, - { "name": "Custom Event 5", "value": "custom_event_5" } + { + "name": "Products Searched", + "value": "products_searched" + }, + { + "name": "Product List Viewed", + "value": "product_list_viewed" + }, + { + "name": "Promotion Viewed", + "value": "promotion_viewed" + }, + { + "name": "Promotion Clicked", + "value": "promotion_clicked" + }, + { + "name": "Product Viewed", + "value": "product_viewed" + }, + { + "name": "Checkout Started", + "value": "checkout_started" + }, + { + "name": "Payment Info Entered", + "value": "payment_info_entered" + }, + { + "name": "Order Completed", + "value": "order_completed" + }, + { + "name": "Product Added", + "value": "product_added" + }, + { + "name": "Product Added To Wishlist", + "value": "product_added_to_wishlist" + }, + { + "name": "Sign Up", + "value": "sign_up" + }, + { + "name": "App Open", + "value": "app_open" + }, + { + "name": "Save", + "value": "save" + }, + { + "name": "Subscribe", + "value": "subscribe" + }, + { + "name": "Complete Tutorial", + "value": "complete_tutorial" + }, + { + "name": "Invite", + "value": "invite" + }, + { + "name": "Login", + "value": "login" + }, + { + "name": "Share", + "value": "share" + }, + { + "name": "Reserve", + "value": "reserve" + }, + { + "name": "Achievement Unlocked", + "value": "achievement_unlocked" + }, + { + "name": "Spent Credits", + "value": "spent_credits" + }, + { + "name": "Rate", + "value": "rate" + }, + { + "name": "Start Trial", + "value": "start_trial" + }, + { + "name": "List View", + "value": "list_view" + }, + { + "name": "Page View", + "value": "page_view" + }, + { + "name": "App Install", + "value": "app_install" + }, + { + "name": "Custom Event 1", + "value": "custom_event_1" + }, + { + "name": "Custom Event 2", + "value": "custom_event_2" + }, + { + "name": "Custom Event 3", + "value": "custom_event_3" + }, + { + "name": "Custom Event 4", + "value": "custom_event_4" + }, + { + "name": "Custom Event 5", + "value": "custom_event_5" + } ] } ] @@ -106,7 +199,12 @@ }, { "type": "textInput", - "preRequisiteField": [{ "name": "enableDeduplication", "selectedValue": true }], + "preRequisiteField": [ + { + "name": "enableDeduplication", + "selectedValue": true + } + ], "label": "Deduplication Key", "value": "deduplicationKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$", diff --git a/src/configurations/destinations/snapchat_custom_audience/schema.json b/src/configurations/destinations/snapchat_custom_audience/schema.json index e3f6aa58b..632ae2990 100644 --- a/src/configurations/destinations/snapchat_custom_audience/schema.json +++ b/src/configurations/destinations/snapchat_custom_audience/schema.json @@ -8,8 +8,15 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "schema": { "type": "string", "enum": ["email", "phone", "mobileAdId"], "default": "email" }, - "disableHashing": { "type": "boolean", "default": false }, + "schema": { + "type": "string", + "enum": ["email", "phone", "mobileAdId"], + "default": "email" + }, + "disableHashing": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/snapchat_custom_audience/ui-config.json b/src/configurations/destinations/snapchat_custom_audience/ui-config.json index 83b659e56..c8aa3cb49 100644 --- a/src/configurations/destinations/snapchat_custom_audience/ui-config.json +++ b/src/configurations/destinations/snapchat_custom_audience/ui-config.json @@ -25,11 +25,23 @@ "required": true, "mode": "single", "options": [ - { "name": "Email", "value": "email" }, - { "name": "Phone", "value": "phone" }, - { "name": "Mobile Ad Id", "value": "mobileAdId" } + { + "name": "Email", + "value": "email" + }, + { + "name": "Phone", + "value": "phone" + }, + { + "name": "Mobile Ad Id", + "value": "mobileAdId" + } ], - "defaultOption": { "name": "Email", "value": "email" }, + "defaultOption": { + "name": "Email", + "value": "email" + }, "footerNote": "Schema of your Audience" }, { diff --git a/src/configurations/destinations/snapengage/schema.json b/src/configurations/destinations/snapengage/schema.json index c3fdbeac3..e4541b1ce 100644 --- a/src/configurations/destinations/snapengage/schema.json +++ b/src/configurations/destinations/snapengage/schema.json @@ -8,8 +8,18 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "recordLiveChatEvents": { "type": "boolean", "default": false }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "recordLiveChatEvents": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -55,19 +65,32 @@ "allOf": [ { "if": { - "properties": { "recordLiveChatEvents": { "const": true } }, + "properties": { + "recordLiveChatEvents": { + "const": true + } + }, "required": ["recordLiveChatEvents"] }, "then": { - "properties": { "updateEventNames": { "type": "boolean", "default": false } }, + "properties": { + "updateEventNames": { + "type": "boolean", + "default": false + } + }, "required": [] } }, { "if": { "properties": { - "recordLiveChatEvents": { "const": true }, - "updateEventNames": { "const": true } + "recordLiveChatEvents": { + "const": true + }, + "updateEventNames": { + "const": true + } }, "required": ["recordLiveChatEvents", "updateEventNames"] }, diff --git a/src/configurations/destinations/snowflake/schema.json b/src/configurations/destinations/snowflake/schema.json index 36b185cba..b7e6f1da6 100644 --- a/src/configurations/destinations/snowflake/schema.json +++ b/src/configurations/destinations/snowflake/schema.json @@ -32,7 +32,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "password": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, "namespace": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" @@ -42,12 +45,18 @@ "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { "type": "string" }, + "syncStartAt": { + "type": "string" + }, "excludeWindow": { "type": "object", "properties": { - "excludeWindowStartTime": { "type": "string" }, - "excludeWindowEndTime": { "type": "string" } + "excludeWindowStartTime": { + "type": "string" + }, + "excludeWindowEndTime": { + "type": "string" + } }, "required": ["excludeWindowStartTime", "excludeWindowEndTime"] }, @@ -55,7 +64,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.*)$" }, - "useRudderStorage": { "type": "boolean", "default": false }, + "useRudderStorage": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -72,14 +84,23 @@ "type": "array", "items": { "type": "object", - "properties": { "purpose": { "type": "string", "pattern": "^(.{0,100})$" } } + "properties": { + "purpose": { + "type": "string", + "pattern": "^(.{0,100})$" + } + } } } }, "allOf": [ { "if": { - "properties": { "useRudderStorage": { "const": false } }, + "properties": { + "useRudderStorage": { + "const": false + } + }, "required": ["useRudderStorage"] }, "then": { @@ -100,8 +121,12 @@ { "if": { "properties": { - "cloudProvider": { "const": "AWS" }, - "useRudderStorage": { "const": false } + "cloudProvider": { + "const": "AWS" + }, + "useRudderStorage": { + "const": false + } }, "required": ["cloudProvider", "useRudderStorage"] }, @@ -115,8 +140,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { "type": "boolean", "default": true }, - "enableSSE": { "type": "boolean", "default": false } + "roleBasedAuth": { + "type": "boolean", + "default": true + }, + "enableSSE": { + "type": "boolean", + "default": false + } }, "required": ["bucketName"], "anyOf": [ @@ -130,7 +161,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "roleBasedAuth": { "const": false } + "roleBasedAuth": { + "const": false + } }, "required": ["accessKeyID", "accessKey"] }, @@ -140,7 +173,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "roleBasedAuth": { "const": true } + "roleBasedAuth": { + "const": true + } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -150,8 +185,12 @@ { "if": { "properties": { - "cloudProvider": { "const": "GCP" }, - "useRudderStorage": { "const": false } + "cloudProvider": { + "const": "GCP" + }, + "useRudderStorage": { + "const": false + } }, "required": ["cloudProvider", "useRudderStorage"] }, @@ -176,8 +215,12 @@ { "if": { "properties": { - "cloudProvider": { "const": "AZURE" }, - "useRudderStorage": { "const": false } + "cloudProvider": { + "const": "AZURE" + }, + "useRudderStorage": { + "const": false + } }, "required": ["cloudProvider", "useRudderStorage"] }, @@ -195,7 +238,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { "type": "boolean", "default": false } + "useSASTokens": { + "type": "boolean", + "default": false + } }, "required": ["containerName", "storageIntegration", "accountName"], "anyOf": [ @@ -205,7 +251,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { "const": false } + "useSASTokens": { + "const": false + } }, "required": ["accountKey"] }, @@ -215,7 +263,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.+)$" }, - "useSASTokens": { "const": true } + "useSASTokens": { + "const": true + } }, "required": ["sasToken", "useSASTokens"] } diff --git a/src/configurations/destinations/statsig/schema.json b/src/configurations/destinations/statsig/schema.json index 6977a42a8..91090e32d 100644 --- a/src/configurations/destinations/statsig/schema.json +++ b/src/configurations/destinations/statsig/schema.json @@ -23,17 +23,50 @@ "connectionMode": { "type": "object", "properties": { - "android": { "type": "string", "enum": ["cloud"] }, - "ios": { "type": "string", "enum": ["cloud"] }, - "web": { "type": "string", "enum": ["cloud"] }, - "unity": { "type": "string", "enum": ["cloud"] }, - "amp": { "type": "string", "enum": ["cloud"] }, - "reactnative": { "type": "string", "enum": ["cloud"] }, - "flutter": { "type": "string", "enum": ["cloud"] }, - "cordova": { "type": "string", "enum": ["cloud"] }, - "shopify": { "type": "string", "enum": ["cloud"] }, - "cloud": { "type": "string", "enum": ["cloud"] }, - "warehouse": { "type": "string", "enum": ["cloud"] } + "android": { + "type": "string", + "enum": ["cloud"] + }, + "ios": { + "type": "string", + "enum": ["cloud"] + }, + "web": { + "type": "string", + "enum": ["cloud"] + }, + "unity": { + "type": "string", + "enum": ["cloud"] + }, + "amp": { + "type": "string", + "enum": ["cloud"] + }, + "reactnative": { + "type": "string", + "enum": ["cloud"] + }, + "flutter": { + "type": "string", + "enum": ["cloud"] + }, + "cordova": { + "type": "string", + "enum": ["cloud"] + }, + "shopify": { + "type": "string", + "enum": ["cloud"] + }, + "cloud": { + "type": "string", + "enum": ["cloud"] + }, + "warehouse": { + "type": "string", + "enum": ["cloud"] + } } } } diff --git a/src/configurations/destinations/tiktok_ads/schema.json b/src/configurations/destinations/tiktok_ads/schema.json index 1c7ff7ca4..0a6890f35 100644 --- a/src/configurations/destinations/tiktok_ads/schema.json +++ b/src/configurations/destinations/tiktok_ads/schema.json @@ -4,13 +4,22 @@ "required": ["pixelCode"], "type": "object", "properties": { - "accessToken": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "accessToken": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, "pixelCode": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "hashUserProperties": { "type": "boolean", "default": true }, - "sendCustomEvents": { "type": "boolean", "default": false }, + "hashUserProperties": { + "type": "boolean", + "default": true + }, + "sendCustomEvents": { + "type": "boolean", + "default": false + }, "eventsToStandard": { "type": "array", "items": { @@ -72,7 +81,14 @@ } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -89,7 +105,12 @@ "type": "array", "items": { "type": "object", - "properties": { "purpose": { "type": "string", "pattern": "^(.{0,100})$" } } + "properties": { + "purpose": { + "type": "string", + "pattern": "^(.{0,100})$" + } + } } } } diff --git a/src/configurations/destinations/tiktok_ads_offline_events/schema.json b/src/configurations/destinations/tiktok_ads_offline_events/schema.json index 9b0a46788..07ed15244 100644 --- a/src/configurations/destinations/tiktok_ads_offline_events/schema.json +++ b/src/configurations/destinations/tiktok_ads_offline_events/schema.json @@ -24,7 +24,10 @@ } } }, - "hashUserProperties": { "type": "boolean", "default": true }, + "hashUserProperties": { + "type": "boolean", + "default": true + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json b/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json index 8b2b8d7ca..57427e77f 100644 --- a/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json +++ b/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json @@ -29,10 +29,22 @@ "required": false, "placeholderLeft": "e.g: Sign up completed", "options": [ - { "name": "Complete Payment", "value": "CompletePayment" }, - { "name": "Contact", "value": "Contact" }, - { "name": "Submit Form", "value": "SubmitForm" }, - { "name": "Subscribe", "value": "Subscribe" } + { + "name": "Complete Payment", + "value": "CompletePayment" + }, + { + "name": "Contact", + "value": "Contact" + }, + { + "name": "Submit Form", + "value": "SubmitForm" + }, + { + "name": "Subscribe", + "value": "Subscribe" + } ] } ] diff --git a/src/configurations/destinations/tiktok_audience/db-config.json b/src/configurations/destinations/tiktok_audience/db-config.json index b74e83bd4..cb21e298b 100644 --- a/src/configurations/destinations/tiktok_audience/db-config.json +++ b/src/configurations/destinations/tiktok_audience/db-config.json @@ -12,7 +12,9 @@ "isAudienceSupported": true, "saveDestinationResponse": true, "supportsBlankAudienceCreation": true, - "supportedMessageTypes": { "cloud": ["audiencelist"] }, + "supportedMessageTypes": { + "cloud": ["audiencelist"] + }, "supportedSourceTypes": ["cloud", "warehouse"], "supportsVisualMapper": true, "syncBehaviours": ["mirror"], @@ -23,5 +25,7 @@ "warehouse": ["adAccountId"] } }, - "options": { "isBeta": true } + "options": { + "isBeta": true + } } diff --git a/src/configurations/destinations/trengo/ui-config.json b/src/configurations/destinations/trengo/ui-config.json index 735490954..12ae7b1d6 100644 --- a/src/configurations/destinations/trengo/ui-config.json +++ b/src/configurations/destinations/trengo/ui-config.json @@ -30,10 +30,19 @@ "label": "Channel Identifier", "value": "channelIdentifier", "options": [ - { "name": "Email", "value": "email" }, - { "name": "Phone", "value": "phone" } + { + "name": "Email", + "value": "email" + }, + { + "name": "Phone", + "value": "phone" + } ], - "defaultOption": { "name": "Email", "value": "email" }, + "defaultOption": { + "name": "Email", + "value": "email" + }, "required": true }, { diff --git a/src/configurations/destinations/tvsquared/db-config.json b/src/configurations/destinations/tvsquared/db-config.json index bf92153bf..9855ce67b 100644 --- a/src/configurations/destinations/tvsquared/db-config.json +++ b/src/configurations/destinations/tvsquared/db-config.json @@ -19,7 +19,11 @@ "supportedConnectionModes": { "web": ["device"] }, - "supportedMessageTypes": { "device": { "web": ["track", "page"] } }, + "supportedMessageTypes": { + "device": { + "web": ["track", "page"] + } + }, "destConfig": { "defaultConfig": [ "brandId", diff --git a/src/configurations/destinations/variance/db-config.json b/src/configurations/destinations/variance/db-config.json index 5d02a03c4..929253462 100644 --- a/src/configurations/destinations/variance/db-config.json +++ b/src/configurations/destinations/variance/db-config.json @@ -31,7 +31,9 @@ "cordova": ["cloud"], "shopify": ["cloud"] }, - "destConfig": { "defaultConfig": ["webhookUrl", "authHeader", "oneTrustCookieCategories"] }, + "destConfig": { + "defaultConfig": ["webhookUrl", "authHeader", "oneTrustCookieCategories"] + }, "secretKeys": ["authHeader"] } } diff --git a/src/configurations/destinations/vero/db-config.json b/src/configurations/destinations/vero/db-config.json index 7f22cde0e..97a7b1b8a 100644 --- a/src/configurations/destinations/vero/db-config.json +++ b/src/configurations/destinations/vero/db-config.json @@ -27,7 +27,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track", "page", "screen", "alias"], - "device": { "web": ["identify", "track", "page", "alias"] } + "device": { + "web": ["identify", "track", "page", "alias"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/vero/schema.json b/src/configurations/destinations/vero/schema.json index 7980232ec..151bf6936 100644 --- a/src/configurations/destinations/vero/schema.json +++ b/src/configurations/destinations/vero/schema.json @@ -17,7 +17,14 @@ } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/vwo/db-config.json b/src/configurations/destinations/vwo/db-config.json index c169647e5..7242a6533 100644 --- a/src/configurations/destinations/vwo/db-config.json +++ b/src/configurations/destinations/vwo/db-config.json @@ -23,7 +23,9 @@ "web": ["device"] }, "supportedMessageTypes": { - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/vwo/schema.json b/src/configurations/destinations/vwo/schema.json index 33a0819d8..399458491 100644 --- a/src/configurations/destinations/vwo/schema.json +++ b/src/configurations/destinations/vwo/schema.json @@ -8,10 +8,26 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "isSPA": { "type": "boolean", "default": false }, - "sendExperimentTrack": { "type": "boolean", "default": false }, - "sendExperimentIdentify": { "type": "boolean", "default": false }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "isSPA": { + "type": "boolean", + "default": false + }, + "sendExperimentTrack": { + "type": "boolean", + "default": false + }, + "sendExperimentIdentify": { + "type": "boolean", + "default": false + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -49,7 +65,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "useExistingJquery": { "type": "boolean", "default": false }, + "useExistingJquery": { + "type": "boolean", + "default": false + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/webengage/schema.json b/src/configurations/destinations/webengage/schema.json index d1c041860..4bb3629dc 100644 --- a/src/configurations/destinations/webengage/schema.json +++ b/src/configurations/destinations/webengage/schema.json @@ -12,7 +12,11 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "dataCenter": { "type": "string", "enum": ["standard", "ind"], "default": "standard" }, + "dataCenter": { + "type": "string", + "enum": ["standard", "ind"], + "default": "standard" + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/webengage/ui-config.json b/src/configurations/destinations/webengage/ui-config.json index 41b940904..a01cf465d 100644 --- a/src/configurations/destinations/webengage/ui-config.json +++ b/src/configurations/destinations/webengage/ui-config.json @@ -27,10 +27,19 @@ "value": "dataCenter", "required": true, "options": [ - { "name": "Standard", "value": "standard" }, - { "name": "IND", "value": "ind" } + { + "name": "Standard", + "value": "standard" + }, + { + "name": "IND", + "value": "ind" + } ], - "defaultOption": { "name": "Standard", "value": "standard" } + "defaultOption": { + "name": "Standard", + "value": "standard" + } } ] }, diff --git a/src/configurations/destinations/webhook/ui-config.json b/src/configurations/destinations/webhook/ui-config.json index 4fc1b0b21..2f39f9eec 100644 --- a/src/configurations/destinations/webhook/ui-config.json +++ b/src/configurations/destinations/webhook/ui-config.json @@ -17,13 +17,31 @@ "value": "webhookMethod", "placeholder": "POST", "options": [ - { "name": "POST", "value": "POST" }, - { "name": "PUT", "value": "PUT" }, - { "name": "PATCH", "value": "PATCH" }, - { "name": "GET", "value": "GET" }, - { "name": "DELETE", "value": "DELETE" } + { + "name": "POST", + "value": "POST" + }, + { + "name": "PUT", + "value": "PUT" + }, + { + "name": "PATCH", + "value": "PATCH" + }, + { + "name": "GET", + "value": "GET" + }, + { + "name": "DELETE", + "value": "DELETE" + } ], - "defaultOption": { "name": "POST", "value": "POST" } + "defaultOption": { + "name": "POST", + "value": "POST" + } }, { "type": "dynamicForm", diff --git a/src/configurations/destinations/woopra/db-config.json b/src/configurations/destinations/woopra/db-config.json index 48a09b044..50779d34e 100644 --- a/src/configurations/destinations/woopra/db-config.json +++ b/src/configurations/destinations/woopra/db-config.json @@ -37,7 +37,9 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track", "page"], - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "supportedConnectionModes": { "web": ["cloud", "device"] diff --git a/src/configurations/destinations/woopra/schema.json b/src/configurations/destinations/woopra/schema.json index 9e36b7f90..3a7a1f38c 100644 --- a/src/configurations/destinations/woopra/schema.json +++ b/src/configurations/destinations/woopra/schema.json @@ -16,21 +16,46 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "clickTracking": { "type": "boolean", "default": false }, + "clickTracking": { + "type": "boolean", + "default": false + }, "cookiePath": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "downloadTracking": { "type": "boolean", "default": true }, - "hideCampaign": { "type": "boolean", "default": false }, + "downloadTracking": { + "type": "boolean", + "default": true + }, + "hideCampaign": { + "type": "boolean", + "default": false + }, "idleTimeout": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^([0-9]+)$" }, - "ignoreQueryUrl": { "type": "boolean", "default": true }, - "outgoingIgnoreSubdomain": { "type": "boolean", "default": true }, - "outgoingTracking": { "type": "boolean", "default": false }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "ignoreQueryUrl": { + "type": "boolean", + "default": true + }, + "outgoingIgnoreSubdomain": { + "type": "boolean", + "default": true + }, + "outgoingTracking": { + "type": "boolean", + "default": false + }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/woopra/ui-config.json b/src/configurations/destinations/woopra/ui-config.json index 8bd76ee98..602ba2132 100644 --- a/src/configurations/destinations/woopra/ui-config.json +++ b/src/configurations/destinations/woopra/ui-config.json @@ -71,7 +71,7 @@ "value": "hideCampaign", "required": false, "default": false, - "footerNote": "Enabling this option will remove campaign properties from the URL when they\u2019re captured. Default: False." + "footerNote": "Enabling this option will remove campaign properties from the URL when they’re captured. Default: False." }, { "type": "textInput", diff --git a/src/configurations/destinations/wootric/schema.json b/src/configurations/destinations/wootric/schema.json index 0647ad77d..8437204ed 100644 --- a/src/configurations/destinations/wootric/schema.json +++ b/src/configurations/destinations/wootric/schema.json @@ -8,7 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "password": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" + }, "accountToken": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" diff --git a/src/configurations/destinations/yahoo_dsp/schema.json b/src/configurations/destinations/yahoo_dsp/schema.json index cb3230eab..c3cdc3cb4 100644 --- a/src/configurations/destinations/yahoo_dsp/schema.json +++ b/src/configurations/destinations/yahoo_dsp/schema.json @@ -25,7 +25,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "hashRequired": { "type": "boolean", "default": true }, + "hashRequired": { + "type": "boolean", + "default": true + }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -42,12 +45,20 @@ "anyOf": [ { "if": { - "properties": { "audienceType": { "const": "DEVICE_ID" } }, + "properties": { + "audienceType": { + "const": "DEVICE_ID" + } + }, "required": ["audienceType"] }, "then": { "properties": { - "seedListType": { "type": "string", "enum": ["GPADVID", "IDFA"], "default": "GPADVID" } + "seedListType": { + "type": "string", + "enum": ["GPADVID", "IDFA"], + "default": "GPADVID" + } }, "required": ["seedListType"] } diff --git a/src/configurations/destinations/yahoo_dsp/ui-config.json b/src/configurations/destinations/yahoo_dsp/ui-config.json index 03b07168f..3778fc171 100644 --- a/src/configurations/destinations/yahoo_dsp/ui-config.json +++ b/src/configurations/destinations/yahoo_dsp/ui-config.json @@ -53,11 +53,23 @@ "required": true, "placeholder": "Email", "options": [ - { "name": "Email", "value": "EMAIL" }, - { "name": "Device Id", "value": "DEVICE_ID" }, - { "name": "IP Address", "value": "IP_ADDRESS" } + { + "name": "Email", + "value": "EMAIL" + }, + { + "name": "Device Id", + "value": "DEVICE_ID" + }, + { + "name": "IP Address", + "value": "IP_ADDRESS" + } ], - "defaultOption": { "name": "Email", "value": "EMAIL" } + "defaultOption": { + "name": "Email", + "value": "EMAIL" + } }, { "type": "singleSelect", @@ -66,11 +78,23 @@ "required": true, "placeholder": "Google (GPADVID)", "options": [ - { "name": "Google (GPADVID)", "value": "GPADVID" }, - { "name": "Apple (IDFA)", "value": "IDFA" } + { + "name": "Google (GPADVID)", + "value": "GPADVID" + }, + { + "name": "Apple (IDFA)", + "value": "IDFA" + } ], - "defaultOption": { "name": "Google (GPADVID)", "value": "GPADVID" }, - "preRequisiteField": { "name": "audienceType", "selectedValue": "DEVICE_ID" }, + "defaultOption": { + "name": "Google (GPADVID)", + "value": "GPADVID" + }, + "preRequisiteField": { + "name": "audienceType", + "selectedValue": "DEVICE_ID" + }, "footerNote": "Your device type" }, { diff --git a/src/configurations/destinations/yandex_metrica/db-config.json b/src/configurations/destinations/yandex_metrica/db-config.json index cb55e80d4..bebfc392b 100644 --- a/src/configurations/destinations/yandex_metrica/db-config.json +++ b/src/configurations/destinations/yandex_metrica/db-config.json @@ -21,7 +21,9 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { "web": ["identify", "track", "page"] } + "device": { + "web": ["identify", "track", "page"] + } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/yandex_metrica/schema.json b/src/configurations/destinations/yandex_metrica/schema.json index 4d3723dc0..f0c132d77 100644 --- a/src/configurations/destinations/yandex_metrica/schema.json +++ b/src/configurations/destinations/yandex_metrica/schema.json @@ -8,10 +8,22 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "clickMap": { "type": "boolean", "default": false }, - "trackLinks": { "type": "boolean", "default": false }, - "trackBounce": { "type": "boolean", "default": false }, - "webvisor": { "type": "boolean", "default": false }, + "clickMap": { + "type": "boolean", + "default": false + }, + "trackLinks": { + "type": "boolean", + "default": false + }, + "trackBounce": { + "type": "boolean", + "default": false + }, + "webvisor": { + "type": "boolean", + "default": false + }, "containerName": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -25,7 +37,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "to": { "type": "string", "enum": ["detail", "add", "remove", "purchase", ""] } + "to": { + "type": "string", + "enum": ["detail", "add", "remove", "purchase", ""] + } } } }, @@ -33,7 +48,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/sources/reactnative/metadata.json b/src/configurations/sources/reactnative/metadata.json index 04b72d189..9cb3f05d3 100644 --- a/src/configurations/sources/reactnative/metadata.json +++ b/src/configurations/sources/reactnative/metadata.json @@ -1 +1,4 @@ -{ "docCategory": "", "docLink": "" } +{ + "docCategory": "", + "docLink": "" +} diff --git a/src/configurations/sources/revenuecat/db-config.json b/src/configurations/sources/revenuecat/db-config.json index 7cec85186..e49874cb2 100644 --- a/src/configurations/sources/revenuecat/db-config.json +++ b/src/configurations/sources/revenuecat/db-config.json @@ -2,6 +2,8 @@ "name": "revenuecat", "category": "webhook", "displayName": "Revenuecat", - "options": { "isBeta": true }, + "options": { + "isBeta": true + }, "type": "cloud" } diff --git a/test/configData/db-config.json b/test/configData/db-config.json index 6bec2b986..3534d61bc 100644 --- a/test/configData/db-config.json +++ b/test/configData/db-config.json @@ -20,8 +20,12 @@ "warehouse" ], "supportedConnectionModes": [], - "destConfig": { "defaultConfig": ["key1", "key2", "key3", "key4", "key5", "key6", "key7"] }, + "destConfig": { + "defaultConfig": ["key1", "key2", "key3", "key4", "key5", "key6", "key7"] + }, "secretKeys": [] }, - "options": { "isBeta": false } + "options": { + "isBeta": false + } } diff --git a/test/configData/ui-config.json b/test/configData/ui-config.json index e0cd5415e..2c2ecef16 100644 --- a/test/configData/ui-config.json +++ b/test/configData/ui-config.json @@ -76,7 +76,14 @@ "regex": "^(.{0,100})$", "placeholder": "value4", "secret": false, - "preRequisites": { "fields": [{ "configKey": "key3", "value": true }] } + "preRequisites": { + "fields": [ + { + "configKey": "key3", + "value": true + } + ] + } }, { "type": "singleSelect", @@ -84,9 +91,18 @@ "label": "Label5", "note": "Any additional note for this field", "options": [ - { "label": "optionLabel1", "value": "optionKey1" }, - { "label": "optionLabel2", "value": "optionKey2" }, - { "label": "optionLabel3", "value": "optionKey3" } + { + "label": "optionLabel1", + "value": "optionKey1" + }, + { + "label": "optionLabel2", + "value": "optionKey2" + }, + { + "label": "optionLabel3", + "value": "optionKey3" + } ], "default": "optionKey2" }, @@ -96,8 +112,14 @@ "configKey": "key6", "note": "Any additional note for this field", "options": [ - { "label": "optionLabel1", "value": "optionKey1" }, - { "label": "optionLabel2", "value": "optionKey2" } + { + "label": "optionLabel1", + "value": "optionKey1" + }, + { + "label": "optionLabel2", + "value": "optionKey2" + } ], "default": ["optionKey1"] }, @@ -116,6 +138,10 @@ ] } ], - "sdkTemplate": { "title": "Web SDK settings", "note": "not visible in the ui", "fields": [] } + "sdkTemplate": { + "title": "Web SDK settings", + "note": "not visible in the ui", + "fields": [] + } } } diff --git a/test/data/validation/destinations/active_campaign.json b/test/data/validation/destinations/active_campaign.json index ed8b802bc..75cf4bd03 100644 --- a/test/data/validation/destinations/active_campaign.json +++ b/test/data/validation/destinations/active_campaign.json @@ -9,7 +9,9 @@ "result": true }, { - "config": { "apiUrl": "https://jellyvision-staging.api-us1.com" }, + "config": { + "apiUrl": "https://jellyvision-staging.api-us1.com" + }, "result": false, "err": [" must have required property 'apiKey'"] }, diff --git a/test/data/validation/destinations/adroll.json b/test/data/validation/destinations/adroll.json index c811fdbe4..a12f8335e 100644 --- a/test/data/validation/destinations/adroll.json +++ b/test/data/validation/destinations/adroll.json @@ -4,10 +4,27 @@ "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], - "blacklistedEvents": [{ "eventName": "b1" }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] + "whitelistedEvents": [ + { + "eventName": "w1" + }, + { + "eventName": "w2" + } + ], + "blacklistedEvents": [ + { + "eventName": "b1" + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Marketing" + } + ] }, "result": true }, @@ -15,10 +32,27 @@ "config": { "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], - "blacklistedEvents": [{ "eventName": "b1" }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] + "whitelistedEvents": [ + { + "eventName": "w1" + }, + { + "eventName": "w2" + } + ], + "blacklistedEvents": [ + { + "eventName": "b1" + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Marketing" + } + ] }, "result": false, "err": [" must have required property 'advId'"] @@ -28,10 +62,27 @@ "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }, { "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "whitelistedEvents": [ + { + "eventName": "" + }, + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": true }, @@ -40,10 +91,25 @@ "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], - "blacklistedEvents": [{ "eventName": "b1" }], + "whitelistedEvents": [ + { + "eventName": "w1" + }, + { + "eventName": "w2" + } + ], + "blacklistedEvents": [ + { + "eventName": "b1" + } + ], "useNativeSDK": true, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Marketing" + } + ] }, "result": false, "err": ["useNativeSDK must be object"] @@ -52,10 +118,27 @@ "config": { "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], - "blacklistedEvents": [{ "eventName": "b1" }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] + "whitelistedEvents": [ + { + "eventName": "w1" + }, + { + "eventName": "w2" + } + ], + "blacklistedEvents": [ + { + "eventName": "b1" + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Marketing" + } + ] }, "result": false, "err": [" must have required property 'pixId'"] @@ -66,9 +149,21 @@ "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", "whitelistedEvents": [], - "blacklistedEvents": [{ "eventName": { "key": "eventValue" } }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] + "blacklistedEvents": [ + { + "eventName": { + "key": "eventValue" + } + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Marketing" + } + ] }, "result": false, "err": ["blacklistedEvents.0.eventName must be string"] diff --git a/test/data/validation/destinations/axeptio.json b/test/data/validation/destinations/axeptio.json index 1d901856a..2d9bfbd13 100644 --- a/test/data/validation/destinations/axeptio.json +++ b/test/data/validation/destinations/axeptio.json @@ -4,10 +4,24 @@ "clientId": "dskh4ryfhc347896ryfh", "toggleToActivateCallback": true, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": true }, @@ -16,10 +30,24 @@ "clientId": "", "toggleToActivateCallback": true, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": ["clientId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -29,10 +57,24 @@ "clientId": "dskh4ryfhc347896ryfh", "toggleToActivateCallback": "false", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": ["toggleToActivateCallback must be boolean"] diff --git a/test/data/validation/destinations/braze.json b/test/data/validation/destinations/braze.json index d611b1194..ba2649504 100644 --- a/test/data/validation/destinations/braze.json +++ b/test/data/validation/destinations/braze.json @@ -201,7 +201,9 @@ "appKey": "78100f65-3e76-464d-ba20-425b2fd81a13", "restApiKey": "b40db80d-12a9-49f0-7822-5c6bv1be983a", "dataCenter": "US-01", - "sendPurchaseEventWithExtraProperties": { "cloud": true }, + "sendPurchaseEventWithExtraProperties": { + "cloud": true + }, "whitelistedEvents": [], "blacklistedEvents": [], "connectionMode": { diff --git a/test/data/validation/destinations/clickup.json b/test/data/validation/destinations/clickup.json index e1d881a33..b928359ea 100644 --- a/test/data/validation/destinations/clickup.json +++ b/test/data/validation/destinations/clickup.json @@ -9,7 +9,11 @@ "to": "industry" } ], - "whitelistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ] }, "result": true }, @@ -35,7 +39,14 @@ "to": "paymentStatus" } ], - "whitelistedEvents": [{ "eventName": "" }, { "eventName": "Product Viewed" }] + "whitelistedEvents": [ + { + "eventName": "" + }, + { + "eventName": "Product Viewed" + } + ] }, "result": true }, diff --git a/test/data/validation/destinations/convertflow.json b/test/data/validation/destinations/convertflow.json index 9d2eba871..1ebc965a8 100644 --- a/test/data/validation/destinations/convertflow.json +++ b/test/data/validation/destinations/convertflow.json @@ -4,12 +4,31 @@ "websiteId": "", "toggleToSendData": false, "eventsList": "cfView", - "eventsMapping": [{ "from": "cfView", "to": "Viewed CTA" }], + "eventsMapping": [ + { + "from": "cfView", + "to": "Viewed CTA" + } + ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": ["websiteId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,10})$\""] @@ -19,12 +38,31 @@ "websiteId": "47838", "toggleToSendData": "false", "eventsList": "cfView", - "eventsMapping": [{ "from": "cfView", "to": "Viewed CTA" }], + "eventsMapping": [ + { + "from": "cfView", + "to": "Viewed CTA" + } + ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": ["toggleToSendData must be boolean"] @@ -34,12 +72,31 @@ "websiteId": "23894", "toggleToSendData": true, "eventsList": ["cfView"], - "eventsMapping": [{ "from": "cfView", "to": "Viewed CTA" }], + "eventsMapping": [ + { + "from": "cfView", + "to": "Viewed CTA" + } + ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": true } diff --git a/test/data/validation/destinations/criteo.json b/test/data/validation/destinations/criteo.json index 8fd8b7795..a0faf3b4f 100644 --- a/test/data/validation/destinations/criteo.json +++ b/test/data/validation/destinations/criteo.json @@ -4,17 +4,42 @@ "accountId": "12", "homePageUrl": "https://www.google.com", "hashMethod": "md5", - "fieldMapping": [{ "from": "signup", "to": "billing" }], - "whitelistedEvents": [{ "eventName": "login" }], - "blacklistedEvents": [{ "eventName": "ad_disabled" }], + "fieldMapping": [ + { + "from": "signup", + "to": "billing" + } + ], + "whitelistedEvents": [ + { + "eventName": "login" + } + ], + "blacklistedEvents": [ + { + "eventName": "ad_disabled" + } + ], "eventFilteringOption": "whitelistedEvents", - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "product" }], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "product" + } + ], "eventsToStandard": [ - { "from": "add to cart", "to": "product viewed" }, - { "from": "cart checkout", "to": "cart viewed" } + { + "from": "add to cart", + "to": "product viewed" + }, + { + "from": "cart checkout", + "to": "cart viewed" + } ] }, - "useNativeSDK": { "web": false }, + "useNativeSDK": { + "web": false + }, "result": true }, { @@ -22,33 +47,79 @@ "accountId": "", "homePageUrl": "https://www.facebook.com", "hashMethod": "md5", - "fieldMapping": [{ "from": "signup", "to": "billing" }], - "whitelistedEvents": [{ "eventName": "login" }], - "blacklistedEvents": [{ "eventName": "ad_disabled" }], + "fieldMapping": [ + { + "from": "signup", + "to": "billing" + } + ], + "whitelistedEvents": [ + { + "eventName": "login" + } + ], + "blacklistedEvents": [ + { + "eventName": "ad_disabled" + } + ], "eventFilteringOption": "whitelistedEvents", - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "product" }], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "product" + } + ], "eventsToStandard": [ - { "from": "add to cart", "to": "product viewed" }, - { "from": "cart checkout", "to": "cart viewed" } + { + "from": "add to cart", + "to": "product viewed" + }, + { + "from": "cart checkout", + "to": "cart viewed" + } ] }, - "useNativeSDK": { "web": false }, + "useNativeSDK": { + "web": false + }, "result": false, "err": ["accountId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$\""] }, { "config": { "accountId": "15", - "fieldMapping": [{ "from": "login", "to": "logout" }], - "whitelistedEvents": [{ "eventName": "product added" }], - "blacklistedEvents": [{ "eventName": "ad_disabled" }], + "fieldMapping": [ + { + "from": "login", + "to": "logout" + } + ], + "whitelistedEvents": [ + { + "eventName": "product added" + } + ], + "blacklistedEvents": [ + { + "eventName": "ad_disabled" + } + ], "eventFilteringOption": "whitelistedEvents", "eventsToStandard": [ - { "from": "add to cart", "to": "product viewed" }, - { "from": "cart checkout", "to": "cart viewed" } + { + "from": "add to cart", + "to": "product viewed" + }, + { + "from": "cart checkout", + "to": "cart viewed" + } ] }, - "useNativeSDK": { "web": false }, + "useNativeSDK": { + "web": false + }, "result": true } ] diff --git a/test/data/validation/destinations/criteo_audience.json b/test/data/validation/destinations/criteo_audience.json index 82ae74632..d0011c834 100644 --- a/test/data/validation/destinations/criteo_audience.json +++ b/test/data/validation/destinations/criteo_audience.json @@ -1,24 +1,34 @@ [ { "config": { - "audienceId": { "cloud": "138383" }, + "audienceId": { + "cloud": "138383" + }, "audienceType": "email", - "adAccountId": { "warehouse": "4343434" } + "adAccountId": { + "warehouse": "4343434" + } }, "result": true }, { "config": { "audienceType": "email", - "adAccountId": { "warehouse": "4343434" } + "adAccountId": { + "warehouse": "4343434" + } }, "result": true }, { "config": { - "audienceId": { "cloud": "138383" }, + "audienceId": { + "cloud": "138383" + }, "audienceType": "email", - "adAccountId": { "warehouse": "" } + "adAccountId": { + "warehouse": "" + } }, "result": false, "err": [ @@ -41,7 +51,9 @@ }, { "config": { - "audienceId": { "cloud": "138383" }, + "audienceId": { + "cloud": "138383" + }, "audienceType": "gum", "gumCallerId": "14245" }, diff --git a/test/data/validation/destinations/dcm_floodlight.json b/test/data/validation/destinations/dcm_floodlight.json index 4fb24366c..5fd428458 100644 --- a/test/data/validation/destinations/dcm_floodlight.json +++ b/test/data/validation/destinations/dcm_floodlight.json @@ -11,8 +11,14 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { "from": "RudderstackProperty1", "to": "1" }, - { "from": "RudderstackProperty2", "to": "2" } + { + "from": "RudderstackProperty1", + "to": "1" + }, + { + "from": "RudderstackProperty2", + "to": "2" + } ] }, { @@ -20,7 +26,12 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [{ "from": "", "to": "" }] + "customVariables": [ + { + "from": "", + "to": "" + } + ] } ] }, @@ -38,8 +49,14 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { "from": "RudderstackProperty1", "to": "1" }, - { "from": "RudderstackProperty2", "to": "2" } + { + "from": "RudderstackProperty1", + "to": "1" + }, + { + "from": "RudderstackProperty2", + "to": "2" + } ] }, { @@ -47,7 +64,12 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [{ "from": "", "to": "" }] + "customVariables": [ + { + "from": "", + "to": "" + } + ] } ] }, @@ -68,8 +90,14 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { "from": "RudderstackProperty1", "to": "1" }, - { "from": "RudderstackProperty2", "to": "2" } + { + "from": "RudderstackProperty1", + "to": "1" + }, + { + "from": "RudderstackProperty2", + "to": "2" + } ] }, { @@ -77,19 +105,48 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [{ "from": "", "to": "" }] + "customVariables": [ + { + "from": "", + "to": "" + } + ] } ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, - "conversionLinker": { "web": true }, - "allowAdPersonalizationSignals": { "web": true }, - "tagFormat": { "web": "globalSiteTag" }, - "doubleclickId": { "web": true }, - "googleNetworkId": { "web": "1234" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, + "conversionLinker": { + "web": true + }, + "allowAdPersonalizationSignals": { + "web": true + }, + "tagFormat": { + "web": "globalSiteTag" + }, + "doubleclickId": { + "web": true + }, + "googleNetworkId": { + "web": "1234" + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": true }, @@ -105,8 +162,14 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { "from": "RudderstackProperty1", "to": "1" }, - { "from": "RudderstackProperty2", "to": "2" } + { + "from": "RudderstackProperty1", + "to": "1" + }, + { + "from": "RudderstackProperty2", + "to": "2" + } ] }, { @@ -114,19 +177,48 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [{ "from": "", "to": "" }] + "customVariables": [ + { + "from": "", + "to": "" + } + ] } ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": false }, - "conversionLinker": { "web": true }, - "allowAdPersonalizationSignals": { "web": true }, - "tagFormat": { "web": "iframeTag" }, - "doubleclickId": { "web": false }, - "googleNetworkId": { "web": "1234" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": false + }, + "conversionLinker": { + "web": true + }, + "allowAdPersonalizationSignals": { + "web": true + }, + "tagFormat": { + "web": "iframeTag" + }, + "doubleclickId": { + "web": false + }, + "googleNetworkId": { + "web": "1234" + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": true } diff --git a/test/data/validation/destinations/fb.json b/test/data/validation/destinations/fb.json index 7b0489d01..9a7257427 100644 --- a/test/data/validation/destinations/fb.json +++ b/test/data/validation/destinations/fb.json @@ -7,10 +7,17 @@ "eventFilteringOption": "disable", "whitelistedEvents": [], "blacklistedEvents": [], - "useNativeSDK": { "android": false, "ios": false }, + "useNativeSDK": { + "android": false, + "ios": false + }, "oneTrustCookieCategories": [ - { "oneTrustCookieCategory": "m1a" }, - { "oneTrustCookieCategory": "m1i" } + { + "oneTrustCookieCategory": "m1a" + }, + { + "oneTrustCookieCategory": "m1i" + } ] }, "result": false, @@ -25,10 +32,17 @@ "eventFilteringOption": "disable", "whitelistedEvents": [], "blacklistedEvents": [], - "useNativeSDK": { "android": false, "ios": false }, + "useNativeSDK": { + "android": false, + "ios": false + }, "oneTrustCookieCategories": [ - { "oneTrustCookieCategory": "m1a" }, - { "oneTrustCookieCategory": "m1i" } + { + "oneTrustCookieCategory": "m1a" + }, + { + "oneTrustCookieCategory": "m1i" + } ] }, "result": true diff --git a/test/data/validation/destinations/fullstory.json b/test/data/validation/destinations/fullstory.json index 0de7d990b..4dcfa36c2 100644 --- a/test/data/validation/destinations/fullstory.json +++ b/test/data/validation/destinations/fullstory.json @@ -39,29 +39,69 @@ }, { "config": { - "blacklistedEvents": [{ "eventName": "" }], - "whitelistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], "eventFilteringOption": "disable", - "useNativeSDK": { "web": true }, - "connectionMode": { "web": "device" }, - "fs_debug_mode": { "web": false }, + "useNativeSDK": { + "web": true + }, + "connectionMode": { + "web": "device" + }, + "fs_debug_mode": { + "web": false + }, "fs_org": "dummyorg2", - "fs_host": { "web": "dummyhost.com" } + "fs_host": { + "web": "dummyhost.com" + } }, "result": true }, { "config": { - "blacklistedEvents": [{ "eventName": "" }], - "whitelistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], "eventFilteringOption": "disable", - "useNativeSDK": { "web": true }, - "connectionMode": { "web": "device" }, - "fs_debug_mode": { "web": true }, + "useNativeSDK": { + "web": true + }, + "connectionMode": { + "web": "device" + }, + "fs_debug_mode": { + "web": true + }, "fs_org": "dummyorg", - "fs_host": { "web": "" } + "fs_host": { + "web": "" + } }, "result": true } diff --git a/test/data/validation/destinations/googleads.json b/test/data/validation/destinations/googleads.json index 7ec7db917..bb4102d60 100644 --- a/test/data/validation/destinations/googleads.json +++ b/test/data/validation/destinations/googleads.json @@ -8,13 +8,39 @@ "conversionLinker": true, "disableAdPersonalization": true, "allowEnhancedConversions": false, - "whitelistedEvents": [{ "eventName": "login page" }], - "blacklistedEvents": [{ "eventName": "" }], - "pageLoadConversions": [{ "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }], - "clickEventConversions": [{ "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }], - "useNativeSDK": { "web": true }, - "dynamicRemarketing": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Sales" }] + "whitelistedEvents": [ + { + "eventName": "login page" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "pageLoadConversions": [ + { + "conversionLabel": "ofwinqeoqwefnoewqo9", + "name": "test" + } + ], + "clickEventConversions": [ + { + "conversionLabel": "1qinqwqoqewfnoewqo9", + "name": "clickTest" + } + ], + "useNativeSDK": { + "web": true + }, + "dynamicRemarketing": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Sales" + } + ] }, "result": true }, @@ -27,27 +53,59 @@ "conversionLinker": true, "disableAdPersonalization": true, "allowEnhancedConversions": true, - "whitelistedEvents": [{ "eventName": "login page" }], - "blacklistedEvents": [{ "eventName": "" }], + "whitelistedEvents": [ + { + "eventName": "login page" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], "pageLoadConversions": [ - { "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }, - { "conversionLabel": "idwhcbiwdfbciwdfw", "name": "entry" } + { + "conversionLabel": "ofwinqeoqwefnoewqo9", + "name": "test" + }, + { + "conversionLabel": "idwhcbiwdfbciwdfw", + "name": "entry" + } ], "clickEventConversions": [ - { "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }, - { "conversionLabel": "qwertyasagehrstshregs", "name": "clickedPrev" } + { + "conversionLabel": "1qinqwqoqewfnoewqo9", + "name": "clickTest" + }, + { + "conversionLabel": "qwertyasagehrstshregs", + "name": "clickedPrev" + } ], - "useNativeSDK": { "web": true }, - "dynamicRemarketing": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Business Tool" }] + "useNativeSDK": { + "web": true + }, + "dynamicRemarketing": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Business Tool" + } + ] }, "result": true }, { "config": { "conversionID": "AW-114432", - "useNativeSDK": { "web": true }, - "dynamicRemarketing": { "web": true } + "useNativeSDK": { + "web": true + }, + "dynamicRemarketing": { + "web": true + } }, "result": true }, @@ -59,13 +117,39 @@ "conversionLinker": true, "disableAdPersonalization": true, "allowEnhancedConversions": false, - "whitelistedEvents": [{ "eventName": "login page" }], - "blacklistedEvents": [{ "eventName": "" }], - "pageLoadConversions": [{ "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }], - "clickEventConversions": [{ "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }], - "useNativeSDK": { "web": true }, - "dynamicRemarketing": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Sales" }] + "whitelistedEvents": [ + { + "eventName": "login page" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "pageLoadConversions": [ + { + "conversionLabel": "ofwinqeoqwefnoewqo9", + "name": "test" + } + ], + "clickEventConversions": [ + { + "conversionLabel": "1qinqwqoqewfnoewqo9", + "name": "clickTest" + } + ], + "useNativeSDK": { + "web": true + }, + "dynamicRemarketing": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Sales" + } + ] }, "result": false, "err": [" must have required property 'conversionID'"] @@ -75,16 +159,44 @@ "conversionID": "AW-12321", "eventFilteringOption": "whitelistedEvents", "defaultPageConversion": "poiiopqwewqwwqewq", - "sendPageView": { "sendPageView": true }, + "sendPageView": { + "sendPageView": true + }, "conversionLinker": true, "disableAdPersonalization": true, - "whitelistedEvents": [{ "eventName": "login page" }], - "blacklistedEvents": [{ "eventName": "" }], - "pageLoadConversions": [{ "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }], - "clickEventConversions": [{ "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }], - "useNativeSDK": { "web": true }, - "dynamicRemarketing": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] + "whitelistedEvents": [ + { + "eventName": "login page" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "pageLoadConversions": [ + { + "conversionLabel": "ofwinqeoqwefnoewqo9", + "name": "test" + } + ], + "clickEventConversions": [ + { + "conversionLabel": "1qinqwqoqewfnoewqo9", + "name": "clickTest" + } + ], + "useNativeSDK": { + "web": true + }, + "dynamicRemarketing": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Marketing" + } + ] }, "result": false, "err": ["sendPageView must be boolean"] diff --git a/test/data/validation/destinations/gtm.json b/test/data/validation/destinations/gtm.json index 01b55437e..4de5490d6 100644 --- a/test/data/validation/destinations/gtm.json +++ b/test/data/validation/destinations/gtm.json @@ -4,9 +4,19 @@ "containerID": "GTM-ADDA", "serverUrl": "https://gtm.rudder.com", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "registration" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, + "whitelistedEvents": [ + { + "eventName": "registration" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, "oneTrustCookieCategories": [] }, "result": true @@ -15,9 +25,19 @@ "config": { "serverUrl": "https://gtm.rudder.com", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "registration" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, + "whitelistedEvents": [ + { + "eventName": "registration" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, "oneTrustCookieCategories": [] }, "result": false, @@ -28,9 +48,19 @@ "containerID": "GTM-ADDA", "serverUrl": "badurl", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "registration" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, + "whitelistedEvents": [ + { + "eventName": "registration" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, "oneTrustCookieCategories": [] }, "result": false, @@ -43,9 +73,19 @@ "containerID": "GTM-ADDA", "serverUrl": "", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "registration" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, + "whitelistedEvents": [ + { + "eventName": "registration" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, "oneTrustCookieCategories": [] }, "result": true @@ -55,9 +95,19 @@ "containerID": "GTM-ADDA", "serverUrl": "http://dfff.ngrok.io", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "registration" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, + "whitelistedEvents": [ + { + "eventName": "registration" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, "oneTrustCookieCategories": [] }, "result": false, diff --git a/test/data/validation/destinations/heap.json b/test/data/validation/destinations/heap.json index f180c581e..8d65e1c4d 100644 --- a/test/data/validation/destinations/heap.json +++ b/test/data/validation/destinations/heap.json @@ -3,9 +3,19 @@ "config": { "eventFilteringOption": "whitelistedEvents", "whitelistedEvents": [], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Networking" }] + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Networking" + } + ] }, "result": false, "err": [" must have required property 'appId'"] @@ -14,10 +24,24 @@ "config": { "appId": "3123563341", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "practice test" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Networking" }] + "whitelistedEvents": [ + { + "eventName": "practice test" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Networking" + } + ] }, "result": true } diff --git a/test/data/validation/destinations/hotjar.json b/test/data/validation/destinations/hotjar.json index add2d3635..beaaead9e 100644 --- a/test/data/validation/destinations/hotjar.json +++ b/test/data/validation/destinations/hotjar.json @@ -3,20 +3,48 @@ "config": { "siteID": "hd765380", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": true }, { "config": { "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": [" must have required property 'siteID'"] diff --git a/test/data/validation/destinations/hs.json b/test/data/validation/destinations/hs.json index 48e9f2769..91d6b53d3 100644 --- a/test/data/validation/destinations/hs.json +++ b/test/data/validation/destinations/hs.json @@ -1,13 +1,18 @@ [ { - "config": { "hubID": "20262117", "apiKey": "9ege7142-11be-10bc-a168-df1c714326fv" }, + "config": { + "hubID": "20262117", + "apiKey": "9ege7142-11be-10bc-a168-df1c714326fv" + }, "result": true }, { "config": { "hubID": "25092175", "apiKey": "eu1-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { "web": false }, + "useNativeSDK": { + "web": false + }, "oneTrustCookieCategories": [] }, "result": true @@ -16,19 +21,41 @@ "config": { "hubID": "25092175", "apiKey": "eu2-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { "web": false }, - "whitelistedEvents": [{ "eventName": "sampleHSAllowed" }], - "blacklistedEvents": [{ "eventName": "threat" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] + "useNativeSDK": { + "web": false + }, + "whitelistedEvents": [ + { + "eventName": "sampleHSAllowed" + } + ], + "blacklistedEvents": [ + { + "eventName": "threat" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Pitch" + } + ] }, "result": true }, { "config": { - "hubID": { "hub": "25092175" }, + "hubID": { + "hub": "25092175" + }, "apiKey": "eu2-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { "web": false }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] + "useNativeSDK": { + "web": false + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Pitch" + } + ] }, "result": false, "err": ["hubID must be string"] @@ -37,14 +64,24 @@ "config": { "hubID": "25092175", "apiKey": "eu2-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { "web": false }, + "useNativeSDK": { + "web": false + }, "whitelistedEvents": [ { "eventName": "skjahgshwjwdwenhowskjahgshwjwdwenhowefhrebqwedhewifewskjahgshwjwdwenhowefhrebqwskjahgshwjwdwenhowefhrebqwedhewifewedhewifewefhrebqwedhewifew" } ], - "blacklistedEvents": [{ "eventName": "threat" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] + "blacklistedEvents": [ + { + "eventName": "threat" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Pitch" + } + ] }, "result": false, "err": [ @@ -64,22 +101,42 @@ "rsEventName": "Purchase", "hubspotEventName": "pe22315509_rs_hub_test", "eventProperties": [ - { "from": "Revenue", "to": "value" }, - { "from": "Price", "to": "cost" } + { + "from": "Revenue", + "to": "value" + }, + { + "from": "Price", + "to": "cost" + } ] }, { "rsEventName": "Order Complete", "hubspotEventName": "pe22315509_rs_hub_chair", "eventProperties": [ - { "from": "firstName", "to": "first_name" }, - { "from": "lastName", "to": "last_name" } + { + "from": "firstName", + "to": "first_name" + }, + { + "from": "lastName", + "to": "last_name" + } ] } ], - "blacklistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [ + { + "eventName": "" + } + ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ] }, "result": true }, @@ -96,23 +153,49 @@ "rsEventName": "Purchase", "hubspotEventName": "pe22315509_rs_hub_test", "eventProperties": [ - { "from": "Revenue", "to": "value" }, - { "from": "Price", "to": "cost" } + { + "from": "Revenue", + "to": "value" + }, + { + "from": "Price", + "to": "cost" + } ] }, { "rsEventName": "Order Complete", "hubspotEventName": "pe22315509_rs_hub_chair", "eventProperties": [ - { "from": "firstName", "to": "first_name" }, - { "from": "lastName", "to": "last_name" } + { + "from": "firstName", + "to": "first_name" + }, + { + "from": "lastName", + "to": "last_name" + } ] } ], - "useNativeSDK": { "web": false }, - "whitelistedEvents": [{ "eventName": "sampleHSAllowed" }], - "blacklistedEvents": [{ "eventName": "threat" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] + "useNativeSDK": { + "web": false + }, + "whitelistedEvents": [ + { + "eventName": "sampleHSAllowed" + } + ], + "blacklistedEvents": [ + { + "eventName": "threat" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Pitch" + } + ] }, "result": true } diff --git a/test/data/validation/destinations/impact.json b/test/data/validation/destinations/impact.json index 333b82d0b..19a047aa6 100644 --- a/test/data/validation/destinations/impact.json +++ b/test/data/validation/destinations/impact.json @@ -22,8 +22,16 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": true }, @@ -50,8 +58,16 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": false, "err": ["impactAppId must be string"] @@ -79,8 +95,16 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": false, "err": ["eventTypeId must be string"] @@ -108,8 +132,16 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": false, "err": [ @@ -139,8 +171,16 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": false, "err": ["apiKey must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -168,8 +208,16 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": false, "err": ["campaignId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$\""] @@ -197,8 +245,16 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": true }, @@ -225,8 +281,16 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": true }, @@ -253,8 +317,16 @@ "enableIdentifyEvents": "false", "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": false, "err": ["enableIdentifyEvents must be boolean"] @@ -282,8 +354,16 @@ "enableIdentifyEvents": false, "enablePageEvents": "true", "enableScreenEvents": false, - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": false, "err": ["enablePageEvents must be boolean"] @@ -311,8 +391,16 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": "false", - "actionEventNames": [{ "eventName": "Product Purchased" }], - "installEventNames": [{ "eventName": "App Installed" }] + "actionEventNames": [ + { + "eventName": "Product Purchased" + } + ], + "installEventNames": [ + { + "eventName": "App Installed" + } + ] }, "result": false, "err": ["enableScreenEvents must be boolean"] diff --git a/test/data/validation/destinations/intercom.json b/test/data/validation/destinations/intercom.json index 7ccf2aba2..6cd1dc34b 100644 --- a/test/data/validation/destinations/intercom.json +++ b/test/data/validation/destinations/intercom.json @@ -2,13 +2,30 @@ { "config": { "apiKey": "cdsfvgertefdvcdfgrtfvdgrfvd", - "useNativeSDK": { "web": false }, - "blacklistedEvents": [{ "eventName": "Pin Generated" }, { "eventName": "Pin Expired" }], - "whitelistedEvents": [{ "eventName": "" }], + "useNativeSDK": { + "web": false + }, + "blacklistedEvents": [ + { + "eventName": "Pin Generated" + }, + { + "eventName": "Pin Expired" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], "eventFilteringOption": "blacklistedEvents", "oneTrustCookieCategories": [ - { "oneTrustCookieCategory": "Sales" }, - { "oneTrustCookieCategory": "Marketing" } + { + "oneTrustCookieCategory": "Sales" + }, + { + "oneTrustCookieCategory": "Marketing" + } ] }, "result": false, @@ -17,11 +34,28 @@ { "config": { "appId": "bhjjknlmnbhjnklm", - "useNativeSDK": { "web": false }, - "blacklistedEvents": [{ "eventName": "Pin Generated" }, { "eventName": "Pin Expired" }], - "whitelistedEvents": [{ "eventName": "" }], + "useNativeSDK": { + "web": false + }, + "blacklistedEvents": [ + { + "eventName": "Pin Generated" + }, + { + "eventName": "Pin Expired" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], "eventFilteringOption": "blacklistedEvents", - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "error": [" must have required property 'apiKey'"] @@ -30,11 +64,28 @@ "config": { "apiKey": "dfvgtbheygrefdbfgtyhrgfghtgrfdv", "appId": "bhjjknlmnbhjnklm", - "useNativeSDK": { "web": false }, - "blacklistedEvents": [{ "eventName": "Pin Generated" }, { "eventName": "Pin Expired" }], - "whitelistedEvents": [{ "eventName": "" }], + "useNativeSDK": { + "web": false + }, + "blacklistedEvents": [ + { + "eventName": "Pin Generated" + }, + { + "eventName": "Pin Expired" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], "eventFilteringOption": "blacklistedEvents", - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": true } diff --git a/test/data/validation/destinations/klaviyo.json b/test/data/validation/destinations/klaviyo.json index 0b04dd619..14d2b3fc4 100644 --- a/test/data/validation/destinations/klaviyo.json +++ b/test/data/validation/destinations/klaviyo.json @@ -9,7 +9,9 @@ "sendPageAsTrack": { "web": true }, - "useNativeSDK": { "web": false }, + "useNativeSDK": { + "web": false + }, "connectionMode": { "web": "device" }, @@ -17,9 +19,21 @@ "web": true }, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": [" must have required property 'privateApiKey'"] @@ -35,7 +49,9 @@ "sendPageAsTrack": { "web": true }, - "useNativeSDK": { "web": false }, + "useNativeSDK": { + "web": false + }, "connectionMode": { "web": "hybrid" }, @@ -43,9 +59,21 @@ "web": true }, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": ["connectionMode.web must be equal to one of the allowed values"] @@ -58,7 +86,9 @@ "flattenProperties": false, "enforceEmailAsPrimary": true, "consent": ["sms"], - "useNativeSDK": { "web": false }, + "useNativeSDK": { + "web": false + }, "connectionMode": { "web": "cloud" }, @@ -69,9 +99,21 @@ "web": false }, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": ["listId must be string"] @@ -92,10 +134,24 @@ "web": true }, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": true } diff --git a/test/data/validation/destinations/leanplum.json b/test/data/validation/destinations/leanplum.json index 8aeb8b4c2..a5c4b6f1f 100644 --- a/test/data/validation/destinations/leanplum.json +++ b/test/data/validation/destinations/leanplum.json @@ -5,15 +5,31 @@ "clientKey": "ior6v5j", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "android": true, "ios": false, "flutter": true }, + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "android": true, + "ios": false, + "flutter": true + }, "connectionMode": { "android": "device", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": [ @@ -26,15 +42,31 @@ "clientKey": "", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "android": true, "ios": false, "flutter": true }, + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "android": true, + "ios": false, + "flutter": true + }, "connectionMode": { "android": "device", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": [ @@ -47,15 +79,31 @@ "clientKey": "ior6v5j", "isDevelop": "true", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "android": true, "ios": false, "flutter": true }, + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "android": true, + "ios": false, + "flutter": true + }, "connectionMode": { "android": "device", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": ["isDevelop must be boolean"] @@ -66,15 +114,31 @@ "clientKey": "ior6v5j", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "android": true, "ios": false, "flutter": true }, + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "android": true, + "ios": false, + "flutter": true + }, "connectionMode": { "android": "random", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": ["connectionMode.android must be equal to one of the allowed values"] @@ -85,15 +149,31 @@ "clientKey": "ior6v5j", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "android": "true", "ios": false, "flutter": true }, + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "android": "true", + "ios": false, + "flutter": true + }, "connectionMode": { "android": "hybrid", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": ["useNativeSDK.android must be boolean"] @@ -104,15 +184,31 @@ "clientKey": "ior6v5j", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "android": true, "ios": false, "flutter": true }, + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "android": true, + "ios": false, + "flutter": true + }, "connectionMode": { "android": "hybrid", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": true }, @@ -122,15 +218,29 @@ "clientKey": "ior6v5j", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "android": true, "ios": false, "flutter": true }, + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "android": true, + "ios": false, + "flutter": true + }, "connectionMode": { "android": "hybrid", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": { "oneTrustCookieCategory": "" } + "oneTrustCookieCategories": { + "oneTrustCookieCategory": "" + } }, "result": false, "err": ["oneTrustCookieCategories must be array"] diff --git a/test/data/validation/destinations/monday.json b/test/data/validation/destinations/monday.json index 0a995412f..91be0747a 100644 --- a/test/data/validation/destinations/monday.json +++ b/test/data/validation/destinations/monday.json @@ -10,7 +10,11 @@ "to": "status" } ], - "whitelistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": ["apiToken must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,300})$\""] @@ -26,7 +30,11 @@ "to": "status" } ], - "whitelistedEvents": [{ "eventName": "Product added to cart" }] + "whitelistedEvents": [ + { + "eventName": "Product added to cart" + } + ] }, "result": false, "err": ["boardId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -43,8 +51,12 @@ } ], "whitelistedEvents": [ - { "eventName": "Product purchased" }, - { "eventName": "Product added to cart" } + { + "eventName": "Product purchased" + }, + { + "eventName": "Product added to cart" + } ] }, "result": false, @@ -62,8 +74,12 @@ } ], "whitelistedEvents": [ - { "eventName": "Product purchased" }, - { "eventName": "Product added to cart" } + { + "eventName": "Product purchased" + }, + { + "eventName": "Product added to cart" + } ] }, "result": true diff --git a/test/data/validation/destinations/one_signal.json b/test/data/validation/destinations/one_signal.json index 4d9a122e0..a6dc8da9c 100644 --- a/test/data/validation/destinations/one_signal.json +++ b/test/data/validation/destinations/one_signal.json @@ -5,7 +5,11 @@ "emailDeviceType": false, "smsDeviceType": false, "eventAsTags": false, - "allowedProperties": [{ "propertyName": "" }] + "allowedProperties": [ + { + "propertyName": "" + } + ] }, "result": false, "err": ["appId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -16,7 +20,11 @@ "emailDeviceType": false, "smsDeviceType": false, "eventAsTags": false, - "allowedProperties": [{ "propertyName": "" }] + "allowedProperties": [ + { + "propertyName": "" + } + ] }, "result": true }, @@ -26,7 +34,11 @@ "emailDeviceType": "false", "smsDeviceType": false, "eventAsTags": false, - "allowedProperties": [{ "propertyName": "" }] + "allowedProperties": [ + { + "propertyName": "" + } + ] }, "result": false, "err": ["emailDeviceType must be boolean"] diff --git a/test/data/validation/destinations/ortto.json b/test/data/validation/destinations/ortto.json index 98867aa22..8048635cd 100644 --- a/test/data/validation/destinations/ortto.json +++ b/test/data/validation/destinations/ortto.json @@ -8,16 +8,32 @@ "rsEventName": "Purchase", "orttoEventName": "ortto_event_1", "eventProperties": [ - { "rudderProperty": "Revenue", "orttoProperty": "value", "type": "email" }, - { "rudderProperty": "cost", "orttoProperty": "price", "type": "text" } + { + "rudderProperty": "Revenue", + "orttoProperty": "value", + "type": "email" + }, + { + "rudderProperty": "cost", + "orttoProperty": "price", + "type": "text" + } ] }, { "rsEventName": "Order Complete", "orttoEventName": "ortto_event_2", "eventProperties": [ - { "rudderProperty": "Revenue", "orttoProperty": "value", "type": "email" }, - { "rudderProperty": "cost", "orttoProperty": "price", "type": "text" } + { + "rudderProperty": "Revenue", + "orttoProperty": "value", + "type": "email" + }, + { + "rudderProperty": "cost", + "orttoProperty": "price", + "type": "text" + } ] } ], @@ -45,16 +61,32 @@ "rsEventName": "Purchase", "orttoEventName": "ortto_event_1", "eventProperties": [ - { "rudderProperty": "Revenue", "orttoProperty": "value", "type": "email" }, - { "rudderProperty": "cost", "orttoProperty": "price", "type": "text" } + { + "rudderProperty": "Revenue", + "orttoProperty": "value", + "type": "email" + }, + { + "rudderProperty": "cost", + "orttoProperty": "price", + "type": "text" + } ] }, { "rsEventName": "Order Complete", "orttoEventName": "ortto_event_2", "eventProperties": [ - { "rudderProperty": "Revenue", "orttoProperty": "value", "type": "email" }, - { "rudderProperty": "cost", "orttoProperty": "price", "type": "text" } + { + "rudderProperty": "Revenue", + "orttoProperty": "value", + "type": "email" + }, + { + "rudderProperty": "cost", + "orttoProperty": "price", + "type": "text" + } ] } ], diff --git a/test/data/validation/destinations/podsights.json b/test/data/validation/destinations/podsights.json index f0f99cc73..d828d2fd7 100644 --- a/test/data/validation/destinations/podsights.json +++ b/test/data/validation/destinations/podsights.json @@ -9,8 +9,16 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": ["pixelId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -25,8 +33,16 @@ ], "enableAliasCall": false, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": [" must have required property 'pixelId'"] @@ -42,8 +58,16 @@ ], "enableAliasCall": true, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": ["pixelId must be string"] @@ -58,8 +82,16 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": true } diff --git a/test/data/validation/destinations/qualaroo.json b/test/data/validation/destinations/qualaroo.json index a7ec57e51..fc1416b76 100644 --- a/test/data/validation/destinations/qualaroo.json +++ b/test/data/validation/destinations/qualaroo.json @@ -12,8 +12,16 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": true }, @@ -47,8 +55,16 @@ "recordQualarooEvents": true, "updateEventNames": false, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": true }, @@ -56,8 +72,16 @@ "config": { "siteToken": "j8N", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": [" must have required property 'customerId'"] @@ -66,8 +90,16 @@ "config": { "customerId": "92102", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": [" must have required property 'siteToken'"] @@ -77,8 +109,16 @@ "customerId": "92102", "siteToken": 1234, "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": ["siteToken must be string"] @@ -88,8 +128,16 @@ "customerId": "", "siteToken": "j8N", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": [ @@ -101,8 +149,16 @@ "customerId": "92102", "siteToken": "", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": [ diff --git a/test/data/validation/destinations/quora_pixel.json b/test/data/validation/destinations/quora_pixel.json index 33e337155..aa4e0de7c 100644 --- a/test/data/validation/destinations/quora_pixel.json +++ b/test/data/validation/destinations/quora_pixel.json @@ -9,18 +9,39 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": true }, { "config": { "pixelId": "d2bnp1ubi9x6zq1p89h5hyx2hf5q1k3v", - "eventsToQPEvents": [{ "from": "", "to": "" }], + "eventsToQPEvents": [ + { + "from": "", + "to": "" + } + ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": true }, @@ -42,8 +63,16 @@ } ], "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [{ "eventName": "Anonymous Page Visit" }], - "blacklistedEvents": [{ "eventName": "Credit Card Added" }] + "whitelistedEvents": [ + { + "eventName": "Anonymous Page Visit" + } + ], + "blacklistedEvents": [ + { + "eventName": "Credit Card Added" + } + ] }, "result": true }, @@ -57,8 +86,16 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": ["pixelId must be string"] @@ -73,8 +110,16 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": ["pixelId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -88,8 +133,16 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ] }, "result": false, "err": [" must have required property 'pixelId'"] diff --git a/test/data/validation/destinations/rockerbox.json b/test/data/validation/destinations/rockerbox.json index 6710a7c9e..b3f8ce18b 100644 --- a/test/data/validation/destinations/rockerbox.json +++ b/test/data/validation/destinations/rockerbox.json @@ -3,30 +3,84 @@ "config": { "advertiserId": "test id", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "eventsMap": [{ "from": "Product Added", "to": "conv.add_to_cart" }], - "useNativeSDK": { "web": true }, - "useNativeSDKToSend": { "web": true }, - "clientAuthId": { "web": "test-client-auth-id" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing Sample" }], - "customDomain": { "web": "" }, - "enableCookieSync": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eventsMap": [ + { + "from": "Product Added", + "to": "conv.add_to_cart" + } + ], + "useNativeSDK": { + "web": true + }, + "useNativeSDKToSend": { + "web": true + }, + "clientAuthId": { + "web": "test-client-auth-id" + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Marketing Sample" + } + ], + "customDomain": { + "web": "" + }, + "enableCookieSync": { + "web": false + } }, "result": true }, { "config": { "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "eventsMap": [{ "from": "Product Added", "to": "conv.add_to_cart" }], - "useNativeSDK": { "web": true }, - "useNativeSDKToSend": { "web": true }, - "clientAuthId": { "web": "test-client-auth-id" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing Sample" }], - "customDomain": { "web": "" }, - "enableCookieSync": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eventsMap": [ + { + "from": "Product Added", + "to": "conv.add_to_cart" + } + ], + "useNativeSDK": { + "web": true + }, + "useNativeSDKToSend": { + "web": true + }, + "clientAuthId": { + "web": "test-client-auth-id" + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Marketing Sample" + } + ], + "customDomain": { + "web": "" + }, + "enableCookieSync": { + "web": false + } }, "result": false, "err": [" must have required property 'advertiserId'"] @@ -35,15 +89,42 @@ "config": { "advertiserId": "test id", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "eventsMap": [{ "from": "Product Added", "to": "conv.add_to_cart" }], - "useNativeSDK": { "web": true }, - "useNativeSDKToSend": { "web": true }, - "clientAuthId": { "web": "test-client-auth-id" }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing Sample" }], - "customDomain": { "web": "https://cookiedomain.com" }, - "enableCookieSync": { "web": true } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "eventsMap": [ + { + "from": "Product Added", + "to": "conv.add_to_cart" + } + ], + "useNativeSDK": { + "web": true + }, + "useNativeSDKToSend": { + "web": true + }, + "clientAuthId": { + "web": "test-client-auth-id" + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Marketing Sample" + } + ], + "customDomain": { + "web": "https://cookiedomain.com" + }, + "enableCookieSync": { + "web": true + } }, "result": true } diff --git a/test/data/validation/destinations/sentry.json b/test/data/validation/destinations/sentry.json index d4614d756..681a62e74 100644 --- a/test/data/validation/destinations/sentry.json +++ b/test/data/validation/destinations/sentry.json @@ -9,14 +9,44 @@ "logger": "sentry", "debugMode": false, "eventFilteringOption": "disable", - "ignoreErrors": [{ "ignoreErrors": "" }], - "includePaths": [{ "includePaths": "" }], - "allowUrls": [{ "allowUrls": "" }], - "denyUrls": [{ "denyUrls": "" }], - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "useNativeSDK": { "web": true }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Debugging" }] + "ignoreErrors": [ + { + "ignoreErrors": "" + } + ], + "includePaths": [ + { + "includePaths": "" + } + ], + "allowUrls": [ + { + "allowUrls": "" + } + ], + "denyUrls": [ + { + "denyUrls": "" + } + ], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "useNativeSDK": { + "web": true + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "Debugging" + } + ] }, "result": true }, @@ -29,14 +59,36 @@ "serverName": "", "logger": "", "debugMode": false, - "ignoreErrors": [{ "ignoreErrors": "" }], - "includePaths": [{ "includePaths": "" }], - "allowUrls": [{ "allowUrls": "" }], - "denyUrls": [{ "denyUrls": "" }], - "useNativeSDK": { "web": true }, + "ignoreErrors": [ + { + "ignoreErrors": "" + } + ], + "includePaths": [ + { + "includePaths": "" + } + ], + "allowUrls": [ + { + "allowUrls": "" + } + ], + "denyUrls": [ + { + "denyUrls": "" + } + ], + "useNativeSDK": { + "web": true + }, "blacklistedEvents": {}, "whitelistedEvents": {}, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": ["whitelistedEvents must be array", "blacklistedEvents must be array"] @@ -50,14 +102,36 @@ "serverName": "", "logger": "", "debugMode": false, - "ignoreErrors": [{ "ignoreErrors": "" }], - "includePaths": [{ "includePaths": "" }], - "allowUrls": [{ "allowUrls": "" }], - "denyUrls": [{ "denyUrls": "" }], - "useNativeSDK": { "web": true }, + "ignoreErrors": [ + { + "ignoreErrors": "" + } + ], + "includePaths": [ + { + "includePaths": "" + } + ], + "allowUrls": [ + { + "allowUrls": "" + } + ], + "denyUrls": [ + { + "denyUrls": "" + } + ], + "useNativeSDK": { + "web": true + }, "blackListedEvents": {}, "whiteListedEvents": {}, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": [" must NOT have additional properties", " must NOT have additional properties"] diff --git a/test/data/validation/destinations/tiktok_ads.json b/test/data/validation/destinations/tiktok_ads.json index e9d1beed8..e0dd0d8f0 100644 --- a/test/data/validation/destinations/tiktok_ads.json +++ b/test/data/validation/destinations/tiktok_ads.json @@ -47,7 +47,6 @@ "hashUserProperties": true, "sendCustomEvents": false }, - "result": true }, { diff --git a/test/data/validation/destinations/vero.json b/test/data/validation/destinations/vero.json index 75be927e5..f7d5c5f9a 100644 --- a/test/data/validation/destinations/vero.json +++ b/test/data/validation/destinations/vero.json @@ -2,16 +2,37 @@ { "config": { "authToken": "MOx2ZmMwLNE2A2IdNKL0N2VhN2I3ZGY1MTVmMzA1ODk0YmIkNDZhNTojMTk3YTBlMTg1YmU1NWM0MDA2ZDVmZjY0ZGFiOTVkNDMyYTcwOWFk", - "apiKey": { "web": "755fc11162r14c41ar7e7df232f305984bb021a1" }, - "useNativeSDK": { "web": false }, + "apiKey": { + "web": "755fc11162r14c41ar7e7df232f305984bb021a1" + }, + "useNativeSDK": { + "web": false + }, "blacklistedEvents": { - "web": [{ "eventName": "Pin Generated" }, { "eventName": "Pin Expired" }] + "web": [ + { + "eventName": "Pin Generated" + }, + { + "eventName": "Pin Expired" + } + ] + }, + "whitelistedEvents": { + "web": [ + { + "eventName": "" + } + ] }, - "whitelistedEvents": { "web": [{ "eventName": "" }] }, "eventFilteringOption": "blacklistedEvents", "oneTrustCookieCategories": [ - { "oneTrustCookieCategory": "Sales" }, - { "oneTrustCookieCategory": "Marketing" } + { + "oneTrustCookieCategory": "Sales" + }, + { + "oneTrustCookieCategory": "Marketing" + } ] }, "result": false, @@ -21,22 +42,52 @@ "config": { "authToken": "wbiwefbwiefbfkbfwekj", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "apiKey": { "web": "bkajbdskasbdkbadasdsa" }, - "useNativeSDK": { "web": false }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "apiKey": { + "web": "bkajbdskasbdkbadasdsa" + }, + "useNativeSDK": { + "web": false + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": true }, { "config": { "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], "apiKey": "djykdftkuf", - "useNativeSDK": { "web": false }, - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] + "useNativeSDK": { + "web": false + }, + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ] }, "result": false, "err": ["apiKey must be object"] diff --git a/test/data/validation/destinations/yandex_metrica.json b/test/data/validation/destinations/yandex_metrica.json index 44907ed0a..84ff52cce 100644 --- a/test/data/validation/destinations/yandex_metrica.json +++ b/test/data/validation/destinations/yandex_metrica.json @@ -7,13 +7,32 @@ "trackBounce": false, "webvisor": false, "containerName": "dataLayer", - "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], + "eventNameToYandexEvent": [ + { + "from": "Order Done", + "to": "add" + } + ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": ["tagId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -26,13 +45,32 @@ "trackBounce": false, "webvisor": false, "containerName": "dataLayer", - "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], + "eventNameToYandexEvent": [ + { + "from": "Order Done", + "to": "add" + } + ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": ["clickMap must be boolean"] @@ -45,13 +83,32 @@ "trackBounce": false, "webvisor": false, "containerName": "", - "eventNameToYandexEvent": [{ "from": true, "to": "add" }], + "eventNameToYandexEvent": [ + { + "from": true, + "to": "add" + } + ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": ["eventNameToYandexEvent.0.from must be string"] @@ -64,13 +121,32 @@ "trackBounce": false, "webvisor": false, "containerName": false, - "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], + "eventNameToYandexEvent": [ + { + "from": "Order Done", + "to": "add" + } + ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": ["containerName must be string"] @@ -83,13 +159,32 @@ "trackBounce": false, "webvisor": false, "containerName": "dataLayer", - "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], + "eventNameToYandexEvent": [ + { + "from": "Order Done", + "to": "add" + } + ], "goalId": "43dfd443", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": ["goalId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$\""] @@ -103,15 +198,35 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { "from": "Order Done", "to": "purchase" }, - { "from": "Viewing Product", "to": "detail" } + { + "from": "Order Done", + "to": "purchase" + }, + { + "from": "Viewing Product", + "to": "detail" + } ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": "false" } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": "false" + } }, "result": false, "err": ["useNativeSDK.web must be boolean"] @@ -125,15 +240,35 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { "from": "Order Done", "to": "purchase" }, - { "from": "Viewing Product", "to": "detail" } + { + "from": "Order Done", + "to": "purchase" + }, + { + "from": "Viewing Product", + "to": "detail" + } ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": 123 }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": 123 + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": ["whitelistedEvents.0.eventName must be string"] @@ -147,15 +282,35 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { "from": "Order Done", "to": "purchase" }, - { "from": "Viewing Product", "to": "detail" } + { + "from": "Order Done", + "to": "purchase" + }, + { + "from": "Viewing Product", + "to": "detail" + } ], "goalId": "4342432", "eventFilteringOption": true, - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": false, "err": [ @@ -172,15 +327,35 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { "from": "Order Done", "to": "purchase" }, - { "from": "Viewing Product", "to": "detail" } + { + "from": "Order Done", + "to": "purchase" + }, + { + "from": "Viewing Product", + "to": "detail" + } ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [{ "eventName": "" }], - "blacklistedEvents": [{ "eventName": "" }], - "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], - "useNativeSDK": { "web": false } + "whitelistedEvents": [ + { + "eventName": "" + } + ], + "blacklistedEvents": [ + { + "eventName": "" + } + ], + "oneTrustCookieCategories": [ + { + "oneTrustCookieCategory": "" + } + ], + "useNativeSDK": { + "web": false + } }, "result": true } From 09da97ff3f783f234fa78a428e4ff2ea5265c29b Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Wed, 20 Dec 2023 14:35:19 +0530 Subject: [PATCH 14/17] fix: merge conditions --- scripts/schemaGenerator.py | 15 +++++++++++---- .../destinations/ga4/ui-config.json | 2 ++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index 37b44444d..a6c791786 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -1163,10 +1163,17 @@ def validate_config_consistency(name, selector, uiConfig, dbConfig, schema, shou # TODO: This is a hack to ensure we don't lose any existing schema validations if schema: - if "allOf" in schema and "allOf" not in generatedSchema["configSchema"]: - generatedSchema["configSchema"]["allOf"] = schema["allOf"] - if "anyOf" in schema and "anyOf" not in generatedSchema["configSchema"]: - generatedSchema["configSchema"]["anyOf"] = schema["anyOf"] + if "allOf" in schema: + if "allOf" not in generatedSchema["configSchema"]: + generatedSchema["configSchema"]["allOf"] = [] + generatedSchema["configSchema"]["allOf"].extend(schema["allOf"]) + generatedSchema["configSchema"]["allOf"] = [i for n, i in enumerate(generatedSchema["configSchema"]["allOf"]) if i not in generatedSchema["configSchema"]["allOf"][n + 1:]] + + if "anyOf" in schema: + if "anyOf" not in generatedSchema["configSchema"]: + generatedSchema["configSchema"]["anyOf"] = [] + generatedSchema["configSchema"]["anyOf"].extend(schema["anyOf"]) + generatedSchema["configSchema"]["anyOf"] = [i for n, i in enumerate(generatedSchema["configSchema"]["anyOf"]) if i not in generatedSchema["configSchema"]["anyOf"][n + 1:]] if schema: schemaDiff = get_json_diff(schema, generatedSchema["configSchema"]) diff --git a/src/configurations/destinations/ga4/ui-config.json b/src/configurations/destinations/ga4/ui-config.json index 1f0987c4c..541a1c21d 100644 --- a/src/configurations/destinations/ga4/ui-config.json +++ b/src/configurations/destinations/ga4/ui-config.json @@ -54,6 +54,7 @@ "regexErrorMessage": "Invalid Measurement Id", "note": "Enter the ID associated with your stream. Find this under Admin > Data Streams > choose your stream > Measurement ID", "placeholder": "e.g: G-AB1CD2E34F", + "required": true, "secret": false }, { @@ -72,6 +73,7 @@ "regexErrorMessage": "Invalid Firebase App Id", "note": "Enter the ID associated with your stream. Find this under Admin > Data Streams > choose your stream > Firebase App ID", "placeholder": "e.g: 2:637XX8496727:web:a4284b4cXXe329d5", + "required": true, "secret": false } ] From 86b5eb5a74207ca1f4b8b33ef27382f520afcfa2 Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Wed, 20 Dec 2023 14:36:24 +0530 Subject: [PATCH 15/17] Revert "chore: formatting changes" This reverts commit 4d16da5d7d36165a1f84c6e5bbe8b1d604f8d92e. --- .../destinations/active_campaign/schema.json | 9 +- .../destinations/adobe_analytics/schema.json | 73 +--- .../destinations/adroll/db-config.json | 4 +- .../destinations/adroll/schema.json | 9 +- .../destinations/af/schema.json | 29 +- .../destinations/am/schema.json | 185 ++------- .../destinations/appcenter/ui-config.json | 2 +- .../destinations/appcues/db-config.json | 4 +- .../destinations/axeptio/db-config.json | 4 +- .../destinations/axeptio/schema.json | 14 +- .../destinations/azure_blob/ui-config.json | 14 +- .../destinations/azure_datalake/schema.json | 32 +- .../azure_datalake/ui-config.json | 54 +-- .../destinations/azure_synapse/schema.json | 155 ++----- .../destinations/azure_synapse/ui-config.json | 300 +++----------- .../destinations/bingads/db-config.json | 4 +- .../destinations/bingads_audience/schema.json | 5 +- .../destinations/blueshift/ui-config.json | 15 +- .../destinations/bq/schema.json | 42 +- .../destinations/bq/ui-config.json | 55 +-- .../destinations/braze/db-config.json | 1 + .../destinations/braze/schema.json | 91 +---- .../destinations/bugsnag/db-config.json | 6 +- .../destinations/bugsnag/ui-config.json | 2 +- .../destinations/campaign_manager/schema.json | 20 +- .../destinations/canny/schema.json | 5 +- .../destinations/canny/ui-config.json | 10 +- .../destinations/chartbeat/db-config.json | 4 +- .../destinations/clickhouse/schema.json | 177 ++------ .../destinations/clickhouse/ui-config.json | 297 +++----------- .../destinations/convertflow/db-config.json | 4 +- .../destinations/convertflow/schema.json | 20 +- .../destinations/criteo/db-config.json | 4 +- .../destinations/criteo/schema.json | 15 +- .../destinations/criteo_audience/schema.json | 6 +- .../criteo_audience/ui-config.json | 30 +- .../destinations/custify/schema.json | 5 +- .../destinations/customerio/db-config.json | 4 +- .../destinations/customerio/schema.json | 7 +- .../dcm_floodlight/db-config.json | 4 +- .../destinations/delighted/ui-config.json | 15 +- .../destinations/deltalake/schema.json | 167 ++------ .../destinations/deltalake/ui-config.json | 279 +++---------- .../destinations/discord/schema.json | 19 +- .../destinations/discord/ui-config.json | 10 +- .../destinations/drip/db-config.json | 4 +- .../destinations/dynamic_yield/schema.json | 14 +- .../destinations/engage/db-config.json | 4 +- .../destinations/engage/schema.json | 19 +- .../destinations/eventbridge/ui-config.json | 15 +- .../facebook_conversions/db-config.json | 4 +- .../facebook_conversions/schema.json | 19 +- .../facebook_offline_conversions/schema.json | 9 +- .../ui-config.json | 106 +---- .../facebook_pixel/db-config.json | 4 +- .../destinations/facebook_pixel/schema.json | 48 +-- .../destinations/fb/schema.json | 26 +- .../fb_custom_audience/ui-config.json | 386 ++++-------------- .../destinations/firehose/ui-config.json | 15 +- .../destinations/freshmarketer/schema.json | 5 +- .../destinations/freshmarketer/ui-config.json | 10 +- .../destinations/freshsales/schema.json | 5 +- .../destinations/freshsales/ui-config.json | 10 +- .../destinations/fullstory/db-config.json | 4 +- .../destinations/fullstory/schema.json | 56 +-- .../destinations/ga/db-config.json | 4 +- .../destinations/ga/schema.json | 115 +----- .../destinations/gcs/schema.json | 5 +- .../destinations/gcs_datalake/schema.json | 14 +- .../destinations/gcs_datalake/ui-config.json | 65 +-- .../db-config.json | 4 +- .../schema.json | 35 +- .../ui-config.json | 72 +--- .../ui-config.json | 53 +-- .../google_cloud_function/schema.json | 22 +- .../google_cloud_function/ui-config.json | 12 +- .../destinations/googleads/schema.json | 82 +--- .../destinations/googlepubsub/schema.json | 5 +- .../destinations/gtm/schema.json | 9 +- .../destinations/heap/db-config.json | 4 +- .../destinations/heap/schema.json | 9 +- .../destinations/hotjar/schema.json | 9 +- .../destinations/hs/schema.json | 41 +- .../destinations/impact/schema.json | 20 +- .../destinations/intercom/schema.json | 27 +- .../destinations/june/schema.json | 9 +- .../destinations/kafka/ui-config.json | 85 +--- .../destinations/kinesis/schema.json | 30 +- .../destinations/kinesis/ui-config.json | 15 +- .../destinations/klaviyo/db-config.json | 4 +- .../destinations/klaviyo/schema.json | 44 +- .../destinations/lambda/schema.json | 44 +- .../destinations/lambda/ui-config.json | 20 +- .../destinations/leanplum/schema.json | 32 +- .../destinations/lemnisk/schema.json | 41 +- .../linkedin_insight_tag/db-config.json | 4 +- .../destinations/livechat/db-config.json | 4 +- .../destinations/livechat/schema.json | 41 +- .../destinations/lotame/db-config.json | 5 +- .../destinations/lotame_mobile/db-config.json | 7 +- .../destinations/lotame_mobile/ui-config.json | 20 +- .../destinations/lytics/db-config.json | 4 +- .../destinations/mailchimp/schema.json | 5 +- .../marketo_bulk_upload/ui-config.json | 20 +- .../marketo_static_list/db-config.json | 4 +- .../destinations/mautic/schema.json | 17 +- .../destinations/mautic/ui-config.json | 29 +- .../microsoft_clarity/db-config.json | 4 +- .../microsoft_clarity/schema.json | 14 +- .../destinations/mouseflow/schema.json | 9 +- .../destinations/mssql/schema.json | 97 +---- .../destinations/mssql/ui-config.json | 300 +++----------- .../destinations/new_relic/schema.json | 16 +- .../destinations/new_relic/ui-config.json | 15 +- .../destinations/olark/schema.json | 35 +- .../destinations/ometria/ui-config.json | 20 +- .../destinations/one_signal/schema.json | 15 +- .../destinations/one_signal/ui-config.json | 8 +- .../destinations/optimizely/db-config.json | 6 +- .../destinations/ortto/schema.json | 55 +-- .../destinations/ortto/ui-config.json | 1 + .../destinations/pagerduty/schema.json | 4 +- .../destinations/pardot/db-config.json | 10 +- .../destinations/personalize/schema.json | 30 +- .../destinations/personalize/ui-config.json | 35 +- .../destinations/pinterest_tag/db-config.json | 4 +- .../destinations/pinterest_tag/schema.json | 65 +-- .../destinations/pipedream/ui-config.json | 30 +- .../destinations/pipedrive/db-config.json | 4 +- .../destinations/podsights/schema.json | 14 +- .../destinations/postgres/schema.json | 198 ++------- .../destinations/postgres/ui-config.json | 315 +++----------- .../destinations/qualaroo/schema.json | 46 +-- .../destinations/quora_pixel/schema.json | 9 +- .../destinations/reddit/schema.json | 54 +-- .../destinations/redis/schema.json | 38 +- .../destinations/redis/ui-config.json | 29 +- .../destinations/refiner/schema.json | 9 +- .../destinations/revenue_cat/ui-config.json | 35 +- .../destinations/rockerbox/db-config.json | 4 +- .../destinations/rockerbox/schema.json | 25 +- .../destinations/rollbar/db-config.json | 4 +- .../destinations/rollbar/schema.json | 29 +- .../destinations/rs/schema.json | 54 +-- .../destinations/rs/ui-config.json | 107 +---- .../destinations/s3/schema.json | 30 +- .../destinations/s3/ui-config.json | 15 +- .../destinations/s3_datalake/schema.json | 58 +-- .../destinations/s3_datalake/ui-config.json | 65 +-- .../destinations/salesforce/schema.json | 15 +- .../destinations/salesforce/ui-config.json | 7 +- .../salesforce_oauth/db-config.json | 4 +- .../destinations/salesforce_oauth/schema.json | 15 +- .../salesforce_oauth/ui-config.json | 7 +- .../destinations/satismeter/db-config.json | 4 +- .../destinations/satismeter/schema.json | 51 +-- .../destinations/segment/db-config.json | 4 +- .../destinations/sendgrid/ui-config.json | 146 ++----- .../destinations/sendinblue/db-config.json | 4 +- .../destinations/sendinblue/schema.json | 28 +- .../destinations/sentry/db-config.json | 4 +- .../destinations/sentry/schema.json | 38 +- .../destinations/shynet/db-config.json | 4 +- .../destinations/shynet/schema.json | 9 +- .../destinations/signl4/schema.json | 5 +- .../destinations/signl4/ui-config.json | 40 +- .../destinations/singular/schema.json | 16 +- .../destinations/snap_pixel/db-config.json | 4 +- .../snapchat_conversion/schema.json | 11 +- .../snapchat_conversion/ui-config.json | 162 ++------ .../snapchat_custom_audience/schema.json | 11 +- .../snapchat_custom_audience/ui-config.json | 20 +- .../destinations/snapengage/schema.json | 35 +- .../destinations/snowflake/schema.json | 90 +--- .../destinations/statsig/schema.json | 55 +-- .../destinations/tiktok_ads/schema.json | 31 +- .../tiktok_ads_offline_events/schema.json | 5 +- .../tiktok_ads_offline_events/ui-config.json | 20 +- .../tiktok_audience/db-config.json | 8 +- .../destinations/trengo/ui-config.json | 15 +- .../destinations/tvsquared/db-config.json | 6 +- .../destinations/variance/db-config.json | 4 +- .../destinations/vero/db-config.json | 4 +- .../destinations/vero/schema.json | 9 +- .../destinations/vwo/db-config.json | 4 +- .../destinations/vwo/schema.json | 29 +- .../destinations/webengage/schema.json | 6 +- .../destinations/webengage/ui-config.json | 15 +- .../destinations/webhook/ui-config.json | 30 +- .../destinations/woopra/db-config.json | 4 +- .../destinations/woopra/schema.json | 39 +- .../destinations/woopra/ui-config.json | 2 +- .../destinations/wootric/schema.json | 5 +- .../destinations/yahoo_dsp/schema.json | 17 +- .../destinations/yahoo_dsp/ui-config.json | 40 +- .../yandex_metrica/db-config.json | 4 +- .../destinations/yandex_metrica/schema.json | 34 +- .../sources/reactnative/metadata.json | 5 +- .../sources/revenuecat/db-config.json | 4 +- test/configData/db-config.json | 8 +- test/configData/ui-config.json | 40 +- .../destinations/active_campaign.json | 4 +- test/data/validation/destinations/adroll.json | 139 +------ .../data/validation/destinations/axeptio.json | 66 +-- test/data/validation/destinations/braze.json | 4 +- .../data/validation/destinations/clickup.json | 15 +- .../validation/destinations/convertflow.json | 87 +--- test/data/validation/destinations/criteo.json | 111 +---- .../destinations/criteo_audience.json | 24 +- .../destinations/dcm_floodlight.json | 152 ++----- test/data/validation/destinations/fb.json | 26 +- .../validation/destinations/fullstory.json | 68 +-- .../validation/destinations/googleads.json | 178 ++------ test/data/validation/destinations/gtm.json | 80 +--- test/data/validation/destinations/heap.json | 38 +- test/data/validation/destinations/hotjar.json | 44 +- test/data/validation/destinations/hs.json | 135 ++---- test/data/validation/destinations/impact.json | 132 +----- .../validation/destinations/intercom.json | 77 +--- .../data/validation/destinations/klaviyo.json | 88 +--- .../validation/destinations/leanplum.json | 166 ++------ test/data/validation/destinations/monday.json | 28 +- .../validation/destinations/one_signal.json | 18 +- test/data/validation/destinations/ortto.json | 48 +-- .../validation/destinations/podsights.json | 48 +-- .../validation/destinations/qualaroo.json | 84 +--- .../validation/destinations/quora_pixel.json | 79 +--- .../validation/destinations/rockerbox.json | 135 ++---- test/data/validation/destinations/sentry.json | 114 +----- .../validation/destinations/tiktok_ads.json | 1 + test/data/validation/destinations/vero.json | 81 +--- .../destinations/yandex_metrica.json | 273 +++---------- 232 files changed, 1858 insertions(+), 7842 deletions(-) diff --git a/src/configurations/destinations/active_campaign/schema.json b/src/configurations/destinations/active_campaign/schema.json index bce662bec..8a9498f8f 100644 --- a/src/configurations/destinations/active_campaign/schema.json +++ b/src/configurations/destinations/active_campaign/schema.json @@ -35,18 +35,13 @@ "useNativeSDK": { "type": "object", "properties": { - "web": { - "type": "boolean" - } + "web": { "type": "boolean" } } }, "connectionMode": { "type": "object", "properties": { - "web": { - "type": "string", - "enum": ["cloud", "device", "hybrid"] - } + "web": { "type": "string", "enum": ["cloud", "device", "hybrid"] } } } }, diff --git a/src/configurations/destinations/adobe_analytics/schema.json b/src/configurations/destinations/adobe_analytics/schema.json index a9ff6a890..b472b4572 100644 --- a/src/configurations/destinations/adobe_analytics/schema.json +++ b/src/configurations/destinations/adobe_analytics/schema.json @@ -16,10 +16,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,300})$" }, - "sslHeartbeat": { - "type": "boolean", - "default": true - }, + "sslHeartbeat": { "type": "boolean", "default": true }, "heartbeatTrackingServerUrl": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{0,100})$" @@ -73,27 +70,15 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "dropVisitorId": { - "type": "boolean", - "default": true - }, + "dropVisitorId": { "type": "boolean", "default": true }, "timestampOption": { "type": "string", "enum": ["hybrid", "optional", "enabled", "disabled"], "default": "disabled" }, - "timestampOptionalReporting": { - "type": "boolean", - "default": false - }, - "noFallbackVisitorId": { - "type": "boolean", - "default": false - }, - "preferVisitorId": { - "type": "boolean", - "default": false - }, + "timestampOptionalReporting": { "type": "boolean", "default": false }, + "noFallbackVisitorId": { "type": "boolean", "default": false }, + "preferVisitorId": { "type": "boolean", "default": false }, "rudderEventsToAdobeEvents": { "type": "array", "items": { @@ -110,10 +95,7 @@ } } }, - "trackPageName": { - "type": "boolean", - "default": true - }, + "trackPageName": { "type": "boolean", "default": true }, "contextDataMapping": { "type": "array", "items": { @@ -195,10 +177,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "delimiter": { - "type": "string", - "enum": ["|", ":", ",", ";", "/", ""] - } + "delimiter": { "type": "string", "enum": ["|", ":", ",", ";", "/", ""] } } } }, @@ -215,10 +194,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "delimiter": { - "type": "string", - "enum": ["|", ":", ",", ";", "/", ""] - } + "delimiter": { "type": "string", "enum": ["|", ":", ",", ";", "/", ""] } } } }, @@ -294,40 +270,21 @@ } } }, - "productIdentifier": { - "type": "string", - "enum": ["name", "id", "sku"], - "default": "name" - }, + "productIdentifier": { "type": "string", "enum": ["name", "id", "sku"], "default": "name" }, "useNativeSDK": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - }, - "web": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "ios": { "type": "boolean" }, + "web": { "type": "boolean" } } }, "connectionMode": { "type": "object", "properties": { - "android": { - "type": "string", - "enum": ["cloud", "device"] - }, - "ios": { - "type": "string", - "enum": ["cloud", "device"] - }, - "web": { - "type": "string", - "enum": ["cloud", "device"] - } + "android": { "type": "string", "enum": ["cloud", "device"] }, + "ios": { "type": "string", "enum": ["cloud", "device"] }, + "web": { "type": "string", "enum": ["cloud", "device"] } } }, "eventFilteringOption": { diff --git a/src/configurations/destinations/adroll/db-config.json b/src/configurations/destinations/adroll/db-config.json index f52d6a399..0c46ec0de 100644 --- a/src/configurations/destinations/adroll/db-config.json +++ b/src/configurations/destinations/adroll/db-config.json @@ -16,9 +16,7 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/adroll/schema.json b/src/configurations/destinations/adroll/schema.json index a2ef2b177..8037635b2 100644 --- a/src/configurations/destinations/adroll/schema.json +++ b/src/configurations/destinations/adroll/schema.json @@ -28,14 +28,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/af/schema.json b/src/configurations/destinations/af/schema.json index 9109c1dbe..9da2c61de 100644 --- a/src/configurations/destinations/af/schema.json +++ b/src/configurations/destinations/af/schema.json @@ -16,10 +16,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "useRichEventName": { - "type": "boolean", - "default": false - }, + "useRichEventName": { "type": "boolean", "default": false }, "sharingFilter": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -27,21 +24,11 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - }, - "reactnative": { - "type": "boolean" - }, - "flutter": { - "type": "boolean" - }, - "cordova": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "ios": { "type": "boolean" }, + "reactnative": { "type": "boolean" }, + "flutter": { "type": "boolean" }, + "cordova": { "type": "boolean" } } }, "eventFilteringOption": { @@ -77,9 +64,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(?!.*\\.ngrok\\.io).*$" }, - "apiToken": { - "type": "string" - }, + "apiToken": { "type": "string" }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/am/schema.json b/src/configurations/destinations/am/schema.json index e7d2a7107..a02e004a6 100644 --- a/src/configurations/destinations/am/schema.json +++ b/src/configurations/destinations/am/schema.json @@ -8,27 +8,11 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "residencyServer": { - "type": "string", - "enum": ["standard", "EU"], - "default": "standard" - }, - "trackAllPages": { - "type": "boolean", - "default": false - }, - "trackCategorizedPages": { - "type": "boolean", - "default": true - }, - "trackNamedPages": { - "type": "boolean", - "default": true - }, - "useUserDefinedPageEventName": { - "type": "boolean", - "default": false - }, + "residencyServer": { "type": "string", "enum": ["standard", "EU"], "default": "standard" }, + "trackAllPages": { "type": "boolean", "default": false }, + "trackCategorizedPages": { "type": "boolean", "default": true }, + "trackNamedPages": { "type": "boolean", "default": true }, + "useUserDefinedPageEventName": { "type": "boolean", "default": false }, "userProvidedPageEventString": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,200})$" @@ -97,22 +81,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "mapDeviceBrand": { - "type": "boolean", - "default": false - }, - "trackProductsOnce": { - "type": "boolean", - "default": false - }, - "trackRevenuePerProduct": { - "type": "boolean", - "default": false - }, - "useUserDefinedScreenEventName": { - "type": "boolean", - "default": false - }, + "mapDeviceBrand": { "type": "boolean", "default": false }, + "trackProductsOnce": { "type": "boolean", "default": false }, + "trackRevenuePerProduct": { "type": "boolean", "default": false }, + "useUserDefinedScreenEventName": { "type": "boolean", "default": false }, "userProvidedScreenEventString": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,200})$" @@ -161,102 +133,50 @@ "enableLocationListening": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "reactnative": { - "type": "boolean" - }, - "flutter": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "reactnative": { "type": "boolean" }, + "flutter": { "type": "boolean" } } }, "trackSessionEvents": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - }, - "reactnative": { - "type": "boolean" - }, - "flutter": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "ios": { "type": "boolean" }, + "reactnative": { "type": "boolean" }, + "flutter": { "type": "boolean" } } }, "useAdvertisingIdForDeviceId": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "reactnative": { - "type": "boolean" - }, - "flutter": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "reactnative": { "type": "boolean" }, + "flutter": { "type": "boolean" } } }, "useIdfaAsDeviceId": { "type": "object", "properties": { - "ios": { - "type": "boolean" - }, - "reactnative": { - "type": "boolean" - }, - "flutter": { - "type": "boolean" - } + "ios": { "type": "boolean" }, + "reactnative": { "type": "boolean" }, + "flutter": { "type": "boolean" } } }, "attribution": { "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "trackUtmProperties": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } + "properties": { "web": { "type": "boolean" } } }, + "trackUtmProperties": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "trackNewCampaigns": { "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } + "properties": { "web": { "type": "boolean" } } }, "unsetParamsReferrerOnNewSession": { "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "batchEvents": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } + "properties": { "web": { "type": "boolean" } } }, + "batchEvents": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventUploadPeriodMillis": { "type": "object", "properties": { @@ -310,55 +230,26 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - }, - "web": { - "type": "boolean" - }, - "reactnative": { - "type": "boolean" - }, - "flutter": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "ios": { "type": "boolean" }, + "web": { "type": "boolean" }, + "reactnative": { "type": "boolean" }, + "flutter": { "type": "boolean" } } }, "connectionMode": { "type": "object", "properties": { - "android": { - "type": "string", - "enum": ["cloud", "device"] - }, - "ios": { - "type": "string", - "enum": ["cloud", "device"] - }, - "web": { - "type": "string", - "enum": ["cloud", "device"] - }, - "reactnative": { - "type": "string", - "enum": ["cloud", "device"] - }, - "flutter": { - "type": "string", - "enum": ["cloud", "device"] - } + "android": { "type": "string", "enum": ["cloud", "device"] }, + "ios": { "type": "string", "enum": ["cloud", "device"] }, + "web": { "type": "string", "enum": ["cloud", "device"] }, + "reactnative": { "type": "string", "enum": ["cloud", "device"] }, + "flutter": { "type": "string", "enum": ["cloud", "device"] } } }, "preferAnonymousIdForDeviceId": { "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } + "properties": { "web": { "type": "boolean" } } } } } diff --git a/src/configurations/destinations/appcenter/ui-config.json b/src/configurations/destinations/appcenter/ui-config.json index d3b062d66..03d2cc46c 100644 --- a/src/configurations/destinations/appcenter/ui-config.json +++ b/src/configurations/destinations/appcenter/ui-config.json @@ -10,7 +10,7 @@ "regex": "^(.{0,100})$", "regexErrorMessage": "Invalid AppCenter App Secret Key", "required": true, - "placeholder": "e.g: ••••••••••5c0d", + "placeholder": "e.g: \u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u20225c0d", "secret": true } ] diff --git a/src/configurations/destinations/appcues/db-config.json b/src/configurations/destinations/appcues/db-config.json index 5cbc73ddf..e18e20193 100644 --- a/src/configurations/destinations/appcues/db-config.json +++ b/src/configurations/destinations/appcues/db-config.json @@ -28,9 +28,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track"], - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "supportedConnectionModes": { "android": ["cloud"], diff --git a/src/configurations/destinations/axeptio/db-config.json b/src/configurations/destinations/axeptio/db-config.json index e0fa96ea3..88221ad30 100644 --- a/src/configurations/destinations/axeptio/db-config.json +++ b/src/configurations/destinations/axeptio/db-config.json @@ -15,9 +15,7 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { - "web": [] - } + "device": { "web": [] } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/axeptio/schema.json b/src/configurations/destinations/axeptio/schema.json index ee4684f8d..ba59e898c 100644 --- a/src/configurations/destinations/axeptio/schema.json +++ b/src/configurations/destinations/axeptio/schema.json @@ -8,18 +8,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "toggleToActivateCallback": { - "type": "boolean", - "default": false - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "toggleToActivateCallback": { "type": "boolean", "default": false }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/azure_blob/ui-config.json b/src/configurations/destinations/azure_blob/ui-config.json index 84b5152e0..b0bfdb7e0 100644 --- a/src/configurations/destinations/azure_blob/ui-config.json +++ b/src/configurations/destinations/azure_blob/ui-config.json @@ -32,12 +32,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "useSASTokens", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": false }], "label": "Azure Blob Storage Account Key", "value": "accountKey", "regex": "^(.{0,100})$", @@ -48,12 +43,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "useSASTokens", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": true }], "label": "Azure Blob Storage SAS Token", "value": "sasToken", "regex": "^(.+)$", diff --git a/src/configurations/destinations/azure_datalake/schema.json b/src/configurations/destinations/azure_datalake/schema.json index 8e2c0730e..9a57f9879 100644 --- a/src/configurations/destinations/azure_datalake/schema.json +++ b/src/configurations/destinations/azure_datalake/schema.json @@ -20,18 +20,13 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { - "type": "boolean", - "default": false - }, + "useSASTokens": { "type": "boolean", "default": false }, "syncFrequency": { "type": "string", "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -48,11 +43,7 @@ "allOf": [ { "if": { - "properties": { - "useSASTokens": { - "const": false - } - }, + "properties": { "useSASTokens": { "const": false } }, "required": ["useSASTokens"] }, "then": { @@ -61,31 +52,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { - "const": false - } + "useSASTokens": { "const": false } }, "required": ["accountKey"] } }, { - "if": { - "properties": { - "useSASTokens": { - "const": true - } - }, - "required": ["useSASTokens"] - }, + "if": { "properties": { "useSASTokens": { "const": true } }, "required": ["useSASTokens"] }, "then": { "properties": { "sasToken": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.+)$" }, - "useSASTokens": { - "const": true - } + "useSASTokens": { "const": true } }, "required": ["sasToken", "useSASTokens"] } diff --git a/src/configurations/destinations/azure_datalake/ui-config.json b/src/configurations/destinations/azure_datalake/ui-config.json index 20ea0f4ec..2bcc1b27d 100644 --- a/src/configurations/destinations/azure_datalake/ui-config.json +++ b/src/configurations/destinations/azure_datalake/ui-config.json @@ -46,12 +46,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "useSASTokens", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": false }], "label": "Azure Blob Storage Account Key", "value": "accountKey", "regex": "^(.{1,100})$", @@ -62,12 +57,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "useSASTokens", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "useSASTokens", "selectedValue": true }], "label": "Azure Blob Storage SAS Token", "value": "sasToken", "regex": "^(.+)$", @@ -88,45 +78,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" } diff --git a/src/configurations/destinations/azure_synapse/schema.json b/src/configurations/destinations/azure_synapse/schema.json index 69f765abc..e9925492f 100644 --- a/src/configurations/destinations/azure_synapse/schema.json +++ b/src/configurations/destinations/azure_synapse/schema.json @@ -13,62 +13,29 @@ "useRudderStorage" ], "properties": { - "host": { - "type": "string", - "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" - }, - "database": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "user": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "password": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, - "port": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, - "sslMode": { - "type": "string", - "pattern": "^(disable|true|false)$" - }, + "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, + "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "password": { "type": "string", "pattern": "(^env[.].+)|.+" }, + "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "sslMode": { "type": "string", "pattern": "^(disable|true|false)$" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, - "bucketProvider": { - "type": "string", - "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" - }, + "useRudderStorage": { "type": "boolean", "default": false }, + "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -85,26 +52,16 @@ "allOf": [ { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, - "then": { - "required": ["bucketProvider"] - } + "then": { "required": ["bucketProvider"] } }, { "if": { "properties": { - "bucketProvider": { - "const": "S3" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "S3" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -120,26 +77,16 @@ { "type": "object", "properties": { - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, + "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } }, "required": ["accessKeyID", "accessKey"] }, { "type": "object", "properties": { - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "const": true - } + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -149,12 +96,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "GCS" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "GCS" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -164,10 +107,7 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["bucketName", "credentials"] } @@ -175,12 +115,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "AZURE_BLOB" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "AZURE_BLOB" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -190,31 +126,20 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { - "type": "string", - "pattern": "(^env[.].+)|^(.+)$" - }, - "useSASTokens": { - "const": true - } + "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, + "useSASTokens": { "const": true } }, "required": ["useSASTokens", "sasToken"] } @@ -224,12 +149,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "MINIO" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "MINIO" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -239,21 +160,13 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, "endPoint": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, - "secretAccessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "useSSL": { - "type": "boolean" - } + "secretAccessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "useSSL": { "type": "boolean" } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey", "useSSL"] } diff --git a/src/configurations/destinations/azure_synapse/ui-config.json b/src/configurations/destinations/azure_synapse/ui-config.json index 8d1cb94c5..098eaef29 100644 --- a/src/configurations/destinations/azure_synapse/ui-config.json +++ b/src/configurations/destinations/azure_synapse/ui-config.json @@ -63,23 +63,11 @@ "label": "SSL Mode", "value": "sslMode", "options": [ - { - "name": "disable", - "value": "disable" - }, - { - "name": "true", - "value": "true" - }, - { - "name": "false", - "value": "false" - } + { "name": "disable", "value": "disable" }, + { "name": "true", "value": "true" }, + { "name": "false", "value": "false" } ], - "defaultOption": { - "name": "disable", - "value": "disable" - }, + "defaultOption": { "name": "disable", "value": "disable" }, "required": true }, { @@ -87,45 +75,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -133,18 +97,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -165,44 +120,20 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { - "name": "S3", - "value": "S3" - }, - { - "name": "GCS", - "value": "GCS" - }, - { - "name": "AZURE_BLOB", - "value": "AZURE_BLOB" - }, - { - "name": "MINIO", - "value": "MINIO" - } + { "name": "S3", "value": "S3" }, + { "name": "GCS", "value": "GCS" }, + { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, + { "name": "MINIO", "value": "MINIO" } ], - "defaultOption": { - "name": "MINIO", - "value": "MINIO" - }, + "defaultOption": { "name": "MINIO", "value": "MINIO" }, "required": true, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into AzureSynapse", @@ -216,14 +147,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into AzureSynapse", @@ -237,14 +162,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into AzureSynapse", @@ -258,14 +177,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into AzureSynapse", @@ -279,14 +192,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -295,18 +202,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": true } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -322,18 +220,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -345,18 +234,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -368,14 +248,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -387,18 +261,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": false } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -411,18 +276,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": true } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -435,14 +291,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -452,14 +302,8 @@ { "type": "textareaInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -471,14 +315,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -490,14 +328,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -509,14 +341,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -528,14 +354,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use SSL for connection", "value": "useSSL", diff --git a/src/configurations/destinations/bingads/db-config.json b/src/configurations/destinations/bingads/db-config.json index 098246920..9828174e3 100644 --- a/src/configurations/destinations/bingads/db-config.json +++ b/src/configurations/destinations/bingads/db-config.json @@ -17,9 +17,7 @@ "web": ["device"] }, "supportedMessageTypes": { - "device": { - "web": ["track", "page"] - } + "device": { "web": ["track", "page"] } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/bingads_audience/schema.json b/src/configurations/destinations/bingads_audience/schema.json index d0ee99369..2af35fe8f 100644 --- a/src/configurations/destinations/bingads_audience/schema.json +++ b/src/configurations/destinations/bingads_audience/schema.json @@ -16,10 +16,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "hashEmail": { - "type": "boolean", - "default": true - }, + "hashEmail": { "type": "boolean", "default": true }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/blueshift/ui-config.json b/src/configurations/destinations/blueshift/ui-config.json index dd060e393..c4c97893d 100644 --- a/src/configurations/destinations/blueshift/ui-config.json +++ b/src/configurations/destinations/blueshift/ui-config.json @@ -29,19 +29,10 @@ "value": "dataCenter", "mode": "single", "options": [ - { - "name": "Standard", - "value": "standard" - }, - { - "name": "EU", - "value": "eu" - } + { "name": "Standard", "value": "standard" }, + { "name": "EU", "value": "eu" } ], - "defaultOption": { - "name": "Standard", - "value": "standard" - }, + "defaultOption": { "name": "Standard", "value": "standard" }, "footerNote": "Select your Blueshift Data Center" } ] diff --git a/src/configurations/destinations/bq/schema.json b/src/configurations/destinations/bq/schema.json index 9722fbb7d..fe7bab3a0 100644 --- a/src/configurations/destinations/bq/schema.json +++ b/src/configurations/destinations/bq/schema.json @@ -4,54 +4,30 @@ "type": "object", "required": ["project", "bucketName", "credentials", "syncFrequency"], "properties": { - "project": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "location": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, + "project": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "location": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, "bucketName": { "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "prefix": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, + "prefix": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "jsonPaths": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, + "jsonPaths": { "type": "string", "pattern": "(^env[.].*)|.*" }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/bq/ui-config.json b/src/configurations/destinations/bq/ui-config.json index 414239bcb..92b56af7e 100644 --- a/src/configurations/destinations/bq/ui-config.json +++ b/src/configurations/destinations/bq/ui-config.json @@ -71,45 +71,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -117,18 +93,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, diff --git a/src/configurations/destinations/braze/db-config.json b/src/configurations/destinations/braze/db-config.json index e9c1c2ead..d66c8f95f 100644 --- a/src/configurations/destinations/braze/db-config.json +++ b/src/configurations/destinations/braze/db-config.json @@ -47,6 +47,7 @@ "cordova": ["cloud"], "shopify": ["cloud"] }, + "supportedMessageTypes": { "cloud": ["group", "identify", "page", "screen", "track", "alias"], "device": { diff --git a/src/configurations/destinations/braze/schema.json b/src/configurations/destinations/braze/schema.json index 8fa99e6ec..f8dc62edc 100644 --- a/src/configurations/destinations/braze/schema.json +++ b/src/configurations/destinations/braze/schema.json @@ -29,26 +29,11 @@ ], "default": "US-01" }, - "enableSubscriptionGroupInGroupCall": { - "type": "boolean", - "default": false - }, - "enableNestedArrayOperations": { - "type": "boolean", - "default": false - }, - "trackAnonymousUser": { - "type": "boolean", - "default": false - }, - "sendPurchaseEventWithExtraProperties": { - "type": "boolean", - "default": false - }, - "supportDedup": { - "type": "boolean", - "default": false - }, + "enableSubscriptionGroupInGroupCall": { "type": "boolean", "default": false }, + "enableNestedArrayOperations": { "type": "boolean", "default": false }, + "trackAnonymousUser": { "type": "boolean", "default": false }, + "sendPurchaseEventWithExtraProperties": { "type": "boolean", "default": false }, + "supportDedup": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -90,74 +75,34 @@ } } }, - "enableBrazeLogging": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "enableBrazeLogging": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "useNativeSDK": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - }, - "web": { - "type": "boolean" - }, - "reactnative": { - "type": "boolean" - }, - "flutter": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "ios": { "type": "boolean" }, + "web": { "type": "boolean" }, + "reactnative": { "type": "boolean" }, + "flutter": { "type": "boolean" } } }, "connectionMode": { "type": "object", "properties": { - "android": { - "type": "string", - "enum": ["cloud", "device", "hybrid"] - }, - "ios": { - "type": "string", - "enum": ["cloud", "device", "hybrid"] - }, - "web": { - "type": "string", - "enum": ["cloud", "device", "hybrid"] - }, - "reactnative": { - "type": "string", - "enum": ["cloud", "device"] - }, - "flutter": { - "type": "string", - "enum": ["cloud", "device"] - } + "android": { "type": "string", "enum": ["cloud", "device", "hybrid"] }, + "ios": { "type": "string", "enum": ["cloud", "device", "hybrid"] }, + "web": { "type": "string", "enum": ["cloud", "device", "hybrid"] }, + "reactnative": { "type": "string", "enum": ["cloud", "device"] }, + "flutter": { "type": "string", "enum": ["cloud", "device"] } } }, "enablePushNotification": { "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } + "properties": { "web": { "type": "boolean" } } }, "allowUserSuppliedJavascript": { "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } + "properties": { "web": { "type": "boolean" } } } } } diff --git a/src/configurations/destinations/bugsnag/db-config.json b/src/configurations/destinations/bugsnag/db-config.json index c84c9ac45..34766951b 100644 --- a/src/configurations/destinations/bugsnag/db-config.json +++ b/src/configurations/destinations/bugsnag/db-config.json @@ -15,11 +15,7 @@ "excludeKeys": [], "supportedSourceTypes": ["android", "ios", "web"], "supportedMessageTypes": { - "device": { - "web": ["identify"], - "android": ["identify"], - "ios": ["identify"] - } + "device": { "web": ["identify"], "android": ["identify"], "ios": ["identify"] } }, "supportedConnectionModes": { "android": ["cloud", "device"], diff --git a/src/configurations/destinations/bugsnag/ui-config.json b/src/configurations/destinations/bugsnag/ui-config.json index 4a4998cfc..78c8d30ce 100644 --- a/src/configurations/destinations/bugsnag/ui-config.json +++ b/src/configurations/destinations/bugsnag/ui-config.json @@ -10,7 +10,7 @@ "regex": "^(.{0,100})$", "regexErrorMessage": "Invalid BugSnag Api Key", "required": true, - "placeholder": "e.g: ••••••••••5c0d" + "placeholder": "e.g: \u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u20225c0d" } ] }, diff --git a/src/configurations/destinations/campaign_manager/schema.json b/src/configurations/destinations/campaign_manager/schema.json index 02eb44ea0..e2b361627 100644 --- a/src/configurations/destinations/campaign_manager/schema.json +++ b/src/configurations/destinations/campaign_manager/schema.json @@ -8,22 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,50})$" }, - "limitAdTracking": { - "type": "boolean", - "default": false - }, - "childDirectedTreatment": { - "type": "boolean", - "default": false - }, - "nonPersonalizedAd": { - "type": "boolean", - "default": false - }, - "treatmentForUnderage": { - "type": "boolean", - "default": false - }, + "limitAdTracking": { "type": "boolean", "default": false }, + "childDirectedTreatment": { "type": "boolean", "default": false }, + "nonPersonalizedAd": { "type": "boolean", "default": false }, + "treatmentForUnderage": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/canny/schema.json b/src/configurations/destinations/canny/schema.json index 3a67848ec..3189f9061 100644 --- a/src/configurations/destinations/canny/schema.json +++ b/src/configurations/destinations/canny/schema.json @@ -17,10 +17,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "to": { - "type": "string", - "enum": ["createPost", "createVote", ""] - } + "to": { "type": "string", "enum": ["createPost", "createVote", ""] } } } }, diff --git a/src/configurations/destinations/canny/ui-config.json b/src/configurations/destinations/canny/ui-config.json index f66cbbb0c..5d66e388f 100644 --- a/src/configurations/destinations/canny/ui-config.json +++ b/src/configurations/destinations/canny/ui-config.json @@ -29,14 +29,8 @@ "required": false, "placeholderLeft": "e.g: Submit", "options": [ - { - "name": "Create Post", - "value": "createPost" - }, - { - "name": "Create Vote", - "value": "createVote" - } + { "name": "Create Post", "value": "createPost" }, + { "name": "Create Vote", "value": "createVote" } ] } ] diff --git a/src/configurations/destinations/chartbeat/db-config.json b/src/configurations/destinations/chartbeat/db-config.json index ae2e45a96..889b27131 100644 --- a/src/configurations/destinations/chartbeat/db-config.json +++ b/src/configurations/destinations/chartbeat/db-config.json @@ -20,9 +20,7 @@ "web": ["device"] }, "supportedMessageTypes": { - "device": { - "web": ["page"] - } + "device": { "web": ["page"] } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/clickhouse/schema.json b/src/configurations/destinations/clickhouse/schema.json index 24afaac57..ff353f26b 100644 --- a/src/configurations/destinations/clickhouse/schema.json +++ b/src/configurations/destinations/clickhouse/schema.json @@ -4,69 +4,31 @@ "type": "object", "required": ["host", "port", "database", "user", "secure", "syncFrequency", "useRudderStorage"], "properties": { - "host": { - "type": "string", - "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" - }, - "port": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "database": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "cluster": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "user": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "password": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, - "secure": { - "type": "boolean", - "default": false - }, - "skipVerify": { - "type": "boolean" - }, - "caCertificate": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, + "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, + "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "cluster": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "password": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "secure": { "type": "boolean", "default": false }, + "skipVerify": { "type": "boolean" }, + "caCertificate": { "type": "string", "pattern": "(^env[.].*)|.*" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, - "bucketProvider": { - "type": "string", - "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" - }, + "useRudderStorage": { "type": "boolean", "default": false }, + "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -82,40 +44,21 @@ }, "allOf": [ { - "if": { - "properties": { - "secure": { - "const": true - } - }, - "required": ["secure"] - }, - "then": { - "required": ["skipVerify"] - } + "if": { "properties": { "secure": { "const": true } }, "required": ["secure"] }, + "then": { "required": ["skipVerify"] } }, { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, - "then": { - "required": ["bucketProvider"] - } + "then": { "required": ["bucketProvider"] } }, { "if": { "properties": { - "bucketProvider": { - "const": "S3" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "S3" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -131,26 +74,16 @@ { "type": "object", "properties": { - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, + "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } }, "required": ["accessKeyID", "accessKey"] }, { "type": "object", "properties": { - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "const": true - } + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -160,12 +93,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "GCS" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "GCS" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -175,10 +104,7 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["bucketName", "credentials"] } @@ -186,12 +112,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "AZURE_BLOB" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "AZURE_BLOB" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -201,31 +123,20 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { - "type": "string", - "pattern": "(^env[.].+)|^(.+)$" - }, - "useSASTokens": { - "const": true - } + "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, + "useSASTokens": { "const": true } }, "required": ["useSASTokens", "sasToken"] } @@ -235,12 +146,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "MINIO" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "MINIO" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -250,21 +157,13 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, "endPoint": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, - "secretAccessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "useSSL": { - "type": "boolean" - } + "secretAccessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "useSSL": { "type": "boolean" } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey", "useSSL"] } diff --git a/src/configurations/destinations/clickhouse/ui-config.json b/src/configurations/destinations/clickhouse/ui-config.json index da04588de..9d5d625a7 100644 --- a/src/configurations/destinations/clickhouse/ui-config.json +++ b/src/configurations/destinations/clickhouse/ui-config.json @@ -61,18 +61,10 @@ "required": false, "secret": true }, + { "type": "checkbox", "label": "Secure", "value": "secure", "default": false }, { "type": "checkbox", - "label": "Secure", - "value": "secure", - "default": false - }, - { - "type": "checkbox", - "preRequisiteField": { - "name": "secure", - "selectedValue": true - }, + "preRequisiteField": { "name": "secure", "selectedValue": true }, "label": "Skip verify", "value": "skipVerify", "default": false, @@ -80,10 +72,7 @@ }, { "type": "textareaInput", - "preRequisiteField": { - "name": "secure", - "selectedValue": true - }, + "preRequisiteField": { "name": "secure", "selectedValue": true }, "label": "CA certificate", "value": "caCertificate", "regex": ".*", @@ -95,45 +84,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -141,18 +106,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -173,44 +129,20 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { - "name": "S3", - "value": "S3" - }, - { - "name": "GCS", - "value": "GCS" - }, - { - "name": "AZURE_BLOB", - "value": "AZURE_BLOB" - }, - { - "name": "MINIO", - "value": "MINIO" - } + { "name": "S3", "value": "S3" }, + { "name": "GCS", "value": "GCS" }, + { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, + { "name": "MINIO", "value": "MINIO" } ], - "defaultOption": { - "name": "S3", - "value": "S3" - }, + "defaultOption": { "name": "S3", "value": "S3" }, "required": true, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into ClickHouse", @@ -224,14 +156,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into ClickHouse", @@ -245,14 +171,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into ClickHouse", @@ -266,14 +186,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into ClickHouse", @@ -287,14 +201,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -303,18 +211,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": true } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -330,18 +229,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -353,18 +243,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -376,14 +257,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -395,18 +270,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": false } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -419,18 +285,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": true } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -443,14 +300,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -460,14 +311,8 @@ { "type": "textareaInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -480,14 +325,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -499,14 +338,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -518,14 +351,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -537,14 +364,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use SSL for connection", "value": "useSSL", diff --git a/src/configurations/destinations/convertflow/db-config.json b/src/configurations/destinations/convertflow/db-config.json index 32f91c2cf..2088420d3 100644 --- a/src/configurations/destinations/convertflow/db-config.json +++ b/src/configurations/destinations/convertflow/db-config.json @@ -17,9 +17,7 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { - "web": ["identify"] - } + "device": { "web": ["identify"] } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/convertflow/schema.json b/src/configurations/destinations/convertflow/schema.json index 69759c672..a2f0940cc 100644 --- a/src/configurations/destinations/convertflow/schema.json +++ b/src/configurations/destinations/convertflow/schema.json @@ -8,18 +8,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,10})$" }, - "toggleToSendData": { - "type": "boolean", - "default": false - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "toggleToSendData": { "type": "boolean", "default": false }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -65,11 +55,7 @@ "anyOf": [ { "if": { - "properties": { - "toggleToSendData": { - "const": true - } - }, + "properties": { "toggleToSendData": { "const": true } }, "required": ["toggleToSendData"] }, "then": { diff --git a/src/configurations/destinations/criteo/db-config.json b/src/configurations/destinations/criteo/db-config.json index 51304d835..3ce355a87 100644 --- a/src/configurations/destinations/criteo/db-config.json +++ b/src/configurations/destinations/criteo/db-config.json @@ -21,9 +21,7 @@ "web": ["device"] }, "supportedMessageTypes": { - "device": { - "web": ["track", "page"] - } + "device": { "web": ["track", "page"] } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/criteo/schema.json b/src/configurations/destinations/criteo/schema.json index b86516322..f6954fa7b 100644 --- a/src/configurations/destinations/criteo/schema.json +++ b/src/configurations/destinations/criteo/schema.json @@ -12,11 +12,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{0,100})$" }, - "hashMethod": { - "type": "string", - "enum": ["none", "md5"], - "default": "none" - }, + "hashMethod": { "type": "string", "enum": ["none", "md5"], "default": "none" }, "fieldMapping": { "type": "array", "items": { @@ -33,14 +29,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/criteo_audience/schema.json b/src/configurations/destinations/criteo_audience/schema.json index f4e05c233..4d3fabeec 100644 --- a/src/configurations/destinations/criteo_audience/schema.json +++ b/src/configurations/destinations/criteo_audience/schema.json @@ -43,11 +43,7 @@ "anyOf": [ { "if": { - "properties": { - "audienceType": { - "const": "gum" - } - }, + "properties": { "audienceType": { "const": "gum" } }, "required": ["audienceType"] }, "then": { diff --git a/src/configurations/destinations/criteo_audience/ui-config.json b/src/configurations/destinations/criteo_audience/ui-config.json index a8c8e1aeb..8304fe571 100644 --- a/src/configurations/destinations/criteo_audience/ui-config.json +++ b/src/configurations/destinations/criteo_audience/ui-config.json @@ -31,27 +31,12 @@ "required": true, "placeholder": "email", "options": [ - { - "name": "email", - "value": "email" - }, - { - "name": "madid", - "value": "madid" - }, - { - "name": "identityLink", - "value": "identityLink" - }, - { - "name": "gum", - "value": "gum" - } + { "name": "email", "value": "email" }, + { "name": "madid", "value": "madid" }, + { "name": "identityLink", "value": "identityLink" }, + { "name": "gum", "value": "gum" } ], - "defaultOption": { - "name": "email", - "value": "email" - } + "defaultOption": { "name": "email", "value": "email" } }, { "type": "textInput", @@ -62,10 +47,7 @@ "required": true, "placeholder": "e.g. 532XX445", "secret": false, - "preRequisiteField": { - "name": "audienceType", - "selectedValue": "gum" - }, + "preRequisiteField": { "name": "audienceType", "selectedValue": "gum" }, "footerNote": "GUM cookie identifier" } ] diff --git a/src/configurations/destinations/custify/schema.json b/src/configurations/destinations/custify/schema.json index b1f6fc1d8..297ed8683 100644 --- a/src/configurations/destinations/custify/schema.json +++ b/src/configurations/destinations/custify/schema.json @@ -8,10 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,61})$" }, - "sendAnonymousId": { - "type": "boolean", - "default": false - }, + "sendAnonymousId": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/customerio/db-config.json b/src/configurations/destinations/customerio/db-config.json index 3aa617ad6..5a049a60e 100644 --- a/src/configurations/destinations/customerio/db-config.json +++ b/src/configurations/destinations/customerio/db-config.json @@ -34,9 +34,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track", "alias", "group"], - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "supportedConnectionModes": { "web": ["cloud", "device"] diff --git a/src/configurations/destinations/customerio/schema.json b/src/configurations/destinations/customerio/schema.json index 3057c3bdd..29aced2da 100644 --- a/src/configurations/destinations/customerio/schema.json +++ b/src/configurations/destinations/customerio/schema.json @@ -90,12 +90,7 @@ "type": "array", "items": { "type": "object", - "properties": { - "purpose": { - "type": "string", - "pattern": "^(.{0,100})$" - } - } + "properties": { "purpose": { "type": "string", "pattern": "^(.{0,100})$" } } } } } diff --git a/src/configurations/destinations/dcm_floodlight/db-config.json b/src/configurations/destinations/dcm_floodlight/db-config.json index 437c88e83..6c62985d8 100644 --- a/src/configurations/destinations/dcm_floodlight/db-config.json +++ b/src/configurations/destinations/dcm_floodlight/db-config.json @@ -36,9 +36,7 @@ ], "supportedMessageTypes": { "cloud": ["track", "page"], - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/delighted/ui-config.json b/src/configurations/destinations/delighted/ui-config.json index 82bc6799d..2de5624f7 100644 --- a/src/configurations/destinations/delighted/ui-config.json +++ b/src/configurations/destinations/delighted/ui-config.json @@ -20,19 +20,10 @@ "required": true, "placeholder": "Email", "options": [ - { - "name": "Email", - "value": "email" - }, - { - "name": "SMS", - "value": "sms" - } + { "name": "Email", "value": "email" }, + { "name": "SMS", "value": "sms" } ], - "defaultOption": { - "name": "Email", - "value": "email" - } + "defaultOption": { "name": "Email", "value": "email" } }, { "type": "textInput", diff --git a/src/configurations/destinations/deltalake/schema.json b/src/configurations/destinations/deltalake/schema.json index 4d04b7cd3..b267306c6 100644 --- a/src/configurations/destinations/deltalake/schema.json +++ b/src/configurations/destinations/deltalake/schema.json @@ -4,66 +4,30 @@ "type": "object", "required": ["host", "port", "path", "token", "syncFrequency", "bucketProvider"], "properties": { - "host": { - "type": "string", - "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" - }, - "port": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "path": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "token": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "catalog": { - "type": "string", - "pattern": "(^env[.].*)|^(.*)$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, + "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,100})$" }, + "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "path": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "token": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "catalog": { "type": "string", "pattern": "(^env[.].*)|^(.*)$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "prefix": { - "type": "string", - "pattern": "(^env[.].*)|^(.{0,100})$" - }, - "bucketProvider": { - "type": "string", - "pattern": "^(S3|GCS|AZURE_BLOB)$" - }, - "enableExternalLocation": { - "type": "boolean", - "default": false - }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, + "prefix": { "type": "string", "pattern": "(^env[.].*)|^(.{0,100})$" }, + "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB)$" }, + "enableExternalLocation": { "type": "boolean", "default": false }, + "useRudderStorage": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -80,45 +44,26 @@ "allOf": [ { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, - "then": { - "required": ["bucketProvider"] - } + "then": { "required": ["bucketProvider"] } }, { "if": { - "properties": { - "enableExternalLocation": { - "const": "true" - } - }, + "properties": { "enableExternalLocation": { "const": "true" } }, "required": ["enableExternalLocation"] }, "then": { - "properties": { - "externalLocation": { - "type": "string", - "pattern": "(^env[.].*)|.*" - } - }, + "properties": { "externalLocation": { "type": "string", "pattern": "(^env[.].*)|.*" } }, "required": ["externalLocation"] } }, { "if": { "properties": { - "bucketProvider": { - "const": "S3" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "S3" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -128,12 +73,8 @@ "type": "string", "pattern": "(^env[.].*)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "enableSSE": { - "type": "boolean" - }, - "useSTSTokens": { - "type": "boolean" - } + "enableSSE": { "type": "boolean" }, + "useSTSTokens": { "type": "boolean" } }, "required": ["bucketName", "enableSSE", "useSTSTokens"] }, @@ -141,12 +82,8 @@ { "if": { "properties": { - "useSTSTokens": { - "const": true - }, - "useRudderStorage": { - "const": false - } + "useSTSTokens": { "const": true }, + "useRudderStorage": { "const": false } }, "required": ["useSTSTokens", "useRudderStorage"] }, @@ -155,26 +92,16 @@ { "type": "object", "properties": { - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, + "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } }, "required": ["accessKeyID", "accessKey"] }, { "type": "object", "properties": { - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "const": true - } + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -186,12 +113,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "GCS" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "GCS" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -201,10 +124,7 @@ "type": "string", "pattern": "(^env[.].*)|^((?!goog)(?!.*google.*)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["bucketName", "credentials"] } @@ -212,12 +132,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "AZURE_BLOB" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "AZURE_BLOB" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -227,31 +143,20 @@ "type": "string", "pattern": "(^env[.].*)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { - "type": "string", - "pattern": "(^env[.].*)|^(.{1,100})$" - } + "accountName": { "type": "string", "pattern": "(^env[.].*)|^(.{1,100})$" } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { - "type": "string", - "pattern": "(^env[.].+)|^(.+)$" - }, - "useSASTokens": { - "const": true - } + "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, + "useSASTokens": { "const": true } }, "required": ["useSASTokens", "sasToken"] } diff --git a/src/configurations/destinations/deltalake/ui-config.json b/src/configurations/destinations/deltalake/ui-config.json index d451d0a69..d99c3ff74 100644 --- a/src/configurations/destinations/deltalake/ui-config.json +++ b/src/configurations/destinations/deltalake/ui-config.json @@ -48,12 +48,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "enableExternalLocation", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "enableExternalLocation", "selectedValue": true }], "label": "External delta table location", "value": "externalLocation", "regex": "^(.{1,100})$", @@ -92,45 +87,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -138,18 +109,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -170,40 +132,19 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { - "name": "S3", - "value": "S3" - }, - { - "name": "GCS", - "value": "GCS" - }, - { - "name": "AZURE_BLOB", - "value": "AZURE_BLOB" - } + { "name": "S3", "value": "S3" }, + { "name": "GCS", "value": "GCS" }, + { "name": "AZURE_BLOB", "value": "AZURE_BLOB" } ], - "defaultOption": { - "name": "S3", - "value": "S3" - }, + "defaultOption": { "name": "S3", "value": "S3" }, "required": true, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into DeltaLake", @@ -217,14 +158,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into DeltaLake", @@ -238,14 +173,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into DeltaLake", @@ -258,12 +187,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "useRudderStorage", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "useRudderStorage", "selectedValue": false }], "label": "Prefix", "value": "prefix", "regex": "^(.{0,100})$", @@ -278,31 +202,16 @@ "default": false, "footerNote": "Note: This feature is only supported with databricks S3A client.", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ] }, { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useSTSTokens", - "selectedValue": true - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useSTSTokens", "selectedValue": true }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -311,22 +220,10 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useSTSTokens", - "selectedValue": true - }, - { - "name": "roleBasedAuth", - "selectedValue": true - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useSTSTokens", "selectedValue": true }, + { "name": "roleBasedAuth", "selectedValue": true }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -342,22 +239,10 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useSTSTokens", - "selectedValue": true - }, - { - "name": "roleBasedAuth", - "selectedValue": false - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useSTSTokens", "selectedValue": true }, + { "name": "roleBasedAuth", "selectedValue": false }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -370,22 +255,10 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useSTSTokens", - "selectedValue": true - }, - { - "name": "roleBasedAuth", - "selectedValue": false - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useSTSTokens", "selectedValue": true }, + { "name": "roleBasedAuth", "selectedValue": false }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -398,14 +271,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Enable Server Side Encryption For S3?", "value": "enableSSE", @@ -414,14 +281,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -434,18 +295,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useSASTokens", - "selectedValue": false - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useSASTokens", "selectedValue": false }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -458,18 +310,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useSASTokens", - "selectedValue": true - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useSASTokens", "selectedValue": true }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -482,14 +325,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -499,14 +336,8 @@ { "type": "textareaInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", diff --git a/src/configurations/destinations/discord/schema.json b/src/configurations/destinations/discord/schema.json index 9b7ff8670..739e567ca 100644 --- a/src/configurations/destinations/discord/schema.json +++ b/src/configurations/destinations/discord/schema.json @@ -12,10 +12,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,1000})$" }, - "embedFlag": { - "type": "boolean", - "default": false - }, + "embedFlag": { "type": "boolean", "default": false }, "eventTemplateSettings": { "type": "array", "items": { @@ -29,10 +26,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,1000})$" }, - "eventRegex": { - "type": "boolean", - "default": false - } + "eventRegex": { "type": "boolean", "default": false } } } }, @@ -63,14 +57,7 @@ }, "anyOf": [ { - "if": { - "properties": { - "embedFlag": { - "const": true - } - }, - "required": ["embedFlag"] - }, + "if": { "properties": { "embedFlag": { "const": true } }, "required": ["embedFlag"] }, "then": { "properties": { "embedTitleTemplate": { diff --git a/src/configurations/destinations/discord/ui-config.json b/src/configurations/destinations/discord/ui-config.json index ca7089a4a..afd28f0e7 100644 --- a/src/configurations/destinations/discord/ui-config.json +++ b/src/configurations/destinations/discord/ui-config.json @@ -65,10 +65,7 @@ "footerNote": "Toggle it on if you want a embed message on the discord. Refer To docs for more details" }, { - "preRequisiteField": { - "name": "embedFlag", - "selectedValue": true - }, + "preRequisiteField": { "name": "embedFlag", "selectedValue": true }, "type": "textInput", "label": "Title Template", "value": "embedTitleTemplate", @@ -79,10 +76,7 @@ "footerNote": "This template will be used to build title for embed message" }, { - "preRequisiteField": { - "name": "embedFlag", - "selectedValue": true - }, + "preRequisiteField": { "name": "embedFlag", "selectedValue": true }, "type": "textInput", "label": "Description Template", "value": "embedDescriptionTemplate", diff --git a/src/configurations/destinations/drip/db-config.json b/src/configurations/destinations/drip/db-config.json index 1b01eb727..79e1b0126 100644 --- a/src/configurations/destinations/drip/db-config.json +++ b/src/configurations/destinations/drip/db-config.json @@ -28,9 +28,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track"], - "device": { - "web": ["identify", "track"] - } + "device": { "web": ["identify", "track"] } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/dynamic_yield/schema.json b/src/configurations/destinations/dynamic_yield/schema.json index 3016808d8..fdefad61b 100644 --- a/src/configurations/destinations/dynamic_yield/schema.json +++ b/src/configurations/destinations/dynamic_yield/schema.json @@ -8,10 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "hashEmail": { - "type": "boolean", - "default": false - }, + "hashEmail": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -24,13 +21,8 @@ } } }, - "useNativeSDK": { - "type": "boolean" - }, - "connectionMode": { - "type": "object", - "properties": {} - } + "useNativeSDK": { "type": "boolean" }, + "connectionMode": { "type": "object", "properties": {} } } } } diff --git a/src/configurations/destinations/engage/db-config.json b/src/configurations/destinations/engage/db-config.json index 16b5527c0..02e955079 100644 --- a/src/configurations/destinations/engage/db-config.json +++ b/src/configurations/destinations/engage/db-config.json @@ -29,9 +29,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track", "page", "group"], - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/engage/schema.json b/src/configurations/destinations/engage/schema.json index 851689cb6..c57ceb551 100644 --- a/src/configurations/destinations/engage/schema.json +++ b/src/configurations/destinations/engage/schema.json @@ -4,14 +4,8 @@ "required": ["publicKey", "privateKey"], "type": "object", "properties": { - "publicKey": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, - "privateKey": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "publicKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "privateKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "listIds": { "type": "array", "items": { @@ -24,14 +18,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/eventbridge/ui-config.json b/src/configurations/destinations/eventbridge/ui-config.json index a6befcd28..09f548e73 100644 --- a/src/configurations/destinations/eventbridge/ui-config.json +++ b/src/configurations/destinations/eventbridge/ui-config.json @@ -20,10 +20,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "^(.{0,100})$", @@ -37,10 +34,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "^(.{0,100})$", @@ -51,10 +45,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "^(.{0,100})$", diff --git a/src/configurations/destinations/facebook_conversions/db-config.json b/src/configurations/destinations/facebook_conversions/db-config.json index 6472431f6..35c2fd1d8 100644 --- a/src/configurations/destinations/facebook_conversions/db-config.json +++ b/src/configurations/destinations/facebook_conversions/db-config.json @@ -17,9 +17,7 @@ "cordova", "shopify" ], - "supportedMessageTypes": { - "cloud": ["identify", "page", "screen", "track"] - }, + "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track"] }, "supportedConnectionModes": { "android": ["cloud"], "ios": ["cloud"], diff --git a/src/configurations/destinations/facebook_conversions/schema.json b/src/configurations/destinations/facebook_conversions/schema.json index 4bb8e52f0..6f70043cf 100644 --- a/src/configurations/destinations/facebook_conversions/schema.json +++ b/src/configurations/destinations/facebook_conversions/schema.json @@ -87,9 +87,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "blacklistPiiHash": { - "type": "boolean" - } + "blacklistPiiHash": { "type": "boolean" } } } }, @@ -105,22 +103,13 @@ } } }, - "limitedDataUSage": { - "type": "boolean", - "default": false - }, - "testDestination": { - "type": "boolean", - "default": false - }, + "limitedDataUSage": { "type": "boolean", "default": false }, + "testDestination": { "type": "boolean", "default": false }, "testEventCode": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "removeExternalId": { - "type": "boolean", - "default": false - }, + "removeExternalId": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/facebook_offline_conversions/schema.json b/src/configurations/destinations/facebook_offline_conversions/schema.json index 3bdf117e1..4041ea781 100644 --- a/src/configurations/destinations/facebook_offline_conversions/schema.json +++ b/src/configurations/destinations/facebook_offline_conversions/schema.json @@ -82,13 +82,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "limitedDataUSage": { - "type": "boolean" - }, - "isHashRequired": { - "type": "boolean", - "default": true - }, + "limitedDataUSage": { "type": "boolean" }, + "isHashRequired": { "type": "boolean", "default": true }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/facebook_offline_conversions/ui-config.json b/src/configurations/destinations/facebook_offline_conversions/ui-config.json index 878366a10..d20f8ca79 100644 --- a/src/configurations/destinations/facebook_offline_conversions/ui-config.json +++ b/src/configurations/destinations/facebook_offline_conversions/ui-config.json @@ -30,46 +30,16 @@ "required": true, "placeholderLeft": "e.g. Product Searched", "options": [ - { - "name": "ViewContent", - "value": "ViewContent" - }, - { - "name": "Search", - "value": "Search" - }, - { - "name": "AddToCart", - "value": "AddToCart" - }, - { - "name": "AddToWishlist", - "value": "AddToWishlist" - }, - { - "name": "InitiateCheckout", - "value": "InitiateCheckout" - }, - { - "name": "AddPaymentInfo", - "value": "AddPaymentInfo" - }, - { - "name": "Purchase", - "value": "Purchase" - }, - { - "name": "Lead", - "value": "Lead" - }, - { - "name": "CompleteRegistration", - "value": "CompleteRegistration" - }, - { - "name": "Other", - "value": "Other" - } + { "name": "ViewContent", "value": "ViewContent" }, + { "name": "Search", "value": "Search" }, + { "name": "AddToCart", "value": "AddToCart" }, + { "name": "AddToWishlist", "value": "AddToWishlist" }, + { "name": "InitiateCheckout", "value": "InitiateCheckout" }, + { "name": "AddPaymentInfo", "value": "AddPaymentInfo" }, + { "name": "Purchase", "value": "Purchase" }, + { "name": "Lead", "value": "Lead" }, + { "name": "CompleteRegistration", "value": "CompleteRegistration" }, + { "name": "Other", "value": "Other" } ] }, { @@ -84,46 +54,16 @@ "placeholderRight": "e.g. 506289934669334", "reverse": true, "options": [ - { - "name": "ViewContent", - "value": "ViewContent" - }, - { - "name": "Search", - "value": "Search" - }, - { - "name": "AddToCart", - "value": "AddToCart" - }, - { - "name": "AddToWishlist", - "value": "AddToWishlist" - }, - { - "name": "InitiateCheckout", - "value": "InitiateCheckout" - }, - { - "name": "AddPaymentInfo", - "value": "AddPaymentInfo" - }, - { - "name": "Purchase", - "value": "Purchase" - }, - { - "name": "Lead", - "value": "Lead" - }, - { - "name": "CompleteRegistration", - "value": "CompleteRegistration" - }, - { - "name": "Other", - "value": "Other" - } + { "name": "ViewContent", "value": "ViewContent" }, + { "name": "Search", "value": "Search" }, + { "name": "AddToCart", "value": "AddToCart" }, + { "name": "AddToWishlist", "value": "AddToWishlist" }, + { "name": "InitiateCheckout", "value": "InitiateCheckout" }, + { "name": "AddPaymentInfo", "value": "AddPaymentInfo" }, + { "name": "Purchase", "value": "Purchase" }, + { "name": "Lead", "value": "Lead" }, + { "name": "CompleteRegistration", "value": "CompleteRegistration" }, + { "name": "Other", "value": "Other" } ] }, { @@ -153,11 +93,7 @@ { "title": "Other Settings", "fields": [ - { - "type": "checkbox", - "label": "Limited Data Usage", - "value": "limitedDataUSage" - }, + { "type": "checkbox", "label": "Limited Data Usage", "value": "limitedDataUSage" }, { "type": "checkbox", "label": "Enable Hashing", diff --git a/src/configurations/destinations/facebook_pixel/db-config.json b/src/configurations/destinations/facebook_pixel/db-config.json index dd1bfa9d1..827062858 100644 --- a/src/configurations/destinations/facebook_pixel/db-config.json +++ b/src/configurations/destinations/facebook_pixel/db-config.json @@ -36,9 +36,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track"], - "device": { - "web": ["track", "page"] - } + "device": { "web": ["track", "page"] } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/facebook_pixel/schema.json b/src/configurations/destinations/facebook_pixel/schema.json index e9f4fa0d9..ae4f1c1f3 100644 --- a/src/configurations/destinations/facebook_pixel/schema.json +++ b/src/configurations/destinations/facebook_pixel/schema.json @@ -28,10 +28,7 @@ } } }, - "standardPageCall": { - "type": "boolean", - "default": false - }, + "standardPageCall": { "type": "boolean", "default": false }, "eventsToEvents": { "type": "array", "items": { @@ -73,10 +70,7 @@ "enum": ["properties.value", "properties.price"], "default": "properties.price" }, - "advancedMapping": { - "type": "boolean", - "default": false - }, + "advancedMapping": { "type": "boolean", "default": false }, "blacklistPiiProperties": { "type": "array", "items": { @@ -86,9 +80,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "blacklistPiiHash": { - "type": "boolean" - } + "blacklistPiiHash": { "type": "boolean" } } } }, @@ -125,43 +117,21 @@ } } }, - "limitedDataUSage": { - "type": "boolean", - "default": false - }, - "testDestination": { - "type": "boolean", - "default": false - }, + "limitedDataUSage": { "type": "boolean", "default": false }, + "testDestination": { "type": "boolean", "default": false }, "testEventCode": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "removeExternalId": { - "type": "boolean", - "default": false - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "removeExternalId": { "type": "boolean", "default": false }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "connectionMode": { "type": "object", "properties": { - "web": { - "type": "string", - "enum": ["cloud", "device"] - } + "web": { "type": "string", "enum": ["cloud", "device"] } } }, - "useUpdatedMapping": { - "type": "boolean", - "default": false - }, + "useUpdatedMapping": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/fb/schema.json b/src/configurations/destinations/fb/schema.json index e5a85147f..08add89e7 100644 --- a/src/configurations/destinations/fb/schema.json +++ b/src/configurations/destinations/fb/schema.json @@ -8,30 +8,12 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "limitedDataUse": { - "type": "boolean", - "default": false - }, - "dpoState": { - "type": "string", - "enum": ["0", "1000"], - "default": "0" - }, - "dpoCountry": { - "type": "string", - "enum": ["0", "1"], - "default": "0" - }, + "limitedDataUse": { "type": "boolean", "default": false }, + "dpoState": { "type": "string", "enum": ["0", "1000"], "default": "0" }, + "dpoCountry": { "type": "string", "enum": ["0", "1"], "default": "0" }, "useNativeSDK": { "type": "object", - "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - } - } + "properties": { "android": { "type": "boolean" }, "ios": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", diff --git a/src/configurations/destinations/fb_custom_audience/ui-config.json b/src/configurations/destinations/fb_custom_audience/ui-config.json index 958ab9c8b..0c4ee2a33 100644 --- a/src/configurations/destinations/fb_custom_audience/ui-config.json +++ b/src/configurations/destinations/fb_custom_audience/ui-config.json @@ -38,70 +38,23 @@ "placeholder": "EMAIL", "mode": "multiple", "options": [ - { - "name": "EMAIL", - "value": "EMAIL" - }, - { - "name": "PHONE", - "value": "PHONE" - }, - { - "name": "GENDER", - "value": "GEN" - }, - { - "name": "MADID", - "value": "MADID" - }, - { - "name": "EXTERN_ID", - "value": "EXTERN_ID" - }, - { - "name": "DOB YEAR (YYYY)", - "value": "DOBY" - }, - { - "name": "DOB MONTH (MM)", - "value": "DOBM" - }, - { - "name": "DOB DATE (DD)", - "value": "DOBD" - }, - { - "name": "LAST NAME", - "value": "LN" - }, - { - "name": "FIRST NAME", - "value": "FN" - }, - { - "name": "FIRST NAME INITIAL", - "value": "FI" - }, - { - "name": "CITY", - "value": "CT" - }, - { - "name": "US STATES", - "value": "ST" - }, - { - "name": "ZIP", - "value": "ZIP" - }, - { - "name": "COUNTRY", - "value": "COUNTRY" - } + { "name": "EMAIL", "value": "EMAIL" }, + { "name": "PHONE", "value": "PHONE" }, + { "name": "GENDER", "value": "GEN" }, + { "name": "MADID", "value": "MADID" }, + { "name": "EXTERN_ID", "value": "EXTERN_ID" }, + { "name": "DOB YEAR (YYYY)", "value": "DOBY" }, + { "name": "DOB MONTH (MM)", "value": "DOBM" }, + { "name": "DOB DATE (DD)", "value": "DOBD" }, + { "name": "LAST NAME", "value": "LN" }, + { "name": "FIRST NAME", "value": "FN" }, + { "name": "FIRST NAME INITIAL", "value": "FI" }, + { "name": "CITY", "value": "CT" }, + { "name": "US STATES", "value": "ST" }, + { "name": "ZIP", "value": "ZIP" }, + { "name": "COUNTRY", "value": "COUNTRY" } ], - "defaultOption": { - "value": ["EMAIL"] - }, + "defaultOption": { "value": ["EMAIL"] }, "footerNote": "The Allowed Parameter List : https://developers.facebook.com/docs/marketing-api/audiences/guides/custom-audiences/#hash" }, { @@ -110,12 +63,7 @@ "value": "isHashRequired", "default": true }, - { - "type": "checkbox", - "label": "Is The Data Raw", - "value": "isRaw", - "default": false - }, + { "type": "checkbox", "label": "Is The Data Raw", "value": "isRaw", "default": false }, { "type": "checkbox", "label": "Disable Formatting", @@ -129,47 +77,17 @@ "placeholder": "NA", "mode": "single", "options": [ - { - "name": "UNKNOWN", - "value": "UNKNOWN" - }, - { - "name": "FILE_IMPORTED", - "value": "FILE_IMPORTED" - }, - { - "name": "EVENT_BASED", - "value": "EVENT_BASED" - }, - { - "name": "SEED_BASED", - "value": "SEED_BASED" - }, - { - "name": "THIRD_PARTY_IMPORTED", - "value": "THIRD_PARTY_IMPORTED" - }, - { - "name": "COPY_PASTE", - "value": "COPY_PASTE" - }, - { - "name": "CONTACT_IMPORTER", - "value": "CONTACT_IMPORTER" - }, - { - "name": "HOUSEHOLD_AUDIENCE", - "value": "HOUSEHOLD_AUDIENCE" - }, - { - "name": "NA", - "value": "NA" - } + { "name": "UNKNOWN", "value": "UNKNOWN" }, + { "name": "FILE_IMPORTED", "value": "FILE_IMPORTED" }, + { "name": "EVENT_BASED", "value": "EVENT_BASED" }, + { "name": "SEED_BASED", "value": "SEED_BASED" }, + { "name": "THIRD_PARTY_IMPORTED", "value": "THIRD_PARTY_IMPORTED" }, + { "name": "COPY_PASTE", "value": "COPY_PASTE" }, + { "name": "CONTACT_IMPORTER", "value": "CONTACT_IMPORTER" }, + { "name": "HOUSEHOLD_AUDIENCE", "value": "HOUSEHOLD_AUDIENCE" }, + { "name": "NA", "value": "NA" } ], - "defaultOption": { - "name": "NA", - "value": "NA" - } + "defaultOption": { "name": "NA", "value": "NA" } }, { "type": "singleSelect", @@ -178,118 +96,34 @@ "placeholder": "NA", "mode": "single", "options": [ - { - "name": "ANYTHING", - "value": "ANYTHING" - }, - { - "name": "NOTHING", - "value": "NOTHING" - }, - { - "name": "HASHES", - "value": "HASHES" - }, - { - "name": "USER_IDS", - "value": "USER_IDS" - }, - { - "name": "HASHES_OR_USER_IDS", - "value": "HASHES_OR_USER_IDS" - }, - { - "name": "MOBILE_ADVERTISER_IDS", - "value": "MOBILE_ADVERTISER_IDS" - }, - { - "name": "FB_EVENT_SIGNALS", - "value": "FB_EVENT_SIGNALS" - }, - { - "name": "EXTERNAL_IDS", - "value": "EXTERNAL_IDS" - }, - { - "name": "MULTI_HASHES", - "value": "MULTI_HASHES" - }, - { - "name": "TOKENS", - "value": "TOKENS" - }, - { - "name": "EXTERNAL_IDS_MIX", - "value": "EXTERNAL_IDS_MIX" - }, - { - "name": "WEB_PIXEL_HITS", - "value": "WEB_PIXEL_HITS" - }, - { - "name": "MOBILE_APP_EVENTS", - "value": "MOBILE_APP_EVENTS" - }, - { - "name": "MOBILE_APP_COMBINATION_EVENTS", - "value": "MOBILE_APP_COMBINATION_EVENTS" - }, - { - "name": "VIDEO_EVENTS", - "value": "VIDEO_EVENTS" - }, - { - "name": "WEB_PIXEL_COMBINATION_EVENTS", - "value": "WEB_PIXEL_COMBINATION_EVENTS" - }, - { - "name": "IG_BUSINESS_EVENTS", - "value": "IG_BUSINESS_EVENTS" - }, - { - "name": "MULTI_DATA_EVENTS", - "value": "MULTI_DATA_EVENTS" - }, - { - "name": "STORE_VISIT_EVENTS", - "value": "STORE_VISIT_EVENTS" - }, - { - "name": "INSTANT_ARTICLE_EVENTS", - "value": "INSTANT_ARTICLE_EVENTS" - }, - { - "name": "ENGAGEMENT_EVENT_USERS", - "value": "ENGAGEMENT_EVENT_USERS" - }, - { - "name": "FACEBOOK_WIFI_EVENTS", - "value": "FACEBOOK_WIFI_EVENTS" - }, - { - "name": "CUSTOM_AUDIENCE_USERS", - "value": "CUSTOM_AUDIENCE_USERS" - }, - { - "name": "S_EXPR", - "value": "S_EXPR" - }, - { - "name": "DYNAMIC_RULE", - "value": "DYNAMIC_RULE" - }, - { - "name": "CONVERSION_PIXEL_HITS", - "value": "CONVERSION_PIXEL_HITS" - }, - { - "name": "APP_USERS", - "value": "APP_USERS" - }, - { - "name": "CAMPAIGN_CONVERSIONS", - "value": "CAMPAIGN_CONVERSIONS" - }, + { "name": "ANYTHING", "value": "ANYTHING" }, + { "name": "NOTHING", "value": "NOTHING" }, + { "name": "HASHES", "value": "HASHES" }, + { "name": "USER_IDS", "value": "USER_IDS" }, + { "name": "HASHES_OR_USER_IDS", "value": "HASHES_OR_USER_IDS" }, + { "name": "MOBILE_ADVERTISER_IDS", "value": "MOBILE_ADVERTISER_IDS" }, + { "name": "FB_EVENT_SIGNALS", "value": "FB_EVENT_SIGNALS" }, + { "name": "EXTERNAL_IDS", "value": "EXTERNAL_IDS" }, + { "name": "MULTI_HASHES", "value": "MULTI_HASHES" }, + { "name": "TOKENS", "value": "TOKENS" }, + { "name": "EXTERNAL_IDS_MIX", "value": "EXTERNAL_IDS_MIX" }, + { "name": "WEB_PIXEL_HITS", "value": "WEB_PIXEL_HITS" }, + { "name": "MOBILE_APP_EVENTS", "value": "MOBILE_APP_EVENTS" }, + { "name": "MOBILE_APP_COMBINATION_EVENTS", "value": "MOBILE_APP_COMBINATION_EVENTS" }, + { "name": "VIDEO_EVENTS", "value": "VIDEO_EVENTS" }, + { "name": "WEB_PIXEL_COMBINATION_EVENTS", "value": "WEB_PIXEL_COMBINATION_EVENTS" }, + { "name": "IG_BUSINESS_EVENTS", "value": "IG_BUSINESS_EVENTS" }, + { "name": "MULTI_DATA_EVENTS", "value": "MULTI_DATA_EVENTS" }, + { "name": "STORE_VISIT_EVENTS", "value": "STORE_VISIT_EVENTS" }, + { "name": "INSTANT_ARTICLE_EVENTS", "value": "INSTANT_ARTICLE_EVENTS" }, + { "name": "ENGAGEMENT_EVENT_USERS", "value": "ENGAGEMENT_EVENT_USERS" }, + { "name": "FACEBOOK_WIFI_EVENTS", "value": "FACEBOOK_WIFI_EVENTS" }, + { "name": "CUSTOM_AUDIENCE_USERS", "value": "CUSTOM_AUDIENCE_USERS" }, + { "name": "S_EXPR", "value": "S_EXPR" }, + { "name": "DYNAMIC_RULE", "value": "DYNAMIC_RULE" }, + { "name": "CONVERSION_PIXEL_HITS", "value": "CONVERSION_PIXEL_HITS" }, + { "name": "APP_USERS", "value": "APP_USERS" }, + { "name": "CAMPAIGN_CONVERSIONS", "value": "CAMPAIGN_CONVERSIONS" }, { "name": "WEB_PIXEL_HITS_CUSTOM_AUDIENCE_USERS", "value": "WEB_PIXEL_HITS_CUSTOM_AUDIENCE_USERS" @@ -298,95 +132,29 @@ "name": "MOBILE_APP_CUSTOM_AUDIENCE_USERS", "value": "MOBILE_APP_CUSTOM_AUDIENCE_USERS" }, - { - "name": "VIDEO_EVENT_USERS", - "value": "VIDEO_EVENT_USERS" - }, - { - "name": "FB_PIXEL_HITS", - "value": "FB_PIXEL_HITS" - }, - { - "name": "IG_PROMOTED_POST", - "value": "IG_PROMOTED_POST" - }, - { - "name": "PLACE_VISITS", - "value": "PLACE_VISITS" - }, - { - "name": "OFFLINE_EVENT_USERS", - "value": "OFFLINE_EVENT_USERS" - }, - { - "name": "EXPANDED_AUDIENCE", - "value": "EXPANDED_AUDIENCE" - }, - { - "name": "SEED_LIST", - "value": "SEED_LIST" - }, - { - "name": "PARTNER_CATEGORY_USERS", - "value": "PARTNER_CATEGORY_USERS" - }, - { - "name": "PAGE_SMART_AUDIENCE", - "value": "PAGE_SMART_AUDIENCE" - }, - { - "name": "MULTICOUNTRY_COMBINATION", - "value": "MULTICOUNTRY_COMBINATION" - }, - { - "name": "PLATFORM_USERS", - "value": "PLATFORM_USERS" - }, - { - "name": "MULTI_EVENT_SOURCE", - "value": "MULTI_EVENT_SOURCE" - }, - { - "name": "SMART_AUDIENCE", - "value": "SMART_AUDIENCE" - }, - { - "name": "LOOKALIKE_PLATFORM", - "value": "LOOKALIKE_PLATFORM" - }, - { - "name": "SIGNAL_SOURCE", - "value": "SIGNAL_SOURCE" - }, - { - "name": "MAIL_CHIMP_EMAIL_HASHES", - "value": "MAIL_CHIMP_EMAIL_HASHES" - }, - { - "name": "CONSTANT_CONTACTS_EMAIL_HASHES", - "value": "CONSTANT_CONTACTS_EMAIL_HASHES" - }, - { - "name": "COPY_PASTE_EMAIL_HASHES", - "value": "COPY_PASTE_EMAIL_HASHES" - }, - { - "name": "CONTACT_IMPORTER", - "value": "CONTACT_IMPORTER" - }, - { - "name": "DATA_FILE", - "value": "DATA_FILE" - }, - { - "name": "NA", - "value": "NA" - } + { "name": "VIDEO_EVENT_USERS", "value": "VIDEO_EVENT_USERS" }, + { "name": "FB_PIXEL_HITS", "value": "FB_PIXEL_HITS" }, + { "name": "IG_PROMOTED_POST", "value": "IG_PROMOTED_POST" }, + { "name": "PLACE_VISITS", "value": "PLACE_VISITS" }, + { "name": "OFFLINE_EVENT_USERS", "value": "OFFLINE_EVENT_USERS" }, + { "name": "EXPANDED_AUDIENCE", "value": "EXPANDED_AUDIENCE" }, + { "name": "SEED_LIST", "value": "SEED_LIST" }, + { "name": "PARTNER_CATEGORY_USERS", "value": "PARTNER_CATEGORY_USERS" }, + { "name": "PAGE_SMART_AUDIENCE", "value": "PAGE_SMART_AUDIENCE" }, + { "name": "MULTICOUNTRY_COMBINATION", "value": "MULTICOUNTRY_COMBINATION" }, + { "name": "PLATFORM_USERS", "value": "PLATFORM_USERS" }, + { "name": "MULTI_EVENT_SOURCE", "value": "MULTI_EVENT_SOURCE" }, + { "name": "SMART_AUDIENCE", "value": "SMART_AUDIENCE" }, + { "name": "LOOKALIKE_PLATFORM", "value": "LOOKALIKE_PLATFORM" }, + { "name": "SIGNAL_SOURCE", "value": "SIGNAL_SOURCE" }, + { "name": "MAIL_CHIMP_EMAIL_HASHES", "value": "MAIL_CHIMP_EMAIL_HASHES" }, + { "name": "CONSTANT_CONTACTS_EMAIL_HASHES", "value": "CONSTANT_CONTACTS_EMAIL_HASHES" }, + { "name": "COPY_PASTE_EMAIL_HASHES", "value": "COPY_PASTE_EMAIL_HASHES" }, + { "name": "CONTACT_IMPORTER", "value": "CONTACT_IMPORTER" }, + { "name": "DATA_FILE", "value": "DATA_FILE" }, + { "name": "NA", "value": "NA" } ], - "defaultOption": { - "name": "NA", - "value": "NA" - } + "defaultOption": { "name": "NA", "value": "NA" } } ] }, diff --git a/src/configurations/destinations/firehose/ui-config.json b/src/configurations/destinations/firehose/ui-config.json index 2448e6908..65f6795de 100644 --- a/src/configurations/destinations/firehose/ui-config.json +++ b/src/configurations/destinations/firehose/ui-config.json @@ -20,10 +20,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "^(.{0,100})$", @@ -37,10 +34,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "^(.{0,100})$", @@ -51,10 +45,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "^(.{0,100})$", diff --git a/src/configurations/destinations/freshmarketer/schema.json b/src/configurations/destinations/freshmarketer/schema.json index 70de07a4e..f6a0ddb70 100644 --- a/src/configurations/destinations/freshmarketer/schema.json +++ b/src/configurations/destinations/freshmarketer/schema.json @@ -21,10 +21,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "to": { - "type": "string", - "enum": ["sales_activity", "lifecycle_stage", ""] - } + "to": { "type": "string", "enum": ["sales_activity", "lifecycle_stage", ""] } } } }, diff --git a/src/configurations/destinations/freshmarketer/ui-config.json b/src/configurations/destinations/freshmarketer/ui-config.json index ec4fd5a54..53ecbce99 100644 --- a/src/configurations/destinations/freshmarketer/ui-config.json +++ b/src/configurations/destinations/freshmarketer/ui-config.json @@ -38,14 +38,8 @@ "required": false, "placeholderLeft": "e.g. Sales Activities", "options": [ - { - "name": "Sales Activities", - "value": "sales_activity" - }, - { - "name": "Lifecycle Stage", - "value": "lifecycle_stage" - } + { "name": "Sales Activities", "value": "sales_activity" }, + { "name": "Lifecycle Stage", "value": "lifecycle_stage" } ] } ] diff --git a/src/configurations/destinations/freshsales/schema.json b/src/configurations/destinations/freshsales/schema.json index a58ed3a80..da481e209 100644 --- a/src/configurations/destinations/freshsales/schema.json +++ b/src/configurations/destinations/freshsales/schema.json @@ -21,10 +21,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "to": { - "type": "string", - "enum": ["sales_activity", "lifecycle_stage", ""] - } + "to": { "type": "string", "enum": ["sales_activity", "lifecycle_stage", ""] } } } }, diff --git a/src/configurations/destinations/freshsales/ui-config.json b/src/configurations/destinations/freshsales/ui-config.json index 3aa329eec..ed7ed5048 100644 --- a/src/configurations/destinations/freshsales/ui-config.json +++ b/src/configurations/destinations/freshsales/ui-config.json @@ -38,14 +38,8 @@ "required": false, "placeholderLeft": "e.g. Sales Activities", "options": [ - { - "name": "Sales Activities", - "value": "sales_activity" - }, - { - "name": "Lifecycle Stage", - "value": "lifecycle_stage" - } + { "name": "Sales Activities", "value": "sales_activity" }, + { "name": "Lifecycle Stage", "value": "lifecycle_stage" } ] } ] diff --git a/src/configurations/destinations/fullstory/db-config.json b/src/configurations/destinations/fullstory/db-config.json index 5b13f9996..7ae9dad0f 100644 --- a/src/configurations/destinations/fullstory/db-config.json +++ b/src/configurations/destinations/fullstory/db-config.json @@ -62,7 +62,5 @@ }, "secretKeys": ["apiKey"] }, - "options": { - "isBeta": true - } + "options": { "isBeta": true } } diff --git a/src/configurations/destinations/fullstory/schema.json b/src/configurations/destinations/fullstory/schema.json index a5a26b82a..47de3751d 100644 --- a/src/configurations/destinations/fullstory/schema.json +++ b/src/configurations/destinations/fullstory/schema.json @@ -54,43 +54,21 @@ } } }, - "fs_debug_mode": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "fs_debug_mode": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "useNativeSDK": { "type": "object", "properties": { - "web": { - "type": "boolean" - }, - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - } + "web": { "type": "boolean" }, + "android": { "type": "boolean" }, + "ios": { "type": "boolean" } } }, "connectionMode": { "type": "object", "properties": { - "web": { - "type": "string", - "enum": ["cloud", "device"] - }, - "android": { - "type": "string", - "enum": ["cloud", "device"] - }, - "ios": { - "type": "string", - "enum": ["cloud", "device"] - } + "web": { "type": "string", "enum": ["cloud", "device"] }, + "android": { "type": "string", "enum": ["cloud", "device"] }, + "ios": { "type": "string", "enum": ["cloud", "device"] } } } }, @@ -103,10 +81,7 @@ "connectionMode": { "type": "object", "properties": { - "web": { - "type": "string", - "enum": ["cloud"] - } + "web": { "type": "string", "enum": ["cloud"] } }, "required": ["web"] } @@ -117,10 +92,7 @@ "connectionMode": { "type": "object", "properties": { - "android": { - "type": "string", - "enum": ["cloud"] - } + "android": { "type": "string", "enum": ["cloud"] } }, "required": ["android"] } @@ -131,10 +103,7 @@ "connectionMode": { "type": "object", "properties": { - "ios": { - "type": "string", - "enum": ["cloud"] - } + "ios": { "type": "string", "enum": ["cloud"] } }, "required": ["ios"] } @@ -158,10 +127,7 @@ "connectionMode": { "type": "object", "properties": { - "web": { - "type": "string", - "enum": ["device"] - } + "web": { "type": "string", "enum": ["device"] } }, "required": ["web"] } diff --git a/src/configurations/destinations/ga/db-config.json b/src/configurations/destinations/ga/db-config.json index 2b871bd7a..5f464802c 100644 --- a/src/configurations/destinations/ga/db-config.json +++ b/src/configurations/destinations/ga/db-config.json @@ -57,9 +57,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track"], - "device": { - "web": ["track", "page"] - } + "device": { "web": ["track", "page"] } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/ga/schema.json b/src/configurations/destinations/ga/schema.json index a5ebfd333..0a03627f5 100644 --- a/src/configurations/destinations/ga/schema.json +++ b/src/configurations/destinations/ga/schema.json @@ -8,14 +8,7 @@ "type": "string", "pattern": "(^env[.].+)|(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^(UA|YT|MO)-\\d+-\\d{0,100}$)" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -45,42 +38,12 @@ } } }, - "doubleClick": { - "type": "boolean", - "default": false - }, - "enhancedLinkAttribution": { - "type": "boolean", - "default": false - }, - "includeSearch": { - "type": "boolean", - "default": false - }, - "trackCategorizedPages": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "trackNamedPages": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "useRichEventNames": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "doubleClick": { "type": "boolean", "default": false }, + "enhancedLinkAttribution": { "type": "boolean", "default": false }, + "includeSearch": { "type": "boolean", "default": false }, + "trackCategorizedPages": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "trackNamedPages": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useRichEventNames": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "sampleRate": { "type": "object", "properties": { @@ -148,14 +111,7 @@ } } }, - "setAllMappedProps": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "setAllMappedProps": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "contentGroupings": { "type": "array", "items": { @@ -172,10 +128,7 @@ } } }, - "enableServerSideIdentify": { - "type": "boolean", - "default": false - }, + "enableServerSideIdentify": { "type": "boolean", "default": false }, "serverSideIdentifyEventCategory": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(^(.{0,100})$)" @@ -184,22 +137,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(^(.{0,100})$)" }, - "namedTracker": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "disableMd5": { - "type": "boolean", - "default": false - }, - "anonymizeIp": { - "type": "boolean", - "default": false - }, + "namedTracker": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "disableMd5": { "type": "boolean", "default": false }, + "anonymizeIp": { "type": "boolean", "default": false }, "domain": { "type": "object", "properties": { @@ -209,14 +149,8 @@ } } }, - "enhancedEcommerce": { - "type": "boolean", - "default": false - }, - "nonInteraction": { - "type": "boolean", - "default": false - }, + "enhancedEcommerce": { "type": "boolean", "default": false }, + "nonInteraction": { "type": "boolean", "default": false }, "optimize": { "type": "object", "properties": { @@ -226,18 +160,8 @@ } } }, - "sendUserId": { - "type": "boolean", - "default": false - }, - "useGoogleAmpClientId": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "sendUserId": { "type": "boolean", "default": false }, + "useGoogleAmpClientId": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "customMappings": { "type": "array", "items": { @@ -270,12 +194,7 @@ "type": "array", "items": { "type": "object", - "properties": { - "purpose": { - "type": "string", - "pattern": "^(.{0,100})$" - } - } + "properties": { "purpose": { "type": "string", "pattern": "^(.{0,100})$" } } } } } diff --git a/src/configurations/destinations/gcs/schema.json b/src/configurations/destinations/gcs/schema.json index 1c7642a05..68c71a20b 100644 --- a/src/configurations/destinations/gcs/schema.json +++ b/src/configurations/destinations/gcs/schema.json @@ -12,10 +12,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "credentials": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "credentials": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/gcs_datalake/schema.json b/src/configurations/destinations/gcs_datalake/schema.json index 13108005b..21ced5ba4 100644 --- a/src/configurations/destinations/gcs_datalake/schema.json +++ b/src/configurations/destinations/gcs_datalake/schema.json @@ -16,10 +16,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, - "tableSuffix": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "tableSuffix": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "timeWindowLayout": { "type": "string", "enum": [ @@ -32,18 +29,13 @@ ], "default": "2006/01/02/15" }, - "credentials": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "credentials": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "syncFrequency": { "type": "string", "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/gcs_datalake/ui-config.json b/src/configurations/destinations/gcs_datalake/ui-config.json index 543412474..071fa9f34 100644 --- a/src/configurations/destinations/gcs_datalake/ui-config.json +++ b/src/configurations/destinations/gcs_datalake/ui-config.json @@ -50,22 +50,10 @@ "label": "Choose time window layout", "value": "timeWindowLayout", "options": [ - { - "name": "Default (YYYY/MM/DD/HH)", - "value": "2006/01/02/15" - }, - { - "name": "Upto Date (dt=YYYY-MM-DD)", - "value": "dt=2006-01-02" - }, - { - "name": "Upto Year (year=YYYY)", - "value": "year=2006" - }, - { - "name": "Upto Month (year=YYYY/month=MM)", - "value": "year=2006/month=01" - }, + { "name": "Default (YYYY/MM/DD/HH)", "value": "2006/01/02/15" }, + { "name": "Upto Date (dt=YYYY-MM-DD)", "value": "dt=2006-01-02" }, + { "name": "Upto Year (year=YYYY)", "value": "year=2006" }, + { "name": "Upto Month (year=YYYY/month=MM)", "value": "year=2006/month=01" }, { "name": "Upto Day (year=YYYY/month=MM/day=DD)", "value": "year=2006/month=01/day=02" @@ -75,10 +63,7 @@ "value": "year=2006/month=01/day=02/hour=15" } ], - "defaultOption": { - "name": "Default (YYYY/MM/DD/HH)", - "value": "2006/01/02/15" - }, + "defaultOption": { "name": "Default (YYYY/MM/DD/HH)", "value": "2006/01/02/15" }, "required": false }, { @@ -95,45 +80,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" } diff --git a/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json b/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json index 30e4ffd28..56fe584ec 100644 --- a/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json +++ b/src/configurations/destinations/google_adwords_enhanced_conversions/db-config.json @@ -12,9 +12,7 @@ "saveDestinationResponse": true, "includeKeys": ["oneTrustCookieCategories"], "excludeKeys": [], - "supportedMessageTypes": { - "cloud": ["track"] - }, + "supportedMessageTypes": { "cloud": ["track"] }, "supportedSourceTypes": [ "android", "ios", diff --git a/src/configurations/destinations/google_adwords_offline_conversions/schema.json b/src/configurations/destinations/google_adwords_offline_conversions/schema.json index 4a2282611..77cbc8a12 100644 --- a/src/configurations/destinations/google_adwords_offline_conversions/schema.json +++ b/src/configurations/destinations/google_adwords_offline_conversions/schema.json @@ -8,10 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "subAccount": { - "type": "boolean", - "default": false - }, + "subAccount": { "type": "boolean", "default": false }, "eventsToOfflineConversionsTypeMapping": { "type": "array", "items": { @@ -21,10 +18,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "to": { - "type": "string", - "enum": ["click", "call", "store", ""] - } + "to": { "type": "string", "enum": ["click", "call", "store", ""] } } } }, @@ -70,19 +64,9 @@ "enum": ["none", "UNSPECIFIED", "UNKNOWN", "APP", "WEB"], "default": "none" }, - "defaultUserIdentifier": { - "type": "string", - "enum": ["email", "phone"], - "default": "email" - }, - "hashUserIdentifier": { - "type": "boolean", - "default": true - }, - "validateOnly": { - "type": "boolean", - "default": false - }, + "defaultUserIdentifier": { "type": "string", "enum": ["email", "phone"], "default": "email" }, + "hashUserIdentifier": { "type": "boolean", "default": true }, + "validateOnly": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -98,14 +82,7 @@ }, "anyOf": [ { - "if": { - "properties": { - "subAccount": { - "const": true - } - }, - "required": ["subAccount"] - }, + "if": { "properties": { "subAccount": { "const": true } }, "required": ["subAccount"] }, "then": { "properties": { "loginCustomerId": { diff --git a/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json b/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json index d45be0ffb..e6bce9479 100644 --- a/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json +++ b/src/configurations/destinations/google_adwords_offline_conversions/ui-config.json @@ -22,12 +22,7 @@ { "type": "textInput", "label": "Login Customer ID", - "preRequisiteField": [ - { - "name": "subAccount", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "subAccount", "selectedValue": true }], "value": "loginCustomerId", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$", "required": true, @@ -92,31 +87,13 @@ "required": false, "footerNote": "Source of the user identifier", "options": [ - { - "name": "None", - "value": "none" - }, - { - "name": "UNSPECIFIED", - "value": "UNSPECIFIED" - }, - { - "name": "UNKNOWN", - "value": "UNKNOWN" - }, - { - "name": "FIRST_PARTY", - "value": "FIRST_PARTY" - }, - { - "name": "THIRD_PARTY", - "value": "THIRD_PARTY" - } + { "name": "None", "value": "none" }, + { "name": "UNSPECIFIED", "value": "UNSPECIFIED" }, + { "name": "UNKNOWN", "value": "UNKNOWN" }, + { "name": "FIRST_PARTY", "value": "FIRST_PARTY" }, + { "name": "THIRD_PARTY", "value": "THIRD_PARTY" } ], - "defaultOption": { - "name": "None", - "value": "none" - } + "defaultOption": { "name": "None", "value": "none" } }, { "type": "singleSelect", @@ -125,31 +102,13 @@ "required": false, "footerNote": "The environment this conversion was recorded on. e.g. App or Web.", "options": [ - { - "name": "None", - "value": "none" - }, - { - "name": "UNSPECIFIED", - "value": "UNSPECIFIED" - }, - { - "name": "UNKNOWN", - "value": "UNKNOWN" - }, - { - "name": "APP", - "value": "APP" - }, - { - "name": "WEB", - "value": "WEB" - } + { "name": "None", "value": "none" }, + { "name": "UNSPECIFIED", "value": "UNSPECIFIED" }, + { "name": "UNKNOWN", "value": "UNKNOWN" }, + { "name": "APP", "value": "APP" }, + { "name": "WEB", "value": "WEB" } ], - "defaultOption": { - "name": "None", - "value": "none" - } + "defaultOption": { "name": "None", "value": "none" } }, { "type": "singleSelect", @@ -165,10 +124,7 @@ "value": "phone" } ], - "defaultOption": { - "name": "Email", - "value": "email" - } + "defaultOption": { "name": "Email", "value": "email" } }, { "type": "checkbox", diff --git a/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json b/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json index ea74932e3..631f39da3 100644 --- a/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json +++ b/src/configurations/destinations/google_adwords_remarketing_lists/ui-config.json @@ -31,12 +31,7 @@ { "type": "textInput", "label": "Login Customer ID", - "preRequisiteField": [ - { - "name": "subAccount", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "subAccount", "selectedValue": true }], "value": "loginCustomerId", "regex": "^(.{0,100})$", "required": true, @@ -53,22 +48,11 @@ "value": "typeOfList", "mode": "single", "options": [ - { - "name": "General", - "value": "General" - }, - { - "name": "User ID", - "value": "userID" - }, - { - "name": "Mobile Device ID", - "value": "mobileDeviceID" - } + { "name": "General", "value": "General" }, + { "name": "User ID", "value": "userID" }, + { "name": "Mobile Device ID", "value": "mobileDeviceID" } ], - "defaultOption": { - "value": "General" - } + "defaultOption": { "value": "General" } }, { "type": "checkbox", @@ -79,32 +63,15 @@ { "type": "singleSelect", "label": "Schema Fields", - "preRequisiteField": [ - { - "name": "typeOfList", - "selectedValue": "General" - } - ], + "preRequisiteField": [{ "name": "typeOfList", "selectedValue": "General" }], "value": "userSchema", "mode": "multiple", "options": [ - { - "name": "Email", - "value": "email" - }, - { - "name": "Phone Number", - "value": "phone" - }, - { - "name": "Address Info", - "value": "addressInfo" - } + { "name": "Email", "value": "email" }, + { "name": "Phone Number", "value": "phone" }, + { "name": "Address Info", "value": "addressInfo" } ], - "defaultOption": { - "name": "Email", - "value": ["email"] - } + "defaultOption": { "name": "Email", "value": ["email"] } } ] }, diff --git a/src/configurations/destinations/google_cloud_function/schema.json b/src/configurations/destinations/google_cloud_function/schema.json index 06af6d5cf..7a0bcf954 100644 --- a/src/configurations/destinations/google_cloud_function/schema.json +++ b/src/configurations/destinations/google_cloud_function/schema.json @@ -8,14 +8,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]+$" }, - "requireAuthentication": { - "type": "boolean", - "default": true - }, - "enableBatchInput": { - "type": "boolean", - "default": false - }, + "requireAuthentication": { "type": "boolean", "default": true }, + "enableBatchInput": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -32,11 +26,7 @@ "allOf": [ { "if": { - "properties": { - "requireAuthentication": { - "const": true - } - }, + "properties": { "requireAuthentication": { "const": true } }, "required": ["requireAuthentication"] }, "then": { @@ -51,11 +41,7 @@ }, { "if": { - "properties": { - "enableBatchInput": { - "const": true - } - }, + "properties": { "enableBatchInput": { "const": true } }, "required": ["enableBatchInput"] }, "then": { diff --git a/src/configurations/destinations/google_cloud_function/ui-config.json b/src/configurations/destinations/google_cloud_function/ui-config.json index 9c4506f69..737d3cdfc 100644 --- a/src/configurations/destinations/google_cloud_function/ui-config.json +++ b/src/configurations/destinations/google_cloud_function/ui-config.json @@ -20,12 +20,7 @@ }, { "type": "textareaInput", - "preRequisiteField": [ - { - "name": "requireAuthentication", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "requireAuthentication", "selectedValue": true }], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in authenticating your Google Cloud Function", "value": "credentials", @@ -47,10 +42,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "enableBatchInput", - "selectedValue": true - }, + "preRequisiteField": { "name": "enableBatchInput", "selectedValue": true }, "label": "Max Batch Size", "value": "maxBatchSize", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[1-9]\\d*$", diff --git a/src/configurations/destinations/googleads/schema.json b/src/configurations/destinations/googleads/schema.json index 6b457c3a6..dda5cdb0e 100644 --- a/src/configurations/destinations/googleads/schema.json +++ b/src/configurations/destinations/googleads/schema.json @@ -35,22 +35,9 @@ } } }, - "trackConversions": { - "type": "boolean", - "default": true - }, - "trackDynamicRemarketing": { - "type": "boolean", - "default": false - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "trackConversions": { "type": "boolean", "default": true }, + "trackDynamicRemarketing": { "type": "boolean", "default": false }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -116,26 +103,11 @@ } } }, - "sendPageView": { - "type": "boolean", - "default": true - }, - "conversionLinker": { - "type": "boolean", - "default": true - }, - "disableAdPersonalization": { - "type": "boolean", - "default": false - }, - "enableConversionLabel": { - "type": "boolean", - "default": false - }, - "allowEnhancedConversions": { - "type": "boolean", - "default": false - }, + "sendPageView": { "type": "boolean", "default": true }, + "conversionLinker": { "type": "boolean", "default": true }, + "disableAdPersonalization": { "type": "boolean", "default": false }, + "enableConversionLabel": { "type": "boolean", "default": false }, + "allowEnhancedConversions": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -152,19 +124,12 @@ "allOf": [ { "if": { - "properties": { - "trackConversions": { - "const": true - } - }, + "properties": { "trackConversions": { "const": true } }, "required": ["trackConversions"] }, "then": { "properties": { - "enableConversionEventsFiltering": { - "type": "boolean", - "default": false - } + "enableConversionEventsFiltering": { "type": "boolean", "default": false } }, "required": [] } @@ -172,12 +137,8 @@ { "if": { "properties": { - "trackConversions": { - "const": true - }, - "enableConversionEventsFiltering": { - "const": true - } + "trackConversions": { "const": true }, + "enableConversionEventsFiltering": { "const": true } }, "required": ["trackConversions", "enableConversionEventsFiltering"] }, @@ -201,19 +162,12 @@ }, { "if": { - "properties": { - "trackDynamicRemarketing": { - "const": true - } - }, + "properties": { "trackDynamicRemarketing": { "const": true } }, "required": ["trackDynamicRemarketing"] }, "then": { "properties": { - "enableDynamicRemarketingEventsFiltering": { - "type": "boolean", - "default": false - } + "enableDynamicRemarketingEventsFiltering": { "type": "boolean", "default": false } }, "required": [] } @@ -221,12 +175,8 @@ { "if": { "properties": { - "trackDynamicRemarketing": { - "const": true - }, - "enableDynamicRemarketingEventsFiltering": { - "const": true - } + "trackDynamicRemarketing": { "const": true }, + "enableDynamicRemarketingEventsFiltering": { "const": true } }, "required": ["trackDynamicRemarketing", "enableDynamicRemarketingEventsFiltering"] }, diff --git a/src/configurations/destinations/googlepubsub/schema.json b/src/configurations/destinations/googlepubsub/schema.json index 621a96724..d1c572dd6 100644 --- a/src/configurations/destinations/googlepubsub/schema.json +++ b/src/configurations/destinations/googlepubsub/schema.json @@ -8,10 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "credentials": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.+" - }, + "credentials": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.+" }, "eventToTopicMap": { "type": "array", "items": { diff --git a/src/configurations/destinations/gtm/schema.json b/src/configurations/destinations/gtm/schema.json index b368b587c..d27415161 100644 --- a/src/configurations/destinations/gtm/schema.json +++ b/src/configurations/destinations/gtm/schema.json @@ -12,14 +12,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(?:http(s)?:\\/\\/)?[\\w.-]+(?:\\.[\\w\\.-]+)+[\\w\\-\\._~:/?#[\\]@!\\$&'\\(\\)\\*\\+,;=.]*|^$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/heap/db-config.json b/src/configurations/destinations/heap/db-config.json index de2449b24..f4480071c 100644 --- a/src/configurations/destinations/heap/db-config.json +++ b/src/configurations/destinations/heap/db-config.json @@ -29,9 +29,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track"], - "device": { - "web": ["identify", "track"] - } + "device": { "web": ["identify", "track"] } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/heap/schema.json b/src/configurations/destinations/heap/schema.json index 9cffa0798..dfe3aca06 100644 --- a/src/configurations/destinations/heap/schema.json +++ b/src/configurations/destinations/heap/schema.json @@ -8,14 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/hotjar/schema.json b/src/configurations/destinations/hotjar/schema.json index b08b921e4..e88b23c8e 100644 --- a/src/configurations/destinations/hotjar/schema.json +++ b/src/configurations/destinations/hotjar/schema.json @@ -8,14 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/hs/schema.json b/src/configurations/destinations/hs/schema.json index 4b9b61386..5953a44bc 100644 --- a/src/configurations/destinations/hs/schema.json +++ b/src/configurations/destinations/hs/schema.json @@ -13,19 +13,8 @@ "enum": ["legacyApiKey", "newPrivateAppApi"], "default": "legacyApiKey" }, - "apiVersion": { - "type": "string", - "enum": ["legacyApi", "newApi"], - "default": "legacyApi" - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "apiVersion": { "type": "string", "enum": ["legacyApi", "newApi"], "default": "legacyApi" }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -71,11 +60,7 @@ "allOf": [ { "if": { - "properties": { - "authorizationType": { - "const": "legacyApiKey" - } - }, + "properties": { "authorizationType": { "const": "legacyApiKey" } }, "required": ["authorizationType"] }, "then": { @@ -90,11 +75,7 @@ }, { "if": { - "properties": { - "authorizationType": { - "const": "newPrivateAppApi" - } - }, + "properties": { "authorizationType": { "const": "newPrivateAppApi" } }, "required": ["authorizationType"] }, "then": { @@ -108,24 +89,14 @@ } }, { - "if": { - "properties": { - "apiVersion": { - "const": "newApi" - } - }, - "required": ["apiVersion"] - }, + "if": { "properties": { "apiVersion": { "const": "newApi" } }, "required": ["apiVersion"] }, "then": { "properties": { "lookupField": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "doAssociation": { - "type": "boolean", - "default": false - }, + "doAssociation": { "type": "boolean", "default": false }, "hubspotEvents": { "type": "array", "items": { diff --git a/src/configurations/destinations/impact/schema.json b/src/configurations/destinations/impact/schema.json index 1f8cc301c..4b222b0a0 100644 --- a/src/configurations/destinations/impact/schema.json +++ b/src/configurations/destinations/impact/schema.json @@ -24,10 +24,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$|^$" }, - "enableEmailHashing": { - "type": "boolean", - "default": false - }, + "enableEmailHashing": { "type": "boolean", "default": false }, "rudderToImpactProperty": { "type": "array", "items": { @@ -60,18 +57,9 @@ } } }, - "enableIdentifyEvents": { - "type": "boolean", - "default": false - }, - "enablePageEvents": { - "type": "boolean", - "default": false - }, - "enableScreenEvents": { - "type": "boolean", - "default": false - }, + "enableIdentifyEvents": { "type": "boolean", "default": false }, + "enablePageEvents": { "type": "boolean", "default": false }, + "enableScreenEvents": { "type": "boolean", "default": false }, "actionEventNames": { "type": "array", "items": { diff --git a/src/configurations/destinations/intercom/schema.json b/src/configurations/destinations/intercom/schema.json index 5684fe8dd..44f33c8ec 100644 --- a/src/configurations/destinations/intercom/schema.json +++ b/src/configurations/destinations/intercom/schema.json @@ -33,29 +33,14 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - }, - "web": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "ios": { "type": "boolean" }, + "web": { "type": "boolean" } } }, - "collectContext": { - "type": "boolean", - "default": false - }, - "sendAnonymousId": { - "type": "boolean", - "default": false - }, - "updateLastRequestAt": { - "type": "boolean", - "default": true - }, + "collectContext": { "type": "boolean", "default": false }, + "sendAnonymousId": { "type": "boolean", "default": false }, + "updateLastRequestAt": { "type": "boolean", "default": true }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/june/schema.json b/src/configurations/destinations/june/schema.json index 67f06f7e2..0cd0d89e0 100644 --- a/src/configurations/destinations/june/schema.json +++ b/src/configurations/destinations/june/schema.json @@ -8,14 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/kafka/ui-config.json b/src/configurations/destinations/kafka/ui-config.json index 7d5d5abd8..3138e5546 100644 --- a/src/configurations/destinations/kafka/ui-config.json +++ b/src/configurations/destinations/kafka/ui-config.json @@ -39,10 +39,7 @@ }, { "type": "textareaInput", - "preRequisiteField": { - "name": "sslEnabled", - "selectedValue": true - }, + "preRequisiteField": { "name": "sslEnabled", "selectedValue": true }, "label": "CA certificate", "value": "caCertificate", "regex": ".*", @@ -62,38 +59,20 @@ }, { "type": "singleSelect", - "preRequisiteField": { - "name": "useSASL", - "selectedValue": true - }, + "preRequisiteField": { "name": "useSASL", "selectedValue": true }, "label": "SASL Type", "value": "saslType", "options": [ - { - "name": "Plain", - "value": "plain" - }, - { - "name": "SCRAM SHA-512", - "value": "sha512" - }, - { - "name": "SCRAM SHA-256", - "value": "sha256" - } + { "name": "Plain", "value": "plain" }, + { "name": "SCRAM SHA-512", "value": "sha512" }, + { "name": "SCRAM SHA-256", "value": "sha256" } ], - "defaultOption": { - "name": "Plain", - "value": "plain" - }, + "defaultOption": { "name": "Plain", "value": "plain" }, "required": true }, { "type": "textInput", - "preRequisiteField": { - "name": "useSASL", - "selectedValue": true - }, + "preRequisiteField": { "name": "useSASL", "selectedValue": true }, "label": "Username", "value": "username", "regex": "^[a-zA-Z0-9_-]{1,32}$", @@ -103,10 +82,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "useSASL", - "selectedValue": true - }, + "preRequisiteField": { "name": "useSASL", "selectedValue": true }, "label": "Password", "value": "password", "regex": "^(.{0,100})$", @@ -128,10 +104,7 @@ "footerNote": "If this option is turned on we will convert the data to avro" }, { - "preRequisiteField": { - "name": "convertToAvro", - "selectedValue": true - }, + "preRequisiteField": { "name": "convertToAvro", "selectedValue": true }, "label": "AVRO Schema Lists", "value": "avroSchemas", "required": true, @@ -154,10 +127,7 @@ ] }, { - "preRequisiteField": { - "name": "convertToAvro", - "selectedValue": true - }, + "preRequisiteField": { "name": "convertToAvro", "selectedValue": true }, "type": "checkbox", "label": "Embed Schema ID in Event Data", "value": "embedAvroSchemaID", @@ -177,10 +147,7 @@ "footerNote": "Enable this option to deliver events to multiple topics" }, { - "preRequisiteField": { - "name": "enableMultiTopic", - "selectedValue": true - }, + "preRequisiteField": { "name": "enableMultiTopic", "selectedValue": true }, "type": "dynamicSelectForm", "label": "Map event type to topic", "labelLeft": "Event Type", @@ -192,33 +159,15 @@ "required": true, "placeholderRight": "e.g. Sample-topic", "options": [ - { - "name": "Identify", - "value": "identify" - }, - { - "name": "Page", - "value": "page" - }, - { - "name": "Screen", - "value": "screen" - }, - { - "name": "Group", - "value": "group" - }, - { - "name": "Alias", - "value": "alias" - } + { "name": "Identify", "value": "identify" }, + { "name": "Page", "value": "page" }, + { "name": "Screen", "value": "screen" }, + { "name": "Group", "value": "group" }, + { "name": "Alias", "value": "alias" } ] }, { - "preRequisiteField": { - "name": "enableMultiTopic", - "selectedValue": true - }, + "preRequisiteField": { "name": "enableMultiTopic", "selectedValue": true }, "type": "dynamicForm", "label": "Map Track events to topic", "required": true, diff --git a/src/configurations/destinations/kinesis/schema.json b/src/configurations/destinations/kinesis/schema.json index 1ad29517b..8956d589b 100644 --- a/src/configurations/destinations/kinesis/schema.json +++ b/src/configurations/destinations/kinesis/schema.json @@ -12,14 +12,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "roleBasedAuth": { - "type": "boolean", - "default": true - }, - "useMessageId": { - "type": "boolean", - "default": false - }, + "roleBasedAuth": { "type": "boolean", "default": true }, + "useMessageId": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -36,11 +30,7 @@ "allOf": [ { "if": { - "properties": { - "roleBasedAuth": { - "const": true - } - }, + "properties": { "roleBasedAuth": { "const": true } }, "required": ["roleBasedAuth"] }, "then": { @@ -49,20 +39,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": true - } + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } }, { "if": { - "properties": { - "roleBasedAuth": { - "const": false - } - }, + "properties": { "roleBasedAuth": { "const": false } }, "required": ["roleBasedAuth"] }, "then": { @@ -75,9 +59,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": false - } + "roleBasedAuth": { "const": false } }, "required": ["accessKeyID", "accessKey"] } diff --git a/src/configurations/destinations/kinesis/ui-config.json b/src/configurations/destinations/kinesis/ui-config.json index 9a2a11ff0..9f4292475 100644 --- a/src/configurations/destinations/kinesis/ui-config.json +++ b/src/configurations/destinations/kinesis/ui-config.json @@ -29,10 +29,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -46,10 +43,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -60,10 +54,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", diff --git a/src/configurations/destinations/klaviyo/db-config.json b/src/configurations/destinations/klaviyo/db-config.json index 46f651731..e35723df4 100644 --- a/src/configurations/destinations/klaviyo/db-config.json +++ b/src/configurations/destinations/klaviyo/db-config.json @@ -43,9 +43,7 @@ }, "supportedMessageTypes": { "cloud": ["group", "identify", "screen", "track"], - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/klaviyo/schema.json b/src/configurations/destinations/klaviyo/schema.json index 9d248b845..8aecd4ad8 100644 --- a/src/configurations/destinations/klaviyo/schema.json +++ b/src/configurations/destinations/klaviyo/schema.json @@ -16,10 +16,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "flattenProperties": { - "type": "boolean", - "default": false - }, + "flattenProperties": { "type": "boolean", "default": false }, "consent": { "type": "array", "items": { @@ -28,10 +25,7 @@ }, "default": ["email"] }, - "enforceEmailAsPrimary": { - "type": "boolean", - "default": false - }, + "enforceEmailAsPrimary": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -73,38 +67,12 @@ } } }, - "sendPageAsTrack": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "additionalPageInfo": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "sendPageAsTrack": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "additionalPageInfo": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "connectionMode": { "type": "object", - "properties": { - "web": { - "type": "string", - "enum": ["cloud", "device"] - } - } + "properties": { "web": { "type": "string", "enum": ["cloud", "device"] } } } } } diff --git a/src/configurations/destinations/lambda/schema.json b/src/configurations/destinations/lambda/schema.json index b809bdedc..7484a589a 100644 --- a/src/configurations/destinations/lambda/schema.json +++ b/src/configurations/destinations/lambda/schema.json @@ -8,20 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "type": "boolean", - "default": true - }, - "lambda": { - "type": "string" - }, - "enableBatchInput": { - "type": "boolean", - "default": false - }, - "clientContext": { - "type": "string" - }, + "roleBasedAuth": { "type": "boolean", "default": true }, + "lambda": { "type": "string" }, + "enableBatchInput": { "type": "boolean", "default": false }, + "clientContext": { "type": "string" }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -38,11 +28,7 @@ "allOf": [ { "if": { - "properties": { - "roleBasedAuth": { - "const": true - } - }, + "properties": { "roleBasedAuth": { "const": true } }, "required": ["roleBasedAuth"] }, "then": { @@ -51,20 +37,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": true - } + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } }, { "if": { - "properties": { - "roleBasedAuth": { - "const": false - } - }, + "properties": { "roleBasedAuth": { "const": false } }, "required": ["roleBasedAuth"] }, "then": { @@ -77,20 +57,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": false - } + "roleBasedAuth": { "const": false } }, "required": ["accessKeyId", "accessKey"] } }, { "if": { - "properties": { - "enableBatchInput": { - "const": true - } - }, + "properties": { "enableBatchInput": { "const": true } }, "required": ["enableBatchInput"] }, "then": { diff --git a/src/configurations/destinations/lambda/ui-config.json b/src/configurations/destinations/lambda/ui-config.json index cb6aafc28..494e4049d 100644 --- a/src/configurations/destinations/lambda/ui-config.json +++ b/src/configurations/destinations/lambda/ui-config.json @@ -20,10 +20,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -37,10 +34,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "Access Key Id", "value": "accessKeyId", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -51,10 +45,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "Secret Access Key", "value": "accessKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -83,10 +74,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "enableBatchInput", - "selectedValue": true - }, + "preRequisiteField": { "name": "enableBatchInput", "selectedValue": true }, "label": "Max Batch Size", "value": "maxBatchSize", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[1-9]\\d*$", diff --git a/src/configurations/destinations/leanplum/schema.json b/src/configurations/destinations/leanplum/schema.json index 8aeedf145..3451f9653 100644 --- a/src/configurations/destinations/leanplum/schema.json +++ b/src/configurations/destinations/leanplum/schema.json @@ -12,10 +12,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "isDevelop": { - "type": "boolean", - "default": false - }, + "isDevelop": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -60,32 +57,17 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - }, - "flutter": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "ios": { "type": "boolean" }, + "flutter": { "type": "boolean" } } }, "connectionMode": { "type": "object", "properties": { - "android": { - "type": "string", - "enum": ["cloud", "device", "hybrid"] - }, - "ios": { - "type": "string", - "enum": ["cloud", "device", "hybrid"] - }, - "flutter": { - "type": "string", - "enum": ["cloud", "device", "hybrid"] - } + "android": { "type": "string", "enum": ["cloud", "device", "hybrid"] }, + "ios": { "type": "string", "enum": ["cloud", "device", "hybrid"] }, + "flutter": { "type": "string", "enum": ["cloud", "device", "hybrid"] } } } } diff --git a/src/configurations/destinations/lemnisk/schema.json b/src/configurations/destinations/lemnisk/schema.json index 821bc22cc..a98aca11f 100644 --- a/src/configurations/destinations/lemnisk/schema.json +++ b/src/configurations/destinations/lemnisk/schema.json @@ -4,14 +4,7 @@ "required": ["cloudMode"], "type": "object", "properties": { - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "sdkWriteKey": { "type": "object", "properties": { @@ -30,11 +23,7 @@ } } }, - "cloudMode": { - "type": "string", - "enum": ["web", "server", "device"], - "default": "web" - }, + "cloudMode": { "type": "string", "enum": ["web", "server", "device"], "default": "web" }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -79,14 +68,7 @@ }, "allOf": [ { - "if": { - "properties": { - "cloudMode": { - "const": "web" - } - }, - "required": ["cloudMode"] - }, + "if": { "properties": { "cloudMode": { "const": "web" } }, "required": ["cloudMode"] }, "then": { "properties": { "plWriteKey": { @@ -102,14 +84,7 @@ } }, { - "if": { - "properties": { - "cloudMode": { - "const": "server" - } - }, - "required": ["cloudMode"] - }, + "if": { "properties": { "cloudMode": { "const": "server" } }, "required": ["cloudMode"] }, "then": { "properties": { "passKey": { @@ -120,12 +95,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "diapiWriteKey": { - "type": "string" - }, - "srcId": { - "type": "string" - }, + "diapiWriteKey": { "type": "string" }, + "srcId": { "type": "string" }, "diapi": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(https?|ftp)://[^\\s/$.?#].[^\\s]*$" diff --git a/src/configurations/destinations/linkedin_insight_tag/db-config.json b/src/configurations/destinations/linkedin_insight_tag/db-config.json index 8e3a60efd..262a4e0ee 100644 --- a/src/configurations/destinations/linkedin_insight_tag/db-config.json +++ b/src/configurations/destinations/linkedin_insight_tag/db-config.json @@ -18,9 +18,7 @@ "web": ["cloud", "device"] }, "supportedMessageTypes": { - "device": { - "web": ["track"] - } + "device": { "web": ["track"] } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/livechat/db-config.json b/src/configurations/destinations/livechat/db-config.json index b3a067070..0fcc99cfa 100644 --- a/src/configurations/destinations/livechat/db-config.json +++ b/src/configurations/destinations/livechat/db-config.json @@ -18,9 +18,7 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { - "web": ["identify", "track"] - } + "device": { "web": ["identify", "track"] } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/livechat/schema.json b/src/configurations/destinations/livechat/schema.json index bb0295400..50d18454d 100644 --- a/src/configurations/destinations/livechat/schema.json +++ b/src/configurations/destinations/livechat/schema.json @@ -8,18 +8,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "recordLiveChatEvents": { - "type": "boolean", - "default": false - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "recordLiveChatEvents": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -65,11 +55,7 @@ "allOf": [ { "if": { - "properties": { - "recordLiveChatEvents": { - "const": true - } - }, + "properties": { "recordLiveChatEvents": { "const": true } }, "required": ["recordLiveChatEvents"] }, "then": { @@ -99,32 +85,19 @@ }, { "if": { - "properties": { - "recordLiveChatEvents": { - "const": true - } - }, + "properties": { "recordLiveChatEvents": { "const": true } }, "required": ["recordLiveChatEvents"] }, "then": { - "properties": { - "updateEventNames": { - "type": "boolean", - "default": false - } - }, + "properties": { "updateEventNames": { "type": "boolean", "default": false } }, "required": [] } }, { "if": { "properties": { - "recordLiveChatEvents": { - "const": true - }, - "updateEventNames": { - "const": true - } + "recordLiveChatEvents": { "const": true }, + "updateEventNames": { "const": true } }, "required": ["recordLiveChatEvents", "updateEventNames"] }, diff --git a/src/configurations/destinations/lotame/db-config.json b/src/configurations/destinations/lotame/db-config.json index 99335c44c..124b8f0a7 100644 --- a/src/configurations/destinations/lotame/db-config.json +++ b/src/configurations/destinations/lotame/db-config.json @@ -22,10 +22,7 @@ "amp": ["cloud", "device"] }, "supportedMessageTypes": { - "device": { - "web": ["identify", "page"], - "amp": ["identify", "page"] - } + "device": { "web": ["identify", "page"], "amp": ["identify", "page"] } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/lotame_mobile/db-config.json b/src/configurations/destinations/lotame_mobile/db-config.json index 948843311..f1e45c997 100644 --- a/src/configurations/destinations/lotame_mobile/db-config.json +++ b/src/configurations/destinations/lotame_mobile/db-config.json @@ -19,12 +19,7 @@ "android": ["device"], "ios": ["device"] }, - "supportedMessageTypes": { - "device": { - "ios": [], - "android": [] - } - }, + "supportedMessageTypes": { "device": { "ios": [], "android": [] } }, "destConfig": { "defaultConfig": [ "bcpUrlSettingsPixel", diff --git a/src/configurations/destinations/lotame_mobile/ui-config.json b/src/configurations/destinations/lotame_mobile/ui-config.json index 03a30dd5d..c2e352091 100644 --- a/src/configurations/destinations/lotame_mobile/ui-config.json +++ b/src/configurations/destinations/lotame_mobile/ui-config.json @@ -75,23 +75,11 @@ "value": "eventFilteringOption", "required": false, "options": [ - { - "name": "Disable", - "value": "disable" - }, - { - "name": "Allowlist", - "value": "whitelistedEvents" - }, - { - "name": "Denylist", - "value": "blacklistedEvents" - } + { "name": "Disable", "value": "disable" }, + { "name": "Allowlist", "value": "whitelistedEvents" }, + { "name": "Denylist", "value": "blacklistedEvents" } ], - "defaultOption": { - "name": "Disable", - "value": "disable" - } + "defaultOption": { "name": "Disable", "value": "disable" } }, { "type": "dynamicCustomForm", diff --git a/src/configurations/destinations/lytics/db-config.json b/src/configurations/destinations/lytics/db-config.json index 6af91176e..e081ed837 100644 --- a/src/configurations/destinations/lytics/db-config.json +++ b/src/configurations/destinations/lytics/db-config.json @@ -31,9 +31,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "page", "screen", "track"], - "device": { - "web": ["identify", "page", "track"] - } + "device": { "web": ["identify", "page", "track"] } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/mailchimp/schema.json b/src/configurations/destinations/mailchimp/schema.json index 69aa9fe06..94bf2e448 100644 --- a/src/configurations/destinations/mailchimp/schema.json +++ b/src/configurations/destinations/mailchimp/schema.json @@ -16,10 +16,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "enableMergeFields": { - "type": "boolean", - "default": false - }, + "enableMergeFields": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/marketo_bulk_upload/ui-config.json b/src/configurations/destinations/marketo_bulk_upload/ui-config.json index 9dff48ff1..1839358dd 100644 --- a/src/configurations/destinations/marketo_bulk_upload/ui-config.json +++ b/src/configurations/destinations/marketo_bulk_upload/ui-config.json @@ -48,23 +48,11 @@ "label": "Upload Interval", "value": "uploadInterval", "options": [ - { - "name": "Every 10 minutes", - "value": "10" - }, - { - "name": "Every 20 minutes", - "value": "20" - }, - { - "name": "Every 30 minutes", - "value": "30" - } + { "name": "Every 10 minutes", "value": "10" }, + { "name": "Every 20 minutes", "value": "20" }, + { "name": "Every 30 minutes", "value": "30" } ], - "defaultOption": { - "name": "Every 10 minutes", - "value": "10" - } + "defaultOption": { "name": "Every 10 minutes", "value": "10" } } ] }, diff --git a/src/configurations/destinations/marketo_static_list/db-config.json b/src/configurations/destinations/marketo_static_list/db-config.json index 6776ab2bf..580973634 100644 --- a/src/configurations/destinations/marketo_static_list/db-config.json +++ b/src/configurations/destinations/marketo_static_list/db-config.json @@ -14,9 +14,7 @@ ], "excludeKeys": [], "supportedSourceTypes": ["cloud", "warehouse", "shopify"], - "supportedMessageTypes": { - "cloud": ["record", "audiencelist"] - }, + "supportedMessageTypes": { "cloud": ["record", "audiencelist"] }, "supportedConnectionModes": { "shopify": ["cloud"] }, diff --git a/src/configurations/destinations/mautic/schema.json b/src/configurations/destinations/mautic/schema.json index 4b37278e7..4f355394c 100644 --- a/src/configurations/destinations/mautic/schema.json +++ b/src/configurations/destinations/mautic/schema.json @@ -8,10 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "password": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.+" - }, + "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.+" }, "domainMethod": { "type": "string", "enum": ["subDomainNameOption", "domainNameOption"], @@ -37,11 +34,7 @@ "allOf": [ { "if": { - "properties": { - "domainMethod": { - "const": "subDomainNameOption" - } - }, + "properties": { "domainMethod": { "const": "subDomainNameOption" } }, "required": ["domainMethod"] }, "then": { @@ -56,11 +49,7 @@ }, { "if": { - "properties": { - "domainMethod": { - "const": "domainNameOption" - } - }, + "properties": { "domainMethod": { "const": "domainNameOption" } }, "required": ["domainMethod"] }, "then": { diff --git a/src/configurations/destinations/mautic/ui-config.json b/src/configurations/destinations/mautic/ui-config.json index a489909dc..32fd08197 100644 --- a/src/configurations/destinations/mautic/ui-config.json +++ b/src/configurations/destinations/mautic/ui-config.json @@ -27,19 +27,10 @@ "label": "Domain Method", "value": "domainMethod", "options": [ - { - "name": "SubDomain", - "value": "subDomainNameOption" - }, - { - "name": "Domain (Preferred for Self Hosted Instance)", - "value": "domainNameOption" - } + { "name": "SubDomain", "value": "subDomainNameOption" }, + { "name": "Domain (Preferred for Self Hosted Instance)", "value": "domainNameOption" } ], - "defaultOption": { - "name": "SubDomain", - "value": "subDomainNameOption" - }, + "defaultOption": { "name": "SubDomain", "value": "subDomainNameOption" }, "required": true, "footerNote": "Select Domain Input Method" }, @@ -49,12 +40,7 @@ "value": "subDomainName", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$", "required": true, - "preRequisiteField": [ - { - "name": "domainMethod", - "selectedValue": "subDomainNameOption" - } - ], + "preRequisiteField": [{ "name": "domainMethod", "selectedValue": "subDomainNameOption" }], "placeholder": "e.g: testdomain", "footerNote": "Enter the subdomain name of your Mautic instance." }, @@ -64,12 +50,7 @@ "value": "domainName", "required": true, "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(https?|ftp)://[^\\s/$.?#].[^\\s]*[^/]$", - "preRequisiteField": [ - { - "name": "domainMethod", - "selectedValue": "domainNameOption" - } - ], + "preRequisiteField": [{ "name": "domainMethod", "selectedValue": "domainNameOption" }], "placeholder": "e.g: https://test.mautic.app", "footerNote": "Enter the Domain name of your Mautic instance." }, diff --git a/src/configurations/destinations/microsoft_clarity/db-config.json b/src/configurations/destinations/microsoft_clarity/db-config.json index 62af47a07..fc6d4d09f 100644 --- a/src/configurations/destinations/microsoft_clarity/db-config.json +++ b/src/configurations/destinations/microsoft_clarity/db-config.json @@ -15,9 +15,7 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { - "web": ["identify"] - } + "device": { "web": ["identify"] } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/microsoft_clarity/schema.json b/src/configurations/destinations/microsoft_clarity/schema.json index 8fa49886a..a1ee48534 100644 --- a/src/configurations/destinations/microsoft_clarity/schema.json +++ b/src/configurations/destinations/microsoft_clarity/schema.json @@ -8,18 +8,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "cookieConsent": { - "type": "boolean", - "default": true - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "cookieConsent": { "type": "boolean", "default": true }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/mouseflow/schema.json b/src/configurations/destinations/mouseflow/schema.json index 79ba95b64..01737e268 100644 --- a/src/configurations/destinations/mouseflow/schema.json +++ b/src/configurations/destinations/mouseflow/schema.json @@ -8,14 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/mssql/schema.json b/src/configurations/destinations/mssql/schema.json index 448e97a31..18eed41c7 100644 --- a/src/configurations/destinations/mssql/schema.json +++ b/src/configurations/destinations/mssql/schema.json @@ -16,10 +16,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "password": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "port": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" @@ -28,35 +25,22 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, - "sslMode": { - "type": "string", - "enum": ["disable", "true", "false"], - "default": "disable" - }, + "sslMode": { "type": "string", "enum": ["disable", "true", "false"], "default": "disable" }, "syncFrequency": { "type": "string", "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } }, "required": ["excludeWindowStartTime", "excludeWindowEndTime"] }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, + "useRudderStorage": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -73,11 +57,7 @@ "allOf": [ { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, "then": { @@ -94,12 +74,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "S3" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "S3" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -109,10 +85,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "roleBasedAuth": { - "type": "boolean", - "default": true - } + "roleBasedAuth": { "type": "boolean", "default": true } }, "required": ["bucketName"], "anyOf": [ @@ -126,9 +99,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": false - } + "roleBasedAuth": { "const": false } }, "required": ["accessKeyID", "accessKey"] }, @@ -138,9 +109,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": true - } + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -150,12 +119,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "GCS" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "GCS" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -176,12 +141,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "AZURE_BLOB" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "AZURE_BLOB" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -195,10 +156,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { - "type": "boolean", - "default": false - } + "useSASTokens": { "type": "boolean", "default": false } }, "required": ["containerName", "accountName"], "anyOf": [ @@ -208,9 +166,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { - "const": false - } + "useSASTokens": { "const": false } }, "required": ["accountKey"] }, @@ -220,9 +176,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.+)$" }, - "useSASTokens": { - "const": true - } + "useSASTokens": { "const": true } }, "required": ["sasToken", "useSASTokens"] } @@ -232,12 +186,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "MINIO" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "MINIO" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -259,10 +209,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSSL": { - "type": "boolean", - "default": true - } + "useSSL": { "type": "boolean", "default": true } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey"] } diff --git a/src/configurations/destinations/mssql/ui-config.json b/src/configurations/destinations/mssql/ui-config.json index 6e265980a..c22ef94b0 100644 --- a/src/configurations/destinations/mssql/ui-config.json +++ b/src/configurations/destinations/mssql/ui-config.json @@ -63,23 +63,11 @@ "label": "SSL Mode", "value": "sslMode", "options": [ - { - "name": "disable", - "value": "disable" - }, - { - "name": "true", - "value": "true" - }, - { - "name": "false", - "value": "false" - } + { "name": "disable", "value": "disable" }, + { "name": "true", "value": "true" }, + { "name": "false", "value": "false" } ], - "defaultOption": { - "name": "disable", - "value": "disable" - }, + "defaultOption": { "name": "disable", "value": "disable" }, "required": true }, { @@ -87,45 +75,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -133,18 +97,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" } @@ -165,44 +120,20 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { - "name": "S3", - "value": "S3" - }, - { - "name": "GCS", - "value": "GCS" - }, - { - "name": "AZURE_BLOB", - "value": "AZURE_BLOB" - }, - { - "name": "MINIO", - "value": "MINIO" - } + { "name": "S3", "value": "S3" }, + { "name": "GCS", "value": "GCS" }, + { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, + { "name": "MINIO", "value": "MINIO" } ], - "defaultOption": { - "name": "MINIO", - "value": "MINIO" - }, + "defaultOption": { "name": "MINIO", "value": "MINIO" }, "required": true, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into Mssql", @@ -216,14 +147,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into Mssql", @@ -237,14 +162,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into Mssql", @@ -258,14 +177,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into Mssql", @@ -279,14 +192,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -295,18 +202,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": true } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -322,18 +220,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -345,18 +234,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -368,14 +248,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -387,18 +261,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": false } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -411,18 +276,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": true } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -435,14 +291,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -452,14 +302,8 @@ { "type": "textareaInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -471,14 +315,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -490,14 +328,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -509,14 +341,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -528,14 +354,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use SSL for connection", "value": "useSSL", diff --git a/src/configurations/destinations/new_relic/schema.json b/src/configurations/destinations/new_relic/schema.json index 8eadd5d1a..3f604da20 100644 --- a/src/configurations/destinations/new_relic/schema.json +++ b/src/configurations/destinations/new_relic/schema.json @@ -12,23 +12,13 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "dataCenter": { - "type": "string", - "enum": ["us", "eu"], - "default": "us" - }, + "dataCenter": { "type": "string", "enum": ["us", "eu"], "default": "us" }, "customEventType": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, - "sendDeviceContext": { - "type": "boolean", - "default": false - }, - "sendUserIdanonymousId": { - "type": "boolean", - "default": false - }, + "sendDeviceContext": { "type": "boolean", "default": false }, + "sendUserIdanonymousId": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/new_relic/ui-config.json b/src/configurations/destinations/new_relic/ui-config.json index c0124521d..fed256df8 100644 --- a/src/configurations/destinations/new_relic/ui-config.json +++ b/src/configurations/destinations/new_relic/ui-config.json @@ -29,19 +29,10 @@ "value": "dataCenter", "mode": "single", "options": [ - { - "name": "US(standard)", - "value": "us" - }, - { - "name": "EU", - "value": "eu" - } + { "name": "US(standard)", "value": "us" }, + { "name": "EU", "value": "eu" } ], - "defaultOption": { - "name": "US(standard)", - "value": "us" - } + "defaultOption": { "name": "US(standard)", "value": "us" } } ] }, diff --git a/src/configurations/destinations/olark/schema.json b/src/configurations/destinations/olark/schema.json index c14b67e33..f5396198e 100644 --- a/src/configurations/destinations/olark/schema.json +++ b/src/configurations/destinations/olark/schema.json @@ -12,18 +12,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "recordLiveChatEvents": { - "type": "boolean", - "default": false - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "recordLiveChatEvents": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -69,32 +59,19 @@ "allOf": [ { "if": { - "properties": { - "recordLiveChatEvents": { - "const": true - } - }, + "properties": { "recordLiveChatEvents": { "const": true } }, "required": ["recordLiveChatEvents"] }, "then": { - "properties": { - "updateEventNames": { - "type": "boolean", - "default": false - } - }, + "properties": { "updateEventNames": { "type": "boolean", "default": false } }, "required": [] } }, { "if": { "properties": { - "recordLiveChatEvents": { - "const": true - }, - "updateEventNames": { - "const": true - } + "recordLiveChatEvents": { "const": true }, + "updateEventNames": { "const": true } }, "required": ["recordLiveChatEvents", "updateEventNames"] }, diff --git a/src/configurations/destinations/ometria/ui-config.json b/src/configurations/destinations/ometria/ui-config.json index 9683f859b..f202bd005 100644 --- a/src/configurations/destinations/ometria/ui-config.json +++ b/src/configurations/destinations/ometria/ui-config.json @@ -24,23 +24,11 @@ "required": false, "placeholder": "Explicitly Opted Out", "options": [ - { - "name": "Explicitly Opted Out", - "value": "EXPLICITLY_OPTEDOUT" - }, - { - "name": "Not Specified", - "value": "NOT_SPECIFIED" - }, - { - "name": "Explicitly Opted In", - "value": "EXPLICITLY_OPTEDIN" - } + { "name": "Explicitly Opted Out", "value": "EXPLICITLY_OPTEDOUT" }, + { "name": "Not Specified", "value": "NOT_SPECIFIED" }, + { "name": "Explicitly Opted In", "value": "EXPLICITLY_OPTEDIN" } ], - "defaultOption": { - "name": "Explicitly Opted Out", - "value": "EXPLICITLY_OPTEDOUT" - } + "defaultOption": { "name": "Explicitly Opted Out", "value": "EXPLICITLY_OPTEDOUT" } } ] }, diff --git a/src/configurations/destinations/one_signal/schema.json b/src/configurations/destinations/one_signal/schema.json index 2d498cfdd..9f082c99d 100644 --- a/src/configurations/destinations/one_signal/schema.json +++ b/src/configurations/destinations/one_signal/schema.json @@ -8,18 +8,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "emailDeviceType": { - "type": "boolean", - "default": false - }, - "smsDeviceType": { - "type": "boolean", - "default": false - }, - "eventAsTags": { - "type": "boolean", - "default": false - }, + "emailDeviceType": { "type": "boolean", "default": false }, + "smsDeviceType": { "type": "boolean", "default": false }, + "eventAsTags": { "type": "boolean", "default": false }, "allowedProperties": { "type": "array", "items": { diff --git a/src/configurations/destinations/one_signal/ui-config.json b/src/configurations/destinations/one_signal/ui-config.json index 914380bc4..2af9117c6 100644 --- a/src/configurations/destinations/one_signal/ui-config.json +++ b/src/configurations/destinations/one_signal/ui-config.json @@ -46,13 +46,7 @@ "type": "dynamicCustomForm", "value": "allowedProperties", "label": "Allowed Property List", - "customFields": [ - { - "type": "textInput", - "value": "propertyName", - "required": false - } - ] + "customFields": [{ "type": "textInput", "value": "propertyName", "required": false }] } ] }, diff --git a/src/configurations/destinations/optimizely/db-config.json b/src/configurations/destinations/optimizely/db-config.json index 3cb3dc16c..4182cb6fc 100644 --- a/src/configurations/destinations/optimizely/db-config.json +++ b/src/configurations/destinations/optimizely/db-config.json @@ -22,11 +22,7 @@ "supportedConnectionModes": { "web": ["device"] }, - "supportedMessageTypes": { - "device": { - "web": ["track", "page"] - } - }, + "supportedMessageTypes": { "device": { "web": ["track", "page"] } }, "destConfig": { "defaultConfig": [ "sendExperimentTrack", diff --git a/src/configurations/destinations/ortto/schema.json b/src/configurations/destinations/ortto/schema.json index cf5b571b7..809be18f3 100644 --- a/src/configurations/destinations/ortto/schema.json +++ b/src/configurations/destinations/ortto/schema.json @@ -8,11 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,300})$" }, - "instanceRegion": { - "type": "string", - "enum": ["au", "eu", "other"], - "default": "other" - }, + "instanceRegion": { "type": "string", "enum": ["au", "eu", "other"], "default": "other" }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -25,48 +21,19 @@ } } }, - "useNativeSDK": { - "type": "boolean" - }, + "useNativeSDK": { "type": "boolean" }, "connectionMode": { "type": "object", "properties": { - "android": { - "type": "string", - "enum": ["cloud"] - }, - "ios": { - "type": "string", - "enum": ["cloud"] - }, - "web": { - "type": "string", - "enum": ["cloud"] - }, - "unity": { - "type": "string", - "enum": ["cloud"] - }, - "amp": { - "type": "string", - "enum": ["cloud"] - }, - "reactnative": { - "type": "string", - "enum": ["cloud"] - }, - "flutter": { - "type": "string", - "enum": ["cloud"] - }, - "cordova": { - "type": "string", - "enum": ["cloud"] - }, - "shopify": { - "type": "string", - "enum": ["cloud"] - } + "android": { "type": "string", "enum": ["cloud"] }, + "ios": { "type": "string", "enum": ["cloud"] }, + "web": { "type": "string", "enum": ["cloud"] }, + "unity": { "type": "string", "enum": ["cloud"] }, + "amp": { "type": "string", "enum": ["cloud"] }, + "reactnative": { "type": "string", "enum": ["cloud"] }, + "flutter": { "type": "string", "enum": ["cloud"] }, + "cordova": { "type": "string", "enum": ["cloud"] }, + "shopify": { "type": "string", "enum": ["cloud"] } } }, "orttoEventsMapping": { diff --git a/src/configurations/destinations/ortto/ui-config.json b/src/configurations/destinations/ortto/ui-config.json index 11eaefc6c..dfdb0e170 100644 --- a/src/configurations/destinations/ortto/ui-config.json +++ b/src/configurations/destinations/ortto/ui-config.json @@ -196,6 +196,7 @@ "label": "Email", "value": "email" }, + { "label": "Text", "value": "text" diff --git a/src/configurations/destinations/pagerduty/schema.json b/src/configurations/destinations/pagerduty/schema.json index 88a20ec07..59433219f 100644 --- a/src/configurations/destinations/pagerduty/schema.json +++ b/src/configurations/destinations/pagerduty/schema.json @@ -8,9 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "dedupKeyFieldIdentifier": { - "type": "string" - }, + "dedupKeyFieldIdentifier": { "type": "string" }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/pardot/db-config.json b/src/configurations/destinations/pardot/db-config.json index 108508703..faa201021 100644 --- a/src/configurations/destinations/pardot/db-config.json +++ b/src/configurations/destinations/pardot/db-config.json @@ -2,11 +2,7 @@ "name": "PARDOT", "displayName": "Pardot", "config": { - "auth": { - "type": "OAuth", - "role": "pardot", - "rudderScopes": ["delivery"] - }, + "auth": { "type": "OAuth", "role": "pardot", "rudderScopes": ["delivery"] }, "transformAtV1": "router", "saveDestinationResponse": true, "includeKeys": ["oneTrustCookieCategories"], @@ -48,7 +44,5 @@ }, "secretKeys": ["businessUnitId"] }, - "options": { - "isBeta": false - } + "options": { "isBeta": false } } diff --git a/src/configurations/destinations/personalize/schema.json b/src/configurations/destinations/personalize/schema.json index 34fb4642f..0a80083d5 100644 --- a/src/configurations/destinations/personalize/schema.json +++ b/src/configurations/destinations/personalize/schema.json @@ -4,10 +4,7 @@ "required": ["region"], "type": "object", "properties": { - "roleBasedAuth": { - "type": "boolean", - "default": true - }, + "roleBasedAuth": { "type": "boolean", "default": true }, "region": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -41,10 +38,7 @@ } } }, - "disableStringify": { - "type": "boolean", - "default": false - }, + "disableStringify": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -61,11 +55,7 @@ "allOf": [ { "if": { - "properties": { - "roleBasedAuth": { - "const": true - } - }, + "properties": { "roleBasedAuth": { "const": true } }, "required": ["roleBasedAuth"] }, "then": { @@ -74,20 +64,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": true - } + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } }, { "if": { - "properties": { - "roleBasedAuth": { - "const": false - } - }, + "properties": { "roleBasedAuth": { "const": false } }, "required": ["roleBasedAuth"] }, "then": { @@ -100,9 +84,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": false - } + "roleBasedAuth": { "const": false } }, "required": [] } diff --git a/src/configurations/destinations/personalize/ui-config.json b/src/configurations/destinations/personalize/ui-config.json index c016d5535..174a840fa 100644 --- a/src/configurations/destinations/personalize/ui-config.json +++ b/src/configurations/destinations/personalize/ui-config.json @@ -11,10 +11,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -28,10 +25,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "Access Key Id", "value": "accessKeyId", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -41,10 +35,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "Secret Access Key", "value": "secretAccessKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -96,23 +87,11 @@ "placeholder": "PutEvents", "mode": "single", "options": [ - { - "name": "PutEvents", - "value": "PutEvents" - }, - { - "name": "PutUsers", - "value": "PutUsers" - }, - { - "name": "PutItems", - "value": "PutItems" - } + { "name": "PutEvents", "value": "PutEvents" }, + { "name": "PutUsers", "value": "PutUsers" }, + { "name": "PutItems", "value": "PutItems" } ], - "defaultOption": { - "name": "PutEvents", - "value": "PutEvents" - } + "defaultOption": { "name": "PutEvents", "value": "PutEvents" } } ] }, diff --git a/src/configurations/destinations/pinterest_tag/db-config.json b/src/configurations/destinations/pinterest_tag/db-config.json index 54cdb9925..0a962f935 100644 --- a/src/configurations/destinations/pinterest_tag/db-config.json +++ b/src/configurations/destinations/pinterest_tag/db-config.json @@ -44,9 +44,7 @@ }, "supportedMessageTypes": { "cloud": ["page", "screen", "track"], - "device": { - "web": ["track", "page", "identify"] - } + "device": { "web": ["track", "page", "identify"] } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/pinterest_tag/schema.json b/src/configurations/destinations/pinterest_tag/schema.json index fb53bd829..c6a91d38c 100644 --- a/src/configurations/destinations/pinterest_tag/schema.json +++ b/src/configurations/destinations/pinterest_tag/schema.json @@ -4,43 +4,18 @@ "required": [], "type": "object", "properties": { - "tagId": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" - }, - "appId": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" - }, - "apiVersion": { - "type": "string", - "enum": ["legacyApi", "newApi"], - "default": "legacyApi" - }, + "tagId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" }, + "appId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" }, + "apiVersion": { "type": "string", "enum": ["legacyApi", "newApi"], "default": "legacyApi" }, "deduplicationKey": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "sendingUnHashedData": { - "type": "boolean", - "default": true - }, - "enhancedMatch": { - "type": "boolean", - "default": true - }, - "sendExternalId": { - "type": "boolean", - "default": false - }, - "sendAsCustomEvent": { - "type": "boolean", - "default": false - }, - "sendAsTestEvent": { - "type": "boolean", - "default": false - }, + "sendingUnHashedData": { "type": "boolean", "default": true }, + "enhancedMatch": { "type": "boolean", "default": true }, + "sendExternalId": { "type": "boolean", "default": false }, + "sendAsCustomEvent": { "type": "boolean", "default": false }, + "sendAsTestEvent": { "type": "boolean", "default": false }, "customProperties": { "type": "array", "items": { @@ -80,14 +55,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -133,11 +101,7 @@ "allOf": [ { "if": { - "properties": { - "apiVersion": { - "const": "legacyApi" - } - }, + "properties": { "apiVersion": { "const": "legacyApi" } }, "required": ["apiVersion"] }, "then": { @@ -151,14 +115,7 @@ } }, { - "if": { - "properties": { - "apiVersion": { - "const": "newApi" - } - }, - "required": ["apiVersion"] - }, + "if": { "properties": { "apiVersion": { "const": "newApi" } }, "required": ["apiVersion"] }, "then": { "properties": { "adAccountId": { diff --git a/src/configurations/destinations/pipedream/ui-config.json b/src/configurations/destinations/pipedream/ui-config.json index d0032746e..7666a6a24 100644 --- a/src/configurations/destinations/pipedream/ui-config.json +++ b/src/configurations/destinations/pipedream/ui-config.json @@ -17,31 +17,13 @@ "value": "pipedreamMethod", "placeholder": "POST", "options": [ - { - "name": "POST", - "value": "POST" - }, - { - "name": "PUT", - "value": "PUT" - }, - { - "name": "PATCH", - "value": "PATCH" - }, - { - "name": "GET", - "value": "GET" - }, - { - "name": "DELETE", - "value": "DELETE" - } + { "name": "POST", "value": "POST" }, + { "name": "PUT", "value": "PUT" }, + { "name": "PATCH", "value": "PATCH" }, + { "name": "GET", "value": "GET" }, + { "name": "DELETE", "value": "DELETE" } ], - "defaultOption": { - "name": "POST", - "value": "POST" - } + "defaultOption": { "name": "POST", "value": "POST" } }, { "type": "dynamicForm", diff --git a/src/configurations/destinations/pipedrive/db-config.json b/src/configurations/destinations/pipedrive/db-config.json index a302a4d02..8ad76e5cc 100644 --- a/src/configurations/destinations/pipedrive/db-config.json +++ b/src/configurations/destinations/pipedrive/db-config.json @@ -43,7 +43,5 @@ }, "secretKeys": ["apiToken"] }, - "options": { - "hidden": true - } + "options": { "hidden": true } } diff --git a/src/configurations/destinations/podsights/schema.json b/src/configurations/destinations/podsights/schema.json index 2c0acad5c..8552c28a3 100644 --- a/src/configurations/destinations/podsights/schema.json +++ b/src/configurations/destinations/podsights/schema.json @@ -24,10 +24,7 @@ } } }, - "enableAliasCall": { - "type": "boolean", - "default": false - }, + "enableAliasCall": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -57,14 +54,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/postgres/schema.json b/src/configurations/destinations/postgres/schema.json index e8a85c5fa..d62cbd63b 100644 --- a/src/configurations/destinations/postgres/schema.json +++ b/src/configurations/destinations/postgres/schema.json @@ -13,66 +13,30 @@ "useRudderStorage" ], "properties": { - "host": { - "type": "string", - "pattern": "(^env[.].+)|(?!.*.ngrok.io)^(.{1,100})$" - }, - "database": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "user": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "password": { - "type": "string", - "pattern": "(^env[.].+)|.+" - }, - "port": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "namespace": { - "type": "string", - "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" - }, - "sslMode": { - "type": "string", - "pattern": "^(disable|require|verify-ca)$" - }, + "host": { "type": "string", "pattern": "(^env[.].+)|(?!.*.ngrok.io)^(.{1,100})$" }, + "database": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "user": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "password": { "type": "string", "pattern": "(^env[.].+)|.+" }, + "port": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "namespace": { "type": "string", "pattern": "(^env[.].*)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, + "sslMode": { "type": "string", "pattern": "^(disable|require|verify-ca)$" }, "syncFrequency": { "type": "string", "pattern": "^(30|60|180|360|720|1440)$", "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "required": ["excludeWindowStartTime", "excludeWindowEndTime"], "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } } }, - "jsonPaths": { - "type": "string", - "pattern": "(^env[.].*)|.*" - }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, - "bucketProvider": { - "type": "string", - "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" - }, + "jsonPaths": { "type": "string", "pattern": "(^env[.].*)|.*" }, + "useRudderStorage": { "type": "boolean", "default": false }, + "bucketProvider": { "type": "string", "pattern": "^(S3|GCS|AZURE_BLOB|MINIO)$" }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -88,58 +52,29 @@ }, "allOf": [ { - "if": { - "properties": { - "useSSH": { - "const": true - } - }, - "required": ["useSSH"] - }, + "if": { "properties": { "useSSH": { "const": true } }, "required": ["useSSH"] }, "then": { "properties": { - "sshHost": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,255})$" - }, - "sshPort": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,255})$" - }, - "sshUser": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,255})$" - }, - "sshPublicKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,1000})$" - } + "sshHost": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, + "sshPort": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, + "sshUser": { "type": "string", "pattern": "(^env[.].+)|^(.{1,255})$" }, + "sshPublicKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,1000})$" } }, "required": ["sshHost", "sshPort", "sshUser", "sshPublicKey"] } }, { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, - "then": { - "required": ["bucketProvider"] - } + "then": { "required": ["bucketProvider"] } }, { "if": { "properties": { - "bucketProvider": { - "const": "S3" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "S3" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -155,26 +90,16 @@ { "type": "object", "properties": { - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - }, - "accessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{0,100})$" - } + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" }, + "accessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{0,100})$" } }, "required": ["accessKeyID", "accessKey"] }, { "type": "object", "properties": { - "iamRoleARN": { - "type": "string" - }, - "roleBasedAuth": { - "const": true - } + "iamRoleARN": { "type": "string" }, + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -184,12 +109,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "GCS" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "GCS" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -199,10 +120,7 @@ "type": "string", "pattern": "(^env[.].+)|^((?!goog)(?!.*google.*)(?!^(\\d+(\\.|$)){4}$)(?!.*\\.\\..*)[a-z0-9][a-z0-9-._]{1,61}[a-z0-9])$" }, - "credentials": { - "type": "string", - "pattern": "(^env[.].+)|.+" - } + "credentials": { "type": "string", "pattern": "(^env[.].+)|.+" } }, "required": ["bucketName", "credentials"] } @@ -210,12 +128,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "AZURE_BLOB" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "AZURE_BLOB" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -225,31 +139,20 @@ "type": "string", "pattern": "(^env[.].+)|^(?=.{3,63}$)[a-z0-9]+(-[a-z0-9]+)*$" }, - "accountName": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountName": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["containerName", "accountName"], "anyOf": [ { "properties": { - "accountKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - } + "accountKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" } }, "required": ["accountKey"] }, { "properties": { - "sasToken": { - "type": "string", - "pattern": "(^env[.].+)|^(.+)$" - }, - "useSASTokens": { - "const": true - } + "sasToken": { "type": "string", "pattern": "(^env[.].+)|^(.+)$" }, + "useSASTokens": { "const": true } }, "required": ["useSASTokens", "sasToken"] } @@ -259,12 +162,8 @@ { "if": { "properties": { - "bucketProvider": { - "const": "MINIO" - }, - "useRudderStorage": { - "const": false - } + "bucketProvider": { "const": "MINIO" }, + "useRudderStorage": { "const": false } }, "required": ["bucketProvider", "useRudderStorage"] }, @@ -274,34 +173,19 @@ "type": "string", "pattern": "(^env[.].+)|^((?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "accessKeyID": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, + "accessKeyID": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, "endPoint": { "type": "string", "pattern": "(^env[.].+)|^(?!.*\\.ngrok\\.io)(.{1,100})$" }, - "secretAccessKey": { - "type": "string", - "pattern": "(^env[.].+)|^(.{1,100})$" - }, - "useSSL": { - "type": "boolean" - } + "secretAccessKey": { "type": "string", "pattern": "(^env[.].+)|^(.{1,100})$" }, + "useSSL": { "type": "boolean" } }, "required": ["bucketName", "endPoint", "accessKeyID", "secretAccessKey", "useSSL"] } }, { - "if": { - "properties": { - "sslMode": { - "const": "verify-ca" - } - }, - "required": ["sslMode"] - }, + "if": { "properties": { "sslMode": { "const": "verify-ca" } }, "required": ["sslMode"] }, "then": { "properties": { "clientKey": { diff --git a/src/configurations/destinations/postgres/ui-config.json b/src/configurations/destinations/postgres/ui-config.json index caa79e024..4c8d741d9 100644 --- a/src/configurations/destinations/postgres/ui-config.json +++ b/src/configurations/destinations/postgres/ui-config.json @@ -63,33 +63,18 @@ "label": "SSL Mode", "value": "sslMode", "options": [ - { - "name": "disable", - "value": "disable" - }, - { - "name": "require", - "value": "require" - }, - { - "name": "verify ca", - "value": "verify-ca" - } + { "name": "disable", "value": "disable" }, + { "name": "require", "value": "require" }, + { "name": "verify ca", "value": "verify-ca" } ], - "defaultOption": { - "name": "disable", - "value": "disable" - }, + "defaultOption": { "name": "disable", "value": "disable" }, "required": true }, { "type": "textInput", "required": true, "regex": "-----BEGIN RSA PRIVATE KEY-----.*-----END RSA PRIVATE KEY-----", - "preRequisiteField": { - "name": "sslMode", - "selectedValue": "verify-ca" - }, + "preRequisiteField": { "name": "sslMode", "selectedValue": "verify-ca" }, "label": "Client Key Pem File", "value": "clientKey" }, @@ -97,10 +82,7 @@ "type": "textInput", "required": true, "regex": "-----BEGIN CERTIFICATE-----.*-----END CERTIFICATE-----", - "preRequisiteField": { - "name": "sslMode", - "selectedValue": "verify-ca" - }, + "preRequisiteField": { "name": "sslMode", "selectedValue": "verify-ca" }, "label": "Client Cert Pem File", "value": "clientCert" }, @@ -108,10 +90,7 @@ "type": "textInput", "required": true, "regex": "-----BEGIN CERTIFICATE-----.*-----END CERTIFICATE-----", - "preRequisiteField": { - "name": "sslMode", - "selectedValue": "verify-ca" - }, + "preRequisiteField": { "name": "sslMode", "selectedValue": "verify-ca" }, "label": "Server CA Pem File", "value": "serverCA" }, @@ -120,45 +99,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -166,18 +121,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -211,44 +157,20 @@ "label": "Choose your Storage Provider", "value": "bucketProvider", "options": [ - { - "name": "S3", - "value": "S3" - }, - { - "name": "GCS", - "value": "GCS" - }, - { - "name": "AZURE_BLOB", - "value": "AZURE_BLOB" - }, - { - "name": "MINIO", - "value": "MINIO" - } + { "name": "S3", "value": "S3" }, + { "name": "GCS", "value": "GCS" }, + { "name": "AZURE_BLOB", "value": "AZURE_BLOB" }, + { "name": "MINIO", "value": "MINIO" } ], - "defaultOption": { - "name": "MINIO", - "value": "MINIO" - }, + "defaultOption": { "name": "MINIO", "value": "MINIO" }, "required": true, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging S3 Storage Bucket Name", "labelNote": "S3 Bucket to store data before loading into Postgres", @@ -262,14 +184,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging GCS Object Storage Bucket Name", "labelNote": "GCS Bucket to store data before loading into Postgres", @@ -283,14 +199,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging Azure Blob Storage Container Name", "labelNote": "Container to store data before loading into Postgres", @@ -304,14 +214,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Staging MINIO Storage Bucket Name", "labelNote": "MINIO Bucket to store data before loading into Postgres", @@ -325,14 +229,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Role Based Authentication", "value": "roleBasedAuth", @@ -341,18 +239,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": true } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -368,18 +257,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Access Key ID", "value": "accessKeyID", @@ -391,18 +271,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "S3" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "S3" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ], "label": "AWS Secret Access Key", "value": "accessKey", @@ -414,14 +285,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Azure Blob Storage Account Name", "value": "accountName", @@ -433,18 +298,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": false } ], "label": "Azure Blob Storage Account Key", "value": "accountKey", @@ -457,18 +313,9 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "useSASTokens", - "selectedValue": true - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "useSASTokens", "selectedValue": true } ], "label": "Azure Blob Storage SAS Token", "value": "sasToken", @@ -481,14 +328,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "AZURE_BLOB" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "AZURE_BLOB" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use shared access signature (SAS) Tokens", "value": "useSASTokens", @@ -498,14 +339,8 @@ { "type": "textareaInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "GCS" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "GCS" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Credentials", "labelNote": "GCP Service Account credentials JSON for RudderStack to use in loading data into your Google Cloud Storage", @@ -517,14 +352,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MinIO Endpoint", "value": "endPoint", @@ -536,14 +365,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Access Key ID", "value": "accessKeyID", @@ -555,14 +378,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "MINIO Secret Access Key", "value": "secretAccessKey", @@ -574,14 +391,8 @@ { "type": "checkbox", "preRequisiteField": [ - { - "name": "bucketProvider", - "selectedValue": "MINIO" - }, - { - "name": "useRudderStorage", - "selectedValue": false - } + { "name": "bucketProvider", "selectedValue": "MINIO" }, + { "name": "useRudderStorage", "selectedValue": false } ], "label": "Use SSL for connection", "value": "useSSL", diff --git a/src/configurations/destinations/qualaroo/schema.json b/src/configurations/destinations/qualaroo/schema.json index 1a2d5d209..85125b149 100644 --- a/src/configurations/destinations/qualaroo/schema.json +++ b/src/configurations/destinations/qualaroo/schema.json @@ -12,18 +12,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "recordQualarooEvents": { - "type": "boolean", - "default": false - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "recordQualarooEvents": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -69,21 +59,14 @@ "allOf": [ { "if": { - "properties": { - "recordQualarooEvents": { - "const": true - } - }, + "properties": { "recordQualarooEvents": { "const": true } }, "required": ["recordQualarooEvents"] }, "then": { "properties": { "eventsList": { "type": "array", - "items": { - "type": "string", - "enum": ["show", "close", "submit", "noTargetMatch"] - }, + "items": { "type": "string", "enum": ["show", "close", "submit", "noTargetMatch"] }, "default": ["show"] } }, @@ -92,32 +75,19 @@ }, { "if": { - "properties": { - "recordQualarooEvents": { - "const": true - } - }, + "properties": { "recordQualarooEvents": { "const": true } }, "required": ["recordQualarooEvents"] }, "then": { - "properties": { - "updateEventNames": { - "type": "boolean", - "default": false - } - }, + "properties": { "updateEventNames": { "type": "boolean", "default": false } }, "required": [] } }, { "if": { "properties": { - "recordQualarooEvents": { - "const": true - }, - "updateEventNames": { - "const": true - } + "recordQualarooEvents": { "const": true }, + "updateEventNames": { "const": true } }, "required": ["recordQualarooEvents", "updateEventNames"] }, diff --git a/src/configurations/destinations/quora_pixel/schema.json b/src/configurations/destinations/quora_pixel/schema.json index 999391091..4f4641ec6 100644 --- a/src/configurations/destinations/quora_pixel/schema.json +++ b/src/configurations/destinations/quora_pixel/schema.json @@ -65,14 +65,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/reddit/schema.json b/src/configurations/destinations/reddit/schema.json index d8d2b4eab..cd8da8a3d 100644 --- a/src/configurations/destinations/reddit/schema.json +++ b/src/configurations/destinations/reddit/schema.json @@ -8,10 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "hashData": { - "type": "boolean", - "default": true - }, + "hashData": { "type": "boolean", "default": true }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -24,48 +21,19 @@ } } }, - "useNativeSDK": { - "type": "boolean" - }, + "useNativeSDK": { "type": "boolean" }, "connectionMode": { "type": "object", "properties": { - "android": { - "type": "string", - "enum": ["cloud"] - }, - "ios": { - "type": "string", - "enum": ["cloud"] - }, - "web": { - "type": "string", - "enum": ["cloud"] - }, - "unity": { - "type": "string", - "enum": ["cloud"] - }, - "amp": { - "type": "string", - "enum": ["cloud"] - }, - "reactnative": { - "type": "string", - "enum": ["cloud"] - }, - "flutter": { - "type": "string", - "enum": ["cloud"] - }, - "cordova": { - "type": "string", - "enum": ["cloud"] - }, - "shopify": { - "type": "string", - "enum": ["cloud"] - } + "android": { "type": "string", "enum": ["cloud"] }, + "ios": { "type": "string", "enum": ["cloud"] }, + "web": { "type": "string", "enum": ["cloud"] }, + "unity": { "type": "string", "enum": ["cloud"] }, + "amp": { "type": "string", "enum": ["cloud"] }, + "reactnative": { "type": "string", "enum": ["cloud"] }, + "flutter": { "type": "string", "enum": ["cloud"] }, + "cordova": { "type": "string", "enum": ["cloud"] }, + "shopify": { "type": "string", "enum": ["cloud"] } } } } diff --git a/src/configurations/destinations/redis/schema.json b/src/configurations/destinations/redis/schema.json index 5785beec2..669010760 100644 --- a/src/configurations/destinations/redis/schema.json +++ b/src/configurations/destinations/redis/schema.json @@ -8,18 +8,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{0,100})$" }, - "password": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, - "clusterMode": { - "type": "boolean", - "default": true - }, - "secure": { - "type": "boolean", - "default": false - }, + "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, + "clusterMode": { "type": "boolean", "default": true }, + "secure": { "type": "boolean", "default": false }, "prefix": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -39,14 +30,7 @@ }, "allOf": [ { - "if": { - "properties": { - "clusterMode": { - "const": false - } - }, - "required": ["clusterMode"] - }, + "if": { "properties": { "clusterMode": { "const": false } }, "required": ["clusterMode"] }, "then": { "properties": { "database": { @@ -58,20 +42,10 @@ } }, { - "if": { - "properties": { - "secure": { - "const": true - } - }, - "required": ["secure"] - }, + "if": { "properties": { "secure": { "const": true } }, "required": ["secure"] }, "then": { "properties": { - "skipVerify": { - "type": "boolean", - "default": false - }, + "skipVerify": { "type": "boolean", "default": false }, "caCertificate": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" diff --git a/src/configurations/destinations/redis/ui-config.json b/src/configurations/destinations/redis/ui-config.json index 40ace3e8e..071d0dc01 100644 --- a/src/configurations/destinations/redis/ui-config.json +++ b/src/configurations/destinations/redis/ui-config.json @@ -29,29 +29,13 @@ "regexErrorMessage": "Invalid Database", "required": false, "placeholder": "", - "preRequisiteField": { - "name": "clusterMode", - "selectedValue": false - } + "preRequisiteField": { "name": "clusterMode", "selectedValue": false } }, + { "type": "checkbox", "label": "Cluster Mode", "value": "clusterMode", "default": true }, + { "type": "checkbox", "label": "Secure", "value": "secure", "default": false }, { "type": "checkbox", - "label": "Cluster Mode", - "value": "clusterMode", - "default": true - }, - { - "type": "checkbox", - "label": "Secure", - "value": "secure", - "default": false - }, - { - "type": "checkbox", - "preRequisiteField": { - "name": "secure", - "selectedValue": true - }, + "preRequisiteField": { "name": "secure", "selectedValue": true }, "label": "Skip verify", "value": "skipVerify", "default": false, @@ -59,10 +43,7 @@ }, { "type": "textareaInput", - "preRequisiteField": { - "name": "secure", - "selectedValue": true - }, + "preRequisiteField": { "name": "secure", "selectedValue": true }, "label": "CA certificate", "value": "caCertificate", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*", diff --git a/src/configurations/destinations/refiner/schema.json b/src/configurations/destinations/refiner/schema.json index 197169c46..e1ccb4552 100644 --- a/src/configurations/destinations/refiner/schema.json +++ b/src/configurations/destinations/refiner/schema.json @@ -44,14 +44,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/revenue_cat/ui-config.json b/src/configurations/destinations/revenue_cat/ui-config.json index 3f9391ba2..c50a3d3bc 100644 --- a/src/configurations/destinations/revenue_cat/ui-config.json +++ b/src/configurations/destinations/revenue_cat/ui-config.json @@ -18,35 +18,14 @@ "label": "X-Platform", "value": "xPlatform", "options": [ - { - "name": "iOS", - "value": "ios" - }, - { - "name": "Android", - "value": "android" - }, - { - "name": "Amazon", - "value": "amazon" - }, - { - "name": "macOS", - "value": "macos" - }, - { - "name": "Stripe", - "value": "stripe" - }, - { - "name": "UI kit for mac", - "value": "uikitformac" - } + { "name": "iOS", "value": "ios" }, + { "name": "Android", "value": "android" }, + { "name": "Amazon", "value": "amazon" }, + { "name": "macOS", "value": "macos" }, + { "name": "Stripe", "value": "stripe" }, + { "name": "UI kit for mac", "value": "uikitformac" } ], - "defaultOption": { - "name": "Stripe", - "value": "stripe" - } + "defaultOption": { "name": "Stripe", "value": "stripe" } } ] }, diff --git a/src/configurations/destinations/rockerbox/db-config.json b/src/configurations/destinations/rockerbox/db-config.json index e3159d0df..6b64f68d8 100644 --- a/src/configurations/destinations/rockerbox/db-config.json +++ b/src/configurations/destinations/rockerbox/db-config.json @@ -33,9 +33,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track", "page"], - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "supportedConnectionModes": { "web": ["cloud", "device", "hybrid"], diff --git a/src/configurations/destinations/rockerbox/schema.json b/src/configurations/destinations/rockerbox/schema.json index 07da4ff2f..210a1021c 100644 --- a/src/configurations/destinations/rockerbox/schema.json +++ b/src/configurations/destinations/rockerbox/schema.json @@ -83,30 +83,11 @@ } } }, - "enableCookieSync": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "enableCookieSync": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "connectionMode": { "type": "object", - "properties": { - "web": { - "type": "string", - "enum": ["cloud", "device", "hybrid"] - } - } + "properties": { "web": { "type": "string", "enum": ["cloud", "device", "hybrid"] } } } } } diff --git a/src/configurations/destinations/rollbar/db-config.json b/src/configurations/destinations/rollbar/db-config.json index 2351ee5c9..f868ddd9c 100644 --- a/src/configurations/destinations/rollbar/db-config.json +++ b/src/configurations/destinations/rollbar/db-config.json @@ -20,9 +20,7 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { - "web": ["identify"] - } + "device": { "web": ["identify"] } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/rollbar/schema.json b/src/configurations/destinations/rollbar/schema.json index f98680262..4f0b4708b 100644 --- a/src/configurations/destinations/rollbar/schema.json +++ b/src/configurations/destinations/rollbar/schema.json @@ -8,26 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "captureUncaughtException": { - "type": "boolean", - "default": true - }, - "captureUnhandledRejections": { - "type": "boolean", - "default": false - }, - "guessUncaughtFrames": { - "type": "boolean", - "default": false - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "captureUncaughtException": { "type": "boolean", "default": true }, + "captureUnhandledRejections": { "type": "boolean", "default": false }, + "guessUncaughtFrames": { "type": "boolean", "default": false }, "codeVersion": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -48,10 +32,7 @@ } } }, - "sourceMapEnabled": { - "type": "boolean", - "default": false - }, + "sourceMapEnabled": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/rs/schema.json b/src/configurations/destinations/rs/schema.json index a222b652e..4e5b3ee28 100644 --- a/src/configurations/destinations/rs/schema.json +++ b/src/configurations/destinations/rs/schema.json @@ -28,10 +28,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "password": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "namespace": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" @@ -41,18 +38,12 @@ "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } }, "required": ["excludeWindowStartTime", "excludeWindowEndTime"] }, @@ -60,10 +51,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.*)$" }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, + "useRudderStorage": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -80,11 +68,7 @@ "allOf": [ { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, "then": { @@ -97,10 +81,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^([^\\s]{0,100})$" }, - "enableSSE": { - "type": "boolean", - "default": false - } + "enableSSE": { "type": "boolean", "default": false } }, "required": ["bucketName"], "anyOf": [ @@ -114,9 +95,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": false - } + "roleBasedAuth": { "const": false } }, "required": [] }, @@ -126,9 +105,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": true - } + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -137,20 +114,11 @@ }, { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, "then": { - "properties": { - "roleBasedAuth": { - "type": "boolean", - "default": true - } - }, + "properties": { "roleBasedAuth": { "type": "boolean", "default": true } }, "required": [] } } diff --git a/src/configurations/destinations/rs/ui-config.json b/src/configurations/destinations/rs/ui-config.json index 4c0c86823..c3b838e18 100644 --- a/src/configurations/destinations/rs/ui-config.json +++ b/src/configurations/destinations/rs/ui-config.json @@ -64,45 +64,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": true }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true, - "minuteStep": 15 - }, + "options": { "omitSeconds": true, "minuteStep": 15 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -110,18 +86,9 @@ "type": "timeRangePicker", "label": "Exclude window (Optional)", "value": "excludeWindow", - "startTime": { - "label": "start time", - "value": "excludeWindowStartTime" - }, - "endTime": { - "label": "end time", - "value": "excludeWindowEndTime" - }, - "options": { - "omitSeconds": true, - "minuteStep": 1 - }, + "startTime": { "label": "start time", "value": "excludeWindowStartTime" }, + "endTime": { "label": "end time", "value": "excludeWindowEndTime" }, + "options": { "omitSeconds": true, "minuteStep": 1 }, "required": false, "footerNote": "Note: Please specify time in UTC" }, @@ -161,10 +128,7 @@ "required": true, "placeholder": "e.g: event-bucket", "footerNote": "Please make sure the bucket exists in your S3", - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "textInput", @@ -174,19 +138,11 @@ "regexErrorMessage": "Invalid Prefix", "required": false, "placeholder": "e.g: rudder", - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } }, { "type": "checkbox", - "preRequisiteField": [ - { - "name": "useRudderStorage", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "useRudderStorage", "selectedValue": false }], "label": "Role Based Authentication", "value": "roleBasedAuth", "default": true @@ -194,14 +150,8 @@ { "type": "textInput", "preRequisiteField": [ - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": true - } + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": true } ], "label": "IAM Role ARN", "value": "iamRoleARN", @@ -224,14 +174,8 @@ "placeholder": "e.g: access-key-id", "secret": true, "preRequisiteField": [ - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ] }, { @@ -244,14 +188,8 @@ "placeholder": "e.g: secret-access-key", "secret": true, "preRequisiteField": [ - { - "name": "useRudderStorage", - "selectedValue": false - }, - { - "name": "roleBasedAuth", - "selectedValue": false - } + { "name": "useRudderStorage", "selectedValue": false }, + { "name": "roleBasedAuth", "selectedValue": false } ] }, { @@ -259,10 +197,7 @@ "label": "Enable Server Side Encryption For S3?", "value": "enableSSE", "default": false, - "preRequisiteField": { - "name": "useRudderStorage", - "selectedValue": false - } + "preRequisiteField": { "name": "useRudderStorage", "selectedValue": false } } ] }, diff --git a/src/configurations/destinations/s3/schema.json b/src/configurations/destinations/s3/schema.json index f79aed80c..4f4be35d9 100644 --- a/src/configurations/destinations/s3/schema.json +++ b/src/configurations/destinations/s3/schema.json @@ -12,14 +12,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "type": "boolean", - "default": true - }, - "enableSSE": { - "type": "boolean", - "default": false - }, + "roleBasedAuth": { "type": "boolean", "default": true }, + "enableSSE": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -36,11 +30,7 @@ "allOf": [ { "if": { - "properties": { - "roleBasedAuth": { - "const": true - } - }, + "properties": { "roleBasedAuth": { "const": true } }, "required": ["roleBasedAuth"] }, "then": { @@ -49,20 +39,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": true - } + "roleBasedAuth": { "const": true } }, "required": ["roleBasedAuth"] } }, { "if": { - "properties": { - "roleBasedAuth": { - "const": false - } - }, + "properties": { "roleBasedAuth": { "const": false } }, "required": ["roleBasedAuth"] }, "then": { @@ -75,9 +59,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "const": false - } + "roleBasedAuth": { "const": false } }, "required": [] } diff --git a/src/configurations/destinations/s3/ui-config.json b/src/configurations/destinations/s3/ui-config.json index e5e021cda..9e496d782 100644 --- a/src/configurations/destinations/s3/ui-config.json +++ b/src/configurations/destinations/s3/ui-config.json @@ -29,10 +29,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": true - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": true }, "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -46,10 +43,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", @@ -60,10 +54,7 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "roleBasedAuth", - "selectedValue": false - }, + "preRequisiteField": { "name": "roleBasedAuth", "selectedValue": false }, "label": "AWS Secret Access Key", "value": "accessKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", diff --git a/src/configurations/destinations/s3_datalake/schema.json b/src/configurations/destinations/s3_datalake/schema.json index 387a23528..11fa124a0 100644 --- a/src/configurations/destinations/s3_datalake/schema.json +++ b/src/configurations/destinations/s3_datalake/schema.json @@ -8,34 +8,20 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!^xn--)(?!.*\\.\\..*)(?!^(\\d+(\\.|$)){4}$)[a-z0-9][a-z0-9-.]{1,61}[a-z0-9])$" }, - "useGlue": { - "type": "boolean", - "default": false - }, - "prefix": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "useGlue": { "type": "boolean", "default": false }, + "prefix": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "namespace": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" }, - "roleBasedAuth": { - "type": "boolean", - "default": true - }, - "enableSSE": { - "type": "boolean", - "default": false - }, + "roleBasedAuth": { "type": "boolean", "default": true }, + "enableSSE": { "type": "boolean", "default": false }, "syncFrequency": { "type": "string", "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -51,31 +37,17 @@ }, "allOf": [ { - "if": { - "properties": { - "useGlue": { - "const": true - } - }, - "required": ["useGlue"] - }, + "if": { "properties": { "useGlue": { "const": true } }, "required": ["useGlue"] }, "then": { "properties": { - "region": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - } + "region": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" } }, "required": ["region"] } }, { "if": { - "properties": { - "roleBasedAuth": { - "const": true - } - }, + "properties": { "roleBasedAuth": { "const": true } }, "required": ["roleBasedAuth"] }, "then": { @@ -84,20 +56,14 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "roleBasedAuth": { - "const": true - } + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } }, { "if": { - "properties": { - "roleBasedAuth": { - "const": false - } - }, + "properties": { "roleBasedAuth": { "const": false } }, "required": ["roleBasedAuth"] }, "then": { @@ -110,9 +76,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, - "roleBasedAuth": { - "const": false - } + "roleBasedAuth": { "const": false } }, "required": [] } diff --git a/src/configurations/destinations/s3_datalake/ui-config.json b/src/configurations/destinations/s3_datalake/ui-config.json index 7cdabd199..cb5841a80 100644 --- a/src/configurations/destinations/s3_datalake/ui-config.json +++ b/src/configurations/destinations/s3_datalake/ui-config.json @@ -26,10 +26,7 @@ "value": "region", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*", "required": true, - "preRequisiteField": { - "name": "useGlue", - "selectedValue": true - } + "preRequisiteField": { "name": "useGlue", "selectedValue": true } }, { "type": "textInput", @@ -57,12 +54,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "roleBasedAuth", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "roleBasedAuth", "selectedValue": true }], "label": "IAM Role ARN", "value": "iamRoleARN", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$", @@ -76,12 +68,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "roleBasedAuth", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "roleBasedAuth", "selectedValue": false }], "label": "AWS Access Key ID", "value": "accessKeyID", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*", @@ -91,12 +78,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "roleBasedAuth", - "selectedValue": false - } - ], + "preRequisiteField": [{ "name": "roleBasedAuth", "selectedValue": false }], "label": "AWS Secret Access Key", "value": "accessKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*", @@ -115,44 +97,21 @@ "label": "Sync Frequency", "value": "syncFrequency", "options": [ - { - "name": "Every 30 minutes", - "value": "30" - }, - { - "name": "Every 1 hour", - "value": "60" - }, - { - "name": "Every 3 hours", - "value": "180" - }, - { - "name": "Every 6 hours", - "value": "360" - }, - { - "name": "Every 12 hours", - "value": "720" - }, - { - "name": "Every 24 hours", - "value": "1440" - } + { "name": "Every 30 minutes", "value": "30" }, + { "name": "Every 1 hour", "value": "60" }, + { "name": "Every 3 hours", "value": "180" }, + { "name": "Every 6 hours", "value": "360" }, + { "name": "Every 12 hours", "value": "720" }, + { "name": "Every 24 hours", "value": "1440" } ], - "defaultOption": { - "name": "Every 30 minutes", - "value": "30" - }, + "defaultOption": { "name": "Every 30 minutes", "value": "30" }, "required": false }, { "type": "timePicker", "label": "Sync Starting At (Optional)", "value": "syncStartAt", - "options": { - "omitSeconds": true - }, + "options": { "omitSeconds": true }, "required": false, "footerNote": "Note: Please specify time in UTC" } diff --git a/src/configurations/destinations/salesforce/schema.json b/src/configurations/destinations/salesforce/schema.json index 23a034716..9e0395b4a 100644 --- a/src/configurations/destinations/salesforce/schema.json +++ b/src/configurations/destinations/salesforce/schema.json @@ -16,18 +16,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "mapProperties": { - "type": "boolean", - "default": true - }, - "sandbox": { - "type": "boolean", - "default": false - }, - "useContactId": { - "type": "boolean", - "default": false - }, + "mapProperties": { "type": "boolean", "default": true }, + "sandbox": { "type": "boolean", "default": false }, + "useContactId": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/salesforce/ui-config.json b/src/configurations/destinations/salesforce/ui-config.json index ddb2f96bd..33150dfc3 100644 --- a/src/configurations/destinations/salesforce/ui-config.json +++ b/src/configurations/destinations/salesforce/ui-config.json @@ -42,12 +42,7 @@ "value": "mapProperties", "default": true }, - { - "type": "checkbox", - "label": "Sandbox mode", - "value": "sandbox", - "default": false - }, + { "type": "checkbox", "label": "Sandbox mode", "value": "sandbox", "default": false }, { "type": "checkbox", "label": "Use contactId for converted leads", diff --git a/src/configurations/destinations/salesforce_oauth/db-config.json b/src/configurations/destinations/salesforce_oauth/db-config.json index f01b6e89b..731480e36 100644 --- a/src/configurations/destinations/salesforce_oauth/db-config.json +++ b/src/configurations/destinations/salesforce_oauth/db-config.json @@ -37,7 +37,5 @@ }, "secretKeys": [] }, - "options": { - "hidden": true - } + "options": { "hidden": true } } diff --git a/src/configurations/destinations/salesforce_oauth/schema.json b/src/configurations/destinations/salesforce_oauth/schema.json index 40451138c..2383092fc 100644 --- a/src/configurations/destinations/salesforce_oauth/schema.json +++ b/src/configurations/destinations/salesforce_oauth/schema.json @@ -4,18 +4,9 @@ "required": [], "type": "object", "properties": { - "mapProperties": { - "type": "boolean", - "default": true - }, - "sandbox": { - "type": "boolean", - "default": false - }, - "useContactId": { - "type": "boolean", - "default": false - }, + "mapProperties": { "type": "boolean", "default": true }, + "sandbox": { "type": "boolean", "default": false }, + "useContactId": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/salesforce_oauth/ui-config.json b/src/configurations/destinations/salesforce_oauth/ui-config.json index a92342930..18675c813 100644 --- a/src/configurations/destinations/salesforce_oauth/ui-config.json +++ b/src/configurations/destinations/salesforce_oauth/ui-config.json @@ -9,12 +9,7 @@ "value": "mapProperties", "default": true }, - { - "type": "checkbox", - "label": "Sandbox mode", - "value": "sandbox", - "default": false - }, + { "type": "checkbox", "label": "Sandbox mode", "value": "sandbox", "default": false }, { "type": "checkbox", "label": "Use contactId for converted leads", diff --git a/src/configurations/destinations/satismeter/db-config.json b/src/configurations/destinations/satismeter/db-config.json index 5a29f4fee..35492b9e6 100644 --- a/src/configurations/destinations/satismeter/db-config.json +++ b/src/configurations/destinations/satismeter/db-config.json @@ -19,9 +19,7 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { - "web": ["identify", "track"] - } + "device": { "web": ["identify", "track"] } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/satismeter/schema.json b/src/configurations/destinations/satismeter/schema.json index 0307101d2..6b0f368d3 100644 --- a/src/configurations/destinations/satismeter/schema.json +++ b/src/configurations/destinations/satismeter/schema.json @@ -8,22 +8,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "identifyAnonymousUsers": { - "type": "boolean", - "default": false - }, - "recordSatismeterEvents": { - "type": "boolean", - "default": false - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "identifyAnonymousUsers": { "type": "boolean", "default": false }, + "recordSatismeterEvents": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -69,21 +56,14 @@ "allOf": [ { "if": { - "properties": { - "recordSatismeterEvents": { - "const": true - } - }, + "properties": { "recordSatismeterEvents": { "const": true } }, "required": ["recordSatismeterEvents"] }, "then": { "properties": { "eventsList": { "type": "array", - "items": { - "type": "string", - "enum": ["display", "dismiss", "progress", "complete"] - }, + "items": { "type": "string", "enum": ["display", "dismiss", "progress", "complete"] }, "default": ["display"] } }, @@ -92,32 +72,19 @@ }, { "if": { - "properties": { - "recordSatismeterEvents": { - "const": true - } - }, + "properties": { "recordSatismeterEvents": { "const": true } }, "required": ["recordSatismeterEvents"] }, "then": { - "properties": { - "updateEventNames": { - "type": "boolean", - "default": false - } - }, + "properties": { "updateEventNames": { "type": "boolean", "default": false } }, "required": [] } }, { "if": { "properties": { - "recordSatismeterEvents": { - "const": true - }, - "updateEventNames": { - "const": true - } + "recordSatismeterEvents": { "const": true }, + "updateEventNames": { "const": true } }, "required": ["recordSatismeterEvents", "updateEventNames"] }, diff --git a/src/configurations/destinations/segment/db-config.json b/src/configurations/destinations/segment/db-config.json index 1e63d54ce..19fa8d3e1 100644 --- a/src/configurations/destinations/segment/db-config.json +++ b/src/configurations/destinations/segment/db-config.json @@ -33,9 +33,7 @@ "cordova": ["cloud"], "shopify": ["cloud"] }, - "destConfig": { - "defaultConfig": ["writeKey", "oneTrustCookieCategories"] - }, + "destConfig": { "defaultConfig": ["writeKey", "oneTrustCookieCategories"] }, "secretKeys": [] } } diff --git a/src/configurations/destinations/sendgrid/ui-config.json b/src/configurations/destinations/sendgrid/ui-config.json index e74946fa6..84c312f20 100644 --- a/src/configurations/destinations/sendgrid/ui-config.json +++ b/src/configurations/destinations/sendgrid/ui-config.json @@ -19,12 +19,7 @@ "required": true, "placeholder": "e.g. Sample subject" }, - { - "type": "textInput", - "label": "Template ID", - "value": "templateId", - "required": false - }, + { "type": "textInput", "label": "Template ID", "value": "templateId", "required": false }, { "type": "checkbox", "label": "Get email ID from traits", @@ -83,18 +78,8 @@ { "title": "From", "fields": [ - { - "type": "textInput", - "label": "Email ID", - "value": "fromEmail", - "required": true - }, - { - "type": "textInput", - "label": "Name", - "value": "fromName", - "required": false - } + { "type": "textInput", "label": "Email ID", "value": "fromEmail", "required": true }, + { "type": "textInput", "label": "Name", "value": "fromName", "required": false } ] }, { @@ -122,18 +107,8 @@ "type": "dynamicCustomForm", "value": "contents", "customFields": [ - { - "type": "textInput", - "label": "Type", - "value": "type", - "required": false - }, - { - "type": "textInput", - "label": "Value", - "value": "value", - "required": false - } + { "type": "textInput", "label": "Type", "value": "type", "required": false }, + { "type": "textInput", "label": "Value", "value": "value", "required": false } ] } ] @@ -145,36 +120,16 @@ "type": "dynamicCustomForm", "value": "attachments", "customFields": [ - { - "type": "textInput", - "label": "Content", - "value": "content", - "required": false - }, - { - "type": "textInput", - "label": "Type", - "value": "type", - "required": false - }, - { - "type": "textInput", - "label": "Filename", - "value": "filename", - "required": false - }, + { "type": "textInput", "label": "Content", "value": "content", "required": false }, + { "type": "textInput", "label": "Type", "value": "type", "required": false }, + { "type": "textInput", "label": "Filename", "value": "filename", "required": false }, { "type": "textInput", "label": "Disposition", "value": "disposition", "required": false }, - { - "type": "textInput", - "label": "Content ID", - "value": "contentId", - "required": false - } + { "type": "textInput", "label": "Content ID", "value": "contentId", "required": false } ] } ] @@ -207,38 +162,22 @@ { "title": "Email Settings", "fields": [ - { - "type": "checkbox", - "label": "Footer", - "value": "footer", - "default": false - }, + { "type": "checkbox", "label": "Footer", "value": "footer", "default": false }, { "type": "textInput", - "preRequisiteField": { - "name": "footer", - "selectedValue": true - }, + "preRequisiteField": { "name": "footer", "selectedValue": true }, "label": "Text", "value": "footerText", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "footer", - "selectedValue": true - }, + "preRequisiteField": { "name": "footer", "selectedValue": true }, "label": "HTML", "value": "footerHtml", "required": false }, - { - "type": "checkbox", - "label": "Sandbox Mode", - "value": "sandboxMode", - "default": false - } + { "type": "checkbox", "label": "Sandbox Mode", "value": "sandboxMode", "default": false } ] }, { @@ -256,19 +195,11 @@ "value": "clickTrackingEnableText", "default": false }, - { - "type": "checkbox", - "label": "Open Tracking", - "value": "openTracking", - "default": false - }, + { "type": "checkbox", "label": "Open Tracking", "value": "openTracking", "default": false }, { "type": "textInput", "label": "Substitution Tag", - "preRequisiteField": { - "name": "openTracking", - "selectedValue": true - }, + "preRequisiteField": { "name": "openTracking", "selectedValue": true }, "value": "openTrackingSubstitutionTag", "required": false, "placeholder": "e.g. %open-track%" @@ -281,86 +212,57 @@ }, { "type": "textInput", - "preRequisiteField": { - "name": "subscriptionTracking", - "selectedValue": true - }, + "preRequisiteField": { "name": "subscriptionTracking", "selectedValue": true }, "label": "Text", "value": "text", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "subscriptionTracking", - "selectedValue": true - }, + "preRequisiteField": { "name": "subscriptionTracking", "selectedValue": true }, "label": "HTML", "value": "html", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "subscriptionTracking", - "selectedValue": true - }, + "preRequisiteField": { "name": "subscriptionTracking", "selectedValue": true }, "label": "Substitution Tag", "value": "substitutionTag", "required": false }, - { - "type": "checkbox", - "label": "GAnalytics", - "value": "ganalytics", - "default": false - }, + { "type": "checkbox", "label": "GAnalytics", "value": "ganalytics", "default": false }, { "type": "textInput", - "preRequisiteField": { - "name": "ganalytics", - "selectedValue": true - }, + "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, "label": "utm source", "value": "utmSource", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "ganalytics", - "selectedValue": true - }, + "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, "label": "utm medium", "value": "utmMedium", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "ganalytics", - "selectedValue": true - }, + "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, "label": "utm term", "value": "utmTerm", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "ganalytics", - "selectedValue": true - }, + "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, "label": "utm content", "value": "utmContent", "required": false }, { "type": "textInput", - "preRequisiteField": { - "name": "ganalytics", - "selectedValue": true - }, + "preRequisiteField": { "name": "ganalytics", "selectedValue": true }, "label": "utm campaign", "value": "utmCampaign", "required": false diff --git a/src/configurations/destinations/sendinblue/db-config.json b/src/configurations/destinations/sendinblue/db-config.json index 11600a79f..54fc70d17 100644 --- a/src/configurations/destinations/sendinblue/db-config.json +++ b/src/configurations/destinations/sendinblue/db-config.json @@ -29,9 +29,7 @@ ], "supportedMessageTypes": { "cloud": ["track", "identify", "page"], - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/sendinblue/schema.json b/src/configurations/destinations/sendinblue/schema.json index 94403434a..291ed7ba1 100644 --- a/src/configurations/destinations/sendinblue/schema.json +++ b/src/configurations/destinations/sendinblue/schema.json @@ -12,22 +12,9 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "doi": { - "type": "boolean", - "default": false - }, - "sendTraitsInTrack": { - "type": "boolean", - "default": false - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "doi": { "type": "boolean", "default": false }, + "sendTraitsInTrack": { "type": "boolean", "default": false }, "contactAttributeMapping": { "type": "array", "items": { @@ -88,14 +75,7 @@ }, "anyOf": [ { - "if": { - "properties": { - "doi": { - "const": true - } - }, - "required": ["doi"] - }, + "if": { "properties": { "doi": { "const": true } }, "required": ["doi"] }, "then": { "properties": { "templateId": { diff --git a/src/configurations/destinations/sentry/db-config.json b/src/configurations/destinations/sentry/db-config.json index 716027e81..fa5682e8e 100644 --- a/src/configurations/destinations/sentry/db-config.json +++ b/src/configurations/destinations/sentry/db-config.json @@ -24,9 +24,7 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { - "web": ["identify"] - } + "device": { "web": ["identify"] } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/sentry/schema.json b/src/configurations/destinations/sentry/schema.json index ae28092b4..be30ceecf 100644 --- a/src/configurations/destinations/sentry/schema.json +++ b/src/configurations/destinations/sentry/schema.json @@ -4,24 +4,12 @@ "required": ["dsn"], "type": "object", "properties": { - "dsn": { - "type": "string" - }, - "environment": { - "type": "string" - }, - "customVersionProperty": { - "type": "string" - }, - "release": { - "type": "string" - }, - "serverName": { - "type": "string" - }, - "logger": { - "type": "string" - }, + "dsn": { "type": "string" }, + "environment": { "type": "string" }, + "customVersionProperty": { "type": "string" }, + "release": { "type": "string" }, + "serverName": { "type": "string" }, + "logger": { "type": "string" }, "ignoreErrors": { "type": "array", "items": { @@ -70,18 +58,8 @@ } } }, - "debugMode": { - "type": "boolean", - "default": false - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "debugMode": { "type": "boolean", "default": false }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/shynet/db-config.json b/src/configurations/destinations/shynet/db-config.json index 6436271bc..720219e35 100644 --- a/src/configurations/destinations/shynet/db-config.json +++ b/src/configurations/destinations/shynet/db-config.json @@ -28,9 +28,7 @@ ], "supportedMessageTypes": { "cloud": ["page"], - "device": { - "web": ["page"] - } + "device": { "web": ["page"] } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/shynet/schema.json b/src/configurations/destinations/shynet/schema.json index 336ff9831..cdb150b84 100644 --- a/src/configurations/destinations/shynet/schema.json +++ b/src/configurations/destinations/shynet/schema.json @@ -12,14 +12,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|(?!.*\\.ngrok\\.io)^(.{1,300})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/signl4/schema.json b/src/configurations/destinations/signl4/schema.json index 71fba1610..dda4e9f9e 100644 --- a/src/configurations/destinations/signl4/schema.json +++ b/src/configurations/destinations/signl4/schema.json @@ -50,10 +50,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "s4Filter": { - "type": "boolean", - "default": false - }, + "s4Filter": { "type": "boolean", "default": false }, "eventToTitleMapping": { "type": "array", "items": { diff --git a/src/configurations/destinations/signl4/ui-config.json b/src/configurations/destinations/signl4/ui-config.json index 13181bc8d..a304cf552 100644 --- a/src/configurations/destinations/signl4/ui-config.json +++ b/src/configurations/destinations/signl4/ui-config.json @@ -76,23 +76,11 @@ "value": "s4AlertingScenarioValue", "required": false, "options": [ - { - "name": "single_ack", - "value": "single_ack" - }, - { - "name": "multi_ack", - "value": "multi_ack" - }, - { - "name": "emergency", - "value": "emergency" - } + { "name": "single_ack", "value": "single_ack" }, + { "name": "multi_ack", "value": "multi_ack" }, + { "name": "emergency", "value": "emergency" } ], - "defaultOption": { - "name": "single_ack", - "value": "single_ack" - } + "defaultOption": { "name": "single_ack", "value": "single_ack" } }, { "type": "textInput", @@ -142,23 +130,11 @@ "value": "s4StatusValue", "required": false, "options": [ - { - "name": "new", - "value": "new" - }, - { - "name": "acknowledged", - "value": "acknowledged" - }, - { - "name": "resolved", - "value": "resolved" - } + { "name": "new", "value": "new" }, + { "name": "acknowledged", "value": "acknowledged" }, + { "name": "resolved", "value": "resolved" } ], - "defaultOption": { - "name": "new", - "value": "new" - } + "defaultOption": { "name": "new", "value": "new" } }, { "type": "textInput", diff --git a/src/configurations/destinations/singular/schema.json b/src/configurations/destinations/singular/schema.json index d731b4df2..2582c434f 100644 --- a/src/configurations/destinations/singular/schema.json +++ b/src/configurations/destinations/singular/schema.json @@ -27,18 +27,10 @@ "useNativeSDK": { "type": "object", "properties": { - "android": { - "type": "boolean" - }, - "ios": { - "type": "boolean" - }, - "reactnative": { - "type": "boolean" - }, - "cordova": { - "type": "boolean" - } + "android": { "type": "boolean" }, + "ios": { "type": "boolean" }, + "reactnative": { "type": "boolean" }, + "cordova": { "type": "boolean" } } }, "eventFilteringOption": { diff --git a/src/configurations/destinations/snap_pixel/db-config.json b/src/configurations/destinations/snap_pixel/db-config.json index 74a45693f..bc9ab91a8 100644 --- a/src/configurations/destinations/snap_pixel/db-config.json +++ b/src/configurations/destinations/snap_pixel/db-config.json @@ -22,9 +22,7 @@ "web": ["device"] }, "supportedMessageTypes": { - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/snapchat_conversion/schema.json b/src/configurations/destinations/snapchat_conversion/schema.json index 9c1602e50..e3ffe35d9 100644 --- a/src/configurations/destinations/snapchat_conversion/schema.json +++ b/src/configurations/destinations/snapchat_conversion/schema.json @@ -69,10 +69,7 @@ } } }, - "enableDeduplication": { - "type": "boolean", - "default": false - }, + "enableDeduplication": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -89,11 +86,7 @@ "anyOf": [ { "if": { - "properties": { - "enableDeduplication": { - "const": true - } - }, + "properties": { "enableDeduplication": { "const": true } }, "required": ["enableDeduplication"] }, "then": { diff --git a/src/configurations/destinations/snapchat_conversion/ui-config.json b/src/configurations/destinations/snapchat_conversion/ui-config.json index bd2bf7d91..54595bf54 100644 --- a/src/configurations/destinations/snapchat_conversion/ui-config.json +++ b/src/configurations/destinations/snapchat_conversion/ui-config.json @@ -60,130 +60,37 @@ "required": false, "placeholderLeft": "e.g. Product Searched", "options": [ - { - "name": "Products Searched", - "value": "products_searched" - }, - { - "name": "Product List Viewed", - "value": "product_list_viewed" - }, - { - "name": "Promotion Viewed", - "value": "promotion_viewed" - }, - { - "name": "Promotion Clicked", - "value": "promotion_clicked" - }, - { - "name": "Product Viewed", - "value": "product_viewed" - }, - { - "name": "Checkout Started", - "value": "checkout_started" - }, - { - "name": "Payment Info Entered", - "value": "payment_info_entered" - }, - { - "name": "Order Completed", - "value": "order_completed" - }, - { - "name": "Product Added", - "value": "product_added" - }, - { - "name": "Product Added To Wishlist", - "value": "product_added_to_wishlist" - }, - { - "name": "Sign Up", - "value": "sign_up" - }, - { - "name": "App Open", - "value": "app_open" - }, - { - "name": "Save", - "value": "save" - }, - { - "name": "Subscribe", - "value": "subscribe" - }, - { - "name": "Complete Tutorial", - "value": "complete_tutorial" - }, - { - "name": "Invite", - "value": "invite" - }, - { - "name": "Login", - "value": "login" - }, - { - "name": "Share", - "value": "share" - }, - { - "name": "Reserve", - "value": "reserve" - }, - { - "name": "Achievement Unlocked", - "value": "achievement_unlocked" - }, - { - "name": "Spent Credits", - "value": "spent_credits" - }, - { - "name": "Rate", - "value": "rate" - }, - { - "name": "Start Trial", - "value": "start_trial" - }, - { - "name": "List View", - "value": "list_view" - }, - { - "name": "Page View", - "value": "page_view" - }, - { - "name": "App Install", - "value": "app_install" - }, - { - "name": "Custom Event 1", - "value": "custom_event_1" - }, - { - "name": "Custom Event 2", - "value": "custom_event_2" - }, - { - "name": "Custom Event 3", - "value": "custom_event_3" - }, - { - "name": "Custom Event 4", - "value": "custom_event_4" - }, - { - "name": "Custom Event 5", - "value": "custom_event_5" - } + { "name": "Products Searched", "value": "products_searched" }, + { "name": "Product List Viewed", "value": "product_list_viewed" }, + { "name": "Promotion Viewed", "value": "promotion_viewed" }, + { "name": "Promotion Clicked", "value": "promotion_clicked" }, + { "name": "Product Viewed", "value": "product_viewed" }, + { "name": "Checkout Started", "value": "checkout_started" }, + { "name": "Payment Info Entered", "value": "payment_info_entered" }, + { "name": "Order Completed", "value": "order_completed" }, + { "name": "Product Added", "value": "product_added" }, + { "name": "Product Added To Wishlist", "value": "product_added_to_wishlist" }, + { "name": "Sign Up", "value": "sign_up" }, + { "name": "App Open", "value": "app_open" }, + { "name": "Save", "value": "save" }, + { "name": "Subscribe", "value": "subscribe" }, + { "name": "Complete Tutorial", "value": "complete_tutorial" }, + { "name": "Invite", "value": "invite" }, + { "name": "Login", "value": "login" }, + { "name": "Share", "value": "share" }, + { "name": "Reserve", "value": "reserve" }, + { "name": "Achievement Unlocked", "value": "achievement_unlocked" }, + { "name": "Spent Credits", "value": "spent_credits" }, + { "name": "Rate", "value": "rate" }, + { "name": "Start Trial", "value": "start_trial" }, + { "name": "List View", "value": "list_view" }, + { "name": "Page View", "value": "page_view" }, + { "name": "App Install", "value": "app_install" }, + { "name": "Custom Event 1", "value": "custom_event_1" }, + { "name": "Custom Event 2", "value": "custom_event_2" }, + { "name": "Custom Event 3", "value": "custom_event_3" }, + { "name": "Custom Event 4", "value": "custom_event_4" }, + { "name": "Custom Event 5", "value": "custom_event_5" } ] } ] @@ -199,12 +106,7 @@ }, { "type": "textInput", - "preRequisiteField": [ - { - "name": "enableDeduplication", - "selectedValue": true - } - ], + "preRequisiteField": [{ "name": "enableDeduplication", "selectedValue": true }], "label": "Deduplication Key", "value": "deduplicationKey", "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$", diff --git a/src/configurations/destinations/snapchat_custom_audience/schema.json b/src/configurations/destinations/snapchat_custom_audience/schema.json index 632ae2990..e3f6aa58b 100644 --- a/src/configurations/destinations/snapchat_custom_audience/schema.json +++ b/src/configurations/destinations/snapchat_custom_audience/schema.json @@ -8,15 +8,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "schema": { - "type": "string", - "enum": ["email", "phone", "mobileAdId"], - "default": "email" - }, - "disableHashing": { - "type": "boolean", - "default": false - }, + "schema": { "type": "string", "enum": ["email", "phone", "mobileAdId"], "default": "email" }, + "disableHashing": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/snapchat_custom_audience/ui-config.json b/src/configurations/destinations/snapchat_custom_audience/ui-config.json index c8aa3cb49..83b659e56 100644 --- a/src/configurations/destinations/snapchat_custom_audience/ui-config.json +++ b/src/configurations/destinations/snapchat_custom_audience/ui-config.json @@ -25,23 +25,11 @@ "required": true, "mode": "single", "options": [ - { - "name": "Email", - "value": "email" - }, - { - "name": "Phone", - "value": "phone" - }, - { - "name": "Mobile Ad Id", - "value": "mobileAdId" - } + { "name": "Email", "value": "email" }, + { "name": "Phone", "value": "phone" }, + { "name": "Mobile Ad Id", "value": "mobileAdId" } ], - "defaultOption": { - "name": "Email", - "value": "email" - }, + "defaultOption": { "name": "Email", "value": "email" }, "footerNote": "Schema of your Audience" }, { diff --git a/src/configurations/destinations/snapengage/schema.json b/src/configurations/destinations/snapengage/schema.json index e4541b1ce..c3fdbeac3 100644 --- a/src/configurations/destinations/snapengage/schema.json +++ b/src/configurations/destinations/snapengage/schema.json @@ -8,18 +8,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, - "recordLiveChatEvents": { - "type": "boolean", - "default": false - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, + "recordLiveChatEvents": { "type": "boolean", "default": false }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -65,32 +55,19 @@ "allOf": [ { "if": { - "properties": { - "recordLiveChatEvents": { - "const": true - } - }, + "properties": { "recordLiveChatEvents": { "const": true } }, "required": ["recordLiveChatEvents"] }, "then": { - "properties": { - "updateEventNames": { - "type": "boolean", - "default": false - } - }, + "properties": { "updateEventNames": { "type": "boolean", "default": false } }, "required": [] } }, { "if": { "properties": { - "recordLiveChatEvents": { - "const": true - }, - "updateEventNames": { - "const": true - } + "recordLiveChatEvents": { "const": true }, + "updateEventNames": { "const": true } }, "required": ["recordLiveChatEvents", "updateEventNames"] }, diff --git a/src/configurations/destinations/snowflake/schema.json b/src/configurations/destinations/snowflake/schema.json index b7e6f1da6..36b185cba 100644 --- a/src/configurations/destinations/snowflake/schema.json +++ b/src/configurations/destinations/snowflake/schema.json @@ -32,10 +32,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "password": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "namespace": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^((?!pg_|PG_|pG_|Pg_).{0,64})$" @@ -45,18 +42,12 @@ "enum": ["30", "60", "180", "360", "720", "1440"], "default": "30" }, - "syncStartAt": { - "type": "string" - }, + "syncStartAt": { "type": "string" }, "excludeWindow": { "type": "object", "properties": { - "excludeWindowStartTime": { - "type": "string" - }, - "excludeWindowEndTime": { - "type": "string" - } + "excludeWindowStartTime": { "type": "string" }, + "excludeWindowEndTime": { "type": "string" } }, "required": ["excludeWindowStartTime", "excludeWindowEndTime"] }, @@ -64,10 +55,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.*)$" }, - "useRudderStorage": { - "type": "boolean", - "default": false - }, + "useRudderStorage": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -84,23 +72,14 @@ "type": "array", "items": { "type": "object", - "properties": { - "purpose": { - "type": "string", - "pattern": "^(.{0,100})$" - } - } + "properties": { "purpose": { "type": "string", "pattern": "^(.{0,100})$" } } } } }, "allOf": [ { "if": { - "properties": { - "useRudderStorage": { - "const": false - } - }, + "properties": { "useRudderStorage": { "const": false } }, "required": ["useRudderStorage"] }, "then": { @@ -121,12 +100,8 @@ { "if": { "properties": { - "cloudProvider": { - "const": "AWS" - }, - "useRudderStorage": { - "const": false - } + "cloudProvider": { "const": "AWS" }, + "useRudderStorage": { "const": false } }, "required": ["cloudProvider", "useRudderStorage"] }, @@ -140,14 +115,8 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "roleBasedAuth": { - "type": "boolean", - "default": true - }, - "enableSSE": { - "type": "boolean", - "default": false - } + "roleBasedAuth": { "type": "boolean", "default": true }, + "enableSSE": { "type": "boolean", "default": false } }, "required": ["bucketName"], "anyOf": [ @@ -161,9 +130,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "roleBasedAuth": { - "const": false - } + "roleBasedAuth": { "const": false } }, "required": ["accessKeyID", "accessKey"] }, @@ -173,9 +140,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "roleBasedAuth": { - "const": true - } + "roleBasedAuth": { "const": true } }, "required": ["iamRoleARN", "roleBasedAuth"] } @@ -185,12 +150,8 @@ { "if": { "properties": { - "cloudProvider": { - "const": "GCP" - }, - "useRudderStorage": { - "const": false - } + "cloudProvider": { "const": "GCP" }, + "useRudderStorage": { "const": false } }, "required": ["cloudProvider", "useRudderStorage"] }, @@ -215,12 +176,8 @@ { "if": { "properties": { - "cloudProvider": { - "const": "AZURE" - }, - "useRudderStorage": { - "const": false - } + "cloudProvider": { "const": "AZURE" }, + "useRudderStorage": { "const": false } }, "required": ["cloudProvider", "useRudderStorage"] }, @@ -238,10 +195,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { - "type": "boolean", - "default": false - } + "useSASTokens": { "type": "boolean", "default": false } }, "required": ["containerName", "storageIntegration", "accountName"], "anyOf": [ @@ -251,9 +205,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "useSASTokens": { - "const": false - } + "useSASTokens": { "const": false } }, "required": ["accountKey"] }, @@ -263,9 +215,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.+)$" }, - "useSASTokens": { - "const": true - } + "useSASTokens": { "const": true } }, "required": ["sasToken", "useSASTokens"] } diff --git a/src/configurations/destinations/statsig/schema.json b/src/configurations/destinations/statsig/schema.json index 91090e32d..6977a42a8 100644 --- a/src/configurations/destinations/statsig/schema.json +++ b/src/configurations/destinations/statsig/schema.json @@ -23,50 +23,17 @@ "connectionMode": { "type": "object", "properties": { - "android": { - "type": "string", - "enum": ["cloud"] - }, - "ios": { - "type": "string", - "enum": ["cloud"] - }, - "web": { - "type": "string", - "enum": ["cloud"] - }, - "unity": { - "type": "string", - "enum": ["cloud"] - }, - "amp": { - "type": "string", - "enum": ["cloud"] - }, - "reactnative": { - "type": "string", - "enum": ["cloud"] - }, - "flutter": { - "type": "string", - "enum": ["cloud"] - }, - "cordova": { - "type": "string", - "enum": ["cloud"] - }, - "shopify": { - "type": "string", - "enum": ["cloud"] - }, - "cloud": { - "type": "string", - "enum": ["cloud"] - }, - "warehouse": { - "type": "string", - "enum": ["cloud"] - } + "android": { "type": "string", "enum": ["cloud"] }, + "ios": { "type": "string", "enum": ["cloud"] }, + "web": { "type": "string", "enum": ["cloud"] }, + "unity": { "type": "string", "enum": ["cloud"] }, + "amp": { "type": "string", "enum": ["cloud"] }, + "reactnative": { "type": "string", "enum": ["cloud"] }, + "flutter": { "type": "string", "enum": ["cloud"] }, + "cordova": { "type": "string", "enum": ["cloud"] }, + "shopify": { "type": "string", "enum": ["cloud"] }, + "cloud": { "type": "string", "enum": ["cloud"] }, + "warehouse": { "type": "string", "enum": ["cloud"] } } } } diff --git a/src/configurations/destinations/tiktok_ads/schema.json b/src/configurations/destinations/tiktok_ads/schema.json index 0a6890f35..1c7ff7ca4 100644 --- a/src/configurations/destinations/tiktok_ads/schema.json +++ b/src/configurations/destinations/tiktok_ads/schema.json @@ -4,22 +4,13 @@ "required": ["pixelCode"], "type": "object", "properties": { - "accessToken": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "accessToken": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "pixelCode": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "hashUserProperties": { - "type": "boolean", - "default": true - }, - "sendCustomEvents": { - "type": "boolean", - "default": false - }, + "hashUserProperties": { "type": "boolean", "default": true }, + "sendCustomEvents": { "type": "boolean", "default": false }, "eventsToStandard": { "type": "array", "items": { @@ -81,14 +72,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -105,12 +89,7 @@ "type": "array", "items": { "type": "object", - "properties": { - "purpose": { - "type": "string", - "pattern": "^(.{0,100})$" - } - } + "properties": { "purpose": { "type": "string", "pattern": "^(.{0,100})$" } } } } } diff --git a/src/configurations/destinations/tiktok_ads_offline_events/schema.json b/src/configurations/destinations/tiktok_ads_offline_events/schema.json index 07ed15244..9b0a46788 100644 --- a/src/configurations/destinations/tiktok_ads_offline_events/schema.json +++ b/src/configurations/destinations/tiktok_ads_offline_events/schema.json @@ -24,10 +24,7 @@ } } }, - "hashUserProperties": { - "type": "boolean", - "default": true - }, + "hashUserProperties": { "type": "boolean", "default": true }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json b/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json index 57427e77f..8b2b8d7ca 100644 --- a/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json +++ b/src/configurations/destinations/tiktok_ads_offline_events/ui-config.json @@ -29,22 +29,10 @@ "required": false, "placeholderLeft": "e.g: Sign up completed", "options": [ - { - "name": "Complete Payment", - "value": "CompletePayment" - }, - { - "name": "Contact", - "value": "Contact" - }, - { - "name": "Submit Form", - "value": "SubmitForm" - }, - { - "name": "Subscribe", - "value": "Subscribe" - } + { "name": "Complete Payment", "value": "CompletePayment" }, + { "name": "Contact", "value": "Contact" }, + { "name": "Submit Form", "value": "SubmitForm" }, + { "name": "Subscribe", "value": "Subscribe" } ] } ] diff --git a/src/configurations/destinations/tiktok_audience/db-config.json b/src/configurations/destinations/tiktok_audience/db-config.json index cb21e298b..b74e83bd4 100644 --- a/src/configurations/destinations/tiktok_audience/db-config.json +++ b/src/configurations/destinations/tiktok_audience/db-config.json @@ -12,9 +12,7 @@ "isAudienceSupported": true, "saveDestinationResponse": true, "supportsBlankAudienceCreation": true, - "supportedMessageTypes": { - "cloud": ["audiencelist"] - }, + "supportedMessageTypes": { "cloud": ["audiencelist"] }, "supportedSourceTypes": ["cloud", "warehouse"], "supportsVisualMapper": true, "syncBehaviours": ["mirror"], @@ -25,7 +23,5 @@ "warehouse": ["adAccountId"] } }, - "options": { - "isBeta": true - } + "options": { "isBeta": true } } diff --git a/src/configurations/destinations/trengo/ui-config.json b/src/configurations/destinations/trengo/ui-config.json index 12ae7b1d6..735490954 100644 --- a/src/configurations/destinations/trengo/ui-config.json +++ b/src/configurations/destinations/trengo/ui-config.json @@ -30,19 +30,10 @@ "label": "Channel Identifier", "value": "channelIdentifier", "options": [ - { - "name": "Email", - "value": "email" - }, - { - "name": "Phone", - "value": "phone" - } + { "name": "Email", "value": "email" }, + { "name": "Phone", "value": "phone" } ], - "defaultOption": { - "name": "Email", - "value": "email" - }, + "defaultOption": { "name": "Email", "value": "email" }, "required": true }, { diff --git a/src/configurations/destinations/tvsquared/db-config.json b/src/configurations/destinations/tvsquared/db-config.json index 9855ce67b..bf92153bf 100644 --- a/src/configurations/destinations/tvsquared/db-config.json +++ b/src/configurations/destinations/tvsquared/db-config.json @@ -19,11 +19,7 @@ "supportedConnectionModes": { "web": ["device"] }, - "supportedMessageTypes": { - "device": { - "web": ["track", "page"] - } - }, + "supportedMessageTypes": { "device": { "web": ["track", "page"] } }, "destConfig": { "defaultConfig": [ "brandId", diff --git a/src/configurations/destinations/variance/db-config.json b/src/configurations/destinations/variance/db-config.json index 929253462..5d02a03c4 100644 --- a/src/configurations/destinations/variance/db-config.json +++ b/src/configurations/destinations/variance/db-config.json @@ -31,9 +31,7 @@ "cordova": ["cloud"], "shopify": ["cloud"] }, - "destConfig": { - "defaultConfig": ["webhookUrl", "authHeader", "oneTrustCookieCategories"] - }, + "destConfig": { "defaultConfig": ["webhookUrl", "authHeader", "oneTrustCookieCategories"] }, "secretKeys": ["authHeader"] } } diff --git a/src/configurations/destinations/vero/db-config.json b/src/configurations/destinations/vero/db-config.json index 97a7b1b8a..7f22cde0e 100644 --- a/src/configurations/destinations/vero/db-config.json +++ b/src/configurations/destinations/vero/db-config.json @@ -27,9 +27,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track", "page", "screen", "alias"], - "device": { - "web": ["identify", "track", "page", "alias"] - } + "device": { "web": ["identify", "track", "page", "alias"] } }, "supportedConnectionModes": { "web": ["cloud", "device"], diff --git a/src/configurations/destinations/vero/schema.json b/src/configurations/destinations/vero/schema.json index 151bf6936..7980232ec 100644 --- a/src/configurations/destinations/vero/schema.json +++ b/src/configurations/destinations/vero/schema.json @@ -17,14 +17,7 @@ } } }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/vwo/db-config.json b/src/configurations/destinations/vwo/db-config.json index 7242a6533..c169647e5 100644 --- a/src/configurations/destinations/vwo/db-config.json +++ b/src/configurations/destinations/vwo/db-config.json @@ -23,9 +23,7 @@ "web": ["device"] }, "supportedMessageTypes": { - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "destConfig": { "defaultConfig": [ diff --git a/src/configurations/destinations/vwo/schema.json b/src/configurations/destinations/vwo/schema.json index 399458491..33a0819d8 100644 --- a/src/configurations/destinations/vwo/schema.json +++ b/src/configurations/destinations/vwo/schema.json @@ -8,26 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "isSPA": { - "type": "boolean", - "default": false - }, - "sendExperimentTrack": { - "type": "boolean", - "default": false - }, - "sendExperimentIdentify": { - "type": "boolean", - "default": false - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "isSPA": { "type": "boolean", "default": false }, + "sendExperimentTrack": { "type": "boolean", "default": false }, + "sendExperimentIdentify": { "type": "boolean", "default": false }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -65,10 +49,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "useExistingJquery": { - "type": "boolean", - "default": false - }, + "useExistingJquery": { "type": "boolean", "default": false }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/webengage/schema.json b/src/configurations/destinations/webengage/schema.json index 4bb3629dc..d1c041860 100644 --- a/src/configurations/destinations/webengage/schema.json +++ b/src/configurations/destinations/webengage/schema.json @@ -12,11 +12,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "dataCenter": { - "type": "string", - "enum": ["standard", "ind"], - "default": "standard" - }, + "dataCenter": { "type": "string", "enum": ["standard", "ind"], "default": "standard" }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/webengage/ui-config.json b/src/configurations/destinations/webengage/ui-config.json index a01cf465d..41b940904 100644 --- a/src/configurations/destinations/webengage/ui-config.json +++ b/src/configurations/destinations/webengage/ui-config.json @@ -27,19 +27,10 @@ "value": "dataCenter", "required": true, "options": [ - { - "name": "Standard", - "value": "standard" - }, - { - "name": "IND", - "value": "ind" - } + { "name": "Standard", "value": "standard" }, + { "name": "IND", "value": "ind" } ], - "defaultOption": { - "name": "Standard", - "value": "standard" - } + "defaultOption": { "name": "Standard", "value": "standard" } } ] }, diff --git a/src/configurations/destinations/webhook/ui-config.json b/src/configurations/destinations/webhook/ui-config.json index 2f39f9eec..4fc1b0b21 100644 --- a/src/configurations/destinations/webhook/ui-config.json +++ b/src/configurations/destinations/webhook/ui-config.json @@ -17,31 +17,13 @@ "value": "webhookMethod", "placeholder": "POST", "options": [ - { - "name": "POST", - "value": "POST" - }, - { - "name": "PUT", - "value": "PUT" - }, - { - "name": "PATCH", - "value": "PATCH" - }, - { - "name": "GET", - "value": "GET" - }, - { - "name": "DELETE", - "value": "DELETE" - } + { "name": "POST", "value": "POST" }, + { "name": "PUT", "value": "PUT" }, + { "name": "PATCH", "value": "PATCH" }, + { "name": "GET", "value": "GET" }, + { "name": "DELETE", "value": "DELETE" } ], - "defaultOption": { - "name": "POST", - "value": "POST" - } + "defaultOption": { "name": "POST", "value": "POST" } }, { "type": "dynamicForm", diff --git a/src/configurations/destinations/woopra/db-config.json b/src/configurations/destinations/woopra/db-config.json index 50779d34e..48a09b044 100644 --- a/src/configurations/destinations/woopra/db-config.json +++ b/src/configurations/destinations/woopra/db-config.json @@ -37,9 +37,7 @@ ], "supportedMessageTypes": { "cloud": ["identify", "track", "page"], - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "supportedConnectionModes": { "web": ["cloud", "device"] diff --git a/src/configurations/destinations/woopra/schema.json b/src/configurations/destinations/woopra/schema.json index 3a7a1f38c..9e36b7f90 100644 --- a/src/configurations/destinations/woopra/schema.json +++ b/src/configurations/destinations/woopra/schema.json @@ -16,46 +16,21 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "clickTracking": { - "type": "boolean", - "default": false - }, + "clickTracking": { "type": "boolean", "default": false }, "cookiePath": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "downloadTracking": { - "type": "boolean", - "default": true - }, - "hideCampaign": { - "type": "boolean", - "default": false - }, + "downloadTracking": { "type": "boolean", "default": true }, + "hideCampaign": { "type": "boolean", "default": false }, "idleTimeout": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^([0-9]+)$" }, - "ignoreQueryUrl": { - "type": "boolean", - "default": true - }, - "outgoingIgnoreSubdomain": { - "type": "boolean", - "default": true - }, - "outgoingTracking": { - "type": "boolean", - "default": false - }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "ignoreQueryUrl": { "type": "boolean", "default": true }, + "outgoingIgnoreSubdomain": { "type": "boolean", "default": true }, + "outgoingTracking": { "type": "boolean", "default": false }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/destinations/woopra/ui-config.json b/src/configurations/destinations/woopra/ui-config.json index 602ba2132..8bd76ee98 100644 --- a/src/configurations/destinations/woopra/ui-config.json +++ b/src/configurations/destinations/woopra/ui-config.json @@ -71,7 +71,7 @@ "value": "hideCampaign", "required": false, "default": false, - "footerNote": "Enabling this option will remove campaign properties from the URL when they’re captured. Default: False." + "footerNote": "Enabling this option will remove campaign properties from the URL when they\u2019re captured. Default: False." }, { "type": "textInput", diff --git a/src/configurations/destinations/wootric/schema.json b/src/configurations/destinations/wootric/schema.json index 8437204ed..0647ad77d 100644 --- a/src/configurations/destinations/wootric/schema.json +++ b/src/configurations/destinations/wootric/schema.json @@ -8,10 +8,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "password": { - "type": "string", - "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" - }, + "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "accountToken": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" diff --git a/src/configurations/destinations/yahoo_dsp/schema.json b/src/configurations/destinations/yahoo_dsp/schema.json index c3cdc3cb4..cb3230eab 100644 --- a/src/configurations/destinations/yahoo_dsp/schema.json +++ b/src/configurations/destinations/yahoo_dsp/schema.json @@ -25,10 +25,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "hashRequired": { - "type": "boolean", - "default": true - }, + "hashRequired": { "type": "boolean", "default": true }, "oneTrustCookieCategories": { "type": "array", "items": { @@ -45,20 +42,12 @@ "anyOf": [ { "if": { - "properties": { - "audienceType": { - "const": "DEVICE_ID" - } - }, + "properties": { "audienceType": { "const": "DEVICE_ID" } }, "required": ["audienceType"] }, "then": { "properties": { - "seedListType": { - "type": "string", - "enum": ["GPADVID", "IDFA"], - "default": "GPADVID" - } + "seedListType": { "type": "string", "enum": ["GPADVID", "IDFA"], "default": "GPADVID" } }, "required": ["seedListType"] } diff --git a/src/configurations/destinations/yahoo_dsp/ui-config.json b/src/configurations/destinations/yahoo_dsp/ui-config.json index 3778fc171..03b07168f 100644 --- a/src/configurations/destinations/yahoo_dsp/ui-config.json +++ b/src/configurations/destinations/yahoo_dsp/ui-config.json @@ -53,23 +53,11 @@ "required": true, "placeholder": "Email", "options": [ - { - "name": "Email", - "value": "EMAIL" - }, - { - "name": "Device Id", - "value": "DEVICE_ID" - }, - { - "name": "IP Address", - "value": "IP_ADDRESS" - } + { "name": "Email", "value": "EMAIL" }, + { "name": "Device Id", "value": "DEVICE_ID" }, + { "name": "IP Address", "value": "IP_ADDRESS" } ], - "defaultOption": { - "name": "Email", - "value": "EMAIL" - } + "defaultOption": { "name": "Email", "value": "EMAIL" } }, { "type": "singleSelect", @@ -78,23 +66,11 @@ "required": true, "placeholder": "Google (GPADVID)", "options": [ - { - "name": "Google (GPADVID)", - "value": "GPADVID" - }, - { - "name": "Apple (IDFA)", - "value": "IDFA" - } + { "name": "Google (GPADVID)", "value": "GPADVID" }, + { "name": "Apple (IDFA)", "value": "IDFA" } ], - "defaultOption": { - "name": "Google (GPADVID)", - "value": "GPADVID" - }, - "preRequisiteField": { - "name": "audienceType", - "selectedValue": "DEVICE_ID" - }, + "defaultOption": { "name": "Google (GPADVID)", "value": "GPADVID" }, + "preRequisiteField": { "name": "audienceType", "selectedValue": "DEVICE_ID" }, "footerNote": "Your device type" }, { diff --git a/src/configurations/destinations/yandex_metrica/db-config.json b/src/configurations/destinations/yandex_metrica/db-config.json index bebfc392b..cb55e80d4 100644 --- a/src/configurations/destinations/yandex_metrica/db-config.json +++ b/src/configurations/destinations/yandex_metrica/db-config.json @@ -21,9 +21,7 @@ "excludeKeys": [], "supportedSourceTypes": ["web"], "supportedMessageTypes": { - "device": { - "web": ["identify", "track", "page"] - } + "device": { "web": ["identify", "track", "page"] } }, "supportedConnectionModes": { "web": ["device"] diff --git a/src/configurations/destinations/yandex_metrica/schema.json b/src/configurations/destinations/yandex_metrica/schema.json index f0c132d77..4d3723dc0 100644 --- a/src/configurations/destinations/yandex_metrica/schema.json +++ b/src/configurations/destinations/yandex_metrica/schema.json @@ -8,22 +8,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$" }, - "clickMap": { - "type": "boolean", - "default": false - }, - "trackLinks": { - "type": "boolean", - "default": false - }, - "trackBounce": { - "type": "boolean", - "default": false - }, - "webvisor": { - "type": "boolean", - "default": false - }, + "clickMap": { "type": "boolean", "default": false }, + "trackLinks": { "type": "boolean", "default": false }, + "trackBounce": { "type": "boolean", "default": false }, + "webvisor": { "type": "boolean", "default": false }, "containerName": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" @@ -37,10 +25,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "to": { - "type": "string", - "enum": ["detail", "add", "remove", "purchase", ""] - } + "to": { "type": "string", "enum": ["detail", "add", "remove", "purchase", ""] } } } }, @@ -48,14 +33,7 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$" }, - "useNativeSDK": { - "type": "object", - "properties": { - "web": { - "type": "boolean" - } - } - }, + "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], diff --git a/src/configurations/sources/reactnative/metadata.json b/src/configurations/sources/reactnative/metadata.json index 9cb3f05d3..04b72d189 100644 --- a/src/configurations/sources/reactnative/metadata.json +++ b/src/configurations/sources/reactnative/metadata.json @@ -1,4 +1 @@ -{ - "docCategory": "", - "docLink": "" -} +{ "docCategory": "", "docLink": "" } diff --git a/src/configurations/sources/revenuecat/db-config.json b/src/configurations/sources/revenuecat/db-config.json index e49874cb2..7cec85186 100644 --- a/src/configurations/sources/revenuecat/db-config.json +++ b/src/configurations/sources/revenuecat/db-config.json @@ -2,8 +2,6 @@ "name": "revenuecat", "category": "webhook", "displayName": "Revenuecat", - "options": { - "isBeta": true - }, + "options": { "isBeta": true }, "type": "cloud" } diff --git a/test/configData/db-config.json b/test/configData/db-config.json index 3534d61bc..6bec2b986 100644 --- a/test/configData/db-config.json +++ b/test/configData/db-config.json @@ -20,12 +20,8 @@ "warehouse" ], "supportedConnectionModes": [], - "destConfig": { - "defaultConfig": ["key1", "key2", "key3", "key4", "key5", "key6", "key7"] - }, + "destConfig": { "defaultConfig": ["key1", "key2", "key3", "key4", "key5", "key6", "key7"] }, "secretKeys": [] }, - "options": { - "isBeta": false - } + "options": { "isBeta": false } } diff --git a/test/configData/ui-config.json b/test/configData/ui-config.json index 2c2ecef16..e0cd5415e 100644 --- a/test/configData/ui-config.json +++ b/test/configData/ui-config.json @@ -76,14 +76,7 @@ "regex": "^(.{0,100})$", "placeholder": "value4", "secret": false, - "preRequisites": { - "fields": [ - { - "configKey": "key3", - "value": true - } - ] - } + "preRequisites": { "fields": [{ "configKey": "key3", "value": true }] } }, { "type": "singleSelect", @@ -91,18 +84,9 @@ "label": "Label5", "note": "Any additional note for this field", "options": [ - { - "label": "optionLabel1", - "value": "optionKey1" - }, - { - "label": "optionLabel2", - "value": "optionKey2" - }, - { - "label": "optionLabel3", - "value": "optionKey3" - } + { "label": "optionLabel1", "value": "optionKey1" }, + { "label": "optionLabel2", "value": "optionKey2" }, + { "label": "optionLabel3", "value": "optionKey3" } ], "default": "optionKey2" }, @@ -112,14 +96,8 @@ "configKey": "key6", "note": "Any additional note for this field", "options": [ - { - "label": "optionLabel1", - "value": "optionKey1" - }, - { - "label": "optionLabel2", - "value": "optionKey2" - } + { "label": "optionLabel1", "value": "optionKey1" }, + { "label": "optionLabel2", "value": "optionKey2" } ], "default": ["optionKey1"] }, @@ -138,10 +116,6 @@ ] } ], - "sdkTemplate": { - "title": "Web SDK settings", - "note": "not visible in the ui", - "fields": [] - } + "sdkTemplate": { "title": "Web SDK settings", "note": "not visible in the ui", "fields": [] } } } diff --git a/test/data/validation/destinations/active_campaign.json b/test/data/validation/destinations/active_campaign.json index 75cf4bd03..ed8b802bc 100644 --- a/test/data/validation/destinations/active_campaign.json +++ b/test/data/validation/destinations/active_campaign.json @@ -9,9 +9,7 @@ "result": true }, { - "config": { - "apiUrl": "https://jellyvision-staging.api-us1.com" - }, + "config": { "apiUrl": "https://jellyvision-staging.api-us1.com" }, "result": false, "err": [" must have required property 'apiKey'"] }, diff --git a/test/data/validation/destinations/adroll.json b/test/data/validation/destinations/adroll.json index a12f8335e..c811fdbe4 100644 --- a/test/data/validation/destinations/adroll.json +++ b/test/data/validation/destinations/adroll.json @@ -4,27 +4,10 @@ "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "w1" - }, - { - "eventName": "w2" - } - ], - "blacklistedEvents": [ - { - "eventName": "b1" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] + "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], + "blacklistedEvents": [{ "eventName": "b1" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": true }, @@ -32,27 +15,10 @@ "config": { "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "w1" - }, - { - "eventName": "w2" - } - ], - "blacklistedEvents": [ - { - "eventName": "b1" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] + "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], + "blacklistedEvents": [{ "eventName": "b1" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": [" must have required property 'advId'"] @@ -62,27 +28,10 @@ "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - }, - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }, { "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true }, @@ -91,25 +40,10 @@ "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "w1" - }, - { - "eventName": "w2" - } - ], - "blacklistedEvents": [ - { - "eventName": "b1" - } - ], + "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], + "blacklistedEvents": [{ "eventName": "b1" }], "useNativeSDK": true, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": ["useNativeSDK must be object"] @@ -118,27 +52,10 @@ "config": { "advId": "ARHUQ4I4QRA5PEKHSWXFX1", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "w1" - }, - { - "eventName": "w2" - } - ], - "blacklistedEvents": [ - { - "eventName": "b1" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] + "whitelistedEvents": [{ "eventName": "w1" }, { "eventName": "w2" }], + "blacklistedEvents": [{ "eventName": "b1" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": [" must have required property 'pixId'"] @@ -149,21 +66,9 @@ "pixId": "4UA3SEMV6DCPAHIKVOXS4E", "eventFilteringOption": "whitelistedEvents", "whitelistedEvents": [], - "blacklistedEvents": [ - { - "eventName": { - "key": "eventValue" - } - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] + "blacklistedEvents": [{ "eventName": { "key": "eventValue" } }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": ["blacklistedEvents.0.eventName must be string"] diff --git a/test/data/validation/destinations/axeptio.json b/test/data/validation/destinations/axeptio.json index 2d9bfbd13..1d901856a 100644 --- a/test/data/validation/destinations/axeptio.json +++ b/test/data/validation/destinations/axeptio.json @@ -4,24 +4,10 @@ "clientId": "dskh4ryfhc347896ryfh", "toggleToActivateCallback": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": true }, @@ -30,24 +16,10 @@ "clientId": "", "toggleToActivateCallback": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["clientId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -57,24 +29,10 @@ "clientId": "dskh4ryfhc347896ryfh", "toggleToActivateCallback": "false", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["toggleToActivateCallback must be boolean"] diff --git a/test/data/validation/destinations/braze.json b/test/data/validation/destinations/braze.json index ba2649504..d611b1194 100644 --- a/test/data/validation/destinations/braze.json +++ b/test/data/validation/destinations/braze.json @@ -201,9 +201,7 @@ "appKey": "78100f65-3e76-464d-ba20-425b2fd81a13", "restApiKey": "b40db80d-12a9-49f0-7822-5c6bv1be983a", "dataCenter": "US-01", - "sendPurchaseEventWithExtraProperties": { - "cloud": true - }, + "sendPurchaseEventWithExtraProperties": { "cloud": true }, "whitelistedEvents": [], "blacklistedEvents": [], "connectionMode": { diff --git a/test/data/validation/destinations/clickup.json b/test/data/validation/destinations/clickup.json index b928359ea..e1d881a33 100644 --- a/test/data/validation/destinations/clickup.json +++ b/test/data/validation/destinations/clickup.json @@ -9,11 +9,7 @@ "to": "industry" } ], - "whitelistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }] }, "result": true }, @@ -39,14 +35,7 @@ "to": "paymentStatus" } ], - "whitelistedEvents": [ - { - "eventName": "" - }, - { - "eventName": "Product Viewed" - } - ] + "whitelistedEvents": [{ "eventName": "" }, { "eventName": "Product Viewed" }] }, "result": true }, diff --git a/test/data/validation/destinations/convertflow.json b/test/data/validation/destinations/convertflow.json index 1ebc965a8..9d2eba871 100644 --- a/test/data/validation/destinations/convertflow.json +++ b/test/data/validation/destinations/convertflow.json @@ -4,31 +4,12 @@ "websiteId": "", "toggleToSendData": false, "eventsList": "cfView", - "eventsMapping": [ - { - "from": "cfView", - "to": "Viewed CTA" - } - ], + "eventsMapping": [{ "from": "cfView", "to": "Viewed CTA" }], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["websiteId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,10})$\""] @@ -38,31 +19,12 @@ "websiteId": "47838", "toggleToSendData": "false", "eventsList": "cfView", - "eventsMapping": [ - { - "from": "cfView", - "to": "Viewed CTA" - } - ], + "eventsMapping": [{ "from": "cfView", "to": "Viewed CTA" }], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["toggleToSendData must be boolean"] @@ -72,31 +34,12 @@ "websiteId": "23894", "toggleToSendData": true, "eventsList": ["cfView"], - "eventsMapping": [ - { - "from": "cfView", - "to": "Viewed CTA" - } - ], + "eventsMapping": [{ "from": "cfView", "to": "Viewed CTA" }], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": true } diff --git a/test/data/validation/destinations/criteo.json b/test/data/validation/destinations/criteo.json index a0faf3b4f..8fd8b7795 100644 --- a/test/data/validation/destinations/criteo.json +++ b/test/data/validation/destinations/criteo.json @@ -4,42 +4,17 @@ "accountId": "12", "homePageUrl": "https://www.google.com", "hashMethod": "md5", - "fieldMapping": [ - { - "from": "signup", - "to": "billing" - } - ], - "whitelistedEvents": [ - { - "eventName": "login" - } - ], - "blacklistedEvents": [ - { - "eventName": "ad_disabled" - } - ], + "fieldMapping": [{ "from": "signup", "to": "billing" }], + "whitelistedEvents": [{ "eventName": "login" }], + "blacklistedEvents": [{ "eventName": "ad_disabled" }], "eventFilteringOption": "whitelistedEvents", - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "product" - } - ], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "product" }], "eventsToStandard": [ - { - "from": "add to cart", - "to": "product viewed" - }, - { - "from": "cart checkout", - "to": "cart viewed" - } + { "from": "add to cart", "to": "product viewed" }, + { "from": "cart checkout", "to": "cart viewed" } ] }, - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "result": true }, { @@ -47,79 +22,33 @@ "accountId": "", "homePageUrl": "https://www.facebook.com", "hashMethod": "md5", - "fieldMapping": [ - { - "from": "signup", - "to": "billing" - } - ], - "whitelistedEvents": [ - { - "eventName": "login" - } - ], - "blacklistedEvents": [ - { - "eventName": "ad_disabled" - } - ], + "fieldMapping": [{ "from": "signup", "to": "billing" }], + "whitelistedEvents": [{ "eventName": "login" }], + "blacklistedEvents": [{ "eventName": "ad_disabled" }], "eventFilteringOption": "whitelistedEvents", - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "product" - } - ], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "product" }], "eventsToStandard": [ - { - "from": "add to cart", - "to": "product viewed" - }, - { - "from": "cart checkout", - "to": "cart viewed" - } + { "from": "add to cart", "to": "product viewed" }, + { "from": "cart checkout", "to": "cart viewed" } ] }, - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "result": false, "err": ["accountId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$\""] }, { "config": { "accountId": "15", - "fieldMapping": [ - { - "from": "login", - "to": "logout" - } - ], - "whitelistedEvents": [ - { - "eventName": "product added" - } - ], - "blacklistedEvents": [ - { - "eventName": "ad_disabled" - } - ], + "fieldMapping": [{ "from": "login", "to": "logout" }], + "whitelistedEvents": [{ "eventName": "product added" }], + "blacklistedEvents": [{ "eventName": "ad_disabled" }], "eventFilteringOption": "whitelistedEvents", "eventsToStandard": [ - { - "from": "add to cart", - "to": "product viewed" - }, - { - "from": "cart checkout", - "to": "cart viewed" - } + { "from": "add to cart", "to": "product viewed" }, + { "from": "cart checkout", "to": "cart viewed" } ] }, - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "result": true } ] diff --git a/test/data/validation/destinations/criteo_audience.json b/test/data/validation/destinations/criteo_audience.json index d0011c834..82ae74632 100644 --- a/test/data/validation/destinations/criteo_audience.json +++ b/test/data/validation/destinations/criteo_audience.json @@ -1,34 +1,24 @@ [ { "config": { - "audienceId": { - "cloud": "138383" - }, + "audienceId": { "cloud": "138383" }, "audienceType": "email", - "adAccountId": { - "warehouse": "4343434" - } + "adAccountId": { "warehouse": "4343434" } }, "result": true }, { "config": { "audienceType": "email", - "adAccountId": { - "warehouse": "4343434" - } + "adAccountId": { "warehouse": "4343434" } }, "result": true }, { "config": { - "audienceId": { - "cloud": "138383" - }, + "audienceId": { "cloud": "138383" }, "audienceType": "email", - "adAccountId": { - "warehouse": "" - } + "adAccountId": { "warehouse": "" } }, "result": false, "err": [ @@ -51,9 +41,7 @@ }, { "config": { - "audienceId": { - "cloud": "138383" - }, + "audienceId": { "cloud": "138383" }, "audienceType": "gum", "gumCallerId": "14245" }, diff --git a/test/data/validation/destinations/dcm_floodlight.json b/test/data/validation/destinations/dcm_floodlight.json index 5fd428458..4fb24366c 100644 --- a/test/data/validation/destinations/dcm_floodlight.json +++ b/test/data/validation/destinations/dcm_floodlight.json @@ -11,14 +11,8 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { - "from": "RudderstackProperty1", - "to": "1" - }, - { - "from": "RudderstackProperty2", - "to": "2" - } + { "from": "RudderstackProperty1", "to": "1" }, + { "from": "RudderstackProperty2", "to": "2" } ] }, { @@ -26,12 +20,7 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [ - { - "from": "", - "to": "" - } - ] + "customVariables": [{ "from": "", "to": "" }] } ] }, @@ -49,14 +38,8 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { - "from": "RudderstackProperty1", - "to": "1" - }, - { - "from": "RudderstackProperty2", - "to": "2" - } + { "from": "RudderstackProperty1", "to": "1" }, + { "from": "RudderstackProperty2", "to": "2" } ] }, { @@ -64,12 +47,7 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [ - { - "from": "", - "to": "" - } - ] + "customVariables": [{ "from": "", "to": "" }] } ] }, @@ -90,14 +68,8 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { - "from": "RudderstackProperty1", - "to": "1" - }, - { - "from": "RudderstackProperty2", - "to": "2" - } + { "from": "RudderstackProperty1", "to": "1" }, + { "from": "RudderstackProperty2", "to": "2" } ] }, { @@ -105,48 +77,19 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [ - { - "from": "", - "to": "" - } - ] + "customVariables": [{ "from": "", "to": "" }] } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "conversionLinker": { - "web": true - }, - "allowAdPersonalizationSignals": { - "web": true - }, - "tagFormat": { - "web": "globalSiteTag" - }, - "doubleclickId": { - "web": true - }, - "googleNetworkId": { - "web": "1234" - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "conversionLinker": { "web": true }, + "allowAdPersonalizationSignals": { "web": true }, + "tagFormat": { "web": "globalSiteTag" }, + "doubleclickId": { "web": true }, + "googleNetworkId": { "web": "1234" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true }, @@ -162,14 +105,8 @@ "floodlightGroupTag": "conv01", "salesTag": false, "customVariables": [ - { - "from": "RudderstackProperty1", - "to": "1" - }, - { - "from": "RudderstackProperty2", - "to": "2" - } + { "from": "RudderstackProperty1", "to": "1" }, + { "from": "RudderstackProperty2", "to": "2" } ] }, { @@ -177,48 +114,19 @@ "floodlightActivityTag": "signu01", "floodlightGroupTag": "conv02", "salesTag": false, - "customVariables": [ - { - "from": "", - "to": "" - } - ] + "customVariables": [{ "from": "", "to": "" }] } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": false - }, - "conversionLinker": { - "web": true - }, - "allowAdPersonalizationSignals": { - "web": true - }, - "tagFormat": { - "web": "iframeTag" - }, - "doubleclickId": { - "web": false - }, - "googleNetworkId": { - "web": "1234" - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": false }, + "conversionLinker": { "web": true }, + "allowAdPersonalizationSignals": { "web": true }, + "tagFormat": { "web": "iframeTag" }, + "doubleclickId": { "web": false }, + "googleNetworkId": { "web": "1234" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true } diff --git a/test/data/validation/destinations/fb.json b/test/data/validation/destinations/fb.json index 9a7257427..7b0489d01 100644 --- a/test/data/validation/destinations/fb.json +++ b/test/data/validation/destinations/fb.json @@ -7,17 +7,10 @@ "eventFilteringOption": "disable", "whitelistedEvents": [], "blacklistedEvents": [], - "useNativeSDK": { - "android": false, - "ios": false - }, + "useNativeSDK": { "android": false, "ios": false }, "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "m1a" - }, - { - "oneTrustCookieCategory": "m1i" - } + { "oneTrustCookieCategory": "m1a" }, + { "oneTrustCookieCategory": "m1i" } ] }, "result": false, @@ -32,17 +25,10 @@ "eventFilteringOption": "disable", "whitelistedEvents": [], "blacklistedEvents": [], - "useNativeSDK": { - "android": false, - "ios": false - }, + "useNativeSDK": { "android": false, "ios": false }, "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "m1a" - }, - { - "oneTrustCookieCategory": "m1i" - } + { "oneTrustCookieCategory": "m1a" }, + { "oneTrustCookieCategory": "m1i" } ] }, "result": true diff --git a/test/data/validation/destinations/fullstory.json b/test/data/validation/destinations/fullstory.json index 4dcfa36c2..0de7d990b 100644 --- a/test/data/validation/destinations/fullstory.json +++ b/test/data/validation/destinations/fullstory.json @@ -39,69 +39,29 @@ }, { "config": { - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], + "blacklistedEvents": [{ "eventName": "" }], + "whitelistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], "eventFilteringOption": "disable", - "useNativeSDK": { - "web": true - }, - "connectionMode": { - "web": "device" - }, - "fs_debug_mode": { - "web": false - }, + "useNativeSDK": { "web": true }, + "connectionMode": { "web": "device" }, + "fs_debug_mode": { "web": false }, "fs_org": "dummyorg2", - "fs_host": { - "web": "dummyhost.com" - } + "fs_host": { "web": "dummyhost.com" } }, "result": true }, { "config": { - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], + "blacklistedEvents": [{ "eventName": "" }], + "whitelistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], "eventFilteringOption": "disable", - "useNativeSDK": { - "web": true - }, - "connectionMode": { - "web": "device" - }, - "fs_debug_mode": { - "web": true - }, + "useNativeSDK": { "web": true }, + "connectionMode": { "web": "device" }, + "fs_debug_mode": { "web": true }, "fs_org": "dummyorg", - "fs_host": { - "web": "" - } + "fs_host": { "web": "" } }, "result": true } diff --git a/test/data/validation/destinations/googleads.json b/test/data/validation/destinations/googleads.json index bb4102d60..7ec7db917 100644 --- a/test/data/validation/destinations/googleads.json +++ b/test/data/validation/destinations/googleads.json @@ -8,39 +8,13 @@ "conversionLinker": true, "disableAdPersonalization": true, "allowEnhancedConversions": false, - "whitelistedEvents": [ - { - "eventName": "login page" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "pageLoadConversions": [ - { - "conversionLabel": "ofwinqeoqwefnoewqo9", - "name": "test" - } - ], - "clickEventConversions": [ - { - "conversionLabel": "1qinqwqoqewfnoewqo9", - "name": "clickTest" - } - ], - "useNativeSDK": { - "web": true - }, - "dynamicRemarketing": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Sales" - } - ] + "whitelistedEvents": [{ "eventName": "login page" }], + "blacklistedEvents": [{ "eventName": "" }], + "pageLoadConversions": [{ "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }], + "clickEventConversions": [{ "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }], + "useNativeSDK": { "web": true }, + "dynamicRemarketing": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Sales" }] }, "result": true }, @@ -53,59 +27,27 @@ "conversionLinker": true, "disableAdPersonalization": true, "allowEnhancedConversions": true, - "whitelistedEvents": [ - { - "eventName": "login page" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], + "whitelistedEvents": [{ "eventName": "login page" }], + "blacklistedEvents": [{ "eventName": "" }], "pageLoadConversions": [ - { - "conversionLabel": "ofwinqeoqwefnoewqo9", - "name": "test" - }, - { - "conversionLabel": "idwhcbiwdfbciwdfw", - "name": "entry" - } + { "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }, + { "conversionLabel": "idwhcbiwdfbciwdfw", "name": "entry" } ], "clickEventConversions": [ - { - "conversionLabel": "1qinqwqoqewfnoewqo9", - "name": "clickTest" - }, - { - "conversionLabel": "qwertyasagehrstshregs", - "name": "clickedPrev" - } + { "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }, + { "conversionLabel": "qwertyasagehrstshregs", "name": "clickedPrev" } ], - "useNativeSDK": { - "web": true - }, - "dynamicRemarketing": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Business Tool" - } - ] + "useNativeSDK": { "web": true }, + "dynamicRemarketing": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Business Tool" }] }, "result": true }, { "config": { "conversionID": "AW-114432", - "useNativeSDK": { - "web": true - }, - "dynamicRemarketing": { - "web": true - } + "useNativeSDK": { "web": true }, + "dynamicRemarketing": { "web": true } }, "result": true }, @@ -117,39 +59,13 @@ "conversionLinker": true, "disableAdPersonalization": true, "allowEnhancedConversions": false, - "whitelistedEvents": [ - { - "eventName": "login page" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "pageLoadConversions": [ - { - "conversionLabel": "ofwinqeoqwefnoewqo9", - "name": "test" - } - ], - "clickEventConversions": [ - { - "conversionLabel": "1qinqwqoqewfnoewqo9", - "name": "clickTest" - } - ], - "useNativeSDK": { - "web": true - }, - "dynamicRemarketing": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Sales" - } - ] + "whitelistedEvents": [{ "eventName": "login page" }], + "blacklistedEvents": [{ "eventName": "" }], + "pageLoadConversions": [{ "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }], + "clickEventConversions": [{ "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }], + "useNativeSDK": { "web": true }, + "dynamicRemarketing": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Sales" }] }, "result": false, "err": [" must have required property 'conversionID'"] @@ -159,44 +75,16 @@ "conversionID": "AW-12321", "eventFilteringOption": "whitelistedEvents", "defaultPageConversion": "poiiopqwewqwwqewq", - "sendPageView": { - "sendPageView": true - }, + "sendPageView": { "sendPageView": true }, "conversionLinker": true, "disableAdPersonalization": true, - "whitelistedEvents": [ - { - "eventName": "login page" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "pageLoadConversions": [ - { - "conversionLabel": "ofwinqeoqwefnoewqo9", - "name": "test" - } - ], - "clickEventConversions": [ - { - "conversionLabel": "1qinqwqoqewfnoewqo9", - "name": "clickTest" - } - ], - "useNativeSDK": { - "web": true - }, - "dynamicRemarketing": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Marketing" - } - ] + "whitelistedEvents": [{ "eventName": "login page" }], + "blacklistedEvents": [{ "eventName": "" }], + "pageLoadConversions": [{ "conversionLabel": "ofwinqeoqwefnoewqo9", "name": "test" }], + "clickEventConversions": [{ "conversionLabel": "1qinqwqoqewfnoewqo9", "name": "clickTest" }], + "useNativeSDK": { "web": true }, + "dynamicRemarketing": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing" }] }, "result": false, "err": ["sendPageView must be boolean"] diff --git a/test/data/validation/destinations/gtm.json b/test/data/validation/destinations/gtm.json index 4de5490d6..01b55437e 100644 --- a/test/data/validation/destinations/gtm.json +++ b/test/data/validation/destinations/gtm.json @@ -4,19 +4,9 @@ "containerID": "GTM-ADDA", "serverUrl": "https://gtm.rudder.com", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "registration" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, + "whitelistedEvents": [{ "eventName": "registration" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, "oneTrustCookieCategories": [] }, "result": true @@ -25,19 +15,9 @@ "config": { "serverUrl": "https://gtm.rudder.com", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "registration" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, + "whitelistedEvents": [{ "eventName": "registration" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, "oneTrustCookieCategories": [] }, "result": false, @@ -48,19 +28,9 @@ "containerID": "GTM-ADDA", "serverUrl": "badurl", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "registration" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, + "whitelistedEvents": [{ "eventName": "registration" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, "oneTrustCookieCategories": [] }, "result": false, @@ -73,19 +43,9 @@ "containerID": "GTM-ADDA", "serverUrl": "", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "registration" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, + "whitelistedEvents": [{ "eventName": "registration" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, "oneTrustCookieCategories": [] }, "result": true @@ -95,19 +55,9 @@ "containerID": "GTM-ADDA", "serverUrl": "http://dfff.ngrok.io", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "registration" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, + "whitelistedEvents": [{ "eventName": "registration" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, "oneTrustCookieCategories": [] }, "result": false, diff --git a/test/data/validation/destinations/heap.json b/test/data/validation/destinations/heap.json index 8d65e1c4d..f180c581e 100644 --- a/test/data/validation/destinations/heap.json +++ b/test/data/validation/destinations/heap.json @@ -3,19 +3,9 @@ "config": { "eventFilteringOption": "whitelistedEvents", "whitelistedEvents": [], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Networking" - } - ] + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Networking" }] }, "result": false, "err": [" must have required property 'appId'"] @@ -24,24 +14,10 @@ "config": { "appId": "3123563341", "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "practice test" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Networking" - } - ] + "whitelistedEvents": [{ "eventName": "practice test" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Networking" }] }, "result": true } diff --git a/test/data/validation/destinations/hotjar.json b/test/data/validation/destinations/hotjar.json index beaaead9e..add2d3635 100644 --- a/test/data/validation/destinations/hotjar.json +++ b/test/data/validation/destinations/hotjar.json @@ -3,48 +3,20 @@ "config": { "siteID": "hd765380", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true }, { "config": { "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": [" must have required property 'siteID'"] diff --git a/test/data/validation/destinations/hs.json b/test/data/validation/destinations/hs.json index 91d6b53d3..48e9f2769 100644 --- a/test/data/validation/destinations/hs.json +++ b/test/data/validation/destinations/hs.json @@ -1,18 +1,13 @@ [ { - "config": { - "hubID": "20262117", - "apiKey": "9ege7142-11be-10bc-a168-df1c714326fv" - }, + "config": { "hubID": "20262117", "apiKey": "9ege7142-11be-10bc-a168-df1c714326fv" }, "result": true }, { "config": { "hubID": "25092175", "apiKey": "eu1-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "oneTrustCookieCategories": [] }, "result": true @@ -21,41 +16,19 @@ "config": { "hubID": "25092175", "apiKey": "eu2-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { - "web": false - }, - "whitelistedEvents": [ - { - "eventName": "sampleHSAllowed" - } - ], - "blacklistedEvents": [ - { - "eventName": "threat" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Pitch" - } - ] + "useNativeSDK": { "web": false }, + "whitelistedEvents": [{ "eventName": "sampleHSAllowed" }], + "blacklistedEvents": [{ "eventName": "threat" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] }, "result": true }, { "config": { - "hubID": { - "hub": "25092175" - }, + "hubID": { "hub": "25092175" }, "apiKey": "eu2-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Pitch" - } - ] + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] }, "result": false, "err": ["hubID must be string"] @@ -64,24 +37,14 @@ "config": { "hubID": "25092175", "apiKey": "eu2-1783-38fb-2401-7b86-6u2d2574063m", - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "whitelistedEvents": [ { "eventName": "skjahgshwjwdwenhowskjahgshwjwdwenhowefhrebqwedhewifewskjahgshwjwdwenhowefhrebqwskjahgshwjwdwenhowefhrebqwedhewifewedhewifewefhrebqwedhewifew" } ], - "blacklistedEvents": [ - { - "eventName": "threat" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Pitch" - } - ] + "blacklistedEvents": [{ "eventName": "threat" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] }, "result": false, "err": [ @@ -101,42 +64,22 @@ "rsEventName": "Purchase", "hubspotEventName": "pe22315509_rs_hub_test", "eventProperties": [ - { - "from": "Revenue", - "to": "value" - }, - { - "from": "Price", - "to": "cost" - } + { "from": "Revenue", "to": "value" }, + { "from": "Price", "to": "cost" } ] }, { "rsEventName": "Order Complete", "hubspotEventName": "pe22315509_rs_hub_chair", "eventProperties": [ - { - "from": "firstName", - "to": "first_name" - }, - { - "from": "lastName", - "to": "last_name" - } + { "from": "firstName", "to": "first_name" }, + { "from": "lastName", "to": "last_name" } ] } ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], + "blacklistedEvents": [{ "eventName": "" }], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }] }, "result": true }, @@ -153,49 +96,23 @@ "rsEventName": "Purchase", "hubspotEventName": "pe22315509_rs_hub_test", "eventProperties": [ - { - "from": "Revenue", - "to": "value" - }, - { - "from": "Price", - "to": "cost" - } + { "from": "Revenue", "to": "value" }, + { "from": "Price", "to": "cost" } ] }, { "rsEventName": "Order Complete", "hubspotEventName": "pe22315509_rs_hub_chair", "eventProperties": [ - { - "from": "firstName", - "to": "first_name" - }, - { - "from": "lastName", - "to": "last_name" - } + { "from": "firstName", "to": "first_name" }, + { "from": "lastName", "to": "last_name" } ] } ], - "useNativeSDK": { - "web": false - }, - "whitelistedEvents": [ - { - "eventName": "sampleHSAllowed" - } - ], - "blacklistedEvents": [ - { - "eventName": "threat" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Pitch" - } - ] + "useNativeSDK": { "web": false }, + "whitelistedEvents": [{ "eventName": "sampleHSAllowed" }], + "blacklistedEvents": [{ "eventName": "threat" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Pitch" }] }, "result": true } diff --git a/test/data/validation/destinations/impact.json b/test/data/validation/destinations/impact.json index 19a047aa6..333b82d0b 100644 --- a/test/data/validation/destinations/impact.json +++ b/test/data/validation/destinations/impact.json @@ -22,16 +22,8 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": true }, @@ -58,16 +50,8 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": false, "err": ["impactAppId must be string"] @@ -95,16 +79,8 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": false, "err": ["eventTypeId must be string"] @@ -132,16 +108,8 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": false, "err": [ @@ -171,16 +139,8 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": false, "err": ["apiKey must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -208,16 +168,8 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": false, "err": ["campaignId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$\""] @@ -245,16 +197,8 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": true }, @@ -281,16 +225,8 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": true }, @@ -317,16 +253,8 @@ "enableIdentifyEvents": "false", "enablePageEvents": true, "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": false, "err": ["enableIdentifyEvents must be boolean"] @@ -354,16 +282,8 @@ "enableIdentifyEvents": false, "enablePageEvents": "true", "enableScreenEvents": false, - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": false, "err": ["enablePageEvents must be boolean"] @@ -391,16 +311,8 @@ "enableIdentifyEvents": false, "enablePageEvents": true, "enableScreenEvents": "false", - "actionEventNames": [ - { - "eventName": "Product Purchased" - } - ], - "installEventNames": [ - { - "eventName": "App Installed" - } - ] + "actionEventNames": [{ "eventName": "Product Purchased" }], + "installEventNames": [{ "eventName": "App Installed" }] }, "result": false, "err": ["enableScreenEvents must be boolean"] diff --git a/test/data/validation/destinations/intercom.json b/test/data/validation/destinations/intercom.json index 6cd1dc34b..7ccf2aba2 100644 --- a/test/data/validation/destinations/intercom.json +++ b/test/data/validation/destinations/intercom.json @@ -2,30 +2,13 @@ { "config": { "apiKey": "cdsfvgertefdvcdfgrtfvdgrfvd", - "useNativeSDK": { - "web": false - }, - "blacklistedEvents": [ - { - "eventName": "Pin Generated" - }, - { - "eventName": "Pin Expired" - } - ], - "whitelistedEvents": [ - { - "eventName": "" - } - ], + "useNativeSDK": { "web": false }, + "blacklistedEvents": [{ "eventName": "Pin Generated" }, { "eventName": "Pin Expired" }], + "whitelistedEvents": [{ "eventName": "" }], "eventFilteringOption": "blacklistedEvents", "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Sales" - }, - { - "oneTrustCookieCategory": "Marketing" - } + { "oneTrustCookieCategory": "Sales" }, + { "oneTrustCookieCategory": "Marketing" } ] }, "result": false, @@ -34,28 +17,11 @@ { "config": { "appId": "bhjjknlmnbhjnklm", - "useNativeSDK": { - "web": false - }, - "blacklistedEvents": [ - { - "eventName": "Pin Generated" - }, - { - "eventName": "Pin Expired" - } - ], - "whitelistedEvents": [ - { - "eventName": "" - } - ], + "useNativeSDK": { "web": false }, + "blacklistedEvents": [{ "eventName": "Pin Generated" }, { "eventName": "Pin Expired" }], + "whitelistedEvents": [{ "eventName": "" }], "eventFilteringOption": "blacklistedEvents", - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "error": [" must have required property 'apiKey'"] @@ -64,28 +30,11 @@ "config": { "apiKey": "dfvgtbheygrefdbfgtyhrgfghtgrfdv", "appId": "bhjjknlmnbhjnklm", - "useNativeSDK": { - "web": false - }, - "blacklistedEvents": [ - { - "eventName": "Pin Generated" - }, - { - "eventName": "Pin Expired" - } - ], - "whitelistedEvents": [ - { - "eventName": "" - } - ], + "useNativeSDK": { "web": false }, + "blacklistedEvents": [{ "eventName": "Pin Generated" }, { "eventName": "Pin Expired" }], + "whitelistedEvents": [{ "eventName": "" }], "eventFilteringOption": "blacklistedEvents", - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true } diff --git a/test/data/validation/destinations/klaviyo.json b/test/data/validation/destinations/klaviyo.json index 14d2b3fc4..0b04dd619 100644 --- a/test/data/validation/destinations/klaviyo.json +++ b/test/data/validation/destinations/klaviyo.json @@ -9,9 +9,7 @@ "sendPageAsTrack": { "web": true }, - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "connectionMode": { "web": "device" }, @@ -19,21 +17,9 @@ "web": true }, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": [" must have required property 'privateApiKey'"] @@ -49,9 +35,7 @@ "sendPageAsTrack": { "web": true }, - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "connectionMode": { "web": "hybrid" }, @@ -59,21 +43,9 @@ "web": true }, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": ["connectionMode.web must be equal to one of the allowed values"] @@ -86,9 +58,7 @@ "flattenProperties": false, "enforceEmailAsPrimary": true, "consent": ["sms"], - "useNativeSDK": { - "web": false - }, + "useNativeSDK": { "web": false }, "connectionMode": { "web": "cloud" }, @@ -99,21 +69,9 @@ "web": false }, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": ["listId must be string"] @@ -134,24 +92,10 @@ "web": true }, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true } diff --git a/test/data/validation/destinations/leanplum.json b/test/data/validation/destinations/leanplum.json index a5c4b6f1f..8aeb8b4c2 100644 --- a/test/data/validation/destinations/leanplum.json +++ b/test/data/validation/destinations/leanplum.json @@ -5,31 +5,15 @@ "clientKey": "ior6v5j", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "android": true, - "ios": false, - "flutter": true - }, + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "android": true, "ios": false, "flutter": true }, "connectionMode": { "android": "device", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": [ @@ -42,31 +26,15 @@ "clientKey": "", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "android": true, - "ios": false, - "flutter": true - }, + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "android": true, "ios": false, "flutter": true }, "connectionMode": { "android": "device", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": [ @@ -79,31 +47,15 @@ "clientKey": "ior6v5j", "isDevelop": "true", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "android": true, - "ios": false, - "flutter": true - }, + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "android": true, "ios": false, "flutter": true }, "connectionMode": { "android": "device", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": ["isDevelop must be boolean"] @@ -114,31 +66,15 @@ "clientKey": "ior6v5j", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "android": true, - "ios": false, - "flutter": true - }, + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "android": true, "ios": false, "flutter": true }, "connectionMode": { "android": "random", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": ["connectionMode.android must be equal to one of the allowed values"] @@ -149,31 +85,15 @@ "clientKey": "ior6v5j", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "android": "true", - "ios": false, - "flutter": true - }, + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "android": "true", "ios": false, "flutter": true }, "connectionMode": { "android": "hybrid", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": ["useNativeSDK.android must be boolean"] @@ -184,31 +104,15 @@ "clientKey": "ior6v5j", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "android": true, - "ios": false, - "flutter": true - }, + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "android": true, "ios": false, "flutter": true }, "connectionMode": { "android": "hybrid", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true }, @@ -218,29 +122,15 @@ "clientKey": "ior6v5j", "isDevelop": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "android": true, - "ios": false, - "flutter": true - }, + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "android": true, "ios": false, "flutter": true }, "connectionMode": { "android": "hybrid", "ios": "cloud", "flutter": "device" }, - "oneTrustCookieCategories": { - "oneTrustCookieCategory": "" - } + "oneTrustCookieCategories": { "oneTrustCookieCategory": "" } }, "result": false, "err": ["oneTrustCookieCategories must be array"] diff --git a/test/data/validation/destinations/monday.json b/test/data/validation/destinations/monday.json index 91be0747a..0a995412f 100644 --- a/test/data/validation/destinations/monday.json +++ b/test/data/validation/destinations/monday.json @@ -10,11 +10,7 @@ "to": "status" } ], - "whitelistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }] }, "result": false, "err": ["apiToken must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,300})$\""] @@ -30,11 +26,7 @@ "to": "status" } ], - "whitelistedEvents": [ - { - "eventName": "Product added to cart" - } - ] + "whitelistedEvents": [{ "eventName": "Product added to cart" }] }, "result": false, "err": ["boardId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -51,12 +43,8 @@ } ], "whitelistedEvents": [ - { - "eventName": "Product purchased" - }, - { - "eventName": "Product added to cart" - } + { "eventName": "Product purchased" }, + { "eventName": "Product added to cart" } ] }, "result": false, @@ -74,12 +62,8 @@ } ], "whitelistedEvents": [ - { - "eventName": "Product purchased" - }, - { - "eventName": "Product added to cart" - } + { "eventName": "Product purchased" }, + { "eventName": "Product added to cart" } ] }, "result": true diff --git a/test/data/validation/destinations/one_signal.json b/test/data/validation/destinations/one_signal.json index a6dc8da9c..4d9a122e0 100644 --- a/test/data/validation/destinations/one_signal.json +++ b/test/data/validation/destinations/one_signal.json @@ -5,11 +5,7 @@ "emailDeviceType": false, "smsDeviceType": false, "eventAsTags": false, - "allowedProperties": [ - { - "propertyName": "" - } - ] + "allowedProperties": [{ "propertyName": "" }] }, "result": false, "err": ["appId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -20,11 +16,7 @@ "emailDeviceType": false, "smsDeviceType": false, "eventAsTags": false, - "allowedProperties": [ - { - "propertyName": "" - } - ] + "allowedProperties": [{ "propertyName": "" }] }, "result": true }, @@ -34,11 +26,7 @@ "emailDeviceType": "false", "smsDeviceType": false, "eventAsTags": false, - "allowedProperties": [ - { - "propertyName": "" - } - ] + "allowedProperties": [{ "propertyName": "" }] }, "result": false, "err": ["emailDeviceType must be boolean"] diff --git a/test/data/validation/destinations/ortto.json b/test/data/validation/destinations/ortto.json index 8048635cd..98867aa22 100644 --- a/test/data/validation/destinations/ortto.json +++ b/test/data/validation/destinations/ortto.json @@ -8,32 +8,16 @@ "rsEventName": "Purchase", "orttoEventName": "ortto_event_1", "eventProperties": [ - { - "rudderProperty": "Revenue", - "orttoProperty": "value", - "type": "email" - }, - { - "rudderProperty": "cost", - "orttoProperty": "price", - "type": "text" - } + { "rudderProperty": "Revenue", "orttoProperty": "value", "type": "email" }, + { "rudderProperty": "cost", "orttoProperty": "price", "type": "text" } ] }, { "rsEventName": "Order Complete", "orttoEventName": "ortto_event_2", "eventProperties": [ - { - "rudderProperty": "Revenue", - "orttoProperty": "value", - "type": "email" - }, - { - "rudderProperty": "cost", - "orttoProperty": "price", - "type": "text" - } + { "rudderProperty": "Revenue", "orttoProperty": "value", "type": "email" }, + { "rudderProperty": "cost", "orttoProperty": "price", "type": "text" } ] } ], @@ -61,32 +45,16 @@ "rsEventName": "Purchase", "orttoEventName": "ortto_event_1", "eventProperties": [ - { - "rudderProperty": "Revenue", - "orttoProperty": "value", - "type": "email" - }, - { - "rudderProperty": "cost", - "orttoProperty": "price", - "type": "text" - } + { "rudderProperty": "Revenue", "orttoProperty": "value", "type": "email" }, + { "rudderProperty": "cost", "orttoProperty": "price", "type": "text" } ] }, { "rsEventName": "Order Complete", "orttoEventName": "ortto_event_2", "eventProperties": [ - { - "rudderProperty": "Revenue", - "orttoProperty": "value", - "type": "email" - }, - { - "rudderProperty": "cost", - "orttoProperty": "price", - "type": "text" - } + { "rudderProperty": "Revenue", "orttoProperty": "value", "type": "email" }, + { "rudderProperty": "cost", "orttoProperty": "price", "type": "text" } ] } ], diff --git a/test/data/validation/destinations/podsights.json b/test/data/validation/destinations/podsights.json index d828d2fd7..f0f99cc73 100644 --- a/test/data/validation/destinations/podsights.json +++ b/test/data/validation/destinations/podsights.json @@ -9,16 +9,8 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": ["pixelId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -33,16 +25,8 @@ ], "enableAliasCall": false, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": [" must have required property 'pixelId'"] @@ -58,16 +42,8 @@ ], "enableAliasCall": true, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": ["pixelId must be string"] @@ -82,16 +58,8 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": true } diff --git a/test/data/validation/destinations/qualaroo.json b/test/data/validation/destinations/qualaroo.json index fc1416b76..a7ec57e51 100644 --- a/test/data/validation/destinations/qualaroo.json +++ b/test/data/validation/destinations/qualaroo.json @@ -12,16 +12,8 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": true }, @@ -55,16 +47,8 @@ "recordQualarooEvents": true, "updateEventNames": false, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": true }, @@ -72,16 +56,8 @@ "config": { "siteToken": "j8N", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": [" must have required property 'customerId'"] @@ -90,16 +66,8 @@ "config": { "customerId": "92102", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": [" must have required property 'siteToken'"] @@ -109,16 +77,8 @@ "customerId": "92102", "siteToken": 1234, "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": ["siteToken must be string"] @@ -128,16 +88,8 @@ "customerId": "", "siteToken": "j8N", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": [ @@ -149,16 +101,8 @@ "customerId": "92102", "siteToken": "", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": [ diff --git a/test/data/validation/destinations/quora_pixel.json b/test/data/validation/destinations/quora_pixel.json index aa4e0de7c..33e337155 100644 --- a/test/data/validation/destinations/quora_pixel.json +++ b/test/data/validation/destinations/quora_pixel.json @@ -9,39 +9,18 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": true }, { "config": { "pixelId": "d2bnp1ubi9x6zq1p89h5hyx2hf5q1k3v", - "eventsToQPEvents": [ - { - "from": "", - "to": "" - } - ], + "eventsToQPEvents": [{ "from": "", "to": "" }], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": true }, @@ -63,16 +42,8 @@ } ], "eventFilteringOption": "whitelistedEvents", - "whitelistedEvents": [ - { - "eventName": "Anonymous Page Visit" - } - ], - "blacklistedEvents": [ - { - "eventName": "Credit Card Added" - } - ] + "whitelistedEvents": [{ "eventName": "Anonymous Page Visit" }], + "blacklistedEvents": [{ "eventName": "Credit Card Added" }] }, "result": true }, @@ -86,16 +57,8 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": ["pixelId must be string"] @@ -110,16 +73,8 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": ["pixelId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -133,16 +88,8 @@ } ], "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }] }, "result": false, "err": [" must have required property 'pixelId'"] diff --git a/test/data/validation/destinations/rockerbox.json b/test/data/validation/destinations/rockerbox.json index b3f8ce18b..6710a7c9e 100644 --- a/test/data/validation/destinations/rockerbox.json +++ b/test/data/validation/destinations/rockerbox.json @@ -3,84 +3,30 @@ "config": { "advertiserId": "test id", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "eventsMap": [ - { - "from": "Product Added", - "to": "conv.add_to_cart" - } - ], - "useNativeSDK": { - "web": true - }, - "useNativeSDKToSend": { - "web": true - }, - "clientAuthId": { - "web": "test-client-auth-id" - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Marketing Sample" - } - ], - "customDomain": { - "web": "" - }, - "enableCookieSync": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "eventsMap": [{ "from": "Product Added", "to": "conv.add_to_cart" }], + "useNativeSDK": { "web": true }, + "useNativeSDKToSend": { "web": true }, + "clientAuthId": { "web": "test-client-auth-id" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing Sample" }], + "customDomain": { "web": "" }, + "enableCookieSync": { "web": false } }, "result": true }, { "config": { "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "eventsMap": [ - { - "from": "Product Added", - "to": "conv.add_to_cart" - } - ], - "useNativeSDK": { - "web": true - }, - "useNativeSDKToSend": { - "web": true - }, - "clientAuthId": { - "web": "test-client-auth-id" - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Marketing Sample" - } - ], - "customDomain": { - "web": "" - }, - "enableCookieSync": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "eventsMap": [{ "from": "Product Added", "to": "conv.add_to_cart" }], + "useNativeSDK": { "web": true }, + "useNativeSDKToSend": { "web": true }, + "clientAuthId": { "web": "test-client-auth-id" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing Sample" }], + "customDomain": { "web": "" }, + "enableCookieSync": { "web": false } }, "result": false, "err": [" must have required property 'advertiserId'"] @@ -89,42 +35,15 @@ "config": { "advertiserId": "test id", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "eventsMap": [ - { - "from": "Product Added", - "to": "conv.add_to_cart" - } - ], - "useNativeSDK": { - "web": true - }, - "useNativeSDKToSend": { - "web": true - }, - "clientAuthId": { - "web": "test-client-auth-id" - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Marketing Sample" - } - ], - "customDomain": { - "web": "https://cookiedomain.com" - }, - "enableCookieSync": { - "web": true - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "eventsMap": [{ "from": "Product Added", "to": "conv.add_to_cart" }], + "useNativeSDK": { "web": true }, + "useNativeSDKToSend": { "web": true }, + "clientAuthId": { "web": "test-client-auth-id" }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Marketing Sample" }], + "customDomain": { "web": "https://cookiedomain.com" }, + "enableCookieSync": { "web": true } }, "result": true } diff --git a/test/data/validation/destinations/sentry.json b/test/data/validation/destinations/sentry.json index 681a62e74..d4614d756 100644 --- a/test/data/validation/destinations/sentry.json +++ b/test/data/validation/destinations/sentry.json @@ -9,44 +9,14 @@ "logger": "sentry", "debugMode": false, "eventFilteringOption": "disable", - "ignoreErrors": [ - { - "ignoreErrors": "" - } - ], - "includePaths": [ - { - "includePaths": "" - } - ], - "allowUrls": [ - { - "allowUrls": "" - } - ], - "denyUrls": [ - { - "denyUrls": "" - } - ], - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "useNativeSDK": { - "web": true - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Debugging" - } - ] + "ignoreErrors": [{ "ignoreErrors": "" }], + "includePaths": [{ "includePaths": "" }], + "allowUrls": [{ "allowUrls": "" }], + "denyUrls": [{ "denyUrls": "" }], + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "useNativeSDK": { "web": true }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "Debugging" }] }, "result": true }, @@ -59,36 +29,14 @@ "serverName": "", "logger": "", "debugMode": false, - "ignoreErrors": [ - { - "ignoreErrors": "" - } - ], - "includePaths": [ - { - "includePaths": "" - } - ], - "allowUrls": [ - { - "allowUrls": "" - } - ], - "denyUrls": [ - { - "denyUrls": "" - } - ], - "useNativeSDK": { - "web": true - }, + "ignoreErrors": [{ "ignoreErrors": "" }], + "includePaths": [{ "includePaths": "" }], + "allowUrls": [{ "allowUrls": "" }], + "denyUrls": [{ "denyUrls": "" }], + "useNativeSDK": { "web": true }, "blacklistedEvents": {}, "whitelistedEvents": {}, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": ["whitelistedEvents must be array", "blacklistedEvents must be array"] @@ -102,36 +50,14 @@ "serverName": "", "logger": "", "debugMode": false, - "ignoreErrors": [ - { - "ignoreErrors": "" - } - ], - "includePaths": [ - { - "includePaths": "" - } - ], - "allowUrls": [ - { - "allowUrls": "" - } - ], - "denyUrls": [ - { - "denyUrls": "" - } - ], - "useNativeSDK": { - "web": true - }, + "ignoreErrors": [{ "ignoreErrors": "" }], + "includePaths": [{ "includePaths": "" }], + "allowUrls": [{ "allowUrls": "" }], + "denyUrls": [{ "denyUrls": "" }], + "useNativeSDK": { "web": true }, "blackListedEvents": {}, "whiteListedEvents": {}, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": [" must NOT have additional properties", " must NOT have additional properties"] diff --git a/test/data/validation/destinations/tiktok_ads.json b/test/data/validation/destinations/tiktok_ads.json index e0dd0d8f0..e9d1beed8 100644 --- a/test/data/validation/destinations/tiktok_ads.json +++ b/test/data/validation/destinations/tiktok_ads.json @@ -47,6 +47,7 @@ "hashUserProperties": true, "sendCustomEvents": false }, + "result": true }, { diff --git a/test/data/validation/destinations/vero.json b/test/data/validation/destinations/vero.json index f7d5c5f9a..75be927e5 100644 --- a/test/data/validation/destinations/vero.json +++ b/test/data/validation/destinations/vero.json @@ -2,37 +2,16 @@ { "config": { "authToken": "MOx2ZmMwLNE2A2IdNKL0N2VhN2I3ZGY1MTVmMzA1ODk0YmIkNDZhNTojMTk3YTBlMTg1YmU1NWM0MDA2ZDVmZjY0ZGFiOTVkNDMyYTcwOWFk", - "apiKey": { - "web": "755fc11162r14c41ar7e7df232f305984bb021a1" - }, - "useNativeSDK": { - "web": false - }, + "apiKey": { "web": "755fc11162r14c41ar7e7df232f305984bb021a1" }, + "useNativeSDK": { "web": false }, "blacklistedEvents": { - "web": [ - { - "eventName": "Pin Generated" - }, - { - "eventName": "Pin Expired" - } - ] - }, - "whitelistedEvents": { - "web": [ - { - "eventName": "" - } - ] + "web": [{ "eventName": "Pin Generated" }, { "eventName": "Pin Expired" }] }, + "whitelistedEvents": { "web": [{ "eventName": "" }] }, "eventFilteringOption": "blacklistedEvents", "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "Sales" - }, - { - "oneTrustCookieCategory": "Marketing" - } + { "oneTrustCookieCategory": "Sales" }, + { "oneTrustCookieCategory": "Marketing" } ] }, "result": false, @@ -42,52 +21,22 @@ "config": { "authToken": "wbiwefbwiefbfkbfwekj", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "apiKey": { - "web": "bkajbdskasbdkbadasdsa" - }, - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "apiKey": { "web": "bkajbdskasbdkbadasdsa" }, + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": true }, { "config": { "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], "apiKey": "djykdftkuf", - "useNativeSDK": { - "web": false - }, - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ] + "useNativeSDK": { "web": false }, + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }] }, "result": false, "err": ["apiKey must be object"] diff --git a/test/data/validation/destinations/yandex_metrica.json b/test/data/validation/destinations/yandex_metrica.json index 84ff52cce..44907ed0a 100644 --- a/test/data/validation/destinations/yandex_metrica.json +++ b/test/data/validation/destinations/yandex_metrica.json @@ -7,32 +7,13 @@ "trackBounce": false, "webvisor": false, "containerName": "dataLayer", - "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "add" - } - ], + "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["tagId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\""] @@ -45,32 +26,13 @@ "trackBounce": false, "webvisor": false, "containerName": "dataLayer", - "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "add" - } - ], + "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["clickMap must be boolean"] @@ -83,32 +45,13 @@ "trackBounce": false, "webvisor": false, "containerName": "", - "eventNameToYandexEvent": [ - { - "from": true, - "to": "add" - } - ], + "eventNameToYandexEvent": [{ "from": true, "to": "add" }], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["eventNameToYandexEvent.0.from must be string"] @@ -121,32 +64,13 @@ "trackBounce": false, "webvisor": false, "containerName": false, - "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "add" - } - ], + "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["containerName must be string"] @@ -159,32 +83,13 @@ "trackBounce": false, "webvisor": false, "containerName": "dataLayer", - "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "add" - } - ], + "eventNameToYandexEvent": [{ "from": "Order Done", "to": "add" }], "goalId": "43dfd443", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["goalId must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$\""] @@ -198,35 +103,15 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "purchase" - }, - { - "from": "Viewing Product", - "to": "detail" - } + { "from": "Order Done", "to": "purchase" }, + { "from": "Viewing Product", "to": "detail" } ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": "false" - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": "false" } }, "result": false, "err": ["useNativeSDK.web must be boolean"] @@ -240,35 +125,15 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "purchase" - }, - { - "from": "Viewing Product", - "to": "detail" - } + { "from": "Order Done", "to": "purchase" }, + { "from": "Viewing Product", "to": "detail" } ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": 123 - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": 123 }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": ["whitelistedEvents.0.eventName must be string"] @@ -282,35 +147,15 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "purchase" - }, - { - "from": "Viewing Product", - "to": "detail" - } + { "from": "Order Done", "to": "purchase" }, + { "from": "Viewing Product", "to": "detail" } ], "goalId": "4342432", "eventFilteringOption": true, - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": false, "err": [ @@ -327,35 +172,15 @@ "webvisor": false, "containerName": "dataLayer", "eventNameToYandexEvent": [ - { - "from": "Order Done", - "to": "purchase" - }, - { - "from": "Viewing Product", - "to": "detail" - } + { "from": "Order Done", "to": "purchase" }, + { "from": "Viewing Product", "to": "detail" } ], "goalId": "4342432", "eventFilteringOption": "disable", - "whitelistedEvents": [ - { - "eventName": "" - } - ], - "blacklistedEvents": [ - { - "eventName": "" - } - ], - "oneTrustCookieCategories": [ - { - "oneTrustCookieCategory": "" - } - ], - "useNativeSDK": { - "web": false - } + "whitelistedEvents": [{ "eventName": "" }], + "blacklistedEvents": [{ "eventName": "" }], + "oneTrustCookieCategories": [{ "oneTrustCookieCategory": "" }], + "useNativeSDK": { "web": false } }, "result": true } From 1448911e779d8d2e83ef8000c6097e70e698473a Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Fri, 26 Apr 2024 11:23:54 +0530 Subject: [PATCH 16/17] fix: revert unwanted changes --- scripts/schemaGenerator.py | 194 ++++-------------- .../destinations/ga4/ui-config.json | 2 - 2 files changed, 37 insertions(+), 159 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index 81bcd91de..b2338ba02 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -707,49 +707,20 @@ def get_unique_pre_requisite_fields(uiConfig): list: containing unique preRequisiteFields. """ preRequisiteFieldsList = [] - if not is_old_format(uiConfig): - for template in uiConfig: - for templateEntry in uiConfig.get(template, []): - if "sections" not in templateEntry: - continue - for section in templateEntry.get("sections", []): - for group in section.get("groups", []): - for field in group.get("fields", []): - if ( - "preRequisites" not in field - or "fields" not in field["preRequisites"] - ): - continue - - for preRequisite in field["preRequisites"]["fields"]: - isPresent = False - - if "." in preRequisite["configKey"]: - continue - - for preRequisiteField in preRequisiteFieldsList: - if compare_pre_requisite_fields( - preRequisiteField, preRequisite, True - ): - isPresent = True - break - if not isPresent: - preRequisiteFieldsList.append(preRequisite) - else: - for group in uiConfig: - fields = group.get("fields", []) - for field in fields: - if "preRequisiteField" not in field: - continue - isPresent = False - for preRequisiteField in preRequisiteFieldsList: - if compare_pre_requisite_fields( - preRequisiteField, field["preRequisiteField"] - ): - isPresent = True - break - if not isPresent: - preRequisiteFieldsList.append(field["preRequisiteField"]) + for group in uiConfig: + fields = group.get("fields", []) + for field in fields: + if "preRequisiteField" not in field: + continue + isPresent = False + for preRequisiteField in preRequisiteFieldsList: + if compare_pre_requisite_fields( + preRequisiteField, field["preRequisiteField"] + ): + isPresent = True + break + if not isPresent: + preRequisiteFieldsList.append(field["preRequisiteField"]) return preRequisiteFieldsList @@ -783,15 +754,18 @@ def generate_if_object(preRequisiteField, isV2=False): return ifObj -def generate_schema_for_allOf(uiConfig, dbConfig): +def generate_schema_for_allOf(uiConfig, dbConfig, schema_field_name): """Creates the allOf structure of schema, empty if not required. - Finds the list of unique preRequisiteFields. - For each unique preRequisiteField, the properties are found by matching the current preRequisiteField. - preRequisiteField becomes if block and corresponding properties become then block. + Args: uiConfig (object): file content of ui-config.json. dbConfig (object): Configurations of db-config.json. + schema_field_name (string): Specifies which key has the field's name in schema. + For old schema types, it is 'value' else 'configKey'. Returns: object: allOf object of schema @@ -800,65 +774,24 @@ def generate_schema_for_allOf(uiConfig, dbConfig): preRequisiteFieldsList = get_unique_pre_requisite_fields(uiConfig) schema_field_name = "configKey" for preRequisiteField in preRequisiteFieldsList: - if not is_old_format(uiConfig): - schema_field_name = "configKey" - ifObj = generate_if_object(preRequisiteField, True) - thenObj = {"properties": {}, "required": []} - allOfItemObj = {"if": ifObj} - for template in uiConfig: - for templateEntry in uiConfig.get(template, []): - if "sections" not in templateEntry: - continue - for section in templateEntry.get("sections", []): - for group in section.get("groups", []): - for field in group.get("fields", []): - if ( - "preRequisites" not in field - or "fields" not in field["preRequisites"] - ): - continue - - generateFn = uiTypetoSchemaFn.get(field["type"]) - if not generateFn: - continue - - for preRequisite in field["preRequisites"]["fields"]: - if compare_pre_requisite_fields( - preRequisite, preRequisiteField, True - ): - thenObj["properties"][ - field[schema_field_name] - ] = generateFn( - field, dbConfig, schema_field_name - ) - if ( - "required" in field - and field["required"] == True - ): - thenObj["required"].append( - field[schema_field_name] - ) - else: - schema_field_name = "value" - ifObj = generate_if_object(preRequisiteField) - thenObj = {"properties": {}, "required": []} - allOfItemObj = {"if": ifObj} - - for group in uiConfig: - fields = group.get("fields", []) - for field in fields: - if "preRequisiteField" not in field: - continue - if compare_pre_requisite_fields( - field["preRequisiteField"], preRequisiteField - ): - thenObj["properties"][field[schema_field_name]] = ( - uiTypetoSchemaFn.get(field["type"])( - field, dbConfig, schema_field_name - ) + ifObj = generate_if_object(preRequisiteField) + thenObj = {"properties": {}, "required": []} + allOfItemObj = {"if": ifObj} + for group in uiConfig: + fields = group.get("fields", []) + for field in fields: + if "preRequisiteField" not in field: + continue + if compare_pre_requisite_fields( + field["preRequisiteField"], preRequisiteField + ): + thenObj["properties"][field[schema_field_name]] = ( + uiTypetoSchemaFn.get(field["type"])( + field, dbConfig, schema_field_name ) - if "required" in field and field["required"] == True: - thenObj["required"].append(field[schema_field_name]) + ) + if "required" in field and field["required"] == True: + thenObj["required"].append(field[schema_field_name]) allOfItemObj["then"] = thenObj allOfItemList.append(allOfItemObj) # Calling anyOf to check if two conditions can be grouped as anyOf. @@ -1103,11 +1036,6 @@ def generate_schema_properties(uiConfig, dbConfig, schemaObject, properties, sel for section in template.get("sections", []): for group in section.get("groups", []): for field in group.get("fields", []): - if ( - "preRequisites" in field - and "fields" in field["preRequisites"] - ): - continue generateFunction = uiTypetoSchemaFn.get(field["type"], None) if generateFunction: # Generate schema for the field if it is defined in the destination config @@ -1218,7 +1146,8 @@ def generate_schema(uiConfig, dbConfig, name, selector): schemaObject["properties"] = {} allOfSchemaObj = {} print(f"Generating schema for {name} {selector}") - allOfSchemaObj = generate_schema_for_allOf(uiConfig, dbConfig) + if is_old_format(uiConfig): + allOfSchemaObj = generate_schema_for_allOf(uiConfig, dbConfig, "value") if allOfSchemaObj: # AnyOf occurring separately, not inside allOf. if len(allOfSchemaObj) == 1: @@ -1361,33 +1290,6 @@ def generate_warnings_for_each_type(uiConfig, dbConfig, schema, curUiType): UserWarning, ) - for field in sdkTemplate.get("fields", []): - if "preRequisites" in field: - continue - generateFunction = uiTypetoSchemaFn.get(field["type"], None) - if generateFunction: - if generateFunction and field["type"] == curUiType: - if field["configKey"] not in schema["properties"]: - warnings.warn( - f'{field["configKey"]} field is not in schema \n', - UserWarning, - ) - else: - curSchemaField = schema["properties"][field["configKey"]] - newSchemaField = uiTypetoSchemaFn.get(curUiType)( - field, dbConfig, "configKey" - ) - schemaDiff = get_json_diff(curSchemaField, newSchemaField) - if schemaDiff: - warnings.warn( - "For type:{} field:{} Difference is : \n\n {} \n".format( - curUiType, - field["configKey"], - get_formatted_json(schemaDiff), - ), - UserWarning, - ) - for field in sdkTemplate.get("fields", []): if "preRequisites" in field: continue @@ -1492,28 +1394,6 @@ def validate_config_consistency( return generatedSchema = generate_schema(uiConfig, dbConfig, name, selector) - # TODO: This is a hack to ensure we don't lose any existing schema validations - if schema: - if "allOf" in schema: - if "allOf" not in generatedSchema["configSchema"]: - generatedSchema["configSchema"]["allOf"] = [] - generatedSchema["configSchema"]["allOf"].extend(schema["allOf"]) - generatedSchema["configSchema"]["allOf"] = [ - i - for n, i in enumerate(generatedSchema["configSchema"]["allOf"]) - if i not in generatedSchema["configSchema"]["allOf"][n + 1 :] - ] - - if "anyOf" in schema: - if "anyOf" not in generatedSchema["configSchema"]: - generatedSchema["configSchema"]["anyOf"] = [] - generatedSchema["configSchema"]["anyOf"].extend(schema["anyOf"]) - generatedSchema["configSchema"]["anyOf"] = [ - i - for n, i in enumerate(generatedSchema["configSchema"]["anyOf"]) - if i not in generatedSchema["configSchema"]["anyOf"][n + 1 :] - ] - if schema: schemaDiff = get_json_diff(schema, generatedSchema["configSchema"]) if shouldUpdateSchema: diff --git a/src/configurations/destinations/ga4/ui-config.json b/src/configurations/destinations/ga4/ui-config.json index 9000eed9e..b3978c555 100644 --- a/src/configurations/destinations/ga4/ui-config.json +++ b/src/configurations/destinations/ga4/ui-config.json @@ -77,7 +77,6 @@ "regexErrorMessage": "Invalid Measurement Id", "note": "Enter the ID associated with your stream. Find this under Admin > Data Streams > choose your stream > Measurement ID", "placeholder": "e.g: G-AB1CD2E34F", - "required": true, "secret": false }, { @@ -96,7 +95,6 @@ "regexErrorMessage": "Invalid Firebase App Id", "note": "Enter the ID associated with your stream. Find this under Admin > Data Streams > choose your stream > Firebase App ID", "placeholder": "e.g: 2:637XX8496727:web:a4284b4cXXe329d5", - "required": true, "secret": false } ] From 7d7556f2e536e62b74298efffca761a29b5ab57d Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Fri, 26 Apr 2024 11:37:06 +0530 Subject: [PATCH 17/17] fix: remove undeleted code --- scripts/schemaGenerator.py | 11 ++++++++--- .../destinations/snap_pixel/ui-config.json | 4 ---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/schemaGenerator.py b/scripts/schemaGenerator.py index b2338ba02..44b0521a1 100644 --- a/scripts/schemaGenerator.py +++ b/scripts/schemaGenerator.py @@ -772,7 +772,6 @@ def generate_schema_for_allOf(uiConfig, dbConfig, schema_field_name): """ allOfItemList = [] preRequisiteFieldsList = get_unique_pre_requisite_fields(uiConfig) - schema_field_name = "configKey" for preRequisiteField in preRequisiteFieldsList: ifObj = generate_if_object(preRequisiteField) thenObj = {"properties": {}, "required": []} @@ -1202,7 +1201,10 @@ def generate_warnings_for_each_type(uiConfig, dbConfig, schema, curUiType): ) if ( curUiType == "textInput" - and field["value"] in schema["required"] + and ( + schema.get("required", False) == True + and field["value"] in schema["required"] + ) and "regex" not in field ): warnings.warn( @@ -1252,7 +1254,10 @@ def generate_warnings_for_each_type(uiConfig, dbConfig, schema, curUiType): ) if ( curUiType == "textInput" - and field["configKey"] in schema["required"] + and ( + schema.get("required", False) == True + and field["configKey"] in schema["required"] + ) and "regex" not in field ): warnings.warn( diff --git a/src/configurations/destinations/snap_pixel/ui-config.json b/src/configurations/destinations/snap_pixel/ui-config.json index 50057d184..d81e86c3d 100644 --- a/src/configurations/destinations/snap_pixel/ui-config.json +++ b/src/configurations/destinations/snap_pixel/ui-config.json @@ -109,10 +109,6 @@ "name": "LOGIN", "value": "LOGIN" }, - { - "name": "ADD_BILLING", - "value": "ADD_BILLING" - }, { "name": "SHARE", "value": "SHARE"