@pax2pay/client 0.3.73 → 0.3.75
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/Api-keys/index.ts +43 -0
- package/Client/Auth/index.ts +5 -24
- package/Client/Rolesets/index.ts +26 -0
- package/Client/Users/index.ts +0 -8
- package/Client/index.ts +7 -0
- package/dist/Client/Api-keys/index.d.ts +20 -0
- package/dist/Client/Api-keys/index.js +30 -0
- package/dist/Client/Api-keys/index.js.map +1 -0
- package/dist/Client/Auth/index.d.ts +2 -2
- package/dist/Client/Auth/index.js +8 -8
- package/dist/Client/Auth/index.js.map +1 -1
- package/dist/Client/Rolesets/index.d.ts +10 -0
- package/dist/Client/Rolesets/index.js +22 -0
- package/dist/Client/Rolesets/index.js.map +1 -0
- package/dist/Client/Users/index.d.ts +0 -1
- package/dist/Client/Users/index.js +0 -7
- package/dist/Client/Users/index.js.map +1 -1
- package/dist/Client/index.d.ts +6 -0
- package/dist/Client/index.js +4 -0
- package/dist/Client/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/ApiKeyCreateRequest.d.ts +5 -0
- package/dist/model/ApiKeyCreateRequest.js +2 -0
- package/dist/model/ApiKeyCreateRequest.js.map +1 -0
- package/dist/model/ApiKeyCreateResponse.d.ts +4 -0
- package/dist/model/ApiKeyCreateResponse.js +2 -0
- package/dist/model/ApiKeyCreateResponse.js.map +1 -0
- package/dist/model/ApiKeyResponse.d.ts +10 -0
- package/dist/model/ApiKeyResponse.js +2 -0
- package/dist/model/ApiKeyResponse.js.map +1 -0
- package/dist/model/RolesetResponse.d.ts +1 -0
- package/dist/model/SearchRolesetsRequest.d.ts +4 -2
- package/dist/model/index.d.ts +4 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +6 -0
- package/model/ApiKeyCreateRequest.ts +5 -0
- package/model/ApiKeyCreateResponse.ts +5 -0
- package/model/ApiKeyResponse.ts +11 -0
- package/model/RolesetResponse.ts +1 -0
- package/model/SearchRolesetsRequest.ts +4 -2
- package/model/index.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as model from "../../model"
|
|
2
|
+
import { Connection } from "../Connection"
|
|
3
|
+
import { List } from "../List"
|
|
4
|
+
export class ApiKeys extends List<model.ApiKeyResponse> {
|
|
5
|
+
protected folder = "api-keys"
|
|
6
|
+
private constructor(connection: Connection) {
|
|
7
|
+
super(connection)
|
|
8
|
+
}
|
|
9
|
+
static create(connection: Connection) {
|
|
10
|
+
return new ApiKeys(connection)
|
|
11
|
+
}
|
|
12
|
+
async create(
|
|
13
|
+
request: model.ApiKeyCreateRequest
|
|
14
|
+
): Promise<model.ApiKeyCreateResponse | (model.ErrorResponse & { status: 400 | 403 | 404 | 500 | 503 }) | undefined> {
|
|
15
|
+
const result = await this.connection.post<model.ApiKeyCreateResponse, 400 | 403 | 404 | 500>(this.folder, request)
|
|
16
|
+
return result
|
|
17
|
+
}
|
|
18
|
+
async getApiKey(
|
|
19
|
+
identifier: string
|
|
20
|
+
): Promise<model.ApiKeyResponse | (model.ErrorResponse & { status: 400 | 403 | 404 | 500 | 503 }) | undefined> {
|
|
21
|
+
const result = await this.connection.get<model.ApiKeyResponse, 400 | 403 | 404 | 500>(
|
|
22
|
+
`${this.folder}/${identifier}`
|
|
23
|
+
)
|
|
24
|
+
return result
|
|
25
|
+
}
|
|
26
|
+
async getAllApiKeys(): Promise<
|
|
27
|
+
model.ApiKeyResponse[] | (model.ErrorResponse & { status: 400 | 403 | 404 | 500 | 503 }) | undefined
|
|
28
|
+
> {
|
|
29
|
+
const result = await this.connection.get<model.ApiKeyResponse[], 400 | 403 | 404 | 500>(this.folder, {
|
|
30
|
+
size: 500,
|
|
31
|
+
sort: "displayName",
|
|
32
|
+
})
|
|
33
|
+
return result
|
|
34
|
+
}
|
|
35
|
+
async deleteApiKey(
|
|
36
|
+
identifier: string
|
|
37
|
+
): Promise<model.ApiKeyResponse | (model.ErrorResponse & { status: 400 | 403 | 404 | 500 | 503 }) | undefined> {
|
|
38
|
+
const result = await this.connection.remove<model.ApiKeyResponse, 400 | 403 | 404 | 500>(
|
|
39
|
+
`${this.folder}/${identifier}`
|
|
40
|
+
)
|
|
41
|
+
return result
|
|
42
|
+
}
|
|
43
|
+
}
|
package/Client/Auth/index.ts
CHANGED
|
@@ -4,7 +4,11 @@ import { Connection } from "../Connection"
|
|
|
4
4
|
|
|
5
5
|
export class Auth {
|
|
6
6
|
#roles?: string[]
|
|
7
|
-
|
|
7
|
+
#features?: PaxpayFeature[]
|
|
8
|
+
constructor(private connection: Connection) {}
|
|
9
|
+
static create(connection: Connection) {
|
|
10
|
+
return new Auth(connection)
|
|
11
|
+
}
|
|
8
12
|
set roles(roles: string[] | undefined) {
|
|
9
13
|
this.#roles = roles
|
|
10
14
|
if (roles)
|
|
@@ -12,11 +16,9 @@ export class Auth {
|
|
|
12
16
|
else
|
|
13
17
|
window.sessionStorage.removeItem("roles")
|
|
14
18
|
}
|
|
15
|
-
|
|
16
19
|
private loadRoles() {
|
|
17
20
|
if (this.#roles)
|
|
18
21
|
return
|
|
19
|
-
|
|
20
22
|
const roles = window.sessionStorage.getItem("roles")
|
|
21
23
|
this.#roles = roles ? roles.split(",") : []
|
|
22
24
|
}
|
|
@@ -25,12 +27,8 @@ export class Auth {
|
|
|
25
27
|
}
|
|
26
28
|
hasRole(role: string) {
|
|
27
29
|
this.loadRoles()
|
|
28
|
-
|
|
29
30
|
return this.#roles ? this.#roles.includes(role) : false
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
-
#features?: PaxpayFeature[]
|
|
33
|
-
|
|
34
32
|
set features(features: PaxpayFeature[] | undefined) {
|
|
35
33
|
this.#features = features
|
|
36
34
|
if (features)
|
|
@@ -38,21 +36,16 @@ export class Auth {
|
|
|
38
36
|
else
|
|
39
37
|
window.sessionStorage.removeItem("features")
|
|
40
38
|
}
|
|
41
|
-
|
|
42
39
|
private loadFeatures() {
|
|
43
40
|
if (this.#features)
|
|
44
41
|
return
|
|
45
|
-
|
|
46
42
|
const features = window.sessionStorage.getItem("features")
|
|
47
43
|
this.#features = features ? (features.split(",") as PaxpayFeature[]) : []
|
|
48
44
|
}
|
|
49
|
-
|
|
50
45
|
hasFeature(feature: PaxpayFeature) {
|
|
51
46
|
this.loadFeatures()
|
|
52
|
-
|
|
53
47
|
return this.#features ? this.#features.includes(feature) : false
|
|
54
48
|
}
|
|
55
|
-
|
|
56
49
|
tokenExpiry(): string | undefined {
|
|
57
50
|
return JSON.parse(window.sessionStorage.getItem("authData") ?? "{}").expiry
|
|
58
51
|
}
|
|
@@ -65,12 +58,10 @@ export class Auth {
|
|
|
65
58
|
set token(value: string | undefined) {
|
|
66
59
|
this.connection.token = value
|
|
67
60
|
}
|
|
68
|
-
|
|
69
61
|
setTempToken(value: string) {
|
|
70
62
|
window.sessionStorage.setItem("authData", JSON.stringify({ token: value }))
|
|
71
63
|
this.connection.token = value
|
|
72
64
|
}
|
|
73
|
-
|
|
74
65
|
isLoggedIn(): boolean {
|
|
75
66
|
const data = window.sessionStorage.getItem("authData")
|
|
76
67
|
if (!data)
|
|
@@ -78,8 +69,6 @@ export class Auth {
|
|
|
78
69
|
else
|
|
79
70
|
return JSON.parse(data)?.status == "SUCCESS"
|
|
80
71
|
}
|
|
81
|
-
|
|
82
|
-
constructor(private connection: Connection) {}
|
|
83
72
|
async login(request: model.LoginRequest, otp?: string) {
|
|
84
73
|
const result = await this.connection.post<model.LoginResponse, 400 | 403 | 404 | 500>(
|
|
85
74
|
"auth/login",
|
|
@@ -106,12 +95,10 @@ export class Auth {
|
|
|
106
95
|
}
|
|
107
96
|
return result
|
|
108
97
|
}
|
|
109
|
-
|
|
110
98
|
isAssumed(): boolean {
|
|
111
99
|
const data = this.data()
|
|
112
100
|
return data.user?.organisation?.code != data.organisation
|
|
113
101
|
}
|
|
114
|
-
|
|
115
102
|
async assume(
|
|
116
103
|
code: string
|
|
117
104
|
): Promise<model.LoginResponse | (model.ErrorResponse & { status: 400 | 403 | 404 | 500 | 503 })> {
|
|
@@ -122,7 +109,6 @@ export class Auth {
|
|
|
122
109
|
}
|
|
123
110
|
return result
|
|
124
111
|
}
|
|
125
|
-
|
|
126
112
|
async unassume(): Promise<
|
|
127
113
|
model.LoginResponse | (model.ErrorResponse & { status: 400 | 403 | 404 | 500 | 503 }) | undefined
|
|
128
114
|
> {
|
|
@@ -132,14 +118,9 @@ export class Auth {
|
|
|
132
118
|
result = undefined
|
|
133
119
|
else
|
|
134
120
|
result = await this.assume(data.user.organisation.code)
|
|
135
|
-
|
|
136
121
|
return result
|
|
137
122
|
}
|
|
138
123
|
|
|
139
|
-
static create(connection: Connection) {
|
|
140
|
-
return new Auth(connection)
|
|
141
|
-
}
|
|
142
|
-
|
|
143
124
|
async logout() {
|
|
144
125
|
this.roles = undefined
|
|
145
126
|
this.features = undefined
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as model from "../../model"
|
|
2
|
+
import { Connection } from "../Connection"
|
|
3
|
+
import { List } from "../List"
|
|
4
|
+
export class Rolesets extends List<model.RolesetResponse> {
|
|
5
|
+
protected folder = "rolesets"
|
|
6
|
+
private constructor(connection: Connection) {
|
|
7
|
+
super(connection)
|
|
8
|
+
}
|
|
9
|
+
static create(connection: Connection) {
|
|
10
|
+
return new Rolesets(connection)
|
|
11
|
+
}
|
|
12
|
+
async getRolesets(): Promise<model.RolesetResponse[] | model.ErrorResponse> {
|
|
13
|
+
const response = await this.connection.get<{ list: model.RolesetResponse[]; totalCount: number }>(this.folder, {
|
|
14
|
+
size: 100,
|
|
15
|
+
sort: "name",
|
|
16
|
+
})
|
|
17
|
+
return this.extractResponse<model.RolesetResponse>(response)
|
|
18
|
+
}
|
|
19
|
+
async searchRolesets(request: model.SearchRolesetsRequest, includeRoles = false) {
|
|
20
|
+
const result = await this.connection.post<{ list: model.RolesetResponse[]; totalCount: number }>(
|
|
21
|
+
`${this.folder}/searches?includeRoles=${includeRoles}`,
|
|
22
|
+
request
|
|
23
|
+
)
|
|
24
|
+
return this.extractResponse(result)
|
|
25
|
+
}
|
|
26
|
+
}
|
package/Client/Users/index.ts
CHANGED
|
@@ -24,14 +24,6 @@ export class Users extends List<model.UserResponse> {
|
|
|
24
24
|
})
|
|
25
25
|
return this.extractResponse(response)
|
|
26
26
|
}
|
|
27
|
-
//Possibly should be moved to its own class
|
|
28
|
-
async getRolesets(): Promise<model.RolesetResponse[] | model.ErrorResponse> {
|
|
29
|
-
const response = await this.connection.get<{ list: model.RolesetResponse[]; totalCount: number }>(`rolesets`, {
|
|
30
|
-
size: 100,
|
|
31
|
-
sort: "name",
|
|
32
|
-
})
|
|
33
|
-
return this.extractResponse<model.RolesetResponse>(response)
|
|
34
|
-
}
|
|
35
27
|
async getUser(username: string): Promise<model.UserResponse | model.ErrorResponse> {
|
|
36
28
|
return await this.connection.get<model.UserResponse>(`${this.folder}/${username}`)
|
|
37
29
|
}
|
package/Client/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Accounts as ClientAccounts } from "./Accounts"
|
|
2
|
+
import { ApiKeys as ClientApiKeys } from "./Api-keys"
|
|
2
3
|
import { Auth as ClientAuth } from "./Auth"
|
|
3
4
|
import { Beneficiaries as ClientBeneficiaries } from "./Beneficiaries"
|
|
4
5
|
import { Cards as ClientCards } from "./Cards"
|
|
@@ -14,6 +15,7 @@ import { Organisations as ClientOrganisations } from "./Organisations"
|
|
|
14
15
|
import { Paginated as ClientPaginated } from "./Paginated"
|
|
15
16
|
import { Payments as ClientPayments } from "./Payments"
|
|
16
17
|
import { Reports as ClientReports } from "./Reports"
|
|
18
|
+
import { Rolesets as ClientRolesets } from "./Rolesets"
|
|
17
19
|
import { Transfers as ClientTransfers } from "./Transfers"
|
|
18
20
|
import { Users as ClientUsers } from "./Users"
|
|
19
21
|
|
|
@@ -38,6 +40,9 @@ export class Client {
|
|
|
38
40
|
reports = ClientReports.create(this.connection)
|
|
39
41
|
transfers = ClientTransfers.create(this.connection)
|
|
40
42
|
users = ClientUsers.create(this.connection)
|
|
43
|
+
rolesets = ClientRolesets.create(this.connection)
|
|
44
|
+
apiKeys = ClientApiKeys.create(this.connection)
|
|
45
|
+
|
|
41
46
|
constructor(private connection: Connection, private $authenticate?: Authenticate) {
|
|
42
47
|
connection.unauthorized = async () => (await this.$authenticate?.(this)) ?? false
|
|
43
48
|
}
|
|
@@ -68,6 +73,8 @@ export namespace Client {
|
|
|
68
73
|
export type Reports = ClientReports
|
|
69
74
|
export type Transfers = ClientTransfers
|
|
70
75
|
export type Users = ClientUsers
|
|
76
|
+
export type Rolesets = ClientRolesets
|
|
77
|
+
export type ApiKeys = ClientApiKeys
|
|
71
78
|
export type List<Response extends { [key: string]: any }> = ClientList<Response>
|
|
72
79
|
export type Paginated<T> = ClientPaginated<T>
|
|
73
80
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as model from "../../model";
|
|
2
|
+
import { Connection } from "../Connection";
|
|
3
|
+
import { List } from "../List";
|
|
4
|
+
export declare class ApiKeys extends List<model.ApiKeyResponse> {
|
|
5
|
+
protected folder: string;
|
|
6
|
+
private constructor();
|
|
7
|
+
static create(connection: Connection): ApiKeys;
|
|
8
|
+
create(request: model.ApiKeyCreateRequest): Promise<model.ApiKeyCreateResponse | (model.ErrorResponse & {
|
|
9
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
10
|
+
}) | undefined>;
|
|
11
|
+
getApiKey(identifier: string): Promise<model.ApiKeyResponse | (model.ErrorResponse & {
|
|
12
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
13
|
+
}) | undefined>;
|
|
14
|
+
getAllApiKeys(): Promise<model.ApiKeyResponse[] | (model.ErrorResponse & {
|
|
15
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
16
|
+
}) | undefined>;
|
|
17
|
+
deleteApiKey(identifier: string): Promise<model.ApiKeyResponse | (model.ErrorResponse & {
|
|
18
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
19
|
+
}) | undefined>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { List } from "../List";
|
|
2
|
+
export class ApiKeys extends List {
|
|
3
|
+
constructor(connection) {
|
|
4
|
+
super(connection);
|
|
5
|
+
this.folder = "api-keys";
|
|
6
|
+
}
|
|
7
|
+
static create(connection) {
|
|
8
|
+
return new ApiKeys(connection);
|
|
9
|
+
}
|
|
10
|
+
async create(request) {
|
|
11
|
+
const result = await this.connection.post(this.folder, request);
|
|
12
|
+
return result;
|
|
13
|
+
}
|
|
14
|
+
async getApiKey(identifier) {
|
|
15
|
+
const result = await this.connection.get(`${this.folder}/${identifier}`);
|
|
16
|
+
return result;
|
|
17
|
+
}
|
|
18
|
+
async getAllApiKeys() {
|
|
19
|
+
const result = await this.connection.get(this.folder, {
|
|
20
|
+
size: 500,
|
|
21
|
+
sort: "displayName",
|
|
22
|
+
});
|
|
23
|
+
return result;
|
|
24
|
+
}
|
|
25
|
+
async deleteApiKey(identifier) {
|
|
26
|
+
const result = await this.connection.remove(`${this.folder}/${identifier}`);
|
|
27
|
+
return result;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Api-keys/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,MAAM,OAAO,OAAQ,SAAQ,IAA0B;IAEtD,YAAoB,UAAsB;QACzC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,UAAU,CAAA;IAG7B,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,CAAA;IAC/B,CAAC;IACD,KAAK,CAAC,MAAM,CACX,OAAkC;QAElC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAoD,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;QAClH,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,SAAS,CACd,UAAkB;QAElB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CACvC,GAAG,IAAI,CAAC,MAAM,IAAI,UAAU,EAAE,CAC9B,CAAA;QACD,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,aAAa;QAGlB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAgD,IAAI,CAAC,MAAM,EAAE;YACpG,IAAI,EAAE,GAAG;YACT,IAAI,EAAE,aAAa;SACnB,CAAC,CAAA;QACF,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,YAAY,CACjB,UAAkB;QAElB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAC1C,GAAG,IAAI,CAAC,MAAM,IAAI,UAAU,EAAE,CAC9B,CAAA;QACD,OAAO,MAAM,CAAA;IACd,CAAC;CACD"}
|
|
@@ -4,6 +4,8 @@ import { Connection } from "../Connection";
|
|
|
4
4
|
export declare class Auth {
|
|
5
5
|
#private;
|
|
6
6
|
private connection;
|
|
7
|
+
constructor(connection: Connection);
|
|
8
|
+
static create(connection: Connection): Auth;
|
|
7
9
|
set roles(roles: string[] | undefined);
|
|
8
10
|
private loadRoles;
|
|
9
11
|
data(): Record<string, any>;
|
|
@@ -17,7 +19,6 @@ export declare class Auth {
|
|
|
17
19
|
set token(value: string | undefined);
|
|
18
20
|
setTempToken(value: string): void;
|
|
19
21
|
isLoggedIn(): boolean;
|
|
20
|
-
constructor(connection: Connection);
|
|
21
22
|
login(request: model.LoginRequest, otp?: string): Promise<model.LoginResponse | (model.ErrorResponse & {
|
|
22
23
|
status: 400 | 404 | 500 | 403 | 503;
|
|
23
24
|
})>;
|
|
@@ -31,6 +32,5 @@ export declare class Auth {
|
|
|
31
32
|
unassume(): Promise<model.LoginResponse | (model.ErrorResponse & {
|
|
32
33
|
status: 400 | 403 | 404 | 500 | 503;
|
|
33
34
|
}) | undefined>;
|
|
34
|
-
static create(connection: Connection): Auth;
|
|
35
35
|
logout(): Promise<void>;
|
|
36
36
|
}
|
|
@@ -11,6 +11,14 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
11
11
|
};
|
|
12
12
|
var _Auth_roles, _Auth_features;
|
|
13
13
|
export class Auth {
|
|
14
|
+
constructor(connection) {
|
|
15
|
+
this.connection = connection;
|
|
16
|
+
_Auth_roles.set(this, void 0);
|
|
17
|
+
_Auth_features.set(this, void 0);
|
|
18
|
+
}
|
|
19
|
+
static create(connection) {
|
|
20
|
+
return new Auth(connection);
|
|
21
|
+
}
|
|
14
22
|
set roles(roles) {
|
|
15
23
|
__classPrivateFieldSet(this, _Auth_roles, roles, "f");
|
|
16
24
|
if (roles)
|
|
@@ -75,11 +83,6 @@ export class Auth {
|
|
|
75
83
|
else
|
|
76
84
|
return ((_a = JSON.parse(data)) === null || _a === void 0 ? void 0 : _a.status) == "SUCCESS";
|
|
77
85
|
}
|
|
78
|
-
constructor(connection) {
|
|
79
|
-
this.connection = connection;
|
|
80
|
-
_Auth_roles.set(this, void 0);
|
|
81
|
-
_Auth_features.set(this, void 0);
|
|
82
|
-
}
|
|
83
86
|
async login(request, otp) {
|
|
84
87
|
const result = await this.connection.post("auth/login", request, undefined, otp ? { "x-otp": otp } : {});
|
|
85
88
|
if (!isError(result) && result.token) {
|
|
@@ -124,9 +127,6 @@ export class Auth {
|
|
|
124
127
|
result = await this.assume(data.user.organisation.code);
|
|
125
128
|
return result;
|
|
126
129
|
}
|
|
127
|
-
static create(connection) {
|
|
128
|
-
return new Auth(connection);
|
|
129
|
-
}
|
|
130
130
|
async logout() {
|
|
131
131
|
this.roles = undefined;
|
|
132
132
|
this.features = undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAIA,MAAM,OAAO,IAAI;IAGhB,IAAI,KAAK,CAAC,KAA2B;QACpC,uBAAA,IAAI,eAAU,KAAK,MAAA,CAAA;QACnB,IAAI,KAAK;YACR,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;;YAEvD,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;IAC3C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAIA,MAAM,OAAO,IAAI;IAGhB,YAAoB,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QAF1C,8BAAiB;QACjB,iCAA2B;IACkB,CAAC;IAC9C,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,IAAI,CAAC,UAAU,CAAC,CAAA;IAC5B,CAAC;IACD,IAAI,KAAK,CAAC,KAA2B;QACpC,uBAAA,IAAI,eAAU,KAAK,MAAA,CAAA;QACnB,IAAI,KAAK;YACR,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;;YAEvD,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;IAC3C,CAAC;IACO,SAAS;QAChB,IAAI,uBAAA,IAAI,mBAAO;YACd,OAAM;QACP,MAAM,KAAK,GAAG,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;QACpD,uBAAA,IAAI,eAAU,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,MAAA,CAAA;IAC5C,CAAC;IACD,IAAI;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,CAAC,IAAI,EAAE,CAAA;QACxB,IAAI,MAAyG,CAAA;QAC7G,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM;YAC5B,MAAM,GAAG,SAAS,CAAA;;YAElB,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAA;QACxD,OAAO,MAAM,CAAA;IACd,CAAC;IAED,KAAK,CAAC,MAAM;QACX,IAAI,CAAC,KAAK,GAAG,SAAS,CAAA;QACtB,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAA;QACzB,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,UAAU,CAAC,CAAA;QAC5C,IAAI,CAAC,UAAU,CAAC,KAAK,GAAG,SAAS,CAAA;IAClC,CAAC;CACD;;AAED,SAAS,OAAO,CAAC,KAAgC;IAChD,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ,CAAA;AACjE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as model from "../../model";
|
|
2
|
+
import { Connection } from "../Connection";
|
|
3
|
+
import { List } from "../List";
|
|
4
|
+
export declare class Rolesets extends List<model.RolesetResponse> {
|
|
5
|
+
protected folder: string;
|
|
6
|
+
private constructor();
|
|
7
|
+
static create(connection: Connection): Rolesets;
|
|
8
|
+
getRolesets(): Promise<model.RolesetResponse[] | model.ErrorResponse>;
|
|
9
|
+
searchRolesets(request: model.SearchRolesetsRequest, includeRoles?: boolean): Promise<model.ErrorResponse | model.RolesetResponse[]>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { List } from "../List";
|
|
2
|
+
export class Rolesets extends List {
|
|
3
|
+
constructor(connection) {
|
|
4
|
+
super(connection);
|
|
5
|
+
this.folder = "rolesets";
|
|
6
|
+
}
|
|
7
|
+
static create(connection) {
|
|
8
|
+
return new Rolesets(connection);
|
|
9
|
+
}
|
|
10
|
+
async getRolesets() {
|
|
11
|
+
const response = await this.connection.get(this.folder, {
|
|
12
|
+
size: 100,
|
|
13
|
+
sort: "name",
|
|
14
|
+
});
|
|
15
|
+
return this.extractResponse(response);
|
|
16
|
+
}
|
|
17
|
+
async searchRolesets(request, includeRoles = false) {
|
|
18
|
+
const result = await this.connection.post(`${this.folder}/searches?includeRoles=${includeRoles}`, request);
|
|
19
|
+
return this.extractResponse(result);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Rolesets/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,MAAM,OAAO,QAAS,SAAQ,IAA2B;IAExD,YAAoB,UAAsB;QACzC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,UAAU,CAAA;IAG7B,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,QAAQ,CAAC,UAAU,CAAC,CAAA;IAChC,CAAC;IACD,KAAK,CAAC,WAAW;QAChB,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAwD,IAAI,CAAC,MAAM,EAAE;YAC9G,IAAI,EAAE,GAAG;YACT,IAAI,EAAE,MAAM;SACZ,CAAC,CAAA;QACF,OAAO,IAAI,CAAC,eAAe,CAAwB,QAAQ,CAAC,CAAA;IAC7D,CAAC;IACD,KAAK,CAAC,cAAc,CAAC,OAAoC,EAAE,YAAY,GAAG,KAAK;QAC9E,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CACxC,GAAG,IAAI,CAAC,MAAM,0BAA0B,YAAY,EAAE,EACtD,OAAO,CACP,CAAA;QACD,OAAO,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAA;IACpC,CAAC;CACD"}
|
|
@@ -11,7 +11,6 @@ export declare class Users extends List<model.UserResponse> {
|
|
|
11
11
|
status: 400 | 404 | 500 | 403 | 503;
|
|
12
12
|
})>;
|
|
13
13
|
getAllUsers(): Promise<model.UserResponse[] | model.ErrorResponse>;
|
|
14
|
-
getRolesets(): Promise<model.RolesetResponse[] | model.ErrorResponse>;
|
|
15
14
|
getUser(username: string): Promise<model.UserResponse | model.ErrorResponse>;
|
|
16
15
|
getUsersActiveRoles(username: string): Promise<string[] | model.ErrorResponse>;
|
|
17
16
|
resetPassword(username: string): Promise<model.PasswordResetResponse | model.ErrorResponse>;
|
|
@@ -20,13 +20,6 @@ export class Users extends List {
|
|
|
20
20
|
});
|
|
21
21
|
return this.extractResponse(response);
|
|
22
22
|
}
|
|
23
|
-
async getRolesets() {
|
|
24
|
-
const response = await this.connection.get(`rolesets`, {
|
|
25
|
-
size: 100,
|
|
26
|
-
sort: "name",
|
|
27
|
-
});
|
|
28
|
-
return this.extractResponse(response);
|
|
29
|
-
}
|
|
30
23
|
async getUser(username) {
|
|
31
24
|
return await this.connection.get(`${this.folder}/${username}`);
|
|
32
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAG9B,MAAM,OAAO,KAAM,SAAQ,IAAwB;IAElD,YAAoB,UAAsB;QACzC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,OAAO,CAAA;IAG1B,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,KAAK,CAAC,UAAU,CAAC,CAAA;IAC7B,CAAC;IACD,KAAK,CAAC,UAAU,CAAC,QAAgB;QAChC,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAqB,GAAG,IAAI,CAAC,MAAM,IAAI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1,4 +1,5 @@
|
|
|
1
1
|
import { Accounts as ClientAccounts } from "./Accounts";
|
|
2
|
+
import { ApiKeys as ClientApiKeys } from "./Api-keys";
|
|
2
3
|
import { Auth as ClientAuth } from "./Auth";
|
|
3
4
|
import { Beneficiaries as ClientBeneficiaries } from "./Beneficiaries";
|
|
4
5
|
import { Cards as ClientCards } from "./Cards";
|
|
@@ -14,6 +15,7 @@ import { Organisations as ClientOrganisations } from "./Organisations";
|
|
|
14
15
|
import { Paginated as ClientPaginated } from "./Paginated";
|
|
15
16
|
import { Payments as ClientPayments } from "./Payments";
|
|
16
17
|
import { Reports as ClientReports } from "./Reports";
|
|
18
|
+
import { Rolesets as ClientRolesets } from "./Rolesets";
|
|
17
19
|
import { Transfers as ClientTransfers } from "./Transfers";
|
|
18
20
|
import { Users as ClientUsers } from "./Users";
|
|
19
21
|
type Authenticate = (client: Client) => Promise<boolean>;
|
|
@@ -36,6 +38,8 @@ export declare class Client {
|
|
|
36
38
|
reports: ClientReports;
|
|
37
39
|
transfers: ClientTransfers;
|
|
38
40
|
users: ClientUsers;
|
|
41
|
+
rolesets: ClientRolesets;
|
|
42
|
+
apiKeys: ClientApiKeys;
|
|
39
43
|
constructor(connection: Connection, $authenticate?: Authenticate | undefined);
|
|
40
44
|
static create(url: string, token?: string | Authenticate): Client;
|
|
41
45
|
assumeNew(orgCode: string): Client;
|
|
@@ -56,6 +60,8 @@ export declare namespace Client {
|
|
|
56
60
|
type Reports = ClientReports;
|
|
57
61
|
type Transfers = ClientTransfers;
|
|
58
62
|
type Users = ClientUsers;
|
|
63
|
+
type Rolesets = ClientRolesets;
|
|
64
|
+
type ApiKeys = ClientApiKeys;
|
|
59
65
|
type List<Response extends {
|
|
60
66
|
[key: string]: any;
|
|
61
67
|
}> = ClientList<Response>;
|
package/dist/Client/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Accounts as ClientAccounts } from "./Accounts";
|
|
2
|
+
import { ApiKeys as ClientApiKeys } from "./Api-keys";
|
|
2
3
|
import { Auth as ClientAuth } from "./Auth";
|
|
3
4
|
import { Beneficiaries as ClientBeneficiaries } from "./Beneficiaries";
|
|
4
5
|
import { Cards as ClientCards } from "./Cards";
|
|
@@ -12,6 +13,7 @@ import { Omnisetup as ClientOmnisetup } from "./Omnisetup";
|
|
|
12
13
|
import { Organisations as ClientOrganisations } from "./Organisations";
|
|
13
14
|
import { Payments as ClientPayments } from "./Payments";
|
|
14
15
|
import { Reports as ClientReports } from "./Reports";
|
|
16
|
+
import { Rolesets as ClientRolesets } from "./Rolesets";
|
|
15
17
|
import { Transfers as ClientTransfers } from "./Transfers";
|
|
16
18
|
import { Users as ClientUsers } from "./Users";
|
|
17
19
|
export class Client {
|
|
@@ -36,6 +38,8 @@ export class Client {
|
|
|
36
38
|
this.reports = ClientReports.create(this.connection);
|
|
37
39
|
this.transfers = ClientTransfers.create(this.connection);
|
|
38
40
|
this.users = ClientUsers.create(this.connection);
|
|
41
|
+
this.rolesets = ClientRolesets.create(this.connection);
|
|
42
|
+
this.apiKeys = ClientApiKeys.create(this.connection);
|
|
39
43
|
connection.unauthorized = async () => { var _a, _b; return (_b = (await ((_a = this.$authenticate) === null || _a === void 0 ? void 0 : _a.call(this, this)))) !== null && _b !== void 0 ? _b : false; };
|
|
40
44
|
}
|
|
41
45
|
static create(url, token) {
|
package/dist/Client/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,UAAU,IAAI,gB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AAU,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAA;QACrF,OAAO,UAAU,IAAI,IAAI,MAAM,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;IAC1F,CAAC;IACD,SAAS,CAAC,OAAe;QACxB,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAA;QAC3E,SAAS,CAAC,UAAU,CAAC,UAAU,GAAG,OAAO,CAAA;QACzC,OAAO,SAAS,CAAA;IACjB,CAAC;CACD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, 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, FutureTransactionPrognosisAmountPair, 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, StatementReportSubType, 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, FutureTransactionPrognosisAmountPair, 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, StatementReportSubType, 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, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, 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, FutureTransactionPrognosisAmountPair, 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, StatementReportSubType, 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, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, 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, FutureTransactionPrognosisAmountPair, 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, StatementReportSubType, 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.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,
|
|
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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0B,EAC1B,cAAc,EACd,KAAK,EACL,wBAAwB,EAExB,aAAa,EACb,eAAe,EACf,eAAe,EACf,gBAAgB,EAGhB,cAAc,EACd,wBAAwB,EACxB,gBAAgB,EAEhB,gCAAgC,EAChC,kBAAkB,EAClB,yBAAyB,EACzB,gBAAgB,EAEhB,oBAAoB,EACpB,yBAAyB,EACzB,UAAU,EAKV,aAAa,EAGb,iBAAiB,EAIjB,WAAW,EACX,YAAY,EACZ,gBAAgB,EAEhB,UAAU,EAQV,aAAa,EAIb,OAAO,EACP,cAAc,EAKd,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiKeyCreateRequest.js","sourceRoot":"../","sources":["model/ApiKeyCreateRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiKeyCreateResponse.js","sourceRoot":"../","sources":["model/ApiKeyCreateResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiKeyResponse.js","sourceRoot":"../","sources":["model/ApiKeyResponse.ts"],"names":[],"mappings":""}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export interface SearchRolesetsRequest {
|
|
2
2
|
name?: string;
|
|
3
3
|
description?: string;
|
|
4
|
-
includeDefaults
|
|
4
|
+
includeDefaults?: "INCLUDE" | "EXCLUDE" | "ONLY";
|
|
5
5
|
containsRoles?: string[];
|
|
6
6
|
doesNotContainRoles?: string[];
|
|
7
|
-
includeInternal
|
|
7
|
+
includeInternal?: "INCLUDE" | "EXCLUDE" | "ONLY";
|
|
8
|
+
includeShared?: "INCLUDE" | "EXCLUDE" | "ONLY";
|
|
9
|
+
appliesTo?: "USER" | "API_KEY";
|
|
8
10
|
}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -12,6 +12,9 @@ import { AgentBookingInfo } from "./AgentBookingInfo";
|
|
|
12
12
|
import { AllowedMccConfig } from "./AllowedMccConfig";
|
|
13
13
|
import { AmendCardRequest } from "./AmendCardRequest";
|
|
14
14
|
import { AmountPair } from "./AmountPair";
|
|
15
|
+
import { ApiKeyCreateRequest } from "./ApiKeyCreateRequest";
|
|
16
|
+
import { ApiKeyCreateResponse } from "./ApiKeyCreateResponse";
|
|
17
|
+
import { ApiKeyResponse } from "./ApiKeyResponse";
|
|
15
18
|
import { BeneficiaryRequest } from "./BeneficiaryRequest";
|
|
16
19
|
import { BeneficiaryResponse } from "./BeneficiaryResponse";
|
|
17
20
|
import { BeneficiaryStatus } from "./BeneficiaryStatus";
|
|
@@ -215,4 +218,4 @@ import { UserRoleResponse } from "./UserRoleResponse";
|
|
|
215
218
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
216
219
|
import { UserStatus } from "./UserStatus";
|
|
217
220
|
import { YearMonth } from "./YearMonth";
|
|
218
|
-
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, FutureTransactionPrognosisAmountPair, 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, StatementReportSubType, 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, };
|
|
221
|
+
export { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, 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, FutureTransactionPrognosisAmountPair, 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, StatementReportSubType, 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.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,yCAAyC,EAAE,MAAM,6CAA6C,CAAA;AACvG,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;
|
|
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,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OAAO,EAKP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,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"}
|
package/index.ts
CHANGED
|
@@ -14,6 +14,9 @@ import {
|
|
|
14
14
|
AllowedMccConfig,
|
|
15
15
|
AmendCardRequest,
|
|
16
16
|
AmountPair,
|
|
17
|
+
ApiKeyCreateRequest,
|
|
18
|
+
ApiKeyCreateResponse,
|
|
19
|
+
ApiKeyResponse,
|
|
17
20
|
BeneficiaryRequest,
|
|
18
21
|
BeneficiaryResponse,
|
|
19
22
|
BeneficiaryStatus,
|
|
@@ -235,6 +238,9 @@ export {
|
|
|
235
238
|
AllowedMccConfig,
|
|
236
239
|
AmendCardRequest,
|
|
237
240
|
AmountPair,
|
|
241
|
+
ApiKeyCreateRequest,
|
|
242
|
+
ApiKeyCreateResponse,
|
|
243
|
+
ApiKeyResponse,
|
|
238
244
|
BeneficiaryRequest,
|
|
239
245
|
BeneficiaryResponse,
|
|
240
246
|
BeneficiaryStatus,
|
package/model/RolesetResponse.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export interface SearchRolesetsRequest {
|
|
2
2
|
name?: string
|
|
3
3
|
description?: string
|
|
4
|
-
includeDefaults
|
|
4
|
+
includeDefaults?: "INCLUDE" | "EXCLUDE" | "ONLY"
|
|
5
5
|
containsRoles?: string[]
|
|
6
6
|
doesNotContainRoles?: string[]
|
|
7
|
-
includeInternal
|
|
7
|
+
includeInternal?: "INCLUDE" | "EXCLUDE" | "ONLY"
|
|
8
|
+
includeShared?: "INCLUDE" | "EXCLUDE" | "ONLY"
|
|
9
|
+
appliesTo?: "USER" | "API_KEY"
|
|
8
10
|
}
|
package/model/index.ts
CHANGED
|
@@ -12,6 +12,9 @@ import { AgentBookingInfo } from "./AgentBookingInfo"
|
|
|
12
12
|
import { AllowedMccConfig } from "./AllowedMccConfig"
|
|
13
13
|
import { AmendCardRequest } from "./AmendCardRequest"
|
|
14
14
|
import { AmountPair } from "./AmountPair"
|
|
15
|
+
import { ApiKeyCreateRequest } from "./ApiKeyCreateRequest"
|
|
16
|
+
import { ApiKeyCreateResponse } from "./ApiKeyCreateResponse"
|
|
17
|
+
import { ApiKeyResponse } from "./ApiKeyResponse"
|
|
15
18
|
import { BeneficiaryRequest } from "./BeneficiaryRequest"
|
|
16
19
|
import { BeneficiaryResponse } from "./BeneficiaryResponse"
|
|
17
20
|
import { BeneficiaryStatus } from "./BeneficiaryStatus"
|
|
@@ -231,6 +234,9 @@ export {
|
|
|
231
234
|
AllowedMccConfig,
|
|
232
235
|
AmendCardRequest,
|
|
233
236
|
AmountPair,
|
|
237
|
+
ApiKeyCreateRequest,
|
|
238
|
+
ApiKeyCreateResponse,
|
|
239
|
+
ApiKeyResponse,
|
|
234
240
|
BeneficiaryRequest,
|
|
235
241
|
BeneficiaryResponse,
|
|
236
242
|
BeneficiaryStatus,
|