@aya-flights/ngx-goox-lib 2.19.1 → 2.19.2-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 +6287 -4579
- 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/{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} +132 -124
- 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} +25 -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,24 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountStatusCode } from '
|
|
3
|
-
import { Address } from '
|
|
4
|
-
import { BaseEntityEx } from '
|
|
1
|
+
import { AccountTypeCode } from './AccountTypeCode';
|
|
2
|
+
import { AccountStatusCode } from './AccountStatusCode';
|
|
3
|
+
import { Address } from './Address';
|
|
4
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
5
|
+
import { ColumnDef } from './ColumnDef';
|
|
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
|
-
fax: string;
|
|
12
13
|
mobile: string;
|
|
13
14
|
email: string;
|
|
14
|
-
|
|
15
|
-
shippingAddress: Address;
|
|
15
|
+
address: Address;
|
|
16
16
|
campaignId: string;
|
|
17
|
-
enableCredit: boolean;
|
|
18
17
|
currentCredit: number;
|
|
18
|
+
currentHobbs: number;
|
|
19
19
|
baseRate: number;
|
|
20
|
-
|
|
20
|
+
discount: number;
|
|
21
21
|
invoiceId: string;
|
|
22
|
-
get(field: string): any;
|
|
23
22
|
}
|
|
24
23
|
export declare function GetAccountColumnsDef(): ColumnDef[];
|
|
@@ -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>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AccountStatusCode } from './AccountStatusCode';
|
|
2
|
+
import { AccountTypeCode } from './AccountTypeCode';
|
|
3
|
+
export declare class AccountsFilter {
|
|
4
|
+
search: string;
|
|
5
|
+
status: AccountStatusCode[];
|
|
6
|
+
type: AccountTypeCode[];
|
|
7
|
+
sort: string;
|
|
8
|
+
page: number;
|
|
9
|
+
size: number;
|
|
10
|
+
props: Map<string, object>;
|
|
11
|
+
constructor(search?: string, status?: AccountStatusCode[], type?: AccountTypeCode[], sort?: string, page?: number, size?: number, props?: Map<string, object>);
|
|
12
|
+
}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { Magneto } from '
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { TypeRatingFlag } from './TypeRatingFlag';
|
|
2
|
+
import { AirplaneStatusCode } from './AirplaneStatusCode';
|
|
3
|
+
import { AirplaneValidationFlag } from './AirplaneValidationFlag';
|
|
4
|
+
import { Magneto } from './Magneto';
|
|
5
|
+
import { Fuel } from './Fuel';
|
|
6
|
+
import { WBConfig } from './WBConfig';
|
|
7
|
+
import { Engine } from './Engine';
|
|
8
|
+
import { Propeller } from './Propeller';
|
|
9
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
10
|
+
import { ColumnDef } from './ColumnDef';
|
|
9
11
|
export declare class Airplane extends BaseEntityEx {
|
|
10
12
|
name: string;
|
|
11
13
|
description: string;
|
|
12
14
|
model: string;
|
|
13
15
|
serialNo: string;
|
|
16
|
+
typeRating: TypeRatingFlag;
|
|
14
17
|
status: AirplaneStatusCode;
|
|
15
18
|
isActive: boolean;
|
|
16
19
|
hobs: number;
|
|
@@ -28,6 +31,6 @@ export declare class Airplane extends BaseEntityEx {
|
|
|
28
31
|
propeller: Propeller;
|
|
29
32
|
fuel: Fuel;
|
|
30
33
|
documents: string[];
|
|
31
|
-
|
|
34
|
+
wbConfig: WBConfig;
|
|
32
35
|
}
|
|
33
36
|
export declare function GetAirplaneColumnsDef(): ColumnDef[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AirplaneStatusCode } from './AirplaneStatusCode';
|
|
2
|
+
export declare class AirplanesFilter {
|
|
3
|
+
search: string;
|
|
4
|
+
status: AirplaneStatusCode[];
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
sort: string;
|
|
7
|
+
page: number;
|
|
8
|
+
size: number;
|
|
9
|
+
props: Map<string, object>;
|
|
10
|
+
constructor(search?: string, status?: AirplaneStatusCode[], isActive?: boolean, sort?: string, page?: number, size?: number, props?: Map<string, object>);
|
|
11
|
+
}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { Tuple } from '.';
|
|
2
2
|
export declare enum AssessmentCode {
|
|
3
3
|
UNDEFINED = 0,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
UNSATISFACTORY = 4,
|
|
8
|
-
INCOMPLETE = 5,
|
|
9
|
-
REPEAT = 6,
|
|
10
|
-
DEMO = 7
|
|
4
|
+
SATISFACTORY = 1,
|
|
5
|
+
UNSATISFACTORY = 2,
|
|
6
|
+
INCOMPLETE = 3
|
|
11
7
|
}
|
|
12
8
|
export declare function GetAssessmentCodes(): Tuple<AssessmentCode, string>[];
|
|
13
9
|
export declare function MapAssessmentCodes(): Map<AssessmentCode, string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { UserTypeCode } from './UserTypeCode';
|
|
2
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
3
|
+
import { ColumnDef } from './ColumnDef';
|
|
4
4
|
export declare class AuditLog extends BaseEntityEx {
|
|
5
5
|
userId: string;
|
|
6
6
|
userType: UserTypeCode;
|
|
@@ -10,6 +10,5 @@ export declare class AuditLog extends BaseEntityEx {
|
|
|
10
10
|
itemName: string;
|
|
11
11
|
beforeChange: string;
|
|
12
12
|
afterChange: string;
|
|
13
|
-
get(field: string): any;
|
|
14
13
|
}
|
|
15
14
|
export declare function GetAuditLogColumnsDef(): ColumnDef[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TimeFrame } from './TimeFrame';
|
|
2
|
+
export declare class AuditLogFilter {
|
|
3
|
+
search: string;
|
|
4
|
+
period: TimeFrame;
|
|
5
|
+
userId: string;
|
|
6
|
+
action: string;
|
|
7
|
+
itemType: string;
|
|
8
|
+
itemId: string;
|
|
9
|
+
itemName: string;
|
|
10
|
+
sort: string;
|
|
11
|
+
page: number;
|
|
12
|
+
size: number;
|
|
13
|
+
props: Map<string, object>;
|
|
14
|
+
constructor(search?: string, period?: TimeFrame, userId?: string, action?: string, itemType?: string, itemId?: string, itemName?: string, sort?: string, page?: number, size?: number, props?: Map<string, object>);
|
|
15
|
+
}
|
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { BookingTypeFlag } from './BookingTypeFlag';
|
|
2
|
+
import { BookingStatusCode } from './BookingStatusCode';
|
|
3
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
4
|
+
import { ColumnDef } from './ColumnDef';
|
|
5
5
|
export declare class Booking extends BaseEntityEx {
|
|
6
6
|
name: string;
|
|
7
|
-
title: string;
|
|
8
7
|
accountId: string;
|
|
9
8
|
contactId: string;
|
|
9
|
+
captain: string;
|
|
10
|
+
firstOfficer: string;
|
|
10
11
|
requestedBy: string;
|
|
12
|
+
requestedNotes: string;
|
|
11
13
|
type: BookingTypeFlag;
|
|
14
|
+
isPatterns: boolean;
|
|
12
15
|
airplaneId: string;
|
|
13
16
|
placementOn: number;
|
|
14
17
|
placementTo: number;
|
|
15
18
|
status: BookingStatusCode;
|
|
19
|
+
comments: string;
|
|
20
|
+
destination: string;
|
|
16
21
|
flightId: string;
|
|
17
22
|
slotId: string;
|
|
18
|
-
|
|
23
|
+
leadId: string;
|
|
19
24
|
}
|
|
20
25
|
export declare function GetBookingColumnsDef(): ColumnDef[];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FlightPurposeCode } from './FlightPurposeCode';
|
|
2
|
+
import { FlightStatusCode } from './FlightStatusCode';
|
|
3
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
4
|
+
import { BookingTypeFlag } from './BookingTypeFlag';
|
|
5
|
+
import { ColumnDef } from './ColumnDef';
|
|
6
|
+
export declare class BookingPlan extends BaseEntityEx {
|
|
7
|
+
name: string;
|
|
8
|
+
description: string;
|
|
9
|
+
isFlight: boolean;
|
|
10
|
+
accountId: string;
|
|
11
|
+
accountName: string;
|
|
12
|
+
airplaneId: string;
|
|
13
|
+
airplaneName: string;
|
|
14
|
+
type: BookingTypeFlag;
|
|
15
|
+
placementOn: number;
|
|
16
|
+
placementTo: number;
|
|
17
|
+
flightNumber: number;
|
|
18
|
+
flightId: string;
|
|
19
|
+
flightPurpose: FlightPurposeCode;
|
|
20
|
+
flightStatus: FlightStatusCode;
|
|
21
|
+
}
|
|
22
|
+
export declare function GetBookingPlanColumnsDef(): ColumnDef[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseEntityEx } from '
|
|
2
|
-
import { ColumnDef } from '
|
|
1
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
2
|
+
import { ColumnDef } from './ColumnDef';
|
|
3
3
|
export declare class BookingSlot extends BaseEntityEx {
|
|
4
4
|
from: number;
|
|
5
5
|
to: number;
|
|
@@ -7,6 +7,6 @@ export declare class BookingSlot extends BaseEntityEx {
|
|
|
7
7
|
isFree: boolean;
|
|
8
8
|
accountId: string;
|
|
9
9
|
contactId: string;
|
|
10
|
-
|
|
10
|
+
bookingId: string;
|
|
11
11
|
}
|
|
12
12
|
export declare function GetBookingSlotColumnsDef(): ColumnDef[];
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { BaseEntityEx } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
2
|
+
import { BookingSlot } from './BookingSlot';
|
|
3
|
+
import { ColumnDef } from './ColumnDef';
|
|
4
4
|
export declare class BookingSlots extends BaseEntityEx {
|
|
5
5
|
day: number;
|
|
6
6
|
slots: BookingSlot[];
|
|
7
|
-
get(field: string): any;
|
|
8
7
|
}
|
|
9
8
|
export declare function GetBookingSlotsColumnsDef(): ColumnDef[];
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BookingSlot } from '
|
|
3
|
-
import {
|
|
1
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
2
|
+
import { BookingSlot } from './BookingSlot';
|
|
3
|
+
import { ColumnDef } from './ColumnDef';
|
|
4
4
|
export declare class BookingSlotsSet extends BaseEntityEx {
|
|
5
5
|
year: number;
|
|
6
6
|
month: number;
|
|
7
7
|
addSlots: BookingSlot[];
|
|
8
8
|
delSlots: BookingSlot[];
|
|
9
|
-
get(field: string): any;
|
|
10
9
|
}
|
|
11
10
|
export declare function GetBookingSlotsSetColumnsDef(): ColumnDef[];
|
|
@@ -6,8 +6,10 @@ export declare enum BookingStatusCode {
|
|
|
6
6
|
REJECTED = 3,
|
|
7
7
|
CONFIRMED = 4,
|
|
8
8
|
CANCELLED = 5,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
FLIGHT_LAUNCHED = 6,
|
|
10
|
+
FLIGHT_CANCELLED = 7,
|
|
11
|
+
FLIGHT_COMPLETED = 8,
|
|
12
|
+
FLIGHT_ABORTED = 9
|
|
11
13
|
}
|
|
12
14
|
export declare function GetBookingStatusCodes(): Tuple<BookingStatusCode, string>[];
|
|
13
15
|
export declare function MapBookingStatusCodes(): Map<BookingStatusCode, string>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TimeFrame } from './TimeFrame';
|
|
2
|
+
import { BookingStatusCode } from './BookingStatusCode';
|
|
3
|
+
export declare class BookingsFilter {
|
|
4
|
+
search: string;
|
|
5
|
+
period: TimeFrame;
|
|
6
|
+
accountId: string;
|
|
7
|
+
contactId: string;
|
|
8
|
+
airplaneId: string;
|
|
9
|
+
status: BookingStatusCode[];
|
|
10
|
+
sort: string;
|
|
11
|
+
page: number;
|
|
12
|
+
size: number;
|
|
13
|
+
props: Map<string, object>;
|
|
14
|
+
constructor(search?: string, period?: TimeFrame, accountId?: string, contactId?: string, airplaneId?: string, status?: BookingStatusCode[], sort?: string, page?: number, size?: number, props?: Map<string, object>);
|
|
15
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { CurrencyCode } from './CurrencyCode';
|
|
2
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
3
|
+
import { CampaignTypeCode } from './CampaignTypeCode';
|
|
4
|
+
import { CampaignStatusCode } from './CampaignStatusCode';
|
|
5
|
+
import { ColumnDef } from './ColumnDef';
|
|
6
6
|
export declare class Campaign extends BaseEntityEx {
|
|
7
7
|
name: string;
|
|
8
8
|
type: CampaignTypeCode;
|
|
@@ -16,6 +16,5 @@ export declare class Campaign extends BaseEntityEx {
|
|
|
16
16
|
expectedCost: number;
|
|
17
17
|
actualCost: number;
|
|
18
18
|
currency: CurrencyCode;
|
|
19
|
-
get(field: string): any;
|
|
20
19
|
}
|
|
21
20
|
export declare function GetCampaignColumnsDef(): ColumnDef[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ValidationFlag } from '
|
|
2
|
-
import { StatusCode } from '
|
|
3
|
-
import { BaseEntityEx } from '
|
|
4
|
-
import { ColumnDef } from '
|
|
1
|
+
import { ValidationFlag } from './ValidationFlag';
|
|
2
|
+
import { StatusCode } from './StatusCode';
|
|
3
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
4
|
+
import { ColumnDef } from './ColumnDef';
|
|
5
5
|
export declare class Certificate extends BaseEntityEx {
|
|
6
6
|
name: string;
|
|
7
7
|
type: ValidationFlag;
|
|
@@ -13,6 +13,5 @@ export declare class Certificate extends BaseEntityEx {
|
|
|
13
13
|
notifyAt: number;
|
|
14
14
|
subject: string;
|
|
15
15
|
message: string;
|
|
16
|
-
get(field: string): any;
|
|
17
16
|
}
|
|
18
17
|
export declare function GetCertificateColumnsDef(): ColumnDef[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StatusCode } from './StatusCode';
|
|
2
|
+
import { ValidationFlag } from './ValidationFlag';
|
|
3
|
+
import { TimeFrame } from './TimeFrame';
|
|
4
|
+
export declare class CertificatesFilter {
|
|
5
|
+
search: string;
|
|
6
|
+
contactId: string;
|
|
7
|
+
status: StatusCode[];
|
|
8
|
+
type: ValidationFlag[];
|
|
9
|
+
valid: TimeFrame;
|
|
10
|
+
sort: string;
|
|
11
|
+
page: number;
|
|
12
|
+
size: number;
|
|
13
|
+
props: Map<string, object>;
|
|
14
|
+
constructor(search?: string, contactId?: string, status?: StatusCode[], type?: ValidationFlag[], valid?: TimeFrame, sort?: string, page?: number, size?: number, props?: Map<string, object>);
|
|
15
|
+
}
|
|
@@ -5,6 +5,6 @@ export declare class ColumnDef {
|
|
|
5
5
|
format: string;
|
|
6
6
|
sort: number;
|
|
7
7
|
filterOp: number;
|
|
8
|
-
filter:
|
|
9
|
-
constructor(icon?: string, name?: string, type?: string, format?: string, sort?: number, filterOp?: number, filter?:
|
|
8
|
+
filter: any;
|
|
9
|
+
constructor(icon?: string, name?: string, type?: string, format?: string, sort?: number, filterOp?: number, filter?: any);
|
|
10
10
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { TypeRatingFlag } from './TypeRatingFlag';
|
|
2
|
+
import { LicenseKindFlag } from './LicenseKindFlag';
|
|
3
|
+
import { MedicalCertClassCode } from './MedicalCertClassCode';
|
|
4
|
+
import { ValidationFlag } from './ValidationFlag';
|
|
5
|
+
import { FlightCategoryCode } from './FlightCategoryCode';
|
|
6
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
7
|
+
import { AccountStatusCode } from './AccountStatusCode';
|
|
8
|
+
import { Address } from './Address';
|
|
9
|
+
import { ColumnDef } from './ColumnDef';
|
|
10
|
+
export declare class Contact extends BaseEntityEx {
|
|
11
|
+
accountId: string;
|
|
12
|
+
name: string;
|
|
13
|
+
enName: string;
|
|
14
|
+
description: string;
|
|
15
|
+
title: string;
|
|
16
|
+
birthDay: number;
|
|
17
|
+
status: AccountStatusCode;
|
|
18
|
+
phone: string;
|
|
19
|
+
mobile: string;
|
|
20
|
+
email: string;
|
|
21
|
+
address: Address;
|
|
22
|
+
groups: string[];
|
|
23
|
+
idNumber: string;
|
|
24
|
+
pilotLicense: string;
|
|
25
|
+
typesRating: TypeRatingFlag;
|
|
26
|
+
licenseKinds: LicenseKindFlag;
|
|
27
|
+
medicalCertificate: MedicalCertClassCode;
|
|
28
|
+
validations: ValidationFlag;
|
|
29
|
+
warningFlags: ValidationFlag;
|
|
30
|
+
isPilot: boolean;
|
|
31
|
+
instructor: string;
|
|
32
|
+
instructionPlan: FlightCategoryCode;
|
|
33
|
+
lastSignIn: number;
|
|
34
|
+
startToFlyDate: number;
|
|
35
|
+
authorizedToFlyBy: string;
|
|
36
|
+
authorizedPhotographyBy: string;
|
|
37
|
+
updateFlags: number;
|
|
38
|
+
}
|
|
39
|
+
export declare function GetContactColumnsDef(): ColumnDef[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StringKeyValue } from './StringKeyValue';
|
|
2
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
3
|
+
import { ColumnDef } from './ColumnDef';
|
|
4
|
+
export declare class ContactGroup extends BaseEntityEx {
|
|
5
|
+
name: string;
|
|
6
|
+
contacts: StringKeyValue[];
|
|
7
|
+
}
|
|
8
|
+
export declare function GetContactGroupColumnsDef(): ColumnDef[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StatusCode } from './StatusCode';
|
|
2
|
+
import { FlightCategoryCode } from './FlightCategoryCode';
|
|
3
|
+
import { TypeRatingFlag } from './TypeRatingFlag';
|
|
4
|
+
import { LicenseKindFlag } from './LicenseKindFlag';
|
|
5
|
+
export declare class ContactsFilter {
|
|
6
|
+
search: string;
|
|
7
|
+
status: StatusCode[];
|
|
8
|
+
isPilot: boolean;
|
|
9
|
+
plan: FlightCategoryCode[];
|
|
10
|
+
typesRating: TypeRatingFlag[];
|
|
11
|
+
licenseKinds: LicenseKindFlag[];
|
|
12
|
+
sort: string;
|
|
13
|
+
page: number;
|
|
14
|
+
size: number;
|
|
15
|
+
props: Map<string, object>;
|
|
16
|
+
constructor(search?: string, status?: StatusCode[], isPilot?: boolean, plan?: FlightCategoryCode[], typesRating?: TypeRatingFlag[], licenseKinds?: LicenseKindFlag[], sort?: string, page?: number, size?: number, props?: Map<string, object>);
|
|
17
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TransactionTypeCode } from '
|
|
2
|
-
import { CurrencyCode } from '
|
|
3
|
-
import { BaseEntityEx } from '
|
|
4
|
-
import { ColumnDef } from '
|
|
1
|
+
import { TransactionTypeCode } from './TransactionTypeCode';
|
|
2
|
+
import { CurrencyCode } from './CurrencyCode';
|
|
3
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
4
|
+
import { ColumnDef } from './ColumnDef';
|
|
5
5
|
export declare class Credit extends BaseEntityEx {
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
@@ -11,6 +11,7 @@ export declare class Credit extends BaseEntityEx {
|
|
|
11
11
|
beforeVat: number;
|
|
12
12
|
amount: number;
|
|
13
13
|
baseRate: number;
|
|
14
|
+
discount: number;
|
|
14
15
|
currency: CurrencyCode;
|
|
15
16
|
accountId: string;
|
|
16
17
|
flightId: string;
|
|
@@ -18,6 +19,5 @@ export declare class Credit extends BaseEntityEx {
|
|
|
18
19
|
transactionOn: number;
|
|
19
20
|
reference: string;
|
|
20
21
|
documentId: string;
|
|
21
|
-
get(field: string): any;
|
|
22
22
|
}
|
|
23
23
|
export declare function GetCreditColumnsDef(): ColumnDef[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TransactionTypeCode } from './TransactionTypeCode';
|
|
2
|
+
import { TimeFrame } from './TimeFrame';
|
|
3
|
+
export declare class CreditsFilter {
|
|
4
|
+
search: string;
|
|
5
|
+
accountId: string;
|
|
6
|
+
flightId: string;
|
|
7
|
+
type: TransactionTypeCode[];
|
|
8
|
+
period: TimeFrame;
|
|
9
|
+
reference: string;
|
|
10
|
+
sort: string;
|
|
11
|
+
page: number;
|
|
12
|
+
size: number;
|
|
13
|
+
props: Map<string, object>;
|
|
14
|
+
constructor(search?: string, accountId?: string, flightId?: string, type?: TransactionTypeCode[], period?: TimeFrame, reference?: string, sort?: string, page?: number, size?: number, props?: Map<string, object>);
|
|
15
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { DocumentRevision } from './DocumentRevision';
|
|
2
|
+
import { BaseEntityEx } from './BaseEntityEx';
|
|
3
|
+
import { ColumnDef } from './ColumnDef';
|
|
4
4
|
export declare class Document extends BaseEntityEx {
|
|
5
5
|
name: string;
|
|
6
6
|
description: string;
|
|
@@ -13,6 +13,5 @@ export declare class Document extends BaseEntityEx {
|
|
|
13
13
|
activeRevision: string;
|
|
14
14
|
activeUrl: string;
|
|
15
15
|
activeMimeType: string;
|
|
16
|
-
get(field: string): any;
|
|
17
16
|
}
|
|
18
17
|
export declare function GetDocumentColumnsDef(): ColumnDef[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseRestResponse } from './BaseRestResponse';
|
|
2
|
+
import { ColumnDef } from './ColumnDef';
|
|
2
3
|
export declare class EntitiesResponse<T> extends BaseRestResponse {
|
|
3
4
|
page: number;
|
|
4
5
|
size: number;
|
|
@@ -6,3 +7,4 @@ export declare class EntitiesResponse<T> extends BaseRestResponse {
|
|
|
6
7
|
total: number;
|
|
7
8
|
list: T[];
|
|
8
9
|
}
|
|
10
|
+
export declare function GetEntitiesResponseColumnsDef(): ColumnDef[];
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { BaseRestResponse } from './BaseRestResponse';
|
|
2
|
+
import { ColumnDef } from './ColumnDef';
|
|
2
3
|
export declare class EntityResponse<T> extends BaseRestResponse {
|
|
3
|
-
page: number;
|
|
4
|
-
size: number;
|
|
5
|
-
pages: number;
|
|
6
|
-
total: number;
|
|
7
4
|
entity: T;
|
|
8
5
|
}
|
|
6
|
+
export declare function GetEntityResponseColumnsDef(): ColumnDef[];
|
|
@@ -8,7 +8,11 @@ export declare enum ErrorCode {
|
|
|
8
8
|
FLIGHT_PILOTS_ONLY = -1001,
|
|
9
9
|
FLIGHT_PIC_ONLY = -1002,
|
|
10
10
|
PREFLIGHT_ALREADY_REPORTED = -1010,
|
|
11
|
-
POSTFLIGHT_ALREADY_REPORTED = -1011
|
|
11
|
+
POSTFLIGHT_ALREADY_REPORTED = -1011,
|
|
12
|
+
WB_EXCEED_MTOW = -1021,
|
|
13
|
+
WB_EXCEED_CG = -1022,
|
|
14
|
+
WB_EXCEED_BAGGAGE = -1023,
|
|
15
|
+
WB_MIN_FUEL = -1024
|
|
12
16
|
}
|
|
13
17
|
export declare function GetErrorCodes(): Tuple<ErrorCode, string>[];
|
|
14
18
|
export declare function MapErrorCodes(): Map<ErrorCode, string>;
|