@pax2pay/client 0.0.91 → 0.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { Client } from "./Client";
2
- import { AccountCreationRequest, AccountResponse, AccountSearchRequest, 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, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth } from "./model";
3
+ export { Client, AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
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, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelInfo, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, StatementReportRowActionType, UserResponse, YearMonth, } from "./model";
3
+ export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelInfo, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, StatementReportRowActionType, UserResponse, YearMonth, };
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,EAEN,eAAe,EAEf,YAAY,EACZ,WAAW,EAYX,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,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pB,uBAAuB,EAEvB,SAAS,EAKT,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAYV,4BAA4B,EAuB5B,YAAY,EAGZ,SAAS,GACT,MAAM,SAAS,CAAA;AAEhB,OAAO,EACN,MAAM,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EAYX,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAMb,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EAEvB,SAAS,EAKT,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAYV,4BAA4B,EAuB5B,YAAY,EAGZ,SAAS,GACT,CAAA"}
@@ -0,0 +1,9 @@
1
+ export interface AccountBankResponse {
2
+ bankEntity?: string;
3
+ address?: string;
4
+ city?: string;
5
+ country?: string;
6
+ }
7
+ export declare namespace AccountBankResponse {
8
+ function is(value: AccountBankResponse | any): value is AccountBankResponse;
9
+ }
@@ -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?: number;
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
- (value.id == undefined || typeof value.id == "number") &&
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,CAAC,KAAK,CAAC,EAAE,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,EAAE,IAAI,QAAQ,CAAC;YACtD,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,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AE,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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D,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"}
@@ -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,7 +1,10 @@
1
+ import { AccountBankResponse } from "./AccountBankResponse";
1
2
  import { AccountCreationRequest } from "./AccountCreationRequest";
3
+ import { AccountIdentifierResponse } from "./AccountIdentifierResponse";
2
4
  import { AccountResponse } from "./AccountResponse";
3
5
  import { AccountSearchRequest } from "./AccountSearchRequest";
4
6
  import { AccountState } from "./AccountState";
7
+ import { AccountSummary } from "./AccountSummary";
5
8
  import { AccountType } from "./AccountType";
6
9
  import { AddressInfo } from "./AddressInfo";
7
10
  import { AgentBookingInfo } from "./AgentBookingInfo";
@@ -53,6 +56,7 @@ import { FiveFieldsBookingInfoResponse } from "./FiveFieldsBookingInfoResponse";
53
56
  import { FlightBookingInfoRequest } from "./FlightBookingInfoRequest";
54
57
  import { FlightBookingInfoResponse } from "./FlightBookingInfoResponse";
55
58
  import { FlightInfo } from "./FlightInfo";
59
+ import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType";
56
60
  import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccountInboundTransferNotificationConfig";
57
61
  import { FundingAccountResponseV2 } from "./FundingAccountResponseV2";
58
62
  import { FundingAccountSearchRequest } from "./FundingAccountSearchRequest";
@@ -125,4 +129,4 @@ import { UserResponse } from "./UserResponse";
125
129
  import { UserRoleResponse } from "./UserRoleResponse";
126
130
  import { UserSearchRequest } from "./UserSearchRequest";
127
131
  import { YearMonth } from "./YearMonth";
128
- export { 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, };
132
+ export { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
@@ -1,5 +1,8 @@
1
+ import { AccountBankResponse } from "./AccountBankResponse";
2
+ import { AccountIdentifierResponse } from "./AccountIdentifierResponse";
1
3
  import { AccountResponse } from "./AccountResponse";
2
4
  import { AccountState } from "./AccountState";
5
+ import { AccountSummary } from "./AccountSummary";
3
6
  import { AccountType } from "./AccountType";
4
7
  import { BookingInfoType } from "./BookingInfoType";
5
8
  import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
@@ -16,6 +19,7 @@ import { CardTypeSpecification } from "./CardTypeSpecification";
16
19
  import { CardTypeSpecificationFlag } from "./CardTypeSpecificationFlag";
17
20
  import { ErrorMessageDto } from "./ErrorMessageDto";
18
21
  import { ErrorResponse } from "./ErrorResponse";
22
+ import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType";
19
23
  import { FundingAccountResponseV2 } from "./FundingAccountResponseV2";
20
24
  import { FundingLimitResponse } from "./FundingLimitResponse";
21
25
  import { HotelBookingInfoRequest } from "./HotelBookingInfoRequest";
@@ -31,5 +35,5 @@ import { References } from "./References";
31
35
  import { StatementReportRowActionType } from "./StatementReportRowActionType";
32
36
  import { UserResponse } from "./UserResponse";
33
37
  import { YearMonth } from "./YearMonth";
34
- export { 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, };
38
+ export { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelInfo, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, StatementReportRowActionType, UserResponse, YearMonth, };
35
39
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAY3C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAA;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAu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CAAA;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAYzC,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAuB7E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EAYX,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAMb,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EAEvB,SAAS,EAKT,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAYV,4BAA4B,EAuB5B,YAAY,EAGZ,SAAS,GACT,CAAA"}
package/index.ts CHANGED
@@ -1,9 +1,12 @@
1
1
  import { Client } from "./Client"
2
2
  import {
3
+ AccountBankResponse,
3
4
  AccountCreationRequest,
5
+ AccountIdentifierResponse,
4
6
  AccountResponse,
5
7
  AccountSearchRequest,
6
8
  AccountState,
9
+ AccountSummary,
7
10
  AccountType,
8
11
  AddressInfo,
9
12
  AgentBookingInfo,
@@ -55,6 +58,7 @@ import {
55
58
  FlightBookingInfoRequest,
56
59
  FlightBookingInfoResponse,
57
60
  FlightInfo,
61
+ FundingAccountIdentifierType,
58
62
  FundingAccountInboundTransferNotificationConfig,
59
63
  FundingAccountResponseV2,
60
64
  FundingAccountSearchRequest,
@@ -131,10 +135,13 @@ import {
131
135
 
132
136
  export {
133
137
  Client,
138
+ AccountBankResponse,
134
139
  AccountCreationRequest,
140
+ AccountIdentifierResponse,
135
141
  AccountResponse,
136
142
  AccountSearchRequest,
137
143
  AccountState,
144
+ AccountSummary,
138
145
  AccountType,
139
146
  AddressInfo,
140
147
  AgentBookingInfo,
@@ -186,6 +193,7 @@ export {
186
193
  FlightBookingInfoRequest,
187
194
  FlightBookingInfoResponse,
188
195
  FlightInfo,
196
+ FundingAccountIdentifierType,
189
197
  FundingAccountInboundTransferNotificationConfig,
190
198
  FundingAccountResponseV2,
191
199
  FundingAccountSearchRequest,
@@ -0,0 +1,18 @@
1
+ export interface AccountBankResponse {
2
+ bankEntity?: string
3
+ address?: string
4
+ city?: string
5
+ country?: string
6
+ }
7
+
8
+ export namespace AccountBankResponse {
9
+ export function is(value: AccountBankResponse | any): value is AccountBankResponse {
10
+ return (
11
+ typeof value == "object" &&
12
+ (value.bankEntity == undefined || typeof value.bankEntity == "string") &&
13
+ (value.address == undefined || typeof value.address == "string") &&
14
+ (value.city == undefined || typeof value.city == "string") &&
15
+ (value.country == undefined || typeof value.country == "string")
16
+ )
17
+ }
18
+ }
@@ -0,0 +1,22 @@
1
+ import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType"
2
+
3
+ export interface AccountIdentifierResponse {
4
+ type?: FundingAccountIdentifierType
5
+ accountNumber?: string
6
+ bic?: string
7
+ iban?: string
8
+ sortCode?: string
9
+ }
10
+
11
+ export namespace AccountIdentifierResponse {
12
+ export function is(value: AccountIdentifierResponse | any): value is AccountIdentifierResponse {
13
+ return (
14
+ typeof value == "object" &&
15
+ (value.type == undefined || FundingAccountIdentifierType.is(value.type)) &&
16
+ (value.accountNumber == undefined || typeof value.accountNumber == "string") &&
17
+ (value.bic == undefined || typeof value.bic == "string") &&
18
+ (value.iban == undefined || typeof value.iban == "string") &&
19
+ (value.sortCode == undefined || typeof value.sortCode == "string")
20
+ )
21
+ }
22
+ }
@@ -8,7 +8,7 @@ import { ProviderResponse } from "./ProviderResponse"
8
8
  * The funding accounts created
9
9
  */
10
10
  export interface AccountResponse {
11
- id?: number
11
+ id: number
12
12
  providerAccountId: string
13
13
  provider: ProviderResponse
14
14
  organisation: OrganisationResponse
@@ -27,7 +27,7 @@ export namespace AccountResponse {
27
27
  export function is(value: AccountResponse | any): value is AccountResponse {
28
28
  return (
29
29
  typeof value == "object" &&
30
- (value.id == undefined || typeof value.id == "number") &&
30
+ typeof value.id == "number" &&
31
31
  typeof value.providerAccountId == "string" &&
32
32
  ProviderResponse.is(value.provider) &&
33
33
  OrganisationResponse.is(value.organisation) &&
@@ -0,0 +1,51 @@
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
+
10
+ export interface AccountSummary {
11
+ providerAccountId: string
12
+ providerCode: ProviderCode
13
+ accountType: AccountType
14
+ createdOn: isoly.DateTime
15
+ createdBy: string
16
+ state: AccountState
17
+ friendlyName: string
18
+ accountBankDetails?: AccountBankResponse
19
+ organisation: OrganisationResponse
20
+ currency: isoly.Currency
21
+ balance: number
22
+ pendingBalance: number
23
+ totalCardAvailableBalance: number
24
+ lastUpdatedCardBalanceOn?: isoly.DateTime
25
+ fundingLimit?: FundingLimitResponse
26
+ accountIdentifierResponse?: AccountIdentifierResponse
27
+ }
28
+
29
+ export namespace AccountSummary {
30
+ export function is(value: AccountSummary | any): value is AccountSummary {
31
+ return (
32
+ typeof value == "object" &&
33
+ typeof value.providerAccountId == "string" &&
34
+ ProviderCode.is(value.providerCode) &&
35
+ AccountType.is(value.accountType) &&
36
+ isoly.DateTime.is(value.createdOn) &&
37
+ typeof value.createdBy == "string" &&
38
+ AccountState.is(value.state) &&
39
+ typeof value.friendlyName == "string" &&
40
+ (value.accountBankDetails == undefined || AccountBankResponse.is(value.accountBankDetails)) &&
41
+ OrganisationResponse.is(value.organisation) &&
42
+ isoly.Currency.is(value.currency) &&
43
+ typeof value.balance == "number" &&
44
+ typeof value.pendingBalance == "number" &&
45
+ typeof value.totalCardAvailableBalance == "number" &&
46
+ (value.lastUpdatedCardBalanceOn == undefined || isoly.DateTime.is(value.lastUpdatedCardBalanceOn)) &&
47
+ (value.fundingLimit == undefined || FundingLimitResponse.is(value.fundingLimit)) &&
48
+ (value.accountIdentifierResponse == undefined || AccountIdentifierResponse.is(value.accountIdentifierResponse))
49
+ )
50
+ }
51
+ }
@@ -0,0 +1,9 @@
1
+ const fundingAccountIdentifierType = ["SCAN", "IBAN", "UNKNOWN"] as const
2
+
3
+ export type FundingAccountIdentifierType = typeof fundingAccountIdentifierType[number]
4
+
5
+ export namespace FundingAccountIdentifierType {
6
+ export function is(value: unknown): value is FundingAccountIdentifierType {
7
+ return typeof value == "string" && fundingAccountIdentifierType.includes(value as FundingAccountIdentifierType)
8
+ }
9
+ }
package/model/index.ts CHANGED
@@ -1,7 +1,10 @@
1
+ import { AccountBankResponse } from "./AccountBankResponse"
1
2
  import { AccountCreationRequest } from "./AccountCreationRequest"
3
+ import { AccountIdentifierResponse } from "./AccountIdentifierResponse"
2
4
  import { AccountResponse } from "./AccountResponse"
3
5
  import { AccountSearchRequest } from "./AccountSearchRequest"
4
6
  import { AccountState } from "./AccountState"
7
+ import { AccountSummary } from "./AccountSummary"
5
8
  import { AccountType } from "./AccountType"
6
9
  import { AddressInfo } from "./AddressInfo"
7
10
  import { AgentBookingInfo } from "./AgentBookingInfo"
@@ -53,6 +56,7 @@ import { FiveFieldsBookingInfoResponse } from "./FiveFieldsBookingInfoResponse"
53
56
  import { FlightBookingInfoRequest } from "./FlightBookingInfoRequest"
54
57
  import { FlightBookingInfoResponse } from "./FlightBookingInfoResponse"
55
58
  import { FlightInfo } from "./FlightInfo"
59
+ import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType"
56
60
  import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccountInboundTransferNotificationConfig"
57
61
  import { FundingAccountResponseV2 } from "./FundingAccountResponseV2"
58
62
  import { FundingAccountSearchRequest } from "./FundingAccountSearchRequest"
@@ -127,10 +131,13 @@ import { UserSearchRequest } from "./UserSearchRequest"
127
131
  import { YearMonth } from "./YearMonth"
128
132
 
129
133
  export {
134
+ AccountBankResponse,
130
135
  AccountCreationRequest,
136
+ AccountIdentifierResponse,
131
137
  AccountResponse,
132
138
  AccountSearchRequest,
133
139
  AccountState,
140
+ AccountSummary,
134
141
  AccountType,
135
142
  AddressInfo,
136
143
  AgentBookingInfo,
@@ -182,6 +189,7 @@ export {
182
189
  FlightBookingInfoRequest,
183
190
  FlightBookingInfoResponse,
184
191
  FlightInfo,
192
+ FundingAccountIdentifierType,
185
193
  FundingAccountInboundTransferNotificationConfig,
186
194
  FundingAccountResponseV2,
187
195
  FundingAccountSearchRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.0.91",
3
+ "version": "0.0.93",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",