sigesp 0.9.7-20221204 → 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;
@@ -2217,6 +2201,9 @@
2217
2201
  _this.municipalityCode = parish.codmun.trim();
2218
2202
  _this.name = parish.despar.trim();
2219
2203
  }
2204
+ else {
2205
+ _this.isNew = true;
2206
+ }
2220
2207
  return _this;
2221
2208
  }
2222
2209
  MParish.prototype.dataInterface = function () {
@@ -2244,6 +2231,9 @@
2244
2231
  _this.stateCode = city.codest.trim();
2245
2232
  _this.name = city.desciu.trim();
2246
2233
  }
2234
+ else {
2235
+ _this.isNew = true;
2236
+ }
2247
2237
  return _this;
2248
2238
  }
2249
2239
  MCity.prototype.dataInterface = function () {
@@ -2255,6 +2245,41 @@
2255
2245
  };
2256
2246
  };
2257
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;
2258
2283
  }(MBasicModel));
2259
2284
 
2260
2285
  var MProviderBeneficiary = /** @class */ (function (_super) {
@@ -5589,6 +5614,22 @@
5589
5614
  return MTipoDepositos;
5590
5615
  }(MBasicModel));
5591
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
+
5592
5633
  var SigespService = /** @class */ (function () {
5593
5634
  // public URL: string = "http://192.168.1.67/sigesp_php";
5594
5635
  // usuarioActivo: MUsuario = {
@@ -7925,6 +7966,75 @@
7925
7966
  },] }
7926
7967
  ];
7927
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
+
7928
8038
  var MAccountMarriage = /** @class */ (function () {
7929
8039
  function MAccountMarriage(marriage) {
7930
8040
  this.idEmpresa = null;
@@ -13483,6 +13593,7 @@
13483
13593
  exports.MClause = MClause;
13484
13594
  exports.MClauseModality = MClauseModality;
13485
13595
  exports.MCodigoUnicoRac = MCodigoUnicoRac;
13596
+ exports.MCommunity = MCommunity;
13486
13597
  exports.MComponent = MComponent;
13487
13598
  exports.MComponete = MComponete;
13488
13599
  exports.MComprobantePresupuestarioEgresos = MComprobantePresupuestarioEgresos;
@@ -13521,6 +13632,7 @@
13521
13632
  exports.MDocument = MDocument;
13522
13633
  exports.MEmpresa = MEmpresa;
13523
13634
  exports.MEncargaduria = MEncargaduria;
13635
+ exports.MEnterprise = MEnterprise;
13524
13636
  exports.MEntradaSuministros = MEntradaSuministros;
13525
13637
  exports.MEscalaEvaluacion = MEscalaEvaluacion;
13526
13638
  exports.MEscalaEvaluacionDt = MEscalaEvaluacionDt;
@@ -13651,16 +13763,16 @@
13651
13763
  exports.academico = academico;
13652
13764
  exports.camposConstaciaTrabajo = camposConstaciaTrabajo;
13653
13765
  exports.customPaginator = customPaginator;
13654
- exports.ɵe = AppComponent;
13655
- exports.ɵf = SharedModule;
13656
- exports.ɵg = CatalogoComponent;
13657
- exports.ɵi = ConfirmComponent;
13658
- exports.ɵj = IconComponent;
13659
- exports.ɵk = TableSelectComponent;
13660
- exports.ɵl = CatalogoEstructurasComponent;
13661
- exports.ɵm = CatalogoDobleInputComponent;
13662
- exports.ɵn = IsoCurrencyPipe;
13663
- 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;
13664
13776
 
13665
13777
  Object.defineProperty(exports, '__esModule', { value: true });
13666
13778