@pax2pay/client 0.3.45 → 0.3.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client/Omnisetup/index.ts +24 -0
- package/Client/index.ts +3 -0
- package/dist/Client/Omnisetup/index.d.ts +12 -0
- package/dist/Client/Omnisetup/index.js +30 -0
- package/dist/Client/Omnisetup/index.js.map +1 -0
- package/dist/Client/index.d.ts +3 -0
- package/dist/Client/index.js +2 -0
- package/dist/Client/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/AllowedMccConfig.d.ts +4 -0
- package/dist/model/AllowedMccConfig.js +2 -0
- package/dist/model/AllowedMccConfig.js.map +1 -0
- package/dist/model/CardTypeProfileResponse.d.ts +11 -0
- package/dist/model/CardTypeProfileResponse.js +2 -0
- package/dist/model/CardTypeProfileResponse.js.map +1 -0
- package/dist/model/Criteria.d.ts +2 -1
- package/dist/model/InternalBalanceLimit.d.ts +7 -0
- package/dist/model/InternalBalanceLimit.js +2 -0
- package/dist/model/InternalBalanceLimit.js.map +1 -0
- package/dist/model/InternalOrganisationConfig.d.ts +12 -0
- package/dist/model/InternalOrganisationConfig.js +2 -0
- package/dist/model/InternalOrganisationConfig.js.map +1 -0
- package/dist/model/OmnisetupFlags.d.ts +6 -0
- package/dist/model/OmnisetupFlags.js +9 -0
- package/dist/model/OmnisetupFlags.js.map +1 -0
- package/dist/model/OmnisetupProviderRequest.d.ts +14 -0
- package/dist/model/OmnisetupProviderRequest.js +2 -0
- package/dist/model/OmnisetupProviderRequest.js.map +1 -0
- package/dist/model/OmnisetupRequest.d.ts +15 -0
- package/dist/model/OmnisetupRequest.js +2 -0
- package/dist/model/OmnisetupRequest.js.map +1 -0
- package/dist/model/OmnisetupResponse.d.ts +21 -0
- package/dist/model/OmnisetupResponse.js +2 -0
- package/dist/model/OmnisetupResponse.js.map +1 -0
- package/dist/model/OrganisationCreateRequest.d.ts +4 -0
- package/dist/model/OrganisationCreateRequest.js +2 -0
- package/dist/model/OrganisationCreateRequest.js.map +1 -0
- package/dist/model/OrganisationFlag.d.ts +6 -0
- package/dist/model/OrganisationFlag.js +22 -0
- package/dist/model/OrganisationFlag.js.map +1 -0
- package/dist/model/OrganisationRequest.d.ts +3 -1
- package/dist/model/OrganisationUpdateRequest.d.ts +2 -0
- package/dist/model/ProductType.d.ts +6 -0
- package/dist/model/ProductType.js +22 -0
- package/dist/model/ProductType.js.map +1 -0
- package/dist/model/SupplierRequest.d.ts +7 -0
- package/dist/model/SupplierRequest.js +2 -0
- package/dist/model/SupplierRequest.js.map +1 -0
- package/dist/model/SupplierResponse.d.ts +4 -0
- package/dist/model/SupplierResponse.js +2 -0
- package/dist/model/SupplierResponse.js.map +1 -0
- package/dist/model/index.d.ts +14 -1
- package/dist/model/index.js +4 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +31 -5
- package/model/AllowedMccConfig.ts +4 -0
- package/model/CardTypeProfileResponse.ts +12 -0
- package/model/Criteria.ts +2 -15
- package/model/InternalBalanceLimit.ts +8 -0
- package/model/InternalOrganisationConfig.ts +13 -0
- package/model/OmnisetupFlags.ts +8 -0
- package/model/OmnisetupProviderRequest.ts +15 -0
- package/model/OmnisetupRequest.ts +16 -0
- package/model/OmnisetupResponse.ts +22 -0
- package/model/OrganisationCreateRequest.ts +5 -0
- package/model/OrganisationFlag.ts +21 -0
- package/model/OrganisationRequest.ts +4 -1
- package/model/OrganisationUpdateRequest.ts +3 -0
- package/model/ProductType.ts +21 -0
- package/model/SupplierRequest.ts +8 -0
- package/model/SupplierResponse.ts +5 -0
- package/model/index.ts +26 -0
- package/package.json +1 -1
package/dist/model/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { AccountSummary } from "./AccountSummary";
|
|
|
9
9
|
import { AccountType } from "./AccountType";
|
|
10
10
|
import { AddressInfo } from "./AddressInfo";
|
|
11
11
|
import { AgentBookingInfo } from "./AgentBookingInfo";
|
|
12
|
+
import { AllowedMccConfig } from "./AllowedMccConfig";
|
|
12
13
|
import { AmendCardRequest } from "./AmendCardRequest";
|
|
13
14
|
import { AmountPair } from "./AmountPair";
|
|
14
15
|
import { BeneficiaryRequest } from "./BeneficiaryRequest";
|
|
@@ -44,6 +45,7 @@ import { CardStatement } from "./CardStatement";
|
|
|
44
45
|
import { CardTransaction } from "./CardTransaction";
|
|
45
46
|
import { CardTransactionType } from "./CardTransactionType";
|
|
46
47
|
import { CardType } from "./CardType";
|
|
48
|
+
import { CardTypeProfileResponse } from "./CardTypeProfileResponse";
|
|
47
49
|
import { CardTypeResponse } from "./CardTypeResponse";
|
|
48
50
|
import { CardTypeResponseV2 } from "./CardTypeResponseV2";
|
|
49
51
|
import { CardTypesConfig } from "./CardTypesConfig";
|
|
@@ -90,6 +92,8 @@ import { HotelBookingInfoResponse } from "./HotelBookingInfoResponse";
|
|
|
90
92
|
import { HotelInfo } from "./HotelInfo";
|
|
91
93
|
import { InsertCardOptionRequest } from "./InsertCardOptionRequest";
|
|
92
94
|
import { InsertCardRequest } from "./InsertCardRequest";
|
|
95
|
+
import { InternalBalanceLimit } from "./InternalBalanceLimit";
|
|
96
|
+
import { InternalOrganisationConfig } from "./InternalOrganisationConfig";
|
|
93
97
|
import { InvoiceBookingInfoRequest } from "./InvoiceBookingInfoRequest";
|
|
94
98
|
import { InvoiceBookingInfoResponse } from "./InvoiceBookingInfoResponse";
|
|
95
99
|
import { InvokingSystem } from "./InvokingSystem";
|
|
@@ -100,8 +104,14 @@ import { LoginResponse } from "./LoginResponse";
|
|
|
100
104
|
import { MerchantDetails } from "./MerchantDetails";
|
|
101
105
|
import { MinimalBookingInfo } from "./MinimalBookingInfo";
|
|
102
106
|
import { NonBeneficiaryTransferDestination } from "./NonBeneficiaryTransferDestination";
|
|
107
|
+
import { OmnisetupFlags } from "./OmnisetupFlags";
|
|
108
|
+
import { OmnisetupProviderRequest } from "./OmnisetupProviderRequest";
|
|
109
|
+
import { OmnisetupRequest } from "./OmnisetupRequest";
|
|
110
|
+
import { OmnisetupResponse } from "./OmnisetupResponse";
|
|
103
111
|
import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse";
|
|
104
112
|
import { OrganisationConfig } from "./OrganisationConfig";
|
|
113
|
+
import { OrganisationCreateRequest } from "./OrganisationCreateRequest";
|
|
114
|
+
import { OrganisationFlag } from "./OrganisationFlag";
|
|
105
115
|
import { OrganisationRequest } from "./OrganisationRequest";
|
|
106
116
|
import { OrganisationResponse } from "./OrganisationResponse";
|
|
107
117
|
import { OrganisationUpdateRequest } from "./OrganisationUpdateRequest";
|
|
@@ -115,6 +125,7 @@ import { Payload } from "./Payload";
|
|
|
115
125
|
import { PaymentMethodOptionResponse } from "./PaymentMethodOptionResponse";
|
|
116
126
|
import { PaymentOption } from "./PaymentOption";
|
|
117
127
|
import { ProcessedStatement } from "./ProcessedStatement";
|
|
128
|
+
import { ProductType } from "./ProductType";
|
|
118
129
|
import { ProviderCode } from "./ProviderCode";
|
|
119
130
|
import { ProviderResponse } from "./ProviderResponse";
|
|
120
131
|
import { Range } from "./Range";
|
|
@@ -145,6 +156,8 @@ import { StatementSummaryReportResponseRow } from "./StatementSummaryReportRespo
|
|
|
145
156
|
import { StatementTransferSpecificType } from "./StatementTransferSpecificType";
|
|
146
157
|
import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse";
|
|
147
158
|
import { SupplierBookingInfo } from "./SupplierBookingInfo";
|
|
159
|
+
import { SupplierRequest } from "./SupplierRequest";
|
|
160
|
+
import { SupplierResponse } from "./SupplierResponse";
|
|
148
161
|
import { TransactionResponse } from "./TransactionResponse";
|
|
149
162
|
import { TransactionType } from "./TransactionType";
|
|
150
163
|
import { TransferDestinationInfo } from "./TransferDestinationInfo";
|
|
@@ -175,4 +188,4 @@ import { UserRoleResponse } from "./UserRoleResponse";
|
|
|
175
188
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
176
189
|
import { UserStatus } from "./UserStatus";
|
|
177
190
|
import { YearMonth } from "./YearMonth";
|
|
178
|
-
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, SearchBeneficiaryRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
|
191
|
+
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, SearchBeneficiaryRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/model/index.js
CHANGED
|
@@ -59,10 +59,13 @@ import { InvokingSystem } from "./InvokingSystem";
|
|
|
59
59
|
import { Issue } from "./Issue";
|
|
60
60
|
import { LoginResponse } from "./LoginResponse";
|
|
61
61
|
import { MerchantDetails } from "./MerchantDetails";
|
|
62
|
+
import { OmnisetupFlags } from "./OmnisetupFlags";
|
|
62
63
|
import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse";
|
|
64
|
+
import { OrganisationFlag } from "./OrganisationFlag";
|
|
63
65
|
import { OrganisationResponse } from "./OrganisationResponse";
|
|
64
66
|
import { Passengers } from "./Passengers";
|
|
65
67
|
import { PaxpayFeature } from "./PaxpayFeature";
|
|
68
|
+
import { ProductType } from "./ProductType";
|
|
66
69
|
import { ProviderCode } from "./ProviderCode";
|
|
67
70
|
import { ProviderResponse } from "./ProviderResponse";
|
|
68
71
|
import { References } from "./References";
|
|
@@ -89,5 +92,5 @@ import { UserRequest } from "./UserRequest";
|
|
|
89
92
|
import { UserResponse } from "./UserResponse";
|
|
90
93
|
import { UserStatus } from "./UserStatus";
|
|
91
94
|
import { YearMonth } from "./YearMonth";
|
|
92
|
-
export { AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, PaxpayFeature, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
95
|
+
export { AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, OmnisetupFlags, OrganisationBalanceLimitResponse, OrganisationFlag, OrganisationResponse, Passengers, PaxpayFeature, ProductType, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
93
96
|
//# sourceMappingURL=index.js.map
|
package/dist/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,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;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,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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B,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EACpC,aAAa,EACb,eAAe,EAEf,QAAQ,EAMR,qBAAqB,EACrB,yBAAyB,EAiBzB,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,EAElB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAKT,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EAGL,aAAa,EACb,eAAe,EAGf,cAAc,EAId,gCAAgC,EAGhC,gBAAgB,EAEhB,oBAAoB,EAEpB,UAAU,EAKV,aAAa,EAKb,WAAW,EACX,YAAY,EACZ,gBAAgB,EAEhB,UAAU,EAYV,OAAO,EAMP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EAIf,6BAA6B,EAC7B,0BAA0B,EAC1B,mBAAmB,EAInB,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAE3B,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EAEzB,cAAc,EACd,eAAe,EAMf,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAE5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
AccountType,
|
|
12
12
|
AddressInfo,
|
|
13
13
|
AgentBookingInfo,
|
|
14
|
+
AllowedMccConfig,
|
|
14
15
|
AmendCardRequest,
|
|
15
16
|
AmountPair,
|
|
16
17
|
BeneficiaryRequest,
|
|
@@ -46,6 +47,7 @@ import {
|
|
|
46
47
|
CardTransaction,
|
|
47
48
|
CardTransactionType,
|
|
48
49
|
CardType,
|
|
50
|
+
CardTypeProfileResponse,
|
|
49
51
|
CardTypeResponse,
|
|
50
52
|
CardTypeResponseV2,
|
|
51
53
|
CardTypesConfig,
|
|
@@ -92,6 +94,8 @@ import {
|
|
|
92
94
|
HotelInfo,
|
|
93
95
|
InsertCardOptionRequest,
|
|
94
96
|
InsertCardRequest,
|
|
97
|
+
InternalBalanceLimit,
|
|
98
|
+
InternalOrganisationConfig,
|
|
95
99
|
InvoiceBookingInfoRequest,
|
|
96
100
|
InvoiceBookingInfoResponse,
|
|
97
101
|
InvokingSystem,
|
|
@@ -102,8 +106,14 @@ import {
|
|
|
102
106
|
MerchantDetails,
|
|
103
107
|
MinimalBookingInfo,
|
|
104
108
|
NonBeneficiaryTransferDestination,
|
|
109
|
+
OmnisetupFlags,
|
|
110
|
+
OmnisetupProviderRequest,
|
|
111
|
+
OmnisetupRequest,
|
|
112
|
+
OmnisetupResponse,
|
|
105
113
|
OrganisationBalanceLimitResponse,
|
|
106
114
|
OrganisationConfig,
|
|
115
|
+
OrganisationCreateRequest,
|
|
116
|
+
OrganisationFlag,
|
|
107
117
|
OrganisationRequest,
|
|
108
118
|
OrganisationResponse,
|
|
109
119
|
OrganisationUpdateRequest,
|
|
@@ -117,6 +127,7 @@ import {
|
|
|
117
127
|
PaymentMethodOptionResponse,
|
|
118
128
|
PaymentOption,
|
|
119
129
|
ProcessedStatement,
|
|
130
|
+
ProductType,
|
|
120
131
|
ProviderCode,
|
|
121
132
|
ProviderResponse,
|
|
122
133
|
Range,
|
|
@@ -147,6 +158,8 @@ import {
|
|
|
147
158
|
StatementTransferSpecificType,
|
|
148
159
|
SummaryBookingInfoResponse,
|
|
149
160
|
SupplierBookingInfo,
|
|
161
|
+
SupplierRequest,
|
|
162
|
+
SupplierResponse,
|
|
150
163
|
TransactionResponse,
|
|
151
164
|
TransactionType,
|
|
152
165
|
TransferDestinationInfo,
|
|
@@ -192,6 +205,7 @@ export {
|
|
|
192
205
|
AccountType,
|
|
193
206
|
AddressInfo,
|
|
194
207
|
AgentBookingInfo,
|
|
208
|
+
AllowedMccConfig,
|
|
195
209
|
AmendCardRequest,
|
|
196
210
|
AmountPair,
|
|
197
211
|
BeneficiaryRequest,
|
|
@@ -204,9 +218,9 @@ export {
|
|
|
204
218
|
BookingInfoRequest,
|
|
205
219
|
BookingInfoResponse,
|
|
206
220
|
BookingInfoType,
|
|
221
|
+
CardDeliveryEmailConfig,
|
|
207
222
|
CardAmendmentScheduledTaskRequest,
|
|
208
223
|
CardAmendmentScheduledTaskResponse,
|
|
209
|
-
CardDeliveryEmailConfig,
|
|
210
224
|
CardDeliveryRequest,
|
|
211
225
|
CardDeliveryResponse,
|
|
212
226
|
CardForm,
|
|
@@ -226,6 +240,7 @@ export {
|
|
|
226
240
|
CardTransaction,
|
|
227
241
|
CardTransactionType,
|
|
228
242
|
CardType,
|
|
243
|
+
CardTypeProfileResponse,
|
|
229
244
|
CardTypeResponse,
|
|
230
245
|
CardTypeResponseV2,
|
|
231
246
|
CardTypesConfig,
|
|
@@ -273,6 +288,8 @@ export {
|
|
|
273
288
|
HotelInfo,
|
|
274
289
|
InsertCardOptionRequest,
|
|
275
290
|
InsertCardRequest,
|
|
291
|
+
InternalBalanceLimit,
|
|
292
|
+
InternalOrganisationConfig,
|
|
276
293
|
InvoiceBookingInfoRequest,
|
|
277
294
|
InvoiceBookingInfoResponse,
|
|
278
295
|
InvokingSystem,
|
|
@@ -283,8 +300,14 @@ export {
|
|
|
283
300
|
MerchantDetails,
|
|
284
301
|
MinimalBookingInfo,
|
|
285
302
|
NonBeneficiaryTransferDestination,
|
|
303
|
+
OmnisetupFlags,
|
|
304
|
+
OmnisetupProviderRequest,
|
|
305
|
+
OmnisetupRequest,
|
|
306
|
+
OmnisetupResponse,
|
|
286
307
|
OrganisationBalanceLimitResponse,
|
|
287
308
|
OrganisationConfig,
|
|
309
|
+
OrganisationCreateRequest,
|
|
310
|
+
OrganisationFlag,
|
|
288
311
|
OrganisationRequest,
|
|
289
312
|
OrganisationResponse,
|
|
290
313
|
OrganisationUpdateRequest,
|
|
@@ -298,37 +321,40 @@ export {
|
|
|
298
321
|
PaymentMethodOptionResponse,
|
|
299
322
|
PaymentOption,
|
|
300
323
|
ProcessedStatement,
|
|
324
|
+
ProductType,
|
|
301
325
|
ProviderCode,
|
|
302
326
|
ProviderResponse,
|
|
303
327
|
Range,
|
|
304
|
-
ReconciliationReportUrlRequest,
|
|
305
328
|
References,
|
|
306
329
|
RelogWithNewSessionDetailsRequest,
|
|
307
330
|
Report,
|
|
331
|
+
ReconciliationReportUrlRequest,
|
|
308
332
|
ReportUrlResponse,
|
|
309
333
|
RoleResponse,
|
|
310
334
|
RolesetResponse,
|
|
311
335
|
Room,
|
|
312
336
|
ScheduleEntry,
|
|
313
|
-
ScheduledTaskRequest,
|
|
314
337
|
CardSearchRequest,
|
|
338
|
+
ScheduledTaskRequest,
|
|
315
339
|
SearchRolesetsRequest,
|
|
316
|
-
SearchBeneficiaryRequest,
|
|
317
340
|
Segment,
|
|
318
341
|
Sorting,
|
|
342
|
+
SearchBeneficiaryRequest,
|
|
319
343
|
StatementReportUrlRequest,
|
|
320
344
|
StatementReportRequest,
|
|
321
345
|
StatementReportResponse,
|
|
322
346
|
StatementReportResponseRow,
|
|
323
347
|
StatementReportRowActionType,
|
|
324
348
|
StatementReportRowType,
|
|
349
|
+
StatementRowIds,
|
|
325
350
|
StatementSummaryReportRequest,
|
|
326
351
|
StatementSummaryReportResponse,
|
|
327
352
|
StatementSummaryReportResponseRow,
|
|
328
|
-
StatementRowIds,
|
|
329
353
|
StatementTransferSpecificType,
|
|
330
354
|
SummaryBookingInfoResponse,
|
|
331
355
|
SupplierBookingInfo,
|
|
356
|
+
SupplierRequest,
|
|
357
|
+
SupplierResponse,
|
|
332
358
|
TransactionResponse,
|
|
333
359
|
TransactionType,
|
|
334
360
|
TransferDestinationInfo,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
2
|
+
import { ProviderCode } from "./ProviderCode"
|
|
3
|
+
|
|
4
|
+
export interface CardTypeProfileResponse {
|
|
5
|
+
cardTypeProfileId: string
|
|
6
|
+
description: string
|
|
7
|
+
providerCode: ProviderCode
|
|
8
|
+
status: "ACTIVE" | "DELETED" | "DEPRECATED"
|
|
9
|
+
cardTypes: CardTypeSpecification
|
|
10
|
+
sharedBetween: string[]
|
|
11
|
+
isDefault: boolean
|
|
12
|
+
}
|
package/model/Criteria.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { ProductType } from "../model/ProductType"
|
|
1
2
|
import { InvokingSystem } from "./InvokingSystem"
|
|
2
|
-
|
|
3
3
|
/**
|
|
4
4
|
* Criteria request - defines which search criteria will be able to return which cards. A criteria matches if the criterion (for example, supplier) either matches the value (ie, the supplier searched for is the same), or if the criteria has an empty value for that field. Positive matches are ordered higher than null matches.
|
|
5
5
|
*/
|
|
@@ -8,20 +8,7 @@ export interface Criteria {
|
|
|
8
8
|
categories?: string[]
|
|
9
9
|
currencies: string[]
|
|
10
10
|
maxAmount?: number
|
|
11
|
-
productTypes?:
|
|
12
|
-
| "FLIGHT"
|
|
13
|
-
| "ACCOMMODATION"
|
|
14
|
-
| "ANY"
|
|
15
|
-
| "CAR_PARKING"
|
|
16
|
-
| "CAR_HIRE"
|
|
17
|
-
| "TRANSFER"
|
|
18
|
-
| "INSURANCE"
|
|
19
|
-
| "PACKAGE"
|
|
20
|
-
| "RAIL"
|
|
21
|
-
| "CRUISE"
|
|
22
|
-
| "ATTRACTION"
|
|
23
|
-
| "BAGGAGE_TRACKING"
|
|
24
|
-
>
|
|
11
|
+
productTypes?: ProductType[]
|
|
25
12
|
suppliers?: string[]
|
|
26
13
|
bookingSources?: Array<InvokingSystem>
|
|
27
14
|
ruleStartDate?: string
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AllowedMccConfig } from "./AllowedMccConfig"
|
|
2
|
+
import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse"
|
|
3
|
+
import { OrganisationFlag } from "./OrganisationFlag"
|
|
4
|
+
import { PaxpayFeature } from "./PaxpayFeature"
|
|
5
|
+
|
|
6
|
+
export interface InternalOrganisationConfig {
|
|
7
|
+
flags?: OrganisationFlag[]
|
|
8
|
+
internalBalanceLimit?: OrganisationBalanceLimitResponse
|
|
9
|
+
features?: PaxpayFeature[]
|
|
10
|
+
allowedMccConfig?: AllowedMccConfig
|
|
11
|
+
statementAppned?: boolean
|
|
12
|
+
statementRebuild?: boolean
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const omnisetupFlags = ["SABRE", "PAX2PAY_DIRECT"] as const
|
|
2
|
+
export type OmnisetupFlags = typeof omnisetupFlags[number]
|
|
3
|
+
|
|
4
|
+
export namespace OmnisetupFlags {
|
|
5
|
+
export function is(value: unknown): value is OmnisetupFlags {
|
|
6
|
+
return typeof value == "string" && omnisetupFlags.includes(value as OmnisetupFlags)
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AccountCreationRequest } from "./AccountCreationRequest"
|
|
2
|
+
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
3
|
+
import { CredentialRequest } from "./CredentialRequest"
|
|
4
|
+
import { ProviderCode } from "./ProviderCode"
|
|
5
|
+
import { SupplierRequest } from "./SupplierRequest"
|
|
6
|
+
|
|
7
|
+
export interface OmnisetupProviderRequest {
|
|
8
|
+
providerCode: ProviderCode
|
|
9
|
+
fundingAccounts: AccountCreationRequest[]
|
|
10
|
+
credentials?: CredentialRequest
|
|
11
|
+
providerSetupCredentials?: CredentialRequest
|
|
12
|
+
suppliers?: SupplierRequest[]
|
|
13
|
+
cardType: CardTypeSpecification
|
|
14
|
+
useAs?: string
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { InternalOrganisationConfig } from "./InternalOrganisationConfig"
|
|
2
|
+
import { OmnisetupFlags } from "./OmnisetupFlags"
|
|
3
|
+
import { OmnisetupProviderRequest } from "./OmnisetupProviderRequest"
|
|
4
|
+
import { OrganisationConfig } from "./OrganisationConfig"
|
|
5
|
+
import { OrganisationCreateRequest } from "./OrganisationCreateRequest"
|
|
6
|
+
import { UserRequest } from "./UserRequest"
|
|
7
|
+
|
|
8
|
+
export interface OmnisetupRequest {
|
|
9
|
+
flags?: OmnisetupFlags
|
|
10
|
+
organisation: OrganisationCreateRequest
|
|
11
|
+
users: UserRequest[]
|
|
12
|
+
providers: OmnisetupProviderRequest[]
|
|
13
|
+
organisationConfig?: OrganisationConfig
|
|
14
|
+
internalOrganisationConfig?: InternalOrganisationConfig
|
|
15
|
+
sharedRolesets?: string[]
|
|
16
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AccountResponse } from "./AccountResponse"
|
|
2
|
+
import { CardTypeProfileResponse } from "./CardTypeProfileResponse"
|
|
3
|
+
import { CredentialResponse } from "./CredentialResponse"
|
|
4
|
+
import { InsertCardOptionRequest } from "./InsertCardOptionRequest"
|
|
5
|
+
import { InternalOrganisationConfig } from "./InternalOrganisationConfig"
|
|
6
|
+
import { OrganisationConfig } from "./OrganisationConfig"
|
|
7
|
+
import { OrganisationResponse } from "./OrganisationResponse"
|
|
8
|
+
import { SupplierResponse } from "./SupplierResponse"
|
|
9
|
+
import { UserResponse } from "./UserResponse"
|
|
10
|
+
|
|
11
|
+
export interface OmnisetupResponse {
|
|
12
|
+
messages: string[]
|
|
13
|
+
organisation: OrganisationResponse
|
|
14
|
+
organisationConfig?: OrganisationConfig
|
|
15
|
+
internalOrganisationConfig?: InternalOrganisationConfig
|
|
16
|
+
users: UserResponse
|
|
17
|
+
suppliers: SupplierResponse[]
|
|
18
|
+
credentials: CredentialResponse[]
|
|
19
|
+
accounts: AccountResponse[]
|
|
20
|
+
cardOptions: InsertCardOptionRequest
|
|
21
|
+
cardTypeProfiles: CardTypeProfileResponse
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const organisationFlag = [
|
|
2
|
+
"SABRE",
|
|
3
|
+
"EEA_CUSTOMER",
|
|
4
|
+
"PAX2PAY_DIRECT",
|
|
5
|
+
"VOXEL",
|
|
6
|
+
"HITCHHIKER",
|
|
7
|
+
"YPSILON",
|
|
8
|
+
"CONFERMA",
|
|
9
|
+
"NET_STORMING",
|
|
10
|
+
"AGENDAS_GROUP",
|
|
11
|
+
"SABRE_REFERRAL",
|
|
12
|
+
"TTS",
|
|
13
|
+
"SOFTCONEX",
|
|
14
|
+
] as const
|
|
15
|
+
export type OrganisationFlag = typeof organisationFlag[number]
|
|
16
|
+
|
|
17
|
+
export namespace OrganisationFlag {
|
|
18
|
+
export function is(value: unknown): value is OrganisationFlag {
|
|
19
|
+
return typeof value == "string" && organisationFlag.includes(value as OrganisationFlag)
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse"
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Information for creating organisation
|
|
3
5
|
*/
|
|
4
6
|
export interface OrganisationRequest {
|
|
5
|
-
code: string
|
|
6
7
|
name: string
|
|
8
|
+
status: "ACTIVE" | "DELETED"
|
|
9
|
+
organisationLimitRequest?: OrganisationBalanceLimitResponse
|
|
7
10
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const productType = [
|
|
2
|
+
"FLIGHT",
|
|
3
|
+
"ACCOMMODATION",
|
|
4
|
+
"ANY",
|
|
5
|
+
"CAR_PARKING",
|
|
6
|
+
"CAR_HIRE",
|
|
7
|
+
"TRANSFER",
|
|
8
|
+
"INSURANCE",
|
|
9
|
+
"PACKAGE",
|
|
10
|
+
"RAIL",
|
|
11
|
+
"CRUISE",
|
|
12
|
+
"ATTRACTION",
|
|
13
|
+
"BAGGAGE_TRACKING",
|
|
14
|
+
] as const
|
|
15
|
+
export type ProductType = typeof productType[number]
|
|
16
|
+
|
|
17
|
+
export namespace ProductType {
|
|
18
|
+
export function is(value: unknown): value is ProductType {
|
|
19
|
+
return typeof value == "string" && productType.includes(value as ProductType)
|
|
20
|
+
}
|
|
21
|
+
}
|
package/model/index.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { AccountSummary } from "./AccountSummary"
|
|
|
9
9
|
import { AccountType } from "./AccountType"
|
|
10
10
|
import { AddressInfo } from "./AddressInfo"
|
|
11
11
|
import { AgentBookingInfo } from "./AgentBookingInfo"
|
|
12
|
+
import { AllowedMccConfig } from "./AllowedMccConfig"
|
|
12
13
|
import { AmendCardRequest } from "./AmendCardRequest"
|
|
13
14
|
import { AmountPair } from "./AmountPair"
|
|
14
15
|
import { BeneficiaryRequest } from "./BeneficiaryRequest"
|
|
@@ -44,6 +45,7 @@ import { CardStatement } from "./CardStatement"
|
|
|
44
45
|
import { CardTransaction } from "./CardTransaction"
|
|
45
46
|
import { CardTransactionType } from "./CardTransactionType"
|
|
46
47
|
import { CardType } from "./CardType"
|
|
48
|
+
import { CardTypeProfileResponse } from "./CardTypeProfileResponse"
|
|
47
49
|
import { CardTypeResponse } from "./CardTypeResponse"
|
|
48
50
|
import { CardTypeResponseV2 } from "./CardTypeResponseV2"
|
|
49
51
|
import { CardTypesConfig } from "./CardTypesConfig"
|
|
@@ -90,6 +92,8 @@ import { HotelBookingInfoResponse } from "./HotelBookingInfoResponse"
|
|
|
90
92
|
import { HotelInfo } from "./HotelInfo"
|
|
91
93
|
import { InsertCardOptionRequest } from "./InsertCardOptionRequest"
|
|
92
94
|
import { InsertCardRequest } from "./InsertCardRequest"
|
|
95
|
+
import { InternalBalanceLimit } from "./InternalBalanceLimit"
|
|
96
|
+
import { InternalOrganisationConfig } from "./InternalOrganisationConfig"
|
|
93
97
|
import { InvoiceBookingInfoRequest } from "./InvoiceBookingInfoRequest"
|
|
94
98
|
import { InvoiceBookingInfoResponse } from "./InvoiceBookingInfoResponse"
|
|
95
99
|
import { InvokingSystem } from "./InvokingSystem"
|
|
@@ -100,8 +104,14 @@ import { LoginResponse } from "./LoginResponse"
|
|
|
100
104
|
import { MerchantDetails } from "./MerchantDetails"
|
|
101
105
|
import { MinimalBookingInfo } from "./MinimalBookingInfo"
|
|
102
106
|
import { NonBeneficiaryTransferDestination } from "./NonBeneficiaryTransferDestination"
|
|
107
|
+
import { OmnisetupFlags } from "./OmnisetupFlags"
|
|
108
|
+
import { OmnisetupProviderRequest } from "./OmnisetupProviderRequest"
|
|
109
|
+
import { OmnisetupRequest } from "./OmnisetupRequest"
|
|
110
|
+
import { OmnisetupResponse } from "./OmnisetupResponse"
|
|
103
111
|
import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse"
|
|
104
112
|
import { OrganisationConfig } from "./OrganisationConfig"
|
|
113
|
+
import { OrganisationCreateRequest } from "./OrganisationCreateRequest"
|
|
114
|
+
import { OrganisationFlag } from "./OrganisationFlag"
|
|
105
115
|
import { OrganisationRequest } from "./OrganisationRequest"
|
|
106
116
|
import { OrganisationResponse } from "./OrganisationResponse"
|
|
107
117
|
import { OrganisationUpdateRequest } from "./OrganisationUpdateRequest"
|
|
@@ -115,6 +125,7 @@ import { Payload } from "./Payload"
|
|
|
115
125
|
import { PaymentMethodOptionResponse } from "./PaymentMethodOptionResponse"
|
|
116
126
|
import { PaymentOption } from "./PaymentOption"
|
|
117
127
|
import { ProcessedStatement } from "./ProcessedStatement"
|
|
128
|
+
import { ProductType } from "./ProductType"
|
|
118
129
|
import { ProviderCode } from "./ProviderCode"
|
|
119
130
|
import { ProviderResponse } from "./ProviderResponse"
|
|
120
131
|
import { Range } from "./Range"
|
|
@@ -145,6 +156,8 @@ import { StatementSummaryReportResponseRow } from "./StatementSummaryReportRespo
|
|
|
145
156
|
import { StatementTransferSpecificType } from "./StatementTransferSpecificType"
|
|
146
157
|
import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse"
|
|
147
158
|
import { SupplierBookingInfo } from "./SupplierBookingInfo"
|
|
159
|
+
import { SupplierRequest } from "./SupplierRequest"
|
|
160
|
+
import { SupplierResponse } from "./SupplierResponse"
|
|
148
161
|
import { TransactionResponse } from "./TransactionResponse"
|
|
149
162
|
import { TransactionType } from "./TransactionType"
|
|
150
163
|
import { TransferDestinationInfo } from "./TransferDestinationInfo"
|
|
@@ -188,6 +201,7 @@ export {
|
|
|
188
201
|
AccountType,
|
|
189
202
|
AddressInfo,
|
|
190
203
|
AgentBookingInfo,
|
|
204
|
+
AllowedMccConfig,
|
|
191
205
|
AmendCardRequest,
|
|
192
206
|
AmountPair,
|
|
193
207
|
BeneficiaryRequest,
|
|
@@ -222,6 +236,7 @@ export {
|
|
|
222
236
|
CardTransaction,
|
|
223
237
|
CardTransactionType,
|
|
224
238
|
CardType,
|
|
239
|
+
CardTypeProfileResponse,
|
|
225
240
|
CardTypeResponse,
|
|
226
241
|
CardTypeResponseV2,
|
|
227
242
|
CardTypesConfig,
|
|
@@ -269,6 +284,8 @@ export {
|
|
|
269
284
|
HotelInfo,
|
|
270
285
|
InsertCardOptionRequest,
|
|
271
286
|
InsertCardRequest,
|
|
287
|
+
InternalBalanceLimit,
|
|
288
|
+
InternalOrganisationConfig,
|
|
272
289
|
InvoiceBookingInfoRequest,
|
|
273
290
|
InvoiceBookingInfoResponse,
|
|
274
291
|
InvokingSystem,
|
|
@@ -279,8 +296,14 @@ export {
|
|
|
279
296
|
MerchantDetails,
|
|
280
297
|
MinimalBookingInfo,
|
|
281
298
|
NonBeneficiaryTransferDestination,
|
|
299
|
+
OmnisetupFlags,
|
|
300
|
+
OmnisetupProviderRequest,
|
|
301
|
+
OmnisetupRequest,
|
|
302
|
+
OmnisetupResponse,
|
|
282
303
|
OrganisationBalanceLimitResponse,
|
|
283
304
|
OrganisationConfig,
|
|
305
|
+
OrganisationCreateRequest,
|
|
306
|
+
OrganisationFlag,
|
|
284
307
|
OrganisationRequest,
|
|
285
308
|
OrganisationResponse,
|
|
286
309
|
OrganisationUpdateRequest,
|
|
@@ -294,6 +317,7 @@ export {
|
|
|
294
317
|
PaymentMethodOptionResponse,
|
|
295
318
|
PaymentOption,
|
|
296
319
|
ProcessedStatement,
|
|
320
|
+
ProductType,
|
|
297
321
|
ProviderCode,
|
|
298
322
|
ProviderResponse,
|
|
299
323
|
Range,
|
|
@@ -325,6 +349,8 @@ export {
|
|
|
325
349
|
StatementTransferSpecificType,
|
|
326
350
|
SummaryBookingInfoResponse,
|
|
327
351
|
SupplierBookingInfo,
|
|
352
|
+
SupplierRequest,
|
|
353
|
+
SupplierResponse,
|
|
328
354
|
TransactionResponse,
|
|
329
355
|
TransactionType,
|
|
330
356
|
TransferDestinationInfo,
|