@pax2pay/client 0.3.68 → 0.3.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client/Configuration/index.ts +3 -0
- package/Client/Currency/index.ts +25 -0
- package/Client/Transfers/index.ts +17 -0
- package/Client/index.ts +3 -0
- package/dist/Client/Configuration/index.d.ts +1 -0
- package/dist/Client/Configuration/index.js +3 -0
- package/dist/Client/Configuration/index.js.map +1 -1
- package/dist/Client/Currency/index.d.ts +14 -0
- package/dist/Client/Currency/index.js +33 -0
- package/dist/Client/Currency/index.js.map +1 -0
- package/dist/Client/Transfers/index.d.ts +7 -0
- package/dist/Client/Transfers/index.js +6 -0
- package/dist/Client/Transfers/index.js.map +1 -1
- 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/AccountDetailsTransferDestinationResponse.d.ts +7 -0
- package/dist/model/AccountDetailsTransferDestinationResponse.js +8 -1
- package/dist/model/AccountDetailsTransferDestinationResponse.js.map +1 -1
- package/dist/model/CurrencyConversionRequest.d.ts +9 -0
- package/dist/model/CurrencyConversionRequest.js +12 -0
- package/dist/model/CurrencyConversionRequest.js.map +1 -0
- package/dist/model/CurrencyConversionResponse.d.ts +12 -0
- package/dist/model/CurrencyConversionResponse.js +15 -0
- package/dist/model/CurrencyConversionResponse.js.map +1 -0
- package/dist/model/TransferResponseV2.d.ts +1 -0
- package/dist/model/TransferResponseV2.js +2 -1
- package/dist/model/TransferResponseV2.js.map +1 -1
- package/dist/model/index.d.ts +3 -1
- package/dist/model/index.js +3 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +4 -0
- package/model/AccountDetailsTransferDestinationResponse.ts +14 -1
- package/model/CurrencyConversionRequest.ts +18 -0
- package/model/CurrencyConversionResponse.ts +24 -0
- package/model/TransferResponseV2.ts +3 -1
- package/model/index.ts +4 -0
- package/package.json +1 -1
|
@@ -28,6 +28,9 @@ export class Configuration {
|
|
|
28
28
|
async getPortalFeatures(): Promise<model.PaxpayFeature[] | model.ErrorResponse> {
|
|
29
29
|
return await this.connection.get<model.PaxpayFeature[]>(`${this.folder}/portal`)
|
|
30
30
|
}
|
|
31
|
+
async getConfigValueFromKey(category: string, key: string): Promise<any | model.ErrorResponse> {
|
|
32
|
+
return await this.connection.get<any>(`${this.folder}/key/${category}/${key}`)
|
|
33
|
+
}
|
|
31
34
|
|
|
32
35
|
async setupCredentials(
|
|
33
36
|
organisationCode: string,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as isoly from "isoly"
|
|
2
|
+
import * as model from "../../model"
|
|
3
|
+
import { CurrencyConversionRequest } from "../../model/CurrencyConversionRequest"
|
|
4
|
+
import { CurrencyConversionResponse } from "../../model/CurrencyConversionResponse"
|
|
5
|
+
import { Connection } from "../Connection"
|
|
6
|
+
|
|
7
|
+
export class Currency {
|
|
8
|
+
protected folder = "currency"
|
|
9
|
+
#connection: Connection
|
|
10
|
+
protected get connection() {
|
|
11
|
+
return this.#connection
|
|
12
|
+
}
|
|
13
|
+
constructor(connection: Connection) {
|
|
14
|
+
this.#connection = connection
|
|
15
|
+
}
|
|
16
|
+
static create(connection: Connection): Currency {
|
|
17
|
+
return new Currency(connection)
|
|
18
|
+
}
|
|
19
|
+
async convertSimple(from: isoly.Currency, amount: number, to: isoly.Currency): Promise<number | model.ErrorResponse> {
|
|
20
|
+
return await this.connection.get<number>(`${this.folder}/convert/${from}/${amount}/${to}`)
|
|
21
|
+
}
|
|
22
|
+
async convert(request: CurrencyConversionRequest): Promise<CurrencyConversionResponse | model.ErrorResponse> {
|
|
23
|
+
return await this.connection.post<CurrencyConversionResponse>(`${this.folder}/convert`, request)
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as model from "../../model"
|
|
2
|
+
import { ProviderCode } from "../../model/ProviderCode"
|
|
2
3
|
import { Connection } from "../Connection"
|
|
3
4
|
import { List } from "../List"
|
|
4
5
|
|
|
@@ -37,4 +38,20 @@ export class Transfers extends List<model.TransferResponse> {
|
|
|
37
38
|
})
|
|
38
39
|
)
|
|
39
40
|
}
|
|
41
|
+
async approveV2(providerCode: ProviderCode, transferId: string, otp?: string) {
|
|
42
|
+
return await this.connection.post<model.TransferResponseV2>(
|
|
43
|
+
`v2/${this.folder}/${providerCode}/${transferId}/approve`,
|
|
44
|
+
undefined,
|
|
45
|
+
undefined,
|
|
46
|
+
otp ? { "x-otp": otp } : {}
|
|
47
|
+
)
|
|
48
|
+
}
|
|
49
|
+
async declineV2(providerCode: ProviderCode, transferId: string, otp?: string) {
|
|
50
|
+
return await this.connection.post<model.TransferResponseV2>(
|
|
51
|
+
`v2/${this.folder}/${providerCode}/${transferId}/decline`,
|
|
52
|
+
undefined,
|
|
53
|
+
undefined,
|
|
54
|
+
otp ? { "x-otp": otp } : {}
|
|
55
|
+
)
|
|
56
|
+
}
|
|
40
57
|
}
|
package/Client/index.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Cards as ClientCards } from "./Cards"
|
|
|
5
5
|
import { Categories as ClientCategories } from "./Categories"
|
|
6
6
|
import { Configuration as ClientConfiguration } from "./Configuration"
|
|
7
7
|
import { Connection } from "./Connection"
|
|
8
|
+
import { Currency as ClientCurrency } from "./Currency"
|
|
8
9
|
import { Email as ClientEmail } from "./Email"
|
|
9
10
|
import { List as ClientList } from "./List"
|
|
10
11
|
import { Merchants as ClientMerchants } from "./Merchants"
|
|
@@ -28,6 +29,7 @@ export class Client {
|
|
|
28
29
|
cards = ClientCards.create(this.connection)
|
|
29
30
|
categories = ClientCategories.create(this.connection)
|
|
30
31
|
configuration = ClientConfiguration.create(this.connection)
|
|
32
|
+
currency = ClientCurrency.create(this.connection)
|
|
31
33
|
email = ClientEmail.create(this.connection)
|
|
32
34
|
merchants = ClientMerchants.create(this.connection)
|
|
33
35
|
omnisetup = ClientOmnisetup.create(this.connection)
|
|
@@ -57,6 +59,7 @@ export namespace Client {
|
|
|
57
59
|
export type Cards = ClientCards
|
|
58
60
|
export type Categories = ClientCategories
|
|
59
61
|
export type Configuration = ClientConfiguration
|
|
62
|
+
export type Currency = ClientCurrency
|
|
60
63
|
export type Email = ClientEmail
|
|
61
64
|
export type Merchants = ClientMerchants
|
|
62
65
|
export type Omnisetup = ClientOmnisetup
|
|
@@ -13,6 +13,7 @@ export declare class Configuration {
|
|
|
13
13
|
getUserConfig(): Promise<model.UserConfig | model.ErrorResponse>;
|
|
14
14
|
updateUserConfig(request: model.UserConfig): Promise<model.UserConfig | model.ErrorResponse>;
|
|
15
15
|
getPortalFeatures(): Promise<model.PaxpayFeature[] | model.ErrorResponse>;
|
|
16
|
+
getConfigValueFromKey(category: string, key: string): Promise<any | model.ErrorResponse>;
|
|
16
17
|
setupCredentials(organisationCode: string, providerCode: ProviderCode, request: model.CredentialRequest): Promise<model.CredentialResponse | model.ErrorResponse>;
|
|
17
18
|
getAllCredentials(organisationCode: string): Promise<model.CredentialResponse[] | model.ErrorResponse>;
|
|
18
19
|
updateCredentials(organisationCode: string, providerCode: ProviderCode, request: model.CredentialRequest): Promise<model.CredentialResponse | model.ErrorResponse>;
|
|
@@ -25,6 +25,9 @@ export class Configuration {
|
|
|
25
25
|
async getPortalFeatures() {
|
|
26
26
|
return await this.connection.get(`${this.folder}/portal`);
|
|
27
27
|
}
|
|
28
|
+
async getConfigValueFromKey(category, key) {
|
|
29
|
+
return await this.connection.get(`${this.folder}/key/${category}/${key}`);
|
|
30
|
+
}
|
|
28
31
|
async setupCredentials(organisationCode, providerCode, request) {
|
|
29
32
|
const header = { "x-assume": organisationCode };
|
|
30
33
|
return await this.connection.post(`credentials/${providerCode}/setup`, request, undefined, header);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Configuration/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,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AAY,EAAE,EAC7B,OAAO,EACP,SAAS,EACT,MAAM,CACN,CAAA;IACF,CAAC;CACD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
import * as model from "../../model";
|
|
3
|
+
import { CurrencyConversionRequest } from "../../model/CurrencyConversionRequest";
|
|
4
|
+
import { CurrencyConversionResponse } from "../../model/CurrencyConversionResponse";
|
|
5
|
+
import { Connection } from "../Connection";
|
|
6
|
+
export declare class Currency {
|
|
7
|
+
#private;
|
|
8
|
+
protected folder: string;
|
|
9
|
+
protected get connection(): Connection;
|
|
10
|
+
constructor(connection: Connection);
|
|
11
|
+
static create(connection: Connection): Currency;
|
|
12
|
+
convertSimple(from: isoly.Currency, amount: number, to: isoly.Currency): Promise<number | model.ErrorResponse>;
|
|
13
|
+
convert(request: CurrencyConversionRequest): Promise<CurrencyConversionResponse | model.ErrorResponse>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 _Currency_connection;
|
|
13
|
+
export class Currency {
|
|
14
|
+
get connection() {
|
|
15
|
+
return __classPrivateFieldGet(this, _Currency_connection, "f");
|
|
16
|
+
}
|
|
17
|
+
constructor(connection) {
|
|
18
|
+
this.folder = "currency";
|
|
19
|
+
_Currency_connection.set(this, void 0);
|
|
20
|
+
__classPrivateFieldSet(this, _Currency_connection, connection, "f");
|
|
21
|
+
}
|
|
22
|
+
static create(connection) {
|
|
23
|
+
return new Currency(connection);
|
|
24
|
+
}
|
|
25
|
+
async convertSimple(from, amount, to) {
|
|
26
|
+
return await this.connection.get(`${this.folder}/convert/${from}/${amount}/${to}`);
|
|
27
|
+
}
|
|
28
|
+
async convert(request) {
|
|
29
|
+
return await this.connection.post(`${this.folder}/convert`, request);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
_Currency_connection = new WeakMap();
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Currency/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,MAAM,OAAO,QAAQ;IAGpB,IAAc,UAAU;QACvB,OAAO,uBAAA,IAAI,4BAAY,CAAA;IACxB,CAAC;IACD,YAAY,UAAsB;QALxB,WAAM,GAAG,UAAU,CAAA;QAC7B,uCAAuB;QAKtB,uBAAA,IAAI,wBAAe,UAAU,MAAA,CAAA;IAC9B,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,QAAQ,CAAC,UAAU,CAAC,CAAA;IAChC,CAAC;IACD,KAAK,CAAC,aAAa,CAAC,IAAoB,EAAE,MAAc,EAAE,EAAkB;QAC3E,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAS,GAAG,IAAI,CAAC,MAAM,YAAY,IAAI,IAAI,MAAM,IAAI,EAAE,EAAE,CAAC,CAAA;IAC3F,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,OAAkC;QAC/C,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA6B,GAAG,IAAI,CAAC,MAAM,UAAU,EAAE,OAAO,CAAC,CAAA;IACjG,CAAC;CACD"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as model from "../../model";
|
|
2
|
+
import { ProviderCode } from "../../model/ProviderCode";
|
|
2
3
|
import { Connection } from "../Connection";
|
|
3
4
|
import { List } from "../List";
|
|
4
5
|
export declare class Transfers extends List<model.TransferResponse> {
|
|
@@ -16,4 +17,10 @@ export declare class Transfers extends List<model.TransferResponse> {
|
|
|
16
17
|
status: 400 | 404 | 500 | 403 | 503;
|
|
17
18
|
})>;
|
|
18
19
|
searchV2(request: model.TransferSearch, page?: number, size?: number, sort?: string): Promise<model.ErrorResponse | model.TransferResponseV2[]>;
|
|
20
|
+
approveV2(providerCode: ProviderCode, transferId: string, otp?: string): Promise<model.TransferResponseV2 | (model.ErrorResponse & {
|
|
21
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
22
|
+
})>;
|
|
23
|
+
declineV2(providerCode: ProviderCode, transferId: string, otp?: string): Promise<model.TransferResponseV2 | (model.ErrorResponse & {
|
|
24
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
25
|
+
})>;
|
|
19
26
|
}
|
|
@@ -27,5 +27,11 @@ export class Transfers extends List {
|
|
|
27
27
|
sort,
|
|
28
28
|
}));
|
|
29
29
|
}
|
|
30
|
+
async approveV2(providerCode, transferId, otp) {
|
|
31
|
+
return await this.connection.post(`v2/${this.folder}/${providerCode}/${transferId}/approve`, undefined, undefined, otp ? { "x-otp": otp } : {});
|
|
32
|
+
}
|
|
33
|
+
async declineV2(providerCode, transferId, otp) {
|
|
34
|
+
return await this.connection.post(`v2/${this.folder}/${providerCode}/${transferId}/decline`, undefined, undefined, otp ? { "x-otp": otp } : {});
|
|
35
|
+
}
|
|
30
36
|
}
|
|
31
37
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Transfers/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Transfers/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,MAAM,OAAO,SAAU,SAAQ,IAA4B;IAE1D,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;IACD,KAAK,CAAC,MAAM;QACX,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAyD,IAAI,CAAC,MAAM,CAAC,CAAA;QAC/G,OAAO,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAA;IACtC,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,QAA4B,EAAE,UAAkB;QACjE,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAyB,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;IACxG,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,OAA8B;QAC1C,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAyB,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChF,CAAC;IACD,KAAK,CAAC,QAAQ,CAAC,OAA8B,EAAE,GAAY;QAC1D,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAChC,MAAM,IAAI,CAAC,MAAM,EAAE,EACnB,OAAO,EACP,SAAS,EACT,GAAG,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAC3B,CAAA;IACF,CAAC;IACD,KAAK,CAAC,QAAQ,CAAC,OAA6B,EAAE,IAAa,EAAE,IAAa,EAAE,IAAa;QACxF,OAAO,IAAI,CAAC,eAAe,CAC1B,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA6B,MAAM,IAAI,CAAC,MAAM,WAAW,EAAE,OAAO,EAAE;YAC7F,IAAI;YACJ,IAAI;YACJ,IAAI;SACJ,CAAC,CACF,CAAA;IACF,CAAC;IACD,KAAK,CAAC,SAAS,CAAC,YAA0B,EAAE,UAAkB,EAAE,GAAY;QAC3E,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAChC,MAAM,IAAI,CAAC,MAAM,IAAI,YAAY,IAAI,UAAU,UAAU,EACzD,SAAS,EACT,SAAS,EACT,GAAG,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAC3B,CAAA;IACF,CAAC;IACD,KAAK,CAAC,SAAS,CAAC,YAA0B,EAAE,UAAkB,EAAE,GAAY;QAC3E,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAChC,MAAM,IAAI,CAAC,MAAM,IAAI,YAAY,IAAI,UAAU,UAAU,EACzD,SAAS,EACT,SAAS,EACT,GAAG,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAC3B,CAAA;IACF,CAAC;CACD"}
|
package/dist/Client/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Cards as ClientCards } from "./Cards";
|
|
|
5
5
|
import { Categories as ClientCategories } from "./Categories";
|
|
6
6
|
import { Configuration as ClientConfiguration } from "./Configuration";
|
|
7
7
|
import { Connection } from "./Connection";
|
|
8
|
+
import { Currency as ClientCurrency } from "./Currency";
|
|
8
9
|
import { Email as ClientEmail } from "./Email";
|
|
9
10
|
import { List as ClientList } from "./List";
|
|
10
11
|
import { Merchants as ClientMerchants } from "./Merchants";
|
|
@@ -26,6 +27,7 @@ export declare class Client {
|
|
|
26
27
|
cards: ClientCards;
|
|
27
28
|
categories: ClientCategories;
|
|
28
29
|
configuration: ClientConfiguration;
|
|
30
|
+
currency: ClientCurrency;
|
|
29
31
|
email: ClientEmail;
|
|
30
32
|
merchants: ClientMerchants;
|
|
31
33
|
omnisetup: ClientOmnisetup;
|
|
@@ -45,6 +47,7 @@ export declare namespace Client {
|
|
|
45
47
|
type Cards = ClientCards;
|
|
46
48
|
type Categories = ClientCategories;
|
|
47
49
|
type Configuration = ClientConfiguration;
|
|
50
|
+
type Currency = ClientCurrency;
|
|
48
51
|
type Email = ClientEmail;
|
|
49
52
|
type Merchants = ClientMerchants;
|
|
50
53
|
type Omnisetup = ClientOmnisetup;
|
package/dist/Client/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import { Cards as ClientCards } from "./Cards";
|
|
|
5
5
|
import { Categories as ClientCategories } from "./Categories";
|
|
6
6
|
import { Configuration as ClientConfiguration } from "./Configuration";
|
|
7
7
|
import { Connection } from "./Connection";
|
|
8
|
+
import { Currency as ClientCurrency } from "./Currency";
|
|
8
9
|
import { Email as ClientEmail } from "./Email";
|
|
9
10
|
import { Merchants as ClientMerchants } from "./Merchants";
|
|
10
11
|
import { Omnisetup as ClientOmnisetup } from "./Omnisetup";
|
|
@@ -26,6 +27,7 @@ export class Client {
|
|
|
26
27
|
this.cards = ClientCards.create(this.connection);
|
|
27
28
|
this.categories = ClientCategories.create(this.connection);
|
|
28
29
|
this.configuration = ClientConfiguration.create(this.connection);
|
|
30
|
+
this.currency = ClientCurrency.create(this.connection);
|
|
29
31
|
this.email = ClientEmail.create(this.connection);
|
|
30
32
|
this.merchants = ClientMerchants.create(this.connection);
|
|
31
33
|
this.omnisetup = ClientOmnisetup.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":"AAA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,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;QACrF,OAAO,UAAU,IAAI,IAAI,MAAM,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;IAC1F,CAAC;IACD,SAAS,CAAC,OAAe;QACxB,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QAC3E,SAAS,CAAC,UAAU,CAAC,UAAU,GAAG,OAAO,CAAA;QACzC,OAAO,SAAS,CAAA;IACjB,CAAC;CACD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, 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, CardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, 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, MerchantRequest, MerchantResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentResponse, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, ReconciliationReportUrlRequest, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchRolesetsRequest, SecurityConfig, Segment, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardDeliveryOptions, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedSchedulesOptions, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, 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, CardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, 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, MerchantRequest, MerchantResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentResponse, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, SecurityConfig, SearchBeneficiaryRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestionCardDeliveryRequest, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, 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, CardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, 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, MerchantRequest, MerchantResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentResponse, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, ReconciliationReportUrlRequest, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchRolesetsRequest, SecurityConfig, Segment, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardDeliveryOptions, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedSchedulesOptions, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, 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, CardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, 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, MerchantRequest, MerchantResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentResponse, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, SecurityConfig, SearchBeneficiaryRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestionCardDeliveryRequest, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, 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, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationResponse, OrganisationUpdateRequest, Passengers, PaxpayFeature, PaymentMethodType, ProductType, ProviderCode, ProviderResponse, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationResponse, OrganisationUpdateRequest, Passengers, PaxpayFeature, PaymentMethodType, ProductType, ProviderCode, ProviderResponse, References, ScheduleEntry, Segment, SecurityConfig, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationResponse, OrganisationUpdateRequest, Passengers, PaxpayFeature, PaymentMethodType, ProductType, ProviderCode, ProviderResponse, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationResponse, OrganisationUpdateRequest, Passengers, PaxpayFeature, PaymentMethodType, ProductType, ProviderCode, ProviderResponse, References, ScheduleEntry, Segment, SecurityConfig, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, 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,EACnB,sBAAsB,EACtB,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,EACX,kBAAkB,EAClB,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,EAOR,qBAAqB,EACrB,yBAAyB,EACzB,SAAS,EAYT,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EACN,mBAAmB,EACnB,sBAAsB,EACtB,yCAAyC,EACzC,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAGhB,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,sCAAsC,EACtC,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,0BAA0B,EAG1B,YAAY,E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AgB,EAEhB,UAAU,EAQV,aAAa,EAIb,OAAO,EACP,cAAc,EAKd,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EAIf,6BAA6B,EAY7B,kCAAkC,EAClC,yBAAyB,EACzB,8BAA8B,EAC9B,iBAAiB,EAEjB,0BAA0B,EAC1B,mBAAmB,EACnB,eAAe,EAGf,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EAEjB,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"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
import { AddressInfo } from "./AddressInfo";
|
|
1
3
|
export interface AccountDetailsTransferDestinationResponse {
|
|
2
4
|
sortCode?: string;
|
|
3
5
|
accountNumber?: string;
|
|
4
6
|
iban?: string;
|
|
5
7
|
bic?: string;
|
|
8
|
+
type: "SCAN" | "IBAN";
|
|
9
|
+
address?: AddressInfo;
|
|
6
10
|
fullName?: string;
|
|
11
|
+
currency: Currency;
|
|
12
|
+
bankCountry?: string;
|
|
13
|
+
bankName?: string;
|
|
7
14
|
}
|
|
8
15
|
export declare namespace AccountDetailsTransferDestinationResponse {
|
|
9
16
|
function is(value: AccountDetailsTransferDestinationResponse | any): value is AccountDetailsTransferDestinationResponse;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
import { AddressInfo } from "./AddressInfo";
|
|
1
3
|
export var AccountDetailsTransferDestinationResponse;
|
|
2
4
|
(function (AccountDetailsTransferDestinationResponse) {
|
|
3
5
|
function is(value) {
|
|
@@ -6,7 +8,12 @@ export var AccountDetailsTransferDestinationResponse;
|
|
|
6
8
|
(value.accountNumber == undefined || typeof value.accountNumber == "string") &&
|
|
7
9
|
(value.iban == undefined || typeof value.iban == "string") &&
|
|
8
10
|
(value.bic == undefined || typeof value.bic == "string") &&
|
|
9
|
-
(value.
|
|
11
|
+
(value.type == "IBAN" || value.type == "SCAN") &&
|
|
12
|
+
(value.fullName == undefined || typeof value.fullName == "string") &&
|
|
13
|
+
(value.address == undefined || AddressInfo.is(value.address)) &&
|
|
14
|
+
Currency.is(value.currency) &&
|
|
15
|
+
(value.bankCountry == undefined || typeof value.bankCountry == "string") &&
|
|
16
|
+
(value.bankName == undefined || typeof value.bankName == "string"));
|
|
10
17
|
}
|
|
11
18
|
AccountDetailsTransferDestinationResponse.is = is;
|
|
12
19
|
})(AccountDetailsTransferDestinationResponse || (AccountDetailsTransferDestinationResponse = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountDetailsTransferDestinationResponse.js","sourceRoot":"../","sources":["model/AccountDetailsTransferDestinationResponse.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AccountDetailsTransferDestinationResponse.js","sourceRoot":"../","sources":["model/AccountDetailsTransferDestinationResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAe3C,MAAM,KAAW,yCAAyC,CAkBzD;AAlBD,WAAiB,yCAAyC;IACzD,SAAgB,EAAE,CACjB,KAAsD;QAEtD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CAAC;YAClE,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ,CAAC;YAC5E,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAC;YAC1D,CAAC,KAAK,CAAC,GAAG,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,GAAG,IAAI,QAAQ,CAAC;YACxD,CAAC,KAAK,CAAC,IAAI,IAAI,MAAM,IAAI,KAAK,CAAC,IAAI,IAAI,MAAM,CAAC;YAC9C,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CAAC;YAClE,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,WAAW,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;YAC7D,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC3B,CAAC,KAAK,CAAC,WAAW,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,WAAW,IAAI,QAAQ,CAAC;YACxE,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAClE,CAAA;IACF,CAAC;IAhBe,4CAAE,KAgBjB,CAAA;AACF,CAAC,EAlBgB,yCAAyC,KAAzC,yCAAyC,QAkBzD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
export interface CurrencyConversionRequest {
|
|
3
|
+
from: isoly.Currency;
|
|
4
|
+
to: isoly.Currency;
|
|
5
|
+
amount: number;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace CurrencyConversionRequest {
|
|
8
|
+
function is(value: CurrencyConversionRequest | any): value is CurrencyConversionRequest;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
export var CurrencyConversionRequest;
|
|
3
|
+
(function (CurrencyConversionRequest) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return (typeof value == "object" &&
|
|
6
|
+
isoly.Currency.is(value.from) &&
|
|
7
|
+
isoly.Currency.is(value.to) &&
|
|
8
|
+
typeof value.amount == "number");
|
|
9
|
+
}
|
|
10
|
+
CurrencyConversionRequest.is = is;
|
|
11
|
+
})(CurrencyConversionRequest || (CurrencyConversionRequest = {}));
|
|
12
|
+
//# sourceMappingURL=CurrencyConversionRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrencyConversionRequest.js","sourceRoot":"../","sources":["model/CurrencyConversionRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,MAAM,KAAW,yBAAyB,CASzC;AATD,WAAiB,yBAAyB;IACzC,SAAgB,EAAE,CAAC,KAAsC;QACxD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;YAC7B,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3B,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ,CAC/B,CAAA;IACF,CAAC;IAPe,4BAAE,KAOjB,CAAA;AACF,CAAC,EATgB,yBAAyB,KAAzB,yBAAyB,QASzC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
export interface CurrencyConversionResponse {
|
|
3
|
+
from: isoly.Currency;
|
|
4
|
+
to: isoly.Currency;
|
|
5
|
+
fxRate: number;
|
|
6
|
+
original: number;
|
|
7
|
+
converted: number;
|
|
8
|
+
rateSource: string;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace CurrencyConversionResponse {
|
|
11
|
+
function is(value: CurrencyConversionResponse | any): value is CurrencyConversionResponse;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
export var CurrencyConversionResponse;
|
|
3
|
+
(function (CurrencyConversionResponse) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return (typeof value == "object" &&
|
|
6
|
+
isoly.Currency.is(value.from) &&
|
|
7
|
+
isoly.Currency.is(value.to) &&
|
|
8
|
+
typeof value.fxRate == "number" &&
|
|
9
|
+
typeof value.original == "number" &&
|
|
10
|
+
typeof value.converted == "number" &&
|
|
11
|
+
typeof value.rateSource == "string");
|
|
12
|
+
}
|
|
13
|
+
CurrencyConversionResponse.is = is;
|
|
14
|
+
})(CurrencyConversionResponse || (CurrencyConversionResponse = {}));
|
|
15
|
+
//# sourceMappingURL=CurrencyConversionResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrencyConversionResponse.js","sourceRoot":"../","sources":["model/CurrencyConversionResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,MAAM,KAAW,0BAA0B,CAY1C;AAZD,WAAiB,0BAA0B;IAC1C,SAAgB,EAAE,CAAC,KAAuC;QACzD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC;YAC7B,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3B,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ;YAC/B,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ;YACjC,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ;YAClC,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,CACnC,CAAA;IACF,CAAC;IAVe,6BAAE,KAUjB,CAAA;AACF,CAAC,EAZgB,0BAA0B,KAA1B,0BAA0B,QAY1C"}
|
|
@@ -21,6 +21,7 @@ export interface TransferResponseV2 {
|
|
|
21
21
|
bookingInfo?: BookingInfoResponse;
|
|
22
22
|
direction: TransferDirection;
|
|
23
23
|
createdBy: string;
|
|
24
|
+
personallyApprovable?: boolean;
|
|
24
25
|
}
|
|
25
26
|
export declare namespace TransferResponseV2 {
|
|
26
27
|
function is(value: TransferResponseV2 | any): value is TransferResponseV2;
|
|
@@ -22,7 +22,8 @@ export var TransferResponseV2;
|
|
|
22
22
|
TransferDestinationResponse.is(value.destination) &&
|
|
23
23
|
(value.bookingInfo == undefined || BookingInfoResponse.is(value.bookingInfo)) &&
|
|
24
24
|
TransferDirection.is(value.direction) &&
|
|
25
|
-
typeof value.createdBy == "string"
|
|
25
|
+
typeof value.createdBy == "string" &&
|
|
26
|
+
(value.personallyApprovable == undefined || typeof value.personallyApprovable == "boolean"));
|
|
26
27
|
}
|
|
27
28
|
TransferResponseV2.is = is;
|
|
28
29
|
})(TransferResponseV2 || (TransferResponseV2 = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransferResponseV2.js","sourceRoot":"../","sources":["model/TransferResponseV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"TransferResponseV2.js","sourceRoot":"../","sources":["model/TransferResponseV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAA;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B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CAAC;IAnBe,qBAAE,KAmBjB,CAAA;AACF,CAAC,EArBgB,kBAAkB,KAAlB,kBAAkB,QAqBlC"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -68,6 +68,8 @@ import { CreateRolesetRequest } from "./CreateRolesetRequest";
|
|
|
68
68
|
import { CredentialRequest } from "./CredentialRequest";
|
|
69
69
|
import { CredentialResponse } from "./CredentialResponse";
|
|
70
70
|
import { Criteria } from "./Criteria";
|
|
71
|
+
import { CurrencyConversionRequest } from "./CurrencyConversionRequest";
|
|
72
|
+
import { CurrencyConversionResponse } from "./CurrencyConversionResponse";
|
|
71
73
|
import { DateRangeLocalDate } from "./DateRangeLocalDate";
|
|
72
74
|
import { EmailValidationResponse } from "./EmailValidationResponse";
|
|
73
75
|
import { ErrorMessageDto } from "./ErrorMessageDto";
|
|
@@ -211,4 +213,4 @@ import { UserRoleResponse } from "./UserRoleResponse";
|
|
|
211
213
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
212
214
|
import { UserStatus } from "./UserStatus";
|
|
213
215
|
import { YearMonth } from "./YearMonth";
|
|
214
|
-
export { 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, CardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, 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, MerchantRequest, MerchantResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentResponse, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, SecurityConfig, Segment, SearchBeneficiaryRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, 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, };
|
|
216
|
+
export { 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, CardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, 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, MerchantRequest, MerchantResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationUpdateRequest, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentResponse, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, SecurityConfig, Segment, SearchBeneficiaryRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, 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/model/index.js
CHANGED
|
@@ -38,6 +38,8 @@ import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
|
38
38
|
import { CardTypeSpecificationFlag } from "./CardTypeSpecificationFlag";
|
|
39
39
|
import { CardUsage } from "./CardUsage";
|
|
40
40
|
import { CredentialRequest } from "./CredentialRequest";
|
|
41
|
+
import { CurrencyConversionRequest } from "./CurrencyConversionRequest";
|
|
42
|
+
import { CurrencyConversionResponse } from "./CurrencyConversionResponse";
|
|
41
43
|
import { EmailValidationResponse } from "./EmailValidationResponse";
|
|
42
44
|
import { ErrorMessageDto } from "./ErrorMessageDto";
|
|
43
45
|
import { ErrorResponse } from "./ErrorResponse";
|
|
@@ -114,5 +116,5 @@ import { UserRequest } from "./UserRequest";
|
|
|
114
116
|
import { UserResponse } from "./UserResponse";
|
|
115
117
|
import { UserStatus } from "./UserStatus";
|
|
116
118
|
import { YearMonth } from "./YearMonth";
|
|
117
|
-
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationResponse, OrganisationUpdateRequest, Passengers, PaxpayFeature, PaymentMethodType, ProductType, ProviderCode, ProviderResponse, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
119
|
+
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationResponse, OrganisationUpdateRequest, Passengers, PaxpayFeature, PaymentMethodType, ProductType, ProviderCode, ProviderResponse, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferStatus, TravelPartyInfo, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
118
120
|
//# sourceMappingURL=index.js.map
|
package/dist/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAA;AACvG,OAAO,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import {
|
|
|
70
70
|
CredentialRequest,
|
|
71
71
|
CredentialResponse,
|
|
72
72
|
Criteria,
|
|
73
|
+
CurrencyConversionRequest,
|
|
74
|
+
CurrencyConversionResponse,
|
|
73
75
|
DateRangeLocalDate,
|
|
74
76
|
EmailValidationResponse,
|
|
75
77
|
ErrorMessageDto,
|
|
@@ -287,6 +289,8 @@ export {
|
|
|
287
289
|
CredentialRequest,
|
|
288
290
|
CredentialResponse,
|
|
289
291
|
Criteria,
|
|
292
|
+
CurrencyConversionRequest,
|
|
293
|
+
CurrencyConversionResponse,
|
|
290
294
|
DateRangeLocalDate,
|
|
291
295
|
EmailValidationResponse,
|
|
292
296
|
ErrorMessageDto,
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import { Currency } from "isoly"
|
|
2
|
+
import { AddressInfo } from "./AddressInfo"
|
|
3
|
+
|
|
1
4
|
export interface AccountDetailsTransferDestinationResponse {
|
|
2
5
|
sortCode?: string
|
|
3
6
|
accountNumber?: string
|
|
4
7
|
iban?: string
|
|
5
8
|
bic?: string
|
|
9
|
+
type: "SCAN" | "IBAN"
|
|
10
|
+
address?: AddressInfo
|
|
6
11
|
fullName?: string
|
|
12
|
+
currency: Currency
|
|
13
|
+
bankCountry?: string
|
|
14
|
+
bankName?: string
|
|
7
15
|
}
|
|
8
16
|
|
|
9
17
|
export namespace AccountDetailsTransferDestinationResponse {
|
|
@@ -16,7 +24,12 @@ export namespace AccountDetailsTransferDestinationResponse {
|
|
|
16
24
|
(value.accountNumber == undefined || typeof value.accountNumber == "string") &&
|
|
17
25
|
(value.iban == undefined || typeof value.iban == "string") &&
|
|
18
26
|
(value.bic == undefined || typeof value.bic == "string") &&
|
|
19
|
-
(value.
|
|
27
|
+
(value.type == "IBAN" || value.type == "SCAN") &&
|
|
28
|
+
(value.fullName == undefined || typeof value.fullName == "string") &&
|
|
29
|
+
(value.address == undefined || AddressInfo.is(value.address)) &&
|
|
30
|
+
Currency.is(value.currency) &&
|
|
31
|
+
(value.bankCountry == undefined || typeof value.bankCountry == "string") &&
|
|
32
|
+
(value.bankName == undefined || typeof value.bankName == "string")
|
|
20
33
|
)
|
|
21
34
|
}
|
|
22
35
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as isoly from "isoly"
|
|
2
|
+
|
|
3
|
+
export interface CurrencyConversionRequest {
|
|
4
|
+
from: isoly.Currency
|
|
5
|
+
to: isoly.Currency
|
|
6
|
+
amount: number
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export namespace CurrencyConversionRequest {
|
|
10
|
+
export function is(value: CurrencyConversionRequest | any): value is CurrencyConversionRequest {
|
|
11
|
+
return (
|
|
12
|
+
typeof value == "object" &&
|
|
13
|
+
isoly.Currency.is(value.from) &&
|
|
14
|
+
isoly.Currency.is(value.to) &&
|
|
15
|
+
typeof value.amount == "number"
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as isoly from "isoly"
|
|
2
|
+
|
|
3
|
+
export interface CurrencyConversionResponse {
|
|
4
|
+
from: isoly.Currency
|
|
5
|
+
to: isoly.Currency
|
|
6
|
+
fxRate: number
|
|
7
|
+
original: number
|
|
8
|
+
converted: number
|
|
9
|
+
rateSource: string
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export namespace CurrencyConversionResponse {
|
|
13
|
+
export function is(value: CurrencyConversionResponse | any): value is CurrencyConversionResponse {
|
|
14
|
+
return (
|
|
15
|
+
typeof value == "object" &&
|
|
16
|
+
isoly.Currency.is(value.from) &&
|
|
17
|
+
isoly.Currency.is(value.to) &&
|
|
18
|
+
typeof value.fxRate == "number" &&
|
|
19
|
+
typeof value.original == "number" &&
|
|
20
|
+
typeof value.converted == "number" &&
|
|
21
|
+
typeof value.rateSource == "string"
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -22,6 +22,7 @@ export interface TransferResponseV2 {
|
|
|
22
22
|
bookingInfo?: BookingInfoResponse
|
|
23
23
|
direction: TransferDirection
|
|
24
24
|
createdBy: string
|
|
25
|
+
personallyApprovable?: boolean
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
export namespace TransferResponseV2 {
|
|
@@ -41,7 +42,8 @@ export namespace TransferResponseV2 {
|
|
|
41
42
|
TransferDestinationResponse.is(value.destination) &&
|
|
42
43
|
(value.bookingInfo == undefined || BookingInfoResponse.is(value.bookingInfo)) &&
|
|
43
44
|
TransferDirection.is(value.direction) &&
|
|
44
|
-
typeof value.createdBy == "string"
|
|
45
|
+
typeof value.createdBy == "string" &&
|
|
46
|
+
(value.personallyApprovable == undefined || typeof value.personallyApprovable == "boolean")
|
|
45
47
|
)
|
|
46
48
|
}
|
|
47
49
|
}
|
package/model/index.ts
CHANGED
|
@@ -68,6 +68,8 @@ import { CreateRolesetRequest } from "./CreateRolesetRequest"
|
|
|
68
68
|
import { CredentialRequest } from "./CredentialRequest"
|
|
69
69
|
import { CredentialResponse } from "./CredentialResponse"
|
|
70
70
|
import { Criteria } from "./Criteria"
|
|
71
|
+
import { CurrencyConversionRequest } from "./CurrencyConversionRequest"
|
|
72
|
+
import { CurrencyConversionResponse } from "./CurrencyConversionResponse"
|
|
71
73
|
import { DateRangeLocalDate } from "./DateRangeLocalDate"
|
|
72
74
|
import { EmailValidationResponse } from "./EmailValidationResponse"
|
|
73
75
|
import { ErrorMessageDto } from "./ErrorMessageDto"
|
|
@@ -283,6 +285,8 @@ export {
|
|
|
283
285
|
CredentialRequest,
|
|
284
286
|
CredentialResponse,
|
|
285
287
|
Criteria,
|
|
288
|
+
CurrencyConversionRequest,
|
|
289
|
+
CurrencyConversionResponse,
|
|
286
290
|
DateRangeLocalDate,
|
|
287
291
|
EmailValidationResponse,
|
|
288
292
|
ErrorMessageDto,
|