@pax2pay/client 0.3.110 → 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.
Files changed (53) hide show
  1. package/Client/Payments/index.ts +28 -7
  2. package/dist/Client/Payments/index.d.ts +8 -4
  3. package/dist/Client/Payments/index.js +9 -19
  4. package/dist/Client/Payments/index.js.map +1 -1
  5. package/dist/index.d.ts +2 -2
  6. package/dist/index.js +2 -2
  7. package/dist/index.js.map +1 -1
  8. package/dist/model/AbstractPaymentResponse.d.ts +25 -0
  9. package/dist/model/AbstractPaymentResponse.js +26 -0
  10. package/dist/model/AbstractPaymentResponse.js.map +1 -0
  11. package/dist/model/BasePaymentResponse.d.ts +11 -0
  12. package/dist/model/BasePaymentResponse.js +12 -0
  13. package/dist/model/BasePaymentResponse.js.map +1 -0
  14. package/dist/model/CardResponseV3.d.ts +4 -13
  15. package/dist/model/CardResponseV3.js +4 -13
  16. package/dist/model/CardResponseV3.js.map +1 -1
  17. package/dist/model/MerchantResponse.d.ts +1 -1
  18. package/dist/model/MerchantResponse.js +1 -1
  19. package/dist/model/MerchantResponse.js.map +1 -1
  20. package/dist/model/PaymentResponse.d.ts +2 -17
  21. package/dist/model/PaymentResponse.js +2 -17
  22. package/dist/model/PaymentResponse.js.map +1 -1
  23. package/dist/model/PaymentSearch.d.ts +12 -0
  24. package/dist/model/PaymentSearch.js +13 -0
  25. package/dist/model/PaymentSearch.js.map +1 -0
  26. package/dist/model/PaymentStatus.d.ts +7 -0
  27. package/dist/model/PaymentStatus.js +18 -0
  28. package/dist/model/PaymentStatus.js.map +1 -0
  29. package/dist/model/SummaryCardResponseV3.d.ts +13 -0
  30. package/dist/model/SummaryCardResponseV3.js +14 -0
  31. package/dist/model/SummaryCardResponseV3.js.map +1 -0
  32. package/dist/model/SummaryMerchantResponse.d.ts +8 -0
  33. package/dist/model/SummaryMerchantResponse.js +7 -0
  34. package/dist/model/SummaryMerchantResponse.js.map +1 -0
  35. package/dist/model/SummaryPaymentResponse.d.ts +9 -0
  36. package/dist/model/SummaryPaymentResponse.js +2 -0
  37. package/dist/model/SummaryPaymentResponse.js.map +1 -0
  38. package/dist/model/index.d.ts +4 -1
  39. package/dist/model/index.js +3 -1
  40. package/dist/model/index.js.map +1 -1
  41. package/index.ts +6 -0
  42. package/model/AbstractPaymentResponse.ts +40 -0
  43. package/model/BasePaymentResponse.ts +16 -0
  44. package/model/CardResponseV3.ts +6 -22
  45. package/model/MerchantResponse.ts +2 -2
  46. package/model/PaymentResponse.ts +3 -29
  47. package/model/PaymentSearch.ts +18 -0
  48. package/model/PaymentStatus.ts +19 -0
  49. package/model/SummaryCardResponseV3.ts +21 -0
  50. package/model/SummaryMerchantResponse.ts +9 -0
  51. package/model/SummaryPaymentResponse.ts +10 -0
  52. package/model/index.ts +6 -0
  53. package/package.json +1 -1
@@ -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
- this.#connection = connection
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
  }
@@ -1,9 +1,9 @@
1
1
  import * as model from "../../model";
2
2
  import { Connection } from "../Connection";
3
- export declare class Payments {
4
- #private;
5
- protected folder: string;
6
- protected get connection(): Connection;
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
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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":";;;;;;;;;;;;AAGA,MAAM,OAAO,QAAQ;IAGpB,IAAc,UAAU;QACvB,OAAO,uBAAA,IAAI,4BAAY,CAAA;IACxB,CAAC;IACD,YAAY,UAAsB;QALxB,WAAM,GAAG,UAAU,CAAA;QAC7B,uCAAuB;QAKtB,uBAAA,IAAI,wBAAe,UAAU,MAAA,CAAA;IAC9B,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,QAAQ,CAAC,UAAU,CAAC,CAAA;IAChC,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAAgC;QAC1C,OAAO,MAAM,IAAI,CAAC,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AAC,GAAG,CAAC,EAAU;QACnB,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAwB,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,EAAE,CAAC,CAAA;IAChF,CAAC;IACD,KAAK,CAAC,MAAM,CACX,OAA4B,EAC5B,QAAkD,EAClD,IAAa,EACb,IAAa,EACb,IAAI,GAAG,gBAAgB,EACvB,YAAY,GAAG,IAAI;QAEnB,OAAO,MAAM,IAAI,CAAC,gBAAgB,CACjC,QAAQ,EACR,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAC7B,IAAI,CAAC,UAAU,CAAC,IAAI,CAElB,GAAG,IAAI,CAAC,MAAM,WAAW,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EAC1E,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,eAAe,EAEf,kCAAkC,EAClC,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,0BAA0B,EAC1B,aAAa,EAGb,YAAY,EACZ,cAAc,EACd,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAGpB,2BAA2B,EAE3B,oCAAoC,EACpC,aAAa,EACb,eAAe,EAEf,QAAQ,EAMR,qBAAqB,EACrB,yBAAyB,EACzB,SAAS,EAaT,iBAAiB,EAGjB,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,4BAA4B,EAE5B,6BAA6B,EAC7B,4BAA4B,EAG5B,6BAA6B,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,oCAAoC,EACpC,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAIT,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EACL,wBAAwB,EAExB,aAAa,EACb,eAAe,EACf,eAAe,EACf,gBAAgB,EAIhB,cAAc,EACd,wBAAwB,EACxB,gBAAgB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oBAAoB,EAEpB,iBAAiB,EAEjB,cAAc,EACd,eAAe,EACf,aAAa,EACb,aAAa,EACb,4BAA4B,EAE5B,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,UAAU,EAQV,aAAa,EAIb,OAAO,EACP,cAAc,EAMd,0BAA0B,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 { CardOperation } from "./CardOperation";
4
- import { PaymentAccountState } from "./PaymentAccountState";
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: PaymentCardUsage;
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 { CardOperation } from "./CardOperation";
4
- import { PaymentAccountState } from "./PaymentAccountState";
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 = isly.object({
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("PaymentCardUsage", PaymentCardUsage.is),
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,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAoBvC,MAAM,KAAW,cAAc,CAmB9B;AAnBD,WAAiB,cAAc;IACjB,mBAAI,GAAG,IAAI,CAAC,MAAM,CAAiB;QAC/C,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,YAAY,EAAE,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,EAAE,CAAC;QAC1D,cAAc,EAAE,IAAI,CAAC,MAAM,EAAE;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;QACvB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,SAAS,CAAC,EAAE,CAAC;QAC/C,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,EAAE,CAAC;QAC3D,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,EAAE,CAAC;QACjE,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE;QAClB,GAAG,EA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AAC,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?: string;
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().optional(),
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,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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 { BookingInfoResponse } from "./BookingInfoResponse";
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 { BookingInfoResponse } from "./BookingInfoResponse";
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 = 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(),
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,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,sBAAsB,CAAA;AAiBzD,MAAM,KAAW,eA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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
+ }
@@ -0,0 +1,18 @@
1
+ import { isly } from "isly";
2
+ export var PaymentStatus;
3
+ (function (PaymentStatus) {
4
+ PaymentStatus.values = [
5
+ "active",
6
+ "completed",
7
+ "rejected",
8
+ "frozen",
9
+ "cancelled",
10
+ "expired",
11
+ "pending",
12
+ "approved",
13
+ "declined",
14
+ ];
15
+ PaymentStatus.type = isly.string(PaymentStatus.values);
16
+ PaymentStatus.is = PaymentStatus.type.is;
17
+ })(PaymentStatus || (PaymentStatus = {}));
18
+ //# sourceMappingURL=PaymentStatus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaymentStatus.js","sourceRoot":"../","sources":["model/PaymentStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,aAAa,CAc7B;AAdD,WAAiB,aAAa;IAChB,oBAAM,GAAG;QACrB,QAAQ;QACR,WAAW;QACX,UAAU;QACV,QAAQ;QACR,WAAW;QACX,SAAS;QACT,SAAS;QACT,UAAU;QACV,UAAU;KACD,CAAA;IACG,kBAAI,GAAG,IAAI,CAAC,MAAM,CAAC,cAAA,MAAM,CAAC,CAAA;IAC1B,gBAAE,GAAG,cAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAdgB,aAAa,KAAb,aAAa,QAc7B"}
@@ -0,0 +1,13 @@
1
+ import { isly } from "isly";
2
+ import { ProviderCode } from "./ProviderCode";
3
+ export interface SummaryCardResponseV3 {
4
+ id: string;
5
+ providerCode: ProviderCode;
6
+ providerCardId: string;
7
+ cardType: string;
8
+ pan: string;
9
+ }
10
+ export declare namespace SummaryCardResponseV3 {
11
+ const type: isly.object.ExtendableType<SummaryCardResponseV3>;
12
+ const is: isly.Type.IsFunction<SummaryCardResponseV3>;
13
+ }
@@ -0,0 +1,14 @@
1
+ import { isly } from "isly";
2
+ import { ProviderCode } from "./ProviderCode";
3
+ export var SummaryCardResponseV3;
4
+ (function (SummaryCardResponseV3) {
5
+ SummaryCardResponseV3.type = isly.object({
6
+ id: isly.string(),
7
+ providerCode: ProviderCode.type,
8
+ providerCardId: isly.string(),
9
+ cardType: isly.string(),
10
+ pan: isly.string(),
11
+ });
12
+ SummaryCardResponseV3.is = SummaryCardResponseV3.type.is;
13
+ })(SummaryCardResponseV3 || (SummaryCardResponseV3 = {}));
14
+ //# sourceMappingURL=SummaryCardResponseV3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SummaryCardResponseV3.js","sourceRoot":"../","sources":["model/SummaryCardResponseV3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAU7C,MAAM,KAAW,qBAAqB,CASrC;AATD,WAAiB,qBAAqB;IACxB,0BAAI,GAAG,IAAI,CAAC,MAAM,CAAwB;QACtD,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,YAAY,EAAE,YAAY,CAAC,IAAI;QAC/B,cAAc,EAAE,IAAI,CAAC,MAAM,EAAE;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;QACvB,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE;KAClB,CAAC,CAAA;IACW,wBAAE,GAAG,sBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EATgB,qBAAqB,KAArB,qBAAqB,QASrC"}
@@ -0,0 +1,8 @@
1
+ import { isly } from "isly";
2
+ export interface SummaryMerchantResponse {
3
+ name: string;
4
+ }
5
+ export declare namespace SummaryMerchantResponse {
6
+ const type: isly.object.ExtendableType<SummaryMerchantResponse>;
7
+ const is: isly.Type.IsFunction<SummaryMerchantResponse>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { isly } from "isly";
2
+ export var SummaryMerchantResponse;
3
+ (function (SummaryMerchantResponse) {
4
+ SummaryMerchantResponse.type = isly.object({ name: isly.string() });
5
+ SummaryMerchantResponse.is = SummaryMerchantResponse.type.is;
6
+ })(SummaryMerchantResponse || (SummaryMerchantResponse = {}));
7
+ //# sourceMappingURL=SummaryMerchantResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SummaryMerchantResponse.js","sourceRoot":"../","sources":["model/SummaryMerchantResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAK3B,MAAM,KAAW,uBAAuB,CAGvC;AAHD,WAAiB,uBAAuB;IAC1B,4BAAI,GAAG,IAAI,CAAC,MAAM,CAA0B,EAAE,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAA;IACpE,0BAAE,GAAG,wBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAHgB,uBAAuB,KAAvB,uBAAuB,QAGvC"}
@@ -0,0 +1,9 @@
1
+ import { AbstractPaymentResponse } from "./AbstractPaymentResponse";
2
+ import { SummaryCardResponseV3 } from "./SummaryCardResponseV3";
3
+ import { SummaryMerchantResponse } from "./SummaryMerchantResponse";
4
+ import { TransferResponseV3 } from "./TransferResponseV3";
5
+ export interface SummaryPaymentResponse extends AbstractPaymentResponse {
6
+ merchant: SummaryMerchantResponse;
7
+ card?: SummaryCardResponseV3;
8
+ transfer?: TransferResponseV3;
9
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SummaryPaymentResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SummaryPaymentResponse.js","sourceRoot":"../","sources":["model/SummaryPaymentResponse.ts"],"names":[],"mappings":""}
@@ -149,6 +149,8 @@ import { PaymentMethodType } from "./PaymentMethodType";
149
149
  import { PaymentOption } from "./PaymentOption";
150
150
  import { PaymentRequest } from "./PaymentRequest";
151
151
  import { PaymentResponse } from "./PaymentResponse";
152
+ import { PaymentSearch } from "./PaymentSearch";
153
+ import { PaymentStatus } from "./PaymentStatus";
152
154
  import { PaymentTransferCreateRequest } from "./PaymentTransferCreateRequest";
153
155
  import { ProcessedStatement } from "./ProcessedStatement";
154
156
  import { ProductType } from "./ProductType";
@@ -199,6 +201,7 @@ import { SuggestionPaymentMethodRequest } from "./SuggestionPaymentMethodRequest
199
201
  import { SuggestionRequest } from "./SuggestionRequest";
200
202
  import { SuggestionResponse } from "./SuggestionResponse";
201
203
  import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse";
204
+ import { SummaryPaymentResponse } from "./SummaryPaymentResponse";
202
205
  import { SupplierBookingInfo } from "./SupplierBookingInfo";
203
206
  import { SupplierRequest } from "./SupplierRequest";
204
207
  import { SupplierResponse } from "./SupplierResponse";
@@ -235,4 +238,4 @@ import { UserRoleResponse } from "./UserRoleResponse";
235
238
  import { UserSearchRequest } from "./UserSearchRequest";
236
239
  import { UserStatus } from "./UserStatus";
237
240
  import { YearMonth } from "./YearMonth";
238
- 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, 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, 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, };
241
+ 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, 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, 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, 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, };
@@ -97,6 +97,8 @@ import { PaymentDeliveryState } from "./PaymentDeliveryState";
97
97
  import { PaymentMethodType } from "./PaymentMethodType";
98
98
  import { PaymentRequest } from "./PaymentRequest";
99
99
  import { PaymentResponse } from "./PaymentResponse";
100
+ import { PaymentSearch } from "./PaymentSearch";
101
+ import { PaymentStatus } from "./PaymentStatus";
100
102
  import { PaymentTransferCreateRequest } from "./PaymentTransferCreateRequest";
101
103
  import { ProductType } from "./ProductType";
102
104
  import { ProviderCode } from "./ProviderCode";
@@ -138,5 +140,5 @@ import { UserRequest } from "./UserRequest";
138
140
  import { UserResponse } from "./UserResponse";
139
141
  import { UserStatus } from "./UserStatus";
140
142
  import { YearMonth } from "./YearMonth";
141
- 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, 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, };
143
+ 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, 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, };
142
144
  //# sourceMappingURL=index.js.map
@@ -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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B,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,UAAU,EAKV,aAAa,EAEb,mBAAmB,EACnB,4BAA4B,EAC5B,6BAA6B,EAC7B,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EAEpB,iBAAiB,EAEjB,cAAc,EACd,eAAe,EACf,aAAa,EACb,aAAa,EACb,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,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"}
package/index.ts CHANGED
@@ -150,6 +150,8 @@ import {
150
150
  PaymentOption,
151
151
  PaymentRequest,
152
152
  PaymentResponse,
153
+ PaymentSearch,
154
+ PaymentStatus,
153
155
  PaymentTransferCreateRequest,
154
156
  ProcessedStatement,
155
157
  ProductType,
@@ -200,6 +202,7 @@ import {
200
202
  SuggestionRequest,
201
203
  SuggestionResponse,
202
204
  SummaryBookingInfoResponse,
205
+ SummaryPaymentResponse,
203
206
  SupplierBookingInfo,
204
207
  SupplierRequest,
205
208
  SupplierResponse,
@@ -390,6 +393,8 @@ export {
390
393
  PaymentOption,
391
394
  PaymentRequest,
392
395
  PaymentResponse,
396
+ PaymentSearch,
397
+ PaymentStatus,
393
398
  PaymentTransferCreateRequest,
394
399
  ProcessedStatement,
395
400
  ProductType,
@@ -441,6 +446,7 @@ export {
441
446
  SuggestionRequest,
442
447
  SuggestionResponse,
443
448
  SummaryBookingInfoResponse,
449
+ SummaryPaymentResponse,
444
450
  SupplierBookingInfo,
445
451
  SupplierRequest,
446
452
  SupplierResponse,
@@ -0,0 +1,40 @@
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
+
8
+ export interface AbstractPaymentResponse {
9
+ id: string
10
+ account: string
11
+ amount: number
12
+ remaining: number
13
+ total: number
14
+ schedule?: PaymentAmountScheduleResponse[]
15
+ currency: Currency
16
+ state: PaymentStatus
17
+ merchant?: SummaryMerchantResponse
18
+ method: "card" | "transfer"
19
+ meta?: BookingInfoResponse
20
+ createdBy: string
21
+ createdOn: DateTime
22
+ }
23
+ export namespace AbstractPaymentResponse {
24
+ export const type = isly.object<AbstractPaymentResponse>({
25
+ id: isly.string(),
26
+ account: isly.string(),
27
+ amount: isly.number(),
28
+ remaining: isly.number(),
29
+ total: isly.number(),
30
+ schedule: PaymentAmountScheduleResponse.type.array().optional(),
31
+ currency: isly.fromIs("Currency", Currency.is),
32
+ state: PaymentStatus.type,
33
+ merchant: SummaryMerchantResponse.type.optional(),
34
+ method: isly.string(["card", "transfer"]),
35
+ meta: isly.fromIs("BookingInfoResponse", BookingInfoResponse.is).optional(),
36
+ createdBy: isly.string(),
37
+ createdOn: isly.string(),
38
+ })
39
+ export const is = type.is
40
+ }
@@ -0,0 +1,16 @@
1
+ import { AbstractPaymentResponse } from "./AbstractPaymentResponse"
2
+ import { MerchantResponse } from "./MerchantResponse"
3
+ import { PaymentDeliveryResponse } from "./PaymentDeliveryResponse"
4
+
5
+ export interface BasePaymentResponse extends AbstractPaymentResponse {
6
+ merchant?: MerchantResponse
7
+ delivery?: PaymentDeliveryResponse
8
+ }
9
+
10
+ export namespace BasePaymentResponse {
11
+ export const type = AbstractPaymentResponse.type.extend<BasePaymentResponse>({
12
+ merchant: MerchantResponse.type.optional(),
13
+ delivery: PaymentDeliveryResponse.type.optional(),
14
+ })
15
+ export const is = type.is
16
+ }
@@ -1,46 +1,30 @@
1
1
  import { Date } from "isoly"
2
2
  import { isly } from "isly"
3
- import { CardOperation } from "./CardOperation"
4
- import { PaymentAccountState } from "./PaymentAccountState"
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
 
9
- export interface CardResponseV3 {
10
- id: string
11
- providerCode: ProviderCode
12
- providerCardId: string
13
- cardType: string
7
+ export interface CardResponseV3 extends SummaryCardResponseV3 {
14
8
  expires: YearMonth
15
- usage: PaymentCardUsage
16
- state: PaymentAccountState
9
+ usage: CardUsage
17
10
  token?: string
18
- pan: string
19
11
  cvv?: string
20
12
  cardHolderName: string
21
13
  issued?: Date
22
14
  remaining: number
23
15
  maxAmount: number
24
- operations?: CardOperation
25
16
  }
26
17
 
27
18
  export namespace CardResponseV3 {
28
- export const type = isly.object<CardResponseV3>({
29
- id: isly.string(),
30
- providerCode: isly.fromIs("ProviderCode", ProviderCode.is),
31
- providerCardId: isly.string(),
32
- cardType: isly.string(),
19
+ export const type = SummaryCardResponseV3.type.extend<CardResponseV3>({
33
20
  expires: isly.fromIs("YearMonth", YearMonth.is),
34
- usage: isly.fromIs("PaymentCardUsage", PaymentCardUsage.is),
35
- state: isly.fromIs("PaymentAccountState", PaymentAccountState.is),
21
+ usage: isly.fromIs("CardUsage", CardUsage.is),
36
22
  token: isly.string().optional(),
37
- pan: isly.string(),
38
23
  cvv: isly.string().optional(),
39
24
  cardHolderName: isly.string(),
40
25
  issued: isly.fromIs("Date", Date.is).optional(),
41
26
  remaining: isly.number(),
42
27
  maxAmount: isly.number(),
43
- operations: isly.fromIs("CardOperation", CardOperation.is).optional(),
44
28
  })
45
29
  export const is = type.is
46
30
  }
@@ -5,7 +5,7 @@ import { MerchantType } from "./MerchantType"
5
5
 
6
6
  export interface MerchantResponse {
7
7
  id?: string
8
- name?: string
8
+ name: string
9
9
  mcc?: string
10
10
  type?: MerchantType
11
11
  isSuitableForCardMerchantRestriction?: true
@@ -15,7 +15,7 @@ export interface MerchantResponse {
15
15
  export namespace MerchantResponse {
16
16
  export const type = isly.object<MerchantResponse>({
17
17
  id: isly.string().optional(),
18
- name: isly.string().optional(),
18
+ name: isly.string(),
19
19
  mcc: isly.string().optional(),
20
20
  type: MerchantType.type.optional(),
21
21
  isSuitableForCardMerchantRestriction: isly.boolean(true).optional(),
@@ -1,42 +1,16 @@
1
- import { Currency, DateTime } from "isoly"
2
1
  import { isly } from "isly"
3
- import { BookingInfoResponse } from "./BookingInfoResponse"
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
 
10
- export interface PaymentResponse {
11
- id: string
12
- merchant?: MerchantResponse
13
- account: string
14
- amount: number
15
- currency: Currency
16
- method: "card" | "transfer"
17
- meta?: BookingInfoResponse
18
- createdBy: string
19
- createdOn: DateTime
6
+ export interface PaymentResponse extends BasePaymentResponse {
20
7
  card?: CardResponseV3
21
8
  transfer?: TransferResponseV3
22
- delivery?: PaymentDeliveryResponse
23
- schedule?: PaymentAmountScheduleResponse[]
24
9
  }
25
10
  export namespace PaymentResponse {
26
- export const type = isly.object<PaymentResponse>({
27
- id: isly.string(),
28
- merchant: isly.fromIs("MerchantResponse", MerchantResponse.is).optional(),
29
- account: isly.string(),
30
- amount: isly.number(),
31
- currency: isly.fromIs("Currency", Currency.is),
32
- method: isly.string(["card", "transfer"]),
33
- meta: isly.fromIs("BookingInfoResponse", BookingInfoResponse.is).optional(),
34
- createdBy: isly.string(),
35
- createdOn: isly.string(),
11
+ export const type = BasePaymentResponse.type.extend<PaymentResponse>({
36
12
  card: isly.fromIs("CardResponseV3", CardResponseV3.is).optional(),
37
13
  transfer: isly.fromIs("TransferResponseV3", TransferResponseV3.is).optional(),
38
- delivery: isly.fromIs("PaymentDeliveryResponse", PaymentDeliveryResponse.is).optional(),
39
- schedule: isly.array(isly.fromIs("PaymentAmountScheduleResponse", PaymentAmountScheduleResponse.is)).optional(),
40
14
  })
41
15
  export const is = type.is
42
16
  }
@@ -0,0 +1,18 @@
1
+ import { isly } from "isly"
2
+ import { ProviderCode } from "./ProviderCode"
3
+
4
+ export interface PaymentSearch {
5
+ paymentId?: string[]
6
+ cardId?: string[]
7
+ merchantId?: string[]
8
+ providerCode?: ProviderCode[]
9
+ }
10
+ export namespace PaymentSearch {
11
+ export const type = isly.object<PaymentSearch>({
12
+ paymentId: isly.string().array().optional(),
13
+ cardId: isly.string().array().optional(),
14
+ merchantId: isly.string().array().optional(),
15
+ providerCode: ProviderCode.type.array().optional(),
16
+ })
17
+ export const is = type.is
18
+ }
@@ -0,0 +1,19 @@
1
+ import { isly } from "isly"
2
+
3
+ export type PaymentStatus = typeof PaymentStatus.values[number]
4
+
5
+ export namespace PaymentStatus {
6
+ export const values = [
7
+ "active",
8
+ "completed",
9
+ "rejected",
10
+ "frozen",
11
+ "cancelled",
12
+ "expired",
13
+ "pending",
14
+ "approved",
15
+ "declined",
16
+ ] as const
17
+ export const type = isly.string(values)
18
+ export const is = type.is
19
+ }
@@ -0,0 +1,21 @@
1
+ import { isly } from "isly"
2
+ import { ProviderCode } from "./ProviderCode"
3
+
4
+ export interface SummaryCardResponseV3 {
5
+ id: string
6
+ providerCode: ProviderCode
7
+ providerCardId: string
8
+ cardType: string
9
+ pan: string
10
+ }
11
+
12
+ export namespace SummaryCardResponseV3 {
13
+ export const type = isly.object<SummaryCardResponseV3>({
14
+ id: isly.string(),
15
+ providerCode: ProviderCode.type,
16
+ providerCardId: isly.string(),
17
+ cardType: isly.string(),
18
+ pan: isly.string(),
19
+ })
20
+ export const is = type.is
21
+ }
@@ -0,0 +1,9 @@
1
+ import { isly } from "isly"
2
+
3
+ export interface SummaryMerchantResponse {
4
+ name: string
5
+ }
6
+ export namespace SummaryMerchantResponse {
7
+ export const type = isly.object<SummaryMerchantResponse>({ name: isly.string() })
8
+ export const is = type.is
9
+ }
@@ -0,0 +1,10 @@
1
+ import { AbstractPaymentResponse } from "./AbstractPaymentResponse"
2
+ import { SummaryCardResponseV3 } from "./SummaryCardResponseV3"
3
+ import { SummaryMerchantResponse } from "./SummaryMerchantResponse"
4
+ import { TransferResponseV3 } from "./TransferResponseV3"
5
+
6
+ export interface SummaryPaymentResponse extends AbstractPaymentResponse {
7
+ merchant: SummaryMerchantResponse
8
+ card?: SummaryCardResponseV3
9
+ transfer?: TransferResponseV3
10
+ }
package/model/index.ts CHANGED
@@ -149,6 +149,8 @@ import { PaymentMethodType } from "./PaymentMethodType"
149
149
  import { PaymentOption } from "./PaymentOption"
150
150
  import { PaymentRequest } from "./PaymentRequest"
151
151
  import { PaymentResponse } from "./PaymentResponse"
152
+ import { PaymentSearch } from "./PaymentSearch"
153
+ import { PaymentStatus } from "./PaymentStatus"
152
154
  import { PaymentTransferCreateRequest } from "./PaymentTransferCreateRequest"
153
155
  import { ProcessedStatement } from "./ProcessedStatement"
154
156
  import { ProductType } from "./ProductType"
@@ -199,6 +201,7 @@ import { SuggestionPaymentMethodRequest } from "./SuggestionPaymentMethodRequest
199
201
  import { SuggestionRequest } from "./SuggestionRequest"
200
202
  import { SuggestionResponse } from "./SuggestionResponse"
201
203
  import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse"
204
+ import { SummaryPaymentResponse } from "./SummaryPaymentResponse"
202
205
  import { SupplierBookingInfo } from "./SupplierBookingInfo"
203
206
  import { SupplierRequest } from "./SupplierRequest"
204
207
  import { SupplierResponse } from "./SupplierResponse"
@@ -388,6 +391,8 @@ export {
388
391
  PaymentOption,
389
392
  PaymentRequest,
390
393
  PaymentResponse,
394
+ PaymentSearch,
395
+ PaymentStatus,
391
396
  PaymentTransferCreateRequest,
392
397
  ProcessedStatement,
393
398
  ProductType,
@@ -439,6 +444,7 @@ export {
439
444
  SuggestionRequest,
440
445
  SuggestionResponse,
441
446
  SummaryBookingInfoResponse,
447
+ SummaryPaymentResponse,
442
448
  SupplierBookingInfo,
443
449
  SupplierRequest,
444
450
  SupplierResponse,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.3.110",
3
+ "version": "0.3.111",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",