@uidu/client 3.17.0 → 3.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/dist/declarations/src/calls.d.ts +9 -1
- package/dist/declarations/src/candidates.d.ts +102 -0
- package/dist/declarations/src/contacts.d.ts +22 -1
- package/dist/declarations/src/contracts.d.ts +8 -0
- package/dist/declarations/src/expenses.d.ts +169 -0
- package/dist/declarations/src/field-values.d.ts +34 -0
- package/dist/declarations/src/generated/index.d.ts +13283 -4414
- package/dist/declarations/src/index.d.ts +24 -8
- package/dist/declarations/src/meetings.d.ts +41 -0
- package/dist/declarations/src/mutations.d.ts +168 -131
- package/dist/declarations/src/people.d.ts +13 -1
- package/dist/declarations/src/reviews.d.ts +195 -0
- package/dist/declarations/src/skills.d.ts +34 -0
- package/dist/declarations/src/work-sites.d.ts +9 -0
- package/dist/uidu-client.cjs.dev.js +570 -31
- package/dist/uidu-client.cjs.prod.js +570 -31
- package/dist/uidu-client.esm.js +523 -32
- package/package.json +1 -1
- package/src/calls.ts +37 -0
- package/src/candidates.ts +105 -0
- package/src/contacts.ts +33 -0
- package/src/contracts.ts +44 -0
- package/src/expenses.test.ts +155 -0
- package/src/expenses.ts +155 -0
- package/src/field-values.ts +95 -0
- package/src/generated/index.ts +3461 -2268
- package/src/index.ts +83 -4
- package/src/meetings.ts +37 -0
- package/src/mutations.test.ts +40 -1
- package/src/mutations.ts +170 -60
- package/src/people.ts +33 -0
- package/src/queries/calls/ListCallStatuses.graphql +26 -0
- package/src/queries/candidates/CandidateFields.graphql +28 -0
- package/src/queries/candidates/CandidateMutations.graphql +35 -0
- package/src/queries/candidates/CandidateQueries.graphql +94 -0
- package/src/queries/contacts/ContactMutations.graphql +0 -13
- package/src/queries/contacts/GetOrganization.graphql +17 -0
- package/src/queries/contacts/ListOrganizations.graphql +21 -0
- package/src/queries/contacts/OrganizationMutations.graphql +17 -0
- package/src/queries/contracts/ContractQueries.graphql +67 -0
- package/src/queries/courses/CourseMutations.graphql +0 -13
- package/src/queries/discardable/DiscardableMutations.graphql +32 -0
- package/src/queries/expenses/ExpenseFields.graphql +29 -0
- package/src/queries/expenses/ExpenseMutations.graphql +81 -0
- package/src/queries/expenses/GetExpenseReport.graphql +14 -0
- package/src/queries/expenses/ListAnalyticAccounts.graphql +20 -0
- package/src/queries/expenses/ListExpenseReports.graphql +22 -0
- package/src/queries/field-values/FieldValueFields.graphql +18 -0
- package/src/queries/field-values/FieldValueQueries.graphql +43 -0
- package/src/queries/forms/FormMutations.graphql +0 -13
- package/src/queries/help-center/ChannelMutations.graphql +0 -13
- package/src/queries/kb/KbMutations.graphql +0 -26
- package/src/queries/meetings/MeetingQueries.graphql +48 -0
- package/src/queries/notes/NoteMutations.graphql +0 -13
- package/src/queries/people/EmploymentVariationKindMutations.graphql +51 -0
- package/src/queries/people/ListEmploymentVariationKinds.graphql +23 -0
- package/src/queries/people/PeopleMutations.graphql +0 -13
- package/src/queries/reviews/ReviewFields.graphql +35 -0
- package/src/queries/reviews/ReviewMutations.graphql +32 -0
- package/src/queries/reviews/ReviewQueries.graphql +86 -0
- package/src/queries/skills/SkillQueries.graphql +53 -0
- package/src/queries/spaces/SpaceMutations.graphql +0 -13
- package/src/queries/tasks/TaskMutations.graphql +0 -13
- package/src/queries/work-sites/ListWorkSites.graphql +32 -0
- package/src/recruiting.test.ts +196 -0
- package/src/reviews.ts +114 -0
- package/src/skills.ts +47 -0
- package/src/work-sites.ts +28 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
fragment CandidateSummary on Candidate {
|
|
2
|
+
id
|
|
3
|
+
name
|
|
4
|
+
cvHeadline
|
|
5
|
+
cvSummary
|
|
6
|
+
source
|
|
7
|
+
poolConsent
|
|
8
|
+
poolConsentAt
|
|
9
|
+
retainUntil
|
|
10
|
+
retentionMonths
|
|
11
|
+
lastInteractionAt
|
|
12
|
+
createdAt
|
|
13
|
+
updatedAt
|
|
14
|
+
contact {
|
|
15
|
+
id
|
|
16
|
+
name
|
|
17
|
+
email
|
|
18
|
+
}
|
|
19
|
+
user {
|
|
20
|
+
id
|
|
21
|
+
name
|
|
22
|
+
email
|
|
23
|
+
}
|
|
24
|
+
pools {
|
|
25
|
+
id
|
|
26
|
+
name
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
mutation UpdateCandidate($input: UpdateCandidateInput!) {
|
|
2
|
+
updateCandidate(input: $input) {
|
|
3
|
+
candidate {
|
|
4
|
+
...CandidateSummary
|
|
5
|
+
}
|
|
6
|
+
errors {
|
|
7
|
+
key
|
|
8
|
+
name
|
|
9
|
+
type
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
mutation CreatePoolContact($input: CreatePoolContactInput!) {
|
|
15
|
+
createPoolContact(input: $input) {
|
|
16
|
+
poolContact {
|
|
17
|
+
node {
|
|
18
|
+
id
|
|
19
|
+
pool {
|
|
20
|
+
id
|
|
21
|
+
name
|
|
22
|
+
}
|
|
23
|
+
contact {
|
|
24
|
+
id
|
|
25
|
+
name
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
errors {
|
|
30
|
+
key
|
|
31
|
+
name
|
|
32
|
+
type
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# The workspace has no plain `candidates` connection: the way to list them is
|
|
2
|
+
# `findCandidates`, which ranks talent-pool candidates (and, with `callId`,
|
|
3
|
+
# that call's applications) against a description.
|
|
4
|
+
query FindCandidates(
|
|
5
|
+
$term: String
|
|
6
|
+
$callId: ID
|
|
7
|
+
$near: String
|
|
8
|
+
$withinKm: Int
|
|
9
|
+
$eligibleFor: ContractEligibilityEnum
|
|
10
|
+
) {
|
|
11
|
+
currentWorkspace {
|
|
12
|
+
findCandidates(
|
|
13
|
+
term: $term
|
|
14
|
+
callId: $callId
|
|
15
|
+
near: $near
|
|
16
|
+
withinKm: $withinKm
|
|
17
|
+
eligibleFor: $eligibleFor
|
|
18
|
+
) {
|
|
19
|
+
id
|
|
20
|
+
term
|
|
21
|
+
originName
|
|
22
|
+
candidates {
|
|
23
|
+
...CandidateSummary
|
|
24
|
+
}
|
|
25
|
+
applications {
|
|
26
|
+
id
|
|
27
|
+
aasmState
|
|
28
|
+
contact {
|
|
29
|
+
id
|
|
30
|
+
humanName
|
|
31
|
+
email
|
|
32
|
+
}
|
|
33
|
+
status {
|
|
34
|
+
id
|
|
35
|
+
name
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
evidence {
|
|
39
|
+
id
|
|
40
|
+
recordId
|
|
41
|
+
relevance
|
|
42
|
+
highlights
|
|
43
|
+
distanceKm
|
|
44
|
+
lastAppliedAt
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
query GetCandidate($id: ID!) {
|
|
51
|
+
node(id: $id) {
|
|
52
|
+
__typename
|
|
53
|
+
... on Candidate {
|
|
54
|
+
...CandidateSummary
|
|
55
|
+
applications {
|
|
56
|
+
id
|
|
57
|
+
aasmState
|
|
58
|
+
createdAt
|
|
59
|
+
status {
|
|
60
|
+
id
|
|
61
|
+
name
|
|
62
|
+
color
|
|
63
|
+
}
|
|
64
|
+
applicable {
|
|
65
|
+
__typename
|
|
66
|
+
... on Call {
|
|
67
|
+
id
|
|
68
|
+
name
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
query ListPools($first: Int, $after: String, $params: SearchParams) {
|
|
77
|
+
currentWorkspace {
|
|
78
|
+
pools(first: $first, after: $after, params: $params) {
|
|
79
|
+
pageInfo {
|
|
80
|
+
hasNextPage
|
|
81
|
+
endCursor
|
|
82
|
+
}
|
|
83
|
+
edges {
|
|
84
|
+
node {
|
|
85
|
+
id
|
|
86
|
+
name
|
|
87
|
+
color
|
|
88
|
+
poolContactsCount
|
|
89
|
+
createdAt
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -11,19 +11,6 @@ mutation CreateContact($input: CreateContactInput!) {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
mutation DeleteContact($input: DeleteContactInput!) {
|
|
15
|
-
deleteContact(input: $input) {
|
|
16
|
-
contact {
|
|
17
|
-
id
|
|
18
|
-
}
|
|
19
|
-
errors {
|
|
20
|
-
key
|
|
21
|
-
name
|
|
22
|
-
type
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
14
|
mutation CreateDeal($input: CreateDealInput!) {
|
|
28
15
|
createDeal(input: $input) {
|
|
29
16
|
deal {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
query ListOrganizations($first: Int, $after: String, $params: SearchParams) {
|
|
2
|
+
currentWorkspace {
|
|
3
|
+
organizations(first: $first, after: $after, params: $params) {
|
|
4
|
+
pageInfo {
|
|
5
|
+
hasNextPage
|
|
6
|
+
endCursor
|
|
7
|
+
}
|
|
8
|
+
edges {
|
|
9
|
+
node {
|
|
10
|
+
id
|
|
11
|
+
name
|
|
12
|
+
email
|
|
13
|
+
avatar
|
|
14
|
+
fiscalCode
|
|
15
|
+
vatCode
|
|
16
|
+
createdAt
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
fragment ContractSummary on Contract {
|
|
2
|
+
id
|
|
3
|
+
name
|
|
4
|
+
reference
|
|
5
|
+
aasmState
|
|
6
|
+
direction
|
|
7
|
+
renewal
|
|
8
|
+
currency
|
|
9
|
+
recurringAmount
|
|
10
|
+
startsOn
|
|
11
|
+
endsOn
|
|
12
|
+
noticePeriodDays
|
|
13
|
+
createdAt
|
|
14
|
+
updatedAt
|
|
15
|
+
analyticAccount {
|
|
16
|
+
id
|
|
17
|
+
name
|
|
18
|
+
code
|
|
19
|
+
}
|
|
20
|
+
counterpart {
|
|
21
|
+
__typename
|
|
22
|
+
... on Contact {
|
|
23
|
+
id
|
|
24
|
+
name
|
|
25
|
+
}
|
|
26
|
+
... on Organization {
|
|
27
|
+
id
|
|
28
|
+
name
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
query ListContracts($first: Int, $after: String, $params: SearchParams) {
|
|
34
|
+
currentWorkspace {
|
|
35
|
+
contracts(first: $first, after: $after, params: $params) {
|
|
36
|
+
pageInfo {
|
|
37
|
+
hasNextPage
|
|
38
|
+
endCursor
|
|
39
|
+
}
|
|
40
|
+
edges {
|
|
41
|
+
node {
|
|
42
|
+
...ContractSummary
|
|
43
|
+
fieldValuesByShortname
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
query GetContract($id: ID!) {
|
|
51
|
+
currentWorkspace {
|
|
52
|
+
contract(id: $id) {
|
|
53
|
+
...ContractSummary
|
|
54
|
+
body
|
|
55
|
+
fieldValuesByShortname
|
|
56
|
+
fieldValues {
|
|
57
|
+
...RecordFieldValue
|
|
58
|
+
}
|
|
59
|
+
applicableFields {
|
|
60
|
+
id
|
|
61
|
+
name
|
|
62
|
+
shortname
|
|
63
|
+
kind
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# The polymorphic trash of uidu's discardable records (the per-entity deleteX
|
|
2
|
+
# mutations are gone from the schema). `discardableDiscard` moves a record to
|
|
3
|
+
# the 30-day trash, `discardableDelete` destroys it for good.
|
|
4
|
+
mutation DiscardRecord($input: DiscardInput!) {
|
|
5
|
+
discardableDiscard(input: $input) {
|
|
6
|
+
discardable {
|
|
7
|
+
... on Node {
|
|
8
|
+
id
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
errors {
|
|
12
|
+
key
|
|
13
|
+
name
|
|
14
|
+
type
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
mutation DeleteRecord($input: DeleteInput!) {
|
|
20
|
+
discardableDelete(input: $input) {
|
|
21
|
+
discardable {
|
|
22
|
+
... on Node {
|
|
23
|
+
id
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
errors {
|
|
27
|
+
key
|
|
28
|
+
name
|
|
29
|
+
type
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# `amount` is in cents of `currency`. `category` is the integer the workspace's
|
|
2
|
+
# expense categories are keyed on. `fieldValuesByShortname` carries the custom
|
|
3
|
+
# fields the workspace added to expenses: `{ shortname: value }`.
|
|
4
|
+
fragment ExpenseFields on Expense {
|
|
5
|
+
id
|
|
6
|
+
amount
|
|
7
|
+
currency
|
|
8
|
+
spentAt
|
|
9
|
+
category
|
|
10
|
+
paymentMethod
|
|
11
|
+
fieldValuesByShortname
|
|
12
|
+
createdAt
|
|
13
|
+
updatedAt
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
# The report is addressed to a `user` (the person it reimburses); `contact` is
|
|
17
|
+
# derived from it inside uidu and not asked for here.
|
|
18
|
+
fragment ExpenseReportFields on ExpenseReport {
|
|
19
|
+
id
|
|
20
|
+
name
|
|
21
|
+
paidAt
|
|
22
|
+
fieldValuesByShortname
|
|
23
|
+
createdAt
|
|
24
|
+
updatedAt
|
|
25
|
+
user {
|
|
26
|
+
id
|
|
27
|
+
name
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
mutation CreateExpenseReport($input: CreateExpenseReportInput!) {
|
|
2
|
+
createExpenseReport(input: $input) {
|
|
3
|
+
expenseReport {
|
|
4
|
+
node {
|
|
5
|
+
...ExpenseReportFields
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
errors {
|
|
9
|
+
key
|
|
10
|
+
name
|
|
11
|
+
type
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
mutation UpdateExpenseReport($input: UpdateExpenseReportInput!) {
|
|
17
|
+
updateExpenseReport(input: $input) {
|
|
18
|
+
expenseReport {
|
|
19
|
+
...ExpenseReportFields
|
|
20
|
+
}
|
|
21
|
+
errors {
|
|
22
|
+
key
|
|
23
|
+
name
|
|
24
|
+
type
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
mutation CreateExpense($input: CreateExpenseInput!) {
|
|
30
|
+
createExpense(input: $input) {
|
|
31
|
+
expense {
|
|
32
|
+
node {
|
|
33
|
+
...ExpenseFields
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
errors {
|
|
37
|
+
key
|
|
38
|
+
name
|
|
39
|
+
type
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
mutation UpdateExpense($input: UpdateExpenseInput!) {
|
|
45
|
+
updateExpense(input: $input) {
|
|
46
|
+
expense {
|
|
47
|
+
...ExpenseFields
|
|
48
|
+
}
|
|
49
|
+
errors {
|
|
50
|
+
key
|
|
51
|
+
name
|
|
52
|
+
type
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
mutation CreateAnalyticAccountAllocation(
|
|
58
|
+
$input: CreateAnalyticAccountAllocationInput!
|
|
59
|
+
) {
|
|
60
|
+
createAnalyticAccountAllocation(input: $input) {
|
|
61
|
+
analyticAccountAllocation {
|
|
62
|
+
node {
|
|
63
|
+
id
|
|
64
|
+
amount
|
|
65
|
+
currency
|
|
66
|
+
kind
|
|
67
|
+
note
|
|
68
|
+
analyticAccount {
|
|
69
|
+
id
|
|
70
|
+
code
|
|
71
|
+
name
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
errors {
|
|
76
|
+
key
|
|
77
|
+
name
|
|
78
|
+
type
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# The analytic accounts (commesse, cost centres) an expense can be allocated to.
|
|
2
|
+
query ListAnalyticAccounts($first: Int, $after: String, $parentId: ID) {
|
|
3
|
+
currentWorkspace {
|
|
4
|
+
analyticAccounts(first: $first, after: $after, parentId: $parentId) {
|
|
5
|
+
pageInfo {
|
|
6
|
+
hasNextPage
|
|
7
|
+
endCursor
|
|
8
|
+
}
|
|
9
|
+
edges {
|
|
10
|
+
node {
|
|
11
|
+
id
|
|
12
|
+
code
|
|
13
|
+
name
|
|
14
|
+
status
|
|
15
|
+
currency
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
query ListExpenseReports($first: Int, $after: String) {
|
|
2
|
+
currentWorkspace {
|
|
3
|
+
expenseReports(first: $first, after: $after) {
|
|
4
|
+
pageInfo {
|
|
5
|
+
hasNextPage
|
|
6
|
+
endCursor
|
|
7
|
+
}
|
|
8
|
+
edges {
|
|
9
|
+
node {
|
|
10
|
+
...ExpenseReportFields
|
|
11
|
+
expenses {
|
|
12
|
+
edges {
|
|
13
|
+
node {
|
|
14
|
+
...ExpenseFields
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# One field value as the recruiting app reads it: the value, the field it
|
|
2
|
+
# belongs to, and its two dates. `validFrom` is the day the value starts to
|
|
3
|
+
# hold; `createdAt` is when the row was written (a row without `validFrom`
|
|
4
|
+
# counts from the day of its `createdAt`).
|
|
5
|
+
fragment RecordFieldValue on FieldValue {
|
|
6
|
+
id
|
|
7
|
+
content
|
|
8
|
+
value
|
|
9
|
+
valueAsString
|
|
10
|
+
validFrom
|
|
11
|
+
createdAt
|
|
12
|
+
field {
|
|
13
|
+
id
|
|
14
|
+
name
|
|
15
|
+
shortname
|
|
16
|
+
kind
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# The current field values of any record that carries them (contact,
|
|
2
|
+
# employee, contract, work site, application…), read through `node(id:)`.
|
|
3
|
+
query GetRecordFieldValues($id: ID!) {
|
|
4
|
+
node(id: $id) {
|
|
5
|
+
__typename
|
|
6
|
+
id
|
|
7
|
+
... on WithFieldValues {
|
|
8
|
+
fieldValuesByShortname
|
|
9
|
+
fieldValues {
|
|
10
|
+
...RecordFieldValue
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
# Every value a field has held on one record, oldest first — the history a
|
|
17
|
+
# report reads "what did it say on 30/06/2024?" from.
|
|
18
|
+
query ListFieldValueHistory(
|
|
19
|
+
$fieldId: ID!
|
|
20
|
+
$modelId: ID!
|
|
21
|
+
$first: Int
|
|
22
|
+
$after: String
|
|
23
|
+
) {
|
|
24
|
+
currentWorkspace {
|
|
25
|
+
field(id: $fieldId) {
|
|
26
|
+
id
|
|
27
|
+
name
|
|
28
|
+
shortname
|
|
29
|
+
kind
|
|
30
|
+
fieldValues(modelId: $modelId, first: $first, after: $after) {
|
|
31
|
+
pageInfo {
|
|
32
|
+
hasNextPage
|
|
33
|
+
endCursor
|
|
34
|
+
}
|
|
35
|
+
edges {
|
|
36
|
+
node {
|
|
37
|
+
...RecordFieldValue
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -26,19 +26,6 @@ mutation UpdateKbCollection($input: UpdateKbCollectionInput!) {
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
mutation DeleteKbCollection($input: DeleteKbCollectionInput!) {
|
|
30
|
-
deleteKbCollection(input: $input) {
|
|
31
|
-
kbCollection {
|
|
32
|
-
id
|
|
33
|
-
}
|
|
34
|
-
errors {
|
|
35
|
-
key
|
|
36
|
-
name
|
|
37
|
-
type
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
29
|
mutation CreateKbArticle($input: CreateKbArticleInput!) {
|
|
43
30
|
createKbArticle(input: $input) {
|
|
44
31
|
kbArticle {
|
|
@@ -66,16 +53,3 @@ mutation UpdateKbArticle($input: UpdateKbArticleInput!) {
|
|
|
66
53
|
}
|
|
67
54
|
}
|
|
68
55
|
}
|
|
69
|
-
|
|
70
|
-
mutation DeleteKbArticle($input: DeleteKbArticleInput!) {
|
|
71
|
-
deleteKbArticle(input: $input) {
|
|
72
|
-
kbArticle {
|
|
73
|
-
id
|
|
74
|
-
}
|
|
75
|
-
errors {
|
|
76
|
-
key
|
|
77
|
-
name
|
|
78
|
-
type
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
fragment MeetingSummary on Meeting {
|
|
2
|
+
id
|
|
3
|
+
name
|
|
4
|
+
status
|
|
5
|
+
source
|
|
6
|
+
startsAt
|
|
7
|
+
endsAt
|
|
8
|
+
timeZone
|
|
9
|
+
durationInSeconds
|
|
10
|
+
recordingUrl
|
|
11
|
+
transcriptUrl
|
|
12
|
+
createdAt
|
|
13
|
+
createdByUser {
|
|
14
|
+
id
|
|
15
|
+
name
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
query ListMeetings($first: Int, $after: String, $params: SearchParams) {
|
|
20
|
+
currentWorkspace {
|
|
21
|
+
meetings(first: $first, after: $after, params: $params) {
|
|
22
|
+
pageInfo {
|
|
23
|
+
hasNextPage
|
|
24
|
+
endCursor
|
|
25
|
+
}
|
|
26
|
+
edges {
|
|
27
|
+
node {
|
|
28
|
+
...MeetingSummary
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
mutation CreateMeeting($input: CreateMeetingInput!) {
|
|
36
|
+
createMeeting(input: $input) {
|
|
37
|
+
meeting {
|
|
38
|
+
node {
|
|
39
|
+
...MeetingSummary
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
errors {
|
|
43
|
+
key
|
|
44
|
+
name
|
|
45
|
+
type
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|