sm-types 1.9.13 → 1.9.15

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Smartrips",
4
4
  "license": "ISC",
5
5
  "keywords": [],
6
- "version": "1.9.13",
6
+ "version": "1.9.15",
7
7
  "description": "",
8
8
  "repository": {
9
9
  "type": "git",
@@ -1,4 +1,4 @@
1
- import { RentabilityTypeEnum, SuppliersEnum, CredentialTypeEnum } from "../../common";
1
+ import { RentabilityTypeEnum, CredentialTypeEnum } from "../../common";
2
2
  import { IAzulCredentials } from "../../sm-azul";
3
3
  import { IPaxInfo, IPassengerInfo, IContactInfo, IRoute, IOrderOptions, IWcfCredentials, ITTravelCredentialItem } from "../index";
4
4
  export interface IRentabilityOptions {
@@ -6,18 +6,12 @@ export interface IRentabilityOptions {
6
6
  value: number;
7
7
  }
8
8
  export interface IListOffersReqDto {
9
- international: boolean;
10
9
  cabinClass: string;
11
- promoCode: string;
12
- airlinesCode: string;
13
- customerCode?: string;
14
- suppliers?: {
15
- code: SuppliersEnum;
16
- compareToAgencyDeals: boolean;
17
- ciasToIgnore?: string[];
18
- rentability?: IRentabilityOptions;
10
+ customerCode: string;
11
+ suppliers: {
12
+ code: string;
13
+ promoCode: string;
19
14
  }[];
20
- rentability?: IRentabilityOptions;
21
15
  paxInfo: IPaxInfo;
22
16
  routes: IRoute[];
23
17
  config: {
@@ -26,7 +20,7 @@ export interface IListOffersReqDto {
26
20
  };
27
21
  }
28
22
  export interface IAddOfferReqDto {
29
- supplier: SuppliersEnum;
23
+ supplier: string;
30
24
  searchId: string;
31
25
  itineraryId: string;
32
26
  fareId: string;
@@ -1,4 +1,4 @@
1
- import { IListOffersFiltersInfo, ISmAzulOffer, ISmWcfOffer, IPriceDetails, ISuppliers, IWcfCredentials, ITTravelCredentialItem } from "../index";
1
+ import { IListOffersFiltersInfo, ISmAzulOffer, ISmWcfOffer, IPriceDetails, IWcfCredentials, ITTravelCredentialItem } from "../index";
2
2
  import { CredentialTypeEnum } from "../../common";
3
3
  import { IAzulCredentials } from "../../sm-azul";
4
4
  export interface IListOffersResDto {
@@ -57,7 +57,7 @@ export interface IBuyOfferResDto {
57
57
  emittedAt: Date;
58
58
  }
59
59
  export interface ICancelOfferResDto {
60
- supplier: ISuppliers;
60
+ supplier: string;
61
61
  recordLocator: string;
62
62
  costToCancel?: number;
63
63
  refundedValue?: number;
@@ -291,7 +291,7 @@ export interface IReservationData {
291
291
  passengersInfo: IPassengerInfo[];
292
292
  }
293
293
  export interface IOfferCancelationInfo {
294
- supplier: ISuppliers;
294
+ supplier: string;
295
295
  recordLocator: string;
296
296
  costToCancel?: number;
297
297
  refundedValue?: number;