Skip to content

Commit 74e63d5

Browse files
committed
Updated to latest API release. Added Desk and Bureau entities.
1 parent da0e526 commit 74e63d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1867
-0
lines changed

documents/agent/GetAgent.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ query GetAgent($id: ID!, $correlationId: String) {
1010
state
1111
correlationId
1212
type
13+
description
1314
specification {
1415
id
1516
}

documents/agent/QueryAgents.graphql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ query QueryAgents($filter: AgentFilter, $correlationId: String) {
1212
state
1313
correlationId
1414
type
15+
description
1516
specification {
1617
id
1718
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
mutation AddDesksToBureau($desks: [EntityReferenceInput!]!, $bureau: EntityReferenceInput!) {
2+
addDesksToBureau(desks: $desks, bureau: $bureau) {
3+
id
4+
name
5+
state
6+
description
7+
mission
8+
directives
9+
desks {
10+
id
11+
name
12+
}
13+
deskCount
14+
}
15+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
query CountBureaus($filter: BureauFilter, $correlationId: String) {
2+
countBureaus(filter: $filter, correlationId: $correlationId) {
3+
count
4+
}
5+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
mutation CreateBureau($bureau: BureauInput!) {
2+
createBureau(bureau: $bureau) {
3+
id
4+
name
5+
state
6+
description
7+
mission
8+
directives
9+
}
10+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mutation DeleteAllBureaus($filter: BureauFilter, $isSynchronous: Boolean, $correlationId: String) {
2+
deleteAllBureaus(filter: $filter, isSynchronous: $isSynchronous, correlationId: $correlationId) {
3+
id
4+
state
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mutation DeleteBureau($id: ID!) {
2+
deleteBureau(id: $id) {
3+
id
4+
state
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
mutation DeleteBureaus($ids: [ID!]!, $isSynchronous: Boolean) {
2+
deleteBureaus(ids: $ids, isSynchronous: $isSynchronous) {
3+
id
4+
state
5+
}
6+
}

documents/bureau/GetBureau.graphql

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
query GetBureau($id: ID!, $correlationId: String) {
2+
bureau(id: $id, correlationId: $correlationId) {
3+
id
4+
name
5+
creationDate
6+
modifiedDate
7+
owner {
8+
id
9+
}
10+
state
11+
description
12+
mission
13+
directives
14+
desks {
15+
id
16+
name
17+
}
18+
deskCount
19+
}
20+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
query QueryBureaus($filter: BureauFilter, $correlationId: String) {
2+
bureaus(filter: $filter, correlationId: $correlationId) {
3+
results {
4+
id
5+
name
6+
creationDate
7+
modifiedDate
8+
relevance
9+
owner {
10+
id
11+
}
12+
state
13+
description
14+
mission
15+
directives
16+
deskCount
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)