2022-01-26 12:08:38 +05:30
|
|
|
export const getIssueCrmContactsQueryResponse = {
|
|
|
|
data: {
|
|
|
|
issue: {
|
2022-04-04 11:22:00 +05:30
|
|
|
__typename: 'Issue',
|
2022-01-26 12:08:38 +05:30
|
|
|
id: 'gid://gitlab/Issue/123',
|
|
|
|
customerRelationsContacts: {
|
|
|
|
nodes: [
|
|
|
|
{
|
|
|
|
id: 'gid://gitlab/CustomerRelations::Contact/1',
|
|
|
|
firstName: 'Someone',
|
|
|
|
lastName: 'Important',
|
|
|
|
email: 'si@gitlab.com',
|
|
|
|
phone: null,
|
|
|
|
description: null,
|
|
|
|
organization: null,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
id: 'gid://gitlab/CustomerRelations::Contact/5',
|
|
|
|
firstName: 'Marty',
|
|
|
|
lastName: 'McFly',
|
|
|
|
email: null,
|
|
|
|
phone: null,
|
|
|
|
description: null,
|
|
|
|
organization: null,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export const issueCrmContactsUpdateNullResponse = {
|
|
|
|
data: {
|
|
|
|
issueCrmContactsUpdated: null,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export const issueCrmContactsUpdateResponse = {
|
|
|
|
data: {
|
|
|
|
issueCrmContactsUpdated: {
|
2022-04-04 11:22:00 +05:30
|
|
|
__typename: 'Issue',
|
2022-01-26 12:08:38 +05:30
|
|
|
id: 'gid://gitlab/Issue/123',
|
|
|
|
customerRelationsContacts: {
|
|
|
|
nodes: [
|
|
|
|
{
|
|
|
|
id: 'gid://gitlab/CustomerRelations::Contact/13',
|
|
|
|
firstName: 'Dave',
|
|
|
|
lastName: 'Davies',
|
|
|
|
email: 'dd@gitlab.com',
|
|
|
|
phone: '+44 20 1111 2222',
|
|
|
|
description: 'Vice President',
|
|
|
|
organization: null,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|