@sofit/view-locale 1.47.0 → 1.48.0

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.
@@ -1,22 +1,22 @@
1
- <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.293">
2
- <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-07-03T16:59:25" time="1.605" tests="4">
3
- <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.003">
1
+ <testsuites name="Sofit view locale tests" tests="8" failures="0" time="2.986">
2
+ <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-07-10T00:08:23" time="2.187" tests="4">
3
+ <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.004">
4
4
  </testcase>
5
- <testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0.001">
5
+ <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
6
6
  </testcase>
7
- <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0">
7
+ <testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
8
8
  </testcase>
9
- <testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
9
+ <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
10
10
  </testcase>
11
11
  </testsuite>
12
- <testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2019-07-03T16:59:25" time="1.576" tests="4">
13
- <testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.003">
12
+ <testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2019-07-10T00:08:23" time="2.15" tests="4">
13
+ <testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.004">
14
14
  </testcase>
15
- <testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
15
+ <testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0">
16
16
  </testcase>
17
- <testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0.001">
17
+ <testcase classname="Vehicle locale test Should get translations with raw" name="Vehicle locale test Should get translations with raw" time="0.001">
18
18
  </testcase>
19
- <testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
19
+ <testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
20
20
  </testcase>
21
21
  </testsuite>
22
22
  </testsuites>
@@ -22,6 +22,7 @@ import * as employee_role from './modules/employee_role';
22
22
  import * as expense from './modules/expense';
23
23
  import * as fine from './modules/fine';
24
24
  import * as fine_qualification from './modules/fine_qualification';
25
+ import * as fine_qualification_integration_key from './modules/fine_qualification_integration_key';
25
26
  import * as fine_resource from './modules/fine_resource';
26
27
  import * as foreseen_maintenance_plan_service_item from './modules/foreseen_maintenance_plan_service_item';
27
28
  import * as foreseen_service_order_item from './modules/foreseen_service_order_item';
@@ -71,4 +72,4 @@ import * as warehouse from './modules/warehouse';
71
72
  import * as warehouse_item from './modules/warehouse_item';
72
73
  export { joi } from './common/joi';
73
74
  export { databaseErrors } from './common/database-errors';
74
- export { auth, benchmarking, general, inout, pipefy, cash_basis, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, company, cost_center, cost_sharing, customer, driver_control, driver_license_point, employee, employee_hiring_regime, employee_role, expense, fine, fine_qualification, fine_resource, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, gate_appointment, item, leasing_contract, maintenance_plan, maintenance_plan_service, measurement_unit, night_transport, parameter, pendency, qualification_severity, release_notification, request_occurrence, route, service_order, solicitation, solicitation_comment, solicitation_history, solicitation_watcher, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, trip, vehicle, vehicle_axes, vehicle_brand, vehicle_change_history, vehicle_deactivation_cause, vehicle_due, vehicle_fuel, vehicle_layout, vehicle_leasing, vehicle_model, vehicle_model_version, vehicle_tag, warehouse, warehouse_item };
75
+ export { auth, benchmarking, general, inout, pipefy, cash_basis, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, company, cost_center, cost_sharing, customer, driver_control, driver_license_point, employee, employee_hiring_regime, employee_role, expense, fine, fine_qualification_integration_key, fine_qualification, fine_resource, foreseen_maintenance_plan_service_item, foreseen_service_order_item, gas_pump_control, gate, gate_appointment, item, leasing_contract, maintenance_plan, maintenance_plan_service, measurement_unit, night_transport, parameter, pendency, qualification_severity, release_notification, request_occurrence, route, service_order, solicitation, solicitation_comment, solicitation_history, solicitation_watcher, stock_entry_item, sub_system, subsidiary, supplier, system, tire_brand, tire_dimension, tire_drawing, transaction, trip, vehicle, vehicle_axes, vehicle_brand, vehicle_change_history, vehicle_deactivation_cause, vehicle_due, vehicle_fuel, vehicle_layout, vehicle_leasing, vehicle_model, vehicle_model_version, vehicle_tag, warehouse, warehouse_item };
@@ -55,6 +55,8 @@ const fine = __importStar(require("./modules/fine"));
55
55
  exports.fine = fine;
56
56
  const fine_qualification = __importStar(require("./modules/fine_qualification"));
57
57
  exports.fine_qualification = fine_qualification;
58
+ const fine_qualification_integration_key = __importStar(require("./modules/fine_qualification_integration_key"));
59
+ exports.fine_qualification_integration_key = fine_qualification_integration_key;
58
60
  const fine_resource = __importStar(require("./modules/fine_resource"));
59
61
  exports.fine_resource = fine_resource;
60
62
  const foreseen_maintenance_plan_service_item = __importStar(require("./modules/foreseen_maintenance_plan_service_item"));
@@ -0,0 +1,36 @@
1
+ export declare const name: {
2
+ ptBR: string;
3
+ es: string;
4
+ };
5
+ export declare const fields: {
6
+ description: {
7
+ ptBR: string;
8
+ es: string;
9
+ };
10
+ code: {
11
+ ptBR: string;
12
+ es: string;
13
+ };
14
+ fine_qualification_id: {
15
+ ptBR: string;
16
+ es: string;
17
+ };
18
+ name: {
19
+ ptBR: string;
20
+ es: string;
21
+ };
22
+ external_id: {
23
+ ptBR: string;
24
+ es: string;
25
+ };
26
+ id: {
27
+ ptBR: string;
28
+ es: string;
29
+ };
30
+ };
31
+ export declare const messages: {
32
+ code_must_be_unique: {
33
+ ptBR: string;
34
+ es: string;
35
+ };
36
+ };
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const entity_1 = require("../common/entity");
4
+ exports.name = {
5
+ ptBR: 'Chave de Integração da Qualificação',
6
+ es: 'Clave de Integración de calificación de la infracción'
7
+ };
8
+ exports.fields = Object.assign({}, entity_1.ENTITY_COMMON, { description: {
9
+ ptBR: 'Descrição',
10
+ es: 'Descrición'
11
+ }, code: {
12
+ ptBR: 'Código',
13
+ es: 'Código'
14
+ }, fine_qualification_id: {
15
+ ptBR: 'Qualificação de infração',
16
+ es: 'Calificación de infracción'
17
+ } });
18
+ exports.messages = {
19
+ code_must_be_unique: {
20
+ ptBR: 'Já existe uma chave de integração da qualificação com este código.',
21
+ es: 'Ya existe una clave de integración de calificación con este código.'
22
+ }
23
+ };
@@ -22,6 +22,7 @@ import * as employee_role from './modules/employee_role';
22
22
  import * as expense from './modules/expense';
23
23
  import * as fine from './modules/fine';
24
24
  import * as fine_qualification from './modules/fine_qualification';
25
+ import * as fine_qualification_integration_key from './modules/fine_qualification_integration_key';
25
26
  import * as fine_resource from './modules/fine_resource';
26
27
  import * as foreseen_maintenance_plan_service_item from './modules/foreseen_maintenance_plan_service_item';
27
28
  import * as foreseen_service_order_item from './modules/foreseen_service_order_item';
@@ -97,6 +98,7 @@ export {
97
98
  employee_role,
98
99
  expense,
99
100
  fine,
101
+ fine_qualification_integration_key,
100
102
  fine_qualification,
101
103
  fine_resource,
102
104
  foreseen_maintenance_plan_service_item,
@@ -0,0 +1,29 @@
1
+ import { ENTITY_COMMON } from '../common/entity';
2
+
3
+ export const name = {
4
+ ptBR: 'Chave de Integração da Qualificação',
5
+ es: 'Clave de Integración de calificación de la infracción'
6
+ };
7
+
8
+ export const fields = {
9
+ ...ENTITY_COMMON,
10
+ description: {
11
+ ptBR: 'Descrição',
12
+ es: 'Descrición'
13
+ },
14
+ code: {
15
+ ptBR: 'Código',
16
+ es: 'Código'
17
+ },
18
+ fine_qualification_id: {
19
+ ptBR: 'Qualificação de infração',
20
+ es: 'Calificación de infracción'
21
+ }
22
+ };
23
+
24
+ export const messages = {
25
+ code_must_be_unique: {
26
+ ptBR: 'Já existe uma chave de integração da qualificação com este código.',
27
+ es: 'Ya existe una clave de integración de calificación con este código.'
28
+ }
29
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sofit/view-locale",
3
- "version": "1.47.0",
3
+ "version": "1.48.0",
4
4
  "description": "Traduções do Sofit View",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",