@in.pulse-crm/sdk 2.12.0 → 2.12.2
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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
export interface ReadyMessage {
|
|
6
6
|
id: number;
|
|
7
7
|
instance: string;
|
|
8
|
-
sectorId: number;
|
|
8
|
+
sectorId: number | null;
|
|
9
9
|
title: string;
|
|
10
10
|
message: string;
|
|
11
11
|
fileId: number | null;
|
|
@@ -20,7 +20,7 @@ export interface ReadyMessage {
|
|
|
20
20
|
export interface CreateReadyMessageDto {
|
|
21
21
|
title: string;
|
|
22
22
|
message: string;
|
|
23
|
-
sectorId?: number;
|
|
23
|
+
sectorId?: number | null;
|
|
24
24
|
onlyAdmin?: boolean;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
@@ -30,36 +30,5 @@ export interface UpdateReadyMessageDto {
|
|
|
30
30
|
title?: string;
|
|
31
31
|
message?: string;
|
|
32
32
|
onlyAdmin?: boolean;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated Use CreateReadyMessageDto ao invés deste tipo legado
|
|
36
|
-
* Mantido apenas para compatibilidade com código antigo que usa UPPERCASE
|
|
37
|
-
*/
|
|
38
|
-
export interface CreateReadyMessageDtoLegacy {
|
|
39
|
-
TITULO: string;
|
|
40
|
-
TEXTO_MENSAGEM: string;
|
|
41
|
-
SETOR?: number;
|
|
42
|
-
APENAS_ADMIN?: boolean;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated Use UpdateReadyMessageDto ao invés deste tipo legado
|
|
46
|
-
* Mantido apenas para compatibilidade com código antigo que usa UPPERCASE
|
|
47
|
-
*/
|
|
48
|
-
export interface UpdateReadyMessageDtoLegacy {
|
|
49
|
-
TITULO?: string;
|
|
50
|
-
TEXTO_MENSAGEM?: string;
|
|
51
|
-
APENAS_ADMIN?: boolean;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* @deprecated Use ReadyMessage ao invés deste tipo legado
|
|
55
|
-
* Mantido apenas para compatibilidade com código antigo
|
|
56
|
-
*/
|
|
57
|
-
export interface ReadyMessageLegacy {
|
|
58
|
-
CODIGO: number;
|
|
59
|
-
TITULO: string;
|
|
60
|
-
SETOR: number;
|
|
61
|
-
TEXTO_MENSAGEM: string;
|
|
62
|
-
ARQUIVO: string;
|
|
63
|
-
ARQUIVO_CODIGO: string;
|
|
64
|
-
LAST_UPDATE: Date;
|
|
33
|
+
sectorId?: number | null;
|
|
65
34
|
}
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
export interface ReadyMessage {
|
|
6
6
|
id: number;
|
|
7
7
|
instance: string;
|
|
8
|
-
sectorId: number;
|
|
8
|
+
sectorId: number | null;
|
|
9
9
|
title: string;
|
|
10
10
|
message: string;
|
|
11
11
|
fileId: number | null;
|
|
@@ -21,7 +21,7 @@ export interface ReadyMessage {
|
|
|
21
21
|
export interface CreateReadyMessageDto {
|
|
22
22
|
title: string;
|
|
23
23
|
message: string;
|
|
24
|
-
sectorId?: number
|
|
24
|
+
sectorId?: number | null;
|
|
25
25
|
onlyAdmin?: boolean;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -32,40 +32,5 @@ export interface UpdateReadyMessageDto {
|
|
|
32
32
|
title?: string;
|
|
33
33
|
message?: string;
|
|
34
34
|
onlyAdmin?: boolean;
|
|
35
|
+
sectorId?: number | null;
|
|
35
36
|
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated Use CreateReadyMessageDto ao invés deste tipo legado
|
|
39
|
-
* Mantido apenas para compatibilidade com código antigo que usa UPPERCASE
|
|
40
|
-
*/
|
|
41
|
-
export interface CreateReadyMessageDtoLegacy {
|
|
42
|
-
TITULO: string;
|
|
43
|
-
TEXTO_MENSAGEM: string;
|
|
44
|
-
SETOR?: number;
|
|
45
|
-
APENAS_ADMIN?: boolean;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* @deprecated Use UpdateReadyMessageDto ao invés deste tipo legado
|
|
50
|
-
* Mantido apenas para compatibilidade com código antigo que usa UPPERCASE
|
|
51
|
-
*/
|
|
52
|
-
export interface UpdateReadyMessageDtoLegacy {
|
|
53
|
-
TITULO?: string;
|
|
54
|
-
TEXTO_MENSAGEM?: string;
|
|
55
|
-
APENAS_ADMIN?: boolean;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @deprecated Use ReadyMessage ao invés deste tipo legado
|
|
60
|
-
* Mantido apenas para compatibilidade com código antigo
|
|
61
|
-
*/
|
|
62
|
-
export interface ReadyMessageLegacy {
|
|
63
|
-
CODIGO: number;
|
|
64
|
-
TITULO: string;
|
|
65
|
-
SETOR: number;
|
|
66
|
-
TEXTO_MENSAGEM: string;
|
|
67
|
-
ARQUIVO: string;
|
|
68
|
-
ARQUIVO_CODIGO: string;
|
|
69
|
-
LAST_UPDATE: Date;
|
|
70
|
-
}
|
|
71
|
-
|