@pax2pay/client 0.0.57 → 0.0.58

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/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { Client } from "./Client";
2
- import { AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FundingAccountInboundTransferNotificationConfig, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, InsertCardOptionRequest, InsertCardRequest, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest } from "./model";
3
- export { Client, AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FundingAccountInboundTransferNotificationConfig, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, InsertCardOptionRequest, InsertCardRequest, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderResponse, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, ProviderCode, };
2
+ import { AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FundingAccountInboundTransferNotificationConfig, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, InsertCardOptionRequest, InsertCardRequest, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest } from "./model";
3
+ export { Client, AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FundingAccountInboundTransferNotificationConfig, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, InsertCardOptionRequest, InsertCardRequest, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, ProviderCode, };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAsCN,eAAe,EACf,aAAa,EAYb,KAAK,EAGL,aAAa,EAEb,gCAAgC,EAGhC,oBAAoB,EAoCpB,YAAY,GAGZ,MAAM,SAAS,CAAA;AAEhB,OAAO,EACN,MAAM,EAsCN,eAAe,EACf,aAAa,EAYb,KAAK,EAGL,aAAa,EAEb,gCAAgC,EAGhC,oBAAoB,EAmCpB,YAAY,GAIZ,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAsCN,eAAe,EACf,aAAa,EAYb,KAAK,EAGL,aAAa,EAEb,gCAAgC,EAGhC,oBAAoB,EAsCpB,YAAY,GAGZ,MAAM,SAAS,CAAA;AAEhB,OAAO,EACN,MAAM,EAsCN,eAAe,EACf,aAAa,EAYb,KAAK,EAGL,aAAa,EAEb,gCAAgC,EAGhC,oBAAoB,EAqCpB,YAAY,GAIZ,CAAA"}
@@ -1,4 +1,6 @@
1
1
  import * as isoly from "isoly";
2
+ import { Passengers } from "./Passengers";
3
+ import { References } from "./References";
2
4
  export interface FlightBookingInfoRequest {
3
5
  passengers?: Passengers;
4
6
  flight?: FlightInfo;
@@ -7,12 +9,6 @@ export interface FlightBookingInfoRequest {
7
9
  currency?: isoly.Currency;
8
10
  timestamp?: isoly.DateTime;
9
11
  }
10
- interface Passengers {
11
- leadPassengerName?: string;
12
- adults?: number;
13
- children?: number;
14
- infants?: number;
15
- }
16
12
  interface FlightInfo {
17
13
  outbound?: Segment;
18
14
  homebound?: Segment;
@@ -22,12 +18,4 @@ interface Segment {
22
18
  to?: string;
23
19
  date?: isoly.Date;
24
20
  }
25
- declare class References {
26
- supplierCode?: string;
27
- supplierName?: string;
28
- supplierBookingReference?: string;
29
- agentBookingReference?: string;
30
- fabBasketReference?: string;
31
- syndicatorName?: string;
32
- }
33
21
  export {};
@@ -1,4 +1,2 @@
1
- class References {
2
- }
3
1
  export {};
4
2
  //# sourceMappingURL=FlightBookingInfoRequest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FlightBookingInfoRequest.js","sourceRoot":"../","sources":["model/FlightBookingInfoRequest.ts"],"names":[],"mappings":"AAyBA,MAAM,UAAU;CAOf"}
1
+ {"version":3,"file":"FlightBookingInfoRequest.js","sourceRoot":"../","sources":["model/FlightBookingInfoRequest.ts"],"names":[],"mappings":""}
@@ -1,7 +1,23 @@
1
1
  import * as isoly from "isoly";
2
+ import { Passengers } from "./Passengers";
3
+ import { References } from "./References";
2
4
  export interface HotelBookingInfoRequest {
3
- leadPassengerName?: string;
5
+ hotel?: HotelInfo;
6
+ references?: References;
7
+ passengers?: Passengers;
8
+ cost?: number;
9
+ currency?: isoly.Currency;
10
+ timestamp?: isoly.DateTime;
11
+ }
12
+ interface HotelInfo {
4
13
  checkIn?: isoly.Date;
5
- supplierBookingReference?: string;
6
- agentBookingReference?: string;
14
+ checkOut?: isoly.Date;
15
+ hotelName?: string;
16
+ rooms?: Room[];
17
+ }
18
+ interface Room {
19
+ name?: string;
20
+ board?: Board;
7
21
  }
22
+ declare type Board = "AI" | "FB" | "HB" | "BB" | "SC" | "RO";
23
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface Passengers {
2
+ leadPassengerName?: string;
3
+ adults?: number;
4
+ children?: number;
5
+ infants?: number;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Passengers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Passengers.js","sourceRoot":"../","sources":["model/Passengers.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface References {
2
+ supplierCode?: string;
3
+ supplierName?: string;
4
+ supplierBookingReference?: string;
5
+ agentBookingReference?: string;
6
+ fabBasketReference?: string;
7
+ syndicatorName?: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=References.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"References.js","sourceRoot":"../","sources":["model/References.ts"],"names":[],"mappings":""}
@@ -57,6 +57,7 @@ import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResp
57
57
  import { OrganisationConfig } from "./OrganisationConfig";
58
58
  import { OrganisationRequest } from "./OrganisationRequest";
59
59
  import { OrganisationResponse } from "./OrganisationResponse";
60
+ import { Passengers } from "./Passengers";
60
61
  import { PasswordChangeRequest } from "./PasswordChangeRequest";
61
62
  import { PasswordValidateRequest } from "./PasswordValidateRequest";
62
63
  import { PasswordValidateResponse } from "./PasswordValidateResponse";
@@ -66,6 +67,7 @@ import { PaymentOption } from "./PaymentOption";
66
67
  import { ProcessedStatement } from "./ProcessedStatement";
67
68
  import { ProviderCode } from "./ProviderCode";
68
69
  import { ProviderResponse } from "./ProviderResponse";
70
+ import { References } from "./References";
69
71
  import { RelogWithNewSessionDetailsRequest } from "./RelogWithNewSessionDetailsRequest";
70
72
  import { Report } from "./Report";
71
73
  import { RoleResponse } from "./RoleResponse";
@@ -95,4 +97,4 @@ import { UserRequest } from "./UserRequest";
95
97
  import { UserResponse } from "./UserResponse";
96
98
  import { UserRoleResponse } from "./UserRoleResponse";
97
99
  import { UserSearchRequest } from "./UserSearchRequest";
98
- export { AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FundingAccountInboundTransferNotificationConfig, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, InsertCardOptionRequest, InsertCardRequest, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderResponse, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, ProviderCode, };
100
+ export { AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FundingAccountInboundTransferNotificationConfig, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, InsertCardOptionRequest, InsertCardRequest, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, ProviderCode, };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AAqCA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAY/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AAGrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAoC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAI7C,OAAO,EAsCN,eAAe,EACf,aAAa,EAYb,KAAK,EAGL,aAAa,EAEb,gCAAgC,EAGhC,oBAAoB,EAmCpB,YAAY,GAIZ,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AAqCA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAY/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AAGrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAsC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAI7C,OAAO,EAsCN,eAAe,EACf,aAAa,EAYb,KAAK,EAGL,aAAa,EAEb,gCAAgC,EAGhC,oBAAoB,EAqCpB,YAAY,GAIZ,CAAA"}
package/index.ts CHANGED
@@ -59,6 +59,7 @@ import {
59
59
  OrganisationConfig,
60
60
  OrganisationRequest,
61
61
  OrganisationResponse,
62
+ Passengers,
62
63
  PasswordChangeRequest,
63
64
  PasswordValidateRequest,
64
65
  PasswordValidateResponse,
@@ -68,6 +69,7 @@ import {
68
69
  ProcessedStatement,
69
70
  ProviderCode,
70
71
  ProviderResponse,
72
+ References,
71
73
  RelogWithNewSessionDetailsRequest,
72
74
  Report,
73
75
  RoleResponse,
@@ -160,6 +162,7 @@ export {
160
162
  OrganisationConfig,
161
163
  OrganisationRequest,
162
164
  OrganisationResponse,
165
+ Passengers,
163
166
  PasswordChangeRequest,
164
167
  PasswordValidateRequest,
165
168
  PasswordValidateResponse,
@@ -168,6 +171,7 @@ export {
168
171
  PaymentOption,
169
172
  ProcessedStatement,
170
173
  ProviderResponse,
174
+ References,
171
175
  RelogWithNewSessionDetailsRequest,
172
176
  Report,
173
177
  RoleResponse,
@@ -1,4 +1,3 @@
1
- import { CardScheduleTaskType } from "./CardScheduleTaskType"
2
1
  import { ScheduledTaskRequest } from "./ScheduledTaskRequest"
3
2
 
4
3
  export interface CardAmendmentScheduledTaskRequest extends ScheduledTaskRequest {
@@ -1,4 +1,3 @@
1
- import { CardScheduleTaskType } from "./CardScheduleTaskType"
2
1
  import { CardStateChangeDesiredState } from "./CardStateChangeDesiredState"
3
2
  import { ScheduledTaskRequest } from "./ScheduledTaskRequest"
4
3
 
@@ -1,4 +1,6 @@
1
1
  import * as isoly from "isoly"
2
+ import { Passengers } from "./Passengers"
3
+ import { References } from "./References"
2
4
 
3
5
  export interface FlightBookingInfoRequest {
4
6
  passengers?: Passengers
@@ -8,12 +10,6 @@ export interface FlightBookingInfoRequest {
8
10
  currency?: isoly.Currency
9
11
  timestamp?: isoly.DateTime
10
12
  }
11
- interface Passengers {
12
- leadPassengerName?: string
13
- adults?: number
14
- children?: number
15
- infants?: number
16
- }
17
13
  interface FlightInfo {
18
14
  outbound?: Segment
19
15
  homebound?: Segment
@@ -23,11 +19,3 @@ interface Segment {
23
19
  to?: string
24
20
  date?: isoly.Date
25
21
  }
26
- class References {
27
- supplierCode?: string
28
- supplierName?: string
29
- supplierBookingReference?: string
30
- agentBookingReference?: string
31
- fabBasketReference?: string
32
- syndicatorName?: string
33
- }
@@ -1,8 +1,28 @@
1
1
  import * as isoly from "isoly"
2
+ import { Passengers } from "./Passengers"
3
+ import { References } from "./References"
2
4
 
3
5
  export interface HotelBookingInfoRequest {
4
- leadPassengerName?: string
6
+ hotel?: HotelInfo
7
+ references?: References
8
+ passengers?: Passengers
9
+ cost?: number
10
+ currency?: isoly.Currency
11
+ timestamp?: isoly.DateTime
12
+ }
13
+
14
+ interface HotelInfo {
5
15
  checkIn?: isoly.Date
6
- supplierBookingReference?: string
7
- agentBookingReference?: string
16
+ checkOut?: isoly.Date
17
+ hotelName?: string
18
+ rooms?: Room[]
19
+ }
20
+
21
+ interface Room {
22
+ name?: string
23
+ board?: Board
8
24
  }
25
+
26
+ type Board = "AI" | "FB" | "HB" | "BB" | "SC" | "RO"
27
+
28
+ //AI("All Inclusive"),FB("Full Board"),HB("Half Board"),BB("Bed & Breakfast"),SC("Self Catering"),RO("Room Only");
@@ -0,0 +1,6 @@
1
+ export interface Passengers {
2
+ leadPassengerName?: string
3
+ adults?: number
4
+ children?: number
5
+ infants?: number
6
+ }
@@ -0,0 +1,8 @@
1
+ export interface References {
2
+ supplierCode?: string
3
+ supplierName?: string
4
+ supplierBookingReference?: string
5
+ agentBookingReference?: string
6
+ fabBasketReference?: string
7
+ syndicatorName?: string
8
+ }
package/model/index.ts CHANGED
@@ -57,6 +57,7 @@ import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResp
57
57
  import { OrganisationConfig } from "./OrganisationConfig"
58
58
  import { OrganisationRequest } from "./OrganisationRequest"
59
59
  import { OrganisationResponse } from "./OrganisationResponse"
60
+ import { Passengers } from "./Passengers"
60
61
  import { PasswordChangeRequest } from "./PasswordChangeRequest"
61
62
  import { PasswordValidateRequest } from "./PasswordValidateRequest"
62
63
  import { PasswordValidateResponse } from "./PasswordValidateResponse"
@@ -66,6 +67,7 @@ import { PaymentOption } from "./PaymentOption"
66
67
  import { ProcessedStatement } from "./ProcessedStatement"
67
68
  import { ProviderCode } from "./ProviderCode"
68
69
  import { ProviderResponse } from "./ProviderResponse"
70
+ import { References } from "./References"
69
71
  import { RelogWithNewSessionDetailsRequest } from "./RelogWithNewSessionDetailsRequest"
70
72
  import { Report } from "./Report"
71
73
  import { RoleResponse } from "./RoleResponse"
@@ -156,6 +158,7 @@ export {
156
158
  OrganisationConfig,
157
159
  OrganisationRequest,
158
160
  OrganisationResponse,
161
+ Passengers,
159
162
  PasswordChangeRequest,
160
163
  PasswordValidateRequest,
161
164
  PasswordValidateResponse,
@@ -164,6 +167,7 @@ export {
164
167
  PaymentOption,
165
168
  ProcessedStatement,
166
169
  ProviderResponse,
170
+ References,
167
171
  RelogWithNewSessionDetailsRequest,
168
172
  Report,
169
173
  RoleResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.0.57",
3
+ "version": "0.0.58",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",