@aya-flights/ngx-goox-lib 2.19.63 → 2.19.67

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.
Files changed (45) hide show
  1. package/fesm2022/aya-flights-ngx-goox-lib.mjs +4623 -4623
  2. package/fesm2022/aya-flights-ngx-goox-lib.mjs.map +1 -1
  3. package/lib/Account.d.ts +1 -1
  4. package/lib/AccountsEndPoint.d.ts +10 -5
  5. package/lib/Airplane.d.ts +4 -4
  6. package/lib/AirplanesEndPoint.d.ts +12 -5
  7. package/lib/AuditLogsEndPoint.d.ts +1 -1
  8. package/lib/Booking.d.ts +1 -1
  9. package/lib/BookingPlan.d.ts +1 -1
  10. package/lib/BookingsEndPoint.d.ts +5 -5
  11. package/lib/Campaign.d.ts +2 -2
  12. package/lib/CampaignsEndPoint.d.ts +1 -1
  13. package/lib/Certificate.d.ts +1 -1
  14. package/lib/CertificatesEndPoint.d.ts +2 -1
  15. package/lib/Contact.d.ts +2 -2
  16. package/lib/ContactsEndPoint.d.ts +12 -7
  17. package/lib/Flight.d.ts +10 -10
  18. package/lib/FlightPlan.d.ts +1 -1
  19. package/lib/FlightRisk.d.ts +5 -5
  20. package/lib/FlightTicketsEndPoint.d.ts +2 -1
  21. package/lib/FlightsEndPoint.d.ts +12 -8
  22. package/lib/GroupsEndPoint.d.ts +1 -1
  23. package/lib/LeadsEndPoint.d.ts +3 -2
  24. package/lib/LookupGroup.d.ts +1 -1
  25. package/lib/LookupsEndPoint.d.ts +1 -1
  26. package/lib/Maintenance.d.ts +1 -1
  27. package/lib/MaintenancesEndPoint.d.ts +3 -1
  28. package/lib/MessageConfirm.d.ts +2 -2
  29. package/lib/MessageConfirmsEndPoint.d.ts +4 -1
  30. package/lib/MyBookingsEndPoint.d.ts +3 -2
  31. package/lib/MyFlightsEndPoint.d.ts +4 -2
  32. package/lib/PostFlightData.d.ts +3 -3
  33. package/lib/PostFlightInfo.d.ts +1 -1
  34. package/lib/PreFlightData.d.ts +2 -2
  35. package/lib/PriceListEndPoint.d.ts +2 -1
  36. package/lib/SyllabusEndPoint.d.ts +3 -1
  37. package/lib/SystemConfig.d.ts +1 -1
  38. package/lib/SystemMessage.d.ts +2 -2
  39. package/lib/SystemMessagesEndPoint.d.ts +3 -2
  40. package/lib/User.d.ts +1 -1
  41. package/lib/UserEndPoint.d.ts +1 -1
  42. package/lib/UsersEndPoint.d.ts +4 -2
  43. package/lib/index.d.ts +112 -112
  44. package/lib/services.export.d.ts +23 -23
  45. package/package.json +1 -1
package/lib/Account.d.ts CHANGED
@@ -1,7 +1,7 @@
1
+ import { BaseEntityEx } from '.';
1
2
  import { ColumnDef } from '.';
2
3
  import { AccountStatusCode } from '.';
3
4
  import { Address } from '.';
4
- import { BaseEntityEx } from '.';
5
5
  export declare class Account extends BaseEntityEx {
6
6
  name: string;
7
7
  enName: string;
@@ -1,9 +1,14 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
2
  import { GooxConfig } from '../config';
3
- import { Flight } from '.';
4
- import { Credit } from '.';
3
+ import { AccountStatusCode } from '.';
4
+ import { FlightStatusCode } from '.';
5
5
  import { Account } from '.';
6
+ import { FlightStateCode } from '.';
7
+ import { Credit } from '.';
8
+ import { FlightPurposeCode } from '.';
9
+ import { Flight } from '.';
6
10
  import { StringKeyValue } from '.';
11
+ import { FlightTypeCode } from '.';
7
12
  import { Document } from '.';
8
13
  import * as i0 from "@angular/core";
9
14
  export declare class AccountsEndPoint {
@@ -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,11 +1,11 @@
1
- import { AirplaneValidationFlag } from '.';
2
- import { Engine } from '.';
3
- import { Magneto } from '.';
4
- import { Propeller } from '.';
5
1
  import { Fuel } from '.';
6
2
  import { BaseEntityEx } from '.';
7
3
  import { ColumnDef } from '.';
8
4
  import { AirplaneStatusCode } from '.';
5
+ import { AirplaneValidationFlag } from '.';
6
+ import { Engine } from '.';
7
+ import { Magneto } from '.';
8
+ import { Propeller } from '.';
9
9
  export declare class Airplane extends BaseEntityEx {
10
10
  name: string;
11
11
  description: string;
@@ -1,10 +1,17 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
2
  import { GooxConfig } from '../config';
3
- import { Document } from '.';
3
+ import { MaintenanceActionCode } from '.';
4
4
  import { Maintenance } from '.';
5
+ import { FlightStateCode } from '.';
6
+ import { Document } from '.';
5
7
  import { Airplane } from '.';
6
8
  import { StringKeyValue } from '.';
9
+ import { FlightTypeCode } from '.';
7
10
  import { Flight } from '.';
11
+ import { AirplaneStatusCode } from '.';
12
+ import { FlightStatusCode } from '.';
13
+ import { FlightPurposeCode } from '.';
14
+ import { StatusCode } from '.';
8
15
  import * as i0 from "@angular/core";
9
16
  export declare class AirplanesEndPoint {
10
17
  private config;
@@ -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;
@@ -1,8 +1,8 @@
1
- import { BaseEntityEx } from '.';
2
1
  import { ColumnDef } from '.';
3
2
  import { BookingTypeFlag } from '.';
4
3
  import { FlightPurposeCode } from '.';
5
4
  import { FlightStatusCode } from '.';
5
+ import { BaseEntityEx } from '.';
6
6
  export declare class BookingPlan extends BaseEntityEx {
7
7
  name: string;
8
8
  description: string;
@@ -1,9 +1,9 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
2
  import { GooxConfig } from '../config';
3
- import { BookingPlan } from '.';
4
- import { Booking } from '.';
5
3
  import { BookingStatusCode } from '.';
6
4
  import { TimeSeries } from '.';
5
+ import { BookingPlan } from '.';
6
+ import { Booking } from '.';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class BookingsEndPoint {
9
9
  private config;
@@ -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/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,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;
@@ -1,7 +1,7 @@
1
+ import { ColumnDef } from '.';
1
2
  import { ValidationFlag } from '.';
2
3
  import { StatusCode } from '.';
3
4
  import { BaseEntityEx } from '.';
4
- import { ColumnDef } from '.';
5
5
  export declare class Certificate extends BaseEntityEx {
6
6
  name: string;
7
7
  type: ValidationFlag;
@@ -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,9 @@
1
+ import { ValidationFlag } from '.';
2
+ import { FlightCategoryCode } from '.';
1
3
  import { BaseEntityEx } from '.';
2
4
  import { ColumnDef } from '.';
3
5
  import { AccountStatusCode } from '.';
4
6
  import { Address } from '.';
5
- import { ValidationFlag } from '.';
6
- import { FlightCategoryCode } from '.';
7
7
  export declare class Contact extends BaseEntityEx {
8
8
  accountId: string;
9
9
  name: string;
@@ -1,11 +1,16 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
2
  import { GooxConfig } from '../config';
3
+ import { FlightTypeCode } from '.';
3
4
  import { Flight } from '.';
4
5
  import { Document } from '.';
6
+ import { Contact } from '.';
7
+ import { StatusCode } from '.';
8
+ import { FlightStatusCode } from '.';
9
+ import { FlightPurposeCode } from '.';
10
+ import { MessageConfirm } from '.';
11
+ import { FlightStateCode } from '.';
5
12
  import { StringKeyValue } from '.';
6
13
  import { Certificate } from '.';
7
- 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,17 +1,17 @@
1
- import { Billing } from '.';
2
- import { RiskAssessment } from '.';
3
- import { FlightStateCode } from '.';
4
- import { FlightCategoryCode } from '.';
5
- import { FlightTypeCode } from '.';
6
- import { ReFuel } from '.';
7
- import { FlightClassCode } from '.';
8
- import { BillingStatusCode } from '.';
9
1
  import { OnBoard } from '.';
10
- import { FlightPurposeCode } from '.';
11
2
  import { TOLData } from '.';
3
+ import { ReFuel } from '.';
4
+ import { RiskAssessment } from '.';
5
+ import { ColumnDef } from '.';
6
+ import { FlightClassCode } from '.';
7
+ import { FlightTypeCode } from '.';
8
+ import { FlightStateCode } from '.';
12
9
  import { Lesson } from '.';
10
+ import { Billing } from '.';
13
11
  import { BaseEntityEx } from '.';
14
- import { ColumnDef } from '.';
12
+ import { FlightPurposeCode } from '.';
13
+ import { FlightCategoryCode } from '.';
14
+ import { BillingStatusCode } from '.';
15
15
  import { FlightStatusCode } from '.';
16
16
  export declare class Flight extends BaseEntityEx {
17
17
  name: string;
@@ -1,10 +1,10 @@
1
+ import { ColumnDef } from '.';
1
2
  import { FlightTypeCode } from '.';
2
3
  import { FlightStatusCode } from '.';
3
4
  import { FlightStateCode } from '.';
4
5
  import { FlightPurposeCode } from '.';
5
6
  import { TOLData } from '.';
6
7
  import { BaseEntityEx } from '.';
7
- import { ColumnDef } from '.';
8
8
  export declare class FlightPlan extends BaseEntityEx {
9
9
  name: string;
10
10
  description: string;
@@ -1,13 +1,13 @@
1
- import { SpecialRisks } from '.';
2
1
  import { Mitigation } from '.';
3
- import { PilotQualificationsRisks } from '.';
4
2
  import { CrewDutyDayRisks } from '.';
3
+ import { DestinationRisks } from '.';
5
4
  import { TripRisks } from '.';
6
- import { WeatherRisks } from '.';
7
- import { BaseEntityEx } from '.';
5
+ import { SpecialRisks } from '.';
8
6
  import { ColumnDef } from '.';
7
+ import { PilotQualificationsRisks } from '.';
9
8
  import { DepartureRisks } from '.';
10
- import { DestinationRisks } from '.';
9
+ import { WeatherRisks } from '.';
10
+ import { BaseEntityEx } 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
  }
@@ -1,13 +1,17 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse, Entities } from '../utils';
2
2
  import { GooxConfig } from '../config';
3
- import { AnyKeyValue } from '.';
4
- import { TimeSeries } from '.';
5
- import { Contact } from '.';
6
- import { FlightTicket } from '.';
3
+ import { FlightPlan } from '.';
7
4
  import { PreFlightInfo } from '.';
8
5
  import { PostFlightInfo } from '.';
9
6
  import { Flight } from '.';
10
- import { FlightPlan } from '.';
7
+ import { FlightPurposeCode } from '.';
8
+ import { FlightTicket } from '.';
9
+ import { AnyKeyValue } from '.';
10
+ import { BillingStatusCode } from '.';
11
+ import { TimeSeries } from '.';
12
+ import { Contact } from '.';
13
+ import { FlightTypeCode } from '.';
14
+ import { FlightStatusCode } 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/module.d-CnjH8Dlt").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/module.d-CnjH8Dlt").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
  */
@@ -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;
@@ -1,6 +1,7 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
2
  import { GooxConfig } from '../config';
3
3
  import { Lead } from '.';
4
+ import { LeadStatusCode } from '.';
4
5
  import { TimeSeries } from '.';
5
6
  import { LeadAction } from '.';
6
7
  import * as i0 from "@angular/core";
@@ -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
  */
@@ -1,6 +1,6 @@
1
+ import { ColumnDef } from '.';
1
2
  import { Lookup } from '.';
2
3
  import { BaseEntity } from '.';
3
- import { ColumnDef } from '.';
4
4
  export declare class LookupGroup extends BaseEntity {
5
5
  group: string;
6
6
  value: Lookup[];
@@ -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;
@@ -1,7 +1,7 @@
1
- import { MaintenanceActionCode } from '.';
2
1
  import { BaseEntityEx } from '.';
3
2
  import { ColumnDef } from '.';
4
3
  import { StatusCode } from '.';
4
+ import { MaintenanceActionCode } from '.';
5
5
  export declare class Maintenance extends BaseEntityEx {
6
6
  name: string;
7
7
  description: string;
@@ -1,5 +1,7 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
2
  import { GooxConfig } from '../config';
3
+ import { MaintenanceActionCode } from '.';
4
+ import { StatusCode } from '.';
3
5
  import { Maintenance } from '.';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class MaintenancesEndPoint {
@@ -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
  */
@@ -1,8 +1,8 @@
1
+ import { MessageTypeCode } from '.';
2
+ import { PriorityCode } from '.';
1
3
  import { BaseEntityEx } from '.';
2
4
  import { ColumnDef } from '.';
3
5
  import { ConfirmStatusCode } from '.';
4
- import { MessageTypeCode } from '.';
5
- import { PriorityCode } 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
3
  import { MessageConfirm } from '.';
4
+ import { MessageTypeCode } from '.';
5
+ import { ConfirmStatusCode } from '.';
6
+ import { PriorityCode } 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,8 +1,9 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
2
  import { GooxConfig } from '../config';
3
- import { Booking } from '.';
3
+ import { BookingStatusCode } from '.';
4
4
  import { BookingTypeFlag } from '.';
5
5
  import { BookingSlots } from '.';
6
+ import { Booking } from '.';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class MyBookingsEndPoint {
8
9
  private config;
@@ -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
  */
@@ -1,9 +1,11 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
2
  import { GooxConfig } from '../config';
3
+ import { FlightTypeCode } from '.';
4
+ import { FlightStatusCode } from '.';
3
5
  import { FlightPlan } from '.';
4
6
  import { PreFlightInfo } from '.';
5
- import { PostFlightInfo } from '.';
6
7
  import { Flight } from '.';
8
+ import { PostFlightInfo } from '.';
7
9
  import * as i0 from "@angular/core";
8
10
  export declare class MyFlightsEndPoint {
9
11
  private config;
@@ -17,7 +19,7 @@ export declare class MyFlightsEndPoint {
17
19
  /**
18
20
  * Find my flights by query
19
21
  */
20
- find(search?: string, type?: [], status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
22
+ find(search?: string, type?: FlightTypeCode[], status?: FlightStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
21
23
  /**
22
24
  * Get flight plans data for gantt, the result size is limited to 1000 entries
23
25
  */
@@ -1,11 +1,11 @@
1
- import { ColumnDef } from '.';
2
- import { FlightTypeCode } from '.';
3
- import { FlightPurposeCode } from '.';
4
1
  import { OnBoard } from '.';
5
2
  import { TOLData } from '.';
6
3
  import { ReFuel } from '.';
7
4
  import { Lesson } from '.';
8
5
  import { BaseEntityEx } from '.';
6
+ import { ColumnDef } from '.';
7
+ import { FlightTypeCode } from '.';
8
+ import { FlightPurposeCode } from '.';
9
9
  export declare class PostFlightData extends BaseEntityEx {
10
10
  name: string;
11
11
  description: string;
@@ -1,6 +1,6 @@
1
- import { FlightPurposeCode } from '.';
2
1
  import { FlightTypeCode } from '.';
3
2
  import { AssessmentCode } from '.';
3
+ import { FlightPurposeCode } from '.';
4
4
  export declare class PostFlightInfo {
5
5
  flightId: string;
6
6
  flightNumber: number;
@@ -1,11 +1,11 @@
1
- import { OnBoard } from '.';
2
- import { TOLData } from '.';
3
1
  import { ReFuel } from '.';
4
2
  import { Lesson } from '.';
5
3
  import { BaseEntityEx } from '.';
6
4
  import { ColumnDef } from '.';
7
5
  import { FlightTypeCode } from '.';
8
6
  import { FlightPurposeCode } from '.';
7
+ import { OnBoard } from '.';
8
+ import { TOLData } from '.';
9
9
  export declare class PreFlightData extends BaseEntityEx {
10
10
  name: string;
11
11
  description: string;
@@ -1,5 +1,6 @@
1
1
  import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
2
  import { GooxConfig } from '../config';
3
+ import { FlightPurposeCode } from '.';
3
4
  import { Price } from '.';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class PriceListEndPoint {
@@ -30,7 +31,7 @@ export declare class PriceListEndPoint {
30
31
  /**
31
32
  * Find Prices by query
32
33
  */
33
- find(airplaneId?: string, purpose?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Price>>;
34
+ find(airplaneId?: string, purpose?: FlightPurposeCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Price>>;
34
35
  static ɵfac: i0.ɵɵFactoryDeclaration<PriceListEndPoint, never>;
35
36
  static ɵprov: i0.ɵɵInjectableDeclaration<PriceListEndPoint>;
36
37
  }