/* * Copyright 2021 Salto Labs Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export const MARKETO = 'marketo' export const OBJECTS_PATH = 'Objects' export const RECORDS_PATH = 'Records' export const TYPES_PATH = 'Types' export const SUBTYPES_PATH = 'Subtypes' export const NAME = 'name' export const OBJECTS_NAMES = { LEAD: 'leads', CUSTOM_OBJECT: 'customobjects', } export const FIELD_TYPES = { STRING: 'string', BOOLEAN: 'boolean', CURRENCY: 'currency', TEXT: 'text', URL: 'url', EMAIL: 'email', PHONE: 'phone', DATE: 'date', DATETIME: 'datetime', REFERENCE: 'reference', INTEGER: 'integer', FLOAT: 'float', } export const CREATE_ONLY = 'createOnly' export const UPDATE_ONLY = 'updateOnly' export const CREATE_OR_UPDATE = 'createOrUpdate' export const API_NAME = 'apiName' export const DATA_TYPE = 'dataType' export const OBJECT_TYPE = 'objectType' export const IS_FIELD = 'isField' export const STATE = 'state' export const DRAFT_STATE = 'draft' export const APPROVED_STATE = 'approved' export const DISPLAY_NAME = 'displayName' export const ID_FIELD = 'idField' export const PLURAL_NAME = 'pluralName' export const DESCRIPTION = 'description' export const SHOW_IN_LEAD_DETAIL = 'showInLeadDetail' export const IS_DEDUPE_FIELD = 'isDedupeField'