sm-types 1.11.78 → 1.11.80
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/errors/web-app/index.js
CHANGED
|
@@ -27,6 +27,7 @@ var listHotelRooms_1 = require("./use-cases/listHotelRooms");
|
|
|
27
27
|
var listCarOptions_1 = require("./use-cases/listCarOptions");
|
|
28
28
|
var listBusOptions_1 = require("./use-cases/listBusOptions");
|
|
29
29
|
var orderItem_1 = require("./use-cases/orderItem");
|
|
30
|
+
var getSolicitation_1 = require("./use-cases/getSolicitation");
|
|
30
31
|
exports.APP_ERROR_CODES = {
|
|
31
32
|
ACTIVATE_APPROVER_REPLACEMENT: activateApproverReplacement_1.ACTIVATE_APPROVER_REPLACEMENT,
|
|
32
33
|
CREATE_APPROVER_REPLACEMENT: createApproverReplacement_1.CREATE_APPROVER_REPLACEMENT,
|
|
@@ -54,4 +55,5 @@ exports.APP_ERROR_CODES = {
|
|
|
54
55
|
LIST_HOTELS_ROOMS: listHotelRooms_1.LIST_HOTELS_ROOMS,
|
|
55
56
|
LIST_CAR_OPTIONS: listCarOptions_1.LIST_CAR_OPTIONS,
|
|
56
57
|
LIST_BUS_OPTIONS: listBusOptions_1.LIST_BUS_OPTIONS,
|
|
58
|
+
GET_SOLICITATION: getSolicitation_1.GET_SOLICITATION,
|
|
57
59
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GET_SOLICITATION = void 0;
|
|
4
|
+
exports.GET_SOLICITATION = {
|
|
5
|
+
ACTOR_NOT_ALLOWED: {
|
|
6
|
+
usecase: "GET_SOLICITATION",
|
|
7
|
+
type: "ACTOR_NOT_ALLOWED",
|
|
8
|
+
messageLangMap: {
|
|
9
|
+
"PT-BR": "Você não tem permossão para acessar esta solicitação. Apenas o viajantes, solicitante e usuários com permissão podem acessar.",
|
|
10
|
+
"EN-US": "You are not allowed to access this solicitation. Only travelers, bookers and users with permission can access.",
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
};
|