@pax2pay/client 0.1.7 → 0.1.8
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/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/AgentBookingInfo.d.ts +3 -0
- package/dist/model/AgentBookingInfo.js +11 -1
- package/dist/model/AgentBookingInfo.js.map +1 -1
- package/dist/model/BookedProductInfo.d.ts +3 -0
- package/dist/model/BookedProductInfo.js +12 -1
- package/dist/model/BookedProductInfo.js.map +1 -1
- package/dist/model/BookingInfo.d.ts +3 -0
- package/dist/model/BookingInfo.js +26 -1
- package/dist/model/BookingInfo.js.map +1 -1
- package/dist/model/CardForm.d.ts +5 -0
- package/dist/model/CardForm.js +9 -0
- package/dist/model/CardForm.js.map +1 -0
- package/dist/model/CardResponse.d.ts +7 -2
- package/dist/model/CardResponse.js +46 -1
- package/dist/model/CardResponse.js.map +1 -1
- package/dist/model/Criteria.d.ts +2 -1
- package/dist/model/InvokingSystem.d.ts +5 -0
- package/dist/model/InvokingSystem.js +20 -0
- package/dist/model/InvokingSystem.js.map +1 -0
- package/dist/model/LoginResponse.d.ts +2 -1
- package/dist/model/LoginResponse.js +2 -10
- package/dist/model/LoginResponse.js.map +1 -1
- package/dist/model/SupplierBookingInfo.d.ts +3 -0
- package/dist/model/SupplierBookingInfo.js +9 -1
- package/dist/model/SupplierBookingInfo.js.map +1 -1
- package/dist/model/TravelPartyInfo.d.ts +3 -0
- package/dist/model/TravelPartyInfo.js +11 -1
- package/dist/model/TravelPartyInfo.js.map +1 -1
- package/dist/model/index.d.ts +3 -1
- package/dist/model/index.js +9 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +4 -0
- package/model/AgentBookingInfo.ts +12 -0
- package/model/BookedProductInfo.ts +13 -0
- package/model/BookingInfo.ts +23 -0
- package/model/CardForm.ts +9 -0
- package/model/CardResponse.ts +40 -12
- package/model/Criteria.ts +3 -12
- package/model/InvokingSystem.ts +20 -0
- package/model/LoginResponse.ts +3 -21
- package/model/SupplierBookingInfo.ts +10 -0
- package/model/TravelPartyInfo.ts +12 -0
- package/model/index.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserResponse, YearMonth, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserResponse, YearMonth, };
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAEhB,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EAEX,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,0BAA0B,EAG1B,YAAY,EACZ,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAEpC,QAAQ,EAKR,qBAAqB,EACrB,yBAAyB,EAY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YAAY,EACZ,gBAAgB,EAChB,UAAU,EASV,OAAO,EAIP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAC1B,mBAAmB,EAGnB,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EACd,eAAe,EAYf,YAAY,EAGZ,SAAS,GACT,CAAA"}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var AgentBookingInfo;
|
|
2
|
+
(function (AgentBookingInfo) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.agentBookingOrgCode == undefined || typeof value.agentBookingOrgCode == "string") &&
|
|
6
|
+
(value.agentBookingSystemRef == undefined || typeof value.agentBookingSystemRef == "string") &&
|
|
7
|
+
(value.agentBookingBasketRef == undefined || typeof value.agentBookingBasketRef == "string") &&
|
|
8
|
+
(value.agentBookingBookingRef == undefined || typeof value.agentBookingBookingRef == "string"));
|
|
9
|
+
}
|
|
10
|
+
AgentBookingInfo.is = is;
|
|
11
|
+
})(AgentBookingInfo || (AgentBookingInfo = {}));
|
|
2
12
|
//# sourceMappingURL=AgentBookingInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentBookingInfo.js","sourceRoot":"../","sources":["model/AgentBookingInfo.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"AgentBookingInfo.js","sourceRoot":"../","sources":["model/AgentBookingInfo.ts"],"names":[],"mappings":"AAUA,MAAM,KAAW,gBAAgB,CAUhC;AAVD,WAAiB,gBAAgB;IAChC,SAAgB,EAAE,CAAC,KAA6B;QAC/C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,mBAAmB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,mBAAmB,IAAI,QAAQ,CAAC;YACxF,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,CAAC,KAAK,CAAC,sBAAsB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,sBAAsB,IAAI,QAAQ,CAAC,CAC9F,CAAA;IACF,CAAC;IARe,mBAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,gBAAgB,KAAhB,gBAAgB,QAUhC"}
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var BookedProductInfo;
|
|
2
|
+
(function (BookedProductInfo) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.bookedProductStartTime == undefined || typeof value.bookedProductStartTime == "string") &&
|
|
6
|
+
(value.bookedProductEndTime == undefined || typeof value.bookedProductEndTime == "string") &&
|
|
7
|
+
(value.bookedProductStartLoc == undefined || typeof value.bookedProductStartLoc == "string") &&
|
|
8
|
+
(value.bookedProductEndLoc == undefined || typeof value.bookedProductEndLoc == "string") &&
|
|
9
|
+
(value.bookedProductMerchantCode == undefined || typeof value.bookedProductMerchantCode == "string"));
|
|
10
|
+
}
|
|
11
|
+
BookedProductInfo.is = is;
|
|
12
|
+
})(BookedProductInfo || (BookedProductInfo = {}));
|
|
2
13
|
//# sourceMappingURL=BookedProductInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookedProductInfo.js","sourceRoot":"../","sources":["model/BookedProductInfo.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"BookedProductInfo.js","sourceRoot":"../","sources":["model/BookedProductInfo.ts"],"names":[],"mappings":"AAWA,MAAM,KAAW,iBAAiB,CAWjC;AAXD,WAAiB,iBAAiB;IACjC,SAAgB,EAAE,CAAC,KAA8B;QAChD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,sBAAsB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,sBAAsB,IAAI,QAAQ,CAAC;YAC9F,CAAC,KAAK,CAAC,oBAAoB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,oBAAoB,IAAI,QAAQ,CAAC;YAC1F,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,CAAC,KAAK,CAAC,mBAAmB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,mBAAmB,IAAI,QAAQ,CAAC;YACxF,CAAC,KAAK,CAAC,yBAAyB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,yBAAyB,IAAI,QAAQ,CAAC,CACpG,CAAA;IACF,CAAC;IATe,oBAAE,KASjB,CAAA;AACF,CAAC,EAXgB,iBAAiB,KAAjB,iBAAiB,QAWjC"}
|
|
@@ -1,2 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
import { AgentBookingInfo } from "./AgentBookingInfo";
|
|
2
|
+
import { BookedProductInfo } from "./BookedProductInfo";
|
|
3
|
+
import { SupplierBookingInfo } from "./SupplierBookingInfo";
|
|
4
|
+
import { TravelPartyInfo } from "./TravelPartyInfo";
|
|
5
|
+
export var BookingInfo;
|
|
6
|
+
(function (BookingInfo) {
|
|
7
|
+
function is(value) {
|
|
8
|
+
return (typeof value == "object" &&
|
|
9
|
+
typeof value.bookingOpType == "string" &&
|
|
10
|
+
(value.productType == undefined || typeof value.productType == "string") &&
|
|
11
|
+
(value.trackingId == undefined || typeof value.trackingId == "string") &&
|
|
12
|
+
(value.bookingInfoText == undefined || typeof value.bookingInfoText == "string") &&
|
|
13
|
+
(value.bookingDate == undefined || typeof value.bookingDate == "string") &&
|
|
14
|
+
(value.supplierBookingInfo == undefined || SupplierBookingInfo.is(value.supplierBookingInfo)) &&
|
|
15
|
+
(value.createdOn == undefined || typeof value.createdOn == "string") &&
|
|
16
|
+
(value.createdBy == undefined || typeof value.createdBy == "string") &&
|
|
17
|
+
(value.bookingRef == undefined || typeof value.bookingRef == "string") &&
|
|
18
|
+
(value.sellingPriceCurrency == undefined || typeof value.sellingPriceCurrency == "string") &&
|
|
19
|
+
(value.sellingPriceAmount == undefined || typeof value.sellingPriceAmount == "number") &&
|
|
20
|
+
(value.bookedProduct == undefined || BookedProductInfo.is(value.bookedProduct)) &&
|
|
21
|
+
(value.travelParty == undefined || TravelPartyInfo.is(value.travelParty)) &&
|
|
22
|
+
(value.agentBookingInfo == undefined || AgentBookingInfo.is(value.agentBookingInfo)) &&
|
|
23
|
+
(value.chargingMerchantId == undefined || typeof value.chargingMerchantId == "string"));
|
|
24
|
+
}
|
|
25
|
+
BookingInfo.is = is;
|
|
26
|
+
})(BookingInfo || (BookingInfo = {}));
|
|
2
27
|
//# sourceMappingURL=BookingInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookingInfo.js","sourceRoot":"../","sources":["model/BookingInfo.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"BookingInfo.js","sourceRoot":"../","sources":["model/BookingInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAuBnD,MAAM,KAAW,WAAW,CAqB3B;AArBD,WAAiB,WAAW;IAC3B,SAAgB,EAAE,CAAC,KAAwB;QAC1C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ;YACtC,CAAC,KAAK,CAAC,WAAW,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,WAAW,IAAI,QAAQ,CAAC;YACxE,CAAC,KAAK,CAAC,UA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,CAAC,CACtF,CAAA;IACF,CAAC;IAnBe,cAAE,KAmBjB,CAAA;AACF,CAAC,EArBgB,WAAW,KAAX,WAAW,QAqB3B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export const cardForms = ["GENERATABLE", "PHYSICAL", "VIRTUAL"];
|
|
2
|
+
export var CardForm;
|
|
3
|
+
(function (CardForm) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return typeof value == "string" && cardForms.includes(value);
|
|
6
|
+
}
|
|
7
|
+
CardForm.is = is;
|
|
8
|
+
})(CardForm || (CardForm = {}));
|
|
9
|
+
//# sourceMappingURL=CardForm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardForm.js","sourceRoot":"../","sources":["model/CardForm.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,aAAa,EAAE,UAAU,EAAE,SAAS,CAAU,CAAA;AAIxE,MAAM,KAAW,QAAQ,CAIxB;AAJD,WAAiB,QAAQ;IACxB,SAAgB,EAAE,CAAC,KAAqB;QACvC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,SAAS,CAAC,QAAQ,CAAC,KAAiB,CAAC,CAAA;IACzE,CAAC;IAFe,WAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,QAAQ,KAAR,QAAQ,QAIxB"}
|
|
@@ -3,9 +3,11 @@ import { AccountState } from "./AccountState";
|
|
|
3
3
|
import { BookingInfo } from "./BookingInfo";
|
|
4
4
|
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
5
5
|
import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
6
|
+
import { CardForm } from "./CardForm";
|
|
6
7
|
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
7
8
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
8
9
|
import { CardUsage } from "./CardUsage";
|
|
10
|
+
import { InvokingSystem } from "./InvokingSystem";
|
|
9
11
|
import { ProviderCode } from "./ProviderCode";
|
|
10
12
|
export interface CardResponse {
|
|
11
13
|
cardType?: CardTypeSpecification | string;
|
|
@@ -15,7 +17,7 @@ export interface CardResponse {
|
|
|
15
17
|
cvv?: string;
|
|
16
18
|
issueDate?: string;
|
|
17
19
|
expiryDate?: string;
|
|
18
|
-
cardForm?:
|
|
20
|
+
cardForm?: CardForm;
|
|
19
21
|
fundingDate?: string;
|
|
20
22
|
fundingBalance?: number;
|
|
21
23
|
balance?: number;
|
|
@@ -27,10 +29,13 @@ export interface CardResponse {
|
|
|
27
29
|
providerCardId?: string;
|
|
28
30
|
cardAccount?: AccountResponse;
|
|
29
31
|
fundingAccount?: AccountResponse;
|
|
30
|
-
creatingSystem?:
|
|
32
|
+
creatingSystem?: InvokingSystem;
|
|
31
33
|
createdBy?: string;
|
|
32
34
|
bookingInfo?: BookingInfo | BookingInfoResponse;
|
|
33
35
|
schedule?: CardScheduleResponseItem[];
|
|
34
36
|
delivery?: CardDeliveryResponse;
|
|
35
37
|
batchId?: string;
|
|
36
38
|
}
|
|
39
|
+
export declare namespace CardResponse {
|
|
40
|
+
function is(value: CardResponse | any): value is CardResponse;
|
|
41
|
+
}
|
|
@@ -1,2 +1,47 @@
|
|
|
1
|
-
|
|
1
|
+
import { AccountResponse } from "./AccountResponse";
|
|
2
|
+
import { AccountState } from "./AccountState";
|
|
3
|
+
import { BookingInfo } from "./BookingInfo";
|
|
4
|
+
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
5
|
+
import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
6
|
+
import { CardForm } from "./CardForm";
|
|
7
|
+
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
8
|
+
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
9
|
+
import { CardUsage } from "./CardUsage";
|
|
10
|
+
import { InvokingSystem } from "./InvokingSystem";
|
|
11
|
+
import { ProviderCode } from "./ProviderCode";
|
|
12
|
+
export var CardResponse;
|
|
13
|
+
(function (CardResponse) {
|
|
14
|
+
function is(value) {
|
|
15
|
+
return (typeof value == "object" &&
|
|
16
|
+
(value.cardType == undefined || CardTypeSpecification.is(value.cardType) || typeof value.cardType == "string") &&
|
|
17
|
+
(value.useAs == undefined || typeof value.useAs == "string") &&
|
|
18
|
+
(value.nameOnCard == undefined || typeof value.nameOnCard == "string") &&
|
|
19
|
+
(value.cardNumber == undefined || typeof value.cardNumber == "string") &&
|
|
20
|
+
(value.cvv == undefined || typeof value.cvv == "string") &&
|
|
21
|
+
(value.issueDate == undefined || typeof value.issueDate == "string") &&
|
|
22
|
+
(value.expiryDate == undefined || typeof value.expiryDate == "string") &&
|
|
23
|
+
(value.cardForm == undefined || CardForm.is(value.cardForm)) &&
|
|
24
|
+
(value.fundingDate == undefined || typeof value.fundingDate == "string") &&
|
|
25
|
+
(value.fundingBalance == undefined || typeof value.fundingBalance == "number") &&
|
|
26
|
+
(value.balance == undefined || typeof value.balance == "number") &&
|
|
27
|
+
(value.remainingBalance == undefined || typeof value.remainingBalance == "number") &&
|
|
28
|
+
(value.notes == undefined || typeof value.notes == "string") &&
|
|
29
|
+
(value.usage == undefined || CardUsage.is(value.usage)) &&
|
|
30
|
+
(value.state == undefined || AccountState.is(value.state)) &&
|
|
31
|
+
(value.providerCode == undefined || ProviderCode.is(value.providerCode)) &&
|
|
32
|
+
(value.providerCardId == undefined || typeof value.providerCardId == "string") &&
|
|
33
|
+
(value.cardAccount == undefined || AccountResponse.is(value.cardAccount)) &&
|
|
34
|
+
(value.fundingAccount == undefined || AccountResponse.is(value.fundingAccount)) &&
|
|
35
|
+
(value.creatingSystem == undefined || InvokingSystem.is(value.creatingSystem)) &&
|
|
36
|
+
(value.createdBy == undefined || typeof value.createdBy == "string") &&
|
|
37
|
+
(value.bookingInfo == undefined ||
|
|
38
|
+
BookingInfo.is(value.bookingInfo) ||
|
|
39
|
+
BookingInfoResponse.is(value.bookingInfo)) &&
|
|
40
|
+
(value.schedule == undefined ||
|
|
41
|
+
(Array.isArray(value.schedule) && value.schedule.every((item) => CardScheduleResponseItem.is(item)))) &&
|
|
42
|
+
(value.delivery == undefined || CardDeliveryResponse.is(value.delivery)) &&
|
|
43
|
+
(value.batchId == undefined || typeof value.batchId == "string"));
|
|
44
|
+
}
|
|
45
|
+
CardResponse.is = is;
|
|
46
|
+
})(CardResponse || (CardResponse = {}));
|
|
2
47
|
//# sourceMappingURL=CardResponse.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardResponse.js","sourceRoot":"../","sources":["model/CardResponse.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"CardResponse.js","sourceRoot":"../","sources":["model/CardResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AA8B7C,MAAM,KAAW,YAAY,CAkC5B;AAlCD,WAAiB,YAAY;IAC5B,SAAgB,EAAE,CAAC,KAAyB;QAC3C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,qBAAqB,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,I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AAQ,CAAC,CAAC;YACxE,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAC,CAChE,CAAA;IACF,CAAC;IAhCe,eAAE,KAgCjB,CAAA;AACF,CAAC,EAlCgB,YAAY,KAAZ,YAAY,QAkC5B"}
|
package/dist/model/Criteria.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InvokingSystem } from "./InvokingSystem";
|
|
1
2
|
export interface Criteria {
|
|
2
3
|
usernames?: string[];
|
|
3
4
|
categories?: string[];
|
|
@@ -5,7 +6,7 @@ export interface Criteria {
|
|
|
5
6
|
maxAmount?: number;
|
|
6
7
|
productTypes?: Array<"FLIGHT" | "ACCOMMODATION" | "ANY" | "CAR_PARKING" | "CAR_HIRE" | "TRANSFER" | "INSURANCE" | "PACKAGE" | "RAIL" | "CRUISE" | "ATTRACTION" | "BAGGAGE_TRACKING">;
|
|
7
8
|
suppliers?: string[];
|
|
8
|
-
bookingSources?: Array<
|
|
9
|
+
bookingSources?: Array<InvokingSystem>;
|
|
9
10
|
ruleStartDate?: string;
|
|
10
11
|
ruleEndDate?: string;
|
|
11
12
|
rank?: number;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const invokingSystems: readonly ["PORTAL", "REST_API", "FAB", "REST_API_PORTAL", "REST_API_EXTERNAL", "SOAP_API_FAB", "SOAP_API_EXTERNAL", "CRON", "UNKNOWN", "UNDEFINED"];
|
|
2
|
+
export declare type InvokingSystem = typeof invokingSystems[number];
|
|
3
|
+
export declare namespace InvokingSystem {
|
|
4
|
+
function is(value: unknown): value is InvokingSystem;
|
|
5
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const invokingSystems = [
|
|
2
|
+
"PORTAL",
|
|
3
|
+
"REST_API",
|
|
4
|
+
"FAB",
|
|
5
|
+
"REST_API_PORTAL",
|
|
6
|
+
"REST_API_EXTERNAL",
|
|
7
|
+
"SOAP_API_FAB",
|
|
8
|
+
"SOAP_API_EXTERNAL",
|
|
9
|
+
"CRON",
|
|
10
|
+
"UNKNOWN",
|
|
11
|
+
"UNDEFINED",
|
|
12
|
+
];
|
|
13
|
+
export var InvokingSystem;
|
|
14
|
+
(function (InvokingSystem) {
|
|
15
|
+
function is(value) {
|
|
16
|
+
return typeof value == "string" && invokingSystems.includes(value);
|
|
17
|
+
}
|
|
18
|
+
InvokingSystem.is = is;
|
|
19
|
+
})(InvokingSystem || (InvokingSystem = {}));
|
|
20
|
+
//# sourceMappingURL=InvokingSystem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InvokingSystem.js","sourceRoot":"../","sources":["model/InvokingSystem.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,QAAQ;IACR,UAAU;IACV,KAAK;IACL,iBAAiB;IACjB,mBAAmB;IACnB,cAAc;IACd,mBAAmB;IACnB,MAAM;IACN,SAAS;IACT,WAAW;CACF,CAAA;AAIV,MAAM,KAAW,cAAc,CAI9B;AAJD,WAAiB,cAAc;IAC9B,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,eAAe,CAAC,QAAQ,CAAC,KAAuB,CAAC,CAAA;IACrF,CAAC;IAFe,iBAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,cAAc,KAAd,cAAc,QAI9B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InvokingSystem } from "./InvokingSystem";
|
|
1
2
|
import { Issue } from "./Issue";
|
|
2
3
|
import { OrganisationResponse } from "./OrganisationResponse";
|
|
3
4
|
import { UserResponse } from "./UserResponse";
|
|
@@ -6,7 +7,7 @@ export interface LoginResponse {
|
|
|
6
7
|
status?: "SUCCESS" | "FAILURE";
|
|
7
8
|
token: string;
|
|
8
9
|
expiry: string;
|
|
9
|
-
invokingSystem:
|
|
10
|
+
invokingSystem: InvokingSystem;
|
|
10
11
|
trackingId: string;
|
|
11
12
|
user: UserResponse;
|
|
12
13
|
username: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InvokingSystem } from "./InvokingSystem";
|
|
1
2
|
import { Issue } from "./Issue";
|
|
2
3
|
import { OrganisationResponse } from "./OrganisationResponse";
|
|
3
4
|
import { UserResponse } from "./UserResponse";
|
|
@@ -9,16 +10,7 @@ export var LoginResponse;
|
|
|
9
10
|
(value.status == undefined || value.status == "SUCCESS" || value.status == "FAILURE") &&
|
|
10
11
|
typeof value.token == "string" &&
|
|
11
12
|
typeof value.expiry == "string" &&
|
|
12
|
-
(value.invokingSystem
|
|
13
|
-
value.invokingSystem == "REST_API" ||
|
|
14
|
-
value.invokingSystem == "FAB" ||
|
|
15
|
-
value.invokingSystem == "REST_API_PORTAL" ||
|
|
16
|
-
value.invokingSystem == "REST_API_EXTERNAL" ||
|
|
17
|
-
value.invokingSystem == "SOAP_API_FAB" ||
|
|
18
|
-
value.invokingSystem == "SOAP_API_EXTERNAL" ||
|
|
19
|
-
value.invokingSystem == "CRON" ||
|
|
20
|
-
value.invokingSystem == "UNKNOWN" ||
|
|
21
|
-
value.invokingSystem == "UNDEFINED") &&
|
|
13
|
+
InvokingSystem.is(value.invokingSystem) &&
|
|
22
14
|
typeof value.trackingId == "string" &&
|
|
23
15
|
UserResponse.is(value.user) &&
|
|
24
16
|
typeof value.username == "string" &&
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoginResponse.js","sourceRoot":"../","sources":["model/LoginResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"LoginResponse.js","sourceRoot":"../","sources":["model/LoginResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EA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
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.supplierBookingRef == undefined || typeof value.supplierBookingRef == "string") &&
|
|
6
|
+
(value.supplierCode == undefined || typeof value.supplierCode == "string"));
|
|
7
|
+
}
|
|
8
|
+
SupplierBookingInfo.is = is;
|
|
9
|
+
})(SupplierBookingInfo || (SupplierBookingInfo = {}));
|
|
2
10
|
//# sourceMappingURL=SupplierBookingInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupplierBookingInfo.js","sourceRoot":"../","sources":["model/SupplierBookingInfo.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"SupplierBookingInfo.js","sourceRoot":"../","sources":["model/SupplierBookingInfo.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,mBAAmB,CAQnC;AARD,WAAiB,mBAAmB;IACnC,SAAgB,EAAE,CAAC,KAAgC;QAClD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,kBAAkB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,kBAAkB,IAAI,QAAQ,CAAC;YACtF,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,CAAC,CAC1E,CAAA;IACF,CAAC;IANe,sBAAE,KAMjB,CAAA;AACF,CAAC,EARgB,mBAAmB,KAAnB,mBAAmB,QAQnC"}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var TravelPartyInfo;
|
|
2
|
+
(function (TravelPartyInfo) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.travelPartyLeadPax == undefined || typeof value.travelPartyLeadPax == "string") &&
|
|
6
|
+
(value.travelPartyNumAdult == undefined || typeof value.travelPartyNumAdult == "number") &&
|
|
7
|
+
(value.travelPartyNumChild == undefined || typeof value.travelPartyNumChild == "number") &&
|
|
8
|
+
(value.travelPartyNumInfant == undefined || typeof value.travelPartyNumInfant == "number"));
|
|
9
|
+
}
|
|
10
|
+
TravelPartyInfo.is = is;
|
|
11
|
+
})(TravelPartyInfo || (TravelPartyInfo = {}));
|
|
2
12
|
//# sourceMappingURL=TravelPartyInfo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TravelPartyInfo.js","sourceRoot":"../","sources":["model/TravelPartyInfo.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"TravelPartyInfo.js","sourceRoot":"../","sources":["model/TravelPartyInfo.ts"],"names":[],"mappings":"AAUA,MAAM,KAAW,eAAe,CAU/B;AAVD,WAAiB,eAAe;IAC/B,SAAgB,EAAE,CAAC,KAA4B;QAC9C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,kBAAkB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,kBAAkB,IAAI,QAAQ,CAAC;YACtF,CAAC,KAAK,CAAC,mBAAmB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,mBAAmB,IAAI,QAAQ,CAAC;YACxF,CAAC,KAAK,CAAC,mBAAmB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,mBAAmB,IAAI,QAAQ,CAAC;YACxF,CAAC,KAAK,CAAC,oBAAoB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,oBAAoB,IAAI,QAAQ,CAAC,CAC1F,CAAA;IACF,CAAC;IARe,kBAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,eAAe,KAAf,eAAe,QAU/B"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { CardAmendmentScheduledTaskRequest } from "./CardAmendmentScheduledTaskR
|
|
|
23
23
|
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
|
|
24
24
|
import { CardDeliveryRequest } from "./CardDeliveryRequest";
|
|
25
25
|
import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
26
|
+
import { CardForm } from "./CardForm";
|
|
26
27
|
import { CardFundingAccountResponse } from "./CardFundingAccountResponse";
|
|
27
28
|
import { CardOptionSearch } from "./CardOptionSearch";
|
|
28
29
|
import { CardProcessedTransaction } from "./CardProcessedTransaction";
|
|
@@ -75,6 +76,7 @@ import { InsertCardOptionRequest } from "./InsertCardOptionRequest";
|
|
|
75
76
|
import { InsertCardRequest } from "./InsertCardRequest";
|
|
76
77
|
import { InvoiceBookingInfoRequest } from "./InvoiceBookingInfoRequest";
|
|
77
78
|
import { InvoiceBookingInfoResponse } from "./InvoiceBookingInfoResponse";
|
|
79
|
+
import { InvokingSystem } from "./InvokingSystem";
|
|
78
80
|
import { Issue } from "./Issue";
|
|
79
81
|
import { LegacyBookingInfoRequest } from "./LegacyBookingInfoRequest";
|
|
80
82
|
import { LoginRequest } from "./LoginRequest";
|
|
@@ -138,4 +140,4 @@ import { UserResponse } from "./UserResponse";
|
|
|
138
140
|
import { UserRoleResponse } from "./UserRoleResponse";
|
|
139
141
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
140
142
|
import { YearMonth } from "./YearMonth";
|
|
141
|
-
export { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardProcessedTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
|
|
143
|
+
export { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardProcessedTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
|
package/dist/model/index.js
CHANGED
|
@@ -5,16 +5,21 @@ import { AccountState } from "./AccountState";
|
|
|
5
5
|
import { AccountSummary } from "./AccountSummary";
|
|
6
6
|
import { AccountType } from "./AccountType";
|
|
7
7
|
import { AddressInfo } from "./AddressInfo";
|
|
8
|
+
import { AgentBookingInfo } from "./AgentBookingInfo";
|
|
8
9
|
import { AmountPair } from "./AmountPair";
|
|
9
10
|
import { BeneficiaryResponse } from "./BeneficiaryResponse";
|
|
10
11
|
import { BeneficiaryStatus } from "./BeneficiaryStatus";
|
|
11
12
|
import { BillingTransactionAmountPair } from "./BillingTransactionAmountPair";
|
|
13
|
+
import { BookedProductInfo } from "./BookedProductInfo";
|
|
14
|
+
import { BookingInfo } from "./BookingInfo";
|
|
12
15
|
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
13
16
|
import { BookingInfoType } from "./BookingInfoType";
|
|
14
17
|
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
|
|
15
18
|
import { CardDeliveryRequest } from "./CardDeliveryRequest";
|
|
16
19
|
import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
20
|
+
import { CardForm } from "./CardForm";
|
|
17
21
|
import { CardFundingAccountResponse } from "./CardFundingAccountResponse";
|
|
22
|
+
import { CardResponse } from "./CardResponse";
|
|
18
23
|
import { CardResponseV2 } from "./CardResponseV2";
|
|
19
24
|
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
20
25
|
import { CardScheduleTaskStatus } from "./CardScheduleTaskStatus";
|
|
@@ -38,6 +43,7 @@ import { HotelBookingInfoResponse } from "./HotelBookingInfoResponse";
|
|
|
38
43
|
import { HotelInfo } from "./HotelInfo";
|
|
39
44
|
import { InvoiceBookingInfoRequest } from "./InvoiceBookingInfoRequest";
|
|
40
45
|
import { InvoiceBookingInfoResponse } from "./InvoiceBookingInfoResponse";
|
|
46
|
+
import { InvokingSystem } from "./InvokingSystem";
|
|
41
47
|
import { Issue } from "./Issue";
|
|
42
48
|
import { LoginResponse } from "./LoginResponse";
|
|
43
49
|
import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse";
|
|
@@ -52,10 +58,12 @@ import { StatementReportRowActionType } from "./StatementReportRowActionType";
|
|
|
52
58
|
import { StatementReportRowType } from "./StatementReportRowType";
|
|
53
59
|
import { StatementRowIds } from "./StatementRowIds";
|
|
54
60
|
import { SummaryBookingInfoResponse } from "./SummaryBookingInfoResponse";
|
|
61
|
+
import { SupplierBookingInfo } from "./SupplierBookingInfo";
|
|
55
62
|
import { TransferDestinationInfo } from "./TransferDestinationInfo";
|
|
56
63
|
import { TransferResponse } from "./TransferResponse";
|
|
57
64
|
import { TransferStatus } from "./TransferStatus";
|
|
65
|
+
import { TravelPartyInfo } from "./TravelPartyInfo";
|
|
58
66
|
import { UserResponse } from "./UserResponse";
|
|
59
67
|
import { YearMonth } from "./YearMonth";
|
|
60
|
-
export { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, };
|
|
68
|
+
export { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserResponse, YearMonth, };
|
|
61
69
|
//# 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,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;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,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;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,4BAA4B,E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AAsB,EACtB,eAAe,EACf,0BAA0B,EAC1B,mBAAmB,EAGnB,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EACd,eAAe,EAYf,YAAY,EAGZ,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -25,6 +25,7 @@ import {
|
|
|
25
25
|
CardAmendmentScheduledTaskResponse,
|
|
26
26
|
CardDeliveryRequest,
|
|
27
27
|
CardDeliveryResponse,
|
|
28
|
+
CardForm,
|
|
28
29
|
CardFundingAccountResponse,
|
|
29
30
|
CardOptionSearch,
|
|
30
31
|
CardProcessedTransaction,
|
|
@@ -77,6 +78,7 @@ import {
|
|
|
77
78
|
InsertCardRequest,
|
|
78
79
|
InvoiceBookingInfoRequest,
|
|
79
80
|
InvoiceBookingInfoResponse,
|
|
81
|
+
InvokingSystem,
|
|
80
82
|
Issue,
|
|
81
83
|
LegacyBookingInfoRequest,
|
|
82
84
|
LoginRequest,
|
|
@@ -169,6 +171,7 @@ export {
|
|
|
169
171
|
CardAmendmentScheduledTaskResponse,
|
|
170
172
|
CardDeliveryRequest,
|
|
171
173
|
CardDeliveryResponse,
|
|
174
|
+
CardForm,
|
|
172
175
|
CardFundingAccountResponse,
|
|
173
176
|
CardOptionSearch,
|
|
174
177
|
CardProcessedTransaction,
|
|
@@ -221,6 +224,7 @@ export {
|
|
|
221
224
|
InsertCardRequest,
|
|
222
225
|
InvoiceBookingInfoRequest,
|
|
223
226
|
InvoiceBookingInfoResponse,
|
|
227
|
+
InvokingSystem,
|
|
224
228
|
Issue,
|
|
225
229
|
LegacyBookingInfoRequest,
|
|
226
230
|
LoginRequest,
|
|
@@ -7,3 +7,15 @@ export interface AgentBookingInfo {
|
|
|
7
7
|
agentBookingBasketRef?: string
|
|
8
8
|
agentBookingBookingRef?: string
|
|
9
9
|
}
|
|
10
|
+
|
|
11
|
+
export namespace AgentBookingInfo {
|
|
12
|
+
export function is(value: AgentBookingInfo | any): value is AgentBookingInfo {
|
|
13
|
+
return (
|
|
14
|
+
typeof value == "object" &&
|
|
15
|
+
(value.agentBookingOrgCode == undefined || typeof value.agentBookingOrgCode == "string") &&
|
|
16
|
+
(value.agentBookingSystemRef == undefined || typeof value.agentBookingSystemRef == "string") &&
|
|
17
|
+
(value.agentBookingBasketRef == undefined || typeof value.agentBookingBasketRef == "string") &&
|
|
18
|
+
(value.agentBookingBookingRef == undefined || typeof value.agentBookingBookingRef == "string")
|
|
19
|
+
)
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -8,3 +8,16 @@ export interface BookedProductInfo {
|
|
|
8
8
|
bookedProductEndLoc?: string
|
|
9
9
|
bookedProductMerchantCode?: string
|
|
10
10
|
}
|
|
11
|
+
|
|
12
|
+
export namespace BookedProductInfo {
|
|
13
|
+
export function is(value: BookedProductInfo | any): value is BookedProductInfo {
|
|
14
|
+
return (
|
|
15
|
+
typeof value == "object" &&
|
|
16
|
+
(value.bookedProductStartTime == undefined || typeof value.bookedProductStartTime == "string") &&
|
|
17
|
+
(value.bookedProductEndTime == undefined || typeof value.bookedProductEndTime == "string") &&
|
|
18
|
+
(value.bookedProductStartLoc == undefined || typeof value.bookedProductStartLoc == "string") &&
|
|
19
|
+
(value.bookedProductEndLoc == undefined || typeof value.bookedProductEndLoc == "string") &&
|
|
20
|
+
(value.bookedProductMerchantCode == undefined || typeof value.bookedProductMerchantCode == "string")
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
}
|
package/model/BookingInfo.ts
CHANGED
|
@@ -23,3 +23,26 @@ export interface BookingInfo {
|
|
|
23
23
|
agentBookingInfo?: AgentBookingInfo
|
|
24
24
|
chargingMerchantId?: string
|
|
25
25
|
}
|
|
26
|
+
|
|
27
|
+
export namespace BookingInfo {
|
|
28
|
+
export function is(value: BookingInfo | any): value is BookingInfo {
|
|
29
|
+
return (
|
|
30
|
+
typeof value == "object" &&
|
|
31
|
+
typeof value.bookingOpType == "string" &&
|
|
32
|
+
(value.productType == undefined || typeof value.productType == "string") &&
|
|
33
|
+
(value.trackingId == undefined || typeof value.trackingId == "string") &&
|
|
34
|
+
(value.bookingInfoText == undefined || typeof value.bookingInfoText == "string") &&
|
|
35
|
+
(value.bookingDate == undefined || typeof value.bookingDate == "string") &&
|
|
36
|
+
(value.supplierBookingInfo == undefined || SupplierBookingInfo.is(value.supplierBookingInfo)) &&
|
|
37
|
+
(value.createdOn == undefined || typeof value.createdOn == "string") &&
|
|
38
|
+
(value.createdBy == undefined || typeof value.createdBy == "string") &&
|
|
39
|
+
(value.bookingRef == undefined || typeof value.bookingRef == "string") &&
|
|
40
|
+
(value.sellingPriceCurrency == undefined || typeof value.sellingPriceCurrency == "string") &&
|
|
41
|
+
(value.sellingPriceAmount == undefined || typeof value.sellingPriceAmount == "number") &&
|
|
42
|
+
(value.bookedProduct == undefined || BookedProductInfo.is(value.bookedProduct)) &&
|
|
43
|
+
(value.travelParty == undefined || TravelPartyInfo.is(value.travelParty)) &&
|
|
44
|
+
(value.agentBookingInfo == undefined || AgentBookingInfo.is(value.agentBookingInfo)) &&
|
|
45
|
+
(value.chargingMerchantId == undefined || typeof value.chargingMerchantId == "string")
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export const cardForms = ["GENERATABLE", "PHYSICAL", "VIRTUAL"] as const
|
|
2
|
+
|
|
3
|
+
export type CardForm = typeof cardForms[number]
|
|
4
|
+
|
|
5
|
+
export namespace CardForm {
|
|
6
|
+
export function is(value: CardForm | any): value is CardForm {
|
|
7
|
+
return typeof value == "string" && cardForms.includes(value as CardForm)
|
|
8
|
+
}
|
|
9
|
+
}
|
package/model/CardResponse.ts
CHANGED
|
@@ -3,9 +3,11 @@ import { AccountState } from "./AccountState"
|
|
|
3
3
|
import { BookingInfo } from "./BookingInfo"
|
|
4
4
|
import { BookingInfoResponse } from "./BookingInfoResponse"
|
|
5
5
|
import { CardDeliveryResponse } from "./CardDeliveryResponse"
|
|
6
|
+
import { CardForm } from "./CardForm"
|
|
6
7
|
import { CardScheduleResponseItem } from "./CardScheduleResponseItem"
|
|
7
8
|
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
8
9
|
import { CardUsage } from "./CardUsage"
|
|
10
|
+
import { InvokingSystem } from "./InvokingSystem"
|
|
9
11
|
import { ProviderCode } from "./ProviderCode"
|
|
10
12
|
|
|
11
13
|
export interface CardResponse {
|
|
@@ -16,7 +18,7 @@ export interface CardResponse {
|
|
|
16
18
|
cvv?: string
|
|
17
19
|
issueDate?: string
|
|
18
20
|
expiryDate?: string
|
|
19
|
-
cardForm?:
|
|
21
|
+
cardForm?: CardForm
|
|
20
22
|
fundingDate?: string
|
|
21
23
|
fundingBalance?: number
|
|
22
24
|
balance?: number
|
|
@@ -28,20 +30,46 @@ export interface CardResponse {
|
|
|
28
30
|
providerCardId?: string
|
|
29
31
|
cardAccount?: AccountResponse
|
|
30
32
|
fundingAccount?: AccountResponse
|
|
31
|
-
creatingSystem?:
|
|
32
|
-
| "PORTAL"
|
|
33
|
-
| "REST_API"
|
|
34
|
-
| "FAB"
|
|
35
|
-
| "REST_API_PORTAL"
|
|
36
|
-
| "REST_API_EXTERNAL"
|
|
37
|
-
| "SOAP_API_FAB"
|
|
38
|
-
| "SOAP_API_EXTERNAL"
|
|
39
|
-
| "CRON"
|
|
40
|
-
| "UNKNOWN"
|
|
41
|
-
| "UNDEFINED"
|
|
33
|
+
creatingSystem?: InvokingSystem
|
|
42
34
|
createdBy?: string
|
|
43
35
|
bookingInfo?: BookingInfo | BookingInfoResponse
|
|
44
36
|
schedule?: CardScheduleResponseItem[]
|
|
45
37
|
delivery?: CardDeliveryResponse
|
|
46
38
|
batchId?: string
|
|
47
39
|
}
|
|
40
|
+
|
|
41
|
+
export namespace CardResponse {
|
|
42
|
+
export function is(value: CardResponse | any): value is CardResponse {
|
|
43
|
+
return (
|
|
44
|
+
typeof value == "object" &&
|
|
45
|
+
(value.cardType == undefined || CardTypeSpecification.is(value.cardType) || typeof value.cardType == "string") &&
|
|
46
|
+
(value.useAs == undefined || typeof value.useAs == "string") &&
|
|
47
|
+
(value.nameOnCard == undefined || typeof value.nameOnCard == "string") &&
|
|
48
|
+
(value.cardNumber == undefined || typeof value.cardNumber == "string") &&
|
|
49
|
+
(value.cvv == undefined || typeof value.cvv == "string") &&
|
|
50
|
+
(value.issueDate == undefined || typeof value.issueDate == "string") &&
|
|
51
|
+
(value.expiryDate == undefined || typeof value.expiryDate == "string") &&
|
|
52
|
+
(value.cardForm == undefined || CardForm.is(value.cardForm)) &&
|
|
53
|
+
(value.fundingDate == undefined || typeof value.fundingDate == "string") &&
|
|
54
|
+
(value.fundingBalance == undefined || typeof value.fundingBalance == "number") &&
|
|
55
|
+
(value.balance == undefined || typeof value.balance == "number") &&
|
|
56
|
+
(value.remainingBalance == undefined || typeof value.remainingBalance == "number") &&
|
|
57
|
+
(value.notes == undefined || typeof value.notes == "string") &&
|
|
58
|
+
(value.usage == undefined || CardUsage.is(value.usage)) &&
|
|
59
|
+
(value.state == undefined || AccountState.is(value.state)) &&
|
|
60
|
+
(value.providerCode == undefined || ProviderCode.is(value.providerCode)) &&
|
|
61
|
+
(value.providerCardId == undefined || typeof value.providerCardId == "string") &&
|
|
62
|
+
(value.cardAccount == undefined || AccountResponse.is(value.cardAccount)) &&
|
|
63
|
+
(value.fundingAccount == undefined || AccountResponse.is(value.fundingAccount)) &&
|
|
64
|
+
(value.creatingSystem == undefined || InvokingSystem.is(value.creatingSystem)) &&
|
|
65
|
+
(value.createdBy == undefined || typeof value.createdBy == "string") &&
|
|
66
|
+
(value.bookingInfo == undefined ||
|
|
67
|
+
BookingInfo.is(value.bookingInfo) ||
|
|
68
|
+
BookingInfoResponse.is(value.bookingInfo)) &&
|
|
69
|
+
(value.schedule == undefined ||
|
|
70
|
+
(Array.isArray(value.schedule) && value.schedule.every((item: any) => CardScheduleResponseItem.is(item)))) &&
|
|
71
|
+
(value.delivery == undefined || CardDeliveryResponse.is(value.delivery)) &&
|
|
72
|
+
(value.batchId == undefined || typeof value.batchId == "string")
|
|
73
|
+
)
|
|
74
|
+
}
|
|
75
|
+
}
|
package/model/Criteria.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { InvokingSystem } from "./InvokingSystem"
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
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.
|
|
3
5
|
*/
|
|
@@ -21,18 +23,7 @@ export interface Criteria {
|
|
|
21
23
|
| "BAGGAGE_TRACKING"
|
|
22
24
|
>
|
|
23
25
|
suppliers?: string[]
|
|
24
|
-
bookingSources?: Array<
|
|
25
|
-
| "PORTAL"
|
|
26
|
-
| "REST_API"
|
|
27
|
-
| "FAB"
|
|
28
|
-
| "REST_API_PORTAL"
|
|
29
|
-
| "REST_API_EXTERNAL"
|
|
30
|
-
| "SOAP_API_FAB"
|
|
31
|
-
| "SOAP_API_EXTERNAL"
|
|
32
|
-
| "CRON"
|
|
33
|
-
| "UNKNOWN"
|
|
34
|
-
| "UNDEFINED"
|
|
35
|
-
>
|
|
26
|
+
bookingSources?: Array<InvokingSystem>
|
|
36
27
|
ruleStartDate?: string
|
|
37
28
|
ruleEndDate?: string
|
|
38
29
|
rank?: number
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const invokingSystems = [
|
|
2
|
+
"PORTAL",
|
|
3
|
+
"REST_API",
|
|
4
|
+
"FAB",
|
|
5
|
+
"REST_API_PORTAL",
|
|
6
|
+
"REST_API_EXTERNAL",
|
|
7
|
+
"SOAP_API_FAB",
|
|
8
|
+
"SOAP_API_EXTERNAL",
|
|
9
|
+
"CRON",
|
|
10
|
+
"UNKNOWN",
|
|
11
|
+
"UNDEFINED",
|
|
12
|
+
] as const
|
|
13
|
+
|
|
14
|
+
export type InvokingSystem = typeof invokingSystems[number]
|
|
15
|
+
|
|
16
|
+
export namespace InvokingSystem {
|
|
17
|
+
export function is(value: unknown): value is InvokingSystem {
|
|
18
|
+
return typeof value == "string" && invokingSystems.includes(value as InvokingSystem)
|
|
19
|
+
}
|
|
20
|
+
}
|
package/model/LoginResponse.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InvokingSystem } from "./InvokingSystem"
|
|
1
2
|
import { Issue } from "./Issue"
|
|
2
3
|
import { OrganisationResponse } from "./OrganisationResponse"
|
|
3
4
|
import { UserResponse } from "./UserResponse"
|
|
@@ -10,17 +11,7 @@ export interface LoginResponse {
|
|
|
10
11
|
status?: "SUCCESS" | "FAILURE"
|
|
11
12
|
token: string
|
|
12
13
|
expiry: string
|
|
13
|
-
invokingSystem:
|
|
14
|
-
| "PORTAL"
|
|
15
|
-
| "REST_API"
|
|
16
|
-
| "FAB"
|
|
17
|
-
| "REST_API_PORTAL"
|
|
18
|
-
| "REST_API_EXTERNAL"
|
|
19
|
-
| "SOAP_API_FAB"
|
|
20
|
-
| "SOAP_API_EXTERNAL"
|
|
21
|
-
| "CRON"
|
|
22
|
-
| "UNKNOWN"
|
|
23
|
-
| "UNDEFINED"
|
|
14
|
+
invokingSystem: InvokingSystem
|
|
24
15
|
trackingId: string
|
|
25
16
|
user: UserResponse
|
|
26
17
|
username: string
|
|
@@ -36,16 +27,7 @@ export namespace LoginResponse {
|
|
|
36
27
|
(value.status == undefined || value.status == "SUCCESS" || value.status == "FAILURE") &&
|
|
37
28
|
typeof value.token == "string" &&
|
|
38
29
|
typeof value.expiry == "string" &&
|
|
39
|
-
(value.invokingSystem
|
|
40
|
-
value.invokingSystem == "REST_API" ||
|
|
41
|
-
value.invokingSystem == "FAB" ||
|
|
42
|
-
value.invokingSystem == "REST_API_PORTAL" ||
|
|
43
|
-
value.invokingSystem == "REST_API_EXTERNAL" ||
|
|
44
|
-
value.invokingSystem == "SOAP_API_FAB" ||
|
|
45
|
-
value.invokingSystem == "SOAP_API_EXTERNAL" ||
|
|
46
|
-
value.invokingSystem == "CRON" ||
|
|
47
|
-
value.invokingSystem == "UNKNOWN" ||
|
|
48
|
-
value.invokingSystem == "UNDEFINED") &&
|
|
30
|
+
InvokingSystem.is(value.invokingSystem) &&
|
|
49
31
|
typeof value.trackingId == "string" &&
|
|
50
32
|
UserResponse.is(value.user) &&
|
|
51
33
|
typeof value.username == "string" &&
|
|
@@ -5,3 +5,13 @@ export interface SupplierBookingInfo {
|
|
|
5
5
|
supplierBookingRef?: string
|
|
6
6
|
supplierCode?: string
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
export namespace SupplierBookingInfo {
|
|
10
|
+
export function is(value: SupplierBookingInfo | any): value is SupplierBookingInfo {
|
|
11
|
+
return (
|
|
12
|
+
typeof value == "object" &&
|
|
13
|
+
(value.supplierBookingRef == undefined || typeof value.supplierBookingRef == "string") &&
|
|
14
|
+
(value.supplierCode == undefined || typeof value.supplierCode == "string")
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
}
|
package/model/TravelPartyInfo.ts
CHANGED
|
@@ -7,3 +7,15 @@ export interface TravelPartyInfo {
|
|
|
7
7
|
travelPartyNumChild?: number
|
|
8
8
|
travelPartyNumInfant?: number
|
|
9
9
|
}
|
|
10
|
+
|
|
11
|
+
export namespace TravelPartyInfo {
|
|
12
|
+
export function is(value: TravelPartyInfo | any): value is TravelPartyInfo {
|
|
13
|
+
return (
|
|
14
|
+
typeof value == "object" &&
|
|
15
|
+
(value.travelPartyLeadPax == undefined || typeof value.travelPartyLeadPax == "string") &&
|
|
16
|
+
(value.travelPartyNumAdult == undefined || typeof value.travelPartyNumAdult == "number") &&
|
|
17
|
+
(value.travelPartyNumChild == undefined || typeof value.travelPartyNumChild == "number") &&
|
|
18
|
+
(value.travelPartyNumInfant == undefined || typeof value.travelPartyNumInfant == "number")
|
|
19
|
+
)
|
|
20
|
+
}
|
|
21
|
+
}
|
package/model/index.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { CardAmendmentScheduledTaskRequest } from "./CardAmendmentScheduledTaskR
|
|
|
23
23
|
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse"
|
|
24
24
|
import { CardDeliveryRequest } from "./CardDeliveryRequest"
|
|
25
25
|
import { CardDeliveryResponse } from "./CardDeliveryResponse"
|
|
26
|
+
import { CardForm } from "./CardForm"
|
|
26
27
|
import { CardFundingAccountResponse } from "./CardFundingAccountResponse"
|
|
27
28
|
import { CardOptionSearch } from "./CardOptionSearch"
|
|
28
29
|
import { CardProcessedTransaction } from "./CardProcessedTransaction"
|
|
@@ -75,6 +76,7 @@ import { InsertCardOptionRequest } from "./InsertCardOptionRequest"
|
|
|
75
76
|
import { InsertCardRequest } from "./InsertCardRequest"
|
|
76
77
|
import { InvoiceBookingInfoRequest } from "./InvoiceBookingInfoRequest"
|
|
77
78
|
import { InvoiceBookingInfoResponse } from "./InvoiceBookingInfoResponse"
|
|
79
|
+
import { InvokingSystem } from "./InvokingSystem"
|
|
78
80
|
import { Issue } from "./Issue"
|
|
79
81
|
import { LegacyBookingInfoRequest } from "./LegacyBookingInfoRequest"
|
|
80
82
|
import { LoginRequest } from "./LoginRequest"
|
|
@@ -165,6 +167,7 @@ export {
|
|
|
165
167
|
CardAmendmentScheduledTaskResponse,
|
|
166
168
|
CardDeliveryRequest,
|
|
167
169
|
CardDeliveryResponse,
|
|
170
|
+
CardForm,
|
|
168
171
|
CardFundingAccountResponse,
|
|
169
172
|
CardOptionSearch,
|
|
170
173
|
CardResponse,
|
|
@@ -217,6 +220,7 @@ export {
|
|
|
217
220
|
InsertCardRequest,
|
|
218
221
|
InvoiceBookingInfoRequest,
|
|
219
222
|
InvoiceBookingInfoResponse,
|
|
223
|
+
InvokingSystem,
|
|
220
224
|
Issue,
|
|
221
225
|
LegacyBookingInfoRequest,
|
|
222
226
|
LoginRequest,
|