@pax2pay/client 0.0.89 → 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/Client/Reports/index.ts +3 -3
- package/dist/Client/Reports/index.d.ts +1 -1
- 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/AccountBankResponse.d.ts +9 -0
- package/dist/model/AccountBankResponse.js +12 -0
- package/dist/model/AccountBankResponse.js.map +1 -0
- package/dist/model/AccountIdentifierResponse.d.ts +11 -0
- package/dist/model/AccountIdentifierResponse.js +14 -0
- package/dist/model/AccountIdentifierResponse.js.map +1 -0
- package/dist/model/AccountResponse.d.ts +9 -3
- package/dist/model/AccountResponse.js +26 -1
- package/dist/model/AccountResponse.js.map +1 -1
- package/dist/model/AccountState.d.ts +6 -0
- package/dist/model/AccountState.js +19 -0
- package/dist/model/AccountState.js.map +1 -0
- package/dist/model/AccountSummary.d.ts +29 -0
- package/dist/model/AccountSummary.js +32 -0
- package/dist/model/AccountSummary.js.map +1 -0
- package/dist/model/AccountType.d.ts +6 -0
- package/dist/model/AccountType.js +9 -0
- package/dist/model/AccountType.js.map +1 -0
- package/dist/model/AmountPair.d.ts +5 -0
- package/dist/model/AmountPair.js +2 -0
- package/dist/model/AmountPair.js.map +1 -0
- package/dist/model/BillingTransactionAmountPair.d.ts +6 -0
- package/dist/model/BillingTransactionAmountPair.js +2 -0
- package/dist/model/BillingTransactionAmountPair.js.map +1 -0
- package/dist/model/BookingInfoResponse.d.ts +2 -1
- package/dist/model/FundingAccountIdentifierType.d.ts +6 -0
- package/dist/model/FundingAccountIdentifierType.js +9 -0
- package/dist/model/FundingAccountIdentifierType.js.map +1 -0
- package/dist/model/FundingLimitResponse.d.ts +3 -0
- package/dist/model/FundingLimitResponse.js +12 -1
- package/dist/model/FundingLimitResponse.js.map +1 -1
- package/dist/model/{AccountStatementRequest.d.ts → StatementReportRequest.d.ts} +1 -1
- package/dist/model/StatementReportRequest.js +2 -0
- package/dist/model/StatementReportRequest.js.map +1 -0
- package/dist/model/StatementReportResponse.d.ts +8 -0
- package/dist/model/StatementReportResponse.js +2 -0
- package/dist/model/StatementReportResponse.js.map +1 -0
- package/dist/model/StatementReportResponseRow.d.ts +21 -0
- package/dist/model/StatementReportResponseRow.js +2 -0
- package/dist/model/StatementReportResponseRow.js.map +1 -0
- package/dist/model/StatementReportRowActionType.d.ts +6 -0
- package/dist/model/StatementReportRowActionType.js +18 -0
- package/dist/model/StatementReportRowActionType.js.map +1 -0
- package/dist/model/StatementReportRowType.d.ts +1 -0
- package/dist/model/StatementReportRowType.js +2 -0
- package/dist/model/StatementReportRowType.js.map +1 -0
- package/dist/model/StatementRowIds.d.ts +7 -0
- package/dist/model/StatementRowIds.js +2 -0
- package/dist/model/StatementRowIds.js.map +1 -0
- package/dist/model/SummaryBookingInfoResponse.d.ts +7 -0
- package/dist/model/SummaryBookingInfoResponse.js +2 -0
- package/dist/model/SummaryBookingInfoResponse.js.map +1 -0
- package/dist/model/index.d.ts +16 -5
- package/dist/model/index.js +10 -2
- package/dist/model/index.js.map +1 -1
- package/index.ts +30 -8
- package/model/AccountBankResponse.ts +18 -0
- package/model/AccountIdentifierResponse.ts +22 -0
- package/model/AccountResponse.ts +27 -3
- package/model/AccountState.ts +19 -0
- package/model/AccountSummary.ts +51 -0
- package/model/AccountType.ts +9 -0
- package/model/AmountPair.ts +6 -0
- package/model/BillingTransactionAmountPair.ts +7 -0
- package/model/BookingInfoResponse.ts +2 -0
- package/model/FundingAccountIdentifierType.ts +9 -0
- package/model/FundingLimitResponse.ts +13 -0
- package/model/{AccountStatementRequest.ts → StatementReportRequest.ts} +1 -1
- package/model/StatementReportResponse.ts +9 -0
- package/model/StatementReportResponseRow.ts +22 -0
- package/model/StatementReportRowActionType.ts +17 -0
- package/model/StatementReportRowType.ts +1 -0
- package/model/StatementRowIds.ts +8 -0
- package/model/SummaryBookingInfoResponse.ts +7 -0
- package/model/index.ts +30 -8
- package/package.json +1 -1
- package/dist/model/AccountStatementRequest.js +0 -2
- package/dist/model/AccountStatementRequest.js.map +0 -1
- package/dist/model/AccountStatementResponse.d.ts +0 -8
- package/dist/model/AccountStatementResponse.js +0 -2
- package/dist/model/AccountStatementResponse.js.map +0 -1
- package/dist/model/AccountStatementResponseItem.d.ts +0 -29
- package/dist/model/AccountStatementResponseItem.js +0 -2
- package/dist/model/AccountStatementResponseItem.js.map +0 -1
- package/dist/model/AccountStatementTransactionType.d.ts +0 -6
- package/dist/model/AccountStatementTransactionType.js +0 -18
- package/dist/model/AccountStatementTransactionType.js.map +0 -1
- package/model/AccountStatementResponse.ts +0 -9
- package/model/AccountStatementResponseItem.ts +0 -34
- package/model/AccountStatementTransactionType.ts +0 -19
package/Client/Reports/index.ts
CHANGED
|
@@ -32,13 +32,13 @@ export class Reports {
|
|
|
32
32
|
return await this.connection.post<model.Report.Statement>(`../reports/statement`, request)
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
statementForTable(request: model.
|
|
36
|
-
| model.
|
|
35
|
+
statementForTable(request: model.StatementReportRequest): Promise<
|
|
36
|
+
| model.StatementReportResponse
|
|
37
37
|
| (model.ErrorResponse & {
|
|
38
38
|
status: 400 | 403 | 404 | 500 | 503
|
|
39
39
|
})
|
|
40
40
|
> {
|
|
41
|
-
return this.connection.post<model.
|
|
41
|
+
return this.connection.post<model.StatementReportResponse>(`statement`, request)
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
static create(connection: Connection) {
|
|
@@ -10,7 +10,7 @@ export declare class Reports {
|
|
|
10
10
|
statement(start: isoly.DateTime, end: isoly.DateTime, account: string): Promise<model.Report.Statement | (model.ErrorResponse & {
|
|
11
11
|
status: 400 | 404 | 500 | 403 | 503;
|
|
12
12
|
})>;
|
|
13
|
-
statementForTable(request: model.
|
|
13
|
+
statementForTable(request: model.StatementReportRequest): Promise<model.StatementReportResponse | (model.ErrorResponse & {
|
|
14
14
|
status: 400 | 403 | 404 | 500 | 503;
|
|
15
15
|
})>;
|
|
16
16
|
static create(connection: Connection): Reports;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Reports/index.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,OAAO;IACnB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;IAEvD,KAAK,CAAC,cAAc,CAAC,KAAqB,EAAE,GAAmB;QAC9D,MAAM,OAAO,GAAG;YACf,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;YAChC,IAAI,EAAE,KAAK;YACX,EAAE,EAAE,GAAG;YACP,MAAM,EAAE;gBACP,IAAI,EAAE,MAAM;aACZ;SACD,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA8B,2BAA2B,EAAE,OAAO,CAAC,CAAA;IACrG,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,KAAqB,EAAE,GAAmB,EAAE,OAAe;QAC1E,MAAM,OAAO,GAAG;YACf,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;YAChC,IAAI,EAAE,KAAK;YACX,EAAE,EAAE,GAAG;YACP,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE;gBACP,IAAI,EAAE,MAAM;aACZ;SACD,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAyB,sBAAsB,EAAE,OAAO,CAAC,CAAA;IAC3F,CAAC;IAED,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Reports/index.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,OAAO;IACnB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;IAEvD,KAAK,CAAC,cAAc,CAAC,KAAqB,EAAE,GAAmB;QAC9D,MAAM,OAAO,GAAG;YACf,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;YAChC,IAAI,EAAE,KAAK;YACX,EAAE,EAAE,GAAG;YACP,MAAM,EAAE;gBACP,IAAI,EAAE,MAAM;aACZ;SACD,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA8B,2BAA2B,EAAE,OAAO,CAAC,CAAA;IACrG,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,KAAqB,EAAE,GAAmB,EAAE,OAAe;QAC1E,MAAM,OAAO,GAAG;YACf,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;YAChC,IAAI,EAAE,KAAK;YACX,EAAE,EAAE,GAAG;YACP,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE;gBACP,IAAI,EAAE,MAAM;aACZ;SACD,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAyB,sBAAsB,EAAE,OAAO,CAAC,CAAA;IAC3F,CAAC;IAED,iBAAiB,CAAC,OAAqC;QAMtD,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAgC,WAAW,EAAE,OAAO,CAAC,CAAA;IACjF,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,CAAA;IAC/B,CAAC;CACD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountCreationRequest, AccountResponse, AccountSearchRequest,
|
|
3
|
-
export { Client, AccountCreationRequest, AccountResponse, AccountSearchRequest,
|
|
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 {
|
|
3
|
-
export { Client,
|
|
2
|
+
import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelInfo, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, StatementReportRowActionType, UserResponse, YearMonth, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelInfo, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, StatementReportRowActionType, UserResponse, YearMonth, };
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EAYX,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAMb,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EAEvB,SAAS,EAKT,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAYV,4BAA4B,EAuB5B,YAAY,EAGZ,SAAS,GACT,MAAM,SAAS,CAAA;AAEhB,OAAO,EACN,MAAM,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EAYX,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAMb,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EAEvB,SAAS,EAKT,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAYV,4BAA4B,EAuB5B,YAAY,EAGZ,SAAS,GACT,CAAA"}
|
|
@@ -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"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
import { AccountState } from "./AccountState";
|
|
3
|
+
import { AccountType } from "./AccountType";
|
|
1
4
|
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
2
5
|
import { OrganisationResponse } from "./OrganisationResponse";
|
|
3
6
|
import { ProviderResponse } from "./ProviderResponse";
|
|
@@ -6,13 +9,16 @@ export interface AccountResponse {
|
|
|
6
9
|
providerAccountId: string;
|
|
7
10
|
provider: ProviderResponse;
|
|
8
11
|
organisation: OrganisationResponse;
|
|
9
|
-
currency:
|
|
10
|
-
state:
|
|
12
|
+
currency: isoly.Currency;
|
|
13
|
+
state: AccountState;
|
|
11
14
|
friendlyName: string;
|
|
12
15
|
balance: number;
|
|
13
16
|
actualBalance?: number;
|
|
14
|
-
accountType:
|
|
17
|
+
accountType: AccountType;
|
|
15
18
|
fundingLimit?: FundingLimitResponse;
|
|
16
19
|
updatedOn: string;
|
|
17
20
|
createdOn?: string;
|
|
18
21
|
}
|
|
22
|
+
export declare namespace AccountResponse {
|
|
23
|
+
function is(value: AccountResponse | any): value is AccountResponse;
|
|
24
|
+
}
|
|
@@ -1,2 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
import { AccountState } from "./AccountState";
|
|
3
|
+
import { AccountType } from "./AccountType";
|
|
4
|
+
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
5
|
+
import { OrganisationResponse } from "./OrganisationResponse";
|
|
6
|
+
import { ProviderResponse } from "./ProviderResponse";
|
|
7
|
+
export var AccountResponse;
|
|
8
|
+
(function (AccountResponse) {
|
|
9
|
+
function is(value) {
|
|
10
|
+
return (typeof value == "object" &&
|
|
11
|
+
typeof value.id == "number" &&
|
|
12
|
+
typeof value.providerAccountId == "string" &&
|
|
13
|
+
ProviderResponse.is(value.provider) &&
|
|
14
|
+
OrganisationResponse.is(value.organisation) &&
|
|
15
|
+
isoly.Currency.is(value.currency) &&
|
|
16
|
+
AccountState.is(value.state) &&
|
|
17
|
+
typeof value.friendlyName == "string" &&
|
|
18
|
+
typeof value.balance == "number" &&
|
|
19
|
+
(value.actualBalance == undefined || typeof value.actualBalance == "number") &&
|
|
20
|
+
AccountType.is(value.accountType) &&
|
|
21
|
+
(value.fundingLimit == undefined || FundingLimitResponse.is(value.fundingLimit)) &&
|
|
22
|
+
typeof value.updatedOn == "string" &&
|
|
23
|
+
(value.createdOn == undefined || typeof value.createdOn == "string"));
|
|
24
|
+
}
|
|
25
|
+
AccountResponse.is = is;
|
|
26
|
+
})(AccountResponse || (AccountResponse = {}));
|
|
2
27
|
//# sourceMappingURL=AccountResponse.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountResponse.js","sourceRoot":"../","sources":["model/AccountResponse.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"AccountResponse.js","sourceRoot":"../","sources":["model/AccountResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAoBrD,MAAM,KAAW,eAAe,CAmB/B;AAnBD,WAAiB,eAAe;IAC/B,SAAgB,EAAE,CAAC,KAA4B;QAC9C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,EAAE,IAAI,QAAQ;YAC3B,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ;YAC1C,gBAAgB,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YACnC,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YAC3C,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YACjC,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;YAC5B,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ;YACrC,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ;YAChC,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ,CAAC;YAC5E,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;YACjC,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAChF,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ;YAClC,CAAC,KAAK,CAAC,SAAS,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ,CAAC,CACpE,CAAA;IACF,CAAC;IAjBe,kBAAE,KAiBjB,CAAA;AACF,CAAC,EAnBgB,eAAe,KAAf,eAAe,QAmB/B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const accountState: readonly ["ACTIVE", "INACTIVE", "CLOSED", "DELETED", "EXPIRED", "PENDING", "APPROVED", "DECLINED", "GENERATED"];
|
|
2
|
+
export declare type AccountState = typeof accountState[number];
|
|
3
|
+
export declare namespace AccountState {
|
|
4
|
+
function is(value: unknown): value is AccountState;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const accountState = [
|
|
2
|
+
"ACTIVE",
|
|
3
|
+
"INACTIVE",
|
|
4
|
+
"CLOSED",
|
|
5
|
+
"DELETED",
|
|
6
|
+
"EXPIRED",
|
|
7
|
+
"PENDING",
|
|
8
|
+
"APPROVED",
|
|
9
|
+
"DECLINED",
|
|
10
|
+
"GENERATED",
|
|
11
|
+
];
|
|
12
|
+
export var AccountState;
|
|
13
|
+
(function (AccountState) {
|
|
14
|
+
function is(value) {
|
|
15
|
+
return typeof value == "string" && accountState.includes(value);
|
|
16
|
+
}
|
|
17
|
+
AccountState.is = is;
|
|
18
|
+
})(AccountState || (AccountState = {}));
|
|
19
|
+
//# sourceMappingURL=AccountState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountState.js","sourceRoot":"../","sources":["model/AccountState.ts"],"names":[],"mappings":"AAAA,MAAM,YAAY,GAAG;IACpB,QAAQ;IACR,UAAU;IACV,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;IACT,UAAU;IACV,UAAU;IACV,WAAW;CACF,CAAA;AAIV,MAAM,KAAW,YAAY,CAI5B;AAJD,WAAiB,YAAY;IAC5B,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,YAAY,CAAC,QAAQ,CAAC,KAAqB,CAAC,CAAA;IAChF,CAAC;IAFe,eAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,YAAY,KAAZ,YAAY,QAI5B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
import { AccountBankResponse } from "./AccountBankResponse";
|
|
3
|
+
import { AccountIdentifierResponse } from "./AccountIdentifierResponse";
|
|
4
|
+
import { AccountState } from "./AccountState";
|
|
5
|
+
import { AccountType } from "./AccountType";
|
|
6
|
+
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
7
|
+
import { OrganisationResponse } from "./OrganisationResponse";
|
|
8
|
+
import { ProviderCode } from "./ProviderCode";
|
|
9
|
+
export interface AccountSummary {
|
|
10
|
+
providerAccountId: string;
|
|
11
|
+
providerCode: ProviderCode;
|
|
12
|
+
accountType: AccountType;
|
|
13
|
+
createdOn: isoly.DateTime;
|
|
14
|
+
createdBy: string;
|
|
15
|
+
state: AccountState;
|
|
16
|
+
friendlyName: string;
|
|
17
|
+
accountBankDetails?: AccountBankResponse;
|
|
18
|
+
organisation: OrganisationResponse;
|
|
19
|
+
currency: isoly.Currency;
|
|
20
|
+
balance: number;
|
|
21
|
+
pendingBalance: number;
|
|
22
|
+
totalCardAvailableBalance: number;
|
|
23
|
+
lastUpdatedCardBalanceOn?: isoly.DateTime;
|
|
24
|
+
fundingLimit?: FundingLimitResponse;
|
|
25
|
+
accountIdentifierResponse?: AccountIdentifierResponse;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace AccountSummary {
|
|
28
|
+
function is(value: AccountSummary | any): value is AccountSummary;
|
|
29
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
import { AccountBankResponse } from "./AccountBankResponse";
|
|
3
|
+
import { AccountIdentifierResponse } from "./AccountIdentifierResponse";
|
|
4
|
+
import { AccountState } from "./AccountState";
|
|
5
|
+
import { AccountType } from "./AccountType";
|
|
6
|
+
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
7
|
+
import { OrganisationResponse } from "./OrganisationResponse";
|
|
8
|
+
import { ProviderCode } from "./ProviderCode";
|
|
9
|
+
export var AccountSummary;
|
|
10
|
+
(function (AccountSummary) {
|
|
11
|
+
function is(value) {
|
|
12
|
+
return (typeof value == "object" &&
|
|
13
|
+
typeof value.providerAccountId == "string" &&
|
|
14
|
+
ProviderCode.is(value.providerCode) &&
|
|
15
|
+
AccountType.is(value.accountType) &&
|
|
16
|
+
isoly.DateTime.is(value.createdOn) &&
|
|
17
|
+
typeof value.createdBy == "string" &&
|
|
18
|
+
AccountState.is(value.state) &&
|
|
19
|
+
typeof value.friendlyName == "string" &&
|
|
20
|
+
(value.accountBankDetails == undefined || AccountBankResponse.is(value.accountBankDetails)) &&
|
|
21
|
+
OrganisationResponse.is(value.organisation) &&
|
|
22
|
+
isoly.Currency.is(value.currency) &&
|
|
23
|
+
typeof value.balance == "number" &&
|
|
24
|
+
typeof value.pendingBalance == "number" &&
|
|
25
|
+
typeof value.totalCardAvailableBalance == "number" &&
|
|
26
|
+
(value.lastUpdatedCardBalanceOn == undefined || isoly.DateTime.is(value.lastUpdatedCardBalanceOn)) &&
|
|
27
|
+
(value.fundingLimit == undefined || FundingLimitResponse.is(value.fundingLimit)) &&
|
|
28
|
+
(value.accountIdentifierResponse == undefined || AccountIdentifierResponse.is(value.accountIdentifierResponse)));
|
|
29
|
+
}
|
|
30
|
+
AccountSummary.is = is;
|
|
31
|
+
})(AccountSummary || (AccountSummary = {}));
|
|
32
|
+
//# sourceMappingURL=AccountSummary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountSummary.js","sourceRoot":"../","sources":["model/AccountSummary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAqB7C,MAAM,KAAW,cAAc,CAsB9B;AAtBD,WAAiB,cAAc;IAC9B,SAAgB,EAAE,CAAC,KAA2B;QAC7C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ;YAC1C,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YACnC,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;YACjC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;YAClC,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ;YAClC,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;YAC5B,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ;YACrC,CAAC,KAAK,CAAC,kBAAkB,IAAI,SAAS,IAAI,mBAAmB,CAAC,EAAE,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;YAC3F,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YAC3C,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YACjC,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ;YAChC,OAAO,KAAK,CAAC,cAAc,IAAI,QAAQ;YACvC,OAAO,KAAK,CAAC,yBAAyB,IAAI,QAAQ;YAClD,CAAC,KAAK,CAAC,wBAAwB,IAAI,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;YAClG,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAChF,CAAC,KAAK,CAAC,yBAAyB,IAAI,SAAS,IAAI,yBAAyB,CAAC,EAAE,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAC/G,CAAA;IACF,CAAC;IApBe,iBAAE,KAoBjB,CAAA;AACF,CAAC,EAtBgB,cAAc,KAAd,cAAc,QAsB9B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const accountType = ["FUNDING", "CARD"];
|
|
2
|
+
export var AccountType;
|
|
3
|
+
(function (AccountType) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return typeof value == "string" && accountType.includes(value);
|
|
6
|
+
}
|
|
7
|
+
AccountType.is = is;
|
|
8
|
+
})(AccountType || (AccountType = {}));
|
|
9
|
+
//# sourceMappingURL=AccountType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountType.js","sourceRoot":"../","sources":["model/AccountType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG,CAAC,SAAS,EAAE,MAAM,CAAU,CAAA;AAIhD,MAAM,KAAW,WAAW,CAI3B;AAJD,WAAiB,WAAW;IAC3B,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,WAAW,CAAC,QAAQ,CAAC,KAAoB,CAAC,CAAA;IAC9E,CAAC;IAFe,cAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,WAAW,KAAX,WAAW,QAI3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AmountPair.js","sourceRoot":"../","sources":["model/AmountPair.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BillingTransactionAmountPair.js","sourceRoot":"../","sources":["model/BillingTransactionAmountPair.ts"],"names":[],"mappings":""}
|
|
@@ -2,4 +2,5 @@ import { FiveFieldsBookingInfoResponse } from "./FiveFieldsBookingInfoResponse";
|
|
|
2
2
|
import { FlightBookingInfoResponse } from "./FlightBookingInfoResponse";
|
|
3
3
|
import { HotelBookingInfoResponse } from "./HotelBookingInfoResponse";
|
|
4
4
|
import { InvoiceBookingInfoResponse } from "./InvoiceBookingInfoResponse";
|
|
5
|
-
|
|
5
|
+
import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse";
|
|
6
|
+
export declare type BookingInfoResponse = FiveFieldsBookingInfoResponse | HotelBookingInfoResponse | InvoiceBookingInfoResponse | FlightBookingInfoResponse | SummaryBookingInfoResponse;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const fundingAccountIdentifierType: readonly ["SCAN", "IBAN", "UNKNOWN"];
|
|
2
|
+
export declare type FundingAccountIdentifierType = typeof fundingAccountIdentifierType[number];
|
|
3
|
+
export declare namespace FundingAccountIdentifierType {
|
|
4
|
+
function is(value: unknown): value is FundingAccountIdentifierType;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const fundingAccountIdentifierType = ["SCAN", "IBAN", "UNKNOWN"];
|
|
2
|
+
export var FundingAccountIdentifierType;
|
|
3
|
+
(function (FundingAccountIdentifierType) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return typeof value == "string" && fundingAccountIdentifierType.includes(value);
|
|
6
|
+
}
|
|
7
|
+
FundingAccountIdentifierType.is = is;
|
|
8
|
+
})(FundingAccountIdentifierType || (FundingAccountIdentifierType = {}));
|
|
9
|
+
//# sourceMappingURL=FundingAccountIdentifierType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FundingAccountIdentifierType.js","sourceRoot":"../","sources":["model/FundingAccountIdentifierType.ts"],"names":[],"mappings":"AAAA,MAAM,4BAA4B,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,CAAU,CAAA;AAIzE,MAAM,KAAW,4BAA4B,CAI5C;AAJD,WAAiB,4BAA4B;IAC5C,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,4BAA4B,CAAC,QAAQ,CAAC,KAAqC,CAAC,CAAA;IAChH,CAAC;IAFe,+BAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,4BAA4B,KAA5B,4BAA4B,QAI5C"}
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var FundingLimitResponse;
|
|
2
|
+
(function (FundingLimitResponse) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.message == undefined || typeof value.message == "string") &&
|
|
6
|
+
(value.status == undefined || value.status == "SUCCESS" || value.status == "FAILURE") &&
|
|
7
|
+
(value.email == undefined ||
|
|
8
|
+
(Array.isArray(value.email) && value.email.every((item) => typeof item == "string"))) &&
|
|
9
|
+
(value.limit == undefined || typeof value.limit == "number"));
|
|
10
|
+
}
|
|
11
|
+
FundingLimitResponse.is = is;
|
|
12
|
+
})(FundingLimitResponse || (FundingLimitResponse = {}));
|
|
2
13
|
//# sourceMappingURL=FundingLimitResponse.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FundingLimitResponse.js","sourceRoot":"../","sources":["model/FundingLimitResponse.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"FundingLimitResponse.js","sourceRoot":"../","sources":["model/FundingLimitResponse.ts"],"names":[],"mappings":"AAUA,MAAM,KAAW,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACpC,SAAgB,EAAE,CAAC,KAAiC;QACnD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAC;YAChE,CAAC,KAAK,CAAC,MAAM,IAAI,SAAS,IAAI,KAAK,CAAC,MAAM,IAAI,SAAS,IAAI,KAAK,CAAC,MAAM,IAAI,SAAS,CAAC;YACrF,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS;gBACxB,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,OAAO,IAAI,IAAI,QAAQ,CAAC,CAAC,CAAC;YAC3F,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,KAAK,IAAI,QAAQ,CAAC,CAC5D,CAAA;IACF,CAAC;IATe,uBAAE,KASjB,CAAA;AACF,CAAC,EAXgB,oBAAoB,KAApB,oBAAoB,QAWpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatementReportRequest.js","sourceRoot":"../","sources":["model/StatementReportRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StatementReportResponseRow } from "./StatementReportResponseRow";
|
|
2
|
+
export interface StatementReportResponse {
|
|
3
|
+
openingAvailableBalance: number;
|
|
4
|
+
closingAvailableBalance: number;
|
|
5
|
+
openingActualBalance: number;
|
|
6
|
+
closingActualBalance: number;
|
|
7
|
+
statements: StatementReportResponseRow[];
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatementReportResponse.js","sourceRoot":"../","sources":["model/StatementReportResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
import { BillingTransactionAmountPair } from "./BillingTransactionAmountPair";
|
|
3
|
+
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
4
|
+
import { CardResponseV2 } from "./CardResponseV2";
|
|
5
|
+
import { StatementReportRowActionType } from "./StatementReportRowActionType";
|
|
6
|
+
import { StatementReportRowType } from "./StatementReportRowType";
|
|
7
|
+
import { StatementRowIds } from "./StatementRowIds";
|
|
8
|
+
import { TransferResponse } from "./TransferResponse";
|
|
9
|
+
export interface StatementReportResponseRow {
|
|
10
|
+
actionType: StatementReportRowActionType;
|
|
11
|
+
amount: BillingTransactionAmountPair;
|
|
12
|
+
bookingInfo: BookingInfoResponse;
|
|
13
|
+
postedDate: isoly.DateTime;
|
|
14
|
+
transactionDate: isoly.DateTime;
|
|
15
|
+
actualBalance: number;
|
|
16
|
+
availableBalance: number;
|
|
17
|
+
rowType: StatementReportRowType;
|
|
18
|
+
ids: StatementRowIds;
|
|
19
|
+
card?: CardResponseV2;
|
|
20
|
+
transfer?: TransferResponse;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatementReportResponseRow.js","sourceRoot":"../","sources":["model/StatementReportResponseRow.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const statementReportRowActionType: readonly ["AUTHORISATION", "AUTHORISATION_DECLINED", "SETTLEMENT", "AUTHORISATION_AND_SETTLEMENT", "REVERSAL", "REFUND", "TRANSFER_IN", "TRANSFER_OUT"];
|
|
2
|
+
export declare type StatementReportRowActionType = typeof statementReportRowActionType[number];
|
|
3
|
+
export declare namespace StatementReportRowActionType {
|
|
4
|
+
function is(value: unknown): value is StatementReportRowActionType;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const statementReportRowActionType = [
|
|
2
|
+
"AUTHORISATION",
|
|
3
|
+
"AUTHORISATION_DECLINED",
|
|
4
|
+
"SETTLEMENT",
|
|
5
|
+
"AUTHORISATION_AND_SETTLEMENT",
|
|
6
|
+
"REVERSAL",
|
|
7
|
+
"REFUND",
|
|
8
|
+
"TRANSFER_IN",
|
|
9
|
+
"TRANSFER_OUT",
|
|
10
|
+
];
|
|
11
|
+
export var StatementReportRowActionType;
|
|
12
|
+
(function (StatementReportRowActionType) {
|
|
13
|
+
function is(value) {
|
|
14
|
+
return typeof value == "string" && statementReportRowActionType.includes(value);
|
|
15
|
+
}
|
|
16
|
+
StatementReportRowActionType.is = is;
|
|
17
|
+
})(StatementReportRowActionType || (StatementReportRowActionType = {}));
|
|
18
|
+
//# sourceMappingURL=StatementReportRowActionType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatementReportRowActionType.js","sourceRoot":"../","sources":["model/StatementReportRowActionType.ts"],"names":[],"mappings":"AAAA,MAAM,4BAA4B,GAAG;IACpC,eAAe;IACf,wBAAwB;IACxB,YAAY;IACZ,8BAA8B;IAC9B,UAAU;IACV,QAAQ;IACR,aAAa;IACb,cAAc;CACL,CAAA;AAGV,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type StatementReportRowType = "SUMMARY" | "FULL";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatementReportRowType.js","sourceRoot":"../","sources":["model/StatementReportRowType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatementRowIds.js","sourceRoot":"../","sources":["model/StatementRowIds.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SummaryBookingInfoResponse.js","sourceRoot":"../","sources":["model/SummaryBookingInfoResponse.ts"],"names":[],"mappings":""}
|