flit-models 2.0.0 → 2.0.1
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.
|
@@ -13,10 +13,11 @@ export declare enum FeriadoTipoEnum {
|
|
|
13
13
|
export interface FeriadoFirestoreData {
|
|
14
14
|
data: Timestamp;
|
|
15
15
|
descricao: string;
|
|
16
|
-
tipo: FeriadoTipoEnum;
|
|
17
16
|
excluido: boolean;
|
|
18
|
-
|
|
17
|
+
importacao_id: string;
|
|
19
18
|
municipio: string;
|
|
19
|
+
tipo: FeriadoTipoEnum;
|
|
20
|
+
uf: string;
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
23
|
* Internal class col contas/${contaId}/feriados/${feriadoId}.
|
|
@@ -29,10 +30,11 @@ export declare class Feriado implements FeriadoFirestoreData {
|
|
|
29
30
|
path: string;
|
|
30
31
|
data: Timestamp;
|
|
31
32
|
descricao: string;
|
|
32
|
-
tipo: FeriadoTipoEnum;
|
|
33
33
|
excluido: boolean;
|
|
34
|
-
|
|
34
|
+
importacao_id: string;
|
|
35
35
|
municipio: string;
|
|
36
|
+
tipo: FeriadoTipoEnum;
|
|
37
|
+
uf: string;
|
|
36
38
|
/**
|
|
37
39
|
* Creates an instance of Feriado.
|
|
38
40
|
* @param {Partial<Feriado>} feriadoPayload
|
|
@@ -48,7 +50,7 @@ export declare class Feriado implements FeriadoFirestoreData {
|
|
|
48
50
|
toFirestoreData(): FeriadoFirestoreData;
|
|
49
51
|
}
|
|
50
52
|
/**
|
|
51
|
-
* Interface col contas/${contaId}/feriados/${feriadoId}/
|
|
53
|
+
* Interface col contas/${contaId}/feriados/${feriadoId}/empresas_feriado/${empresaId}.
|
|
52
54
|
*
|
|
53
55
|
* @export
|
|
54
56
|
* @interface FeriadoEmpresaFirestoreData
|
|
@@ -60,7 +62,7 @@ export interface FeriadoEmpresaFirestoreData {
|
|
|
60
62
|
razao_social: string;
|
|
61
63
|
}
|
|
62
64
|
/**
|
|
63
|
-
* Internal class col contas/${contaId}/feriados/${feriadoId}/
|
|
65
|
+
* Internal class col contas/${contaId}/feriados/${feriadoId}/empresas_feriado/${empresaId}.
|
|
64
66
|
*
|
|
65
67
|
* @export
|
|
66
68
|
* @class FeriadoEmpresa
|
|
@@ -33,7 +33,7 @@ var Feriado = /** @class */ (function () {
|
|
|
33
33
|
*/
|
|
34
34
|
function Feriado(feriadoPayload) {
|
|
35
35
|
var _this = this;
|
|
36
|
-
var keysOfProps = ["uid", "path", "tipo", "data", "descricao", "excluido", "
|
|
36
|
+
var keysOfProps = ["uid", "path", "tipo", "data", "descricao", "excluido", "importacao_id", "municipio", "uf"];
|
|
37
37
|
keysOfProps.forEach(function (key) {
|
|
38
38
|
_this[key] = feriadoPayload ? feriadoPayload[key] : undefined;
|
|
39
39
|
});
|
|
@@ -57,7 +57,7 @@ var Feriado = /** @class */ (function () {
|
|
|
57
57
|
}());
|
|
58
58
|
exports.Feriado = Feriado;
|
|
59
59
|
/**
|
|
60
|
-
* Internal class col contas/${contaId}/feriados/${feriadoId}/
|
|
60
|
+
* Internal class col contas/${contaId}/feriados/${feriadoId}/empresas_feriado/${empresaId}.
|
|
61
61
|
*
|
|
62
62
|
* @export
|
|
63
63
|
* @class FeriadoEmpresa
|