@aya-flights/ngx-goox-lib 2.19.2 → 2.19.3-exp
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/config.d.ts +5 -4
- package/fesm2022/aya-flights-ngx-goox-lib.mjs +5922 -4181
- package/fesm2022/aya-flights-ngx-goox-lib.mjs.map +1 -1
- package/lib/{ADSBState.d.ts → model/ADSBState.d.ts} +1 -1
- package/lib/{Account.d.ts → model/Account.d.ts} +9 -10
- package/lib/model/AccountTypeCode.d.ts +11 -0
- package/lib/model/AccountsFilter.d.ts +12 -0
- package/{utils → lib/model}/ActionResponse.d.ts +2 -0
- package/lib/{Airplane.d.ts → model/Airplane.d.ts} +12 -9
- package/lib/model/AirplanesFilter.d.ts +11 -0
- package/lib/{AssessmentCode.d.ts → model/AssessmentCode.d.ts} +3 -7
- package/lib/{AuditLog.d.ts → model/AuditLog.d.ts} +3 -4
- package/lib/model/AuditLogFilter.d.ts +15 -0
- package/lib/model/BaseFilter.d.ts +7 -0
- package/{utils → lib/model}/BaseRestResponse.d.ts +1 -0
- package/lib/{Billing.d.ts → model/Billing.d.ts} +1 -1
- package/lib/{Booking.d.ts → model/Booking.d.ts} +11 -6
- package/lib/model/BookingPlan.d.ts +22 -0
- package/lib/{BookingSlot.d.ts → model/BookingSlot.d.ts} +3 -3
- package/lib/{BookingSlots.d.ts → model/BookingSlots.d.ts} +3 -4
- package/lib/{BookingSlotsSet.d.ts → model/BookingSlotsSet.d.ts} +3 -4
- package/lib/{BookingStatusCode.d.ts → model/BookingStatusCode.d.ts} +4 -2
- package/lib/model/BookingsFilter.d.ts +15 -0
- package/lib/model/Boundaries.d.ts +5 -0
- package/lib/{Campaign.d.ts → model/Campaign.d.ts} +5 -6
- package/lib/{Certificate.d.ts → model/Certificate.d.ts} +4 -5
- package/lib/model/CertificatesFilter.d.ts +15 -0
- package/lib/{ColumnDef.d.ts → model/ColumnDef.d.ts} +2 -2
- package/lib/model/Contact.d.ts +39 -0
- package/lib/model/ContactGroup.d.ts +8 -0
- package/lib/model/ContactsFilter.d.ts +17 -0
- package/lib/{Credit.d.ts → model/Credit.d.ts} +5 -5
- package/lib/model/CreditsFilter.d.ts +15 -0
- package/lib/model/Distribution.d.ts +7 -0
- package/lib/{Document.d.ts → model/Document.d.ts} +3 -4
- package/{utils → lib/model}/Entities.d.ts +1 -0
- package/lib/model/EntitiesRequest.d.ts +4 -0
- package/{utils → lib/model}/EntitiesResponse.d.ts +2 -0
- package/lib/model/EntityAction.d.ts +3 -0
- package/lib/model/EntityRequest.d.ts +4 -0
- package/{utils → lib/model}/EntityResponse.d.ts +2 -4
- package/lib/{ErrorCode.d.ts → model/ErrorCode.d.ts} +5 -1
- package/lib/{Flight.d.ts → model/Flight.d.ts} +21 -23
- package/lib/{FlightBilling.d.ts → model/FlightBilling.d.ts} +3 -4
- package/lib/model/FlightCategoryCode.d.ts +42 -0
- package/lib/model/FlightClassCode.d.ts +13 -0
- package/lib/{FlightPassenger.d.ts → model/FlightPassenger.d.ts} +2 -3
- package/lib/{FlightPlan.d.ts → model/FlightPlan.d.ts} +7 -8
- package/lib/{FlightPurposeCode.d.ts → model/FlightPurposeCode.d.ts} +1 -1
- package/lib/model/FlightRisk.d.ts +22 -0
- package/lib/{FlightTicket.d.ts → model/FlightTicket.d.ts} +3 -4
- package/lib/{FlightTypeCode.d.ts → model/FlightTypeCode.d.ts} +4 -10
- package/lib/model/FlightsFilter.d.ts +21 -0
- package/lib/model/FollowUpAction.d.ts +6 -0
- package/lib/{Group.d.ts → model/Group.d.ts} +4 -5
- package/lib/model/InstructionTypeCode.d.ts +9 -0
- package/lib/model/IntEnumValue.d.ts +5 -0
- package/lib/model/Json.d.ts +3 -0
- package/lib/model/JsonDoc.d.ts +5 -0
- package/lib/{Lead.d.ts → model/Lead.d.ts} +7 -9
- package/lib/{LeadAction.d.ts → model/LeadAction.d.ts} +2 -3
- package/lib/model/LeadsFilter.d.ts +10 -0
- package/lib/model/Lesson.d.ts +19 -0
- package/lib/model/LessonSubjectCode.d.ts +97 -0
- package/lib/model/LessonTypeCode.d.ts +16 -0
- package/lib/model/LicenseKindFlag.d.ts +17 -0
- package/lib/model/LocalTime.d.ts +3 -0
- package/lib/{LogBookRecord.d.ts → model/LogBookRecord.d.ts} +2 -3
- package/lib/{Lookup.d.ts → model/Lookup.d.ts} +2 -3
- package/lib/{LookupGroup.d.ts → model/LookupGroup.d.ts} +3 -3
- package/lib/{Maintenance.d.ts → model/Maintenance.d.ts} +4 -5
- package/lib/model/MaintenancesFilter.d.ts +15 -0
- package/lib/model/MedicalCertClassCode.d.ts +9 -0
- package/lib/{MessageConfirm.d.ts → model/MessageConfirm.d.ts} +5 -8
- package/lib/model/Metar.d.ts +9 -0
- package/lib/model/MetarReport.d.ts +8 -0
- package/lib/model/Notification.d.ts +13 -0
- package/lib/model/NotificationTypeCode.d.ts +11 -0
- package/lib/{Permission.d.ts → model/Permission.d.ts} +2 -2
- package/lib/model/Point.d.ts +5 -0
- package/lib/model/PostFlightInfo.d.ts +44 -0
- package/lib/{PreFlightInfo.d.ts → model/PreFlightInfo.d.ts} +10 -10
- package/lib/{Price.d.ts → model/Price.d.ts} +3 -4
- package/lib/{RiskAssessment.d.ts → model/RiskAssessment.d.ts} +8 -8
- package/{utils → lib/model}/SimpleEntity.d.ts +1 -0
- package/lib/model/StorageItem.d.ts +11 -0
- package/lib/model/Syllabus.d.ts +14 -0
- package/lib/model/SyllabusFilter.d.ts +12 -0
- package/lib/model/SyllabusTrack.d.ts +12 -0
- package/lib/{SystemConfig.d.ts → model/SystemConfig.d.ts} +2 -3
- package/lib/{SystemMessage.d.ts → model/SystemMessage.d.ts} +5 -5
- package/lib/model/TafReport.d.ts +8 -0
- package/lib/model/TimeDataPoint.d.ts +5 -0
- package/lib/model/TimePeriodCode.d.ts +11 -0
- package/lib/{TimeSeries.d.ts → model/TimeSeries.d.ts} +2 -2
- package/lib/model/Timestamp.d.ts +3 -0
- package/lib/{TokenData.d.ts → model/TokenData.d.ts} +2 -2
- package/lib/{TransactionTypeCode.d.ts → model/TransactionTypeCode.d.ts} +2 -1
- package/lib/model/Tuple.d.ts +5 -0
- package/lib/model/TypeRatingFlag.d.ts +10 -0
- package/lib/{User.d.ts → model/User.d.ts} +5 -6
- package/lib/model/UsersFilter.d.ts +14 -0
- package/lib/{ValidationFlag.d.ts → model/ValidationFlag.d.ts} +1 -8
- package/lib/model/WBConfig.d.ts +20 -0
- package/lib/model/errorStruct.d.ts +5 -0
- package/lib/{index.d.ts → model/index.d.ts} +131 -122
- package/lib/{AccountsEndPoint.d.ts → services/AccountsEndPoint.d.ts} +20 -11
- package/lib/services/AirplanesEndPoint.d.ts +75 -0
- package/lib/{AuditLogsEndPoint.d.ts → services/AuditLogsEndPoint.d.ts} +7 -5
- package/lib/{BookingSlotsEndPoint.d.ts → services/BookingSlotsEndPoint.d.ts} +21 -6
- package/lib/{BookingsEndPoint.d.ts → services/BookingsEndPoint.d.ts} +25 -9
- package/lib/{CampaignsEndPoint.d.ts → services/CampaignsEndPoint.d.ts} +8 -5
- package/lib/{CertificatesEndPoint.d.ts → services/CertificatesEndPoint.d.ts} +9 -5
- package/lib/{ContactsEndPoint.d.ts → services/ContactsEndPoint.d.ts} +30 -14
- package/lib/services/ContactsGroupsEndPoint.d.ts +44 -0
- package/lib/{CreditsEndPoint.d.ts → services/CreditsEndPoint.d.ts} +11 -4
- package/lib/{DocumentsEndPoint.d.ts → services/DocumentsEndPoint.d.ts} +16 -4
- package/lib/{FlightTicketsEndPoint.d.ts → services/FlightTicketsEndPoint.d.ts} +9 -5
- package/lib/{FlightsEndPoint.d.ts → services/FlightsEndPoint.d.ts} +44 -13
- package/lib/{GroupsEndPoint.d.ts → services/GroupsEndPoint.d.ts} +12 -5
- package/lib/services/LeadsEndPoint.d.ts +110 -0
- package/lib/{LookupsEndPoint.d.ts → services/LookupsEndPoint.d.ts} +8 -5
- package/lib/{MaintenancesEndPoint.d.ts → services/MaintenancesEndPoint.d.ts} +10 -5
- package/lib/services/McpToolsEndPoint.d.ts +25 -0
- package/lib/{MessageConfirmsEndPoint.d.ts → services/MessageConfirmsEndPoint.d.ts} +19 -5
- package/lib/services/MyAuthEndPoint.d.ts +37 -0
- package/lib/services/MyBookingsEndPoint.d.ts +65 -0
- package/lib/services/MyCertificatesEndPoint.d.ts +52 -0
- package/lib/{MyCreditsEndPoint.d.ts → services/MyCreditsEndPoint.d.ts} +6 -4
- package/lib/services/MyFlightsEndPoint.d.ts +70 -0
- package/lib/services/MyInfoEndPoint.d.ts +27 -0
- package/lib/services/MyMessagesEndPoint.d.ts +28 -0
- package/lib/services/MyStudentsEndPoint.d.ts +35 -0
- package/lib/{PriceListEndPoint.d.ts → services/PriceListEndPoint.d.ts} +9 -5
- package/lib/services/SyllabusEndPoint.d.ts +45 -0
- package/lib/{SystemConfigsEndPoint.d.ts → services/SystemConfigsEndPoint.d.ts} +7 -4
- package/lib/{SystemEndPoint.d.ts → services/SystemEndPoint.d.ts} +4 -3
- package/lib/{SystemMessagesEndPoint.d.ts → services/SystemMessagesEndPoint.d.ts} +14 -6
- package/lib/{UserEndPoint.d.ts → services/UserEndPoint.d.ts} +6 -5
- package/lib/{UsersEndPoint.d.ts → services/UsersEndPoint.d.ts} +12 -7
- package/lib/services/index.d.ts +34 -0
- package/ngx-goox-lib.module.d.ts +3 -4
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
- package/{utils/rest-util.d.ts → rest-utils.d.ts} +3 -3
- package/lib/AccountFilter.d.ts +0 -6
- package/lib/AirplaneFilter.d.ts +0 -7
- package/lib/AirplanesEndPoint.d.ts +0 -61
- package/lib/AuditLogFilter.d.ts +0 -11
- package/lib/BaseFilter.d.ts +0 -4
- package/lib/BookingFilter.d.ts +0 -13
- package/lib/CertificateFilter.d.ts +0 -9
- package/lib/Contact.d.ts +0 -39
- package/lib/ContactFilter.d.ts +0 -7
- package/lib/CreditFilter.d.ts +0 -9
- package/lib/Enums.d.ts +0 -1
- package/lib/FlightFilter.d.ts +0 -18
- package/lib/FlightRisk.d.ts +0 -23
- package/lib/LeadFilter.d.ts +0 -10
- package/lib/LeadsEndPoint.d.ts +0 -66
- package/lib/Lesson.d.ts +0 -12
- package/lib/MaintenanceFilter.d.ts +0 -12
- package/lib/MyAuthEndPoint.d.ts +0 -24
- package/lib/MyBookingsEndPoint.d.ts +0 -38
- package/lib/MyFlightsEndPoint.d.ts +0 -43
- package/lib/OnBoard.d.ts +0 -7
- package/lib/PostFlightData.d.ts +0 -37
- package/lib/PostFlightInfo.d.ts +0 -42
- package/lib/PreFlightData.d.ts +0 -37
- package/lib/ReFuel.d.ts +0 -6
- package/lib/TimeDataPoint.d.ts +0 -5
- package/lib/Tuple.d.ts +0 -5
- package/lib/UserFilter.d.ts +0 -12
- package/lib/services.export.d.ts +0 -28
- package/utils/index.d.ts +0 -7
- /package/lib/{ADSBCategoryCode.d.ts → model/ADSBCategoryCode.d.ts} +0 -0
- /package/lib/{ADSBSourceFlag.d.ts → model/ADSBSourceFlag.d.ts} +0 -0
- /package/lib/{AccountStatusCode.d.ts → model/AccountStatusCode.d.ts} +0 -0
- /package/lib/{Address.d.ts → model/Address.d.ts} +0 -0
- /package/lib/{AirplaneStatusCode.d.ts → model/AirplaneStatusCode.d.ts} +0 -0
- /package/lib/{AirplaneValidationFlag.d.ts → model/AirplaneValidationFlag.d.ts} +0 -0
- /package/lib/{AnyKeyValue.d.ts → model/AnyKeyValue.d.ts} +0 -0
- /package/lib/{BaseEntity.d.ts → model/BaseEntity.d.ts} +0 -0
- /package/lib/{BaseEntityEx.d.ts → model/BaseEntityEx.d.ts} +0 -0
- /package/lib/{BillingRecord.d.ts → model/BillingRecord.d.ts} +0 -0
- /package/lib/{BillingStatusCode.d.ts → model/BillingStatusCode.d.ts} +0 -0
- /package/lib/{BookingTypeFlag.d.ts → model/BookingTypeFlag.d.ts} +0 -0
- /package/lib/{CampaignStatusCode.d.ts → model/CampaignStatusCode.d.ts} +0 -0
- /package/lib/{CampaignTypeCode.d.ts → model/CampaignTypeCode.d.ts} +0 -0
- /package/lib/{ConfirmStatusCode.d.ts → model/ConfirmStatusCode.d.ts} +0 -0
- /package/lib/{CrewDutyDayRisks.d.ts → model/CrewDutyDayRisks.d.ts} +0 -0
- /package/lib/{CurrencyCode.d.ts → model/CurrencyCode.d.ts} +0 -0
- /package/lib/{DepartureRisks.d.ts → model/DepartureRisks.d.ts} +0 -0
- /package/lib/{DestinationRisks.d.ts → model/DestinationRisks.d.ts} +0 -0
- /package/lib/{DocumentRevision.d.ts → model/DocumentRevision.d.ts} +0 -0
- /package/lib/{Engine.d.ts → model/Engine.d.ts} +0 -0
- /package/lib/{FilterFlag.d.ts → model/FilterFlag.d.ts} +0 -0
- /package/lib/{FlightStateCode.d.ts → model/FlightStateCode.d.ts} +0 -0
- /package/lib/{FlightStatusCode.d.ts → model/FlightStatusCode.d.ts} +0 -0
- /package/lib/{Fuel.d.ts → model/Fuel.d.ts} +0 -0
- /package/lib/{IntKeyValue.d.ts → model/IntKeyValue.d.ts} +0 -0
- /package/lib/{LeadStatusCode.d.ts → model/LeadStatusCode.d.ts} +0 -0
- /package/lib/{Location.d.ts → model/Location.d.ts} +0 -0
- /package/lib/{LoginParams.d.ts → model/LoginParams.d.ts} +0 -0
- /package/lib/{Magneto.d.ts → model/Magneto.d.ts} +0 -0
- /package/lib/{MaintenanceActionCode.d.ts → model/MaintenanceActionCode.d.ts} +0 -0
- /package/lib/{MessageTypeCode.d.ts → model/MessageTypeCode.d.ts} +0 -0
- /package/lib/{Mitigation.d.ts → model/Mitigation.d.ts} +0 -0
- /package/lib/{ModuleCode.d.ts → model/ModuleCode.d.ts} +0 -0
- /package/lib/{OperatorCode.d.ts → model/OperatorCode.d.ts} +0 -0
- /package/lib/{PaymentMethodCode.d.ts → model/PaymentMethodCode.d.ts} +0 -0
- /package/lib/{PermissionFlag.d.ts → model/PermissionFlag.d.ts} +0 -0
- /package/lib/{PilotQualificationsRisks.d.ts → model/PilotQualificationsRisks.d.ts} +0 -0
- /package/lib/{PriorityCode.d.ts → model/PriorityCode.d.ts} +0 -0
- /package/lib/{Propeller.d.ts → model/Propeller.d.ts} +0 -0
- /package/lib/{SpecialRisks.d.ts → model/SpecialRisks.d.ts} +0 -0
- /package/lib/{StatusCode.d.ts → model/StatusCode.d.ts} +0 -0
- /package/lib/{StringKeyValue.d.ts → model/StringKeyValue.d.ts} +0 -0
- /package/lib/{TOLData.d.ts → model/TOLData.d.ts} +0 -0
- /package/lib/{TicketStatusCode.d.ts → model/TicketStatusCode.d.ts} +0 -0
- /package/lib/{TimeFrame.d.ts → model/TimeFrame.d.ts} +0 -0
- /package/lib/{TripRisks.d.ts → model/TripRisks.d.ts} +0 -0
- /package/lib/{UserRoleFlag.d.ts → model/UserRoleFlag.d.ts} +0 -0
- /package/lib/{UserStatusCode.d.ts → model/UserStatusCode.d.ts} +0 -0
- /package/lib/{UserTypeCode.d.ts → model/UserTypeCode.d.ts} +0 -0
- /package/lib/{WeatherRisks.d.ts → model/WeatherRisks.d.ts} +0 -0
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntityResponse } from '../model';
|
|
4
|
+
import { Contact } from '../model';
|
|
5
|
+
import { ActionResponse } from '../model';
|
|
6
|
+
import { FlightCategoryCode } from '../model';
|
|
7
|
+
import { Certificate } from '../model';
|
|
8
|
+
import { Flight } from '../model';
|
|
9
|
+
import { MessageConfirm } from '../model';
|
|
10
|
+
import { TypeRatingFlag } from '../model';
|
|
11
|
+
import { FlightStatusCode } from '../model';
|
|
12
|
+
import { FlightStateCode } from '../model';
|
|
13
|
+
import { StatusCode } from '../model';
|
|
14
|
+
import { LicenseKindFlag } from '../model';
|
|
15
|
+
import { EntitiesResponse } from '../model';
|
|
16
|
+
import { StringKeyValue } from '../model';
|
|
17
|
+
import { FlightTypeCode } from '../model';
|
|
18
|
+
import { FlightPurposeCode } from '../model';
|
|
19
|
+
import { Document } from '../model';
|
|
20
|
+
import { Syllabus } from '../model';
|
|
9
21
|
import * as i0 from "@angular/core";
|
|
10
22
|
export declare class ContactsEndPoint {
|
|
11
23
|
private config;
|
|
12
24
|
private rest;
|
|
13
25
|
private baseUrl;
|
|
14
|
-
constructor(config:
|
|
26
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
15
27
|
/**
|
|
16
28
|
* Get new and empty contact template
|
|
17
29
|
*/
|
|
@@ -35,23 +47,23 @@ export declare class ContactsEndPoint {
|
|
|
35
47
|
/**
|
|
36
48
|
* Find contacts by query
|
|
37
49
|
*/
|
|
38
|
-
find(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Contact>>;
|
|
50
|
+
find(search?: string, status?: StatusCode[], isPilot?: boolean, plan?: FlightCategoryCode[], typesRating?: TypeRatingFlag[], licenseKind?: LicenseKindFlag[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Contact>>;
|
|
39
51
|
/**
|
|
40
52
|
* Lookup contacts ID->Name by filter
|
|
41
53
|
*/
|
|
42
|
-
lookup(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
54
|
+
lookup(search?: string, status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
43
55
|
/**
|
|
44
56
|
* Lookup only contacts that are active pilots ID->Name by filter
|
|
45
57
|
*/
|
|
46
|
-
lookupPilots(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
58
|
+
lookupPilots(search?: string, status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
47
59
|
/**
|
|
48
60
|
* Find contact certificates by query
|
|
49
61
|
*/
|
|
50
|
-
findCertificates(id?: string, search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Certificate>>;
|
|
62
|
+
findCertificates(id?: string, search?: string, status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Certificate>>;
|
|
51
63
|
/**
|
|
52
64
|
* Find contact related flights by query
|
|
53
65
|
*/
|
|
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>>;
|
|
66
|
+
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
67
|
/**
|
|
56
68
|
* Find message confirmations for this contact
|
|
57
69
|
*/
|
|
@@ -60,6 +72,10 @@ export declare class ContactsEndPoint {
|
|
|
60
72
|
* Find related documents for this contact
|
|
61
73
|
*/
|
|
62
74
|
findDocuments(id?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Document>>;
|
|
75
|
+
/**
|
|
76
|
+
* Find contact related syllabus items
|
|
77
|
+
*/
|
|
78
|
+
getSyllabus(id?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Syllabus>>;
|
|
63
79
|
/**
|
|
64
80
|
* Find contact related flights for student sheet (all flights of type LESSON that the student is captain of first officer)
|
|
65
81
|
*/
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntityResponse } from '../model';
|
|
4
|
+
import { ContactGroup } from '../model';
|
|
5
|
+
import { ActionResponse } from '../model';
|
|
6
|
+
import { EntitiesResponse } from '../model';
|
|
7
|
+
import { StringKeyValue } from '../model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ContactsGroupsEndPoint {
|
|
10
|
+
private config;
|
|
11
|
+
private rest;
|
|
12
|
+
private baseUrl;
|
|
13
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
14
|
+
/**
|
|
15
|
+
* Get new and empty flight template
|
|
16
|
+
*/
|
|
17
|
+
new(): import("rxjs").Observable<EntityResponse<ContactGroup>>;
|
|
18
|
+
/**
|
|
19
|
+
* Create new group
|
|
20
|
+
*/
|
|
21
|
+
create(body?: ContactGroup): import("rxjs").Observable<EntityResponse<ContactGroup>>;
|
|
22
|
+
/**
|
|
23
|
+
* Update existing group
|
|
24
|
+
*/
|
|
25
|
+
update(body?: ContactGroup): import("rxjs").Observable<EntityResponse<ContactGroup>>;
|
|
26
|
+
/**
|
|
27
|
+
* Delete group and all its content
|
|
28
|
+
*/
|
|
29
|
+
delete(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Get a single group by id
|
|
32
|
+
*/
|
|
33
|
+
get(id?: string): import("rxjs").Observable<EntityResponse<ContactGroup>>;
|
|
34
|
+
/**
|
|
35
|
+
* Find groups by query
|
|
36
|
+
*/
|
|
37
|
+
find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<ContactGroup>>;
|
|
38
|
+
/**
|
|
39
|
+
* Lookup contacts-groups ID->Name by filter
|
|
40
|
+
*/
|
|
41
|
+
lookup(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContactsGroupsEndPoint, never>;
|
|
43
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContactsGroupsEndPoint>;
|
|
44
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { ActionResponse } from '../model';
|
|
4
|
+
import { EntitiesResponse } from '../model';
|
|
5
|
+
import { EntityResponse } from '../model';
|
|
6
|
+
import { Credit } from '../model';
|
|
4
7
|
import * as i0 from "@angular/core";
|
|
5
8
|
export declare class CreditsEndPoint {
|
|
6
9
|
private config;
|
|
7
10
|
private rest;
|
|
8
11
|
private baseUrl;
|
|
9
|
-
constructor(config:
|
|
12
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
10
13
|
/**
|
|
11
14
|
* Get new and empty credit template
|
|
12
15
|
*/
|
|
@@ -43,6 +46,10 @@ export declare class CreditsEndPoint {
|
|
|
43
46
|
* Delete reference document
|
|
44
47
|
*/
|
|
45
48
|
deleteReference(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Recalculate account credits for all flights
|
|
51
|
+
*/
|
|
52
|
+
recalculateCreditsForFlights(accountId?: string): import("rxjs").Observable<ActionResponse>;
|
|
46
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<CreditsEndPoint, never>;
|
|
47
54
|
static ɵprov: i0.ɵɵInjectableDeclaration<CreditsEndPoint>;
|
|
48
55
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntitiesResponse } from '../model';
|
|
4
|
+
import { StorageItem } from '../model';
|
|
5
|
+
import { EntityResponse } from '../model';
|
|
6
|
+
import { Document } from '../model';
|
|
7
|
+
import { ActionResponse } from '../model';
|
|
4
8
|
import * as i0 from "@angular/core";
|
|
5
9
|
export declare class DocumentsEndPoint {
|
|
6
10
|
private config;
|
|
7
11
|
private rest;
|
|
8
12
|
private baseUrl;
|
|
9
|
-
constructor(config:
|
|
13
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
10
14
|
/**
|
|
11
15
|
* Get new and empty document template
|
|
12
16
|
*/
|
|
@@ -35,6 +39,14 @@ export declare class DocumentsEndPoint {
|
|
|
35
39
|
* Get a single document by linked entity ID
|
|
36
40
|
*/
|
|
37
41
|
linkedDocument(id?: string): import("rxjs").Observable<EntityResponse<Document>>;
|
|
42
|
+
/**
|
|
43
|
+
* Get a list of files from the base storage
|
|
44
|
+
*/
|
|
45
|
+
listFiles(root?: string): import("rxjs").Observable<EntitiesResponse<StorageItem>>;
|
|
46
|
+
/**
|
|
47
|
+
* Get a list of files and folders from the folder in Google Drive defined as Library
|
|
48
|
+
*/
|
|
49
|
+
broseLibrary(root?: string): import("rxjs").Observable<EntitiesResponse<StorageItem>>;
|
|
38
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentsEndPoint, never>;
|
|
39
51
|
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentsEndPoint>;
|
|
40
52
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntityResponse } from '../model';
|
|
4
|
+
import { FlightTicket } from '../model';
|
|
5
|
+
import { ActionResponse } from '../model';
|
|
6
|
+
import { TicketStatusCode } from '../model';
|
|
7
|
+
import { EntitiesResponse } from '../model';
|
|
4
8
|
import * as i0 from "@angular/core";
|
|
5
9
|
export declare class FlightTicketsEndPoint {
|
|
6
10
|
private config;
|
|
7
11
|
private rest;
|
|
8
12
|
private baseUrl;
|
|
9
|
-
constructor(config:
|
|
13
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
10
14
|
/**
|
|
11
15
|
* Get new and empty flightTicket template
|
|
12
16
|
*/
|
|
@@ -30,7 +34,7 @@ export declare class FlightTicketsEndPoint {
|
|
|
30
34
|
/**
|
|
31
35
|
* Find flightTickets by query
|
|
32
36
|
*/
|
|
33
|
-
find(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<FlightTicket>>;
|
|
37
|
+
find(search?: string, status?: TicketStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<FlightTicket>>;
|
|
34
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<FlightTicketsEndPoint, never>;
|
|
35
39
|
static ɵprov: i0.ɵɵInjectableDeclaration<FlightTicketsEndPoint>;
|
|
36
40
|
}
|
|
@@ -1,19 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntityResponse } from '../model';
|
|
4
|
+
import { Distribution } from '../model';
|
|
5
|
+
import { Contact } from '../model';
|
|
6
|
+
import { Entities } from '../model';
|
|
7
|
+
import { FlightStatusCode } from '../model';
|
|
8
|
+
import { BillingStatusCode } from '../model';
|
|
9
|
+
import { FlightPlan } from '../model';
|
|
10
|
+
import { Point } from '../model';
|
|
11
|
+
import { FlightClassCode } from '../model';
|
|
12
|
+
import { Flight } from '../model';
|
|
13
|
+
import { ActionResponse } from '../model';
|
|
14
|
+
import { AnyKeyValue } from '../model';
|
|
15
|
+
import { FlightPurposeCode } from '../model';
|
|
16
|
+
import { EntitiesResponse } from '../model';
|
|
17
|
+
import { TimeSeries } from '../model';
|
|
18
|
+
import { PostFlightInfo } from '../model';
|
|
19
|
+
import { FlightTypeCode } from '../model';
|
|
20
|
+
import { FlightTicket } from '../model';
|
|
21
|
+
import { PreFlightInfo } from '../model';
|
|
11
22
|
import * as i0 from "@angular/core";
|
|
12
23
|
export declare class FlightsEndPoint {
|
|
13
24
|
private config;
|
|
14
25
|
private rest;
|
|
15
26
|
private baseUrl;
|
|
16
|
-
constructor(config:
|
|
27
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
17
28
|
/**
|
|
18
29
|
* Get new and empty flight template
|
|
19
30
|
*/
|
|
@@ -49,11 +60,15 @@ export declare class FlightsEndPoint {
|
|
|
49
60
|
/**
|
|
50
61
|
* Find flights by query
|
|
51
62
|
*/
|
|
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>>;
|
|
63
|
+
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>>;
|
|
64
|
+
/**
|
|
65
|
+
* Download all flights by filter as XLSX document
|
|
66
|
+
*/
|
|
67
|
+
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>>;
|
|
53
68
|
/**
|
|
54
69
|
* Find flights count histogram over time (up to last 30 days)
|
|
55
70
|
*/
|
|
56
|
-
histogram(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, type?: [], status?: [], billing?: [], purpose?: []): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
71
|
+
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>>>;
|
|
57
72
|
/**
|
|
58
73
|
* Get flight plans data for gantt, the result size is limited to 1000 entries
|
|
59
74
|
*/
|
|
@@ -62,6 +77,22 @@ export declare class FlightsEndPoint {
|
|
|
62
77
|
* Get flight plans schedule for specific month, the result size is limited to 1000 entries
|
|
63
78
|
*/
|
|
64
79
|
schedule(year?: number, month?: number): import("rxjs").Observable<EntitiesResponse<FlightPlan>>;
|
|
80
|
+
/**
|
|
81
|
+
* Get monthly daily flight hours for specific month, for income forecast
|
|
82
|
+
*/
|
|
83
|
+
monthlyHours(year?: number, month?: number, airplaneId?: string): import("rxjs").Observable<EntityResponse<TimeSeries<Point>>>;
|
|
84
|
+
/**
|
|
85
|
+
* Get monthly flight hours distribution by class for specific month
|
|
86
|
+
*/
|
|
87
|
+
monthlyHoursDistributionByClass(year?: number, month?: number, airplaneId?: string): import("rxjs").Observable<EntityResponse<Distribution<FlightClassCode, number>>>;
|
|
88
|
+
/**
|
|
89
|
+
* Get monthly flight hours distribution by airplane for specific month
|
|
90
|
+
*/
|
|
91
|
+
monthlyHoursDistributionByAirplane(year?: number, month?: number): import("rxjs").Observable<EntityResponse<Distribution<string, number>>>;
|
|
92
|
+
/**
|
|
93
|
+
* Get monthly flight number distribution by flight status for specific month
|
|
94
|
+
*/
|
|
95
|
+
monthlyFlightsDistributionByStatus(year?: number, month?: number, airplaneId?: string): import("rxjs").Observable<EntityResponse<Distribution<FlightStatusCode, number>>>;
|
|
65
96
|
/**
|
|
66
97
|
* Find list of contacts (pilot / first officer) on this flight
|
|
67
98
|
*/
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Group } from '
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntityResponse } from '../model';
|
|
4
|
+
import { Group } from '../model';
|
|
5
|
+
import { ActionResponse } from '../model';
|
|
6
|
+
import { EntitiesResponse } from '../model';
|
|
7
|
+
import { StringKeyValue } from '../model';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
9
|
export declare class GroupsEndPoint {
|
|
7
10
|
private config;
|
|
8
11
|
private rest;
|
|
9
12
|
private baseUrl;
|
|
10
|
-
constructor(config:
|
|
13
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
14
|
+
/**
|
|
15
|
+
* Get new and empty flight template
|
|
16
|
+
*/
|
|
17
|
+
new(): import("rxjs").Observable<EntityResponse<Group>>;
|
|
11
18
|
/**
|
|
12
19
|
* Create new group
|
|
13
20
|
*/
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { Point } from '../model';
|
|
4
|
+
import { IntEnumValue } from '../model';
|
|
5
|
+
import { IntKeyValue } from '../model';
|
|
6
|
+
import { EntityResponse } from '../model';
|
|
7
|
+
import { Lead } from '../model';
|
|
8
|
+
import { LeadStatusCode } from '../model';
|
|
9
|
+
import { EntitiesResponse } from '../model';
|
|
10
|
+
import { TimeSeries } from '../model';
|
|
11
|
+
import { Booking } from '../model';
|
|
12
|
+
import { ActionResponse } from '../model';
|
|
13
|
+
import { LeadAction } from '../model';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
export declare class LeadsEndPoint {
|
|
16
|
+
private config;
|
|
17
|
+
private rest;
|
|
18
|
+
private baseUrl;
|
|
19
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
20
|
+
/**
|
|
21
|
+
* Get new and empty lead template
|
|
22
|
+
*/
|
|
23
|
+
new(): import("rxjs").Observable<EntityResponse<Lead>>;
|
|
24
|
+
/**
|
|
25
|
+
* Create new lead
|
|
26
|
+
*/
|
|
27
|
+
create(body?: Lead): import("rxjs").Observable<EntityResponse<Lead>>;
|
|
28
|
+
/**
|
|
29
|
+
* Update existing lead
|
|
30
|
+
*/
|
|
31
|
+
update(body?: Lead): import("rxjs").Observable<EntityResponse<Lead>>;
|
|
32
|
+
/**
|
|
33
|
+
* Update existing lead
|
|
34
|
+
*/
|
|
35
|
+
changeStatus(id?: string, status?: LeadStatusCode): import("rxjs").Observable<EntityResponse<Lead>>;
|
|
36
|
+
/**
|
|
37
|
+
* Delete lead and all its content
|
|
38
|
+
*/
|
|
39
|
+
delete(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Get a single lead by id
|
|
42
|
+
*/
|
|
43
|
+
get(id?: string): import("rxjs").Observable<EntityResponse<Lead>>;
|
|
44
|
+
/**
|
|
45
|
+
* Find leads by query
|
|
46
|
+
*/
|
|
47
|
+
find(search?: string, status?: LeadStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Lead>>;
|
|
48
|
+
/**
|
|
49
|
+
* Find lead count histogram over time
|
|
50
|
+
*/
|
|
51
|
+
histogram(from?: number, to?: number, search?: string, status?: LeadStatusCode[]): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
|
|
52
|
+
/**
|
|
53
|
+
* Add follow-up lead action
|
|
54
|
+
*/
|
|
55
|
+
addFollowUpAction(id?: string, description?: string): import("rxjs").Observable<EntityResponse<Lead>>;
|
|
56
|
+
/**
|
|
57
|
+
* Create new lead action
|
|
58
|
+
*/
|
|
59
|
+
createAction(body?: LeadAction): import("rxjs").Observable<EntityResponse<LeadAction>>;
|
|
60
|
+
/**
|
|
61
|
+
* Update existing lead action
|
|
62
|
+
*/
|
|
63
|
+
updateAction(body?: LeadAction): import("rxjs").Observable<EntityResponse<LeadAction>>;
|
|
64
|
+
/**
|
|
65
|
+
* Delete lead action
|
|
66
|
+
*/
|
|
67
|
+
deleteAction(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Get all lead actions
|
|
70
|
+
*/
|
|
71
|
+
getActions(id?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<LeadAction>>;
|
|
72
|
+
/**
|
|
73
|
+
* Insert or update lead action and return list of all actions
|
|
74
|
+
*/
|
|
75
|
+
upsertAndGetActions(body?: LeadAction): import("rxjs").Observable<EntitiesResponse<LeadAction>>;
|
|
76
|
+
/**
|
|
77
|
+
* Delete lead action and return list of all actions
|
|
78
|
+
*/
|
|
79
|
+
deleteAndGetActions(id?: string): import("rxjs").Observable<EntitiesResponse<LeadAction>>;
|
|
80
|
+
/**
|
|
81
|
+
* Change the lead create time to make it pop in the provided time
|
|
82
|
+
*/
|
|
83
|
+
snooze(id?: string, ts?: number): import("rxjs").Observable<EntityResponse<Lead>>;
|
|
84
|
+
/**
|
|
85
|
+
* Get bookings schedule for specific month, the result size is limited to 1000 entries
|
|
86
|
+
*/
|
|
87
|
+
bookingsSchedule(year?: number, month?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
|
|
88
|
+
/**
|
|
89
|
+
* Insert or update flight booking for this lead in the provided timestamp
|
|
90
|
+
*/
|
|
91
|
+
setBooking(id?: string, ts?: number): import("rxjs").Observable<ActionResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Delete lead booking
|
|
94
|
+
*/
|
|
95
|
+
deleteBooking(id?: string): import("rxjs").Observable<ActionResponse>;
|
|
96
|
+
/**
|
|
97
|
+
* Get monthly daily leads for specific month, for sales insights
|
|
98
|
+
*/
|
|
99
|
+
monthlyLeads(year?: number, month?: number): import("rxjs").Observable<EntityResponse<TimeSeries<Point>>>;
|
|
100
|
+
/**
|
|
101
|
+
* Get monthly leads distribution by status for specific month, for sales insights
|
|
102
|
+
*/
|
|
103
|
+
countByStatus(year?: number, month?: number): import("rxjs").Observable<EntitiesResponse<IntEnumValue>>;
|
|
104
|
+
/**
|
|
105
|
+
* Get monthly leads distribution by source for specific month, for sales insights
|
|
106
|
+
*/
|
|
107
|
+
countBySource(year?: number, month?: number): import("rxjs").Observable<EntitiesResponse<IntKeyValue>>;
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LeadsEndPoint, never>;
|
|
109
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LeadsEndPoint>;
|
|
110
|
+
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { Lookup } from '../model';
|
|
4
|
+
import { EntityResponse } from '../model';
|
|
5
|
+
import { ActionResponse } from '../model';
|
|
6
|
+
import { EntitiesResponse } from '../model';
|
|
7
|
+
import { LookupGroup } from '../model';
|
|
5
8
|
import * as i0 from "@angular/core";
|
|
6
9
|
export declare class LookupsEndPoint {
|
|
7
10
|
private config;
|
|
8
11
|
private rest;
|
|
9
12
|
private baseUrl;
|
|
10
|
-
constructor(config:
|
|
13
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
11
14
|
/**
|
|
12
15
|
* Create new lookup
|
|
13
16
|
*/
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { StatusCode } from '../model';
|
|
4
|
+
import { EntitiesResponse } from '../model';
|
|
5
|
+
import { EntityResponse } from '../model';
|
|
6
|
+
import { Maintenance } from '../model';
|
|
7
|
+
import { ActionResponse } from '../model';
|
|
8
|
+
import { MaintenanceActionCode } from '../model';
|
|
4
9
|
import * as i0 from "@angular/core";
|
|
5
10
|
export declare class MaintenancesEndPoint {
|
|
6
11
|
private config;
|
|
7
12
|
private rest;
|
|
8
13
|
private baseUrl;
|
|
9
|
-
constructor(config:
|
|
14
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
10
15
|
/**
|
|
11
16
|
* Get new and empty maintenance template
|
|
12
17
|
*/
|
|
@@ -30,7 +35,7 @@ export declare class MaintenancesEndPoint {
|
|
|
30
35
|
/**
|
|
31
36
|
* Find maintenances by query
|
|
32
37
|
*/
|
|
33
|
-
find(search?: string, action?: [], status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Maintenance>>;
|
|
38
|
+
find(search?: string, airplaneId?: string, action?: MaintenanceActionCode[], status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Maintenance>>;
|
|
34
39
|
/**
|
|
35
40
|
* Upload maintenance reference document
|
|
36
41
|
*/
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { StringKeyValue } from '../model';
|
|
4
|
+
import { EntitiesResponse } from '../model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class McpToolsEndPoint {
|
|
7
|
+
private config;
|
|
8
|
+
private rest;
|
|
9
|
+
private baseUrl;
|
|
10
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
11
|
+
/**
|
|
12
|
+
* Lookup accounts ID->Name mapping
|
|
13
|
+
*/
|
|
14
|
+
accountsLookup(search?: string): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
15
|
+
/**
|
|
16
|
+
* Lookup contacts ID->Name mapping
|
|
17
|
+
*/
|
|
18
|
+
contactsLookup(search?: string): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
19
|
+
/**
|
|
20
|
+
* Lookup airplanes ID->Name mapping
|
|
21
|
+
*/
|
|
22
|
+
airplanesLookup(search?: string): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<McpToolsEndPoint, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<McpToolsEndPoint>;
|
|
25
|
+
}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { EntityResponse } from '../model';
|
|
4
|
+
import { MessageConfirm } from '../model';
|
|
5
|
+
import { ActionResponse } from '../model';
|
|
6
|
+
import { MessageTypeCode } from '../model';
|
|
7
|
+
import { ConfirmStatusCode } from '../model';
|
|
8
|
+
import { PriorityCode } from '../model';
|
|
9
|
+
import { EntitiesResponse } from '../model';
|
|
4
10
|
import * as i0 from "@angular/core";
|
|
5
11
|
export declare class MessageConfirmsEndPoint {
|
|
6
12
|
private config;
|
|
7
13
|
private rest;
|
|
8
14
|
private baseUrl;
|
|
9
|
-
constructor(config:
|
|
15
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
10
16
|
/**
|
|
11
17
|
* Get new and empty messageConfirm template
|
|
12
18
|
*/
|
|
@@ -30,7 +36,15 @@ export declare class MessageConfirmsEndPoint {
|
|
|
30
36
|
/**
|
|
31
37
|
* Find messageConfirms by query
|
|
32
38
|
*/
|
|
33
|
-
find(search?: string, messageId?: string, contactId?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<MessageConfirm>>;
|
|
39
|
+
find(search?: string, messageId?: string, contactId?: string, type?: MessageTypeCode[], status?: ConfirmStatusCode[], priority?: PriorityCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<MessageConfirm>>;
|
|
40
|
+
/**
|
|
41
|
+
* Find messages for contact
|
|
42
|
+
*/
|
|
43
|
+
findContactMessages(id?: string): import("rxjs").Observable<EntitiesResponse<MessageConfirm>>;
|
|
44
|
+
/**
|
|
45
|
+
* Confirm messages by contact
|
|
46
|
+
*/
|
|
47
|
+
confirmContactMessage(id?: string, msgId?: string): import("rxjs").Observable<ActionResponse>;
|
|
34
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageConfirmsEndPoint, never>;
|
|
35
49
|
static ɵprov: i0.ɵɵInjectableDeclaration<MessageConfirmsEndPoint>;
|
|
36
50
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { RestUtils } from '../../rest-utils';
|
|
2
|
+
import { AppConfig } from '../../config';
|
|
3
|
+
import { LoginParams } from '../model';
|
|
4
|
+
import { ActionResponse } from '../model';
|
|
5
|
+
import { EntityResponse } from '../model';
|
|
6
|
+
import { Contact } from '../model';
|
|
7
|
+
import { EntitiesResponse } from '../model';
|
|
8
|
+
import { Notification } from '../model';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class MyAuthEndPoint {
|
|
11
|
+
private config;
|
|
12
|
+
private rest;
|
|
13
|
+
private baseUrl;
|
|
14
|
+
constructor(config: AppConfig, rest: RestUtils);
|
|
15
|
+
/**
|
|
16
|
+
* Authenticate contact
|
|
17
|
+
*/
|
|
18
|
+
authenticate(body?: LoginParams): import("rxjs").Observable<ActionResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Authorize contact (the next version of authenticate which returns contact info including account type)
|
|
21
|
+
*/
|
|
22
|
+
authorize(body?: LoginParams): import("rxjs").Observable<EntityResponse<Contact>>;
|
|
23
|
+
/**
|
|
24
|
+
* Send SMS code
|
|
25
|
+
*/
|
|
26
|
+
sendCode(body?: LoginParams): import("rxjs").Observable<ActionResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* Send SMS code
|
|
29
|
+
*/
|
|
30
|
+
verifyCode(code?: string): import("rxjs").Observable<ActionResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Get notifications for user - to show in the dashboard
|
|
33
|
+
*/
|
|
34
|
+
getNotifications(): import("rxjs").Observable<EntitiesResponse<Notification>>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyAuthEndPoint, never>;
|
|
36
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MyAuthEndPoint>;
|
|
37
|
+
}
|