sigesp 0.9.6-2022-12-04 → 0.9.8-20221205

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.
@@ -949,22 +949,6 @@
949
949
  return MMonedaConfig;
950
950
  }());
951
951
 
952
- var MComunidad = /** @class */ (function () {
953
- function MComunidad(comunidad) {
954
- this.codestado = comunidad.codestado;
955
- this.codigo = comunidad.codigo;
956
- this.codmunicipio = comunidad.codmunicipio;
957
- this.codparroquia = comunidad.codparroquia;
958
- this.comunidad = comunidad.comunidad;
959
- this.estado = comunidad.estado;
960
- this.municipio = comunidad.municipio;
961
- this.pais = comunidad.pais;
962
- this.parroquia = comunidad.parroquia;
963
- this.prefijo = comunidad.prefijo;
964
- }
965
- return MComunidad;
966
- }());
967
-
968
952
  var MUnidadTributaria = /** @class */ (function () {
969
953
  function MUnidadTributaria(unidad) {
970
954
  this.año = unidad.anno;
@@ -2148,13 +2132,11 @@
2148
2132
  _this.countryCode = null;
2149
2133
  _this.name = null;
2150
2134
  _this.capital = null;
2151
- _this.nameCapital = '';
2152
2135
  if (state) {
2153
2136
  _this.code = state.codest.trim();
2154
2137
  _this.countryCode = state.codpai.trim();
2155
2138
  _this.name = state.desest.trim();
2156
2139
  _this.capital = state.ciucapest.trim();
2157
- _this.nameCapital = state.desciu;
2158
2140
  }
2159
2141
  else {
2160
2142
  _this.isNew = true;
@@ -2180,14 +2162,12 @@
2180
2162
  _this.stateCode = null;
2181
2163
  _this.name = null;
2182
2164
  _this.capital = '';
2183
- _this.nameCapital = '';
2184
2165
  if (mun) {
2185
2166
  _this.code = mun.codmun.trim();
2186
2167
  _this.countryCode = mun.codpai.trim();
2187
2168
  _this.stateCode = mun.codest.trim();
2188
2169
  _this.name = mun.desmun.trim();
2189
2170
  _this.capital = mun.capmun.trim();
2190
- _this.nameCapital = mun.desciu.trim();
2191
2171
  }
2192
2172
  else {
2193
2173
  _this.isNew = true;
@@ -2221,6 +2201,9 @@
2221
2201
  _this.municipalityCode = parish.codmun.trim();
2222
2202
  _this.name = parish.despar.trim();
2223
2203
  }
2204
+ else {
2205
+ _this.isNew = true;
2206
+ }
2224
2207
  return _this;
2225
2208
  }
2226
2209
  MParish.prototype.dataInterface = function () {
@@ -2248,6 +2231,9 @@
2248
2231
  _this.stateCode = city.codest.trim();
2249
2232
  _this.name = city.desciu.trim();
2250
2233
  }
2234
+ else {
2235
+ _this.isNew = true;
2236
+ }
2251
2237
  return _this;
2252
2238
  }
2253
2239
  MCity.prototype.dataInterface = function () {
@@ -2259,6 +2245,41 @@
2259
2245
  };
2260
2246
  };
2261
2247
  return MCity;
2248
+ }(MBasicModel));
2249
+ var MCommunity = /** @class */ (function (_super) {
2250
+ __extends(MCommunity, _super);
2251
+ function MCommunity(parish) {
2252
+ var _this = _super.call(this) || this;
2253
+ _this.code = null;
2254
+ _this.countryCode = null;
2255
+ _this.stateCode = null;
2256
+ _this.municipalityCode = null;
2257
+ _this.parishCode = null;
2258
+ _this.name = null;
2259
+ if (parish) {
2260
+ _this.code = parish.codcom.trim();
2261
+ _this.countryCode = parish.codpai.trim();
2262
+ _this.stateCode = parish.codest.trim();
2263
+ _this.municipalityCode = parish.codmun.trim();
2264
+ _this.parishCode = parish.codpar.trim();
2265
+ _this.name = parish.descom.trim();
2266
+ }
2267
+ else {
2268
+ _this.isNew = true;
2269
+ }
2270
+ return _this;
2271
+ }
2272
+ MCommunity.prototype.dataInterface = function () {
2273
+ return {
2274
+ codpai: this.countryCode,
2275
+ codest: this.stateCode,
2276
+ codmun: this.municipalityCode,
2277
+ codpar: this.parishCode,
2278
+ codcom: this.code,
2279
+ descom: this.name,
2280
+ };
2281
+ };
2282
+ return MCommunity;
2262
2283
  }(MBasicModel));
2263
2284
 
2264
2285
  var MProviderBeneficiary = /** @class */ (function (_super) {
@@ -5593,6 +5614,22 @@
5593
5614
  return MTipoDepositos;
5594
5615
  }(MBasicModel));
5595
5616
 
5617
+ var MComunidad = /** @class */ (function () {
5618
+ function MComunidad(comunidad) {
5619
+ this.codestado = comunidad.codestado;
5620
+ this.codigo = comunidad.codigo;
5621
+ this.codmunicipio = comunidad.codmunicipio;
5622
+ this.codparroquia = comunidad.codparroquia;
5623
+ this.comunidad = comunidad.comunidad;
5624
+ this.estado = comunidad.estado;
5625
+ this.municipio = comunidad.municipio;
5626
+ this.pais = comunidad.pais;
5627
+ this.parroquia = comunidad.parroquia;
5628
+ this.prefijo = comunidad.prefijo;
5629
+ }
5630
+ return MComunidad;
5631
+ }());
5632
+
5596
5633
  var SigespService = /** @class */ (function () {
5597
5634
  // public URL: string = "http://192.168.1.67/sigesp_php";
5598
5635
  // usuarioActivo: MUsuario = {
@@ -7929,6 +7966,75 @@
7929
7966
  },] }
7930
7967
  ];
7931
7968
 
7969
+ var MEnterprise = /** @class */ (function (_super) {
7970
+ __extends(MEnterprise, _super);
7971
+ function MEnterprise(e) {
7972
+ var _this = _super.call(this) || this;
7973
+ _this.idEmpresa = 0;
7974
+ _this.idEnterprise = 0;
7975
+ _this.codigo = '';
7976
+ _this.razonSocial = '';
7977
+ _this.titulo = '';
7978
+ _this.logo = '';
7979
+ _this.rif = '';
7980
+ _this.direccion = '';
7981
+ _this.cuentaIngreso = '';
7982
+ _this.CuentaPorCobrar = '';
7983
+ _this.CuentaIva = '';
7984
+ _this.cuentaInventario = '';
7985
+ _this.cuentaUtilidad = '';
7986
+ _this.cuentaPerdida = '';
7987
+ _this.cuentaPasivoDiferido = '';
7988
+ _this.cuentAnterior = '';
7989
+ _this.cuentSobrante = '';
7990
+ if (e) {
7991
+ _this.idEmpresa = +e.id_empresa;
7992
+ _this.idEnterprise = +e.id_enterprise;
7993
+ _this.codigo = e.codigo;
7994
+ _this.razonSocial = e.denominacion;
7995
+ _this.titulo = e.titulo;
7996
+ _this.logo = e.logo;
7997
+ _this.rif = e.rif;
7998
+ _this.direccion = e.direccion;
7999
+ _this.cuentaIngreso = e.spi_cuenta;
8000
+ _this.CuentaPorCobrar = e.sc_cuenta_cxc;
8001
+ _this.CuentaIva = e.sc_cuenta_iva;
8002
+ _this.cuentaInventario = e.sc_cuenta_inventario;
8003
+ _this.cuentaUtilidad = e.sc_cuenta_utilidad;
8004
+ _this.cuentaPerdida = e.sc_cuenta_perdida;
8005
+ _this.cuentaPasivoDiferido = e.sc_cuenta_pasivo_diferido;
8006
+ _this.cuentAnterior = e.sc_cuenta_ant;
8007
+ _this.cuentSobrante = e.spi_cuenta_sobrante;
8008
+ }
8009
+ else {
8010
+ _this.isNew = true;
8011
+ }
8012
+ return _this;
8013
+ }
8014
+ MEnterprise.prototype.dataInterface = function () {
8015
+ return {
8016
+ id_empresa: this.idEmpresa.toString(),
8017
+ id_enterprise: this.idEnterprise.toString(),
8018
+ codigo: this.codigo,
8019
+ denominacion: this.razonSocial,
8020
+ titulo: this.titulo,
8021
+ logo: this.logo,
8022
+ rif: this.rif,
8023
+ direccion: this.direccion,
8024
+ spi_cuenta: this.cuentaIngreso,
8025
+ sc_cuenta_cxc: this.CuentaPorCobrar,
8026
+ sc_cuenta_iva: this.CuentaIva,
8027
+ sc_cuenta_inventario: this.cuentaInventario,
8028
+ sc_cuenta_utilidad: this.cuentaUtilidad,
8029
+ sc_cuenta_perdida: this.cuentaPerdida,
8030
+ sc_cuenta_pasivo_diferido: this.cuentaPasivoDiferido,
8031
+ sc_cuenta_ant: this.cuentAnterior,
8032
+ spi_cuenta_sobrante: this.cuentSobrante
8033
+ };
8034
+ };
8035
+ return MEnterprise;
8036
+ }(MBasicModel));
8037
+
7932
8038
  var MAccountMarriage = /** @class */ (function () {
7933
8039
  function MAccountMarriage(marriage) {
7934
8040
  this.idEmpresa = null;
@@ -13487,6 +13593,7 @@
13487
13593
  exports.MClause = MClause;
13488
13594
  exports.MClauseModality = MClauseModality;
13489
13595
  exports.MCodigoUnicoRac = MCodigoUnicoRac;
13596
+ exports.MCommunity = MCommunity;
13490
13597
  exports.MComponent = MComponent;
13491
13598
  exports.MComponete = MComponete;
13492
13599
  exports.MComprobantePresupuestarioEgresos = MComprobantePresupuestarioEgresos;
@@ -13525,6 +13632,7 @@
13525
13632
  exports.MDocument = MDocument;
13526
13633
  exports.MEmpresa = MEmpresa;
13527
13634
  exports.MEncargaduria = MEncargaduria;
13635
+ exports.MEnterprise = MEnterprise;
13528
13636
  exports.MEntradaSuministros = MEntradaSuministros;
13529
13637
  exports.MEscalaEvaluacion = MEscalaEvaluacion;
13530
13638
  exports.MEscalaEvaluacionDt = MEscalaEvaluacionDt;
@@ -13655,16 +13763,16 @@
13655
13763
  exports.academico = academico;
13656
13764
  exports.camposConstaciaTrabajo = camposConstaciaTrabajo;
13657
13765
  exports.customPaginator = customPaginator;
13658
- exports.ɵe = AppComponent;
13659
- exports.ɵf = SharedModule;
13660
- exports.ɵg = CatalogoComponent;
13661
- exports.ɵi = ConfirmComponent;
13662
- exports.ɵj = IconComponent;
13663
- exports.ɵk = TableSelectComponent;
13664
- exports.ɵl = CatalogoEstructurasComponent;
13665
- exports.ɵm = CatalogoDobleInputComponent;
13666
- exports.ɵn = IsoCurrencyPipe;
13667
- exports.ɵo = CustonMaterialModule;
13766
+ exports.ɵf = AppComponent;
13767
+ exports.ɵg = SharedModule;
13768
+ exports.ɵh = CatalogoComponent;
13769
+ exports.ɵj = ConfirmComponent;
13770
+ exports.ɵk = IconComponent;
13771
+ exports.ɵl = TableSelectComponent;
13772
+ exports.ɵm = CatalogoEstructurasComponent;
13773
+ exports.ɵn = CatalogoDobleInputComponent;
13774
+ exports.ɵo = IsoCurrencyPipe;
13775
+ exports.ɵp = CustonMaterialModule;
13668
13776
 
13669
13777
  Object.defineProperty(exports, '__esModule', { value: true });
13670
13778