@aya-flights/ngx-goox-lib 1.19.6 → 1.19.8
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/fesm2022/aya-flights-ngx-goox-lib.mjs +3258 -3057
- package/fesm2022/aya-flights-ngx-goox-lib.mjs.map +1 -1
- package/lib/Account.d.ts +2 -2
- package/lib/AccountsEndPoint.d.ts +2 -2
- package/lib/Airplane.d.ts +2 -2
- package/lib/AirplanesEndPoint.d.ts +3 -3
- package/lib/BookingsEndPoint.d.ts +1 -1
- package/lib/CampaignsEndPoint.d.ts +1 -1
- package/lib/Contact.d.ts +2 -2
- package/lib/ContactsEndPoint.d.ts +2 -2
- package/lib/Credit.d.ts +1 -1
- package/lib/Document.d.ts +1 -1
- package/lib/Flight.d.ts +9 -9
- package/lib/FlightBilling.d.ts +1 -1
- package/lib/FlightPlan.d.ts +2 -2
- package/lib/FlightRisk.d.ts +5 -5
- package/lib/FlightTicket.d.ts +1 -1
- package/lib/FlightsEndPoint.d.ts +4 -4
- package/lib/GroupsEndPoint.d.ts +1 -1
- package/lib/LoginParams.d.ts +2 -1
- package/lib/MessageConfirm.d.ts +2 -2
- package/lib/MyAuthEndPoint.d.ts +20 -0
- package/lib/MyBookingsEndPoint.d.ts +32 -0
- package/lib/MyFlightsEndPoint.d.ts +43 -0
- package/lib/Permission.d.ts +1 -1
- package/lib/PreFlightData.d.ts +4 -4
- package/lib/SystemMessage.d.ts +2 -2
- package/lib/SystemMessagesEndPoint.d.ts +1 -1
- package/lib/TimeSeries.d.ts +1 -1
- package/lib/TokenData.d.ts +1 -1
- package/lib/User.d.ts +2 -2
- package/lib/UserEndPoint.d.ts +1 -1
- package/lib/UsersEndPoint.d.ts +1 -1
- package/lib/index.d.ts +90 -87
- package/lib/services.export.d.ts +19 -16
- package/package.json +1 -1
package/lib/Account.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AccountStatusCode } from '.';
|
|
2
|
-
import { Address } from '.';
|
|
3
1
|
import { BaseEntityEx } from '.';
|
|
4
2
|
import { ColumnDef } from '.';
|
|
3
|
+
import { AccountStatusCode } from '.';
|
|
4
|
+
import { Address } from '.';
|
|
5
5
|
export declare class Account extends BaseEntityEx {
|
|
6
6
|
name: string;
|
|
7
7
|
enName: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import { Document } from '.';
|
|
4
3
|
import { Flight } from '.';
|
|
5
|
-
import { Credit } from '.';
|
|
6
4
|
import { Account } from '.';
|
|
5
|
+
import { Credit } from '.';
|
|
6
|
+
import { Document } from '.';
|
|
7
7
|
import { StringKeyValue } from '.';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class AccountsEndPoint {
|
package/lib/Airplane.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { ColumnDef } from '.';
|
|
2
|
+
import { AirplaneStatusCode } from '.';
|
|
1
3
|
import { AirplaneValidationFlag } from '.';
|
|
2
4
|
import { Engine } from '.';
|
|
3
5
|
import { Magneto } from '.';
|
|
4
6
|
import { Propeller } from '.';
|
|
5
7
|
import { Fuel } from '.';
|
|
6
8
|
import { BaseEntityEx } from '.';
|
|
7
|
-
import { ColumnDef } from '.';
|
|
8
|
-
import { AirplaneStatusCode } from '.';
|
|
9
9
|
export declare class Airplane extends BaseEntityEx {
|
|
10
10
|
name: string;
|
|
11
11
|
description: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import { Airplane } from '.';
|
|
4
|
-
import { StringKeyValue } from '.';
|
|
5
|
-
import { Document } from '.';
|
|
6
3
|
import { Flight } from '.';
|
|
4
|
+
import { Document } from '.';
|
|
7
5
|
import { Maintenance } from '.';
|
|
6
|
+
import { Airplane } from '.';
|
|
7
|
+
import { StringKeyValue } from '.';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class AirplanesEndPoint {
|
|
10
10
|
private config;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
+
import { TimeSeries } from '.';
|
|
3
4
|
import { Booking } from '.';
|
|
4
5
|
import { BookingStatusCode } from '.';
|
|
5
|
-
import { TimeSeries } from '.';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class BookingsEndPoint {
|
|
8
8
|
private config;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import { StringKeyValue } from '.';
|
|
4
3
|
import { Campaign } from '.';
|
|
4
|
+
import { StringKeyValue } from '.';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class CampaignsEndPoint {
|
|
7
7
|
private config;
|
package/lib/Contact.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AccountStatusCode } from '.';
|
|
2
|
-
import { Address } from '.';
|
|
3
1
|
import { ValidationFlag } from '.';
|
|
4
2
|
import { BaseEntityEx } from '.';
|
|
5
3
|
import { ColumnDef } from '.';
|
|
4
|
+
import { AccountStatusCode } from '.';
|
|
5
|
+
import { Address } from '.';
|
|
6
6
|
export declare class Contact extends BaseEntityEx {
|
|
7
7
|
accountId: string;
|
|
8
8
|
name: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
+
import { Certificate } from '.';
|
|
4
|
+
import { Flight } from '.';
|
|
3
5
|
import { MessageConfirm } from '.';
|
|
4
6
|
import { Contact } from '.';
|
|
5
7
|
import { StringKeyValue } from '.';
|
|
6
|
-
import { Certificate } from '.';
|
|
7
|
-
import { Flight } from '.';
|
|
8
8
|
import { Document } from '.';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class ContactsEndPoint {
|
package/lib/Credit.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { ColumnDef } from '.';
|
|
1
2
|
import { TransactionTypeCode } from '.';
|
|
2
3
|
import { CurrencyCode } from '.';
|
|
3
4
|
import { BaseEntityEx } from '.';
|
|
4
|
-
import { ColumnDef } from '.';
|
|
5
5
|
export declare class Credit extends BaseEntityEx {
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
package/lib/Document.d.ts
CHANGED
package/lib/Flight.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { FlightTypeCode } from '.';
|
|
2
|
-
import { FlightStatusCode } from '.';
|
|
3
|
-
import { BillingStatusCode } from '.';
|
|
4
|
-
import { OnBoard } from '.';
|
|
5
1
|
import { ReFuel } from '.';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import { Lesson } from '.';
|
|
3
|
+
import { RiskAssessment } from '.';
|
|
4
|
+
import { FlightTypeCode } from '.';
|
|
8
5
|
import { FlightStateCode } from '.';
|
|
9
|
-
import {
|
|
6
|
+
import { OnBoard } from '.';
|
|
10
7
|
import { TOLData } from '.';
|
|
11
|
-
import { Lesson } from '.';
|
|
12
8
|
import { Billing } from '.';
|
|
13
|
-
import {
|
|
9
|
+
import { BaseEntityEx } from '.';
|
|
10
|
+
import { ColumnDef } from '.';
|
|
11
|
+
import { FlightStatusCode } from '.';
|
|
12
|
+
import { BillingStatusCode } from '.';
|
|
13
|
+
import { FlightPurposeCode } from '.';
|
|
14
14
|
export declare class Flight extends BaseEntityEx {
|
|
15
15
|
name: string;
|
|
16
16
|
description: string;
|
package/lib/FlightBilling.d.ts
CHANGED
package/lib/FlightPlan.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { BaseEntityEx } from '.';
|
|
2
|
+
import { ColumnDef } from '.';
|
|
1
3
|
import { FlightTypeCode } from '.';
|
|
2
4
|
import { FlightStatusCode } from '.';
|
|
3
5
|
import { FlightStateCode } from '.';
|
|
4
6
|
import { FlightPurposeCode } from '.';
|
|
5
7
|
import { TOLData } from '.';
|
|
6
|
-
import { BaseEntityEx } from '.';
|
|
7
|
-
import { ColumnDef } from '.';
|
|
8
8
|
export declare class FlightPlan extends BaseEntityEx {
|
|
9
9
|
name: string;
|
|
10
10
|
description: string;
|
package/lib/FlightRisk.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CrewDutyDayRisks } from '.';
|
|
2
2
|
import { WeatherRisks } from '.';
|
|
3
|
-
import { SpecialRisks } from '.';
|
|
4
|
-
import { PilotQualificationsRisks } from '.';
|
|
5
|
-
import { DepartureRisks } from '.';
|
|
6
3
|
import { Mitigation } from '.';
|
|
7
4
|
import { BaseEntityEx } from '.';
|
|
8
5
|
import { ColumnDef } from '.';
|
|
9
|
-
import {
|
|
6
|
+
import { PilotQualificationsRisks } from '.';
|
|
10
7
|
import { DestinationRisks } from '.';
|
|
8
|
+
import { TripRisks } from '.';
|
|
9
|
+
import { SpecialRisks } from '.';
|
|
10
|
+
import { DepartureRisks } from '.';
|
|
11
11
|
export declare class FlightRisk extends BaseEntityEx {
|
|
12
12
|
timestamp: number;
|
|
13
13
|
pilotQualifications: PilotQualificationsRisks;
|
package/lib/FlightTicket.d.ts
CHANGED
package/lib/FlightsEndPoint.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
+
import { TimeSeries } from '.';
|
|
3
4
|
import { Contact } from '.';
|
|
4
5
|
import { PreFlightInfo } from '.';
|
|
5
|
-
import { PostFlightInfo } from '.';
|
|
6
|
-
import { AnyKeyValue } from '.';
|
|
7
|
-
import { TimeSeries } from '.';
|
|
8
6
|
import { Flight } from '.';
|
|
9
|
-
import {
|
|
7
|
+
import { AnyKeyValue } from '.';
|
|
10
8
|
import { FlightTicket } from '.';
|
|
9
|
+
import { PostFlightInfo } from '.';
|
|
10
|
+
import { FlightPlan } from '.';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class FlightsEndPoint {
|
|
13
13
|
private config;
|
package/lib/GroupsEndPoint.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import { Group } from '.';
|
|
4
3
|
import { StringKeyValue } from '.';
|
|
4
|
+
import { Group } from '.';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class GroupsEndPoint {
|
|
7
7
|
private config;
|
package/lib/LoginParams.d.ts
CHANGED
package/lib/MessageConfirm.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseEntityEx } from '.';
|
|
2
|
-
import { ColumnDef } from '.';
|
|
3
1
|
import { ConfirmStatusCode } from '.';
|
|
4
2
|
import { MessageTypeCode } from '.';
|
|
5
3
|
import { PriorityCode } from '.';
|
|
4
|
+
import { BaseEntityEx } from '.';
|
|
5
|
+
import { ColumnDef } from '.';
|
|
6
6
|
export declare class MessageConfirm extends BaseEntityEx {
|
|
7
7
|
messageId: string;
|
|
8
8
|
contactId: string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { RestUtil, EntityResponse, ActionResponse } from '../utils';
|
|
2
|
+
import { GooxConfig } from '../config';
|
|
3
|
+
import { LoginParams } from '.';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MyAuthEndPoint {
|
|
6
|
+
private config;
|
|
7
|
+
private rest;
|
|
8
|
+
private baseUrl;
|
|
9
|
+
constructor(config: GooxConfig, rest: RestUtil);
|
|
10
|
+
/**
|
|
11
|
+
* Send SMS code
|
|
12
|
+
*/
|
|
13
|
+
sendCode(body?: LoginParams): import("rxjs").Observable<EntityResponse<ActionResponse>>;
|
|
14
|
+
/**
|
|
15
|
+
* Send SMS code
|
|
16
|
+
*/
|
|
17
|
+
verifyCode(code?: string): import("rxjs").Observable<EntityResponse<ActionResponse>>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyAuthEndPoint, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MyAuthEndPoint>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
|
+
import { GooxConfig } from '../config';
|
|
3
|
+
import { Booking } from '.';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MyBookingsEndPoint {
|
|
6
|
+
private config;
|
|
7
|
+
private rest;
|
|
8
|
+
private baseUrl;
|
|
9
|
+
constructor(config: GooxConfig, rest: RestUtil);
|
|
10
|
+
/**
|
|
11
|
+
* Create new booking
|
|
12
|
+
*/
|
|
13
|
+
create(body?: Booking): import("rxjs").Observable<EntityResponse<Booking>>;
|
|
14
|
+
/**
|
|
15
|
+
* Update existing booking
|
|
16
|
+
*/
|
|
17
|
+
update(body?: Booking): import("rxjs").Observable<EntityResponse<Booking>>;
|
|
18
|
+
/**
|
|
19
|
+
* Delete booking and all its content
|
|
20
|
+
*/
|
|
21
|
+
delete(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get a single booking by id
|
|
24
|
+
*/
|
|
25
|
+
get(id?: string): import("rxjs").Observable<EntityResponse<Booking>>;
|
|
26
|
+
/**
|
|
27
|
+
* Find my bookings by query
|
|
28
|
+
*/
|
|
29
|
+
find(search?: string, airplaneId?: string, from?: number, to?: number, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyBookingsEndPoint, never>;
|
|
31
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MyBookingsEndPoint>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
|
+
import { GooxConfig } from '../config';
|
|
3
|
+
import { FlightPlan } from '.';
|
|
4
|
+
import { PreFlightInfo } from '.';
|
|
5
|
+
import { PostFlightInfo } from '.';
|
|
6
|
+
import { Flight } from '.';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class MyFlightsEndPoint {
|
|
9
|
+
private config;
|
|
10
|
+
private rest;
|
|
11
|
+
private baseUrl;
|
|
12
|
+
constructor(config: GooxConfig, rest: RestUtil);
|
|
13
|
+
/**
|
|
14
|
+
* Get a single flight by id
|
|
15
|
+
*/
|
|
16
|
+
get(id?: string): import("rxjs").Observable<EntityResponse<Flight>>;
|
|
17
|
+
/**
|
|
18
|
+
* Find my flights by query
|
|
19
|
+
*/
|
|
20
|
+
find(search?: string, type?: [], status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
|
|
21
|
+
/**
|
|
22
|
+
* Get flight plans data for gantt, the result size is limited to 1000 entries
|
|
23
|
+
*/
|
|
24
|
+
gantt(from?: number, to?: number): import("rxjs").Observable<EntitiesResponse<FlightPlan>>;
|
|
25
|
+
/**
|
|
26
|
+
* Get pre-flight info by id
|
|
27
|
+
*/
|
|
28
|
+
getPreFlight(id?: string): import("rxjs").Observable<EntityResponse<PreFlightInfo>>;
|
|
29
|
+
/**
|
|
30
|
+
* Update flight with pre-flight info
|
|
31
|
+
*/
|
|
32
|
+
setPreFlight(body?: PreFlightInfo): import("rxjs").Observable<EntityResponse<ActionResponse>>;
|
|
33
|
+
/**
|
|
34
|
+
* Get post-flight info by id
|
|
35
|
+
*/
|
|
36
|
+
getPostFlight(id?: string): import("rxjs").Observable<EntityResponse<PostFlightInfo>>;
|
|
37
|
+
/**
|
|
38
|
+
* Update flight with post-flight info
|
|
39
|
+
*/
|
|
40
|
+
setPostFlight(body?: PostFlightInfo): import("rxjs").Observable<EntityResponse<ActionResponse>>;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyFlightsEndPoint, never>;
|
|
42
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MyFlightsEndPoint>;
|
|
43
|
+
}
|
package/lib/Permission.d.ts
CHANGED
package/lib/PreFlightData.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TOLData } from '.';
|
|
2
|
-
import { ReFuel } from '.';
|
|
3
|
-
import { Lesson } from '.';
|
|
4
|
-
import { BaseEntityEx } from '.';
|
|
5
1
|
import { ColumnDef } from '.';
|
|
6
2
|
import { FlightTypeCode } from '.';
|
|
7
3
|
import { FlightPurposeCode } from '.';
|
|
8
4
|
import { OnBoard } from '.';
|
|
5
|
+
import { TOLData } from '.';
|
|
6
|
+
import { ReFuel } from '.';
|
|
7
|
+
import { Lesson } from '.';
|
|
8
|
+
import { BaseEntityEx } from '.';
|
|
9
9
|
export declare class PreFlightData extends BaseEntityEx {
|
|
10
10
|
name: string;
|
|
11
11
|
description: string;
|
package/lib/SystemMessage.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntityEx } from '.';
|
|
2
|
-
import { ColumnDef } from '.';
|
|
3
1
|
import { MessageTypeCode } from '.';
|
|
4
2
|
import { PriorityCode } from '.';
|
|
3
|
+
import { BaseEntityEx } from '.';
|
|
4
|
+
import { ColumnDef } from '.';
|
|
5
5
|
export declare class SystemMessage extends BaseEntityEx {
|
|
6
6
|
subject: string;
|
|
7
7
|
description: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import { MessageConfirm } from '.';
|
|
4
3
|
import { SystemMessage } from '.';
|
|
4
|
+
import { MessageConfirm } from '.';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SystemMessagesEndPoint {
|
|
7
7
|
private config;
|
package/lib/TimeSeries.d.ts
CHANGED
package/lib/TokenData.d.ts
CHANGED
package/lib/User.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ColumnDef } from '.';
|
|
2
|
-
import { UserTypeCode } from '.';
|
|
3
1
|
import { UserRoleFlag } from '.';
|
|
4
2
|
import { UserStatusCode } from '.';
|
|
5
3
|
import { BaseEntityEx } from '.';
|
|
4
|
+
import { ColumnDef } from '.';
|
|
5
|
+
import { UserTypeCode } from '.';
|
|
6
6
|
export declare class User extends BaseEntityEx {
|
|
7
7
|
name: string;
|
|
8
8
|
email: string;
|
package/lib/UserEndPoint.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import { LoginParams } from '.';
|
|
4
3
|
import { User } from '.';
|
|
4
|
+
import { LoginParams } from '.';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UserEndPoint {
|
|
7
7
|
private config;
|
package/lib/UsersEndPoint.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import { User } from '.';
|
|
4
3
|
import { StringKeyValue } from '.';
|
|
4
|
+
import { User } from '.';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UsersEndPoint {
|
|
7
7
|
private config;
|