termo_core 0.1.6 → 0.1.7
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/base/servicos.d.ts +1 -0
- package/dist/base/servicos.js +9 -0
- package/dist/flow/rotas.d.ts +2 -2
- package/dist/flow/rotas.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/miro/index.d.ts +6 -0
- package/dist/miro/index.js +7 -0
- package/dist/miro/rotas.d.ts +108 -0
- package/dist/miro/rotas.js +168 -0
- package/dist/miro/tipos.d.ts +103 -0
- package/dist/miro/tipos.js +2 -0
- package/dist/portal/rotas.d.ts +6 -6
- package/dist/portal/rotas.js +6 -6
- package/dist/portal/tipos.d.ts +9 -2
- package/dist/support/rotas.d.ts +49 -758
- package/dist/support/rotas.js +50 -971
- package/dist/support/tipos.d.ts +48 -732
- package/dist/tracing/rotas.d.ts +31 -55
- package/dist/tracing/rotas.js +31 -81
- package/dist/tracing/tipos.d.ts +4 -13
- package/package.json +1 -1
package/dist/support/tipos.d.ts
CHANGED
|
@@ -1,787 +1,103 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Board com tudo o que a tela precisa: o dono e os membros com nome, e o que vale para quem está
|
|
3
|
+
* olhando (`favorito` e `pode_gerenciar`). O conteúdo do canvas não vem aqui: ele chega pelo
|
|
4
|
+
* tempo real (`/board/ws/{id}`).
|
|
4
5
|
*/
|
|
5
|
-
export interface
|
|
6
|
+
export interface Board {
|
|
6
7
|
atualizado_em: string;
|
|
7
|
-
autor?: ColaboradorResumo | null;
|
|
8
|
-
criado_em: string;
|
|
9
|
-
id: string;
|
|
10
|
-
nome: string;
|
|
11
|
-
tamanho: number;
|
|
12
|
-
tarefa_id?: string | null;
|
|
13
|
-
ticket_id?: string | null;
|
|
14
|
-
tipo_mime: string;
|
|
15
|
-
url?: string | null;
|
|
16
|
-
}
|
|
17
|
-
export interface AnexoAtualizar {
|
|
18
|
-
nome: string;
|
|
19
|
-
}
|
|
20
|
-
export interface AnexoComConteudoParte2 {
|
|
21
|
-
/**
|
|
22
|
-
* O arquivo em base64, só enquanto ele ainda não foi levado ao TermoBucket.
|
|
23
|
-
*/
|
|
24
|
-
conteudo_base64?: string | null;
|
|
25
|
-
/**
|
|
26
|
-
* URL de download do arquivo no TermoBucket, assinada por 15 minutos (vazia quando o anexo é um link).
|
|
27
|
-
*/
|
|
28
|
-
url_download?: string | null;
|
|
29
|
-
}
|
|
30
|
-
export type AnexoComConteudo = Anexo & AnexoComConteudoParte2;
|
|
31
|
-
export interface AnexoCriar {
|
|
32
|
-
/**
|
|
33
|
-
* O arquivo em base64, com ou sem o prefixo `data:...;base64,`. Mande este ou `url`.
|
|
34
|
-
*/
|
|
35
|
-
arquivo_base64?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
* Com `true`, o servidor baixa a imagem de `url` (só `https`, `image/*`, até 10 MB) e guarda o
|
|
38
|
-
* arquivo, como se ele tivesse vindo em `arquivo_base64`; o link não fica no anexo.
|
|
39
|
-
*/
|
|
40
|
-
importar_url?: boolean | null;
|
|
41
|
-
nome: string;
|
|
42
|
-
tarefa_id?: string | null;
|
|
43
|
-
ticket_id?: string | null;
|
|
44
|
-
tipo_mime?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
* Link externo (documento, print no drive). Mande este ou `arquivo_base64`.
|
|
47
|
-
*/
|
|
48
|
-
url?: string | null;
|
|
49
|
-
}
|
|
50
|
-
export interface Aplicativo {
|
|
51
|
-
ativo: boolean;
|
|
52
|
-
atualizado_em: string;
|
|
53
|
-
chave_publica: string;
|
|
54
8
|
cor: string;
|
|
55
9
|
criado_em: string;
|
|
56
10
|
descricao?: string | null;
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
logo?: string | null;
|
|
60
|
-
nome: string;
|
|
61
|
-
saudacao: string;
|
|
62
|
-
/**
|
|
63
|
-
* Id (slug) do app no TermoAuth, de onde vem a lista. Vazio só nas linhas antigas ainda não ligadas.
|
|
64
|
-
*/
|
|
65
|
-
termoauth_id?: string | null;
|
|
66
|
-
}
|
|
67
|
-
export interface AplicativoAutoComplete {
|
|
68
|
-
endereco: string;
|
|
69
|
-
id: string;
|
|
70
|
-
nome: string;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* O aplicativo como aparece dentro dos projetos e tickets.
|
|
74
|
-
*/
|
|
75
|
-
export interface AplicativoResumo {
|
|
76
|
-
cor: string;
|
|
77
|
-
id: string;
|
|
78
|
-
nome: string;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Quem aparece como dono, membro, responsável, solicitante ou autor nos projetos, tarefas e tickets.
|
|
82
|
-
*/
|
|
83
|
-
export interface ColaboradorResumo {
|
|
84
|
-
id: string;
|
|
85
|
-
nome: string;
|
|
86
|
-
}
|
|
87
|
-
export interface Comentario {
|
|
88
|
-
atualizado_em: string;
|
|
89
|
-
autor?: ColaboradorResumo | null;
|
|
90
|
-
autor_nome: string;
|
|
91
|
-
criado_em: string;
|
|
92
|
-
editado: boolean;
|
|
93
|
-
id: string;
|
|
94
|
-
/**
|
|
95
|
-
* Nota interna do ticket: só a equipe vê.
|
|
96
|
-
*/
|
|
97
|
-
interno: boolean;
|
|
98
|
-
tarefa_id?: string | null;
|
|
99
|
-
texto: string;
|
|
100
|
-
ticket_id?: string | null;
|
|
101
|
-
}
|
|
102
|
-
export interface ComentarioAtualizar {
|
|
103
|
-
texto: string;
|
|
104
|
-
}
|
|
105
|
-
export interface ComentarioCriar {
|
|
106
|
-
interno?: boolean;
|
|
107
|
-
/**
|
|
108
|
-
* Colaboradores marcados com @ no texto: recebem uma notificação.
|
|
109
|
-
*/
|
|
110
|
-
mencionados?: Array<string>;
|
|
111
|
-
tarefa_id?: string | null;
|
|
112
|
-
texto: string;
|
|
113
|
-
ticket_id?: string | null;
|
|
114
|
-
}
|
|
115
|
-
export interface Documento {
|
|
116
|
-
aplicativo_id: string;
|
|
117
|
-
atualizado_em: string;
|
|
118
|
-
caracteres: number;
|
|
119
|
-
conteudo: string;
|
|
120
|
-
criado_em: string;
|
|
11
|
+
dono: ColaboradorResumo;
|
|
12
|
+
favorito: boolean;
|
|
121
13
|
id: string;
|
|
14
|
+
membros: Array<ColaboradorResumo>;
|
|
15
|
+
miniatura?: string | null;
|
|
122
16
|
nome: string;
|
|
123
|
-
|
|
17
|
+
pode_gerenciar: boolean;
|
|
18
|
+
visibilidade: string;
|
|
124
19
|
}
|
|
125
|
-
export interface
|
|
126
|
-
|
|
127
|
-
|
|
20
|
+
export interface BoardAtualizar {
|
|
21
|
+
cor?: string | null;
|
|
22
|
+
descricao?: string | null;
|
|
23
|
+
favorito?: boolean | null;
|
|
24
|
+
membro_ids?: Array<string> | null;
|
|
25
|
+
miniatura?: string | null;
|
|
128
26
|
nome?: string | null;
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
export interface DocumentoAutoComplete {
|
|
132
|
-
id: string;
|
|
133
|
-
nome: string;
|
|
134
|
-
tipo: string;
|
|
135
|
-
}
|
|
136
|
-
export interface DocumentoCriar {
|
|
137
|
-
aplicativo_id: string;
|
|
138
|
-
arquivo_base64?: string | null;
|
|
139
|
-
conteudo?: string;
|
|
140
|
-
nome: string;
|
|
141
|
-
tipo?: string;
|
|
27
|
+
visibilidade?: string | null;
|
|
142
28
|
}
|
|
143
|
-
export interface
|
|
144
|
-
atualizado_em: string;
|
|
29
|
+
export interface BoardAutoComplete {
|
|
145
30
|
cor: string;
|
|
146
|
-
criado_em: string;
|
|
147
31
|
id: string;
|
|
148
32
|
nome: string;
|
|
149
33
|
}
|
|
150
|
-
export interface
|
|
151
|
-
cor?: string | null;
|
|
152
|
-
nome?: string | null;
|
|
153
|
-
}
|
|
154
|
-
export interface EtiquetaCriar {
|
|
34
|
+
export interface BoardCriar {
|
|
155
35
|
cor?: string | null;
|
|
36
|
+
descricao?: string | null;
|
|
37
|
+
membro_ids?: Array<string> | null;
|
|
156
38
|
nome: string;
|
|
39
|
+
visibilidade?: string | null;
|
|
157
40
|
}
|
|
158
41
|
/**
|
|
159
|
-
*
|
|
42
|
+
* Resumo do colaborador (id e nome) para mostrar autoria.
|
|
160
43
|
*/
|
|
161
|
-
export interface
|
|
162
|
-
cor: string;
|
|
44
|
+
export interface ColaboradorResumo {
|
|
163
45
|
id: string;
|
|
164
46
|
nome: string;
|
|
165
47
|
}
|
|
166
|
-
|
|
167
|
-
* Uma linha da atividade de uma tarefa ou ticket, gravada pelo próprio sistema a cada mudança.
|
|
168
|
-
*/
|
|
169
|
-
export interface Historico {
|
|
170
|
-
autor?: ColaboradorResumo | null;
|
|
171
|
-
criado_em: string;
|
|
172
|
-
descricao: string;
|
|
173
|
-
id: string;
|
|
174
|
-
tarefa_id?: string | null;
|
|
175
|
-
ticket_id?: string | null;
|
|
176
|
-
}
|
|
177
|
-
export interface Notificacao {
|
|
178
|
-
criado_em: string;
|
|
179
|
-
descricao?: string | null;
|
|
180
|
-
id: string;
|
|
181
|
-
lida: boolean;
|
|
182
|
-
link: string;
|
|
183
|
-
tarefa_id?: string | null;
|
|
184
|
-
ticket_id?: string | null;
|
|
185
|
-
tipo: string;
|
|
186
|
-
titulo: string;
|
|
187
|
-
}
|
|
188
|
-
export interface NotificacaoAtualizar {
|
|
189
|
-
lida: boolean;
|
|
190
|
-
}
|
|
191
|
-
export interface NotificacaoMarcarTodas {
|
|
192
|
-
lida?: boolean;
|
|
193
|
-
}
|
|
194
|
-
export interface NotificacoesMarcadas {
|
|
195
|
-
alteradas: number;
|
|
196
|
-
}
|
|
197
|
-
export interface PaginaAplicativoItensItem {
|
|
198
|
-
ativo: boolean;
|
|
199
|
-
atualizado_em: string;
|
|
200
|
-
chave_publica: string;
|
|
201
|
-
cor: string;
|
|
202
|
-
criado_em: string;
|
|
203
|
-
descricao?: string | null;
|
|
204
|
-
endereco: string;
|
|
205
|
-
id: string;
|
|
206
|
-
logo?: string | null;
|
|
207
|
-
nome: string;
|
|
208
|
-
saudacao: string;
|
|
48
|
+
export interface ImagemEnviar {
|
|
209
49
|
/**
|
|
210
|
-
*
|
|
50
|
+
* O arquivo em base64 (pode vir como data URL: `data:image/png;base64,...`).
|
|
211
51
|
*/
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
export interface PaginaAplicativo {
|
|
215
|
-
itens: Array<PaginaAplicativoItensItem>;
|
|
216
|
-
pagina: number;
|
|
217
|
-
tamanho: number;
|
|
218
|
-
total: number;
|
|
219
|
-
}
|
|
220
|
-
export interface PaginaAplicativoAutoCompleteItensItem {
|
|
221
|
-
endereco: string;
|
|
222
|
-
id: string;
|
|
223
|
-
nome: string;
|
|
224
|
-
}
|
|
225
|
-
export interface PaginaAplicativoAutoComplete {
|
|
226
|
-
itens: Array<PaginaAplicativoAutoCompleteItensItem>;
|
|
227
|
-
pagina: number;
|
|
228
|
-
tamanho: number;
|
|
229
|
-
total: number;
|
|
230
|
-
}
|
|
231
|
-
export interface PaginaComentarioItensItem {
|
|
232
|
-
atualizado_em: string;
|
|
233
|
-
autor?: ColaboradorResumo | null;
|
|
234
|
-
autor_nome: string;
|
|
235
|
-
criado_em: string;
|
|
236
|
-
editado: boolean;
|
|
237
|
-
id: string;
|
|
52
|
+
arquivo_base64: string;
|
|
53
|
+
nome?: string | null;
|
|
238
54
|
/**
|
|
239
|
-
*
|
|
55
|
+
* Tipo da imagem quando o base64 não é data URL (ex.: `image/png`).
|
|
240
56
|
*/
|
|
241
|
-
|
|
242
|
-
tarefa_id?: string | null;
|
|
243
|
-
texto: string;
|
|
244
|
-
ticket_id?: string | null;
|
|
245
|
-
}
|
|
246
|
-
export interface PaginaComentario {
|
|
247
|
-
itens: Array<PaginaComentarioItensItem>;
|
|
248
|
-
pagina: number;
|
|
249
|
-
tamanho: number;
|
|
250
|
-
total: number;
|
|
251
|
-
}
|
|
252
|
-
export interface PaginaDocumentoItensItem {
|
|
253
|
-
aplicativo_id: string;
|
|
254
|
-
atualizado_em: string;
|
|
255
|
-
caracteres: number;
|
|
256
|
-
conteudo: string;
|
|
257
|
-
criado_em: string;
|
|
258
|
-
id: string;
|
|
259
|
-
nome: string;
|
|
260
|
-
tipo: string;
|
|
261
|
-
}
|
|
262
|
-
export interface PaginaDocumento {
|
|
263
|
-
itens: Array<PaginaDocumentoItensItem>;
|
|
264
|
-
pagina: number;
|
|
265
|
-
tamanho: number;
|
|
266
|
-
total: number;
|
|
267
|
-
}
|
|
268
|
-
export interface PaginaDocumentoAutoCompleteItensItem {
|
|
269
|
-
id: string;
|
|
270
|
-
nome: string;
|
|
271
|
-
tipo: string;
|
|
272
|
-
}
|
|
273
|
-
export interface PaginaDocumentoAutoComplete {
|
|
274
|
-
itens: Array<PaginaDocumentoAutoCompleteItensItem>;
|
|
275
|
-
pagina: number;
|
|
276
|
-
tamanho: number;
|
|
277
|
-
total: number;
|
|
278
|
-
}
|
|
279
|
-
export interface PaginaEtiquetaItensItem {
|
|
280
|
-
atualizado_em: string;
|
|
281
|
-
cor: string;
|
|
282
|
-
criado_em: string;
|
|
283
|
-
id: string;
|
|
284
|
-
nome: string;
|
|
285
|
-
}
|
|
286
|
-
export interface PaginaEtiqueta {
|
|
287
|
-
itens: Array<PaginaEtiquetaItensItem>;
|
|
288
|
-
pagina: number;
|
|
289
|
-
tamanho: number;
|
|
290
|
-
total: number;
|
|
291
|
-
}
|
|
292
|
-
/**
|
|
293
|
-
* A etiqueta como aparece dentro da tarefa.
|
|
294
|
-
*/
|
|
295
|
-
export interface PaginaEtiquetaResumoItensItem {
|
|
296
|
-
cor: string;
|
|
297
|
-
id: string;
|
|
298
|
-
nome: string;
|
|
299
|
-
}
|
|
300
|
-
export interface PaginaEtiquetaResumo {
|
|
301
|
-
itens: Array<PaginaEtiquetaResumoItensItem>;
|
|
302
|
-
pagina: number;
|
|
303
|
-
tamanho: number;
|
|
304
|
-
total: number;
|
|
305
|
-
}
|
|
306
|
-
export interface PaginaNotificacaoItensItem {
|
|
307
|
-
criado_em: string;
|
|
308
|
-
descricao?: string | null;
|
|
309
|
-
id: string;
|
|
310
|
-
lida: boolean;
|
|
311
|
-
link: string;
|
|
312
|
-
tarefa_id?: string | null;
|
|
313
|
-
ticket_id?: string | null;
|
|
314
|
-
tipo: string;
|
|
315
|
-
titulo: string;
|
|
57
|
+
tipo?: string | null;
|
|
316
58
|
}
|
|
317
|
-
export interface
|
|
318
|
-
itens: Array<PaginaNotificacaoItensItem>;
|
|
59
|
+
export interface ImagemGuardada {
|
|
319
60
|
/**
|
|
320
|
-
*
|
|
61
|
+
* Endereço público da imagem; quando começa com `/`, é relativo à API.
|
|
321
62
|
*/
|
|
322
|
-
|
|
323
|
-
pagina: number;
|
|
324
|
-
tamanho: number;
|
|
325
|
-
total: number;
|
|
63
|
+
url: string;
|
|
326
64
|
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
65
|
+
/**
|
|
66
|
+
* Board com tudo o que a tela precisa: o dono e os membros com nome, e o que vale para quem está
|
|
67
|
+
* olhando (`favorito` e `pode_gerenciar`). O conteúdo do canvas não vem aqui: ele chega pelo
|
|
68
|
+
* tempo real (`/board/ws/{id}`).
|
|
69
|
+
*/
|
|
70
|
+
export interface PaginaBoardItensItem {
|
|
330
71
|
atualizado_em: string;
|
|
331
72
|
cor: string;
|
|
332
73
|
criado_em: string;
|
|
333
74
|
descricao?: string | null;
|
|
334
|
-
dono
|
|
75
|
+
dono: ColaboradorResumo;
|
|
76
|
+
favorito: boolean;
|
|
335
77
|
id: string;
|
|
336
|
-
inicio?: string | null;
|
|
337
78
|
membros: Array<ColaboradorResumo>;
|
|
79
|
+
miniatura?: string | null;
|
|
338
80
|
nome: string;
|
|
339
|
-
|
|
340
|
-
status: string;
|
|
341
|
-
/**
|
|
342
|
-
* Tarefas principais abertas com o prazo já vencido.
|
|
343
|
-
*/
|
|
344
|
-
tarefas_atrasadas: number;
|
|
345
|
-
tarefas_concluidas: number;
|
|
346
|
-
/**
|
|
347
|
-
* Tarefas principais (sem contar subtarefas).
|
|
348
|
-
*/
|
|
349
|
-
total_tarefas: number;
|
|
350
|
-
/**
|
|
351
|
-
* `ORGANIZACAO` (todos com a área `projetos` veem) ou `MEMBROS` (só o dono e os membros).
|
|
352
|
-
*/
|
|
81
|
+
pode_gerenciar: boolean;
|
|
353
82
|
visibilidade: string;
|
|
354
83
|
}
|
|
355
|
-
export interface
|
|
356
|
-
itens: Array<
|
|
84
|
+
export interface PaginaBoard {
|
|
85
|
+
itens: Array<PaginaBoardItensItem>;
|
|
357
86
|
pagina: number;
|
|
358
87
|
tamanho: number;
|
|
359
88
|
total: number;
|
|
360
89
|
}
|
|
361
|
-
export interface
|
|
90
|
+
export interface PaginaBoardAutoCompleteItensItem {
|
|
362
91
|
cor: string;
|
|
363
92
|
id: string;
|
|
364
93
|
nome: string;
|
|
365
94
|
}
|
|
366
|
-
export interface
|
|
367
|
-
itens: Array<
|
|
368
|
-
pagina: number;
|
|
369
|
-
tamanho: number;
|
|
370
|
-
total: number;
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
* Uma coluna do quadro do projeto. A `ordem` é decimal para encaixar uma coluna entre duas sem
|
|
374
|
-
* renumerar as outras.
|
|
375
|
-
*/
|
|
376
|
-
export interface PaginaSecaoItensItem {
|
|
377
|
-
atualizado_em: string;
|
|
378
|
-
criado_em: string;
|
|
379
|
-
id: string;
|
|
380
|
-
nome: string;
|
|
381
|
-
ordem: number;
|
|
382
|
-
projeto_id: string;
|
|
383
|
-
}
|
|
384
|
-
export interface PaginaSecao {
|
|
385
|
-
itens: Array<PaginaSecaoItensItem>;
|
|
386
|
-
pagina: number;
|
|
387
|
-
tamanho: number;
|
|
388
|
-
total: number;
|
|
389
|
-
}
|
|
390
|
-
export interface PaginaSecaoAutoCompleteItensItem {
|
|
391
|
-
id: string;
|
|
392
|
-
nome: string;
|
|
393
|
-
}
|
|
394
|
-
export interface PaginaSecaoAutoComplete {
|
|
395
|
-
itens: Array<PaginaSecaoAutoCompleteItensItem>;
|
|
396
|
-
pagina: number;
|
|
397
|
-
tamanho: number;
|
|
398
|
-
total: number;
|
|
399
|
-
}
|
|
400
|
-
export interface PaginaTarefaItensItem {
|
|
401
|
-
anexos_total: number;
|
|
402
|
-
atualizado_em: string;
|
|
403
|
-
comentarios_total: number;
|
|
404
|
-
concluida: boolean;
|
|
405
|
-
concluida_em?: string | null;
|
|
406
|
-
criado_em: string;
|
|
407
|
-
criador?: ColaboradorResumo | null;
|
|
408
|
-
descricao?: string | null;
|
|
409
|
-
/**
|
|
410
|
-
* Esforço em pontos (o número do cartão).
|
|
411
|
-
*/
|
|
412
|
-
estimativa?: number | null;
|
|
413
|
-
etiquetas: Array<EtiquetaResumo>;
|
|
414
|
-
id: string;
|
|
415
|
-
inicio?: string | null;
|
|
416
|
-
marco: boolean;
|
|
417
|
-
ordem: number;
|
|
418
|
-
prazo?: string | null;
|
|
419
|
-
prioridade?: string | null;
|
|
420
|
-
projeto_cor: string;
|
|
421
|
-
projeto_id: string;
|
|
422
|
-
projeto_nome: string;
|
|
423
|
-
responsavel?: ColaboradorResumo | null;
|
|
424
|
-
/**
|
|
425
|
-
* Coluna do quadro. Subtarefa não tem coluna.
|
|
426
|
-
*/
|
|
427
|
-
secao_id?: string | null;
|
|
428
|
-
secao_nome?: string | null;
|
|
429
|
-
subtarefas_concluidas: number;
|
|
430
|
-
subtarefas_total: number;
|
|
431
|
-
tarefa_pai_id?: string | null;
|
|
432
|
-
tarefa_pai_titulo?: string | null;
|
|
433
|
-
/**
|
|
434
|
-
* Ticket de suporte que deu origem à tarefa.
|
|
435
|
-
*/
|
|
436
|
-
ticket_id?: string | null;
|
|
437
|
-
ticket_numero?: number | null;
|
|
438
|
-
titulo: string;
|
|
439
|
-
}
|
|
440
|
-
export interface PaginaTarefa {
|
|
441
|
-
itens: Array<PaginaTarefaItensItem>;
|
|
442
|
-
pagina: number;
|
|
443
|
-
tamanho: number;
|
|
444
|
-
total: number;
|
|
445
|
-
}
|
|
446
|
-
export interface PaginaTarefaAutoCompleteItensItem {
|
|
447
|
-
id: string;
|
|
448
|
-
projeto_nome: string;
|
|
449
|
-
titulo: string;
|
|
450
|
-
}
|
|
451
|
-
export interface PaginaTarefaAutoComplete {
|
|
452
|
-
itens: Array<PaginaTarefaAutoCompleteItensItem>;
|
|
453
|
-
pagina: number;
|
|
454
|
-
tamanho: number;
|
|
455
|
-
total: number;
|
|
456
|
-
}
|
|
457
|
-
export interface PaginaTicketItensItem {
|
|
458
|
-
anexos_total: number;
|
|
459
|
-
aplicativo: AplicativoResumo;
|
|
460
|
-
/**
|
|
461
|
-
* `true` quando o prazo passou antes de o ticket ser resolvido.
|
|
462
|
-
*/
|
|
463
|
-
atrasado: boolean;
|
|
464
|
-
atualizado_em: string;
|
|
465
|
-
canal: string;
|
|
466
|
-
comentarios_total: number;
|
|
467
|
-
criado_em: string;
|
|
468
|
-
descricao: string;
|
|
469
|
-
fechado_em?: string | null;
|
|
470
|
-
id: string;
|
|
471
|
-
/**
|
|
472
|
-
* Número sequencial mostrado como #1024.
|
|
473
|
-
*/
|
|
474
|
-
numero: number;
|
|
475
|
-
origem_url?: string | null;
|
|
476
|
-
/**
|
|
477
|
-
* Prazo de atendimento (SLA).
|
|
478
|
-
*/
|
|
479
|
-
prazo?: string | null;
|
|
480
|
-
primeira_resposta_em?: string | null;
|
|
481
|
-
prioridade: string;
|
|
482
|
-
resolvido_em?: string | null;
|
|
483
|
-
responsavel?: ColaboradorResumo | null;
|
|
484
|
-
solicitante?: ColaboradorResumo | null;
|
|
485
|
-
solicitante_email?: string | null;
|
|
486
|
-
solicitante_nome: string;
|
|
487
|
-
status: string;
|
|
488
|
-
tarefas: Array<TicketTarefa>;
|
|
489
|
-
tipo: string;
|
|
490
|
-
titulo: string;
|
|
491
|
-
}
|
|
492
|
-
export interface PaginaTicket {
|
|
493
|
-
itens: Array<PaginaTicketItensItem>;
|
|
494
|
-
pagina: number;
|
|
495
|
-
tamanho: number;
|
|
496
|
-
total: number;
|
|
497
|
-
}
|
|
498
|
-
export interface PaginaTicketAutoCompleteItensItem {
|
|
499
|
-
id: string;
|
|
500
|
-
numero: number;
|
|
501
|
-
titulo: string;
|
|
502
|
-
}
|
|
503
|
-
export interface PaginaTicketAutoComplete {
|
|
504
|
-
itens: Array<PaginaTicketAutoCompleteItensItem>;
|
|
95
|
+
export interface PaginaBoardAutoComplete {
|
|
96
|
+
itens: Array<PaginaBoardAutoCompleteItensItem>;
|
|
505
97
|
pagina: number;
|
|
506
98
|
tamanho: number;
|
|
507
99
|
total: number;
|
|
508
100
|
}
|
|
509
|
-
export interface Projeto {
|
|
510
|
-
aplicativos: Array<AplicativoResumo>;
|
|
511
|
-
arquivado: boolean;
|
|
512
|
-
atualizado_em: string;
|
|
513
|
-
cor: string;
|
|
514
|
-
criado_em: string;
|
|
515
|
-
descricao?: string | null;
|
|
516
|
-
dono?: ColaboradorResumo | null;
|
|
517
|
-
id: string;
|
|
518
|
-
inicio?: string | null;
|
|
519
|
-
membros: Array<ColaboradorResumo>;
|
|
520
|
-
nome: string;
|
|
521
|
-
prazo?: string | null;
|
|
522
|
-
status: string;
|
|
523
|
-
/**
|
|
524
|
-
* Tarefas principais abertas com o prazo já vencido.
|
|
525
|
-
*/
|
|
526
|
-
tarefas_atrasadas: number;
|
|
527
|
-
tarefas_concluidas: number;
|
|
528
|
-
/**
|
|
529
|
-
* Tarefas principais (sem contar subtarefas).
|
|
530
|
-
*/
|
|
531
|
-
total_tarefas: number;
|
|
532
|
-
/**
|
|
533
|
-
* `ORGANIZACAO` (todos com a área `projetos` veem) ou `MEMBROS` (só o dono e os membros).
|
|
534
|
-
*/
|
|
535
|
-
visibilidade: string;
|
|
536
|
-
}
|
|
537
|
-
export interface ProjetoAtualizar {
|
|
538
|
-
aplicativo_ids?: Array<string> | null;
|
|
539
|
-
arquivado?: boolean | null;
|
|
540
|
-
cor?: string | null;
|
|
541
|
-
descricao?: string | null;
|
|
542
|
-
dono_id?: string | null;
|
|
543
|
-
inicio?: string | null;
|
|
544
|
-
membro_ids?: Array<string> | null;
|
|
545
|
-
nome?: string | null;
|
|
546
|
-
prazo?: string | null;
|
|
547
|
-
status?: string | null;
|
|
548
|
-
visibilidade?: string | null;
|
|
549
|
-
}
|
|
550
|
-
export interface ProjetoAutoComplete {
|
|
551
|
-
cor: string;
|
|
552
|
-
id: string;
|
|
553
|
-
nome: string;
|
|
554
|
-
}
|
|
555
|
-
export interface ProjetoCriar {
|
|
556
|
-
aplicativo_ids?: Array<string>;
|
|
557
|
-
cor?: string | null;
|
|
558
|
-
descricao?: string | null;
|
|
559
|
-
dono_id?: string | null;
|
|
560
|
-
inicio?: string | null;
|
|
561
|
-
membro_ids?: Array<string>;
|
|
562
|
-
nome: string;
|
|
563
|
-
prazo?: string | null;
|
|
564
|
-
/**
|
|
565
|
-
* Nomes das colunas do quadro, na ordem. Sem elas o projeto nasce com "A fazer", "Em andamento" e "Concluído".
|
|
566
|
-
*/
|
|
567
|
-
secoes?: Array<string> | null;
|
|
568
|
-
status?: string | null;
|
|
569
|
-
/**
|
|
570
|
-
* `ORGANIZACAO` (padrão) ou `MEMBROS`.
|
|
571
|
-
*/
|
|
572
|
-
visibilidade?: string | null;
|
|
573
|
-
}
|
|
574
101
|
export interface RespostaDeErro {
|
|
575
102
|
erro: string;
|
|
576
103
|
}
|
|
577
|
-
/**
|
|
578
|
-
* Uma coluna do quadro do projeto. A `ordem` é decimal para encaixar uma coluna entre duas sem
|
|
579
|
-
* renumerar as outras.
|
|
580
|
-
*/
|
|
581
|
-
export interface Secao {
|
|
582
|
-
atualizado_em: string;
|
|
583
|
-
criado_em: string;
|
|
584
|
-
id: string;
|
|
585
|
-
nome: string;
|
|
586
|
-
ordem: number;
|
|
587
|
-
projeto_id: string;
|
|
588
|
-
}
|
|
589
|
-
export interface SecaoAtualizar {
|
|
590
|
-
nome?: string | null;
|
|
591
|
-
ordem?: number | null;
|
|
592
|
-
}
|
|
593
|
-
export interface SecaoAutoComplete {
|
|
594
|
-
id: string;
|
|
595
|
-
nome: string;
|
|
596
|
-
}
|
|
597
|
-
export interface SecaoCriar {
|
|
598
|
-
nome: string;
|
|
599
|
-
/**
|
|
600
|
-
* Sem ordem, a seção entra no fim do quadro.
|
|
601
|
-
*/
|
|
602
|
-
ordem?: number | null;
|
|
603
|
-
projeto_id: string;
|
|
604
|
-
}
|
|
605
|
-
export interface Tarefa {
|
|
606
|
-
anexos_total: number;
|
|
607
|
-
atualizado_em: string;
|
|
608
|
-
comentarios_total: number;
|
|
609
|
-
concluida: boolean;
|
|
610
|
-
concluida_em?: string | null;
|
|
611
|
-
criado_em: string;
|
|
612
|
-
criador?: ColaboradorResumo | null;
|
|
613
|
-
descricao?: string | null;
|
|
614
|
-
/**
|
|
615
|
-
* Esforço em pontos (o número do cartão).
|
|
616
|
-
*/
|
|
617
|
-
estimativa?: number | null;
|
|
618
|
-
etiquetas: Array<EtiquetaResumo>;
|
|
619
|
-
id: string;
|
|
620
|
-
inicio?: string | null;
|
|
621
|
-
marco: boolean;
|
|
622
|
-
ordem: number;
|
|
623
|
-
prazo?: string | null;
|
|
624
|
-
prioridade?: string | null;
|
|
625
|
-
projeto_cor: string;
|
|
626
|
-
projeto_id: string;
|
|
627
|
-
projeto_nome: string;
|
|
628
|
-
responsavel?: ColaboradorResumo | null;
|
|
629
|
-
/**
|
|
630
|
-
* Coluna do quadro. Subtarefa não tem coluna.
|
|
631
|
-
*/
|
|
632
|
-
secao_id?: string | null;
|
|
633
|
-
secao_nome?: string | null;
|
|
634
|
-
subtarefas_concluidas: number;
|
|
635
|
-
subtarefas_total: number;
|
|
636
|
-
tarefa_pai_id?: string | null;
|
|
637
|
-
tarefa_pai_titulo?: string | null;
|
|
638
|
-
/**
|
|
639
|
-
* Ticket de suporte que deu origem à tarefa.
|
|
640
|
-
*/
|
|
641
|
-
ticket_id?: string | null;
|
|
642
|
-
ticket_numero?: number | null;
|
|
643
|
-
titulo: string;
|
|
644
|
-
}
|
|
645
|
-
export interface TarefaAtualizar {
|
|
646
|
-
concluida?: boolean | null;
|
|
647
|
-
descricao?: string | null;
|
|
648
|
-
estimativa?: number | null;
|
|
649
|
-
etiqueta_ids?: Array<string> | null;
|
|
650
|
-
inicio?: string | null;
|
|
651
|
-
marco?: boolean | null;
|
|
652
|
-
ordem?: number | null;
|
|
653
|
-
prazo?: string | null;
|
|
654
|
-
prioridade?: string | null;
|
|
655
|
-
responsavel_id?: string | null;
|
|
656
|
-
secao_id?: string | null;
|
|
657
|
-
titulo?: string | null;
|
|
658
|
-
}
|
|
659
|
-
export interface TarefaAutoComplete {
|
|
660
|
-
id: string;
|
|
661
|
-
projeto_nome: string;
|
|
662
|
-
titulo: string;
|
|
663
|
-
}
|
|
664
|
-
export interface TarefaCriar {
|
|
665
|
-
descricao?: string | null;
|
|
666
|
-
estimativa?: number | null;
|
|
667
|
-
etiqueta_ids?: Array<string>;
|
|
668
|
-
inicio?: string | null;
|
|
669
|
-
marco?: boolean;
|
|
670
|
-
/**
|
|
671
|
-
* Sem ordem, a tarefa entra no fim da coluna.
|
|
672
|
-
*/
|
|
673
|
-
ordem?: number | null;
|
|
674
|
-
prazo?: string | null;
|
|
675
|
-
prioridade?: string | null;
|
|
676
|
-
projeto_id: string;
|
|
677
|
-
responsavel_id?: string | null;
|
|
678
|
-
/**
|
|
679
|
-
* Sem seção (e sem tarefa pai), a tarefa entra na primeira coluna do projeto.
|
|
680
|
-
*/
|
|
681
|
-
secao_id?: string | null;
|
|
682
|
-
/**
|
|
683
|
-
* Preenchido, cria uma subtarefa (sem coluna) dessa tarefa.
|
|
684
|
-
*/
|
|
685
|
-
tarefa_pai_id?: string | null;
|
|
686
|
-
ticket_id?: string | null;
|
|
687
|
-
titulo: string;
|
|
688
|
-
}
|
|
689
|
-
export interface Ticket {
|
|
690
|
-
anexos_total: number;
|
|
691
|
-
aplicativo: AplicativoResumo;
|
|
692
|
-
/**
|
|
693
|
-
* `true` quando o prazo passou antes de o ticket ser resolvido.
|
|
694
|
-
*/
|
|
695
|
-
atrasado: boolean;
|
|
696
|
-
atualizado_em: string;
|
|
697
|
-
canal: string;
|
|
698
|
-
comentarios_total: number;
|
|
699
|
-
criado_em: string;
|
|
700
|
-
descricao: string;
|
|
701
|
-
fechado_em?: string | null;
|
|
702
|
-
id: string;
|
|
703
|
-
/**
|
|
704
|
-
* Número sequencial mostrado como #1024.
|
|
705
|
-
*/
|
|
706
|
-
numero: number;
|
|
707
|
-
origem_url?: string | null;
|
|
708
|
-
/**
|
|
709
|
-
* Prazo de atendimento (SLA).
|
|
710
|
-
*/
|
|
711
|
-
prazo?: string | null;
|
|
712
|
-
primeira_resposta_em?: string | null;
|
|
713
|
-
prioridade: string;
|
|
714
|
-
resolvido_em?: string | null;
|
|
715
|
-
responsavel?: ColaboradorResumo | null;
|
|
716
|
-
solicitante?: ColaboradorResumo | null;
|
|
717
|
-
solicitante_email?: string | null;
|
|
718
|
-
solicitante_nome: string;
|
|
719
|
-
status: string;
|
|
720
|
-
tarefas: Array<TicketTarefa>;
|
|
721
|
-
tipo: string;
|
|
722
|
-
titulo: string;
|
|
723
|
-
}
|
|
724
|
-
export interface TicketAberto {
|
|
725
|
-
id: string;
|
|
726
|
-
numero: number;
|
|
727
|
-
}
|
|
728
|
-
export interface TicketAtualizar {
|
|
729
|
-
aplicativo_id?: string | null;
|
|
730
|
-
canal?: string | null;
|
|
731
|
-
descricao?: string | null;
|
|
732
|
-
prazo?: string | null;
|
|
733
|
-
prioridade?: string | null;
|
|
734
|
-
responsavel_id?: string | null;
|
|
735
|
-
solicitante_email?: string | null;
|
|
736
|
-
solicitante_nome?: string | null;
|
|
737
|
-
status?: string | null;
|
|
738
|
-
tipo?: string | null;
|
|
739
|
-
titulo?: string | null;
|
|
740
|
-
}
|
|
741
|
-
export interface TicketAutoComplete {
|
|
742
|
-
id: string;
|
|
743
|
-
numero: number;
|
|
744
|
-
titulo: string;
|
|
745
|
-
}
|
|
746
|
-
export interface TicketCriar {
|
|
747
|
-
aplicativo_id: string;
|
|
748
|
-
canal?: string | null;
|
|
749
|
-
descricao: string;
|
|
750
|
-
origem_url?: string | null;
|
|
751
|
-
/**
|
|
752
|
-
* Sem prazo, vale o SLA da prioridade.
|
|
753
|
-
*/
|
|
754
|
-
prazo?: string | null;
|
|
755
|
-
prioridade?: string | null;
|
|
756
|
-
responsavel_id?: string | null;
|
|
757
|
-
solicitante_email?: string | null;
|
|
758
|
-
/**
|
|
759
|
-
* Sem solicitante nem nome, quem abriu o ticket no painel é o solicitante.
|
|
760
|
-
*/
|
|
761
|
-
solicitante_id?: string | null;
|
|
762
|
-
solicitante_nome?: string | null;
|
|
763
|
-
tipo?: string | null;
|
|
764
|
-
titulo: string;
|
|
765
|
-
}
|
|
766
|
-
/**
|
|
767
|
-
* O que o aplicativo manda para abrir um ticket pela chave pública.
|
|
768
|
-
*/
|
|
769
|
-
export interface TicketDoAplicativo {
|
|
770
|
-
descricao: string;
|
|
771
|
-
origem_url?: string | null;
|
|
772
|
-
prioridade?: string | null;
|
|
773
|
-
solicitante_email?: string | null;
|
|
774
|
-
solicitante_nome: string;
|
|
775
|
-
tipo?: string | null;
|
|
776
|
-
titulo: string;
|
|
777
|
-
}
|
|
778
|
-
/**
|
|
779
|
-
* Tarefa de projeto criada a partir do ticket.
|
|
780
|
-
*/
|
|
781
|
-
export interface TicketTarefa {
|
|
782
|
-
concluida: boolean;
|
|
783
|
-
id: string;
|
|
784
|
-
projeto_id: string;
|
|
785
|
-
projeto_nome: string;
|
|
786
|
-
titulo: string;
|
|
787
|
-
}
|