flit-models 3.3.49 → 3.3.51
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.
|
@@ -50,7 +50,7 @@ exports.UsuarioStatusArray = [
|
|
|
50
50
|
];
|
|
51
51
|
var Usuario = /** @class */ (function () {
|
|
52
52
|
function Usuario(usuarioPayload) {
|
|
53
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20;
|
|
53
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21;
|
|
54
54
|
this._id = (_a = usuarioPayload._id) !== null && _a !== void 0 ? _a : undefined;
|
|
55
55
|
this._path = (_b = usuarioPayload._path) !== null && _b !== void 0 ? _b : undefined;
|
|
56
56
|
// Inicializa internos
|
|
@@ -68,49 +68,50 @@ var Usuario = /** @class */ (function () {
|
|
|
68
68
|
this._avatarBlobThumbnail = (_e = usuarioPayload._avatarBlobThumbnail) !== null && _e !== void 0 ? _e : null;
|
|
69
69
|
this.admissao = (_f = usuarioPayload.admissao) !== null && _f !== void 0 ? _f : undefined;
|
|
70
70
|
this.ativo = (_g = usuarioPayload.ativo) !== null && _g !== void 0 ? _g : undefined;
|
|
71
|
+
this.avatar_atualizacao = (_h = usuarioPayload.avatar_atualizacao) !== null && _h !== void 0 ? _h : undefined;
|
|
71
72
|
this.avatar_thumbnail_path =
|
|
72
|
-
(
|
|
73
|
+
(_j = usuarioPayload.avatar_thumbnail_path) !== null && _j !== void 0 ? _j : undefined;
|
|
73
74
|
this.avatar_thumbnail_url =
|
|
74
|
-
(
|
|
75
|
-
this.avatarUrl = (
|
|
76
|
-
this.cargo_ref = (
|
|
77
|
-
this.beneficios = (
|
|
78
|
-
this.celular = (
|
|
79
|
-
this.conta_ref = (
|
|
80
|
-
this.cpf = (
|
|
75
|
+
(_k = usuarioPayload.avatar_thumbnail_url) !== null && _k !== void 0 ? _k : undefined;
|
|
76
|
+
this.avatarUrl = (_l = usuarioPayload.avatarUrl) !== null && _l !== void 0 ? _l : undefined;
|
|
77
|
+
this.cargo_ref = (_m = usuarioPayload.cargo_ref) !== null && _m !== void 0 ? _m : undefined;
|
|
78
|
+
this.beneficios = (_o = usuarioPayload.beneficios) !== null && _o !== void 0 ? _o : undefined;
|
|
79
|
+
this.celular = (_p = usuarioPayload.celular) !== null && _p !== void 0 ? _p : undefined;
|
|
80
|
+
this.conta_ref = (_q = usuarioPayload.conta_ref) !== null && _q !== void 0 ? _q : undefined;
|
|
81
|
+
this.cpf = (_r = usuarioPayload.cpf) !== null && _r !== void 0 ? _r : undefined;
|
|
81
82
|
this.data_atualizacao_doc =
|
|
82
|
-
(
|
|
83
|
-
this.data_criacao_doc = (
|
|
84
|
-
this.departamento_ref = (
|
|
85
|
-
this.desligamento = (
|
|
86
|
-
this.email = (
|
|
87
|
-
this.empresa_ref = (
|
|
88
|
-
this.endereco = (
|
|
83
|
+
(_s = usuarioPayload.data_atualizacao_doc) !== null && _s !== void 0 ? _s : undefined;
|
|
84
|
+
this.data_criacao_doc = (_t = usuarioPayload.data_criacao_doc) !== null && _t !== void 0 ? _t : undefined;
|
|
85
|
+
this.departamento_ref = (_u = usuarioPayload.departamento_ref) !== null && _u !== void 0 ? _u : undefined;
|
|
86
|
+
this.desligamento = (_v = usuarioPayload.desligamento) !== null && _v !== void 0 ? _v : undefined;
|
|
87
|
+
this.email = (_w = usuarioPayload.email) !== null && _w !== void 0 ? _w : undefined;
|
|
88
|
+
this.empresa_ref = (_x = usuarioPayload.empresa_ref) !== null && _x !== void 0 ? _x : undefined;
|
|
89
|
+
this.endereco = (_y = usuarioPayload.endereco) !== null && _y !== void 0 ? _y : undefined;
|
|
89
90
|
this.endereco_prestacao_diferente_empresa =
|
|
90
|
-
(
|
|
91
|
-
this.endereco_prestacao = (
|
|
92
|
-
this.escala_ref = (
|
|
91
|
+
(_z = usuarioPayload.endereco_prestacao_diferente_empresa) !== null && _z !== void 0 ? _z : false;
|
|
92
|
+
this.endereco_prestacao = (_0 = usuarioPayload.endereco_prestacao) !== null && _0 !== void 0 ? _0 : undefined;
|
|
93
|
+
this.escala_ref = (_1 = usuarioPayload.escala_ref) !== null && _1 !== void 0 ? _1 : undefined;
|
|
93
94
|
this.esocial_categoria_de_trabalhador_ref =
|
|
94
|
-
(
|
|
95
|
-
this.excluido = (
|
|
96
|
-
this.integracao = (
|
|
97
|
-
this.interno = (
|
|
98
|
-
this.modificador = (
|
|
99
|
-
this.nascimento = (
|
|
100
|
-
this.nome = (
|
|
101
|
-
this.nomeCompleto = (
|
|
102
|
-
this.observacoes = (
|
|
103
|
-
this.parametros = (
|
|
104
|
-
this.perfil_ref = (
|
|
105
|
-
this.perimetros_refs = (
|
|
106
|
-
this.pin = (
|
|
107
|
-
this.pis = (
|
|
108
|
-
this.sem_autenticacao = (
|
|
109
|
-
this.status = (
|
|
110
|
-
this.status_data_fim = (
|
|
111
|
-
this.status_data_ini = (
|
|
112
|
-
this.status_programado = (
|
|
113
|
-
this.telefone = (
|
|
95
|
+
(_2 = usuarioPayload.esocial_categoria_de_trabalhador_ref) !== null && _2 !== void 0 ? _2 : undefined;
|
|
96
|
+
this.excluido = (_3 = usuarioPayload.excluido) !== null && _3 !== void 0 ? _3 : undefined;
|
|
97
|
+
this.integracao = (_4 = usuarioPayload.integracao) !== null && _4 !== void 0 ? _4 : undefined;
|
|
98
|
+
this.interno = (_5 = usuarioPayload.interno) !== null && _5 !== void 0 ? _5 : undefined;
|
|
99
|
+
this.modificador = (_6 = usuarioPayload.modificador) !== null && _6 !== void 0 ? _6 : undefined;
|
|
100
|
+
this.nascimento = (_7 = usuarioPayload.nascimento) !== null && _7 !== void 0 ? _7 : undefined;
|
|
101
|
+
this.nome = (_8 = usuarioPayload.nome) !== null && _8 !== void 0 ? _8 : undefined;
|
|
102
|
+
this.nomeCompleto = (_9 = usuarioPayload.nomeCompleto) !== null && _9 !== void 0 ? _9 : undefined;
|
|
103
|
+
this.observacoes = (_10 = usuarioPayload.observacoes) !== null && _10 !== void 0 ? _10 : undefined;
|
|
104
|
+
this.parametros = (_11 = usuarioPayload.parametros) !== null && _11 !== void 0 ? _11 : undefined;
|
|
105
|
+
this.perfil_ref = (_12 = usuarioPayload.perfil_ref) !== null && _12 !== void 0 ? _12 : undefined;
|
|
106
|
+
this.perimetros_refs = (_13 = usuarioPayload.perimetros_refs) !== null && _13 !== void 0 ? _13 : undefined;
|
|
107
|
+
this.pin = (_14 = usuarioPayload.pin) !== null && _14 !== void 0 ? _14 : undefined;
|
|
108
|
+
this.pis = (_15 = usuarioPayload.pis) !== null && _15 !== void 0 ? _15 : undefined;
|
|
109
|
+
this.sem_autenticacao = (_16 = usuarioPayload.sem_autenticacao) !== null && _16 !== void 0 ? _16 : undefined;
|
|
110
|
+
this.status = (_17 = usuarioPayload.status) !== null && _17 !== void 0 ? _17 : undefined;
|
|
111
|
+
this.status_data_fim = (_18 = usuarioPayload.status_data_fim) !== null && _18 !== void 0 ? _18 : undefined;
|
|
112
|
+
this.status_data_ini = (_19 = usuarioPayload.status_data_ini) !== null && _19 !== void 0 ? _19 : undefined;
|
|
113
|
+
this.status_programado = (_20 = usuarioPayload.status_programado) !== null && _20 !== void 0 ? _20 : undefined;
|
|
114
|
+
this.telefone = (_21 = usuarioPayload.telefone) !== null && _21 !== void 0 ? _21 : undefined;
|
|
114
115
|
}
|
|
115
116
|
return Usuario;
|
|
116
117
|
}());
|
|
@@ -97,8 +97,8 @@ var UsuarioElasticConvert = /** @class */ (function () {
|
|
|
97
97
|
parametros: docData.parametros
|
|
98
98
|
? {
|
|
99
99
|
acessar_manager: boolean_helper_1.BooleanHelper.check(docData.parametros.acessar_manager, false),
|
|
100
|
-
capturar_foto_marcacao_externa: boolean_helper_1.BooleanHelper.check(docData.parametros.capturar_foto_marcacao_externa,
|
|
101
|
-
capturar_localizacao_marcacao_externa: boolean_helper_1.BooleanHelper.check(docData.parametros.capturar_localizacao_marcacao_externa,
|
|
100
|
+
capturar_foto_marcacao_externa: boolean_helper_1.BooleanHelper.check(docData.parametros.capturar_foto_marcacao_externa, null),
|
|
101
|
+
capturar_localizacao_marcacao_externa: boolean_helper_1.BooleanHelper.check(docData.parametros.capturar_localizacao_marcacao_externa, null),
|
|
102
102
|
cargo_confianca: boolean_helper_1.BooleanHelper.check(docData.parametros.cargo_confianca, false),
|
|
103
103
|
codigo_externo: string_helper_1.StringHelper.trim(docData.parametros.codigo_externo, null) ||
|
|
104
104
|
null,
|
|
@@ -93,8 +93,8 @@ var UsuarioFireConvert = /** @class */ (function () {
|
|
|
93
93
|
parametros: d.parametros
|
|
94
94
|
? {
|
|
95
95
|
acessar_manager: boolean_helper_1.BooleanHelper.check(d.parametros.acessar_manager, false),
|
|
96
|
-
capturar_foto_marcacao_externa: boolean_helper_1.BooleanHelper.check(d.parametros.capturar_foto_marcacao_externa,
|
|
97
|
-
capturar_localizacao_marcacao_externa: boolean_helper_1.BooleanHelper.check(d.parametros.capturar_localizacao_marcacao_externa,
|
|
96
|
+
capturar_foto_marcacao_externa: boolean_helper_1.BooleanHelper.check(d.parametros.capturar_foto_marcacao_externa, null),
|
|
97
|
+
capturar_localizacao_marcacao_externa: boolean_helper_1.BooleanHelper.check(d.parametros.capturar_localizacao_marcacao_externa, null),
|
|
98
98
|
cargo_confianca: boolean_helper_1.BooleanHelper.check(d.parametros.cargo_confianca, false),
|
|
99
99
|
codigo_externo: string_helper_1.StringHelper.trim(d.parametros.codigo_externo, null),
|
|
100
100
|
horario_noturno: ((_9 = d.parametros) === null || _9 === void 0 ? void 0 : _9.horario_noturno)
|
|
@@ -96,8 +96,8 @@ var UsuarioJsonConvert = /** @class */ (function () {
|
|
|
96
96
|
parametros: usuario.parametros
|
|
97
97
|
? {
|
|
98
98
|
acessar_manager: boolean_helper_1.BooleanHelper.check(usuario.parametros.acessar_manager, false),
|
|
99
|
-
capturar_foto_marcacao_externa: boolean_helper_1.BooleanHelper.check(usuario.parametros.capturar_foto_marcacao_externa,
|
|
100
|
-
capturar_localizacao_marcacao_externa: boolean_helper_1.BooleanHelper.check(usuario.parametros.capturar_localizacao_marcacao_externa,
|
|
99
|
+
capturar_foto_marcacao_externa: boolean_helper_1.BooleanHelper.check(usuario.parametros.capturar_foto_marcacao_externa, null),
|
|
100
|
+
capturar_localizacao_marcacao_externa: boolean_helper_1.BooleanHelper.check(usuario.parametros.capturar_localizacao_marcacao_externa, null),
|
|
101
101
|
cargo_confianca: boolean_helper_1.BooleanHelper.check(usuario.parametros.cargo_confianca, false),
|
|
102
102
|
codigo_externo: string_helper_1.StringHelper.trim(usuario.parametros.codigo_externo, null) ||
|
|
103
103
|
null,
|