@uidu/client 3.1.1 → 3.2.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.
@@ -0,0 +1,88 @@
1
+ mutation CreateEmployee($input: CreateEmployeeInput!) {
2
+ createEmployee(input: $input) {
3
+ employee {
4
+ node {
5
+ id
6
+ employeeCode
7
+ user {
8
+ id
9
+ name
10
+ email
11
+ }
12
+ }
13
+ }
14
+ errors {
15
+ key
16
+ name
17
+ type
18
+ }
19
+ }
20
+ }
21
+
22
+ mutation UpdateEmployee($input: UpdateEmployeeInput!) {
23
+ updateEmployee(input: $input) {
24
+ employee {
25
+ id
26
+ employeeCode
27
+ }
28
+ errors {
29
+ key
30
+ name
31
+ type
32
+ }
33
+ }
34
+ }
35
+
36
+ mutation CreateEmployment($input: CreateEmploymentInput!) {
37
+ createEmployment(input: $input) {
38
+ employment {
39
+ node {
40
+ id
41
+ jobTitle
42
+ contractType
43
+ classification
44
+ startDate
45
+ endDate
46
+ isActive
47
+ }
48
+ }
49
+ errors {
50
+ key
51
+ name
52
+ type
53
+ }
54
+ }
55
+ }
56
+
57
+ mutation UpdateEmployment($input: UpdateEmploymentInput!) {
58
+ updateEmployment(input: $input) {
59
+ employment {
60
+ id
61
+ jobTitle
62
+ contractType
63
+ classification
64
+ startDate
65
+ endDate
66
+ endReason
67
+ isActive
68
+ }
69
+ errors {
70
+ key
71
+ name
72
+ type
73
+ }
74
+ }
75
+ }
76
+
77
+ mutation DeleteEmployment($input: DeleteEmploymentInput!) {
78
+ deleteEmployment(input: $input) {
79
+ employment {
80
+ id
81
+ }
82
+ errors {
83
+ key
84
+ name
85
+ type
86
+ }
87
+ }
88
+ }