@aya-flights/ngx-goox-lib 2.18.64 → 2.18.68
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/esm2022/lib/Account.mjs +5 -2
- package/esm2022/lib/AccountTypeCode.mjs +39 -0
- package/esm2022/lib/AccountsEndPoint.mjs +1 -1
- package/esm2022/lib/Airplane.mjs +2 -1
- package/esm2022/lib/AirplanesEndPoint.mjs +1 -1
- package/esm2022/lib/AuditLogsEndPoint.mjs +1 -1
- package/esm2022/lib/Booking.mjs +2 -2
- package/esm2022/lib/BookingPlan.mjs +1 -1
- package/esm2022/lib/BookingSlotsEndPoint.mjs +1 -1
- package/esm2022/lib/BookingSlotsSet.mjs +1 -1
- package/esm2022/lib/BookingsEndPoint.mjs +1 -1
- package/esm2022/lib/BookingsFilter.mjs +1 -1
- package/esm2022/lib/Campaign.mjs +1 -1
- package/esm2022/lib/CertificatesEndPoint.mjs +1 -1
- package/esm2022/lib/Contact.mjs +3 -1
- package/esm2022/lib/ContactsEndPoint.mjs +1 -1
- package/esm2022/lib/Enums.mjs +278 -266
- package/esm2022/lib/Flight.mjs +2 -2
- package/esm2022/lib/FlightBilling.mjs +2 -2
- package/esm2022/lib/FlightPlan.mjs +1 -1
- package/esm2022/lib/FlightRisk.mjs +1 -1
- package/esm2022/lib/FlightTicketsEndPoint.mjs +1 -1
- package/esm2022/lib/FlightsEndPoint.mjs +1 -1
- package/esm2022/lib/Lead.mjs +1 -1
- package/esm2022/lib/LeadsEndPoint.mjs +1 -1
- package/esm2022/lib/LicenseKindFlag.mjs +63 -0
- package/esm2022/lib/LookupGroup.mjs +1 -1
- package/esm2022/lib/LookupsEndPoint.mjs +1 -1
- package/esm2022/lib/Maintenance.mjs +1 -1
- package/esm2022/lib/MaintenancesEndPoint.mjs +1 -1
- package/esm2022/lib/MaintenancesFilter.mjs +1 -1
- package/esm2022/lib/MessageConfirm.mjs +1 -1
- package/esm2022/lib/MessageConfirmsEndPoint.mjs +1 -1
- package/esm2022/lib/MyBookingsEndPoint.mjs +1 -1
- package/esm2022/lib/MyFlightsEndPoint.mjs +1 -1
- package/esm2022/lib/PostFlightData.mjs +2 -2
- package/esm2022/lib/PreFlightData.mjs +1 -1
- package/esm2022/lib/PriceListEndPoint.mjs +1 -1
- package/esm2022/lib/RiskAssessment.mjs +1 -1
- package/esm2022/lib/Syllabus.mjs +2 -2
- package/esm2022/lib/SyllabusEndPoint.mjs +1 -1
- package/esm2022/lib/SystemConfig.mjs +2 -2
- package/esm2022/lib/SystemMessagesEndPoint.mjs +1 -1
- package/esm2022/lib/TypeRatingFlag.mjs +35 -0
- package/esm2022/lib/User.mjs +2 -2
- package/esm2022/lib/UserEndPoint.mjs +1 -1
- package/esm2022/lib/UsersEndPoint.mjs +1 -1
- package/esm2022/lib/index.mjs +117 -115
- package/esm2022/lib/services.export.mjs +41 -41
- package/fesm2022/aya-flights-ngx-goox-lib.mjs +4536 -4442
- package/fesm2022/aya-flights-ngx-goox-lib.mjs.map +1 -1
- package/lib/Account.d.ts +5 -1
- package/lib/AccountTypeCode.d.ts +11 -0
- package/lib/AccountsEndPoint.d.ts +10 -5
- package/lib/Airplane.d.ts +6 -4
- package/lib/AirplanesEndPoint.d.ts +12 -5
- package/lib/AuditLogsEndPoint.d.ts +1 -1
- package/lib/Booking.d.ts +1 -1
- package/lib/BookingPlan.d.ts +2 -2
- package/lib/BookingSlotsEndPoint.d.ts +1 -1
- package/lib/BookingSlotsSet.d.ts +1 -1
- package/lib/BookingsEndPoint.d.ts +3 -3
- package/lib/BookingsFilter.d.ts +1 -1
- package/lib/Campaign.d.ts +2 -2
- package/lib/CertificatesEndPoint.d.ts +2 -1
- package/lib/Contact.d.ts +5 -1
- package/lib/ContactsEndPoint.d.ts +12 -7
- package/lib/Flight.d.ts +10 -10
- package/lib/FlightBilling.d.ts +1 -1
- package/lib/FlightPlan.d.ts +2 -2
- package/lib/FlightRisk.d.ts +4 -4
- package/lib/FlightTicketsEndPoint.d.ts +2 -1
- package/lib/FlightsEndPoint.d.ts +11 -7
- package/lib/Lead.d.ts +2 -2
- package/lib/LeadsEndPoint.d.ts +4 -3
- package/lib/LicenseKindFlag.d.ts +17 -0
- package/lib/LookupGroup.d.ts +1 -1
- package/lib/LookupsEndPoint.d.ts +1 -1
- package/lib/Maintenance.d.ts +1 -1
- package/lib/MaintenancesEndPoint.d.ts +3 -1
- package/lib/MaintenancesFilter.d.ts +1 -1
- package/lib/MessageConfirm.d.ts +2 -2
- package/lib/MessageConfirmsEndPoint.d.ts +4 -1
- package/lib/MyBookingsEndPoint.d.ts +2 -1
- package/lib/MyFlightsEndPoint.d.ts +5 -3
- package/lib/PostFlightData.d.ts +4 -4
- package/lib/PreFlightData.d.ts +4 -4
- package/lib/PriceListEndPoint.d.ts +2 -1
- package/lib/RiskAssessment.d.ts +3 -3
- package/lib/Syllabus.d.ts +1 -1
- package/lib/SyllabusEndPoint.d.ts +3 -1
- package/lib/SystemConfig.d.ts +1 -1
- package/lib/SystemMessagesEndPoint.d.ts +3 -2
- package/lib/TypeRatingFlag.d.ts +10 -0
- package/lib/User.d.ts +2 -2
- package/lib/UserEndPoint.d.ts +1 -1
- package/lib/UsersEndPoint.d.ts +4 -2
- package/lib/index.d.ts +116 -114
- package/lib/services.export.d.ts +21 -21
- package/package.json +1 -1
- package/esm2022/lib/LicenseTypeFlag.mjs +0 -59
- package/lib/LicenseTypeFlag.d.ts +0 -16
package/lib/Account.d.ts
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccountTypeCode } from '.';
|
|
2
2
|
import { AccountStatusCode } from '.';
|
|
3
3
|
import { Address } from '.';
|
|
4
4
|
import { BaseEntityEx } from '.';
|
|
5
|
+
import { ColumnDef } from '.';
|
|
5
6
|
export declare class Account extends BaseEntityEx {
|
|
6
7
|
name: string;
|
|
7
8
|
enName: string;
|
|
9
|
+
type: AccountTypeCode;
|
|
8
10
|
description: string;
|
|
9
11
|
status: AccountStatusCode;
|
|
10
12
|
phone: string;
|
|
11
13
|
mobile: string;
|
|
12
14
|
email: string;
|
|
15
|
+
address: Address;
|
|
13
16
|
billingAddress: Address;
|
|
14
17
|
shippingAddress: Address;
|
|
15
18
|
campaignId: string;
|
|
@@ -17,6 +20,7 @@ export declare class Account extends BaseEntityEx {
|
|
|
17
20
|
currentCredit: number;
|
|
18
21
|
baseRate: number;
|
|
19
22
|
percentageDiscount: number;
|
|
23
|
+
discount: number;
|
|
20
24
|
invoiceId: string;
|
|
21
25
|
get(field: string): any;
|
|
22
26
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Tuple } from '.';
|
|
2
|
+
export declare enum AccountTypeCode {
|
|
3
|
+
UNDEFINED = 0,
|
|
4
|
+
STUDENT = 1,
|
|
5
|
+
PRIVATE = 2,
|
|
6
|
+
INSTRUCTOR = 3,
|
|
7
|
+
STAFF = 4,
|
|
8
|
+
BUSINESS = 5
|
|
9
|
+
}
|
|
10
|
+
export declare function GetAccountTypeCodes(): Tuple<AccountTypeCode, string>[];
|
|
11
|
+
export declare function MapAccountTypeCodes(): Map<AccountTypeCode, string>;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import { Flight } from '.';
|
|
4
3
|
import { Credit } from '.';
|
|
5
|
-
import { Account } from '.';
|
|
6
4
|
import { StringKeyValue } from '.';
|
|
5
|
+
import { Flight } from '.';
|
|
6
|
+
import { FlightPurposeCode } from '.';
|
|
7
7
|
import { Document } from '.';
|
|
8
|
+
import { AccountStatusCode } from '.';
|
|
9
|
+
import { FlightStatusCode } from '.';
|
|
10
|
+
import { FlightStateCode } from '.';
|
|
11
|
+
import { FlightTypeCode } from '.';
|
|
12
|
+
import { Account } from '.';
|
|
8
13
|
import * as i0 from "@angular/core";
|
|
9
14
|
export declare class AccountsEndPoint {
|
|
10
15
|
private config;
|
|
@@ -34,15 +39,15 @@ export declare class AccountsEndPoint {
|
|
|
34
39
|
/**
|
|
35
40
|
* Find accounts by query
|
|
36
41
|
*/
|
|
37
|
-
find(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Account>>;
|
|
42
|
+
find(search?: string, status?: AccountStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Account>>;
|
|
38
43
|
/**
|
|
39
44
|
* Lookup account ID->Name by filter
|
|
40
45
|
*/
|
|
41
|
-
lookup(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
46
|
+
lookup(search?: string, status?: AccountStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
42
47
|
/**
|
|
43
48
|
* Find account flights
|
|
44
49
|
*/
|
|
45
|
-
findFlights(id?: string, search?: string, airplaneId?: string, type?: [], status?: [], state?: [], purpose?: [], from?: number, to?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
|
|
50
|
+
findFlights(id?: string, search?: string, airplaneId?: string, type?: FlightTypeCode[], status?: FlightStatusCode[], state?: FlightStateCode[], purpose?: FlightPurposeCode[], from?: number, to?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
|
|
46
51
|
/**
|
|
47
52
|
* Find account credits
|
|
48
53
|
*/
|
package/lib/Airplane.d.ts
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
+
import { TypeRatingFlag } from '.';
|
|
2
|
+
import { AirplaneStatusCode } from '.';
|
|
1
3
|
import { AirplaneValidationFlag } from '.';
|
|
2
|
-
import { Engine } from '.';
|
|
3
|
-
import { Magneto } from '.';
|
|
4
|
-
import { Propeller } from '.';
|
|
5
4
|
import { Fuel } from '.';
|
|
6
5
|
import { BaseEntityEx } from '.';
|
|
7
6
|
import { ColumnDef } from '.';
|
|
8
|
-
import {
|
|
7
|
+
import { Engine } from '.';
|
|
8
|
+
import { Magneto } from '.';
|
|
9
|
+
import { Propeller } from '.';
|
|
9
10
|
export declare class Airplane extends BaseEntityEx {
|
|
10
11
|
name: string;
|
|
11
12
|
description: string;
|
|
12
13
|
model: string;
|
|
13
14
|
serialNo: string;
|
|
15
|
+
typeRating: TypeRatingFlag;
|
|
14
16
|
status: AirplaneStatusCode;
|
|
15
17
|
isActive: boolean;
|
|
16
18
|
hobs: number;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import {
|
|
3
|
+
import { FlightPurposeCode } from '.';
|
|
4
|
+
import { FlightTypeCode } from '.';
|
|
4
5
|
import { Maintenance } from '.';
|
|
5
6
|
import { Airplane } from '.';
|
|
7
|
+
import { FlightStatusCode } from '.';
|
|
8
|
+
import { FlightStateCode } from '.';
|
|
9
|
+
import { StatusCode } from '.';
|
|
10
|
+
import { Document } from '.';
|
|
11
|
+
import { MaintenanceActionCode } from '.';
|
|
12
|
+
import { AirplaneStatusCode } from '.';
|
|
6
13
|
import { StringKeyValue } from '.';
|
|
7
14
|
import { Flight } from '.';
|
|
8
15
|
import * as i0 from "@angular/core";
|
|
@@ -35,11 +42,11 @@ export declare class AirplanesEndPoint {
|
|
|
35
42
|
/**
|
|
36
43
|
* Find airplanes by query
|
|
37
44
|
*/
|
|
38
|
-
find(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Airplane>>;
|
|
45
|
+
find(search?: string, status?: AirplaneStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Airplane>>;
|
|
39
46
|
/**
|
|
40
47
|
* Lookup airplanes ID->Name by filter
|
|
41
48
|
*/
|
|
42
|
-
lookup(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
49
|
+
lookup(search?: string, status?: AirplaneStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
43
50
|
/**
|
|
44
51
|
* Get minimal active airplanes data for hours statistics only
|
|
45
52
|
*/
|
|
@@ -47,7 +54,7 @@ export declare class AirplanesEndPoint {
|
|
|
47
54
|
/**
|
|
48
55
|
* Find airplane flights
|
|
49
56
|
*/
|
|
50
|
-
findFlights(id?: string, search?: string, type?: [], status?: [], state?: [], purpose?: [], from?: number, to?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
|
|
57
|
+
findFlights(id?: string, search?: string, type?: FlightTypeCode[], status?: FlightStatusCode[], state?: FlightStateCode[], purpose?: FlightPurposeCode[], from?: number, to?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
|
|
51
58
|
/**
|
|
52
59
|
* Find airplane documents
|
|
53
60
|
*/
|
|
@@ -55,7 +62,7 @@ export declare class AirplanesEndPoint {
|
|
|
55
62
|
/**
|
|
56
63
|
* Find airplane maintenance log book
|
|
57
64
|
*/
|
|
58
|
-
findMaintenance(id?: string, search?: string, status?: [], action?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Maintenance>>;
|
|
65
|
+
findMaintenance(id?: string, search?: string, status?: StatusCode[], action?: MaintenanceActionCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Maintenance>>;
|
|
59
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<AirplanesEndPoint, never>;
|
|
60
67
|
static ɵprov: i0.ɵɵInjectableDeclaration<AirplanesEndPoint>;
|
|
61
68
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import { AuditLog } from '.';
|
|
4
3
|
import { TimeSeries } from '.';
|
|
4
|
+
import { AuditLog } from '.';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class AuditLogsEndPoint {
|
|
7
7
|
private config;
|
package/lib/Booking.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { BaseEntityEx } from '.';
|
|
1
2
|
import { ColumnDef } from '.';
|
|
2
3
|
import { BookingTypeFlag } from '.';
|
|
3
4
|
import { BookingStatusCode } from '.';
|
|
4
|
-
import { BaseEntityEx } from '.';
|
|
5
5
|
export declare class Booking extends BaseEntityEx {
|
|
6
6
|
name: string;
|
|
7
7
|
accountId: string;
|
package/lib/BookingPlan.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseEntityEx } from '.';
|
|
2
|
-
import { ColumnDef } from '.';
|
|
3
1
|
import { BookingTypeFlag } from '.';
|
|
4
2
|
import { FlightPurposeCode } from '.';
|
|
5
3
|
import { FlightStatusCode } from '.';
|
|
4
|
+
import { BaseEntityEx } from '.';
|
|
5
|
+
import { ColumnDef } from '.';
|
|
6
6
|
export declare class BookingPlan extends BaseEntityEx {
|
|
7
7
|
name: string;
|
|
8
8
|
description: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
+
import { BookingSlotsSet } from '.';
|
|
3
4
|
import { BookingSlot } from '.';
|
|
4
5
|
import { BookingSlots } from '.';
|
|
5
|
-
import { BookingSlotsSet } from '.';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class BookingSlotsEndPoint {
|
|
8
8
|
private config;
|
package/lib/BookingSlotsSet.d.ts
CHANGED
|
@@ -37,11 +37,11 @@ export declare class BookingsEndPoint {
|
|
|
37
37
|
/**
|
|
38
38
|
* Find bookings by query
|
|
39
39
|
*/
|
|
40
|
-
find(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
|
|
40
|
+
find(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, status?: BookingStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
|
|
41
41
|
/**
|
|
42
42
|
* Find bookings count histogram over time (up to last 30 days)
|
|
43
43
|
*/
|
|
44
|
-
histogram(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, status?: []): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
44
|
+
histogram(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, status?: BookingStatusCode[]): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
45
45
|
/**
|
|
46
46
|
* Get bookings schedule for specific month, the result size is limited to 1000 entries
|
|
47
47
|
*/
|
|
@@ -49,7 +49,7 @@ export declare class BookingsEndPoint {
|
|
|
49
49
|
/**
|
|
50
50
|
* Find my bookings by query
|
|
51
51
|
*/
|
|
52
|
-
myBookings(search?: string, airplaneId?: string, from?: number, to?: number, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
|
|
52
|
+
myBookings(search?: string, airplaneId?: string, from?: number, to?: number, status?: BookingStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
|
|
53
53
|
/**
|
|
54
54
|
* Get bookings plan data for specific day
|
|
55
55
|
*/
|
package/lib/BookingsFilter.d.ts
CHANGED
package/lib/Campaign.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { BaseEntityEx } from '.';
|
|
2
|
+
import { ColumnDef } from '.';
|
|
1
3
|
import { CampaignTypeCode } from '.';
|
|
2
4
|
import { CampaignStatusCode } from '.';
|
|
3
5
|
import { CurrencyCode } from '.';
|
|
4
|
-
import { BaseEntityEx } from '.';
|
|
5
|
-
import { ColumnDef } from '.';
|
|
6
6
|
export declare class Campaign extends BaseEntityEx {
|
|
7
7
|
name: string;
|
|
8
8
|
type: CampaignTypeCode;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
3
|
import { Certificate } from '.';
|
|
4
|
+
import { StatusCode } from '.';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class CertificatesEndPoint {
|
|
6
7
|
private config;
|
|
@@ -30,7 +31,7 @@ export declare class CertificatesEndPoint {
|
|
|
30
31
|
/**
|
|
31
32
|
* Find certificates by query
|
|
32
33
|
*/
|
|
33
|
-
find(contactId?: string, search?: string, status?: [], valid?: boolean, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Certificate>>;
|
|
34
|
+
find(contactId?: string, search?: string, status?: StatusCode[], valid?: boolean, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Certificate>>;
|
|
34
35
|
/**
|
|
35
36
|
* Upload certificate reference document
|
|
36
37
|
*/
|
package/lib/Contact.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { FlightCategoryCode } from '.';
|
|
1
2
|
import { BaseEntityEx } from '.';
|
|
2
3
|
import { ColumnDef } from '.';
|
|
3
4
|
import { AccountStatusCode } from '.';
|
|
4
5
|
import { Address } from '.';
|
|
6
|
+
import { TypeRatingFlag } from '.';
|
|
7
|
+
import { LicenseKindFlag } from '.';
|
|
5
8
|
import { ValidationFlag } from '.';
|
|
6
|
-
import { FlightCategoryCode } from '.';
|
|
7
9
|
export declare class Contact extends BaseEntityEx {
|
|
8
10
|
accountId: string;
|
|
9
11
|
name: string;
|
|
@@ -27,6 +29,8 @@ export declare class Contact extends BaseEntityEx {
|
|
|
27
29
|
pilotLicense: string;
|
|
28
30
|
licenseTypes: string[];
|
|
29
31
|
licenseGroup: string;
|
|
32
|
+
typesRating: TypeRatingFlag;
|
|
33
|
+
licenseKinds: LicenseKindFlag;
|
|
30
34
|
medicalCertClass: string;
|
|
31
35
|
validations: ValidationFlag;
|
|
32
36
|
isPilot: boolean;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
+
import { FlightStatusCode } from '.';
|
|
4
|
+
import { FlightStateCode } from '.';
|
|
5
|
+
import { FlightPurposeCode } from '.';
|
|
3
6
|
import { Flight } from '.';
|
|
4
|
-
import { Document } from '.';
|
|
5
7
|
import { StringKeyValue } from '.';
|
|
8
|
+
import { Document } from '.';
|
|
9
|
+
import { Contact } from '.';
|
|
10
|
+
import { StatusCode } from '.';
|
|
6
11
|
import { Certificate } from '.';
|
|
12
|
+
import { FlightTypeCode } from '.';
|
|
7
13
|
import { MessageConfirm } from '.';
|
|
8
|
-
import { Contact } from '.';
|
|
9
14
|
import * as i0 from "@angular/core";
|
|
10
15
|
export declare class ContactsEndPoint {
|
|
11
16
|
private config;
|
|
@@ -35,23 +40,23 @@ export declare class ContactsEndPoint {
|
|
|
35
40
|
/**
|
|
36
41
|
* Find contacts by query
|
|
37
42
|
*/
|
|
38
|
-
find(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Contact>>;
|
|
43
|
+
find(search?: string, status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Contact>>;
|
|
39
44
|
/**
|
|
40
45
|
* Lookup contacts ID->Name by filter
|
|
41
46
|
*/
|
|
42
|
-
lookup(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
47
|
+
lookup(search?: string, status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
43
48
|
/**
|
|
44
49
|
* Lookup only contacts that are active pilots ID->Name by filter
|
|
45
50
|
*/
|
|
46
|
-
lookupPilots(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
51
|
+
lookupPilots(search?: string, status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
47
52
|
/**
|
|
48
53
|
* Find contact certificates by query
|
|
49
54
|
*/
|
|
50
|
-
findCertificates(id?: string, search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Certificate>>;
|
|
55
|
+
findCertificates(id?: string, search?: string, status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Certificate>>;
|
|
51
56
|
/**
|
|
52
57
|
* Find contact related flights by query
|
|
53
58
|
*/
|
|
54
|
-
findFlights(id?: string, search?: string, type?: [], status?: [], state?: [], purpose?: [], from?: number, to?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
|
|
59
|
+
findFlights(id?: string, search?: string, type?: FlightTypeCode[], status?: FlightStatusCode[], state?: FlightStateCode[], purpose?: FlightPurposeCode[], from?: number, to?: number, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
|
|
55
60
|
/**
|
|
56
61
|
* Find message confirmations for this contact
|
|
57
62
|
*/
|
package/lib/Flight.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { FlightStatusCode } from '.';
|
|
2
|
+
import { BillingStatusCode } from '.';
|
|
3
|
+
import { ReFuel } from '.';
|
|
4
|
+
import { ColumnDef } from '.';
|
|
4
5
|
import { FlightCategoryCode } from '.';
|
|
6
|
+
import { FlightStateCode } from '.';
|
|
5
7
|
import { FlightTypeCode } from '.';
|
|
6
|
-
import {
|
|
8
|
+
import { Lesson } from '.';
|
|
9
|
+
import { RiskAssessment } from '.';
|
|
10
|
+
import { BaseEntityEx } from '.';
|
|
11
|
+
import { FlightPurposeCode } from '.';
|
|
7
12
|
import { FlightClassCode } from '.';
|
|
8
|
-
import {
|
|
13
|
+
import { Billing } from '.';
|
|
9
14
|
import { OnBoard } from '.';
|
|
10
|
-
import { FlightPurposeCode } from '.';
|
|
11
15
|
import { TOLData } from '.';
|
|
12
|
-
import { Lesson } from '.';
|
|
13
|
-
import { BaseEntityEx } from '.';
|
|
14
|
-
import { ColumnDef } from '.';
|
|
15
|
-
import { FlightStatusCode } from '.';
|
|
16
16
|
export declare class Flight extends BaseEntityEx {
|
|
17
17
|
name: string;
|
|
18
18
|
description: string;
|
package/lib/FlightBilling.d.ts
CHANGED
package/lib/FlightPlan.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FlightTypeCode } from '.';
|
|
2
|
-
import { FlightStatusCode } from '.';
|
|
3
1
|
import { FlightStateCode } from '.';
|
|
4
2
|
import { FlightPurposeCode } from '.';
|
|
5
3
|
import { TOLData } from '.';
|
|
6
4
|
import { BaseEntityEx } from '.';
|
|
7
5
|
import { ColumnDef } from '.';
|
|
6
|
+
import { FlightTypeCode } from '.';
|
|
7
|
+
import { FlightStatusCode } 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 { SpecialRisks } from '.';
|
|
2
|
-
import { Mitigation } from '.';
|
|
3
1
|
import { PilotQualificationsRisks } from '.';
|
|
4
2
|
import { CrewDutyDayRisks } from '.';
|
|
3
|
+
import { DepartureRisks } from '.';
|
|
4
|
+
import { DestinationRisks } from '.';
|
|
5
5
|
import { TripRisks } from '.';
|
|
6
|
+
import { Mitigation } from '.';
|
|
6
7
|
import { WeatherRisks } from '.';
|
|
8
|
+
import { SpecialRisks } from '.';
|
|
7
9
|
import { BaseEntityEx } from '.';
|
|
8
10
|
import { ColumnDef } from '.';
|
|
9
|
-
import { DepartureRisks } from '.';
|
|
10
|
-
import { DestinationRisks } from '.';
|
|
11
11
|
export declare class FlightRisk extends BaseEntityEx {
|
|
12
12
|
timestamp: number;
|
|
13
13
|
pilotQualifications: PilotQualificationsRisks;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
3
|
import { FlightTicket } from '.';
|
|
4
|
+
import { TicketStatusCode } from '.';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FlightTicketsEndPoint {
|
|
6
7
|
private config;
|
|
@@ -30,7 +31,7 @@ export declare class FlightTicketsEndPoint {
|
|
|
30
31
|
/**
|
|
31
32
|
* Find flightTickets by query
|
|
32
33
|
*/
|
|
33
|
-
find(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<FlightTicket>>;
|
|
34
|
+
find(search?: string, status?: TicketStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<FlightTicket>>;
|
|
34
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlightTicketsEndPoint, never>;
|
|
35
36
|
static ɵprov: i0.ɵɵInjectableDeclaration<FlightTicketsEndPoint>;
|
|
36
37
|
}
|
package/lib/FlightsEndPoint.d.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse, Entities } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import {
|
|
4
|
-
import { TimeSeries } from '.';
|
|
3
|
+
import { FlightPlan } from '.';
|
|
5
4
|
import { Contact } from '.';
|
|
6
5
|
import { FlightTicket } from '.';
|
|
7
6
|
import { PreFlightInfo } from '.';
|
|
8
|
-
import { PostFlightInfo } from '.';
|
|
9
7
|
import { Flight } from '.';
|
|
10
|
-
import {
|
|
8
|
+
import { AnyKeyValue } from '.';
|
|
9
|
+
import { FlightStatusCode } from '.';
|
|
10
|
+
import { BillingStatusCode } from '.';
|
|
11
|
+
import { TimeSeries } from '.';
|
|
12
|
+
import { PostFlightInfo } from '.';
|
|
13
|
+
import { FlightTypeCode } from '.';
|
|
14
|
+
import { FlightPurposeCode } from '.';
|
|
11
15
|
import * as i0 from "@angular/core";
|
|
12
16
|
export declare class FlightsEndPoint {
|
|
13
17
|
private config;
|
|
@@ -49,15 +53,15 @@ export declare class FlightsEndPoint {
|
|
|
49
53
|
/**
|
|
50
54
|
* Find flights by query
|
|
51
55
|
*/
|
|
52
|
-
find(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, type?: [], status?: [], billing?: [], purpose?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
|
|
56
|
+
find(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, type?: FlightTypeCode[], status?: FlightStatusCode[], billing?: BillingStatusCode[], purpose?: FlightPurposeCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
|
|
53
57
|
/**
|
|
54
58
|
* Download all flights by filter as XLSX document
|
|
55
59
|
*/
|
|
56
|
-
downloadFlightsXlsx(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, type?: [], status?: [], billing?: [], purpose?: [], sort?: string): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Blob>>;
|
|
60
|
+
downloadFlightsXlsx(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, type?: FlightTypeCode[], status?: FlightStatusCode[], billing?: BillingStatusCode[], purpose?: FlightPurposeCode[], sort?: string): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Blob>>;
|
|
57
61
|
/**
|
|
58
62
|
* Find flights count histogram over time (up to last 30 days)
|
|
59
63
|
*/
|
|
60
|
-
histogram(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, type?: [], status?: [], billing?: [], purpose?: []): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
64
|
+
histogram(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, type?: FlightTypeCode[], status?: FlightStatusCode[], billing?: BillingStatusCode[], purpose?: FlightPurposeCode[]): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
61
65
|
/**
|
|
62
66
|
* Get flight plans data for gantt, the result size is limited to 1000 entries
|
|
63
67
|
*/
|
package/lib/Lead.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntityEx } from '.';
|
|
2
|
-
import { ColumnDef } from '.';
|
|
3
1
|
import { Address } from '.';
|
|
4
2
|
import { LeadStatusCode } from '.';
|
|
3
|
+
import { BaseEntityEx } from '.';
|
|
4
|
+
import { ColumnDef } from '.';
|
|
5
5
|
export declare class Lead extends BaseEntityEx {
|
|
6
6
|
firstName: string;
|
|
7
7
|
lastName: string;
|
package/lib/LeadsEndPoint.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
+
import { LeadAction } from '.';
|
|
3
4
|
import { Lead } from '.';
|
|
5
|
+
import { LeadStatusCode } from '.';
|
|
4
6
|
import { TimeSeries } from '.';
|
|
5
|
-
import { LeadAction } from '.';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class LeadsEndPoint {
|
|
8
9
|
private config;
|
|
@@ -32,11 +33,11 @@ export declare class LeadsEndPoint {
|
|
|
32
33
|
/**
|
|
33
34
|
* Find leads by query
|
|
34
35
|
*/
|
|
35
|
-
find(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Lead>>;
|
|
36
|
+
find(search?: string, status?: LeadStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Lead>>;
|
|
36
37
|
/**
|
|
37
38
|
* Find lead count histogram over time
|
|
38
39
|
*/
|
|
39
|
-
histogram(from?: number, to?: number, search?: string, status?: []): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
40
|
+
histogram(from?: number, to?: number, search?: string, status?: LeadStatusCode[]): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
40
41
|
/**
|
|
41
42
|
* Create new lead action
|
|
42
43
|
*/
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Tuple } from '.';
|
|
2
|
+
export declare enum LicenseKindFlag {
|
|
3
|
+
UNDEFINED = 0,
|
|
4
|
+
SPL = 1,
|
|
5
|
+
LAPL = 2,
|
|
6
|
+
PPL = 4,
|
|
7
|
+
IR = 8,
|
|
8
|
+
NR = 16,
|
|
9
|
+
ME = 32,
|
|
10
|
+
CPL = 64,
|
|
11
|
+
ATPL = 128,
|
|
12
|
+
CFI = 256,
|
|
13
|
+
CFII = 512,
|
|
14
|
+
FTE = 1024
|
|
15
|
+
}
|
|
16
|
+
export declare function GetLicenseKindFlags(): Tuple<LicenseKindFlag, string>[];
|
|
17
|
+
export declare function MapLicenseKindFlags(): Map<LicenseKindFlag, string>;
|
package/lib/LookupGroup.d.ts
CHANGED
package/lib/LookupsEndPoint.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
-
import { Lookup } from '.';
|
|
4
3
|
import { LookupGroup } from '.';
|
|
4
|
+
import { Lookup } from '.';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class LookupsEndPoint {
|
|
7
7
|
private config;
|
package/lib/Maintenance.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { StatusCode } from '.';
|
|
1
2
|
import { MaintenanceActionCode } from '.';
|
|
2
3
|
import { BaseEntityEx } from '.';
|
|
3
4
|
import { ColumnDef } from '.';
|
|
4
|
-
import { StatusCode } from '.';
|
|
5
5
|
export declare class Maintenance extends BaseEntityEx {
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
3
|
import { Maintenance } from '.';
|
|
4
|
+
import { MaintenanceActionCode } from '.';
|
|
5
|
+
import { StatusCode } from '.';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class MaintenancesEndPoint {
|
|
6
8
|
private config;
|
|
@@ -30,7 +32,7 @@ export declare class MaintenancesEndPoint {
|
|
|
30
32
|
/**
|
|
31
33
|
* Find maintenances by query
|
|
32
34
|
*/
|
|
33
|
-
find(search?: string, airplaneId?: string, action?: [], status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Maintenance>>;
|
|
35
|
+
find(search?: string, airplaneId?: string, action?: MaintenanceActionCode[], status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Maintenance>>;
|
|
34
36
|
/**
|
|
35
37
|
* Upload maintenance reference document
|
|
36
38
|
*/
|
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;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
|
+
import { PriorityCode } from '.';
|
|
3
4
|
import { MessageConfirm } from '.';
|
|
5
|
+
import { MessageTypeCode } from '.';
|
|
6
|
+
import { ConfirmStatusCode } from '.';
|
|
4
7
|
import * as i0 from "@angular/core";
|
|
5
8
|
export declare class MessageConfirmsEndPoint {
|
|
6
9
|
private config;
|
|
@@ -30,7 +33,7 @@ export declare class MessageConfirmsEndPoint {
|
|
|
30
33
|
/**
|
|
31
34
|
* Find messageConfirms by query
|
|
32
35
|
*/
|
|
33
|
-
find(search?: string, messageId?: string, contactId?: string, type?: [], status?: [], priority?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<MessageConfirm>>;
|
|
36
|
+
find(search?: string, messageId?: string, contactId?: string, type?: MessageTypeCode[], status?: ConfirmStatusCode[], priority?: PriorityCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<MessageConfirm>>;
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageConfirmsEndPoint, never>;
|
|
35
38
|
static ɵprov: i0.ɵɵInjectableDeclaration<MessageConfirmsEndPoint>;
|
|
36
39
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
|
|
2
2
|
import { GooxConfig } from '../config';
|
|
3
3
|
import { Booking } from '.';
|
|
4
|
+
import { BookingStatusCode } from '.';
|
|
4
5
|
import { BookingTypeFlag } from '.';
|
|
5
6
|
import { BookingSlots } from '.';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
@@ -28,7 +29,7 @@ export declare class MyBookingsEndPoint {
|
|
|
28
29
|
/**
|
|
29
30
|
* Find my bookings by query
|
|
30
31
|
*/
|
|
31
|
-
find(search?: string, airplaneId?: string, from?: number, to?: number, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
|
|
32
|
+
find(search?: string, airplaneId?: string, from?: number, to?: number, status?: BookingStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
|
|
32
33
|
/**
|
|
33
34
|
* Find my bookings by query
|
|
34
35
|
*/
|