sm-types 1.11.84 → 1.11.86

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.
@@ -107,6 +107,7 @@ export declare const APP_ERROR_CODES: {
107
107
  type: string;
108
108
  messageLangMap: {
109
109
  'PT-BR': string;
110
+ 'EN-US': string;
110
111
  };
111
112
  };
112
113
  CLIENT_NOT_FOUND: {
@@ -114,6 +115,7 @@ export declare const APP_ERROR_CODES: {
114
115
  type: string;
115
116
  messageLangMap: {
116
117
  'PT-BR': string;
118
+ 'EN-US': string;
117
119
  };
118
120
  };
119
121
  TRAVEL_NOT_FOUND: {
@@ -121,6 +123,7 @@ export declare const APP_ERROR_CODES: {
121
123
  type: string;
122
124
  messageLangMap: {
123
125
  'PT-BR': string;
126
+ 'EN-US': string;
124
127
  };
125
128
  };
126
129
  OFFER_NOT_FOUND: {
@@ -128,6 +131,7 @@ export declare const APP_ERROR_CODES: {
128
131
  type: string;
129
132
  messageLangMap: {
130
133
  'PT-BR': string;
134
+ 'EN-US': string;
131
135
  };
132
136
  };
133
137
  USER_NOT_BELONG_TO_CLIENT: {
@@ -135,6 +139,7 @@ export declare const APP_ERROR_CODES: {
135
139
  type: string;
136
140
  messageLangMap: {
137
141
  'PT-BR': string;
142
+ 'EN-US': string;
138
143
  };
139
144
  };
140
145
  CABIN_CLASS_NOT_ALLOWED: {
@@ -142,6 +147,7 @@ export declare const APP_ERROR_CODES: {
142
147
  type: string;
143
148
  messageLangMap: {
144
149
  'PT-BR': string;
150
+ 'EN-US': string;
145
151
  };
146
152
  };
147
153
  OFFER_IS_NOT_FLIGHT: {
@@ -149,6 +155,7 @@ export declare const APP_ERROR_CODES: {
149
155
  type: string;
150
156
  messageLangMap: {
151
157
  'PT-BR': string;
158
+ 'EN-US': string;
152
159
  };
153
160
  };
154
161
  SUPPLIER_UNSUPPORTED_CHANGE: {
@@ -156,6 +163,15 @@ export declare const APP_ERROR_CODES: {
156
163
  type: string;
157
164
  messageLangMap: {
158
165
  'PT-BR': string;
166
+ 'EN-US': string;
167
+ };
168
+ };
169
+ SUPPLIER_FOR_CHANGE_NOT_FOUND: {
170
+ usecase: string;
171
+ type: string;
172
+ messageLangMap: {
173
+ 'PT-BR': string;
174
+ 'EN-US': string;
159
175
  };
160
176
  };
161
177
  SUPPLIER_CONFIG_NOT_FOUND: {
@@ -163,6 +179,7 @@ export declare const APP_ERROR_CODES: {
163
179
  type: string;
164
180
  messageLangMap: {
165
181
  'PT-BR': string;
182
+ 'EN-US': string;
166
183
  };
167
184
  };
168
185
  EXIST_OPEN_REQUESTS: {
@@ -170,6 +187,7 @@ export declare const APP_ERROR_CODES: {
170
187
  type: string;
171
188
  messageLangMap: {
172
189
  'PT-BR': string;
190
+ 'EN-US': string;
173
191
  };
174
192
  };
175
193
  OFFER_IS_NOT_EMITTED: {
@@ -177,6 +195,7 @@ export declare const APP_ERROR_CODES: {
177
195
  type: string;
178
196
  messageLangMap: {
179
197
  'PT-BR': string;
198
+ 'EN-US': string;
180
199
  };
181
200
  };
182
201
  };
@@ -4,6 +4,7 @@ export declare const CREATE_FLIGHT_CHANGE: {
4
4
  type: string;
5
5
  messageLangMap: {
6
6
  'PT-BR': string;
7
+ 'EN-US': string;
7
8
  };
8
9
  };
9
10
  CLIENT_NOT_FOUND: {
@@ -11,6 +12,7 @@ export declare const CREATE_FLIGHT_CHANGE: {
11
12
  type: string;
12
13
  messageLangMap: {
13
14
  'PT-BR': string;
15
+ 'EN-US': string;
14
16
  };
15
17
  };
16
18
  TRAVEL_NOT_FOUND: {
@@ -18,6 +20,7 @@ export declare const CREATE_FLIGHT_CHANGE: {
18
20
  type: string;
19
21
  messageLangMap: {
20
22
  'PT-BR': string;
23
+ 'EN-US': string;
21
24
  };
22
25
  };
23
26
  OFFER_NOT_FOUND: {
@@ -25,6 +28,7 @@ export declare const CREATE_FLIGHT_CHANGE: {
25
28
  type: string;
26
29
  messageLangMap: {
27
30
  'PT-BR': string;
31
+ 'EN-US': string;
28
32
  };
29
33
  };
30
34
  USER_NOT_BELONG_TO_CLIENT: {
@@ -32,6 +36,7 @@ export declare const CREATE_FLIGHT_CHANGE: {
32
36
  type: string;
33
37
  messageLangMap: {
34
38
  'PT-BR': string;
39
+ 'EN-US': string;
35
40
  };
36
41
  };
37
42
  CABIN_CLASS_NOT_ALLOWED: {
@@ -39,6 +44,7 @@ export declare const CREATE_FLIGHT_CHANGE: {
39
44
  type: string;
40
45
  messageLangMap: {
41
46
  'PT-BR': string;
47
+ 'EN-US': string;
42
48
  };
43
49
  };
44
50
  OFFER_IS_NOT_FLIGHT: {
@@ -46,6 +52,7 @@ export declare const CREATE_FLIGHT_CHANGE: {
46
52
  type: string;
47
53
  messageLangMap: {
48
54
  'PT-BR': string;
55
+ 'EN-US': string;
49
56
  };
50
57
  };
51
58
  SUPPLIER_UNSUPPORTED_CHANGE: {
@@ -53,6 +60,15 @@ export declare const CREATE_FLIGHT_CHANGE: {
53
60
  type: string;
54
61
  messageLangMap: {
55
62
  'PT-BR': string;
63
+ 'EN-US': string;
64
+ };
65
+ };
66
+ SUPPLIER_FOR_CHANGE_NOT_FOUND: {
67
+ usecase: string;
68
+ type: string;
69
+ messageLangMap: {
70
+ 'PT-BR': string;
71
+ 'EN-US': string;
56
72
  };
57
73
  };
58
74
  SUPPLIER_CONFIG_NOT_FOUND: {
@@ -60,6 +76,7 @@ export declare const CREATE_FLIGHT_CHANGE: {
60
76
  type: string;
61
77
  messageLangMap: {
62
78
  'PT-BR': string;
79
+ 'EN-US': string;
63
80
  };
64
81
  };
65
82
  EXIST_OPEN_REQUESTS: {
@@ -67,6 +84,7 @@ export declare const CREATE_FLIGHT_CHANGE: {
67
84
  type: string;
68
85
  messageLangMap: {
69
86
  'PT-BR': string;
87
+ 'EN-US': string;
70
88
  };
71
89
  };
72
90
  OFFER_IS_NOT_EMITTED: {
@@ -74,6 +92,7 @@ export declare const CREATE_FLIGHT_CHANGE: {
74
92
  type: string;
75
93
  messageLangMap: {
76
94
  'PT-BR': string;
95
+ 'EN-US': string;
77
96
  };
78
97
  };
79
98
  };
@@ -7,6 +7,7 @@ exports.CREATE_FLIGHT_CHANGE = {
7
7
  type: 'USER_NOT_FOUND',
8
8
  messageLangMap: {
9
9
  'PT-BR': 'Usuário não encontrado.',
10
+ 'EN-US': 'User not found.',
10
11
  },
11
12
  },
12
13
  CLIENT_NOT_FOUND: {
@@ -14,6 +15,7 @@ exports.CREATE_FLIGHT_CHANGE = {
14
15
  type: 'CLIENT_NOT_FOUND',
15
16
  messageLangMap: {
16
17
  'PT-BR': 'Cliente não encontrado.',
18
+ 'EN-US': 'Client not found.',
17
19
  },
18
20
  },
19
21
  TRAVEL_NOT_FOUND: {
@@ -21,6 +23,7 @@ exports.CREATE_FLIGHT_CHANGE = {
21
23
  type: 'TRAVEL_NOT_FOUND',
22
24
  messageLangMap: {
23
25
  'PT-BR': 'Viagem não encontrado.',
26
+ 'EN-US': 'Travel not found.',
24
27
  },
25
28
  },
26
29
  OFFER_NOT_FOUND: {
@@ -28,6 +31,7 @@ exports.CREATE_FLIGHT_CHANGE = {
28
31
  type: 'OFFER_NOT_FOUND',
29
32
  messageLangMap: {
30
33
  'PT-BR': 'A oferta original não encontrada.',
34
+ 'EN-US': 'Original offer not found.',
31
35
  },
32
36
  },
33
37
  USER_NOT_BELONG_TO_CLIENT: {
@@ -35,6 +39,7 @@ exports.CREATE_FLIGHT_CHANGE = {
35
39
  type: 'USER_NOT_BELONG_TO_CLIENT',
36
40
  messageLangMap: {
37
41
  'PT-BR': 'O usuário logado não é válido.',
42
+ 'EN-US': 'Logged user is not valid.',
38
43
  },
39
44
  },
40
45
  CABIN_CLASS_NOT_ALLOWED: {
@@ -42,6 +47,7 @@ exports.CREATE_FLIGHT_CHANGE = {
42
47
  type: 'CABIN_CLASS_NOT_ALLOWED',
43
48
  messageLangMap: {
44
49
  'PT-BR': 'Opção de cabine não permitida.',
50
+ 'EN-US': 'Cabin class not allowed.',
45
51
  },
46
52
  },
47
53
  OFFER_IS_NOT_FLIGHT: {
@@ -49,6 +55,7 @@ exports.CREATE_FLIGHT_CHANGE = {
49
55
  type: 'OFFER_IS_NOT_FLIGHT',
50
56
  messageLangMap: {
51
57
  'PT-BR': 'A oferta não é do tipo aéreo.',
58
+ 'EN-US': 'The offer is not of the flight type.',
52
59
  },
53
60
  },
54
61
  SUPPLIER_UNSUPPORTED_CHANGE: {
@@ -56,6 +63,15 @@ exports.CREATE_FLIGHT_CHANGE = {
56
63
  type: 'SUPPLIER_UNSUPPORTED_CHANGE',
57
64
  messageLangMap: {
58
65
  'PT-BR': 'O fornecedor não suporta alterações nas ofertas.',
66
+ 'EN-US': 'The supplier does not support changes in offers.',
67
+ },
68
+ },
69
+ SUPPLIER_FOR_CHANGE_NOT_FOUND: {
70
+ usecase: 'CREATE_FLIGHT_CHANGE',
71
+ type: 'SUPPLIER_FOR_CHANGE_NOT_FOUND',
72
+ messageLangMap: {
73
+ 'PT-BR': 'Fornecedor para alteração não encontrado.',
74
+ 'EN-US': 'Supplier for change not found.',
59
75
  },
60
76
  },
61
77
  SUPPLIER_CONFIG_NOT_FOUND: {
@@ -63,6 +79,7 @@ exports.CREATE_FLIGHT_CHANGE = {
63
79
  type: 'SUPPLIER_CONFIG_NOT_FOUND',
64
80
  messageLangMap: {
65
81
  'PT-BR': 'Configuração do fornecedor não encontrada.',
82
+ 'EN-US': 'Supplier configuration not found.',
66
83
  },
67
84
  },
68
85
  EXIST_OPEN_REQUESTS: {
@@ -70,6 +87,7 @@ exports.CREATE_FLIGHT_CHANGE = {
70
87
  type: 'EXIST_OPEN_REQUESTS',
71
88
  messageLangMap: {
72
89
  'PT-BR': 'Apenas uma solicitação é permitida por oferta.',
90
+ 'EN-US': 'Only one request is allowed per offer.',
73
91
  },
74
92
  },
75
93
  OFFER_IS_NOT_EMITTED: {
@@ -77,6 +95,7 @@ exports.CREATE_FLIGHT_CHANGE = {
77
95
  type: 'OFFER_IS_NOT_EMITTED',
78
96
  messageLangMap: {
79
97
  'PT-BR': 'Não é possível solicitar modificações em ofertas não emitidas.',
98
+ 'EN-US': 'It is not possible to request modifications in unemitted offers.',
80
99
  },
81
100
  },
82
101
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Smartrips",
4
4
  "license": "ISC",
5
5
  "keywords": [],
6
- "version": "1.11.84",
6
+ "version": "1.11.86",
7
7
  "description": "",
8
8
  "repository": {
9
9
  "type": "git",
@@ -158,6 +158,7 @@ export interface ListOffersResponse {
158
158
  totalAgenciesIncluded: number;
159
159
  }>;
160
160
  errorTypes: IErrorType[];
161
+ searchToken: string;
161
162
  expirationTime: Date;
162
163
  }
163
164
  export interface ListOffersResponseData {