sm-types 1.5.7 → 1.5.9

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.
@@ -0,0 +1,5 @@
1
+ export declare enum TravelCustomFieldEnum {
2
+ TRIP_PURPOSE = "TRIP_PURPOSE",
3
+ HOTEL_PURPOSE = "HOTEL_PURPOSE",
4
+ FLIGHT_PURPOSE = "FLIGHT_PURPOSE"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TravelCustomFieldEnum = void 0;
4
+ var TravelCustomFieldEnum;
5
+ (function (TravelCustomFieldEnum) {
6
+ TravelCustomFieldEnum["TRIP_PURPOSE"] = "TRIP_PURPOSE";
7
+ TravelCustomFieldEnum["HOTEL_PURPOSE"] = "HOTEL_PURPOSE";
8
+ TravelCustomFieldEnum["FLIGHT_PURPOSE"] = "FLIGHT_PURPOSE";
9
+ })(TravelCustomFieldEnum = exports.TravelCustomFieldEnum || (exports.TravelCustomFieldEnum = {}));
package/common/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as SharedTypes from './shared';
2
+ export * from './enums';
2
3
  export interface IPaymentMethod {
3
4
  holderName?: string;
4
5
  number?: string;
package/common/index.js CHANGED
@@ -1,2 +1,13 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
2
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./enums"), exports);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Smartrips",
4
4
  "license": "ISC",
5
5
  "keywords": [],
6
- "version": "1.5.7",
6
+ "version": "1.5.9",
7
7
  "description": "",
8
8
  "repository": {
9
9
  "type": "git",
@@ -254,6 +254,7 @@ export interface ISmWcfSegment {
254
254
  durationHours: string;
255
255
  origin: ISmWcfStation;
256
256
  destination: ISmWcfStation;
257
+ seller?: ISmWcfCarrier;
257
258
  carrier: ISmWcfCarrier;
258
259
  family: string;
259
260
  familyCode: string;