@pax2pay/client 0.3.152 → 0.3.154
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 +7 -4
- package/dist/Client/Reports/index.d.ts +7 -4
- package/dist/Client/Reports/index.js +3 -0
- 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/AbstractPaymentOperation.d.ts +10 -0
- package/dist/model/AbstractPaymentOperation.js +12 -0
- package/dist/model/AbstractPaymentOperation.js.map +1 -0
- package/dist/model/AbstractProviderTransactionOperation.d.ts +9 -0
- package/dist/model/AbstractProviderTransactionOperation.js +10 -0
- package/dist/model/AbstractProviderTransactionOperation.js.map +1 -0
- package/dist/model/DownloadCardReportRequest.d.ts +6 -0
- package/dist/model/DownloadCardReportRequest.js +2 -0
- package/dist/model/DownloadCardReportRequest.js.map +1 -0
- package/dist/model/DownloadFileFormat.d.ts +7 -0
- package/dist/model/DownloadFileFormat.js +8 -0
- package/dist/model/DownloadFileFormat.js.map +1 -0
- package/dist/model/DownloadOrganisationSearchRequest.d.ts +10 -0
- package/dist/model/DownloadOrganisationSearchRequest.js +14 -0
- package/dist/model/DownloadOrganisationSearchRequest.js.map +1 -0
- package/dist/model/{ReconciliationReportUrlRequest.d.ts → DownloadReconciliationReportRequest.d.ts} +3 -2
- package/dist/model/DownloadReconciliationReportRequest.js +2 -0
- package/dist/model/DownloadReconciliationReportRequest.js.map +1 -0
- package/dist/model/DownloadStatementReportRequest.d.ts +6 -0
- package/dist/model/DownloadStatementReportRequest.js +2 -0
- package/dist/model/DownloadStatementReportRequest.js.map +1 -0
- package/dist/model/DownloadUserReportRequest.d.ts +6 -0
- package/dist/model/DownloadUserReportRequest.js +2 -0
- package/dist/model/DownloadUserReportRequest.js.map +1 -0
- package/dist/model/GenericPaymentOperation.d.ts +10 -0
- package/dist/model/GenericPaymentOperation.js +12 -0
- package/dist/model/GenericPaymentOperation.js.map +1 -0
- package/dist/model/MerchantDetailsV2.d.ts +9 -0
- package/dist/model/MerchantDetailsV2.js +11 -0
- package/dist/model/MerchantDetailsV2.js.map +1 -0
- package/dist/model/OrganisationSearchRequest.d.ts +2 -0
- package/dist/model/OrganisationSearchRequest.js +2 -0
- package/dist/model/OrganisationSearchRequest.js.map +1 -1
- package/dist/model/PaymentOperation.d.ts +9 -0
- package/dist/model/PaymentOperation.js +10 -0
- package/dist/model/PaymentOperation.js.map +1 -0
- package/dist/model/PaymentResponse.d.ts +2 -0
- package/dist/model/PaymentResponse.js +2 -0
- package/dist/model/PaymentResponse.js.map +1 -1
- package/dist/model/ProviderCardTransactionOperation.d.ts +9 -0
- package/dist/model/ProviderCardTransactionOperation.js +10 -0
- package/dist/model/ProviderCardTransactionOperation.js.map +1 -0
- package/dist/model/ProviderTransferTransactionOperation.d.ts +9 -0
- package/dist/model/ProviderTransferTransactionOperation.js +11 -0
- package/dist/model/ProviderTransferTransactionOperation.js.map +1 -0
- package/dist/model/index.d.ts +14 -5
- package/dist/model/index.js +10 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +26 -8
- package/model/AbstractPaymentOperation.ts +16 -0
- package/model/AbstractProviderTransactionOperation.ts +12 -0
- package/model/DownloadCardReportRequest.ts +7 -0
- package/model/DownloadFileFormat.ts +9 -0
- package/model/DownloadOrganisationSearchRequest.ts +18 -0
- package/model/{ReconciliationReportUrlRequest.ts → DownloadReconciliationReportRequest.ts} +3 -2
- package/model/DownloadStatementReportRequest.ts +6 -0
- package/model/DownloadUserReportRequest.ts +7 -0
- package/model/GenericPaymentOperation.ts +16 -0
- package/model/MerchantDetailsV2.ts +15 -0
- package/model/OrganisationSearchRequest.ts +3 -0
- package/model/PaymentOperation.ts +18 -0
- package/model/PaymentResponse.ts +3 -1
- package/model/ProviderCardTransactionOperation.ts +12 -0
- package/model/ProviderTransferTransactionOperation.ts +14 -0
- package/model/index.ts +26 -8
- package/package.json +1 -1
- package/dist/model/CardReportUrlRequest.d.ts +0 -5
- package/dist/model/CardReportUrlRequest.js +0 -2
- package/dist/model/CardReportUrlRequest.js.map +0 -1
- package/dist/model/ReconciliationReportUrlRequest.js +0 -2
- package/dist/model/ReconciliationReportUrlRequest.js.map +0 -1
- package/dist/model/StatementReportUrlRequest.d.ts +0 -5
- package/dist/model/StatementReportUrlRequest.js +0 -2
- package/dist/model/StatementReportUrlRequest.js.map +0 -1
- package/dist/model/UserReportUrlRequest.d.ts +0 -5
- package/dist/model/UserReportUrlRequest.js +0 -2
- package/dist/model/UserReportUrlRequest.js.map +0 -1
- package/model/CardReportUrlRequest.ts +0 -6
- package/model/StatementReportUrlRequest.ts +0 -5
- package/model/UserReportUrlRequest.ts +0 -6
package/dist/model/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { AbstractPaymentOperation } from "./AbstractPaymentOperation";
|
|
2
|
+
import { AbstractProviderTransactionOperation } from "./AbstractProviderTransactionOperation";
|
|
1
3
|
import { AccountBankResponse } from "./AccountBankResponse";
|
|
2
4
|
import { AccountCreationRequest } from "./AccountCreationRequest";
|
|
3
5
|
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
|
|
@@ -34,7 +36,6 @@ import { CardForm } from "./CardForm";
|
|
|
34
36
|
import { CardFundingAccountResponse } from "./CardFundingAccountResponse";
|
|
35
37
|
import { CardOperation } from "./CardOperation";
|
|
36
38
|
import { CardOptionSearch } from "./CardOptionSearch";
|
|
37
|
-
import { CardReportUrlRequest } from "./CardReportUrlRequest";
|
|
38
39
|
import { CardResponse } from "./CardResponse";
|
|
39
40
|
import { CardResponseV2 } from "./CardResponseV2";
|
|
40
41
|
import { CardResponseV3 } from "./CardResponseV3";
|
|
@@ -75,6 +76,12 @@ import { Criteria } from "./Criteria";
|
|
|
75
76
|
import { CurrencyConversionRequest } from "./CurrencyConversionRequest";
|
|
76
77
|
import { CurrencyConversionResponse } from "./CurrencyConversionResponse";
|
|
77
78
|
import { DeliveryStatus } from "./DeliveryStatus";
|
|
79
|
+
import { DownloadCardReportRequest } from "./DownloadCardReportRequest";
|
|
80
|
+
import { DownloadFileFormat } from "./DownloadFileFormat";
|
|
81
|
+
import { DownloadOrganisationSearchRequest } from "./DownloadOrganisationSearchRequest";
|
|
82
|
+
import { DownloadReconciliationReportRequest } from "./DownloadReconciliationReportRequest";
|
|
83
|
+
import { DownloadStatementReportRequest } from "./DownloadStatementReportRequest";
|
|
84
|
+
import { DownloadUserReportRequest } from "./DownloadUserReportRequest";
|
|
78
85
|
import { EditCloseDateRequest } from "./EditCloseDateRequest";
|
|
79
86
|
import { EmailValidationResponse } from "./EmailValidationResponse";
|
|
80
87
|
import { ErrorMessageDto } from "./ErrorMessageDto";
|
|
@@ -97,6 +104,7 @@ import { FundingLimitConfig } from "./FundingLimitConfig";
|
|
|
97
104
|
import { FundingLimitRequest } from "./FundingLimitRequest";
|
|
98
105
|
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
99
106
|
import { FutureTransactionPrognosisAmountPair } from "./FutureTransactionPrognosisAmountPair";
|
|
107
|
+
import { GenericPaymentOperation } from "./GenericPaymentOperation";
|
|
100
108
|
import { HotelBookingInfoRequest } from "./HotelBookingInfoRequest";
|
|
101
109
|
import { HotelBookingInfoResponse } from "./HotelBookingInfoResponse";
|
|
102
110
|
import { HotelInfo } from "./HotelInfo";
|
|
@@ -112,6 +120,7 @@ import { Issue } from "./Issue";
|
|
|
112
120
|
import { LoginRequest } from "./LoginRequest";
|
|
113
121
|
import { LoginResponse } from "./LoginResponse";
|
|
114
122
|
import { MerchantDetails } from "./MerchantDetails";
|
|
123
|
+
import { MerchantDetailsV2 } from "./MerchantDetailsV2";
|
|
115
124
|
import { MerchantRequest } from "./MerchantRequest";
|
|
116
125
|
import { MerchantResponse } from "./MerchantResponse";
|
|
117
126
|
import { MerchantSearchRequest } from "./MerchantSearchRequest";
|
|
@@ -151,6 +160,7 @@ import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse";
|
|
|
151
160
|
import { PaymentDeliveryStatus } from "./PaymentDeliveryStatus";
|
|
152
161
|
import { PaymentMerchantRequest } from "./PaymentMerchantRequest";
|
|
153
162
|
import { PaymentMethodType } from "./PaymentMethodType";
|
|
163
|
+
import { PaymentOperation } from "./PaymentOperation";
|
|
154
164
|
import { PaymentRequest } from "./PaymentRequest";
|
|
155
165
|
import { PaymentResponse } from "./PaymentResponse";
|
|
156
166
|
import { PaymentSearch } from "./PaymentSearch";
|
|
@@ -158,10 +168,11 @@ import { PaymentStatus } from "./PaymentStatus";
|
|
|
158
168
|
import { PaymentTransferCreateRequest } from "./PaymentTransferCreateRequest";
|
|
159
169
|
import { ProcessedStatement } from "./ProcessedStatement";
|
|
160
170
|
import { ProductType } from "./ProductType";
|
|
171
|
+
import { ProviderCardTransactionOperation } from "./ProviderCardTransactionOperation";
|
|
161
172
|
import { ProviderCode } from "./ProviderCode";
|
|
162
173
|
import { ProviderResponse } from "./ProviderResponse";
|
|
174
|
+
import { ProviderTransferTransactionOperation } from "./ProviderTransferTransactionOperation";
|
|
163
175
|
import { Range } from "./Range";
|
|
164
|
-
import { ReconciliationReportUrlRequest } from "./ReconciliationReportUrlRequest";
|
|
165
176
|
import { References } from "./References";
|
|
166
177
|
import { RelogWithNewSessionDetailsRequest } from "./RelogWithNewSessionDetailsRequest";
|
|
167
178
|
import { Report } from "./Report";
|
|
@@ -183,7 +194,6 @@ import { StatementReportResponseRow } from "./StatementReportResponseRow";
|
|
|
183
194
|
import { StatementReportRowActionType } from "./StatementReportRowActionType";
|
|
184
195
|
import { StatementReportRowType } from "./StatementReportRowType";
|
|
185
196
|
import { StatementReportSubType } from "./StatementReportSubType";
|
|
186
|
-
import { StatementReportUrlRequest } from "./StatementReportUrlRequest";
|
|
187
197
|
import { StatementRowIds } from "./StatementRowIds";
|
|
188
198
|
import { StatementSummaryReportRequest } from "./StatementSummaryReportRequest";
|
|
189
199
|
import { StatementSummaryReportResponse } from "./StatementSummaryReportResponse";
|
|
@@ -221,11 +231,10 @@ import { UserLimitsDeleteRequest } from "./UserLimitsDeleteRequest";
|
|
|
221
231
|
import { UserLimitsRequest } from "./UserLimitsRequest";
|
|
222
232
|
import { UserLimitsResponse } from "./UserLimitsResponse";
|
|
223
233
|
import { UsernameAvailabilityResponse } from "./UsernameAvailabilityResponse";
|
|
224
|
-
import { UserReportUrlRequest } from "./UserReportUrlRequest";
|
|
225
234
|
import { UserRequest } from "./UserRequest";
|
|
226
235
|
import { UserResponse } from "./UserResponse";
|
|
227
236
|
import { UserRoleResponse } from "./UserRoleResponse";
|
|
228
237
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
229
238
|
import { UserStatus } from "./UserStatus";
|
|
230
239
|
import { YearMonth } from "./YearMonth";
|
|
231
|
-
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch,
|
|
240
|
+
export { AbstractPaymentOperation, AbstractProviderTransactionOperation, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeDefinition, CardTypeInformation, CreateCardTypeProfileRequest, CardTypeProfileResponse, CardTypesResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeFlag, CardUsage, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, DownloadCardReportRequest, DownloadFileFormat, DownloadOrganisationSearchRequest, DownloadReconciliationReportRequest, DownloadStatementReportRequest, DownloadUserReportRequest, EditCloseDateRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, GenericPaymentOperation, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginRequest, LoginResponse, MerchantDetails, MerchantDetailsV2, MerchantRequest, MerchantResponse, MerchantSearchRequest, MerchantType, MetadataFormat, MinimalBookingInfo, NonBeneficiaryTransferDestination, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentOperation, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCardTransactionOperation, ProviderCode, ProviderResponse, ProviderTransferTransactionOperation, Range, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, Scheme, CardSearch, ScheduledTaskRequest, SearchRolesetsRequest, SecurityConfig, Segment, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateRolesetRequest, Usage, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/model/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { AbstractPaymentOperation } from "./AbstractPaymentOperation";
|
|
2
|
+
import { AbstractProviderTransactionOperation } from "./AbstractProviderTransactionOperation";
|
|
1
3
|
import { AccountBankResponse } from "./AccountBankResponse";
|
|
2
4
|
import { AccountCreationRequest } from "./AccountCreationRequest";
|
|
3
5
|
import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
|
|
@@ -49,6 +51,8 @@ import { Criteria } from "./Criteria";
|
|
|
49
51
|
import { CurrencyConversionRequest } from "./CurrencyConversionRequest";
|
|
50
52
|
import { CurrencyConversionResponse } from "./CurrencyConversionResponse";
|
|
51
53
|
import { DeliveryStatus } from "./DeliveryStatus";
|
|
54
|
+
import { DownloadFileFormat } from "./DownloadFileFormat";
|
|
55
|
+
import { DownloadOrganisationSearchRequest } from "./DownloadOrganisationSearchRequest";
|
|
52
56
|
import { EditCloseDateRequest } from "./EditCloseDateRequest";
|
|
53
57
|
import { EmailValidationResponse } from "./EmailValidationResponse";
|
|
54
58
|
import { ErrorMessageDto } from "./ErrorMessageDto";
|
|
@@ -69,6 +73,7 @@ import { FundingLimitConfig } from "./FundingLimitConfig";
|
|
|
69
73
|
import { FundingLimitRequest } from "./FundingLimitRequest";
|
|
70
74
|
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
71
75
|
import { FutureTransactionPrognosisAmountPair } from "./FutureTransactionPrognosisAmountPair";
|
|
76
|
+
import { GenericPaymentOperation } from "./GenericPaymentOperation";
|
|
72
77
|
import { HotelBookingInfoRequest } from "./HotelBookingInfoRequest";
|
|
73
78
|
import { HotelBookingInfoResponse } from "./HotelBookingInfoResponse";
|
|
74
79
|
import { HotelInfo } from "./HotelInfo";
|
|
@@ -82,6 +87,7 @@ import { InvokingSystem } from "./InvokingSystem";
|
|
|
82
87
|
import { Issue } from "./Issue";
|
|
83
88
|
import { LoginResponse } from "./LoginResponse";
|
|
84
89
|
import { MerchantDetails } from "./MerchantDetails";
|
|
90
|
+
import { MerchantDetailsV2 } from "./MerchantDetailsV2";
|
|
85
91
|
import { MerchantRequest } from "./MerchantRequest";
|
|
86
92
|
import { MerchantResponse } from "./MerchantResponse";
|
|
87
93
|
import { MerchantType } from "./MerchantType";
|
|
@@ -112,14 +118,17 @@ import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse";
|
|
|
112
118
|
import { PaymentDeliveryStatus } from "./PaymentDeliveryStatus";
|
|
113
119
|
import { PaymentMerchantRequest } from "./PaymentMerchantRequest";
|
|
114
120
|
import { PaymentMethodType } from "./PaymentMethodType";
|
|
121
|
+
import { PaymentOperation } from "./PaymentOperation";
|
|
115
122
|
import { PaymentRequest } from "./PaymentRequest";
|
|
116
123
|
import { PaymentResponse } from "./PaymentResponse";
|
|
117
124
|
import { PaymentSearch } from "./PaymentSearch";
|
|
118
125
|
import { PaymentStatus } from "./PaymentStatus";
|
|
119
126
|
import { PaymentTransferCreateRequest } from "./PaymentTransferCreateRequest";
|
|
120
127
|
import { ProductType } from "./ProductType";
|
|
128
|
+
import { ProviderCardTransactionOperation } from "./ProviderCardTransactionOperation";
|
|
121
129
|
import { ProviderCode } from "./ProviderCode";
|
|
122
130
|
import { ProviderResponse } from "./ProviderResponse";
|
|
131
|
+
import { ProviderTransferTransactionOperation } from "./ProviderTransferTransactionOperation";
|
|
123
132
|
import { Range } from "./Range";
|
|
124
133
|
import { References } from "./References";
|
|
125
134
|
import { ScheduleEntry } from "./ScheduleEntry";
|
|
@@ -155,5 +164,5 @@ import { UserRequest } from "./UserRequest";
|
|
|
155
164
|
import { UserResponse } from "./UserResponse";
|
|
156
165
|
import { UserStatus } from "./UserStatus";
|
|
157
166
|
import { YearMonth } from "./YearMonth";
|
|
158
|
-
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeDefinition, CardTypeInformation, CardTypeProfileResponse, CardTypesConfig, CardTypeSpecification, CardTypeFlag, CardUsage, CredentialRequest, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EditCloseDateRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InsertCardOptionRequest, InsertCardRequest, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantType, MetadataFormat, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, Scheme, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, Usage, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
167
|
+
export { AbstractPaymentOperation, AbstractProviderTransactionOperation, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeDefinition, CardTypeInformation, CardTypeProfileResponse, CardTypesConfig, CardTypeSpecification, CardTypeFlag, CardUsage, CredentialRequest, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, DownloadFileFormat, DownloadOrganisationSearchRequest, EditCloseDateRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, GenericPaymentOperation, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InsertCardOptionRequest, InsertCardRequest, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, MerchantDetailsV2, MerchantRequest, MerchantResponse, MerchantType, MetadataFormat, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentOperation, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCardTransactionOperation, ProviderCode, ProviderResponse, ProviderTransferTransactionOperation, Range, References, ScheduleEntry, Scheme, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, Usage, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
159
168
|
//# 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;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,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;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAIzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAA;AACjG,OAAO,EAAE,4BAA4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gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,aAAa,EACb,aAAa,EACb,4BAA4B,EAE5B,WAAW,EACX,gCAAgC,EAChC,YAAY,EACZ,gBAAgB,EAChB,oCAAoC,EACpC,KAAK,EACL,UAAU,EAOV,aAAa,EACb,MAAM,EAIN,cAAc,EACd,OAAO,EAKP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EAIf,6BAA6B,EAC7B,0BAA0B,EAE1B,mBAAmB,EACnB,eAAe,EAGf,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EAEjB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,eAAe,EAGf,oBAAoB,EAIpB,KAAK,EACL,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAC5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Client } from "./Client"
|
|
2
2
|
import {
|
|
3
|
+
AbstractPaymentOperation,
|
|
4
|
+
AbstractProviderTransactionOperation,
|
|
3
5
|
AccountBankResponse,
|
|
4
6
|
AccountCreationRequest,
|
|
5
7
|
AccountDetailsTransferDestinationResponse,
|
|
@@ -36,7 +38,6 @@ import {
|
|
|
36
38
|
CardFundingAccountResponse,
|
|
37
39
|
CardOperation,
|
|
38
40
|
CardOptionSearch,
|
|
39
|
-
CardReportUrlRequest,
|
|
40
41
|
CardResponse,
|
|
41
42
|
CardResponseV2,
|
|
42
43
|
CardResponseV3,
|
|
@@ -76,6 +77,12 @@ import {
|
|
|
76
77
|
CurrencyConversionRequest,
|
|
77
78
|
CurrencyConversionResponse,
|
|
78
79
|
DeliveryStatus,
|
|
80
|
+
DownloadCardReportRequest,
|
|
81
|
+
DownloadFileFormat,
|
|
82
|
+
DownloadOrganisationSearchRequest,
|
|
83
|
+
DownloadReconciliationReportRequest,
|
|
84
|
+
DownloadStatementReportRequest,
|
|
85
|
+
DownloadUserReportRequest,
|
|
79
86
|
EditCloseDateRequest,
|
|
80
87
|
EmailValidationResponse,
|
|
81
88
|
ErrorMessageDto,
|
|
@@ -98,6 +105,7 @@ import {
|
|
|
98
105
|
FundingLimitRequest,
|
|
99
106
|
FundingLimitResponse,
|
|
100
107
|
FutureTransactionPrognosisAmountPair,
|
|
108
|
+
GenericPaymentOperation,
|
|
101
109
|
HotelBookingInfoRequest,
|
|
102
110
|
HotelBookingInfoResponse,
|
|
103
111
|
HotelInfo,
|
|
@@ -112,6 +120,7 @@ import {
|
|
|
112
120
|
LoginRequest,
|
|
113
121
|
LoginResponse,
|
|
114
122
|
MerchantDetails,
|
|
123
|
+
MerchantDetailsV2,
|
|
115
124
|
MerchantRequest,
|
|
116
125
|
MerchantResponse,
|
|
117
126
|
MerchantSearchRequest,
|
|
@@ -151,6 +160,7 @@ import {
|
|
|
151
160
|
PaymentDeliveryStatus,
|
|
152
161
|
PaymentMerchantRequest,
|
|
153
162
|
PaymentMethodType,
|
|
163
|
+
PaymentOperation,
|
|
154
164
|
PaymentRequest,
|
|
155
165
|
PaymentResponse,
|
|
156
166
|
PaymentSearch,
|
|
@@ -158,10 +168,11 @@ import {
|
|
|
158
168
|
PaymentTransferCreateRequest,
|
|
159
169
|
ProcessedStatement,
|
|
160
170
|
ProductType,
|
|
171
|
+
ProviderCardTransactionOperation,
|
|
161
172
|
ProviderCode,
|
|
162
173
|
ProviderResponse,
|
|
174
|
+
ProviderTransferTransactionOperation,
|
|
163
175
|
Range,
|
|
164
|
-
ReconciliationReportUrlRequest,
|
|
165
176
|
References,
|
|
166
177
|
RelogWithNewSessionDetailsRequest,
|
|
167
178
|
Report,
|
|
@@ -182,7 +193,6 @@ import {
|
|
|
182
193
|
StatementReportRowActionType,
|
|
183
194
|
StatementReportRowType,
|
|
184
195
|
StatementReportSubType,
|
|
185
|
-
StatementReportUrlRequest,
|
|
186
196
|
StatementRowIds,
|
|
187
197
|
StatementSummaryReportRequest,
|
|
188
198
|
StatementSummaryReportResponse,
|
|
@@ -220,7 +230,6 @@ import {
|
|
|
220
230
|
UserLimitsRequest,
|
|
221
231
|
UserLimitsResponse,
|
|
222
232
|
UsernameAvailabilityResponse,
|
|
223
|
-
UserReportUrlRequest,
|
|
224
233
|
UserRequest,
|
|
225
234
|
UserResponse,
|
|
226
235
|
UserRoleResponse,
|
|
@@ -231,6 +240,8 @@ import {
|
|
|
231
240
|
|
|
232
241
|
export {
|
|
233
242
|
Client,
|
|
243
|
+
AbstractPaymentOperation,
|
|
244
|
+
AbstractProviderTransactionOperation,
|
|
234
245
|
AccountBankResponse,
|
|
235
246
|
AccountCreationRequest,
|
|
236
247
|
AccountDetailsTransferDestinationResponse,
|
|
@@ -267,7 +278,6 @@ export {
|
|
|
267
278
|
CardFundingAccountResponse,
|
|
268
279
|
CardOperation,
|
|
269
280
|
CardOptionSearch,
|
|
270
|
-
CardReportUrlRequest,
|
|
271
281
|
CardResponse,
|
|
272
282
|
CardResponseV2,
|
|
273
283
|
CardResponseV3,
|
|
@@ -307,6 +317,12 @@ export {
|
|
|
307
317
|
CurrencyConversionRequest,
|
|
308
318
|
CurrencyConversionResponse,
|
|
309
319
|
DeliveryStatus,
|
|
320
|
+
DownloadCardReportRequest,
|
|
321
|
+
DownloadFileFormat,
|
|
322
|
+
DownloadOrganisationSearchRequest,
|
|
323
|
+
DownloadReconciliationReportRequest,
|
|
324
|
+
DownloadStatementReportRequest,
|
|
325
|
+
DownloadUserReportRequest,
|
|
310
326
|
EditCloseDateRequest,
|
|
311
327
|
EmailValidationResponse,
|
|
312
328
|
ErrorMessageDto,
|
|
@@ -329,6 +345,7 @@ export {
|
|
|
329
345
|
FundingLimitRequest,
|
|
330
346
|
FundingLimitResponse,
|
|
331
347
|
FutureTransactionPrognosisAmountPair,
|
|
348
|
+
GenericPaymentOperation,
|
|
332
349
|
HotelBookingInfoRequest,
|
|
333
350
|
HotelBookingInfoResponse,
|
|
334
351
|
HotelInfo,
|
|
@@ -343,6 +360,7 @@ export {
|
|
|
343
360
|
LoginRequest,
|
|
344
361
|
LoginResponse,
|
|
345
362
|
MerchantDetails,
|
|
363
|
+
MerchantDetailsV2,
|
|
346
364
|
MerchantRequest,
|
|
347
365
|
MerchantResponse,
|
|
348
366
|
MerchantSearchRequest,
|
|
@@ -382,6 +400,7 @@ export {
|
|
|
382
400
|
PaymentDeliveryStatus,
|
|
383
401
|
PaymentMerchantRequest,
|
|
384
402
|
PaymentMethodType,
|
|
403
|
+
PaymentOperation,
|
|
385
404
|
PaymentRequest,
|
|
386
405
|
PaymentResponse,
|
|
387
406
|
PaymentSearch,
|
|
@@ -389,13 +408,14 @@ export {
|
|
|
389
408
|
PaymentTransferCreateRequest,
|
|
390
409
|
ProcessedStatement,
|
|
391
410
|
ProductType,
|
|
411
|
+
ProviderCardTransactionOperation,
|
|
392
412
|
ProviderCode,
|
|
393
413
|
ProviderResponse,
|
|
414
|
+
ProviderTransferTransactionOperation,
|
|
394
415
|
Range,
|
|
395
416
|
References,
|
|
396
417
|
RelogWithNewSessionDetailsRequest,
|
|
397
418
|
Report,
|
|
398
|
-
ReconciliationReportUrlRequest,
|
|
399
419
|
ReportUrlResponse,
|
|
400
420
|
RoleResponse,
|
|
401
421
|
RolesetResponse,
|
|
@@ -408,7 +428,6 @@ export {
|
|
|
408
428
|
SecurityConfig,
|
|
409
429
|
SearchBeneficiaryRequest,
|
|
410
430
|
SearchCardTypeProfileRequest,
|
|
411
|
-
StatementReportUrlRequest,
|
|
412
431
|
StatementReportRequest,
|
|
413
432
|
StatementReportResponse,
|
|
414
433
|
StatementReportResponseRow,
|
|
@@ -451,7 +470,6 @@ export {
|
|
|
451
470
|
UserLimitsRequest,
|
|
452
471
|
UserLimitsResponse,
|
|
453
472
|
UsernameAvailabilityResponse,
|
|
454
|
-
UserReportUrlRequest,
|
|
455
473
|
UserRequest,
|
|
456
474
|
UserResponse,
|
|
457
475
|
UserRoleResponse,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DateTime } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
|
|
4
|
+
export interface AbstractPaymentOperation {
|
|
5
|
+
type: string
|
|
6
|
+
timestamp: DateTime
|
|
7
|
+
description?: string
|
|
8
|
+
}
|
|
9
|
+
export namespace AbstractPaymentOperation {
|
|
10
|
+
export const type = isly.object<AbstractPaymentOperation>({
|
|
11
|
+
type: isly.string(),
|
|
12
|
+
timestamp: isly.fromIs("DateTime", DateTime.is),
|
|
13
|
+
description: isly.string().optional(),
|
|
14
|
+
})
|
|
15
|
+
export const is = type.is
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AbstractPaymentOperation } from "./AbstractPaymentOperation"
|
|
2
|
+
import { BillingTransactionAmountPair } from "./BillingTransactionAmountPair"
|
|
3
|
+
|
|
4
|
+
export interface AbstractProviderTransactionOperation extends AbstractPaymentOperation {
|
|
5
|
+
amount: BillingTransactionAmountPair
|
|
6
|
+
}
|
|
7
|
+
export namespace AbstractProviderTransactionOperation {
|
|
8
|
+
export const type = AbstractPaymentOperation.type.extend<AbstractProviderTransactionOperation>({
|
|
9
|
+
amount: BillingTransactionAmountPair.type,
|
|
10
|
+
})
|
|
11
|
+
export const is = type.is
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export type DownloadFileFormat = typeof DownloadFileFormat.values[number]
|
|
4
|
+
|
|
5
|
+
export namespace DownloadFileFormat {
|
|
6
|
+
export const values = ["CSV", "PDF", "HTML"] as const
|
|
7
|
+
export const type = isly.string(values)
|
|
8
|
+
export const is = type.is
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { DownloadFileFormat } from "./DownloadFileFormat"
|
|
3
|
+
import { OrganisationSearchRequest } from "./OrganisationSearchRequest"
|
|
4
|
+
|
|
5
|
+
export interface DownloadOrganisationSearchRequest extends OrganisationSearchRequest {
|
|
6
|
+
fileFormat: DownloadFileFormat
|
|
7
|
+
locale?: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export namespace DownloadOrganisationSearchRequest {
|
|
11
|
+
export const type = OrganisationSearchRequest.type
|
|
12
|
+
.extend<DownloadOrganisationSearchRequest>({
|
|
13
|
+
fileFormat: DownloadFileFormat.type,
|
|
14
|
+
locale: isly.string().optional(),
|
|
15
|
+
})
|
|
16
|
+
.extend(OrganisationSearchRequest.type)
|
|
17
|
+
export const is = type.is
|
|
18
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as isoly from "isoly"
|
|
2
|
+
import { DownloadFileFormat } from "./DownloadFileFormat"
|
|
2
3
|
import { ProviderCode } from "./ProviderCode"
|
|
3
|
-
export interface
|
|
4
|
-
fileFormat:
|
|
4
|
+
export interface DownloadReconciliationReportRequest {
|
|
5
|
+
fileFormat: DownloadFileFormat
|
|
5
6
|
locale?: string
|
|
6
7
|
providerCode?: ProviderCode
|
|
7
8
|
providerAccountId?: string
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { AbstractPaymentOperation } from "./AbstractPaymentOperation"
|
|
3
|
+
import { AmountPair } from "./AmountPair"
|
|
4
|
+
|
|
5
|
+
export interface GenericPaymentOperation extends AbstractPaymentOperation {
|
|
6
|
+
amount?: AmountPair
|
|
7
|
+
createdBy: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export namespace GenericPaymentOperation {
|
|
11
|
+
export const type = AbstractPaymentOperation.type.extend<GenericPaymentOperation>({
|
|
12
|
+
amount: isly.fromIs("AmountPair", AmountPair.is).optional(),
|
|
13
|
+
createdBy: isly.string(),
|
|
14
|
+
})
|
|
15
|
+
export const is = type.is
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export interface MerchantDetailsV2 {
|
|
4
|
+
mcc?: string
|
|
5
|
+
name?: string
|
|
6
|
+
country?: string
|
|
7
|
+
}
|
|
8
|
+
export namespace MerchantDetailsV2 {
|
|
9
|
+
export const type = isly.object<MerchantDetailsV2>({
|
|
10
|
+
mcc: isly.string().optional(),
|
|
11
|
+
name: isly.string().optional(),
|
|
12
|
+
country: isly.string().optional(),
|
|
13
|
+
})
|
|
14
|
+
export const is = type.is
|
|
15
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isly } from "isly"
|
|
2
|
+
import { OrganisationFlag } from "./OrganisationFlag"
|
|
2
3
|
import { OrganisationStatusV2 } from "./OrganisationStatusV2"
|
|
3
4
|
import { ProviderCode } from "./ProviderCode"
|
|
4
5
|
|
|
@@ -6,6 +7,7 @@ export interface OrganisationSearchRequest {
|
|
|
6
7
|
codes?: string[]
|
|
7
8
|
activeProviders?: ProviderCode[]
|
|
8
9
|
statuses?: OrganisationStatusV2[]
|
|
10
|
+
channelPartners?: OrganisationFlag[]
|
|
9
11
|
includeConfig?: boolean
|
|
10
12
|
includeCredentials?: boolean
|
|
11
13
|
includeCardTypes?: boolean
|
|
@@ -16,6 +18,7 @@ export namespace OrganisationSearchRequest {
|
|
|
16
18
|
codes: isly.string().array().optional(),
|
|
17
19
|
activeProviders: ProviderCode.type.array().optional(),
|
|
18
20
|
statuses: OrganisationStatusV2.type.array().optional(),
|
|
21
|
+
channelPartners: OrganisationFlag.type.array().optional(),
|
|
19
22
|
includeConfig: isly.boolean().optional(),
|
|
20
23
|
includeCredentials: isly.boolean().optional(),
|
|
21
24
|
includeCardTypes: isly.boolean().optional(),
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { GenericPaymentOperation } from "./GenericPaymentOperation"
|
|
3
|
+
import { ProviderCardTransactionOperation } from "./ProviderCardTransactionOperation"
|
|
4
|
+
import { ProviderTransferTransactionOperation } from "./ProviderTransferTransactionOperation"
|
|
5
|
+
|
|
6
|
+
export type PaymentOperation =
|
|
7
|
+
| GenericPaymentOperation
|
|
8
|
+
| ProviderTransferTransactionOperation
|
|
9
|
+
| ProviderCardTransactionOperation
|
|
10
|
+
|
|
11
|
+
export namespace PaymentOperation {
|
|
12
|
+
export const type = isly.union(
|
|
13
|
+
GenericPaymentOperation.type,
|
|
14
|
+
ProviderTransferTransactionOperation.type,
|
|
15
|
+
ProviderCardTransactionOperation.type
|
|
16
|
+
)
|
|
17
|
+
export const is = type.is
|
|
18
|
+
}
|
package/model/PaymentResponse.ts
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { isly } from "isly"
|
|
2
2
|
import { BasePaymentResponse } from "./BasePaymentResponse"
|
|
3
3
|
import { CardResponseV3 } from "./CardResponseV3"
|
|
4
|
+
import { PaymentOperation } from "./PaymentOperation"
|
|
4
5
|
import { TransferResponseV3 } from "./TransferResponseV3"
|
|
5
|
-
|
|
6
6
|
export interface PaymentResponse extends BasePaymentResponse {
|
|
7
7
|
card?: CardResponseV3
|
|
8
8
|
transfer?: TransferResponseV3
|
|
9
|
+
operations?: PaymentOperation[]
|
|
9
10
|
}
|
|
10
11
|
export namespace PaymentResponse {
|
|
11
12
|
export const type = BasePaymentResponse.type.extend<PaymentResponse>({
|
|
12
13
|
card: isly.fromIs("CardResponseV3", CardResponseV3.is).optional(),
|
|
13
14
|
transfer: isly.fromIs("TransferResponseV3", TransferResponseV3.is).optional(),
|
|
15
|
+
operations: isly.array(PaymentOperation.type).optional(),
|
|
14
16
|
})
|
|
15
17
|
export const is = type.is
|
|
16
18
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AbstractProviderTransactionOperation } from "./AbstractProviderTransactionOperation"
|
|
2
|
+
import { MerchantDetailsV2 } from "./MerchantDetailsV2"
|
|
3
|
+
|
|
4
|
+
export interface ProviderCardTransactionOperation extends AbstractProviderTransactionOperation {
|
|
5
|
+
merchant?: MerchantDetailsV2
|
|
6
|
+
}
|
|
7
|
+
export namespace ProviderCardTransactionOperation {
|
|
8
|
+
export const type = AbstractProviderTransactionOperation.type.extend<ProviderCardTransactionOperation>({
|
|
9
|
+
merchant: MerchantDetailsV2.type.optional(),
|
|
10
|
+
})
|
|
11
|
+
export const is = type.is
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { AbstractProviderTransactionOperation } from "./AbstractProviderTransactionOperation"
|
|
3
|
+
|
|
4
|
+
export interface ProviderTransferTransactionOperation extends AbstractProviderTransactionOperation {
|
|
5
|
+
reference?: string
|
|
6
|
+
payee?: string
|
|
7
|
+
}
|
|
8
|
+
export namespace ProviderTransferTransactionOperation {
|
|
9
|
+
export const type = AbstractProviderTransactionOperation.type.extend<ProviderTransferTransactionOperation>({
|
|
10
|
+
reference: isly.string().optional(),
|
|
11
|
+
payee: isly.string().optional(),
|
|
12
|
+
})
|
|
13
|
+
export const is = type.is
|
|
14
|
+
}
|