Phone country code unique (#9035)

fix #8775
This commit is contained in:
Guillim
2024-12-19 16:42:18 +01:00
committed by GitHub
parent 3f58a41d2f
commit 360c34fd18
47 changed files with 878 additions and 132 deletions

View File

@ -19461,7 +19461,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
"defaultValue": {
"additionalPhones": null,
"primaryPhoneNumber": "''",
"primaryPhoneCountryCode": "''"
"primaryPhoneCountryCode": "''",
"primaryPhoneCallingCode": "''"
},
"options": null,
"isLabelSyncedWithName": false,
@ -19740,7 +19741,8 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
{
"additionalPhones": {},
"primaryPhoneNumber": "",
"primaryPhoneCountryCode": ""
"primaryPhoneCountryCode": "",
"primaryPhoneCallingCode": ""
}
],
"options": null,

View File

@ -47,7 +47,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'ASd',
phones: {
primaryPhoneNumber: '781234562',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: 'da3c2c4b-da01-4b81-9734-226069eb4cd0',
jobTitle: '',
@ -177,7 +178,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Seattle',
phones: {
primaryPhoneNumber: '781234562',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-1c0e-494c-a1b6-85b1c6fefaa5',
jobTitle: '',
@ -307,7 +309,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Los Angeles',
phones: {
primaryPhoneNumber: '781234576',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-ac73-4797-824e-87a1f5aea9e0',
jobTitle: '',
@ -406,7 +409,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Seattle',
phones: {
primaryPhoneNumber: '781234545',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-f517-42fd-80ae-14173b3b70ae',
jobTitle: '',
@ -505,7 +509,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Los Angeles',
phones: {
primaryPhoneNumber: '781234587',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-eee1-4690-ad2c-8619e5b56a2e',
jobTitle: '',
@ -604,7 +609,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Seattle',
phones: {
primaryPhoneNumber: '781234599',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-6784-4449-afdf-dc62cb8702f2',
jobTitle: '',
@ -703,7 +709,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'New York',
phones: {
primaryPhoneNumber: '781234572',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-490f-4466-8391-733cfd66a0c8',
jobTitle: '',
@ -802,7 +809,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Seattle',
phones: {
primaryPhoneNumber: '781234582',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-80f1-4dff-b570-a74942528de3',
jobTitle: '',
@ -901,7 +909,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'New York',
phones: {
primaryPhoneNumber: '781234569',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-338b-46df-8811-fa08c7d19d35',
jobTitle: '',
@ -1000,7 +1009,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'San Francisco',
phones: {
primaryPhoneNumber: '781234962',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-64ad-4b0e-bbfd-e9fd795b7016',
jobTitle: '',
@ -1099,7 +1109,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'New York',
phones: {
primaryPhoneNumber: '781234502',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-5d54-41b7-ba36-f0d20e1417ae',
jobTitle: '',
@ -1198,7 +1209,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Los Angeles',
phones: {
primaryPhoneNumber: '781234563',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-623d-41fe-92e7-dd45b7c568e1',
jobTitle: '',
@ -1297,7 +1309,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Seattle',
phones: {
primaryPhoneNumber: '781234542',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-2d40-4e49-8df4-9c6a049190ef',
jobTitle: '',
@ -1396,7 +1409,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Seattle',
phones: {
primaryPhoneNumber: '782234562',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-2d40-4e49-8df4-9c6a049190df',
jobTitle: '',
@ -1495,7 +1509,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Seattle',
phones: {
primaryPhoneNumber: '781274562',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-2d40-4e49-8df4-9c6a049191de',
jobTitle: '',
@ -1594,7 +1609,8 @@ export const peopleQueryResult: { people: RecordGqlConnection } = {
city: 'Seattle',
phones: {
primaryPhoneNumber: '781239562',
primaryPhoneCountryCode: '+33',
primaryPhoneCountryCode: 'FR',
primaryPhoneCallingCode: '+33',
},
id: '20202020-2d40-4e49-8df4-9c6a049191df',
jobTitle: '',