Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { type DataConnector } from '@amalia/core/models';
import { DataConnectorCategories, DataConnectorTypes } from '@amalia/data-capture/connectors/types';
import { company } from './company';
export const connectors = {
salesforce: {
id: '33bc4e5c-3963-4875-8b2d-86e302f66f0f',
category: DataConnectorCategories.DATA,
company,
companyId: company.id,
createdAt: new Date(),
updatedAt: new Date(),
source: {
objects: [
{
name: 'Opportunity',
label: 'Opportunity',
fields: [
{
isId: false,
name: 'license',
type: 'number',
label: 'License',
unique: false,
},
{
isId: false,
name: 'closeDate',
type: 'string',
label: 'Close Date',
unique: false,
},
{
isId: false,
name: 'jumpstart',
type: 'number',
label: 'Jumpstart',
unique: false,
},
{
isId: false,
name: 'totalAmount',
type: 'number',
label: 'Total Amount',
unique: false,
},
{
isId: false,
name: 'currencyIsoCode',
type: 'string',
label: 'Currency Iso Code',
unique: false,
},
{
isId: false,
name: 'contractTerm',
type: 'number',
label: 'Contract Term',
unique: false,
},
{
isId: true,
name: 'opportunityId',
type: 'string',
label: 'OpportunityId',
unique: true,
},
{
isId: false,
name: 'previousOpportunityId',
type: 'string',
label: 'previousOpportunityId',
unique: false,
},
{
isId: false,
name: 'opportunityName',
type: 'string',
label: 'Opportunity Name',
unique: false,
isName: true,
},
{
isId: false,
name: 'opportunityOwner',
type: 'string',
label: 'Opportunity Owner',
unique: false,
},
{
isId: false,
name: 'invoicingFrequency',
type: 'string',
label: 'Invoicing Frequency',
unique: false,
},
{
isId: false,
name: 'supportExlJumpstart',
type: 'number',
label: 'Support exl Jumpstart',
unique: false,
},
{
isId: false,
name: 'isItAnExKameleoonOptimizelyClient',
type: 'string',
label: 'Is it an ex KameleoonOptimizely Client',
unique: false,
},
{
isId: false,
name: 'isTheContractManagedOnlyByTheAccountExecutive',
type: 'boolean',
label: 'Is the contract Managed only by the Account Executive',
unique: false,
},
{
isId: false,
name: 'totalPrice',
type: 'currency',
label: 'Total Price',
unique: false,
},
],
frequencyCron: '0 0 * * *',
},
],
},
encryptedAuth: null,
type: DataConnectorTypes.SALESFORCE,
alias: null,
},
} as const satisfies Record<string, DataConnector>;
|