@pax2pay/client 0.3.105 → 0.3.107
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/Merchants/index.ts +3 -0
- package/Client/Payments/index.ts +4 -1
- package/dist/Client/Merchants/index.d.ts +3 -0
- package/dist/Client/Merchants/index.js +3 -0
- package/dist/Client/Merchants/index.js.map +1 -1
- package/dist/Client/Payments/index.d.ts +4 -1
- package/dist/Client/Payments/index.js +3 -0
- package/dist/Client/Payments/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/AccountState.d.ts +1 -1
- package/dist/model/AccountState.js +0 -1
- package/dist/model/AccountState.js.map +1 -1
- package/dist/model/CardOperation.d.ts +10 -0
- package/dist/model/CardOperation.js +11 -0
- package/dist/model/CardOperation.js.map +1 -0
- package/dist/model/CardResponseV3.d.ts +25 -0
- package/dist/model/CardResponseV3.js +26 -0
- package/dist/model/CardResponseV3.js.map +1 -0
- package/dist/model/MerchantRequest.d.ts +4 -1
- package/dist/model/MerchantRequest.js +8 -7
- package/dist/model/MerchantRequest.js.map +1 -1
- package/dist/model/MerchantResponse.d.ts +3 -0
- package/dist/model/MerchantResponse.js +5 -0
- package/dist/model/MerchantResponse.js.map +1 -1
- package/dist/model/PaymentAmountScheduleRequest.d.ts +10 -0
- package/dist/model/PaymentAmountScheduleRequest.js +11 -0
- package/dist/model/PaymentAmountScheduleRequest.js.map +1 -0
- package/dist/model/PaymentAmountScheduleResponse.d.ts +10 -0
- package/dist/model/PaymentAmountScheduleResponse.js +11 -0
- package/dist/model/PaymentAmountScheduleResponse.js.map +1 -0
- package/dist/model/PaymentCardCreateRequest.d.ts +11 -0
- package/dist/model/PaymentCardCreateRequest.js +12 -0
- package/dist/model/PaymentCardCreateRequest.js.map +1 -0
- package/dist/model/PaymentDeliveryRequest.d.ts +12 -0
- package/dist/model/PaymentDeliveryRequest.js +13 -0
- package/dist/model/PaymentDeliveryRequest.js.map +1 -0
- package/dist/model/PaymentDeliveryResponse.d.ts +16 -0
- package/dist/model/PaymentDeliveryResponse.js +17 -0
- package/dist/model/PaymentDeliveryResponse.js.map +1 -0
- package/dist/model/PaymentRequest.d.ts +24 -0
- package/dist/model/PaymentRequest.js +25 -0
- package/dist/model/PaymentRequest.js.map +1 -0
- package/dist/model/PaymentResponse.d.ts +21 -4
- package/dist/model/PaymentResponse.js +27 -1
- package/dist/model/PaymentResponse.js.map +1 -1
- package/dist/model/PaymentTransferCreateRequest.d.ts +9 -0
- package/dist/model/PaymentTransferCreateRequest.js +10 -0
- package/dist/model/PaymentTransferCreateRequest.js.map +1 -0
- package/dist/model/TransferResponseV3.d.ts +9 -0
- package/dist/model/TransferResponseV3.js +10 -0
- package/dist/model/TransferResponseV3.js.map +1 -0
- package/dist/model/index.d.ts +11 -1
- package/dist/model/index.js +12 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +20 -0
- package/model/AccountState.ts +0 -1
- package/model/CardOperation.ts +14 -0
- package/model/CardResponseV3.ts +41 -0
- package/model/MerchantRequest.ts +9 -8
- package/model/MerchantResponse.ts +6 -0
- package/model/PaymentAmountScheduleRequest.ts +14 -0
- package/model/PaymentAmountScheduleResponse.ts +14 -0
- package/model/PaymentCardCreateRequest.ts +16 -0
- package/model/PaymentDeliveryRequest.ts +18 -0
- package/model/PaymentDeliveryResponse.ts +25 -0
- package/model/PaymentRequest.ts +37 -0
- package/model/PaymentResponse.ts +35 -4
- package/model/PaymentTransferCreateRequest.ts +13 -0
- package/model/TransferResponseV3.ts +13 -0
- package/model/index.ts +20 -0
- package/package.json +1 -1
|
@@ -1,10 +1,27 @@
|
|
|
1
|
-
import { Currency } from "isoly";
|
|
2
|
-
import {
|
|
1
|
+
import { Currency, DateTime } from "isoly";
|
|
2
|
+
import { isly } from "isly";
|
|
3
|
+
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
4
|
+
import { CardResponseV3 } from "./CardResponseV3";
|
|
3
5
|
import { MerchantResponse } from "./MerchantResponse";
|
|
6
|
+
import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
|
|
7
|
+
import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse";
|
|
8
|
+
import { TransferResponseV3 } from "./TransferResponseV3";
|
|
4
9
|
export interface PaymentResponse {
|
|
5
10
|
id: string;
|
|
6
|
-
merchant
|
|
11
|
+
merchant?: MerchantResponse;
|
|
12
|
+
account: string;
|
|
7
13
|
amount: number;
|
|
8
14
|
currency: Currency;
|
|
9
|
-
card
|
|
15
|
+
method: "card" | "transfer";
|
|
16
|
+
meta?: BookingInfoResponse;
|
|
17
|
+
createdBy: string;
|
|
18
|
+
createdOn: DateTime;
|
|
19
|
+
card?: CardResponseV3;
|
|
20
|
+
transfer?: TransferResponseV3;
|
|
21
|
+
delivery?: PaymentDeliveryResponse;
|
|
22
|
+
schedule?: PaymentAmountScheduleResponse[];
|
|
23
|
+
}
|
|
24
|
+
export declare namespace PaymentResponse {
|
|
25
|
+
const type: isly.object.ExtendableType<PaymentResponse>;
|
|
26
|
+
const is: isly.Type.IsFunction<PaymentResponse>;
|
|
10
27
|
}
|
|
@@ -1,2 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
import { isly } from "isly";
|
|
3
|
+
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
4
|
+
import { CardResponseV3 } from "./CardResponseV3";
|
|
5
|
+
import { MerchantResponse } from "./MerchantResponse";
|
|
6
|
+
import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
|
|
7
|
+
import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse";
|
|
8
|
+
import { TransferResponseV3 } from "./TransferResponseV3";
|
|
9
|
+
export var PaymentResponse;
|
|
10
|
+
(function (PaymentResponse) {
|
|
11
|
+
PaymentResponse.type = isly.object({
|
|
12
|
+
id: isly.string(),
|
|
13
|
+
merchant: isly.fromIs("MerchantResponse", MerchantResponse.is).optional(),
|
|
14
|
+
account: isly.string(),
|
|
15
|
+
amount: isly.number(),
|
|
16
|
+
currency: isly.fromIs("Currency", Currency.is),
|
|
17
|
+
method: isly.string(["card", "transfer"]),
|
|
18
|
+
meta: isly.fromIs("BookingInfoResponse", BookingInfoResponse.is).optional(),
|
|
19
|
+
createdBy: isly.string(),
|
|
20
|
+
createdOn: isly.string(),
|
|
21
|
+
card: isly.fromIs("CardResponseV3", CardResponseV3.is).optional(),
|
|
22
|
+
transfer: isly.fromIs("TransferResponseV3", TransferResponseV3.is).optional(),
|
|
23
|
+
delivery: isly.fromIs("PaymentDeliveryResponse", PaymentDeliveryResponse.is).optional(),
|
|
24
|
+
schedule: isly.array(isly.fromIs("PaymentAmountScheduleResponse", PaymentAmountScheduleResponse.is)).optional(),
|
|
25
|
+
});
|
|
26
|
+
PaymentResponse.is = PaymentResponse.type.is;
|
|
27
|
+
})(PaymentResponse || (PaymentResponse = {}));
|
|
2
28
|
//# sourceMappingURL=PaymentResponse.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentResponse.js","sourceRoot":"../","sources":["model/PaymentResponse.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"PaymentResponse.js","sourceRoot":"../","sources":["model/PaymentResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAY,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,s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f,eAAe,QAiB/B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export interface PaymentTransferCreateRequest {
|
|
3
|
+
beneficiary?: string;
|
|
4
|
+
reference?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare namespace PaymentTransferCreateRequest {
|
|
7
|
+
const type: isly.object.ExtendableType<PaymentTransferCreateRequest>;
|
|
8
|
+
const is: isly.Type.IsFunction<PaymentTransferCreateRequest>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var PaymentTransferCreateRequest;
|
|
3
|
+
(function (PaymentTransferCreateRequest) {
|
|
4
|
+
PaymentTransferCreateRequest.type = isly.object({
|
|
5
|
+
beneficiary: isly.string().optional(),
|
|
6
|
+
reference: isly.string().optional(),
|
|
7
|
+
});
|
|
8
|
+
PaymentTransferCreateRequest.is = PaymentTransferCreateRequest.type.is;
|
|
9
|
+
})(PaymentTransferCreateRequest || (PaymentTransferCreateRequest = {}));
|
|
10
|
+
//# sourceMappingURL=PaymentTransferCreateRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentTransferCreateRequest.js","sourceRoot":"../","sources":["model/PaymentTransferCreateRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAM3B,MAAM,KAAW,4BAA4B,CAM5C;AAND,WAAiB,4BAA4B;IAC/B,iCAAI,GAAG,IAAI,CAAC,MAAM,CAA+B;QAC7D,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACnC,CAAC,CAAA;IACW,+BAAE,GAAG,6BAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EANgB,4BAA4B,KAA5B,4BAA4B,QAM5C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export interface TransferResponseV3 {
|
|
3
|
+
beneficiary?: string;
|
|
4
|
+
reference: string;
|
|
5
|
+
}
|
|
6
|
+
export declare namespace TransferResponseV3 {
|
|
7
|
+
const type: isly.object.ExtendableType<TransferResponseV3>;
|
|
8
|
+
const is: isly.Type.IsFunction<TransferResponseV3>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var TransferResponseV3;
|
|
3
|
+
(function (TransferResponseV3) {
|
|
4
|
+
TransferResponseV3.type = isly.object({
|
|
5
|
+
beneficiary: isly.string().optional(),
|
|
6
|
+
reference: isly.string(),
|
|
7
|
+
});
|
|
8
|
+
TransferResponseV3.is = TransferResponseV3.type.is;
|
|
9
|
+
})(TransferResponseV3 || (TransferResponseV3 = {}));
|
|
10
|
+
//# sourceMappingURL=TransferResponseV3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransferResponseV3.js","sourceRoot":"../","sources":["model/TransferResponseV3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAM3B,MAAM,KAAW,kBAAkB,CAMlC;AAND,WAAiB,kBAAkB;IACrB,uBAAI,GAAG,IAAI,CAAC,MAAM,CAAqB;QACnD,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;KACxB,CAAC,CAAA;IACW,qBAAE,GAAG,mBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EANgB,kBAAkB,KAAlB,kBAAkB,QAMlC"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -32,10 +32,12 @@ import { CardDeliveryRequest } from "./CardDeliveryRequest";
|
|
|
32
32
|
import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
33
33
|
import { CardForm } from "./CardForm";
|
|
34
34
|
import { CardFundingAccountResponse } from "./CardFundingAccountResponse";
|
|
35
|
+
import { CardOperation } from "./CardOperation";
|
|
35
36
|
import { CardOptionSearch } from "./CardOptionSearch";
|
|
36
37
|
import { CardReportUrlRequest } from "./CardReportUrlRequest";
|
|
37
38
|
import { CardResponse } from "./CardResponse";
|
|
38
39
|
import { CardResponseV2 } from "./CardResponseV2";
|
|
40
|
+
import { CardResponseV3 } from "./CardResponseV3";
|
|
39
41
|
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
40
42
|
import { CardScheduleTaskStatus } from "./CardScheduleTaskStatus";
|
|
41
43
|
import { CardScheduleTaskType } from "./CardScheduleTaskType";
|
|
@@ -134,10 +136,17 @@ import { PasswordValidateRequest } from "./PasswordValidateRequest";
|
|
|
134
136
|
import { PasswordValidateResponse } from "./PasswordValidateResponse";
|
|
135
137
|
import { PaxpayFeature } from "./PaxpayFeature";
|
|
136
138
|
import { Payload } from "./Payload";
|
|
139
|
+
import { PaymentAmountScheduleRequest } from "./PaymentAmountScheduleRequest";
|
|
140
|
+
import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
|
|
141
|
+
import { PaymentCardCreateRequest } from "./PaymentCardCreateRequest";
|
|
142
|
+
import { PaymentDeliveryRequest } from "./PaymentDeliveryRequest";
|
|
143
|
+
import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse";
|
|
137
144
|
import { PaymentMethodOptionResponse } from "./PaymentMethodOptionResponse";
|
|
138
145
|
import { PaymentMethodType } from "./PaymentMethodType";
|
|
139
146
|
import { PaymentOption } from "./PaymentOption";
|
|
147
|
+
import { PaymentRequest } from "./PaymentRequest";
|
|
140
148
|
import { PaymentResponse } from "./PaymentResponse";
|
|
149
|
+
import { PaymentTransferCreateRequest } from "./PaymentTransferCreateRequest";
|
|
141
150
|
import { ProcessedStatement } from "./ProcessedStatement";
|
|
142
151
|
import { ProductType } from "./ProductType";
|
|
143
152
|
import { ProviderCode } from "./ProviderCode";
|
|
@@ -199,6 +208,7 @@ import { TransferRequest } from "./TransferRequest";
|
|
|
199
208
|
import { TransferResponse } from "./TransferResponse";
|
|
200
209
|
import { TransferResponseV2 } from "./TransferResponseV2";
|
|
201
210
|
import { TransferResponseV2Summary } from "./TransferResponseV2Summary";
|
|
211
|
+
import { TransferResponseV3 } from "./TransferResponseV3";
|
|
202
212
|
import { TransferSearch } from "./TransferSearch";
|
|
203
213
|
import { TransferStatus } from "./TransferStatus";
|
|
204
214
|
import { TravelPartyInfo } from "./TravelPartyInfo";
|
|
@@ -222,4 +232,4 @@ import { UserRoleResponse } from "./UserRoleResponse";
|
|
|
222
232
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
223
233
|
import { UserStatus } from "./UserStatus";
|
|
224
234
|
import { YearMonth } from "./YearMonth";
|
|
225
|
-
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, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CreateCardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantSearchRequest, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentResponse, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, SecurityConfig, Segment, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
|
235
|
+
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, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CreateCardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantSearchRequest, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, SecurityConfig, Segment, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/model/index.js
CHANGED
|
@@ -24,8 +24,10 @@ import { CardDeliveryRequest } from "./CardDeliveryRequest";
|
|
|
24
24
|
import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
25
25
|
import { CardForm } from "./CardForm";
|
|
26
26
|
import { CardFundingAccountResponse } from "./CardFundingAccountResponse";
|
|
27
|
+
import { CardOperation } from "./CardOperation";
|
|
27
28
|
import { CardResponse } from "./CardResponse";
|
|
28
29
|
import { CardResponseV2 } from "./CardResponseV2";
|
|
30
|
+
import { CardResponseV3 } from "./CardResponseV3";
|
|
29
31
|
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
30
32
|
import { CardScheduleTaskStatus } from "./CardScheduleTaskStatus";
|
|
31
33
|
import { CardScheduleTaskType } from "./CardScheduleTaskType";
|
|
@@ -84,7 +86,15 @@ import { OrganisationResponse } from "./OrganisationResponse";
|
|
|
84
86
|
import { OrganisationStatus } from "./OrganisationStatus";
|
|
85
87
|
import { Passengers } from "./Passengers";
|
|
86
88
|
import { PaxpayFeature } from "./PaxpayFeature";
|
|
89
|
+
import { PaymentAmountScheduleRequest } from "./PaymentAmountScheduleRequest";
|
|
90
|
+
import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
|
|
91
|
+
import { PaymentCardCreateRequest } from "./PaymentCardCreateRequest";
|
|
92
|
+
import { PaymentDeliveryRequest } from "./PaymentDeliveryRequest";
|
|
93
|
+
import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse";
|
|
87
94
|
import { PaymentMethodType } from "./PaymentMethodType";
|
|
95
|
+
import { PaymentRequest } from "./PaymentRequest";
|
|
96
|
+
import { PaymentResponse } from "./PaymentResponse";
|
|
97
|
+
import { PaymentTransferCreateRequest } from "./PaymentTransferCreateRequest";
|
|
88
98
|
import { ProductType } from "./ProductType";
|
|
89
99
|
import { ProviderCode } from "./ProviderCode";
|
|
90
100
|
import { ProviderResponse } from "./ProviderResponse";
|
|
@@ -113,6 +123,7 @@ import { TransferDirection } from "./TransferDirection";
|
|
|
113
123
|
import { TransferResponse } from "./TransferResponse";
|
|
114
124
|
import { TransferResponseV2 } from "./TransferResponseV2";
|
|
115
125
|
import { TransferResponseV2Summary } from "./TransferResponseV2Summary";
|
|
126
|
+
import { TransferResponseV3 } from "./TransferResponseV3";
|
|
116
127
|
import { TransferSearch } from "./TransferSearch";
|
|
117
128
|
import { TransferStatus } from "./TransferStatus";
|
|
118
129
|
import { TravelPartyInfo } from "./TravelPartyInfo";
|
|
@@ -124,5 +135,5 @@ import { UserRequest } from "./UserRequest";
|
|
|
124
135
|
import { UserResponse } from "./UserResponse";
|
|
125
136
|
import { UserStatus } from "./UserStatus";
|
|
126
137
|
import { YearMonth } from "./YearMonth";
|
|
127
|
-
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PaxpayFeature, PaymentMethodType, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
138
|
+
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, 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, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PaxpayFeature, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
128
139
|
//# 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;AAKzC,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,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC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0B,EAC1B,cAAc,EACd,KAAK,EACL,wBAAwB,EAExB,aAAa,EACb,eAAe,EACf,eAAe,EACf,gBAAgB,EAIhB,cAAc,EACd,wBAAwB,EACxB,gBAAgB,EAGhB,kBAAkB,EAClB,yBAAyB,EACzB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,UAAU,EAKV,aAAa,EAEb,4BAA4B,EAC5B,6BAA6B,EAC7B,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EAEvB,iBAAiB,EAEjB,cAAc,EACd,eAAe,EACf,4BAA4B,EAE5B,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,UAAU,EAQV,aAAa,EAIb,cAAc,EACd,OAAO,EAMP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EAIf,6BAA6B,EAY7B,kCAAkC,EAClC,yBAAyB,EACzB,8BAA8B,EAC9B,iBAAiB,EAEjB,0BAA0B,EAC1B,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,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAE5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -34,10 +34,12 @@ import {
|
|
|
34
34
|
CardDeliveryResponse,
|
|
35
35
|
CardForm,
|
|
36
36
|
CardFundingAccountResponse,
|
|
37
|
+
CardOperation,
|
|
37
38
|
CardOptionSearch,
|
|
38
39
|
CardReportUrlRequest,
|
|
39
40
|
CardResponse,
|
|
40
41
|
CardResponseV2,
|
|
42
|
+
CardResponseV3,
|
|
41
43
|
CardScheduleResponseItem,
|
|
42
44
|
CardScheduleTaskStatus,
|
|
43
45
|
CardScheduleTaskType,
|
|
@@ -135,10 +137,17 @@ import {
|
|
|
135
137
|
PasswordValidateResponse,
|
|
136
138
|
PaxpayFeature,
|
|
137
139
|
Payload,
|
|
140
|
+
PaymentAmountScheduleRequest,
|
|
141
|
+
PaymentAmountScheduleResponse,
|
|
142
|
+
PaymentCardCreateRequest,
|
|
143
|
+
PaymentDeliveryRequest,
|
|
144
|
+
PaymentDeliveryResponse,
|
|
138
145
|
PaymentMethodOptionResponse,
|
|
139
146
|
PaymentMethodType,
|
|
140
147
|
PaymentOption,
|
|
148
|
+
PaymentRequest,
|
|
141
149
|
PaymentResponse,
|
|
150
|
+
PaymentTransferCreateRequest,
|
|
142
151
|
ProcessedStatement,
|
|
143
152
|
ProductType,
|
|
144
153
|
ProviderCode,
|
|
@@ -200,6 +209,7 @@ import {
|
|
|
200
209
|
TransferResponse,
|
|
201
210
|
TransferResponseV2,
|
|
202
211
|
TransferResponseV2Summary,
|
|
212
|
+
TransferResponseV3,
|
|
203
213
|
TransferSearch,
|
|
204
214
|
TransferStatus,
|
|
205
215
|
TravelPartyInfo,
|
|
@@ -261,10 +271,12 @@ export {
|
|
|
261
271
|
CardDeliveryResponse,
|
|
262
272
|
CardForm,
|
|
263
273
|
CardFundingAccountResponse,
|
|
274
|
+
CardOperation,
|
|
264
275
|
CardOptionSearch,
|
|
265
276
|
CardReportUrlRequest,
|
|
266
277
|
CardResponse,
|
|
267
278
|
CardResponseV2,
|
|
279
|
+
CardResponseV3,
|
|
268
280
|
CardScheduleResponseItem,
|
|
269
281
|
CardScheduleTaskStatus,
|
|
270
282
|
CardScheduleTaskType,
|
|
@@ -362,10 +374,17 @@ export {
|
|
|
362
374
|
PasswordValidateResponse,
|
|
363
375
|
PaxpayFeature,
|
|
364
376
|
Payload,
|
|
377
|
+
PaymentAmountScheduleRequest,
|
|
378
|
+
PaymentAmountScheduleResponse,
|
|
379
|
+
PaymentCardCreateRequest,
|
|
380
|
+
PaymentDeliveryRequest,
|
|
381
|
+
PaymentDeliveryResponse,
|
|
365
382
|
PaymentMethodOptionResponse,
|
|
366
383
|
PaymentMethodType,
|
|
367
384
|
PaymentOption,
|
|
385
|
+
PaymentRequest,
|
|
368
386
|
PaymentResponse,
|
|
387
|
+
PaymentTransferCreateRequest,
|
|
369
388
|
ProcessedStatement,
|
|
370
389
|
ProductType,
|
|
371
390
|
ProviderCode,
|
|
@@ -428,6 +447,7 @@ export {
|
|
|
428
447
|
TransferResponse,
|
|
429
448
|
TransferResponseV2,
|
|
430
449
|
TransferResponseV2Summary,
|
|
450
|
+
TransferResponseV3,
|
|
431
451
|
TransferSearch,
|
|
432
452
|
TransferStatus,
|
|
433
453
|
TravelPartyInfo,
|
package/model/AccountState.ts
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DateTime } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
|
|
4
|
+
export interface CardOperation {
|
|
5
|
+
type: string
|
|
6
|
+
timestamp: DateTime
|
|
7
|
+
}
|
|
8
|
+
export namespace CardOperation {
|
|
9
|
+
export const type = isly.object<CardOperation>({
|
|
10
|
+
type: isly.string(),
|
|
11
|
+
timestamp: isly.fromIs("DateTime", DateTime.is),
|
|
12
|
+
})
|
|
13
|
+
export const is = type.is
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Date } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
import { AccountState } from "./AccountState"
|
|
4
|
+
import { CardOperation } from "./CardOperation"
|
|
5
|
+
import { CardUsage } from "./CardUsage"
|
|
6
|
+
import { YearMonth } from "./YearMonth"
|
|
7
|
+
|
|
8
|
+
export interface CardResponseV3 {
|
|
9
|
+
id: string
|
|
10
|
+
cardType: string
|
|
11
|
+
expires: YearMonth
|
|
12
|
+
usage: CardUsage
|
|
13
|
+
state: AccountState
|
|
14
|
+
token?: string
|
|
15
|
+
pan: string
|
|
16
|
+
cvv?: string
|
|
17
|
+
cardHolderName: string
|
|
18
|
+
issued?: Date
|
|
19
|
+
remaining: number
|
|
20
|
+
maxAmount: number
|
|
21
|
+
operations?: CardOperation
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export namespace CardResponseV3 {
|
|
25
|
+
export const type = isly.object<CardResponseV3>({
|
|
26
|
+
id: isly.string(),
|
|
27
|
+
cardType: isly.string(),
|
|
28
|
+
expires: isly.fromIs("YearMonth", YearMonth.is),
|
|
29
|
+
usage: isly.fromIs("CardUsage", CardUsage.is),
|
|
30
|
+
state: isly.fromIs("AccountState", AccountState.is),
|
|
31
|
+
token: isly.string().optional(),
|
|
32
|
+
pan: isly.string(),
|
|
33
|
+
cvv: isly.string().optional(),
|
|
34
|
+
cardHolderName: isly.string(),
|
|
35
|
+
issued: isly.fromIs("Date", Date.is).optional(),
|
|
36
|
+
remaining: isly.number(),
|
|
37
|
+
maxAmount: isly.number(),
|
|
38
|
+
operations: isly.fromIs("CardOperation", CardOperation.is).optional(),
|
|
39
|
+
})
|
|
40
|
+
export const is = type.is
|
|
41
|
+
}
|
package/model/MerchantRequest.ts
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
1
2
|
import { MerchantType } from "./MerchantType"
|
|
2
3
|
|
|
3
4
|
export interface MerchantRequest {
|
|
5
|
+
id?: string
|
|
4
6
|
name?: string
|
|
5
7
|
mcc?: string
|
|
6
8
|
type?: MerchantType
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
export namespace MerchantRequest {
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
12
|
+
export const type = isly.object<MerchantRequest>({
|
|
13
|
+
id: isly.string().optional(),
|
|
14
|
+
name: isly.string().optional(),
|
|
15
|
+
mcc: isly.string().optional(),
|
|
16
|
+
type: MerchantType.type.optional(),
|
|
17
|
+
})
|
|
18
|
+
export const is = type.is
|
|
18
19
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { Currency } from "isoly"
|
|
1
2
|
import { isly } from "isly"
|
|
3
|
+
import { BeneficiaryResponse } from "./BeneficiaryResponse"
|
|
2
4
|
import { MerchantType } from "./MerchantType"
|
|
3
5
|
|
|
4
6
|
export interface MerchantResponse {
|
|
@@ -7,6 +9,7 @@ export interface MerchantResponse {
|
|
|
7
9
|
mcc?: string
|
|
8
10
|
type?: MerchantType
|
|
9
11
|
isSuitableForCardMerchantRestriction?: true
|
|
12
|
+
beneficiaries?: Partial<Record<Currency, BeneficiaryResponse>>
|
|
10
13
|
}
|
|
11
14
|
|
|
12
15
|
export namespace MerchantResponse {
|
|
@@ -16,6 +19,9 @@ export namespace MerchantResponse {
|
|
|
16
19
|
mcc: isly.string().optional(),
|
|
17
20
|
type: MerchantType.type.optional(),
|
|
18
21
|
isSuitableForCardMerchantRestriction: isly.boolean(true).optional(),
|
|
22
|
+
beneficiaries: isly
|
|
23
|
+
.record(isly.fromIs("Currency", Currency.is), isly.fromIs("BeneficiaryResponse", BeneficiaryResponse.is))
|
|
24
|
+
.optional(),
|
|
19
25
|
})
|
|
20
26
|
export const is = type.is
|
|
21
27
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Date } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
|
|
4
|
+
export interface PaymentAmountScheduleRequest {
|
|
5
|
+
amount: number
|
|
6
|
+
date: Date
|
|
7
|
+
}
|
|
8
|
+
export namespace PaymentAmountScheduleRequest {
|
|
9
|
+
export const type = isly.object<PaymentAmountScheduleRequest>({
|
|
10
|
+
amount: isly.number(),
|
|
11
|
+
date: isly.fromIs("Date", Date.is),
|
|
12
|
+
})
|
|
13
|
+
export const is = type.is
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Date } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
|
|
4
|
+
export interface PaymentAmountScheduleResponse {
|
|
5
|
+
amount: number
|
|
6
|
+
date: Date
|
|
7
|
+
}
|
|
8
|
+
export namespace PaymentAmountScheduleResponse {
|
|
9
|
+
export const type = isly.object<PaymentAmountScheduleResponse>({
|
|
10
|
+
amount: isly.number(),
|
|
11
|
+
date: isly.fromIs("Date", Date.is),
|
|
12
|
+
})
|
|
13
|
+
export const is = type.is
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { CardUsage } from "./CardUsage"
|
|
3
|
+
|
|
4
|
+
export interface PaymentCardCreateRequest {
|
|
5
|
+
cardType: string
|
|
6
|
+
expires?: string
|
|
7
|
+
usage?: CardUsage
|
|
8
|
+
}
|
|
9
|
+
export namespace PaymentCardCreateRequest {
|
|
10
|
+
export const type = isly.object<PaymentCardCreateRequest>({
|
|
11
|
+
cardType: isly.string(),
|
|
12
|
+
expires: isly.string().optional(),
|
|
13
|
+
usage: isly.fromIs("CardUsage", CardUsage.is).optional(),
|
|
14
|
+
})
|
|
15
|
+
export const is = type.is
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Date } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
|
|
4
|
+
export interface PaymentDeliveryRequest {
|
|
5
|
+
type?: string
|
|
6
|
+
to: string
|
|
7
|
+
message: string
|
|
8
|
+
lapses: Date
|
|
9
|
+
}
|
|
10
|
+
export namespace PaymentDeliveryRequest {
|
|
11
|
+
export const type = isly.object<PaymentDeliveryRequest>({
|
|
12
|
+
type: isly.string().optional(),
|
|
13
|
+
to: isly.string(),
|
|
14
|
+
message: isly.string(),
|
|
15
|
+
lapses: isly.fromIs("Date", Date.is),
|
|
16
|
+
})
|
|
17
|
+
export const is = type.is
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Date, DateTime } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
import { DeliveryStatus } from "./DeliveryStatus"
|
|
4
|
+
|
|
5
|
+
export interface PaymentDeliveryResponse {
|
|
6
|
+
type: string
|
|
7
|
+
to: string
|
|
8
|
+
message: string
|
|
9
|
+
lapses: Date
|
|
10
|
+
sent?: DateTime
|
|
11
|
+
state: DeliveryStatus
|
|
12
|
+
reason?: string
|
|
13
|
+
}
|
|
14
|
+
export namespace PaymentDeliveryResponse {
|
|
15
|
+
export const type = isly.object<PaymentDeliveryResponse>({
|
|
16
|
+
type: isly.string(),
|
|
17
|
+
to: isly.string(),
|
|
18
|
+
message: isly.string(),
|
|
19
|
+
lapses: isly.fromIs("Date", Date.is),
|
|
20
|
+
sent: isly.fromIs("DateTime", DateTime.is).optional(),
|
|
21
|
+
state: isly.fromIs("DeliveryStatus", DeliveryStatus.is),
|
|
22
|
+
reason: isly.string().optional(),
|
|
23
|
+
})
|
|
24
|
+
export const is = type.is
|
|
25
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Currency } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
import { BookingInfoRequest } from "./BookingInfoRequest"
|
|
4
|
+
import { MerchantRequest } from "./MerchantRequest"
|
|
5
|
+
import { PaymentAmountScheduleRequest } from "./PaymentAmountScheduleRequest"
|
|
6
|
+
import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse"
|
|
7
|
+
import { PaymentCardCreateRequest } from "./PaymentCardCreateRequest"
|
|
8
|
+
import { PaymentDeliveryRequest } from "./PaymentDeliveryRequest"
|
|
9
|
+
import { PaymentTransferCreateRequest } from "./PaymentTransferCreateRequest"
|
|
10
|
+
|
|
11
|
+
export interface PaymentRequest {
|
|
12
|
+
account: string
|
|
13
|
+
amount?: number
|
|
14
|
+
currency: Currency
|
|
15
|
+
method?: "card" | "transfer"
|
|
16
|
+
merchant?: MerchantRequest
|
|
17
|
+
meta?: BookingInfoRequest
|
|
18
|
+
card?: PaymentCardCreateRequest
|
|
19
|
+
transfer?: PaymentTransferCreateRequest
|
|
20
|
+
delivery?: PaymentDeliveryRequest
|
|
21
|
+
schedule?: PaymentAmountScheduleResponse[]
|
|
22
|
+
}
|
|
23
|
+
export namespace PaymentRequest {
|
|
24
|
+
export const type = isly.object<PaymentRequest>({
|
|
25
|
+
account: isly.string(),
|
|
26
|
+
amount: isly.number().optional(),
|
|
27
|
+
currency: isly.fromIs("Currency", Currency.is),
|
|
28
|
+
method: isly.string(["card", "transfer"]).optional(),
|
|
29
|
+
merchant: isly.fromIs("MerchantRequest", MerchantRequest.is).optional(),
|
|
30
|
+
meta: isly.fromIs("BookingInfoRequest", BookingInfoRequest.is).optional(),
|
|
31
|
+
card: isly.fromIs("PaymentCardCreateRequest", PaymentCardCreateRequest.is).optional(),
|
|
32
|
+
transfer: isly.fromIs("PaymentTransferCreateRequest", PaymentTransferCreateRequest.is).optional(),
|
|
33
|
+
delivery: isly.fromIs("PaymentDeliveryRequest", PaymentDeliveryRequest.is).optional(),
|
|
34
|
+
schedule: isly.array(isly.fromIs("PaymentAmountScheduleRequest", PaymentAmountScheduleRequest.is)).optional(),
|
|
35
|
+
})
|
|
36
|
+
export const is = type.is
|
|
37
|
+
}
|