Seed update - Replaced Qonto by Anthropic (#12340)

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Thomas des Francs
2025-06-02 16:42:53 +02:00
committed by GitHub
parent f81d396413
commit e13d83b660
11 changed files with 225 additions and 225 deletions

View File

@ -75,7 +75,7 @@ describe('getActivityPreview', () => {
props: {
backgroundColor: 'default',
textAlignment: 'left',
url: 'https://twenty-icons.com/qonto.com',
url: 'https://twenty-icons.com/anthropic.com',
caption: '',
width: 230,
},

View File

@ -75,7 +75,7 @@ describe('getActivitySummary', () => {
props: {
backgroundColor: 'default',
textAlignment: 'left',
url: 'https://twenty-icons.com/qonto.com',
url: 'https://twenty-icons.com/anthropic.com',
caption: '',
width: 230,
},

View File

@ -51,7 +51,7 @@ exports[`useDeleteOneRecord B. Starting from filled cache 1. Should handle succe
"name": "Linkedin",
"position": 1,
},
"createdAt": "2024-08-02T09:52:46.814Z",
"createdAt": "2025-01-02T09:52:46.814Z",
"createdBy": {
"__typename": "Actor",
"name": "Tim Apple",
@ -136,7 +136,7 @@ exports[`useDeleteOneRecord B. Starting from filled cache 1. Should handle succe
{
"__typename": "Person",
"city": "Seattle",
"createdAt": "2024-08-01T09:50:00.000Z",
"createdAt": "2025-01-01T09:50:00.000Z",
"createdBy": {
"__typename": "Actor",
"name": "Tim Apple",
@ -173,7 +173,7 @@ exports[`useDeleteOneRecord B. Starting from filled cache 1. Should handle succe
{
"__typename": "Person",
"city": "Los Angeles",
"createdAt": "2024-08-02T09:48:36.193Z",
"createdAt": "2025-01-02T09:48:36.193Z",
"createdBy": {
"__typename": "Actor",
"name": "Tim Apple",
@ -256,7 +256,7 @@ exports[`useDeleteOneRecord B. Starting from filled cache 2. Should handle optim
"name": "Linkedin",
"position": 1,
},
"createdAt": "2024-08-02T09:52:46.814Z",
"createdAt": "2025-01-02T09:52:46.814Z",
"createdBy": {
"__typename": "Actor",
"name": "Tim Apple",
@ -341,7 +341,7 @@ exports[`useDeleteOneRecord B. Starting from filled cache 2. Should handle optim
{
"__typename": "Person",
"city": "Seattle",
"createdAt": "2024-08-01T09:50:00.000Z",
"createdAt": "2025-01-01T09:50:00.000Z",
"createdBy": {
"__typename": "Actor",
"name": "Tim Apple",
@ -378,7 +378,7 @@ exports[`useDeleteOneRecord B. Starting from filled cache 2. Should handle optim
{
"__typename": "Person",
"city": "Los Angeles",
"createdAt": "2024-08-02T09:48:36.193Z",
"createdAt": "2025-01-02T09:48:36.193Z",
"createdBy": {
"__typename": "Actor",
"name": "Tim Apple",
@ -461,7 +461,7 @@ exports[`useDeleteOneRecord B. Starting from filled cache 3. Should handle optim
"name": "Linkedin",
"position": 1,
},
"createdAt": "2024-08-02T09:52:46.814Z",
"createdAt": "2025-01-02T09:52:46.814Z",
"createdBy": {
"__typename": "Actor",
"name": "Tim Apple",
@ -546,7 +546,7 @@ exports[`useDeleteOneRecord B. Starting from filled cache 3. Should handle optim
{
"__typename": "Person",
"city": "Seattle",
"createdAt": "2024-08-01T09:50:00.000Z",
"createdAt": "2025-01-01T09:50:00.000Z",
"createdBy": {
"__typename": "Actor",
"name": "Tim Apple",
@ -583,7 +583,7 @@ exports[`useDeleteOneRecord B. Starting from filled cache 3. Should handle optim
{
"__typename": "Person",
"city": "Los Angeles",
"createdAt": "2024-08-02T09:48:36.193Z",
"createdAt": "2025-01-02T09:48:36.193Z",
"createdBy": {
"__typename": "Actor",
"name": "Tim Apple",

View File

@ -3,25 +3,25 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'Company',
id: '04b2e9f5-0713-40a5-8216-82802401d33e',
domainName: {
primaryLinkUrl: 'qonto.com',
primaryLinkUrl: 'anthropic.com',
primaryLinkLabel: '',
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
employees: 1400,
name: 'Qonto',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 1100,
name: 'Anthropic',
favorites: {
__typename: 'FavoriteConnection',
edges: [],
},
address: {
addressStreet1: 'OLINDA SAS',
addressStreet2: '18 rue de Navarin',
addressStreet1: '548 Market Street',
addressStreet2: null,
addressState: null,
addressPostcode: '75009',
addressCountry: 'France',
addressCity: 'Paris',
addressPostcode: '94104',
addressCountry: 'United States',
addressCity: 'San Francisco',
addressLat: null,
addressLng: null,
__typename: 'Address',
@ -39,7 +39,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
avatarUrl:
'person-picture/original/7e4d491e-5482-4c9f-a490-a4d1b62da10f.38',
phone: '+33788901234',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '04b2e9f5-0713-40a5-8216-82802401d33e',
jobTitle: 'zdf',
xLink: {
@ -54,7 +54,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Voulzy',
},
city: 'Seattle',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: 'asd',
primaryLinkUrl: 'asd.com',
@ -69,11 +69,11 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'qonto',
primaryLinkUrl: 'https://www.linkedin.com/company/qonto',
primaryLinkLabel: 'Anthropic',
primaryLinkUrl: 'https://www.linkedin.com/company/anthropicresearch',
secondaryLinks: [],
__typename: 'Links',
},
@ -103,7 +103,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 72_000,
name: 'Google',
favorites: {
@ -133,7 +133,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'madison.perez@google.com',
avatarUrl: null,
phone: '+33788901234',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '0d940997-c21e-4ec2-873b-de4264d89025',
jobTitle: null,
xLink: {
@ -148,7 +148,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Perez',
},
city: 'Seattle',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -165,7 +165,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'avery.carter@airbnb.com',
avatarUrl: null,
phone: '+33786789012',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '0d940997-c21e-4ec2-873b-de4264d89025',
jobTitle: null,
xLink: {
@ -180,7 +180,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Carter',
},
city: 'New York',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -197,7 +197,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'ethan.mitchell@google.com',
avatarUrl: null,
phone: '+33787890123',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '0d940997-c21e-4ec2-873b-de4264d89025',
jobTitle: null,
xLink: {
@ -212,7 +212,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Mitchell',
},
city: 'Los Angeles',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -229,7 +229,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'elizabeth.baker@airbnb.com',
avatarUrl: null,
phone: '+33784567890',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '0d940997-c21e-4ec2-873b-de4264d89025',
jobTitle: null,
xLink: {
@ -244,7 +244,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Baker',
},
city: 'New York',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -261,7 +261,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'christopher.nelson@airbnb.com',
avatarUrl: null,
phone: '+33785678901',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '0d940997-c21e-4ec2-873b-de4264d89025',
jobTitle: null,
xLink: {
@ -276,7 +276,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Nelson',
},
city: 'San Francisco',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -291,7 +291,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'google',
@ -325,7 +325,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 87_000,
name: 'Facebook',
favorites: {
@ -352,10 +352,10 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
node: {
__typename: 'Person',
id: '93c72d2e-f517-42fd-80ae-14173b3b70ae',
email: 'christopher.gonzalez@qonto.com',
email: 'christopher.gonzalez@anthropic.com',
avatarUrl: null,
phone: '+33789012345',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '118995f3-5d81-46d6-bf83-f7fd33ea6102',
jobTitle: null,
xLink: {
@ -370,7 +370,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Gonzalez',
},
city: 'Seattle',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -384,10 +384,10 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
node: {
__typename: 'Person',
id: 'eeeacacf-eee1-4690-ad2c-8619e5b56a2e',
email: 'ashley.parker@qonto.com',
email: 'ashley.parker@anthropic.com',
avatarUrl: null,
phone: '+33780123456',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '118995f3-5d81-46d6-bf83-f7fd33ea6102',
jobTitle: null,
xLink: {
@ -402,7 +402,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Parker',
},
city: 'Los Angeles',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -417,7 +417,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'facebook',
@ -440,11 +440,11 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
amountMicros: 2000000,
currencyCode: 'USD',
},
createdAt: '2023-11-23T15:38:03.703Z',
closeDate: '2023-11-23T15:38:03.703Z',
createdAt: '2024-11-23T15:38:03.703Z',
closeDate: '2024-11-23T15:38:03.703Z',
personId: '93c72d2e-f517-42fd-80ae-14173b3b70ae',
companyId: '118995f3-5d81-46d6-bf83-f7fd33ea6102',
updatedAt: '2023-11-23T15:38:03.703Z',
updatedAt: '2024-11-23T15:38:03.703Z',
},
},
],
@ -471,7 +471,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 3_000,
name: 'Netflix',
favorites: {
@ -498,7 +498,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'netflix',
@ -532,7 +532,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 221_000,
name: 'Microsoft',
favorites: {
@ -562,7 +562,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'isabella.scott@microsoft.com',
avatarUrl: null,
phone: '+33782345678',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '460b6fb1-ed89-413a-b31a-962986e67bb4',
jobTitle: null,
xLink: {
@ -577,7 +577,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Scott',
},
city: 'New York',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -594,7 +594,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'matthew.green@microsoft.com',
avatarUrl: null,
phone: '+33783456789',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '460b6fb1-ed89-413a-b31a-962986e67bb4',
jobTitle: null,
xLink: {
@ -609,7 +609,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Green',
},
city: 'Seattle',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -626,7 +626,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'nicholas.wright@microsoft.com',
avatarUrl: null,
phone: '+33781234567',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: '460b6fb1-ed89-413a-b31a-962986e67bb4',
jobTitle: null,
xLink: {
@ -641,7 +641,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Wright',
},
city: 'Seattle',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -656,7 +656,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'microsoft',
@ -679,11 +679,11 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
amountMicros: 300000,
currencyCode: 'USD',
},
createdAt: '2023-11-23T15:38:03.703Z',
closeDate: '2023-11-23T15:38:03.703Z',
createdAt: '2024-11-23T15:38:03.703Z',
closeDate: '2024-11-23T15:38:03.703Z',
personId: '9b324a88-6784-4449-afdf-dc62cb8702f2',
companyId: '460b6fb1-ed89-413a-b31a-962986e67bb4',
updatedAt: '2023-11-23T15:38:03.703Z',
updatedAt: '2024-11-23T15:38:03.703Z',
},
},
{
@ -698,11 +698,11 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
amountMicros: 4000000,
currencyCode: 'USD',
},
createdAt: '2023-11-23T15:38:03.703Z',
closeDate: '2023-11-23T15:38:03.703Z',
createdAt: '2024-11-23T15:38:03.703Z',
closeDate: '2024-11-23T15:38:03.703Z',
personId: '98406e26-80f1-4dff-b570-a74942528de3',
companyId: '460b6fb1-ed89-413a-b31a-962986e67bb4',
updatedAt: '2023-11-23T15:38:03.703Z',
updatedAt: '2024-11-23T15:38:03.703Z',
},
},
],
@ -729,7 +729,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 50,
name: 'Libeo',
favorites: {
@ -756,7 +756,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'libeo',
@ -790,7 +790,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 6_000,
name: 'Airbnb',
favorites: {
@ -817,7 +817,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'airbnb',
@ -851,7 +851,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 7,
name: 'Claap',
favorites: {
@ -878,7 +878,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'claap',
@ -912,7 +912,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 250,
name: 'Algolia',
favorites: {
@ -942,7 +942,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'lorie.vladim@google.com',
avatarUrl: null,
phone: '+33788901235',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: 'a674fa6c-1455-4c57-afaf-dd5dc086361d',
jobTitle: null,
xLink: {
@ -957,7 +957,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Vladim',
},
city: 'Seattle',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -972,7 +972,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'algolia',
@ -1006,7 +1006,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 400_000,
name: 'Samsung',
favorites: {
@ -1036,7 +1036,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'louis.duss@google.com',
avatarUrl: null,
phone: '+33788901234',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: 'a7bc68d5-f79e-40dd-bd06-c36e6abb4678',
jobTitle: null,
xLink: {
@ -1051,7 +1051,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Duss',
},
city: 'Seattle',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -1066,7 +1066,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'samsung',
@ -1100,7 +1100,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 17_000,
name: 'Hasura',
favorites: {
@ -1127,7 +1127,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'hasura',
@ -1161,7 +1161,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 2_000,
name: 'Wework',
favorites: {
@ -1188,7 +1188,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'wework',
@ -1222,7 +1222,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
secondaryLinks: [],
__typename: 'Links',
},
updatedAt: '2023-11-23T15:38:03.699Z',
updatedAt: '2024-11-23T15:38:03.699Z',
employees: 20_000,
name: 'Linkedin',
favorites: {
@ -1252,7 +1252,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'sylvie.palmer@linkedin.com',
avatarUrl: null,
phone: '+33780123456',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: 'fe256b39-3ec3-4fe3-8997-b76aa0bfa408',
jobTitle: '',
xLink: {
@ -1267,7 +1267,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Palmer',
},
city: 'Los Angeles',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -1284,7 +1284,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
email: 'christoph.calisto@linkedin.com',
avatarUrl: null,
phone: '+33789012345',
createdAt: '2023-11-23T15:38:03.700Z',
createdAt: '2024-11-23T15:38:03.700Z',
companyId: 'fe256b39-3ec3-4fe3-8997-b76aa0bfa408',
jobTitle: null,
xLink: {
@ -1299,7 +1299,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
lastName: 'Callisto',
},
city: 'Seattle',
updatedAt: '2023-11-23T15:38:03.700Z',
updatedAt: '2024-11-23T15:38:03.700Z',
linkedinLink: {
primaryLinkLabel: null,
primaryLinkUrl: null,
@ -1314,7 +1314,7 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
__typename: 'AttachmentConnection',
edges: [],
},
createdAt: '2023-11-23T15:38:03.699Z',
createdAt: '2024-11-23T15:38:03.699Z',
idealCustomerProfile: null,
linkedinLink: {
primaryLinkLabel: 'linkedin',
@ -1337,11 +1337,11 @@ export const SIGN_IN_BACKGROUND_MOCK_COMPANIES = [
amountMicros: 100000,
currencyCode: 'USD',
},
createdAt: '2023-11-23T15:38:03.703Z',
closeDate: '2023-11-23T15:38:03.703Z',
createdAt: '2024-11-23T15:38:03.703Z',
closeDate: '2024-11-23T15:38:03.703Z',
personId: '86083141-1c0e-494c-a1b6-85b1c6fefaa5',
companyId: 'fe256b39-3ec3-4fe3-8997-b76aa0bfa408',
updatedAt: '2023-11-23T15:38:03.703Z',
updatedAt: '2024-11-23T15:38:03.703Z',
},
},
],

View File

@ -1,6 +1,6 @@
import { ObjectRecord } from '@/object-record/types/ObjectRecord';
import { generatedMockObjectMetadataItems } from '~/testing/mock-data/generatedMockObjectMetadataItems';
import { isDefined } from 'twenty-shared/utils';
import { generatedMockObjectMetadataItems } from '~/testing/mock-data/generatedMockObjectMetadataItems';
export const companiesQueryResult = {
companies: {
@ -21,8 +21,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-3ec3-4fe3-8997-b76aa0bfa408',
employees: 100,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-05T09:00:20.412Z',
updatedAt: '2025-01-05T10:15:30.412Z',
name: 'Linkedin',
accountOwnerId: null,
accountOwner: null,
@ -71,7 +71,7 @@ export const companiesQueryResult = {
testRating: null,
companyId: '20202020-c21e-4ec2-873b-de4264d89025',
avatarUrl: '',
updatedAt: '2024-06-05T09:36:42.400Z',
updatedAt: '2025-01-05T11:36:42.400Z',
testMultiSelect: null,
testBoolean: true,
testSelect: 'OPTION_1',
@ -79,7 +79,7 @@ export const companiesQueryResult = {
bestCompanyId: null,
testUuid: null,
phone: '+33788901234',
createdAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-05T09:00:20.412Z',
city: 'Seattle',
testPhone: '',
jobTitle: 'CTO',
@ -135,8 +135,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-5d81-46d6-bf83-f7fd33ea6102',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-06T08:30:15.412Z',
updatedAt: '2025-01-06T14:45:22.412Z',
name: 'Facebook',
idealCustomerProfile: false,
accountOwner: null,
@ -185,15 +185,15 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-0713-40a5-8216-82802401d33e',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
name: 'Qonto',
createdAt: '2025-01-07T10:15:30.412Z',
updatedAt: '2025-01-07T16:20:45.412Z',
name: 'Anthropic',
idealCustomerProfile: false,
accountOwner: null,
accountOwnerId: null,
domainName: {
__typename: 'Links',
primaryLinkUrl: 'https://qonto.com',
primaryLinkUrl: 'https://anthropic.com',
primaryLinkLabel: '',
secondaryLinks: [],
},
@ -235,8 +235,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-ed89-413a-b31a-962986e67bb4',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-08T11:45:10.412Z',
updatedAt: '2025-01-08T17:30:25.412Z',
name: 'Microsoft',
idealCustomerProfile: true,
accountOwner: null,
@ -285,8 +285,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-171e-4bcc-9cf7-43448d6fb278',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-09T09:20:45.412Z',
updatedAt: '2025-01-09T15:10:30.412Z',
name: 'Airbnb',
idealCustomerProfile: true,
accountOwner: null,
@ -335,8 +335,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-c21e-4ec2-873b-de4264d89025',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-10T13:30:20.412Z',
updatedAt: '2025-01-10T18:45:35.412Z',
name: 'Google',
idealCustomerProfile: false,
accountOwner: null,
@ -385,8 +385,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-707e-44dc-a1d2-30030bf1a944',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-11T07:15:50.412Z',
updatedAt: '2025-01-11T12:25:15.412Z',
name: 'Netflix',
idealCustomerProfile: true,
accountOwner: null,
@ -435,8 +435,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-3f74-492d-a101-2a70f50a1645',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-12T14:40:25.412Z',
updatedAt: '2025-01-12T19:55:40.412Z',
name: 'Libeo',
idealCustomerProfile: false,
accountOwner: null,
@ -485,8 +485,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-cfbf-4156-a790-e39854dcd4eb',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-13T08:25:35.412Z',
updatedAt: '2025-01-13T13:40:50.412Z',
name: 'Claap',
idealCustomerProfile: false,
accountOwner: null,
@ -535,8 +535,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-f86b-419f-b794-02319abe8637',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-14T16:10:15.412Z',
updatedAt: '2025-01-14T21:30:25.412Z',
name: 'Hasura',
idealCustomerProfile: false,
accountOwner: null,
@ -585,8 +585,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-5518-4553-9433-42d8eb82834b',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-15T12:50:40.412Z',
updatedAt: '2025-01-15T17:15:55.412Z',
name: 'Wework',
idealCustomerProfile: false,
accountOwner: null,
@ -635,8 +635,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-f79e-40dd-bd06-c36e6abb4678',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-16T10:35:20.412Z',
updatedAt: '2025-01-16T15:50:35.412Z',
name: 'Samsung',
idealCustomerProfile: false,
accountOwner: null,
@ -685,8 +685,8 @@ export const companiesQueryResult = {
__typename: 'Company',
id: '20202020-1455-4c57-afaf-dd5dc086361d',
employees: null,
createdAt: '2024-06-05T09:00:20.412Z',
updatedAt: '2024-06-05T09:00:20.412Z',
createdAt: '2025-01-17T11:20:10.412Z',
updatedAt: '2025-01-17T16:45:25.412Z',
name: 'Algolia',
idealCustomerProfile: false,
accountOwner: null,

View File

@ -331,7 +331,7 @@ const FIND_MANY_COMPANIES_WITH_RELATION_QUERY_RESULT = {
deletedAt: null,
employees: null,
id: '20202020-0713-40a5-8216-82802401d33e',
name: 'Qonto',
name: 'Anthropic',
position: 3,
opportunities: {
__typename: 'OpportunityConnection',
@ -339,12 +339,12 @@ const FIND_MANY_COMPANIES_WITH_RELATION_QUERY_RESULT = {
},
address: {
__typename: 'Address',
addressStreet1: '18 rue de navarrin',
addressStreet1: '548 Market Street',
addressStreet2: null,
addressCity: 'Paris',
addressCity: 'San Francisco',
addressState: null,
addressCountry: 'France',
addressPostcode: '75009',
addressCountry: 'United States',
addressPostcode: '94104',
addressLat: null,
addressLng: null,
},
@ -357,7 +357,7 @@ const FIND_MANY_COMPANIES_WITH_RELATION_QUERY_RESULT = {
},
domainName: {
__typename: 'Links',
primaryLinkUrl: 'https://qonto.com',
primaryLinkUrl: 'https://anthropic.com',
primaryLinkLabel: '',
secondaryLinks: [],
},
@ -403,7 +403,7 @@ const FIND_MANY_COMPANIES_WITH_RELATION_QUERY_RESULT = {
},
emails: {
__typename: 'Emails',
primaryEmail: 'christopher.gonzalez@qonto.com',
primaryEmail: 'christopher.gonzalez@anthropic.com',
additionalEmails: null,
},
linkedinLink: {
@ -464,7 +464,7 @@ const FIND_MANY_COMPANIES_WITH_RELATION_QUERY_RESULT = {
},
emails: {
__typename: 'Emails',
primaryEmail: 'ashley.parker@qonto.com',
primaryEmail: 'ashley.parker@anthropic.com',
additionalEmails: null,
},
linkedinLink: {

View File

@ -1,8 +1,8 @@
import { getRecordFromRecordNode } from '@/object-record/cache/utils/getRecordFromRecordNode';
import { RecordGqlConnection } from '@/object-record/graphql/types/RecordGqlConnection';
import { ObjectRecord } from '@/object-record/types/ObjectRecord';
import { generatedMockObjectMetadataItems } from '~/testing/mock-data/generatedMockObjectMetadataItems';
import { FieldMetadataType } from 'twenty-shared/types';
import { generatedMockObjectMetadataItems } from '~/testing/mock-data/generatedMockObjectMetadataItems';
export const peopleQueryResult = {
people: {
@ -23,7 +23,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:52:46.814Z',
createdAt: '2025-01-02T09:52:46.814Z',
city: 'ASd',
phones: {
primaryPhoneNumber: '781234562',
@ -71,10 +71,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 1,
id: '20202020-3ec3-4fe3-8997-b76aa0bfa408',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Linkedin',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: 'Eutaw Street',
@ -155,7 +155,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-01T09:50:00.000Z',
createdAt: '2025-01-01T09:50:00.000Z',
city: 'Seattle',
phones: {
primaryPhoneNumber: '781234562',
@ -203,10 +203,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 1,
id: '20202020-3ec3-4fe3-8997-b76aa0bfa408',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Linkedin',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: 'Eutaw Street',
@ -287,7 +287,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'Los Angeles',
phones: {
primaryPhoneNumber: '781234576',
@ -335,10 +335,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 1,
id: '20202020-3ec3-4fe3-8997-b76aa0bfa408',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Linkedin',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: 'Eutaw Street',
@ -388,7 +388,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'Seattle',
phones: {
primaryPhoneNumber: '781234545',
@ -398,7 +398,7 @@ export const peopleQueryResult = {
id: '20202020-f517-42fd-80ae-14173b3b70ae',
jobTitle: '',
position: 3,
email: 'christopher.gonzalez@qonto.com',
email: 'christopher.gonzalez@anthropic.com',
name: {
__typename: 'FullName',
firstName: 'Christopher',
@ -436,18 +436,18 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 3,
id: '20202020-0713-40a5-8216-82802401d33e',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Qonto',
createdAt: '2024-08-02T09:48:36.193Z',
name: 'Anthropic',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: '18 rue de navarrin',
addressStreet1: '548 Market Street',
addressStreet2: null,
addressCity: 'Paris',
addressCity: 'San Francisco',
addressState: null,
addressCountry: 'France',
addressPostcode: '75009',
addressCountry: 'United States',
addressPostcode: '94104',
addressLat: null,
addressLng: null,
},
@ -458,7 +458,7 @@ export const peopleQueryResult = {
},
domainName: {
__typename: 'Links',
primaryLinkUrl: 'https://qonto.com',
primaryLinkUrl: 'https://anthropic.com',
primaryLinkLabel: '',
secondaryLinks: [],
},
@ -489,7 +489,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'Los Angeles',
phones: {
primaryPhoneNumber: '781234587',
@ -499,7 +499,7 @@ export const peopleQueryResult = {
id: '20202020-eee1-4690-ad2c-8619e5b56a2e',
jobTitle: '',
position: 4,
email: 'ashley.parker@qonto.com',
email: 'ashley.parker@anthropic.com',
name: {
__typename: 'FullName',
firstName: 'Ashley',
@ -537,18 +537,18 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 3,
id: '20202020-0713-40a5-8216-82802401d33e',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Qonto',
createdAt: '2024-08-02T09:48:36.193Z',
name: 'Anthropic',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: '18 rue de navarrin',
addressStreet1: '548 Market Street',
addressStreet2: null,
addressCity: 'Paris',
addressCity: 'San Francisco',
addressState: null,
addressCountry: 'France',
addressPostcode: '75009',
addressCountry: 'United States',
addressPostcode: '94104',
addressLat: null,
addressLng: null,
},
@ -559,7 +559,7 @@ export const peopleQueryResult = {
},
domainName: {
__typename: 'Links',
primaryLinkUrl: 'https://qonto.com',
primaryLinkUrl: 'https://anthropic.com',
primaryLinkLabel: '',
secondaryLinks: [],
},
@ -590,7 +590,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'Seattle',
phones: {
primaryPhoneNumber: '781234599',
@ -638,10 +638,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 4,
id: '20202020-ed89-413a-b31a-962986e67bb4',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Microsoft',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: null,
@ -691,7 +691,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'New York',
phones: {
primaryPhoneNumber: '781234572',
@ -739,10 +739,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 4,
id: '20202020-ed89-413a-b31a-962986e67bb4',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Microsoft',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: null,
@ -792,7 +792,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'Seattle',
phones: {
primaryPhoneNumber: '781234582',
@ -840,10 +840,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 4,
id: '20202020-ed89-413a-b31a-962986e67bb4',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Microsoft',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: null,
@ -893,7 +893,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'New York',
phones: {
primaryPhoneNumber: '781234569',
@ -941,10 +941,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 5,
id: '20202020-171e-4bcc-9cf7-43448d6fb278',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Airbnb',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: '888 Brannan St',
@ -994,7 +994,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'San Francisco',
phones: {
primaryPhoneNumber: '781234962',
@ -1042,10 +1042,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 5,
id: '20202020-171e-4bcc-9cf7-43448d6fb278',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Airbnb',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: '888 Brannan St',
@ -1095,7 +1095,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'New York',
phones: {
primaryPhoneNumber: '781234502',
@ -1143,10 +1143,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 5,
id: '20202020-171e-4bcc-9cf7-43448d6fb278',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Airbnb',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: '888 Brannan St',
@ -1196,7 +1196,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'Los Angeles',
phones: {
primaryPhoneNumber: '781234563',
@ -1244,10 +1244,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 6,
id: '20202020-c21e-4ec2-873b-de4264d89025',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Google',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: '760 Market St',
@ -1297,7 +1297,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'Seattle',
phones: {
primaryPhoneNumber: '781234542',
@ -1345,10 +1345,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 6,
id: '20202020-c21e-4ec2-873b-de4264d89025',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Google',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: '760 Market St',
@ -1398,7 +1398,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'Seattle',
phones: {
primaryPhoneNumber: '782234562',
@ -1446,10 +1446,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 6,
id: '20202020-c21e-4ec2-873b-de4264d89025',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Google',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: '760 Market St',
@ -1499,7 +1499,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'Seattle',
phones: {
primaryPhoneNumber: '781274562',
@ -1547,10 +1547,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 6,
id: '20202020-c21e-4ec2-873b-de4264d89025',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Google',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: '760 Market St',
@ -1600,7 +1600,7 @@ export const peopleQueryResult = {
node: {
__typename: 'Person',
deletedAt: null,
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
city: 'Seattle',
phones: {
primaryPhoneNumber: '781239562',
@ -1648,10 +1648,10 @@ export const peopleQueryResult = {
idealCustomerProfile: false,
position: 6,
id: '20202020-c21e-4ec2-873b-de4264d89025',
updatedAt: '2024-08-02T09:48:36.193Z',
updatedAt: '2025-01-02T10:48:36.193Z',
accountOwnerId: null,
name: 'Google',
createdAt: '2024-08-02T09:48:36.193Z',
createdAt: '2025-01-02T09:48:36.193Z',
address: {
__typename: 'Address',
addressStreet1: '760 Market St',

View File

@ -6,7 +6,7 @@ const tableName = 'company';
export const DEV_SEED_COMPANY_IDS = {
LINKEDIN: '20202020-3ec3-4fe3-8997-b76aa0bfa408',
FACEBOOK: '20202020-5d81-46d6-bf83-f7fd33ea6102',
QONTO: '20202020-0713-40a5-8216-82802401d33e',
ANTHROPIC: '20202020-0713-40a5-8216-82802401d33e',
MICROSOFT: '20202020-ed89-413a-b31a-962986e67bb4',
AIRBNB: '20202020-171e-4bcc-9cf7-43448d6fb278',
GOOGLE: '20202020-c21e-4ec2-873b-de4264d89025',
@ -82,17 +82,17 @@ export const seedCompanies = async (
createdByName: 'Tim Apple',
},
{
id: DEV_SEED_COMPANY_IDS.QONTO,
name: 'Qonto',
domainNamePrimaryLinkUrl: 'https://qonto.com',
addressAddressStreet1: '18 rue de navarrin',
id: DEV_SEED_COMPANY_IDS.ANTHROPIC,
name: 'Anthropic',
domainNamePrimaryLinkUrl: 'https://anthropic.com',
addressAddressStreet1: '548 Market Street',
addressAddressStreet2: null,
addressAddressCity: 'Paris',
addressAddressCity: 'San Francisco',
addressAddressState: null,
addressAddressPostcode: '75009',
addressAddressCountry: 'France',
addressAddressPostcode: '94104',
addressAddressCountry: 'United States',
position: 3,
tagline: "Qonto's tagline",
tagline: "Anthropic's tagline",
workPolicy: ['ON_SITE'],
createdBySource: 'MANUAL',
createdByWorkspaceMemberId: DEV_SEED_WORKSPACE_MEMBER_IDS.TIM,

View File

@ -94,9 +94,9 @@ export const seedPeople = async (
phonesPrimaryPhoneCountryCode: 'FR',
phonesPrimaryPhoneCallingCode: '+33',
phonesPrimaryPhoneNumber: '789012345',
city: 'Seattle',
companyId: DEV_SEED_COMPANY_IDS.QONTO,
emailsPrimaryEmail: 'christopher.gonzalez@qonto.com',
city: 'San Francisco',
companyId: DEV_SEED_COMPANY_IDS.ANTHROPIC,
emailsPrimaryEmail: 'christopher.gonzalez@anthropic.com',
position: 3,
whatsappPrimaryPhoneCountryCode: 'FR',
whatsappPrimaryPhoneCallingCode: '+33',
@ -113,8 +113,8 @@ export const seedPeople = async (
phonesPrimaryPhoneCallingCode: '+33',
phonesPrimaryPhoneNumber: '780123456',
city: 'Los Angeles',
companyId: DEV_SEED_COMPANY_IDS.QONTO,
emailsPrimaryEmail: 'ashley.parker@qonto.com',
companyId: DEV_SEED_COMPANY_IDS.ANTHROPIC,
emailsPrimaryEmail: 'ashley.parker@anthropic.com',
position: 4,
whatsappPrimaryPhoneCountryCode: 'FR',
whatsappPrimaryPhoneCallingCode: '+33',

View File

@ -2,7 +2,7 @@ import { FieldActorSource } from 'src/engine/metadata-modules/field-metadata/com
import { WorkspaceEntityManager } from 'src/engine/twenty-orm/entity-manager/workspace-entity-manager';
export const AIRBNB_ID = 'c776ee49-f608-4a77-8cc8-6fe96ae1e43f';
export const QONTO_ID = 'f45ee421-8a3e-4aa5-a1cf-7207cc6754e1';
export const ANTHROPIC_ID = 'f45ee421-8a3e-4aa5-a1cf-7207cc6754e1';
export const STRIPE_ID = '1f70157c-4ea5-4d81-bc49-e1401abfbb94';
export const FIGMA_ID = '9d5bcf43-7d38-4e88-82cb-d6d4ce638bf0';
export const NOTION_ID = '06290608-8bf0-4806-99ae-a715a6a93fad';
@ -51,16 +51,16 @@ export const companyPrefillData = async (
createdByName: 'System',
},
{
id: QONTO_ID,
name: 'Qonto',
domainNamePrimaryLinkUrl: 'https://qonto.com',
addressAddressStreet1: '18 rue de navarrin',
id: ANTHROPIC_ID,
name: 'Anthropic',
domainNamePrimaryLinkUrl: 'https://anthropic.com',
addressAddressStreet1: '548 Market Street',
addressAddressStreet2: null,
addressAddressCity: 'Paris',
addressAddressState: null,
addressAddressPostcode: '75009',
addressAddressCountry: 'France',
employees: 800,
addressAddressCity: 'San Francisco',
addressAddressState: 'CA',
addressAddressPostcode: '94104',
addressAddressCountry: 'United States',
employees: 1100,
position: 2,
createdBySource: FieldActorSource.SYSTEM,
createdByWorkspaceMemberId: null,

View File

@ -2,9 +2,9 @@ import { FieldActorSource } from 'src/engine/metadata-modules/field-metadata/com
import { WorkspaceEntityManager } from 'src/engine/twenty-orm/entity-manager/workspace-entity-manager';
import {
AIRBNB_ID,
ANTHROPIC_ID,
FIGMA_ID,
NOTION_ID,
QONTO_ID,
STRIPE_ID,
} from 'src/engine/workspace-manager/standard-objects-prefill-data/company';
@ -50,19 +50,19 @@ export const personPrefillData = async (
companyId: AIRBNB_ID,
},
{
nameFirstName: 'Alexandre',
nameLastName: 'Prot',
city: 'Paris',
emailsPrimaryEmail: 'prot@qonto.com',
nameFirstName: 'Dario',
nameLastName: 'Amodei',
city: 'San Francisco',
emailsPrimaryEmail: 'amodei@anthropic.com',
avatarUrl:
'https://twentyhq.github.io/placeholder-images/people/image-89.png',
position: 2,
createdBySource: FieldActorSource.SYSTEM,
createdByWorkspaceMemberId: null,
createdByName: 'System',
phonesPrimaryPhoneNumber: '677118822',
phonesPrimaryPhoneCountryCode: '+33',
companyId: QONTO_ID,
phonesPrimaryPhoneNumber: '5551234567',
phonesPrimaryPhoneCountryCode: '+1',
companyId: ANTHROPIC_ID,
},
{
nameFirstName: 'Patrick',