flit-models 3.2.49 → 3.2.50

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.
Files changed (92) hide show
  1. package/LICENSE +21 -21
  2. package/lib/index.d.ts +1 -1
  3. package/lib/index.js +76 -76
  4. package/lib/models/api/exportar_relatorio.d.ts +38 -38
  5. package/lib/models/api/exportar_relatorio.js +29 -29
  6. package/lib/models/api/index.d.ts +3 -3
  7. package/lib/models/api/index.js +19 -19
  8. package/lib/models/api/oncall-buscar-relatorio-absenteismo/index.d.ts +25 -25
  9. package/lib/models/api/oncall-buscar-relatorio-absenteismo/index.js +17 -17
  10. package/lib/models/api/oncall-buscar-relatorio-absenteismo/relatorio_absenteismo.d.ts +60 -60
  11. package/lib/models/api/oncall-buscar-relatorio-absenteismo/relatorio_absenteismo.js +45 -45
  12. package/lib/models/api/oncall-exportar-relatorio-absenteismo/index.d.ts +8 -8
  13. package/lib/models/api/oncall-exportar-relatorio-absenteismo/index.js +2 -2
  14. package/lib/models/contas/auditoria/modificador/index.d.ts +30 -30
  15. package/lib/models/contas/auditoria/modificador/index.js +44 -44
  16. package/lib/models/contas/auditoria/modificador/modificador-fire-convert.d.ts +14 -14
  17. package/lib/models/contas/auditoria/modificador/modificador-fire-convert.js +43 -43
  18. package/lib/models/contas/cargo/cargo-fire-convert.d.ts +13 -13
  19. package/lib/models/contas/cargo/cargo-fire-convert.js +42 -42
  20. package/lib/models/contas/cargo/index.d.ts +29 -29
  21. package/lib/models/contas/cargo/index.js +45 -45
  22. package/lib/models/contas/departamento/departamento-fire-convert.d.ts +12 -12
  23. package/lib/models/contas/departamento/departamento-fire-convert.js +40 -40
  24. package/lib/models/contas/departamento/index.d.ts +27 -27
  25. package/lib/models/contas/departamento/index.js +44 -44
  26. package/lib/models/contas/escala/escala-fire-convert.d.ts +48 -48
  27. package/lib/models/contas/escala/escala-fire-convert.js +122 -122
  28. package/lib/models/contas/escala/index.d.ts +103 -103
  29. package/lib/models/contas/escala/index.js +71 -71
  30. package/lib/models/contas/excecoes.d.ts +84 -84
  31. package/lib/models/contas/excecoes.js +79 -79
  32. package/lib/models/contas/feriado/empresa-feriado-fire-convert.d.ts +13 -13
  33. package/lib/models/contas/feriado/empresa-feriado-fire-convert.js +43 -43
  34. package/lib/models/contas/feriado/empresa-feriado.d.ts +29 -29
  35. package/lib/models/contas/feriado/empresa-feriado.js +29 -29
  36. package/lib/models/contas/feriado/feriado-fire-convert.d.ts +17 -17
  37. package/lib/models/contas/feriado/feriado-fire-convert.js +66 -66
  38. package/lib/models/contas/feriado/feriado-json-convert.d.ts +18 -18
  39. package/lib/models/contas/feriado/feriado-json-convert.js +53 -53
  40. package/lib/models/contas/feriado/index.d.ts +45 -45
  41. package/lib/models/contas/feriado/index.js +56 -56
  42. package/lib/models/contas/historico_relatorios_ponto_app/historico-relatorios-ponto-app-elastic.d.ts +25 -25
  43. package/lib/models/contas/historico_relatorios_ponto_app/historico-relatorios-ponto-app-elastic.js +49 -49
  44. package/lib/models/contas/historico_relatorios_ponto_app/historico-relatorios-ponto-app-fire-convert.d.ts +24 -24
  45. package/lib/models/contas/historico_relatorios_ponto_app/historico-relatorios-ponto-app-fire-convert.js +38 -38
  46. package/lib/models/contas/historico_relatorios_ponto_app/historico_relatorios_ponto_app_logs/historico-relatorios-ponto-app-logs-fire-convert.d.ts +11 -11
  47. package/lib/models/contas/historico_relatorios_ponto_app/historico_relatorios_ponto_app_logs/historico-relatorios-ponto-app-logs-fire-convert.js +28 -28
  48. package/lib/models/contas/historico_relatorios_ponto_app/historico_relatorios_ponto_app_logs/index.d.ts +35 -35
  49. package/lib/models/contas/historico_relatorios_ponto_app/historico_relatorios_ponto_app_logs/index.js +51 -51
  50. package/lib/models/contas/historico_relatorios_ponto_app/index.d.ts +58 -58
  51. package/lib/models/contas/historico_relatorios_ponto_app/index.js +58 -58
  52. package/lib/models/contas/lancamento/index.d.ts +126 -126
  53. package/lib/models/contas/lancamento/index.js +94 -94
  54. package/lib/models/contas/lancamento/lancamento-elastic-convert.d.ts +51 -51
  55. package/lib/models/contas/lancamento/lancamento-elastic-convert.js +49 -49
  56. package/lib/models/contas/lancamento/lancamento-fire-convert.d.ts +40 -40
  57. package/lib/models/contas/lancamento/lancamento-fire-convert.js +99 -99
  58. package/lib/models/contas/lancamento/lancamento-json-convert.d.ts +41 -41
  59. package/lib/models/contas/lancamento/lancamento-json-convert.js +102 -102
  60. package/lib/models/contas/lancamento/verificacoes/verificacao-lancamento-fire-convert.d.ts +24 -24
  61. package/lib/models/contas/lancamento/verificacoes/verificacao-lancamento-fire-convert.js +80 -80
  62. package/lib/models/contas/lancamento/verificacoes/verificacao-lancamento.d.ts +55 -55
  63. package/lib/models/contas/lancamento/verificacoes/verificacao-lancamento.js +34 -34
  64. package/lib/models/contas/modelo-faixa-hora-extra/index.d.ts +94 -94
  65. package/lib/models/contas/modelo-faixa-hora-extra/index.js +58 -58
  66. package/lib/models/contas/modelo-faixa-hora-extra/modelo-faixa-hora-extra-fire-convert.d.ts +39 -39
  67. package/lib/models/contas/modelo-faixa-hora-extra/modelo-faixa-hora-extra-fire-convert.js +109 -109
  68. package/lib/models/contas/ocorrencia_frequencia/index.d.ts +30 -30
  69. package/lib/models/contas/ocorrencia_frequencia/index.js +76 -76
  70. package/lib/models/contas/parametros_compartilhados.d.ts +4 -4
  71. package/lib/models/contas/parametros_compartilhados.js +8 -8
  72. package/lib/models/contas/regimes_compensacao.d.ts +5 -5
  73. package/lib/models/contas/regimes_compensacao.js +9 -9
  74. package/lib/models/contas/solicitacoes-usuario/index.d.ts +91 -91
  75. package/lib/models/contas/solicitacoes-usuario/index.js +72 -72
  76. package/lib/models/contas/solicitacoes-usuario/solicitacoes-usuario-fire-convert.d.ts +40 -40
  77. package/lib/models/contas/solicitacoes-usuario/solicitacoes-usuario-fire-convert.js +109 -109
  78. package/lib/models/index.d.ts +13 -13
  79. package/lib/models/index.js +29 -29
  80. package/lib/models/utils/array-helpers.d.ts +3 -3
  81. package/lib/models/utils/array-helpers.js +17 -17
  82. package/lib/models/utils/boolean-helper.d.ts +3 -3
  83. package/lib/models/utils/boolean-helper.js +17 -17
  84. package/lib/models/utils/date-helper.d.ts +4 -4
  85. package/lib/models/utils/date-helper.js +21 -21
  86. package/lib/models/utils/string-helper.d.ts +5 -5
  87. package/lib/models/utils/string-helper.js +33 -33
  88. package/lib/models/utils/type-guards.d.ts +17 -17
  89. package/lib/models/utils/type-guards.js +27 -27
  90. package/lib/shared/flitModelsDependencyInjection.d.ts +24 -24
  91. package/lib/shared/flitModelsDependencyInjection.js +61 -61
  92. package/package.json +46 -46
@@ -1,29 +1,29 @@
1
- export * from './cargo-fire-convert';
2
- export interface CargoBase {
3
- cbo: string;
4
- data_atualizacao_doc: any;
5
- data_criacao_doc: any;
6
- excluido: boolean;
7
- nome: string;
8
- }
9
- /**
10
- * Internal class col contas/${contaId}/cargo/${cargoId}.
11
- *
12
- * @export
13
- * @class Lancamento
14
- */
15
- export declare class Cargo implements CargoBase {
16
- _id: string;
17
- _path: string;
18
- cbo: string;
19
- data_atualizacao_doc: Date;
20
- data_criacao_doc: Date;
21
- excluido: boolean;
22
- nome: string;
23
- /**
24
- * Creates an instance of Lancamento.
25
- * @param {Partial<Lancamento>} lancamentoPayload
26
- * @memberof Lancamento
27
- */
28
- constructor(lancamentoPayload: Partial<Cargo>);
29
- }
1
+ export * from './cargo-fire-convert';
2
+ export interface CargoBase {
3
+ cbo: string;
4
+ data_atualizacao_doc: any;
5
+ data_criacao_doc: any;
6
+ excluido: boolean;
7
+ nome: string;
8
+ }
9
+ /**
10
+ * Internal class col contas/${contaId}/cargo/${cargoId}.
11
+ *
12
+ * @export
13
+ * @class Lancamento
14
+ */
15
+ export declare class Cargo implements CargoBase {
16
+ _id: string;
17
+ _path: string;
18
+ cbo: string;
19
+ data_atualizacao_doc: Date;
20
+ data_criacao_doc: Date;
21
+ excluido: boolean;
22
+ nome: string;
23
+ /**
24
+ * Creates an instance of Lancamento.
25
+ * @param {Partial<Lancamento>} lancamentoPayload
26
+ * @memberof Lancamento
27
+ */
28
+ constructor(lancamentoPayload: Partial<Cargo>);
29
+ }
@@ -1,45 +1,45 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Cargo = void 0;
18
- __exportStar(require("./cargo-fire-convert"), exports);
19
- /**
20
- * Internal class col contas/${contaId}/cargo/${cargoId}.
21
- *
22
- * @export
23
- * @class Lancamento
24
- */
25
- var Cargo = /** @class */ (function () {
26
- // #endregion
27
- /**
28
- * Creates an instance of Lancamento.
29
- * @param {Partial<Lancamento>} lancamentoPayload
30
- * @memberof Lancamento
31
- */
32
- function Cargo(lancamentoPayload) {
33
- var _a, _b, _c, _d, _e, _f, _g;
34
- this._id = (_a = lancamentoPayload._id) !== null && _a !== void 0 ? _a : undefined;
35
- this._path = (_b = lancamentoPayload._path) !== null && _b !== void 0 ? _b : undefined;
36
- this.cbo = (_c = lancamentoPayload.cbo) !== null && _c !== void 0 ? _c : undefined;
37
- this.data_atualizacao_doc =
38
- (_d = lancamentoPayload.data_atualizacao_doc) !== null && _d !== void 0 ? _d : undefined;
39
- this.data_criacao_doc = (_e = lancamentoPayload.data_criacao_doc) !== null && _e !== void 0 ? _e : undefined;
40
- this.excluido = (_f = lancamentoPayload.excluido) !== null && _f !== void 0 ? _f : undefined;
41
- this.nome = (_g = lancamentoPayload.nome) !== null && _g !== void 0 ? _g : undefined;
42
- }
43
- return Cargo;
44
- }());
45
- exports.Cargo = Cargo;
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.Cargo = void 0;
18
+ __exportStar(require("./cargo-fire-convert"), exports);
19
+ /**
20
+ * Internal class col contas/${contaId}/cargo/${cargoId}.
21
+ *
22
+ * @export
23
+ * @class Lancamento
24
+ */
25
+ var Cargo = /** @class */ (function () {
26
+ // #endregion
27
+ /**
28
+ * Creates an instance of Lancamento.
29
+ * @param {Partial<Lancamento>} lancamentoPayload
30
+ * @memberof Lancamento
31
+ */
32
+ function Cargo(lancamentoPayload) {
33
+ var _a, _b, _c, _d, _e, _f, _g;
34
+ this._id = (_a = lancamentoPayload._id) !== null && _a !== void 0 ? _a : undefined;
35
+ this._path = (_b = lancamentoPayload._path) !== null && _b !== void 0 ? _b : undefined;
36
+ this.cbo = (_c = lancamentoPayload.cbo) !== null && _c !== void 0 ? _c : undefined;
37
+ this.data_atualizacao_doc =
38
+ (_d = lancamentoPayload.data_atualizacao_doc) !== null && _d !== void 0 ? _d : undefined;
39
+ this.data_criacao_doc = (_e = lancamentoPayload.data_criacao_doc) !== null && _e !== void 0 ? _e : undefined;
40
+ this.excluido = (_f = lancamentoPayload.excluido) !== null && _f !== void 0 ? _f : undefined;
41
+ this.nome = (_g = lancamentoPayload.nome) !== null && _g !== void 0 ? _g : undefined;
42
+ }
43
+ return Cargo;
44
+ }());
45
+ exports.Cargo = Cargo;
@@ -1,12 +1,12 @@
1
- import { Departamento, DepartamentoBase } from '.';
2
- import { FirebaseDocumentSnapshotGeneric, FirebaseQueryDocumentSnapshotGeneric, FirebaseTimestampGeneric } from '../../../shared/flitModelsDependencyInjection';
3
- export declare class DepartamentoFirestoreData implements DepartamentoBase {
4
- data_atualizacao_doc: FirebaseTimestampGeneric;
5
- data_criacao_doc: FirebaseTimestampGeneric;
6
- descricao: string;
7
- excluido: boolean;
8
- }
9
- export declare abstract class DepartamentoFireConvert {
10
- static fromFirestore(doc: FirebaseDocumentSnapshotGeneric | FirebaseQueryDocumentSnapshotGeneric): Departamento;
11
- static toFirestore(departamento: Departamento): Partial<DepartamentoFirestoreData>;
12
- }
1
+ import { Departamento, DepartamentoBase } from '.';
2
+ import { FirebaseDocumentSnapshotGeneric, FirebaseQueryDocumentSnapshotGeneric, FirebaseTimestampGeneric } from '../../../shared/flitModelsDependencyInjection';
3
+ export declare class DepartamentoFirestoreData implements DepartamentoBase {
4
+ data_atualizacao_doc: FirebaseTimestampGeneric;
5
+ data_criacao_doc: FirebaseTimestampGeneric;
6
+ descricao: string;
7
+ excluido: boolean;
8
+ }
9
+ export declare abstract class DepartamentoFireConvert {
10
+ static fromFirestore(doc: FirebaseDocumentSnapshotGeneric | FirebaseQueryDocumentSnapshotGeneric): Departamento;
11
+ static toFirestore(departamento: Departamento): Partial<DepartamentoFirestoreData>;
12
+ }
@@ -1,40 +1,40 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DepartamentoFireConvert = exports.DepartamentoFirestoreData = void 0;
4
- var lodash_1 = require("lodash");
5
- var _1 = require(".");
6
- var flitModelsDependencyInjection_1 = require("../../../shared/flitModelsDependencyInjection");
7
- var DepartamentoFirestoreData = /** @class */ (function () {
8
- function DepartamentoFirestoreData() {
9
- }
10
- return DepartamentoFirestoreData;
11
- }());
12
- exports.DepartamentoFirestoreData = DepartamentoFirestoreData;
13
- var DepartamentoFireConvert = /** @class */ (function () {
14
- function DepartamentoFireConvert() {
15
- }
16
- DepartamentoFireConvert.fromFirestore = function (doc) {
17
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
18
- var docData = ((_a = doc.data()) !== null && _a !== void 0 ? _a : {});
19
- return new _1.Departamento({
20
- _id: (_b = doc.id) !== null && _b !== void 0 ? _b : null,
21
- _path: (_c = doc.ref.path) !== null && _c !== void 0 ? _c : null,
22
- data_atualizacao_doc: (_e = (_d = docData.data_atualizacao_doc) === null || _d === void 0 ? void 0 : _d.toDate()) !== null && _e !== void 0 ? _e : null,
23
- data_criacao_doc: (_g = (_f = docData.data_criacao_doc) === null || _f === void 0 ? void 0 : _f.toDate()) !== null && _g !== void 0 ? _g : null,
24
- descricao: (_h = docData.descricao) !== null && _h !== void 0 ? _h : null,
25
- excluido: (_j = docData.excluido) !== null && _j !== void 0 ? _j : false,
26
- });
27
- };
28
- DepartamentoFireConvert.toFirestore = function (departamento) {
29
- var _a, _b, _c, _d;
30
- var departamentoFire = {
31
- data_atualizacao_doc: (_a = flitModelsDependencyInjection_1.FlitModelsDependencyInjection.TimestampFromDate(departamento.data_atualizacao_doc)) !== null && _a !== void 0 ? _a : null,
32
- data_criacao_doc: (_b = flitModelsDependencyInjection_1.FlitModelsDependencyInjection.TimestampFromDate(departamento.data_criacao_doc)) !== null && _b !== void 0 ? _b : null,
33
- descricao: (_c = departamento.descricao) !== null && _c !== void 0 ? _c : null,
34
- excluido: (_d = departamento.excluido) !== null && _d !== void 0 ? _d : false,
35
- };
36
- return (0, lodash_1.omitBy)(departamentoFire, lodash_1.isUndefined);
37
- };
38
- return DepartamentoFireConvert;
39
- }());
40
- exports.DepartamentoFireConvert = DepartamentoFireConvert;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DepartamentoFireConvert = exports.DepartamentoFirestoreData = void 0;
4
+ var lodash_1 = require("lodash");
5
+ var _1 = require(".");
6
+ var flitModelsDependencyInjection_1 = require("../../../shared/flitModelsDependencyInjection");
7
+ var DepartamentoFirestoreData = /** @class */ (function () {
8
+ function DepartamentoFirestoreData() {
9
+ }
10
+ return DepartamentoFirestoreData;
11
+ }());
12
+ exports.DepartamentoFirestoreData = DepartamentoFirestoreData;
13
+ var DepartamentoFireConvert = /** @class */ (function () {
14
+ function DepartamentoFireConvert() {
15
+ }
16
+ DepartamentoFireConvert.fromFirestore = function (doc) {
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
18
+ var docData = ((_a = doc.data()) !== null && _a !== void 0 ? _a : {});
19
+ return new _1.Departamento({
20
+ _id: (_b = doc.id) !== null && _b !== void 0 ? _b : null,
21
+ _path: (_c = doc.ref.path) !== null && _c !== void 0 ? _c : null,
22
+ data_atualizacao_doc: (_e = (_d = docData.data_atualizacao_doc) === null || _d === void 0 ? void 0 : _d.toDate()) !== null && _e !== void 0 ? _e : null,
23
+ data_criacao_doc: (_g = (_f = docData.data_criacao_doc) === null || _f === void 0 ? void 0 : _f.toDate()) !== null && _g !== void 0 ? _g : null,
24
+ descricao: (_h = docData.descricao) !== null && _h !== void 0 ? _h : null,
25
+ excluido: (_j = docData.excluido) !== null && _j !== void 0 ? _j : false,
26
+ });
27
+ };
28
+ DepartamentoFireConvert.toFirestore = function (departamento) {
29
+ var _a, _b, _c, _d;
30
+ var departamentoFire = {
31
+ data_atualizacao_doc: (_a = flitModelsDependencyInjection_1.FlitModelsDependencyInjection.TimestampFromDate(departamento.data_atualizacao_doc)) !== null && _a !== void 0 ? _a : null,
32
+ data_criacao_doc: (_b = flitModelsDependencyInjection_1.FlitModelsDependencyInjection.TimestampFromDate(departamento.data_criacao_doc)) !== null && _b !== void 0 ? _b : null,
33
+ descricao: (_c = departamento.descricao) !== null && _c !== void 0 ? _c : null,
34
+ excluido: (_d = departamento.excluido) !== null && _d !== void 0 ? _d : false,
35
+ };
36
+ return (0, lodash_1.omitBy)(departamentoFire, lodash_1.isUndefined);
37
+ };
38
+ return DepartamentoFireConvert;
39
+ }());
40
+ exports.DepartamentoFireConvert = DepartamentoFireConvert;
@@ -1,27 +1,27 @@
1
- export * from './departamento-fire-convert';
2
- export interface DepartamentoBase {
3
- data_atualizacao_doc: any;
4
- data_criacao_doc: any;
5
- descricao: string;
6
- excluido: boolean;
7
- }
8
- /**
9
- * Internal class col contas/${contaId}/cargo/${cargoId}.
10
- *
11
- * @export
12
- * @class Lancamento
13
- */
14
- export declare class Departamento implements DepartamentoBase {
15
- _id: string;
16
- _path: string;
17
- data_atualizacao_doc: Date;
18
- data_criacao_doc: Date;
19
- descricao: string;
20
- excluido: boolean;
21
- /**
22
- * Creates an instance of Lancamento.
23
- * @param {Partial<Lancamento>} lancamentoPayload
24
- * @memberof Lancamento
25
- */
26
- constructor(lancamentoPayload: Partial<Departamento>);
27
- }
1
+ export * from './departamento-fire-convert';
2
+ export interface DepartamentoBase {
3
+ data_atualizacao_doc: any;
4
+ data_criacao_doc: any;
5
+ descricao: string;
6
+ excluido: boolean;
7
+ }
8
+ /**
9
+ * Internal class col contas/${contaId}/cargo/${cargoId}.
10
+ *
11
+ * @export
12
+ * @class Lancamento
13
+ */
14
+ export declare class Departamento implements DepartamentoBase {
15
+ _id: string;
16
+ _path: string;
17
+ data_atualizacao_doc: Date;
18
+ data_criacao_doc: Date;
19
+ descricao: string;
20
+ excluido: boolean;
21
+ /**
22
+ * Creates an instance of Lancamento.
23
+ * @param {Partial<Lancamento>} lancamentoPayload
24
+ * @memberof Lancamento
25
+ */
26
+ constructor(lancamentoPayload: Partial<Departamento>);
27
+ }
@@ -1,44 +1,44 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Departamento = void 0;
18
- __exportStar(require("./departamento-fire-convert"), exports);
19
- /**
20
- * Internal class col contas/${contaId}/cargo/${cargoId}.
21
- *
22
- * @export
23
- * @class Lancamento
24
- */
25
- var Departamento = /** @class */ (function () {
26
- // #endregion
27
- /**
28
- * Creates an instance of Lancamento.
29
- * @param {Partial<Lancamento>} lancamentoPayload
30
- * @memberof Lancamento
31
- */
32
- function Departamento(lancamentoPayload) {
33
- var _a, _b, _c, _d, _e, _f;
34
- this._id = (_a = lancamentoPayload._id) !== null && _a !== void 0 ? _a : undefined;
35
- this._path = (_b = lancamentoPayload._path) !== null && _b !== void 0 ? _b : undefined;
36
- this.data_atualizacao_doc =
37
- (_c = lancamentoPayload.data_atualizacao_doc) !== null && _c !== void 0 ? _c : undefined;
38
- this.data_criacao_doc = (_d = lancamentoPayload.data_criacao_doc) !== null && _d !== void 0 ? _d : undefined;
39
- this.descricao = (_e = lancamentoPayload.descricao) !== null && _e !== void 0 ? _e : undefined;
40
- this.excluido = (_f = lancamentoPayload.excluido) !== null && _f !== void 0 ? _f : undefined;
41
- }
42
- return Departamento;
43
- }());
44
- exports.Departamento = Departamento;
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.Departamento = void 0;
18
+ __exportStar(require("./departamento-fire-convert"), exports);
19
+ /**
20
+ * Internal class col contas/${contaId}/cargo/${cargoId}.
21
+ *
22
+ * @export
23
+ * @class Lancamento
24
+ */
25
+ var Departamento = /** @class */ (function () {
26
+ // #endregion
27
+ /**
28
+ * Creates an instance of Lancamento.
29
+ * @param {Partial<Lancamento>} lancamentoPayload
30
+ * @memberof Lancamento
31
+ */
32
+ function Departamento(lancamentoPayload) {
33
+ var _a, _b, _c, _d, _e, _f;
34
+ this._id = (_a = lancamentoPayload._id) !== null && _a !== void 0 ? _a : undefined;
35
+ this._path = (_b = lancamentoPayload._path) !== null && _b !== void 0 ? _b : undefined;
36
+ this.data_atualizacao_doc =
37
+ (_c = lancamentoPayload.data_atualizacao_doc) !== null && _c !== void 0 ? _c : undefined;
38
+ this.data_criacao_doc = (_d = lancamentoPayload.data_criacao_doc) !== null && _d !== void 0 ? _d : undefined;
39
+ this.descricao = (_e = lancamentoPayload.descricao) !== null && _e !== void 0 ? _e : undefined;
40
+ this.excluido = (_f = lancamentoPayload.excluido) !== null && _f !== void 0 ? _f : undefined;
41
+ }
42
+ return Departamento;
43
+ }());
44
+ exports.Departamento = Departamento;
@@ -1,48 +1,48 @@
1
- import { Escala, EscalaBase, RegimesCompensacaoEscala } from '.';
2
- import { FirebaseDocumentReferenceGeneric, FirebaseDocumentSnapshotGeneric, FirebaseQueryDocumentSnapshotGeneric, FirebaseTimestampGeneric } from '../../../shared/flitModelsDependencyInjection';
3
- export declare class EscalaFirestoreData implements EscalaBase {
4
- data_atualizacao_doc: FirebaseTimestampGeneric;
5
- data_criacao_doc: FirebaseTimestampGeneric;
6
- data_inicial: FirebaseTimestampGeneric;
7
- descricao: string;
8
- excluido: boolean;
9
- existe_marcacao_pre_assinalada: boolean;
10
- regime_compensacao_dias: {
11
- seg: RegimesCompensacaoEscala;
12
- ter: RegimesCompensacaoEscala;
13
- qua: RegimesCompensacaoEscala;
14
- qui: RegimesCompensacaoEscala;
15
- sex: RegimesCompensacaoEscala;
16
- sab: RegimesCompensacaoEscala;
17
- dom: RegimesCompensacaoEscala;
18
- fer?: RegimesCompensacaoEscala;
19
- };
20
- jornadas: {
21
- marcacoes_pre_assinaladas?: {
22
- todos_intervalos: boolean;
23
- indices: number[];
24
- };
25
- repetir: number;
26
- ocorrencia_frequencia_ref: FirebaseDocumentReferenceGeneric;
27
- periodos: {
28
- entrada: {
29
- hora: string;
30
- timezone_value: string;
31
- origem: null | 'marcacao pre assinalada';
32
- };
33
- saida: {
34
- hora: string;
35
- timezone_value: string;
36
- origem: null | 'marcacao pre assinalada';
37
- };
38
- duracao: string;
39
- descanso: string;
40
- }[];
41
- }[];
42
- faixa_hora_extra_semanal_ref?: FirebaseDocumentReferenceGeneric;
43
- faixa_hora_extra_diferenciada_ref?: FirebaseDocumentReferenceGeneric;
44
- }
45
- export declare abstract class EscalaFireConvert {
46
- static fromFirestore(doc: FirebaseDocumentSnapshotGeneric | FirebaseQueryDocumentSnapshotGeneric): Escala;
47
- static toFirestore(escala: Escala): Partial<EscalaFirestoreData>;
48
- }
1
+ import { Escala, EscalaBase, RegimesCompensacaoEscala } from '.';
2
+ import { FirebaseDocumentReferenceGeneric, FirebaseDocumentSnapshotGeneric, FirebaseQueryDocumentSnapshotGeneric, FirebaseTimestampGeneric } from '../../../shared/flitModelsDependencyInjection';
3
+ export declare class EscalaFirestoreData implements EscalaBase {
4
+ data_atualizacao_doc: FirebaseTimestampGeneric;
5
+ data_criacao_doc: FirebaseTimestampGeneric;
6
+ data_inicial: FirebaseTimestampGeneric;
7
+ descricao: string;
8
+ excluido: boolean;
9
+ existe_marcacao_pre_assinalada: boolean;
10
+ regime_compensacao_dias: {
11
+ seg: RegimesCompensacaoEscala;
12
+ ter: RegimesCompensacaoEscala;
13
+ qua: RegimesCompensacaoEscala;
14
+ qui: RegimesCompensacaoEscala;
15
+ sex: RegimesCompensacaoEscala;
16
+ sab: RegimesCompensacaoEscala;
17
+ dom: RegimesCompensacaoEscala;
18
+ fer?: RegimesCompensacaoEscala;
19
+ };
20
+ jornadas: {
21
+ marcacoes_pre_assinaladas?: {
22
+ todos_intervalos: boolean;
23
+ indices: number[];
24
+ };
25
+ repetir: number;
26
+ ocorrencia_frequencia_ref: FirebaseDocumentReferenceGeneric;
27
+ periodos: {
28
+ entrada: {
29
+ hora: string;
30
+ timezone_value: string;
31
+ origem: null | 'marcacao pre assinalada';
32
+ };
33
+ saida: {
34
+ hora: string;
35
+ timezone_value: string;
36
+ origem: null | 'marcacao pre assinalada';
37
+ };
38
+ duracao: string;
39
+ descanso: string;
40
+ }[];
41
+ }[];
42
+ faixa_hora_extra_semanal_ref?: FirebaseDocumentReferenceGeneric;
43
+ faixa_hora_extra_diferenciada_ref?: FirebaseDocumentReferenceGeneric;
44
+ }
45
+ export declare abstract class EscalaFireConvert {
46
+ static fromFirestore(doc: FirebaseDocumentSnapshotGeneric | FirebaseQueryDocumentSnapshotGeneric): Escala;
47
+ static toFirestore(escala: Escala): Partial<EscalaFirestoreData>;
48
+ }