@pax2pay/client 0.6.3 → 0.6.5

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 (68) hide show
  1. package/Client/Payments/index.ts +3 -0
  2. package/Client/Reports/index.ts +5 -5
  3. package/Client/Transfers/index.ts +8 -0
  4. package/dist/Client/Payments/index.d.ts +3 -0
  5. package/dist/Client/Payments/index.js +3 -0
  6. package/dist/Client/Payments/index.js.map +1 -1
  7. package/dist/Client/Reports/index.d.ts +5 -5
  8. package/dist/Client/Reports/index.js.map +1 -1
  9. package/dist/Client/Transfers/index.d.ts +3 -0
  10. package/dist/Client/Transfers/index.js +6 -0
  11. package/dist/Client/Transfers/index.js.map +1 -1
  12. package/dist/index.d.ts +2 -2
  13. package/dist/index.js +2 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/model/AccountDetailsTransferDestinationResponse.d.ts +7 -2
  16. package/dist/model/AccountDetailsTransferDestinationResponse.js +18 -14
  17. package/dist/model/AccountDetailsTransferDestinationResponse.js.map +1 -1
  18. package/dist/model/AddressInfo.d.ts +3 -1
  19. package/dist/model/AddressInfo.js +10 -9
  20. package/dist/model/AddressInfo.js.map +1 -1
  21. package/dist/model/BeneficiaryRequest.d.ts +2 -2
  22. package/dist/model/BeneficiaryRequest.js +2 -2
  23. package/dist/model/BeneficiaryRequest.js.map +1 -1
  24. package/dist/model/BeneficiaryResponse.d.ts +2 -2
  25. package/dist/model/BeneficiaryResponse.js +2 -2
  26. package/dist/model/BeneficiaryResponse.js.map +1 -1
  27. package/dist/model/DownloadableResponse.d.ts +5 -0
  28. package/dist/model/DownloadableResponse.js +2 -0
  29. package/dist/model/DownloadableResponse.js.map +1 -0
  30. package/dist/model/TransferDestinationAddressType.d.ts +7 -0
  31. package/dist/model/TransferDestinationAddressType.js +8 -0
  32. package/dist/model/TransferDestinationAddressType.js.map +1 -0
  33. package/dist/model/TransferDestinationRequest.d.ts +23 -0
  34. package/dist/model/TransferDestinationRequest.js +25 -0
  35. package/dist/model/TransferDestinationRequest.js.map +1 -0
  36. package/dist/model/TransferRequest.d.ts +2 -2
  37. package/dist/model/TransferResponseV3.d.ts +2 -2
  38. package/dist/model/TransferResponseV3.js +2 -2
  39. package/dist/model/TransferResponseV3.js.map +1 -1
  40. package/dist/model/UpdateBeneficiaryRequest.d.ts +2 -2
  41. package/dist/model/index.d.ts +4 -4
  42. package/dist/model/index.js +3 -2
  43. package/dist/model/index.js.map +1 -1
  44. package/index.ts +6 -6
  45. package/model/AccountDetailsTransferDestinationResponse.ts +21 -18
  46. package/model/AddressInfo.ts +12 -10
  47. package/model/BeneficiaryRequest.ts +3 -3
  48. package/model/BeneficiaryResponse.ts +3 -3
  49. package/model/DownloadableResponse.ts +5 -0
  50. package/model/TransferDestinationAddressType.ts +10 -0
  51. package/model/TransferDestinationRequest.ts +41 -0
  52. package/model/TransferRequest.ts +2 -2
  53. package/model/TransferResponseV3.ts +3 -3
  54. package/model/UpdateBeneficiaryRequest.ts +2 -2
  55. package/model/index.ts +6 -6
  56. package/package.json +1 -1
  57. package/dist/model/NonBeneficiaryTransferDestination.d.ts +0 -14
  58. package/dist/model/NonBeneficiaryTransferDestination.js +0 -2
  59. package/dist/model/NonBeneficiaryTransferDestination.js.map +0 -1
  60. package/dist/model/ReportUrlResponse.d.ts +0 -4
  61. package/dist/model/ReportUrlResponse.js +0 -2
  62. package/dist/model/ReportUrlResponse.js.map +0 -1
  63. package/dist/model/TransferDestinationInfo.d.ts +0 -19
  64. package/dist/model/TransferDestinationInfo.js +0 -20
  65. package/dist/model/TransferDestinationInfo.js.map +0 -1
  66. package/model/NonBeneficiaryTransferDestination.ts +0 -18
  67. package/model/ReportUrlResponse.ts +0 -4
  68. package/model/TransferDestinationInfo.ts +0 -37
@@ -76,4 +76,7 @@ export class Payments extends List<model.PaymentResponse> {
76
76
  async editMetadata(id: string, request: model.EditPaymentMetadataRequest) {
77
77
  return await this.connection.put<model.PaymentResponse>(`${this.folder}/${id}/meta`, request)
78
78
  }
79
+ async downloadReceipt(id: string) {
80
+ return await this.connection.get<model.DownloadableResponse>(`${this.folder}/${id}/download`)
81
+ }
79
82
  }
@@ -81,19 +81,19 @@ export class Reports {
81
81
  return await this.connection.get<model.StatementReportResponseRow>(`statement/${rowId}`)
82
82
  }
83
83
  async getStatementReportUrl(request: model.DownloadStatementReportRequest) {
84
- return await this.connection.post<model.ReportUrlResponse>(`statement/download`, request)
84
+ return await this.connection.post<model.DownloadableResponse>(`statement/download`, request)
85
85
  }
86
86
  async getUserReportUrl(request: model.DownloadUserReportRequest) {
87
- return await this.connection.post<model.ReportUrlResponse>(`${this.folder}/user/download`, request)
87
+ return await this.connection.post<model.DownloadableResponse>(`${this.folder}/user/download`, request)
88
88
  }
89
89
  async getCardReportUrl(request: model.DownloadCardReportRequest) {
90
- return await this.connection.post<model.ReportUrlResponse>(`${this.folder}/card/download`, request)
90
+ return await this.connection.post<model.DownloadableResponse>(`${this.folder}/card/download`, request)
91
91
  }
92
92
  async getReconciliationReportUrl(request: model.DownloadReconciliationReportRequest) {
93
- return await this.connection.post<model.ReportUrlResponse>(`${this.folder}/reconciliation/download`, request)
93
+ return await this.connection.post<model.DownloadableResponse>(`${this.folder}/reconciliation/download`, request)
94
94
  }
95
95
  async getOrganisationReportUrl(request: model.DownloadOrganisationSearchRequest) {
96
- return await this.connection.post<model.ReportUrlResponse>(`${this.folder}/organisation/download`, request)
96
+ return await this.connection.post<model.DownloadableResponse>(`${this.folder}/organisation/download`, request)
97
97
  }
98
98
  static create(connection: Connection) {
99
99
  return new Reports(connection)
@@ -57,4 +57,12 @@ export class Transfers extends List<model.TransferResponseV2> {
57
57
  otp ? { "x-otp": otp } : {}
58
58
  )
59
59
  }
60
+ async donloadReceipt(transferId: string, providerCode?: ProviderCode) {
61
+ if (providerCode)
62
+ return await this.connection.get<model.DownloadableResponse>(
63
+ `v2/${this.folder}/${providerCode}/${transferId}/download`
64
+ )
65
+ else
66
+ return await this.connection.get<model.DownloadableResponse>(`v2/${this.folder}/${transferId}/download`)
67
+ }
60
68
  }
@@ -52,4 +52,7 @@ export declare class Payments extends List<model.PaymentResponse> {
52
52
  editMetadata(id: string, request: model.EditPaymentMetadataRequest): Promise<model.PaymentResponse | (model.ErrorResponse & {
53
53
  status: 400 | 404 | 500 | 403 | 503;
54
54
  })>;
55
+ downloadReceipt(id: string): Promise<model.DownloadableResponse | (model.ErrorResponse & {
56
+ status: 400 | 404 | 500 | 403 | 503;
57
+ })>;
55
58
  }
@@ -55,5 +55,8 @@ export class Payments extends List {
55
55
  async editMetadata(id, request) {
56
56
  return await this.connection.put(`${this.folder}/${id}/meta`, request);
57
57
  }
58
+ async downloadReceipt(id) {
59
+ return await this.connection.get(`${this.folder}/${id}/download`);
60
+ }
58
61
  }
59
62
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Payments/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAG9B,MAAM,OAAO,QAAS,SAAQ,IAA2B;IAExD,YAAY,UAAsB;QACjC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFC,WAAM,GAAG,UAAU,CAAA;IAGtC,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,QAAQ,CAAC,UAAU,CAAC,CAAA;IAChC,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,OAA6B;QACzC,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA8C,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACrG,CAAC;IACD,KAAK,CAAC,eAAe,CAAC,OAA6B;QAClD,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA8C,GAAG,IAAI,CAAC,MAAM,YAAY,EAAE,OAAO,CAAC,CAAA;IACpH,CAAC;IACD,KAAK,CAAC,GAAG,CAAC,EAAU;QACnB,OAAO,MAAM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,CAAC;IACD,KAAK,CAAC,UAAU,CAAC,EAAU,EAAE,OAAuC;QACnE,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAwB,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;IAChG,CAAC;IACD,KAAK,CAAC,aAAa,CAAC,EAAU,EAAE,OAA0C;QACzE,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAwB,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;IACpG,CAAC;IACD,KAAK,CAAC,eAAe,CAAC,EAAU;QAC/B,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAwB,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,aAAa,CAAC,CAAA;IAC9F,CAAC;IACD,KAAK,CAAC,YAAY,CAAC,EAAU,EAAE,OAAyC;QACvE,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAwB,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,WAAW,EAAE,OAAO,CAAC,CAAA;IAClG,CAAC;IACD,KAAK,CAAC,YAAY,CAAC,EAAU,EAAE,OAAyC;QACvE,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAwB,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;IAC9F,CAAC;IACD,KAAK,CAAC,eAAe,CAAC,EAAU;QAC/B,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAA6B,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,WAAW,CAAC,CAAA;IAC9F,CAAC;CACD"}
@@ -23,19 +23,19 @@ export declare class Reports {
23
23
  getStatementReportRow(rowId: string): Promise<model.StatementReportResponseRow | (model.ErrorResponse & {
24
24
  status: 400 | 404 | 500 | 403 | 503;
25
25
  })>;
26
- getStatementReportUrl(request: model.DownloadStatementReportRequest): Promise<model.ReportUrlResponse | (model.ErrorResponse & {
26
+ getStatementReportUrl(request: model.DownloadStatementReportRequest): Promise<model.DownloadableResponse | (model.ErrorResponse & {
27
27
  status: 400 | 404 | 500 | 403 | 503;
28
28
  })>;
29
- getUserReportUrl(request: model.DownloadUserReportRequest): Promise<model.ReportUrlResponse | (model.ErrorResponse & {
29
+ getUserReportUrl(request: model.DownloadUserReportRequest): Promise<model.DownloadableResponse | (model.ErrorResponse & {
30
30
  status: 400 | 404 | 500 | 403 | 503;
31
31
  })>;
32
- getCardReportUrl(request: model.DownloadCardReportRequest): Promise<model.ReportUrlResponse | (model.ErrorResponse & {
32
+ getCardReportUrl(request: model.DownloadCardReportRequest): Promise<model.DownloadableResponse | (model.ErrorResponse & {
33
33
  status: 400 | 404 | 500 | 403 | 503;
34
34
  })>;
35
- getReconciliationReportUrl(request: model.DownloadReconciliationReportRequest): Promise<model.ReportUrlResponse | (model.ErrorResponse & {
35
+ getReconciliationReportUrl(request: model.DownloadReconciliationReportRequest): Promise<model.DownloadableResponse | (model.ErrorResponse & {
36
36
  status: 400 | 404 | 500 | 403 | 503;
37
37
  })>;
38
- getOrganisationReportUrl(request: model.DownloadOrganisationSearchRequest): Promise<model.ReportUrlResponse | (model.ErrorResponse & {
38
+ getOrganisationReportUrl(request: model.DownloadOrganisationSearchRequest): Promise<model.DownloadableResponse | (model.ErrorResponse & {
39
39
  status: 400 | 404 | 500 | 403 | 503;
40
40
  })>;
41
41
  static create(connection: Connection): Reports;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Reports/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,aAAa,CAAA;AAGpC,MAAM,OAAO,OAAO;IAEnB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QADhC,WAAM,GAAG,SAAS,CAAA;IACiB,CAAC;IAEvD,KAAK,CAAC,cAAc,CAAC,KAAqB,EAAE,GAAmB;QAC9D,MAAM,O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+17,7 @@ export declare class Transfers extends List<model.TransferResponseV2> {
17
17
  decline(providerCode: ProviderCode, transferId: string, otp?: string): Promise<model.TransferResponseV2 | (model.ErrorResponse & {
18
18
  status: 400 | 404 | 500 | 403 | 503;
19
19
  })>;
20
+ donloadReceipt(transferId: string, providerCode?: ProviderCode): Promise<model.DownloadableResponse | (model.ErrorResponse & {
21
+ status: 400 | 404 | 500 | 403 | 503;
22
+ })>;
20
23
  }
@@ -19,5 +19,11 @@ export class Transfers extends List {
19
19
  async decline(providerCode, transferId, otp) {
20
20
  return await this.connection.post(`v2/${this.folder}/${providerCode}/${transferId}/decline`, undefined, undefined, otp ? { "x-otp": otp } : {});
21
21
  }
22
+ async donloadReceipt(transferId, providerCode) {
23
+ if (providerCode)
24
+ return await this.connection.get(`v2/${this.folder}/${providerCode}/${transferId}/download`);
25
+ else
26
+ return await this.connection.get(`v2/${this.folder}/${transferId}/download`);
27
+ }
22
28
  }
23
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Transfers/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAG9B,MAAM,OAAO,SAAU,SAAQ,IAA8B;IAE5D,YAAY,UAAsB;QACjC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFC,WAAM,GAAG,WAAW,CAAA;IAGvC,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,SAAS,CAAC,UAAU,CAAC,CAAA;IACjC,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,OAA8B,EAAE,GAAY;QACxD,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAChC,MAAM,IAAI,CAAC,MAAM,EAAE,EACnB,OAAO,EACP,SAAS,EACT,GAAG,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAC3B,CAAA;IACF,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M,IAAI,CAAC,MAAM,IAAI,YAAY,IAAI,UAAU,UAAU,EACzD,SAAS,EACT,SAAS,EACT,GAAG,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAC3B,CAAA;IACF,CAAC;IACD,KAAK,CAAC,cAAc,CAAC,UAAkB,EAAE,YAA2B;QACnE,IAAI,YAAY;YACf,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAC/B,MAAM,IAAI,CAAC,MAAM,IAAI,YAAY,IAAI,UAAU,WAAW,CAC1D,CAAA;;YAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAA6B,MAAM,IAAI,CAAC,MAAM,IAAI,UAAU,WAAW,CAAC,CAAA;IAC1G,CAAC;CACD"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { Client } from "./Client";
2
- import { AbstractBeneficiaryRequest, AbstractLoginRequest, AbstractPaymentOperation, AbstractProviderTransactionOperation, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeFlag, CardTypeInformation, CardTypeProfileResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypesResponse, CardUsage, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigTypesResponse, ConfirmationOfPayeeRequest, ConfirmationOfPayeeResponse, ConfirmationOfPayeeResponseStatus, CreateCardRequest, CreateCardTypeProfileRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, DownloadCardReportRequest, DownloadFileFormat, DownloadOrganisationSearchRequest, DownloadReconciliationReportRequest, DownloadStatementReportRequest, DownloadUserReportRequest, EditCloseDateRequest, EditPaymentAmountRequest, EditPaymentAmountScheduleRequest, EditPaymentCloseDateRequest, EditPaymentMetadataRequest, EditPaymentScheduleRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExistingBeneficiaryRequest, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FraudEmailConfig, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, GenericPaymentOperation, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginRequest, LoginResponse, MerchantDetails, MerchantDetailsV2, MerchantRequest, MerchantResponse, MerchantResponseStatus, MerchantSearchRequest, MerchantType, MetadataFormat, MetadataRequest, MetadataResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentOperation, PaymentOperationType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCardTransactionOperation, ProviderCode, ProviderResponse, ProviderTransferTransactionOperation, Range, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, SearchRolesetsRequest, SecurityConfig, Segment, SsoLoginRequest, SsoProviderConfig, SsoProviderType, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TierFeatureResponse, TierID, TierLimitResponse, TierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateCategoryRequest, UpdateMerchantRequest, UpdateRolesetRequest, Usage, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
3
- export { AbstractBeneficiaryRequest, AbstractLoginRequest, AbstractPaymentOperation, AbstractProviderTransactionOperation, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypesResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeFlag, CardUsage, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, Client, ConfigMatchesRequest, ConfigMatchesResponse, ConfigTypesResponse, ConfirmationOfPayeeRequest, ConfirmationOfPayeeResponse, ConfirmationOfPayeeResponseStatus, CreateCardRequest, CreateCardTypeProfileRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, DownloadCardReportRequest, DownloadFileFormat, DownloadOrganisationSearchRequest, DownloadReconciliationReportRequest, DownloadStatementReportRequest, DownloadUserReportRequest, EditCloseDateRequest, EditPaymentAmountRequest, EditPaymentAmountScheduleRequest, EditPaymentCloseDateRequest, EditPaymentMetadataRequest, EditPaymentScheduleRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExistingBeneficiaryRequest, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FraudEmailConfig, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, GenericPaymentOperation, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginRequest, LoginResponse, MerchantDetails, MerchantDetailsV2, MerchantRequest, MerchantResponse, MerchantResponseStatus, MerchantSearchRequest, MerchantType, MetadataFormat, MetadataRequest, MetadataResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentOperation, PaymentOperationType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCardTransactionOperation, ProviderCode, ProviderResponse, ProviderTransferTransactionOperation, Range, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearch, ScheduledTaskRequest, SearchRolesetsRequest, Segment, SsoLoginRequest, SsoProviderConfig, SsoProviderType, SecurityConfig, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TierFeatureResponse, TierID, TierLimitResponse, TierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateCategoryRequest, UpdateMerchantRequest, UpdateRolesetRequest, Usage, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
2
+ import { AbstractBeneficiaryRequest, AbstractLoginRequest, AbstractPaymentOperation, AbstractProviderTransactionOperation, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeFlag, CardTypeInformation, CardTypeProfileResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypesResponse, CardUsage, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigTypesResponse, ConfirmationOfPayeeRequest, ConfirmationOfPayeeResponse, ConfirmationOfPayeeResponseStatus, CreateCardRequest, CreateCardTypeProfileRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, DownloadableResponse, DownloadCardReportRequest, DownloadFileFormat, DownloadOrganisationSearchRequest, DownloadReconciliationReportRequest, DownloadStatementReportRequest, DownloadUserReportRequest, EditCloseDateRequest, EditPaymentAmountRequest, EditPaymentAmountScheduleRequest, EditPaymentCloseDateRequest, EditPaymentMetadataRequest, EditPaymentScheduleRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExistingBeneficiaryRequest, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FraudEmailConfig, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, GenericPaymentOperation, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginRequest, LoginResponse, MerchantDetails, MerchantDetailsV2, MerchantRequest, MerchantResponse, MerchantResponseStatus, MerchantSearchRequest, MerchantType, MetadataFormat, MetadataRequest, MetadataResponse, MinimalBookingInfo, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentOperation, PaymentOperationType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCardTransactionOperation, ProviderCode, ProviderResponse, ProviderTransferTransactionOperation, Range, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, SearchRolesetsRequest, SecurityConfig, Segment, SsoLoginRequest, SsoProviderConfig, SsoProviderType, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TierFeatureResponse, TierID, TierLimitResponse, TierResponse, TransactionResponse, TransactionType, TransferDestinationAddressType, TransferDestinationRequest, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateCategoryRequest, UpdateMerchantRequest, UpdateRolesetRequest, Usage, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
3
+ export { AbstractBeneficiaryRequest, AbstractLoginRequest, AbstractPaymentOperation, AbstractProviderTransactionOperation, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypesResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeFlag, CardUsage, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, Client, ConfigMatchesRequest, ConfigMatchesResponse, ConfigTypesResponse, ConfirmationOfPayeeRequest, ConfirmationOfPayeeResponse, ConfirmationOfPayeeResponseStatus, CreateCardRequest, CreateCardTypeProfileRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, DownloadCardReportRequest, DownloadFileFormat, DownloadOrganisationSearchRequest, DownloadReconciliationReportRequest, DownloadStatementReportRequest, DownloadUserReportRequest, EditCloseDateRequest, EditPaymentAmountRequest, EditPaymentAmountScheduleRequest, EditPaymentCloseDateRequest, EditPaymentMetadataRequest, EditPaymentScheduleRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExistingBeneficiaryRequest, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FraudEmailConfig, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, GenericPaymentOperation, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginRequest, LoginResponse, MerchantDetails, MerchantDetailsV2, MerchantRequest, MerchantResponse, MerchantResponseStatus, MerchantSearchRequest, MerchantType, MetadataFormat, MetadataRequest, MetadataResponse, MinimalBookingInfo, TransferDestinationRequest, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentOperation, PaymentOperationType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCardTransactionOperation, ProviderCode, ProviderResponse, ProviderTransferTransactionOperation, Range, References, RelogWithNewSessionDetailsRequest, Report, DownloadableResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearch, ScheduledTaskRequest, SearchRolesetsRequest, Segment, SsoLoginRequest, SsoProviderConfig, SsoProviderType, SecurityConfig, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TierFeatureResponse, TierID, TierLimitResponse, TierResponse, TransactionResponse, TransactionType, TransferDestinationAddressType, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateCategoryRequest, UpdateMerchantRequest, UpdateRolesetRequest, Usage, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { Client } from "./Client";
2
- import { AbstractBeneficiaryRequest, AbstractLoginRequest, AbstractPaymentOperation, AbstractProviderTransactionOperation, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmountPair, BeneficiaryRequest, 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, CardTypeFlag, CardTypeInformation, CardTypeProfileResponse, CardTypesConfig, CardTypeSpecification, CardUsage, ConfirmationOfPayeeRequest, ConfirmationOfPayeeResponse, ConfirmationOfPayeeResponseStatus, CredentialRequest, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, DownloadFileFormat, DownloadOrganisationSearchRequest, DownloadReconciliationReportRequest, EditCloseDateRequest, EditPaymentAmountRequest, EditPaymentAmountScheduleRequest, EditPaymentCloseDateRequest, EditPaymentMetadataRequest, EditPaymentScheduleRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExistingBeneficiaryRequest, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FraudEmailConfig, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, GenericPaymentOperation, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, MerchantDetailsV2, MerchantRequest, MerchantResponse, MerchantResponseStatus, MerchantType, MetadataFormat, MetadataRequest, MetadataResponse, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentOperation, PaymentOperationType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCardTransactionOperation, ProviderCode, ProviderResponse, ProviderTransferTransactionOperation, Range, References, ScheduleEntry, SecurityConfig, Segment, SsoLoginRequest, SsoProviderConfig, SsoProviderType, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TierFeatureResponse, TierID, TierLimitResponse, TierResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UpdateMerchantRequest, Usage, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
3
- export { AbstractBeneficiaryRequest, AbstractLoginRequest, AbstractPaymentOperation, AbstractProviderTransactionOperation, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypesConfig, CardTypeSpecification, CardTypeFlag, CardUsage, Client, ConfirmationOfPayeeRequest, ConfirmationOfPayeeResponse, ConfirmationOfPayeeResponseStatus, CredentialRequest, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, DownloadFileFormat, DownloadOrganisationSearchRequest, DownloadReconciliationReportRequest, EditCloseDateRequest, EditPaymentAmountRequest, EditPaymentAmountScheduleRequest, EditPaymentCloseDateRequest, EditPaymentMetadataRequest, EditPaymentScheduleRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExistingBeneficiaryRequest, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FraudEmailConfig, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, GenericPaymentOperation, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, MerchantDetailsV2, MerchantRequest, MerchantResponse, MerchantResponseStatus, MerchantType, MetadataFormat, MetadataRequest, MetadataResponse, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentOperation, PaymentOperationType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCardTransactionOperation, ProviderCode, ProviderResponse, ProviderTransferTransactionOperation, Range, References, ScheduleEntry, Segment, SsoLoginRequest, SsoProviderConfig, SsoProviderType, SecurityConfig, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TierFeatureResponse, TierID, TierLimitResponse, TierResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UpdateMerchantRequest, Usage, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
2
+ import { AbstractBeneficiaryRequest, AbstractLoginRequest, AbstractPaymentOperation, AbstractProviderTransactionOperation, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmountPair, BeneficiaryRequest, 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, CardTypeFlag, CardTypeInformation, CardTypeProfileResponse, CardTypesConfig, CardTypeSpecification, CardUsage, ConfirmationOfPayeeRequest, ConfirmationOfPayeeResponse, ConfirmationOfPayeeResponseStatus, CredentialRequest, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, DownloadFileFormat, DownloadOrganisationSearchRequest, DownloadReconciliationReportRequest, EditCloseDateRequest, EditPaymentAmountRequest, EditPaymentAmountScheduleRequest, EditPaymentCloseDateRequest, EditPaymentMetadataRequest, EditPaymentScheduleRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExistingBeneficiaryRequest, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FraudEmailConfig, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, GenericPaymentOperation, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, MerchantDetailsV2, MerchantRequest, MerchantResponse, MerchantResponseStatus, MerchantType, MetadataFormat, MetadataRequest, MetadataResponse, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentOperation, PaymentOperationType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCardTransactionOperation, ProviderCode, ProviderResponse, ProviderTransferTransactionOperation, Range, References, ScheduleEntry, SecurityConfig, Segment, SsoLoginRequest, SsoProviderConfig, SsoProviderType, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TierFeatureResponse, TierID, TierLimitResponse, TierResponse, TransactionType, TransferDestinationAddressType, TransferDestinationRequest, TransferDestinationResponse, TransferDirection, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UpdateMerchantRequest, Usage, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
3
+ export { AbstractBeneficiaryRequest, AbstractLoginRequest, AbstractPaymentOperation, AbstractProviderTransactionOperation, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypesConfig, CardTypeSpecification, CardTypeFlag, CardUsage, Client, ConfirmationOfPayeeRequest, ConfirmationOfPayeeResponse, ConfirmationOfPayeeResponseStatus, CredentialRequest, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, DownloadFileFormat, DownloadOrganisationSearchRequest, DownloadReconciliationReportRequest, EditCloseDateRequest, EditPaymentAmountRequest, EditPaymentAmountScheduleRequest, EditPaymentCloseDateRequest, EditPaymentMetadataRequest, EditPaymentScheduleRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExistingBeneficiaryRequest, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FraudEmailConfig, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, GenericPaymentOperation, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, MerchantDetailsV2, MerchantRequest, MerchantResponse, MerchantResponseStatus, MerchantType, MetadataFormat, MetadataRequest, MetadataResponse, TransferDestinationRequest, Notification, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryStatus, PaymentMerchantRequest, PaymentMethodType, PaymentOperation, PaymentOperationType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCardTransactionOperation, ProviderCode, ProviderResponse, ProviderTransferTransactionOperation, Range, References, ScheduleEntry, Segment, SsoLoginRequest, SsoProviderConfig, SsoProviderType, SecurityConfig, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TierFeatureResponse, TierID, TierLimitResponse, TierResponse, TransactionType, TransferDestinationAddressType, TransferDestinationResponse, TransferDirection, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UpdateMerchantRequest, Usage, 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,0BAA0B,EAC1B,oBAAoB,EACpB,wBAAwB,EACxB,oCAAoC,EACpC,mBAAmB,EACnB,sBAAsB,EACtB,yCAAyC,EACzC,yBAAyB,EACzB,eAA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BAAgB,EAChB,oCAAoC,EACpC,KAAK,EACL,UAAU,EAOV,aAAa,EAIb,OAAO,EACP,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,cAAc,EAKd,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EAIf,6BAA6B,EAC7B,0BAA0B,EAE1B,mBAAmB,EACnB,eAAe,EAEf,mBAAmB,EACnB,MAAM,EACN,iBAAiB,EACjB,YAAY,EAEZ,eAAe,EACf,8BAA8B,EAC9B,2BAA2B,EAC3B,iBAAiB,EAEjB,kBAAkB,EAClB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,eAAe,EAGf,oBAAoB,EAIpB,qBAAqB,EAErB,KAAK,EACL,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAC5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
@@ -1,17 +1,22 @@
1
1
  import { Currency } from "isoly";
2
2
  import { AddressInfo } from "./AddressInfo";
3
+ import { ConfirmationOfPayeeResponse } from "./ConfirmationOfPayeeResponse";
4
+ import { TransferDestinationAddressType } from "./TransferDestinationAddressType";
3
5
  export interface AccountDetailsTransferDestinationResponse {
4
6
  sortCode?: string;
5
7
  accountNumber?: string;
6
8
  iban?: string;
7
9
  bic?: string;
8
- type: "SCAN" | "IBAN";
10
+ abaRoutingNumber?: string;
11
+ type: TransferDestinationAddressType;
9
12
  address?: AddressInfo;
10
13
  fullName?: string;
11
14
  currency: Currency;
12
15
  bankCountry?: string;
13
16
  bankName?: string;
17
+ confirmationOfPayee?: ConfirmationOfPayeeResponse;
14
18
  }
15
19
  export declare namespace AccountDetailsTransferDestinationResponse {
16
- function is(value: AccountDetailsTransferDestinationResponse | any): value is AccountDetailsTransferDestinationResponse;
20
+ const type: import("isly/dist/cjs/object").IslyObject<AccountDetailsTransferDestinationResponse, object>;
21
+ const is: (value: AccountDetailsTransferDestinationResponse | any) => value is AccountDetailsTransferDestinationResponse;
17
22
  }
@@ -1,20 +1,24 @@
1
1
  import { Currency } from "isoly";
2
+ import { isly } from "isly";
2
3
  import { AddressInfo } from "./AddressInfo";
4
+ import { ConfirmationOfPayeeResponse } from "./ConfirmationOfPayeeResponse";
5
+ import { TransferDestinationAddressType } from "./TransferDestinationAddressType";
3
6
  export var AccountDetailsTransferDestinationResponse;
4
7
  (function (AccountDetailsTransferDestinationResponse) {
5
- function is(value) {
6
- return (typeof value == "object" &&
7
- (value.sortCode == undefined || typeof value.sortCode == "string") &&
8
- (value.accountNumber == undefined || typeof value.accountNumber == "string") &&
9
- (value.iban == undefined || typeof value.iban == "string") &&
10
- (value.bic == undefined || typeof value.bic == "string") &&
11
- (value.type == "IBAN" || value.type == "SCAN") &&
12
- (value.fullName == undefined || typeof value.fullName == "string") &&
13
- (value.address == undefined || AddressInfo.is(value.address)) &&
14
- Currency.is(value.currency) &&
15
- (value.bankCountry == undefined || typeof value.bankCountry == "string") &&
16
- (value.bankName == undefined || typeof value.bankName == "string"));
17
- }
18
- AccountDetailsTransferDestinationResponse.is = is;
8
+ AccountDetailsTransferDestinationResponse.type = isly.object({
9
+ sortCode: isly.string().optional(),
10
+ accountNumber: isly.string().optional(),
11
+ iban: isly.string().optional(),
12
+ bic: isly.string().optional(),
13
+ abaRoutingNumber: isly.string().optional(),
14
+ type: TransferDestinationAddressType.type,
15
+ address: AddressInfo.type.optional(),
16
+ fullName: isly.string().optional(),
17
+ currency: isly.fromIs("Currency", Currency.is),
18
+ bankCountry: isly.string().optional(),
19
+ bankName: isly.string().optional(),
20
+ confirmationOfPayee: ConfirmationOfPayeeResponse.type.optional(),
21
+ });
22
+ AccountDetailsTransferDestinationResponse.is = AccountDetailsTransferDestinationResponse.type.is;
19
23
  })(AccountDetailsTransferDestinationResponse || (AccountDetailsTransferDestinationResponse = {}));
20
24
  //# sourceMappingURL=AccountDetailsTransferDestinationResponse.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccountD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,EAAE,2BAA2B,CAAC,IAAI,CAAC,QAAQ,EAAE;KAChE,CAAC,CAAA;IACW,4CAAE,GAAG,0CAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAhBgB,yCAAyC,KAAzC,yCAAyC,QAgBzD"}
@@ -4,7 +4,9 @@ export interface AddressInfo {
4
4
  country: string;
5
5
  postCode: string;
6
6
  postTown: string;
7
+ state?: string;
7
8
  }
8
9
  export declare namespace AddressInfo {
9
- function is(value: AddressInfo | any): value is AddressInfo;
10
+ const type: import("isly/dist/cjs/object").IslyObject<AddressInfo, object>;
11
+ const is: (value: AddressInfo | any) => value is AddressInfo;
10
12
  }
@@ -1,13 +1,14 @@
1
+ import { isly } from "isly";
1
2
  export var AddressInfo;
2
3
  (function (AddressInfo) {
3
- function is(value) {
4
- return (typeof value == "object" &&
5
- typeof value.addressLine1 == "string" &&
6
- (value.addressLine2 == undefined || typeof value.addressLine2 == "string") &&
7
- typeof value.country == "string" &&
8
- typeof value.postCode == "string" &&
9
- typeof value.postTown == "string");
10
- }
11
- AddressInfo.is = is;
4
+ AddressInfo.type = isly.object({
5
+ addressLine1: isly.string(),
6
+ addressLine2: isly.string().optional(),
7
+ country: isly.string(),
8
+ postCode: isly.string(),
9
+ postTown: isly.string(),
10
+ state: isly.string().optional(),
11
+ });
12
+ AddressInfo.is = AddressInfo.type.is;
12
13
  })(AddressInfo || (AddressInfo = {}));
13
14
  //# sourceMappingURL=AddressInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AddressInfo.js","sourceRoot":"../","sources":["model/AddressInfo.ts"],"names":[],"mappings":"AAWA,MAAM,KAAW,WAAW,CAW3B;AAXD,WAAiB,WAAW;IAC3B,SAAgB,EAAE,CAAC,KAAwB;QAC1C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ;YACrC,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,CAAC;YAC1E,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ;YAChC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ;YACjC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CACjC,CAAA;IACF,CAAC;IATe,cAAE,KASjB,CAAA;AACF,CAAC,EAXgB,WAAW,KAAX,WAAW,QAW3B"}
1
+ {"version":3,"file":"AddressInfo.js","sourceRoot":"../","sources":["model/AddressInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAc3B,MAAM,KAAW,WAAW,CAU3B;AAVD,WAAiB,WAAW;IACd,gBAAI,GAAG,IAAI,CAAC,MAAM,CAAc;QAC5C,YAAY,EAAE,IAAI,CAAC,MAAM,EAAE;QAC3B,YAAY,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACtC,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;QACtB,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE;QACvB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC/B,CAAC,CAAA;IACW,cAAE,GAAG,YAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAVgB,WAAW,KAAX,WAAW,QAU3B"}
@@ -1,6 +1,6 @@
1
- import { TransferDestinationInfo } from "./TransferDestinationInfo";
1
+ import { TransferDestinationRequest } from "./TransferDestinationRequest";
2
2
  export interface BeneficiaryRequest {
3
- transferDestination: TransferDestinationInfo;
3
+ transferDestination: TransferDestinationRequest;
4
4
  defaultReference?: string;
5
5
  name?: string;
6
6
  }
@@ -1,9 +1,9 @@
1
1
  import { isly } from "isly";
2
- import { TransferDestinationInfo } from "./TransferDestinationInfo";
2
+ import { TransferDestinationRequest } from "./TransferDestinationRequest";
3
3
  export var BeneficiaryRequest;
4
4
  (function (BeneficiaryRequest) {
5
5
  BeneficiaryRequest.type = isly.object({
6
- transferDestination: isly.fromIs("TransferDestinationInfo", TransferDestinationInfo.is),
6
+ transferDestination: TransferDestinationRequest.type,
7
7
  defaultReference: isly.string().optional(),
8
8
  name: isly.string().optional(),
9
9
  });
@@ -1 +1 @@
1
- {"version":3,"file":"BeneficiaryRequest.js","sourceRoot":"../","sources":["model/BeneficiaryRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAOnE,MAAM,KAAW,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACrB,uBAAI,GAAG,IAAI,CAAC,MAAM,CAAqB;QACnD,mBAAmB,EAAE,IAAI,CAAC,MAAM,CAAC,yBAAyB,EAAE,uBAAuB,CAAC,EAAE,CAAC;QACvF,gBAAgB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1C,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC9B,CAAC,CAAA;IACW,qBAAE,GAAG,mBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAPgB,kBAAkB,KAAlB,kBAAkB,QAOlC"}
1
+ {"version":3,"file":"BeneficiaryRequest.js","sourceRoot":"../","sources":["model/BeneficiaryRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AAOzE,MAAM,KAAW,kBAAkB,CAOlC;AAPD,WAAiB,kBAAkB;IACrB,uBAAI,GAAG,IAAI,CAAC,MAAM,CAAqB;QACnD,mBAAmB,EAAE,0BAA0B,CAAC,IAAI;QACpD,gBAAgB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1C,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC9B,CAAC,CAAA;IACW,qBAAE,GAAG,mBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAPgB,kBAAkB,KAAlB,kBAAkB,QAOlC"}
@@ -1,7 +1,7 @@
1
+ import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
1
2
  import { BeneficiaryStatus } from "./BeneficiaryStatus";
2
- import { TransferDestinationInfo } from "./TransferDestinationInfo";
3
3
  export interface BeneficiaryResponse {
4
- transferDestination: TransferDestinationInfo;
4
+ transferDestination: AccountDetailsTransferDestinationResponse;
5
5
  status: BeneficiaryStatus;
6
6
  name: string;
7
7
  beneficiaryId: string;
@@ -1,10 +1,10 @@
1
1
  import { isly } from "isly";
2
+ import { AccountDetailsTransferDestinationResponse } from "./AccountDetailsTransferDestinationResponse";
2
3
  import { BeneficiaryStatus } from "./BeneficiaryStatus";
3
- import { TransferDestinationInfo } from "./TransferDestinationInfo";
4
4
  export var BeneficiaryResponse;
5
5
  (function (BeneficiaryResponse) {
6
6
  BeneficiaryResponse.type = isly.object({
7
- transferDestination: isly.fromIs("TransferDestinationInfo", TransferDestinationInfo.is),
7
+ transferDestination: AccountDetailsTransferDestinationResponse.type,
8
8
  status: isly.fromIs("BeneficiaryStatus", BeneficiaryStatus.is),
9
9
  name: isly.string(),
10
10
  beneficiaryId: isly.string(),
@@ -1 +1 @@
1
- {"version":3,"file":"BeneficiaryResponse.js","sourceRoot":"../","sources":["model/BeneficiaryResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AAanE,MAAM,KAAW,mBAAmB,CAYnC;AAZD,WAAiB,mBAAmB;IACtB,wBAAI,GAAG,IAAI,CAAC,MAAM,CAAsB;QACpD,mB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B,gBAAgB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1C,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,uBAAuB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE;KACvE,CAAC,CAAA;IACW,sBAAE,GAAG,oBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAZgB,mBAAmB,KAAnB,mBAAmB,QAYnC"}
@@ -0,0 +1,5 @@
1
+ export interface DownloadableResponse {
2
+ url: string;
3
+ fileSize: number;
4
+ fileName: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DownloadableResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DownloadableResponse.js","sourceRoot":"../","sources":["model/DownloadableResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { isly } from "isly";
2
+ export type TransferDestinationAddressType = typeof TransferDestinationAddressType.values[number];
3
+ export declare namespace TransferDestinationAddressType {
4
+ const values: readonly ["SCAN", "IBAN", "ABA"];
5
+ const type: isly.Type<"SCAN" | "IBAN" | "ABA">;
6
+ const is: (value: any | ("SCAN" | "IBAN" | "ABA")) => value is "SCAN" | "IBAN" | "ABA";
7
+ }
@@ -0,0 +1,8 @@
1
+ import { isly } from "isly";
2
+ export var TransferDestinationAddressType;
3
+ (function (TransferDestinationAddressType) {
4
+ TransferDestinationAddressType.values = ["SCAN", "IBAN", "ABA"];
5
+ TransferDestinationAddressType.type = isly.string(TransferDestinationAddressType.values);
6
+ TransferDestinationAddressType.is = TransferDestinationAddressType.type.is;
7
+ })(TransferDestinationAddressType || (TransferDestinationAddressType = {}));
8
+ //# sourceMappingURL=TransferDestinationAddressType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransferDestinationAddressType.js","sourceRoot":"../","sources":["model/TransferDestinationAddressType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,8BAA8B,CAK9C;AALD,WAAiB,8BAA8B;IACjC,qCAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAU,CAAA;IAEzC,mCAAI,GAAG,IAAI,CAAC,MAAM,CAAiC,+BAAA,MAAM,CAAC,CAAA;IAC1D,iCAAE,GAAG,+BAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EALgB,8BAA8B,KAA9B,8BAA8B,QAK9C"}
@@ -0,0 +1,23 @@
1
+ import { Currency } from "isoly";
2
+ import { AddressInfo } from "./AddressInfo";
3
+ import { TransferDestinationAddressType } from "./TransferDestinationAddressType";
4
+ export interface TransferDestinationRequest {
5
+ type: TransferDestinationAddressType;
6
+ address?: AddressInfo;
7
+ currency?: Currency;
8
+ fullName?: string;
9
+ saveAsNewBeneficiary?: boolean;
10
+ name?: string;
11
+ defaultReference?: string;
12
+ accountNumber?: string;
13
+ sortCode?: string;
14
+ iban?: string;
15
+ bic?: string;
16
+ abaRoutingNumber?: string;
17
+ bankCountry?: string;
18
+ bankName?: string;
19
+ }
20
+ export declare namespace TransferDestinationRequest {
21
+ const type: import("isly/dist/cjs/object").IslyObject<TransferDestinationRequest, object>;
22
+ const is: (value: TransferDestinationRequest | any) => value is TransferDestinationRequest;
23
+ }
@@ -0,0 +1,25 @@
1
+ import { Currency } from "isoly";
2
+ import { isly } from "isly";
3
+ import { AddressInfo } from "./AddressInfo";
4
+ import { TransferDestinationAddressType } from "./TransferDestinationAddressType";
5
+ export var TransferDestinationRequest;
6
+ (function (TransferDestinationRequest) {
7
+ TransferDestinationRequest.type = isly.object({
8
+ type: TransferDestinationAddressType.type,
9
+ address: AddressInfo.type.optional(),
10
+ currency: isly.fromIs("Currency", Currency.is).optional(),
11
+ fullName: isly.string().optional(),
12
+ saveAsNewBeneficiary: isly.boolean().optional(),
13
+ name: isly.string().optional(),
14
+ defaultReference: isly.string().optional(),
15
+ accountNumber: isly.string().optional(),
16
+ sortCode: isly.string().optional(),
17
+ iban: isly.string().optional(),
18
+ bic: isly.string().optional(),
19
+ abaRoutingNumber: isly.string().optional(),
20
+ bankCountry: isly.string().optional(),
21
+ bankName: isly.string().optional(),
22
+ });
23
+ TransferDestinationRequest.is = TransferDestinationRequest.type.is;
24
+ })(TransferDestinationRequest || (TransferDestinationRequest = {}));
25
+ //# sourceMappingURL=TransferDestinationRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransferDestinationRequest.js","sourceRoot":"../","sources":["model/TransferDestinationRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAA;AAmBjF,MAAM,KAAW,0BAA0B,CAkB1C;AAlBD,WAAiB,0BAA0B;IAC7B,+BAAI,GAAG,IAAI,CAAC,MAAM,CAA6B;QAC3D,IAAI,EAAE,8BAA8B,CAAC,IAAI;QACzC,OAAO,EAAE,WAAW,CAAC,IAAI,CAAC,QAAQ,EAAE;QACpC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QACzD,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,oBAAoB,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC/C,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,gBAAgB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1C,aAAa,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACvC,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAClC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,gBAAgB,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1C,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAClC,CAAC,CAAA;IACW,6BAAE,GAAG,2BAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAlBgB,0BAA0B,KAA1B,0BAA0B,QAkB1C"}
@@ -1,11 +1,11 @@
1
1
  import { BookingInfoRequest } from "./BookingInfoRequest";
2
- import { NonBeneficiaryTransferDestination } from "./NonBeneficiaryTransferDestination";
3
2
  import { ProviderCode } from "./ProviderCode";
3
+ import { TransferDestinationRequest } from "./TransferDestinationRequest";
4
4
  export interface TransferRequest {
5
5
  providerCode: ProviderCode;
6
6
  providerSourceAccountId: string;
7
7
  beneficiaryId?: string;
8
- destination?: NonBeneficiaryTransferDestination;
8
+ destination?: TransferDestinationRequest;
9
9
  destinationProviderAccountId?: string;
10
10
  destinationProviderCode?: ProviderCode;
11
11
  amount: number;