@pax2pay/client 0.1.9 → 0.1.11
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/Categories/index.ts +13 -0
- package/Client/Email/index.ts +14 -0
- package/Client/Reports/index.ts +4 -1
- package/Client/Users/index.ts +3 -0
- package/Client/index.ts +6 -0
- package/dist/Client/Categories/index.d.ts +11 -0
- package/dist/Client/Categories/index.js +14 -0
- package/dist/Client/Categories/index.js.map +1 -0
- package/dist/Client/Email/index.d.ts +11 -0
- package/dist/Client/Email/index.js +14 -0
- package/dist/Client/Email/index.js.map +1 -0
- package/dist/Client/Reports/index.d.ts +3 -0
- package/dist/Client/Reports/index.js +4 -0
- package/dist/Client/Reports/index.js.map +1 -1
- package/dist/Client/Users/index.d.ts +1 -0
- package/dist/Client/Users/index.js +3 -0
- 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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/BillingTransactionAmountPair.d.ts +2 -0
- package/dist/model/BillingTransactionAmountPair.js +3 -1
- package/dist/model/BillingTransactionAmountPair.js.map +1 -1
- package/dist/model/CategoryFundingAccountAccessRequest.d.ts +5 -0
- package/dist/model/CategoryFundingAccountAccessRequest.js +2 -0
- package/dist/model/CategoryFundingAccountAccessRequest.js.map +1 -0
- package/dist/model/CategoryLimitResponse.d.ts +5 -0
- package/dist/model/CategoryLimitResponse.js +2 -0
- package/dist/model/CategoryLimitResponse.js.map +1 -0
- package/dist/model/CategoryResponse.d.ts +9 -0
- package/dist/model/CategoryResponse.js +2 -0
- package/dist/model/CategoryResponse.js.map +1 -0
- package/dist/model/CategoryStatus.d.ts +1 -0
- package/dist/model/CategoryStatus.js +2 -0
- package/dist/model/CategoryStatus.js.map +1 -0
- package/dist/model/EmailValidationResponse.d.ts +9 -0
- package/dist/model/EmailValidationResponse.js +12 -0
- package/dist/model/EmailValidationResponse.js.map +1 -0
- package/dist/model/StatementReportUrlRequest.d.ts +5 -0
- package/dist/model/StatementReportUrlRequest.js +2 -0
- package/dist/model/StatementReportUrlRequest.js.map +1 -0
- package/dist/model/StatementReportUrlResponse.d.ts +4 -0
- package/dist/model/StatementReportUrlResponse.js +2 -0
- package/dist/model/StatementReportUrlResponse.js.map +1 -0
- package/dist/model/UserChangeRequest.d.ts +2 -1
- package/dist/model/UserLimitsRequest.d.ts +3 -0
- package/dist/model/UserLimitsRequest.js +10 -1
- package/dist/model/UserLimitsRequest.js.map +1 -1
- package/dist/model/UserRequest.d.ts +5 -1
- package/dist/model/UserRequest.js +20 -1
- package/dist/model/UserRequest.js.map +1 -1
- package/dist/model/UserResponse.d.ts +2 -1
- package/dist/model/UserResponse.js +2 -5
- package/dist/model/UserResponse.js.map +1 -1
- package/dist/model/UserStatus.d.ts +5 -0
- package/dist/model/UserStatus.js +9 -0
- package/dist/model/UserStatus.js.map +1 -0
- package/dist/model/UsernameAvailabilityResponse.d.ts +9 -0
- package/dist/model/UsernameAvailabilityResponse.js +12 -0
- package/dist/model/UsernameAvailabilityResponse.js.map +1 -0
- package/dist/model/index.d.ts +10 -1
- package/dist/model/index.js +6 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +18 -0
- package/model/BillingTransactionAmountPair.ts +5 -1
- package/model/CategoryFundingAccountAccessRequest.ts +6 -0
- package/model/CategoryLimitResponse.ts +6 -0
- package/model/CategoryResponse.ts +10 -0
- package/model/CategoryStatus.ts +1 -0
- package/model/EmailValidationResponse.ts +18 -0
- package/model/StatementReportUrlRequest.ts +5 -0
- package/model/StatementReportUrlResponse.ts +4 -0
- package/model/UserChangeRequest.ts +2 -1
- package/model/UserLimitsRequest.ts +10 -0
- package/model/UserRequest.ts +21 -1
- package/model/UserResponse.ts +3 -6
- package/model/UserStatus.ts +9 -0
- package/model/UsernameAvailabilityResponse.ts +18 -0
- package/model/index.ts +18 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CategoryResponse } from "../../model/CategoryResponse"
|
|
2
|
+
import { Connection } from "../Connection"
|
|
3
|
+
export class Categories {
|
|
4
|
+
protected folder = "category"
|
|
5
|
+
constructor(private readonly connection: Connection) {}
|
|
6
|
+
static create(connection: Connection) {
|
|
7
|
+
return new Categories(connection)
|
|
8
|
+
}
|
|
9
|
+
async getAllCategories() {
|
|
10
|
+
const result = await this.connection.get<CategoryResponse[]>(`category?size=100`)
|
|
11
|
+
return result
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as model from "../../model"
|
|
2
|
+
import { Connection } from "../Connection"
|
|
3
|
+
|
|
4
|
+
export class Email {
|
|
5
|
+
protected folder = "email"
|
|
6
|
+
constructor(private readonly connection: Connection) {}
|
|
7
|
+
static create(connection: Connection) {
|
|
8
|
+
return new Email(connection)
|
|
9
|
+
}
|
|
10
|
+
async validateEmail(email: string) {
|
|
11
|
+
const result = await this.connection.get<model.EmailValidationResponse>(`email/validate/${email}`)
|
|
12
|
+
return result
|
|
13
|
+
}
|
|
14
|
+
}
|
package/Client/Reports/index.ts
CHANGED
|
@@ -61,7 +61,10 @@ export class Reports {
|
|
|
61
61
|
(pageSize && page ? `&size=${pageSize}` : pageSize ? `size=${pageSize}` : "")
|
|
62
62
|
)
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
async getStatementReportUrl(request: model.StatementReportUrlRequest) {
|
|
65
|
+
const result = await this.connection.post<model.StatementReportUrlResponse>(`statement/download`, request)
|
|
66
|
+
return result
|
|
67
|
+
}
|
|
65
68
|
static create(connection: Connection) {
|
|
66
69
|
return new Reports(connection)
|
|
67
70
|
}
|
package/Client/Users/index.ts
CHANGED
|
@@ -55,4 +55,7 @@ export class Users extends Collection<model.UserResponse, model.UserSearchReques
|
|
|
55
55
|
const result = await this.connection.put<model.UserResponse>(`users/${username}`, request)
|
|
56
56
|
return result
|
|
57
57
|
}
|
|
58
|
+
async checkUsernameAvailability(username: string): Promise<model.UsernameAvailabilityResponse | model.ErrorResponse> {
|
|
59
|
+
return await this.connection.get<model.UsernameAvailabilityResponse>(`${this.folder}/username/${username}`)
|
|
60
|
+
}
|
|
58
61
|
}
|
package/Client/index.ts
CHANGED
|
@@ -4,9 +4,11 @@ import { Auth as ClientAuth } from "./Auth"
|
|
|
4
4
|
import { Beneficiaries as ClientBeneficiaries } from "./Beneficiaries"
|
|
5
5
|
import { Card as ClientCard } from "./Card"
|
|
6
6
|
import { Cards as ClientCards } from "./Cards"
|
|
7
|
+
import { Categories as ClientCategories } from "./Categories"
|
|
7
8
|
import { Collection as ClientCollection } from "./Collection"
|
|
8
9
|
import { Configuration as ClientConfiguration } from "./Configuration"
|
|
9
10
|
import { Connection } from "./Connection"
|
|
11
|
+
import { Email as ClientEmail } from "./Email"
|
|
10
12
|
import { List as ClientList } from "./List"
|
|
11
13
|
import { Organisation as ClientOrganisation } from "./Organisation"
|
|
12
14
|
import { Organisations as ClientOrganisations } from "./Organisations"
|
|
@@ -26,7 +28,9 @@ export class Client {
|
|
|
26
28
|
auth = ClientAuth.create(this.connection)
|
|
27
29
|
beneficiaries = ClientBeneficiaries.create(this.connection)
|
|
28
30
|
cards = ClientCards.create(this.connection)
|
|
31
|
+
categories = ClientCategories.create(this.connection)
|
|
29
32
|
configuration = ClientConfiguration.create(this.connection)
|
|
33
|
+
email = ClientEmail.create(this.connection)
|
|
30
34
|
users = ClientUsers.create(this.connection)
|
|
31
35
|
organisations = ClientOrganisations.create(this.connection)
|
|
32
36
|
reports = ClientReports.create(this.connection)
|
|
@@ -47,7 +51,9 @@ export namespace Client {
|
|
|
47
51
|
export type Beneficiaries = ClientBeneficiaries
|
|
48
52
|
export type Card = ClientCard
|
|
49
53
|
export type Cards = ClientCards
|
|
54
|
+
export type Categories = ClientCategories
|
|
50
55
|
export type Configuration = ClientConfiguration
|
|
56
|
+
export type Email = ClientEmail
|
|
51
57
|
export type Organisation = ClientOrganisation
|
|
52
58
|
export type Organisations = ClientOrganisations
|
|
53
59
|
export type Reports = ClientReports
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CategoryResponse } from "../../model/CategoryResponse";
|
|
2
|
+
import { Connection } from "../Connection";
|
|
3
|
+
export declare class Categories {
|
|
4
|
+
private readonly connection;
|
|
5
|
+
protected folder: string;
|
|
6
|
+
constructor(connection: Connection);
|
|
7
|
+
static create(connection: Connection): Categories;
|
|
8
|
+
getAllCategories(): Promise<(import("../..").ErrorResponse & {
|
|
9
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
10
|
+
}) | CategoryResponse[]>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class Categories {
|
|
2
|
+
constructor(connection) {
|
|
3
|
+
this.connection = connection;
|
|
4
|
+
this.folder = "category";
|
|
5
|
+
}
|
|
6
|
+
static create(connection) {
|
|
7
|
+
return new Categories(connection);
|
|
8
|
+
}
|
|
9
|
+
async getAllCategories() {
|
|
10
|
+
const result = await this.connection.get(`category?size=100`);
|
|
11
|
+
return result;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Categories/index.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,UAAU;IAEtB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QADzC,WAAM,GAAG,UAAU,CAAA;IACyB,CAAC;IACvD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,UAAU,CAAC,UAAU,CAAC,CAAA;IAClC,CAAC;IACD,KAAK,CAAC,gBAAgB;QACrB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,mBAAmB,CAAC,CAAA;QACjF,OAAO,MAAM,CAAA;IACd,CAAC;CACD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as model from "../../model";
|
|
2
|
+
import { Connection } from "../Connection";
|
|
3
|
+
export declare class Email {
|
|
4
|
+
private readonly connection;
|
|
5
|
+
protected folder: string;
|
|
6
|
+
constructor(connection: Connection);
|
|
7
|
+
static create(connection: Connection): Email;
|
|
8
|
+
validateEmail(email: string): Promise<model.EmailValidationResponse | (model.ErrorResponse & {
|
|
9
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
10
|
+
})>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class Email {
|
|
2
|
+
constructor(connection) {
|
|
3
|
+
this.connection = connection;
|
|
4
|
+
this.folder = "email";
|
|
5
|
+
}
|
|
6
|
+
static create(connection) {
|
|
7
|
+
return new Email(connection);
|
|
8
|
+
}
|
|
9
|
+
async validateEmail(email) {
|
|
10
|
+
const result = await this.connection.get(`email/validate/${email}`);
|
|
11
|
+
return result;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Email/index.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,KAAK;IAEjB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QADzC,WAAM,GAAG,OAAO,CAAA;IAC4B,CAAC;IACvD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,KAAK,CAAC,UAAU,CAAC,CAAA;IAC7B,CAAC;IACD,KAAK,CAAC,aAAa,CAAC,KAAa;QAChC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAgC,kBAAkB,KAAK,EAAE,CAAC,CAAA;QAClG,OAAO,MAAM,CAAA;IACd,CAAC;CACD"}
|
|
@@ -17,5 +17,8 @@ export declare class Reports {
|
|
|
17
17
|
status: 400 | 404 | 500 | 403 | 503;
|
|
18
18
|
})>;
|
|
19
19
|
attachPageable(base: string, page?: number, pageSize?: number): string;
|
|
20
|
+
getStatementReportUrl(request: model.StatementReportUrlRequest): Promise<model.StatementReportUrlResponse | (model.ErrorResponse & {
|
|
21
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
22
|
+
})>;
|
|
20
23
|
static create(connection: Connection): Reports;
|
|
21
24
|
}
|
|
@@ -42,6 +42,10 @@ export class Reports {
|
|
|
42
42
|
(page ? `page=${page}` : "") +
|
|
43
43
|
(pageSize && page ? `&size=${pageSize}` : pageSize ? `size=${pageSize}` : ""));
|
|
44
44
|
}
|
|
45
|
+
async getStatementReportUrl(request) {
|
|
46
|
+
const result = await this.connection.post(`statement/download`, request);
|
|
47
|
+
return result;
|
|
48
|
+
}
|
|
45
49
|
static create(connection) {
|
|
46
50
|
return new Reports(connection);
|
|
47
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Reports/index.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,OAAO;IACnB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;IAEvD,KAAK,CAAC,cAAc,CAAC,KAAqB,EAAE,GAAmB;QAC9D,MAAM,OAAO,GAAG;YACf,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;YAChC,IAAI,EAAE,KAAK;YACX,EAAE,EAAE,GAAG;YACP,MAAM,EAAE;gBACP,IAAI,EAAE,MAAM;aACZ;SACD,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA8B,2BAA2B,EAAE,OAAO,CAAC,CAAA;IACrG,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,KAAqB,EAAE,GAAmB,EAAE,OAAe;QAC1E,MAAM,OAAO,GAAG;YACf,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;YAChC,IAAI,EAAE,KAAK;YACX,EAAE,EA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AAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC5B,CAAC,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,QAAQ,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAC7E,CAAA;IACF,CAAC;IACD,KAAK,CAAC,qBAAqB,CAAC,OAAwC;QACnE,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAmC,oBAAoB,EAAE,OAAO,CAAC,CAAA;QAC1G,OAAO,MAAM,CAAA;IACd,CAAC;IACD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,CAAA;IAC/B,CAAC;CACD"}
|
|
@@ -18,4 +18,5 @@ export declare class Users extends Collection<model.UserResponse, model.UserSear
|
|
|
18
18
|
resetPassword(username: string): Promise<model.PasswordResetResponse | model.ErrorResponse>;
|
|
19
19
|
updateRolesetOnUser(username: string, roleset: string): Promise<model.UserRoleResponse | model.ErrorResponse>;
|
|
20
20
|
updateUser(username: string, request: model.UserChangeRequest): Promise<model.UserResponse | model.ErrorResponse>;
|
|
21
|
+
checkUsernameAvailability(username: string): Promise<model.UsernameAvailabilityResponse | model.ErrorResponse>;
|
|
21
22
|
}
|
|
@@ -48,5 +48,8 @@ export class Users extends Collection {
|
|
|
48
48
|
const result = await this.connection.put(`users/${username}`, request);
|
|
49
49
|
return result;
|
|
50
50
|
}
|
|
51
|
+
async checkUsernameAvailability(username) {
|
|
52
|
+
return await this.connection.get(`${this.folder}/username/${username}`);
|
|
53
|
+
}
|
|
51
54
|
}
|
|
52
55
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Users/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;A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AAC,CAAA;QACtF,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,aAAa,CAAC,QAAgB;QACnC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA8B,oBAAoB,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAA;QACpH,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,mBAAmB,CAAC,QAAgB,EAAE,OAAe;QAC1D,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAyB,SAAS,QAAQ,aAAa,OAAO,EAAE,EAAE,SAAS,CAAC,CAAA;QACpH,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,UAAU,CACf,QAAgB,EAChB,OAAgC;QAEhC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,SAAS,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAA;QAC1F,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,yBAAyB,CAAC,QAAgB;QAC/C,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqC,GAAG,IAAI,CAAC,MAAM,aAAa,QAAQ,EAAE,CAAC,CAAA;IAC5G,CAAC;CACD"}
|
package/dist/Client/index.d.ts
CHANGED
|
@@ -4,9 +4,11 @@ import { Auth as ClientAuth } from "./Auth";
|
|
|
4
4
|
import { Beneficiaries as ClientBeneficiaries } from "./Beneficiaries";
|
|
5
5
|
import { Card as ClientCard } from "./Card";
|
|
6
6
|
import { Cards as ClientCards } from "./Cards";
|
|
7
|
+
import { Categories as ClientCategories } from "./Categories";
|
|
7
8
|
import { Collection as ClientCollection } from "./Collection";
|
|
8
9
|
import { Configuration as ClientConfiguration } from "./Configuration";
|
|
9
10
|
import { Connection } from "./Connection";
|
|
11
|
+
import { Email as ClientEmail } from "./Email";
|
|
10
12
|
import { List as ClientList } from "./List";
|
|
11
13
|
import { Organisation as ClientOrganisation } from "./Organisation";
|
|
12
14
|
import { Organisations as ClientOrganisations } from "./Organisations";
|
|
@@ -24,7 +26,9 @@ export declare class Client {
|
|
|
24
26
|
auth: ClientAuth;
|
|
25
27
|
beneficiaries: ClientBeneficiaries;
|
|
26
28
|
cards: ClientCards;
|
|
29
|
+
categories: ClientCategories;
|
|
27
30
|
configuration: ClientConfiguration;
|
|
31
|
+
email: ClientEmail;
|
|
28
32
|
users: ClientUsers;
|
|
29
33
|
organisations: ClientOrganisations;
|
|
30
34
|
reports: ClientReports;
|
|
@@ -39,7 +43,9 @@ export declare namespace Client {
|
|
|
39
43
|
type Beneficiaries = ClientBeneficiaries;
|
|
40
44
|
type Card = ClientCard;
|
|
41
45
|
type Cards = ClientCards;
|
|
46
|
+
type Categories = ClientCategories;
|
|
42
47
|
type Configuration = ClientConfiguration;
|
|
48
|
+
type Email = ClientEmail;
|
|
43
49
|
type Organisation = ClientOrganisation;
|
|
44
50
|
type Organisations = ClientOrganisations;
|
|
45
51
|
type Reports = ClientReports;
|
package/dist/Client/index.js
CHANGED
|
@@ -2,8 +2,10 @@ import { Accounts as ClientAccounts } from "./Accounts";
|
|
|
2
2
|
import { Auth as ClientAuth } from "./Auth";
|
|
3
3
|
import { Beneficiaries as ClientBeneficiaries } from "./Beneficiaries";
|
|
4
4
|
import { Cards as ClientCards } from "./Cards";
|
|
5
|
+
import { Categories as ClientCategories } from "./Categories";
|
|
5
6
|
import { Configuration as ClientConfiguration } from "./Configuration";
|
|
6
7
|
import { Connection } from "./Connection";
|
|
8
|
+
import { Email as ClientEmail } from "./Email";
|
|
7
9
|
import { Organisations as ClientOrganisations } from "./Organisations";
|
|
8
10
|
import { Reports as ClientReports } from "./Reports";
|
|
9
11
|
import { Transfers as ClientTransfers } from "./Transfers";
|
|
@@ -16,7 +18,9 @@ export class Client {
|
|
|
16
18
|
this.auth = ClientAuth.create(this.connection);
|
|
17
19
|
this.beneficiaries = ClientBeneficiaries.create(this.connection);
|
|
18
20
|
this.cards = ClientCards.create(this.connection);
|
|
21
|
+
this.categories = ClientCategories.create(this.connection);
|
|
19
22
|
this.configuration = ClientConfiguration.create(this.connection);
|
|
23
|
+
this.email = ClientEmail.create(this.connection);
|
|
20
24
|
this.users = ClientUsers.create(this.connection);
|
|
21
25
|
this.organisations = ClientOrganisations.create(this.connection);
|
|
22
26
|
this.reports = ClientReports.create(this.connection);
|
package/dist/Client/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAEtE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,YAAY,CAAA;AACvD,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAA;AAC3C,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAEtE,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE7D,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;AAG9C,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MA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AAI,CAAC,aAAa,+CAAlB,IAAI,EAAiB,IAAI,CAAC,CAAA,CAAC,mCAAI,KAAK,CAAA,EAAA,CAAA;IAClF,CAAC;IAhBD,IAAI,YAAY,CAAC,KAAmB;QACnC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAA;IAC3B,CAAC;IAeD,MAAM,CAAC,MAAM,CAAC,GAAuB,EAAE,KAA6B;QACnE,MAAM,UAAU,GAAG,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;QACvG,OAAO,UAAU,IAAI,IAAI,MAAM,CAAC,UAAU,EAAE,OAAO,KAAK,IAAI,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAA;IAC1F,CAAC;CACD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportUrlRequest, StatementReportUrlResponse, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, Room, ScheduleEntry, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportUrlRequest, StatementReportUrlResponse, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserResponse, YearMonth, } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserResponse, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, EmailValidationResponse, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransferDestinationInfo, TransferResponse, TransferStatus, TravelPartyInfo, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAEhB,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EAEX,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,0BAA0B,EAG1B,YAAY,EACZ,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAEpC,QAAQ,EAKR,qBAAqB,EACrB,yBAAyB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAEhB,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EAEX,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,0BAA0B,EAG1B,YAAY,EACZ,cAAc,EACd,wBAAwB,EACx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4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAGT,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EASV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EASV,OAAO,EAMP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAC1B,mBAAmB,EAGnB,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EACd,eAAe,EASf,iBAAiB,EAEjB,4BAA4B,EAC5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
|
@@ -3,6 +3,8 @@ export interface BillingTransactionAmountPair {
|
|
|
3
3
|
billing: AmountPair;
|
|
4
4
|
transaction: AmountPair;
|
|
5
5
|
fxRate: number;
|
|
6
|
+
rebate?: number;
|
|
7
|
+
rebateRate?: number;
|
|
6
8
|
}
|
|
7
9
|
export declare namespace BillingTransactionAmountPair {
|
|
8
10
|
function is(value: BillingTransactionAmountPair | any): value is BillingTransactionAmountPair;
|
|
@@ -5,7 +5,9 @@ export var BillingTransactionAmountPair;
|
|
|
5
5
|
return (typeof value == "object" &&
|
|
6
6
|
AmountPair.is(value.billing) &&
|
|
7
7
|
AmountPair.is(value.transaction) &&
|
|
8
|
-
typeof value.fxRate == "number"
|
|
8
|
+
typeof value.fxRate == "number" &&
|
|
9
|
+
(typeof value.rebate == "number" || value.rebate == undefined) &&
|
|
10
|
+
(typeof value.rebateRate == "number" || value.rebateRate == undefined));
|
|
9
11
|
}
|
|
10
12
|
BillingTransactionAmountPair.is = is;
|
|
11
13
|
})(BillingTransactionAmountPair || (BillingTransactionAmountPair = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BillingTransactionAmountPair.js","sourceRoot":"../","sources":["model/BillingTransactionAmountPair.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"BillingTransactionAmountPair.js","sourceRoot":"../","sources":["model/BillingTransactionAmountPair.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AASzC,MAAM,KAAW,4BAA4B,CAW5C;AAXD,WAAiB,4BAA4B;IAC5C,SAAgB,EAAE,CAAC,KAAyC;QAC3D,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC;YAC5B,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC;YAChC,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ;YAC/B,CAAC,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ,IAAI,KAAK,CAAC,MAAM,IAAI,SAAS,CAAC;YAC9D,CAAC,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC,UAAU,IAAI,SAAS,CAAC,CACtE,CAAA;IACF,CAAC;IATe,+BAAE,KASjB,CAAA;AACF,CAAC,EAXgB,4BAA4B,KAA5B,4BAA4B,QAW5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryFundingAccountAccessRequest.js","sourceRoot":"../","sources":["model/CategoryFundingAccountAccessRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryLimitResponse.js","sourceRoot":"../","sources":["model/CategoryLimitResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CategoryFundingAccountAccessRequest } from "./CategoryFundingAccountAccessRequest";
|
|
2
|
+
import { CategoryLimitResponse } from "./CategoryLimitResponse";
|
|
3
|
+
import { CategoryStatus } from "./CategoryStatus";
|
|
4
|
+
export interface CategoryResponse {
|
|
5
|
+
name: string;
|
|
6
|
+
limits: CategoryLimitResponse[];
|
|
7
|
+
status: CategoryStatus;
|
|
8
|
+
fundingAccountAccess: CategoryFundingAccountAccessRequest;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryResponse.js","sourceRoot":"../","sources":["model/CategoryResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type CategoryStatus = "ACTIVE" | "DELETED";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryStatus.js","sourceRoot":"../","sources":["model/CategoryStatus.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DateTime } from "isoly";
|
|
2
|
+
export interface EmailValidationResponse {
|
|
3
|
+
valid?: boolean;
|
|
4
|
+
message?: string;
|
|
5
|
+
checkedAt?: DateTime;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace EmailValidationResponse {
|
|
8
|
+
function is(value: EmailValidationResponse | any): value is EmailValidationResponse;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DateTime } from "isoly";
|
|
2
|
+
export var EmailValidationResponse;
|
|
3
|
+
(function (EmailValidationResponse) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return (typeof value == "object" &&
|
|
6
|
+
(value.valid == undefined || typeof value.valid == "boolean") &&
|
|
7
|
+
(value.message == undefined || typeof value.message == "string") &&
|
|
8
|
+
(value.checkedAt == undefined || DateTime.is(value.checkedAt)));
|
|
9
|
+
}
|
|
10
|
+
EmailValidationResponse.is = is;
|
|
11
|
+
})(EmailValidationResponse || (EmailValidationResponse = {}));
|
|
12
|
+
//# sourceMappingURL=EmailValidationResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailValidationResponse.js","sourceRoot":"../","sources":["model/EmailValidationResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAQhC,MAAM,KAAW,uBAAuB,CASvC;AATD,WAAiB,uBAAuB;IACvC,SAAgB,EAAE,CAAC,KAAoC;QACtD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,KAAK,IAAI,SAAS,CAAC;YAC7D,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAC;YAChE,CAAC,KAAK,CAAC,SAAS,IAAI,SAAS,IAAI,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAC9D,CAAA;IACF,CAAC;IAPe,0BAAE,KAOjB,CAAA;AACF,CAAC,EATgB,uBAAuB,KAAvB,uBAAuB,QASvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatementReportUrlRequest.js","sourceRoot":"../","sources":["model/StatementReportUrlRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatementReportUrlResponse.js","sourceRoot":"../","sources":["model/StatementReportUrlResponse.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { UserLimitsRequest } from "./UserLimitsRequest";
|
|
2
|
+
import { UserStatus } from "./UserStatus";
|
|
2
3
|
export interface UserChangeRequest {
|
|
3
4
|
firstName: string;
|
|
4
5
|
lastName: string;
|
|
5
6
|
email: string;
|
|
6
7
|
category?: string;
|
|
7
|
-
status?:
|
|
8
|
+
status?: UserStatus;
|
|
8
9
|
userLimits?: UserLimitsRequest[];
|
|
9
10
|
}
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
export var UserLimitsRequest;
|
|
3
|
+
(function (UserLimitsRequest) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return (typeof value == "object" &&
|
|
6
|
+
Currency.is(value.currency) &&
|
|
7
|
+
(value.limit == undefined || typeof value.limit == "number"));
|
|
8
|
+
}
|
|
9
|
+
UserLimitsRequest.is = is;
|
|
10
|
+
})(UserLimitsRequest || (UserLimitsRequest = {}));
|
|
2
11
|
//# sourceMappingURL=UserLimitsRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserLimitsRequest.js","sourceRoot":"../","sources":["model/UserLimitsRequest.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"UserLimitsRequest.js","sourceRoot":"../","sources":["model/UserLimitsRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAUhC,MAAM,KAAW,iBAAiB,CAQjC;AARD,WAAiB,iBAAiB;IACjC,SAAgB,EAAE,CAAC,KAA8B;QAChD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC3B,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,KAAK,IAAI,QAAQ,CAAC,CAC5D,CAAA;IACF,CAAC;IANe,oBAAE,KAMjB,CAAA;AACF,CAAC,EARgB,iBAAiB,KAAjB,iBAAiB,QAQjC"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { UserLimitsRequest } from "./UserLimitsRequest";
|
|
2
|
+
import { UserStatus } from "./UserStatus";
|
|
2
3
|
export interface UserRequest {
|
|
3
4
|
username: string;
|
|
4
5
|
password: string;
|
|
5
6
|
firstName: string;
|
|
6
7
|
lastName: string;
|
|
7
|
-
status?:
|
|
8
|
+
status?: UserStatus;
|
|
8
9
|
email: string;
|
|
9
10
|
userLimits?: UserLimitsRequest[];
|
|
10
11
|
rolesets?: string[];
|
|
11
12
|
category?: string;
|
|
12
13
|
}
|
|
14
|
+
export declare namespace UserRequest {
|
|
15
|
+
function is(value: UserRequest | any): value is UserRequest;
|
|
16
|
+
}
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
import { UserLimitsRequest } from "./UserLimitsRequest";
|
|
2
|
+
import { UserStatus } from "./UserStatus";
|
|
3
|
+
export var UserRequest;
|
|
4
|
+
(function (UserRequest) {
|
|
5
|
+
function is(value) {
|
|
6
|
+
return (typeof value == "object" &&
|
|
7
|
+
typeof value.username == "string" &&
|
|
8
|
+
typeof value.password == "string" &&
|
|
9
|
+
typeof value.firstName == "string" &&
|
|
10
|
+
typeof value.lastName == "string" &&
|
|
11
|
+
(value.status == undefined || UserStatus.is(value.status)) &&
|
|
12
|
+
typeof value.email == "string" &&
|
|
13
|
+
(value.userLimits == undefined ||
|
|
14
|
+
(Array.isArray(value.userLimits) && value.userLimits.every((item) => UserLimitsRequest.is(item)))) &&
|
|
15
|
+
(value.rolesets == undefined ||
|
|
16
|
+
(Array.isArray(value.rolesets) && value.rolesets.every((item) => typeof item == "string"))) &&
|
|
17
|
+
(value.category == undefined || typeof value.category == "string"));
|
|
18
|
+
}
|
|
19
|
+
UserRequest.is = is;
|
|
20
|
+
})(UserRequest || (UserRequest = {}));
|
|
2
21
|
//# sourceMappingURL=UserRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserRequest.js","sourceRoot":"../","sources":["model/UserRequest.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"UserRequest.js","sourceRoot":"../","sources":["model/UserRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAiBzC,MAAM,KAAW,WAAW,CAiB3B;AAjBD,WAAiB,WAAW;IAC3B,SAAgB,EAAE,CAAC,KAAwB;QAC1C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ;YACjC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ;YACjC,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ;YAClC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ;YACjC,CAAC,KAAK,CAAC,MAAM,IAAI,SAAS,IAAI,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YAC1D,OAAO,KAAK,CAAC,KAAK,IAAI,QAAQ;YAC9B,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS;gBAC7B,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACxG,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS;gBAC3B,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,IAAS,EAAE,EAAE,CAAC,OAAO,IAAI,IAAI,QAAQ,CAAC,CAAC,CAAC;YACjG,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CAAC,CAClE,CAAA;IACF,CAAC;IAfe,cAAE,KAejB,CAAA;AACF,CAAC,EAjBgB,WAAW,KAAX,WAAW,QAiB3B"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { OrganisationResponse } from "./OrganisationResponse";
|
|
2
2
|
import { TwoFactorAuthenticationDetails } from "./TwoFactorAuthenticationDetails";
|
|
3
3
|
import { UserLimitsResponse } from "./UserLimitsResponse";
|
|
4
|
+
import { UserStatus } from "./UserStatus";
|
|
4
5
|
export interface UserResponse {
|
|
5
6
|
username: string;
|
|
6
7
|
firstName: string;
|
|
7
8
|
lastName: string;
|
|
8
9
|
email: string;
|
|
9
|
-
status?:
|
|
10
|
+
status?: UserStatus;
|
|
10
11
|
passwordUpdatedOn?: string;
|
|
11
12
|
category?: string;
|
|
12
13
|
organisation?: OrganisationResponse;
|