Update seed links format
This commit is contained in:
@ -22,8 +22,8 @@ export const seedCalendarEvents = async (
|
|||||||
'location',
|
'location',
|
||||||
'iCalUID',
|
'iCalUID',
|
||||||
'conferenceSolution',
|
'conferenceSolution',
|
||||||
'conferenceLinkLabel',
|
'conferenceLinkPrimaryLinkLabel',
|
||||||
'conferenceLinkUrl',
|
'conferenceLinkPrimaryLinkUrl',
|
||||||
'recurringEventExternalId',
|
'recurringEventExternalId',
|
||||||
])
|
])
|
||||||
.orIgnore()
|
.orIgnore()
|
||||||
@ -41,8 +41,8 @@ export const seedCalendarEvents = async (
|
|||||||
location: 'Seattle',
|
location: 'Seattle',
|
||||||
iCalUID: 'event1@calendar.com',
|
iCalUID: 'event1@calendar.com',
|
||||||
conferenceSolution: 'Zoom',
|
conferenceSolution: 'Zoom',
|
||||||
conferenceLinkLabel: 'https://zoom.us/j/1234567890',
|
conferenceLinkPrimaryLinkLabel: 'https://zoom.us/j/1234567890',
|
||||||
conferenceLinkUrl: 'https://zoom.us/j/1234567890',
|
conferenceLinkPrimaryLinkUrl: 'https://zoom.us/j/1234567890',
|
||||||
recurringEventExternalId: 'recurring1',
|
recurringEventExternalId: 'recurring1',
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
|||||||
@ -21,7 +21,7 @@ export const DUPLICATE_CRITERIA_COLLECTION: RecordDuplicateCriteria[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
objectName: 'person',
|
objectName: 'person',
|
||||||
columnNames: ['linkedinLinkUrl'],
|
columnNames: ['linkedinLinkPrimaryLinkUrl'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
objectName: 'person',
|
objectName: 'person',
|
||||||
|
|||||||
@ -28,7 +28,8 @@ export class IntelligenceService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
linkedinLinkUrl: `https://linkedin.com/` + enrichedCompany.data.handle,
|
linkedinLinkPrimaryLinkUrl:
|
||||||
|
`https://linkedin.com/` + enrichedCompany.data.handle,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
export interface CompanyInteface {
|
export interface CompanyInteface {
|
||||||
linkedinLinkUrl?: string;
|
linkedinLinkPrimaryLinkUrl?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,11 +5,11 @@ import { v4 as uuidv4 } from 'uuid';
|
|||||||
import { Record as IRecord } from 'src/engine/api/graphql/workspace-query-builder/interfaces/record.interface';
|
import { Record as IRecord } from 'src/engine/api/graphql/workspace-query-builder/interfaces/record.interface';
|
||||||
import { ObjectMetadataInterface } from 'src/engine/metadata-modules/field-metadata/interfaces/object-metadata.interface';
|
import { ObjectMetadataInterface } from 'src/engine/metadata-modules/field-metadata/interfaces/object-metadata.interface';
|
||||||
|
|
||||||
import { isWorkEmail } from 'src/utils/is-work-email';
|
|
||||||
import { stringifyWithoutKeyQuote } from 'src/engine/api/graphql/workspace-query-builder/utils/stringify-without-key-quote.util';
|
import { stringifyWithoutKeyQuote } from 'src/engine/api/graphql/workspace-query-builder/utils/stringify-without-key-quote.util';
|
||||||
import { WorkspaceQueryRunnerService } from 'src/engine/api/graphql/workspace-query-runner/workspace-query-runner.service';
|
import { WorkspaceQueryRunnerService } from 'src/engine/api/graphql/workspace-query-runner/workspace-query-runner.service';
|
||||||
import { IntelligenceService } from 'src/engine/core-modules/quick-actions/intelligence.service';
|
import { IntelligenceService } from 'src/engine/core-modules/quick-actions/intelligence.service';
|
||||||
import { capitalize } from 'src/utils/capitalize';
|
import { capitalize } from 'src/utils/capitalize';
|
||||||
|
import { isWorkEmail } from 'src/utils/is-work-email';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class QuickActionsService {
|
export class QuickActionsService {
|
||||||
@ -138,7 +138,7 @@ export class QuickActionsService {
|
|||||||
id
|
id
|
||||||
domainName
|
domainName
|
||||||
createdAt
|
createdAt
|
||||||
linkedinLinkUrl
|
linkedinLinkPrimaryLinkUrl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -14,7 +14,7 @@ export const companyPrefillDemoData = async (
|
|||||||
'domainName',
|
'domainName',
|
||||||
'addressAddressCity',
|
'addressAddressCity',
|
||||||
'employees',
|
'employees',
|
||||||
'linkedinLinkUrl',
|
'linkedinLinkPrimaryLinkUrl',
|
||||||
'position',
|
'position',
|
||||||
])
|
])
|
||||||
.orIgnore()
|
.orIgnore()
|
||||||
|
|||||||
@ -46,6 +46,7 @@ export const opportunityPrefillDemoData = async (
|
|||||||
.insert()
|
.insert()
|
||||||
.into(`${schemaName}.${tableName}`, [
|
.into(`${schemaName}.${tableName}`, [
|
||||||
'id',
|
'id',
|
||||||
|
'name',
|
||||||
'amountAmountMicros',
|
'amountAmountMicros',
|
||||||
'amountCurrencyCode',
|
'amountCurrencyCode',
|
||||||
'closeDate',
|
'closeDate',
|
||||||
|
|||||||
@ -15,7 +15,7 @@ export const personPrefillDemoData = async (
|
|||||||
nameFirstName: person.firstName,
|
nameFirstName: person.firstName,
|
||||||
nameLastName: person.lastName,
|
nameLastName: person.lastName,
|
||||||
email: person.email,
|
email: person.email,
|
||||||
linkedinLinkUrl: person.linkedinUrl,
|
linkedinLinkPrimaryLinkUrl: person.linkedinUrl,
|
||||||
jobTitle: person.jobTitle,
|
jobTitle: person.jobTitle,
|
||||||
city: person.city,
|
city: person.city,
|
||||||
avatarUrl: person.avatarUrl,
|
avatarUrl: person.avatarUrl,
|
||||||
@ -30,7 +30,7 @@ export const personPrefillDemoData = async (
|
|||||||
'nameFirstName',
|
'nameFirstName',
|
||||||
'nameLastName',
|
'nameLastName',
|
||||||
'email',
|
'email',
|
||||||
'linkedinLinkUrl',
|
'linkedinLinkPrimaryLinkUrl',
|
||||||
'jobTitle',
|
'jobTitle',
|
||||||
'city',
|
'city',
|
||||||
'avatarUrl',
|
'avatarUrl',
|
||||||
|
|||||||
Reference in New Issue
Block a user