@pax2pay/client 0.3.126 → 0.3.128

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.
Files changed (61) hide show
  1. package/Client/Metadata/index.ts +63 -0
  2. package/Client/index.ts +3 -0
  3. package/dist/Client/Metadata/index.d.ts +13 -0
  4. package/dist/Client/Metadata/index.js +27 -0
  5. package/dist/Client/Metadata/index.js.map +1 -0
  6. package/dist/Client/index.d.ts +3 -0
  7. package/dist/Client/index.js +2 -0
  8. package/dist/Client/index.js.map +1 -1
  9. package/dist/index.d.ts +2 -2
  10. package/dist/index.js +2 -2
  11. package/dist/index.js.map +1 -1
  12. package/dist/model/MetadataFormat/Field/Validation.d.ts +21 -0
  13. package/dist/model/MetadataFormat/Field/Validation.js +27 -0
  14. package/dist/model/MetadataFormat/Field/Validation.js.map +1 -0
  15. package/dist/model/MetadataFormat/Field/ValueCategory.d.ts +7 -0
  16. package/dist/model/MetadataFormat/Field/ValueCategory.js +8 -0
  17. package/dist/model/MetadataFormat/Field/ValueCategory.js.map +1 -0
  18. package/dist/model/MetadataFormat/Field/ValueType.d.ts +7 -0
  19. package/dist/model/MetadataFormat/Field/ValueType.js +8 -0
  20. package/dist/model/MetadataFormat/Field/ValueType.js.map +1 -0
  21. package/dist/model/MetadataFormat/Field/index.d.ts +58 -0
  22. package/dist/model/MetadataFormat/Field/index.js +59 -0
  23. package/dist/model/MetadataFormat/Field/index.js.map +1 -0
  24. package/dist/model/MetadataFormat/Request.d.ts +14 -0
  25. package/dist/model/MetadataFormat/Request.js +16 -0
  26. package/dist/model/MetadataFormat/Request.js.map +1 -0
  27. package/dist/model/MetadataFormat/Response.d.ts +15 -0
  28. package/dist/model/MetadataFormat/Response.js +17 -0
  29. package/dist/model/MetadataFormat/Response.js.map +1 -0
  30. package/dist/model/MetadataFormat/Search.d.ts +11 -0
  31. package/dist/model/MetadataFormat/Search.js +13 -0
  32. package/dist/model/MetadataFormat/Search.js.map +1 -0
  33. package/dist/model/MetadataFormat/SubFormatType.d.ts +8 -0
  34. package/dist/model/MetadataFormat/SubFormatType.js +12 -0
  35. package/dist/model/MetadataFormat/SubFormatType.js.map +1 -0
  36. package/dist/model/MetadataFormat/SubFormats.d.ts +8 -0
  37. package/dist/model/MetadataFormat/SubFormats.js +10 -0
  38. package/dist/model/MetadataFormat/SubFormats.js.map +1 -0
  39. package/dist/model/MetadataFormat/index.d.ts +12 -0
  40. package/dist/model/MetadataFormat/index.js +14 -0
  41. package/dist/model/MetadataFormat/index.js.map +1 -0
  42. package/dist/model/PaymentDeliveryRequest.d.ts +1 -1
  43. package/dist/model/PaymentDeliveryRequest.js +1 -1
  44. package/dist/model/PaymentDeliveryRequest.js.map +1 -1
  45. package/dist/model/index.d.ts +2 -1
  46. package/dist/model/index.js +2 -1
  47. package/dist/model/index.js.map +1 -1
  48. package/index.ts +2 -0
  49. package/model/MetadataFormat/Field/Validation.ts +34 -0
  50. package/model/MetadataFormat/Field/ValueCategory.ts +9 -0
  51. package/model/MetadataFormat/Field/ValueType.ts +9 -0
  52. package/model/MetadataFormat/Field/index.ts +90 -0
  53. package/model/MetadataFormat/Request.ts +24 -0
  54. package/model/MetadataFormat/Response.ts +26 -0
  55. package/model/MetadataFormat/Search.ts +19 -0
  56. package/model/MetadataFormat/SubFormatType.ts +11 -0
  57. package/model/MetadataFormat/SubFormats.ts +15 -0
  58. package/model/MetadataFormat/index.ts +13 -0
  59. package/model/PaymentDeliveryRequest.ts +2 -2
  60. package/model/index.ts +2 -0
  61. 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/Metadata/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAG9B,MAAM,OAAO,QAAS,SAAQ,IAA6B;IAE1D,YAAY,UAAsB;QACjC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,UAAmB,CAAA;IAGtC,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,QAAQ,CAAC,UAAU,CAAC,CAAA;IAChC,CAAC;IACD,KAAK,CAAC,UAAU,CAAC,gBAAyB;QACzC,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,CAA4B,GAAG,IAAI,CAAC,MAAM,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,CAAA;IACxG,CAAC;IACD,KAAK,CAAC,UAAU,CACf,O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AE,EACjF,SAAS,EACT,MAAM,CACN,CAAA;IACF,CAAC;CACD"}
@@ -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;
@@ -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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AAC,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,EAC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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,OAAO,EACP,cAAc,EAMd,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"}
@@ -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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AAiB,IAAI;YACP,SAAI,GAAG,IAAI,CAAC,MAAM,CAAO;gBACrC,QAAQ,EAAE,IAAI,CAAC,MAAM,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
+ }