@pax2pay/client 0.3.45 → 0.3.47

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 (79) hide show
  1. package/Client/Omnisetup/index.ts +24 -0
  2. package/Client/Transfers/index.ts +7 -2
  3. package/Client/index.ts +3 -0
  4. package/dist/Client/Omnisetup/index.d.ts +12 -0
  5. package/dist/Client/Omnisetup/index.js +30 -0
  6. package/dist/Client/Omnisetup/index.js.map +1 -0
  7. package/dist/Client/Transfers/index.d.ts +1 -1
  8. package/dist/Client/Transfers/index.js +2 -2
  9. package/dist/Client/Transfers/index.js.map +1 -1
  10. package/dist/Client/index.d.ts +3 -0
  11. package/dist/Client/index.js +2 -0
  12. package/dist/Client/index.js.map +1 -1
  13. package/dist/index.d.ts +2 -2
  14. package/dist/index.js +2 -2
  15. package/dist/index.js.map +1 -1
  16. package/dist/model/AllowedMccConfig.d.ts +4 -0
  17. package/dist/model/AllowedMccConfig.js +2 -0
  18. package/dist/model/AllowedMccConfig.js.map +1 -0
  19. package/dist/model/CardTypeProfileResponse.d.ts +11 -0
  20. package/dist/model/CardTypeProfileResponse.js +2 -0
  21. package/dist/model/CardTypeProfileResponse.js.map +1 -0
  22. package/dist/model/Criteria.d.ts +2 -1
  23. package/dist/model/InternalBalanceLimit.d.ts +7 -0
  24. package/dist/model/InternalBalanceLimit.js +2 -0
  25. package/dist/model/InternalBalanceLimit.js.map +1 -0
  26. package/dist/model/InternalOrganisationConfig.d.ts +12 -0
  27. package/dist/model/InternalOrganisationConfig.js +2 -0
  28. package/dist/model/InternalOrganisationConfig.js.map +1 -0
  29. package/dist/model/OmnisetupFlags.d.ts +6 -0
  30. package/dist/model/OmnisetupFlags.js +9 -0
  31. package/dist/model/OmnisetupFlags.js.map +1 -0
  32. package/dist/model/OmnisetupProviderRequest.d.ts +14 -0
  33. package/dist/model/OmnisetupProviderRequest.js +2 -0
  34. package/dist/model/OmnisetupProviderRequest.js.map +1 -0
  35. package/dist/model/OmnisetupRequest.d.ts +15 -0
  36. package/dist/model/OmnisetupRequest.js +2 -0
  37. package/dist/model/OmnisetupRequest.js.map +1 -0
  38. package/dist/model/OmnisetupResponse.d.ts +21 -0
  39. package/dist/model/OmnisetupResponse.js +2 -0
  40. package/dist/model/OmnisetupResponse.js.map +1 -0
  41. package/dist/model/OrganisationCreateRequest.d.ts +4 -0
  42. package/dist/model/OrganisationCreateRequest.js +2 -0
  43. package/dist/model/OrganisationCreateRequest.js.map +1 -0
  44. package/dist/model/OrganisationFlag.d.ts +6 -0
  45. package/dist/model/OrganisationFlag.js +22 -0
  46. package/dist/model/OrganisationFlag.js.map +1 -0
  47. package/dist/model/OrganisationRequest.d.ts +3 -1
  48. package/dist/model/OrganisationUpdateRequest.d.ts +2 -0
  49. package/dist/model/ProductType.d.ts +6 -0
  50. package/dist/model/ProductType.js +22 -0
  51. package/dist/model/ProductType.js.map +1 -0
  52. package/dist/model/SupplierRequest.d.ts +7 -0
  53. package/dist/model/SupplierRequest.js +2 -0
  54. package/dist/model/SupplierRequest.js.map +1 -0
  55. package/dist/model/SupplierResponse.d.ts +4 -0
  56. package/dist/model/SupplierResponse.js +2 -0
  57. package/dist/model/SupplierResponse.js.map +1 -0
  58. package/dist/model/index.d.ts +14 -1
  59. package/dist/model/index.js +4 -1
  60. package/dist/model/index.js.map +1 -1
  61. package/index.ts +31 -5
  62. package/model/AllowedMccConfig.ts +4 -0
  63. package/model/CardTypeProfileResponse.ts +12 -0
  64. package/model/Criteria.ts +2 -15
  65. package/model/InternalBalanceLimit.ts +8 -0
  66. package/model/InternalOrganisationConfig.ts +13 -0
  67. package/model/OmnisetupFlags.ts +8 -0
  68. package/model/OmnisetupProviderRequest.ts +15 -0
  69. package/model/OmnisetupRequest.ts +16 -0
  70. package/model/OmnisetupResponse.ts +22 -0
  71. package/model/OrganisationCreateRequest.ts +5 -0
  72. package/model/OrganisationFlag.ts +21 -0
  73. package/model/OrganisationRequest.ts +4 -1
  74. package/model/OrganisationUpdateRequest.ts +3 -0
  75. package/model/ProductType.ts +21 -0
  76. package/model/SupplierRequest.ts +8 -0
  77. package/model/SupplierResponse.ts +5 -0
  78. package/model/index.ts +26 -0
  79. package/package.json +3 -3
@@ -0,0 +1,24 @@
1
+ import { ErrorResponse } from "../../model"
2
+ import { OmnisetupRequest } from "../../model/OmnisetupRequest"
3
+ import { OmnisetupResponse } from "../../model/OmnisetupResponse"
4
+ import { Connection } from "../Connection"
5
+
6
+ export class Omnisetup {
7
+ protected readonly folder = "omnisetup"
8
+ #connection: Connection
9
+ protected get connection() {
10
+ return this.#connection
11
+ }
12
+ constructor(connection: Connection) {
13
+ this.#connection = connection
14
+ }
15
+ static create(connection: Connection) {
16
+ return new Omnisetup(connection)
17
+ }
18
+ async createOrganisation(
19
+ omnisetupRequest: OmnisetupRequest,
20
+ commit = true
21
+ ): Promise<OmnisetupResponse | ErrorResponse> {
22
+ return this.connection.post<OmnisetupResponse | ErrorResponse>(`${this.folder}?commit=${commit}`, omnisetupRequest)
23
+ }
24
+ }
@@ -35,7 +35,12 @@ export class Transfers extends List<model.TransferResponse, model.TransferSearch
35
35
  const result = await this.connection.post<model.TransferResponse>(`${this.folder}`, request)
36
36
  return model.ErrorResponse.is(result) ? result : this.map(result)
37
37
  }
38
- async createV2(request: model.TransferRequest) {
39
- return await this.connection.post<model.TransferResponseV2>("v2/transfers", request)
38
+ async createV2(request: model.TransferRequest, otp?: string) {
39
+ return await this.connection.post<model.TransferResponseV2>(
40
+ "v2/transfers",
41
+ request,
42
+ undefined,
43
+ otp ? { "x-otp": otp } : {}
44
+ )
40
45
  }
41
46
  }
package/Client/index.ts CHANGED
@@ -10,6 +10,7 @@ import { Configuration as ClientConfiguration } from "./Configuration"
10
10
  import { Connection } from "./Connection"
11
11
  import { Email as ClientEmail } from "./Email"
12
12
  import { List as ClientList } from "./List"
13
+ import { Omnisetup as ClientOmnisetup } from "./Omnisetup"
13
14
  import { Organisation as ClientOrganisation } from "./Organisation"
14
15
  import { Organisations as ClientOrganisations } from "./Organisations"
15
16
  import { Paginated as ClientPaginated } from "./Paginated"
@@ -33,6 +34,7 @@ export class Client {
33
34
  configuration = ClientConfiguration.create(this.connection)
34
35
  email = ClientEmail.create(this.connection)
35
36
  users = ClientUsers.create(this.connection)
37
+ omnisetup = ClientOmnisetup.create(this.connection)
36
38
  organisations = ClientOrganisations.create(this.connection)
37
39
  reports = ClientReports.create(this.connection)
38
40
  transfers = ClientTransfers.create(this.connection)
@@ -60,6 +62,7 @@ export namespace Client {
60
62
  export type Categories = ClientCategories
61
63
  export type Configuration = ClientConfiguration
62
64
  export type Email = ClientEmail
65
+ export type Omnisetup = ClientOmnisetup
63
66
  export type Organisation = ClientOrganisation
64
67
  export type Organisations = ClientOrganisations
65
68
  export type Reports = ClientReports
@@ -0,0 +1,12 @@
1
+ import { ErrorResponse } from "../../model";
2
+ import { OmnisetupRequest } from "../../model/OmnisetupRequest";
3
+ import { OmnisetupResponse } from "../../model/OmnisetupResponse";
4
+ import { Connection } from "../Connection";
5
+ export declare class Omnisetup {
6
+ #private;
7
+ protected readonly folder = "omnisetup";
8
+ protected get connection(): Connection;
9
+ constructor(connection: Connection);
10
+ static create(connection: Connection): Omnisetup;
11
+ createOrganisation(omnisetupRequest: OmnisetupRequest, commit?: boolean): Promise<OmnisetupResponse | ErrorResponse>;
12
+ }
@@ -0,0 +1,30 @@
1
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
3
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
+ };
6
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
7
+ if (kind === "m") throw new TypeError("Private method is not writable");
8
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
9
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
10
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
11
+ };
12
+ var _Omnisetup_connection;
13
+ export class Omnisetup {
14
+ get connection() {
15
+ return __classPrivateFieldGet(this, _Omnisetup_connection, "f");
16
+ }
17
+ constructor(connection) {
18
+ this.folder = "omnisetup";
19
+ _Omnisetup_connection.set(this, void 0);
20
+ __classPrivateFieldSet(this, _Omnisetup_connection, connection, "f");
21
+ }
22
+ static create(connection) {
23
+ return new Omnisetup(connection);
24
+ }
25
+ async createOrganisation(omnisetupRequest, commit = true) {
26
+ return this.connection.post(`${this.folder}?commit=${commit}`, omnisetupRequest);
27
+ }
28
+ }
29
+ _Omnisetup_connection = new WeakMap();
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Omnisetup/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,MAAM,OAAO,SAAS;IAGrB,IAAc,UAAU;QACvB,OAAO,uBAAA,IAAI,6BAAY,CAAA;IACxB,CAAC;IACD,YAAY,UAAsB;QALf,WAAM,GAAG,WAAW,CAAA;QACvC,wCAAuB;QAKtB,uBAAA,IAAI,yBAAe,UAAU,MAAA,CAAA;IAC9B,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,SAAS,CAAC,UAAU,CAAC,CAAA;IACjC,CAAC;IACD,KAAK,CAAC,kBAAkB,CACvB,gBAAkC,EAClC,MAAM,GAAG,IAAI;QAEb,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAoC,GAAG,IAAI,CAAC,MAAM,WAAW,MAAM,EAAE,EAAE,gBAAgB,CAAC,CAAA;IACpH,CAAC;CACD"}
@@ -16,7 +16,7 @@ export declare class Transfers extends List<model.TransferResponse, model.Transf
16
16
  create(request: model.TransferRequest): Promise<(model.ErrorResponse & {
17
17
  status: 400 | 404 | 500 | 403 | 503;
18
18
  }) | (Transfer & model.TransferResponse)>;
19
- createV2(request: model.TransferRequest): Promise<model.TransferResponseV2 | (model.ErrorResponse & {
19
+ createV2(request: model.TransferRequest, otp?: string): Promise<model.TransferResponseV2 | (model.ErrorResponse & {
20
20
  status: 400 | 404 | 500 | 403 | 503;
21
21
  })>;
22
22
  }
@@ -29,8 +29,8 @@ export class Transfers extends List {
29
29
  const result = await this.connection.post(`${this.folder}`, request);
30
30
  return model.ErrorResponse.is(result) ? result : this.map(result);
31
31
  }
32
- async createV2(request) {
33
- return await this.connection.post("v2/transfers", request);
32
+ async createV2(request, otp) {
33
+ return await this.connection.post("v2/transfers", request, undefined, otp ? { "x-otp": otp } : {});
34
34
  }
35
35
  }
36
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Transfers/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,aAAa,CAAA;AAEpC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,OAAO,SAAU,SAAQ,IAAyE;IAEvG,YAAY,UAAsB;QACjC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,WAAW,CAAA;IAG9B,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,SAAS,CAAC,UAAU,CAAC,CAAA;IACjC,CAAC;IACS,eAAe,CAAC,QAAgC;QACzD,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IACnF,CAAC;IACS,cAAc,CAAC,QAAgC;QACxD,OAAO,IAAI,QAAQ,CAClB,IAAI,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AAC,CAAC,CAAA;IACxG,CAAC;IACS,GAAG,CAAC,QAAgC;QAC7C,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAA;IACxG,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,OAA8B;QAC1C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAyB,GAAG,IAAI,CAAC,MAAM,EAAE,EAAE,OAAO,CAAC,CAAA;QAC5F,OAAO,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;IAClE,CAAC;IACD,KAAK,CAAC,QAAQ,CAAC,OAA8B,EAAE,GAAY;QAC1D,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAChC,cAAc,EACd,OAAO,EACP,SAAS,EACT,GAAG,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAC3B,CAAA;IACF,CAAC;CACD"}
@@ -10,6 +10,7 @@ import { Configuration as ClientConfiguration } from "./Configuration";
10
10
  import { Connection } from "./Connection";
11
11
  import { Email as ClientEmail } from "./Email";
12
12
  import { List as ClientList } from "./List";
13
+ import { Omnisetup as ClientOmnisetup } from "./Omnisetup";
13
14
  import { Organisation as ClientOrganisation } from "./Organisation";
14
15
  import { Organisations as ClientOrganisations } from "./Organisations";
15
16
  import { Paginated as ClientPaginated } from "./Paginated";
@@ -31,6 +32,7 @@ export declare class Client {
31
32
  configuration: ClientConfiguration;
32
33
  email: ClientEmail;
33
34
  users: ClientUsers;
35
+ omnisetup: ClientOmnisetup;
34
36
  organisations: ClientOrganisations;
35
37
  reports: ClientReports;
36
38
  transfers: ClientTransfers;
@@ -48,6 +50,7 @@ export declare namespace Client {
48
50
  type Categories = ClientCategories;
49
51
  type Configuration = ClientConfiguration;
50
52
  type Email = ClientEmail;
53
+ type Omnisetup = ClientOmnisetup;
51
54
  type Organisation = ClientOrganisation;
52
55
  type Organisations = ClientOrganisations;
53
56
  type Reports = ClientReports;
@@ -6,6 +6,7 @@ import { Categories as ClientCategories } from "./Categories";
6
6
  import { Configuration as ClientConfiguration } from "./Configuration";
7
7
  import { Connection } from "./Connection";
8
8
  import { Email as ClientEmail } from "./Email";
9
+ import { Omnisetup as ClientOmnisetup } from "./Omnisetup";
9
10
  import { Organisations as ClientOrganisations } from "./Organisations";
10
11
  import { Reports as ClientReports } from "./Reports";
11
12
  import { Transfers as ClientTransfers } from "./Transfers";
@@ -25,6 +26,7 @@ export class Client {
25
26
  this.configuration = ClientConfiguration.create(this.connection);
26
27
  this.email = ClientEmail.create(this.connection);
27
28
  this.users = ClientUsers.create(this.connection);
29
+ this.omnisetup = ClientOmnisetup.create(this.connection);
28
30
  this.organisations = ClientOrganisations.create(this.connection);
29
31
  this.reports = ClientReports.create(this.connection);
30
32
  this.transfers = ClientTransfers.create(this.connection);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAEtE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE7D,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;A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ccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, Range, ReconciliationReportUrlRequest, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, 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, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, Range, ReconciliationReportUrlRequest, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, CardSearchRequest, SearchRolesetsRequest, SearchBeneficiaryRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
2
+ import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, ReconciliationReportUrlRequest, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, 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, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, SearchBeneficiaryRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, 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, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, PaxpayFeature, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
3
- export { Client, AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, PaxpayFeature, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
2
+ import { AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, OmnisetupFlags, OrganisationBalanceLimitResponse, OrganisationFlag, OrganisationResponse, Passengers, PaxpayFeature, ProductType, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
3
+ export { Client, AccountBankResponse, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, MerchantDetails, OmnisetupFlags, OrganisationBalanceLimitResponse, OrganisationFlag, OrganisationResponse, Passengers, PaxpayFeature, ProductType, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
4
4
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EACN,mBAAmB,EAEnB,yCAAyC,EACzC,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAEhB,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,sCAAsC,EACtC,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EAEX,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,0BAA0B,EAG1B,YAAY,EACZ,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAGpB,2BAA2B,EAE3B,oCAAoC,EACpC,aAAa,EACb,eAAe,EAEf,QAAQ,EAKR,qBAAqB,EACrB,yBAAyB,EAgBzB,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,EAElB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAGT,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EAGL,aAAa,EACb,eAAe,EAGf,gCAAgC,EAGhC,oBAAoB,EAEpB,UAAU,EAKV,aAAa,EAKb,YAAY,EACZ,gBAAgB,EAGhB,UAAU,EAWV,OAAO,EAIP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAA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6B,EAC7B,kBAAkB,EAElB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAKT,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EAGL,aAAa,EACb,eAAe,EAGf,cAAc,EAId,gCAAgC,EAGhC,gBAAgB,EAEhB,oBAAoB,EAEpB,UAAU,EAKV,aAAa,EAKb,WAAW,EACX,YAAY,EACZ,gBAAgB,EAEhB,UAAU,EAYV,OAAO,EAMP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EAIf,6BAA6B,EAC7B,0BAA0B,EAC1B,mBAAmB,EAInB,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAE3B,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EAEzB,cAAc,EACd,eAAe,EAMf,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAE5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
@@ -0,0 +1,4 @@
1
+ export interface AllowedMccConfig {
2
+ allowedMccs: string[];
3
+ allowedRanges: string[];
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=AllowedMccConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AllowedMccConfig.js","sourceRoot":"../","sources":["model/AllowedMccConfig.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import { CardTypeSpecification } from "./CardTypeSpecification";
2
+ import { ProviderCode } from "./ProviderCode";
3
+ export interface CardTypeProfileResponse {
4
+ cardTypeProfileId: string;
5
+ description: string;
6
+ providerCode: ProviderCode;
7
+ status: "ACTIVE" | "DELETED" | "DEPRECATED";
8
+ cardTypes: CardTypeSpecification;
9
+ sharedBetween: string[];
10
+ isDefault: boolean;
11
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CardTypeProfileResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardTypeProfileResponse.js","sourceRoot":"../","sources":["model/CardTypeProfileResponse.ts"],"names":[],"mappings":""}
@@ -1,10 +1,11 @@
1
+ import { ProductType } from "../model/ProductType";
1
2
  import { InvokingSystem } from "./InvokingSystem";
2
3
  export interface Criteria {
3
4
  usernames?: string[];
4
5
  categories?: string[];
5
6
  currencies: string[];
6
7
  maxAmount?: number;
7
- productTypes?: Array<"FLIGHT" | "ACCOMMODATION" | "ANY" | "CAR_PARKING" | "CAR_HIRE" | "TRANSFER" | "INSURANCE" | "PACKAGE" | "RAIL" | "CRUISE" | "ATTRACTION" | "BAGGAGE_TRACKING">;
8
+ productTypes?: ProductType[];
8
9
  suppliers?: string[];
9
10
  bookingSources?: Array<InvokingSystem>;
10
11
  ruleStartDate?: string;
@@ -0,0 +1,7 @@
1
+ import { Currency } from "isoly";
2
+ export interface InternalBalanceLimit {
3
+ currency: Currency;
4
+ lowerLimit: number;
5
+ emails: string[];
6
+ empty: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=InternalBalanceLimit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InternalBalanceLimit.js","sourceRoot":"../","sources":["model/InternalBalanceLimit.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { AllowedMccConfig } from "./AllowedMccConfig";
2
+ import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse";
3
+ import { OrganisationFlag } from "./OrganisationFlag";
4
+ import { PaxpayFeature } from "./PaxpayFeature";
5
+ export interface InternalOrganisationConfig {
6
+ flags?: OrganisationFlag[];
7
+ internalBalanceLimit?: OrganisationBalanceLimitResponse;
8
+ features?: PaxpayFeature[];
9
+ allowedMccConfig?: AllowedMccConfig;
10
+ statementAppned?: boolean;
11
+ statementRebuild?: boolean;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=InternalOrganisationConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InternalOrganisationConfig.js","sourceRoot":"../","sources":["model/InternalOrganisationConfig.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ declare const omnisetupFlags: readonly ["SABRE", "PAX2PAY_DIRECT"];
2
+ export type OmnisetupFlags = typeof omnisetupFlags[number];
3
+ export declare namespace OmnisetupFlags {
4
+ function is(value: unknown): value is OmnisetupFlags;
5
+ }
6
+ export {};
@@ -0,0 +1,9 @@
1
+ const omnisetupFlags = ["SABRE", "PAX2PAY_DIRECT"];
2
+ export var OmnisetupFlags;
3
+ (function (OmnisetupFlags) {
4
+ function is(value) {
5
+ return typeof value == "string" && omnisetupFlags.includes(value);
6
+ }
7
+ OmnisetupFlags.is = is;
8
+ })(OmnisetupFlags || (OmnisetupFlags = {}));
9
+ //# sourceMappingURL=OmnisetupFlags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OmnisetupFlags.js","sourceRoot":"../","sources":["model/OmnisetupFlags.ts"],"names":[],"mappings":"AAAA,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,gBAAgB,CAAU,CAAA;AAG3D,MAAM,KAAW,cAAc,CAI9B;AAJD,WAAiB,cAAc;IAC9B,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,cAAc,CAAC,QAAQ,CAAC,KAAuB,CAAC,CAAA;IACpF,CAAC;IAFe,iBAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,cAAc,KAAd,cAAc,QAI9B"}
@@ -0,0 +1,14 @@
1
+ import { AccountCreationRequest } from "./AccountCreationRequest";
2
+ import { CardTypeSpecification } from "./CardTypeSpecification";
3
+ import { CredentialRequest } from "./CredentialRequest";
4
+ import { ProviderCode } from "./ProviderCode";
5
+ import { SupplierRequest } from "./SupplierRequest";
6
+ export interface OmnisetupProviderRequest {
7
+ providerCode: ProviderCode;
8
+ fundingAccounts: AccountCreationRequest[];
9
+ credentials?: CredentialRequest;
10
+ providerSetupCredentials?: CredentialRequest;
11
+ suppliers?: SupplierRequest[];
12
+ cardType: CardTypeSpecification;
13
+ useAs?: string;
14
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=OmnisetupProviderRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OmnisetupProviderRequest.js","sourceRoot":"../","sources":["model/OmnisetupProviderRequest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import { InternalOrganisationConfig } from "./InternalOrganisationConfig";
2
+ import { OmnisetupFlags } from "./OmnisetupFlags";
3
+ import { OmnisetupProviderRequest } from "./OmnisetupProviderRequest";
4
+ import { OrganisationConfig } from "./OrganisationConfig";
5
+ import { OrganisationCreateRequest } from "./OrganisationCreateRequest";
6
+ import { UserRequest } from "./UserRequest";
7
+ export interface OmnisetupRequest {
8
+ flags?: OmnisetupFlags;
9
+ organisation: OrganisationCreateRequest;
10
+ users: UserRequest[];
11
+ providers: OmnisetupProviderRequest[];
12
+ organisationConfig?: OrganisationConfig;
13
+ internalOrganisationConfig?: InternalOrganisationConfig;
14
+ sharedRolesets?: string[];
15
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=OmnisetupRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OmnisetupRequest.js","sourceRoot":"../","sources":["model/OmnisetupRequest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ import { AccountResponse } from "./AccountResponse";
2
+ import { CardTypeProfileResponse } from "./CardTypeProfileResponse";
3
+ import { CredentialResponse } from "./CredentialResponse";
4
+ import { InsertCardOptionRequest } from "./InsertCardOptionRequest";
5
+ import { InternalOrganisationConfig } from "./InternalOrganisationConfig";
6
+ import { OrganisationConfig } from "./OrganisationConfig";
7
+ import { OrganisationResponse } from "./OrganisationResponse";
8
+ import { SupplierResponse } from "./SupplierResponse";
9
+ import { UserResponse } from "./UserResponse";
10
+ export interface OmnisetupResponse {
11
+ messages: string[];
12
+ organisation: OrganisationResponse;
13
+ organisationConfig?: OrganisationConfig;
14
+ internalOrganisationConfig?: InternalOrganisationConfig;
15
+ users: UserResponse;
16
+ suppliers: SupplierResponse[];
17
+ credentials: CredentialResponse[];
18
+ accounts: AccountResponse[];
19
+ cardOptions: InsertCardOptionRequest;
20
+ cardTypeProfiles: CardTypeProfileResponse;
21
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=OmnisetupResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OmnisetupResponse.js","sourceRoot":"../","sources":["model/OmnisetupResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { OrganisationUpdateRequest } from "./OrganisationUpdateRequest";
2
+ export interface OrganisationCreateRequest extends OrganisationUpdateRequest {
3
+ code: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=OrganisationCreateRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganisationCreateRequest.js","sourceRoot":"../","sources":["model/OrganisationCreateRequest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ declare const organisationFlag: readonly ["SABRE", "EEA_CUSTOMER", "PAX2PAY_DIRECT", "VOXEL", "HITCHHIKER", "YPSILON", "CONFERMA", "NET_STORMING", "AGENDAS_GROUP", "SABRE_REFERRAL", "TTS", "SOFTCONEX"];
2
+ export type OrganisationFlag = typeof organisationFlag[number];
3
+ export declare namespace OrganisationFlag {
4
+ function is(value: unknown): value is OrganisationFlag;
5
+ }
6
+ export {};
@@ -0,0 +1,22 @@
1
+ const organisationFlag = [
2
+ "SABRE",
3
+ "EEA_CUSTOMER",
4
+ "PAX2PAY_DIRECT",
5
+ "VOXEL",
6
+ "HITCHHIKER",
7
+ "YPSILON",
8
+ "CONFERMA",
9
+ "NET_STORMING",
10
+ "AGENDAS_GROUP",
11
+ "SABRE_REFERRAL",
12
+ "TTS",
13
+ "SOFTCONEX",
14
+ ];
15
+ export var OrganisationFlag;
16
+ (function (OrganisationFlag) {
17
+ function is(value) {
18
+ return typeof value == "string" && organisationFlag.includes(value);
19
+ }
20
+ OrganisationFlag.is = is;
21
+ })(OrganisationFlag || (OrganisationFlag = {}));
22
+ //# sourceMappingURL=OrganisationFlag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OrganisationFlag.js","sourceRoot":"../","sources":["model/OrganisationFlag.ts"],"names":[],"mappings":"AAAA,MAAM,gBAAgB,GAAG;IACxB,OAAO;IACP,cAAc;IACd,gBAAgB;IAChB,OAAO;IACP,YAAY;IACZ,SAAS;IACT,UAAU;IACV,cAAc;IACd,eAAe;IACf,gBAAgB;IAChB,KAAK;IACL,WAAW;CACF,CAAA;AAGV,MAAM,KAAW,gBAAgB,CAIhC;AAJD,WAAiB,gBAAgB;IAChC,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,gBAAgB,CAAC,QAAQ,CAAC,KAAyB,CAAC,CAAA;IACxF,CAAC;IAFe,mBAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,gBAAgB,KAAhB,gBAAgB,QAIhC"}
@@ -1,4 +1,6 @@
1
+ import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse";
1
2
  export interface OrganisationRequest {
2
- code: string;
3
3
  name: string;
4
+ status: "ACTIVE" | "DELETED";
5
+ organisationLimitRequest?: OrganisationBalanceLimitResponse;
4
6
  }
@@ -1,4 +1,6 @@
1
+ import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse";
1
2
  export interface OrganisationUpdateRequest {
2
3
  name: string;
3
4
  status: "ACTIVE" | "DELETED";
5
+ organisationLimitRequest?: OrganisationBalanceLimitResponse;
4
6
  }
@@ -0,0 +1,6 @@
1
+ declare const productType: readonly ["FLIGHT", "ACCOMMODATION", "ANY", "CAR_PARKING", "CAR_HIRE", "TRANSFER", "INSURANCE", "PACKAGE", "RAIL", "CRUISE", "ATTRACTION", "BAGGAGE_TRACKING"];
2
+ export type ProductType = typeof productType[number];
3
+ export declare namespace ProductType {
4
+ function is(value: unknown): value is ProductType;
5
+ }
6
+ export {};
@@ -0,0 +1,22 @@
1
+ const productType = [
2
+ "FLIGHT",
3
+ "ACCOMMODATION",
4
+ "ANY",
5
+ "CAR_PARKING",
6
+ "CAR_HIRE",
7
+ "TRANSFER",
8
+ "INSURANCE",
9
+ "PACKAGE",
10
+ "RAIL",
11
+ "CRUISE",
12
+ "ATTRACTION",
13
+ "BAGGAGE_TRACKING",
14
+ ];
15
+ export var ProductType;
16
+ (function (ProductType) {
17
+ function is(value) {
18
+ return typeof value == "string" && productType.includes(value);
19
+ }
20
+ ProductType.is = is;
21
+ })(ProductType || (ProductType = {}));
22
+ //# sourceMappingURL=ProductType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductType.js","sourceRoot":"../","sources":["model/ProductType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,GAAG;IACnB,QAAQ;IACR,eAAe;IACf,KAAK;IACL,aAAa;IACb,UAAU;IACV,UAAU;IACV,WAAW;IACX,SAAS;IACT,MAAM;IACN,QAAQ;IACR,YAAY;IACZ,kBAAkB;CACT,CAAA;AAGV,MAAM,KAAW,WAAW,CAI3B;AAJD,WAAiB,WAAW;IAC3B,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,WAAW,CAAC,QAAQ,CAAC,KAAoB,CAAC,CAAA;IAC9E,CAAC;IAFe,cAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,WAAW,KAAX,WAAW,QAI3B"}
@@ -0,0 +1,7 @@
1
+ import { ProductType } from "./ProductType";
2
+ export interface SupplierRequest {
3
+ productType: ProductType;
4
+ name: string;
5
+ status: "ACTIVE" | "DELETED";
6
+ codes: string[];
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SupplierRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupplierRequest.js","sourceRoot":"../","sources":["model/SupplierRequest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { SupplierRequest } from "./SupplierRequest";
2
+ export interface SupplierResponse extends SupplierRequest {
3
+ id: number;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SupplierResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupplierResponse.js","sourceRoot":"../","sources":["model/SupplierResponse.ts"],"names":[],"mappings":""}