@pax2pay/client 0.3.109 → 0.3.111
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/Auth/index.ts +1 -1
- package/Client/Payments/index.ts +28 -7
- package/dist/Client/Auth/index.js +1 -2
- package/dist/Client/Auth/index.js.map +1 -1
- package/dist/Client/Connection.js.map +1 -1
- package/dist/Client/List.js.map +1 -1
- package/dist/Client/Payments/index.d.ts +8 -4
- package/dist/Client/Payments/index.js +9 -19
- 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/AbstractPaymentResponse.d.ts +25 -0
- package/dist/model/AbstractPaymentResponse.js +26 -0
- package/dist/model/AbstractPaymentResponse.js.map +1 -0
- package/dist/model/BasePaymentResponse.d.ts +11 -0
- package/dist/model/BasePaymentResponse.js +12 -0
- package/dist/model/BasePaymentResponse.js.map +1 -0
- package/dist/model/CardResponseV3.d.ts +4 -13
- package/dist/model/CardResponseV3.js +4 -13
- package/dist/model/CardResponseV3.js.map +1 -1
- package/dist/model/MerchantResponse.d.ts +1 -1
- package/dist/model/MerchantResponse.js +1 -1
- package/dist/model/MerchantResponse.js.map +1 -1
- package/dist/model/PaymentResponse.d.ts +2 -17
- package/dist/model/PaymentResponse.js +2 -17
- package/dist/model/PaymentResponse.js.map +1 -1
- package/dist/model/PaymentSearch.d.ts +12 -0
- package/dist/model/PaymentSearch.js +13 -0
- package/dist/model/PaymentSearch.js.map +1 -0
- package/dist/model/PaymentStatus.d.ts +7 -0
- package/dist/model/PaymentStatus.js +18 -0
- package/dist/model/PaymentStatus.js.map +1 -0
- package/dist/model/SummaryCardResponseV3.d.ts +13 -0
- package/dist/model/SummaryCardResponseV3.js +14 -0
- package/dist/model/SummaryCardResponseV3.js.map +1 -0
- package/dist/model/SummaryMerchantResponse.d.ts +8 -0
- package/dist/model/SummaryMerchantResponse.js +7 -0
- package/dist/model/SummaryMerchantResponse.js.map +1 -0
- package/dist/model/SummaryPaymentResponse.d.ts +9 -0
- package/dist/model/SummaryPaymentResponse.js +2 -0
- package/dist/model/SummaryPaymentResponse.js.map +1 -0
- package/dist/model/index.d.ts +4 -1
- package/dist/model/index.js +3 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +6 -0
- package/model/AbstractPaymentResponse.ts +40 -0
- package/model/BasePaymentResponse.ts +16 -0
- package/model/CardResponseV3.ts +6 -22
- package/model/MerchantResponse.ts +2 -2
- package/model/PaymentResponse.ts +3 -29
- package/model/PaymentSearch.ts +18 -0
- package/model/PaymentStatus.ts +19 -0
- package/model/SummaryCardResponseV3.ts +21 -0
- package/model/SummaryMerchantResponse.ts +9 -0
- package/model/SummaryPaymentResponse.ts +10 -0
- package/model/index.ts +6 -0
- package/package.json +1 -6
package/Client/Auth/index.ts
CHANGED
|
@@ -49,7 +49,7 @@ export class Auth {
|
|
|
49
49
|
this.token = value
|
|
50
50
|
}
|
|
51
51
|
isLoggedIn(): boolean {
|
|
52
|
-
return this.data.status == "SUCCESS"
|
|
52
|
+
return this.data.status == "SUCCESS"
|
|
53
53
|
}
|
|
54
54
|
async login(request: model.LoginRequest, otp?: string) {
|
|
55
55
|
const result = await this.connection.post<model.LoginResponse, 400 | 403 | 404 | 500>(
|
package/Client/Payments/index.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import * as model from "../../model"
|
|
2
2
|
import { Connection } from "../Connection"
|
|
3
|
+
import { List } from "../List"
|
|
4
|
+
import { Paginated } from "../Paginated"
|
|
3
5
|
|
|
4
|
-
export class Payments {
|
|
5
|
-
protected folder = "payments"
|
|
6
|
-
#connection: Connection
|
|
7
|
-
protected get connection() {
|
|
8
|
-
return this.#connection
|
|
9
|
-
}
|
|
6
|
+
export class Payments extends List<model.PaymentResponse> {
|
|
7
|
+
protected readonly folder = "payments"
|
|
10
8
|
constructor(connection: Connection) {
|
|
11
|
-
|
|
9
|
+
super(connection)
|
|
12
10
|
}
|
|
13
11
|
static create(connection: Connection): Payments {
|
|
14
12
|
return new Payments(connection)
|
|
@@ -22,4 +20,27 @@ export class Payments {
|
|
|
22
20
|
async create(request: model.PaymentRequest) {
|
|
23
21
|
return await this.connection.post<model.ErrorResponse | model.PaymentResponse>(this.folder, request)
|
|
24
22
|
}
|
|
23
|
+
async get(id: string) {
|
|
24
|
+
return await this.connection.get<model.PaymentResponse>(`${this.folder}/${id}`)
|
|
25
|
+
}
|
|
26
|
+
async search(
|
|
27
|
+
request: model.PaymentSearch,
|
|
28
|
+
previous?: Paginated<model.SummaryPaymentResponse>,
|
|
29
|
+
page?: number,
|
|
30
|
+
size?: number,
|
|
31
|
+
sort = "createdOn,desc",
|
|
32
|
+
includeCount = true
|
|
33
|
+
) {
|
|
34
|
+
return await this.getNextPaginated(
|
|
35
|
+
previous,
|
|
36
|
+
(page, size, sort, request) =>
|
|
37
|
+
this.connection.post<
|
|
38
|
+
{ list: model.SummaryPaymentResponse[]; totalCount: number } | model.SummaryPaymentResponse[]
|
|
39
|
+
>(`${this.folder}/searches`, request, { page, size, sort, includeCount }),
|
|
40
|
+
request,
|
|
41
|
+
page,
|
|
42
|
+
size,
|
|
43
|
+
sort
|
|
44
|
+
)
|
|
45
|
+
}
|
|
25
46
|
}
|
|
@@ -51,8 +51,7 @@ export class Auth {
|
|
|
51
51
|
this.token = value;
|
|
52
52
|
}
|
|
53
53
|
isLoggedIn() {
|
|
54
|
-
|
|
55
|
-
return (_a = this.data.status == "SUCCESS") !== null && _a !== void 0 ? _a : false;
|
|
54
|
+
return this.data.status == "SUCCESS";
|
|
56
55
|
}
|
|
57
56
|
async login(request, otp) {
|
|
58
57
|
const result = await this.connection.post("auth/login", request, undefined, otp ? { "x-otp": otp } : {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Auth/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WA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pD,OAAO,KAAK,CAAC,IAAI,CAAA;;YAEjB,OAAO,KAAK,CAAA;IACd,CAAC;CACD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as model from "../../model";
|
|
2
2
|
import { Connection } from "../Connection";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
protected
|
|
3
|
+
import { List } from "../List";
|
|
4
|
+
import { Paginated } from "../Paginated";
|
|
5
|
+
export declare class Payments extends List<model.PaymentResponse> {
|
|
6
|
+
protected readonly folder = "payments";
|
|
7
7
|
constructor(connection: Connection);
|
|
8
8
|
static create(connection: Connection): Payments;
|
|
9
9
|
plan(request: model.SuggestionRequest): Promise<model.ErrorResponse | model.SuggestionResponse | (model.ErrorResponse & {
|
|
@@ -15,4 +15,8 @@ export declare class Payments {
|
|
|
15
15
|
create(request: model.PaymentRequest): Promise<model.ErrorResponse | model.PaymentResponse | (model.ErrorResponse & {
|
|
16
16
|
status: 400 | 404 | 500 | 403 | 503;
|
|
17
17
|
})>;
|
|
18
|
+
get(id: string): Promise<model.PaymentResponse | (model.ErrorResponse & {
|
|
19
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
20
|
+
})>;
|
|
21
|
+
search(request: model.PaymentSearch, previous?: Paginated<model.SummaryPaymentResponse>, page?: number, size?: number, sort?: string, includeCount?: boolean): Promise<model.ErrorResponse | Paginated<model.SummaryPaymentResponse>>;
|
|
18
22
|
}
|
|
@@ -1,23 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
7
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
8
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
9
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
10
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
11
|
-
};
|
|
12
|
-
var _Payments_connection;
|
|
13
|
-
export class Payments {
|
|
14
|
-
get connection() {
|
|
15
|
-
return __classPrivateFieldGet(this, _Payments_connection, "f");
|
|
16
|
-
}
|
|
1
|
+
import { List } from "../List";
|
|
2
|
+
export class Payments extends List {
|
|
17
3
|
constructor(connection) {
|
|
4
|
+
super(connection);
|
|
18
5
|
this.folder = "payments";
|
|
19
|
-
_Payments_connection.set(this, void 0);
|
|
20
|
-
__classPrivateFieldSet(this, _Payments_connection, connection, "f");
|
|
21
6
|
}
|
|
22
7
|
static create(connection) {
|
|
23
8
|
return new Payments(connection);
|
|
@@ -31,6 +16,11 @@ export class Payments {
|
|
|
31
16
|
async create(request) {
|
|
32
17
|
return await this.connection.post(this.folder, request);
|
|
33
18
|
}
|
|
19
|
+
async get(id) {
|
|
20
|
+
return await this.connection.get(`${this.folder}/${id}`);
|
|
21
|
+
}
|
|
22
|
+
async search(request, previous, page, size, sort = "createdOn,desc", includeCount = true) {
|
|
23
|
+
return await this.getNextPaginated(previous, (page, size, sort, request) => this.connection.post(`${this.folder}/searches`, request, { page, size, sort, includeCount }), request, page, size, sort);
|
|
24
|
+
}
|
|
34
25
|
}
|
|
35
|
-
_Payments_connection = new WeakMap();
|
|
36
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Payments/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Payments/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAG9B,MAAM,OAAO,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1E,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,CACJ,CAAA;IACF,CAAC;CACD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { 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, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateCardTypeProfileRequest, 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, 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, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, ReconciliationReportUrlRequest, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, SearchRolesetsRequest, SecurityConfig, Segment, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementReportUrlRequest, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardDeliveryOptions, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedSchedulesOptions, 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, UpdateCategoryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
|
|
3
|
-
export { Client, 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, 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, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, SecurityConfig, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestionCardDeliveryRequest, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedUsageOptions, 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, };
|
|
2
|
+
import { 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, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateCardTypeProfileRequest, 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, 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, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, ReconciliationReportUrlRequest, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, SearchRolesetsRequest, SecurityConfig, Segment, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementReportUrlRequest, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardDeliveryOptions, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedSchedulesOptions, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateCategoryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
|
|
3
|
+
export { Client, 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, 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, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, SecurityConfig, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestionCardDeliveryRequest, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SummaryPaymentResponse, 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/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, 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, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, 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, } from "./model";
|
|
3
|
-
export { Client, 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, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, Segment, SecurityConfig, 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, };
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, 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, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, 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, } from "./model";
|
|
3
|
+
export { Client, 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, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, Segment, SecurityConfig, 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, };
|
|
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,EACnB,sBAAsB,EACtB,yCAAyC,EACzC,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAGhB,UAAU,EAKV,mBAAmB,EACnB,iBAAiB,EACjB,sCAAsC,EACtC,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,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,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EAIf,6BAA6B,EAY7B,kCAAkC,EAClC,yBAAyB,EACzB,8BAA8B,EAC9B,iBAAiB,EAEjB,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,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAE5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Currency, DateTime } from "isoly";
|
|
2
|
+
import { isly } from "isly";
|
|
3
|
+
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
4
|
+
import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
|
|
5
|
+
import { PaymentStatus } from "./PaymentStatus";
|
|
6
|
+
import { SummaryMerchantResponse } from "./SummaryMerchantResponse";
|
|
7
|
+
export interface AbstractPaymentResponse {
|
|
8
|
+
id: string;
|
|
9
|
+
account: string;
|
|
10
|
+
amount: number;
|
|
11
|
+
remaining: number;
|
|
12
|
+
total: number;
|
|
13
|
+
schedule?: PaymentAmountScheduleResponse[];
|
|
14
|
+
currency: Currency;
|
|
15
|
+
state: PaymentStatus;
|
|
16
|
+
merchant?: SummaryMerchantResponse;
|
|
17
|
+
method: "card" | "transfer";
|
|
18
|
+
meta?: BookingInfoResponse;
|
|
19
|
+
createdBy: string;
|
|
20
|
+
createdOn: DateTime;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace AbstractPaymentResponse {
|
|
23
|
+
const type: isly.object.ExtendableType<AbstractPaymentResponse>;
|
|
24
|
+
const is: isly.Type.IsFunction<AbstractPaymentResponse>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
import { isly } from "isly";
|
|
3
|
+
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
4
|
+
import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
|
|
5
|
+
import { PaymentStatus } from "./PaymentStatus";
|
|
6
|
+
import { SummaryMerchantResponse } from "./SummaryMerchantResponse";
|
|
7
|
+
export var AbstractPaymentResponse;
|
|
8
|
+
(function (AbstractPaymentResponse) {
|
|
9
|
+
AbstractPaymentResponse.type = isly.object({
|
|
10
|
+
id: isly.string(),
|
|
11
|
+
account: isly.string(),
|
|
12
|
+
amount: isly.number(),
|
|
13
|
+
remaining: isly.number(),
|
|
14
|
+
total: isly.number(),
|
|
15
|
+
schedule: PaymentAmountScheduleResponse.type.array().optional(),
|
|
16
|
+
currency: isly.fromIs("Currency", Currency.is),
|
|
17
|
+
state: PaymentStatus.type,
|
|
18
|
+
merchant: SummaryMerchantResponse.type.optional(),
|
|
19
|
+
method: isly.string(["card", "transfer"]),
|
|
20
|
+
meta: isly.fromIs("BookingInfoResponse", BookingInfoResponse.is).optional(),
|
|
21
|
+
createdBy: isly.string(),
|
|
22
|
+
createdOn: isly.string(),
|
|
23
|
+
});
|
|
24
|
+
AbstractPaymentResponse.is = AbstractPaymentResponse.type.is;
|
|
25
|
+
})(AbstractPaymentResponse || (AbstractPaymentResponse = {}));
|
|
26
|
+
//# sourceMappingURL=AbstractPaymentResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractPaymentResponse.js","sourceRoot":"../","sources":["model/AbstractPaymentResponse.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,6BAA6B,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAiBnE,MAAM,KAAW,uBAAuB,CAiBvC;AAjBD,WAAiB,uBAAuB;IAC1B,4BAAI,GAAG,IAAI,CAAC,MAAM,CAA0B;QACxD,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;QACtB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;QACrB,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;QACxB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;QACpB,QAAQ,EAAE,6BAA6B,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QAC/D,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;QAC9C,KAAK,EAAE,aAAa,CAAC,IAAI;QACzB,QAAQ,EAAE,uBAAuB,CAAC,IAAI,CAAC,QAAQ,EAAE;QACjD,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;QACzC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC3E,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;QACxB,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;KACxB,CAAC,CAAA;IACW,0BAAE,GAAG,wBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAjBgB,uBAAuB,KAAvB,uBAAuB,QAiBvC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AbstractPaymentResponse } from "./AbstractPaymentResponse";
|
|
2
|
+
import { MerchantResponse } from "./MerchantResponse";
|
|
3
|
+
import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse";
|
|
4
|
+
export interface BasePaymentResponse extends AbstractPaymentResponse {
|
|
5
|
+
merchant?: MerchantResponse;
|
|
6
|
+
delivery?: PaymentDeliveryResponse;
|
|
7
|
+
}
|
|
8
|
+
export declare namespace BasePaymentResponse {
|
|
9
|
+
const type: import("isly/dist/cjs/object").object.ExtendableType<BasePaymentResponse>;
|
|
10
|
+
const is: import("isly/dist/cjs/Type").Type.IsFunction<BasePaymentResponse>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AbstractPaymentResponse } from "./AbstractPaymentResponse";
|
|
2
|
+
import { MerchantResponse } from "./MerchantResponse";
|
|
3
|
+
import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse";
|
|
4
|
+
export var BasePaymentResponse;
|
|
5
|
+
(function (BasePaymentResponse) {
|
|
6
|
+
BasePaymentResponse.type = AbstractPaymentResponse.type.extend({
|
|
7
|
+
merchant: MerchantResponse.type.optional(),
|
|
8
|
+
delivery: PaymentDeliveryResponse.type.optional(),
|
|
9
|
+
});
|
|
10
|
+
BasePaymentResponse.is = BasePaymentResponse.type.is;
|
|
11
|
+
})(BasePaymentResponse || (BasePaymentResponse = {}));
|
|
12
|
+
//# sourceMappingURL=BasePaymentResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasePaymentResponse.js","sourceRoot":"../","sources":["model/BasePaymentResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAOnE,MAAM,KAAW,mBAAmB,CAMnC;AAND,WAAiB,mBAAmB;IACtB,wBAAI,GAAG,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAsB;QAC5E,QAAQ,EAAE,gBAAgB,CAAC,IAAI,CAAC,QAAQ,EAAE;QAC1C,QAAQ,EAAE,uBAAuB,CAAC,IAAI,CAAC,QAAQ,EAAE;KACjD,CAAC,CAAA;IACW,sBAAE,GAAG,oBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EANgB,mBAAmB,KAAnB,mBAAmB,QAMnC"}
|
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
import { Date } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { PaymentCardUsage } from "./PaymentCardUsage";
|
|
6
|
-
import { ProviderCode } from "./ProviderCode";
|
|
3
|
+
import { CardUsage } from "./CardUsage";
|
|
4
|
+
import { SummaryCardResponseV3 } from "./SummaryCardResponseV3";
|
|
7
5
|
import { YearMonth } from "./YearMonth";
|
|
8
|
-
export interface CardResponseV3 {
|
|
9
|
-
id: string;
|
|
10
|
-
providerCode: ProviderCode;
|
|
11
|
-
providerCardId: string;
|
|
12
|
-
cardType: string;
|
|
6
|
+
export interface CardResponseV3 extends SummaryCardResponseV3 {
|
|
13
7
|
expires: YearMonth;
|
|
14
|
-
usage:
|
|
15
|
-
state: PaymentAccountState;
|
|
8
|
+
usage: CardUsage;
|
|
16
9
|
token?: string;
|
|
17
|
-
pan: string;
|
|
18
10
|
cvv?: string;
|
|
19
11
|
cardHolderName: string;
|
|
20
12
|
issued?: Date;
|
|
21
13
|
remaining: number;
|
|
22
14
|
maxAmount: number;
|
|
23
|
-
operations?: CardOperation;
|
|
24
15
|
}
|
|
25
16
|
export declare namespace CardResponseV3 {
|
|
26
17
|
const type: isly.object.ExtendableType<CardResponseV3>;
|
|
@@ -1,28 +1,19 @@
|
|
|
1
1
|
import { Date } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { PaymentCardUsage } from "./PaymentCardUsage";
|
|
6
|
-
import { ProviderCode } from "./ProviderCode";
|
|
3
|
+
import { CardUsage } from "./CardUsage";
|
|
4
|
+
import { SummaryCardResponseV3 } from "./SummaryCardResponseV3";
|
|
7
5
|
import { YearMonth } from "./YearMonth";
|
|
8
6
|
export var CardResponseV3;
|
|
9
7
|
(function (CardResponseV3) {
|
|
10
|
-
CardResponseV3.type =
|
|
11
|
-
id: isly.string(),
|
|
12
|
-
providerCode: isly.fromIs("ProviderCode", ProviderCode.is),
|
|
13
|
-
providerCardId: isly.string(),
|
|
14
|
-
cardType: isly.string(),
|
|
8
|
+
CardResponseV3.type = SummaryCardResponseV3.type.extend({
|
|
15
9
|
expires: isly.fromIs("YearMonth", YearMonth.is),
|
|
16
|
-
usage: isly.fromIs("
|
|
17
|
-
state: isly.fromIs("PaymentAccountState", PaymentAccountState.is),
|
|
10
|
+
usage: isly.fromIs("CardUsage", CardUsage.is),
|
|
18
11
|
token: isly.string().optional(),
|
|
19
|
-
pan: isly.string(),
|
|
20
12
|
cvv: isly.string().optional(),
|
|
21
13
|
cardHolderName: isly.string(),
|
|
22
14
|
issued: isly.fromIs("Date", Date.is).optional(),
|
|
23
15
|
remaining: isly.number(),
|
|
24
16
|
maxAmount: isly.number(),
|
|
25
|
-
operations: isly.fromIs("CardOperation", CardOperation.is).optional(),
|
|
26
17
|
});
|
|
27
18
|
CardResponseV3.is = CardResponseV3.type.is;
|
|
28
19
|
})(CardResponseV3 || (CardResponseV3 = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardResponseV3.js","sourceRoot":"../","sources":["model/CardResponseV3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CardResponseV3.js","sourceRoot":"../","sources":["model/CardResponseV3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAavC,MAAM,KAAW,cAAc,CAY9B;AAZD,WAAiB,cAAc;IACjB,mBAAI,GAAG,qBAAqB,CAAC,IAAI,CAAC,MAAM,CAAiB;QACrE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC;QAC/C,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC;QAC7C,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,cAAc,EAAE,IAAI,CAAC,MAAM,EAAE;QAC7B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC/C,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;QACxB,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;KACxB,CAAC,CAAA;IACW,iBAAE,GAAG,eAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAZgB,cAAc,KAAd,cAAc,QAY9B"}
|
|
@@ -4,7 +4,7 @@ import { BeneficiaryResponse } from "./BeneficiaryResponse";
|
|
|
4
4
|
import { MerchantType } from "./MerchantType";
|
|
5
5
|
export interface MerchantResponse {
|
|
6
6
|
id?: string;
|
|
7
|
-
name
|
|
7
|
+
name: string;
|
|
8
8
|
mcc?: string;
|
|
9
9
|
type?: MerchantType;
|
|
10
10
|
isSuitableForCardMerchantRestriction?: true;
|
|
@@ -6,7 +6,7 @@ export var MerchantResponse;
|
|
|
6
6
|
(function (MerchantResponse) {
|
|
7
7
|
MerchantResponse.type = isly.object({
|
|
8
8
|
id: isly.string().optional(),
|
|
9
|
-
name: isly.string()
|
|
9
|
+
name: isly.string(),
|
|
10
10
|
mcc: isly.string().optional(),
|
|
11
11
|
type: MerchantType.type.optional(),
|
|
12
12
|
isSuitableForCardMerchantRestriction: isly.boolean(true).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MerchantResponse.js","sourceRoot":"../","sources":["model/MerchantResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAW7C,MAAM,KAAW,gBAAgB,CAYhC;AAZD,WAAiB,gBAAgB;IACnB,qBAAI,GAAG,IAAI,CAAC,MAAM,CAAmB;QACjD,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"MerchantResponse.js","sourceRoot":"../","sources":["model/MerchantResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAW7C,MAAM,KAAW,gBAAgB,CAYhC;AAZD,WAAiB,gBAAgB;IACnB,qBAAI,GAAG,IAAI,CAAC,MAAM,CAAmB;QACjD,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE;QAClC,oCAAoC,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;QACnE,aAAa,EAAE,IAAI;aACjB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,EAAE,CAAC,CAAC;aACxG,QAAQ,EAAE;KACZ,CAAC,CAAA;IACW,mBAAE,GAAG,iBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAZgB,gBAAgB,KAAhB,gBAAgB,QAYhC"}
|
|
@@ -1,25 +1,10 @@
|
|
|
1
|
-
import { Currency, DateTime } from "isoly";
|
|
2
1
|
import { isly } from "isly";
|
|
3
|
-
import {
|
|
2
|
+
import { BasePaymentResponse } from "./BasePaymentResponse";
|
|
4
3
|
import { CardResponseV3 } from "./CardResponseV3";
|
|
5
|
-
import { MerchantResponse } from "./MerchantResponse";
|
|
6
|
-
import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
|
|
7
|
-
import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse";
|
|
8
4
|
import { TransferResponseV3 } from "./TransferResponseV3";
|
|
9
|
-
export interface PaymentResponse {
|
|
10
|
-
id: string;
|
|
11
|
-
merchant?: MerchantResponse;
|
|
12
|
-
account: string;
|
|
13
|
-
amount: number;
|
|
14
|
-
currency: Currency;
|
|
15
|
-
method: "card" | "transfer";
|
|
16
|
-
meta?: BookingInfoResponse;
|
|
17
|
-
createdBy: string;
|
|
18
|
-
createdOn: DateTime;
|
|
5
|
+
export interface PaymentResponse extends BasePaymentResponse {
|
|
19
6
|
card?: CardResponseV3;
|
|
20
7
|
transfer?: TransferResponseV3;
|
|
21
|
-
delivery?: PaymentDeliveryResponse;
|
|
22
|
-
schedule?: PaymentAmountScheduleResponse[];
|
|
23
8
|
}
|
|
24
9
|
export declare namespace PaymentResponse {
|
|
25
10
|
const type: isly.object.ExtendableType<PaymentResponse>;
|
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
import { Currency } from "isoly";
|
|
2
1
|
import { isly } from "isly";
|
|
3
|
-
import {
|
|
2
|
+
import { BasePaymentResponse } from "./BasePaymentResponse";
|
|
4
3
|
import { CardResponseV3 } from "./CardResponseV3";
|
|
5
|
-
import { MerchantResponse } from "./MerchantResponse";
|
|
6
|
-
import { PaymentAmountScheduleResponse } from "./PaymentAmountScheduleResponse";
|
|
7
|
-
import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse";
|
|
8
4
|
import { TransferResponseV3 } from "./TransferResponseV3";
|
|
9
5
|
export var PaymentResponse;
|
|
10
6
|
(function (PaymentResponse) {
|
|
11
|
-
PaymentResponse.type =
|
|
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(),
|
|
7
|
+
PaymentResponse.type = BasePaymentResponse.type.extend({
|
|
21
8
|
card: isly.fromIs("CardResponseV3", CardResponseV3.is).optional(),
|
|
22
9
|
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
10
|
});
|
|
26
11
|
PaymentResponse.is = PaymentResponse.type.is;
|
|
27
12
|
})(PaymentResponse || (PaymentResponse = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentResponse.js","sourceRoot":"../","sources":["model/PaymentResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"PaymentResponse.js","sourceRoot":"../","sources":["model/PaymentResponse.ts"],"names":[],"mappings":"AAAA,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,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAMzD,MAAM,KAAW,eAAe,CAM/B;AAND,WAAiB,eAAe;IAClB,oBAAI,GAAG,mBAAmB,CAAC,IAAI,CAAC,MAAM,CAAkB;QACpE,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,cAAc,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QACjE,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;KAC7E,CAAC,CAAA;IACW,kBAAE,GAAG,gBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EANgB,eAAe,KAAf,eAAe,QAM/B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { ProviderCode } from "./ProviderCode";
|
|
3
|
+
export interface PaymentSearch {
|
|
4
|
+
paymentId?: string[];
|
|
5
|
+
cardId?: string[];
|
|
6
|
+
merchantId?: string[];
|
|
7
|
+
providerCode?: ProviderCode[];
|
|
8
|
+
}
|
|
9
|
+
export declare namespace PaymentSearch {
|
|
10
|
+
const type: isly.object.ExtendableType<PaymentSearch>;
|
|
11
|
+
const is: isly.Type.IsFunction<PaymentSearch>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { ProviderCode } from "./ProviderCode";
|
|
3
|
+
export var PaymentSearch;
|
|
4
|
+
(function (PaymentSearch) {
|
|
5
|
+
PaymentSearch.type = isly.object({
|
|
6
|
+
paymentId: isly.string().array().optional(),
|
|
7
|
+
cardId: isly.string().array().optional(),
|
|
8
|
+
merchantId: isly.string().array().optional(),
|
|
9
|
+
providerCode: ProviderCode.type.array().optional(),
|
|
10
|
+
});
|
|
11
|
+
PaymentSearch.is = PaymentSearch.type.is;
|
|
12
|
+
})(PaymentSearch || (PaymentSearch = {}));
|
|
13
|
+
//# sourceMappingURL=PaymentSearch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentSearch.js","sourceRoot":"../","sources":["model/PaymentSearch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAQ7C,MAAM,KAAW,aAAa,CAQ7B;AARD,WAAiB,aAAa;IAChB,kBAAI,GAAG,IAAI,CAAC,MAAM,CAAgB;QAC9C,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QAC3C,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QACxC,UAAU,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QAC5C,YAAY,EAAE,YAAY,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;KAClD,CAAC,CAAA;IACW,gBAAE,GAAG,cAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EARgB,aAAa,KAAb,aAAa,QAQ7B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export type PaymentStatus = typeof PaymentStatus.values[number];
|
|
3
|
+
export declare namespace PaymentStatus {
|
|
4
|
+
const values: readonly ["active", "completed", "rejected", "frozen", "cancelled", "expired", "pending", "approved", "declined"];
|
|
5
|
+
const type: isly.Type<"frozen" | "active" | "pending" | "expired" | "completed" | "rejected" | "approved" | "declined" | "cancelled">;
|
|
6
|
+
const is: isly.Type.IsFunction<"frozen" | "active" | "pending" | "expired" | "completed" | "rejected" | "approved" | "declined" | "cancelled">;
|
|
7
|
+
}
|