@pax2pay/client 0.1.26 → 0.1.28
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/Client/Reports/index.ts +1 -2
- package/dist/Client/Reports/index.js +1 -2
- package/dist/Client/Reports/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/AccountDetailsTransferDestinationResponse.d.ts +10 -0
- package/dist/model/AccountDetailsTransferDestinationResponse.js +13 -0
- package/dist/model/AccountDetailsTransferDestinationResponse.js.map +1 -0
- package/dist/model/BeneficiaryTransferDestinationResponse.d.ts +8 -0
- package/dist/model/BeneficiaryTransferDestinationResponse.js +12 -0
- package/dist/model/BeneficiaryTransferDestinationResponse.js.map +1 -0
- package/dist/model/CardResponseV2Summary.d.ts +7 -0
- package/dist/model/CardResponseV2Summary.js +8 -0
- package/dist/model/CardResponseV2Summary.js.map +1 -0
- package/dist/model/StatementReportResponseRow.d.ts +7 -3
- package/dist/model/StatementReportResponseRow.js +9 -3
- package/dist/model/StatementReportResponseRow.js.map +1 -1
- package/dist/model/StatementRowIds.d.ts +1 -0
- package/dist/model/StatementRowIds.js +1 -0
- package/dist/model/StatementRowIds.js.map +1 -1
- package/dist/model/StatementTransferSpecificType.d.ts +6 -0
- package/dist/model/StatementTransferSpecificType.js +19 -0
- package/dist/model/StatementTransferSpecificType.js.map +1 -0
- package/dist/model/SummaryBookingInfoResponse.d.ts +2 -2
- package/dist/model/SummaryBookingInfoResponse.js +2 -2
- package/dist/model/SummaryBookingInfoResponse.js.map +1 -1
- package/dist/model/TransferDestinationResponse.d.ts +7 -0
- package/dist/model/TransferDestinationResponse.js +13 -0
- package/dist/model/TransferDestinationResponse.js.map +1 -0
- package/dist/model/TransferResponse.d.ts +2 -0
- package/dist/model/TransferResponse.js +3 -1
- package/dist/model/TransferResponse.js.map +1 -1
- package/dist/model/TransferResponseV2.d.ts +24 -0
- package/dist/model/TransferResponseV2.js +27 -0
- package/dist/model/TransferResponseV2.js.map +1 -0
- package/dist/model/TransferResponseV2Summary.d.ts +7 -0
- package/dist/model/TransferResponseV2Summary.js +8 -0
- package/dist/model/TransferResponseV2Summary.js.map +1 -0
- package/dist/model/index.d.ts +7 -1
- package/dist/model/index.js +7 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +12 -0
- package/model/AccountDetailsTransferDestinationResponse.ts +22 -0
- package/model/BeneficiaryTransferDestinationResponse.ts +18 -0
- package/model/CardResponseV2Summary.ts +10 -0
- package/model/StatementReportResponseRow.ts +12 -5
- package/model/StatementRowIds.ts +2 -0
- package/model/StatementTransferSpecificType.ts +18 -0
- package/model/SummaryBookingInfoResponse.ts +4 -4
- package/model/TransferDestinationResponse.ts +18 -0
- package/model/TransferResponse.ts +4 -1
- package/model/TransferResponseV2.ts +43 -0
- package/model/TransferResponseV2Summary.ts +10 -0
- package/model/index.ts +12 -0
- package/package.json +1 -1
package/Client/Reports/index.ts
CHANGED
|
@@ -53,8 +53,7 @@ export class Reports {
|
|
|
53
53
|
return result
|
|
54
54
|
}
|
|
55
55
|
async getStatementForTable(rowId: string) {
|
|
56
|
-
const result = await this.connection.get<model.StatementReportResponseRow>(`statement/${rowId}
|
|
57
|
-
`)
|
|
56
|
+
const result = await this.connection.get<model.StatementReportResponseRow>(`statement/${rowId}`)
|
|
58
57
|
return result
|
|
59
58
|
}
|
|
60
59
|
attachPageable(base: string, page?: number, pageSize?: number) {
|
|
@@ -37,8 +37,7 @@ export class Reports {
|
|
|
37
37
|
return result;
|
|
38
38
|
}
|
|
39
39
|
async getStatementForTable(rowId) {
|
|
40
|
-
const result = await this.connection.get(`statement/${rowId}
|
|
41
|
-
`);
|
|
40
|
+
const result = await this.connection.get(`statement/${rowId}`);
|
|
42
41
|
return result;
|
|
43
42
|
}
|
|
44
43
|
attachPageable(base, page, pageSize) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","s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@ -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, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementReportUrlResponse, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, 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, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, CardSearchRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementReportUrlResponse, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, CardSearchRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, 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,EACX,WAAW,EACX,gBAAgB,EAEhB,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EAEX,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,0BAA0B,EAE1B,YAAY,EACZ,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAGpB,2BAA2B,EAE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BAAwB,EAGxB,kBAAkB,EAElB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAGT,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EASV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAUV,OAAO,EAMP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,6BAA6B,EAC7B,0BAA0B,EAC1B,mBAAmB,EAEnB,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAE3B,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EAEzB,cAAc,EACd,eAAe,EAMf,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAC5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface AccountDetailsTransferDestinationResponse {
|
|
2
|
+
sortCode?: string;
|
|
3
|
+
accountNumber?: string;
|
|
4
|
+
iban?: string;
|
|
5
|
+
bic?: string;
|
|
6
|
+
fullName?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare namespace AccountDetailsTransferDestinationResponse {
|
|
9
|
+
function is(value: AccountDetailsTransferDestinationResponse | any): value is AccountDetailsTransferDestinationResponse;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export var AccountDetailsTransferDestinationResponse;
|
|
2
|
+
(function (AccountDetailsTransferDestinationResponse) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.sortCode == undefined || typeof value.sortCode == "string") &&
|
|
6
|
+
(value.accountNumber == undefined || typeof value.accountNumber == "string") &&
|
|
7
|
+
(value.iban == undefined || typeof value.iban == "string") &&
|
|
8
|
+
(value.bic == undefined || typeof value.bic == "string") &&
|
|
9
|
+
(value.fullName == undefined || typeof value.fullName == "string"));
|
|
10
|
+
}
|
|
11
|
+
AccountDetailsTransferDestinationResponse.is = is;
|
|
12
|
+
})(AccountDetailsTransferDestinationResponse || (AccountDetailsTransferDestinationResponse = {}));
|
|
13
|
+
//# sourceMappingURL=AccountDetailsTransferDestinationResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountDetailsTransferDestinationResponse.js","sourceRoot":"../","sources":["model/AccountDetailsTransferDestinationResponse.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,yCAAyC,CAazD;AAbD,WAAiB,yCAAyC;IACzD,SAAgB,EAAE,CACjB,KAAsD;QAEtD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,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,IAAI,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC;YAC1D,CAAC,KAAK,CAAC,GAAG,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,GAAG,IAAI,QAAQ,CAAC;YACxD,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAClE,CAAA;IACF,CAAC;IAXe,4CAAE,KAWjB,CAAA;AACF,CAAC,EAbgB,yCAAyC,KAAzC,yCAAyC,QAazD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
|
|
2
|
+
export interface BeneficiaryTransferDestinationResponse extends AccountDetailsTransferDestinationResponse {
|
|
3
|
+
beneficiaryId: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare namespace BeneficiaryTransferDestinationResponse {
|
|
7
|
+
function is(value: BeneficiaryTransferDestinationResponse | any): value is BeneficiaryTransferDestinationResponse;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
|
|
2
|
+
export var BeneficiaryTransferDestinationResponse;
|
|
3
|
+
(function (BeneficiaryTransferDestinationResponse) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return (typeof value == "object" &&
|
|
6
|
+
typeof value.beneficiaryId == "string" &&
|
|
7
|
+
(value.name == undefined || typeof value.name == "string") &&
|
|
8
|
+
AccountDetailsTransferDestinationResponse.is(value));
|
|
9
|
+
}
|
|
10
|
+
BeneficiaryTransferDestinationResponse.is = is;
|
|
11
|
+
})(BeneficiaryTransferDestinationResponse || (BeneficiaryTransferDestinationResponse = {}));
|
|
12
|
+
//# sourceMappingURL=BeneficiaryTransferDestinationResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BeneficiaryTransferDestinationResponse.js","sourceRoot":"../","sources":["model/BeneficiaryTransferDestinationResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAA;AAMvG,MAAM,KAAW,sCAAsC,CAWtD;AAXD,WAAiB,sCAAsC;IACtD,SAAgB,EAAE,CACjB,KAAmD;QAEnD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ;YACtC,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC;YAC1D,yCAAyC,CAAC,EAAE,CAAC,KAAK,CAAC,CACnD,CAAA;IACF,CAAC;IATe,yCAAE,KASjB,CAAA;AACF,CAAC,EAXgB,sCAAsC,KAAtC,sCAAsC,QAWtD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var CardResponseV2Summary;
|
|
2
|
+
(function (CardResponseV2Summary) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return typeof value == "object" && typeof value.cardNumber == "string" && typeof value.createdBy == "string";
|
|
5
|
+
}
|
|
6
|
+
CardResponseV2Summary.is = is;
|
|
7
|
+
})(CardResponseV2Summary || (CardResponseV2Summary = {}));
|
|
8
|
+
//# sourceMappingURL=CardResponseV2Summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardResponseV2Summary.js","sourceRoot":"../","sources":["model/CardResponseV2Summary.ts"],"names":[],"mappings":"AAKA,MAAM,KAAW,qBAAqB,CAIrC;AAJD,WAAiB,qBAAqB;IACrC,SAAgB,EAAE,CAAC,KAAkC;QACpD,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ,CAAA;IAC7G,CAAC;IAFe,wBAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,qBAAqB,KAArB,qBAAqB,QAIrC"}
|
|
@@ -2,10 +2,13 @@ import * as isoly from "isoly";
|
|
|
2
2
|
import { BillingTransactionAmountPair } from "./BillingTransactionAmountPair";
|
|
3
3
|
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
4
4
|
import { CardResponseV2 } from "./CardResponseV2";
|
|
5
|
+
import { CardResponseV2Summary } from "./CardResponseV2Summary";
|
|
5
6
|
import { StatementReportRowActionType } from "./StatementReportRowActionType";
|
|
6
7
|
import { StatementReportRowType } from "./StatementReportRowType";
|
|
7
8
|
import { StatementRowIds } from "./StatementRowIds";
|
|
8
|
-
import {
|
|
9
|
+
import { StatementTransferSpecificType } from "./StatementTransferSpecificType";
|
|
10
|
+
import { TransferResponseV2 } from "./TransferResponseV2";
|
|
11
|
+
import { TransferResponseV2Summary } from "./TransferResponseV2Summary";
|
|
9
12
|
export interface StatementReportResponseRow {
|
|
10
13
|
actionType: StatementReportRowActionType;
|
|
11
14
|
amount: BillingTransactionAmountPair;
|
|
@@ -15,9 +18,10 @@ export interface StatementReportResponseRow {
|
|
|
15
18
|
actualBalance: number;
|
|
16
19
|
availableBalance: number;
|
|
17
20
|
rowType: StatementReportRowType;
|
|
21
|
+
transferType?: StatementTransferSpecificType;
|
|
18
22
|
ids: StatementRowIds;
|
|
19
|
-
card?: CardResponseV2;
|
|
20
|
-
transfer?:
|
|
23
|
+
card?: CardResponseV2 | CardResponseV2Summary;
|
|
24
|
+
transfer?: TransferResponseV2 | TransferResponseV2Summary;
|
|
21
25
|
}
|
|
22
26
|
export declare namespace StatementReportResponseRow {
|
|
23
27
|
function is(value: StatementReportResponseRow | any): value is StatementReportResponseRow;
|
|
@@ -2,10 +2,13 @@ import * as isoly from "isoly";
|
|
|
2
2
|
import { BillingTransactionAmountPair } from "./BillingTransactionAmountPair";
|
|
3
3
|
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
4
4
|
import { CardResponseV2 } from "./CardResponseV2";
|
|
5
|
+
import { CardResponseV2Summary } from "./CardResponseV2Summary";
|
|
5
6
|
import { StatementReportRowActionType } from "./StatementReportRowActionType";
|
|
6
7
|
import { StatementReportRowType } from "./StatementReportRowType";
|
|
7
8
|
import { StatementRowIds } from "./StatementRowIds";
|
|
8
|
-
import {
|
|
9
|
+
import { StatementTransferSpecificType } from "./StatementTransferSpecificType";
|
|
10
|
+
import { TransferResponseV2 } from "./TransferResponseV2";
|
|
11
|
+
import { TransferResponseV2Summary } from "./TransferResponseV2Summary";
|
|
9
12
|
export var StatementReportResponseRow;
|
|
10
13
|
(function (StatementReportResponseRow) {
|
|
11
14
|
function is(value) {
|
|
@@ -18,9 +21,12 @@ export var StatementReportResponseRow;
|
|
|
18
21
|
typeof value.actualBalance == "number" &&
|
|
19
22
|
typeof value.availableBalance == "number" &&
|
|
20
23
|
StatementReportRowType.is(value.rowType) &&
|
|
24
|
+
(value.transferType == undefined || StatementTransferSpecificType.is(value.transferType)) &&
|
|
21
25
|
StatementRowIds.is(value.ids) &&
|
|
22
|
-
(value.card == undefined || CardResponseV2.is(value.card)) &&
|
|
23
|
-
(value.transfer == undefined ||
|
|
26
|
+
(value.card == undefined || CardResponseV2.is(value.card) || CardResponseV2Summary.is(value.card)) &&
|
|
27
|
+
(value.transfer == undefined ||
|
|
28
|
+
TransferResponseV2.is(value.transfer) ||
|
|
29
|
+
TransferResponseV2Summary.is(value.transfer)));
|
|
24
30
|
}
|
|
25
31
|
StatementReportResponseRow.is = is;
|
|
26
32
|
})(StatementReportResponseRow || (StatementReportResponseRow = {}));
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,4BAA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C,IAAI,qBAAqB,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YAClG,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS;gBAC3B,kBAAkB,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;gBACrC,yBAAyB,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAC9C,CAAA;IACF,CAAC;IAlBe,6BAAE,KAkBjB,CAAA;AACF,CAAC,EApBgB,0BAA0B,KAA1B,0BAA0B,QAoB1C"}
|
|
@@ -6,6 +6,7 @@ export var StatementRowIds;
|
|
|
6
6
|
typeof value.rowId == "string" &&
|
|
7
7
|
ProviderCode.is(value.providerCode) &&
|
|
8
8
|
(value.providerCardId == undefined || typeof value.providerCardId == "string") &&
|
|
9
|
+
(value.orderId == undefined || typeof value.orderId == "string") &&
|
|
9
10
|
(value.providerTransferId == undefined || typeof value.providerTransferId == "string"));
|
|
10
11
|
}
|
|
11
12
|
StatementRowIds.is = is;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatementRowIds.js","sourceRoot":"../","sources":["model/StatementRowIds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"StatementRowIds.js","sourceRoot":"../","sources":["model/StatementRowIds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAU7C,MAAM,KAAW,eAAe,CAW/B;AAXD,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,OAAO,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAC;YAChE,CAAC,KAAK,CAAC,kBAAkB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,kBAAkB,IAAI,QAAQ,CAAC,CACtF,CAAA;IACF,CAAC;IATe,kBAAE,KASjB,CAAA;AACF,CAAC,EAXgB,eAAe,KAAf,eAAe,QAW/B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const statementTransferSpecificType: readonly ["BACS", "CHAPS", "DIRECT_DEBIT", "FASTER_PAYMENTS", "SEPA", "SECT", "PROVIDER_INTERNAL", "SWIFT", "REV"];
|
|
2
|
+
export declare type StatementTransferSpecificType = typeof statementTransferSpecificType[number];
|
|
3
|
+
export declare namespace StatementTransferSpecificType {
|
|
4
|
+
function is(value: unknown): value is StatementTransferSpecificType;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const statementTransferSpecificType = [
|
|
2
|
+
"BACS",
|
|
3
|
+
"CHAPS",
|
|
4
|
+
"DIRECT_DEBIT",
|
|
5
|
+
"FASTER_PAYMENTS",
|
|
6
|
+
"SEPA",
|
|
7
|
+
"SECT",
|
|
8
|
+
"PROVIDER_INTERNAL",
|
|
9
|
+
"SWIFT",
|
|
10
|
+
"REV",
|
|
11
|
+
];
|
|
12
|
+
export var StatementTransferSpecificType;
|
|
13
|
+
(function (StatementTransferSpecificType) {
|
|
14
|
+
function is(value) {
|
|
15
|
+
return typeof value == "string" && statementTransferSpecificType.includes(value);
|
|
16
|
+
}
|
|
17
|
+
StatementTransferSpecificType.is = is;
|
|
18
|
+
})(StatementTransferSpecificType || (StatementTransferSpecificType = {}));
|
|
19
|
+
//# sourceMappingURL=StatementTransferSpecificType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatementTransferSpecificType.js","sourceRoot":"../","sources":["model/StatementTransferSpecificType.ts"],"names":[],"mappings":"AAAA,MAAM,6BAA6B,GAAG;IACrC,MAAM;IACN,OAAO;IACP,cAAc;IACd,iBAAiB;IACjB,MAAM;IACN,MAAM;IACN,mBAAmB;IACnB,OAAO;IACP,KAAK;CACI,CAAA;AAGV,MAAM,KAAW,6BAA6B,CAI7C;AAJD,WAAiB,6BAA6B;IAC7C,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,6BAA6B,CAAC,QAAQ,CAAC,KAAsC,CAAC,CAAA;IAClH,CAAC;IAFe,gCAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,6BAA6B,KAA7B,6BAA6B,QAI7C"}
|
|
@@ -2,8 +2,8 @@ export interface SummaryBookingInfoResponse {
|
|
|
2
2
|
leadPassengerName?: string;
|
|
3
3
|
agentBookingReference?: string;
|
|
4
4
|
type: "SUMMARY";
|
|
5
|
-
bookingInfoIdentifier
|
|
6
|
-
trackingId
|
|
5
|
+
bookingInfoIdentifier?: string;
|
|
6
|
+
trackingId?: string;
|
|
7
7
|
}
|
|
8
8
|
export declare namespace SummaryBookingInfoResponse {
|
|
9
9
|
function is(value: SummaryBookingInfoResponse | any): value is SummaryBookingInfoResponse;
|
|
@@ -5,8 +5,8 @@ export var SummaryBookingInfoResponse;
|
|
|
5
5
|
value.type == "SUMMARY" &&
|
|
6
6
|
(value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
|
|
7
7
|
(value.agentBookingReference == undefined || typeof value.agentBookingReference == "string") &&
|
|
8
|
-
typeof value.bookingInfoIdentifier == "string" &&
|
|
9
|
-
typeof value.trackingId == "string");
|
|
8
|
+
(value.bookingInfoIdentifier == undefined || typeof value.bookingInfoIdentifier == "string") &&
|
|
9
|
+
(value.trackingId == undefined || typeof value.trackingId == "string"));
|
|
10
10
|
}
|
|
11
11
|
SummaryBookingInfoResponse.is = is;
|
|
12
12
|
})(SummaryBookingInfoResponse || (SummaryBookingInfoResponse = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SummaryBookingInfoResponse.js","sourceRoot":"../","sources":["model/SummaryBookingInfoResponse.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IAC1C,SAAgB,EAAE,CAAC,KAAuC;QACzD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,IAAI,IAAI,SAAS;YACvB,CAAC,KAAK,CAAC,iBAAiB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ,CAAC;YACpF,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ;
|
|
1
|
+
{"version":3,"file":"SummaryBookingInfoResponse.js","sourceRoot":"../","sources":["model/SummaryBookingInfoResponse.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IAC1C,SAAgB,EAAE,CAAC,KAAuC;QACzD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,IAAI,IAAI,SAAS;YACvB,CAAC,KAAK,CAAC,iBAAiB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ,CAAC;YACpF,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,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,CACtE,CAAA;IACF,CAAC;IATe,6BAAE,KASjB,CAAA;AACF,CAAC,EAXgB,0BAA0B,KAA1B,0BAA0B,QAW1C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
|
|
2
|
+
import { BeneficiaryTransferDestinationResponse } from "./BeneficiaryTransferDestinationResponse";
|
|
3
|
+
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2";
|
|
4
|
+
export declare type TransferDestinationResponse = BeneficiaryTransferDestinationResponse | AccountDetailsTransferDestinationResponse | FundingAccountResponseV2;
|
|
5
|
+
export declare namespace TransferDestinationResponse {
|
|
6
|
+
function is(value: TransferDestinationResponse | any): value is TransferDestinationResponse;
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
|
|
2
|
+
import { BeneficiaryTransferDestinationResponse } from "./BeneficiaryTransferDestinationResponse";
|
|
3
|
+
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2";
|
|
4
|
+
export var TransferDestinationResponse;
|
|
5
|
+
(function (TransferDestinationResponse) {
|
|
6
|
+
function is(value) {
|
|
7
|
+
return (BeneficiaryTransferDestinationResponse.is(value) ||
|
|
8
|
+
AccountDetailsTransferDestinationResponse.is(value) ||
|
|
9
|
+
FundingAccountResponseV2.is(value));
|
|
10
|
+
}
|
|
11
|
+
TransferDestinationResponse.is = is;
|
|
12
|
+
})(TransferDestinationResponse || (TransferDestinationResponse = {}));
|
|
13
|
+
//# sourceMappingURL=TransferDestinationResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransferDestinationResponse.js","sourceRoot":"../","sources":["model/TransferDestinationResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAA;AACvG,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAA;AACjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAOrE,MAAM,KAAW,2BAA2B,CAQ3C;AARD,WAAiB,2BAA2B;IAC3C,SAAgB,EAAE,CAAC,KAAwC;QAC1D,OAAO,CACN,sCAAsC,CAAC,EAAE,CAAC,KAAK,CAAC;YAChD,yCAAyC,CAAC,EAAE,CAAC,KAAK,CAAC;YACnD,wBAAwB,CAAC,EAAE,CAAC,KAAK,CAAC,CAClC,CAAA;IACF,CAAC;IANe,8BAAE,KAMjB,CAAA;AACF,CAAC,EARgB,2BAA2B,KAA3B,2BAA2B,QAQ3C"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountResponse } from "./AccountResponse";
|
|
2
2
|
import { BeneficiaryResponse } from "./BeneficiaryResponse";
|
|
3
|
+
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
3
4
|
import { ProviderCode } from "./ProviderCode";
|
|
4
5
|
import { TransferDestinationInfo } from "./TransferDestinationInfo";
|
|
5
6
|
import { TransferStatus } from "./TransferStatus";
|
|
@@ -17,6 +18,7 @@ export interface TransferResponse {
|
|
|
17
18
|
providerTransferId?: string;
|
|
18
19
|
scheduled?: boolean;
|
|
19
20
|
errorDescription?: string;
|
|
21
|
+
bookingInfo?: BookingInfoResponse;
|
|
20
22
|
}
|
|
21
23
|
export declare namespace TransferResponse {
|
|
22
24
|
function is(value: TransferResponse | any): value is TransferResponse;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountResponse } from "./AccountResponse";
|
|
2
2
|
import { BeneficiaryResponse } from "./BeneficiaryResponse";
|
|
3
|
+
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
3
4
|
import { ProviderCode } from "./ProviderCode";
|
|
4
5
|
import { TransferDestinationInfo } from "./TransferDestinationInfo";
|
|
5
6
|
import { TransferStatus } from "./TransferStatus";
|
|
@@ -19,7 +20,8 @@ export var TransferResponse;
|
|
|
19
20
|
(value.providerCode == undefined || ProviderCode.is(value.providerCode)) &&
|
|
20
21
|
(value.providerTransferId == undefined || typeof value.providerTransferId == "string") &&
|
|
21
22
|
(value.scheduled == undefined || typeof value.scheduled == "boolean") &&
|
|
22
|
-
(value.errorDescription == undefined || typeof value.errorDescription == "string")
|
|
23
|
+
(value.errorDescription == undefined || typeof value.errorDescription == "string") &&
|
|
24
|
+
(value.bookingInfo == undefined || BookingInfoResponse.is(value.bookingInfo)));
|
|
23
25
|
}
|
|
24
26
|
TransferResponse.is = is;
|
|
25
27
|
})(TransferResponse || (TransferResponse = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransferResponse.js","sourceRoot":"../","sources":["model/TransferResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"TransferResponse.js","sourceRoot":"../","sources":["model/TransferResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAmBjD,MAAM,KAAW,gBAAgB,CAoBhC;AApBD,WAAiB,gBAAgB;IAChC,SAAgB,EAAE,CAAC,KAA6B;QAC/C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,aAAa,IA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AAQ,CAAC;YAClF,CAAC,KAAK,CAAC,WAAW,IAAI,SAAS,IAAI,mBAAmB,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAC7E,CAAA;IACF,CAAC;IAlBe,mBAAE,KAkBjB,CAAA;AACF,CAAC,EApBgB,gBAAgB,KAAhB,gBAAgB,QAoBhC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Currency, Date } from "isoly";
|
|
2
|
+
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
3
|
+
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2";
|
|
4
|
+
import { ProviderCode } from "./ProviderCode";
|
|
5
|
+
import { TransferDestinationResponse } from "./TransferDestinationResponse";
|
|
6
|
+
import { TransferStatus } from "./TransferStatus";
|
|
7
|
+
export interface TransferResponseV2 {
|
|
8
|
+
providerCode: ProviderCode;
|
|
9
|
+
providerTransferId: string;
|
|
10
|
+
amount: number;
|
|
11
|
+
currency: Currency;
|
|
12
|
+
status: TransferStatus;
|
|
13
|
+
errorMessage?: string;
|
|
14
|
+
createdDate: Date;
|
|
15
|
+
paymentDate?: Date;
|
|
16
|
+
reference: string;
|
|
17
|
+
source: FundingAccountResponseV2;
|
|
18
|
+
destination: TransferDestinationResponse;
|
|
19
|
+
bookingInfo?: BookingInfoResponse;
|
|
20
|
+
createdBy: string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace TransferResponseV2 {
|
|
23
|
+
function is(value: TransferResponseV2 | any): value is TransferResponseV2;
|
|
24
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Currency, Date } from "isoly";
|
|
2
|
+
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
3
|
+
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2";
|
|
4
|
+
import { ProviderCode } from "./ProviderCode";
|
|
5
|
+
import { TransferDestinationResponse } from "./TransferDestinationResponse";
|
|
6
|
+
import { TransferStatus } from "./TransferStatus";
|
|
7
|
+
export var TransferResponseV2;
|
|
8
|
+
(function (TransferResponseV2) {
|
|
9
|
+
function is(value) {
|
|
10
|
+
return (typeof value == "object" &&
|
|
11
|
+
ProviderCode.is(value.providerCode) &&
|
|
12
|
+
typeof value.providerTransferId == "string" &&
|
|
13
|
+
typeof value.amount == "number" &&
|
|
14
|
+
Currency.is(value.currency) &&
|
|
15
|
+
TransferStatus.is(value.status) &&
|
|
16
|
+
(value.errorMessage == undefined || typeof value.errorMessage == "string") &&
|
|
17
|
+
Date.is(value.createdDate) &&
|
|
18
|
+
(value.paymentDate == undefined || Date.is(value.paymentDate)) &&
|
|
19
|
+
typeof value.reference == "string" &&
|
|
20
|
+
FundingAccountResponseV2.is(value.source) &&
|
|
21
|
+
TransferDestinationResponse.is(value.destination) &&
|
|
22
|
+
(value.bookingInfo == undefined || BookingInfoResponse.is(value.bookingInfo)) &&
|
|
23
|
+
typeof value.createdBy == "string");
|
|
24
|
+
}
|
|
25
|
+
TransferResponseV2.is = is;
|
|
26
|
+
})(TransferResponseV2 || (TransferResponseV2 = {}));
|
|
27
|
+
//# sourceMappingURL=TransferResponseV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransferResponseV2.js","sourceRoot":"../","sources":["model/TransferResponseV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAkBjD,MAAM,KAAW,kBAAkB,CAmBlC;AAnBD,WAAiB,kBAAkB;IAClC,SAAgB,EAAE,CAAC,KAA+B;QACjD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YACnC,OAAO,KAAK,CAAC,kBAAkB,IAAI,QAAQ;YAC3C,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ;YAC/B,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC3B,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;YAC/B,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,CAAC;YAC1E,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;YAC1B,CAAC,KAAK,CAAC,WAAW,IAAI,SAAS,IAAI,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;YAC9D,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ;YAClC,wBAAwB,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;YACzC,2BAA2B,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;YACjD,CAAC,KAAK,CAAC,WAAW,IAAI,SAAS,IAAI,mBAAmB,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;YAC7E,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ,CAClC,CAAA;IACF,CAAC;IAjBe,qBAAE,KAiBjB,CAAA;AACF,CAAC,EAnBgB,kBAAkB,KAAlB,kBAAkB,QAmBlC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var TransferResponseV2Summary;
|
|
2
|
+
(function (TransferResponseV2Summary) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return typeof value == "object" && typeof value.reference == "string" && typeof value.createdBy == "string";
|
|
5
|
+
}
|
|
6
|
+
TransferResponseV2Summary.is = is;
|
|
7
|
+
})(TransferResponseV2Summary || (TransferResponseV2Summary = {}));
|
|
8
|
+
//# sourceMappingURL=TransferResponseV2Summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransferResponseV2Summary.js","sourceRoot":"../","sources":["model/TransferResponseV2Summary.ts"],"names":[],"mappings":"AAKA,MAAM,KAAW,yBAAyB,CAIzC;AAJD,WAAiB,yBAAyB;IACzC,SAAgB,EAAE,CAAC,KAAsC;QACxD,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ,CAAA;IAC5G,CAAC;IAFe,4BAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,yBAAyB,KAAzB,yBAAyB,QAIzC"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountBankResponse } from "./AccountBankResponse";
|
|
2
2
|
import { AccountCreationRequest } from "./AccountCreationRequest";
|
|
3
|
+
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
|
|
3
4
|
import { AccountIdentifierResponse } from "./AccountIdentifierResponse";
|
|
4
5
|
import { AccountResponse } from "./AccountResponse";
|
|
5
6
|
import { AccountSearchRequest } from "./AccountSearchRequest";
|
|
@@ -13,6 +14,7 @@ import { AmountPair } from "./AmountPair";
|
|
|
13
14
|
import { BeneficiaryRequest } from "./BeneficiaryRequest";
|
|
14
15
|
import { BeneficiaryResponse } from "./BeneficiaryResponse";
|
|
15
16
|
import { BeneficiaryStatus } from "./BeneficiaryStatus";
|
|
17
|
+
import { BeneficiaryTransferDestinationResponse } from "./BeneficiaryTransferDestinationResponse";
|
|
16
18
|
import { BillingTransactionAmountPair } from "./BillingTransactionAmountPair";
|
|
17
19
|
import { BookedProductInfo } from "./BookedProductInfo";
|
|
18
20
|
import { BookingInfo } from "./BookingInfo";
|
|
@@ -125,13 +127,17 @@ import { StatementReportRowType } from "./StatementReportRowType";
|
|
|
125
127
|
import { StatementReportUrlRequest } from "./StatementReportUrlRequest";
|
|
126
128
|
import { StatementReportUrlResponse } from "./StatementReportUrlResponse";
|
|
127
129
|
import { StatementRowIds } from "./StatementRowIds";
|
|
130
|
+
import { StatementTransferSpecificType } from "./StatementTransferSpecificType";
|
|
128
131
|
import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse";
|
|
129
132
|
import { SupplierBookingInfo } from "./SupplierBookingInfo";
|
|
130
133
|
import { TransactionResponse } from "./TransactionResponse";
|
|
131
134
|
import { TransactionType } from "./TransactionType";
|
|
132
135
|
import { TransferDestinationInfo } from "./TransferDestinationInfo";
|
|
136
|
+
import { TransferDestinationResponse } from "./TransferDestinationResponse";
|
|
133
137
|
import { TransferRequest } from "./TransferRequest";
|
|
134
138
|
import { TransferResponse } from "./TransferResponse";
|
|
139
|
+
import { TransferResponseV2 } from "./TransferResponseV2";
|
|
140
|
+
import { TransferResponseV2Summary } from "./TransferResponseV2Summary";
|
|
135
141
|
import { TransferSearch } from "./TransferSearch";
|
|
136
142
|
import { TransferStatus } from "./TransferStatus";
|
|
137
143
|
import { TravelPartyInfo } from "./TravelPartyInfo";
|
|
@@ -152,4 +158,4 @@ import { UserRoleResponse } from "./UserRoleResponse";
|
|
|
152
158
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
153
159
|
import { UserStatus } from "./UserStatus";
|
|
154
160
|
import { YearMonth } from "./YearMonth";
|
|
155
|
-
export { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
|
161
|
+
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/model/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AccountBankResponse } from "./AccountBankResponse";
|
|
2
|
+
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
|
|
2
3
|
import { AccountIdentifierResponse } from "./AccountIdentifierResponse";
|
|
3
4
|
import { AccountResponse } from "./AccountResponse";
|
|
4
5
|
import { AccountState } from "./AccountState";
|
|
@@ -9,6 +10,7 @@ import { AgentBookingInfo } from "./AgentBookingInfo";
|
|
|
9
10
|
import { AmountPair } from "./AmountPair";
|
|
10
11
|
import { BeneficiaryResponse } from "./BeneficiaryResponse";
|
|
11
12
|
import { BeneficiaryStatus } from "./BeneficiaryStatus";
|
|
13
|
+
import { BeneficiaryTransferDestinationResponse } from "./BeneficiaryTransferDestinationResponse";
|
|
12
14
|
import { BillingTransactionAmountPair } from "./BillingTransactionAmountPair";
|
|
13
15
|
import { BookedProductInfo } from "./BookedProductInfo";
|
|
14
16
|
import { BookingInfo } from "./BookingInfo";
|
|
@@ -62,11 +64,15 @@ import { StatementReportResponseRow } from "./StatementReportResponseRow";
|
|
|
62
64
|
import { StatementReportRowActionType } from "./StatementReportRowActionType";
|
|
63
65
|
import { StatementReportRowType } from "./StatementReportRowType";
|
|
64
66
|
import { StatementRowIds } from "./StatementRowIds";
|
|
67
|
+
import { StatementTransferSpecificType } from "./StatementTransferSpecificType";
|
|
65
68
|
import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse";
|
|
66
69
|
import { SupplierBookingInfo } from "./SupplierBookingInfo";
|
|
67
70
|
import { TransactionType } from "./TransactionType";
|
|
68
71
|
import { TransferDestinationInfo } from "./TransferDestinationInfo";
|
|
72
|
+
import { TransferDestinationResponse } from "./TransferDestinationResponse";
|
|
69
73
|
import { TransferResponse } from "./TransferResponse";
|
|
74
|
+
import { TransferResponseV2 } from "./TransferResponseV2";
|
|
75
|
+
import { TransferResponseV2Summary } from "./TransferResponseV2Summary";
|
|
70
76
|
import { TransferStatus } from "./TransferStatus";
|
|
71
77
|
import { TravelPartyInfo } from "./TravelPartyInfo";
|
|
72
78
|
import { UserChangeRequest } from "./UserChangeRequest";
|
|
@@ -76,5 +82,5 @@ import { UserRequest } from "./UserRequest";
|
|
|
76
82
|
import { UserResponse } from "./UserResponse";
|
|
77
83
|
import { UserStatus } from "./UserStatus";
|
|
78
84
|
import { YearMonth } from "./YearMonth";
|
|
79
|
-
export { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
85
|
+
export { AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
80
86
|
//# sourceMappingURL=index.js.map
|
package/dist/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,W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,EAC1B,mBAAmB,EAEnB,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAE3B,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EAEzB,cAAc,EACd,eAAe,EAMf,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAC5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Client } from "./Client"
|
|
|
2
2
|
import {
|
|
3
3
|
AccountBankResponse,
|
|
4
4
|
AccountCreationRequest,
|
|
5
|
+
AccountDetailsTransferDestinationResponse,
|
|
5
6
|
AccountIdentifierResponse,
|
|
6
7
|
AccountResponse,
|
|
7
8
|
AccountSearchRequest,
|
|
@@ -15,6 +16,7 @@ import {
|
|
|
15
16
|
BeneficiaryRequest,
|
|
16
17
|
BeneficiaryResponse,
|
|
17
18
|
BeneficiaryStatus,
|
|
19
|
+
BeneficiaryTransferDestinationResponse,
|
|
18
20
|
BillingTransactionAmountPair,
|
|
19
21
|
BookedProductInfo,
|
|
20
22
|
BookingInfo,
|
|
@@ -127,13 +129,17 @@ import {
|
|
|
127
129
|
StatementReportUrlRequest,
|
|
128
130
|
StatementReportUrlResponse,
|
|
129
131
|
StatementRowIds,
|
|
132
|
+
StatementTransferSpecificType,
|
|
130
133
|
SummaryBookingInfoResponse,
|
|
131
134
|
SupplierBookingInfo,
|
|
132
135
|
TransactionResponse,
|
|
133
136
|
TransactionType,
|
|
134
137
|
TransferDestinationInfo,
|
|
138
|
+
TransferDestinationResponse,
|
|
135
139
|
TransferRequest,
|
|
136
140
|
TransferResponse,
|
|
141
|
+
TransferResponseV2,
|
|
142
|
+
TransferResponseV2Summary,
|
|
137
143
|
TransferSearch,
|
|
138
144
|
TransferStatus,
|
|
139
145
|
TravelPartyInfo,
|
|
@@ -160,6 +166,7 @@ export {
|
|
|
160
166
|
Client,
|
|
161
167
|
AccountBankResponse,
|
|
162
168
|
AccountCreationRequest,
|
|
169
|
+
AccountDetailsTransferDestinationResponse,
|
|
163
170
|
AccountIdentifierResponse,
|
|
164
171
|
AccountResponse,
|
|
165
172
|
AccountSearchRequest,
|
|
@@ -173,6 +180,7 @@ export {
|
|
|
173
180
|
BeneficiaryRequest,
|
|
174
181
|
BeneficiaryResponse,
|
|
175
182
|
BeneficiaryStatus,
|
|
183
|
+
BeneficiaryTransferDestinationResponse,
|
|
176
184
|
BillingTransactionAmountPair,
|
|
177
185
|
BookedProductInfo,
|
|
178
186
|
BookingInfo,
|
|
@@ -285,13 +293,17 @@ export {
|
|
|
285
293
|
StatementReportRowActionType,
|
|
286
294
|
StatementReportRowType,
|
|
287
295
|
StatementRowIds,
|
|
296
|
+
StatementTransferSpecificType,
|
|
288
297
|
SummaryBookingInfoResponse,
|
|
289
298
|
SupplierBookingInfo,
|
|
290
299
|
TransactionResponse,
|
|
291
300
|
TransactionType,
|
|
292
301
|
TransferDestinationInfo,
|
|
302
|
+
TransferDestinationResponse,
|
|
293
303
|
TransferRequest,
|
|
294
304
|
TransferResponse,
|
|
305
|
+
TransferResponseV2,
|
|
306
|
+
TransferResponseV2Summary,
|
|
295
307
|
TransferSearch,
|
|
296
308
|
TransferStatus,
|
|
297
309
|
TravelPartyInfo,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface AccountDetailsTransferDestinationResponse {
|
|
2
|
+
sortCode?: string
|
|
3
|
+
accountNumber?: string
|
|
4
|
+
iban?: string
|
|
5
|
+
bic?: string
|
|
6
|
+
fullName?: string
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export namespace AccountDetailsTransferDestinationResponse {
|
|
10
|
+
export function is(
|
|
11
|
+
value: AccountDetailsTransferDestinationResponse | any
|
|
12
|
+
): value is AccountDetailsTransferDestinationResponse {
|
|
13
|
+
return (
|
|
14
|
+
typeof value == "object" &&
|
|
15
|
+
(value.sortCode == undefined || typeof value.sortCode == "string") &&
|
|
16
|
+
(value.accountNumber == undefined || typeof value.accountNumber == "string") &&
|
|
17
|
+
(value.iban == undefined || typeof value.iban == "string") &&
|
|
18
|
+
(value.bic == undefined || typeof value.bic == "string") &&
|
|
19
|
+
(value.fullName == undefined || typeof value.fullName == "string")
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse"
|
|
2
|
+
export interface BeneficiaryTransferDestinationResponse extends AccountDetailsTransferDestinationResponse {
|
|
3
|
+
beneficiaryId: string
|
|
4
|
+
name?: string
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export namespace BeneficiaryTransferDestinationResponse {
|
|
8
|
+
export function is(
|
|
9
|
+
value: BeneficiaryTransferDestinationResponse | any
|
|
10
|
+
): value is BeneficiaryTransferDestinationResponse {
|
|
11
|
+
return (
|
|
12
|
+
typeof value == "object" &&
|
|
13
|
+
typeof value.beneficiaryId == "string" &&
|
|
14
|
+
(value.name == undefined || typeof value.name == "string") &&
|
|
15
|
+
AccountDetailsTransferDestinationResponse.is(value)
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface CardResponseV2Summary {
|
|
2
|
+
cardNumber: string
|
|
3
|
+
createdBy: string
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export namespace CardResponseV2Summary {
|
|
7
|
+
export function is(value: CardResponseV2Summary | any): value is CardResponseV2Summary {
|
|
8
|
+
return typeof value == "object" && typeof value.cardNumber == "string" && typeof value.createdBy == "string"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -2,10 +2,13 @@ import * as isoly from "isoly"
|
|
|
2
2
|
import { BillingTransactionAmountPair } from "./BillingTransactionAmountPair"
|
|
3
3
|
import { BookingInfoResponse } from "./BookingInfoResponse"
|
|
4
4
|
import { CardResponseV2 } from "./CardResponseV2"
|
|
5
|
+
import { CardResponseV2Summary } from "./CardResponseV2Summary"
|
|
5
6
|
import { StatementReportRowActionType } from "./StatementReportRowActionType"
|
|
6
7
|
import { StatementReportRowType } from "./StatementReportRowType"
|
|
7
8
|
import { StatementRowIds } from "./StatementRowIds"
|
|
8
|
-
import {
|
|
9
|
+
import { StatementTransferSpecificType } from "./StatementTransferSpecificType"
|
|
10
|
+
import { TransferResponseV2 } from "./TransferResponseV2"
|
|
11
|
+
import { TransferResponseV2Summary } from "./TransferResponseV2Summary"
|
|
9
12
|
|
|
10
13
|
export interface StatementReportResponseRow {
|
|
11
14
|
actionType: StatementReportRowActionType
|
|
@@ -16,9 +19,10 @@ export interface StatementReportResponseRow {
|
|
|
16
19
|
actualBalance: number
|
|
17
20
|
availableBalance: number
|
|
18
21
|
rowType: StatementReportRowType
|
|
22
|
+
transferType?: StatementTransferSpecificType
|
|
19
23
|
ids: StatementRowIds
|
|
20
|
-
card?: CardResponseV2
|
|
21
|
-
transfer?:
|
|
24
|
+
card?: CardResponseV2 | CardResponseV2Summary
|
|
25
|
+
transfer?: TransferResponseV2 | TransferResponseV2Summary
|
|
22
26
|
}
|
|
23
27
|
|
|
24
28
|
export namespace StatementReportResponseRow {
|
|
@@ -33,9 +37,12 @@ export namespace StatementReportResponseRow {
|
|
|
33
37
|
typeof value.actualBalance == "number" &&
|
|
34
38
|
typeof value.availableBalance == "number" &&
|
|
35
39
|
StatementReportRowType.is(value.rowType) &&
|
|
40
|
+
(value.transferType == undefined || StatementTransferSpecificType.is(value.transferType)) &&
|
|
36
41
|
StatementRowIds.is(value.ids) &&
|
|
37
|
-
(value.card == undefined || CardResponseV2.is(value.card)) &&
|
|
38
|
-
(value.transfer == undefined ||
|
|
42
|
+
(value.card == undefined || CardResponseV2.is(value.card) || CardResponseV2Summary.is(value.card)) &&
|
|
43
|
+
(value.transfer == undefined ||
|
|
44
|
+
TransferResponseV2.is(value.transfer) ||
|
|
45
|
+
TransferResponseV2Summary.is(value.transfer))
|
|
39
46
|
)
|
|
40
47
|
}
|
|
41
48
|
}
|
package/model/StatementRowIds.ts
CHANGED
|
@@ -4,6 +4,7 @@ export interface StatementRowIds {
|
|
|
4
4
|
rowId: string
|
|
5
5
|
providerCode: ProviderCode
|
|
6
6
|
providerCardId?: string
|
|
7
|
+
orderId?: string
|
|
7
8
|
providerTransferId?: string
|
|
8
9
|
}
|
|
9
10
|
|
|
@@ -14,6 +15,7 @@ export namespace StatementRowIds {
|
|
|
14
15
|
typeof value.rowId == "string" &&
|
|
15
16
|
ProviderCode.is(value.providerCode) &&
|
|
16
17
|
(value.providerCardId == undefined || typeof value.providerCardId == "string") &&
|
|
18
|
+
(value.orderId == undefined || typeof value.orderId == "string") &&
|
|
17
19
|
(value.providerTransferId == undefined || typeof value.providerTransferId == "string")
|
|
18
20
|
)
|
|
19
21
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const statementTransferSpecificType = [
|
|
2
|
+
"BACS",
|
|
3
|
+
"CHAPS",
|
|
4
|
+
"DIRECT_DEBIT",
|
|
5
|
+
"FASTER_PAYMENTS",
|
|
6
|
+
"SEPA",
|
|
7
|
+
"SECT",
|
|
8
|
+
"PROVIDER_INTERNAL",
|
|
9
|
+
"SWIFT",
|
|
10
|
+
"REV",
|
|
11
|
+
] as const
|
|
12
|
+
export type StatementTransferSpecificType = typeof statementTransferSpecificType[number]
|
|
13
|
+
|
|
14
|
+
export namespace StatementTransferSpecificType {
|
|
15
|
+
export function is(value: unknown): value is StatementTransferSpecificType {
|
|
16
|
+
return typeof value == "string" && statementTransferSpecificType.includes(value as StatementTransferSpecificType)
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -2,8 +2,8 @@ export interface SummaryBookingInfoResponse {
|
|
|
2
2
|
leadPassengerName?: string
|
|
3
3
|
agentBookingReference?: string
|
|
4
4
|
type: "SUMMARY"
|
|
5
|
-
bookingInfoIdentifier
|
|
6
|
-
trackingId
|
|
5
|
+
bookingInfoIdentifier?: string
|
|
6
|
+
trackingId?: string
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export namespace SummaryBookingInfoResponse {
|
|
@@ -13,8 +13,8 @@ export namespace SummaryBookingInfoResponse {
|
|
|
13
13
|
value.type == "SUMMARY" &&
|
|
14
14
|
(value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
|
|
15
15
|
(value.agentBookingReference == undefined || typeof value.agentBookingReference == "string") &&
|
|
16
|
-
typeof value.bookingInfoIdentifier == "string" &&
|
|
17
|
-
typeof value.trackingId == "string"
|
|
16
|
+
(value.bookingInfoIdentifier == undefined || typeof value.bookingInfoIdentifier == "string") &&
|
|
17
|
+
(value.trackingId == undefined || typeof value.trackingId == "string")
|
|
18
18
|
)
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse"
|
|
2
|
+
import { BeneficiaryTransferDestinationResponse } from "./BeneficiaryTransferDestinationResponse"
|
|
3
|
+
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2"
|
|
4
|
+
|
|
5
|
+
export type TransferDestinationResponse =
|
|
6
|
+
| BeneficiaryTransferDestinationResponse
|
|
7
|
+
| AccountDetailsTransferDestinationResponse
|
|
8
|
+
| FundingAccountResponseV2
|
|
9
|
+
|
|
10
|
+
export namespace TransferDestinationResponse {
|
|
11
|
+
export function is(value: TransferDestinationResponse | any): value is TransferDestinationResponse {
|
|
12
|
+
return (
|
|
13
|
+
BeneficiaryTransferDestinationResponse.is(value) ||
|
|
14
|
+
AccountDetailsTransferDestinationResponse.is(value) ||
|
|
15
|
+
FundingAccountResponseV2.is(value)
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountResponse } from "./AccountResponse"
|
|
2
2
|
import { BeneficiaryResponse } from "./BeneficiaryResponse"
|
|
3
|
+
import { BookingInfoResponse } from "./BookingInfoResponse"
|
|
3
4
|
import { ProviderCode } from "./ProviderCode"
|
|
4
5
|
import { TransferDestinationInfo } from "./TransferDestinationInfo"
|
|
5
6
|
import { TransferStatus } from "./TransferStatus"
|
|
@@ -18,6 +19,7 @@ export interface TransferResponse {
|
|
|
18
19
|
providerTransferId?: string
|
|
19
20
|
scheduled?: boolean
|
|
20
21
|
errorDescription?: string
|
|
22
|
+
bookingInfo?: BookingInfoResponse
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
export namespace TransferResponse {
|
|
@@ -36,7 +38,8 @@ export namespace TransferResponse {
|
|
|
36
38
|
(value.providerCode == undefined || ProviderCode.is(value.providerCode)) &&
|
|
37
39
|
(value.providerTransferId == undefined || typeof value.providerTransferId == "string") &&
|
|
38
40
|
(value.scheduled == undefined || typeof value.scheduled == "boolean") &&
|
|
39
|
-
(value.errorDescription == undefined || typeof value.errorDescription == "string")
|
|
41
|
+
(value.errorDescription == undefined || typeof value.errorDescription == "string") &&
|
|
42
|
+
(value.bookingInfo == undefined || BookingInfoResponse.is(value.bookingInfo))
|
|
40
43
|
)
|
|
41
44
|
}
|
|
42
45
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Currency, Date } from "isoly"
|
|
2
|
+
import { BookingInfoResponse } from "./BookingInfoResponse"
|
|
3
|
+
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2"
|
|
4
|
+
import { ProviderCode } from "./ProviderCode"
|
|
5
|
+
import { TransferDestinationResponse } from "./TransferDestinationResponse"
|
|
6
|
+
import { TransferStatus } from "./TransferStatus"
|
|
7
|
+
|
|
8
|
+
export interface TransferResponseV2 {
|
|
9
|
+
providerCode: ProviderCode
|
|
10
|
+
providerTransferId: string
|
|
11
|
+
amount: number
|
|
12
|
+
currency: Currency
|
|
13
|
+
status: TransferStatus
|
|
14
|
+
errorMessage?: string
|
|
15
|
+
createdDate: Date
|
|
16
|
+
paymentDate?: Date
|
|
17
|
+
reference: string
|
|
18
|
+
source: FundingAccountResponseV2
|
|
19
|
+
destination: TransferDestinationResponse
|
|
20
|
+
bookingInfo?: BookingInfoResponse
|
|
21
|
+
createdBy: string
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export namespace TransferResponseV2 {
|
|
25
|
+
export function is(value: TransferResponseV2 | any): value is TransferResponseV2 {
|
|
26
|
+
return (
|
|
27
|
+
typeof value == "object" &&
|
|
28
|
+
ProviderCode.is(value.providerCode) &&
|
|
29
|
+
typeof value.providerTransferId == "string" &&
|
|
30
|
+
typeof value.amount == "number" &&
|
|
31
|
+
Currency.is(value.currency) &&
|
|
32
|
+
TransferStatus.is(value.status) &&
|
|
33
|
+
(value.errorMessage == undefined || typeof value.errorMessage == "string") &&
|
|
34
|
+
Date.is(value.createdDate) &&
|
|
35
|
+
(value.paymentDate == undefined || Date.is(value.paymentDate)) &&
|
|
36
|
+
typeof value.reference == "string" &&
|
|
37
|
+
FundingAccountResponseV2.is(value.source) &&
|
|
38
|
+
TransferDestinationResponse.is(value.destination) &&
|
|
39
|
+
(value.bookingInfo == undefined || BookingInfoResponse.is(value.bookingInfo)) &&
|
|
40
|
+
typeof value.createdBy == "string"
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface TransferResponseV2Summary {
|
|
2
|
+
reference: string
|
|
3
|
+
createdBy: string
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export namespace TransferResponseV2Summary {
|
|
7
|
+
export function is(value: TransferResponseV2Summary | any): value is TransferResponseV2Summary {
|
|
8
|
+
return typeof value == "object" && typeof value.reference == "string" && typeof value.createdBy == "string"
|
|
9
|
+
}
|
|
10
|
+
}
|
package/model/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountBankResponse } from "./AccountBankResponse"
|
|
2
2
|
import { AccountCreationRequest } from "./AccountCreationRequest"
|
|
3
|
+
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse"
|
|
3
4
|
import { AccountIdentifierResponse } from "./AccountIdentifierResponse"
|
|
4
5
|
import { AccountResponse } from "./AccountResponse"
|
|
5
6
|
import { AccountSearchRequest } from "./AccountSearchRequest"
|
|
@@ -13,6 +14,7 @@ import { AmountPair } from "./AmountPair"
|
|
|
13
14
|
import { BeneficiaryRequest } from "./BeneficiaryRequest"
|
|
14
15
|
import { BeneficiaryResponse } from "./BeneficiaryResponse"
|
|
15
16
|
import { BeneficiaryStatus } from "./BeneficiaryStatus"
|
|
17
|
+
import { BeneficiaryTransferDestinationResponse } from "./BeneficiaryTransferDestinationResponse"
|
|
16
18
|
import { BillingTransactionAmountPair } from "./BillingTransactionAmountPair"
|
|
17
19
|
import { BookedProductInfo } from "./BookedProductInfo"
|
|
18
20
|
import { BookingInfo } from "./BookingInfo"
|
|
@@ -125,13 +127,17 @@ import { StatementReportRowType } from "./StatementReportRowType"
|
|
|
125
127
|
import { StatementReportUrlRequest } from "./StatementReportUrlRequest"
|
|
126
128
|
import { StatementReportUrlResponse } from "./StatementReportUrlResponse"
|
|
127
129
|
import { StatementRowIds } from "./StatementRowIds"
|
|
130
|
+
import { StatementTransferSpecificType } from "./StatementTransferSpecificType"
|
|
128
131
|
import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse"
|
|
129
132
|
import { SupplierBookingInfo } from "./SupplierBookingInfo"
|
|
130
133
|
import { TransactionResponse } from "./TransactionResponse"
|
|
131
134
|
import { TransactionType } from "./TransactionType"
|
|
132
135
|
import { TransferDestinationInfo } from "./TransferDestinationInfo"
|
|
136
|
+
import { TransferDestinationResponse } from "./TransferDestinationResponse"
|
|
133
137
|
import { TransferRequest } from "./TransferRequest"
|
|
134
138
|
import { TransferResponse } from "./TransferResponse"
|
|
139
|
+
import { TransferResponseV2 } from "./TransferResponseV2"
|
|
140
|
+
import { TransferResponseV2Summary } from "./TransferResponseV2Summary"
|
|
135
141
|
import { TransferSearch } from "./TransferSearch"
|
|
136
142
|
import { TransferStatus } from "./TransferStatus"
|
|
137
143
|
import { TravelPartyInfo } from "./TravelPartyInfo"
|
|
@@ -156,6 +162,7 @@ import { YearMonth } from "./YearMonth"
|
|
|
156
162
|
export {
|
|
157
163
|
AccountBankResponse,
|
|
158
164
|
AccountCreationRequest,
|
|
165
|
+
AccountDetailsTransferDestinationResponse,
|
|
159
166
|
AccountIdentifierResponse,
|
|
160
167
|
AccountResponse,
|
|
161
168
|
AccountSearchRequest,
|
|
@@ -169,6 +176,7 @@ export {
|
|
|
169
176
|
BeneficiaryRequest,
|
|
170
177
|
BeneficiaryResponse,
|
|
171
178
|
BeneficiaryStatus,
|
|
179
|
+
BeneficiaryTransferDestinationResponse,
|
|
172
180
|
BillingTransactionAmountPair,
|
|
173
181
|
BookedProductInfo,
|
|
174
182
|
BookingInfo,
|
|
@@ -281,13 +289,17 @@ export {
|
|
|
281
289
|
StatementReportRowActionType,
|
|
282
290
|
StatementReportRowType,
|
|
283
291
|
StatementRowIds,
|
|
292
|
+
StatementTransferSpecificType,
|
|
284
293
|
SummaryBookingInfoResponse,
|
|
285
294
|
SupplierBookingInfo,
|
|
286
295
|
TransactionResponse,
|
|
287
296
|
TransactionType,
|
|
288
297
|
TransferDestinationInfo,
|
|
298
|
+
TransferDestinationResponse,
|
|
289
299
|
TransferRequest,
|
|
290
300
|
TransferResponse,
|
|
301
|
+
TransferResponseV2,
|
|
302
|
+
TransferResponseV2Summary,
|
|
291
303
|
TransferSearch,
|
|
292
304
|
TransferStatus,
|
|
293
305
|
TravelPartyInfo,
|