@pax2pay/client 0.0.101 → 0.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client/Configuration/index.ts +14 -0
- package/Client/Users/index.ts +32 -0
- package/Client/index.ts +3 -0
- package/dist/Client/Configuration/index.d.ts +11 -0
- package/dist/Client/Configuration/index.js +14 -0
- package/dist/Client/Configuration/index.js.map +1 -0
- package/dist/Client/Users/index.d.ts +8 -0
- package/dist/Client/Users/index.js +32 -0
- package/dist/Client/Users/index.js.map +1 -1
- package/dist/Client/index.d.ts +3 -0
- package/dist/Client/index.js +2 -0
- package/dist/Client/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/FiveFieldsBookingInfoRequest.d.ts +3 -0
- package/dist/model/FiveFieldsBookingInfoRequest.js +12 -1
- package/dist/model/FiveFieldsBookingInfoRequest.js.map +1 -1
- package/dist/model/HotelBookingInfoRequest.js +4 -4
- package/dist/model/HotelBookingInfoRequest.js.map +1 -1
- package/dist/model/InvoiceBookingInfoRequest.d.ts +3 -0
- package/dist/model/InvoiceBookingInfoRequest.js +13 -1
- package/dist/model/InvoiceBookingInfoRequest.js.map +1 -1
- package/dist/model/Passengers.js +5 -1
- package/dist/model/Passengers.js.map +1 -1
- package/dist/model/PasswordResetResponse.d.ts +6 -0
- package/dist/model/PasswordResetResponse.js +2 -0
- package/dist/model/PasswordResetResponse.js.map +1 -0
- package/dist/model/References.js +5 -1
- package/dist/model/References.js.map +1 -1
- package/dist/model/UserLimit.d.ts +3 -2
- package/dist/model/UserRequest.d.ts +3 -0
- package/dist/model/index.d.ts +2 -1
- package/dist/model/index.js +3 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +2 -0
- package/model/FiveFieldsBookingInfoRequest.ts +13 -0
- package/model/HotelBookingInfoRequest.ts +4 -4
- package/model/InvoiceBookingInfoRequest.ts +13 -0
- package/model/Passengers.ts +7 -1
- package/model/PasswordResetResponse.ts +7 -0
- package/model/References.ts +5 -1
- package/model/UserLimit.ts +4 -2
- package/model/UserRequest.ts +4 -0
- package/model/index.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Currency } from "isoly"
|
|
2
|
+
import { Connection } from "../Connection"
|
|
3
|
+
|
|
4
|
+
export class Configuration {
|
|
5
|
+
protected folder = "config"
|
|
6
|
+
constructor(private readonly connection: Connection) {}
|
|
7
|
+
static create(connection: Connection) {
|
|
8
|
+
return new Configuration(connection)
|
|
9
|
+
}
|
|
10
|
+
async getAvailableCurrency() {
|
|
11
|
+
const result = await this.connection.get<Currency[]>(`config/currencies`)
|
|
12
|
+
return result
|
|
13
|
+
}
|
|
14
|
+
}
|
package/Client/Users/index.ts
CHANGED
|
@@ -15,9 +15,41 @@ export class Users extends Collection<model.UserResponse, model.UserSearchReques
|
|
|
15
15
|
static create(connection: Connection) {
|
|
16
16
|
return new Users(connection)
|
|
17
17
|
}
|
|
18
|
+
async deleteUser(username: string): Promise<model.UserResponse | model.ErrorResponse> {
|
|
19
|
+
const result = await this.connection.remove<model.UserResponse>(`users/${username}`)
|
|
20
|
+
return result
|
|
21
|
+
}
|
|
22
|
+
async getAllUsers(): Promise<model.UserResponse[] | model.ErrorResponse> {
|
|
23
|
+
const result = await this.connection.get<model.UserResponse[]>(`users?size=500`)
|
|
24
|
+
return result
|
|
25
|
+
}
|
|
26
|
+
async getCategory(): Promise<string[] | model.ErrorResponse> {
|
|
27
|
+
const result = await this.connection.get<string[]>(`users/category`)
|
|
28
|
+
return result
|
|
29
|
+
}
|
|
30
|
+
async getRolesets(): Promise<model.RolesetResponse[] | model.ErrorResponse> {
|
|
31
|
+
const result = await this.connection.get<model.RolesetResponse[]>(`rolesets`)
|
|
32
|
+
return result
|
|
33
|
+
}
|
|
34
|
+
async getUser(username: string): Promise<model.UserResponse | model.ErrorResponse> {
|
|
35
|
+
const result = await this.connection.get<model.UserResponse>(`users/${username}`)
|
|
36
|
+
return result
|
|
37
|
+
}
|
|
18
38
|
async getUsersActiveRoles(username: string, token: string): Promise<string[] | model.ErrorResponse> {
|
|
19
39
|
this.connection.token = token
|
|
20
40
|
const result = await this.connection.get<string[]>(`users/${username}/roles/minified`)
|
|
21
41
|
return result
|
|
22
42
|
}
|
|
43
|
+
async resetPassword(username: string): Promise<model.PasswordResetResponse | model.ErrorResponse> {
|
|
44
|
+
const result = await this.connection.post<model.PasswordResetResponse>(`auth/passwordreset`, { username: username })
|
|
45
|
+
return result
|
|
46
|
+
}
|
|
47
|
+
async updateRolesetOnUser(username: string, roleset: string): Promise<model.UserRoleResponse | model.ErrorResponse> {
|
|
48
|
+
const result = await this.connection.put<model.UserRoleResponse>(`users/${username}/rolesets/${roleset}`, undefined)
|
|
49
|
+
return result
|
|
50
|
+
}
|
|
51
|
+
async updateUser(username: string, request: model.UserRequest): Promise<model.UserResponse | model.ErrorResponse> {
|
|
52
|
+
const result = await this.connection.put<model.UserResponse>(`users/${username}`, request)
|
|
53
|
+
return result
|
|
54
|
+
}
|
|
23
55
|
}
|
package/Client/index.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Beneficiaries as ClientBeneficiaries } from "./Beneficiaries"
|
|
|
5
5
|
import { Card as ClientCard } from "./Card"
|
|
6
6
|
import { Cards as ClientCards } from "./Cards"
|
|
7
7
|
import { Collection as ClientCollection } from "./Collection"
|
|
8
|
+
import { Configuration as ClientConfiguration } from "./Configuration"
|
|
8
9
|
import { Connection } from "./Connection"
|
|
9
10
|
import { List as ClientList } from "./List"
|
|
10
11
|
import { Organisation as ClientOrganisation } from "./Organisation"
|
|
@@ -25,6 +26,7 @@ export class Client {
|
|
|
25
26
|
auth = ClientAuth.create(this.connection)
|
|
26
27
|
beneficiaries = ClientBeneficiaries.create(this.connection)
|
|
27
28
|
cards = ClientCards.create(this.connection)
|
|
29
|
+
configuration = ClientConfiguration.create(this.connection)
|
|
28
30
|
users = ClientUsers.create(this.connection)
|
|
29
31
|
organisations = ClientOrganisations.create(this.connection)
|
|
30
32
|
reports = ClientReports.create(this.connection)
|
|
@@ -45,6 +47,7 @@ export namespace Client {
|
|
|
45
47
|
export type Beneficiaries = ClientBeneficiaries
|
|
46
48
|
export type Card = ClientCard
|
|
47
49
|
export type Cards = ClientCards
|
|
50
|
+
export type Configuration = ClientConfiguration
|
|
48
51
|
export type Organisation = ClientOrganisation
|
|
49
52
|
export type Organisations = ClientOrganisations
|
|
50
53
|
export type Reports = ClientReports
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
import { Connection } from "../Connection";
|
|
3
|
+
export declare class Configuration {
|
|
4
|
+
private readonly connection;
|
|
5
|
+
protected folder: string;
|
|
6
|
+
constructor(connection: Connection);
|
|
7
|
+
static create(connection: Connection): Configuration;
|
|
8
|
+
getAvailableCurrency(): Promise<Currency[] | (import("../..").ErrorResponse & {
|
|
9
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
10
|
+
})>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class Configuration {
|
|
2
|
+
constructor(connection) {
|
|
3
|
+
this.connection = connection;
|
|
4
|
+
this.folder = "config";
|
|
5
|
+
}
|
|
6
|
+
static create(connection) {
|
|
7
|
+
return new Configuration(connection);
|
|
8
|
+
}
|
|
9
|
+
async getAvailableCurrency() {
|
|
10
|
+
const result = await this.connection.get(`config/currencies`);
|
|
11
|
+
return result;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Configuration/index.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,aAAa;IAEzB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;QADzC,WAAM,GAAG,QAAQ,CAAA;IAC2B,CAAC;IACvD,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,aAAa,CAAC,UAAU,CAAC,CAAA;IACrC,CAAC;IACD,KAAK,CAAC,oBAAoB;QACzB,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAa,mBAAmB,CAAC,CAAA;QACzE,OAAO,MAAM,CAAA;IACd,CAAC;CACD"}
|
|
@@ -9,5 +9,13 @@ export declare class Users extends Collection<model.UserResponse, model.UserSear
|
|
|
9
9
|
[key: string]: any;
|
|
10
10
|
}>;
|
|
11
11
|
static create(connection: Connection): Users;
|
|
12
|
+
deleteUser(username: string): Promise<model.UserResponse | model.ErrorResponse>;
|
|
13
|
+
getAllUsers(): Promise<model.UserResponse[] | model.ErrorResponse>;
|
|
14
|
+
getCategory(): Promise<string[] | model.ErrorResponse>;
|
|
15
|
+
getRolesets(): Promise<model.RolesetResponse[] | model.ErrorResponse>;
|
|
16
|
+
getUser(username: string): Promise<model.UserResponse | model.ErrorResponse>;
|
|
12
17
|
getUsersActiveRoles(username: string, token: string): Promise<string[] | model.ErrorResponse>;
|
|
18
|
+
resetPassword(username: string): Promise<model.PasswordResetResponse | model.ErrorResponse>;
|
|
19
|
+
updateRolesetOnUser(username: string, roleset: string): Promise<model.UserRoleResponse | model.ErrorResponse>;
|
|
20
|
+
updateUser(username: string, request: model.UserRequest): Promise<model.UserResponse | model.ErrorResponse>;
|
|
13
21
|
}
|
|
@@ -11,10 +11,42 @@ export class Users extends Collection {
|
|
|
11
11
|
static create(connection) {
|
|
12
12
|
return new Users(connection);
|
|
13
13
|
}
|
|
14
|
+
async deleteUser(username) {
|
|
15
|
+
const result = await this.connection.remove(`users/${username}`);
|
|
16
|
+
return result;
|
|
17
|
+
}
|
|
18
|
+
async getAllUsers() {
|
|
19
|
+
const result = await this.connection.get(`users?size=500`);
|
|
20
|
+
return result;
|
|
21
|
+
}
|
|
22
|
+
async getCategory() {
|
|
23
|
+
const result = await this.connection.get(`users/category`);
|
|
24
|
+
return result;
|
|
25
|
+
}
|
|
26
|
+
async getRolesets() {
|
|
27
|
+
const result = await this.connection.get(`rolesets`);
|
|
28
|
+
return result;
|
|
29
|
+
}
|
|
30
|
+
async getUser(username) {
|
|
31
|
+
const result = await this.connection.get(`users/${username}`);
|
|
32
|
+
return result;
|
|
33
|
+
}
|
|
14
34
|
async getUsersActiveRoles(username, token) {
|
|
15
35
|
this.connection.token = token;
|
|
16
36
|
const result = await this.connection.get(`users/${username}/roles/minified`);
|
|
17
37
|
return result;
|
|
18
38
|
}
|
|
39
|
+
async resetPassword(username) {
|
|
40
|
+
const result = await this.connection.post(`auth/passwordreset`, { username: username });
|
|
41
|
+
return result;
|
|
42
|
+
}
|
|
43
|
+
async updateRolesetOnUser(username, roleset) {
|
|
44
|
+
const result = await this.connection.put(`users/${username}/rolesets/${roleset}`, undefined);
|
|
45
|
+
return result;
|
|
46
|
+
}
|
|
47
|
+
async updateUser(username, request) {
|
|
48
|
+
const result = await this.connection.put(`users/${username}`, request);
|
|
49
|
+
return result;
|
|
50
|
+
}
|
|
19
51
|
}
|
|
20
52
|
//# 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;AAG1C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,MAAM,OAAO,KAAM,SAAQ,UAA0E;IAEpG,YAAoB,UAAsB;QACzC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,OAAO,CAAA;IAG1B,CAAC;IACS,cAAc,CAAC,QAA4B;QACpD,OAAO,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,CAAA;IACvF,CAAC;IACD,MA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AAU,CAAC,GAAG,CAAqB,SAAS,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAA;QAC1F,OAAO,MAAM,CAAA;IACd,CAAC;CACD"}
|
package/dist/Client/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Beneficiaries as ClientBeneficiaries } from "./Beneficiaries";
|
|
|
5
5
|
import { Card as ClientCard } from "./Card";
|
|
6
6
|
import { Cards as ClientCards } from "./Cards";
|
|
7
7
|
import { Collection as ClientCollection } from "./Collection";
|
|
8
|
+
import { Configuration as ClientConfiguration } from "./Configuration";
|
|
8
9
|
import { Connection } from "./Connection";
|
|
9
10
|
import { List as ClientList } from "./List";
|
|
10
11
|
import { Organisation as ClientOrganisation } from "./Organisation";
|
|
@@ -23,6 +24,7 @@ export declare class Client {
|
|
|
23
24
|
auth: ClientAuth;
|
|
24
25
|
beneficiaries: ClientBeneficiaries;
|
|
25
26
|
cards: ClientCards;
|
|
27
|
+
configuration: ClientConfiguration;
|
|
26
28
|
users: ClientUsers;
|
|
27
29
|
organisations: ClientOrganisations;
|
|
28
30
|
reports: ClientReports;
|
|
@@ -37,6 +39,7 @@ export declare namespace Client {
|
|
|
37
39
|
type Beneficiaries = ClientBeneficiaries;
|
|
38
40
|
type Card = ClientCard;
|
|
39
41
|
type Cards = ClientCards;
|
|
42
|
+
type Configuration = ClientConfiguration;
|
|
40
43
|
type Organisation = ClientOrganisation;
|
|
41
44
|
type Organisations = ClientOrganisations;
|
|
42
45
|
type Reports = ClientReports;
|
package/dist/Client/index.js
CHANGED
|
@@ -2,6 +2,7 @@ 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 { Configuration as ClientConfiguration } from "./Configuration";
|
|
5
6
|
import { Connection } from "./Connection";
|
|
6
7
|
import { Organisations as ClientOrganisations } from "./Organisations";
|
|
7
8
|
import { Reports as ClientReports } from "./Reports";
|
|
@@ -15,6 +16,7 @@ export class Client {
|
|
|
15
16
|
this.auth = ClientAuth.create(this.connection);
|
|
16
17
|
this.beneficiaries = ClientBeneficiaries.create(this.connection);
|
|
17
18
|
this.cards = ClientCards.create(this.connection);
|
|
19
|
+
this.configuration = ClientConfiguration.create(this.connection);
|
|
18
20
|
this.users = ClientUsers.create(this.connection);
|
|
19
21
|
this.organisations = ClientOrganisations.create(this.connection);
|
|
20
22
|
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;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzC,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,WAAW,CAAA;AAEpD,OAAO,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,aAAa,CAAA;AAE1D,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,SAAS,CAAA;AAI9C,MAAM,OAAO,MAAM;
|
|
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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,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QAElD,UAAU,CAAC,YAAY,GAAG,KAAK,IAAI,EAAE,eAAC,OAAA,MAAA,CAAC,MAAM,CAAA,MAAA,IAAI,CAAC,aAAa,+CAAlB,IAAI,EAAiB,IAAI,CAAC,CAAA,CAAC,mCAAI,KAAK,CAAA,EAAA,CAAA;IAClF,CAAC;IAdD,IAAI,YAAY,CAAC,KAAmB;QACnC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAA;IAC3B,CAAC;IAaD,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, 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, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, 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, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, 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, 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, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, 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, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, 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, 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, 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, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, 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, 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, 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, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, 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, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, 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,EAGX,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAI5B,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAI1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAEpC,QAAQ,EAKR,qBAAqB,EACrB,yBAA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A0B,EAI1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAEpC,QAAQ,EAKR,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,6BAA6B,EAE7B,yBAAyB,EACzB,UAAU,EACV,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAGT,yBAAyB,EACzB,0BAA0B,EAC1B,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EASV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EASV,OAAO,EAIP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAI1B,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EAad,YAAY,EAGZ,SAAS,GACT,CAAA"}
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var FiveFieldsBookingInfoRequest;
|
|
2
|
+
(function (FiveFieldsBookingInfoRequest) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.agentBookingReference == undefined || typeof value.agentBookingReference == "string") &&
|
|
6
|
+
(value.departureDate == undefined || typeof value.departureDate == "string") &&
|
|
7
|
+
(value.supplierBookingReference == undefined || typeof value.supplierBookingReference == "string") &&
|
|
8
|
+
(value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
|
|
9
|
+
(value.supplierCode == undefined || typeof value.supplierCode == "string"));
|
|
10
|
+
}
|
|
11
|
+
FiveFieldsBookingInfoRequest.is = is;
|
|
12
|
+
})(FiveFieldsBookingInfoRequest || (FiveFieldsBookingInfoRequest = {}));
|
|
2
13
|
//# sourceMappingURL=FiveFieldsBookingInfoRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiveFieldsBookingInfoRequest.js","sourceRoot":"../","sources":["model/FiveFieldsBookingInfoRequest.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"FiveFieldsBookingInfoRequest.js","sourceRoot":"../","sources":["model/FiveFieldsBookingInfoRequest.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,4BAA4B,CAW5C;AAXD,WAAiB,4BAA4B;IAC5C,SAAgB,EAAE,CAAC,KAAyC;QAC3D,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ,CAAC;YAC5E,CAAC,KAAK,CAAC,wBAAwB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,wBAAwB,IAAI,QAAQ,CAAC;YAClG,CAAC,KAAK,CAAC,iBAAiB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ,CAAC;YACpF,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,CAAC,CAC1E,CAAA;IACF,CAAC;IATe,+BAAE,KASjB,CAAA;AACF,CAAC,EAXgB,4BAA4B,KAA5B,4BAA4B,QAW5C"}
|
|
@@ -6,10 +6,10 @@ export var HotelBookingInfoRequest;
|
|
|
6
6
|
(function (HotelBookingInfoRequest) {
|
|
7
7
|
function is(value) {
|
|
8
8
|
return (typeof value == "object" &&
|
|
9
|
-
HotelInfo.is(value.hotel) &&
|
|
10
|
-
References.is(value.references) &&
|
|
11
|
-
Passengers.is(value.passengers) &&
|
|
12
|
-
isoly.DateTime.is(value.timestamp));
|
|
9
|
+
(value.hotel == undefined || HotelInfo.is(value.hotel)) &&
|
|
10
|
+
(value.references == undefined || References.is(value.references)) &&
|
|
11
|
+
(value.passengers == undefined || Passengers.is(value.passengers)) &&
|
|
12
|
+
(value.timestamp == undefined || isoly.DateTime.is(value.timestamp)));
|
|
13
13
|
}
|
|
14
14
|
HotelBookingInfoRequest.is = is;
|
|
15
15
|
})(HotelBookingInfoRequest || (HotelBookingInfoRequest = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HotelBookingInfoRequest.js","sourceRoot":"../","sources":["model/HotelBookingInfoRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAUzC,MAAM,KAAW,uBAAuB,CAUvC;AAVD,WAAiB,uBAAuB;IACvC,SAAgB,EAAE,CAAC,KAAoC;QACtD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"HotelBookingInfoRequest.js","sourceRoot":"../","sources":["model/HotelBookingInfoRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAUzC,MAAM,KAAW,uBAAuB,CAUvC;AAVD,WAAiB,uBAAuB;IACvC,SAAgB,EAAE,CAAC,KAAoC;QACtD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACvD,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YAClE,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YAClE,CAAC,KAAK,CAAC,SAAS,IAAI,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CACpE,CAAA;IACF,CAAC;IARe,0BAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,uBAAuB,KAAvB,uBAAuB,QAUvC"}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
export var InvoiceBookingInfoRequest;
|
|
3
|
+
(function (InvoiceBookingInfoRequest) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return (typeof value == "object" &&
|
|
6
|
+
(value.supplierName == undefined || typeof value.supplierName == "string") &&
|
|
7
|
+
(value.date == undefined || isoly.Date.is(value.date)) &&
|
|
8
|
+
(value.supplierReferenceNumber == undefined || typeof value.supplierReferenceNumber == "string") &&
|
|
9
|
+
(value.value == undefined || typeof value.value == "number") &&
|
|
10
|
+
(value.taxElement == undefined || typeof value.taxElement == "string"));
|
|
11
|
+
}
|
|
12
|
+
InvoiceBookingInfoRequest.is = is;
|
|
13
|
+
})(InvoiceBookingInfoRequest || (InvoiceBookingInfoRequest = {}));
|
|
2
14
|
//# sourceMappingURL=InvoiceBookingInfoRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceBookingInfoRequest.js","sourceRoot":"../","sources":["model/InvoiceBookingInfoRequest.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"InvoiceBookingInfoRequest.js","sourceRoot":"../","sources":["model/InvoiceBookingInfoRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,MAAM,KAAW,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACzC,SAAgB,EAAE,CAAC,KAAsC;QACxD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,CAAC;YAC1E,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACtD,CAAC,KAAK,CAAC,uBAAuB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,uBAAuB,IAAI,QAAQ,CAAC;YAChG,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,KAAK,IAAI,QAAQ,CAAC;YAC5D,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,CAAC,CACtE,CAAA;IACF,CAAC;IATe,4BAAE,KASjB,CAAA;AACF,CAAC,EAXgB,yBAAyB,KAAzB,yBAAyB,QAWzC"}
|
package/dist/model/Passengers.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export var Passengers;
|
|
2
2
|
(function (Passengers) {
|
|
3
3
|
function is(value) {
|
|
4
|
-
return typeof value == "object" &&
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
|
|
6
|
+
(value.adults == undefined || typeof value.adults == "number") &&
|
|
7
|
+
(value.children == undefined || typeof value.children == "number") &&
|
|
8
|
+
(value.infants == undefined || typeof value.infants == "number"));
|
|
5
9
|
}
|
|
6
10
|
Passengers.is = is;
|
|
7
11
|
})(Passengers || (Passengers = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Passengers.js","sourceRoot":"../","sources":["model/Passengers.ts"],"names":[],"mappings":"AAMA,MAAM,KAAW,UAAU,
|
|
1
|
+
{"version":3,"file":"Passengers.js","sourceRoot":"../","sources":["model/Passengers.ts"],"names":[],"mappings":"AAMA,MAAM,KAAW,UAAU,CAU1B;AAVD,WAAiB,UAAU;IAC1B,SAAgB,EAAE,CAAC,KAAuB;QACzC,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,iBAAiB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ,CAAC;YACpF,CAAC,KAAK,CAAC,MAAM,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ,CAAC;YAC9D,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CAAC;YAClE,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAC,CAChE,CAAA;IACF,CAAC;IARe,aAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,UAAU,KAAV,UAAU,QAU1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordResetResponse.js","sourceRoot":"../","sources":["model/PasswordResetResponse.ts"],"names":[],"mappings":""}
|
package/dist/model/References.js
CHANGED
|
@@ -3,7 +3,11 @@ export var References;
|
|
|
3
3
|
function is(value) {
|
|
4
4
|
return (typeof value == "object" &&
|
|
5
5
|
(typeof value.supplierBookingReference == "string" || value.supplierBookingReference == undefined) &&
|
|
6
|
-
typeof value.agentBookingReference == "string")
|
|
6
|
+
(typeof value.agentBookingReference == "string" || value.agentBookingReference == undefined) &&
|
|
7
|
+
(typeof value.supplierCode == "string" || value.supplierCode == undefined) &&
|
|
8
|
+
(typeof value.supplierName == "string" || value.supplierName == undefined) &&
|
|
9
|
+
(typeof value.fabBasketReference == "string" || value.fabBasketReference == undefined) &&
|
|
10
|
+
(typeof value.syndicatorName == "string" || value.syndicatorName == undefined));
|
|
7
11
|
}
|
|
8
12
|
References.is = is;
|
|
9
13
|
})(References || (References = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"References.js","sourceRoot":"../","sources":["model/References.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,UAAU,
|
|
1
|
+
{"version":3,"file":"References.js","sourceRoot":"../","sources":["model/References.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,UAAU,CAY1B;AAZD,WAAiB,UAAU;IAC1B,SAAgB,EAAE,CAAC,KAAuB;QACzC,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,OAAO,KAAK,CAAC,wBAAwB,IAAI,QAAQ,IAAI,KAAK,CAAC,wBAAwB,IAAI,SAAS,CAAC;YAClG,CAAC,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,IAAI,KAAK,CAAC,qBAAqB,IAAI,SAAS,CAAC;YAC5F,CAAC,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,IAAI,KAAK,CAAC,YAAY,IAAI,SAAS,CAAC;YAC1E,CAAC,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,IAAI,KAAK,CAAC,YAAY,IAAI,SAAS,CAAC;YAC1E,CAAC,OAAO,KAAK,CAAC,kBAAkB,IAAI,QAAQ,IAAI,KAAK,CAAC,kBAAkB,IAAI,SAAS,CAAC;YACtF,CAAC,OAAO,KAAK,CAAC,cAAc,IAAI,QAAQ,IAAI,KAAK,CAAC,cAAc,IAAI,SAAS,CAAC,CAC9E,CAAA;IACF,CAAC;IAVe,aAAE,KAUjB,CAAA;AACF,CAAC,EAZgB,UAAU,KAAV,UAAU,QAY1B"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { UserLimit } from "./UserLimit";
|
|
1
2
|
export interface UserRequest {
|
|
2
3
|
username: string;
|
|
3
4
|
password: string;
|
|
4
5
|
firstName: string;
|
|
5
6
|
lastName: string;
|
|
7
|
+
status?: "ACTIVE" | "INACTIVE" | "DELETED" | "PASSWORD_EXPIRED";
|
|
6
8
|
email: string;
|
|
9
|
+
userLimits?: UserLimit[];
|
|
7
10
|
rolesets?: string[];
|
|
8
11
|
category?: string;
|
|
9
12
|
}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -87,6 +87,7 @@ import { OrganisationRequest } from "./OrganisationRequest";
|
|
|
87
87
|
import { OrganisationResponse } from "./OrganisationResponse";
|
|
88
88
|
import { Passengers } from "./Passengers";
|
|
89
89
|
import { PasswordChangeRequest } from "./PasswordChangeRequest";
|
|
90
|
+
import { PasswordResetResponse } from "./PasswordResetResponse";
|
|
90
91
|
import { PasswordValidateRequest } from "./PasswordValidateRequest";
|
|
91
92
|
import { PasswordValidateResponse } from "./PasswordValidateResponse";
|
|
92
93
|
import { Payload } from "./Payload";
|
|
@@ -137,4 +138,4 @@ import { UserResponse } from "./UserResponse";
|
|
|
137
138
|
import { UserRoleResponse } from "./UserRoleResponse";
|
|
138
139
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
139
140
|
import { YearMonth } from "./YearMonth";
|
|
140
|
-
export { 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, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardProcessedTransaction, 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, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MinimalBookingInfo, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, 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, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
|
|
141
|
+
export { 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, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardProcessedTransaction, 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, 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, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
|
package/dist/model/index.js
CHANGED
|
@@ -26,6 +26,7 @@ import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
|
26
26
|
import { CardTypeSpecificationFlag } from "./CardTypeSpecificationFlag";
|
|
27
27
|
import { ErrorMessageDto } from "./ErrorMessageDto";
|
|
28
28
|
import { ErrorResponse } from "./ErrorResponse";
|
|
29
|
+
import { FiveFieldsBookingInfoRequest } from "./FiveFieldsBookingInfoRequest";
|
|
29
30
|
import { FiveFieldsBookingInfoResponse } from "./FiveFieldsBookingInfoResponse";
|
|
30
31
|
import { FlightBookingInfoResponse } from "./FlightBookingInfoResponse";
|
|
31
32
|
import { FlightInfo } from "./FlightInfo";
|
|
@@ -35,6 +36,7 @@ import { FundingLimitResponse } from "./FundingLimitResponse";
|
|
|
35
36
|
import { HotelBookingInfoRequest } from "./HotelBookingInfoRequest";
|
|
36
37
|
import { HotelBookingInfoResponse } from "./HotelBookingInfoResponse";
|
|
37
38
|
import { HotelInfo } from "./HotelInfo";
|
|
39
|
+
import { InvoiceBookingInfoRequest } from "./InvoiceBookingInfoRequest";
|
|
38
40
|
import { InvoiceBookingInfoResponse } from "./InvoiceBookingInfoResponse";
|
|
39
41
|
import { Issue } from "./Issue";
|
|
40
42
|
import { LoginResponse } from "./LoginResponse";
|
|
@@ -55,5 +57,5 @@ import { TransferResponse } from "./TransferResponse";
|
|
|
55
57
|
import { TransferStatus } from "./TransferStatus";
|
|
56
58
|
import { UserResponse } from "./UserResponse";
|
|
57
59
|
import { YearMonth } from "./YearMonth";
|
|
58
|
-
export { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, };
|
|
60
|
+
export { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, };
|
|
59
61
|
//# sourceMappingURL=index.js.map
|
package/dist/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,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;AAG3C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAI7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAA;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB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AAajD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EAGX,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAI5B,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAGpC,QAAQ,EAKR,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,6BAA6B,EAE7B,yBAAyB,EACzB,UAAU,EACV,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAGT,yBAAyB,EACzB,0BAA0B,EAC1B,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EASV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EASV,OAAO,EAIP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAI1B,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EAad,YAAY,EAGZ,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -89,6 +89,7 @@ import {
|
|
|
89
89
|
OrganisationResponse,
|
|
90
90
|
Passengers,
|
|
91
91
|
PasswordChangeRequest,
|
|
92
|
+
PasswordResetResponse,
|
|
92
93
|
PasswordValidateRequest,
|
|
93
94
|
PasswordValidateResponse,
|
|
94
95
|
Payload,
|
|
@@ -232,6 +233,7 @@ export {
|
|
|
232
233
|
OrganisationResponse,
|
|
233
234
|
Passengers,
|
|
234
235
|
PasswordChangeRequest,
|
|
236
|
+
PasswordResetResponse,
|
|
235
237
|
PasswordValidateRequest,
|
|
236
238
|
PasswordValidateResponse,
|
|
237
239
|
Payload,
|
|
@@ -5,3 +5,16 @@ export interface FiveFieldsBookingInfoRequest {
|
|
|
5
5
|
leadPassengerName?: string
|
|
6
6
|
supplierCode?: string
|
|
7
7
|
}
|
|
8
|
+
|
|
9
|
+
export namespace FiveFieldsBookingInfoRequest {
|
|
10
|
+
export function is(value: FiveFieldsBookingInfoRequest | any): value is FiveFieldsBookingInfoRequest {
|
|
11
|
+
return (
|
|
12
|
+
typeof value == "object" &&
|
|
13
|
+
(value.agentBookingReference == undefined || typeof value.agentBookingReference == "string") &&
|
|
14
|
+
(value.departureDate == undefined || typeof value.departureDate == "string") &&
|
|
15
|
+
(value.supplierBookingReference == undefined || typeof value.supplierBookingReference == "string") &&
|
|
16
|
+
(value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
|
|
17
|
+
(value.supplierCode == undefined || typeof value.supplierCode == "string")
|
|
18
|
+
)
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -15,10 +15,10 @@ export namespace HotelBookingInfoRequest {
|
|
|
15
15
|
export function is(value: HotelBookingInfoRequest | any): value is HotelBookingInfoRequest {
|
|
16
16
|
return (
|
|
17
17
|
typeof value == "object" &&
|
|
18
|
-
HotelInfo.is(value.hotel) &&
|
|
19
|
-
References.is(value.references) &&
|
|
20
|
-
Passengers.is(value.passengers) &&
|
|
21
|
-
isoly.DateTime.is(value.timestamp)
|
|
18
|
+
(value.hotel == undefined || HotelInfo.is(value.hotel)) &&
|
|
19
|
+
(value.references == undefined || References.is(value.references)) &&
|
|
20
|
+
(value.passengers == undefined || Passengers.is(value.passengers)) &&
|
|
21
|
+
(value.timestamp == undefined || isoly.DateTime.is(value.timestamp))
|
|
22
22
|
)
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -7,3 +7,16 @@ export interface InvoiceBookingInfoRequest {
|
|
|
7
7
|
value?: number
|
|
8
8
|
taxElement?: string
|
|
9
9
|
}
|
|
10
|
+
|
|
11
|
+
export namespace InvoiceBookingInfoRequest {
|
|
12
|
+
export function is(value: InvoiceBookingInfoRequest | any): value is InvoiceBookingInfoRequest {
|
|
13
|
+
return (
|
|
14
|
+
typeof value == "object" &&
|
|
15
|
+
(value.supplierName == undefined || typeof value.supplierName == "string") &&
|
|
16
|
+
(value.date == undefined || isoly.Date.is(value.date)) &&
|
|
17
|
+
(value.supplierReferenceNumber == undefined || typeof value.supplierReferenceNumber == "string") &&
|
|
18
|
+
(value.value == undefined || typeof value.value == "number") &&
|
|
19
|
+
(value.taxElement == undefined || typeof value.taxElement == "string")
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
}
|
package/model/Passengers.ts
CHANGED
|
@@ -6,6 +6,12 @@ export interface Passengers {
|
|
|
6
6
|
}
|
|
7
7
|
export namespace Passengers {
|
|
8
8
|
export function is(value: Passengers | any): value is Passengers {
|
|
9
|
-
return
|
|
9
|
+
return (
|
|
10
|
+
typeof value == "object" &&
|
|
11
|
+
(value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
|
|
12
|
+
(value.adults == undefined || typeof value.adults == "number") &&
|
|
13
|
+
(value.children == undefined || typeof value.children == "number") &&
|
|
14
|
+
(value.infants == undefined || typeof value.infants == "number")
|
|
15
|
+
)
|
|
10
16
|
}
|
|
11
17
|
}
|
package/model/References.ts
CHANGED
|
@@ -11,7 +11,11 @@ export namespace References {
|
|
|
11
11
|
return (
|
|
12
12
|
typeof value == "object" &&
|
|
13
13
|
(typeof value.supplierBookingReference == "string" || value.supplierBookingReference == undefined) &&
|
|
14
|
-
typeof value.agentBookingReference == "string"
|
|
14
|
+
(typeof value.agentBookingReference == "string" || value.agentBookingReference == undefined) &&
|
|
15
|
+
(typeof value.supplierCode == "string" || value.supplierCode == undefined) &&
|
|
16
|
+
(typeof value.supplierName == "string" || value.supplierName == undefined) &&
|
|
17
|
+
(typeof value.fabBasketReference == "string" || value.fabBasketReference == undefined) &&
|
|
18
|
+
(typeof value.syndicatorName == "string" || value.syndicatorName == undefined)
|
|
15
19
|
)
|
|
16
20
|
}
|
|
17
21
|
}
|
package/model/UserLimit.ts
CHANGED
package/model/UserRequest.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { UserLimit } from "./UserLimit"
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* The users that we are creating for this organisation. Must include at least one user with an 'Default Admin' role.
|
|
3
5
|
*/
|
|
@@ -6,7 +8,9 @@ export interface UserRequest {
|
|
|
6
8
|
password: string
|
|
7
9
|
firstName: string
|
|
8
10
|
lastName: string
|
|
11
|
+
status?: "ACTIVE" | "INACTIVE" | "DELETED" | "PASSWORD_EXPIRED"
|
|
9
12
|
email: string
|
|
13
|
+
userLimits?: UserLimit[]
|
|
10
14
|
rolesets?: string[]
|
|
11
15
|
category?: string
|
|
12
16
|
}
|
package/model/index.ts
CHANGED
|
@@ -87,6 +87,7 @@ import { OrganisationRequest } from "./OrganisationRequest"
|
|
|
87
87
|
import { OrganisationResponse } from "./OrganisationResponse"
|
|
88
88
|
import { Passengers } from "./Passengers"
|
|
89
89
|
import { PasswordChangeRequest } from "./PasswordChangeRequest"
|
|
90
|
+
import { PasswordResetResponse } from "./PasswordResetResponse"
|
|
90
91
|
import { PasswordValidateRequest } from "./PasswordValidateRequest"
|
|
91
92
|
import { PasswordValidateResponse } from "./PasswordValidateResponse"
|
|
92
93
|
import { Payload } from "./Payload"
|
|
@@ -228,6 +229,7 @@ export {
|
|
|
228
229
|
OrganisationResponse,
|
|
229
230
|
Passengers,
|
|
230
231
|
PasswordChangeRequest,
|
|
232
|
+
PasswordResetResponse,
|
|
231
233
|
PasswordValidateRequest,
|
|
232
234
|
PasswordValidateResponse,
|
|
233
235
|
Payload,
|