@pax2pay/client 0.1.21 → 0.1.23
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/Configuration/index.ts +6 -2
- package/Client/index.ts +2 -2
- package/dist/Client/Configuration/index.d.ts +3 -3
- package/dist/Client/Configuration/index.js +4 -0
- package/dist/Client/Configuration/index.js.map +1 -1
- package/dist/Client/index.d.ts +1 -1
- package/dist/Client/index.js +1 -1
- package/dist/Client/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/CardDeliveryEmailConfig.d.ts +8 -0
- package/dist/model/CardDeliveryEmailConfig.js +10 -0
- package/dist/model/CardDeliveryEmailConfig.js.map +1 -0
- package/dist/model/CreateCardRequest.d.ts +1 -1
- package/dist/model/FundingLimitConfig.d.ts +7 -0
- package/dist/model/FundingLimitConfig.js +8 -0
- package/dist/model/FundingLimitConfig.js.map +1 -0
- package/dist/model/OrganisationConfig.d.ts +6 -0
- package/dist/model/index.d.ts +3 -1
- package/dist/model/index.js +3 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +4 -0
- package/model/CardDeliveryEmailConfig.ts +14 -0
- package/model/CreateCardRequest.ts +1 -1
- package/model/FundingLimitConfig.ts +9 -0
- package/model/OrganisationConfig.ts +6 -1
- package/model/index.ts +4 -0
- package/package.json +1 -1
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { Currency } from "isoly"
|
|
2
|
+
import * as model from "../../model"
|
|
2
3
|
import { Connection } from "../Connection"
|
|
3
|
-
|
|
4
4
|
export class Configuration {
|
|
5
5
|
protected folder = "config"
|
|
6
6
|
constructor(private readonly connection: Connection) {}
|
|
7
7
|
static create(connection: Connection) {
|
|
8
8
|
return new Configuration(connection)
|
|
9
9
|
}
|
|
10
|
-
async getAvailableCurrency() {
|
|
10
|
+
async getAvailableCurrency(): Promise<Currency[] | model.ErrorResponse> {
|
|
11
11
|
const result = await this.connection.get<Currency[]>(`config/currencies`)
|
|
12
12
|
return result
|
|
13
13
|
}
|
|
14
|
+
async getConfigurationFor(type: string): Promise<model.OrganisationConfig | model.ErrorResponse> {
|
|
15
|
+
const result = await this.connection.get<model.OrganisationConfig>(`config/${type}`)
|
|
16
|
+
return result
|
|
17
|
+
}
|
|
14
18
|
}
|
package/Client/index.ts
CHANGED
|
@@ -39,8 +39,8 @@ export class Client {
|
|
|
39
39
|
constructor(private connection: Connection, private $authenticate?: Authenticate) {
|
|
40
40
|
connection.unauthorized = async () => (await this.$authenticate?.(this)) ?? false
|
|
41
41
|
}
|
|
42
|
-
static create(url: string
|
|
43
|
-
const connection =
|
|
42
|
+
static create(url: string, token?: string | Authenticate) {
|
|
43
|
+
const connection = Connection.open(url, typeof token == "string" ? token : undefined)
|
|
44
44
|
return connection && new Client(connection, typeof token == "string" ? undefined : token)
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Currency } from "isoly";
|
|
2
|
+
import * as model from "../../model";
|
|
2
3
|
import { Connection } from "../Connection";
|
|
3
4
|
export declare class Configuration {
|
|
4
5
|
private readonly connection;
|
|
5
6
|
protected folder: string;
|
|
6
7
|
constructor(connection: Connection);
|
|
7
8
|
static create(connection: Connection): Configuration;
|
|
8
|
-
getAvailableCurrency(): Promise<Currency[] |
|
|
9
|
-
|
|
10
|
-
})>;
|
|
9
|
+
getAvailableCurrency(): Promise<Currency[] | model.ErrorResponse>;
|
|
10
|
+
getConfigurationFor(type: string): Promise<model.OrganisationConfig | model.ErrorResponse>;
|
|
11
11
|
}
|
|
@@ -10,5 +10,9 @@ export class Configuration {
|
|
|
10
10
|
const result = await this.connection.get(`config/currencies`);
|
|
11
11
|
return result;
|
|
12
12
|
}
|
|
13
|
+
async getConfigurationFor(type) {
|
|
14
|
+
const result = await this.connection.get(`config/${type}`);
|
|
15
|
+
return result;
|
|
16
|
+
}
|
|
13
17
|
}
|
|
14
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Configuration/index.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,aAAa;IAEzB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QADzC,WAAM,GAAG,QAAQ,CAAA;IAC2B,CAAC;IACvD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,aAAa,CAAC,UAAU,CAAC,CAAA;IACrC,CAAC;IACD,KAAK,CAAC,oBAAoB;QACzB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAa,mBAAmB,CAAC,CAAA;QACzE,OAAO,MAAM,CAAA;IACd,CAAC;CACD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Configuration/index.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,aAAa;IAEzB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QADzC,WAAM,GAAG,QAAQ,CAAA;IAC2B,CAAC;IACvD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,aAAa,CAAC,UAAU,CAAC,CAAA;IACrC,CAAC;IACD,KAAK,CAAC,oBAAoB;QACzB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAa,mBAAmB,CAAC,CAAA;QACzE,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,mBAAmB,CAAC,IAAY;QACrC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAA2B,UAAU,IAAI,EAAE,CAAC,CAAA;QACpF,OAAO,MAAM,CAAA;IACd,CAAC;CACD"}
|
package/dist/Client/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare class Client {
|
|
|
35
35
|
reports: ClientReports;
|
|
36
36
|
transfers: ClientTransfers;
|
|
37
37
|
constructor(connection: Connection, $authenticate?: Authenticate | undefined);
|
|
38
|
-
static create(url: string
|
|
38
|
+
static create(url: string, token?: string | Authenticate): Client;
|
|
39
39
|
}
|
|
40
40
|
export declare namespace Client {
|
|
41
41
|
type Account = ClientAccount;
|
package/dist/Client/index.js
CHANGED
|
@@ -31,7 +31,7 @@ export class Client {
|
|
|
31
31
|
this.$authenticate = value;
|
|
32
32
|
}
|
|
33
33
|
static create(url, token) {
|
|
34
|
-
const connection =
|
|
34
|
+
const connection = Connection.open(url, typeof token == "string" ? token : undefined);
|
|
35
35
|
return connection && new Client(connection, typeof token == "string" ? undefined : token);
|
|
36
36
|
}
|
|
37
37
|
}
|
package/dist/Client/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAEtE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE7D,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;AAG9C,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAEtE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,WAAW,CAAA;AAEpD,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,aAAa,CAAA;AAE1D,OAAO,EAAE,KAA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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, CardForm, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, 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, 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, StatementReportUrlRequest, StatementReportUrlResponse, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, 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, 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, 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, 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, CardSearchRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, 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, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, 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, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, 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, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementReportUrlResponse, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, 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, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, 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, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, CardSearchRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, 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, 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, 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, EmailValidationResponse, 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, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, 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, EmailValidationResponse, 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, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, 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, SummaryBookingInfoResponse, SupplierBookingInfo, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, 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, SummaryBookingInfoResponse, SupplierBookingInfo, TransferDestinationInfo, TransferResponse, 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,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,EAGpB,2BAA2B,EAE3B,oCAAoC,EAEpC,QAAQ,EAKR,qBAAqB,EACrB,yBAAyB,EAgBzB,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,6BAA6B,EAE7B,yBAAyB,EACzB,UAAU,EACV,4BAA4B,EAE5B,wBAAwB,
|
|
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,uBAAuB,EACvB,mBAAmB,EACnB,o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,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,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EASV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAUV,OAAO,EAMP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAC1B,mBAAmB,EAGnB,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EACd,eAAe,EAMf,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAC5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface CardDeliveryEmailConfig {
|
|
2
|
+
contactEmail?: string;
|
|
3
|
+
useContactEmailAsReplyTo?: boolean;
|
|
4
|
+
contactPhoneNumber?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare namespace CardDeliveryEmailConfig {
|
|
7
|
+
function is(value: CardDeliveryEmailConfig | any): value is CardDeliveryEmailConfig;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export var CardDeliveryEmailConfig;
|
|
2
|
+
(function (CardDeliveryEmailConfig) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return ((typeof value.contactEmail == "string" || value.contactEmail == undefined) &&
|
|
5
|
+
(typeof value.useContactEmailAsReplyTo == "string" || value.useContactEmailAsReplyTo == undefined) &&
|
|
6
|
+
(typeof value.contactPhoneNumber == "string" || value.contactPhoneNumber == undefined));
|
|
7
|
+
}
|
|
8
|
+
CardDeliveryEmailConfig.is = is;
|
|
9
|
+
})(CardDeliveryEmailConfig || (CardDeliveryEmailConfig = {}));
|
|
10
|
+
//# sourceMappingURL=CardDeliveryEmailConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardDeliveryEmailConfig.js","sourceRoot":"../","sources":["model/CardDeliveryEmailConfig.ts"],"names":[],"mappings":"AAKA,MAAM,KAAW,uBAAuB,CAQvC;AARD,WAAiB,uBAAuB;IACvC,SAAgB,EAAE,CAAC,KAAoC;QACtD,OAAO,CACN,CAAC,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,IAAI,KAAK,CAAC,YAAY,IAAI,SAAS,CAAC;YAC1E,CAAC,OAAO,KAAK,CAAC,wBAAwB,IAAI,QAAQ,IAAI,KAAK,CAAC,wBAAwB,IAAI,SAAS,CAAC;YAClG,CAAC,OAAO,KAAK,CAAC,kBAAkB,IAAI,QAAQ,IAAI,KAAK,CAAC,kBAAkB,IAAI,SAAS,CAAC,CACtF,CAAA;IACF,CAAC;IANe,0BAAE,KAMjB,CAAA;AACF,CAAC,EARgB,uBAAuB,KAAvB,uBAAuB,QAQvC"}
|
|
@@ -14,7 +14,7 @@ export interface CreateCardRequest {
|
|
|
14
14
|
currency: string;
|
|
15
15
|
fundingDate?: string;
|
|
16
16
|
expiryDate?: any;
|
|
17
|
-
usage?: "SINGLE_USE" | "MULTIPLE_USE";
|
|
17
|
+
usage?: "SINGLE_USE" | "MULTIPLE_USE" | "SINGLE_USE_ALLOW_TEST_AUTH";
|
|
18
18
|
schedule?: (CardAmendmentScheduledTaskRequest | CardStateChangeScheduledTaskRequest | ScheduledTaskRequest)[];
|
|
19
19
|
friendlyName?: string;
|
|
20
20
|
delivery?: CardDeliveryRequest;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export var FundingLimitConfig;
|
|
2
|
+
(function (FundingLimitConfig) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return value.type == "ON_THRESHOLD" || value.type == "TIME_ONLY" || value.type == "ON_THRESHOLD_AND_TIMED";
|
|
5
|
+
}
|
|
6
|
+
FundingLimitConfig.is = is;
|
|
7
|
+
})(FundingLimitConfig || (FundingLimitConfig = {}));
|
|
8
|
+
//# sourceMappingURL=FundingLimitConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FundingLimitConfig.js","sourceRoot":"../","sources":["model/FundingLimitConfig.ts"],"names":[],"mappings":"AAIA,MAAM,KAAW,kBAAkB,CAIlC;AAJD,WAAiB,kBAAkB;IAClC,SAAgB,EAAE,CAAC,KAA+B;QACjD,OAAO,KAAK,CAAC,IAAI,IAAI,cAAc,IAAI,KAAK,CAAC,IAAI,IAAI,WAAW,IAAI,KAAK,CAAC,IAAI,IAAI,wBAAwB,CAAA;IAC3G,CAAC;IAFe,qBAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,kBAAkB,KAAlB,kBAAkB,QAIlC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import { CardDeliveryEmailConfig } from "./CardDeliveryEmailConfig";
|
|
1
2
|
import { CardTypesConfig } from "./CardTypesConfig";
|
|
2
3
|
import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccountInboundTransferNotificationConfig";
|
|
4
|
+
import { FundingLimitConfig } from "./FundingLimitConfig";
|
|
3
5
|
export interface OrganisationConfig {
|
|
4
6
|
showDefaultRolesets?: boolean;
|
|
7
|
+
defaultModulrUsage?: "SINGLE_USE" | "SINGLE_USE_ALLOW_TEST_AUTH" | "MULTIPLE_USE";
|
|
8
|
+
defaultExpiryMonthDelta?: number;
|
|
5
9
|
cardTypes?: CardTypesConfig;
|
|
6
10
|
inboundTransferConfig?: FundingAccountInboundTransferNotificationConfig;
|
|
11
|
+
fundingLimitConfig?: FundingLimitConfig;
|
|
12
|
+
cardDeliveryEmailConfig?: CardDeliveryEmailConfig;
|
|
7
13
|
}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
|
21
21
|
import { BookingInfoType } from "./BookingInfoType";
|
|
22
22
|
import { CardAmendmentScheduledTaskRequest } from "./CardAmendmentScheduledTaskRequest";
|
|
23
23
|
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
|
|
24
|
+
import { CardDeliveryEmailConfig } from "./CardDeliveryEmailConfig";
|
|
24
25
|
import { CardDeliveryRequest } from "./CardDeliveryRequest";
|
|
25
26
|
import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
26
27
|
import { CardForm } from "./CardForm";
|
|
@@ -73,6 +74,7 @@ import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccoun
|
|
|
73
74
|
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2";
|
|
74
75
|
import { FundingAccountSearchRequest } from "./FundingAccountSearchRequest";
|
|
75
76
|
import { FundingAccountSearchResponse } from "./FundingAccountSearchResponse";
|
|
77
|
+
import { FundingLimitConfig } from "./FundingLimitConfig";
|
|
76
78
|
import { FundingLimitRequest } from "./FundingLimitRequest";
|
|
77
79
|
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
78
80
|
import { HotelBookingInfoRequest } from "./HotelBookingInfoRequest";
|
|
@@ -150,4 +152,4 @@ import { UserRoleResponse } from "./UserRoleResponse";
|
|
|
150
152
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
151
153
|
import { UserStatus } from "./UserStatus";
|
|
152
154
|
import { YearMonth } from "./YearMonth";
|
|
153
|
-
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, 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, 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, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, 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, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
|
155
|
+
export { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, 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, 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, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, 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, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/model/index.js
CHANGED
|
@@ -15,6 +15,7 @@ import { BookingInfo } from "./BookingInfo";
|
|
|
15
15
|
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
16
16
|
import { BookingInfoType } from "./BookingInfoType";
|
|
17
17
|
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
|
|
18
|
+
import { CardDeliveryEmailConfig } from "./CardDeliveryEmailConfig";
|
|
18
19
|
import { CardDeliveryRequest } from "./CardDeliveryRequest";
|
|
19
20
|
import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
20
21
|
import { CardForm } from "./CardForm";
|
|
@@ -38,6 +39,7 @@ import { FlightBookingInfoResponse } from "./FlightBookingInfoResponse";
|
|
|
38
39
|
import { FlightInfo } from "./FlightInfo";
|
|
39
40
|
import { FundingAccountIdentifierType } from "./FundingAccountIdentifierType";
|
|
40
41
|
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2";
|
|
42
|
+
import { FundingLimitConfig } from "./FundingLimitConfig";
|
|
41
43
|
import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
42
44
|
import { HotelBookingInfoRequest } from "./HotelBookingInfoRequest";
|
|
43
45
|
import { HotelBookingInfoResponse } from "./HotelBookingInfoResponse";
|
|
@@ -71,5 +73,5 @@ import { UserRequest } from "./UserRequest";
|
|
|
71
73
|
import { UserResponse } from "./UserResponse";
|
|
72
74
|
import { UserStatus } from "./UserStatus";
|
|
73
75
|
import { YearMonth } from "./YearMonth";
|
|
74
|
-
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, EmailValidationResponse, 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, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
76
|
+
export { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, 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, SummaryBookingInfoResponse, SupplierBookingInfo, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
75
77
|
//# sourceMappingURL=index.js.map
|
package/dist/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,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,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,EACf,uBAAuB,EAEvB,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,0BAA0B,EAE1B,YAAY,EACZ,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAGpC,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,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EASV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAUV,OAAO,EAMP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAC1B,mBAAmB,EAGnB,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EACd,eAAe,EAMf,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAC5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
BookingInfoType,
|
|
24
24
|
CardAmendmentScheduledTaskRequest,
|
|
25
25
|
CardAmendmentScheduledTaskResponse,
|
|
26
|
+
CardDeliveryEmailConfig,
|
|
26
27
|
CardDeliveryRequest,
|
|
27
28
|
CardDeliveryResponse,
|
|
28
29
|
CardForm,
|
|
@@ -75,6 +76,7 @@ import {
|
|
|
75
76
|
FundingAccountResponseV2,
|
|
76
77
|
FundingAccountSearchRequest,
|
|
77
78
|
FundingAccountSearchResponse,
|
|
79
|
+
FundingLimitConfig,
|
|
78
80
|
FundingLimitRequest,
|
|
79
81
|
FundingLimitResponse,
|
|
80
82
|
HotelBookingInfoRequest,
|
|
@@ -179,6 +181,7 @@ export {
|
|
|
179
181
|
BookingInfoType,
|
|
180
182
|
CardAmendmentScheduledTaskRequest,
|
|
181
183
|
CardAmendmentScheduledTaskResponse,
|
|
184
|
+
CardDeliveryEmailConfig,
|
|
182
185
|
CardDeliveryRequest,
|
|
183
186
|
CardDeliveryResponse,
|
|
184
187
|
CardForm,
|
|
@@ -230,6 +233,7 @@ export {
|
|
|
230
233
|
FundingAccountResponseV2,
|
|
231
234
|
FundingAccountSearchRequest,
|
|
232
235
|
FundingAccountSearchResponse,
|
|
236
|
+
FundingLimitConfig,
|
|
233
237
|
FundingLimitRequest,
|
|
234
238
|
FundingLimitResponse,
|
|
235
239
|
HotelBookingInfoRequest,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface CardDeliveryEmailConfig {
|
|
2
|
+
contactEmail?: string
|
|
3
|
+
useContactEmailAsReplyTo?: boolean
|
|
4
|
+
contactPhoneNumber?: string
|
|
5
|
+
}
|
|
6
|
+
export namespace CardDeliveryEmailConfig {
|
|
7
|
+
export function is(value: CardDeliveryEmailConfig | any): value is CardDeliveryEmailConfig {
|
|
8
|
+
return (
|
|
9
|
+
(typeof value.contactEmail == "string" || value.contactEmail == undefined) &&
|
|
10
|
+
(typeof value.useContactEmailAsReplyTo == "string" || value.useContactEmailAsReplyTo == undefined) &&
|
|
11
|
+
(typeof value.contactPhoneNumber == "string" || value.contactPhoneNumber == undefined)
|
|
12
|
+
)
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -18,7 +18,7 @@ export interface CreateCardRequest {
|
|
|
18
18
|
currency: string
|
|
19
19
|
fundingDate?: string
|
|
20
20
|
expiryDate?: any
|
|
21
|
-
usage?: "SINGLE_USE" | "MULTIPLE_USE"
|
|
21
|
+
usage?: "SINGLE_USE" | "MULTIPLE_USE" | "SINGLE_USE_ALLOW_TEST_AUTH"
|
|
22
22
|
schedule?: (CardAmendmentScheduledTaskRequest | CardStateChangeScheduledTaskRequest | ScheduledTaskRequest)[]
|
|
23
23
|
friendlyName?: string
|
|
24
24
|
delivery?: CardDeliveryRequest
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface FundingLimitConfig {
|
|
2
|
+
type: "ON_THRESHOLD" | "TIMED_ONLY" | "ON_THRESHOLD_AND_TIMED"
|
|
3
|
+
limits?: any
|
|
4
|
+
}
|
|
5
|
+
export namespace FundingLimitConfig {
|
|
6
|
+
export function is(value: FundingLimitConfig | any): value is FundingLimitConfig {
|
|
7
|
+
return value.type == "ON_THRESHOLD" || value.type == "TIME_ONLY" || value.type == "ON_THRESHOLD_AND_TIMED"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
import { CardDeliveryEmailConfig } from "./CardDeliveryEmailConfig"
|
|
1
2
|
import { CardTypesConfig } from "./CardTypesConfig"
|
|
2
3
|
import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccountInboundTransferNotificationConfig"
|
|
3
|
-
|
|
4
|
+
import { FundingLimitConfig } from "./FundingLimitConfig"
|
|
4
5
|
/**
|
|
5
6
|
* Organisation config, optional
|
|
6
7
|
*/
|
|
7
8
|
export interface OrganisationConfig {
|
|
8
9
|
showDefaultRolesets?: boolean
|
|
10
|
+
defaultModulrUsage?: "SINGLE_USE" | "SINGLE_USE_ALLOW_TEST_AUTH" | "MULTIPLE_USE"
|
|
11
|
+
defaultExpiryMonthDelta?: number
|
|
9
12
|
cardTypes?: CardTypesConfig
|
|
10
13
|
inboundTransferConfig?: FundingAccountInboundTransferNotificationConfig
|
|
14
|
+
fundingLimitConfig?: FundingLimitConfig
|
|
15
|
+
cardDeliveryEmailConfig?: CardDeliveryEmailConfig
|
|
11
16
|
}
|
package/model/index.ts
CHANGED
|
@@ -21,6 +21,7 @@ import { BookingInfoResponse } from "./BookingInfoResponse"
|
|
|
21
21
|
import { BookingInfoType } from "./BookingInfoType"
|
|
22
22
|
import { CardAmendmentScheduledTaskRequest } from "./CardAmendmentScheduledTaskRequest"
|
|
23
23
|
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse"
|
|
24
|
+
import { CardDeliveryEmailConfig } from "./CardDeliveryEmailConfig"
|
|
24
25
|
import { CardDeliveryRequest } from "./CardDeliveryRequest"
|
|
25
26
|
import { CardDeliveryResponse } from "./CardDeliveryResponse"
|
|
26
27
|
import { CardForm } from "./CardForm"
|
|
@@ -73,6 +74,7 @@ import { FundingAccountInboundTransferNotificationConfig } from "./FundingAccoun
|
|
|
73
74
|
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2"
|
|
74
75
|
import { FundingAccountSearchRequest } from "./FundingAccountSearchRequest"
|
|
75
76
|
import { FundingAccountSearchResponse } from "./FundingAccountSearchResponse"
|
|
77
|
+
import { FundingLimitConfig } from "./FundingLimitConfig"
|
|
76
78
|
import { FundingLimitRequest } from "./FundingLimitRequest"
|
|
77
79
|
import { FundingLimitResponse } from "./FundingLimitResponse"
|
|
78
80
|
import { HotelBookingInfoRequest } from "./HotelBookingInfoRequest"
|
|
@@ -173,6 +175,7 @@ export {
|
|
|
173
175
|
BookingInfoRequest,
|
|
174
176
|
BookingInfoResponse,
|
|
175
177
|
BookingInfoType,
|
|
178
|
+
CardDeliveryEmailConfig,
|
|
176
179
|
CardAmendmentScheduledTaskRequest,
|
|
177
180
|
CardAmendmentScheduledTaskResponse,
|
|
178
181
|
CardDeliveryRequest,
|
|
@@ -226,6 +229,7 @@ export {
|
|
|
226
229
|
FundingAccountResponseV2,
|
|
227
230
|
FundingAccountSearchRequest,
|
|
228
231
|
FundingAccountSearchResponse,
|
|
232
|
+
FundingLimitConfig,
|
|
229
233
|
FundingLimitRequest,
|
|
230
234
|
FundingLimitResponse,
|
|
231
235
|
HotelBookingInfoRequest,
|