@pax2pay/client 0.3.126 → 0.3.127
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/Metadata/index.ts +63 -0
- package/Client/index.ts +3 -0
- package/dist/Client/Metadata/index.d.ts +13 -0
- package/dist/Client/Metadata/index.js +27 -0
- package/dist/Client/Metadata/index.js.map +1 -0
- package/dist/Client/index.d.ts +3 -0
- package/dist/Client/index.js +2 -0
- package/dist/Client/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/MetadataFormat/Field/Validation.d.ts +21 -0
- package/dist/model/MetadataFormat/Field/Validation.js +27 -0
- package/dist/model/MetadataFormat/Field/Validation.js.map +1 -0
- package/dist/model/MetadataFormat/Field/ValueCategory.d.ts +7 -0
- package/dist/model/MetadataFormat/Field/ValueCategory.js +8 -0
- package/dist/model/MetadataFormat/Field/ValueCategory.js.map +1 -0
- package/dist/model/MetadataFormat/Field/ValueType.d.ts +7 -0
- package/dist/model/MetadataFormat/Field/ValueType.js +8 -0
- package/dist/model/MetadataFormat/Field/ValueType.js.map +1 -0
- package/dist/model/MetadataFormat/Field/index.d.ts +58 -0
- package/dist/model/MetadataFormat/Field/index.js +59 -0
- package/dist/model/MetadataFormat/Field/index.js.map +1 -0
- package/dist/model/MetadataFormat/Request.d.ts +14 -0
- package/dist/model/MetadataFormat/Request.js +16 -0
- package/dist/model/MetadataFormat/Request.js.map +1 -0
- package/dist/model/MetadataFormat/Response.d.ts +15 -0
- package/dist/model/MetadataFormat/Response.js +17 -0
- package/dist/model/MetadataFormat/Response.js.map +1 -0
- package/dist/model/MetadataFormat/Search.d.ts +11 -0
- package/dist/model/MetadataFormat/Search.js +13 -0
- package/dist/model/MetadataFormat/Search.js.map +1 -0
- package/dist/model/MetadataFormat/SubFormatType.d.ts +8 -0
- package/dist/model/MetadataFormat/SubFormatType.js +12 -0
- package/dist/model/MetadataFormat/SubFormatType.js.map +1 -0
- package/dist/model/MetadataFormat/SubFormats.d.ts +8 -0
- package/dist/model/MetadataFormat/SubFormats.js +10 -0
- package/dist/model/MetadataFormat/SubFormats.js.map +1 -0
- package/dist/model/MetadataFormat/index.d.ts +12 -0
- package/dist/model/MetadataFormat/index.js +14 -0
- package/dist/model/MetadataFormat/index.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/MetadataFormat/Field/Validation.ts +34 -0
- package/model/MetadataFormat/Field/ValueCategory.ts +9 -0
- package/model/MetadataFormat/Field/ValueType.ts +9 -0
- package/model/MetadataFormat/Field/index.ts +90 -0
- package/model/MetadataFormat/Request.ts +24 -0
- package/model/MetadataFormat/Response.ts +26 -0
- package/model/MetadataFormat/Search.ts +19 -0
- package/model/MetadataFormat/SubFormatType.ts +11 -0
- package/model/MetadataFormat/SubFormats.ts +15 -0
- package/model/MetadataFormat/index.ts +13 -0
- package/model/index.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ErrorResponse, MetadataFormat } from "../../model"
|
|
2
|
+
import { Connection } from "../Connection"
|
|
3
|
+
import { List } from "../List"
|
|
4
|
+
import { Paginated } from "../Paginated"
|
|
5
|
+
|
|
6
|
+
export class Metadata extends List<MetadataFormat.Response> {
|
|
7
|
+
protected folder = "metadata" as const
|
|
8
|
+
constructor(connection: Connection) {
|
|
9
|
+
super(connection)
|
|
10
|
+
}
|
|
11
|
+
static create(connection: Connection): Metadata {
|
|
12
|
+
return new Metadata(connection)
|
|
13
|
+
}
|
|
14
|
+
async getFormats(organisationCode?: string): Promise<MetadataFormat.Response[] | ErrorResponse> {
|
|
15
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined
|
|
16
|
+
return await this.connection.get<MetadataFormat.Response[]>(`${this.folder}/format`, undefined, header)
|
|
17
|
+
}
|
|
18
|
+
async saveFormat(
|
|
19
|
+
request: MetadataFormat.Request,
|
|
20
|
+
organisationCode?: string
|
|
21
|
+
): Promise<MetadataFormat.Response | ErrorResponse> {
|
|
22
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined
|
|
23
|
+
return await this.connection.post<MetadataFormat.Response>(`${this.folder}/format`, request, undefined, header)
|
|
24
|
+
}
|
|
25
|
+
async searchFormats(
|
|
26
|
+
request: MetadataFormat.Search,
|
|
27
|
+
previous?: Paginated<MetadataFormat.Response>,
|
|
28
|
+
page?: number,
|
|
29
|
+
size?: number,
|
|
30
|
+
sort?: string,
|
|
31
|
+
includeCount = true,
|
|
32
|
+
organisationCode?: string
|
|
33
|
+
): Promise<ErrorResponse | Paginated<MetadataFormat.Response>> {
|
|
34
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined
|
|
35
|
+
return await this.getNextPaginated<MetadataFormat.Response>(
|
|
36
|
+
previous,
|
|
37
|
+
(page, size, sort, request) =>
|
|
38
|
+
this.connection.post<MetadataFormat.Response[]>(
|
|
39
|
+
`${this.folder}/format/searches`,
|
|
40
|
+
request,
|
|
41
|
+
{ page, size, sort, includeCount },
|
|
42
|
+
header
|
|
43
|
+
),
|
|
44
|
+
request,
|
|
45
|
+
page,
|
|
46
|
+
size,
|
|
47
|
+
sort
|
|
48
|
+
)
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
async getFormat(
|
|
52
|
+
name: string,
|
|
53
|
+
version?: number,
|
|
54
|
+
organisationCode?: string
|
|
55
|
+
): Promise<MetadataFormat.Response | ErrorResponse> {
|
|
56
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined
|
|
57
|
+
return await this.connection.get<MetadataFormat.Response>(
|
|
58
|
+
`${this.folder}/format/${name}${typeof version == "number" ? `/${version}` : ""}`,
|
|
59
|
+
undefined,
|
|
60
|
+
header
|
|
61
|
+
)
|
|
62
|
+
}
|
|
63
|
+
}
|
package/Client/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { Currency as ClientCurrency } from "./Currency"
|
|
|
10
10
|
import { Email as ClientEmail } from "./Email"
|
|
11
11
|
import { List as ClientList } from "./List"
|
|
12
12
|
import { Merchants as ClientMerchants } from "./Merchants"
|
|
13
|
+
import { Metadata as ClientMetadata } from "./Metadata"
|
|
13
14
|
import { Omnisetup as ClientOmnisetup } from "./Omnisetup"
|
|
14
15
|
import { Organisations as ClientOrganisations } from "./Organisations"
|
|
15
16
|
import { Paginated as ClientPaginated } from "./Paginated"
|
|
@@ -34,6 +35,7 @@ export class Client {
|
|
|
34
35
|
currency = ClientCurrency.create(this.connection)
|
|
35
36
|
email = ClientEmail.create(this.connection)
|
|
36
37
|
merchants = ClientMerchants.create(this.connection)
|
|
38
|
+
metadata = ClientMetadata.create(this.connection)
|
|
37
39
|
omnisetup = ClientOmnisetup.create(this.connection)
|
|
38
40
|
organisations = ClientOrganisations.create(this.connection)
|
|
39
41
|
payments = ClientPayments.create(this.connection)
|
|
@@ -67,6 +69,7 @@ export namespace Client {
|
|
|
67
69
|
export type Currency = ClientCurrency
|
|
68
70
|
export type Email = ClientEmail
|
|
69
71
|
export type Merchants = ClientMerchants
|
|
72
|
+
export type Metadata = ClientMetadata
|
|
70
73
|
export type Omnisetup = ClientOmnisetup
|
|
71
74
|
export type Organisations = ClientOrganisations
|
|
72
75
|
export type Payments = ClientPayments
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ErrorResponse, MetadataFormat } from "../../model";
|
|
2
|
+
import { Connection } from "../Connection";
|
|
3
|
+
import { List } from "../List";
|
|
4
|
+
import { Paginated } from "../Paginated";
|
|
5
|
+
export declare class Metadata extends List<MetadataFormat.Response> {
|
|
6
|
+
protected folder: "metadata";
|
|
7
|
+
constructor(connection: Connection);
|
|
8
|
+
static create(connection: Connection): Metadata;
|
|
9
|
+
getFormats(organisationCode?: string): Promise<MetadataFormat.Response[] | ErrorResponse>;
|
|
10
|
+
saveFormat(request: MetadataFormat.Request, organisationCode?: string): Promise<MetadataFormat.Response | ErrorResponse>;
|
|
11
|
+
searchFormats(request: MetadataFormat.Search, previous?: Paginated<MetadataFormat.Response>, page?: number, size?: number, sort?: string, includeCount?: boolean, organisationCode?: string): Promise<ErrorResponse | Paginated<MetadataFormat.Response>>;
|
|
12
|
+
getFormat(name: string, version?: number, organisationCode?: string): Promise<MetadataFormat.Response | ErrorResponse>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { List } from "../List";
|
|
2
|
+
export class Metadata extends List {
|
|
3
|
+
constructor(connection) {
|
|
4
|
+
super(connection);
|
|
5
|
+
this.folder = "metadata";
|
|
6
|
+
}
|
|
7
|
+
static create(connection) {
|
|
8
|
+
return new Metadata(connection);
|
|
9
|
+
}
|
|
10
|
+
async getFormats(organisationCode) {
|
|
11
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined;
|
|
12
|
+
return await this.connection.get(`${this.folder}/format`, undefined, header);
|
|
13
|
+
}
|
|
14
|
+
async saveFormat(request, organisationCode) {
|
|
15
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined;
|
|
16
|
+
return await this.connection.post(`${this.folder}/format`, request, undefined, header);
|
|
17
|
+
}
|
|
18
|
+
async searchFormats(request, previous, page, size, sort, includeCount = true, organisationCode) {
|
|
19
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined;
|
|
20
|
+
return await this.getNextPaginated(previous, (page, size, sort, request) => this.connection.post(`${this.folder}/format/searches`, request, { page, size, sort, includeCount }, header), request, page, size, sort);
|
|
21
|
+
}
|
|
22
|
+
async getFormat(name, version, organisationCode) {
|
|
23
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined;
|
|
24
|
+
return await this.connection.get(`${this.folder}/format/${name}${typeof version == "number" ? `/${version}` : ""}`, undefined, header);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client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AE,IAAI,EAAE,OAAO,EAAE,EAAE,CAC7B,IAAI,CAAC,UAAU,CAAC,IAAI,CACnB,GAAG,IAAI,CAAC,MAAM,kBAAkB,EAChC,OAAO,EACP,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,EAClC,MAAM,CACN,EACF,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,CACJ,CAAA;IACF,CAAC;IAED,KAAK,CAAC,SAAS,CACd,IAAY,EACZ,OAAgB,EAChB,gBAAyB;QAEzB,MAAM,MAAM,GAAG,gBAAgB,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;QAC9E,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAC/B,GAAG,IAAI,CAAC,MAAM,WAAW,IAAI,GAAG,OAAO,OAAO,IAAI,QAAQ,CAAC,CAAC,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,EACjF,SAAS,EACT,MAAM,CACN,CAAA;IACF,CAAC;CACD"}
|
package/dist/Client/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { Currency as ClientCurrency } from "./Currency";
|
|
|
10
10
|
import { Email as ClientEmail } from "./Email";
|
|
11
11
|
import { List as ClientList } from "./List";
|
|
12
12
|
import { Merchants as ClientMerchants } from "./Merchants";
|
|
13
|
+
import { Metadata as ClientMetadata } from "./Metadata";
|
|
13
14
|
import { Omnisetup as ClientOmnisetup } from "./Omnisetup";
|
|
14
15
|
import { Organisations as ClientOrganisations } from "./Organisations";
|
|
15
16
|
import { Paginated as ClientPaginated } from "./Paginated";
|
|
@@ -32,6 +33,7 @@ export declare class Client {
|
|
|
32
33
|
currency: ClientCurrency;
|
|
33
34
|
email: ClientEmail;
|
|
34
35
|
merchants: ClientMerchants;
|
|
36
|
+
metadata: ClientMetadata;
|
|
35
37
|
omnisetup: ClientOmnisetup;
|
|
36
38
|
organisations: ClientOrganisations;
|
|
37
39
|
payments: ClientPayments;
|
|
@@ -54,6 +56,7 @@ export declare namespace Client {
|
|
|
54
56
|
type Currency = ClientCurrency;
|
|
55
57
|
type Email = ClientEmail;
|
|
56
58
|
type Merchants = ClientMerchants;
|
|
59
|
+
type Metadata = ClientMetadata;
|
|
57
60
|
type Omnisetup = ClientOmnisetup;
|
|
58
61
|
type Organisations = ClientOrganisations;
|
|
59
62
|
type Payments = ClientPayments;
|
package/dist/Client/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import { Connection } from "./Connection";
|
|
|
9
9
|
import { Currency as ClientCurrency } from "./Currency";
|
|
10
10
|
import { Email as ClientEmail } from "./Email";
|
|
11
11
|
import { Merchants as ClientMerchants } from "./Merchants";
|
|
12
|
+
import { Metadata as ClientMetadata } from "./Metadata";
|
|
12
13
|
import { Omnisetup as ClientOmnisetup } from "./Omnisetup";
|
|
13
14
|
import { Organisations as ClientOrganisations } from "./Organisations";
|
|
14
15
|
import { Payments as ClientPayments } from "./Payments";
|
|
@@ -32,6 +33,7 @@ export class Client {
|
|
|
32
33
|
this.currency = ClientCurrency.create(this.connection);
|
|
33
34
|
this.email = ClientEmail.create(this.connection);
|
|
34
35
|
this.merchants = ClientMerchants.create(this.connection);
|
|
36
|
+
this.metadata = ClientMetadata.create(this.connection);
|
|
35
37
|
this.omnisetup = ClientOmnisetup.create(this.connection);
|
|
36
38
|
this.organisations = ClientOrganisations.create(this.connection);
|
|
37
39
|
this.payments = ClientPayments.create(this.connection);
|
package/dist/Client/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAA;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M,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QACjD,YAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QAG9C,UAAU,CAAC,YAAY,GAAG,KAAK,IAAI,EAAE,eAAC,OAAA,MAAA,CAAC,MAAM,CAAA,MAAA,IAAI,CAAC,aAAa,qDAAG,IAAI,CAAC,CAAA,CAAC,mCAAI,KAAK,CAAA,EAAA,CAAA;IAClF,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,GAAW,EAAE,KAA6B;QACvD,MAAM,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;QACrF,OAAO,UAAU,IAAI,IAAI,MAAM,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;IAC1F,CAAC;IACD,SAAS,CAAC,OAAe;QACxB,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QAC3E,SAAS,CAAC,UAAU,CAAC,UAAU,GAAG,OAAO,CAAA;QACzC,OAAO,SAAS,CAAA;IACjB,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, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateCardTypeProfileRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantSearchRequest, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, ReconciliationReportUrlRequest, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, SearchRolesetsRequest, SecurityConfig, Segment, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementReportUrlRequest, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardDeliveryOptions, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedSchedulesOptions, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateCategoryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateCardTypeProfileRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantSearchRequest, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearch, ScheduledTaskRequest, SearchRolesetsRequest, Segment, SecurityConfig, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestionCardDeliveryRequest, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateCardTypeProfileRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantSearchRequest, MetadataFormat, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, ReconciliationReportUrlRequest, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, SearchRolesetsRequest, SecurityConfig, Segment, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementReportUrlRequest, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardDeliveryOptions, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedSchedulesOptions, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateCategoryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateCardTypeProfileRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantSearchRequest, MetadataFormat, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearch, ScheduledTaskRequest, SearchRolesetsRequest, Segment, SecurityConfig, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestionCardDeliveryRequest, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, Segment, SecurityConfig, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MetadataFormat, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MetadataFormat, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, Segment, SecurityConfig, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, 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,EACnB,sBAAsB,EACtB,yCAAyC,EACzC,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAGhB,UAAU,EAKV,mBAAmB,EACnB,iBAAiB,EACjB,sCAAsC,EACtC,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,0BAA0B,EAC1B,aAAa,EAGb,YAAY,EACZ,cAAc,EACd,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EACpC,aAAa,EACb,eAAe,EAEf,QAAQ,EACR,mBAAmB,EACnB,uBAAuB,EAKvB,qBAAqB,EACrB,yBAAyB,EACzB,SAAS,EAaT,iBAAiB,EAGjB,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,uBAAuB,EACvB,eAAe,EACf,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,4BAA4B,EAE5B,6BAA6B,EAC7B,4BAA4B,EAG5B,6BAA6B,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,oCAAoC,EACpC,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAIT,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EACL,wBAAwB,EAExB,aAAa,EACb,eAAe,EACf,eAAe,EACf,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM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AA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EAIf,6BAA6B,EAY7B,kCAAkC,EAClC,yBAAyB,EACzB,8BAA8B,EAC9B,iBAAiB,EAEjB,0BAA0B,EAE1B,mBAAmB,EACnB,eAAe,EAGf,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EAEjB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,eAAe,EAGf,oBAAoB,EAIpB,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAE5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Validation {
|
|
2
|
+
optional?: boolean;
|
|
3
|
+
length?: {
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
};
|
|
7
|
+
enumerated?: {
|
|
8
|
+
caseSensitive?: boolean;
|
|
9
|
+
allowedValues: string[];
|
|
10
|
+
};
|
|
11
|
+
regex?: {
|
|
12
|
+
pattern: string;
|
|
13
|
+
};
|
|
14
|
+
numeric?: {
|
|
15
|
+
min?: number;
|
|
16
|
+
max?: number;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export declare namespace Validation {
|
|
20
|
+
const type: import("isly/dist/cjs/object").IslyObject<Validation, object>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var Validation;
|
|
3
|
+
(function (Validation) {
|
|
4
|
+
Validation.type = isly.object({
|
|
5
|
+
optional: isly.boolean().optional(),
|
|
6
|
+
length: isly
|
|
7
|
+
.object({
|
|
8
|
+
min: isly.number().optional(),
|
|
9
|
+
max: isly.number().optional(),
|
|
10
|
+
})
|
|
11
|
+
.optional(),
|
|
12
|
+
enumerated: isly
|
|
13
|
+
.object({
|
|
14
|
+
caseSensitive: isly.boolean().optional(),
|
|
15
|
+
allowedValues: isly.string().array(),
|
|
16
|
+
})
|
|
17
|
+
.optional(),
|
|
18
|
+
regex: isly.object({ pattern: isly.string() }).optional(),
|
|
19
|
+
numeric: isly
|
|
20
|
+
.object({
|
|
21
|
+
min: isly.number().optional(),
|
|
22
|
+
max: isly.number().optional(),
|
|
23
|
+
})
|
|
24
|
+
.optional(),
|
|
25
|
+
});
|
|
26
|
+
})(Validation || (Validation = {}));
|
|
27
|
+
//# sourceMappingURL=Validation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Validation.js","sourceRoot":"../","sources":["model/MetadataFormat/Field/Validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAU3B,MAAM,KAAW,UAAU,CAuB1B;AAvBD,WAAiB,UAAU;IACb,eAAI,GAAG,IAAI,CAAC,MAAM,CAAa;QAC3C,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QACnC,MAAM,EAAE,IAAI;aACV,MAAM,CAAC;YACP,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC7B,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAC7B,CAAC;aACD,QAAQ,EAAE;QACZ,UAAU,EAAE,IAAI;aACd,MAAM,CAAuD;YAC7D,aAAa,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;SACpC,CAAC;aACD,QAAQ,EAAE;QACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAsB,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC9E,OAAO,EAAE,IAAI;aACX,MAAM,CAAC;YACP,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC7B,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAC7B,CAAC;aACD,QAAQ,EAAE;KACZ,CAAC,CAAA;AACH,CAAC,EAvBgB,UAAU,KAAV,UAAU,QAuB1B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export type ValueCategory = typeof ValueCategory.values[number];
|
|
3
|
+
export declare namespace ValueCategory {
|
|
4
|
+
const values: readonly ["supplier reference", "agent reference", "customer name"];
|
|
5
|
+
const type: isly.Type<"supplier reference" | "agent reference" | "customer name">;
|
|
6
|
+
const is: (value: any | ("supplier reference" | "agent reference" | "customer name")) => value is "supplier reference" | "agent reference" | "customer name";
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var ValueCategory;
|
|
3
|
+
(function (ValueCategory) {
|
|
4
|
+
ValueCategory.values = ["supplier reference", "agent reference", "customer name"];
|
|
5
|
+
ValueCategory.type = isly.string(ValueCategory.values);
|
|
6
|
+
ValueCategory.is = ValueCategory.type.is;
|
|
7
|
+
})(ValueCategory || (ValueCategory = {}));
|
|
8
|
+
//# sourceMappingURL=ValueCategory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValueCategory.js","sourceRoot":"../","sources":["model/MetadataFormat/Field/ValueCategory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,aAAa,CAI7B;AAJD,WAAiB,aAAa;IAChB,oBAAM,GAAG,CAAC,oBAAoB,EAAE,iBAAiB,EAAE,eAAe,CAAU,CAAA;IAC5E,kBAAI,GAAG,IAAI,CAAC,MAAM,CAAC,cAAA,MAAM,CAAC,CAAA;IAC1B,gBAAE,GAAG,cAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAJgB,aAAa,KAAb,aAAa,QAI7B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export type ValueType = typeof ValueType.values[number];
|
|
3
|
+
export declare namespace ValueType {
|
|
4
|
+
const values: readonly ["string", "date", "datetime", "numeric", "integer"];
|
|
5
|
+
const type: isly.Type<"string" | "numeric" | "integer" | "date" | "datetime">;
|
|
6
|
+
const is: (value: any | ("string" | "numeric" | "integer" | "date" | "datetime")) => value is "string" | "numeric" | "integer" | "date" | "datetime";
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var ValueType;
|
|
3
|
+
(function (ValueType) {
|
|
4
|
+
ValueType.values = ["string", "date", "datetime", "numeric", "integer"];
|
|
5
|
+
ValueType.type = isly.string(ValueType.values);
|
|
6
|
+
ValueType.is = ValueType.type.is;
|
|
7
|
+
})(ValueType || (ValueType = {}));
|
|
8
|
+
//# sourceMappingURL=ValueType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValueType.js","sourceRoot":"../","sources":["model/MetadataFormat/Field/ValueType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,SAAS,CAIzB;AAJD,WAAiB,SAAS;IACZ,gBAAM,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,CAAU,CAAA;IACtE,cAAI,GAAG,IAAI,CAAC,MAAM,CAAC,UAAA,MAAM,CAAC,CAAA;IAC1B,YAAE,GAAG,UAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAJgB,SAAS,KAAT,SAAS,QAIzB"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { Validation as FValidation } from "./Validation";
|
|
3
|
+
import { ValueCategory as FValueCategory } from "./ValueCategory";
|
|
4
|
+
import { ValueType as FValueType } from "./ValueType";
|
|
5
|
+
export type Field = Field.Base & (Field.Base.Value | Field.Base.Object | Field.Base.List);
|
|
6
|
+
export declare namespace Field {
|
|
7
|
+
export import Validation = FValidation;
|
|
8
|
+
export import ValueCategory = FValueCategory;
|
|
9
|
+
export import ValueType = FValueType;
|
|
10
|
+
const type: isly.Type<Field>;
|
|
11
|
+
const is: (value: any | Field) => value is Field;
|
|
12
|
+
type Value = Base & Field.Base.Value;
|
|
13
|
+
namespace Value {
|
|
14
|
+
const type: isly.Type<Value>;
|
|
15
|
+
const is: (value: any | Value) => value is Value;
|
|
16
|
+
}
|
|
17
|
+
type Object = Base & Field.Base.Object;
|
|
18
|
+
namespace Object {
|
|
19
|
+
const type: isly.Type<Object>;
|
|
20
|
+
const is: (value: any | Object) => value is Object;
|
|
21
|
+
}
|
|
22
|
+
type List = Base & Field.Base.List;
|
|
23
|
+
namespace List {
|
|
24
|
+
const type: isly.Type<List>;
|
|
25
|
+
const is: (value: any | List) => value is List;
|
|
26
|
+
}
|
|
27
|
+
interface Base {
|
|
28
|
+
name: string;
|
|
29
|
+
description?: string;
|
|
30
|
+
validation?: FValidation;
|
|
31
|
+
}
|
|
32
|
+
namespace Base {
|
|
33
|
+
const type: import("isly/dist/cjs/object").IslyObject<Base, object>;
|
|
34
|
+
const is: (value: Base | any) => value is Base;
|
|
35
|
+
interface Value {
|
|
36
|
+
type: FValueType;
|
|
37
|
+
category?: FValueCategory;
|
|
38
|
+
}
|
|
39
|
+
namespace Value {
|
|
40
|
+
const type: import("isly/dist/cjs/object").IslyObject<Value, object>;
|
|
41
|
+
const is: (value: Value | any) => value is Value;
|
|
42
|
+
}
|
|
43
|
+
interface Object {
|
|
44
|
+
fields: Field[];
|
|
45
|
+
}
|
|
46
|
+
namespace Object {
|
|
47
|
+
const type: import("isly/dist/cjs/object").IslyObject<Object, object>;
|
|
48
|
+
const is: (value: Object | any) => value is Object;
|
|
49
|
+
}
|
|
50
|
+
interface List {
|
|
51
|
+
contains: Field;
|
|
52
|
+
}
|
|
53
|
+
namespace List {
|
|
54
|
+
const type: import("isly/dist/cjs/object").IslyObject<List, object>;
|
|
55
|
+
const is: (value: List | any) => value is List;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { Validation as FValidation } from "./Validation";
|
|
3
|
+
import { ValueCategory as FValueCategory } from "./ValueCategory";
|
|
4
|
+
import { ValueType as FValueType } from "./ValueType";
|
|
5
|
+
export var Field;
|
|
6
|
+
(function (Field) {
|
|
7
|
+
Field.Validation = FValidation;
|
|
8
|
+
Field.ValueCategory = FValueCategory;
|
|
9
|
+
Field.ValueType = FValueType;
|
|
10
|
+
Field.type = isly.fromIs("MetadataFieldRequest", (value) => Base.type.is(value) && (Base.Value.is(value) || Base.Object.is(value) || Base.List.is(value)));
|
|
11
|
+
Field.is = Field.type.is;
|
|
12
|
+
let Value;
|
|
13
|
+
(function (Value) {
|
|
14
|
+
Value.type = isly.fromIs("MetadataFieldRequest.Value", (value) => Base.is(value) && Base.Value.is(value));
|
|
15
|
+
Value.is = Value.type.is;
|
|
16
|
+
})(Value = Field.Value || (Field.Value = {}));
|
|
17
|
+
let Object;
|
|
18
|
+
(function (Object) {
|
|
19
|
+
Object.type = isly.fromIs("MetadataFieldRequest.Object", (value) => Base.is(value) && Base.Object.is(value));
|
|
20
|
+
Object.is = Object.type.is;
|
|
21
|
+
})(Object = Field.Object || (Field.Object = {}));
|
|
22
|
+
let List;
|
|
23
|
+
(function (List) {
|
|
24
|
+
List.type = isly.fromIs("MetadataFieldRequest.List", (value) => Base.is(value) && Base.List.is(value));
|
|
25
|
+
List.is = List.type.is;
|
|
26
|
+
})(List = Field.List || (Field.List = {}));
|
|
27
|
+
let Base;
|
|
28
|
+
(function (Base) {
|
|
29
|
+
Base.type = isly.object({
|
|
30
|
+
name: isly.string(),
|
|
31
|
+
description: isly.string().optional(),
|
|
32
|
+
validation: FValidation.type.optional(),
|
|
33
|
+
});
|
|
34
|
+
Base.is = Base.type.is;
|
|
35
|
+
let Value;
|
|
36
|
+
(function (Value) {
|
|
37
|
+
Value.type = isly.object({
|
|
38
|
+
type: FValueType.type,
|
|
39
|
+
category: FValueCategory.type.optional(),
|
|
40
|
+
});
|
|
41
|
+
Value.is = Value.type.is;
|
|
42
|
+
})(Value = Base.Value || (Base.Value = {}));
|
|
43
|
+
let Object;
|
|
44
|
+
(function (Object) {
|
|
45
|
+
Object.type = isly.object({
|
|
46
|
+
fields: isly.array(isly.fromIs("MetadataFieldRequest", Field.is)),
|
|
47
|
+
});
|
|
48
|
+
Object.is = Object.type.is;
|
|
49
|
+
})(Object = Base.Object || (Base.Object = {}));
|
|
50
|
+
let List;
|
|
51
|
+
(function (List) {
|
|
52
|
+
List.type = isly.object({
|
|
53
|
+
contains: isly.fromIs("MetadataFieldRequest", Field.is),
|
|
54
|
+
});
|
|
55
|
+
List.is = List.type.is;
|
|
56
|
+
})(List = Base.List || (Base.List = {}));
|
|
57
|
+
})(Base = Field.Base || (Field.Base = {}));
|
|
58
|
+
})(Field || (Field = {}));
|
|
59
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/MetadataFormat/Field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,UAAU,IAAI,WAAW,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,aAAa,IAAI,cAAc,EAAE,MAAM,iBAAiB,CAAA;AACjE,OAAO,EAAE,SAAS,IAAI,UAAU,EAAE,MAAM,aAAa,CAAA;AAIrD,MAAM,KAAW,KAAK,CAkFrB;AAlFD,WAAiB,KAAK;IACP,gBAAU,GAAG,WAAW,CAAA;IACxB,mBAAa,GAAG,cAAc,CAAA;IAC9B,eAAS,GAAG,U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M,CAAC,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC;aACvD,CAAC,CAAA;YACW,OAAE,GAAG,KAAA,IAAI,CAAC,EAAE,CAAA;QAC1B,CAAC,EALgB,IAAI,GAAJ,SAAI,KAAJ,SAAI,QAKpB;IACF,CAAC,EAvCgB,IAAI,GAAJ,UAAI,KAAJ,UAAI,QAuCpB;AACF,CAAC,EAlFgB,KAAK,KAAL,KAAK,QAkFrB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Field } from "./Field";
|
|
2
|
+
import { SubFormats } from "./SubFormats";
|
|
3
|
+
export interface Request {
|
|
4
|
+
name: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
default?: boolean;
|
|
7
|
+
organisations?: string[];
|
|
8
|
+
fields: Field[];
|
|
9
|
+
subFormats: SubFormats;
|
|
10
|
+
}
|
|
11
|
+
export declare namespace Request {
|
|
12
|
+
const type: import("isly/dist/cjs/object").IslyObject<Request, object>;
|
|
13
|
+
const is: (value: Request | any) => value is Request;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { Field } from "./Field";
|
|
3
|
+
import { SubFormats } from "./SubFormats";
|
|
4
|
+
export var Request;
|
|
5
|
+
(function (Request) {
|
|
6
|
+
Request.type = isly.object({
|
|
7
|
+
name: isly.string(),
|
|
8
|
+
description: isly.string().optional(),
|
|
9
|
+
default: isly.boolean().optional(),
|
|
10
|
+
organisations: isly.string().array().optional(),
|
|
11
|
+
fields: Field.type.array(),
|
|
12
|
+
subFormats: SubFormats.type,
|
|
13
|
+
});
|
|
14
|
+
Request.is = Request.type.is;
|
|
15
|
+
})(Request || (Request = {}));
|
|
16
|
+
//# sourceMappingURL=Request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"../","sources":["model/MetadataFormat/Request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAWzC,MAAM,KAAW,OAAO,CAUvB;AAVD,WAAiB,OAAO;IACV,YAAI,GAAG,IAAI,CAAC,MAAM,CAAU;QACxC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAClC,aAAa,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QAC/C,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE;QAC1B,UAAU,EAAE,UAAU,CAAC,IAAI;KAC3B,CAAC,CAAA;IACW,UAAE,GAAG,QAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAVgB,OAAO,KAAP,OAAO,QAUvB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Field } from "./Field";
|
|
2
|
+
import { SubFormats } from "./SubFormats";
|
|
3
|
+
export interface Response {
|
|
4
|
+
name: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
version: number;
|
|
7
|
+
default: boolean;
|
|
8
|
+
organisations?: string[];
|
|
9
|
+
fields: Field[];
|
|
10
|
+
subFormats: SubFormats;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace Response {
|
|
13
|
+
const type: import("isly/dist/cjs/object").IslyObject<Response, object>;
|
|
14
|
+
const is: (value: Response | any) => value is Response;
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
import { Field } from "./Field";
|
|
3
|
+
import { SubFormats } from "./SubFormats";
|
|
4
|
+
export var Response;
|
|
5
|
+
(function (Response) {
|
|
6
|
+
Response.type = isly.object({
|
|
7
|
+
name: isly.string(),
|
|
8
|
+
description: isly.string().optional(),
|
|
9
|
+
version: isly.number(),
|
|
10
|
+
default: isly.boolean(),
|
|
11
|
+
organisations: isly.string().array().optional(),
|
|
12
|
+
fields: Field.type.array(),
|
|
13
|
+
subFormats: SubFormats.type,
|
|
14
|
+
});
|
|
15
|
+
Response.is = Response.type.is;
|
|
16
|
+
})(Response || (Response = {}));
|
|
17
|
+
//# sourceMappingURL=Response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"../","sources":["model/MetadataFormat/Response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAYzC,MAAM,KAAW,QAAQ,CAWxB;AAXD,WAAiB,QAAQ;IACX,aAAI,GAAG,IAAI,CAAC,MAAM,CAAW;QACzC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;QACtB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;QACvB,aAAa,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QAC/C,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE;QAC1B,UAAU,EAAE,UAAU,CAAC,IAAI;KAC3B,CAAC,CAAA;IACW,WAAE,GAAG,SAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAXgB,QAAQ,KAAR,QAAQ,QAWxB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface Search {
|
|
2
|
+
name?: string;
|
|
3
|
+
version?: number;
|
|
4
|
+
latestVersionOnly?: boolean;
|
|
5
|
+
exactFieldNamesOnly?: boolean;
|
|
6
|
+
fieldNames?: string[][];
|
|
7
|
+
}
|
|
8
|
+
export declare namespace Search {
|
|
9
|
+
const type: import("isly/dist/cjs/object").IslyObject<Search, object>;
|
|
10
|
+
const is: (value: Search | any) => value is Search;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var Search;
|
|
3
|
+
(function (Search) {
|
|
4
|
+
Search.type = isly.object({
|
|
5
|
+
name: isly.string().optional(),
|
|
6
|
+
version: isly.number().optional(),
|
|
7
|
+
latestVersionOnly: isly.boolean().optional(),
|
|
8
|
+
exactFieldNamesOnly: isly.boolean().optional(),
|
|
9
|
+
fieldNames: isly.array(isly.array(isly.string())).optional(),
|
|
10
|
+
});
|
|
11
|
+
Search.is = Search.type.is;
|
|
12
|
+
})(Search || (Search = {}));
|
|
13
|
+
//# sourceMappingURL=Search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Search.js","sourceRoot":"../","sources":["model/MetadataFormat/Search.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAS3B,MAAM,KAAW,MAAM,CAStB;AATD,WAAiB,MAAM;IACT,WAAI,GAAG,IAAI,CAAC,MAAM,CAAS;QACvC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACjC,iBAAiB,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC5C,mBAAmB,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC9C,UAAU,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;KAC5D,CAAC,CAAA;IACW,SAAE,GAAG,OAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EATgB,MAAM,KAAN,MAAM,QAStB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export type SubFormatType = typeof SubFormatType.values[number];
|
|
3
|
+
export declare namespace SubFormatType {
|
|
4
|
+
const values: readonly ["top2", "top5"];
|
|
5
|
+
function expectedInputLength(value: SubFormatType): 2 | 5;
|
|
6
|
+
const type: isly.Type<"top2" | "top5">;
|
|
7
|
+
const is: (value: any | ("top2" | "top5")) => value is "top2" | "top5";
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var SubFormatType;
|
|
3
|
+
(function (SubFormatType) {
|
|
4
|
+
SubFormatType.values = ["top2", "top5"];
|
|
5
|
+
function expectedInputLength(value) {
|
|
6
|
+
return value === "top2" ? 2 : 5;
|
|
7
|
+
}
|
|
8
|
+
SubFormatType.expectedInputLength = expectedInputLength;
|
|
9
|
+
SubFormatType.type = isly.string(SubFormatType.values);
|
|
10
|
+
SubFormatType.is = SubFormatType.type.is;
|
|
11
|
+
})(SubFormatType || (SubFormatType = {}));
|
|
12
|
+
//# sourceMappingURL=SubFormatType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubFormatType.js","sourceRoot":"../","sources":["model/MetadataFormat/SubFormatType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,MAAM,KAAW,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAChB,oBAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAU,CAAA;IAC/C,SAAgB,mBAAmB,CAAC,KAAoB;QACvD,OAAO,KAAK,KAAK,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;IAChC,CAAC;IAFe,iCAAmB,sBAElC,CAAA;IACY,kBAAI,GAAG,IAAI,CAAC,MAAM,CAAC,cAAA,MAAM,CAAC,CAAA;IAC1B,gBAAE,GAAG,cAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAPgB,aAAa,KAAb,aAAa,QAO7B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface SubFormats {
|
|
2
|
+
top2: string[] | string[][];
|
|
3
|
+
top5?: string[] | string[][];
|
|
4
|
+
}
|
|
5
|
+
export declare namespace SubFormats {
|
|
6
|
+
const type: import("isly/dist/cjs/object").IslyObject<SubFormats, object>;
|
|
7
|
+
const is: (value: SubFormats | any) => value is SubFormats;
|
|
8
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var SubFormats;
|
|
3
|
+
(function (SubFormats) {
|
|
4
|
+
SubFormats.type = isly.object({
|
|
5
|
+
top2: isly.union(isly.string().array(), isly.string().array().array()),
|
|
6
|
+
top5: isly.union(isly.string().array(), isly.string().array().array()).optional(),
|
|
7
|
+
});
|
|
8
|
+
SubFormats.is = SubFormats.type.is;
|
|
9
|
+
})(SubFormats || (SubFormats = {}));
|
|
10
|
+
//# sourceMappingURL=SubFormats.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SubFormats.js","sourceRoot":"../","sources":["model/MetadataFormat/SubFormats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAO3B,MAAM,KAAW,UAAU,CAO1B;AAPD,WAAiB,UAAU;IACb,eAAI,GAAG,IAAI,CAAC,MAAM,CAAa;QAC3C,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC;QACtE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,QAAQ,EAAE;KACjF,CAAC,CAAA;IAEW,aAAE,GAAG,WAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAPgB,UAAU,KAAV,UAAU,QAO1B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Field as MField } from "./Field";
|
|
2
|
+
import { Request as MRequest } from "./Request";
|
|
3
|
+
import { Response as MResponse } from "./Response";
|
|
4
|
+
import { Search as MSearch } from "./Search";
|
|
5
|
+
import { SubFormatType as MSubFormatType } from "./SubFormatType";
|
|
6
|
+
export declare namespace MetadataFormat {
|
|
7
|
+
export import Search = MSearch;
|
|
8
|
+
export import Request = MRequest;
|
|
9
|
+
export import Response = MResponse;
|
|
10
|
+
export import SubFormatType = MSubFormatType;
|
|
11
|
+
export import Field = MField;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Field as MField } from "./Field";
|
|
2
|
+
import { Request as MRequest } from "./Request";
|
|
3
|
+
import { Response as MResponse } from "./Response";
|
|
4
|
+
import { Search as MSearch } from "./Search";
|
|
5
|
+
import { SubFormatType as MSubFormatType } from "./SubFormatType";
|
|
6
|
+
export var MetadataFormat;
|
|
7
|
+
(function (MetadataFormat) {
|
|
8
|
+
MetadataFormat.Search = MSearch;
|
|
9
|
+
MetadataFormat.Request = MRequest;
|
|
10
|
+
MetadataFormat.Response = MResponse;
|
|
11
|
+
MetadataFormat.SubFormatType = MSubFormatType;
|
|
12
|
+
MetadataFormat.Field = MField;
|
|
13
|
+
})(MetadataFormat || (MetadataFormat = {}));
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/MetadataFormat/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,WAAW,CAAA;AAC/C,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,MAAM,IAAI,OAAO,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,aAAa,IAAI,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEjE,MAAM,KAAW,cAAc,CAM9B;AAND,WAAiB,cAAc;IAChB,qBAAM,GAAG,OAAO,CAAA;IAChB,sBAAO,GAAG,QAAQ,CAAA;IAClB,uBAAQ,GAAG,SAAS,CAAA;IACpB,4BAAa,GAAG,cAAc,CAAA;IAC9B,oBAAK,GAAG,MAAM,CAAA;AAC7B,CAAC,EANgB,cAAc,KAAd,cAAc,QAM9B"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ import { MerchantDetails } from "./MerchantDetails";
|
|
|
116
116
|
import { MerchantRequest } from "./MerchantRequest";
|
|
117
117
|
import { MerchantResponse } from "./MerchantResponse";
|
|
118
118
|
import { MerchantSearchRequest } from "./MerchantSearchRequest";
|
|
119
|
+
import { MetadataFormat } from "./MetadataFormat";
|
|
119
120
|
import { MinimalBookingInfo } from "./MinimalBookingInfo";
|
|
120
121
|
import { NonBeneficiaryTransferDestination } from "./NonBeneficiaryTransferDestination";
|
|
121
122
|
import { OmnisetupFlags } from "./OmnisetupFlags";
|
|
@@ -242,4 +243,4 @@ import { UserRoleResponse } from "./UserRoleResponse";
|
|
|
242
243
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
243
244
|
import { UserStatus } from "./UserStatus";
|
|
244
245
|
import { YearMonth } from "./YearMonth";
|
|
245
|
-
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeInformation, CreateCardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantSearchRequest, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearch, ScheduledTaskRequest, SearchRolesetsRequest, SecurityConfig, Segment, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
|
246
|
+
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeInformation, CreateCardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantSearchRequest, MetadataFormat, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearch, ScheduledTaskRequest, SearchRolesetsRequest, SecurityConfig, Segment, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SummaryPaymentResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/model/index.js
CHANGED
|
@@ -77,6 +77,7 @@ import { LoginResponse } from "./LoginResponse";
|
|
|
77
77
|
import { MerchantDetails } from "./MerchantDetails";
|
|
78
78
|
import { MerchantRequest } from "./MerchantRequest";
|
|
79
79
|
import { MerchantResponse } from "./MerchantResponse";
|
|
80
|
+
import { MetadataFormat } from "./MetadataFormat";
|
|
80
81
|
import { OmnisetupFlags } from "./OmnisetupFlags";
|
|
81
82
|
import { OmnisetupProviderRequest } from "./OmnisetupProviderRequest";
|
|
82
83
|
import { OmnisetupRequest } from "./OmnisetupRequest";
|
|
@@ -147,5 +148,5 @@ import { UserRequest } from "./UserRequest";
|
|
|
147
148
|
import { UserResponse } from "./UserResponse";
|
|
148
149
|
import { UserStatus } from "./UserStatus";
|
|
149
150
|
import { YearMonth } from "./YearMonth";
|
|
150
|
-
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
151
|
+
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeInformation, CardTypeProfileResponse, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, Inclusion, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MetadataFormat, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRealm, OrganisationRequest, OrganisationResponse, OrganisationSearchRequest, OrganisationSearchResponse, OrganisationStatus, OrganisationStatusV2, Passengers, PaxpayFeature, PaymentAccountState, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentCardUsage, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentDeliveryState, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentSearch, PaymentStatus, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
151
152
|
//# 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;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,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;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAKzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE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S,EAIT,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EACL,wBAAwB,EAExB,aAAa,EACb,eAAe,EACf,eAAe,EACf,gBAAgB,EAEhB,cAAc,EAGd,cAAc,EACd,wBAAwB,EACxB,gBAAgB,EAEhB,mCAAmC,EACnC,kBAAkB,EAClB,yBAAyB,EACzB,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,0BAA0B,EAC1B,kBAAkB,EAClB,oBAAoB,EACpB,UAAU,EAKV,aAAa,EAEb,mBAAmB,EACnB,4BAA4B,EAC5B,6BAA6B,EAC7B,wBAAwB,EACxB,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EAEpB,iBAAiB,EAEjB,cAAc,EACd,eAAe,EACf,aAAa,EACb,aAAa,EACb,4BAA4B,EAE5B,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,UAAU,EAQV,aAAa,EAIb,cAAc,EACd,OAAO,EAMP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EAIf,6BAA6B,EAY7B,kCAAkC,EAClC,yBAAyB,EACzB,8BAA8B,EAC9B,iBAAiB,EAEjB,0BAA0B,EAE1B,mBAAmB,EACnB,eAAe,EAGf,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EAEjB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,eAAe,EAGf,oBAAoB,EAIpB,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAE5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -117,6 +117,7 @@ import {
|
|
|
117
117
|
MerchantRequest,
|
|
118
118
|
MerchantResponse,
|
|
119
119
|
MerchantSearchRequest,
|
|
120
|
+
MetadataFormat,
|
|
120
121
|
MinimalBookingInfo,
|
|
121
122
|
NonBeneficiaryTransferDestination,
|
|
122
123
|
OmnisetupFlags,
|
|
@@ -364,6 +365,7 @@ export {
|
|
|
364
365
|
MerchantRequest,
|
|
365
366
|
MerchantResponse,
|
|
366
367
|
MerchantSearchRequest,
|
|
368
|
+
MetadataFormat,
|
|
367
369
|
MinimalBookingInfo,
|
|
368
370
|
NonBeneficiaryTransferDestination,
|
|
369
371
|
OmnisetupFlags,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export interface Validation {
|
|
4
|
+
optional?: boolean
|
|
5
|
+
length?: { min?: number; max?: number }
|
|
6
|
+
enumerated?: { caseSensitive?: boolean; allowedValues: string[] }
|
|
7
|
+
regex?: { pattern: string }
|
|
8
|
+
numeric?: { min?: number; max?: number }
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export namespace Validation {
|
|
12
|
+
export const type = isly.object<Validation>({
|
|
13
|
+
optional: isly.boolean().optional(),
|
|
14
|
+
length: isly
|
|
15
|
+
.object({
|
|
16
|
+
min: isly.number().optional(),
|
|
17
|
+
max: isly.number().optional(),
|
|
18
|
+
})
|
|
19
|
+
.optional(),
|
|
20
|
+
enumerated: isly
|
|
21
|
+
.object<{ caseSensitive?: boolean; allowedValues: string[] }>({
|
|
22
|
+
caseSensitive: isly.boolean().optional(),
|
|
23
|
+
allowedValues: isly.string().array(),
|
|
24
|
+
})
|
|
25
|
+
.optional(),
|
|
26
|
+
regex: isly.object<{ pattern: string }>({ pattern: isly.string() }).optional(),
|
|
27
|
+
numeric: isly
|
|
28
|
+
.object({
|
|
29
|
+
min: isly.number().optional(),
|
|
30
|
+
max: isly.number().optional(),
|
|
31
|
+
})
|
|
32
|
+
.optional(),
|
|
33
|
+
})
|
|
34
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export type ValueCategory = typeof ValueCategory.values[number]
|
|
4
|
+
|
|
5
|
+
export namespace ValueCategory {
|
|
6
|
+
export const values = ["supplier reference", "agent reference", "customer name"] as const
|
|
7
|
+
export const type = isly.string(values)
|
|
8
|
+
export const is = type.is
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export type ValueType = typeof ValueType.values[number]
|
|
4
|
+
|
|
5
|
+
export namespace ValueType {
|
|
6
|
+
export const values = ["string", "date", "datetime", "numeric", "integer"] as const
|
|
7
|
+
export const type = isly.string(values)
|
|
8
|
+
export const is = type.is
|
|
9
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { Validation as FValidation } from "./Validation"
|
|
3
|
+
import { ValueCategory as FValueCategory } from "./ValueCategory"
|
|
4
|
+
import { ValueType as FValueType } from "./ValueType"
|
|
5
|
+
|
|
6
|
+
export type Field = Field.Base & (Field.Base.Value | Field.Base.Object | Field.Base.List)
|
|
7
|
+
|
|
8
|
+
export namespace Field {
|
|
9
|
+
export import Validation = FValidation
|
|
10
|
+
export import ValueCategory = FValueCategory
|
|
11
|
+
export import ValueType = FValueType
|
|
12
|
+
|
|
13
|
+
export const type = isly.fromIs(
|
|
14
|
+
"MetadataFieldRequest",
|
|
15
|
+
(value: any): value is Field =>
|
|
16
|
+
Base.type.is(value) && (Base.Value.is(value) || Base.Object.is(value) || Base.List.is(value))
|
|
17
|
+
)
|
|
18
|
+
export const is = type.is
|
|
19
|
+
|
|
20
|
+
export type Value = Base & Field.Base.Value
|
|
21
|
+
export namespace Value {
|
|
22
|
+
export const type = isly.fromIs(
|
|
23
|
+
"MetadataFieldRequest.Value",
|
|
24
|
+
(value: any): value is Value => Base.is(value) && Base.Value.is(value)
|
|
25
|
+
)
|
|
26
|
+
export const is = type.is
|
|
27
|
+
}
|
|
28
|
+
export type Object = Base & Field.Base.Object
|
|
29
|
+
export namespace Object {
|
|
30
|
+
export const type = isly.fromIs(
|
|
31
|
+
"MetadataFieldRequest.Object",
|
|
32
|
+
(value: any): value is Field.Object => Base.is(value) && Base.Object.is(value)
|
|
33
|
+
)
|
|
34
|
+
export const is = type.is
|
|
35
|
+
}
|
|
36
|
+
export type List = Base & Field.Base.List
|
|
37
|
+
export namespace List {
|
|
38
|
+
export const type = isly.fromIs(
|
|
39
|
+
"MetadataFieldRequest.List",
|
|
40
|
+
(value: any): value is List => Base.is(value) && Base.List.is(value)
|
|
41
|
+
)
|
|
42
|
+
export const is = type.is
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface Base {
|
|
46
|
+
name: string
|
|
47
|
+
description?: string
|
|
48
|
+
validation?: FValidation
|
|
49
|
+
}
|
|
50
|
+
export namespace Base {
|
|
51
|
+
export const type = isly.object<Base>({
|
|
52
|
+
name: isly.string(),
|
|
53
|
+
description: isly.string().optional(),
|
|
54
|
+
validation: FValidation.type.optional(),
|
|
55
|
+
})
|
|
56
|
+
export const is = type.is
|
|
57
|
+
|
|
58
|
+
export interface Value {
|
|
59
|
+
type: FValueType
|
|
60
|
+
category?: FValueCategory
|
|
61
|
+
}
|
|
62
|
+
export namespace Value {
|
|
63
|
+
export const type = isly.object<Value>({
|
|
64
|
+
type: FValueType.type,
|
|
65
|
+
category: FValueCategory.type.optional(),
|
|
66
|
+
})
|
|
67
|
+
export const is = type.is
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface Object {
|
|
71
|
+
fields: Field[]
|
|
72
|
+
}
|
|
73
|
+
export namespace Object {
|
|
74
|
+
export const type = isly.object<Base.Object>({
|
|
75
|
+
fields: isly.array(isly.fromIs("MetadataFieldRequest", Field.is)),
|
|
76
|
+
})
|
|
77
|
+
export const is = type.is
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface List {
|
|
81
|
+
contains: Field
|
|
82
|
+
}
|
|
83
|
+
export namespace List {
|
|
84
|
+
export const type = isly.object<List>({
|
|
85
|
+
contains: isly.fromIs("MetadataFieldRequest", Field.is),
|
|
86
|
+
})
|
|
87
|
+
export const is = type.is
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { Field } from "./Field"
|
|
3
|
+
import { SubFormats } from "./SubFormats"
|
|
4
|
+
|
|
5
|
+
export interface Request {
|
|
6
|
+
name: string
|
|
7
|
+
description?: string
|
|
8
|
+
default?: boolean
|
|
9
|
+
organisations?: string[]
|
|
10
|
+
fields: Field[]
|
|
11
|
+
subFormats: SubFormats
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export namespace Request {
|
|
15
|
+
export const type = isly.object<Request>({
|
|
16
|
+
name: isly.string(),
|
|
17
|
+
description: isly.string().optional(),
|
|
18
|
+
default: isly.boolean().optional(),
|
|
19
|
+
organisations: isly.string().array().optional(),
|
|
20
|
+
fields: Field.type.array(),
|
|
21
|
+
subFormats: SubFormats.type,
|
|
22
|
+
})
|
|
23
|
+
export const is = type.is
|
|
24
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
import { Field } from "./Field"
|
|
3
|
+
import { SubFormats } from "./SubFormats"
|
|
4
|
+
|
|
5
|
+
export interface Response {
|
|
6
|
+
name: string
|
|
7
|
+
description?: string
|
|
8
|
+
version: number
|
|
9
|
+
default: boolean
|
|
10
|
+
organisations?: string[]
|
|
11
|
+
fields: Field[]
|
|
12
|
+
subFormats: SubFormats
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export namespace Response {
|
|
16
|
+
export const type = isly.object<Response>({
|
|
17
|
+
name: isly.string(),
|
|
18
|
+
description: isly.string().optional(),
|
|
19
|
+
version: isly.number(),
|
|
20
|
+
default: isly.boolean(),
|
|
21
|
+
organisations: isly.string().array().optional(),
|
|
22
|
+
fields: Field.type.array(),
|
|
23
|
+
subFormats: SubFormats.type,
|
|
24
|
+
})
|
|
25
|
+
export const is = type.is
|
|
26
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export interface Search {
|
|
4
|
+
name?: string
|
|
5
|
+
version?: number
|
|
6
|
+
latestVersionOnly?: boolean
|
|
7
|
+
exactFieldNamesOnly?: boolean
|
|
8
|
+
fieldNames?: string[][]
|
|
9
|
+
}
|
|
10
|
+
export namespace Search {
|
|
11
|
+
export const type = isly.object<Search>({
|
|
12
|
+
name: isly.string().optional(),
|
|
13
|
+
version: isly.number().optional(),
|
|
14
|
+
latestVersionOnly: isly.boolean().optional(),
|
|
15
|
+
exactFieldNamesOnly: isly.boolean().optional(),
|
|
16
|
+
fieldNames: isly.array(isly.array(isly.string())).optional(),
|
|
17
|
+
})
|
|
18
|
+
export const is = type.is
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export type SubFormatType = typeof SubFormatType.values[number]
|
|
4
|
+
export namespace SubFormatType {
|
|
5
|
+
export const values = ["top2", "top5"] as const
|
|
6
|
+
export function expectedInputLength(value: SubFormatType) {
|
|
7
|
+
return value === "top2" ? 2 : 5
|
|
8
|
+
}
|
|
9
|
+
export const type = isly.string(values)
|
|
10
|
+
export const is = type.is
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export interface SubFormats {
|
|
4
|
+
top2: string[] | string[][]
|
|
5
|
+
top5?: string[] | string[][]
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export namespace SubFormats {
|
|
9
|
+
export const type = isly.object<SubFormats>({
|
|
10
|
+
top2: isly.union(isly.string().array(), isly.string().array().array()),
|
|
11
|
+
top5: isly.union(isly.string().array(), isly.string().array().array()).optional(),
|
|
12
|
+
})
|
|
13
|
+
|
|
14
|
+
export const is = type.is
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Field as MField } from "./Field"
|
|
2
|
+
import { Request as MRequest } from "./Request"
|
|
3
|
+
import { Response as MResponse } from "./Response"
|
|
4
|
+
import { Search as MSearch } from "./Search"
|
|
5
|
+
import { SubFormatType as MSubFormatType } from "./SubFormatType"
|
|
6
|
+
|
|
7
|
+
export namespace MetadataFormat {
|
|
8
|
+
export import Search = MSearch
|
|
9
|
+
export import Request = MRequest
|
|
10
|
+
export import Response = MResponse
|
|
11
|
+
export import SubFormatType = MSubFormatType
|
|
12
|
+
export import Field = MField
|
|
13
|
+
}
|
package/model/index.ts
CHANGED
|
@@ -116,6 +116,7 @@ import { MerchantDetails } from "./MerchantDetails"
|
|
|
116
116
|
import { MerchantRequest } from "./MerchantRequest"
|
|
117
117
|
import { MerchantResponse } from "./MerchantResponse"
|
|
118
118
|
import { MerchantSearchRequest } from "./MerchantSearchRequest"
|
|
119
|
+
import { MetadataFormat } from "./MetadataFormat"
|
|
119
120
|
import { MinimalBookingInfo } from "./MinimalBookingInfo"
|
|
120
121
|
import { NonBeneficiaryTransferDestination } from "./NonBeneficiaryTransferDestination"
|
|
121
122
|
import { OmnisetupFlags } from "./OmnisetupFlags"
|
|
@@ -362,6 +363,7 @@ export {
|
|
|
362
363
|
MerchantRequest,
|
|
363
364
|
MerchantResponse,
|
|
364
365
|
MerchantSearchRequest,
|
|
366
|
+
MetadataFormat,
|
|
365
367
|
MinimalBookingInfo,
|
|
366
368
|
NonBeneficiaryTransferDestination,
|
|
367
369
|
OmnisetupFlags,
|