@hed-hog/operations 0.0.325 → 0.0.327
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/dist/controllers/operations-collaborators.controller.d.ts +5 -0
- package/dist/controllers/operations-collaborators.controller.d.ts.map +1 -1
- package/dist/operations.service.d.ts +9 -1
- package/dist/operations.service.d.ts.map +1 -1
- package/dist/operations.service.js +140 -26
- package/dist/operations.service.js.map +1 -1
- package/hedhog/data/integration_event_catalog.yaml +313 -0
- package/hedhog/data/setting_group.yaml +21 -0
- package/hedhog/frontend/app/_components/collaborator-form-screen.tsx.ejs +410 -23
- package/hedhog/frontend/app/_components/my-project-summary-screen.tsx.ejs +504 -375
- package/hedhog/frontend/app/_components/project-details-screen.tsx.ejs +258 -230
- package/hedhog/frontend/app/_components/task-detail-sheet.tsx.ejs +225 -162
- package/hedhog/frontend/app/_components/task-form-sheet.tsx.ejs +484 -230
- package/hedhog/frontend/app/_lib/api.ts.ejs +13 -4
- package/hedhog/frontend/app/_lib/hooks/use-mention-items.ts.ejs +28 -0
- package/hedhog/frontend/app/_lib/types.ts.ejs +30 -29
- package/hedhog/frontend/app/my-tasks/page.tsx.ejs +347 -236
- package/hedhog/frontend/app/reports/projects/page.tsx.ejs +31 -7
- package/hedhog/frontend/messages/en.json +38 -55
- package/hedhog/frontend/messages/en.json.ejs +21 -4
- package/hedhog/frontend/messages/pt.json +36 -55
- package/hedhog/frontend/messages/pt.json.ejs +14 -3
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.d.ts +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.d.ts.map +1 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/_lib/types.ts +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.d.ts +1 -0
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.d.ts.map +1 -1
- package/hedhog/frontend/src/app/(app)/(libraries)/operations/operations/_lib/types.ts +1 -0
- package/hedhog/table/operations_collaborator.yaml +5 -0
- package/hedhog/table/operations_collaborator_compensation_history.yaml +4 -0
- package/package.json +5 -5
- package/src/operations.service.ts +202 -26
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
- slug: operations.contract.created
|
|
2
|
+
name: Operations contract created
|
|
3
|
+
module: operations
|
|
4
|
+
aggregate_type: contract
|
|
5
|
+
description: Disparado quando um contrato é criado no módulo de operações.
|
|
6
|
+
status: active
|
|
7
|
+
payload_schema:
|
|
8
|
+
code:
|
|
9
|
+
type: string
|
|
10
|
+
description: Código identificador do contrato
|
|
11
|
+
name:
|
|
12
|
+
type: string
|
|
13
|
+
description: Nome do contrato
|
|
14
|
+
clientName:
|
|
15
|
+
type: string
|
|
16
|
+
description: Nome do cliente vinculado ao contrato
|
|
17
|
+
startDate:
|
|
18
|
+
type: string
|
|
19
|
+
format: date-time
|
|
20
|
+
description: Data de início do contrato
|
|
21
|
+
endDate:
|
|
22
|
+
type: string
|
|
23
|
+
format: date-time
|
|
24
|
+
nullable: true
|
|
25
|
+
description: Data de término do contrato
|
|
26
|
+
originType:
|
|
27
|
+
type: string
|
|
28
|
+
description: Tipo de origem do contrato (ex. crm_proposal)
|
|
29
|
+
originId:
|
|
30
|
+
type: number
|
|
31
|
+
nullable: true
|
|
32
|
+
description: ID da entidade de origem (ex. proposalId)
|
|
33
|
+
contractId:
|
|
34
|
+
type: number
|
|
35
|
+
description: ID interno do contrato criado
|
|
36
|
+
personId:
|
|
37
|
+
type: number
|
|
38
|
+
nullable: true
|
|
39
|
+
description: ID da pessoa (cliente) vinculada ao contrato
|
|
40
|
+
metadata_schema: null
|
|
41
|
+
|
|
42
|
+
- slug: operations.contract.signed
|
|
43
|
+
name: Operations contract signed
|
|
44
|
+
module: operations
|
|
45
|
+
aggregate_type: contract
|
|
46
|
+
description: Disparado quando um contrato é marcado como assinado.
|
|
47
|
+
status: active
|
|
48
|
+
payload_schema:
|
|
49
|
+
contractId:
|
|
50
|
+
type: number
|
|
51
|
+
description: ID do contrato assinado
|
|
52
|
+
signedByUserId:
|
|
53
|
+
type: number
|
|
54
|
+
description: ID do usuário que assinou o contrato
|
|
55
|
+
signedAt:
|
|
56
|
+
type: string
|
|
57
|
+
format: date-time
|
|
58
|
+
description: Data e hora da assinatura
|
|
59
|
+
code:
|
|
60
|
+
type: string
|
|
61
|
+
description: Código do contrato
|
|
62
|
+
name:
|
|
63
|
+
type: string
|
|
64
|
+
description: Nome do contrato
|
|
65
|
+
clientName:
|
|
66
|
+
type: string
|
|
67
|
+
description: Nome do cliente
|
|
68
|
+
startDate:
|
|
69
|
+
type: string
|
|
70
|
+
format: date-time
|
|
71
|
+
description: Data de início do contrato
|
|
72
|
+
endDate:
|
|
73
|
+
type: string
|
|
74
|
+
format: date-time
|
|
75
|
+
nullable: true
|
|
76
|
+
description: Data de término do contrato
|
|
77
|
+
personId:
|
|
78
|
+
type: number
|
|
79
|
+
nullable: true
|
|
80
|
+
description: ID da pessoa vinculada ao contrato
|
|
81
|
+
metadata_schema: null
|
|
82
|
+
|
|
83
|
+
- slug: operations.contract.activated
|
|
84
|
+
name: Operations contract activated
|
|
85
|
+
module: operations
|
|
86
|
+
aggregate_type: contract
|
|
87
|
+
description: Disparado quando um contrato é ativado.
|
|
88
|
+
status: active
|
|
89
|
+
payload_schema:
|
|
90
|
+
contractId:
|
|
91
|
+
type: number
|
|
92
|
+
description: ID do contrato ativado
|
|
93
|
+
code:
|
|
94
|
+
type: string
|
|
95
|
+
description: Código do contrato
|
|
96
|
+
name:
|
|
97
|
+
type: string
|
|
98
|
+
description: Nome do contrato
|
|
99
|
+
clientName:
|
|
100
|
+
type: string
|
|
101
|
+
description: Nome do cliente
|
|
102
|
+
startDate:
|
|
103
|
+
type: string
|
|
104
|
+
format: date-time
|
|
105
|
+
description: Data de início do contrato
|
|
106
|
+
endDate:
|
|
107
|
+
type: string
|
|
108
|
+
format: date-time
|
|
109
|
+
nullable: true
|
|
110
|
+
description: Data de término do contrato
|
|
111
|
+
personId:
|
|
112
|
+
type: number
|
|
113
|
+
nullable: true
|
|
114
|
+
description: ID da pessoa vinculada ao contrato
|
|
115
|
+
metadata_schema: null
|
|
116
|
+
|
|
117
|
+
- slug: operations.accounts_payable.requested
|
|
118
|
+
name: Operations accounts payable requested
|
|
119
|
+
module: operations
|
|
120
|
+
aggregate_type: payable_request
|
|
121
|
+
description: Disparado quando operações solicita a criação de contas a pagar.
|
|
122
|
+
status: active
|
|
123
|
+
payload_schema:
|
|
124
|
+
sourceEntityType:
|
|
125
|
+
type: string
|
|
126
|
+
description: Tipo da entidade de origem (ex. project, contract)
|
|
127
|
+
sourceEntityId:
|
|
128
|
+
type: number
|
|
129
|
+
description: ID da entidade de origem
|
|
130
|
+
personId:
|
|
131
|
+
type: number
|
|
132
|
+
description: ID da pessoa (fornecedor/credor)
|
|
133
|
+
totalAmount:
|
|
134
|
+
type: number
|
|
135
|
+
description: Valor total a pagar
|
|
136
|
+
dueDate:
|
|
137
|
+
type: string
|
|
138
|
+
format: date-time
|
|
139
|
+
description: Data de vencimento
|
|
140
|
+
documentNumber:
|
|
141
|
+
type: string
|
|
142
|
+
nullable: true
|
|
143
|
+
description: Número do documento de referência
|
|
144
|
+
description:
|
|
145
|
+
type: string
|
|
146
|
+
nullable: true
|
|
147
|
+
description: Descrição do pagamento
|
|
148
|
+
metadata_schema: null
|
|
149
|
+
|
|
150
|
+
- slug: operations.project.created
|
|
151
|
+
name: Operations project created
|
|
152
|
+
module: operations
|
|
153
|
+
aggregate_type: project
|
|
154
|
+
description: Disparado quando um novo projeto é criado.
|
|
155
|
+
status: active
|
|
156
|
+
payload_schema:
|
|
157
|
+
id:
|
|
158
|
+
type: number
|
|
159
|
+
description: ID do projeto criado
|
|
160
|
+
name:
|
|
161
|
+
type: string
|
|
162
|
+
description: Nome do projeto
|
|
163
|
+
code:
|
|
164
|
+
type: string
|
|
165
|
+
nullable: true
|
|
166
|
+
description: Código do projeto
|
|
167
|
+
status:
|
|
168
|
+
type: string
|
|
169
|
+
description: Status inicial do projeto
|
|
170
|
+
clientPersonId:
|
|
171
|
+
type: number
|
|
172
|
+
nullable: true
|
|
173
|
+
description: ID da pessoa cliente vinculada ao projeto
|
|
174
|
+
metadata_schema: null
|
|
175
|
+
|
|
176
|
+
- slug: operations.project.updated
|
|
177
|
+
name: Operations project updated
|
|
178
|
+
module: operations
|
|
179
|
+
aggregate_type: project
|
|
180
|
+
description: Disparado quando um projeto é atualizado.
|
|
181
|
+
status: active
|
|
182
|
+
payload_schema:
|
|
183
|
+
id:
|
|
184
|
+
type: number
|
|
185
|
+
description: ID do projeto atualizado
|
|
186
|
+
name:
|
|
187
|
+
type: string
|
|
188
|
+
nullable: true
|
|
189
|
+
description: Novo nome do projeto
|
|
190
|
+
status:
|
|
191
|
+
type: string
|
|
192
|
+
nullable: true
|
|
193
|
+
description: Novo status do projeto
|
|
194
|
+
metadata_schema: null
|
|
195
|
+
|
|
196
|
+
- slug: operations.project.deleted
|
|
197
|
+
name: Operations project deleted
|
|
198
|
+
module: operations
|
|
199
|
+
aggregate_type: project
|
|
200
|
+
description: Disparado quando um projeto é excluído.
|
|
201
|
+
status: active
|
|
202
|
+
payload_schema:
|
|
203
|
+
id:
|
|
204
|
+
type: number
|
|
205
|
+
description: ID do projeto excluído
|
|
206
|
+
metadata_schema: null
|
|
207
|
+
|
|
208
|
+
- slug: operations.collaborator.created
|
|
209
|
+
name: Operations collaborator created
|
|
210
|
+
module: operations
|
|
211
|
+
aggregate_type: collaborator
|
|
212
|
+
description: Disparado quando um novo colaborador é registrado.
|
|
213
|
+
status: active
|
|
214
|
+
payload_schema:
|
|
215
|
+
id:
|
|
216
|
+
type: number
|
|
217
|
+
description: ID do colaborador criado
|
|
218
|
+
personId:
|
|
219
|
+
type: number
|
|
220
|
+
description: ID da pessoa vinculada ao colaborador
|
|
221
|
+
status:
|
|
222
|
+
type: string
|
|
223
|
+
description: Status do colaborador
|
|
224
|
+
jobTitleId:
|
|
225
|
+
type: number
|
|
226
|
+
nullable: true
|
|
227
|
+
description: ID do cargo do colaborador
|
|
228
|
+
metadata_schema: null
|
|
229
|
+
|
|
230
|
+
- slug: operations.collaborator.updated
|
|
231
|
+
name: Operations collaborator updated
|
|
232
|
+
module: operations
|
|
233
|
+
aggregate_type: collaborator
|
|
234
|
+
description: Disparado quando os dados de um colaborador são atualizados.
|
|
235
|
+
status: active
|
|
236
|
+
payload_schema:
|
|
237
|
+
id:
|
|
238
|
+
type: number
|
|
239
|
+
description: ID do colaborador atualizado
|
|
240
|
+
status:
|
|
241
|
+
type: string
|
|
242
|
+
nullable: true
|
|
243
|
+
description: Novo status do colaborador
|
|
244
|
+
metadata_schema: null
|
|
245
|
+
|
|
246
|
+
- slug: operations.collaborator.deleted
|
|
247
|
+
name: Operations collaborator deleted
|
|
248
|
+
module: operations
|
|
249
|
+
aggregate_type: collaborator
|
|
250
|
+
description: Disparado quando um colaborador é excluído.
|
|
251
|
+
status: active
|
|
252
|
+
payload_schema:
|
|
253
|
+
id:
|
|
254
|
+
type: number
|
|
255
|
+
description: ID do colaborador excluído
|
|
256
|
+
metadata_schema: null
|
|
257
|
+
|
|
258
|
+
- slug: operations.task.created
|
|
259
|
+
name: Operations task created
|
|
260
|
+
module: operations
|
|
261
|
+
aggregate_type: task
|
|
262
|
+
description: Disparado quando uma nova tarefa é criada.
|
|
263
|
+
status: active
|
|
264
|
+
payload_schema:
|
|
265
|
+
id:
|
|
266
|
+
type: number
|
|
267
|
+
description: ID da tarefa criada
|
|
268
|
+
title:
|
|
269
|
+
type: string
|
|
270
|
+
description: Título da tarefa
|
|
271
|
+
projectId:
|
|
272
|
+
type: number
|
|
273
|
+
description: ID do projeto vinculado
|
|
274
|
+
status:
|
|
275
|
+
type: string
|
|
276
|
+
description: Status inicial da tarefa
|
|
277
|
+
assignedCollaboratorId:
|
|
278
|
+
type: number
|
|
279
|
+
nullable: true
|
|
280
|
+
description: ID do colaborador responsável
|
|
281
|
+
metadata_schema: null
|
|
282
|
+
|
|
283
|
+
- slug: operations.task.updated
|
|
284
|
+
name: Operations task updated
|
|
285
|
+
module: operations
|
|
286
|
+
aggregate_type: task
|
|
287
|
+
description: Disparado quando uma tarefa é atualizada.
|
|
288
|
+
status: active
|
|
289
|
+
payload_schema:
|
|
290
|
+
id:
|
|
291
|
+
type: number
|
|
292
|
+
description: ID da tarefa atualizada
|
|
293
|
+
title:
|
|
294
|
+
type: string
|
|
295
|
+
nullable: true
|
|
296
|
+
description: Novo título da tarefa
|
|
297
|
+
status:
|
|
298
|
+
type: string
|
|
299
|
+
nullable: true
|
|
300
|
+
description: Novo status da tarefa
|
|
301
|
+
metadata_schema: null
|
|
302
|
+
|
|
303
|
+
- slug: operations.task.deleted
|
|
304
|
+
name: Operations task deleted
|
|
305
|
+
module: operations
|
|
306
|
+
aggregate_type: task
|
|
307
|
+
description: Disparado quando uma tarefa é excluída.
|
|
308
|
+
status: active
|
|
309
|
+
payload_schema:
|
|
310
|
+
id:
|
|
311
|
+
type: number
|
|
312
|
+
description: ID da tarefa excluída
|
|
313
|
+
metadata_schema: null
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
- slug: operations
|
|
2
|
+
icon: briefcase
|
|
3
|
+
name:
|
|
4
|
+
en: Operations
|
|
5
|
+
pt: Operações
|
|
6
|
+
description:
|
|
7
|
+
en: Settings for the Operations module
|
|
8
|
+
pt: Configurações do módulo de Operações
|
|
9
|
+
relations:
|
|
10
|
+
setting:
|
|
11
|
+
- slug: operations.comment-edit-window
|
|
12
|
+
type: number
|
|
13
|
+
component: input-number
|
|
14
|
+
name:
|
|
15
|
+
en: Comment Edit/Delete Window (minutes)
|
|
16
|
+
pt: Janela de Edição/Exclusão de Comentários (minutos)
|
|
17
|
+
description:
|
|
18
|
+
en: Number of minutes after posting during which a comment can be edited or deleted. Set to 0 for no time restriction.
|
|
19
|
+
pt: Número de minutos após o envio durante os quais um comentário pode ser editado ou excluído. Defina 0 para sem restrição de tempo.
|
|
20
|
+
value: '5'
|
|
21
|
+
user_override: false
|