sm-types 1.11.99 → 1.11.100

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.
@@ -597,6 +597,14 @@ export declare const APP_ERROR_CODES: {
597
597
  "EN-US": string;
598
598
  };
599
599
  };
600
+ COUNTRY_BLOCKED: {
601
+ usecase: string;
602
+ type: string;
603
+ messageLangMap: {
604
+ "PT-BR": string;
605
+ "EN-US": string;
606
+ };
607
+ };
600
608
  };
601
609
  RECALCULATE_FLIGHT_CHANGES: {
602
610
  USER_NOT_FOUND: {
@@ -649,6 +657,16 @@ export declare const APP_ERROR_CODES: {
649
657
  };
650
658
  };
651
659
  };
660
+ REQUEST_ITEM_APPROVAL: {
661
+ COUNTRY_BLOCKED: {
662
+ usecase: string;
663
+ type: string;
664
+ messageLangMap: {
665
+ "PT-BR": string;
666
+ "EN-US": string;
667
+ };
668
+ };
669
+ };
652
670
  REQUEST_FLIGHT_CHANGE: {
653
671
  USER_NOT_FOUND: {
654
672
  usecase: string;
@@ -17,6 +17,7 @@ var listFlightJourneyOptions_1 = require("./use-cases/flightChange/listFlightJou
17
17
  var listRepaceableApprovers_1 = require("./use-cases/approval/approver-replacement/listRepaceableApprovers");
18
18
  var orderTravel_1 = require("./use-cases/orderTravel");
19
19
  var recalculateFlightChanges_1 = require("./use-cases/flightChange/recalculateFlightChanges");
20
+ var requestItemApproval_1 = require("./use-cases/requestItemApproval");
20
21
  var requestFlightChanges_1 = require("./use-cases/flightChange/requestFlightChanges");
21
22
  var selectFlightChangeOptions_1 = require("./use-cases/flightChange/selectFlightChangeOptions");
22
23
  var shutDownApproverReplacement_1 = require("./use-cases/approval/approver-replacement/shutDownApproverReplacement");
@@ -48,6 +49,7 @@ exports.APP_ERROR_CODES = {
48
49
  ORDER_TRAVEL: orderTravel_1.ORDER_TRAVEL,
49
50
  ORDER_ITEM: orderItem_1.ORDER_ITEM,
50
51
  RECALCULATE_FLIGHT_CHANGES: recalculateFlightChanges_1.RECALCULATE_FLIGHT_CHANGES,
52
+ REQUEST_ITEM_APPROVAL: requestItemApproval_1.REQUEST_ITEM_APPROVAL,
51
53
  REQUEST_FLIGHT_CHANGE: requestFlightChanges_1.REQUEST_FLIGHT_CHANGE,
52
54
  SELECT_FLIGHT_CHANGE_OPTIONS: selectFlightChangeOptions_1.SELECT_FLIGHT_CHANGE_OPTIONS,
53
55
  SHUT_DOWN_APPROVER_REPLACEMENT: shutDownApproverReplacement_1.SHUT_DOWN_APPROVER_REPLACEMENT,
@@ -55,4 +55,12 @@ export declare const ORDER_ITEM: {
55
55
  "EN-US": string;
56
56
  };
57
57
  };
58
+ COUNTRY_BLOCKED: {
59
+ usecase: string;
60
+ type: string;
61
+ messageLangMap: {
62
+ "PT-BR": string;
63
+ "EN-US": string;
64
+ };
65
+ };
58
66
  };
@@ -58,4 +58,12 @@ exports.ORDER_ITEM = {
58
58
  "EN-US": "The order has invalid credits.",
59
59
  },
60
60
  },
61
+ COUNTRY_BLOCKED: {
62
+ usecase: "ORDER_ITEM",
63
+ type: "COUNTRY_BLOCKED",
64
+ messageLangMap: {
65
+ "PT-BR": "A emissão da oferta não pode prosseguir, pois um dos países relacionados aos trechos da oferta está bloqueado nas configurações de conta do cliente.",
66
+ "EN-US": "The offer issuance cannot proceed because one of the countries related to the offer segments is blocked in the client's account settings.",
67
+ },
68
+ },
61
69
  };
@@ -0,0 +1,10 @@
1
+ export declare const REQUEST_ITEM_APPROVAL: {
2
+ COUNTRY_BLOCKED: {
3
+ usecase: string;
4
+ type: string;
5
+ messageLangMap: {
6
+ "PT-BR": string;
7
+ "EN-US": string;
8
+ };
9
+ };
10
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.REQUEST_ITEM_APPROVAL = void 0;
4
+ exports.REQUEST_ITEM_APPROVAL = {
5
+ COUNTRY_BLOCKED: {
6
+ usecase: "REQUEST_ITEM_APPROVAL",
7
+ type: "COUNTRY_BLOCKED",
8
+ messageLangMap: {
9
+ "PT-BR": "A solicitação de aprovação da oferta não pode prosseguir, pois um dos países relacionados aos trechos da oferta está bloqueado nas configurações de conta do cliente.",
10
+ "EN-US": "The offer approval request cannot proceed because one of the countries related to the offer segments is blocked in the client's account settings.",
11
+ },
12
+ },
13
+ };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Smartrips",
4
4
  "license": "ISC",
5
5
  "keywords": [],
6
- "version": "1.11.99",
6
+ "version": "1.11.100",
7
7
  "description": "",
8
8
  "repository": {
9
9
  "type": "git",