sm-types 1.11.29 → 1.11.31

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/common/enums.d.ts CHANGED
@@ -75,7 +75,8 @@ export declare enum ServiceType {
75
75
  RIDE = "ride",
76
76
  SMARTRIPS = "smartrips",
77
77
  INSURANCE = "insurance",
78
- RAIL = "rail"
78
+ RAIL = "rail",
79
+ TRANSFER = "transfer"
79
80
  }
80
81
  export declare enum OfferStatus {
81
82
  APPROVAL_DECLINED = "APPROVAL_DECLINED",
package/common/enums.js CHANGED
@@ -92,6 +92,7 @@ var ServiceType;
92
92
  ServiceType["SMARTRIPS"] = "smartrips";
93
93
  ServiceType["INSURANCE"] = "insurance";
94
94
  ServiceType["RAIL"] = "rail";
95
+ ServiceType["TRANSFER"] = "transfer";
95
96
  })(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
96
97
  var OfferStatus;
97
98
  (function (OfferStatus) {
@@ -337,21 +337,28 @@ export declare const APP_ERROR_CODES: {
337
337
  usecase: string;
338
338
  type: string;
339
339
  messageLangMap: {
340
- 'PT-BR': string;
340
+ "PT-BR": string;
341
341
  };
342
342
  };
343
343
  OFFER_NOT_FOUND: {
344
344
  usecase: string;
345
345
  type: string;
346
346
  messageLangMap: {
347
- 'PT-BR': string;
347
+ "PT-BR": string;
348
+ };
349
+ };
350
+ TRAVEL_NOT_FOUND: {
351
+ usecase: string;
352
+ type: string;
353
+ messageLangMap: {
354
+ "PT-BR": string;
348
355
  };
349
356
  };
350
357
  SUPPLIER_CONFIG_NOT_FOUND: {
351
358
  usecase: string;
352
359
  type: string;
353
360
  messageLangMap: {
354
- 'PT-BR': string;
361
+ "PT-BR": string;
355
362
  };
356
363
  };
357
364
  };
@@ -3,21 +3,28 @@ export declare const GET_PAYMENT_METHOD_FOR_OFFER_CHANGE: {
3
3
  usecase: string;
4
4
  type: string;
5
5
  messageLangMap: {
6
- 'PT-BR': string;
6
+ "PT-BR": string;
7
7
  };
8
8
  };
9
9
  OFFER_NOT_FOUND: {
10
10
  usecase: string;
11
11
  type: string;
12
12
  messageLangMap: {
13
- 'PT-BR': string;
13
+ "PT-BR": string;
14
+ };
15
+ };
16
+ TRAVEL_NOT_FOUND: {
17
+ usecase: string;
18
+ type: string;
19
+ messageLangMap: {
20
+ "PT-BR": string;
14
21
  };
15
22
  };
16
23
  SUPPLIER_CONFIG_NOT_FOUND: {
17
24
  usecase: string;
18
25
  type: string;
19
26
  messageLangMap: {
20
- 'PT-BR': string;
27
+ "PT-BR": string;
21
28
  };
22
29
  };
23
30
  };
@@ -3,24 +3,31 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GET_PAYMENT_METHOD_FOR_OFFER_CHANGE = void 0;
4
4
  exports.GET_PAYMENT_METHOD_FOR_OFFER_CHANGE = {
5
5
  USER_NOT_FOUND: {
6
- usecase: 'GET_PAYMENT_METHOD_FOR_OFFER_CHANGE',
7
- type: 'USER_NOT_FOUND',
6
+ usecase: "GET_PAYMENT_METHOD_FOR_OFFER_CHANGE",
7
+ type: "USER_NOT_FOUND",
8
8
  messageLangMap: {
9
- 'PT-BR': 'Usuário não encontrado.',
9
+ "PT-BR": "Usuário não encontrado.",
10
10
  },
11
11
  },
12
12
  OFFER_NOT_FOUND: {
13
- usecase: 'GET_PAYMENT_METHOD_FOR_OFFER_CHANGE',
14
- type: 'OFFER_NOT_FOUND',
13
+ usecase: "GET_PAYMENT_METHOD_FOR_OFFER_CHANGE",
14
+ type: "OFFER_NOT_FOUND",
15
15
  messageLangMap: {
16
- 'PT-BR': 'Oferta não encontrada.',
16
+ "PT-BR": "Oferta não encontrada.",
17
+ },
18
+ },
19
+ TRAVEL_NOT_FOUND: {
20
+ usecase: "GET_PAYMENT_METHOD_FOR_OFFER_CHANGE",
21
+ type: "TRAVEL_NOT_FOUND",
22
+ messageLangMap: {
23
+ "PT-BR": "Viagem não encontrada.",
17
24
  },
18
25
  },
19
26
  SUPPLIER_CONFIG_NOT_FOUND: {
20
- usecase: 'GET_PAYMENT_METHOD_FOR_OFFER_CHANGE',
21
- type: 'SUPPLIER_CONFIG_NOT_FOUND',
27
+ usecase: "GET_PAYMENT_METHOD_FOR_OFFER_CHANGE",
28
+ type: "SUPPLIER_CONFIG_NOT_FOUND",
22
29
  messageLangMap: {
23
- 'PT-BR': 'Configuração do fornecedor não encontrada.',
30
+ "PT-BR": "Configuração do fornecedor não encontrada.",
24
31
  },
25
32
  },
26
33
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Smartrips",
4
4
  "license": "ISC",
5
5
  "keywords": [],
6
- "version": "1.11.29",
6
+ "version": "1.11.31",
7
7
  "description": "",
8
8
  "repository": {
9
9
  "type": "git",