@sofit/view-locale 1.103.0 → 1.104.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.
- package/dist/translations/index.d.ts +2 -1
- package/dist/translations/index.js +3 -1
- package/dist/translations/modules/backup_vehicle.d.ts +58 -0
- package/dist/translations/modules/backup_vehicle.js +43 -0
- package/dist/translations/modules/cost_center.d.ts +4 -4
- package/dist/translations/modules/cost_center.js +0 -3
- package/dist/translations/modules/leasing_measurement.d.ts +2 -2
- package/dist/translations/modules/leasing_measurement.js +0 -3
- package/dist/translations/modules/vehicle.d.ts +4 -4
- package/dist/translations/modules/vehicle.js +0 -3
- package/junit.xml +6 -6
- package/lib/translations/index.ts +2 -0
- package/lib/translations/modules/backup_vehicle.ts +51 -0
- package/lib/translations/modules/cost_center.ts +0 -4
- package/lib/translations/modules/leasing_measurement.ts +0 -4
- package/lib/translations/modules/vehicle.ts +0 -4
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ import * as benchmarking from './common/benchmarking';
|
|
|
4
4
|
import * as general from './common/general';
|
|
5
5
|
import * as inout from './integrations/inout';
|
|
6
6
|
import * as pipefy from './integrations/pipefy';
|
|
7
|
+
import * as backup_vehicle from './modules/backup_vehicle';
|
|
7
8
|
import * as carsharing_type from './modules/carsharing_type';
|
|
8
9
|
import * as cash_basis from './modules/cash_basis';
|
|
9
10
|
import * as change_history from './modules/change_history';
|
|
@@ -93,4 +94,4 @@ import * as warehouse_item from './modules/warehouse_item';
|
|
|
93
94
|
export { joi } from './common/joi';
|
|
94
95
|
export { databaseErrors } from './common/database-errors';
|
|
95
96
|
export { internalServerErrors } from './common/internal-server-errors';
|
|
96
|
-
export { auth, attachment, benchmarking, general, inout, pipefy, carsharing_type, cash_basis, change_history, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, company, cost_center, cost_sharing, cost_sharing_entity, customer, driver_control, driver_license_point, employee, employee_change_history, 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, gate_appointment_diary, item, leasing_contract, leasing_measurement, 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_transfer, stock_transfer_item, stock_entry_item, sub_system, subsidiary, supplier, system, tire, tire_brand, tire_dimension, tire_drawing, transaction, trip, vehicle, vehicle_axes, vehicle_booking, vehicle_brand, vehicle_bulk, vehicle_bulk_keys, vehicle_change_history, vehicle_deactivation_cause, vehicle_due, vehicle_event, vehicle_event_type, vehicle_fuel, vehicle_layout, vehicle_leasing, vehicle_maintenance_plan, vehicle_maintenance_plan_item, vehicle_maintenance_plan_service, vehicle_model, vehicle_model_version, vehicle_tag, warehouse, warehouse_item, city, state };
|
|
97
|
+
export { auth, attachment, benchmarking, backup_vehicle, general, inout, pipefy, carsharing_type, cash_basis, change_history, checklist, checklist_group, checklist_group_item, checklist_group_option, checklist_model, checklist_reply, company, cost_center, cost_sharing, cost_sharing_entity, customer, driver_control, driver_license_point, employee, employee_change_history, 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, gate_appointment_diary, item, leasing_contract, leasing_measurement, 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_transfer, stock_transfer_item, stock_entry_item, sub_system, subsidiary, supplier, system, tire, tire_brand, tire_dimension, tire_drawing, transaction, trip, vehicle, vehicle_axes, vehicle_booking, vehicle_brand, vehicle_bulk, vehicle_bulk_keys, vehicle_change_history, vehicle_deactivation_cause, vehicle_due, vehicle_event, vehicle_event_type, vehicle_fuel, vehicle_layout, vehicle_leasing, vehicle_maintenance_plan, vehicle_maintenance_plan_item, vehicle_maintenance_plan_service, vehicle_model, vehicle_model_version, vehicle_tag, warehouse, warehouse_item, city, state };
|
|
@@ -19,7 +19,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.state = exports.city = exports.warehouse_item = exports.warehouse = exports.vehicle_tag = exports.vehicle_model_version = exports.vehicle_model = exports.vehicle_maintenance_plan_service = exports.vehicle_maintenance_plan_item = exports.vehicle_maintenance_plan = exports.vehicle_leasing = exports.vehicle_layout = exports.vehicle_fuel = exports.vehicle_event_type = exports.vehicle_event = exports.vehicle_due = exports.vehicle_deactivation_cause = exports.vehicle_change_history = exports.vehicle_bulk_keys = exports.vehicle_bulk = exports.vehicle_brand = exports.vehicle_booking = exports.vehicle_axes = exports.vehicle = exports.trip = exports.transaction = exports.tire_drawing = exports.tire_dimension = exports.tire_brand = exports.tire = exports.system = exports.supplier = exports.subsidiary = exports.sub_system = exports.stock_entry_item = exports.stock_transfer_item = exports.stock_transfer = exports.solicitation_watcher = exports.solicitation_history = exports.solicitation_comment = exports.solicitation = exports.service_order = exports.route = exports.request_occurrence = exports.release_notification = exports.qualification_severity = exports.pendency = exports.parameter = exports.night_transport = exports.measurement_unit = exports.maintenance_plan_service = exports.maintenance_plan = exports.leasing_measurement = exports.leasing_contract = exports.item = exports.gate_appointment_diary = exports.gate_appointment = exports.gate = exports.gas_pump_control = exports.foreseen_service_order_item = exports.foreseen_maintenance_plan_service_item = exports.fine_resource = exports.fine_qualification = exports.fine_qualification_integration_key = exports.fine = exports.expense = exports.employee_role = exports.employee_hiring_regime = exports.employee_change_history = exports.employee = exports.driver_license_point = exports.driver_control = exports.customer = exports.cost_sharing_entity = exports.cost_sharing = exports.cost_center = exports.company = exports.checklist_reply = exports.checklist_model = exports.checklist_group_option = exports.checklist_group_item = exports.checklist_group = exports.checklist = exports.change_history = exports.cash_basis = exports.carsharing_type = exports.pipefy = exports.inout = exports.general = exports.benchmarking = exports.attachment = exports.auth = void 0;
|
|
22
|
+
exports.state = exports.city = exports.warehouse_item = exports.warehouse = exports.vehicle_tag = exports.vehicle_model_version = exports.vehicle_model = exports.vehicle_maintenance_plan_service = exports.vehicle_maintenance_plan_item = exports.vehicle_maintenance_plan = exports.vehicle_leasing = exports.vehicle_layout = exports.vehicle_fuel = exports.vehicle_event_type = exports.vehicle_event = exports.vehicle_due = exports.vehicle_deactivation_cause = exports.vehicle_change_history = exports.vehicle_bulk_keys = exports.vehicle_bulk = exports.vehicle_brand = exports.vehicle_booking = exports.vehicle_axes = exports.vehicle = exports.trip = exports.transaction = exports.tire_drawing = exports.tire_dimension = exports.tire_brand = exports.tire = exports.system = exports.supplier = exports.subsidiary = exports.sub_system = exports.stock_entry_item = exports.stock_transfer_item = exports.stock_transfer = exports.solicitation_watcher = exports.solicitation_history = exports.solicitation_comment = exports.solicitation = exports.service_order = exports.route = exports.request_occurrence = exports.release_notification = exports.qualification_severity = exports.pendency = exports.parameter = exports.night_transport = exports.measurement_unit = exports.maintenance_plan_service = exports.maintenance_plan = exports.leasing_measurement = exports.leasing_contract = exports.item = exports.gate_appointment_diary = exports.gate_appointment = exports.gate = exports.gas_pump_control = exports.foreseen_service_order_item = exports.foreseen_maintenance_plan_service_item = exports.fine_resource = exports.fine_qualification = exports.fine_qualification_integration_key = exports.fine = exports.expense = exports.employee_role = exports.employee_hiring_regime = exports.employee_change_history = exports.employee = exports.driver_license_point = exports.driver_control = exports.customer = exports.cost_sharing_entity = exports.cost_sharing = exports.cost_center = exports.company = exports.checklist_reply = exports.checklist_model = exports.checklist_group_option = exports.checklist_group_item = exports.checklist_group = exports.checklist = exports.change_history = exports.cash_basis = exports.carsharing_type = exports.pipefy = exports.inout = exports.general = exports.backup_vehicle = exports.benchmarking = exports.attachment = exports.auth = void 0;
|
|
23
23
|
const auth = __importStar(require("./common/auth"));
|
|
24
24
|
exports.auth = auth;
|
|
25
25
|
const attachment = __importStar(require("./modules/attachment"));
|
|
@@ -32,6 +32,8 @@ const inout = __importStar(require("./integrations/inout"));
|
|
|
32
32
|
exports.inout = inout;
|
|
33
33
|
const pipefy = __importStar(require("./integrations/pipefy"));
|
|
34
34
|
exports.pipefy = pipefy;
|
|
35
|
+
const backup_vehicle = __importStar(require("./modules/backup_vehicle"));
|
|
36
|
+
exports.backup_vehicle = backup_vehicle;
|
|
35
37
|
const carsharing_type = __importStar(require("./modules/carsharing_type"));
|
|
36
38
|
exports.carsharing_type = carsharing_type;
|
|
37
39
|
const cash_basis = __importStar(require("./modules/cash_basis"));
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const name: {
|
|
2
|
+
ptBR: string;
|
|
3
|
+
es: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const fields: {
|
|
6
|
+
license_plate: {
|
|
7
|
+
ptBR: string;
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
status: {
|
|
11
|
+
ptBR: string;
|
|
12
|
+
es: string;
|
|
13
|
+
};
|
|
14
|
+
deactivation_date: {
|
|
15
|
+
ptBR: string;
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
supplier_id: {
|
|
19
|
+
ptBR: string;
|
|
20
|
+
es: string;
|
|
21
|
+
};
|
|
22
|
+
leasing_contract_id: {
|
|
23
|
+
ptBR: string;
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
observation: {
|
|
27
|
+
ptBR: string;
|
|
28
|
+
es: string;
|
|
29
|
+
};
|
|
30
|
+
name: {
|
|
31
|
+
ptBR: string;
|
|
32
|
+
es: string;
|
|
33
|
+
};
|
|
34
|
+
external_id: {
|
|
35
|
+
ptBR: string;
|
|
36
|
+
es: string;
|
|
37
|
+
};
|
|
38
|
+
id: {
|
|
39
|
+
ptBR: string;
|
|
40
|
+
es: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const enums: {
|
|
44
|
+
status: {
|
|
45
|
+
available: {
|
|
46
|
+
ptBR: string;
|
|
47
|
+
es: string;
|
|
48
|
+
};
|
|
49
|
+
in_use: {
|
|
50
|
+
ptBR: string;
|
|
51
|
+
es: string;
|
|
52
|
+
};
|
|
53
|
+
inactive: {
|
|
54
|
+
ptBR: string;
|
|
55
|
+
es: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.enums = exports.fields = exports.name = void 0;
|
|
4
|
+
const entity_1 = require("../common/entity");
|
|
5
|
+
exports.name = {
|
|
6
|
+
ptBR: 'Veículo reserva',
|
|
7
|
+
es: 'Vehículo de respaldo'
|
|
8
|
+
};
|
|
9
|
+
exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { license_plate: {
|
|
10
|
+
ptBR: 'Placa',
|
|
11
|
+
es: 'Placa'
|
|
12
|
+
}, status: {
|
|
13
|
+
ptBR: 'Situação',
|
|
14
|
+
es: 'Situación'
|
|
15
|
+
}, deactivation_date: {
|
|
16
|
+
ptBR: 'Data da desativação',
|
|
17
|
+
es: 'Fecha de la desativación'
|
|
18
|
+
}, supplier_id: {
|
|
19
|
+
ptBR: 'Fornecedor',
|
|
20
|
+
es: 'Proveedor'
|
|
21
|
+
}, leasing_contract_id: {
|
|
22
|
+
ptBR: 'Contrato de Locação',
|
|
23
|
+
es: 'Contrato de Arrendamiento'
|
|
24
|
+
}, observation: {
|
|
25
|
+
ptBR: 'Observação',
|
|
26
|
+
es: 'Observación'
|
|
27
|
+
} });
|
|
28
|
+
exports.enums = {
|
|
29
|
+
status: {
|
|
30
|
+
'available': {
|
|
31
|
+
ptBR: 'Disponível',
|
|
32
|
+
es: 'Disponible'
|
|
33
|
+
},
|
|
34
|
+
'in_use': {
|
|
35
|
+
ptBR: 'Em uso',
|
|
36
|
+
es: 'En uso'
|
|
37
|
+
},
|
|
38
|
+
'inactive': {
|
|
39
|
+
ptBR: 'Inativo',
|
|
40
|
+
es: 'Inactivo'
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
};
|
|
@@ -19,10 +19,6 @@ export declare const fields: {
|
|
|
19
19
|
ptBR: string;
|
|
20
20
|
es: string;
|
|
21
21
|
};
|
|
22
|
-
external_id: {
|
|
23
|
-
ptBR: string;
|
|
24
|
-
es: string;
|
|
25
|
-
};
|
|
26
22
|
responsible_id: {
|
|
27
23
|
ptBR: string;
|
|
28
24
|
es: string;
|
|
@@ -35,6 +31,10 @@ export declare const fields: {
|
|
|
35
31
|
ptBR: string;
|
|
36
32
|
es: string;
|
|
37
33
|
};
|
|
34
|
+
external_id: {
|
|
35
|
+
ptBR: string;
|
|
36
|
+
es: string;
|
|
37
|
+
};
|
|
38
38
|
id: {
|
|
39
39
|
ptBR: string;
|
|
40
40
|
es: string;
|
|
@@ -18,9 +18,6 @@ exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { acti
|
|
|
18
18
|
}, description: {
|
|
19
19
|
ptBR: 'Colaborador',
|
|
20
20
|
es: 'Colaborador'
|
|
21
|
-
}, external_id: {
|
|
22
|
-
ptBR: 'Chave externa',
|
|
23
|
-
es: 'Clave externa'
|
|
24
21
|
}, responsible_id: {
|
|
25
22
|
ptBR: 'Descrição',
|
|
26
23
|
es: 'Descrición'
|
|
@@ -42,9 +42,6 @@ exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { vehi
|
|
|
42
42
|
}, company_id: {
|
|
43
43
|
ptBR: 'Empresa',
|
|
44
44
|
es: 'Empresa'
|
|
45
|
-
}, external_id: {
|
|
46
|
-
ptBR: 'Chave externa',
|
|
47
|
-
es: 'Clave extranjera'
|
|
48
45
|
} });
|
|
49
46
|
exports.messages = {
|
|
50
47
|
must_have_no_paid_measurement_when_removing: {
|
|
@@ -187,10 +187,6 @@ export declare const fields: {
|
|
|
187
187
|
ptBR: string;
|
|
188
188
|
es: string;
|
|
189
189
|
};
|
|
190
|
-
external_id: {
|
|
191
|
-
ptBR: string;
|
|
192
|
-
es: string;
|
|
193
|
-
};
|
|
194
190
|
rental_id: {
|
|
195
191
|
ptBR: string;
|
|
196
192
|
es: string;
|
|
@@ -423,6 +419,10 @@ export declare const fields: {
|
|
|
423
419
|
ptBR: string;
|
|
424
420
|
es: string;
|
|
425
421
|
};
|
|
422
|
+
external_id: {
|
|
423
|
+
ptBR: string;
|
|
424
|
+
es: string;
|
|
425
|
+
};
|
|
426
426
|
id: {
|
|
427
427
|
ptBR: string;
|
|
428
428
|
es: string;
|
|
@@ -144,9 +144,6 @@ exports.fields = Object.assign(Object.assign({}, entity_1.ENTITY_COMMON), { lice
|
|
|
144
144
|
}, initial_control_used: {
|
|
145
145
|
ptBR: 'Controle de uso inicial',
|
|
146
146
|
es: 'Control de uso inicial'
|
|
147
|
-
}, external_id: {
|
|
148
|
-
ptBR: 'Chave externa',
|
|
149
|
-
es: 'Clave externa'
|
|
150
147
|
}, rental_id: {
|
|
151
148
|
ptBR: 'Locadora',
|
|
152
149
|
es: 'Locadora'
|
package/junit.xml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="
|
|
3
|
-
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2020-
|
|
2
|
+
<testsuites name="Sofit view locale tests" tests="8" failures="0" time="3.351">
|
|
3
|
+
<testsuite name="Vehicle locale test" errors="0" failures="0" skipped="0" timestamp="2020-07-20T18:37:50" time="2.666" tests="4">
|
|
4
4
|
<testcase classname="Vehicle locale test Should get translations with reach" name="Vehicle locale test Should get translations with reach" time="0.002">
|
|
5
5
|
</testcase>
|
|
6
6
|
<testcase classname="Vehicle locale test Should replace correctly with reach" name="Vehicle locale test Should replace correctly with reach" time="0">
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
<testcase classname="Vehicle locale test Should replace correctly with raw" name="Vehicle locale test Should replace correctly with raw" time="0">
|
|
11
11
|
</testcase>
|
|
12
12
|
</testsuite>
|
|
13
|
-
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-
|
|
13
|
+
<testsuite name="Joi tests" errors="0" failures="0" skipped="0" timestamp="2020-07-20T18:37:50" time="2.678" tests="4">
|
|
14
14
|
<testcase classname="Joi tests should return default message" name="Joi tests should return default message" time="0.002">
|
|
15
15
|
</testcase>
|
|
16
|
-
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0">
|
|
16
|
+
<testcase classname="Joi tests should return non label message" name="Joi tests should return non label message" time="0.001">
|
|
17
17
|
</testcase>
|
|
18
|
-
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0
|
|
18
|
+
<testcase classname="Joi tests should return translated label message" name="Joi tests should return translated label message" time="0">
|
|
19
19
|
</testcase>
|
|
20
|
-
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0">
|
|
20
|
+
<testcase classname="Joi tests should return translated label index" name="Joi tests should return translated label index" time="0.001">
|
|
21
21
|
</testcase>
|
|
22
22
|
</testsuite>
|
|
23
23
|
</testsuites>
|
|
@@ -4,6 +4,7 @@ import * as benchmarking from './common/benchmarking';
|
|
|
4
4
|
import * as general from './common/general';
|
|
5
5
|
import * as inout from './integrations/inout';
|
|
6
6
|
import * as pipefy from './integrations/pipefy';
|
|
7
|
+
import * as backup_vehicle from './modules/backup_vehicle';
|
|
7
8
|
import * as carsharing_type from './modules/carsharing_type';
|
|
8
9
|
import * as cash_basis from './modules/cash_basis';
|
|
9
10
|
import * as change_history from './modules/change_history';
|
|
@@ -99,6 +100,7 @@ export {
|
|
|
99
100
|
auth,
|
|
100
101
|
attachment,
|
|
101
102
|
benchmarking,
|
|
103
|
+
backup_vehicle,
|
|
102
104
|
general,
|
|
103
105
|
inout,
|
|
104
106
|
pipefy,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ENTITY_COMMON } from '../common/entity';
|
|
2
|
+
|
|
3
|
+
export const name = {
|
|
4
|
+
ptBR: 'Veículo reserva',
|
|
5
|
+
es: 'Vehículo de respaldo'
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export const fields = {
|
|
9
|
+
...ENTITY_COMMON,
|
|
10
|
+
license_plate: {
|
|
11
|
+
ptBR: 'Placa',
|
|
12
|
+
es: 'Placa'
|
|
13
|
+
},
|
|
14
|
+
status: {
|
|
15
|
+
ptBR: 'Situação',
|
|
16
|
+
es: 'Situación'
|
|
17
|
+
},
|
|
18
|
+
deactivation_date: {
|
|
19
|
+
ptBR: 'Data da desativação',
|
|
20
|
+
es: 'Fecha de la desativación'
|
|
21
|
+
},
|
|
22
|
+
supplier_id: {
|
|
23
|
+
ptBR: 'Fornecedor',
|
|
24
|
+
es: 'Proveedor'
|
|
25
|
+
},
|
|
26
|
+
leasing_contract_id: {
|
|
27
|
+
ptBR: 'Contrato de Locação',
|
|
28
|
+
es: 'Contrato de Arrendamiento'
|
|
29
|
+
},
|
|
30
|
+
observation: {
|
|
31
|
+
ptBR: 'Observação',
|
|
32
|
+
es: 'Observación'
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export const enums = {
|
|
37
|
+
status: {
|
|
38
|
+
'available': {
|
|
39
|
+
ptBR: 'Disponível',
|
|
40
|
+
es: 'Disponible'
|
|
41
|
+
},
|
|
42
|
+
'in_use': {
|
|
43
|
+
ptBR: 'Em uso',
|
|
44
|
+
es: 'En uso'
|
|
45
|
+
},
|
|
46
|
+
'inactive': {
|
|
47
|
+
ptBR: 'Inativo',
|
|
48
|
+
es: 'Inactivo'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|