@pax2pay/client 0.3.44 → 0.3.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client/Cards/index.ts +2 -2
- package/Client/Omnisetup/index.ts +24 -0
- package/Client/index.ts +3 -0
- package/dist/Client/Cards/index.js +2 -2
- package/dist/Client/Cards/index.js.map +1 -1
- package/dist/Client/Omnisetup/index.d.ts +12 -0
- package/dist/Client/Omnisetup/index.js +30 -0
- package/dist/Client/Omnisetup/index.js.map +1 -0
- package/dist/Client/index.d.ts +3 -0
- package/dist/Client/index.js +2 -0
- package/dist/Client/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/AllowedMccConfig.d.ts +4 -0
- package/dist/model/AllowedMccConfig.js +2 -0
- package/dist/model/AllowedMccConfig.js.map +1 -0
- package/dist/model/CardTypeProfileResponse.d.ts +11 -0
- package/dist/model/CardTypeProfileResponse.js +2 -0
- package/dist/model/CardTypeProfileResponse.js.map +1 -0
- package/dist/model/Criteria.d.ts +2 -1
- package/dist/model/InternalBalanceLimit.d.ts +7 -0
- package/dist/model/InternalBalanceLimit.js +2 -0
- package/dist/model/InternalBalanceLimit.js.map +1 -0
- package/dist/model/InternalOrganisationConfig.d.ts +12 -0
- package/dist/model/InternalOrganisationConfig.js +2 -0
- package/dist/model/InternalOrganisationConfig.js.map +1 -0
- package/dist/model/OmnisetupFlags.d.ts +6 -0
- package/dist/model/OmnisetupFlags.js +9 -0
- package/dist/model/OmnisetupFlags.js.map +1 -0
- package/dist/model/OmnisetupProviderRequest.d.ts +14 -0
- package/dist/model/OmnisetupProviderRequest.js +2 -0
- package/dist/model/OmnisetupProviderRequest.js.map +1 -0
- package/dist/model/OmnisetupRequest.d.ts +15 -0
- package/dist/model/OmnisetupRequest.js +2 -0
- package/dist/model/OmnisetupRequest.js.map +1 -0
- package/dist/model/OmnisetupResponse.d.ts +21 -0
- package/dist/model/OmnisetupResponse.js +2 -0
- package/dist/model/OmnisetupResponse.js.map +1 -0
- package/dist/model/OrganisationCreateRequest.d.ts +4 -0
- package/dist/model/OrganisationCreateRequest.js +2 -0
- package/dist/model/OrganisationCreateRequest.js.map +1 -0
- package/dist/model/OrganisationFlag.d.ts +6 -0
- package/dist/model/OrganisationFlag.js +22 -0
- package/dist/model/OrganisationFlag.js.map +1 -0
- package/dist/model/OrganisationRequest.d.ts +3 -1
- package/dist/model/OrganisationUpdateRequest.d.ts +2 -0
- package/dist/model/ProductType.d.ts +6 -0
- package/dist/model/ProductType.js +22 -0
- package/dist/model/ProductType.js.map +1 -0
- package/dist/model/SupplierRequest.d.ts +7 -0
- package/dist/model/SupplierRequest.js +2 -0
- package/dist/model/SupplierRequest.js.map +1 -0
- package/dist/model/SupplierResponse.d.ts +4 -0
- package/dist/model/SupplierResponse.js +2 -0
- package/dist/model/SupplierResponse.js.map +1 -0
- package/dist/model/index.d.ts +14 -1
- package/dist/model/index.js +4 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +31 -5
- package/model/AllowedMccConfig.ts +4 -0
- package/model/CardTypeProfileResponse.ts +12 -0
- package/model/Criteria.ts +2 -15
- package/model/InternalBalanceLimit.ts +8 -0
- package/model/InternalOrganisationConfig.ts +13 -0
- package/model/OmnisetupFlags.ts +8 -0
- package/model/OmnisetupProviderRequest.ts +15 -0
- package/model/OmnisetupRequest.ts +16 -0
- package/model/OmnisetupResponse.ts +22 -0
- package/model/OrganisationCreateRequest.ts +5 -0
- package/model/OrganisationFlag.ts +21 -0
- package/model/OrganisationRequest.ts +4 -1
- package/model/OrganisationUpdateRequest.ts +3 -0
- package/model/ProductType.ts +21 -0
- package/model/SupplierRequest.ts +8 -0
- package/model/SupplierResponse.ts +5 -0
- package/model/index.ts +26 -0
- package/package.json +1 -1
package/Client/Cards/index.ts
CHANGED
|
@@ -53,7 +53,7 @@ export class Cards extends List<
|
|
|
53
53
|
previous?: Paginated<model.CardResponseV2>,
|
|
54
54
|
page?: number,
|
|
55
55
|
size?: number,
|
|
56
|
-
sort = "
|
|
56
|
+
sort = "account.id,desc",
|
|
57
57
|
providerCode = "modulr",
|
|
58
58
|
includeCount = true
|
|
59
59
|
): Promise<model.ErrorResponse | Paginated<model.CardResponseV2>> {
|
|
@@ -159,7 +159,7 @@ export class Cards extends List<
|
|
|
159
159
|
previous?: Paginated<model.CardResponseV2>,
|
|
160
160
|
page?: number,
|
|
161
161
|
size?: number,
|
|
162
|
-
sort = "
|
|
162
|
+
sort = "account.id,desc",
|
|
163
163
|
includeCount = true
|
|
164
164
|
): Promise<model.ErrorResponse | Paginated<model.CardResponseV2>> {
|
|
165
165
|
return await this.getNextPaginated<model.CardResponseV2>(
|
|
@@ -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
|
+
}
|
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
|
|
@@ -38,7 +38,7 @@ export class Cards extends List {
|
|
|
38
38
|
static create(connection) {
|
|
39
39
|
return new Cards(connection);
|
|
40
40
|
}
|
|
41
|
-
async getAllCardsPaginated(previous, page, size, sort = "
|
|
41
|
+
async getAllCardsPaginated(previous, page, size, sort = "account.id,desc", providerCode = "modulr", includeCount = true) {
|
|
42
42
|
return await this.getNextPaginated(previous, (page, size, sort) => this.connection.get(`v2/cards`, {
|
|
43
43
|
page: page,
|
|
44
44
|
size: size,
|
|
@@ -102,7 +102,7 @@ export class Cards extends List {
|
|
|
102
102
|
const response = await this.connection.post(`v2/cards/searches`, searchRequest, parameters);
|
|
103
103
|
return this.extractResponse(response);
|
|
104
104
|
}
|
|
105
|
-
async searchCardsV2Paginated(request, previous, page, size, sort = "
|
|
105
|
+
async searchCardsV2Paginated(request, previous, page, size, sort = "account.id,desc", includeCount = true) {
|
|
106
106
|
return await this.getNextPaginated(previous, (page, size, sort, request) => this.connection.post(`v2/cards/searches`, request, {
|
|
107
107
|
page: page,
|
|
108
108
|
size: size,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Cards/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAG9B,MAAM,OAAO,KAAM,SAAQ,IAK1B;IAEA,YAAY,UAAsB;QACjC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,eAAe,CAAA;IAGlC,CAAC;IACS,eAAe,CAAC,QAAmD;QAC5E,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAC/E,CAAC;IACS,cAAc,CAAC,QAA8B;QACtD,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,CAAA;IACpH,CAAC;IACS,GAAG,CAAC,QAA8B;QAC3C,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAA;IACpG,CAAC;IACS,SAAS,CAAC,QAA4B;QAC/C,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,I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,cAAsB,EAAE,YAAgC,EAAE,OAA+B;QAClH,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CACvC,oBAAoB,YAAY,IAAI,cAAc,QAAQ,EAC1D,OAAO,CACP,CAAA;QACD,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,kCAAkC,CAAC,WAA+B,QAAQ;QAC/E,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAyB,8BAA8B,QAAQ,EAAE,CAAC,CAAA;IACnG,CAAC;CACD"}
|
|
@@ -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"}
|
package/dist/Client/index.d.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";
|
|
@@ -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;
|
package/dist/Client/index.js
CHANGED
|
@@ -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);
|
package/dist/Client/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAEtE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE7D,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;
|
|
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;AAEt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ACjB,CAAC;CACD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, 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,
|
|
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,
|
|
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,
|
|
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,EAGhB,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,EAMR,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,EAKT,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EAGL,aAAa,EACb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,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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"CardTypeProfileResponse.js","sourceRoot":"../","sources":["model/CardTypeProfileResponse.ts"],"names":[],"mappings":""}
|
package/dist/model/Criteria.d.ts
CHANGED
|
@@ -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?:
|
|
8
|
+
productTypes?: ProductType[];
|
|
8
9
|
suppliers?: string[];
|
|
9
10
|
bookingSources?: Array<InvokingSystem>;
|
|
10
11
|
ruleStartDate?: string;
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"InternalOrganisationConfig.js","sourceRoot":"../","sources":["model/InternalOrganisationConfig.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"OmnisetupResponse.js","sourceRoot":"../","sources":["model/OmnisetupResponse.ts"],"names":[],"mappings":""}
|
|
@@ -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"}
|
|
@@ -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"}
|