@pax2pay/client 0.0.91 → 0.0.95
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 +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/AccountBankResponse.d.ts +9 -0
- package/dist/model/AccountBankResponse.js +12 -0
- package/dist/model/AccountBankResponse.js.map +1 -0
- package/dist/model/AccountIdentifierResponse.d.ts +11 -0
- package/dist/model/AccountIdentifierResponse.js +14 -0
- package/dist/model/AccountIdentifierResponse.js.map +1 -0
- package/dist/model/AccountResponse.d.ts +1 -1
- package/dist/model/AccountResponse.js +1 -1
- package/dist/model/AccountResponse.js.map +1 -1
- package/dist/model/AccountSummary.d.ts +29 -0
- package/dist/model/AccountSummary.js +32 -0
- package/dist/model/AccountSummary.js.map +1 -0
- package/dist/model/AddressInfo.d.ts +3 -0
- package/dist/model/AddressInfo.js +12 -1
- package/dist/model/AddressInfo.js.map +1 -1
- package/dist/model/AmountPair.d.ts +3 -0
- package/dist/model/AmountPair.js +8 -1
- package/dist/model/AmountPair.js.map +1 -1
- package/dist/model/BeneficiaryResponse.d.ts +5 -1
- package/dist/model/BeneficiaryResponse.js +17 -1
- package/dist/model/BeneficiaryResponse.js.map +1 -1
- package/dist/model/BeneficiaryStatus.d.ts +6 -0
- package/dist/model/BeneficiaryStatus.js +9 -0
- package/dist/model/BeneficiaryStatus.js.map +1 -0
- package/dist/model/BillingTransactionAmountPair.d.ts +3 -0
- package/dist/model/BillingTransactionAmountPair.js +11 -1
- package/dist/model/BillingTransactionAmountPair.js.map +1 -1
- package/dist/model/BookingInfoResponse.d.ts +3 -0
- package/dist/model/BookingInfoResponse.js +16 -1
- package/dist/model/BookingInfoResponse.js.map +1 -1
- package/dist/model/FiveFieldsBookingInfoResponse.d.ts +3 -0
- package/dist/model/FiveFieldsBookingInfoResponse.js +15 -1
- package/dist/model/FiveFieldsBookingInfoResponse.js.map +1 -1
- package/dist/model/FlightBookingInfoResponse.d.ts +3 -0
- package/dist/model/FlightBookingInfoResponse.js +20 -1
- package/dist/model/FlightBookingInfoResponse.js.map +1 -1
- package/dist/model/FlightInfo.d.ts +3 -7
- package/dist/model/FlightInfo.js +10 -1
- package/dist/model/FlightInfo.js.map +1 -1
- package/dist/model/FundingAccountIdentifierType.d.ts +6 -0
- package/dist/model/FundingAccountIdentifierType.js +9 -0
- package/dist/model/FundingAccountIdentifierType.js.map +1 -0
- package/dist/model/HotelBookingInfoResponse.d.ts +3 -0
- package/dist/model/HotelBookingInfoResponse.js +20 -1
- package/dist/model/HotelBookingInfoResponse.js.map +1 -1
- package/dist/model/InvoiceBookingInfoResponse.d.ts +3 -0
- package/dist/model/InvoiceBookingInfoResponse.js +17 -1
- package/dist/model/InvoiceBookingInfoResponse.js.map +1 -1
- package/dist/model/Segment.d.ts +10 -0
- package/dist/model/Segment.js +14 -0
- package/dist/model/Segment.js.map +1 -0
- package/dist/model/StatementReportRequest.d.ts +3 -1
- package/dist/model/StatementReportResponse.d.ts +1 -0
- package/dist/model/StatementReportResponseRow.d.ts +5 -2
- package/dist/model/StatementReportResponseRow.js +26 -1
- package/dist/model/StatementReportResponseRow.js.map +1 -1
- package/dist/model/StatementReportRowType.d.ts +3 -0
- package/dist/model/StatementReportRowType.js +7 -1
- package/dist/model/StatementReportRowType.js.map +1 -1
- package/dist/model/StatementRowIds.d.ts +3 -0
- package/dist/model/StatementRowIds.js +12 -1
- package/dist/model/StatementRowIds.js.map +1 -1
- package/dist/model/SummaryBookingInfoResponse.d.ts +5 -2
- package/dist/model/SummaryBookingInfoResponse.js +12 -1
- package/dist/model/SummaryBookingInfoResponse.js.map +1 -1
- package/dist/model/TransferDestinationInfo.d.ts +5 -1
- package/dist/model/TransferDestinationInfo.js +16 -1
- package/dist/model/TransferDestinationInfo.js.map +1 -1
- package/dist/model/TransferResponse.d.ts +5 -1
- package/dist/model/TransferResponse.js +25 -1
- package/dist/model/TransferResponse.js.map +1 -1
- package/dist/model/TransferStatus.d.ts +6 -0
- package/dist/model/TransferStatus.js +20 -0
- package/dist/model/TransferStatus.js.map +1 -0
- package/dist/model/index.d.ts +8 -1
- package/dist/model/index.js +24 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +14 -0
- package/model/AccountBankResponse.ts +18 -0
- package/model/AccountIdentifierResponse.ts +22 -0
- package/model/AccountResponse.ts +2 -2
- package/model/AccountSummary.ts +51 -0
- package/model/AddressInfo.ts +13 -0
- package/model/AmountPair.ts +6 -0
- package/model/BeneficiaryResponse.ts +18 -1
- package/model/BeneficiaryStatus.ts +9 -0
- package/model/BillingTransactionAmountPair.ts +10 -0
- package/model/BookingInfoResponse.ts +12 -0
- package/model/FiveFieldsBookingInfoResponse.ts +16 -0
- package/model/FlightBookingInfoResponse.ts +17 -0
- package/model/FlightInfo.ts +9 -6
- package/model/FundingAccountIdentifierType.ts +9 -0
- package/model/HotelBookingInfoResponse.ts +17 -0
- package/model/InvoiceBookingInfoResponse.ts +17 -0
- package/model/Segment.ts +21 -0
- package/model/StatementReportRequest.ts +3 -1
- package/model/StatementReportResponse.ts +1 -0
- package/model/StatementReportResponseRow.ts +21 -2
- package/model/StatementReportRowType.ts +6 -0
- package/model/StatementRowIds.ts +12 -0
- package/model/SummaryBookingInfoResponse.ts +15 -2
- package/model/TransferDestinationInfo.ts +17 -1
- package/model/TransferResponse.ts +23 -11
- package/model/TransferStatus.ts +20 -0
- package/model/index.ts +14 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountCreationRequest, AccountResponse, AccountSearchRequest, AccountState, 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, 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, AccountCreationRequest, AccountResponse, AccountSearchRequest, AccountState, 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, 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 { AccountResponse, AccountState, AccountType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelInfo, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, StatementReportRowActionType, UserResponse, YearMonth, } from "./model";
|
|
3
|
-
export { Client, AccountResponse, AccountState, AccountType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, 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,
|
|
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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var AccountBankResponse;
|
|
2
|
+
(function (AccountBankResponse) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.bankEntity == undefined || typeof value.bankEntity == "string") &&
|
|
6
|
+
(value.address == undefined || typeof value.address == "string") &&
|
|
7
|
+
(value.city == undefined || typeof value.city == "string") &&
|
|
8
|
+
(value.country == undefined || typeof value.country == "string"));
|
|
9
|
+
}
|
|
10
|
+
AccountBankResponse.is = is;
|
|
11
|
+
})(AccountBankResponse || (AccountBankResponse = {}));
|
|
12
|
+
//# sourceMappingURL=AccountBankResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountBankResponse.js","sourceRoot":"../","sources":["model/AccountBankResponse.ts"],"names":[],"mappings":"AAOA,MAAM,KAAW,mBAAmB,CAUnC;AAVD,WAAiB,mBAAmB;IACnC,SAAgB,EAAE,CAAC,KAAgC;QAClD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,CAAC;YACtE,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAC;YAChE,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC;YAC1D,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAC,CAChE,CAAA;IACF,CAAC;IARe,sBAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,mBAAmB,KAAnB,mBAAmB,QAUnC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType";
|
|
2
|
+
export interface AccountIdentifierResponse {
|
|
3
|
+
type?: FundingAccountIdentifierType;
|
|
4
|
+
accountNumber?: string;
|
|
5
|
+
bic?: string;
|
|
6
|
+
iban?: string;
|
|
7
|
+
sortCode?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare namespace AccountIdentifierResponse {
|
|
10
|
+
function is(value: AccountIdentifierResponse | any): value is AccountIdentifierResponse;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType";
|
|
2
|
+
export var AccountIdentifierResponse;
|
|
3
|
+
(function (AccountIdentifierResponse) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return (typeof value == "object" &&
|
|
6
|
+
(value.type == undefined || FundingAccountIdentifierType.is(value.type)) &&
|
|
7
|
+
(value.accountNumber == undefined || typeof value.accountNumber == "string") &&
|
|
8
|
+
(value.bic == undefined || typeof value.bic == "string") &&
|
|
9
|
+
(value.iban == undefined || typeof value.iban == "string") &&
|
|
10
|
+
(value.sortCode == undefined || typeof value.sortCode == "string"));
|
|
11
|
+
}
|
|
12
|
+
AccountIdentifierResponse.is = is;
|
|
13
|
+
})(AccountIdentifierResponse || (AccountIdentifierResponse = {}));
|
|
14
|
+
//# sourceMappingURL=AccountIdentifierResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountIdentifierResponse.js","sourceRoot":"../","sources":["model/AccountIdentifierResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAU7E,MAAM,KAAW,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACzC,SAAgB,EAAE,CAAC,KAAsC;QACxD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,4BAA4B,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACxE,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ,CAAC;YAC5E,CAAC,KAAK,CAAC,GAAG,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,GAAG,IAAI,QAAQ,CAAC;YACxD,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,CAClE,CAAA;IACF,CAAC;IATe,4BAAE,KASjB,CAAA;AACF,CAAC,EAXgB,yBAAyB,KAAzB,yBAAyB,QAWzC"}
|
|
@@ -5,7 +5,7 @@ import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
|
5
5
|
import { OrganisationResponse } from "./OrganisationResponse";
|
|
6
6
|
import { ProviderResponse } from "./ProviderResponse";
|
|
7
7
|
export interface AccountResponse {
|
|
8
|
-
id
|
|
8
|
+
id: number;
|
|
9
9
|
providerAccountId: string;
|
|
10
10
|
provider: ProviderResponse;
|
|
11
11
|
organisation: OrganisationResponse;
|
|
@@ -8,7 +8,7 @@ export var AccountResponse;
|
|
|
8
8
|
(function (AccountResponse) {
|
|
9
9
|
function is(value) {
|
|
10
10
|
return (typeof value == "object" &&
|
|
11
|
-
|
|
11
|
+
typeof value.id == "number" &&
|
|
12
12
|
typeof value.providerAccountId == "string" &&
|
|
13
13
|
ProviderResponse.is(value.provider) &&
|
|
14
14
|
OrganisationResponse.is(value.organisation) &&
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountResponse.js","sourceRoot":"../","sources":["model/AccountResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAoBrD,MAAM,KAAW,eAAe,CAmB/B;AAnBD,WAAiB,eAAe;IAC/B,SAAgB,EAAE,CAAC,KAA4B;QAC9C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,
|
|
1
|
+
{"version":3,"file":"AccountResponse.js","sourceRoot":"../","sources":["model/AccountResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAoBrD,MAAM,KAAW,eAAe,CAmB/B;AAnBD,WAAiB,eAAe;IAC/B,SAAgB,EAAE,CAAC,KAA4B;QAC9C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,EAAE,IAAI,QAAQ;YAC3B,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ;YAC1C,gBAAgB,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YACnC,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YAC3C,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YACjC,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;YAC5B,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ;YACrC,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ;YAChC,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ,CAAC;YAC5E,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;YACjC,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAChF,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ;YAClC,CAAC,KAAK,CAAC,SAAS,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ,CAAC,CACpE,CAAA;IACF,CAAC;IAjBe,kBAAE,KAiBjB,CAAA;AACF,CAAC,EAnBgB,eAAe,KAAf,eAAe,QAmB/B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
import { AccountBankResponse } from "./AccountBankResponse";
|
|
3
|
+
import { AccountIdentifierResponse } from "./AccountIdentifierResponse";
|
|
4
|
+
import { AccountState } from "./AccountState";
|
|
5
|
+
import { AccountType } from "./AccountType";
|
|
6
|
+
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
7
|
+
import { OrganisationResponse } from "./OrganisationResponse";
|
|
8
|
+
import { ProviderCode } from "./ProviderCode";
|
|
9
|
+
export interface AccountSummary {
|
|
10
|
+
providerAccountId: string;
|
|
11
|
+
providerCode: ProviderCode;
|
|
12
|
+
accountType: AccountType;
|
|
13
|
+
createdOn: isoly.DateTime;
|
|
14
|
+
createdBy: string;
|
|
15
|
+
state: AccountState;
|
|
16
|
+
friendlyName: string;
|
|
17
|
+
accountBankDetails?: AccountBankResponse;
|
|
18
|
+
organisation: OrganisationResponse;
|
|
19
|
+
currency: isoly.Currency;
|
|
20
|
+
balance: number;
|
|
21
|
+
pendingBalance: number;
|
|
22
|
+
totalCardAvailableBalance: number;
|
|
23
|
+
lastUpdatedCardBalanceOn?: isoly.DateTime;
|
|
24
|
+
fundingLimit?: FundingLimitResponse;
|
|
25
|
+
accountIdentifierResponse?: AccountIdentifierResponse;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace AccountSummary {
|
|
28
|
+
function is(value: AccountSummary | any): value is AccountSummary;
|
|
29
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
import { AccountBankResponse } from "./AccountBankResponse";
|
|
3
|
+
import { AccountIdentifierResponse } from "./AccountIdentifierResponse";
|
|
4
|
+
import { AccountState } from "./AccountState";
|
|
5
|
+
import { AccountType } from "./AccountType";
|
|
6
|
+
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
7
|
+
import { OrganisationResponse } from "./OrganisationResponse";
|
|
8
|
+
import { ProviderCode } from "./ProviderCode";
|
|
9
|
+
export var AccountSummary;
|
|
10
|
+
(function (AccountSummary) {
|
|
11
|
+
function is(value) {
|
|
12
|
+
return (typeof value == "object" &&
|
|
13
|
+
typeof value.providerAccountId == "string" &&
|
|
14
|
+
ProviderCode.is(value.providerCode) &&
|
|
15
|
+
AccountType.is(value.accountType) &&
|
|
16
|
+
isoly.DateTime.is(value.createdOn) &&
|
|
17
|
+
typeof value.createdBy == "string" &&
|
|
18
|
+
AccountState.is(value.state) &&
|
|
19
|
+
typeof value.friendlyName == "string" &&
|
|
20
|
+
(value.accountBankDetails == undefined || AccountBankResponse.is(value.accountBankDetails)) &&
|
|
21
|
+
OrganisationResponse.is(value.organisation) &&
|
|
22
|
+
isoly.Currency.is(value.currency) &&
|
|
23
|
+
typeof value.balance == "number" &&
|
|
24
|
+
typeof value.pendingBalance == "number" &&
|
|
25
|
+
typeof value.totalCardAvailableBalance == "number" &&
|
|
26
|
+
(value.lastUpdatedCardBalanceOn == undefined || isoly.DateTime.is(value.lastUpdatedCardBalanceOn)) &&
|
|
27
|
+
(value.fundingLimit == undefined || FundingLimitResponse.is(value.fundingLimit)) &&
|
|
28
|
+
(value.accountIdentifierResponse == undefined || AccountIdentifierResponse.is(value.accountIdentifierResponse)));
|
|
29
|
+
}
|
|
30
|
+
AccountSummary.is = is;
|
|
31
|
+
})(AccountSummary || (AccountSummary = {}));
|
|
32
|
+
//# sourceMappingURL=AccountSummary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountSummary.js","sourceRoot":"../","sources":["model/AccountSummary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAqB7C,MAAM,KAAW,cAAc,CAsB9B;AAtBD,WAAiB,cAAc;IAC9B,SAAgB,EAAE,CAAC,KAA2B;QAC7C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ;YAC1C,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YACnC,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;YACjC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;YAClC,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ;YAClC,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;YAC5B,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ;YACrC,CAAC,KAAK,CAAC,kBAAkB,IAAI,SAAS,IAAI,mBAAmB,CAAC,EAAE,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;YAC3F,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YAC3C,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YACjC,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ;YAChC,OAAO,KAAK,CAAC,cAAc,IAAI,QAAQ;YACvC,OAAO,KAAK,CAAC,yBAAyB,IAAI,QAAQ;YAClD,CAAC,KAAK,CAAC,wBAAwB,IAAI,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;YAClG,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAChF,CAAC,KAAK,CAAC,yBAAyB,IAAI,SAAS,IAAI,yBAAyB,CAAC,EAAE,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAC/G,CAAA;IACF,CAAC;IApBe,iBAAE,KAoBjB,CAAA;AACF,CAAC,EAtBgB,cAAc,KAAd,cAAc,QAsB9B"}
|
|
@@ -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"}
|
package/dist/model/AmountPair.js
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
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?:
|
|
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
|
-
|
|
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"}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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"}
|
|
@@ -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"}
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
|
|
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
|
|
1
|
+
import { Segment } from "./Segment";
|
|
2
2
|
export interface FlightInfo {
|
|
3
3
|
outbound: Segment;
|
|
4
4
|
homebound?: Segment;
|
|
5
5
|
}
|
|
6
|
-
|
|
7
|
-
|
|
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 {};
|
package/dist/model/FlightInfo.js
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const fundingAccountIdentifierType: readonly ["SCAN", "IBAN", "UNKNOWN"];
|
|
2
|
+
export declare type FundingAccountIdentifierType = typeof fundingAccountIdentifierType[number];
|
|
3
|
+
export declare namespace FundingAccountIdentifierType {
|
|
4
|
+
function is(value: unknown): value is FundingAccountIdentifierType;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const fundingAccountIdentifierType = ["SCAN", "IBAN", "UNKNOWN"];
|
|
2
|
+
export var FundingAccountIdentifierType;
|
|
3
|
+
(function (FundingAccountIdentifierType) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return typeof value == "string" && fundingAccountIdentifierType.includes(value);
|
|
6
|
+
}
|
|
7
|
+
FundingAccountIdentifierType.is = is;
|
|
8
|
+
})(FundingAccountIdentifierType || (FundingAccountIdentifierType = {}));
|
|
9
|
+
//# sourceMappingURL=FundingAccountIdentifierType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FundingAccountIdentifierType.js","sourceRoot":"../","sources":["model/FundingAccountIdentifierType.ts"],"names":[],"mappings":"AAAA,MAAM,4BAA4B,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAU,CAAA;AAIzE,MAAM,KAAW,4BAA4B,CAI5C;AAJD,WAAiB,4BAA4B;IAC5C,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,4BAA4B,CAAC,QAAQ,CAAC,KAAqC,CAAC,CAAA;IAChH,CAAC;IAFe,+BAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,4BAA4B,KAA5B,4BAA4B,QAI5C"}
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
|
|
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"}
|
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
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
|