@hed-hog/operations 0.0.299 → 0.0.301

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.
Files changed (97) hide show
  1. package/dist/operations.controller.d.ts +713 -31
  2. package/dist/operations.controller.d.ts.map +1 -1
  3. package/dist/operations.controller.js +157 -0
  4. package/dist/operations.controller.js.map +1 -1
  5. package/dist/operations.module.d.ts.map +1 -1
  6. package/dist/operations.module.js +5 -1
  7. package/dist/operations.module.js.map +1 -1
  8. package/dist/operations.proposal.subscriber.d.ts +11 -0
  9. package/dist/operations.proposal.subscriber.d.ts.map +1 -0
  10. package/dist/operations.proposal.subscriber.js +80 -0
  11. package/dist/operations.proposal.subscriber.js.map +1 -0
  12. package/dist/operations.proposal.subscriber.spec.d.ts +2 -0
  13. package/dist/operations.proposal.subscriber.spec.d.ts.map +1 -0
  14. package/dist/operations.proposal.subscriber.spec.js +88 -0
  15. package/dist/operations.proposal.subscriber.spec.js.map +1 -0
  16. package/dist/operations.service.d.ts +490 -46
  17. package/dist/operations.service.d.ts.map +1 -1
  18. package/dist/operations.service.js +3590 -1267
  19. package/dist/operations.service.js.map +1 -1
  20. package/dist/operations.service.spec.d.ts +2 -0
  21. package/dist/operations.service.spec.d.ts.map +1 -0
  22. package/dist/operations.service.spec.js +159 -0
  23. package/dist/operations.service.spec.js.map +1 -0
  24. package/hedhog/data/menu.yaml +232 -198
  25. package/hedhog/data/role.yaml +23 -23
  26. package/hedhog/data/role_route.yaml +39 -0
  27. package/hedhog/data/route.yaml +447 -317
  28. package/hedhog/frontend/app/_components/collaborator-details-screen.tsx.ejs +8 -6
  29. package/hedhog/frontend/app/_components/collaborator-form-screen.tsx.ejs +1163 -327
  30. package/hedhog/frontend/app/_components/collaborator-select-with-create.tsx.ejs +256 -0
  31. package/hedhog/frontend/app/_components/contract-content-editor.tsx.ejs +258 -0
  32. package/hedhog/frontend/app/_components/contract-creation-wizard.tsx.ejs +631 -0
  33. package/hedhog/frontend/app/_components/contract-details-screen.tsx.ejs +353 -27
  34. package/hedhog/frontend/app/_components/contract-form-screen.tsx.ejs +1926 -87
  35. package/hedhog/frontend/app/_components/contract-template-form-screen.tsx.ejs +526 -0
  36. package/hedhog/frontend/app/_components/contract-template-select-with-create.tsx.ejs +247 -0
  37. package/hedhog/frontend/app/_components/contract-wizard-sheet.tsx.ejs +3520 -0
  38. package/hedhog/frontend/app/_components/department-select-with-create.tsx.ejs +370 -0
  39. package/hedhog/frontend/app/_components/person-select-with-create.tsx.ejs +826 -0
  40. package/hedhog/frontend/app/_components/project-form-screen.tsx.ejs +1251 -364
  41. package/hedhog/frontend/app/_components/section-card.tsx.ejs +48 -13
  42. package/hedhog/frontend/app/_lib/api.ts.ejs +2 -5
  43. package/hedhog/frontend/app/_lib/types.ts.ejs +76 -33
  44. package/hedhog/frontend/app/_lib/utils/format.ts.ejs +85 -8
  45. package/hedhog/frontend/app/approvals/page.tsx.ejs +90 -54
  46. package/hedhog/frontend/app/collaborators/[id]/edit/page.tsx.ejs +2 -2
  47. package/hedhog/frontend/app/collaborators/[id]/page.tsx.ejs +2 -2
  48. package/hedhog/frontend/app/collaborators/page.tsx.ejs +597 -140
  49. package/hedhog/frontend/app/contracts/[id]/edit/page.tsx.ejs +2 -2
  50. package/hedhog/frontend/app/contracts/[id]/page.tsx.ejs +2 -2
  51. package/hedhog/frontend/app/contracts/page.tsx.ejs +941 -262
  52. package/hedhog/frontend/app/contracts/templates/page.tsx.ejs +384 -0
  53. package/hedhog/frontend/app/departments/page.tsx.ejs +442 -0
  54. package/hedhog/frontend/app/page.tsx.ejs +36 -12
  55. package/hedhog/frontend/app/projects/[id]/edit/page.tsx.ejs +2 -2
  56. package/hedhog/frontend/app/projects/new/page.tsx.ejs +2 -2
  57. package/hedhog/frontend/app/projects/page.tsx.ejs +264 -102
  58. package/hedhog/frontend/app/schedule-adjustments/page.tsx.ejs +50 -28
  59. package/hedhog/frontend/app/time-off/page.tsx.ejs +57 -31
  60. package/hedhog/frontend/app/timesheets/page.tsx.ejs +85 -42
  61. package/hedhog/frontend/messages/en.json +473 -12
  62. package/hedhog/frontend/messages/pt.json +528 -66
  63. package/hedhog/table/operations_approval.yaml +49 -49
  64. package/hedhog/table/operations_approval_history.yaml +29 -29
  65. package/hedhog/table/operations_collaborator.yaml +87 -67
  66. package/hedhog/table/operations_collaborator_schedule_day.yaml +34 -34
  67. package/hedhog/table/operations_contract.yaml +121 -100
  68. package/hedhog/table/operations_contract_document.yaml +40 -23
  69. package/hedhog/table/operations_contract_financial_term.yaml +40 -40
  70. package/hedhog/table/operations_contract_history.yaml +27 -27
  71. package/hedhog/table/operations_contract_party.yaml +46 -46
  72. package/hedhog/table/operations_contract_revision.yaml +38 -38
  73. package/hedhog/table/operations_contract_signature.yaml +38 -38
  74. package/hedhog/table/operations_contract_template.yaml +58 -0
  75. package/hedhog/table/operations_department.yaml +24 -0
  76. package/hedhog/table/operations_project.yaml +54 -54
  77. package/hedhog/table/operations_project_assignment.yaml +55 -55
  78. package/hedhog/table/operations_schedule_adjustment_day.yaml +34 -34
  79. package/hedhog/table/operations_schedule_adjustment_request.yaml +53 -53
  80. package/hedhog/table/operations_time_off_request.yaml +57 -57
  81. package/hedhog/table/operations_timesheet.yaml +41 -41
  82. package/hedhog/table/operations_timesheet_entry.yaml +40 -40
  83. package/package.json +5 -3
  84. package/src/operations.controller.ts +304 -182
  85. package/src/operations.module.ts +26 -22
  86. package/src/operations.proposal.subscriber.spec.ts +121 -0
  87. package/src/operations.proposal.subscriber.ts +86 -0
  88. package/src/operations.service.spec.ts +210 -0
  89. package/src/operations.service.ts +7317 -3595
  90. package/dist/operations-data.controller.d.ts +0 -139
  91. package/dist/operations-data.controller.d.ts.map +0 -1
  92. package/dist/operations-data.controller.js +0 -113
  93. package/dist/operations-data.controller.js.map +0 -1
  94. package/dist/operations-growth.controller.d.ts +0 -48
  95. package/dist/operations-growth.controller.d.ts.map +0 -1
  96. package/dist/operations-growth.controller.js +0 -90
  97. package/dist/operations-growth.controller.js.map +0 -1
@@ -1,317 +1,447 @@
1
- - url: /operations/dashboard
2
- method: GET
3
- relations:
4
- role:
5
- - where:
6
- slug: admin
7
- - where:
8
- slug: admin-operations-collaborator
9
- - where:
10
- slug: admin-operations-supervisor
11
- - where:
12
- slug: admin-operations-director
13
-
14
- - url: /operations/collaborators
15
- method: GET
16
- relations:
17
- role:
18
- - where:
19
- slug: admin
20
- - where:
21
- slug: admin-operations-collaborator
22
- - where:
23
- slug: admin-operations-supervisor
24
- - where:
25
- slug: admin-operations-director
26
-
27
- - url: /operations/collaborators
28
- method: POST
29
- relations:
30
- role:
31
- - where:
32
- slug: admin
33
- - where:
34
- slug: admin-operations-director
35
-
36
- - url: /operations/collaborators/me
37
- method: GET
38
- relations:
39
- role:
40
- - where:
41
- slug: admin
42
- - where:
43
- slug: admin-operations-collaborator
44
- - where:
45
- slug: admin-operations-supervisor
46
- - where:
47
- slug: admin-operations-director
48
-
49
- - url: /operations/collaborators/team
50
- method: GET
51
- relations:
52
- role:
53
- - where:
54
- slug: admin
55
- - where:
56
- slug: admin-operations-supervisor
57
- - where:
58
- slug: admin-operations-director
59
-
60
- - url: /operations/collaborators/:id
61
- method: GET
62
- relations:
63
- role:
64
- - where:
65
- slug: admin
66
- - where:
67
- slug: admin-operations-collaborator
68
- - where:
69
- slug: admin-operations-supervisor
70
- - where:
71
- slug: admin-operations-director
72
-
73
- - url: /operations/collaborators/:id
74
- method: PATCH
75
- relations:
76
- role:
77
- - where:
78
- slug: admin
79
- - where:
80
- slug: admin-operations-director
81
-
82
- - url: /operations/projects
83
- method: GET
84
- relations:
85
- role:
86
- - where:
87
- slug: admin
88
- - where:
89
- slug: admin-operations-collaborator
90
- - where:
91
- slug: admin-operations-supervisor
92
- - where:
93
- slug: admin-operations-director
94
-
95
- - url: /operations/projects
96
- method: POST
97
- relations:
98
- role:
99
- - where:
100
- slug: admin
101
- - where:
102
- slug: admin-operations-director
103
-
104
- - url: /operations/projects/:id
105
- method: GET
106
- relations:
107
- role:
108
- - where:
109
- slug: admin
110
- - where:
111
- slug: admin-operations-collaborator
112
- - where:
113
- slug: admin-operations-supervisor
114
- - where:
115
- slug: admin-operations-director
116
-
117
- - url: /operations/projects/:id
118
- method: PATCH
119
- relations:
120
- role:
121
- - where:
122
- slug: admin
123
- - where:
124
- slug: admin-operations-director
125
-
126
- - url: /operations/contracts
127
- method: GET
128
- relations:
129
- role:
130
- - where:
131
- slug: admin
132
- - where:
133
- slug: admin-operations-collaborator
134
- - where:
135
- slug: admin-operations-supervisor
136
- - where:
137
- slug: admin-operations-director
138
-
139
- - url: /operations/contracts
140
- method: POST
141
- relations:
142
- role:
143
- - where:
144
- slug: admin
145
- - where:
146
- slug: admin-operations-director
147
-
148
- - url: /operations/contracts/:id
149
- method: GET
150
- relations:
151
- role:
152
- - where:
153
- slug: admin
154
- - where:
155
- slug: admin-operations-collaborator
156
- - where:
157
- slug: admin-operations-supervisor
158
- - where:
159
- slug: admin-operations-director
160
-
161
- - url: /operations/contracts/:id
162
- method: PATCH
163
- relations:
164
- role:
165
- - where:
166
- slug: admin
167
- - where:
168
- slug: admin-operations-director
169
-
170
- - url: /operations/timesheets
171
- method: GET
172
- relations:
173
- role:
174
- - where:
175
- slug: admin
176
- - where:
177
- slug: admin-operations-collaborator
178
- - where:
179
- slug: admin-operations-supervisor
180
- - where:
181
- slug: admin-operations-director
182
-
183
- - url: /operations/timesheets
184
- method: POST
185
- relations:
186
- role:
187
- - where:
188
- slug: admin
189
- - where:
190
- slug: admin-operations-collaborator
191
- - where:
192
- slug: admin-operations-director
193
-
194
- - url: /operations/timesheets/:id
195
- method: PATCH
196
- relations:
197
- role:
198
- - where:
199
- slug: admin
200
- - where:
201
- slug: admin-operations-collaborator
202
- - where:
203
- slug: admin-operations-director
204
-
205
- - url: /operations/timesheets/:id/submit
206
- method: POST
207
- relations:
208
- role:
209
- - where:
210
- slug: admin
211
- - where:
212
- slug: admin-operations-collaborator
213
- - where:
214
- slug: admin-operations-director
215
-
216
- - url: /operations/time-off
217
- method: GET
218
- relations:
219
- role:
220
- - where:
221
- slug: admin
222
- - where:
223
- slug: admin-operations-collaborator
224
- - where:
225
- slug: admin-operations-supervisor
226
- - where:
227
- slug: admin-operations-director
228
-
229
- - url: /operations/time-off
230
- method: POST
231
- relations:
232
- role:
233
- - where:
234
- slug: admin
235
- - where:
236
- slug: admin-operations-collaborator
237
- - where:
238
- slug: admin-operations-director
239
-
240
- - url: /operations/schedule-adjustments
241
- method: GET
242
- relations:
243
- role:
244
- - where:
245
- slug: admin
246
- - where:
247
- slug: admin-operations-collaborator
248
- - where:
249
- slug: admin-operations-supervisor
250
- - where:
251
- slug: admin-operations-director
252
-
253
- - url: /operations/schedule-adjustments
254
- method: POST
255
- relations:
256
- role:
257
- - where:
258
- slug: admin
259
- - where:
260
- slug: admin-operations-collaborator
261
- - where:
262
- slug: admin-operations-director
263
-
264
- - url: /operations/approvals
265
- method: GET
266
- relations:
267
- role:
268
- - where:
269
- slug: admin
270
- - where:
271
- slug: admin-operations-supervisor
272
- - where:
273
- slug: admin-operations-director
274
-
275
- - url: /operations/approvals/:id/approve
276
- method: POST
277
- relations:
278
- role:
279
- - where:
280
- slug: admin
281
- - where:
282
- slug: admin-operations-supervisor
283
- - where:
284
- slug: admin-operations-director
285
-
286
- - url: /operations/approvals/:id/reject
287
- method: POST
288
- relations:
289
- role:
290
- - where:
291
- slug: admin
292
- - where:
293
- slug: admin-operations-supervisor
294
- - where:
295
- slug: admin-operations-director
296
-
297
- - url: /operations/integration/examples/accounts-payable
298
- method: POST
299
- relations:
300
- role:
301
- - where:
302
- slug: admin
303
- - where:
304
- slug: admin-operations-supervisor
305
- - where:
306
- slug: admin-operations-director
307
-
308
- - url: /operations/team
309
- method: GET
310
- relations:
311
- role:
312
- - where:
313
- slug: admin
314
- - where:
315
- slug: admin-operations-supervisor
316
- - where:
317
- slug: admin-operations-director
1
+ - url: /operations/dashboard
2
+ method: GET
3
+ relations:
4
+ role:
5
+ - where:
6
+ slug: admin
7
+ - where:
8
+ slug: admin-operations-collaborator
9
+ - where:
10
+ slug: admin-operations-supervisor
11
+ - where:
12
+ slug: admin-operations-director
13
+
14
+ - url: /operations/collaborators
15
+ method: GET
16
+ relations:
17
+ role:
18
+ - where:
19
+ slug: admin
20
+ - where:
21
+ slug: admin-operations-collaborator
22
+ - where:
23
+ slug: admin-operations-supervisor
24
+ - where:
25
+ slug: admin-operations-director
26
+
27
+ - url: /operations/collaborators
28
+ method: POST
29
+ relations:
30
+ role:
31
+ - where:
32
+ slug: admin
33
+ - where:
34
+ slug: admin-operations-director
35
+
36
+ - url: /operations/collaborators/me
37
+ method: GET
38
+ relations:
39
+ role:
40
+ - where:
41
+ slug: admin
42
+ - where:
43
+ slug: admin-operations-collaborator
44
+ - where:
45
+ slug: admin-operations-supervisor
46
+ - where:
47
+ slug: admin-operations-director
48
+
49
+ - url: /operations/collaborators/team
50
+ method: GET
51
+ relations:
52
+ role:
53
+ - where:
54
+ slug: admin
55
+ - where:
56
+ slug: admin-operations-supervisor
57
+ - where:
58
+ slug: admin-operations-director
59
+
60
+ - url: /operations/collaborators/:id
61
+ method: GET
62
+ relations:
63
+ role:
64
+ - where:
65
+ slug: admin
66
+ - where:
67
+ slug: admin-operations-collaborator
68
+ - where:
69
+ slug: admin-operations-supervisor
70
+ - where:
71
+ slug: admin-operations-director
72
+
73
+ - url: /operations/collaborators/:id
74
+ method: PATCH
75
+ relations:
76
+ role:
77
+ - where:
78
+ slug: admin
79
+ - where:
80
+ slug: admin-operations-director
81
+
82
+ - url: /operations/departments
83
+ method: GET
84
+ relations:
85
+ role:
86
+ - where:
87
+ slug: admin
88
+ - where:
89
+ slug: admin-operations-collaborator
90
+ - where:
91
+ slug: admin-operations-supervisor
92
+ - where:
93
+ slug: admin-operations-director
94
+
95
+ - url: /operations/departments
96
+ method: POST
97
+ relations:
98
+ role:
99
+ - where:
100
+ slug: admin
101
+ - where:
102
+ slug: admin-operations-director
103
+
104
+ - url: /operations/departments/:id
105
+ method: PATCH
106
+ relations:
107
+ role:
108
+ - where:
109
+ slug: admin
110
+ - where:
111
+ slug: admin-operations-director
112
+
113
+ - url: /operations/projects
114
+ method: GET
115
+ relations:
116
+ role:
117
+ - where:
118
+ slug: admin
119
+ - where:
120
+ slug: admin-operations-collaborator
121
+ - where:
122
+ slug: admin-operations-supervisor
123
+ - where:
124
+ slug: admin-operations-director
125
+
126
+ - url: /operations/projects
127
+ method: POST
128
+ relations:
129
+ role:
130
+ - where:
131
+ slug: admin
132
+ - where:
133
+ slug: admin-operations-director
134
+
135
+ - url: /operations/projects/:id
136
+ method: GET
137
+ relations:
138
+ role:
139
+ - where:
140
+ slug: admin
141
+ - where:
142
+ slug: admin-operations-collaborator
143
+ - where:
144
+ slug: admin-operations-supervisor
145
+ - where:
146
+ slug: admin-operations-director
147
+
148
+ - url: /operations/projects/:id
149
+ method: PATCH
150
+ relations:
151
+ role:
152
+ - where:
153
+ slug: admin
154
+ - where:
155
+ slug: admin-operations-director
156
+
157
+ - url: /operations/contract-templates
158
+ method: GET
159
+ relations:
160
+ role:
161
+ - where:
162
+ slug: admin
163
+ - where:
164
+ slug: admin-operations-director
165
+
166
+ - url: /operations/contract-templates
167
+ method: POST
168
+ relations:
169
+ role:
170
+ - where:
171
+ slug: admin
172
+ - where:
173
+ slug: admin-operations-director
174
+
175
+ - url: /operations/contract-templates/:id
176
+ method: GET
177
+ relations:
178
+ role:
179
+ - where:
180
+ slug: admin
181
+ - where:
182
+ slug: admin-operations-director
183
+
184
+ - url: /operations/contract-templates/:id
185
+ method: PATCH
186
+ relations:
187
+ role:
188
+ - where:
189
+ slug: admin
190
+ - where:
191
+ slug: admin-operations-director
192
+
193
+ - url: /operations/contracts
194
+ method: GET
195
+ relations:
196
+ role:
197
+ - where:
198
+ slug: admin
199
+ - where:
200
+ slug: admin-operations-collaborator
201
+ - where:
202
+ slug: admin-operations-supervisor
203
+ - where:
204
+ slug: admin-operations-director
205
+
206
+ - url: /operations/contracts
207
+ method: POST
208
+ relations:
209
+ role:
210
+ - where:
211
+ slug: admin
212
+ - where:
213
+ slug: admin-operations-director
214
+
215
+ - url: /operations/contracts/drafts
216
+ method: POST
217
+ relations:
218
+ role:
219
+ - where:
220
+ slug: admin
221
+ - where:
222
+ slug: admin-operations-director
223
+
224
+ - url: /operations/contracts/extract-draft
225
+ method: POST
226
+ relations:
227
+ role:
228
+ - where:
229
+ slug: admin
230
+ - where:
231
+ slug: admin-operations-director
232
+
233
+ - url: /operations/contracts/:id/extract-source
234
+ method: POST
235
+ relations:
236
+ role:
237
+ - where:
238
+ slug: admin
239
+ - where:
240
+ slug: admin-operations-director
241
+
242
+ - url: /operations/contracts/:id/generate-content
243
+ method: POST
244
+ relations:
245
+ role:
246
+ - where:
247
+ slug: admin
248
+ - where:
249
+ slug: admin-operations-director
250
+
251
+ - url: /operations/contracts/:id/legal-review
252
+ method: POST
253
+ relations:
254
+ role:
255
+ - where:
256
+ slug: admin
257
+ - where:
258
+ slug: admin-operations-director
259
+
260
+ - url: /operations/contracts/:id
261
+ method: GET
262
+ relations:
263
+ role:
264
+ - where:
265
+ slug: admin
266
+ - where:
267
+ slug: admin-operations-collaborator
268
+ - where:
269
+ slug: admin-operations-supervisor
270
+ - where:
271
+ slug: admin-operations-director
272
+
273
+ - url: /operations/contracts/:id
274
+ method: PATCH
275
+ relations:
276
+ role:
277
+ - where:
278
+ slug: admin
279
+ - where:
280
+ slug: admin-operations-director
281
+
282
+ - url: /operations/contracts/:id
283
+ method: DELETE
284
+ relations:
285
+ role:
286
+ - where:
287
+ slug: admin
288
+ - where:
289
+ slug: admin-operations-director
290
+
291
+ - url: /operations/contracts/:id/generate-pdf
292
+ method: POST
293
+ relations:
294
+ role:
295
+ - where:
296
+ slug: admin
297
+ - where:
298
+ slug: admin-operations-director
299
+
300
+ - url: /operations/timesheets
301
+ method: GET
302
+ relations:
303
+ role:
304
+ - where:
305
+ slug: admin
306
+ - where:
307
+ slug: admin-operations-collaborator
308
+ - where:
309
+ slug: admin-operations-supervisor
310
+ - where:
311
+ slug: admin-operations-director
312
+
313
+ - url: /operations/timesheets
314
+ method: POST
315
+ relations:
316
+ role:
317
+ - where:
318
+ slug: admin
319
+ - where:
320
+ slug: admin-operations-collaborator
321
+ - where:
322
+ slug: admin-operations-director
323
+
324
+ - url: /operations/timesheets/:id
325
+ method: PATCH
326
+ relations:
327
+ role:
328
+ - where:
329
+ slug: admin
330
+ - where:
331
+ slug: admin-operations-collaborator
332
+ - where:
333
+ slug: admin-operations-director
334
+
335
+ - url: /operations/timesheets/:id/submit
336
+ method: POST
337
+ relations:
338
+ role:
339
+ - where:
340
+ slug: admin
341
+ - where:
342
+ slug: admin-operations-collaborator
343
+ - where:
344
+ slug: admin-operations-director
345
+
346
+ - url: /operations/time-off
347
+ method: GET
348
+ relations:
349
+ role:
350
+ - where:
351
+ slug: admin
352
+ - where:
353
+ slug: admin-operations-collaborator
354
+ - where:
355
+ slug: admin-operations-supervisor
356
+ - where:
357
+ slug: admin-operations-director
358
+
359
+ - url: /operations/time-off
360
+ method: POST
361
+ relations:
362
+ role:
363
+ - where:
364
+ slug: admin
365
+ - where:
366
+ slug: admin-operations-collaborator
367
+ - where:
368
+ slug: admin-operations-director
369
+
370
+ - url: /operations/schedule-adjustments
371
+ method: GET
372
+ relations:
373
+ role:
374
+ - where:
375
+ slug: admin
376
+ - where:
377
+ slug: admin-operations-collaborator
378
+ - where:
379
+ slug: admin-operations-supervisor
380
+ - where:
381
+ slug: admin-operations-director
382
+
383
+ - url: /operations/schedule-adjustments
384
+ method: POST
385
+ relations:
386
+ role:
387
+ - where:
388
+ slug: admin
389
+ - where:
390
+ slug: admin-operations-collaborator
391
+ - where:
392
+ slug: admin-operations-director
393
+
394
+ - url: /operations/approvals
395
+ method: GET
396
+ relations:
397
+ role:
398
+ - where:
399
+ slug: admin
400
+ - where:
401
+ slug: admin-operations-supervisor
402
+ - where:
403
+ slug: admin-operations-director
404
+
405
+ - url: /operations/approvals/:id/approve
406
+ method: POST
407
+ relations:
408
+ role:
409
+ - where:
410
+ slug: admin
411
+ - where:
412
+ slug: admin-operations-supervisor
413
+ - where:
414
+ slug: admin-operations-director
415
+
416
+ - url: /operations/approvals/:id/reject
417
+ method: POST
418
+ relations:
419
+ role:
420
+ - where:
421
+ slug: admin
422
+ - where:
423
+ slug: admin-operations-supervisor
424
+ - where:
425
+ slug: admin-operations-director
426
+
427
+ - url: /operations/integration/examples/accounts-payable
428
+ method: POST
429
+ relations:
430
+ role:
431
+ - where:
432
+ slug: admin
433
+ - where:
434
+ slug: admin-operations-supervisor
435
+ - where:
436
+ slug: admin-operations-director
437
+
438
+ - url: /operations/team
439
+ method: GET
440
+ relations:
441
+ role:
442
+ - where:
443
+ slug: admin
444
+ - where:
445
+ slug: admin-operations-supervisor
446
+ - where:
447
+ slug: admin-operations-director