From 4927c818f95e71c4d28162b626f0b511737a7cbd Mon Sep 17 00:00:00 2001
From: Vu Nguyen
Date: Wed, 11 Mar 2020 11:19:30 +0700
Subject: [PATCH] #73: Create query to populate users table smb (#570)
* feat: #73 - Create query to populate users table
---
.../src/styles/components/checkbox.scss | 1 +
.../graphql-server/src/resolvers/index.ts | 2 +
packages/graphql-server/src/schema.graphql | 242 +-
.../__snapshots__/negotiators.test.tsx.snap | 15009 ++++++++++++++++
.../__tests__/negotiators.test.tsx | 21 +
.../src/components/pages/negotiators/index.ts | 2 +
.../pages/negotiators/negotiators.tsx | 18 +
.../negotiators-list/__mocks__/negotiators.ts | 81 +
.../negotiators-list.test.tsx.snap | 6686 +++++++
.../__tests__/negotiators-list.test.tsx | 96 +
.../components/ui/negotiators-list/index.ts | 2 +
.../negotiators-list/negotiators-list.graphql | 21 +
.../ui/negotiators-list/negotiators-list.tsx | 159 +
packages/smb/src/constants/paginators.ts | 1 +
.../__tests__/__snapshots__/router.tsx.snap | 12 +
packages/smb/src/core/router.tsx | 2 +
.../src/graphql/fragments/negotiator.graphql | 16 +
17 files changed, 22147 insertions(+), 224 deletions(-)
create mode 100644 packages/smb/src/components/pages/negotiators/__tests__/__snapshots__/negotiators.test.tsx.snap
create mode 100644 packages/smb/src/components/pages/negotiators/__tests__/negotiators.test.tsx
create mode 100644 packages/smb/src/components/pages/negotiators/index.ts
create mode 100644 packages/smb/src/components/pages/negotiators/negotiators.tsx
create mode 100644 packages/smb/src/components/ui/negotiators-list/__mocks__/negotiators.ts
create mode 100644 packages/smb/src/components/ui/negotiators-list/__tests__/__snapshots__/negotiators-list.test.tsx.snap
create mode 100644 packages/smb/src/components/ui/negotiators-list/__tests__/negotiators-list.test.tsx
create mode 100644 packages/smb/src/components/ui/negotiators-list/index.ts
create mode 100644 packages/smb/src/components/ui/negotiators-list/negotiators-list.graphql
create mode 100644 packages/smb/src/components/ui/negotiators-list/negotiators-list.tsx
create mode 100644 packages/smb/src/graphql/fragments/negotiator.graphql
diff --git a/packages/elements/src/styles/components/checkbox.scss b/packages/elements/src/styles/components/checkbox.scss
index 25c10ce937..f082ca1759 100644
--- a/packages/elements/src/styles/components/checkbox.scss
+++ b/packages/elements/src/styles/components/checkbox.scss
@@ -84,4 +84,5 @@
.field-checkbox {
position: relative;
+ line-height: normal;
}
diff --git a/packages/graphql-server/src/resolvers/index.ts b/packages/graphql-server/src/resolvers/index.ts
index 7ab0e752e8..f305d1024d 100644
--- a/packages/graphql-server/src/resolvers/index.ts
+++ b/packages/graphql-server/src/resolvers/index.ts
@@ -4,6 +4,7 @@ import Contact from './contacts/resolvers'
import Areas from './areas/resolvers'
import Offices from './offices/resolvers'
import Appointments from './appointments/resolvers'
+import Negotiators from './negotiators/resolvers'
export const resolvers = merge(
{
@@ -13,5 +14,6 @@ export const resolvers = merge(
Areas,
Offices,
Appointments,
+ Negotiators,
)
export default resolvers
diff --git a/packages/graphql-server/src/schema.graphql b/packages/graphql-server/src/schema.graphql
index 17fc3f982b..274befeee2 100644
--- a/packages/graphql-server/src/schema.graphql
+++ b/packages/graphql-server/src/schema.graphql
@@ -79,239 +79,33 @@ input UpdateAppointmentModelFollowUpInput {
}
type Query {
- GetAppointments(
- pageSize: Int
- pageNumber: Int
- sortBy: String
- id: [String!]
- typeId: [String!]
- negotiatorId: [String!]
- officeId: [String!]
- propertyId: [String!]
- start: String!
- end: String!
- includeCancelled: Boolean
- includeUnconfirmed: Boolean
- ): PagedResultAppointmentModel!
+ GetAppointments(pageSize: Int, pageNumber: Int, sortBy: String, id: [String!], typeId: [String!], negotiatorId: [String!], officeId: [String!], propertyId: [String!], start: String!, end: String!, includeCancelled: Boolean, includeUnconfirmed: Boolean): PagedResultAppointmentModel!
GetAppointmentById(id: String!): AppointmentModel!
- GetAreas(
- pageSize: Int
- pageNumber: Int
- sortBy: String
- id: [String!]
- departmentId: [String!]
- officeId: [String!]
- name: String
- active: Boolean
- ): PagedResultAreaModel!
+ GetAreas(pageSize: Int, pageNumber: Int, sortBy: String, id: [String!], departmentId: [String!], officeId: [String!], name: String, active: Boolean): PagedResultAreaModel!
GetAreaById(id: String!): AreaModel!
- GetContacts(
- pageSize: Int
- pageNumber: Int
- sortBy: String
- id: [String!]
- negotiatorId: [String!]
- officeId: [String!]
- address: String
- identityCheck: String
- name: String
- marketingConsent: String
- active: Boolean
- createdFrom: String
- createdTo: String
- ): PagedResultContactModel!
+ GetContacts(pageSize: Int, pageNumber: Int, sortBy: String, id: [String!], negotiatorId: [String!], officeId: [String!], address: String, identityCheck: String, name: String, marketingConsent: String, active: Boolean, createdFrom: String, createdTo: String): PagedResultContactModel!
GetContactById(id: String!): ContactModel!
- GetIdChecks(
- id: [String!]
- pageSize: Int
- pageNumber: Int
- sortBy: String
- contactId: [String!]
- negotiatorId: [String!]
- checkDateFrom: String
- checkDateTo: String
- createdFrom: String
- createdTo: String
- status: [String!]
- ): PagedResultIdentityCheckModel!
+ GetIdChecks(id: [String!], pageSize: Int, pageNumber: Int, sortBy: String, contactId: [String!], negotiatorId: [String!], checkDateFrom: String, checkDateTo: String, createdFrom: String, createdTo: String, status: [String!]): PagedResultIdentityCheckModel!
GetIdCheckById(id: String!): IdentityCheckModel!
- GetNegotiators(
- pageSize: Int
- pageNumber: Int
- sortBy: String
- id: [String!]
- officeId: [String!]
- name: String
- embed: [String!]
- ): PagedResultNegotiatorModel!
+ GetNegotiators(pageSize: Int, pageNumber: Int, sortBy: String, id: [String!], officeId: [String!], name: String, embed: [String!]): PagedResultNegotiatorModel!
GetNegotiatorById(id: String!, embed: [String!]): NegotiatorModel!
- GetOffices(
- pageSize: Int
- pageNumber: Int
- sortBy: String
- id: [String!]
- address: String
- name: String
- embed: [String!]
- ): PagedResultOfficeModel!
+ GetOffices(pageSize: Int, pageNumber: Int, sortBy: String, id: [String!], address: String, name: String, embed: [String!]): PagedResultOfficeModel!
GetOfficeById(id: String!, embed: [String!]): OfficeModel!
}
type Mutation {
- CreateAppointment(
- start: String
- end: String
- followUpOn: String
- typeId: String
- description: String
- organiserId: String
- negotiatorIds: [String!]
- officeIds: [String!]
- propertyId: String
- accompanied: Boolean
- negotiatorConfirmed: Boolean
- attendeeConfirmed: Boolean
- propertyConfirmed: Boolean
- recurrence: AppointmentModelRecurrenceInput
- metadata: JSON
- attendee: CreateAppointmentModelAttendeeInput
- ): JSON!
- UpdateAppointment(
- id: String!
- start: String
- end: String
- followUpOn: String
- typeId: String
- description: String
- organiserId: String
- negotiatorIds: [String!]
- officeIds: [String!]
- propertyId: String
- accompanied: Boolean
- negotiatorConfirmed: Boolean
- attendeeConfirmed: Boolean
- propertyConfirmed: Boolean
- recurrence: AppointmentModelRecurrenceInput
- metadata: JSON
- attendee: UpdateAppointmentModelAttendeeInput
- cancelled: Boolean
- followUp: UpdateAppointmentModelFollowUpInput
- _eTag: String!
- ): AppointmentModel!
- CreateArea(
- name: String
- type: String
- area: [String!]
- departmentIds: [String!]
- officeIds: [String!]
- parentId: String
- ): JSON!
- UpdateArea(
- name: String
- area: [String!]
- departmentIds: [String!]
- officeIds: [String!]
- id: String!
- _eTag: String!
- ): AreaModel!
- CreateContact(
- title: String
- forename: String
- surname: String
- dateOfBirth: String
- active: Boolean
- marketingConsent: String
- source: ContactModelSourceInput
- homePhone: String
- workPhone: String
- mobilePhone: String
- email: String
- officeIds: [String!]
- negotiatorIds: [String!]
- primaryAddress: ContactModelAddressInput
- secondaryAddress: ContactModelAddressInput
- workAddress: ContactModelAddressInput
- metadata: JSON
- ): JSON!
- UpdateContact(
- id: String!
- _eTag: String!
- title: String
- forename: String
- surname: String
- dateOfBirth: String
- active: Boolean
- marketingConsent: String
- source: ContactModelSourceInput
- homePhone: String
- workPhone: String
- mobilePhone: String
- email: String
- officeIds: [String!]
- negotiatorIds: [String!]
- primaryAddress: ContactModelAddressInput
- secondaryAddress: ContactModelAddressInput
- workAddress: ContactModelAddressInput
- metadata: JSON
- ): ContactModel!
- CreateIdentityCheck(
- contactId: String
- checkDate: String
- status: String
- negotiatorId: String
- identityDocument1: IdentityCheckModelIdentityDocumentInput
- identityDocument2: IdentityCheckModelIdentityDocumentInput
- metadata: JSON
- ): JSON!
- UpdateIdentityCheck(
- id: String!
- _eTag: String!
- checkDate: String
- status: String
- negotiatorId: String
- identityDocument1: IdentityCheckModelIdentityDocumentInput
- identityDocument2: IdentityCheckModelIdentityDocumentInput
- metadata: JSON
- ): IdentityCheckModel!
- CreateNegotiator(
- name: String
- jobTitle: String
- active: Boolean
- officeId: String
- workPhone: String
- mobilePhone: String
- email: String
- metadata: JSON
- ): JSON!
- UpdateNegotiator(
- id: String!
- _eTag: String!
- name: String
- jobTitle: String
- active: Boolean
- workPhone: String
- mobilePhone: String
- email: String
- metadata: JSON
- ): NegotiatorModel!
- CreateOffice(
- name: String
- manager: String
- address: OfficeModelAddressInput
- workPhone: String
- email: String
- metadata: JSON
- ): JSON!
- UpdateOffice(
- id: String!
- _eTag: String!
- name: String
- manager: String
- address: OfficeModelAddressInput
- workPhone: String
- email: String
- metadata: JSON
- ): OfficeModel!
+ CreateAppointment(start: String, end: String, followUpOn: String, typeId: String, description: String, organiserId: String, negotiatorIds: [String!], officeIds: [String!], propertyId: String, accompanied: Boolean, negotiatorConfirmed: Boolean, attendeeConfirmed: Boolean, propertyConfirmed: Boolean, recurrence: AppointmentModelRecurrenceInput, metadata: JSON, attendee: CreateAppointmentModelAttendeeInput): JSON!
+ UpdateAppointment(id: String!, start: String, end: String, followUpOn: String, typeId: String, description: String, organiserId: String, negotiatorIds: [String!], officeIds: [String!], propertyId: String, accompanied: Boolean, negotiatorConfirmed: Boolean, attendeeConfirmed: Boolean, propertyConfirmed: Boolean, recurrence: AppointmentModelRecurrenceInput, metadata: JSON, attendee: UpdateAppointmentModelAttendeeInput, cancelled: Boolean, followUp: UpdateAppointmentModelFollowUpInput, _eTag: String!): AppointmentModel!
+ CreateArea(name: String, type: String, area: [String!], departmentIds: [String!], officeIds: [String!], parentId: String): JSON!
+ UpdateArea(name: String, area: [String!], departmentIds: [String!], officeIds: [String!], id: String!, _eTag: String!): AreaModel!
+ CreateContact(title: String, forename: String, surname: String, dateOfBirth: String, active: Boolean, marketingConsent: String, source: ContactModelSourceInput, homePhone: String, workPhone: String, mobilePhone: String, email: String, officeIds: [String!], negotiatorIds: [String!], primaryAddress: ContactModelAddressInput, secondaryAddress: ContactModelAddressInput, workAddress: ContactModelAddressInput, metadata: JSON): JSON!
+ UpdateContact(id: String!, _eTag: String!, title: String, forename: String, surname: String, dateOfBirth: String, active: Boolean, marketingConsent: String, source: ContactModelSourceInput, homePhone: String, workPhone: String, mobilePhone: String, email: String, officeIds: [String!], negotiatorIds: [String!], primaryAddress: ContactModelAddressInput, secondaryAddress: ContactModelAddressInput, workAddress: ContactModelAddressInput, metadata: JSON): ContactModel!
+ CreateIdentityCheck(contactId: String, checkDate: String, status: String, negotiatorId: String, identityDocument1: IdentityCheckModelIdentityDocumentInput, identityDocument2: IdentityCheckModelIdentityDocumentInput, metadata: JSON): JSON!
+ UpdateIdentityCheck(id: String!, _eTag: String!, checkDate: String, status: String, negotiatorId: String, identityDocument1: IdentityCheckModelIdentityDocumentInput, identityDocument2: IdentityCheckModelIdentityDocumentInput, metadata: JSON): IdentityCheckModel!
+ CreateNegotiator(name: String, jobTitle: String, active: Boolean, officeId: String, workPhone: String, mobilePhone: String, email: String, metadata: JSON): JSON!
+ UpdateNegotiator(id: String!, _eTag: String!, name: String, jobTitle: String, active: Boolean, workPhone: String, mobilePhone: String, email: String, metadata: JSON): NegotiatorModel!
+ CreateOffice(name: String, manager: String, address: OfficeModelAddressInput, workPhone: String, email: String, metadata: JSON): JSON!
+ UpdateOffice(id: String!, _eTag: String!, name: String, manager: String, address: OfficeModelAddressInput, workPhone: String, email: String, metadata: JSON): OfficeModel!
}
type AreaModel {
diff --git a/packages/smb/src/components/pages/negotiators/__tests__/__snapshots__/negotiators.test.tsx.snap b/packages/smb/src/components/pages/negotiators/__tests__/__snapshots__/negotiators.test.tsx.snap
new file mode 100644
index 0000000000..b5b1859e33
--- /dev/null
+++ b/packages/smb/src/components/pages/negotiators/__tests__/__snapshots__/negotiators.test.tsx.snap
@@ -0,0 +1,15009 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Negotiators Negotiators should match a snapshot 1`] = `
+
+
+
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ } => Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ },
+ "watches": Set {
+ Object {
+ "callback": [Function],
+ "optimistic": true,
+ "previousResult": [Function],
+ "query": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ },
+ },
+ "clearStoreCallbacks": Array [],
+ "defaultOptions": Object {},
+ "disableNetworkFetches": false,
+ "link": MockLink {
+ "addTypename": true,
+ "mockedResponsesByKey": Object {},
+ },
+ "localState": LocalState {
+ "cache": InMemoryCache {
+ "addTypename": true,
+ "cacheKeyRoot": KeyTrie {
+ "weakness": true,
+ },
+ "config": Object {
+ "addTypename": true,
+ "dataIdFromObject": [Function],
+ "fragmentMatcher": HeuristicFragmentMatcher {},
+ "freezeResults": false,
+ "resultCaching": true,
+ },
+ "data": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "maybeBroadcastWatch": [Function],
+ "optimisticData": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "silenceBroadcast": false,
+ "storeReader": StoreReader {
+ "executeSelectionSet": [Function],
+ "executeStoreQuery": [Function],
+ "executeSubSelectedArray": [Function],
+ "freezeResults": false,
+ },
+ "storeWriter": StoreWriter {},
+ "typenameDocumentCache": Map {
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ } => Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ } => Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ },
+ "watches": Set {
+ Object {
+ "callback": [Function],
+ "optimistic": true,
+ "previousResult": [Function],
+ "query": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ },
+ },
+ "client": [Circular],
+ },
+ "mutate": [Function],
+ "query": [Function],
+ "queryDeduplication": true,
+ "queryManager": QueryManager {
+ "assumeImmutableResults": false,
+ "clientAwareness": Object {
+ "name": undefined,
+ "version": undefined,
+ },
+ "dataStore": DataStore {
+ "cache": InMemoryCache {
+ "addTypename": true,
+ "cacheKeyRoot": KeyTrie {
+ "weakness": true,
+ },
+ "config": Object {
+ "addTypename": true,
+ "dataIdFromObject": [Function],
+ "fragmentMatcher": HeuristicFragmentMatcher {},
+ "freezeResults": false,
+ "resultCaching": true,
+ },
+ "data": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "maybeBroadcastWatch": [Function],
+ "optimisticData": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "silenceBroadcast": false,
+ "storeReader": StoreReader {
+ "executeSelectionSet": [Function],
+ "executeStoreQuery": [Function],
+ "executeSubSelectedArray": [Function],
+ "freezeResults": false,
+ },
+ "storeWriter": StoreWriter {},
+ "typenameDocumentCache": Map {
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ } => Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ } => Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ },
+ "watches": Set {
+ Object {
+ "callback": [Function],
+ "optimistic": true,
+ "previousResult": [Function],
+ "query": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ },
+ },
+ },
+ "fetchQueryRejectFns": Map {},
+ "idCounter": 3,
+ "inFlightLinkObservables": Map {
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ } => Map {},
+ },
+ "link": MockLink {
+ "addTypename": true,
+ "mockedResponsesByKey": Object {},
+ },
+ "localState": LocalState {
+ "cache": InMemoryCache {
+ "addTypename": true,
+ "cacheKeyRoot": KeyTrie {
+ "weakness": true,
+ },
+ "config": Object {
+ "addTypename": true,
+ "dataIdFromObject": [Function],
+ "fragmentMatcher": HeuristicFragmentMatcher {},
+ "freezeResults": false,
+ "resultCaching": true,
+ },
+ "data": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "maybeBroadcastWatch": [Function],
+ "optimisticData": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "silenceBroadcast": false,
+ "storeReader": StoreReader {
+ "executeSelectionSet": [Function],
+ "executeStoreQuery": [Function],
+ "executeSubSelectedArray": [Function],
+ "freezeResults": false,
+ },
+ "storeWriter": StoreWriter {},
+ "typenameDocumentCache": Map {
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ } => Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ } => Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ },
+ "watches": Set {
+ Object {
+ "callback": [Function],
+ "optimistic": true,
+ "previousResult": [Function],
+ "query": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ },
+ },
+ "client": [Circular],
+ },
+ "mutationStore": MutationStore {
+ "store": Object {},
+ },
+ "onBroadcast": [Function],
+ "pollingInfoByQueryId": Map {},
+ "queries": Map {
+ "1" => Object {
+ "cancel": [Function],
+ "document": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "invalidated": false,
+ "lastRequestId": 2,
+ "listeners": Set {
+ [Function],
+ },
+ "newData": null,
+ "observableQuery": ObservableQuery {
+ "_subscriber": [Function],
+ "isTornDown": false,
+ "lastResult": Object {
+ "data": undefined,
+ "loading": true,
+ "networkStatus": 1,
+ "stale": false,
+ },
+ "lastResultSnapshot": Object {
+ "data": undefined,
+ "loading": true,
+ "networkStatus": 1,
+ "stale": false,
+ },
+ "observers": Set {
+ SubscriptionObserver {
+ "_subscription": Subscription {
+ "_cleanup": [Function],
+ "_observer": Object {
+ "error": [Function],
+ "next": [Function],
+ },
+ "_queue": Array [
+ Object {
+ "type": "next",
+ "value": Object {
+ "data": undefined,
+ "loading": true,
+ "networkStatus": 1,
+ "stale": false,
+ },
+ },
+ ],
+ "_state": "buffering",
+ },
+ },
+ },
+ "options": Object {
+ "context": undefined,
+ "displayName": "Query",
+ "fetchPolicy": "network-only",
+ "metadata": Object {
+ "reactComponent": Object {
+ "displayName": "Query",
+ },
+ },
+ "notifyOnNetworkStatusChange": false,
+ "query": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ "queryId": "1",
+ "queryManager": [Circular],
+ "queryName": "GetNegotiators",
+ "shouldSubscribe": true,
+ "subscriptions": Set {},
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ "subscriptions": Set {},
+ },
+ },
+ "queryDeduplication": true,
+ "queryStore": QueryStore {
+ "store": Object {
+ "1": Object {
+ "document": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "graphQLErrors": Array [],
+ "metadata": Object {
+ "reactComponent": Object {
+ "displayName": "Query",
+ },
+ },
+ "networkError": null,
+ "networkStatus": 1,
+ "previousVariables": null,
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ },
+ },
+ "ssrMode": false,
+ "transformCache": WeakMap {},
+ },
+ "reFetchObservableQueries": [Function],
+ "resetStore": [Function],
+ "resetStoreCallbacks": Array [],
+ "store": DataStore {
+ "cache": InMemoryCache {
+ "addTypename": true,
+ "cacheKeyRoot": KeyTrie {
+ "weakness": true,
+ },
+ "config": Object {
+ "addTypename": true,
+ "dataIdFromObject": [Function],
+ "fragmentMatcher": HeuristicFragmentMatcher {},
+ "freezeResults": false,
+ "resultCaching": true,
+ },
+ "data": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "maybeBroadcastWatch": [Function],
+ "optimisticData": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "silenceBroadcast": false,
+ "storeReader": StoreReader {
+ "executeSelectionSet": [Function],
+ "executeStoreQuery": [Function],
+ "executeSubSelectedArray": [Function],
+ "freezeResults": false,
+ },
+ "storeWriter": StoreWriter {},
+ "typenameDocumentCache": Map {
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ } => Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ } => Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ },
+ "watches": Set {
+ Object {
+ "callback": [Function],
+ "optimistic": true,
+ "previousResult": [Function],
+ "query": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ Object {
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "__typename",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ },
+ },
+ },
+ "typeDefs": undefined,
+ "version": "2.6.8",
+ "watchQuery": [Function],
+ }
+ }
+ >
+
+
+
+
+
+
+
+
+
+`;
diff --git a/packages/smb/src/components/pages/negotiators/__tests__/negotiators.test.tsx b/packages/smb/src/components/pages/negotiators/__tests__/negotiators.test.tsx
new file mode 100644
index 0000000000..4ad73e6a6d
--- /dev/null
+++ b/packages/smb/src/components/pages/negotiators/__tests__/negotiators.test.tsx
@@ -0,0 +1,21 @@
+import * as React from 'react'
+import { mount } from 'enzyme'
+import { MockedProvider } from '@apollo/react-testing'
+import { BrowserRouter as Router } from 'react-router-dom'
+import { Negotiators, NegotiatorsProps } from '../negotiators'
+
+describe('Negotiators', () => {
+ describe('Negotiators', () => {
+ it('should match a snapshot', () => {
+ const mockProps: NegotiatorsProps = {}
+ const wrapper = mount(
+
+
+
+
+ ,
+ )
+ expect(wrapper).toMatchSnapshot()
+ })
+ })
+})
diff --git a/packages/smb/src/components/pages/negotiators/index.ts b/packages/smb/src/components/pages/negotiators/index.ts
new file mode 100644
index 0000000000..a658752cbb
--- /dev/null
+++ b/packages/smb/src/components/pages/negotiators/index.ts
@@ -0,0 +1,2 @@
+import Negotiators from './negotiators'
+export default Negotiators
diff --git a/packages/smb/src/components/pages/negotiators/negotiators.tsx b/packages/smb/src/components/pages/negotiators/negotiators.tsx
new file mode 100644
index 0000000000..9b530d25eb
--- /dev/null
+++ b/packages/smb/src/components/pages/negotiators/negotiators.tsx
@@ -0,0 +1,18 @@
+import * as React from 'react'
+import { H3, FlexContainerBasic, FlexContainerResponsive } from '@reapit/elements'
+import NegotiatorList from '@/components/ui/negotiators-list'
+
+export type NegotiatorsProps = {}
+
+export const Negotiators: React.FC = () => {
+ return (
+
+
+ Users
+
+
+
+ )
+}
+
+export default Negotiators
diff --git a/packages/smb/src/components/ui/negotiators-list/__mocks__/negotiators.ts b/packages/smb/src/components/ui/negotiators-list/__mocks__/negotiators.ts
new file mode 100644
index 0000000000..b53b070442
--- /dev/null
+++ b/packages/smb/src/components/ui/negotiators-list/__mocks__/negotiators.ts
@@ -0,0 +1,81 @@
+import { NegotiatorsQueryResponse } from '../negotiators-list'
+
+export const negotiators: NegotiatorsQueryResponse = {
+ GetNegotiators: {
+ _embedded: [
+ {
+ id: 'MGL',
+ created: '2014-12-26T12:22:01.0000000Z',
+ modified: '2016-11-29T09:57:32.0000000Z',
+ name: 'Abel Robertson',
+ active: true,
+ officeId: 'NPG',
+ email: 'abel.robertson@reapitestates.net',
+ metadata: {},
+ _eTag: '"10109C0209C684789B72FFC53730E31C"',
+ _links: {
+ self: {
+ href: '/negotiators/MGL',
+ },
+ office: {
+ href: '/offices/NPG',
+ },
+ },
+ },
+ {
+ id: 'RPA',
+ created: '2017-02-07T12:08:53.0000000Z',
+ modified: '2017-02-07T12:09:41.0000000Z',
+ name: 'Accounts User',
+ active: true,
+ officeId: 'MCL',
+ _eTag: '"85A9DB571DB893A5FB734105AFF6B464"',
+ _links: {
+ self: {
+ href: '/negotiators/RPA',
+ },
+ office: {
+ href: '/offices/MCL',
+ },
+ },
+ },
+ {
+ id: 'KLB',
+ created: '2010-11-15T14:53:08.0000000Z',
+ modified: '2017-03-10T00:02:08.0000000Z',
+ name: 'Adele Small',
+ active: true,
+ officeId: 'NGL',
+ email: 'adele.small@reapitestates.net',
+ metadata: {},
+ _eTag: '"B28EE5CFF654DB22BF3247CA028C10C3"',
+ _links: {
+ self: {
+ href: '/negotiators/KLB',
+ },
+ office: {
+ href: '/offices/NGL',
+ },
+ },
+ },
+ ],
+ pageNumber: 1,
+ pageSize: 3,
+ pageCount: 3,
+ totalCount: 3,
+ _links: {
+ self: {
+ href: '/negotiators/?PageNumber=1&PageSize=3',
+ },
+ first: {
+ href: '/negotiators/?PageNumber=1&PageSize=3',
+ },
+ next: {
+ href: '/negotiators/?PageNumber=2&PageSize=3',
+ },
+ last: {
+ href: '/negotiators/?PageNumber=3&PageSize=3',
+ },
+ },
+ },
+}
diff --git a/packages/smb/src/components/ui/negotiators-list/__tests__/__snapshots__/negotiators-list.test.tsx.snap b/packages/smb/src/components/ui/negotiators-list/__tests__/__snapshots__/negotiators-list.test.tsx.snap
new file mode 100644
index 0000000000..f85512fed0
--- /dev/null
+++ b/packages/smb/src/components/ui/negotiators-list/__tests__/__snapshots__/negotiators-list.test.tsx.snap
@@ -0,0 +1,6686 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`NegotiatorList NegotiatorList should match a snapshot 1`] = `
+
+
+
+ Map {},
+ },
+ "link": MockLink {
+ "addTypename": false,
+ "mockedResponsesByKey": Object {
+ "{\\"query\\":\\"query GetNegotiators($id: [String!], $name: String, $officeId: [String!], $pageSize: Int, $pageNumber: Int, $sortBy: String) {\\\\n GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {\\\\n _embedded {\\\\n ...Negotiator\\\\n }\\\\n pageNumber\\\\n pageSize\\\\n pageCount\\\\n totalCount\\\\n _links\\\\n }\\\\n}\\\\n\\\\nfragment Negotiator on NegotiatorModel {\\\\n id\\\\n created\\\\n modified\\\\n name\\\\n jobTitle\\\\n active\\\\n officeId\\\\n workPhone\\\\n mobilePhone\\\\n email\\\\n metadata\\\\n _eTag\\\\n _links\\\\n _embedded\\\\n}\\\\n\\"}": Array [
+ Object {
+ "request": Object {
+ "query": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 100,
+ },
+ },
+ "result": Object {
+ "data": Object {
+ "GetNegotiators": Object {
+ "_embedded": Array [
+ Object {
+ "_eTag": "\\"10109C0209C684789B72FFC53730E31C\\"",
+ "_links": Object {
+ "office": Object {
+ "href": "/offices/NPG",
+ },
+ "self": Object {
+ "href": "/negotiators/MGL",
+ },
+ },
+ "active": true,
+ "created": "2014-12-26T12:22:01.0000000Z",
+ "email": "abel.robertson@reapitestates.net",
+ "id": "MGL",
+ "metadata": Object {},
+ "modified": "2016-11-29T09:57:32.0000000Z",
+ "name": "Abel Robertson",
+ "officeId": "NPG",
+ },
+ Object {
+ "_eTag": "\\"85A9DB571DB893A5FB734105AFF6B464\\"",
+ "_links": Object {
+ "office": Object {
+ "href": "/offices/MCL",
+ },
+ "self": Object {
+ "href": "/negotiators/RPA",
+ },
+ },
+ "active": true,
+ "created": "2017-02-07T12:08:53.0000000Z",
+ "id": "RPA",
+ "modified": "2017-02-07T12:09:41.0000000Z",
+ "name": "Accounts User",
+ "officeId": "MCL",
+ },
+ Object {
+ "_eTag": "\\"B28EE5CFF654DB22BF3247CA028C10C3\\"",
+ "_links": Object {
+ "office": Object {
+ "href": "/offices/NGL",
+ },
+ "self": Object {
+ "href": "/negotiators/KLB",
+ },
+ },
+ "active": true,
+ "created": "2010-11-15T14:53:08.0000000Z",
+ "email": "adele.small@reapitestates.net",
+ "id": "KLB",
+ "metadata": Object {},
+ "modified": "2017-03-10T00:02:08.0000000Z",
+ "name": "Adele Small",
+ "officeId": "NGL",
+ },
+ ],
+ "_links": Object {
+ "first": Object {
+ "href": "/negotiators/?PageNumber=1&PageSize=3",
+ },
+ "last": Object {
+ "href": "/negotiators/?PageNumber=3&PageSize=3",
+ },
+ "next": Object {
+ "href": "/negotiators/?PageNumber=2&PageSize=3",
+ },
+ "self": Object {
+ "href": "/negotiators/?PageNumber=1&PageSize=3",
+ },
+ },
+ "pageCount": 3,
+ "pageNumber": 1,
+ "pageSize": 3,
+ "totalCount": 3,
+ },
+ },
+ },
+ },
+ ],
+ },
+ },
+ "localState": LocalState {
+ "cache": InMemoryCache {
+ "addTypename": false,
+ "cacheKeyRoot": KeyTrie {
+ "weakness": true,
+ },
+ "config": Object {
+ "addTypename": false,
+ "dataIdFromObject": [Function],
+ "fragmentMatcher": HeuristicFragmentMatcher {},
+ "freezeResults": false,
+ "resultCaching": true,
+ },
+ "data": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "maybeBroadcastWatch": [Function],
+ "optimisticData": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "silenceBroadcast": false,
+ "storeReader": StoreReader {
+ "executeSelectionSet": [Function],
+ "executeStoreQuery": [Function],
+ "executeSubSelectedArray": [Function],
+ "freezeResults": false,
+ },
+ "storeWriter": StoreWriter {},
+ "typenameDocumentCache": Map {},
+ "watches": Set {
+ Object {
+ "callback": [Function],
+ "optimistic": true,
+ "previousResult": [Function],
+ "query": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ },
+ },
+ "client": [Circular],
+ },
+ "mutationStore": MutationStore {
+ "store": Object {},
+ },
+ "onBroadcast": [Function],
+ "pollingInfoByQueryId": Map {},
+ "queries": Map {
+ "1" => Object {
+ "cancel": [Function],
+ "document": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "invalidated": false,
+ "lastRequestId": 2,
+ "listeners": Set {
+ [Function],
+ },
+ "newData": null,
+ "observableQuery": ObservableQuery {
+ "_subscriber": [Function],
+ "isTornDown": false,
+ "lastResult": Object {
+ "data": undefined,
+ "loading": true,
+ "networkStatus": 1,
+ "stale": false,
+ },
+ "lastResultSnapshot": Object {
+ "data": undefined,
+ "loading": true,
+ "networkStatus": 1,
+ "stale": false,
+ },
+ "observers": Set {
+ SubscriptionObserver {
+ "_subscription": Subscription {
+ "_cleanup": [Function],
+ "_observer": Object {
+ "error": [Function],
+ "next": [Function],
+ },
+ "_queue": Array [
+ Object {
+ "type": "next",
+ "value": Object {
+ "data": undefined,
+ "loading": true,
+ "networkStatus": 1,
+ "stale": false,
+ },
+ },
+ ],
+ "_state": "buffering",
+ },
+ },
+ },
+ "options": Object {
+ "context": undefined,
+ "displayName": "Query",
+ "fetchPolicy": "network-only",
+ "metadata": Object {
+ "reactComponent": Object {
+ "displayName": "Query",
+ },
+ },
+ "notifyOnNetworkStatusChange": false,
+ "query": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ "queryId": "1",
+ "queryManager": [Circular],
+ "queryName": "GetNegotiators",
+ "shouldSubscribe": true,
+ "subscriptions": Set {},
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ "subscriptions": Set {},
+ },
+ },
+ "queryDeduplication": true,
+ "queryStore": QueryStore {
+ "store": Object {
+ "1": Object {
+ "document": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "graphQLErrors": Array [],
+ "metadata": Object {
+ "reactComponent": Object {
+ "displayName": "Query",
+ },
+ },
+ "networkError": null,
+ "networkStatus": 1,
+ "previousVariables": null,
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ },
+ },
+ "ssrMode": false,
+ "transformCache": WeakMap {},
+ },
+ "reFetchObservableQueries": [Function],
+ "resetStore": [Function],
+ "resetStoreCallbacks": Array [],
+ "store": DataStore {
+ "cache": InMemoryCache {
+ "addTypename": false,
+ "cacheKeyRoot": KeyTrie {
+ "weakness": true,
+ },
+ "config": Object {
+ "addTypename": false,
+ "dataIdFromObject": [Function],
+ "fragmentMatcher": HeuristicFragmentMatcher {},
+ "freezeResults": false,
+ "resultCaching": true,
+ },
+ "data": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "maybeBroadcastWatch": [Function],
+ "optimisticData": DepTrackingCache {
+ "data": Object {},
+ "depend": [Function],
+ },
+ "silenceBroadcast": false,
+ "storeReader": StoreReader {
+ "executeSelectionSet": [Function],
+ "executeStoreQuery": [Function],
+ "executeSubSelectedArray": [Function],
+ "freezeResults": false,
+ },
+ "storeWriter": StoreWriter {},
+ "typenameDocumentCache": Map {},
+ "watches": Set {
+ Object {
+ "callback": [Function],
+ "optimistic": true,
+ "previousResult": [Function],
+ "query": Object {
+ "definitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "OperationDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "operation": "query",
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "kind": "Argument",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ "value": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "GetNegotiators",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "directives": Array [],
+ "kind": "FragmentSpread",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ },
+ ],
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "totalCount",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ ],
+ },
+ },
+ ],
+ },
+ "variableDefinitions": Array [
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "ListType",
+ "type": Object {
+ "kind": "NonNullType",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageSize",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "Int",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "pageNumber",
+ },
+ },
+ },
+ Object {
+ "directives": Array [],
+ "kind": "VariableDefinition",
+ "type": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "String",
+ },
+ },
+ "variable": Object {
+ "kind": "Variable",
+ "name": Object {
+ "kind": "Name",
+ "value": "sortBy",
+ },
+ },
+ },
+ ],
+ },
+ Object {
+ "directives": Array [],
+ "kind": "FragmentDefinition",
+ "name": Object {
+ "kind": "Name",
+ "value": "Negotiator",
+ },
+ "selectionSet": Object {
+ "kind": "SelectionSet",
+ "selections": Array [
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "id",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "created",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "modified",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "name",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "jobTitle",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "active",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "officeId",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "workPhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "mobilePhone",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "email",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "metadata",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_eTag",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_links",
+ },
+ },
+ Object {
+ "arguments": Array [],
+ "directives": Array [],
+ "kind": "Field",
+ "name": Object {
+ "kind": "Name",
+ "value": "_embedded",
+ },
+ },
+ ],
+ },
+ "typeCondition": Object {
+ "kind": "NamedType",
+ "name": Object {
+ "kind": "Name",
+ "value": "NegotiatorModel",
+ },
+ },
+ },
+ ],
+ "kind": "Document",
+ "loc": Object {
+ "end": 441,
+ "source": Object {
+ "body": "#import \\"../../../graphql/fragments/negotiator.graphql\\"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
+",
+ "locationOffset": Object {
+ "column": 1,
+ "line": 1,
+ },
+ "name": "GraphQL request",
+ },
+ "start": 0,
+ },
+ },
+ "variables": Object {
+ "pageNumber": 1,
+ "pageSize": 12,
+ },
+ },
+ },
+ },
+ },
+ "typeDefs": undefined,
+ "version": "2.6.8",
+ "watchQuery": [Function],
+ }
+ }
+ >
+
+
+
+
+
+
+
+`;
+
+exports[`NegotiatorList renderNegotiatorList should match snapshot 1`] = `
+
+
+
+`;
+
+exports[`NegotiatorList renderNegotiatorList should match snapshot 2`] = `
+
+
+
+`;
+
+exports[`NegotiatorList renderNegotiatorList should match snapshot 3`] = `
+
+
+
+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
+
+
+ }
+ />
+
+
+
+
+`;
diff --git a/packages/smb/src/components/ui/negotiators-list/__tests__/negotiators-list.test.tsx b/packages/smb/src/components/ui/negotiators-list/__tests__/negotiators-list.test.tsx
new file mode 100644
index 0000000000..08958fbfc4
--- /dev/null
+++ b/packages/smb/src/components/ui/negotiators-list/__tests__/negotiators-list.test.tsx
@@ -0,0 +1,96 @@
+import * as React from 'react'
+import { mount, shallow } from 'enzyme'
+import { MockedProvider } from '@apollo/react-testing'
+import { BrowserRouter as Router } from 'react-router-dom'
+import {
+ NegotiatorList,
+ NegotiatorListProps,
+ renderNegotiatorList,
+ RenderNegotiatorListParams,
+ getDataTable,
+ tableHeaders,
+ handleChangePage,
+} from '../negotiators-list'
+import { GetNegotiators } from '../negotiators-list.graphql'
+import { negotiators } from '../__mocks__/negotiators'
+import { error } from '@/graphql/__mocks__/error'
+import { getMockRouterProps } from '@/core/__mocks__/mock-router'
+
+const mockQueries = {
+ request: {
+ query: GetNegotiators,
+ variables: { pageSize: 100, pageNumber: 1 },
+ },
+ result: {
+ data: negotiators,
+ },
+}
+
+describe('NegotiatorList', () => {
+ describe('NegotiatorList', () => {
+ it('should match a snapshot', () => {
+ const mockProps: NegotiatorListProps = getMockRouterProps({ params: {}, search: '?page=1' })
+ const wrapper = mount(
+
+
+
+
+ ,
+ )
+ expect(wrapper).toMatchSnapshot()
+ })
+ })
+
+ describe('renderNegotiatorList', () => {
+ it('should match snapshot', () => {
+ const mockParams: RenderNegotiatorListParams = {
+ loading: true,
+ error: undefined,
+ handleChangePage: jest.fn(),
+ dataTable: [],
+ }
+ const wrapper = shallow({renderNegotiatorList(mockParams)}
)
+ expect(wrapper).toMatchSnapshot()
+ })
+
+ it('should match snapshot', () => {
+ const mockParams: RenderNegotiatorListParams = {
+ loading: false,
+ error,
+ handleChangePage: jest.fn(),
+ dataTable: [],
+ }
+ const wrapper = shallow({renderNegotiatorList(mockParams)}
)
+ expect(wrapper).toMatchSnapshot()
+ })
+
+ it('should match snapshot', () => {
+ const mockParams: RenderNegotiatorListParams = {
+ loading: false,
+ error: undefined,
+ handleChangePage: jest.fn(),
+ dataTable: getDataTable(negotiators),
+ }
+ const wrapper = shallow({renderNegotiatorList(mockParams)}
)
+ expect(wrapper).toMatchSnapshot()
+ })
+
+ describe('getDataTable', () => {
+ it('should run correctly', () => {
+ const dataTable = getDataTable(negotiators)
+ expect(Array.isArray(dataTable)).toBe(true)
+ expect(dataTable.length).toBe(4)
+ expect(dataTable[0]).toEqual(tableHeaders)
+ })
+ })
+
+ describe('handleChangePage', () => {
+ it('should run correctly', () => {
+ const mockParams = { history: { push: jest.fn() } }
+ const fn = handleChangePage(mockParams)
+ fn(2)
+ expect(mockParams.history.push).toBeCalledWith({ search: 'page=2' })
+ })
+ })
+ })
+})
diff --git a/packages/smb/src/components/ui/negotiators-list/index.ts b/packages/smb/src/components/ui/negotiators-list/index.ts
new file mode 100644
index 0000000000..dbdae6f202
--- /dev/null
+++ b/packages/smb/src/components/ui/negotiators-list/index.ts
@@ -0,0 +1,2 @@
+import NegotiatorList from './negotiators-list'
+export default NegotiatorList
diff --git a/packages/smb/src/components/ui/negotiators-list/negotiators-list.graphql b/packages/smb/src/components/ui/negotiators-list/negotiators-list.graphql
new file mode 100644
index 0000000000..8c07d5036e
--- /dev/null
+++ b/packages/smb/src/components/ui/negotiators-list/negotiators-list.graphql
@@ -0,0 +1,21 @@
+#import "../../../graphql/fragments/negotiator.graphql"
+
+query GetNegotiators(
+ $id: [String!],
+ $name: String,
+ $officeId: [String!],
+ $pageSize: Int,
+ $pageNumber: Int,
+ $sortBy: String
+ ) {
+ GetNegotiators(id: $id, name: $name, officeId: $officeId, pageSize: $pageSize, pageNumber: $pageNumber, sortBy: $sortBy) {
+ _embedded {
+ ...Negotiator
+ }
+ pageNumber
+ pageSize
+ pageCount
+ totalCount
+ _links
+ }
+}
diff --git a/packages/smb/src/components/ui/negotiators-list/negotiators-list.tsx b/packages/smb/src/components/ui/negotiators-list/negotiators-list.tsx
new file mode 100644
index 0000000000..5f295d93c6
--- /dev/null
+++ b/packages/smb/src/components/ui/negotiators-list/negotiators-list.tsx
@@ -0,0 +1,159 @@
+import * as React from 'react'
+import { useLocation, useHistory } from 'react-router-dom'
+import { useQuery } from '@apollo/react-hooks'
+import { QueryResult } from '@apollo/react-common'
+import { ApolloError } from 'apollo-boost'
+import { Loader, Cell, Alert, Section, Pagination, Spreadsheet } from '@reapit/elements'
+import { getParamsFromPath, stringifyObjectIntoQueryString } from '@/utils/client-url-params'
+import { GetNegotiators } from './negotiators-list.graphql'
+import {
+ PagedResultNegotiatorModel_,
+ NegotiatorModel,
+} from '@reapit/elements/node_modules/@reapit/foundations-ts-definitions/types'
+import { NEGOTIATORS_PER_PAGE } from '@/constants/paginators'
+
+export const tableHeaders: DataTableRow[] = [
+ { readOnly: true, value: 'Username' },
+ { readOnly: true, value: 'Job Title' },
+ { readOnly: true, value: 'Email Address' },
+ { readOnly: true, value: 'Telephone' },
+ { readOnly: true, value: 'Office' },
+ { readOnly: true, value: 'Status' },
+]
+
+export type DataTableRow = {
+ value?: string | boolean
+ readOnly?: boolean
+}
+
+export type NegotiatorListProps = {}
+
+export interface NegotiatorsQueryParams {
+ pageSize: number
+ pageNumber: number
+ sortBy?: string
+ id?: string[]
+ officeId?: string[]
+ name?: string
+}
+
+export type NegotiatorsQueryResponse = {
+ GetNegotiators?: PagedResultNegotiatorModel_
+}
+
+export type RenderNegotiatorListParams = {
+ loading: boolean
+ error?: ApolloError
+ pageNumber?: number
+ pageSize?: number
+ totalCount?: number
+ dataTable: DataTableRow[][]
+ handleChangePage: (page: number) => void
+}
+
+const NegotiatorStatusCheckbox = ({ cellRenderProps }) => {
+ const {
+ row,
+ col,
+ cell: { value },
+ } = cellRenderProps
+ const checkBoxId = `${row}-${col}`
+ return (
+
+
+
+ IS ACTIVE
+
+
+ )
+}
+
+export const getDataTable = (data: NegotiatorsQueryResponse): DataTableRow[][] => {
+ let dataTable: DataTableRow[][] = [tableHeaders]
+ const negotiators: NegotiatorModel[] = data.GetNegotiators?._embedded || []
+ const dataRows: DataTableRow[][] = negotiators.map((negotiator: NegotiatorModel) => {
+ const { name, jobTitle, email, mobilePhone, officeId, active } = negotiator
+ return [
+ { value: name },
+ { value: jobTitle },
+ { value: email },
+ { value: mobilePhone },
+ { value: officeId },
+ { value: active, CustomComponent: NegotiatorStatusCheckbox },
+ ]
+ })
+ dataTable = [tableHeaders, ...dataRows]
+ return dataTable
+}
+
+export const handleChangePage = ({ history }) => (pageNumber: number) => {
+ const searchParams = stringifyObjectIntoQueryString({
+ page: pageNumber,
+ })
+ history.push({
+ search: searchParams,
+ })
+}
+
+export const renderNegotiatorList = ({
+ loading,
+ error,
+ dataTable,
+ pageNumber = 0,
+ pageSize = 0,
+ totalCount = 0,
+ handleChangePage,
+}: RenderNegotiatorListParams) => {
+ if (loading) {
+ return
+ }
+ if (error) {
+ return
+ }
+ return (
+
+
+
+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the
+ industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type
+ and scrambled it to make a type specimen book.
+
+
+ }
+ />
+
+
+ )
+}
+
+export const NegotiatorList: React.FC = () => {
+ const location = useLocation()
+ const history = useHistory()
+ const params = getParamsFromPath(location?.search)
+ const page = Number(params?.page) || 1
+ const { loading, error, data } = useQuery(GetNegotiators, {
+ variables: { pageSize: NEGOTIATORS_PER_PAGE, pageNumber: page },
+ fetchPolicy: 'network-only',
+ }) as QueryResult
+ const dataTable = getDataTable(data || { GetNegotiators: { _embedded: [] } })
+ return (
+
+ {renderNegotiatorList({
+ loading,
+ error,
+ dataTable,
+ pageNumber: data?.GetNegotiators?.pageNumber,
+ pageSize: data?.GetNegotiators?.pageSize,
+ totalCount: data?.GetNegotiators?.totalCount,
+ handleChangePage: handleChangePage({ history }),
+ })}
+
+ )
+}
+
+export default NegotiatorList
diff --git a/packages/smb/src/constants/paginators.ts b/packages/smb/src/constants/paginators.ts
index 19cf7ba2a9..25716270e4 100644
--- a/packages/smb/src/constants/paginators.ts
+++ b/packages/smb/src/constants/paginators.ts
@@ -1 +1,2 @@
export const OFFICES_PER_PAGE = 12
+export const NEGOTIATORS_PER_PAGE = 12
diff --git a/packages/smb/src/core/__tests__/__snapshots__/router.tsx.snap b/packages/smb/src/core/__tests__/__snapshots__/router.tsx.snap
index 68ea4b1fd9..9d487b1285 100644
--- a/packages/smb/src/core/__tests__/__snapshots__/router.tsx.snap
+++ b/packages/smb/src/core/__tests__/__snapshots__/router.tsx.snap
@@ -66,6 +66,18 @@ exports[`Router should match a snapshot 1`] = `
}
path="/offices"
/>
+
import('../components/pages/login'))
const Home = React.lazy(() => import('../components/pages/home'))
const OfficesPage = React.lazy(() => import('../components/pages/offices'))
+const NegotiatorsPage = React.lazy(() => import('../components/pages/negotiators'))
const GetStartedPage = React.lazy(() => import('../components/pages/get-started'))
const Router = () => {
@@ -22,6 +23,7 @@ const Router = () => {
+
diff --git a/packages/smb/src/graphql/fragments/negotiator.graphql b/packages/smb/src/graphql/fragments/negotiator.graphql
new file mode 100644
index 0000000000..686fd84de4
--- /dev/null
+++ b/packages/smb/src/graphql/fragments/negotiator.graphql
@@ -0,0 +1,16 @@
+fragment Negotiator on NegotiatorModel {
+ id
+ created
+ modified
+ name
+ jobTitle
+ active
+ officeId
+ workPhone
+ mobilePhone
+ email
+ metadata
+ _eTag
+ _links
+ _embedded
+}