@pax2pay/client 0.3.8 → 0.3.9
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/Accounts/index.ts +62 -0
- package/dist/Client/Accounts/index.d.ts +9 -0
- package/dist/Client/Accounts/index.js +24 -0
- package/dist/Client/Accounts/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/CardResponseV2.d.ts +2 -2
- package/dist/model/CardResponseV2.js +2 -2
- package/dist/model/CardResponseV2.js.map +1 -1
- package/dist/model/FundingAccountResponseV2Basic.d.ts +14 -0
- package/dist/model/FundingAccountResponseV2Basic.js +17 -0
- package/dist/model/FundingAccountResponseV2Basic.js.map +1 -0
- package/dist/model/FundingAccountResponseV2Full.d.ts +15 -0
- package/dist/model/FundingAccountResponseV2Full.js +19 -0
- package/dist/model/FundingAccountResponseV2Full.js.map +1 -0
- package/dist/model/FundingAccountSummaryResponse.d.ts +8 -0
- package/dist/model/FundingAccountSummaryResponse.js +8 -0
- package/dist/model/FundingAccountSummaryResponse.js.map +1 -0
- package/dist/model/TransferDestinationResponse.d.ts +2 -2
- package/dist/model/TransferDestinationResponse.js +2 -2
- package/dist/model/TransferDestinationResponse.js.map +1 -1
- package/dist/model/TransferResponseV2.d.ts +2 -2
- package/dist/model/TransferResponseV2.js +2 -2
- package/dist/model/TransferResponseV2.js.map +1 -1
- package/dist/model/index.d.ts +4 -2
- package/dist/model/index.js +4 -2
- package/dist/model/index.js.map +1 -1
- package/index.ts +6 -2
- package/model/CardResponseV2.ts +3 -3
- package/model/FundingAccountResponseV2Basic.ts +25 -0
- package/model/FundingAccountResponseV2Full.ts +28 -0
- package/model/FundingAccountSummaryResponse.ts +11 -0
- package/model/TransferDestinationResponse.ts +3 -3
- package/model/TransferResponseV2.ts +3 -3
- package/model/index.ts +6 -2
- package/package.json +1 -1
- package/dist/model/FundingAccountResponseV2.d.ts +0 -8
- package/dist/model/FundingAccountResponseV2.js +0 -8
- package/dist/model/FundingAccountResponseV2.js.map +0 -1
- package/model/FundingAccountResponseV2.ts +0 -11
package/Client/Accounts/index.ts
CHANGED
|
@@ -2,6 +2,7 @@ import * as model from "../../model"
|
|
|
2
2
|
import { Account } from "../Account"
|
|
3
3
|
import { Connection } from "../Connection"
|
|
4
4
|
import { List } from "../List"
|
|
5
|
+
import { Paginated } from "../Paginated"
|
|
5
6
|
import { Resource } from "../Resource"
|
|
6
7
|
|
|
7
8
|
export class Accounts extends List<model.AccountResponse, model.AccountSearchRequest> {
|
|
@@ -57,4 +58,65 @@ export class Accounts extends List<model.AccountResponse, model.AccountSearchReq
|
|
|
57
58
|
)
|
|
58
59
|
return response
|
|
59
60
|
}
|
|
61
|
+
|
|
62
|
+
async getAllFundingAccountsV2Paginated(
|
|
63
|
+
previous?: Paginated<model.FundingAccountResponseV2Basic>,
|
|
64
|
+
page?: number,
|
|
65
|
+
size?: number,
|
|
66
|
+
sort = undefined,
|
|
67
|
+
provider = "modulr"
|
|
68
|
+
) {
|
|
69
|
+
return await this.getNextPaginated<model.FundingAccountResponseV2Basic>(
|
|
70
|
+
previous,
|
|
71
|
+
(page, size, sort) =>
|
|
72
|
+
this.connection.get<
|
|
73
|
+
{ list: model.FundingAccountResponseV2Basic[]; totalCount: number } | model.FundingAccountResponseV2Basic[]
|
|
74
|
+
>(`v2/funding-accounts`, {
|
|
75
|
+
page: page,
|
|
76
|
+
size: size,
|
|
77
|
+
sort: sort,
|
|
78
|
+
provider: provider,
|
|
79
|
+
}),
|
|
80
|
+
undefined,
|
|
81
|
+
page,
|
|
82
|
+
size,
|
|
83
|
+
sort
|
|
84
|
+
)
|
|
85
|
+
}
|
|
86
|
+
async getAllFundingAccountsV2FullPaginated(
|
|
87
|
+
previous?: Paginated<model.FundingAccountResponseV2Full>,
|
|
88
|
+
page?: number,
|
|
89
|
+
size?: number,
|
|
90
|
+
sort = undefined,
|
|
91
|
+
provider = "modulr"
|
|
92
|
+
) {
|
|
93
|
+
return await this.getNextPaginated<model.FundingAccountResponseV2Full>(
|
|
94
|
+
previous,
|
|
95
|
+
(page, size, sort) =>
|
|
96
|
+
this.connection.get<
|
|
97
|
+
{ list: model.FundingAccountResponseV2Full[]; totalCount: number } | model.FundingAccountResponseV2Full[]
|
|
98
|
+
>(`v2/funding-accounts/info`, {
|
|
99
|
+
page: page,
|
|
100
|
+
size: size,
|
|
101
|
+
sort: sort,
|
|
102
|
+
provider: provider,
|
|
103
|
+
}),
|
|
104
|
+
undefined,
|
|
105
|
+
page,
|
|
106
|
+
size,
|
|
107
|
+
sort
|
|
108
|
+
)
|
|
109
|
+
}
|
|
110
|
+
async getFundingAccountV2(providerCode: model.ProviderCode, providerCodeId: string) {
|
|
111
|
+
const response = await this.connection.get<model.FundingAccountResponseV2Basic>(
|
|
112
|
+
`v2/funding-accounts/${providerCode}/${providerCodeId}`
|
|
113
|
+
)
|
|
114
|
+
return response
|
|
115
|
+
}
|
|
116
|
+
async getFundingAccountV2Full(providerCode: model.ProviderCode, providerCodeId: string) {
|
|
117
|
+
const response = await this.connection.get<model.FundingAccountResponseV2Full>(
|
|
118
|
+
`v2/funding-accounts/${providerCode}/${providerCodeId}/info`
|
|
119
|
+
)
|
|
120
|
+
return response
|
|
121
|
+
}
|
|
60
122
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as model from "../../model";
|
|
2
2
|
import { Connection } from "../Connection";
|
|
3
3
|
import { List } from "../List";
|
|
4
|
+
import { Paginated } from "../Paginated";
|
|
4
5
|
import { Resource } from "../Resource";
|
|
5
6
|
export declare class Accounts extends List<model.AccountResponse, model.AccountSearchRequest> {
|
|
6
7
|
protected folder: string;
|
|
@@ -17,4 +18,12 @@ export declare class Accounts extends List<model.AccountResponse, model.AccountS
|
|
|
17
18
|
cancelLimitAlert(providerCode: model.ProviderCode, providerAccountId: string): Promise<model.AccountResponse | model.ErrorResponse | (model.ErrorResponse & {
|
|
18
19
|
status: 400 | 404 | 500 | 403 | 503;
|
|
19
20
|
})>;
|
|
21
|
+
getAllFundingAccountsV2Paginated(previous?: Paginated<model.FundingAccountResponseV2Basic>, page?: number, size?: number, sort?: undefined, provider?: string): Promise<model.ErrorResponse | Paginated<model.FundingAccountResponseV2Basic>>;
|
|
22
|
+
getAllFundingAccountsV2FullPaginated(previous?: Paginated<model.FundingAccountResponseV2Full>, page?: number, size?: number, sort?: undefined, provider?: string): Promise<model.ErrorResponse | Paginated<model.FundingAccountResponseV2Full>>;
|
|
23
|
+
getFundingAccountV2(providerCode: model.ProviderCode, providerCodeId: string): Promise<model.FundingAccountResponseV2Basic | (model.ErrorResponse & {
|
|
24
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
25
|
+
})>;
|
|
26
|
+
getFundingAccountV2Full(providerCode: model.ProviderCode, providerCodeId: string): Promise<model.FundingAccountResponseV2Full | (model.ErrorResponse & {
|
|
27
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
28
|
+
})>;
|
|
20
29
|
}
|
|
@@ -27,5 +27,29 @@ export class Accounts extends List {
|
|
|
27
27
|
const response = await this.connection.remove(`funding-accounts/${providerCode}/${providerAccountId}/limits`);
|
|
28
28
|
return response;
|
|
29
29
|
}
|
|
30
|
+
async getAllFundingAccountsV2Paginated(previous, page, size, sort = undefined, provider = "modulr") {
|
|
31
|
+
return await this.getNextPaginated(previous, (page, size, sort) => this.connection.get(`v2/funding-accounts`, {
|
|
32
|
+
page: page,
|
|
33
|
+
size: size,
|
|
34
|
+
sort: sort,
|
|
35
|
+
provider: provider,
|
|
36
|
+
}), undefined, page, size, sort);
|
|
37
|
+
}
|
|
38
|
+
async getAllFundingAccountsV2FullPaginated(previous, page, size, sort = undefined, provider = "modulr") {
|
|
39
|
+
return await this.getNextPaginated(previous, (page, size, sort) => this.connection.get(`v2/funding-accounts/info`, {
|
|
40
|
+
page: page,
|
|
41
|
+
size: size,
|
|
42
|
+
sort: sort,
|
|
43
|
+
provider: provider,
|
|
44
|
+
}), undefined, page, size, sort);
|
|
45
|
+
}
|
|
46
|
+
async getFundingAccountV2(providerCode, providerCodeId) {
|
|
47
|
+
const response = await this.connection.get(`v2/funding-accounts/${providerCode}/${providerCodeId}`);
|
|
48
|
+
return response;
|
|
49
|
+
}
|
|
50
|
+
async getFundingAccountV2Full(providerCode, providerCodeId) {
|
|
51
|
+
const response = await this.connection.get(`v2/funding-accounts/${providerCode}/${providerCodeId}/info`);
|
|
52
|
+
return response;
|
|
53
|
+
}
|
|
30
54
|
}
|
|
31
55
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Accounts/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Accounts/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAI9B,MAAM,OAAO,QAAS,SAAQ,IAAuD;IAEpF,YAAoB,UAAsB;QACzC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,kBAAkB,CAAA;IAGrC,CAAC;IACS,eAAe,CAAC,QAA+B;QACxD,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAC9E,CAAC;IACS,cAAc,CAAC,QAA+B;QACvD,OAAO,IAAI,OAAO,CACjB,IAAI,CAAC,UAAU,EACf,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACtE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ailsTransferDestinationResponse, 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, CardReportUrlRequest, 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,
|
|
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, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig,
|
|
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, CardReportUrlRequest, 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, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, 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, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCategoryRequest, 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, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, 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, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, CardSearchRequest, SearchRolesetsRequest, SearchBeneficiaryRequest, Segment, Sorting, StatementReportUrlRequest, 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, 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,
|
|
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,
|
|
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, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, PaxpayFeature, 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, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, PaxpayFeature, 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,yCAAyC,EACzC,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAEhB,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,sCAAsC,EACtC,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EAEX,mBAAmB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AAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAKV,aAAa,EAKb,YAAY,EACZ,gBAAgB,EAEhB,UAAU,EAYV,OAAO,EAKP,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"}
|
|
@@ -5,7 +5,7 @@ import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
|
5
5
|
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
6
6
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
7
7
|
import { CardUsage } from "./CardUsage";
|
|
8
|
-
import {
|
|
8
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse";
|
|
9
9
|
import { ProviderCode } from "./ProviderCode";
|
|
10
10
|
import { YearMonth } from "./YearMonth";
|
|
11
11
|
export interface CardResponseV2 {
|
|
@@ -23,7 +23,7 @@ export interface CardResponseV2 {
|
|
|
23
23
|
providerCode: ProviderCode;
|
|
24
24
|
providerCardId: string;
|
|
25
25
|
usage: CardUsage;
|
|
26
|
-
fundingAccount:
|
|
26
|
+
fundingAccount: FundingAccountSummaryResponse;
|
|
27
27
|
createdBy: string;
|
|
28
28
|
state: AccountState;
|
|
29
29
|
schedule?: CardScheduleResponseItem[];
|
|
@@ -3,7 +3,7 @@ import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
|
3
3
|
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
4
4
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
5
5
|
import { CardUsage } from "./CardUsage";
|
|
6
|
-
import {
|
|
6
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse";
|
|
7
7
|
import { ProviderCode } from "./ProviderCode";
|
|
8
8
|
import { YearMonth } from "./YearMonth";
|
|
9
9
|
export var CardResponseV2;
|
|
@@ -22,7 +22,7 @@ export var CardResponseV2;
|
|
|
22
22
|
ProviderCode.is(value.providerCode) &&
|
|
23
23
|
typeof value.providerCardId == "string" &&
|
|
24
24
|
CardUsage.is(value.usage) &&
|
|
25
|
-
|
|
25
|
+
FundingAccountSummaryResponse.is(value.fundingAccount) &&
|
|
26
26
|
(value.schedule == undefined ||
|
|
27
27
|
(Array.isArray(value.schedule) &&
|
|
28
28
|
value.schedule.every((a) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardResponseV2.js","sourceRoot":"../","sources":["model/CardResponseV2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CardResponseV2.js","sourceRoot":"../","sources":["model/CardResponseV2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAA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N,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ;YAClC,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YACxE,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAC;YAChE,CAAC,KAAK,CAAC,WAAW,IAAI,SAAS,IAAI,mBAAmB,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAC7E,CAAA;IACF,CAAC;IA1Be,iBAAE,KA0BjB,CAAA;AACF,CAAC,EA5BgB,cAAc,KAAd,cAAc,QA4B9B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
import { AccountState } from "./AccountState";
|
|
3
|
+
import { ProviderCode } from "./ProviderCode";
|
|
4
|
+
export interface FundingAccountResponseV2Basic {
|
|
5
|
+
friendlyName?: string;
|
|
6
|
+
providerAccountId: string;
|
|
7
|
+
providerCode: ProviderCode;
|
|
8
|
+
status: AccountState;
|
|
9
|
+
currency: Currency;
|
|
10
|
+
balance: number;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace FundingAccountResponseV2Basic {
|
|
13
|
+
function is(value: FundingAccountResponseV2Basic | any): value is FundingAccountResponseV2Basic;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
import { AccountState } from "./AccountState";
|
|
3
|
+
import { ProviderCode } from "./ProviderCode";
|
|
4
|
+
export var FundingAccountResponseV2Basic;
|
|
5
|
+
(function (FundingAccountResponseV2Basic) {
|
|
6
|
+
function is(value) {
|
|
7
|
+
return (typeof value == "object" &&
|
|
8
|
+
(value.friendlyName == undefined || typeof value.friendlyName == "string") &&
|
|
9
|
+
typeof value.providerAccountId == "string" &&
|
|
10
|
+
ProviderCode.is(value.providerCode) &&
|
|
11
|
+
AccountState.is(value.status) &&
|
|
12
|
+
Currency.is(value.currency) &&
|
|
13
|
+
typeof value.balance == "number");
|
|
14
|
+
}
|
|
15
|
+
FundingAccountResponseV2Basic.is = is;
|
|
16
|
+
})(FundingAccountResponseV2Basic || (FundingAccountResponseV2Basic = {}));
|
|
17
|
+
//# sourceMappingURL=FundingAccountResponseV2Basic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FundingAccountResponseV2Basic.js","sourceRoot":"../","sources":["model/FundingAccountResponseV2Basic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAU7C,MAAM,KAAW,6BAA6B,CAY7C;AAZD,WAAiB,6BAA6B;IAC7C,SAAgB,EAAE,CAAC,KAA0C;QAC5D,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,CAAC;YAC1E,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ;YAC1C,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YACnC,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;YAC7B,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC3B,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAChC,CAAA;IACF,CAAC;IAVe,gCAAE,KAUjB,CAAA;AACF,CAAC,EAZgB,6BAA6B,KAA7B,6BAA6B,QAY7C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DateTime } from "isoly";
|
|
2
|
+
import { AccountIdentifierResponse } from "./AccountIdentifierResponse";
|
|
3
|
+
import { FundingAccountResponseV2Basic } from "./FundingAccountResponseV2Basic";
|
|
4
|
+
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
5
|
+
export interface FundingAccountResponseV2Full extends FundingAccountResponseV2Basic {
|
|
6
|
+
actualBalance?: number;
|
|
7
|
+
fundingLimit?: FundingLimitResponse;
|
|
8
|
+
accountIdentifier?: AccountIdentifierResponse;
|
|
9
|
+
totalCardAvailableBalance: number;
|
|
10
|
+
updatedOn: DateTime;
|
|
11
|
+
createdOn: DateTime;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace FundingAccountResponseV2Full {
|
|
14
|
+
function is(value: FundingAccountResponseV2Full | any): value is FundingAccountResponseV2Full;
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DateTime } from "isoly";
|
|
2
|
+
import { AccountIdentifierResponse } from "./AccountIdentifierResponse";
|
|
3
|
+
import { FundingAccountResponseV2Basic } from "./FundingAccountResponseV2Basic";
|
|
4
|
+
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
5
|
+
export var FundingAccountResponseV2Full;
|
|
6
|
+
(function (FundingAccountResponseV2Full) {
|
|
7
|
+
function is(value) {
|
|
8
|
+
return (typeof value == "object" &&
|
|
9
|
+
(value.actualBalance == undefined || typeof value.actualBalance == "number") &&
|
|
10
|
+
(value.fundingLimit == undefined || FundingLimitResponse.is(value.fundingLimit)) &&
|
|
11
|
+
(value.accountIdentifier == undefined || AccountIdentifierResponse.is(value.accountIdentifier)) &&
|
|
12
|
+
typeof value.totalCardAvailableBalance == "number" &&
|
|
13
|
+
DateTime.is(value.updatedOn) &&
|
|
14
|
+
DateTime.is(value.createdOn) &&
|
|
15
|
+
FundingAccountResponseV2Basic.is(value));
|
|
16
|
+
}
|
|
17
|
+
FundingAccountResponseV2Full.is = is;
|
|
18
|
+
})(FundingAccountResponseV2Full || (FundingAccountResponseV2Full = {}));
|
|
19
|
+
//# sourceMappingURL=FundingAccountResponseV2Full.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FundingAccountResponseV2Full.js","sourceRoot":"../","sources":["model/FundingAccountResponseV2Full.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAW7D,MAAM,KAAW,4BAA4B,CAa5C;AAbD,WAAiB,4BAA4B;IAC5C,SAAgB,EAAE,CAAC,KAAyC;QAC3D,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ,CAAC;YAC5E,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAChF,CAAC,KAAK,CAAC,iBAAiB,IAAI,SAAS,IAAI,yBAAyB,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;YAC/F,OAAO,KAAK,CAAC,yBAAyB,IAAI,QAAQ;YAClD,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;YAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC;YAC5B,6BAA6B,CAAC,EAAE,CAAC,KAAK,CAAC,CACvC,CAAA;IACF,CAAC;IAXe,+BAAE,KAWjB,CAAA;AACF,CAAC,EAbgB,4BAA4B,KAA5B,4BAA4B,QAa5C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface FundingAccountSummaryResponse {
|
|
2
|
+
providerAccountId: string;
|
|
3
|
+
balance: number;
|
|
4
|
+
friendlyName: string;
|
|
5
|
+
}
|
|
6
|
+
export declare namespace FundingAccountSummaryResponse {
|
|
7
|
+
function is(value: FundingAccountSummaryResponse | any): value is FundingAccountSummaryResponse;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var FundingAccountSummaryResponse;
|
|
2
|
+
(function (FundingAccountSummaryResponse) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return typeof value == "object" && typeof value.providerAccountId == "string" && typeof value.balance == "number";
|
|
5
|
+
}
|
|
6
|
+
FundingAccountSummaryResponse.is = is;
|
|
7
|
+
})(FundingAccountSummaryResponse || (FundingAccountSummaryResponse = {}));
|
|
8
|
+
//# sourceMappingURL=FundingAccountSummaryResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FundingAccountSummaryResponse.js","sourceRoot":"../","sources":["model/FundingAccountSummaryResponse.ts"],"names":[],"mappings":"AAMA,MAAM,KAAW,6BAA6B,CAI7C;AAJD,WAAiB,6BAA6B;IAC7C,SAAgB,EAAE,CAAC,KAA0C;QAC5D,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAA;IAClH,CAAC;IAFe,gCAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,6BAA6B,KAA7B,6BAA6B,QAI7C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
|
|
2
2
|
import { BeneficiaryTransferDestinationResponse } from "./BeneficiaryTransferDestinationResponse";
|
|
3
|
-
import {
|
|
4
|
-
export declare type TransferDestinationResponse = BeneficiaryTransferDestinationResponse | AccountDetailsTransferDestinationResponse |
|
|
3
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse";
|
|
4
|
+
export declare type TransferDestinationResponse = BeneficiaryTransferDestinationResponse | AccountDetailsTransferDestinationResponse | FundingAccountSummaryResponse;
|
|
5
5
|
export declare namespace TransferDestinationResponse {
|
|
6
6
|
function is(value: TransferDestinationResponse | any): value is TransferDestinationResponse;
|
|
7
7
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
|
|
2
2
|
import { BeneficiaryTransferDestinationResponse } from "./BeneficiaryTransferDestinationResponse";
|
|
3
|
-
import {
|
|
3
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse";
|
|
4
4
|
export var TransferDestinationResponse;
|
|
5
5
|
(function (TransferDestinationResponse) {
|
|
6
6
|
function is(value) {
|
|
7
7
|
return (BeneficiaryTransferDestinationResponse.is(value) ||
|
|
8
8
|
AccountDetailsTransferDestinationResponse.is(value) ||
|
|
9
|
-
|
|
9
|
+
FundingAccountSummaryResponse.is(value));
|
|
10
10
|
}
|
|
11
11
|
TransferDestinationResponse.is = is;
|
|
12
12
|
})(TransferDestinationResponse || (TransferDestinationResponse = {}));
|
|
@@ -1 +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,
|
|
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,6BAA6B,EAAE,MAAM,iCAAiC,CAAA;AAO/E,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,6BAA6B,CAAC,EAAE,CAAC,KAAK,CAAC,CACvC,CAAA;IACF,CAAC;IANe,8BAAE,KAMjB,CAAA;AACF,CAAC,EARgB,2BAA2B,KAA3B,2BAA2B,QAQ3C"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Currency, Date } from "isoly";
|
|
2
2
|
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
3
|
-
import {
|
|
3
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse";
|
|
4
4
|
import { ProviderCode } from "./ProviderCode";
|
|
5
5
|
import { TransferDestinationResponse } from "./TransferDestinationResponse";
|
|
6
6
|
import { TransferStatus } from "./TransferStatus";
|
|
@@ -14,7 +14,7 @@ export interface TransferResponseV2 {
|
|
|
14
14
|
createdDate: Date;
|
|
15
15
|
paymentDate?: Date;
|
|
16
16
|
reference: string;
|
|
17
|
-
source:
|
|
17
|
+
source: FundingAccountSummaryResponse;
|
|
18
18
|
destination: TransferDestinationResponse;
|
|
19
19
|
bookingInfo?: BookingInfoResponse;
|
|
20
20
|
createdBy: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Currency, Date } from "isoly";
|
|
2
2
|
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
3
|
-
import {
|
|
3
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse";
|
|
4
4
|
import { ProviderCode } from "./ProviderCode";
|
|
5
5
|
import { TransferDestinationResponse } from "./TransferDestinationResponse";
|
|
6
6
|
import { TransferStatus } from "./TransferStatus";
|
|
@@ -17,7 +17,7 @@ export var TransferResponseV2;
|
|
|
17
17
|
Date.is(value.createdDate) &&
|
|
18
18
|
(value.paymentDate == undefined || Date.is(value.paymentDate)) &&
|
|
19
19
|
typeof value.reference == "string" &&
|
|
20
|
-
|
|
20
|
+
FundingAccountSummaryResponse.is(value.source) &&
|
|
21
21
|
TransferDestinationResponse.is(value.destination) &&
|
|
22
22
|
(value.bookingInfo == undefined || BookingInfoResponse.is(value.bookingInfo)) &&
|
|
23
23
|
typeof value.createdBy == "string");
|
|
@@ -1 +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,
|
|
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,6BAA6B,EAAE,MAAM,iCAAiC,CAAA;AAC/E,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,6BAA6B,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;YAC9C,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"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -74,9 +74,11 @@ import { FlightBookingInfoResponse } from "./FlightBookingInfoResponse";
|
|
|
74
74
|
import { FlightInfo } from "./FlightInfo";
|
|
75
75
|
import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType";
|
|
76
76
|
import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccountInboundTransferNotificationConfig";
|
|
77
|
-
import {
|
|
77
|
+
import { FundingAccountResponseV2Basic } from "./FundingAccountResponseV2Basic";
|
|
78
|
+
import { FundingAccountResponseV2Full } from "./FundingAccountResponseV2Full";
|
|
78
79
|
import { FundingAccountSearchRequest } from "./FundingAccountSearchRequest";
|
|
79
80
|
import { FundingAccountSearchResponse } from "./FundingAccountSearchResponse";
|
|
81
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse";
|
|
80
82
|
import { FundingLimitConfig } from "./FundingLimitConfig";
|
|
81
83
|
import { FundingLimitRequest } from "./FundingLimitRequest";
|
|
82
84
|
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
@@ -163,4 +165,4 @@ import { UserRoleResponse } from "./UserRoleResponse";
|
|
|
163
165
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
164
166
|
import { UserStatus } from "./UserStatus";
|
|
165
167
|
import { YearMonth } from "./YearMonth";
|
|
166
|
-
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, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig,
|
|
168
|
+
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, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, 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, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, SearchBeneficiaryRequest, StatementReportUrlRequest, 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
|
@@ -42,7 +42,9 @@ import { FiveFieldsBookingInfoResponse } from "./FiveFieldsBookingInfoResponse";
|
|
|
42
42
|
import { FlightBookingInfoResponse } from "./FlightBookingInfoResponse";
|
|
43
43
|
import { FlightInfo } from "./FlightInfo";
|
|
44
44
|
import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType";
|
|
45
|
-
import {
|
|
45
|
+
import { FundingAccountResponseV2Basic } from "./FundingAccountResponseV2Basic";
|
|
46
|
+
import { FundingAccountResponseV2Full } from "./FundingAccountResponseV2Full";
|
|
47
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse";
|
|
46
48
|
import { FundingLimitConfig } from "./FundingLimitConfig";
|
|
47
49
|
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
48
50
|
import { HotelBookingInfoRequest } from "./HotelBookingInfoRequest";
|
|
@@ -83,5 +85,5 @@ import { UserRequest } from "./UserRequest";
|
|
|
83
85
|
import { UserResponse } from "./UserResponse";
|
|
84
86
|
import { UserStatus } from "./UserStatus";
|
|
85
87
|
import { YearMonth } from "./YearMonth";
|
|
86
|
-
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,
|
|
88
|
+
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, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, PaxpayFeature, 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, };
|
|
87
89
|
//# 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,yCAAyC,EAAE,MAAM,6CAA6C,CAAA;AACvG,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,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AA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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"}
|
package/index.ts
CHANGED
|
@@ -76,9 +76,11 @@ import {
|
|
|
76
76
|
FlightInfo,
|
|
77
77
|
FundingAccountIdentifierType,
|
|
78
78
|
FundingAccountInboundTransferNotificationConfig,
|
|
79
|
-
|
|
79
|
+
FundingAccountResponseV2Basic,
|
|
80
|
+
FundingAccountResponseV2Full,
|
|
80
81
|
FundingAccountSearchRequest,
|
|
81
82
|
FundingAccountSearchResponse,
|
|
83
|
+
FundingAccountSummaryResponse,
|
|
82
84
|
FundingLimitConfig,
|
|
83
85
|
FundingLimitRequest,
|
|
84
86
|
FundingLimitResponse,
|
|
@@ -245,9 +247,11 @@ export {
|
|
|
245
247
|
FlightInfo,
|
|
246
248
|
FundingAccountIdentifierType,
|
|
247
249
|
FundingAccountInboundTransferNotificationConfig,
|
|
248
|
-
|
|
250
|
+
FundingAccountResponseV2Basic,
|
|
251
|
+
FundingAccountResponseV2Full,
|
|
249
252
|
FundingAccountSearchRequest,
|
|
250
253
|
FundingAccountSearchResponse,
|
|
254
|
+
FundingAccountSummaryResponse,
|
|
251
255
|
FundingLimitConfig,
|
|
252
256
|
FundingLimitRequest,
|
|
253
257
|
FundingLimitResponse,
|
package/model/CardResponseV2.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { CardDeliveryResponse } from "./CardDeliveryResponse"
|
|
|
5
5
|
import { CardScheduleResponseItem } from "./CardScheduleResponseItem"
|
|
6
6
|
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
7
7
|
import { CardUsage } from "./CardUsage"
|
|
8
|
-
import {
|
|
8
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse"
|
|
9
9
|
import { ProviderCode } from "./ProviderCode"
|
|
10
10
|
import { YearMonth } from "./YearMonth"
|
|
11
11
|
|
|
@@ -24,7 +24,7 @@ export interface CardResponseV2 {
|
|
|
24
24
|
providerCode: ProviderCode
|
|
25
25
|
providerCardId: string
|
|
26
26
|
usage: CardUsage
|
|
27
|
-
fundingAccount:
|
|
27
|
+
fundingAccount: FundingAccountSummaryResponse
|
|
28
28
|
createdBy: string
|
|
29
29
|
state: AccountState
|
|
30
30
|
schedule?: CardScheduleResponseItem[]
|
|
@@ -49,7 +49,7 @@ export namespace CardResponseV2 {
|
|
|
49
49
|
ProviderCode.is(value.providerCode) &&
|
|
50
50
|
typeof value.providerCardId == "string" &&
|
|
51
51
|
CardUsage.is(value.usage) &&
|
|
52
|
-
|
|
52
|
+
FundingAccountSummaryResponse.is(value.fundingAccount) &&
|
|
53
53
|
(value.schedule == undefined ||
|
|
54
54
|
(Array.isArray(value.schedule) &&
|
|
55
55
|
value.schedule.every((a: any) => {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Currency } from "isoly"
|
|
2
|
+
import { AccountState } from "./AccountState"
|
|
3
|
+
import { ProviderCode } from "./ProviderCode"
|
|
4
|
+
|
|
5
|
+
export interface FundingAccountResponseV2Basic {
|
|
6
|
+
friendlyName?: string
|
|
7
|
+
providerAccountId: string
|
|
8
|
+
providerCode: ProviderCode
|
|
9
|
+
status: AccountState
|
|
10
|
+
currency: Currency
|
|
11
|
+
balance: number
|
|
12
|
+
}
|
|
13
|
+
export namespace FundingAccountResponseV2Basic {
|
|
14
|
+
export function is(value: FundingAccountResponseV2Basic | any): value is FundingAccountResponseV2Basic {
|
|
15
|
+
return (
|
|
16
|
+
typeof value == "object" &&
|
|
17
|
+
(value.friendlyName == undefined || typeof value.friendlyName == "string") &&
|
|
18
|
+
typeof value.providerAccountId == "string" &&
|
|
19
|
+
ProviderCode.is(value.providerCode) &&
|
|
20
|
+
AccountState.is(value.status) &&
|
|
21
|
+
Currency.is(value.currency) &&
|
|
22
|
+
typeof value.balance == "number"
|
|
23
|
+
)
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DateTime } from "isoly"
|
|
2
|
+
import { AccountIdentifierResponse } from "./AccountIdentifierResponse"
|
|
3
|
+
import { FundingAccountResponseV2Basic } from "./FundingAccountResponseV2Basic"
|
|
4
|
+
import { FundingLimitResponse } from "./FundingLimitResponse"
|
|
5
|
+
|
|
6
|
+
export interface FundingAccountResponseV2Full extends FundingAccountResponseV2Basic {
|
|
7
|
+
actualBalance?: number
|
|
8
|
+
fundingLimit?: FundingLimitResponse
|
|
9
|
+
accountIdentifier?: AccountIdentifierResponse
|
|
10
|
+
totalCardAvailableBalance: number
|
|
11
|
+
updatedOn: DateTime
|
|
12
|
+
createdOn: DateTime
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export namespace FundingAccountResponseV2Full {
|
|
16
|
+
export function is(value: FundingAccountResponseV2Full | any): value is FundingAccountResponseV2Full {
|
|
17
|
+
return (
|
|
18
|
+
typeof value == "object" &&
|
|
19
|
+
(value.actualBalance == undefined || typeof value.actualBalance == "number") &&
|
|
20
|
+
(value.fundingLimit == undefined || FundingLimitResponse.is(value.fundingLimit)) &&
|
|
21
|
+
(value.accountIdentifier == undefined || AccountIdentifierResponse.is(value.accountIdentifier)) &&
|
|
22
|
+
typeof value.totalCardAvailableBalance == "number" &&
|
|
23
|
+
DateTime.is(value.updatedOn) &&
|
|
24
|
+
DateTime.is(value.createdOn) &&
|
|
25
|
+
FundingAccountResponseV2Basic.is(value)
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface FundingAccountSummaryResponse {
|
|
2
|
+
providerAccountId: string
|
|
3
|
+
balance: number
|
|
4
|
+
friendlyName: string
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export namespace FundingAccountSummaryResponse {
|
|
8
|
+
export function is(value: FundingAccountSummaryResponse | any): value is FundingAccountSummaryResponse {
|
|
9
|
+
return typeof value == "object" && typeof value.providerAccountId == "string" && typeof value.balance == "number"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse"
|
|
2
2
|
import { BeneficiaryTransferDestinationResponse } from "./BeneficiaryTransferDestinationResponse"
|
|
3
|
-
import {
|
|
3
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse"
|
|
4
4
|
|
|
5
5
|
export type TransferDestinationResponse =
|
|
6
6
|
| BeneficiaryTransferDestinationResponse
|
|
7
7
|
| AccountDetailsTransferDestinationResponse
|
|
8
|
-
|
|
|
8
|
+
| FundingAccountSummaryResponse
|
|
9
9
|
|
|
10
10
|
export namespace TransferDestinationResponse {
|
|
11
11
|
export function is(value: TransferDestinationResponse | any): value is TransferDestinationResponse {
|
|
12
12
|
return (
|
|
13
13
|
BeneficiaryTransferDestinationResponse.is(value) ||
|
|
14
14
|
AccountDetailsTransferDestinationResponse.is(value) ||
|
|
15
|
-
|
|
15
|
+
FundingAccountSummaryResponse.is(value)
|
|
16
16
|
)
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Currency, Date } from "isoly"
|
|
2
2
|
import { BookingInfoResponse } from "./BookingInfoResponse"
|
|
3
|
-
import {
|
|
3
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse"
|
|
4
4
|
import { ProviderCode } from "./ProviderCode"
|
|
5
5
|
import { TransferDestinationResponse } from "./TransferDestinationResponse"
|
|
6
6
|
import { TransferStatus } from "./TransferStatus"
|
|
@@ -15,7 +15,7 @@ export interface TransferResponseV2 {
|
|
|
15
15
|
createdDate: Date
|
|
16
16
|
paymentDate?: Date
|
|
17
17
|
reference: string
|
|
18
|
-
source:
|
|
18
|
+
source: FundingAccountSummaryResponse
|
|
19
19
|
destination: TransferDestinationResponse
|
|
20
20
|
bookingInfo?: BookingInfoResponse
|
|
21
21
|
createdBy: string
|
|
@@ -34,7 +34,7 @@ export namespace TransferResponseV2 {
|
|
|
34
34
|
Date.is(value.createdDate) &&
|
|
35
35
|
(value.paymentDate == undefined || Date.is(value.paymentDate)) &&
|
|
36
36
|
typeof value.reference == "string" &&
|
|
37
|
-
|
|
37
|
+
FundingAccountSummaryResponse.is(value.source) &&
|
|
38
38
|
TransferDestinationResponse.is(value.destination) &&
|
|
39
39
|
(value.bookingInfo == undefined || BookingInfoResponse.is(value.bookingInfo)) &&
|
|
40
40
|
typeof value.createdBy == "string"
|
package/model/index.ts
CHANGED
|
@@ -74,9 +74,11 @@ import { FlightBookingInfoResponse } from "./FlightBookingInfoResponse"
|
|
|
74
74
|
import { FlightInfo } from "./FlightInfo"
|
|
75
75
|
import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType"
|
|
76
76
|
import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccountInboundTransferNotificationConfig"
|
|
77
|
-
import {
|
|
77
|
+
import { FundingAccountResponseV2Basic } from "./FundingAccountResponseV2Basic"
|
|
78
|
+
import { FundingAccountResponseV2Full } from "./FundingAccountResponseV2Full"
|
|
78
79
|
import { FundingAccountSearchRequest } from "./FundingAccountSearchRequest"
|
|
79
80
|
import { FundingAccountSearchResponse } from "./FundingAccountSearchResponse"
|
|
81
|
+
import { FundingAccountSummaryResponse } from "./FundingAccountSummaryResponse"
|
|
80
82
|
import { FundingLimitConfig } from "./FundingLimitConfig"
|
|
81
83
|
import { FundingLimitRequest } from "./FundingLimitRequest"
|
|
82
84
|
import { FundingLimitResponse } from "./FundingLimitResponse"
|
|
@@ -241,9 +243,11 @@ export {
|
|
|
241
243
|
FlightInfo,
|
|
242
244
|
FundingAccountIdentifierType,
|
|
243
245
|
FundingAccountInboundTransferNotificationConfig,
|
|
244
|
-
|
|
246
|
+
FundingAccountResponseV2Basic,
|
|
247
|
+
FundingAccountResponseV2Full,
|
|
245
248
|
FundingAccountSearchRequest,
|
|
246
249
|
FundingAccountSearchResponse,
|
|
250
|
+
FundingAccountSummaryResponse,
|
|
247
251
|
FundingLimitConfig,
|
|
248
252
|
FundingLimitRequest,
|
|
249
253
|
FundingLimitResponse,
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface FundingAccountResponseV2 {
|
|
2
|
-
providerAccountId: string;
|
|
3
|
-
balance: number;
|
|
4
|
-
friendlyName: string;
|
|
5
|
-
}
|
|
6
|
-
export declare namespace FundingAccountResponseV2 {
|
|
7
|
-
function is(value: FundingAccountResponseV2 | any): value is FundingAccountResponseV2;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export var FundingAccountResponseV2;
|
|
2
|
-
(function (FundingAccountResponseV2) {
|
|
3
|
-
function is(value) {
|
|
4
|
-
return typeof value == "object" && typeof value.providerAccountId == "string" && typeof value.balance == "number";
|
|
5
|
-
}
|
|
6
|
-
FundingAccountResponseV2.is = is;
|
|
7
|
-
})(FundingAccountResponseV2 || (FundingAccountResponseV2 = {}));
|
|
8
|
-
//# sourceMappingURL=FundingAccountResponseV2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FundingAccountResponseV2.js","sourceRoot":"../","sources":["model/FundingAccountResponseV2.ts"],"names":[],"mappings":"AAMA,MAAM,KAAW,wBAAwB,CAIxC;AAJD,WAAiB,wBAAwB;IACxC,SAAgB,EAAE,CAAC,KAAqC;QACvD,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAA;IAClH,CAAC;IAFe,2BAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,wBAAwB,KAAxB,wBAAwB,QAIxC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface FundingAccountResponseV2 {
|
|
2
|
-
providerAccountId: string
|
|
3
|
-
balance: number
|
|
4
|
-
friendlyName: string
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export namespace FundingAccountResponseV2 {
|
|
8
|
-
export function is(value: FundingAccountResponseV2 | any): value is FundingAccountResponseV2 {
|
|
9
|
-
return typeof value == "object" && typeof value.providerAccountId == "string" && typeof value.balance == "number"
|
|
10
|
-
}
|
|
11
|
-
}
|