emilsoftware-utilities 1.4.0-dev.17 → 1.4.0-dev.18

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.
@@ -6,5 +6,5 @@ export declare class FiltriUtente {
6
6
  codiceAgenzia?: string;
7
7
  codiceClienteCollegato?: string;
8
8
  codiceClienti?: string;
9
- tipoFiltro?: string;
9
+ tipoFiltro?: number;
10
10
  }
@@ -83,5 +83,5 @@ __decorate([
83
83
  }),
84
84
  (0, class_validator_1.IsString)(),
85
85
  (0, class_validator_1.IsOptional)(),
86
- __metadata("design:type", String)
86
+ __metadata("design:type", Number)
87
87
  ], FiltriUtente.prototype, "tipoFiltro", void 0);
@@ -64,7 +64,7 @@ let UserService = class UserService {
64
64
  F.CODAGE AS cod_age,
65
65
  F.CODCLICOL AS cod_cli_col,
66
66
  F.CODCLIENTI AS codice_clienti,
67
- F.TIPFIL AS tip_fil
67
+ F.TIPFIL AS tipo_filtro
68
68
  FROM UTENTI U
69
69
  INNER JOIN UTENTI_CONFIG G ON U.CODUTE = G.CODUTE
70
70
  LEFT JOIN FILTRI F ON F.CODUTE = U.CODUTE
@@ -182,7 +182,7 @@ let UserService = class UserService {
182
182
  codiceAgenzia: { dbField: 'CODAGE', type: 'number' },
183
183
  codiceClienteCollegato: { dbField: 'CODCLICOL', type: 'number' },
184
184
  codiceClienti: { dbField: 'CODCLIENTI', type: 'string' },
185
- tipoFiltro: { dbField: 'TIPFIL', type: 'string' },
185
+ tipoFiltro: { dbField: 'TIPFIL', type: 'number' },
186
186
  };
187
187
  const fieldsToInsert = Object.entries(fieldMapping)
188
188
  .filter(([tsField]) => {
@@ -366,7 +366,7 @@ let UserService = class UserService {
366
366
  codAge: { dbField: 'CODAGE', type: 'number' },
367
367
  codCliCol: { dbField: 'CODCLICOL', type: 'number' },
368
368
  codiceClienti: { dbField: 'CODCLIENTI', type: 'string' },
369
- tipFil: { dbField: 'TIPFIL', type: 'string' },
369
+ tipoFiltro: { dbField: 'TIPFIL', type: 'number' },
370
370
  };
371
371
  const fieldsToUpdate = Object.entries(fieldMapping)
372
372
  .filter(([tsField]) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emilsoftware-utilities",
3
- "version": "1.4.0-dev.17",
3
+ "version": "1.4.0-dev.18",
4
4
  "description": "Utilities for EmilSoftware",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",