@pax2pay/client 0.0.93 → 0.0.94

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.
Files changed (87) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.js +2 -2
  3. package/dist/index.js.map +1 -1
  4. package/dist/model/AddressInfo.d.ts +3 -0
  5. package/dist/model/AddressInfo.js +12 -1
  6. package/dist/model/AddressInfo.js.map +1 -1
  7. package/dist/model/AmountPair.d.ts +3 -0
  8. package/dist/model/AmountPair.js +8 -1
  9. package/dist/model/AmountPair.js.map +1 -1
  10. package/dist/model/BeneficiaryResponse.d.ts +5 -1
  11. package/dist/model/BeneficiaryResponse.js +17 -1
  12. package/dist/model/BeneficiaryResponse.js.map +1 -1
  13. package/dist/model/BeneficiaryStatus.d.ts +6 -0
  14. package/dist/model/BeneficiaryStatus.js +9 -0
  15. package/dist/model/BeneficiaryStatus.js.map +1 -0
  16. package/dist/model/BillingTransactionAmountPair.d.ts +3 -0
  17. package/dist/model/BillingTransactionAmountPair.js +11 -1
  18. package/dist/model/BillingTransactionAmountPair.js.map +1 -1
  19. package/dist/model/BookingInfoResponse.d.ts +3 -0
  20. package/dist/model/BookingInfoResponse.js +16 -1
  21. package/dist/model/BookingInfoResponse.js.map +1 -1
  22. package/dist/model/FiveFieldsBookingInfoResponse.d.ts +3 -0
  23. package/dist/model/FiveFieldsBookingInfoResponse.js +15 -1
  24. package/dist/model/FiveFieldsBookingInfoResponse.js.map +1 -1
  25. package/dist/model/FlightBookingInfoResponse.d.ts +3 -0
  26. package/dist/model/FlightBookingInfoResponse.js +20 -1
  27. package/dist/model/FlightBookingInfoResponse.js.map +1 -1
  28. package/dist/model/FlightInfo.d.ts +3 -7
  29. package/dist/model/FlightInfo.js +10 -1
  30. package/dist/model/FlightInfo.js.map +1 -1
  31. package/dist/model/HotelBookingInfoResponse.d.ts +3 -0
  32. package/dist/model/HotelBookingInfoResponse.js +20 -1
  33. package/dist/model/HotelBookingInfoResponse.js.map +1 -1
  34. package/dist/model/InvoiceBookingInfoResponse.d.ts +3 -0
  35. package/dist/model/InvoiceBookingInfoResponse.js +17 -1
  36. package/dist/model/InvoiceBookingInfoResponse.js.map +1 -1
  37. package/dist/model/Segment.d.ts +10 -0
  38. package/dist/model/Segment.js +14 -0
  39. package/dist/model/Segment.js.map +1 -0
  40. package/dist/model/StatementReportRequest.d.ts +3 -1
  41. package/dist/model/StatementReportResponseRow.d.ts +5 -2
  42. package/dist/model/StatementReportResponseRow.js +26 -1
  43. package/dist/model/StatementReportResponseRow.js.map +1 -1
  44. package/dist/model/StatementReportRowType.d.ts +3 -0
  45. package/dist/model/StatementReportRowType.js +7 -1
  46. package/dist/model/StatementReportRowType.js.map +1 -1
  47. package/dist/model/StatementRowIds.d.ts +3 -0
  48. package/dist/model/StatementRowIds.js +12 -1
  49. package/dist/model/StatementRowIds.js.map +1 -1
  50. package/dist/model/SummaryBookingInfoResponse.d.ts +5 -2
  51. package/dist/model/SummaryBookingInfoResponse.js +12 -1
  52. package/dist/model/SummaryBookingInfoResponse.js.map +1 -1
  53. package/dist/model/TransferDestinationInfo.d.ts +5 -1
  54. package/dist/model/TransferDestinationInfo.js +16 -1
  55. package/dist/model/TransferDestinationInfo.js.map +1 -1
  56. package/dist/model/TransferResponse.d.ts +5 -1
  57. package/dist/model/TransferResponse.js +25 -1
  58. package/dist/model/TransferResponse.js.map +1 -1
  59. package/dist/model/TransferStatus.d.ts +6 -0
  60. package/dist/model/TransferStatus.js +20 -0
  61. package/dist/model/TransferStatus.js.map +1 -0
  62. package/dist/model/index.d.ts +4 -1
  63. package/dist/model/index.js +20 -1
  64. package/dist/model/index.js.map +1 -1
  65. package/index.ts +6 -0
  66. package/model/AddressInfo.ts +13 -0
  67. package/model/AmountPair.ts +6 -0
  68. package/model/BeneficiaryResponse.ts +18 -1
  69. package/model/BeneficiaryStatus.ts +9 -0
  70. package/model/BillingTransactionAmountPair.ts +10 -0
  71. package/model/BookingInfoResponse.ts +12 -0
  72. package/model/FiveFieldsBookingInfoResponse.ts +16 -0
  73. package/model/FlightBookingInfoResponse.ts +17 -0
  74. package/model/FlightInfo.ts +9 -6
  75. package/model/HotelBookingInfoResponse.ts +17 -0
  76. package/model/InvoiceBookingInfoResponse.ts +17 -0
  77. package/model/Segment.ts +21 -0
  78. package/model/StatementReportRequest.ts +3 -1
  79. package/model/StatementReportResponseRow.ts +21 -2
  80. package/model/StatementReportRowType.ts +6 -0
  81. package/model/StatementRowIds.ts +12 -0
  82. package/model/SummaryBookingInfoResponse.ts +15 -2
  83. package/model/TransferDestinationInfo.ts +17 -1
  84. package/model/TransferResponse.ts +23 -11
  85. package/model/TransferStatus.ts +20 -0
  86. package/model/index.ts +6 -0
  87. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { Client } from "./Client";
2
- import { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth } from "./model";
3
- export { Client, AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
2
+ import { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth } from "./model";
3
+ export { Client, AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { Client } from "./Client";
2
- import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelInfo, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, StatementReportRowActionType, UserResponse, YearMonth, } from "./model";
3
- export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelInfo, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, StatementReportRowActionType, UserResponse, YearMonth, };
2
+ import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, } from "./model";
3
+ export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, };
4
4
  //# sourceMappingURL=index.js.map
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,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EAYX,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAMb,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EAEvB,SAAS,EAKT,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAYV,4BAA4B,EAuB5B,YAAY,EAGZ,SAAS,GACT,MAAM,SAAS,CAAA;AAEhB,OAAO,EACN,MAAM,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EAYX,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAMb,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EAEvB,SAAS,EAKT,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAYV,4BAA4B,EAuB5B,YAAY,EAGZ,SAAS,GACT,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EAGX,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAI5B,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAEb,6BAA6B,EAE7B,yBAAyB,EACzB,UAAU,EACV,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAIT,0BAA0B,EAC1B,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAQV,OAAO,EAIP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAI1B,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EAad,YAAY,EAGZ,SAAS,GACT,MAAM,SAAS,CAAA;AAEhB,OAAO,EACN,MAAM,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EAGX,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAI5B,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAEb,6BAA6B,EAE7B,yBAAyB,EACzB,UAAU,EACV,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAIT,0BAA0B,EAC1B,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAQV,OAAO,EAIP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAI1B,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EAad,YAAY,EAGZ,SAAS,GACT,CAAA"}
@@ -5,3 +5,6 @@ export interface AddressInfo {
5
5
  postCode: string;
6
6
  postTown: string;
7
7
  }
8
+ export declare namespace AddressInfo {
9
+ function is(value: AddressInfo | any): value is AddressInfo;
10
+ }
@@ -1,2 +1,13 @@
1
- export {};
1
+ export var AddressInfo;
2
+ (function (AddressInfo) {
3
+ function is(value) {
4
+ return (typeof value == "object" &&
5
+ typeof value.addressLine1 == "string" &&
6
+ (value.addressLine2 == undefined || typeof value.addressLine2 == "string") &&
7
+ typeof value.country == "string" &&
8
+ typeof value.postCode == "string" &&
9
+ typeof value.postTown == "string");
10
+ }
11
+ AddressInfo.is = is;
12
+ })(AddressInfo || (AddressInfo = {}));
2
13
  //# sourceMappingURL=AddressInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddressInfo.js","sourceRoot":"../","sources":["model/AddressInfo.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"AddressInfo.js","sourceRoot":"../","sources":["model/AddressInfo.ts"],"names":[],"mappings":"AAWA,MAAM,KAAW,WAAW,CAW3B;AAXD,WAAiB,WAAW;IAC3B,SAAgB,EAAE,CAAC,KAAwB;QAC1C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ;YACrC,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,CAAC;YAC1E,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ;YAChC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ;YACjC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CACjC,CAAA;IACF,CAAC;IATe,cAAE,KASjB,CAAA;AACF,CAAC,EAXgB,WAAW,KAAX,WAAW,QAW3B"}
@@ -3,3 +3,6 @@ export interface AmountPair {
3
3
  amount: number;
4
4
  currency: isoly.Currency;
5
5
  }
6
+ export declare namespace AmountPair {
7
+ function is(value: AmountPair | any): value is AmountPair;
8
+ }
@@ -1,2 +1,9 @@
1
- export {};
1
+ import * as isoly from "isoly";
2
+ export var AmountPair;
3
+ (function (AmountPair) {
4
+ function is(value) {
5
+ return typeof value == "object" && typeof value.amount == "number" && isoly.Currency.is(value.currency);
6
+ }
7
+ AmountPair.is = is;
8
+ })(AmountPair || (AmountPair = {}));
2
9
  //# sourceMappingURL=AmountPair.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AmountPair.js","sourceRoot":"../","sources":["model/AmountPair.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"AmountPair.js","sourceRoot":"../","sources":["model/AmountPair.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAO9B,MAAM,KAAW,UAAU,CAI1B;AAJD,WAAiB,UAAU;IAC1B,SAAgB,EAAE,CAAC,KAAuB;QACzC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;IACxG,CAAC;IAFe,aAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,UAAU,KAAV,UAAU,QAI1B"}
@@ -1,11 +1,15 @@
1
+ import { BeneficiaryStatus } from "./BeneficiaryStatus";
1
2
  import { TransferDestinationInfo } from "./TransferDestinationInfo";
2
3
  export interface BeneficiaryResponse {
3
4
  transferDestination?: TransferDestinationInfo;
4
5
  defaultReference?: string;
5
- status?: "ACTIVE" | "DELETED" | "OUTDATED";
6
+ status?: BeneficiaryStatus;
6
7
  name?: string;
7
8
  fullName?: string;
8
9
  beneficiaryId?: string;
9
10
  createdOn?: string;
10
11
  history?: BeneficiaryResponse[];
11
12
  }
13
+ export declare namespace BeneficiaryResponse {
14
+ function is(value: BeneficiaryResponse | any): value is BeneficiaryResponse;
15
+ }
@@ -1,2 +1,18 @@
1
- export {};
1
+ import { BeneficiaryStatus } from "./BeneficiaryStatus";
2
+ import { TransferDestinationInfo } from "./TransferDestinationInfo";
3
+ export var BeneficiaryResponse;
4
+ (function (BeneficiaryResponse) {
5
+ function is(value) {
6
+ return (typeof value == "object" &&
7
+ (value.transferDestination == undefined || TransferDestinationInfo.is(value.transferDestination)) &&
8
+ (value.defaultReference == undefined || typeof value.defaultReference == "string") &&
9
+ (value.status == undefined || BeneficiaryStatus.is(value.status)) &&
10
+ (value.name == undefined || typeof value.name == "string") &&
11
+ (value.fullName == undefined || typeof value.fullName == "string") &&
12
+ (value.beneficiaryId == undefined || typeof value.beneficiaryId == "string") &&
13
+ (value.createdOn == undefined || typeof value.createdOn == "string") &&
14
+ (value.history == undefined || Array.isArray(value.history)));
15
+ }
16
+ BeneficiaryResponse.is = is;
17
+ })(BeneficiaryResponse || (BeneficiaryResponse = {}));
2
18
  //# sourceMappingURL=BeneficiaryResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BeneficiaryResponse.js","sourceRoot":"../","sources":["model/BeneficiaryResponse.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"BeneficiaryResponse.js","sourceRoot":"../","sources":["model/BeneficiaryResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAanE,MAAM,KAAW,mBAAmB,CAcnC;AAdD,WAAiB,mBAAmB;IACnC,SAAgB,EAAE,CAAC,KAAgC;QAClD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,mBAAmB,IAAI,SAAS,IAAI,uBAAuB,CAAC,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;YACjG,CAAC,KAAK,CAAC,gBAAgB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,gBAAgB,IAAI,QAAQ,CAAC;YAClF,CAAC,KAAK,CAAC,MAAM,IAAI,SAAS,IAAI,iBAAiB,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YACjE,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC;YAC1D,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CAAC;YAClE,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ,CAAC;YAC5E,CAAC,KAAK,CAAC,SAAS,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ,CAAC;YACpE,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAC5D,CAAA;IACF,CAAC;IAZe,sBAAE,KAYjB,CAAA;AACF,CAAC,EAdgB,mBAAmB,KAAnB,mBAAmB,QAcnC"}
@@ -0,0 +1,6 @@
1
+ declare const beneficiaryStatus: readonly ["ACTIVE", "DELETED", "OUTDATED"];
2
+ export declare type BeneficiaryStatus = typeof beneficiaryStatus[number];
3
+ export declare namespace BeneficiaryStatus {
4
+ function is(value: unknown): value is BeneficiaryStatus;
5
+ }
6
+ export {};
@@ -0,0 +1,9 @@
1
+ const beneficiaryStatus = ["ACTIVE", "DELETED", "OUTDATED"];
2
+ export var BeneficiaryStatus;
3
+ (function (BeneficiaryStatus) {
4
+ function is(value) {
5
+ return typeof value == "string" && beneficiaryStatus.includes(value);
6
+ }
7
+ BeneficiaryStatus.is = is;
8
+ })(BeneficiaryStatus || (BeneficiaryStatus = {}));
9
+ //# sourceMappingURL=BeneficiaryStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BeneficiaryStatus.js","sourceRoot":"../","sources":["model/BeneficiaryStatus.ts"],"names":[],"mappings":"AAAA,MAAM,iBAAiB,GAAG,CAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,CAAU,CAAA;AAIpE,MAAM,KAAW,iBAAiB,CAIjC;AAJD,WAAiB,iBAAiB;IACjC,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,iBAAiB,CAAC,QAAQ,CAAC,KAA0B,CAAC,CAAA;IAC1F,CAAC;IAFe,oBAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,iBAAiB,KAAjB,iBAAiB,QAIjC"}
@@ -4,3 +4,6 @@ export interface BillingTransactionAmountPair {
4
4
  transaction: AmountPair;
5
5
  fxRate: number;
6
6
  }
7
+ export declare namespace BillingTransactionAmountPair {
8
+ function is(value: BillingTransactionAmountPair | any): value is BillingTransactionAmountPair;
9
+ }
@@ -1,2 +1,12 @@
1
- export {};
1
+ import { AmountPair } from "./AmountPair";
2
+ export var BillingTransactionAmountPair;
3
+ (function (BillingTransactionAmountPair) {
4
+ function is(value) {
5
+ return (typeof value == "object" &&
6
+ AmountPair.is(value.billing) &&
7
+ AmountPair.is(value.transaction) &&
8
+ typeof value.fxRate == "number");
9
+ }
10
+ BillingTransactionAmountPair.is = is;
11
+ })(BillingTransactionAmountPair || (BillingTransactionAmountPair = {}));
2
12
  //# sourceMappingURL=BillingTransactionAmountPair.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BillingTransactionAmountPair.js","sourceRoot":"../","sources":["model/BillingTransactionAmountPair.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"BillingTransactionAmountPair.js","sourceRoot":"../","sources":["model/BillingTransactionAmountPair.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAOzC,MAAM,KAAW,4BAA4B,CAS5C;AATD,WAAiB,4BAA4B;IAC5C,SAAgB,EAAE,CAAC,KAAyC;QAC3D,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC;YAC5B,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;YAChC,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ,CAC/B,CAAA;IACF,CAAC;IAPe,+BAAE,KAOjB,CAAA;AACF,CAAC,EATgB,4BAA4B,KAA5B,4BAA4B,QAS5C"}
@@ -4,3 +4,6 @@ import { HotelBookingInfoResponse } from "./HotelBookingInfoResponse";
4
4
  import { InvoiceBookingInfoResponse } from "./InvoiceBookingInfoResponse";
5
5
  import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse";
6
6
  export declare type BookingInfoResponse = FiveFieldsBookingInfoResponse | HotelBookingInfoResponse | InvoiceBookingInfoResponse | FlightBookingInfoResponse | SummaryBookingInfoResponse;
7
+ export declare namespace BookingInfoResponse {
8
+ function is(value: BookingInfoResponse | any): value is BookingInfoResponse;
9
+ }
@@ -1,2 +1,17 @@
1
- export {};
1
+ import { FiveFieldsBookingInfoResponse } from "./FiveFieldsBookingInfoResponse";
2
+ import { FlightBookingInfoResponse } from "./FlightBookingInfoResponse";
3
+ import { HotelBookingInfoResponse } from "./HotelBookingInfoResponse";
4
+ import { InvoiceBookingInfoResponse } from "./InvoiceBookingInfoResponse";
5
+ import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse";
6
+ export var BookingInfoResponse;
7
+ (function (BookingInfoResponse) {
8
+ function is(value) {
9
+ return (FiveFieldsBookingInfoResponse.is(value) ||
10
+ HotelBookingInfoResponse.is(value) ||
11
+ InvoiceBookingInfoResponse.is(value) ||
12
+ FlightBookingInfoResponse.is(value) ||
13
+ SummaryBookingInfoResponse.is(value));
14
+ }
15
+ BookingInfoResponse.is = is;
16
+ })(BookingInfoResponse || (BookingInfoResponse = {}));
2
17
  //# sourceMappingURL=BookingInfoResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BookingInfoResponse.js","sourceRoot":"../","sources":["model/BookingInfoResponse.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"BookingInfoResponse.js","sourceRoot":"../","sources":["model/BookingInfoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AASzE,MAAM,KAAW,mBAAmB,CAUnC;AAVD,WAAiB,mBAAmB;IACnC,SAAgB,EAAE,CAAC,KAAgC;QAClD,OAAO,CACN,6BAA6B,CAAC,EAAE,CAAC,KAAK,CAAC;YACvC,wBAAwB,CAAC,EAAE,CAAC,KAAK,CAAC;YAClC,0BAA0B,CAAC,EAAE,CAAC,KAAK,CAAC;YACpC,yBAAyB,CAAC,EAAE,CAAC,KAAK,CAAC;YACnC,0BAA0B,CAAC,EAAE,CAAC,KAAK,CAAC,CACpC,CAAA;IACF,CAAC;IARe,sBAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,mBAAmB,KAAnB,mBAAmB,QAUnC"}
@@ -8,3 +8,6 @@ export interface FiveFieldsBookingInfoResponse {
8
8
  supplierCode?: string;
9
9
  trackingId?: string;
10
10
  }
11
+ export declare namespace FiveFieldsBookingInfoResponse {
12
+ function is(value: FiveFieldsBookingInfoResponse | any): value is FiveFieldsBookingInfoResponse;
13
+ }
@@ -1,2 +1,16 @@
1
- export {};
1
+ export var FiveFieldsBookingInfoResponse;
2
+ (function (FiveFieldsBookingInfoResponse) {
3
+ function is(value) {
4
+ return (typeof value == "object" &&
5
+ value.type == "FIVE_FIELDS" &&
6
+ typeof value.bookingInfoIdentifier == "string" &&
7
+ (value.agentBookingReference == undefined || typeof value.agentBookingReference) == "string" &&
8
+ (value.departureDate == undefined || typeof value.departureDate) == "string" &&
9
+ (value.supplierBookingReference == undefined || typeof value.supplierBookingReference) == "string" &&
10
+ (value.leadPassengerName == undefined || typeof value.leadPassengerName) == "string" &&
11
+ (value.supplierCode == undefined || typeof value.supplierCode) == "string" &&
12
+ (value.trackingId == undefined || typeof value.trackingId) == "string");
13
+ }
14
+ FiveFieldsBookingInfoResponse.is = is;
15
+ })(FiveFieldsBookingInfoResponse || (FiveFieldsBookingInfoResponse = {}));
2
16
  //# sourceMappingURL=FiveFieldsBookingInfoResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FiveFieldsBookingInfoResponse.js","sourceRoot":"../","sources":["model/FiveFieldsBookingInfoResponse.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"FiveFieldsBookingInfoResponse.js","sourceRoot":"../","sources":["model/FiveFieldsBookingInfoResponse.ts"],"names":[],"mappings":"AAWA,MAAM,KAAW,6BAA6B,CAc7C;AAdD,WAAiB,6BAA6B;IAC7C,SAAgB,EAAE,CAAC,KAA0C;QAC5D,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,IAAI,IAAI,aAAa;YAC3B,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ;YAC9C,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,CAAC,IAAI,QAAQ;YAC5F,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,aAAa,CAAC,IAAI,QAAQ;YAC5E,CAAC,KAAK,CAAC,wBAAwB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,wBAAwB,CAAC,IAAI,QAAQ;YAClG,CAAC,KAAK,CAAC,iBAAiB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,iBAAiB,CAAC,IAAI,QAAQ;YACpF,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,CAAC,IAAI,QAAQ;YAC1E,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,UAAU,CAAC,IAAI,QAAQ,CACtE,CAAA;IACF,CAAC;IAZe,gCAAE,KAYjB,CAAA;AACF,CAAC,EAdgB,6BAA6B,KAA7B,6BAA6B,QAc7C"}
@@ -13,3 +13,6 @@ export interface FlightBookingInfoResponse {
13
13
  currency?: isoly.Currency;
14
14
  timestamp: isoly.DateTime;
15
15
  }
16
+ export declare namespace FlightBookingInfoResponse {
17
+ function is(value: FlightBookingInfoResponse | any): value is FlightBookingInfoResponse;
18
+ }
@@ -1,2 +1,21 @@
1
- export {};
1
+ import * as isoly from "isoly";
2
+ import { FlightInfo } from "./FlightInfo";
3
+ import { Passengers } from "./Passengers";
4
+ import { References } from "./References";
5
+ export var FlightBookingInfoResponse;
6
+ (function (FlightBookingInfoResponse) {
7
+ function is(value) {
8
+ return (typeof value == "object" &&
9
+ value.type == "FLIGHT" &&
10
+ (value.bookingInfoIdentifier == undefined || typeof value.bookingInfoIdentifier == "string") &&
11
+ (value.trackingId == undefined || typeof value.trackingId == "string") &&
12
+ Passengers.is(value.passengers) &&
13
+ FlightInfo.is(value.flight) &&
14
+ References.is(value.references) &&
15
+ (value.cost == undefined || typeof value.cost == "number") &&
16
+ (value.currency == undefined || isoly.Currency.is(value.currency)) &&
17
+ isoly.DateTime.is(value.timestamp));
18
+ }
19
+ FlightBookingInfoResponse.is = is;
20
+ })(FlightBookingInfoResponse || (FlightBookingInfoResponse = {}));
2
21
  //# sourceMappingURL=FlightBookingInfoResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FlightBookingInfoResponse.js","sourceRoot":"../","sources":["model/FlightBookingInfoResponse.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"FlightBookingInfoResponse.js","sourceRoot":"../","sources":["model/FlightBookingInfoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAczC,MAAM,KAAW,yBAAyB,CAezC;AAfD,WAAiB,yBAAyB;IACzC,SAAgB,EAAE,CAAC,KAAsC;QACxD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,IAAI,IAAI,QAAQ;YACtB,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,CAAC;YACtE,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC;YAC/B,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;YAC3B,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC;YAC/B,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC;YAC1D,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YAClE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAClC,CAAA;IACF,CAAC;IAbe,4BAAE,KAajB,CAAA;AACF,CAAC,EAfgB,yBAAyB,KAAzB,yBAAyB,QAezC"}
@@ -1,12 +1,8 @@
1
- import * as isoly from "isoly";
1
+ import { Segment } from "./Segment";
2
2
  export interface FlightInfo {
3
3
  outbound: Segment;
4
4
  homebound?: Segment;
5
5
  }
6
- interface Segment {
7
- from: string;
8
- to: string;
9
- date: isoly.Date;
10
- flightNumbers?: string[];
6
+ export declare namespace FlightInfo {
7
+ function is(value: FlightInfo | any): value is FlightInfo;
11
8
  }
12
- export {};
@@ -1,2 +1,11 @@
1
- export {};
1
+ import { Segment } from "./Segment";
2
+ export var FlightInfo;
3
+ (function (FlightInfo) {
4
+ function is(value) {
5
+ return (typeof value == "object" &&
6
+ Segment.is(value.outbound) &&
7
+ (value.homebound == undefined) == Segment.is(value.homebound));
8
+ }
9
+ FlightInfo.is = is;
10
+ })(FlightInfo || (FlightInfo = {}));
2
11
  //# sourceMappingURL=FlightInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FlightInfo.js","sourceRoot":"../","sources":["model/FlightInfo.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"FlightInfo.js","sourceRoot":"../","sources":["model/FlightInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAOnC,MAAM,KAAW,UAAU,CAQ1B;AARD,WAAiB,UAAU;IAC1B,SAAgB,EAAE,CAAC,KAAuB;QACzC,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC1B,CAAC,KAAK,CAAC,SAAS,IAAI,SAAS,CAAC,IAAI,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAC7D,CAAA;IACF,CAAC;IANe,aAAE,KAMjB,CAAA;AACF,CAAC,EARgB,UAAU,KAAV,UAAU,QAQ1B"}
@@ -13,3 +13,6 @@ export interface HotelBookingInfoResponse {
13
13
  currency?: isoly.Currency;
14
14
  timestamp: isoly.DateTime;
15
15
  }
16
+ export declare namespace HotelBookingInfoResponse {
17
+ function is(value: HotelBookingInfoResponse | any): value is HotelBookingInfoResponse;
18
+ }
@@ -1,2 +1,21 @@
1
- export {};
1
+ import * as isoly from "isoly";
2
+ import { HotelInfo } from "./HotelInfo";
3
+ import { Passengers } from "./Passengers";
4
+ import { References } from "./References";
5
+ export var HotelBookingInfoResponse;
6
+ (function (HotelBookingInfoResponse) {
7
+ function is(value) {
8
+ return (typeof value == "object" &&
9
+ value.type == "HOTEL" &&
10
+ (value.bookingInfoIdentifier == undefined || typeof value.bookingInfoIdentifier == "string") &&
11
+ (value.trackingId == undefined || typeof value.trackingId == "string") &&
12
+ (value.passengers == undefined || Passengers.is(value.passengers)) &&
13
+ (value.hotel == undefined || HotelInfo.is(value.hotel)) &&
14
+ (value.references == undefined || References.is(value.references)) &&
15
+ (value.cost == undefined || typeof value.cost == "number") &&
16
+ (value.currency == undefined || isoly.Currency.is(value.currency)) &&
17
+ isoly.DateTime.is(value.timestamp));
18
+ }
19
+ HotelBookingInfoResponse.is = is;
20
+ })(HotelBookingInfoResponse || (HotelBookingInfoResponse = {}));
2
21
  //# sourceMappingURL=HotelBookingInfoResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HotelBookingInfoResponse.js","sourceRoot":"../","sources":["model/HotelBookingInfoResponse.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"HotelBookingInfoResponse.js","sourceRoot":"../","sources":["model/HotelBookingInfoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAczC,MAAM,KAAW,wBAAwB,CAexC;AAfD,WAAiB,wBAAwB;IACxC,SAAgB,EAAE,CAAC,KAAqC;QACvD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,IAAI,IAAI,OAAO;YACrB,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,CAAC;YACtE,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YAClE,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACvD,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YAClE,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC;YAC1D,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YAClE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAClC,CAAA;IACF,CAAC;IAbe,2BAAE,KAajB,CAAA;AACF,CAAC,EAfgB,wBAAwB,KAAxB,wBAAwB,QAexC"}
@@ -10,3 +10,6 @@ export interface InvoiceBookingInfoResponse {
10
10
  taxElement?: string;
11
11
  timestamp: isoly.DateTime;
12
12
  }
13
+ export declare namespace InvoiceBookingInfoResponse {
14
+ function is(value: InvoiceBookingInfoResponse | any): value is InvoiceBookingInfoResponse;
15
+ }
@@ -1,2 +1,18 @@
1
- export {};
1
+ import * as isoly from "isoly";
2
+ export var InvoiceBookingInfoResponse;
3
+ (function (InvoiceBookingInfoResponse) {
4
+ function is(value) {
5
+ return (typeof value == "object" &&
6
+ value.type == "INVOICE" &&
7
+ (value.bookingInfoIdentifier == undefined || typeof value.bookingInfoIdentifier == "string") &&
8
+ (value.trackingId == undefined || typeof value.trackingId == "string") &&
9
+ (value.supplierName == undefined || typeof value.supplierName == "string") &&
10
+ (value.date == undefined || isoly.Date.is(value.date)) &&
11
+ (value.supplierReferenceNumber == undefined || typeof value.supplierReferenceNumber == "string") &&
12
+ (value.value == undefined || typeof value.value == "number") &&
13
+ (value.taxElement == undefined || typeof value.taxElement == "string") &&
14
+ isoly.DateTime.is(value.timestamp));
15
+ }
16
+ InvoiceBookingInfoResponse.is = is;
17
+ })(InvoiceBookingInfoResponse || (InvoiceBookingInfoResponse = {}));
2
18
  //# sourceMappingURL=InvoiceBookingInfoResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InvoiceBookingInfoResponse.js","sourceRoot":"../","sources":["model/InvoiceBookingInfoResponse.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"InvoiceBookingInfoResponse.js","sourceRoot":"../","sources":["model/InvoiceBookingInfoResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAc9B,MAAM,KAAW,0BAA0B,CAe1C;AAfD,WAAiB,0BAA0B;IAC1C,SAAgB,EAAE,CAAC,KAAuC;QACzD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,IAAI,IAAI,SAAS;YACvB,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,CAAC;YACtE,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,CAAC;YAC1E,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACtD,CAAC,KAAK,CAAC,uBAAuB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,uBAAuB,IAAI,QAAQ,CAAC;YAChG,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,KAAK,IAAI,QAAQ,CAAC;YAC5D,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,CAAC;YACtE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAClC,CAAA;IACF,CAAC;IAbe,6BAAE,KAajB,CAAA;AACF,CAAC,EAfgB,0BAA0B,KAA1B,0BAA0B,QAe1C"}
@@ -0,0 +1,10 @@
1
+ import * as isoly from "isoly";
2
+ export interface Segment {
3
+ from: string;
4
+ to: string;
5
+ date: isoly.Date;
6
+ flightNumbers?: string[];
7
+ }
8
+ export declare namespace Segment {
9
+ function is(value: Segment | any): value is Segment;
10
+ }
@@ -0,0 +1,14 @@
1
+ import * as isoly from "isoly";
2
+ export var Segment;
3
+ (function (Segment) {
4
+ function is(value) {
5
+ return (typeof value == "object" &&
6
+ typeof value.from == "string" &&
7
+ typeof value.to == "string" &&
8
+ isoly.Date.is(value.date) &&
9
+ (value.flightNumbers == undefined ||
10
+ (Array.isArray(value.flightNumbers) && value.flightNumbers.every((item) => typeof item == "string"))));
11
+ }
12
+ Segment.is = is;
13
+ })(Segment || (Segment = {}));
14
+ //# sourceMappingURL=Segment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Segment.js","sourceRoot":"../","sources":["model/Segment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B,MAAM,KAAW,OAAO,CAWvB;AAXD,WAAiB,OAAO;IACvB,SAAgB,EAAE,CAAC,KAAoB;QACtC,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ;YAC7B,OAAO,KAAK,CAAC,EAAE,IAAI,QAAQ;YAC3B,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;YACzB,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS;gBAChC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,OAAO,IAAI,IAAI,QAAQ,CAAC,CAAC,CAAC,CAC3G,CAAA;IACF,CAAC;IATe,UAAE,KASjB,CAAA;AACF,CAAC,EAXgB,OAAO,KAAP,OAAO,QAWvB"}
@@ -3,8 +3,10 @@ import { ProviderCode } from "./ProviderCode";
3
3
  export interface StatementReportRequest {
4
4
  providerCode: ProviderCode;
5
5
  providerAccountId: string;
6
- period: {
6
+ dateRange: {
7
7
  start: isoly.DateTime;
8
8
  end: isoly.DateTime;
9
9
  };
10
+ balanceType?: "AVAILABLE" | "ACTUAL";
11
+ type?: "summary" | "full";
10
12
  }
@@ -9,9 +9,9 @@ import { TransferResponse } from "./TransferResponse";
9
9
  export interface StatementReportResponseRow {
10
10
  actionType: StatementReportRowActionType;
11
11
  amount: BillingTransactionAmountPair;
12
- bookingInfo: BookingInfoResponse;
12
+ bookingInfo?: BookingInfoResponse;
13
13
  postedDate: isoly.DateTime;
14
- transactionDate: isoly.DateTime;
14
+ transactionDate?: isoly.DateTime;
15
15
  actualBalance: number;
16
16
  availableBalance: number;
17
17
  rowType: StatementReportRowType;
@@ -19,3 +19,6 @@ export interface StatementReportResponseRow {
19
19
  card?: CardResponseV2;
20
20
  transfer?: TransferResponse;
21
21
  }
22
+ export declare namespace StatementReportResponseRow {
23
+ function is(value: StatementReportResponseRow | any): value is StatementReportResponseRow;
24
+ }
@@ -1,2 +1,27 @@
1
- export {};
1
+ import * as isoly from "isoly";
2
+ import { BillingTransactionAmountPair } from "./BillingTransactionAmountPair";
3
+ import { BookingInfoResponse } from "./BookingInfoResponse";
4
+ import { CardResponseV2 } from "./CardResponseV2";
5
+ import { StatementReportRowActionType } from "./StatementReportRowActionType";
6
+ import { StatementReportRowType } from "./StatementReportRowType";
7
+ import { StatementRowIds } from "./StatementRowIds";
8
+ import { TransferResponse } from "./TransferResponse";
9
+ export var StatementReportResponseRow;
10
+ (function (StatementReportResponseRow) {
11
+ function is(value) {
12
+ return (typeof value == "object" &&
13
+ StatementReportRowActionType.is(value.actionType) &&
14
+ BillingTransactionAmountPair.is(value.amount) &&
15
+ (value.bookingInfo == undefined || BookingInfoResponse.is(value.bookingInfo)) &&
16
+ isoly.DateTime.is(value.postedDate) &&
17
+ (value.transactionDate == undefined || isoly.DateTime.is(value.transactionDate)) &&
18
+ typeof value.actualBalance == "number" &&
19
+ typeof value.availableBalance == "number" &&
20
+ StatementReportRowType.is(value.rowType) &&
21
+ StatementRowIds.is(value.ids) &&
22
+ (value.card == undefined || CardResponseV2.is(value.card)) &&
23
+ (value.transfer == undefined || TransferResponse.is(value.transfer)));
24
+ }
25
+ StatementReportResponseRow.is = is;
26
+ })(StatementReportResponseRow || (StatementReportResponseRow = {}));
2
27
  //# sourceMappingURL=StatementReportResponseRow.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatementReportResponseRow.js","sourceRoot":"../","sources":["model/StatementReportResponseRow.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"StatementReportResponseRow.js","sourceRoot":"../","sources":["model/StatementReportResponseRow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAgBrD,MAAM,KAAW,0BAA0B,CAiB1C;AAjBD,WAAiB,0BAA0B;IAC1C,SAAgB,EAAE,CAAC,KAAuC;QACzD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,4BAA4B,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC;YACjD,4BAA4B,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;YAC7C,CAAC,KAAK,CAAC,WAAW,IAAI,SAAS,IAAI,mBAAmB,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;YAC7E,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC;YACnC,CAAC,KAAK,CAAC,eAAe,IAAI,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;YAChF,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ;YACtC,OAAO,KAAK,CAAC,gBAAgB,IAAI,QAAQ;YACzC,sBAAsB,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC;YACxC,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC;YAC7B,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YAC1D,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,gBAAgB,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CACpE,CAAA;IACF,CAAC;IAfe,6BAAE,KAejB,CAAA;AACF,CAAC,EAjBgB,0BAA0B,KAA1B,0BAA0B,QAiB1C"}
@@ -1 +1,4 @@
1
1
  export declare type StatementReportRowType = "SUMMARY" | "FULL";
2
+ export declare namespace StatementReportRowType {
3
+ function is(value: StatementReportRowType | any): value is StatementReportRowType;
4
+ }
@@ -1,2 +1,8 @@
1
- export {};
1
+ export var StatementReportRowType;
2
+ (function (StatementReportRowType) {
3
+ function is(value) {
4
+ return value == "SUMMARY" || value == "FULL";
5
+ }
6
+ StatementReportRowType.is = is;
7
+ })(StatementReportRowType || (StatementReportRowType = {}));
2
8
  //# sourceMappingURL=StatementReportRowType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatementReportRowType.js","sourceRoot":"../","sources":["model/StatementReportRowType.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"StatementReportRowType.js","sourceRoot":"../","sources":["model/StatementReportRowType.ts"],"names":[],"mappings":"AAEA,MAAM,KAAW,sBAAsB,CAItC;AAJD,WAAiB,sBAAsB;IACtC,SAAgB,EAAE,CAAC,KAAmC;QACrD,OAAO,KAAK,IAAI,SAAS,IAAI,KAAK,IAAI,MAAM,CAAA;IAC7C,CAAC;IAFe,yBAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,sBAAsB,KAAtB,sBAAsB,QAItC"}
@@ -5,3 +5,6 @@ export interface StatementRowIds {
5
5
  providerCardId?: string;
6
6
  providerTransferId?: string;
7
7
  }
8
+ export declare namespace StatementRowIds {
9
+ function is(value: StatementRowIds | any): value is StatementRowIds;
10
+ }
@@ -1,2 +1,13 @@
1
- export {};
1
+ import { ProviderCode } from "./ProviderCode";
2
+ export var StatementRowIds;
3
+ (function (StatementRowIds) {
4
+ function is(value) {
5
+ return (typeof value == "object" &&
6
+ typeof value.rowId == "string" &&
7
+ ProviderCode.is(value.providerCode) &&
8
+ (value.providerCardId == undefined || typeof value.providerCardId == "string") &&
9
+ (value.providerTransferId == undefined || typeof value.providerTransferId == "string"));
10
+ }
11
+ StatementRowIds.is = is;
12
+ })(StatementRowIds || (StatementRowIds = {}));
2
13
  //# sourceMappingURL=StatementRowIds.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatementRowIds.js","sourceRoot":"../","sources":["model/StatementRowIds.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"StatementRowIds.js","sourceRoot":"../","sources":["model/StatementRowIds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAS7C,MAAM,KAAW,eAAe,CAU/B;AAVD,WAAiB,eAAe;IAC/B,SAAgB,EAAE,CAAC,KAA4B;QAC9C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,KAAK,IAAI,QAAQ;YAC9B,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YACnC,CAAC,KAAK,CAAC,cAAc,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,cAAc,IAAI,QAAQ,CAAC;YAC9E,CAAC,KAAK,CAAC,kBAAkB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,kBAAkB,IAAI,QAAQ,CAAC,CACtF,CAAA;IACF,CAAC;IARe,kBAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,eAAe,KAAf,eAAe,QAU/B"}
@@ -1,7 +1,10 @@
1
1
  export interface SummaryBookingInfoResponse {
2
- leadPassengerName: string;
3
- agentBookingReference: string;
2
+ leadPassengerName?: string;
3
+ agentBookingReference?: string;
4
4
  type: "SUMMARY";
5
5
  bookingInfoIdentifier: string;
6
6
  trackingId: string;
7
7
  }
8
+ export declare namespace SummaryBookingInfoResponse {
9
+ function is(value: SummaryBookingInfoResponse | any): value is SummaryBookingInfoResponse;
10
+ }
@@ -1,2 +1,13 @@
1
- export {};
1
+ export var SummaryBookingInfoResponse;
2
+ (function (SummaryBookingInfoResponse) {
3
+ function is(value) {
4
+ return (typeof value == "object" &&
5
+ value.type == "SUMMARY" &&
6
+ (value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
7
+ (value.agentBookingReference == undefined || typeof value.agentBookingReference == "string") &&
8
+ typeof value.bookingInfoIdentifier == "string" &&
9
+ typeof value.trackingId == "string");
10
+ }
11
+ SummaryBookingInfoResponse.is = is;
12
+ })(SummaryBookingInfoResponse || (SummaryBookingInfoResponse = {}));
2
13
  //# sourceMappingURL=SummaryBookingInfoResponse.js.map