@pax2pay/client 0.1.41 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client/Auth/index.ts +42 -0
- package/Client/Configuration/index.ts +3 -0
- package/dist/Client/Auth/index.d.ts +8 -0
- package/dist/Client/Auth/index.js +41 -0
- package/dist/Client/Auth/index.js.map +1 -1
- package/dist/Client/Configuration/index.d.ts +1 -0
- package/dist/Client/Configuration/index.js +3 -0
- package/dist/Client/Configuration/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/PaxpayFeature.d.ts +6 -0
- package/dist/model/PaxpayFeature.js +22 -0
- package/dist/model/PaxpayFeature.js.map +1 -0
- package/dist/model/index.d.ts +2 -1
- package/dist/model/index.js +2 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +2 -0
- package/model/PaxpayFeature.ts +22 -0
- package/model/index.ts +2 -0
- package/package.json +1 -1
package/Client/Auth/index.ts
CHANGED
|
@@ -1,13 +1,55 @@
|
|
|
1
1
|
import * as model from "../../model"
|
|
2
|
+
import { PaxpayFeature } from "../../model/PaxpayFeature"
|
|
2
3
|
import { Connection } from "../Connection"
|
|
3
4
|
|
|
4
5
|
export class Auth {
|
|
6
|
+
#roles?: string[]
|
|
7
|
+
|
|
8
|
+
set roles(roles: string[] | undefined) {
|
|
9
|
+
this.#roles = roles
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
private loadRoles() {
|
|
13
|
+
if (this.#roles)
|
|
14
|
+
return
|
|
15
|
+
|
|
16
|
+
const roles = window.sessionStorage.getItem("roles")
|
|
17
|
+
this.#roles = roles ? roles.split(",") : []
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
hasRole(role: string) {
|
|
21
|
+
this.loadRoles()
|
|
22
|
+
|
|
23
|
+
return this.#roles ? this.#roles.includes(role) : false
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
#features?: PaxpayFeature[]
|
|
27
|
+
|
|
28
|
+
set features(features: PaxpayFeature[] | undefined) {
|
|
29
|
+
this.#features = features
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
private loadFeatures() {
|
|
33
|
+
if (this.#features)
|
|
34
|
+
return
|
|
35
|
+
|
|
36
|
+
const features = window.sessionStorage.getItem("features")
|
|
37
|
+
this.#features = features ? (features.split(",") as PaxpayFeature[]) : []
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
hasFeature(feature: PaxpayFeature) {
|
|
41
|
+
this.loadFeatures()
|
|
42
|
+
|
|
43
|
+
return this.#features ? this.#features.includes(feature) : false
|
|
44
|
+
}
|
|
45
|
+
|
|
5
46
|
get token(): string | undefined {
|
|
6
47
|
return this.connection.token
|
|
7
48
|
}
|
|
8
49
|
set token(value: string | undefined) {
|
|
9
50
|
this.connection.token = value
|
|
10
51
|
}
|
|
52
|
+
|
|
11
53
|
constructor(private connection: Connection) {}
|
|
12
54
|
async login(request: model.LoginRequest) {
|
|
13
55
|
const result = await this.connection.post<model.LoginResponse, 400 | 403 | 404 | 500>("auth/login", request)
|
|
@@ -20,4 +20,7 @@ export class Configuration {
|
|
|
20
20
|
const result = await this.connection.get<model.UserConfig>(`config/user`)
|
|
21
21
|
return result
|
|
22
22
|
}
|
|
23
|
+
async getPortalFeatures(): Promise<model.PaxpayFeature[] | model.ErrorResponse> {
|
|
24
|
+
return await this.connection.get<model.PaxpayFeature[]>(`config/portal`)
|
|
25
|
+
}
|
|
23
26
|
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import * as model from "../../model";
|
|
2
|
+
import { PaxpayFeature } from "../../model/PaxpayFeature";
|
|
2
3
|
import { Connection } from "../Connection";
|
|
3
4
|
export declare class Auth {
|
|
5
|
+
#private;
|
|
4
6
|
private connection;
|
|
7
|
+
set roles(roles: string[] | undefined);
|
|
8
|
+
private loadRoles;
|
|
9
|
+
hasRole(role: string): boolean;
|
|
10
|
+
set features(features: PaxpayFeature[] | undefined);
|
|
11
|
+
private loadFeatures;
|
|
12
|
+
hasFeature(feature: PaxpayFeature): boolean;
|
|
5
13
|
get token(): string | undefined;
|
|
6
14
|
set token(value: string | undefined);
|
|
7
15
|
constructor(connection: Connection);
|
|
@@ -1,6 +1,46 @@
|
|
|
1
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
2
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
5
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
6
|
+
};
|
|
7
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
8
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
9
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
10
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
|
+
};
|
|
12
|
+
var _Auth_roles, _Auth_features;
|
|
1
13
|
export class Auth {
|
|
2
14
|
constructor(connection) {
|
|
3
15
|
this.connection = connection;
|
|
16
|
+
_Auth_roles.set(this, void 0);
|
|
17
|
+
_Auth_features.set(this, void 0);
|
|
18
|
+
}
|
|
19
|
+
set roles(roles) {
|
|
20
|
+
__classPrivateFieldSet(this, _Auth_roles, roles, "f");
|
|
21
|
+
}
|
|
22
|
+
loadRoles() {
|
|
23
|
+
if (__classPrivateFieldGet(this, _Auth_roles, "f"))
|
|
24
|
+
return;
|
|
25
|
+
const roles = window.sessionStorage.getItem("roles");
|
|
26
|
+
__classPrivateFieldSet(this, _Auth_roles, roles ? roles.split(",") : [], "f");
|
|
27
|
+
}
|
|
28
|
+
hasRole(role) {
|
|
29
|
+
this.loadRoles();
|
|
30
|
+
return __classPrivateFieldGet(this, _Auth_roles, "f") ? __classPrivateFieldGet(this, _Auth_roles, "f").includes(role) : false;
|
|
31
|
+
}
|
|
32
|
+
set features(features) {
|
|
33
|
+
__classPrivateFieldSet(this, _Auth_features, features, "f");
|
|
34
|
+
}
|
|
35
|
+
loadFeatures() {
|
|
36
|
+
if (__classPrivateFieldGet(this, _Auth_features, "f"))
|
|
37
|
+
return;
|
|
38
|
+
const features = window.sessionStorage.getItem("features");
|
|
39
|
+
__classPrivateFieldSet(this, _Auth_features, features ? features.split(",") : [], "f");
|
|
40
|
+
}
|
|
41
|
+
hasFeature(feature) {
|
|
42
|
+
this.loadFeatures();
|
|
43
|
+
return __classPrivateFieldGet(this, _Auth_features, "f") ? __classPrivateFieldGet(this, _Auth_features, "f").includes(feature) : false;
|
|
4
44
|
}
|
|
5
45
|
get token() {
|
|
6
46
|
return this.connection.token;
|
|
@@ -24,6 +64,7 @@ export class Auth {
|
|
|
24
64
|
return new Auth(connection);
|
|
25
65
|
}
|
|
26
66
|
}
|
|
67
|
+
_Auth_roles = new WeakMap(), _Auth_features = new WeakMap();
|
|
27
68
|
function isError(value) {
|
|
28
69
|
return typeof value == "object" && typeof value.code == "number";
|
|
29
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Auth/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAIA,MAAM,OAAO,IAAI;IAgDhB,YAAoB,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QA/C1C,8BAAiB;QAoBjB,iCAA2B;IA2BkB,CAAC;IA7C9C,IAAI,KAAK,CAAC,KAA2B;QACpC,uBAAA,IAAI,eAAU,KAAK,MAAA,CAAA;IAC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GD,KAAK,CAAC,KAAK,CAAC,OAA2B;QACtC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA6C,YAAY,EAAE,OAAO,CAAC,CAAA;QAC5G,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;YACnB,IAAI,CAAC,UAAU,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;QACrC,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,OAAgD;QAC7D,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA6C,YAAY,EAAE,OAAO,CAAC,CAAA;QAC5G,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;YACnB,IAAI,CAAC,UAAU,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAA;QACrC,OAAO,MAAM,CAAA;IACd,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAA;IAC5B,CAAC;CACD;;AAED,SAAS,OAAO,CAAC,KAAgC;IAChD,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAA;AACjE,CAAC"}
|
|
@@ -10,4 +10,5 @@ export declare class Configuration {
|
|
|
10
10
|
getAvailableCurrency(providerCode?: ProviderCode): Promise<Currency[] | model.ErrorResponse>;
|
|
11
11
|
getOrganisationConfig(): Promise<model.OrganisationConfig | model.ErrorResponse>;
|
|
12
12
|
getUserConfig(): Promise<model.UserConfig | model.ErrorResponse>;
|
|
13
|
+
getPortalFeatures(): Promise<model.PaxpayFeature[] | model.ErrorResponse>;
|
|
13
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Configuration/index.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,aAAa;IAEzB,YAA6B,UAAsB;QAAtB,eAAU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AC,UAAU,CAAC,GAAG,CAA2B,qBAAqB,CAAC,CAAA;QACzF,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,aAAa;QAClB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAmB,aAAa,CAAC,CAAA;QACzE,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,iBAAiB;QACtB,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAwB,eAAe,CAAC,CAAA;IACzE,CAAC;CACD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, 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, Range, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementReportUrlResponse, StatementRowIds, 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, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, 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, Range, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, CardSearchRequest, SearchRolesetsRequest, SearchBeneficiaryRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, 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, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, 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, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementReportUrlResponse, StatementRowIds, 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, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, 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, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, CardSearchRequest, SearchRolesetsRequest, SearchBeneficiaryRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, 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, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, 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, } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, 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, };
|
|
2
|
+
import { AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, 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, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, 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, };
|
|
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,yCAAyC,EACzC,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAEhB,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,sCAAsC,EACtC,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EAEX,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,0BAA0B,EAE1B,YAAY,EACZ,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAGpB,2BAA2B,EAE3B,oCAAoC,EACpC,aAAa,EACb,eAAe,EACf,QAAQ,EAKR,qBAAqB,EACrB,yBAAyB,EAgBzB,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,6BAA6B,EAE7B,yBAAyB,EACzB,UAAU,EACV,4BAA4B,EAE5B,wBAAwB,EAGxB,kBAAkB,EAElB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAGT,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,K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iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAC5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const paxpayFeatures: readonly ["ALLOW_CARD_CREATION_WITH_NEGATIVE_BALANCE", "FUZZY_SEARCH_COLLECTION_TRAVERSAL", "BANK_TRANSFERS", "BATCH_PAYMENTS", "FIND_AND_AMEND", "BETA_PORTAL_FEATURES", "LEGACY_CARD_CREATE", "LEGACY_CARD_DETAILS", "LEGACY_CARD_SINGLE", "LEGACY_ACCOUNT_TABLE", "LEGACY_USER_TABLE", "LEGACY_CARD_TABLE"];
|
|
2
|
+
export declare type PaxpayFeature = typeof paxpayFeatures[number];
|
|
3
|
+
export declare namespace PaxpayFeature {
|
|
4
|
+
function is(value: unknown): value is PaxpayFeature;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const paxpayFeatures = [
|
|
2
|
+
"ALLOW_CARD_CREATION_WITH_NEGATIVE_BALANCE",
|
|
3
|
+
"FUZZY_SEARCH_COLLECTION_TRAVERSAL",
|
|
4
|
+
"BANK_TRANSFERS",
|
|
5
|
+
"BATCH_PAYMENTS",
|
|
6
|
+
"FIND_AND_AMEND",
|
|
7
|
+
"BETA_PORTAL_FEATURES",
|
|
8
|
+
"LEGACY_CARD_CREATE",
|
|
9
|
+
"LEGACY_CARD_DETAILS",
|
|
10
|
+
"LEGACY_CARD_SINGLE",
|
|
11
|
+
"LEGACY_ACCOUNT_TABLE",
|
|
12
|
+
"LEGACY_USER_TABLE",
|
|
13
|
+
"LEGACY_CARD_TABLE",
|
|
14
|
+
];
|
|
15
|
+
export var PaxpayFeature;
|
|
16
|
+
(function (PaxpayFeature) {
|
|
17
|
+
function is(value) {
|
|
18
|
+
return typeof value == "string" && paxpayFeatures.includes(value);
|
|
19
|
+
}
|
|
20
|
+
PaxpayFeature.is = is;
|
|
21
|
+
})(PaxpayFeature || (PaxpayFeature = {}));
|
|
22
|
+
//# sourceMappingURL=PaxpayFeature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaxpayFeature.js","sourceRoot":"../","sources":["model/PaxpayFeature.ts"],"names":[],"mappings":"AAAA,MAAM,cAAc,GAAG;IACtB,2CAA2C;IAC3C,mCAAmC;IACnC,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,sBAAsB;IACtB,oBAAoB;IACpB,qBAAqB;IACrB,oBAAoB;IACpB,sBAAsB;IACtB,mBAAmB;IACnB,mBAAmB;CACV,CAAA;AAIV,MAAM,KAAW,aAAa,CAI7B;AAJD,WAAiB,aAAa;IAC7B,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,cAAc,CAAC,QAAQ,CAAC,KAAsB,CAAC,CAAA;IACnF,CAAC;IAFe,gBAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,aAAa,KAAb,aAAa,QAI7B"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -102,6 +102,7 @@ import { PasswordChangeRequest } from "./PasswordChangeRequest";
|
|
|
102
102
|
import { PasswordResetResponse } from "./PasswordResetResponse";
|
|
103
103
|
import { PasswordValidateRequest } from "./PasswordValidateRequest";
|
|
104
104
|
import { PasswordValidateResponse } from "./PasswordValidateResponse";
|
|
105
|
+
import { PaxpayFeature } from "./PaxpayFeature";
|
|
105
106
|
import { Payload } from "./Payload";
|
|
106
107
|
import { PaymentMethodOptionResponse } from "./PaymentMethodOptionResponse";
|
|
107
108
|
import { PaymentOption } from "./PaymentOption";
|
|
@@ -160,4 +161,4 @@ import { UserRoleResponse } from "./UserRoleResponse";
|
|
|
160
161
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
161
162
|
import { UserStatus } from "./UserStatus";
|
|
162
163
|
import { YearMonth } from "./YearMonth";
|
|
163
|
-
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, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, 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, Range, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, SearchBeneficiaryRequest, StatementReportUrlRequest, StatementReportUrlResponse, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, 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, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
|
164
|
+
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, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitConfig, 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, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, SearchBeneficiaryRequest, StatementReportUrlRequest, StatementReportUrlResponse, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, 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, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/model/index.js
CHANGED
|
@@ -56,6 +56,7 @@ import { LoginResponse } from "./LoginResponse";
|
|
|
56
56
|
import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse";
|
|
57
57
|
import { OrganisationResponse } from "./OrganisationResponse";
|
|
58
58
|
import { Passengers } from "./Passengers";
|
|
59
|
+
import { PaxpayFeature } from "./PaxpayFeature";
|
|
59
60
|
import { ProviderCode } from "./ProviderCode";
|
|
60
61
|
import { ProviderResponse } from "./ProviderResponse";
|
|
61
62
|
import { References } from "./References";
|
|
@@ -82,5 +83,5 @@ import { UserRequest } from "./UserRequest";
|
|
|
82
83
|
import { UserResponse } from "./UserResponse";
|
|
83
84
|
import { UserStatus } from "./UserStatus";
|
|
84
85
|
import { YearMonth } from "./YearMonth";
|
|
85
|
-
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, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, 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, };
|
|
86
|
+
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, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, 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, };
|
|
86
87
|
//# 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;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,sCAAsC,EAAE,MAAM,0CAA0C,CAAA;AACjG,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAC7E,OAAO,EAAE,iB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,UAAU,EACV,4BAA4B,EAE5B,wBAAwB,EAGxB,kBAAkB,EAElB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAGT,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAKV,aAAa,EAKb,YAAY,EACZ,gBAAgB,EAEhB,UAAU,EAUV,OAAO,EAOP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,6BAA6B,EAC7B,0BAA0B,EAC1B,mBAAmB,EAEnB,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAE3B,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EAEzB,cAAc,EACd,eAAe,EAMf,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAC5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -104,6 +104,7 @@ import {
|
|
|
104
104
|
PasswordResetResponse,
|
|
105
105
|
PasswordValidateRequest,
|
|
106
106
|
PasswordValidateResponse,
|
|
107
|
+
PaxpayFeature,
|
|
107
108
|
Payload,
|
|
108
109
|
PaymentMethodOptionResponse,
|
|
109
110
|
PaymentOption,
|
|
@@ -269,6 +270,7 @@ export {
|
|
|
269
270
|
PasswordResetResponse,
|
|
270
271
|
PasswordValidateRequest,
|
|
271
272
|
PasswordValidateResponse,
|
|
273
|
+
PaxpayFeature,
|
|
272
274
|
Payload,
|
|
273
275
|
PaymentMethodOptionResponse,
|
|
274
276
|
PaymentOption,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const paxpayFeatures = [
|
|
2
|
+
"ALLOW_CARD_CREATION_WITH_NEGATIVE_BALANCE",
|
|
3
|
+
"FUZZY_SEARCH_COLLECTION_TRAVERSAL",
|
|
4
|
+
"BANK_TRANSFERS",
|
|
5
|
+
"BATCH_PAYMENTS",
|
|
6
|
+
"FIND_AND_AMEND",
|
|
7
|
+
"BETA_PORTAL_FEATURES",
|
|
8
|
+
"LEGACY_CARD_CREATE",
|
|
9
|
+
"LEGACY_CARD_DETAILS",
|
|
10
|
+
"LEGACY_CARD_SINGLE",
|
|
11
|
+
"LEGACY_ACCOUNT_TABLE",
|
|
12
|
+
"LEGACY_USER_TABLE",
|
|
13
|
+
"LEGACY_CARD_TABLE",
|
|
14
|
+
] as const
|
|
15
|
+
|
|
16
|
+
export type PaxpayFeature = typeof paxpayFeatures[number]
|
|
17
|
+
|
|
18
|
+
export namespace PaxpayFeature {
|
|
19
|
+
export function is(value: unknown): value is PaxpayFeature {
|
|
20
|
+
return typeof value == "string" && paxpayFeatures.includes(value as PaxpayFeature)
|
|
21
|
+
}
|
|
22
|
+
}
|
package/model/index.ts
CHANGED
|
@@ -102,6 +102,7 @@ import { PasswordChangeRequest } from "./PasswordChangeRequest"
|
|
|
102
102
|
import { PasswordResetResponse } from "./PasswordResetResponse"
|
|
103
103
|
import { PasswordValidateRequest } from "./PasswordValidateRequest"
|
|
104
104
|
import { PasswordValidateResponse } from "./PasswordValidateResponse"
|
|
105
|
+
import { PaxpayFeature } from "./PaxpayFeature"
|
|
105
106
|
import { Payload } from "./Payload"
|
|
106
107
|
import { PaymentMethodOptionResponse } from "./PaymentMethodOptionResponse"
|
|
107
108
|
import { PaymentOption } from "./PaymentOption"
|
|
@@ -265,6 +266,7 @@ export {
|
|
|
265
266
|
PasswordResetResponse,
|
|
266
267
|
PasswordValidateRequest,
|
|
267
268
|
PasswordValidateResponse,
|
|
269
|
+
PaxpayFeature,
|
|
268
270
|
Payload,
|
|
269
271
|
PaymentMethodOptionResponse,
|
|
270
272
|
PaymentOption,
|