From bf3bb56c65e35bec69cc6acb659f243b5558b52f Mon Sep 17 00:00:00 2001 From: chetan <64610-chetan_11@users.noreply.drupalcode.org> Date: Thu, 30 Nov 2023 14:20:48 +0000 Subject: [PATCH] Issue #3398897 by AaronBauman, ducviethaboo: Creation of dynamic property $key --- .../src/Entity/MappedObject.php | 10 +- .../Event/SalesforceDeleteAllowedEvent.php | 7 + .../src/SalesforceMappingFieldPluginBase.php | 7 + .../tests/src/Unit/MappedObjectTest.php | 57 +- .../tests/src/Unit/SalesforceMappingTest.php | 45 +- .../salesforce_pull.services.yml | 2 +- modules/salesforce_pull/src/DeleteHandler.php | 13 +- .../src/Plugin/QueueWorker/PullBase.php | 23 +- modules/salesforce_pull/src/QueueHandler.php | 21 +- .../tests/src/Functional/PullQueueTest.php | 21 +- .../tests/src/Unit/DeleteHandlerTest.php | 58 +- .../tests/src/Unit/PullBaseTest.php | 50 +- .../tests/src/Unit/QueueHandlerTest.php | 50 +- .../salesforce_push/salesforce_push.module | 2 +- .../tests/src/Unit/PushQueueTest.php | 68 +- .../SalesforcePushQueueProcessorRestTest.php | 73 +- src/Entity/SalesforceAuthConfig.php | 12 +- src/Form/SalesforceAuthForm.php | 23 +- src/Rest/RestClient.php | 13 + src/Rest/RestResponseDescribe.php | 124 +- src/Tests/objectDescribe.json | 9946 +++++++++-------- tests/src/Unit/RestClientTest.php | 37 +- tests/src/Unit/SelectQueryResultTest.php | 7 + 23 files changed, 6057 insertions(+), 4612 deletions(-) diff --git a/modules/salesforce_mapping/src/Entity/MappedObject.php b/modules/salesforce_mapping/src/Entity/MappedObject.php index ffbddc9b..9e860609 100644 --- a/modules/salesforce_mapping/src/Entity/MappedObject.php +++ b/modules/salesforce_mapping/src/Entity/MappedObject.php @@ -81,6 +81,13 @@ class MappedObject extends RevisionableContentEntityBase implements MappedObject */ protected $drupalEntityStub = NULL; + /** + * Whether to force the pull. + * + * @var bool + */ + public $force_pull; + /** * Overrides ContentEntityBase::__construct(). */ @@ -590,10 +597,11 @@ class MappedObject extends RevisionableContentEntityBase implements MappedObject // Set a flag here to indicate that a pull is happening, to avoid // triggering a push. - $drupal_entity->salesforce_pull = TRUE; + $drupal_entity->setSyncing(TRUE); $drupal_entity->save(); // Update mapping object. + $this->setNewRevision(TRUE); $this ->set('drupal_entity', $drupal_entity) ->set('entity_updated', $this->getRequestTime()) diff --git a/modules/salesforce_mapping/src/Event/SalesforceDeleteAllowedEvent.php b/modules/salesforce_mapping/src/Event/SalesforceDeleteAllowedEvent.php index 848c5874..f5683800 100644 --- a/modules/salesforce_mapping/src/Event/SalesforceDeleteAllowedEvent.php +++ b/modules/salesforce_mapping/src/Event/SalesforceDeleteAllowedEvent.php @@ -31,6 +31,13 @@ class SalesforceDeleteAllowedEvent extends SalesforceBaseEvent { */ protected $entity; + /** + * The Salesforce Mapping. + * + * @var \Drupal\salesforce_mapping\Entity\SalesforceMappingInterface|null + */ + protected $mapping; + /** * SalesforceDeleteAllowedEvent dispatched before deleting an entity. * diff --git a/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php b/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php index aa68bd73..9fd72cf2 100644 --- a/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php +++ b/modules/salesforce_mapping/src/SalesforceMappingFieldPluginBase.php @@ -90,6 +90,13 @@ abstract class SalesforceMappingFieldPluginBase extends PluginBase implements Sa */ protected $entityTypeManager; + /** + * Date formatter service. + * + * @var \Drupal\Core\Datetime\DateFormatterInterface + */ + protected $dateFormatter; + /** * Event dispatcher service. * diff --git a/modules/salesforce_mapping/tests/src/Unit/MappedObjectTest.php b/modules/salesforce_mapping/tests/src/Unit/MappedObjectTest.php index d07f5fec..2dfc95d3 100644 --- a/modules/salesforce_mapping/tests/src/Unit/MappedObjectTest.php +++ b/modules/salesforce_mapping/tests/src/Unit/MappedObjectTest.php @@ -32,6 +32,42 @@ class MappedObjectTest extends UnitTestCase { */ static protected $modules = ['salesforce_mapping']; + protected $bundle; + + protected $client; + + protected $entity; + + protected $entityType; + + protected $entityTypeId; + + protected $entity_id; + + protected $etm; + + protected $event_dispatcher; + + protected $fieldTypePluginManager; + + protected $mappedObjectEntityType; + + protected $mapped_object; + + protected $mapped_object_id; + + protected $mapping; + + protected $mapping_id; + + protected $salesforce_id; + + protected $sf_object; + + protected $sfid; + + protected $time; + /** * {@inheritdoc} */ @@ -57,7 +93,8 @@ class MappedObjectTest extends UnitTestCase { ->method('__toString') ->willReturn($this->salesforce_id); - $this->entityType = $this->getMockBuilder(EntityTypeInterface::class)->getMock(); + $this->entityType = $this->getMockBuilder(EntityTypeInterface::class) + ->getMock(); $this->entityType->expects($this->any()) ->method('getKeys') ->will($this->returnValue([ @@ -65,13 +102,15 @@ class MappedObjectTest extends UnitTestCase { 'uuid' => 'uuid', ])); - $this->etm = $this->getMockBuilder(EntityTypeManagerInterface::class)->getMock(); + $this->etm = $this->getMockBuilder(EntityTypeManagerInterface::class) + ->getMock(); $this->etm->expects($this->any()) ->method('getDefinition') ->with($this->entityTypeId) ->will($this->returnValue($this->entityType)); - $this->mappedObjectEntityType = $this->getMockBuilder(EntityTypeInterface::class)->getMock(); + $this->mappedObjectEntityType = $this->getMockBuilder(EntityTypeInterface::class) + ->getMock(); $this->mappedObjectEntityType->expects($this->any()) ->method('getKeys') ->will($this->returnValue([ @@ -85,9 +124,11 @@ class MappedObjectTest extends UnitTestCase { ->with('salesforce_mapped_object') ->will($this->returnValue($this->mappedObjectEntityType)); - $this->event_dispatcher = $this->getMockBuilder(EventDispatcherInterface::class)->getMock(); + $this->event_dispatcher = $this->getMockBuilder(EventDispatcherInterface::class) + ->getMock(); - $this->client = $this->getMockBuilder(RestClientInterface::CLASS)->getMock(); + $this->client = $this->getMockBuilder(RestClientInterface::CLASS) + ->getMock(); $this->fieldTypePluginManager = $this->getMockBuilder('\Drupal\Core\Field\FieldTypePluginManager') ->disableOriginalConstructor() @@ -113,7 +154,8 @@ class MappedObjectTest extends UnitTestCase { $container->set('datetime.time', $this->time); \Drupal::setContainer($container); - $this->entity = $this->getMockBuilder(ContentEntityInterface::class)->getMock(); + $this->entity = $this->getMockBuilder(ContentEntityInterface::class) + ->getMock(); $this->entity ->expects($this->any()) ->method('id') @@ -125,7 +167,8 @@ class MappedObjectTest extends UnitTestCase { ->willReturn(FALSE); // Mock salesforce mapping. - $this->mapping = $this->getMockBuilder(SalesforceMappingInterface::CLASS)->getMock(); + $this->mapping = $this->getMockBuilder(SalesforceMappingInterface::CLASS) + ->getMock(); $this->mapping ->expects($this->any()) ->method('getFieldMappings') diff --git a/modules/salesforce_mapping/tests/src/Unit/SalesforceMappingTest.php b/modules/salesforce_mapping/tests/src/Unit/SalesforceMappingTest.php index 13d3042b..b1579483 100644 --- a/modules/salesforce_mapping/tests/src/Unit/SalesforceMappingTest.php +++ b/modules/salesforce_mapping/tests/src/Unit/SalesforceMappingTest.php @@ -28,6 +28,28 @@ class SalesforceMappingTest extends UnitTestCase { */ static protected $modules = ['salesforce_mapping']; + protected $drupalBundleId; + + protected $drupalEntityTypeId; + + protected $entityDefinition; + + protected $entityTypeId; + + protected $etm; + + protected $id; + + protected $mapping; + + protected $provider; + + protected $saleforceObjectType; + + protected $state; + + protected $values; + /** * {@inheritdoc} */ @@ -89,7 +111,8 @@ class SalesforceMappingTest extends UnitTestCase { // Mock EntityTypeManagerInterface. $prophecy = $this->prophesize(EntityTypeManagerInterface::CLASS); - $prophecy->getDefinition($this->entityTypeId)->willReturn($this->entityDefinition); + $prophecy->getDefinition($this->entityTypeId) + ->willReturn($this->entityDefinition); $this->etm = $prophecy->reveal(); // Mock Properties SalesforceMappingField. @@ -99,18 +122,22 @@ class SalesforceMappingTest extends UnitTestCase { // Mode field plugin manager. $prophecy = $this->prophesize(SalesforceMappingFieldPluginManager::CLASS); - $prophecy->createInstance(Argument::any(), Argument::any())->willReturn($sf_mapping_field); + $prophecy->createInstance(Argument::any(), Argument::any()) + ->willReturn($sf_mapping_field); $field_manager = $prophecy->reveal(); // Mock state. $prophecy = $this->prophesize(StateInterface::CLASS); - $prophecy->get('salesforce.mapping_pull_info', Argument::any())->willReturn([]); - $prophecy->get('salesforce.mapping_push_info', Argument::any())->willReturn([ - $this->id => [ - 'last_timestamp' => 0, - ], - ]); - $prophecy->set('salesforce.mapping_push_info', Argument::any())->willReturn(NULL); + $prophecy->get('salesforce.mapping_pull_info', Argument::any()) + ->willReturn([]); + $prophecy->get('salesforce.mapping_push_info', Argument::any()) + ->willReturn([ + $this->id => [ + 'last_timestamp' => 0, + ], + ]); + $prophecy->set('salesforce.mapping_push_info', Argument::any()) + ->willReturn(NULL); $this->state = $prophecy->reveal(); $container = new ContainerBuilder(); diff --git a/modules/salesforce_pull/salesforce_pull.services.yml b/modules/salesforce_pull/salesforce_pull.services.yml index 2a27f77f..bd3519e7 100644 --- a/modules/salesforce_pull/salesforce_pull.services.yml +++ b/modules/salesforce_pull/salesforce_pull.services.yml @@ -5,4 +5,4 @@ services: salesforce_pull.delete_handler: class: Drupal\salesforce_pull\DeleteHandler - arguments: ['@salesforce.client', '@entity_type.manager', '@state', '@event_dispatcher'] + arguments: ['@salesforce.client', '@entity_type.manager', '@state', '@event_dispatcher', '@salesforce_pull.queue_handler'] diff --git a/modules/salesforce_pull/src/DeleteHandler.php b/modules/salesforce_pull/src/DeleteHandler.php index 83808ebe..518acd15 100644 --- a/modules/salesforce_pull/src/DeleteHandler.php +++ b/modules/salesforce_pull/src/DeleteHandler.php @@ -70,6 +70,12 @@ class DeleteHandler { */ protected $eventDispatcher; + /** + * Salesforce pull queue. + * @var \Drupal\salesforce_pull\QueueHandler + */ + protected $pullQueue; + /** * Constructor. * @@ -81,17 +87,20 @@ class DeleteHandler { * State service. * @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * Event dispatcher service. + * @param \Drupal\salesforce_pull\QueueHandler $pullQueue + * Pull queue. * * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException */ - public function __construct(RestClientInterface $sfapi, EntityTypeManagerInterface $entity_type_manager, StateInterface $state, EventDispatcherInterface $event_dispatcher) { + public function __construct(RestClientInterface $sfapi, EntityTypeManagerInterface $entity_type_manager, StateInterface $state, EventDispatcherInterface $event_dispatcher, QueueHandler $pullQueue) { $this->sfapi = $sfapi; $this->etm = $entity_type_manager; $this->mappingStorage = $this->etm->getStorage('salesforce_mapping'); $this->mappedObjectStorage = $this->etm->getStorage('salesforce_mapped_object'); $this->state = $state; $this->eventDispatcher = $event_dispatcher; + $this->pullQueue = $pullQueue; } /** @@ -213,7 +222,7 @@ class DeleteHandler { try { // Flag this entity to avoid duplicate processing. - $entity->salesforce_pull = TRUE; + $entity->setSyncing(TRUE); $entity->delete(); $message = 'Deleted entity %label with ID: %id associated with Salesforce Object ID: %sfid'; diff --git a/modules/salesforce_pull/src/Plugin/QueueWorker/PullBase.php b/modules/salesforce_pull/src/Plugin/QueueWorker/PullBase.php index 57cf96be..7a0e5cf0 100644 --- a/modules/salesforce_pull/src/Plugin/QueueWorker/PullBase.php +++ b/modules/salesforce_pull/src/Plugin/QueueWorker/PullBase.php @@ -18,6 +18,7 @@ use Drupal\salesforce_mapping\Event\SalesforcePushParamsEvent; use Drupal\salesforce_mapping\MappingConstants; use Drupal\salesforce_mapping\PushParams; use Drupal\salesforce_pull\PullException; +use Drupal\salesforce_pull\QueueHandler; use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface; @@ -61,6 +62,11 @@ abstract class PullBase extends QueueWorkerBase implements ContainerFactoryPlugi */ protected $eventDispatcher; + /** + * @var \Drupal\salesforce_pull\QueueHandler + */ + protected $pullQueue; + /** * Creates a new PullBase object. * @@ -70,14 +76,17 @@ abstract class PullBase extends QueueWorkerBase implements ContainerFactoryPlugi * Salesforce REST client. * @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher * Event dispatcher service. + * @param \Drupal\salesforce_pull\QueueHandler $pullQueue + * Pull queue. * * @throws \Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException */ - public function __construct(EntityTypeManagerInterface $entity_type_manager, RestClientInterface $client, EventDispatcherInterface $event_dispatcher, array $configuration, $plugin_id, $plugin_definition) { + public function __construct(EntityTypeManagerInterface $entity_type_manager, RestClientInterface $client, EventDispatcherInterface $event_dispatcher, QueueHandler $pullQueue, array $configuration, $plugin_id, $plugin_definition) { $this->etm = $entity_type_manager; $this->client = $client; $this->eventDispatcher = $event_dispatcher; + $this->pullQueue = $pullQueue; $this->mappingStorage = $this->etm->getStorage('salesforce_mapping'); $this->mappedObjectStorage = $this->etm->getStorage('salesforce_mapped_object'); parent::__construct($configuration, $plugin_id, $plugin_definition); @@ -91,6 +100,7 @@ abstract class PullBase extends QueueWorkerBase implements ContainerFactoryPlugi $container->get('entity_type.manager'), $container->get('salesforce.client'), $container->get('event_dispatcher'), + $container->get('salesforce_pull.queue_handler'), $configuration, $plugin_id, $plugin_definition @@ -122,11 +132,12 @@ abstract class PullBase extends QueueWorkerBase implements ContainerFactoryPlugi // mapping guarantees at most one result. $mapped_object = $this->mappedObjectStorage->loadByProperties([ 'salesforce_id' => (string) $sf_object->id(), - 'salesforce_mapping' => $mapping->id, + 'salesforce_mapping' => $mapping->id(), ]); // @todo one-to-many: this is a blocker for OTM support: $mapped_object = current($mapped_object); if (!empty($mapped_object)) { + $mapped_object->setNewRevision(TRUE); return $this->updateEntity($mapping, $mapped_object, $sf_object, $item->getForcePull()); } else { @@ -167,7 +178,7 @@ abstract class PullBase extends QueueWorkerBase implements ContainerFactoryPlugi // Flag this entity as having been processed. This does not persist, // but is used by salesforce_push to avoid duplicate processing. - $entity->salesforce_pull = TRUE; + $entity->setSyncing(TRUE); $entity_updated = !empty($entity->changed->value) ? $entity->changed->value @@ -258,20 +269,18 @@ abstract class PullBase extends QueueWorkerBase implements ContainerFactoryPlugi $values[$entity_keys['bundle']] = $mapping->getDrupalBundle(); } - // See note above about flag. - $values['salesforce_pull'] = TRUE; - // Create entity. $entity = $this->etm ->getStorage($entity_type) ->create($values); + $entity->setSyncing(TRUE); // Create mapped object. $mapped_object = $this->mappedObjectStorage->create([ 'drupal_entity' => [ 'target_type' => $entity_type, ], - 'salesforce_mapping' => $mapping->id, + 'salesforce_mapping' => $mapping->id(), 'salesforce_id' => (string) $sf_object->id(), ]); $mapped_object diff --git a/modules/salesforce_pull/src/QueueHandler.php b/modules/salesforce_pull/src/QueueHandler.php index 6919858f..e4c62fe8 100644 --- a/modules/salesforce_pull/src/QueueHandler.php +++ b/modules/salesforce_pull/src/QueueHandler.php @@ -4,6 +4,7 @@ namespace Drupal\salesforce_pull; use Drupal\Component\Datetime\TimeInterface; use Drupal\Core\Config\ConfigFactoryInterface; +use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Queue\QueueDatabaseFactory; use Drupal\Core\Utility\Error; @@ -35,6 +36,13 @@ class QueueHandler { */ protected $sfapi; + /** + * Entity type manager. + * + * @var \Drupal\Core\Entity\EntityTypeManagerInterface + */ + protected $etm; + /** * Queue service. * @@ -70,6 +78,13 @@ class QueueHandler { */ protected $eventDispatcher; + /** + * Time service. + * + * @var \Drupal\Component\Datetime\TimeInterface + */ + protected $time; + /** * QueueHandler constructor. * @@ -91,13 +106,11 @@ class QueueHandler { */ public function __construct(RestClientInterface $sfapi, EntityTypeManagerInterface $entity_type_manager, QueueDatabaseFactory $queue_factory, ConfigFactoryInterface $config, EventDispatcherInterface $event_dispatcher, TimeInterface $time) { $this->sfapi = $sfapi; + $this->etm = $entity_type_manager; $this->queue = $queue_factory->get(self::PULL_QUEUE_NAME); $this->config = $config->get('salesforce.settings'); $this->eventDispatcher = $event_dispatcher; $this->time = $time; - $this->mappings = $entity_type_manager - ->getStorage('salesforce_mapping') - ->loadCronPullMappings(); } /** @@ -119,6 +132,8 @@ class QueueHandler { * TRUE if there was room to add items, FALSE otherwise. */ public function getUpdatedRecords($force_pull = FALSE, $start = 0, $stop = 0) { + $this->mappings = $this->etm->getStorage('salesforce_mapping') + ->loadCronPullMappings(); // Avoid overloading the processing queue and pass this time around if it's // over a configurable limit. $max_size = $this->config->get('pull_max_queue_size') ?: static::PULL_MAX_QUEUE_SIZE; diff --git a/modules/salesforce_pull/tests/src/Functional/PullQueueTest.php b/modules/salesforce_pull/tests/src/Functional/PullQueueTest.php index 7401374f..4851d4da 100644 --- a/modules/salesforce_pull/tests/src/Functional/PullQueueTest.php +++ b/modules/salesforce_pull/tests/src/Functional/PullQueueTest.php @@ -29,15 +29,31 @@ class PullQueueTest extends BrowserTestBase { protected static $modules = [ 'typed_data', 'dynamic_entity_reference', + 'salesforce', 'salesforce_mapping', 'salesforce_mapping_test', + 'salesforce_test_rest_client', 'salesforce_pull', ]; + /** + * {@inheritdoc} + */ + protected function setUp(): void { + parent::setUp(); + // Why do we have to do this here but not for other modules? + \Drupal::service('config.installer')->installDefaultConfig('module', 'salesforce_mapping_test'); + drupal_flush_all_caches(); + } + /** * Test that saving mapped nodes enqueues them for push to Salesforce. */ public function testEnqueue() { + // Process the queue. + $mapping = SalesforceMapping::load('test_mapping'); + $this->assertTrue($mapping->doesPull()); + // Trigger salesforce_pull_cron to ensure an item in the pull queue, thanks // to our mocked response from TestRestClient service. \Drupal::service('salesforce_pull.queue_handler')->getUpdatedRecords(); @@ -55,8 +71,6 @@ class PullQueueTest extends BrowserTestBase { $queueFactory->get('cron_salesforce_pull')->createQueue(); $queue_worker = $queueManager->createInstance($queue_name); - // Process the queue. - $mapping = SalesforceMapping::load('test_mapping'); /** @var \Drupal\salesforce_mapping\MappedObjectStorage $mappedObjectStorage */ $mappedObjectStorage = \Drupal::entityTypeManager() ->getStorage('salesforce_mapped_object'); @@ -94,11 +108,12 @@ class PullQueueTest extends BrowserTestBase { ->field('Description'), $createdEntity->field_salesforce_test_link->uri); } + $mapping->setLastPullTime(NULL)->save(); drupal_flush_all_caches(); // If we have any entity reference, we can't be sure it'll be pulled // before the record to which it points. So, we pull the entire queue a 2nd // time in order to check that references get assigned properly. - \Drupal::service('salesforce_pull.queue_handler')->getUpdatedRecords(); + \Drupal::service('salesforce_pull.queue_handler')->getUpdatedRecords(TRUE); // Make sure our queue was re-populated. $this->assertEquals($items['totalSize'], $queue->numberOfItems()); diff --git a/modules/salesforce_pull/tests/src/Unit/DeleteHandlerTest.php b/modules/salesforce_pull/tests/src/Unit/DeleteHandlerTest.php index e9765e20..3167ffd2 100644 --- a/modules/salesforce_pull/tests/src/Unit/DeleteHandlerTest.php +++ b/modules/salesforce_pull/tests/src/Unit/DeleteHandlerTest.php @@ -13,6 +13,7 @@ use Drupal\salesforce_mapping\MappedObjectStorage; use Drupal\salesforce_mapping\MappingConstants; use Drupal\salesforce_mapping\SalesforceMappingStorage; use Drupal\salesforce_pull\DeleteHandler; +use Drupal\salesforce_pull\QueueHandler; use Drupal\Tests\UnitTestCase; use Drupal\user\Entity\User; use Prophecy\Argument; @@ -31,6 +32,36 @@ class DeleteHandlerTest extends UnitTestCase { */ protected static $modules = ['salesforce_pull']; + protected $configStorage; + + protected $dh; + + protected $drupalEntityStorage; + + protected $ed; + + protected $entity; + + protected $entityId; + + protected $entityRef; + + protected $entityStorage; + + protected $entityTypeId; + + protected $etm; + + protected $mappedObject; + + protected $mapping; + + protected $sfapi; + + protected $state; + + protected $pullQueue; + /** * {@inheritdoc} */ @@ -61,7 +92,8 @@ class DeleteHandlerTest extends UnitTestCase { $this->entity->expects($this->any())->method('id')->willReturn(1); $this->entity->expects($this->any())->method('label')->willReturn('foo'); - $this->mapping = $this->getMockBuilder(SalesforceMappingInterface::CLASS)->getMock(); + $this->mapping = $this->getMockBuilder(SalesforceMappingInterface::CLASS) + ->getMock(); $this->mapping->expects($this->any()) ->method('__get') ->with($this->equalTo('id')) @@ -89,7 +121,8 @@ class DeleteHandlerTest extends UnitTestCase { $this->entityId->value = '1'; $this->entityRef->entity = $this->mapping; - $this->mappedObject = $this->getMockBuilder(MappedObjectInterface::CLASS)->getMock(); + $this->mappedObject = $this->getMockBuilder(MappedObjectInterface::CLASS) + ->getMock(); $this->mappedObject ->expects($this->any()) ->method('delete') @@ -131,27 +164,36 @@ class DeleteHandlerTest extends UnitTestCase { // Mock EntityTypeManagerInterface. $prophecy = $this->prophesize(EntityTypeManagerInterface::CLASS); - $prophecy->getStorage('salesforce_mapping')->willReturn($this->configStorage); - $prophecy->getStorage('salesforce_mapped_object')->willReturn($this->entityStorage); + $prophecy->getStorage('salesforce_mapping') + ->willReturn($this->configStorage); + $prophecy->getStorage('salesforce_mapped_object') + ->willReturn($this->entityStorage); $prophecy->getStorage('test')->willReturn($this->drupalEntityStorage); $this->etm = $prophecy->reveal(); // Mock state. $prophecy = $this->prophesize(StateInterface::CLASS); - $prophecy->get('salesforce.mapping_pull_info', Argument::any())->willReturn([1 => ['last_delete_timestamp' => '1485787434']]); - $prophecy->set('salesforce.mapping_pull_info', Argument::any())->willReturn(NULL); + $prophecy->get('salesforce.mapping_pull_info', Argument::any()) + ->willReturn([1 => ['last_delete_timestamp' => '1485787434']]); + $prophecy->set('salesforce.mapping_pull_info', Argument::any()) + ->willReturn(NULL); $this->state = $prophecy->reveal(); // Mock event dispatcher. $prophecy = $this->prophesize(ContainerAwareEventDispatcher::CLASS); - $prophecy->dispatch(Argument::any(), Argument::any())->willReturnArgument(0); + $prophecy->dispatch(Argument::any(), Argument::any()) + ->willReturnArgument(0); $this->ed = $prophecy->reveal(); + $prophecy = $this->prophesize(QueueHandler::CLASS); + $this->pullQueue = $prophecy->reveal(); + $this->dh = new DeleteHandler( $this->sfapi, $this->etm, $this->state, - $this->ed + $this->ed, + $this->pullQueue ); } diff --git a/modules/salesforce_pull/tests/src/Unit/PullBaseTest.php b/modules/salesforce_pull/tests/src/Unit/PullBaseTest.php index c4b9778b..04668d57 100644 --- a/modules/salesforce_pull/tests/src/Unit/PullBaseTest.php +++ b/modules/salesforce_pull/tests/src/Unit/PullBaseTest.php @@ -18,6 +18,7 @@ use Drupal\salesforce_mapping\Event\SalesforcePullEvent; use Drupal\salesforce_mapping\MappingConstants; use Drupal\salesforce_pull\Plugin\QueueWorker\PullBase; use Drupal\salesforce_pull\PullQueueItem; +use Drupal\salesforce_pull\QueueHandler; use Drupal\Tests\UnitTestCase; use Prophecy\Argument; use Symfony\Component\DependencyInjection\ContainerBuilder; @@ -36,6 +37,36 @@ class PullBaseTest extends UnitTestCase { */ protected static $modules = ['salesforce_pull']; + protected $drupalEntityStorage; + + protected $ed; + + protected $entity; + + protected $entityDefinition; + + protected $etm; + + protected $mappedObject; + + protected $mappedObjectStorage; + + protected $mapping; + + protected $pullWorker; + + protected $salesforceMappingStorage; + + protected $salesforce_id; + + protected $sfapi; + + protected $sfid; + + protected $sqr; + + protected $queueHandler; + /** * {@inheritdoc} */ @@ -80,7 +111,8 @@ class PullBaseTest extends UnitTestCase { ->willReturn(TRUE); // Mock mapping object. - $this->mapping = $this->getMockBuilder(SalesforceMappingInterface::CLASS)->getMock(); + $this->mapping = $this->getMockBuilder(SalesforceMappingInterface::CLASS) + ->getMock(); $this->mapping->expects($this->any()) ->method('__get') ->with($this->equalTo('id')) @@ -101,7 +133,8 @@ class PullBaseTest extends UnitTestCase { ->willReturn([]); // Mock mapped object. - $this->mappedObject = $this->getMockBuilder(MappedObjectInterface::CLASS)->getMock(); + $this->mappedObject = $this->getMockBuilder(MappedObjectInterface::CLASS) + ->getMock(); $this->mappedObject->expects($this->any()) ->method('getChanged') ->willReturn('1486490500'); @@ -200,7 +233,8 @@ class PullBaseTest extends UnitTestCase { ->willReturn($this->sfid); // Mock event dispatcher. - $this->ed = $this->getMockBuilder('\Symfony\Component\EventDispatcher\EventDispatcherInterface')->getMock(); + $this->ed = $this->getMockBuilder('\Symfony\Component\EventDispatcher\EventDispatcherInterface') + ->getMock(); $this->ed ->expects($this->any()) ->method('dispatch') @@ -212,6 +246,9 @@ class PullBaseTest extends UnitTestCase { $container->set('entity_type.manager', $this->etm); \Drupal::setContainer($container); + $prophecy = $this->prophesize(QueueHandler::CLASS); + $this->queueHandler = $prophecy->reveal(); + $this->pullWorker = $this ->getMockBuilder(PullBase::CLASS) ->setMethods(['getMappedEntity']) @@ -219,6 +256,7 @@ class PullBaseTest extends UnitTestCase { $this->etm, $this->sfapi, $this->ed, + $this->queueHandler, [], 'cron_salesforce_pull', ['cron' => ['time' => 180]], @@ -285,6 +323,7 @@ class PullBaseTest extends UnitTestCase { $this->etm, $this->sfapi, $this->ed, + $this->queueHandler, [], 'cron_salesforce_pull', ['cron' => ['time' => 180]], @@ -294,7 +333,10 @@ class PullBaseTest extends UnitTestCase { $this->pullWorker->method('salesforcePullEvent') ->willReturn(NULL); - $sobject = new SObject(['id' => $this->salesforce_id, 'attributes' => ['type' => 'test']]); + $sobject = new SObject([ + 'id' => $this->salesforce_id, + 'attributes' => ['type' => 'test'], + ]); $item = new PullQueueItem($sobject, $this->mapping); $this->assertEquals(MappingConstants::SALESFORCE_MAPPING_SYNC_SF_CREATE, $this->pullWorker->processItem($item)); diff --git a/modules/salesforce_pull/tests/src/Unit/QueueHandlerTest.php b/modules/salesforce_pull/tests/src/Unit/QueueHandlerTest.php index ca94b6bd..371c6926 100644 --- a/modules/salesforce_pull/tests/src/Unit/QueueHandlerTest.php +++ b/modules/salesforce_pull/tests/src/Unit/QueueHandlerTest.php @@ -33,6 +33,32 @@ class QueueHandlerTest extends UnitTestCase { */ static protected $modules = ['salesforce_pull']; + protected $configFactory; + + protected $ed; + + protected $etm; + + protected $mapping; + + protected $mappingStorage; + + protected $qh; + + protected $queue; + + protected $queue_factory; + + protected $sfapi; + + protected $sqr; + + protected $sqrDone; + + protected $state; + + protected $time; + /** * {@inheritdoc} */ @@ -65,7 +91,8 @@ class QueueHandlerTest extends UnitTestCase { ->willReturn($this->sqrDone); $this->sfapi = $prophecy->reveal(); - $this->mapping = $this->getMockBuilder(SalesforceMappingInterface::CLASS)->getMock(); + $this->mapping = $this->getMockBuilder(SalesforceMappingInterface::CLASS) + ->getMock(); $this->mapping->expects($this->any()) ->method('__get') ->with($this->equalTo('id')) @@ -93,17 +120,20 @@ class QueueHandlerTest extends UnitTestCase { // Mock mapping ConfigEntityStorage object. $prophecy = $this->prophesize(SalesforceMappingStorage::CLASS); - $prophecy->loadCronPullMappings(Argument::any())->willReturn([$this->mapping]); + $prophecy->loadCronPullMappings(Argument::any()) + ->willReturn([$this->mapping]); $this->mappingStorage = $prophecy->reveal(); // Mock EntityTypeManagerInterface. $prophecy = $this->prophesize(EntityTypeManagerInterface::CLASS); - $prophecy->getStorage('salesforce_mapping')->willReturn($this->mappingStorage); + $prophecy->getStorage('salesforce_mapping') + ->willReturn($this->mappingStorage); $this->etm = $prophecy->reveal(); // Mock config. $prophecy = $this->prophesize(Config::CLASS); - $prophecy->get('pull_max_queue_size', Argument::any())->willReturn(QueueHandler::PULL_MAX_QUEUE_SIZE); + $prophecy->get('pull_max_queue_size', Argument::any()) + ->willReturn(QueueHandler::PULL_MAX_QUEUE_SIZE); $config = $prophecy->reveal(); $prophecy = $this->prophesize(ConfigFactoryInterface::CLASS); @@ -112,13 +142,16 @@ class QueueHandlerTest extends UnitTestCase { // Mock state. $prophecy = $this->prophesize(StateInterface::CLASS); - $prophecy->get('salesforce.mapping_pull_info', Argument::any())->willReturn([1 => ['last_pull_timestamp' => '0']]); - $prophecy->set('salesforce.mapping_pull_info', Argument::any())->willReturn(NULL); + $prophecy->get('salesforce.mapping_pull_info', Argument::any()) + ->willReturn([1 => ['last_pull_timestamp' => '0']]); + $prophecy->set('salesforce.mapping_pull_info', Argument::any()) + ->willReturn(NULL); $this->state = $prophecy->reveal(); // Mock event dispatcher. $prophecy = $this->prophesize(EventDispatcherInterface::CLASS); - $prophecy->dispatch(Argument::any(), Argument::any())->willReturnArgument(0); + $prophecy->dispatch(Argument::any(), Argument::any()) + ->willReturnArgument(0); $this->ed = $prophecy->reveal(); $this->time = $this->getMockBuilder(TimeInterface::CLASS)->getMock(); @@ -161,7 +194,8 @@ class QueueHandlerTest extends UnitTestCase { // Initialize with queue size > 100000 (default) $prophecy = $this->prophesize(QueueInterface::CLASS); $prophecy->createItem()->willReturn(1); - $prophecy->numberOfItems()->willReturn(QueueHandler::PULL_MAX_QUEUE_SIZE + 1); + $prophecy->numberOfItems() + ->willReturn(QueueHandler::PULL_MAX_QUEUE_SIZE + 1); $this->queue = $prophecy->reveal(); $prophecy = $this->prophesize(QueueDatabaseFactory::CLASS); diff --git a/modules/salesforce_push/salesforce_push.module b/modules/salesforce_push/salesforce_push.module index 95185487..142d582a 100644 --- a/modules/salesforce_push/salesforce_push.module +++ b/modules/salesforce_push/salesforce_push.module @@ -53,7 +53,7 @@ function salesforce_push_entity_delete(EntityInterface $entity) { */ function salesforce_push_entity_crud(EntityInterface $entity, $op) { // Don't allow mapped objects or mappings to be pushed! - if (!empty($entity->salesforce_pull) + if ($entity->isSyncing() || $entity instanceof MappedObjectInterface || $entity instanceof SalesforceMappingInterface) { return; diff --git a/modules/salesforce_push/tests/src/Unit/PushQueueTest.php b/modules/salesforce_push/tests/src/Unit/PushQueueTest.php index 7628917d..f90afb41 100644 --- a/modules/salesforce_push/tests/src/Unit/PushQueueTest.php +++ b/modules/salesforce_push/tests/src/Unit/PushQueueTest.php @@ -14,7 +14,7 @@ use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Entity\Sql\SqlEntityStorageInterface; use Drupal\Core\State\StateInterface; use Drupal\Core\StringTranslation\TranslationInterface; -use Drupal\salesforce_mapping\Entity\SalesforceMappingInterface; +use Drupal\salesforce_mapping\Entity\SalesforceMapping; use Drupal\salesforce_mapping\SalesforceMappingStorage; use Drupal\salesforce_push\PushQueue; use Drupal\salesforce_push\PushQueueProcessorInterface; @@ -31,8 +31,41 @@ use Symfony\Component\EventDispatcher\EventDispatcherInterface; * @group salesforce_push */ class PushQueueTest extends UnitTestCase { + static protected $modules = ['salesforce_push']; + protected $configFactory; + + protected $database; + + protected $entityStorage; + + protected $entityTypeManager; + + protected $eventDispatcher; + + protected $mappedObjectStorage; + + protected $mappingStorage; + + protected $push_queue_processor_plugin_manager; + + protected $queryRange; + + protected $queue; + + protected $schema; + + protected $state; + + protected $string_translation; + + protected $time; + + protected $updateQuery; + + protected $worker; + /** * {@inheritdoc} */ @@ -56,20 +89,24 @@ class PushQueueTest extends UnitTestCase { ->getMock(); $this->entityTypeManager = $this->getMockBuilder(EntityTypeManagerInterface::class)->getMock(); - $this->eventDispatcher = $this->getMockBuilder(EventDispatcherInterface::CLASS)->getMock(); + $this->eventDispatcher = $this->getMockBuilder(EventDispatcherInterface::CLASS) + ->getMock(); $this->eventDispatcher->expects($this->any()) ->method('dispatch') ->willReturnArgument(0); - $this->string_translation = $this->getMockBuilder(TranslationInterface::class)->getMock(); + $this->string_translation = $this->getMockBuilder(TranslationInterface::class) + ->getMock(); $this->time = $this->getMockBuilder(TimeInterface::class)->getMock(); $this->mappingStorage = $this->getMockBuilder(SalesforceMappingStorage::CLASS) ->disableOriginalConstructor() ->getMock(); - $this->mappedObjectStorage = $this->getMockBuilder(SqlEntityStorageInterface::CLASS)->getMock(); + $this->mappedObjectStorage = $this->getMockBuilder(SqlEntityStorageInterface::CLASS) + ->getMock(); - $this->entityStorage = $this->getMockBuilder(SqlEntityStorageInterface::CLASS)->getMock(); + $this->entityStorage = $this->getMockBuilder(SqlEntityStorageInterface::CLASS) + ->getMock(); $this->entityTypeManager->expects($this->exactly(2)) ->method('getStorage') @@ -80,7 +117,8 @@ class PushQueueTest extends UnitTestCase { // Mock config. $prophecy = $this->prophesize(Config::CLASS); - $prophecy->get('global_push_limit', Argument::any())->willReturn(PushQueue::DEFAULT_GLOBAL_LIMIT); + $prophecy->get('global_push_limit', Argument::any()) + ->willReturn(PushQueue::DEFAULT_GLOBAL_LIMIT); $config = $prophecy->reveal(); $prophecy = $this->prophesize(ConfigFactoryInterface::CLASS); @@ -116,7 +154,8 @@ class PushQueueTest extends UnitTestCase { // Test claiming items. $items = [1, 2, 3]; - $this->queryRange = $this->getMockBuilder(StatementInterface::class)->getMock(); + $this->queryRange = $this->getMockBuilder(StatementInterface::class) + ->getMock(); $this->queryRange->expects($this->once()) ->method('fetchAllAssoc') ->willReturn($items); @@ -147,17 +186,18 @@ class PushQueueTest extends UnitTestCase { * @covers ::processQueues */ public function testProcessQueue() { - $mapping1 = $this->getMockBuilder(SalesforceMappingInterface::CLASS)->getMock(); + $mapping1 = $this->getMockBuilder(SalesforceMapping::CLASS) + ->setConstructorArgs([ + ['id' => 1, 'push_limit' => 1, 'push_retries' => 1], + 'salesforce_mapping' + ]) + ->getMock(); $mapping1->expects($this->any()) ->method('getNextPushTime') ->willReturn(0); - $mapping1->expects($this->any()) - ->method('id') - ->willReturn(1); - $mapping1->push_limit = 1; - $mapping1->push_retries = 1; - $this->worker = $this->getMockBuilder(PushQueueProcessorInterface::class)->getMock(); + $this->worker = $this->getMockBuilder(PushQueueProcessorInterface::class) + ->getMock(); $this->worker->expects($this->any()) ->method('process') ->willReturn(NULL); diff --git a/modules/salesforce_push/tests/src/Unit/SalesforcePushQueueProcessorRestTest.php b/modules/salesforce_push/tests/src/Unit/SalesforcePushQueueProcessorRestTest.php index 54b449ec..b8dddabd 100644 --- a/modules/salesforce_push/tests/src/Unit/SalesforcePushQueueProcessorRestTest.php +++ b/modules/salesforce_push/tests/src/Unit/SalesforcePushQueueProcessorRestTest.php @@ -38,6 +38,40 @@ class SalesforcePushQueueProcessorRestTest extends UnitTestCase { */ protected static $modules = ['salesforce_pull']; + protected $entityType; + + protected $queue; + + protected $client; + + protected $eventDispatcher; + + protected $entity_manager; + + protected $string_translation; + + protected $mapping; + + protected $mappingStorage; + + protected $mappedObjectStorage; + + protected $entityTypeManager; + + protected $authToken; + + protected $authMan; + + protected $handler; + + protected $queueItem; + + protected $mappedObject; + + protected $entityStorage; + + protected $entity; + /** * {@inheritdoc} */ @@ -45,21 +79,26 @@ class SalesforcePushQueueProcessorRestTest extends UnitTestCase { $this->entityType = 'default'; $this->queue = $this->getMockBuilder(PushQueueInterface::CLASS)->getMock(); - $this->client = $this->getMockBuilder(RestClientInterface::CLASS)->getMock(); - $this->eventDispatcher = $this->getMockBuilder(EventDispatcherInterface::CLASS)->getMock(); + $this->client = $this->getMockBuilder(RestClientInterface::CLASS) + ->getMock(); + $this->eventDispatcher = $this->getMockBuilder(EventDispatcherInterface::CLASS) + ->getMock(); $this->eventDispatcher->expects($this->any()) ->method('dispatch') ->willReturnArgument(0); - $this->entity_manager = $this->getMockBuilder(EntityTypeManagerInterface::class)->getMock(); + $this->entity_manager = $this->getMockBuilder(EntityTypeManagerInterface::class) + ->getMock(); - $this->string_translation = $this->getMockBuilder(TranslationInterface::class)->getMock(); + $this->string_translation = $this->getMockBuilder(TranslationInterface::class) + ->getMock(); $this->string_translation->expects($this->any()) ->method('translateString') ->willReturnCallback(function (TranslatableMarkup $markup) { return $markup->getUntranslatedString(); }); - $this->mapping = $this->getMockBuilder(SalesforceMappingInterface::CLASS)->getMock(); + $this->mapping = $this->getMockBuilder(SalesforceMappingInterface::CLASS) + ->getMock(); $this->mapping->expects($this->any()) ->method('id') @@ -70,12 +109,14 @@ class SalesforcePushQueueProcessorRestTest extends UnitTestCase { ->with($this->equalTo('drupal_entity_type')) ->willReturn($this->entityType); - $this->mappingStorage = $this->getMockBuilder(ConfigEntityStorageInterface::CLASS)->getMock(); + $this->mappingStorage = $this->getMockBuilder(ConfigEntityStorageInterface::CLASS) + ->getMock(); $this->mappingStorage->expects($this->any()) ->method('load') ->willReturn($this->mapping); - $this->mappedObjectStorage = $this->getMockBuilder(SqlEntityStorageInterface::CLASS)->getMock(); + $this->mappedObjectStorage = $this->getMockBuilder(SqlEntityStorageInterface::CLASS) + ->getMock(); $prophecy = $this->prophesize(EntityTypeManagerInterface::class); $prophecy->getStorage('salesforce_mapping') @@ -180,7 +221,8 @@ class SalesforcePushQueueProcessorRestTest extends UnitTestCase { ->setMethods(['getMappedObject']) ->getMock(); - $mappedObject = $this->getMockBuilder(MappedObjectInterface::class)->getMock(); + $mappedObject = $this->getMockBuilder(MappedObjectInterface::class) + ->getMock(); $mappedObject->expects($this->once()) ->method('isNew') ->willReturn(TRUE); @@ -207,7 +249,8 @@ class SalesforcePushQueueProcessorRestTest extends UnitTestCase { 'name' => 'bar', ]; - $this->mappedObject = $this->getMockBuilder(MappedObjectInterface::class)->getMock(); + $this->mappedObject = $this->getMockBuilder(MappedObjectInterface::class) + ->getMock(); $this->mappedObject->expects($this->once()) ->method('pushDelete') @@ -240,7 +283,8 @@ class SalesforcePushQueueProcessorRestTest extends UnitTestCase { */ public function testProcessItemPush() { // Test push on op == insert / update. - $this->mappedObject = $this->getMockBuilder(MappedObjectInterface::class)->getMock(); + $this->mappedObject = $this->getMockBuilder(MappedObjectInterface::class) + ->getMock(); $this->queueItem = (object) [ 'entity_id' => 'foo', 'op' => NULL, @@ -248,7 +292,8 @@ class SalesforcePushQueueProcessorRestTest extends UnitTestCase { 'name' => NULL, ]; $this->entity = $this->getMockBuilder(EntityInterface::class)->getMock(); - $this->entityStorage = $this->getMockBuilder(SqlEntityStorageInterface::CLASS)->getMock(); + $this->entityStorage = $this->getMockBuilder(SqlEntityStorageInterface::CLASS) + ->getMock(); $this->entityStorage->expects($this->once()) ->method('load') ->willReturn($this->entity); @@ -302,12 +347,14 @@ class SalesforcePushQueueProcessorRestTest extends UnitTestCase { 'entity_id' => 'foo', ]; - $this->mappedObject = $this->getMockBuilder(MappedObjectInterface::class)->getMock(); + $this->mappedObject = $this->getMockBuilder(MappedObjectInterface::class) + ->getMock(); $this->mappedObject->expects($this->any()) ->method('isNew') ->willReturn(TRUE); - $this->entityStorage = $this->getMockBuilder(SqlEntityStorageInterface::CLASS)->getMock(); + $this->entityStorage = $this->getMockBuilder(SqlEntityStorageInterface::CLASS) + ->getMock(); $prophecy = $this->prophesize(EntityTypeManagerInterface::class); $prophecy->getStorage($this->entityType) ->willReturn($this->entityStorage); diff --git a/src/Entity/SalesforceAuthConfig.php b/src/Entity/SalesforceAuthConfig.php index 72f2559c..8f617ca0 100644 --- a/src/Entity/SalesforceAuthConfig.php +++ b/src/Entity/SalesforceAuthConfig.php @@ -80,13 +80,6 @@ class SalesforceAuthConfig extends ConfigEntityBase implements EntityWithPluginC */ protected $manager; - /** - * The plugin provider. - * - * @var \Drupal\salesforce\SalesforceAuthProviderInterface - */ - protected $plugin; - /** * Id getter. */ @@ -110,10 +103,7 @@ class SalesforceAuthConfig extends ConfigEntityBase implements EntityWithPluginC * @throws \Drupal\Component\Plugin\Exception\PluginException */ public function getPlugin() { - if (!$this->plugin) { - $this->plugin = $this->provider ? $this->authManager()->createInstance($this->provider, $this->getProviderSettings()) : NULL; - } - return $this->plugin; + return $this->provider ? $this->authManager()->createInstance($this->provider, $this->getProviderSettings()) : NULL; } /** diff --git a/src/Form/SalesforceAuthForm.php b/src/Form/SalesforceAuthForm.php index 4521163e..2231697a 100644 --- a/src/Form/SalesforceAuthForm.php +++ b/src/Form/SalesforceAuthForm.php @@ -23,7 +23,8 @@ class SalesforceAuthForm extends EntityForm { public function form(array $form, FormStateInterface $form_state) { $auth = $this->entity; if (empty($auth->getPluginsAsOptions())) { - $this->messenger()->addError('No auth provider plugins found. Please enable an auth provider module, e.g. salesforce_jwt, before adding an auth config.'); + $this->messenger() + ->addError('No auth provider plugins found. Please enable an auth provider module, e.g. salesforce_jwt, before adding an auth config.'); $form['#access'] = FALSE; return $form; } @@ -81,7 +82,8 @@ class SalesforceAuthForm extends EntityForm { ->buildConfigurationForm([], $form_state); } elseif ($form_state->getValue('provider')) { - $plugin = $this->entity->authManager()->createInstance($form_state->getValue('provider')); + $plugin = $this->entity->authManager() + ->createInstance($form_state->getValue('provider')); $form['settings']['provider_settings'] += $plugin->buildConfigurationForm([], $form_state); } elseif ($form_state->getUserInput()) { @@ -95,7 +97,10 @@ class SalesforceAuthForm extends EntityForm { $form['save_default'] = [ '#type' => 'checkbox', '#title' => 'Save and set default', - '#default_value' => $this->entity->isNew() || ($this->entity->authManager()->getProvider() && $this->entity->authManager()->getProvider()->id() == $this->entity->id()), + '#default_value' => $this->entity->isNew() || ($this->entity->authManager() + ->getProvider() && $this->entity->authManager() + ->getProvider() + ->id() == $this->entity->id()), ]; return parent::form($form, $form_state); } @@ -129,8 +134,12 @@ class SalesforceAuthForm extends EntityForm { // Don't bother processing plugin validation if we already have errors. return; } - - $this->entity->getPlugin()->validateConfigurationForm($form, $form_state); + // Generate a new provider entity from the given settings, in case they're + // changing, otherwise ::getPlugin() may return the old plugin. + $plugin = $this->entity + ->authManager() + ->createInstance($form_state->getValue('provider'), $form_state->getValue('provider_settings')); + $plugin->validateConfigurationForm($form, $form_state); } /** @@ -174,7 +183,9 @@ class SalesforceAuthForm extends EntityForm { * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException */ public function exists($id) { - $action = \Drupal::entityTypeManager()->getStorage($this->entity->getEntityTypeId())->load($id); + $action = \Drupal::entityTypeManager() + ->getStorage($this->entity->getEntityTypeId()) + ->load($id); return !empty($action); } diff --git a/src/Rest/RestClient.php b/src/Rest/RestClient.php index 29dae075..1e8ccd81 100644 --- a/src/Rest/RestClient.php +++ b/src/Rest/RestClient.php @@ -33,6 +33,19 @@ class RestClient implements RestClientInterface { */ public $response; + /** + * Used to capture the first response during an upsert. + * + * An upsert performs an insert or update, depending on stateful Salesforce + * data. Unfortunately, after an insert, upsert() does not return the ID of + * the newly created record. Therefore, our implementation of upsert performs + * two separate requests: the first, a straight upsert() call; the second, a + * read operation to get the id of the inserted or updated record. + * + * @var \GuzzleHttp\Psr7\Response|null + */ + public $original_response; + /** * GuzzleHttp client. * diff --git a/src/Rest/RestResponseDescribe.php b/src/Rest/RestResponseDescribe.php index 7d9b77a8..d688738a 100644 --- a/src/Rest/RestResponseDescribe.php +++ b/src/Rest/RestResponseDescribe.php @@ -14,24 +14,119 @@ class RestResponseDescribe extends RestResponse { * * @var array */ - protected $fields; + protected array $fields; /** * The name of this SObject type, e.g. "Contact", "Account", "Opportunity". * * @var string */ - protected $name; + protected string $name; /** * Flattened fields mapping field name => field label. * * @var array */ - private $fieldOptions; + private array $fieldOptions; /** - * See https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_describe.htm. + * The following protected properties are those we expect from Describe + * endpoint. + * + * For a full accounting and description of the API, refer to Salesforce + * documentation + * + * @see https://developer.salesforce.com/docs/atlas.en-us.246.0.api.meta/api/sforce_api_calls_describesobjects_describesobjectresult.htm + */ + // phpcs:disable + protected array $actionOverrides; + + protected bool $activateable; + + protected ?string $associateEntityType; + + protected ?string $associateParentEntity; + + protected array $childRelationships; + + protected bool $compactLayoutable; + + protected bool $createable; + + protected bool $custom; + + protected bool $customSetting; + + protected bool $dataTranslationEnabled; + + protected bool $deepCloneable; + + protected ?string $defaultImplementation; + + protected bool $deletable; + + protected bool $deprecatedAndHidden; + + protected ?string $extendedBy; + + protected ?string $extendsInterfaces; + + protected bool $feedEnabled; + + protected ?string $implementedBy; + + protected ?string $implementsInterfaces; + + protected bool $isInterface; + + protected bool $isSubtype; + + protected string $keyPrefix; + + protected string $label; + + protected string $labelPlural; + + protected bool $layoutable; + + protected bool $mergeable; + + protected bool $mruEnabled; + + protected array $namedLayoutInfos; + + protected ?string $networkScopeFieldName; + + protected bool $queryable; + + protected array $recordTypeInfos; + + protected bool $replicateable; + + protected bool $retrieveable; + + protected bool $searchLayoutable; + + protected bool $searchable; + + protected string $sobjectDescribeOption; + + protected array $supportedScopes; + + protected bool $triggerable; + + protected bool $undeletable; + + protected bool $updateable; + + protected array $urls; + + // phpcs:enable + + /** + * See + * https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_sobject_describe.htm. * * @param \Drupal\salesforce\Rest\RestResponse $response * The Response. @@ -55,6 +150,20 @@ class RestResponseDescribe extends RestResponse { $this->data = $response->data; } + /** + * Magic getter. + */ + public function __get($key) { + return $this->$key; + } + + /** + * Magic setter. + */ + public function __set($key, $value) { + $this->$key = $value; + } + /** * Getter for name. * @@ -132,9 +241,7 @@ class RestResponseDescribe extends RestResponse { * updateable * writeRequiresMasterRead. * - * For more information @see https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_fields_describe.htm. - * - * @param string $field_name + * For more information @param string $field_name * A field name. * * @return array @@ -142,6 +249,9 @@ class RestResponseDescribe extends RestResponse { * * @throws \Exception * If field_name is not defined for this SObject type. + * @see + * https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_fields_describe.htm. + * */ public function getField($field_name) { if (empty($this->fields[$field_name])) { diff --git a/src/Tests/objectDescribe.json b/src/Tests/objectDescribe.json index d1149393..17a867e6 100644 --- a/src/Tests/objectDescribe.json +++ b/src/Tests/objectDescribe.json @@ -1,4590 +1,5532 @@ { - "name": "Contact", - "fields": { - "Id": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 18, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": true, - "inlineHelpText": null, - "label": "Contact ID", - "length": 18, - "mask": null, - "maskType": null, - "name": "Id", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "tns:ID", - "sortable": true, - "type": "id", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "IsDeleted": { - "aggregatable": false, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": false, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Deleted", - "length": 0, - "mask": null, - "maskType": null, - "name": "IsDeleted", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:boolean", - "sortable": true, - "type": "boolean", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "MasterRecordId": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 18, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Master Record ID", - "length": 18, - "mask": null, - "maskType": null, - "name": "MasterRecordId", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [ - "Contact" - ], - "relationshipName": "MasterRecord", - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "tns:ID", - "sortable": true, - "type": "reference", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "AccountId": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 18, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Account ID", - "length": 18, - "mask": null, - "maskType": null, - "name": "AccountId", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [ - "Account" - ], - "relationshipName": "Account", - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": true, - "soapType": "tns:ID", - "sortable": true, - "type": "reference", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "LastName": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 240, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "Name", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": "personname", - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Last Name", - "length": 80, - "mask": null, - "maskType": null, - "name": "LastName", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "FirstName": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "Name", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": "personname", - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "First Name", - "length": 40, - "mask": null, - "maskType": null, - "name": "FirstName", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false + "name": "Contact", + "fields": { + "Id": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 18, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": true, + "inlineHelpText": null, + "label": "Contact ID", + "length": 18, + "mask": null, + "maskType": null, + "name": "Id", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "tns:ID", + "sortable": true, + "type": "id", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "IsDeleted": { + "aggregatable": false, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": false, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Deleted", + "length": 0, + "mask": null, + "maskType": null, + "name": "IsDeleted", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:boolean", + "sortable": true, + "type": "boolean", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "MasterRecordId": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 18, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Master Record ID", + "length": 18, + "mask": null, + "maskType": null, + "name": "MasterRecordId", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [ + "Contact" + ], + "relationshipName": "MasterRecord", + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "tns:ID", + "sortable": true, + "type": "reference", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "AccountId": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 18, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Account ID", + "length": 18, + "mask": null, + "maskType": null, + "name": "AccountId", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [ + "Account" + ], + "relationshipName": "Account", + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": true, + "soapType": "tns:ID", + "sortable": true, + "type": "reference", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "LastName": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 240, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "Name", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": "personname", + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Last Name", + "length": 80, + "mask": null, + "maskType": null, + "name": "LastName", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "FirstName": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "Name", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": "personname", + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "First Name", + "length": 40, + "mask": null, + "maskType": null, + "name": "FirstName", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "Salutation": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "Name", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": "personname", + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Salutation", + "length": 40, + "mask": null, + "maskType": null, + "name": "Salutation", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [ + { + "active": true, + "defaultValue": false, + "label": "Mr.", + "validFor": null, + "value": "Mr." + }, + { + "active": true, + "defaultValue": false, + "label": "Ms.", + "validFor": null, + "value": "Ms." + }, + { + "active": true, + "defaultValue": false, + "label": "Mrs.", + "validFor": null, + "value": "Mrs." + }, + { + "active": true, + "defaultValue": false, + "label": "Dr.", + "validFor": null, + "value": "Dr." + }, + { + "active": true, + "defaultValue": false, + "label": "Prof.", + "validFor": null, + "value": "Prof." + } + ], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "picklist", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "Name": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 363, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": "personname", + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Full Name", + "length": 121, + "mask": null, + "maskType": null, + "name": "Name", + "nameField": true, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "RecordTypeId": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 18, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Record Type ID", + "length": 18, + "mask": null, + "maskType": null, + "name": "RecordTypeId", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [ + "RecordType" + ], + "relationshipName": "RecordType", + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "tns:ID", + "sortable": true, + "type": "reference", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OtherStreet": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 765, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "OtherAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": "plaintextarea", + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Other Street", + "length": 255, + "mask": null, + "maskType": null, + "name": "OtherStreet", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "textarea", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OtherCity": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "OtherAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Other City", + "length": 40, + "mask": null, + "maskType": null, + "name": "OtherCity", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OtherState": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 240, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "OtherAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Other State\/Province", + "length": 80, + "mask": null, + "maskType": null, + "name": "OtherState", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OtherPostalCode": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 60, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "OtherAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Other Zip\/Postal Code", + "length": 20, + "mask": null, + "maskType": null, + "name": "OtherPostalCode", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OtherCountry": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 240, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "OtherAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Other Country", + "length": 80, + "mask": null, + "maskType": null, + "name": "OtherCountry", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OtherLatitude": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "OtherAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Other Latitude", + "length": 0, + "mask": null, + "maskType": null, + "name": "OtherLatitude", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 18, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 15, + "searchPrefilterable": false, + "soapType": "xsd:double", + "sortable": true, + "type": "double", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OtherLongitude": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "OtherAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Other Longitude", + "length": 0, + "mask": null, + "maskType": null, + "name": "OtherLongitude", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 18, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 15, + "searchPrefilterable": false, + "soapType": "xsd:double", + "sortable": true, + "type": "double", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OtherGeocodeAccuracy": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "OtherAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Other Geocode Accuracy", + "length": 40, + "mask": null, + "maskType": null, + "name": "OtherGeocodeAccuracy", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [ + { + "active": true, + "defaultValue": false, + "label": "Address", + "validFor": null, + "value": "Address" + }, + { + "active": true, + "defaultValue": false, + "label": "NearAddress", + "validFor": null, + "value": "NearAddress" + }, + { + "active": true, + "defaultValue": false, + "label": "Block", + "validFor": null, + "value": "Block" + }, + { + "active": true, + "defaultValue": false, + "label": "Street", + "validFor": null, + "value": "Street" + }, + { + "active": true, + "defaultValue": false, + "label": "ExtendedZip", + "validFor": null, + "value": "ExtendedZip" + }, + { + "active": true, + "defaultValue": false, + "label": "Zip", + "validFor": null, + "value": "Zip" + }, + { + "active": true, + "defaultValue": false, + "label": "Neighborhood", + "validFor": null, + "value": "Neighborhood" + }, + { + "active": true, + "defaultValue": false, + "label": "City", + "validFor": null, + "value": "City" + }, + { + "active": true, + "defaultValue": false, + "label": "County", + "validFor": null, + "value": "County" + }, + { + "active": true, + "defaultValue": false, + "label": "State", + "validFor": null, + "value": "State" + }, + { + "active": true, + "defaultValue": false, + "label": "Unknown", + "validFor": null, + "value": "Unknown" + } + ], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": true, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "picklist", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OtherAddress": { + "aggregatable": false, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Other Address", + "length": 0, + "mask": null, + "maskType": null, + "name": "OtherAddress", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": true, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "urn:address", + "sortable": false, + "type": "address", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "MailingStreet": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 765, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "MailingAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": "plaintextarea", + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Mailing Street", + "length": 255, + "mask": null, + "maskType": null, + "name": "MailingStreet", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "textarea", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "MailingCity": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "MailingAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Mailing City", + "length": 40, + "mask": null, + "maskType": null, + "name": "MailingCity", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "MailingState": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 240, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "MailingAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Mailing State\/Province", + "length": 80, + "mask": null, + "maskType": null, + "name": "MailingState", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "MailingPostalCode": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 60, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "MailingAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Mailing Zip\/Postal Code", + "length": 20, + "mask": null, + "maskType": null, + "name": "MailingPostalCode", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "MailingCountry": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 240, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "MailingAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Mailing Country", + "length": 80, + "mask": null, + "maskType": null, + "name": "MailingCountry", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "MailingLatitude": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "MailingAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Mailing Latitude", + "length": 0, + "mask": null, + "maskType": null, + "name": "MailingLatitude", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 18, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 15, + "searchPrefilterable": false, + "soapType": "xsd:double", + "sortable": true, + "type": "double", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "MailingLongitude": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "MailingAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Mailing Longitude", + "length": 0, + "mask": null, + "maskType": null, + "name": "MailingLongitude", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 18, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 15, + "searchPrefilterable": false, + "soapType": "xsd:double", + "sortable": true, + "type": "double", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "MailingGeocodeAccuracy": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": "MailingAddress", + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Mailing Geocode Accuracy", + "length": 40, + "mask": null, + "maskType": null, + "name": "MailingGeocodeAccuracy", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [ + { + "active": true, + "defaultValue": false, + "label": "Address", + "validFor": null, + "value": "Address" + }, + { + "active": true, + "defaultValue": false, + "label": "NearAddress", + "validFor": null, + "value": "NearAddress" + }, + { + "active": true, + "defaultValue": false, + "label": "Block", + "validFor": null, + "value": "Block" + }, + { + "active": true, + "defaultValue": false, + "label": "Street", + "validFor": null, + "value": "Street" + }, + { + "active": true, + "defaultValue": false, + "label": "ExtendedZip", + "validFor": null, + "value": "ExtendedZip" + }, + { + "active": true, + "defaultValue": false, + "label": "Zip", + "validFor": null, + "value": "Zip" + }, + { + "active": true, + "defaultValue": false, + "label": "Neighborhood", + "validFor": null, + "value": "Neighborhood" + }, + { + "active": true, + "defaultValue": false, + "label": "City", + "validFor": null, + "value": "City" + }, + { + "active": true, + "defaultValue": false, + "label": "County", + "validFor": null, + "value": "County" + }, + { + "active": true, + "defaultValue": false, + "label": "State", + "validFor": null, + "value": "State" + }, + { + "active": true, + "defaultValue": false, + "label": "Unknown", + "validFor": null, + "value": "Unknown" + } + ], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": true, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "picklist", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "MailingAddress": { + "aggregatable": false, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Mailing Address", + "length": 0, + "mask": null, + "maskType": null, + "name": "MailingAddress", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": true, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "urn:address", + "sortable": false, + "type": "address", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "Phone": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Business Phone", + "length": 40, + "mask": null, + "maskType": null, + "name": "Phone", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "phone", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "Fax": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Business Fax", + "length": 40, + "mask": null, + "maskType": null, + "name": "Fax", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "phone", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "MobilePhone": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Mobile Phone", + "length": 40, + "mask": null, + "maskType": null, + "name": "MobilePhone", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "phone", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "HomePhone": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Home Phone", + "length": 40, + "mask": null, + "maskType": null, + "name": "HomePhone", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "phone", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OtherPhone": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Other Phone", + "length": 40, + "mask": null, + "maskType": null, + "name": "OtherPhone", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "phone", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "AssistantPhone": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Asst. Phone", + "length": 40, + "mask": null, + "maskType": null, + "name": "AssistantPhone", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "phone", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "ReportsToId": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 18, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Reports To ID", + "length": 18, + "mask": null, + "maskType": null, + "name": "ReportsToId", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [ + "Contact" + ], + "relationshipName": "ReportsTo", + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": true, + "soapType": "tns:ID", + "sortable": true, + "type": "reference", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "Email": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 240, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": true, + "inlineHelpText": null, + "label": "Email", + "length": 80, + "mask": null, + "maskType": null, + "name": "Email", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "email", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "Title": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 384, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Title", + "length": 128, + "mask": null, + "maskType": null, + "name": "Title", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "Department": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 240, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Department", + "length": 80, + "mask": null, + "maskType": null, + "name": "Department", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "AssistantName": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Assistant's Name", + "length": 40, + "mask": null, + "maskType": null, + "name": "AssistantName", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "LeadSource": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 120, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Lead Source", + "length": 40, + "mask": null, + "maskType": null, + "name": "LeadSource", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [ + { + "active": true, + "defaultValue": false, + "label": "Web", + "validFor": null, + "value": "Web" + }, + { + "active": true, + "defaultValue": false, + "label": "Phone Inquiry", + "validFor": null, + "value": "Phone Inquiry" + }, + { + "active": true, + "defaultValue": false, + "label": "Partner Referral", + "validFor": null, + "value": "Partner Referral" + }, + { + "active": true, + "defaultValue": false, + "label": "Purchased List", + "validFor": null, + "value": "Purchased List" + }, + { + "active": true, + "defaultValue": false, + "label": "Other", + "validFor": null, + "value": "Other" + } + ], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "picklist", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "Birthdate": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Birthdate", + "length": 0, + "mask": null, + "maskType": null, + "name": "Birthdate", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:date", + "sortable": true, + "type": "date", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "Description": { + "aggregatable": false, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 96000, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": "plaintextarea", + "filterable": false, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Contact Description", + "length": 32000, + "mask": null, + "maskType": null, + "name": "Description", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": false, + "type": "textarea", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "OwnerId": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 18, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Owner ID", + "length": 18, + "mask": null, + "maskType": null, + "name": "OwnerId", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [ + "User" + ], + "relationshipName": "Owner", + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "tns:ID", + "sortable": true, + "type": "reference", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "CreatedDate": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Created Date", + "length": 0, + "mask": null, + "maskType": null, + "name": "CreatedDate", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:dateTime", + "sortable": true, + "type": "datetime", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "CreatedById": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 18, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Created By ID", + "length": 18, + "mask": null, + "maskType": null, + "name": "CreatedById", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [ + "User" + ], + "relationshipName": "CreatedBy", + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "tns:ID", + "sortable": true, + "type": "reference", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "LastModifiedDate": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Last Modified Date", + "length": 0, + "mask": null, + "maskType": null, + "name": "LastModifiedDate", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:dateTime", + "sortable": true, + "type": "datetime", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "LastModifiedById": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 18, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Last Modified By ID", + "length": 18, + "mask": null, + "maskType": null, + "name": "LastModifiedById", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [ + "User" + ], + "relationshipName": "LastModifiedBy", + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "tns:ID", + "sortable": true, + "type": "reference", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "SystemModstamp": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "System Modstamp", + "length": 0, + "mask": null, + "maskType": null, + "name": "SystemModstamp", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:dateTime", + "sortable": true, + "type": "datetime", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "LastActivityDate": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Last Activity", + "length": 0, + "mask": null, + "maskType": null, + "name": "LastActivityDate", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:date", + "sortable": true, + "type": "date", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "LastCURequestDate": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Last Stay-in-Touch Request Date", + "length": 0, + "mask": null, + "maskType": null, + "name": "LastCURequestDate", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:dateTime", + "sortable": true, + "type": "datetime", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "LastCUUpdateDate": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Last Stay-in-Touch Save Date", + "length": 0, + "mask": null, + "maskType": null, + "name": "LastCUUpdateDate", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:dateTime", + "sortable": true, + "type": "datetime", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "LastViewedDate": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Last Viewed Date", + "length": 0, + "mask": null, + "maskType": null, + "name": "LastViewedDate", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:dateTime", + "sortable": true, + "type": "datetime", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "LastReferencedDate": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Last Referenced Date", + "length": 0, + "mask": null, + "maskType": null, + "name": "LastReferencedDate", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:dateTime", + "sortable": true, + "type": "datetime", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "EmailBouncedReason": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 765, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Email Bounced Reason", + "length": 255, + "mask": null, + "maskType": null, + "name": "EmailBouncedReason", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "EmailBouncedDate": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Email Bounced Date", + "length": 0, + "mask": null, + "maskType": null, + "name": "EmailBouncedDate", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:dateTime", + "sortable": true, + "type": "datetime", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "IsEmailBounced": { + "aggregatable": false, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": false, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Is Email Bounced", + "length": 0, + "mask": null, + "maskType": null, + "name": "IsEmailBounced", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:boolean", + "sortable": true, + "type": "boolean", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "PhotoUrl": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 765, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": "imageurl", + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Photo URL", + "length": 255, + "mask": null, + "maskType": null, + "name": "PhotoUrl", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "url", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "Jigsaw": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 60, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Data.com Key", + "length": 20, + "mask": null, + "maskType": null, + "name": "Jigsaw", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "JigsawContactId": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 60, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Jigsaw Contact ID", + "length": 20, + "mask": null, + "maskType": null, + "name": "JigsawContactId", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": "JigsawContact", + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "IndividualId": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 18, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": false, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Individual ID", + "length": 18, + "mask": null, + "maskType": null, + "name": "IndividualId", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": false, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [ + "Individual" + ], + "relationshipName": "Individual", + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": true, + "soapType": "tns:ID", + "sortable": true, + "type": "reference", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Level__c": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 765, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Level", + "length": 255, + "mask": null, + "maskType": null, + "name": "d5__Level__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [ + { + "active": true, + "defaultValue": false, + "label": "Secondary", + "validFor": null, + "value": "Secondary" + }, + { + "active": true, + "defaultValue": false, + "label": "Tertiary", + "validFor": null, + "value": "Tertiary" + }, + { + "active": true, + "defaultValue": false, + "label": "Primary", + "validFor": null, + "value": "Primary" + } + ], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "picklist", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Languages__c": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 300, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Languages", + "length": 100, + "mask": null, + "maskType": null, + "name": "d5__Languages__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Unique_Email__c": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 240, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": true, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": true, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": true, + "inlineHelpText": null, + "label": "Unique Email", + "length": 80, + "mask": null, + "maskType": null, + "name": "d5__Unique_Email__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "email", + "unique": true, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Drupal_ID__c": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": true, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Drupal ID", + "length": 0, + "mask": null, + "maskType": null, + "name": "d5__Drupal_ID__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 18, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:double", + "sortable": true, + "type": "double", + "unique": true, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Organization_text__c": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 765, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Organization (text)", + "length": 255, + "mask": null, + "maskType": null, + "name": "d5__Organization_text__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Lead_Source_Other__c": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 765, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Lead Source (Other)", + "length": 255, + "mask": null, + "maskType": null, + "name": "d5__Lead_Source_Other__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Do_Not_Mail__c": { + "aggregatable": false, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": false, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Do Not Mail", + "length": 0, + "mask": null, + "maskType": null, + "name": "d5__Do_Not_Mail__c", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:boolean", + "sortable": true, + "type": "boolean", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Deceased__c": { + "aggregatable": false, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": false, + "defaultValueFormula": null, + "defaultedOnCreate": true, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Deceased", + "length": 0, + "mask": null, + "maskType": null, + "name": "d5__Deceased__c", + "nameField": false, + "namePointing": false, + "nillable": false, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:boolean", + "sortable": true, + "type": "boolean", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Deceased_Date__c": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 0, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": true, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Deceased Date", + "length": 0, + "mask": null, + "maskType": null, + "name": "d5__Deceased_Date__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:date", + "sortable": true, + "type": "date", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Drupal_URL__c": { + "aggregatable": true, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 3900, + "calculated": true, + "calculatedFormula": "$Setup.d5__Drupal_Settings__c.d5__Drupal_URL__c + '\/salesforce\/' + Id", + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": false, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": true, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Drupal URL", + "length": 1300, + "mask": null, + "maskType": null, + "name": "d5__Drupal_URL__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "string", + "unique": false, + "updateable": false, + "writeRequiresMasterRead": false + }, + "d5__Multipicklist_Test__c": { + "aggregatable": true, + "autoNumber": false, + "byteLength": 4099, + "calculated": true, + "calculatedFormula": "", + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Multipicklist Test", + "length": 4099, + "mask": null, + "maskType": null, + "name": "d5__Multipicklist_Test__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [ + { + "active": true, + "defaultValue": false, + "label": "Value 1", + "validFor": null, + "value": "Value 1" + }, + { + "active": true, + "defaultValue": false, + "label": "Value 2", + "validFor": null, + "value": "Value 2" + }, + { + "active": true, + "defaultValue": false, + "label": "Value 3", + "validFor": null, + "value": "Value 3" + } + ], + "polymorphicForeignKey": false, + "precision": 0, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": true, + "type": "multipicklist", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__interests__c": { + "aggregatable": false, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 4099, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "interests", + "length": 4099, + "mask": null, + "maskType": null, + "name": "d5__interests__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [ + { + "active": true, + "defaultValue": false, + "label": "test1", + "validFor": null, + "value": "test1" + }, + { + "active": true, + "defaultValue": false, + "label": "test2", + "validFor": null, + "value": "test2" + }, + { + "active": true, + "defaultValue": false, + "label": "test3", + "validFor": null, + "value": "test3" + }, + { + "active": true, + "defaultValue": false, + "label": "test4", + "validFor": null, + "value": "test4" + } + ], + "polymorphicForeignKey": false, + "precision": 4, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": false, + "type": "multipicklist", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + }, + "d5__Test_Multipicklist__c": { + "aggregatable": false, + "aiPredictionField": false, + "autoNumber": false, + "byteLength": 4099, + "calculated": false, + "calculatedFormula": null, + "cascadeDelete": false, + "caseSensitive": false, + "compoundFieldName": null, + "controllerName": null, + "createable": true, + "custom": true, + "defaultValue": null, + "defaultValueFormula": null, + "defaultedOnCreate": false, + "dependentPicklist": false, + "deprecatedAndHidden": false, + "digits": 0, + "displayLocationInDecimal": false, + "encrypted": false, + "externalId": false, + "extraTypeInfo": null, + "filterable": true, + "filteredLookupInfo": null, + "formulaTreatNullNumberAsZero": false, + "groupable": false, + "highScaleNumber": false, + "htmlFormatted": false, + "idLookup": false, + "inlineHelpText": null, + "label": "Test Multipicklist", + "length": 4099, + "mask": null, + "maskType": null, + "name": "d5__Test_Multipicklist__c", + "nameField": false, + "namePointing": false, + "nillable": true, + "permissionable": true, + "picklistValues": [ + { + "active": true, + "defaultValue": false, + "label": "Value 1", + "validFor": null, + "value": "Value 1" + }, + { + "active": true, + "defaultValue": false, + "label": "Value 2", + "validFor": null, + "value": "Value 2" + }, + { + "active": true, + "defaultValue": false, + "label": "Value 3", + "validFor": null, + "value": "Value 3" + } + ], + "polymorphicForeignKey": false, + "precision": 4, + "queryByDistance": false, + "referenceTargetField": null, + "referenceTo": [], + "relationshipName": null, + "relationshipOrder": null, + "restrictedDelete": false, + "restrictedPicklist": false, + "scale": 0, + "searchPrefilterable": false, + "soapType": "xsd:string", + "sortable": false, + "type": "multipicklist", + "unique": false, + "updateable": true, + "writeRequiresMasterRead": false + } }, - "Salutation": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "Name", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": "personname", - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Salutation", - "length": 40, - "mask": null, - "maskType": null, - "name": "Salutation", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [ + "actionOverrides": [ { - "active": true, - "defaultValue": false, - "label": "Mr.", - "validFor": null, - "value": "Mr." + "formFactor": null, + "isAvailableInTouch": true, + "name": "Delete", + "pageId": "0668c0000047iixAAA", + "url": "https:\/\/example.sandbox.vf.force.com\/apex\/CON_DeleteContactOverride?id=ENTITY_ID&_CONFIRMATIONTOKEN=EXAMPLEQ%3D%3D&common.udd.actions.ActionsUtilORIG_URI=%2Fapex%2Fnpsp__CON_DeleteContactOverride" }, { - "active": true, - "defaultValue": false, - "label": "Ms.", - "validFor": null, - "value": "Ms." + "formFactor": "LARGE", + "isAvailableInTouch": false, + "name": "View", + "pageId": "0M08c0000008Ks5CAE", + "url": null + } + ], + "activateable": false, + "associateEntityType": null, + "associateParentEntity": null, + "childRelationships": [ + { + "cascadeDelete": true, + "childSObject": "AIInsightValue", + "deprecatedAndHidden": false, + "field": "SobjectLookupValueId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Mrs.", - "validFor": null, - "value": "Mrs." + "cascadeDelete": true, + "childSObject": "AIRecordInsight", + "deprecatedAndHidden": false, + "field": "TargetId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Dr.", - "validFor": null, - "value": "Dr." + "cascadeDelete": false, + "childSObject": "AcceptedEventRelation", + "deprecatedAndHidden": false, + "field": "RelationId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "AcceptedEventRelations", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Prof.", - "validFor": null, - "value": "Prof." - } - ], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "picklist", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "Name": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 363, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": "personname", - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Full Name", - "length": 121, - "mask": null, - "maskType": null, - "name": "Name", - "nameField": true, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "RecordTypeId": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 18, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Record Type ID", - "length": 18, - "mask": null, - "maskType": null, - "name": "RecordTypeId", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [ - "RecordType" - ], - "relationshipName": "RecordType", - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "tns:ID", - "sortable": true, - "type": "reference", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OtherStreet": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 765, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "OtherAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": "plaintextarea", - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Other Street", - "length": 255, - "mask": null, - "maskType": null, - "name": "OtherStreet", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "textarea", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OtherCity": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "OtherAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Other City", - "length": 40, - "mask": null, - "maskType": null, - "name": "OtherCity", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OtherState": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 240, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "OtherAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Other State\/Province", - "length": 80, - "mask": null, - "maskType": null, - "name": "OtherState", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OtherPostalCode": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 60, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "OtherAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Other Zip\/Postal Code", - "length": 20, - "mask": null, - "maskType": null, - "name": "OtherPostalCode", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OtherCountry": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 240, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "OtherAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Other Country", - "length": 80, - "mask": null, - "maskType": null, - "name": "OtherCountry", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OtherLatitude": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "OtherAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Other Latitude", - "length": 0, - "mask": null, - "maskType": null, - "name": "OtherLatitude", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 18, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 15, - "searchPrefilterable": false, - "soapType": "xsd:double", - "sortable": true, - "type": "double", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OtherLongitude": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "OtherAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Other Longitude", - "length": 0, - "mask": null, - "maskType": null, - "name": "OtherLongitude", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 18, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 15, - "searchPrefilterable": false, - "soapType": "xsd:double", - "sortable": true, - "type": "double", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OtherGeocodeAccuracy": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "OtherAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Other Geocode Accuracy", - "length": 40, - "mask": null, - "maskType": null, - "name": "OtherGeocodeAccuracy", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [ + "cascadeDelete": true, + "childSObject": "AccountContactRole", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "AccountContactRoles", + "restrictedDelete": false + }, { - "active": true, - "defaultValue": false, - "label": "Address", - "validFor": null, - "value": "Address" + "cascadeDelete": false, + "childSObject": "AccountContactRoleChangeEvent", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "NearAddress", - "validFor": null, - "value": "NearAddress" + "cascadeDelete": true, + "childSObject": "ActivityHistory", + "deprecatedAndHidden": false, + "field": "WhoId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "ActivityHistories", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Block", - "validFor": null, - "value": "Block" + "cascadeDelete": true, + "childSObject": "Asset", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Assets", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Street", - "validFor": null, - "value": "Street" + "cascadeDelete": false, + "childSObject": "AssetChangeEvent", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "ExtendedZip", - "validFor": null, - "value": "ExtendedZip" + "cascadeDelete": true, + "childSObject": "AttachedContentDocument", + "deprecatedAndHidden": false, + "field": "LinkedEntityId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "AttachedContentDocuments", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Zip", - "validFor": null, - "value": "Zip" + "cascadeDelete": true, + "childSObject": "AttachedContentNote", + "deprecatedAndHidden": false, + "field": "LinkedEntityId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "AttachedContentNotes", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Neighborhood", - "validFor": null, - "value": "Neighborhood" + "cascadeDelete": true, + "childSObject": "Attachment", + "deprecatedAndHidden": false, + "field": "ParentId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Attachments", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "City", - "validFor": null, - "value": "City" + "cascadeDelete": false, + "childSObject": "AuthorizationFormConsent", + "deprecatedAndHidden": false, + "field": "ConsentGiverId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "AuthorizationFormConsents", + "restrictedDelete": true }, { - "active": true, - "defaultValue": false, - "label": "County", - "validFor": null, - "value": "County" + "cascadeDelete": false, + "childSObject": "AuthorizationFormConsentChangeEvent", + "deprecatedAndHidden": false, + "field": "ConsentGiverId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "State", - "validFor": null, - "value": "State" + "cascadeDelete": true, + "childSObject": "CampaignMember", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "CampaignMembers", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Unknown", - "validFor": null, - "value": "Unknown" - } - ], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": true, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "picklist", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OtherAddress": { - "aggregatable": false, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Other Address", - "length": 0, - "mask": null, - "maskType": null, - "name": "OtherAddress", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": true, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "urn:address", - "sortable": false, - "type": "address", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "MailingStreet": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 765, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "MailingAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": "plaintextarea", - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Mailing Street", - "length": 255, - "mask": null, - "maskType": null, - "name": "MailingStreet", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "textarea", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "MailingCity": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "MailingAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Mailing City", - "length": 40, - "mask": null, - "maskType": null, - "name": "MailingCity", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "MailingState": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 240, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "MailingAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Mailing State\/Province", - "length": 80, - "mask": null, - "maskType": null, - "name": "MailingState", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "MailingPostalCode": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 60, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "MailingAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Mailing Zip\/Postal Code", - "length": 20, - "mask": null, - "maskType": null, - "name": "MailingPostalCode", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "MailingCountry": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 240, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "MailingAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Mailing Country", - "length": 80, - "mask": null, - "maskType": null, - "name": "MailingCountry", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "MailingLatitude": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "MailingAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Mailing Latitude", - "length": 0, - "mask": null, - "maskType": null, - "name": "MailingLatitude", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 18, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 15, - "searchPrefilterable": false, - "soapType": "xsd:double", - "sortable": true, - "type": "double", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "MailingLongitude": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "MailingAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Mailing Longitude", - "length": 0, - "mask": null, - "maskType": null, - "name": "MailingLongitude", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 18, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 15, - "searchPrefilterable": false, - "soapType": "xsd:double", - "sortable": true, - "type": "double", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "MailingGeocodeAccuracy": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": "MailingAddress", - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Mailing Geocode Accuracy", - "length": 40, - "mask": null, - "maskType": null, - "name": "MailingGeocodeAccuracy", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [ + "cascadeDelete": false, + "childSObject": "CampaignMember", + "deprecatedAndHidden": false, + "field": "LeadOrContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, { - "active": true, - "defaultValue": false, - "label": "Address", - "validFor": null, - "value": "Address" + "cascadeDelete": false, + "childSObject": "CampaignMemberChangeEvent", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "NearAddress", - "validFor": null, - "value": "NearAddress" + "cascadeDelete": false, + "childSObject": "Case", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Cases", + "restrictedDelete": true }, { - "active": true, - "defaultValue": false, - "label": "Block", - "validFor": null, - "value": "Block" + "cascadeDelete": false, + "childSObject": "CaseChangeEvent", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Street", - "validFor": null, - "value": "Street" + "cascadeDelete": true, + "childSObject": "CaseContactRole", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "CaseContactRoles", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "ExtendedZip", - "validFor": null, - "value": "ExtendedZip" + "cascadeDelete": true, + "childSObject": "CaseTeamMember", + "deprecatedAndHidden": false, + "field": "MemberId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Zip", - "validFor": null, - "value": "Zip" + "cascadeDelete": true, + "childSObject": "CaseTeamTemplateMember", + "deprecatedAndHidden": false, + "field": "MemberId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Neighborhood", - "validFor": null, - "value": "Neighborhood" + "cascadeDelete": true, + "childSObject": "CollaborationGroupRecord", + "deprecatedAndHidden": false, + "field": "RecordId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "RecordAssociatedGroups", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "City", - "validFor": null, - "value": "City" + "cascadeDelete": true, + "childSObject": "CombinedAttachment", + "deprecatedAndHidden": false, + "field": "ParentId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "CombinedAttachments", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "County", - "validFor": null, - "value": "County" + "cascadeDelete": false, + "childSObject": "CommSubscriptionConsent", + "deprecatedAndHidden": false, + "field": "ConsentGiverId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "CommSubscriptionConsents", + "restrictedDelete": true }, { - "active": true, - "defaultValue": false, - "label": "State", - "validFor": null, - "value": "State" + "cascadeDelete": false, + "childSObject": "CommSubscriptionConsentChangeEvent", + "deprecatedAndHidden": false, + "field": "ConsentGiverId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Unknown", - "validFor": null, - "value": "Unknown" - } - ], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": true, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "picklist", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "MailingAddress": { - "aggregatable": false, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Mailing Address", - "length": 0, - "mask": null, - "maskType": null, - "name": "MailingAddress", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": true, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "urn:address", - "sortable": false, - "type": "address", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "Phone": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Business Phone", - "length": 40, - "mask": null, - "maskType": null, - "name": "Phone", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "phone", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "Fax": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Business Fax", - "length": 40, - "mask": null, - "maskType": null, - "name": "Fax", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "phone", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "MobilePhone": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Mobile Phone", - "length": 40, - "mask": null, - "maskType": null, - "name": "MobilePhone", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "phone", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "HomePhone": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Home Phone", - "length": 40, - "mask": null, - "maskType": null, - "name": "HomePhone", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "phone", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OtherPhone": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Other Phone", - "length": 40, - "mask": null, - "maskType": null, - "name": "OtherPhone", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "phone", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "AssistantPhone": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Asst. Phone", - "length": 40, - "mask": null, - "maskType": null, - "name": "AssistantPhone", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "phone", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "ReportsToId": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 18, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Reports To ID", - "length": 18, - "mask": null, - "maskType": null, - "name": "ReportsToId", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [ - "Contact" - ], - "relationshipName": "ReportsTo", - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": true, - "soapType": "tns:ID", - "sortable": true, - "type": "reference", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "Email": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 240, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": true, - "inlineHelpText": null, - "label": "Email", - "length": 80, - "mask": null, - "maskType": null, - "name": "Email", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "email", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "Title": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 384, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Title", - "length": 128, - "mask": null, - "maskType": null, - "name": "Title", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "Department": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 240, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Department", - "length": 80, - "mask": null, - "maskType": null, - "name": "Department", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "AssistantName": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Assistant's Name", - "length": 40, - "mask": null, - "maskType": null, - "name": "AssistantName", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "LeadSource": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 120, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Lead Source", - "length": 40, - "mask": null, - "maskType": null, - "name": "LeadSource", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [ + "cascadeDelete": false, + "childSObject": "Contact", + "deprecatedAndHidden": false, + "field": "ReportsToId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, { - "active": true, - "defaultValue": false, - "label": "Web", - "validFor": null, - "value": "Web" + "cascadeDelete": false, + "childSObject": "ContactChangeEvent", + "deprecatedAndHidden": false, + "field": "ReportsToId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Phone Inquiry", - "validFor": null, - "value": "Phone Inquiry" + "cascadeDelete": true, + "childSObject": "ContactFeed", + "deprecatedAndHidden": false, + "field": "ParentId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Feeds", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Partner Referral", - "validFor": null, - "value": "Partner Referral" + "cascadeDelete": true, + "childSObject": "ContactHistory", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Histories", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Purchased List", - "validFor": null, - "value": "Purchased List" + "cascadeDelete": false, + "childSObject": "ContactRequest", + "deprecatedAndHidden": false, + "field": "WhoId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "ContactRequests", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Other", - "validFor": null, - "value": "Other" - } - ], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "picklist", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "Birthdate": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Birthdate", - "length": 0, - "mask": null, - "maskType": null, - "name": "Birthdate", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:date", - "sortable": true, - "type": "date", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "Description": { - "aggregatable": false, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 96000, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": "plaintextarea", - "filterable": false, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Contact Description", - "length": 32000, - "mask": null, - "maskType": null, - "name": "Description", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": false, - "type": "textarea", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "OwnerId": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 18, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Owner ID", - "length": 18, - "mask": null, - "maskType": null, - "name": "OwnerId", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [ - "User" - ], - "relationshipName": "Owner", - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "tns:ID", - "sortable": true, - "type": "reference", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "CreatedDate": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Created Date", - "length": 0, - "mask": null, - "maskType": null, - "name": "CreatedDate", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:dateTime", - "sortable": true, - "type": "datetime", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "CreatedById": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 18, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Created By ID", - "length": 18, - "mask": null, - "maskType": null, - "name": "CreatedById", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [ - "User" - ], - "relationshipName": "CreatedBy", - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "tns:ID", - "sortable": true, - "type": "reference", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "LastModifiedDate": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Last Modified Date", - "length": 0, - "mask": null, - "maskType": null, - "name": "LastModifiedDate", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:dateTime", - "sortable": true, - "type": "datetime", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "LastModifiedById": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 18, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Last Modified By ID", - "length": 18, - "mask": null, - "maskType": null, - "name": "LastModifiedById", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [ - "User" - ], - "relationshipName": "LastModifiedBy", - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "tns:ID", - "sortable": true, - "type": "reference", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "SystemModstamp": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "System Modstamp", - "length": 0, - "mask": null, - "maskType": null, - "name": "SystemModstamp", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:dateTime", - "sortable": true, - "type": "datetime", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "LastActivityDate": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Last Activity", - "length": 0, - "mask": null, - "maskType": null, - "name": "LastActivityDate", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:date", - "sortable": true, - "type": "date", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "LastCURequestDate": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Last Stay-in-Touch Request Date", - "length": 0, - "mask": null, - "maskType": null, - "name": "LastCURequestDate", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:dateTime", - "sortable": true, - "type": "datetime", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "LastCUUpdateDate": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Last Stay-in-Touch Save Date", - "length": 0, - "mask": null, - "maskType": null, - "name": "LastCUUpdateDate", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:dateTime", - "sortable": true, - "type": "datetime", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "LastViewedDate": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Last Viewed Date", - "length": 0, - "mask": null, - "maskType": null, - "name": "LastViewedDate", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:dateTime", - "sortable": true, - "type": "datetime", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "LastReferencedDate": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Last Referenced Date", - "length": 0, - "mask": null, - "maskType": null, - "name": "LastReferencedDate", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:dateTime", - "sortable": true, - "type": "datetime", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "EmailBouncedReason": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 765, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Email Bounced Reason", - "length": 255, - "mask": null, - "maskType": null, - "name": "EmailBouncedReason", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "EmailBouncedDate": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Email Bounced Date", - "length": 0, - "mask": null, - "maskType": null, - "name": "EmailBouncedDate", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:dateTime", - "sortable": true, - "type": "datetime", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "IsEmailBounced": { - "aggregatable": false, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": false, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Is Email Bounced", - "length": 0, - "mask": null, - "maskType": null, - "name": "IsEmailBounced", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:boolean", - "sortable": true, - "type": "boolean", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "PhotoUrl": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 765, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": "imageurl", - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Photo URL", - "length": 255, - "mask": null, - "maskType": null, - "name": "PhotoUrl", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "url", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "Jigsaw": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 60, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Data.com Key", - "length": 20, - "mask": null, - "maskType": null, - "name": "Jigsaw", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "JigsawContactId": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 60, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Jigsaw Contact ID", - "length": 20, - "mask": null, - "maskType": null, - "name": "JigsawContactId", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": "JigsawContact", - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "IndividualId": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 18, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": false, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Individual ID", - "length": 18, - "mask": null, - "maskType": null, - "name": "IndividualId", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": false, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [ - "Individual" - ], - "relationshipName": "Individual", - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": true, - "soapType": "tns:ID", - "sortable": true, - "type": "reference", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Level__c": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 765, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Level", - "length": 255, - "mask": null, - "maskType": null, - "name": "d5__Level__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [ + "cascadeDelete": true, + "childSObject": "ContactShare", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Shares", + "restrictedDelete": false + }, { - "active": true, - "defaultValue": false, - "label": "Secondary", - "validFor": null, - "value": "Secondary" + "cascadeDelete": true, + "childSObject": "ContentDistribution", + "deprecatedAndHidden": false, + "field": "RelatedRecordId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Tertiary", - "validFor": null, - "value": "Tertiary" + "cascadeDelete": true, + "childSObject": "ContentDocumentLink", + "deprecatedAndHidden": false, + "field": "LinkedEntityId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "ContentDocumentLinks", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Primary", - "validFor": null, - "value": "Primary" - } - ], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "picklist", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Languages__c": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 300, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Languages", - "length": 100, - "mask": null, - "maskType": null, - "name": "d5__Languages__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Unique_Email__c": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 240, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": true, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": true, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": true, - "inlineHelpText": null, - "label": "Unique Email", - "length": 80, - "mask": null, - "maskType": null, - "name": "d5__Unique_Email__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "email", - "unique": true, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Drupal_ID__c": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": true, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Drupal ID", - "length": 0, - "mask": null, - "maskType": null, - "name": "d5__Drupal_ID__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 18, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:double", - "sortable": true, - "type": "double", - "unique": true, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Organization_text__c": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 765, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Organization (text)", - "length": 255, - "mask": null, - "maskType": null, - "name": "d5__Organization_text__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Lead_Source_Other__c": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 765, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Lead Source (Other)", - "length": 255, - "mask": null, - "maskType": null, - "name": "d5__Lead_Source_Other__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Do_Not_Mail__c": { - "aggregatable": false, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": false, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Do Not Mail", - "length": 0, - "mask": null, - "maskType": null, - "name": "d5__Do_Not_Mail__c", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:boolean", - "sortable": true, - "type": "boolean", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Deceased__c": { - "aggregatable": false, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": false, - "defaultValueFormula": null, - "defaultedOnCreate": true, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Deceased", - "length": 0, - "mask": null, - "maskType": null, - "name": "d5__Deceased__c", - "nameField": false, - "namePointing": false, - "nillable": false, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:boolean", - "sortable": true, - "type": "boolean", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Deceased_Date__c": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 0, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": true, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Deceased Date", - "length": 0, - "mask": null, - "maskType": null, - "name": "d5__Deceased_Date__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:date", - "sortable": true, - "type": "date", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Drupal_URL__c": { - "aggregatable": true, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 3900, - "calculated": true, - "calculatedFormula": "$Setup.d5__Drupal_Settings__c.d5__Drupal_URL__c + '\/salesforce\/' + Id", - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": false, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": true, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Drupal URL", - "length": 1300, - "mask": null, - "maskType": null, - "name": "d5__Drupal_URL__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "string", - "unique": false, - "updateable": false, - "writeRequiresMasterRead": false - }, - "d5__Multipicklist_Test__c": { - "aggregatable": true, - "autoNumber": false, - "byteLength": 4099, - "calculated": true, - "calculatedFormula": "", - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Multipicklist Test", - "length": 4099, - "mask": null, - "maskType": null, - "name": "d5__Multipicklist_Test__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [ + "cascadeDelete": false, + "childSObject": "ContentVersion", + "deprecatedAndHidden": false, + "field": "FirstPublishLocationId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, { - "active": true, - "defaultValue": false, - "label": "Value 1", - "validFor": null, - "value": "Value 1" + "cascadeDelete": false, + "childSObject": "Contract", + "deprecatedAndHidden": false, + "field": "CustomerSignedId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "ContractsSigned", + "restrictedDelete": true }, { - "active": true, - "defaultValue": false, - "label": "Value 2", - "validFor": null, - "value": "Value 2" + "cascadeDelete": false, + "childSObject": "ContractChangeEvent", + "deprecatedAndHidden": false, + "field": "CustomerSignedId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "Value 3", - "validFor": null, - "value": "Value 3" - } - ], - "polymorphicForeignKey": false, - "precision": 0, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": true, - "type": "multipicklist", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__interests__c": { - "aggregatable": false, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 4099, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "interests", - "length": 4099, - "mask": null, - "maskType": null, - "name": "d5__interests__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [ + "cascadeDelete": true, + "childSObject": "ContractContactRole", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "ContractContactRoles", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "DeclinedEventRelation", + "deprecatedAndHidden": false, + "field": "RelationId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "DeclinedEventRelations", + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "DuplicateRecordItem", + "deprecatedAndHidden": false, + "field": "RecordId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "DuplicateRecordItems", + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "EmailMessageRelation", + "deprecatedAndHidden": false, + "field": "RelationId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "EmailMessageRelations", + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "EmailStatus", + "deprecatedAndHidden": false, + "field": "WhoId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "EmailStatuses", + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "EntitlementContact", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "EntitlementContacts", + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "EntitySubscription", + "deprecatedAndHidden": false, + "field": "ParentId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "FeedSubscriptionsForEntity", + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "Event", + "deprecatedAndHidden": false, + "field": "WhoId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Events", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "EventChangeEvent", + "deprecatedAndHidden": false, + "field": "WhoId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "EventRelation", + "deprecatedAndHidden": false, + "field": "RelationId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "EventRelations", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "EventRelationChangeEvent", + "deprecatedAndHidden": false, + "field": "RelationId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "FeedComment", + "deprecatedAndHidden": false, + "field": "ParentId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "FeedItem", + "deprecatedAndHidden": false, + "field": "ParentId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "FlowExecutionErrorEvent", + "deprecatedAndHidden": false, + "field": "ContextRecordId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "FlowRecordRelation", + "deprecatedAndHidden": false, + "field": "RelatedRecordId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, { - "active": true, - "defaultValue": false, - "label": "test1", - "validFor": null, - "value": "test1" + "cascadeDelete": false, + "childSObject": "Lead", + "deprecatedAndHidden": false, + "field": "ConvertedContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "test2", - "validFor": null, - "value": "test2" + "cascadeDelete": false, + "childSObject": "LeadChangeEvent", + "deprecatedAndHidden": false, + "field": "ConvertedContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "test3", - "validFor": null, - "value": "test3" + "cascadeDelete": true, + "childSObject": "ListEmailIndividualRecipient", + "deprecatedAndHidden": false, + "field": "RecipientId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "ListEmailIndividualRecipients", + "restrictedDelete": false }, { - "active": true, - "defaultValue": false, - "label": "test4", - "validFor": null, - "value": "test4" + "cascadeDelete": true, + "childSObject": "MatchingInformation", + "deprecatedAndHidden": false, + "field": "SFDCIdId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "Note", + "deprecatedAndHidden": false, + "field": "ParentId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Notes", + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "NoteAndAttachment", + "deprecatedAndHidden": false, + "field": "ParentId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "NotesAndAttachments", + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "OpenActivity", + "deprecatedAndHidden": false, + "field": "WhoId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "OpenActivities", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "Opportunity", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Opportunities", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "OpportunityChangeEvent", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "OpportunityContactRole", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "OpportunityContactRoles", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "OpportunityContactRoleChangeEvent", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "Order", + "deprecatedAndHidden": false, + "field": "CustomerAuthorizedById", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": true + }, + { + "cascadeDelete": false, + "childSObject": "OrderChangeEvent", + "deprecatedAndHidden": false, + "field": "CustomerAuthorizedById", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "ProcessInstance", + "deprecatedAndHidden": false, + "field": "TargetObjectId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "ProcessInstances", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "ProcessInstanceHistory", + "deprecatedAndHidden": false, + "field": "TargetObjectId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "ProcessSteps", + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "RecordAction", + "deprecatedAndHidden": false, + "field": "RecordId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "RecordActions", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "RecordActionHistory", + "deprecatedAndHidden": false, + "field": "ParentRecordId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "RecordActionHistories", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "ServiceContract", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "ServiceContracts", + "restrictedDelete": true + }, + { + "cascadeDelete": false, + "childSObject": "ServiceContractChangeEvent", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "SocialPersona", + "deprecatedAndHidden": false, + "field": "ParentId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Personas", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "SocialPost", + "deprecatedAndHidden": false, + "field": "WhoId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Posts", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "SocialPostChangeEvent", + "deprecatedAndHidden": false, + "field": "WhoId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "Task", + "deprecatedAndHidden": false, + "field": "WhoId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Tasks", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "TaskChangeEvent", + "deprecatedAndHidden": false, + "field": "WhoId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "TopicAssignment", + "deprecatedAndHidden": false, + "field": "EntityId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "TopicAssignments", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "UndecidedEventRelation", + "deprecatedAndHidden": false, + "field": "RelationId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "UndecidedEventRelations", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "User", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "Users", + "restrictedDelete": true + }, + { + "cascadeDelete": false, + "childSObject": "UserChangeEvent", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false + }, + { + "cascadeDelete": true, + "childSObject": "UserEmailPreferredPerson", + "deprecatedAndHidden": false, + "field": "PersonRecordId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "PersonRecord", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "WorkOrder", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": "WorkOrders", + "restrictedDelete": false + }, + { + "cascadeDelete": false, + "childSObject": "WorkOrderChangeEvent", + "deprecatedAndHidden": false, + "field": "ContactId", + "junctionIdListNames": [], + "junctionReferenceTo": [], + "relationshipName": null, + "restrictedDelete": false } - ], - "polymorphicForeignKey": false, - "precision": 4, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": false, - "type": "multipicklist", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false - }, - "d5__Test_Multipicklist__c": { - "aggregatable": false, - "aiPredictionField": false, - "autoNumber": false, - "byteLength": 4099, - "calculated": false, - "calculatedFormula": null, - "cascadeDelete": false, - "caseSensitive": false, - "compoundFieldName": null, - "controllerName": null, - "createable": true, - "custom": true, - "defaultValue": null, - "defaultValueFormula": null, - "defaultedOnCreate": false, - "dependentPicklist": false, - "deprecatedAndHidden": false, - "digits": 0, - "displayLocationInDecimal": false, - "encrypted": false, - "externalId": false, - "extraTypeInfo": null, - "filterable": true, - "filteredLookupInfo": null, - "formulaTreatNullNumberAsZero": false, - "groupable": false, - "highScaleNumber": false, - "htmlFormatted": false, - "idLookup": false, - "inlineHelpText": null, - "label": "Test Multipicklist", - "length": 4099, - "mask": null, - "maskType": null, - "name": "d5__Test_Multipicklist__c", - "nameField": false, - "namePointing": false, - "nillable": true, - "permissionable": true, - "picklistValues": [ + ], + "compactLayoutable": true, + "createable": true, + "custom": false, + "customSetting": false, + "deepCloneable": false, + "defaultImplementation": null, + "deletable": true, + "deprecatedAndHidden": false, + "extendedBy": null, + "extendsInterfaces": null, + "feedEnabled": true, + "hasSubtypes": false, + "implementedBy": null, + "implementsInterfaces": null, + "isInterface": false, + "isSubtype": false, + "keyPrefix": "003", + "label": "Contact", + "labelPlural": "Contacts", + "layoutable": true, + "listviewable": null, + "lookupLayoutable": null, + "mergeable": true, + "mruEnabled": true, + "name": "Contact", + "namedLayoutInfos": [], + "networkScopeFieldName": null, + "queryable": true, + "recordTypeInfos": [ + { + "active": true, + "available": true, + "defaultRecordTypeMapping": false, + "developerName": "Member", + "master": false, + "name": "Member", + "recordTypeId": "0128c000001zFVTAA2", + "urls": { + "layout": "\/services\/data\/v52.0\/sobjects\/Contact\/describe\/layouts\/0128c000001zFVTAA2" + } + }, + { + "active": true, + "available": true, + "defaultRecordTypeMapping": true, + "developerName": "Other", + "master": false, + "name": "Other", + "recordTypeId": "0128c000001zFVOAA2", + "urls": { + "layout": "\/services\/data\/v52.0\/sobjects\/Contact\/describe\/layouts\/0128c000001zFVOAA2" + } + }, + { + "active": true, + "available": true, + "defaultRecordTypeMapping": false, + "developerName": "Master", + "master": true, + "name": "Master", + "recordTypeId": "012000000000000AAA", + "urls": { + "layout": "\/services\/data\/v52.0\/sobjects\/Contact\/describe\/layouts\/012000000000000AAA" + } + } + ], + "replicateable": true, + "retrieveable": true, + "searchLayoutable": true, + "searchable": true, + "sobjectDescribeOption": "FULL", + "supportedScopes": [ { - "active": true, - "defaultValue": false, - "label": "Value 1", - "validFor": null, - "value": "Value 1" + "label": "All contacts", + "name": "everything" }, { - "active": true, - "defaultValue": false, - "label": "Value 2", - "validFor": null, - "value": "Value 2" + "label": "My contacts", + "name": "mine" }, { - "active": true, - "defaultValue": false, - "label": "Value 3", - "validFor": null, - "value": "Value 3" + "label": "My team's contacts", + "name": "team" } - ], - "polymorphicForeignKey": false, - "precision": 4, - "queryByDistance": false, - "referenceTargetField": null, - "referenceTo": [], - "relationshipName": null, - "relationshipOrder": null, - "restrictedDelete": false, - "restrictedPicklist": false, - "scale": 0, - "searchPrefilterable": false, - "soapType": "xsd:string", - "sortable": false, - "type": "multipicklist", - "unique": false, - "updateable": true, - "writeRequiresMasterRead": false + ], + "triggerable": true, + "undeletable": true, + "updateable": true, + "urls": { + "compactLayouts": "\/services\/data\/v52.0\/sobjects\/Contact\/describe\/compactLayouts", + "rowTemplate": "\/services\/data\/v52.0\/sobjects\/Contact\/{ID}", + "approvalLayouts": "\/services\/data\/v52.0\/sobjects\/Contact\/describe\/approvalLayouts", + "uiDetailTemplate": "https:\/\/example--dev.sandbox.my.salesforce.com\/{ID}", + "uiEditTemplate": "https:\/\/example--dev.sandbox.my.salesforce.com\/{ID}\/e", + "listviews": "\/services\/data\/v52.0\/sobjects\/Contact\/listviews", + "describe": "\/services\/data\/v52.0\/sobjects\/Contact\/describe", + "uiNewRecord": "https:\/\/example--dev.sandbox.my.salesforce.com\/003\/e", + "quickActions": "\/services\/data\/v52.0\/sobjects\/Contact\/quickActions", + "layouts": "\/services\/data\/v52.0\/sobjects\/Contact\/describe\/layouts", + "sobject": "\/services\/data\/v52.0\/sobjects\/Contact" } - } } diff --git a/tests/src/Unit/RestClientTest.php b/tests/src/Unit/RestClientTest.php index 72f01ae2..3d4a34d7 100644 --- a/tests/src/Unit/RestClientTest.php +++ b/tests/src/Unit/RestClientTest.php @@ -38,6 +38,32 @@ class RestClientTest extends UnitTestCase { */ protected static $modules = ['salesforce']; + protected $authConfig; + + protected $authMan; + + protected $authProvider; + + protected $authToken; + + protected $cache; + + protected $client; + + protected $configFactory; + + protected $httpClient; + + protected $json; + + protected $methods; + + protected $salesforce_id; + + protected $state; + + protected $time; + /** * Set up for each test. */ @@ -57,7 +83,8 @@ class RestClientTest extends UnitTestCase { $this->getMockBuilder(State::CLASS) ->disableOriginalConstructor() ->getMock(); - $this->cache = $this->getMockBuilder(CacheBackendInterface::CLASS)->getMock(); + $this->cache = $this->getMockBuilder(CacheBackendInterface::CLASS) + ->getMock(); $this->json = $this->getMockBuilder(Json::CLASS)->getMock(); $this->time = $this->getMockBuilder(TimeInterface::CLASS)->getMock(); $this->authToken = $this->getMockBuilder(TokenInterface::CLASS)->getMock(); @@ -347,7 +374,7 @@ class RestClientTest extends UnitTestCase { new GuzzleResponse('200', ['Content-Type' => 'application/json'], json_encode([ 'id' => $this->salesforce_id, ])) - ); + ); $sfid = new SFID($this->salesforce_id); $this->client->expects($this->once()) @@ -538,7 +565,7 @@ class RestClientTest extends UnitTestCase { $recordTypes = [ $sObjectType => [ $developerName => - new SObject($rawQueryResult['records'][0]), + new SObject($rawQueryResult['records'][0]), ], ]; @@ -578,7 +605,7 @@ class RestClientTest extends UnitTestCase { $recordTypes = [ $sObjectType => [ $developerName => - new SObject($rawQueryResult['records'][0]), + new SObject($rawQueryResult['records'][0]), ], ]; $cache = (object) [ @@ -619,7 +646,7 @@ class RestClientTest extends UnitTestCase { $recordTypes = [ $sObjectType => [ $developerName => - new SObject($rawQueryResult['records'][0]), + new SObject($rawQueryResult['records'][0]), ], ]; $cache = (object) [ diff --git a/tests/src/Unit/SelectQueryResultTest.php b/tests/src/Unit/SelectQueryResultTest.php index e5262119..7be736b7 100644 --- a/tests/src/Unit/SelectQueryResultTest.php +++ b/tests/src/Unit/SelectQueryResultTest.php @@ -20,6 +20,13 @@ class SelectQueryResultTest extends UnitTestCase { */ protected static $modules = ['salesforce']; + /** + * Query result. + * + * @var \Drupal\salesforce\SelectQueryResult + */ + protected SelectQueryResult $sqr; + /** * {@inheritdoc} */ -- GitLab