sm-types 1.11.87 → 1.11.89

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.
@@ -915,6 +915,22 @@ export declare const APP_ERROR_CODES: {
915
915
  "EN-US": string;
916
916
  };
917
917
  };
918
+ SUPPLIER_ERROR: {
919
+ usecase: string;
920
+ type: string;
921
+ messageLangMap: {
922
+ "PT-BR": string;
923
+ "EN-US": string;
924
+ };
925
+ };
926
+ INVALID_ACTOR: {
927
+ usecase: string;
928
+ type: string;
929
+ messageLangMap: {
930
+ "PT-BR": string;
931
+ "EN-US": string;
932
+ };
933
+ };
918
934
  };
919
935
  GET_SOLICITATION: {
920
936
  ACTOR_NOT_ALLOWED: {
@@ -926,4 +942,46 @@ export declare const APP_ERROR_CODES: {
926
942
  };
927
943
  };
928
944
  };
945
+ UPDATE_APPROVAL_FLOW: {
946
+ NOT_ALLOWED: {
947
+ usecase: string;
948
+ type: string;
949
+ messageLangMap: {
950
+ 'PT-BR': string;
951
+ 'EN-US': string;
952
+ };
953
+ };
954
+ NO_RULES: {
955
+ usecase: string;
956
+ type: string;
957
+ messageLangMap: {
958
+ 'PT-BR': string;
959
+ 'EN-US': string;
960
+ };
961
+ };
962
+ UPDATE_NAME_NOT_ALLOWED: {
963
+ usecase: string;
964
+ type: string;
965
+ messageLangMap: {
966
+ 'PT-BR': string;
967
+ 'EN-US': string;
968
+ };
969
+ };
970
+ UPDATE_TARGET_TYPE_NOT_ALLOWED: {
971
+ usecase: string;
972
+ type: string;
973
+ messageLangMap: {
974
+ 'PT-BR': string;
975
+ 'EN-US': string;
976
+ };
977
+ };
978
+ SINGLE_APPROVER_MUST_BE_PRESENT: {
979
+ usecase: string;
980
+ type: string;
981
+ messageLangMap: {
982
+ 'PT-BR': string;
983
+ 'EN-US': string;
984
+ };
985
+ };
986
+ };
929
987
  };
@@ -28,6 +28,7 @@ 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
30
  var getSolicitation_1 = require("./use-cases/getSolicitation");
31
+ var updateApprovalFlow_1 = require("./use-cases/updateApprovalFlow/updateApprovalFlow");
31
32
  exports.APP_ERROR_CODES = {
32
33
  ACTIVATE_APPROVER_REPLACEMENT: activateApproverReplacement_1.ACTIVATE_APPROVER_REPLACEMENT,
33
34
  CREATE_APPROVER_REPLACEMENT: createApproverReplacement_1.CREATE_APPROVER_REPLACEMENT,
@@ -56,4 +57,5 @@ exports.APP_ERROR_CODES = {
56
57
  LIST_CAR_OPTIONS: listCarOptions_1.LIST_CAR_OPTIONS,
57
58
  LIST_BUS_OPTIONS: listBusOptions_1.LIST_BUS_OPTIONS,
58
59
  GET_SOLICITATION: getSolicitation_1.GET_SOLICITATION,
60
+ UPDATE_APPROVAL_FLOW: updateApprovalFlow_1.UPDATE_APPROVAL_FLOW
59
61
  };
@@ -7,4 +7,20 @@ export declare const LIST_BUS_OPTIONS: {
7
7
  "EN-US": string;
8
8
  };
9
9
  };
10
+ SUPPLIER_ERROR: {
11
+ usecase: string;
12
+ type: string;
13
+ messageLangMap: {
14
+ "PT-BR": string;
15
+ "EN-US": string;
16
+ };
17
+ };
18
+ INVALID_ACTOR: {
19
+ usecase: string;
20
+ type: string;
21
+ messageLangMap: {
22
+ "PT-BR": string;
23
+ "EN-US": string;
24
+ };
25
+ };
10
26
  };
@@ -10,4 +10,20 @@ exports.LIST_BUS_OPTIONS = {
10
10
  "EN-US": "Oops, it looks like you don’t have any supplier configured for the search you performed. Please contact us via chat so we can help you.",
11
11
  },
12
12
  },
13
+ SUPPLIER_ERROR: {
14
+ usecase: "LIST_BUS_OPTIONS",
15
+ type: "SUPPLIER_ERROR",
16
+ messageLangMap: {
17
+ "PT-BR": "Ops, parece que nossos fornecedores estão indisponíveis no momento. Tente novamente mais tarde ou entre em contato pelo chat, para que possamos ajudá-lo.",
18
+ "EN-US": "Oops, it looks like our suppliers are unavailable at the moment. Please try again later or contact us via chat so we can help you.",
19
+ },
20
+ },
21
+ INVALID_ACTOR: {
22
+ usecase: "LIST_BUS_OPTIONS",
23
+ type: "INVALID_ACTOR",
24
+ messageLangMap: {
25
+ "PT-BR": "O usuário logado não é válido para realizar a busca de ofertas de ônibus.",
26
+ "EN-US": "The logged user is not valid to search for bus offers.",
27
+ },
28
+ },
13
29
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Smartrips",
4
4
  "license": "ISC",
5
5
  "keywords": [],
6
- "version": "1.11.87",
6
+ "version": "1.11.89",
7
7
  "description": "",
8
8
  "repository": {
9
9
  "type": "git",