flit-models 3.1.5 → 3.1.6
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.
|
@@ -28,10 +28,12 @@ export declare class EscalaFirestoreData implements EscalaBase {
|
|
|
28
28
|
entrada: {
|
|
29
29
|
hora: string;
|
|
30
30
|
timezone_value: string;
|
|
31
|
+
origem: null | 'marcacao pre assinalada';
|
|
31
32
|
};
|
|
32
33
|
saida: {
|
|
33
34
|
hora: string;
|
|
34
35
|
timezone_value: string;
|
|
36
|
+
origem: null | 'marcacao pre assinalada';
|
|
35
37
|
};
|
|
36
38
|
duracao: string;
|
|
37
39
|
descanso: string;
|
|
@@ -49,10 +49,12 @@ var EscalaFireConvert = /** @class */ (function () {
|
|
|
49
49
|
entrada: {
|
|
50
50
|
hora: periodo.entrada.hora,
|
|
51
51
|
timezone_value: periodo.entrada.timezone_value,
|
|
52
|
+
origem: periodo.entrada.origem || null,
|
|
52
53
|
},
|
|
53
54
|
saida: {
|
|
54
55
|
hora: periodo.saida.hora,
|
|
55
56
|
timezone_value: periodo.saida.timezone_value,
|
|
57
|
+
origem: periodo.saida.origem || null,
|
|
56
58
|
},
|
|
57
59
|
duracao: periodo.duracao,
|
|
58
60
|
descanso: periodo.descanso,
|
|
@@ -95,10 +97,12 @@ var EscalaFireConvert = /** @class */ (function () {
|
|
|
95
97
|
entrada: {
|
|
96
98
|
hora: periodo.entrada.hora,
|
|
97
99
|
timezone_value: periodo.entrada.timezone_value,
|
|
100
|
+
origem: periodo.entrada.origem || null,
|
|
98
101
|
},
|
|
99
102
|
saida: {
|
|
100
103
|
hora: periodo.saida.hora,
|
|
101
104
|
timezone_value: periodo.saida.timezone_value,
|
|
105
|
+
origem: periodo.saida.origem || null,
|
|
102
106
|
},
|
|
103
107
|
duracao: periodo.duracao,
|
|
104
108
|
descanso: periodo.descanso,
|
|
@@ -36,10 +36,12 @@ export interface EscalaBase {
|
|
|
36
36
|
entrada: {
|
|
37
37
|
hora: string;
|
|
38
38
|
timezone_value: string;
|
|
39
|
+
origem: null | 'marcacao pre assinalada';
|
|
39
40
|
};
|
|
40
41
|
saida: {
|
|
41
42
|
hora: string;
|
|
42
43
|
timezone_value: string;
|
|
44
|
+
origem: null | 'marcacao pre assinalada';
|
|
43
45
|
};
|
|
44
46
|
duracao: string;
|
|
45
47
|
descanso: string;
|
|
@@ -82,19 +84,16 @@ export declare class Escala implements EscalaBase {
|
|
|
82
84
|
entrada: {
|
|
83
85
|
hora: string;
|
|
84
86
|
timezone_value: string;
|
|
87
|
+
origem: null | 'marcacao pre assinalada';
|
|
85
88
|
};
|
|
86
89
|
saida: {
|
|
87
90
|
hora: string;
|
|
88
91
|
timezone_value: string;
|
|
92
|
+
origem: null | 'marcacao pre assinalada';
|
|
89
93
|
};
|
|
90
94
|
duracao: string;
|
|
91
95
|
descanso: string;
|
|
92
96
|
}[];
|
|
93
97
|
}[];
|
|
94
|
-
|
|
95
|
-
* Creates an instance of Lancamento.
|
|
96
|
-
* @param {Partial<Lancamento>} lancamentoPayload
|
|
97
|
-
* @memberof Lancamento
|
|
98
|
-
*/
|
|
99
|
-
constructor(lancamentoPayload: Partial<Escala>);
|
|
98
|
+
constructor(feriadoPayload: Partial<Escala>);
|
|
100
99
|
}
|
|
@@ -47,26 +47,21 @@ exports.EscalaHelpers = EscalaHelpers;
|
|
|
47
47
|
*/
|
|
48
48
|
var Escala = /** @class */ (function () {
|
|
49
49
|
// #endregion
|
|
50
|
-
|
|
51
|
-
* Creates an instance of Lancamento.
|
|
52
|
-
* @param {Partial<Lancamento>} lancamentoPayload
|
|
53
|
-
* @memberof Lancamento
|
|
54
|
-
*/
|
|
55
|
-
function Escala(lancamentoPayload) {
|
|
50
|
+
function Escala(feriadoPayload) {
|
|
56
51
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
57
|
-
this._id = (_a =
|
|
58
|
-
this._path = (_b =
|
|
52
|
+
this._id = (_a = feriadoPayload._id) !== null && _a !== void 0 ? _a : undefined;
|
|
53
|
+
this._path = (_b = feriadoPayload._path) !== null && _b !== void 0 ? _b : undefined;
|
|
59
54
|
this.data_atualizacao_doc =
|
|
60
|
-
(_c =
|
|
61
|
-
this.data_criacao_doc = (_d =
|
|
62
|
-
this.data_inicial = (_e =
|
|
63
|
-
this.descricao = (_f =
|
|
64
|
-
this.excluido = (_g =
|
|
55
|
+
(_c = feriadoPayload.data_atualizacao_doc) !== null && _c !== void 0 ? _c : undefined;
|
|
56
|
+
this.data_criacao_doc = (_d = feriadoPayload.data_criacao_doc) !== null && _d !== void 0 ? _d : undefined;
|
|
57
|
+
this.data_inicial = (_e = feriadoPayload.data_inicial) !== null && _e !== void 0 ? _e : undefined;
|
|
58
|
+
this.descricao = (_f = feriadoPayload.descricao) !== null && _f !== void 0 ? _f : undefined;
|
|
59
|
+
this.excluido = (_g = feriadoPayload.excluido) !== null && _g !== void 0 ? _g : undefined;
|
|
65
60
|
this.existe_marcacao_pre_assinalada =
|
|
66
|
-
(_h =
|
|
67
|
-
this.jornadas = (_j =
|
|
61
|
+
(_h = feriadoPayload.existe_marcacao_pre_assinalada) !== null && _h !== void 0 ? _h : undefined;
|
|
62
|
+
this.jornadas = (_j = feriadoPayload.jornadas) !== null && _j !== void 0 ? _j : undefined;
|
|
68
63
|
this.regime_compensacao_dias =
|
|
69
|
-
(_k =
|
|
64
|
+
(_k = feriadoPayload.regime_compensacao_dias) !== null && _k !== void 0 ? _k : undefined;
|
|
70
65
|
}
|
|
71
66
|
return Escala;
|
|
72
67
|
}());
|