@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.
Files changed (226) hide show
  1. package/config.d.ts +5 -4
  2. package/fesm2022/aya-flights-ngx-goox-lib.mjs +5922 -4181
  3. package/fesm2022/aya-flights-ngx-goox-lib.mjs.map +1 -1
  4. package/lib/{ADSBState.d.ts → model/ADSBState.d.ts} +1 -1
  5. package/lib/{Account.d.ts → model/Account.d.ts} +9 -10
  6. package/lib/model/AccountTypeCode.d.ts +11 -0
  7. package/lib/model/AccountsFilter.d.ts +12 -0
  8. package/{utils → lib/model}/ActionResponse.d.ts +2 -0
  9. package/lib/{Airplane.d.ts → model/Airplane.d.ts} +12 -9
  10. package/lib/model/AirplanesFilter.d.ts +11 -0
  11. package/lib/{AssessmentCode.d.ts → model/AssessmentCode.d.ts} +3 -7
  12. package/lib/{AuditLog.d.ts → model/AuditLog.d.ts} +3 -4
  13. package/lib/model/AuditLogFilter.d.ts +15 -0
  14. package/lib/model/BaseFilter.d.ts +7 -0
  15. package/{utils → lib/model}/BaseRestResponse.d.ts +1 -0
  16. package/lib/{Billing.d.ts → model/Billing.d.ts} +1 -1
  17. package/lib/{Booking.d.ts → model/Booking.d.ts} +11 -6
  18. package/lib/model/BookingPlan.d.ts +22 -0
  19. package/lib/{BookingSlot.d.ts → model/BookingSlot.d.ts} +3 -3
  20. package/lib/{BookingSlots.d.ts → model/BookingSlots.d.ts} +3 -4
  21. package/lib/{BookingSlotsSet.d.ts → model/BookingSlotsSet.d.ts} +3 -4
  22. package/lib/{BookingStatusCode.d.ts → model/BookingStatusCode.d.ts} +4 -2
  23. package/lib/model/BookingsFilter.d.ts +15 -0
  24. package/lib/model/Boundaries.d.ts +5 -0
  25. package/lib/{Campaign.d.ts → model/Campaign.d.ts} +5 -6
  26. package/lib/{Certificate.d.ts → model/Certificate.d.ts} +4 -5
  27. package/lib/model/CertificatesFilter.d.ts +15 -0
  28. package/lib/{ColumnDef.d.ts → model/ColumnDef.d.ts} +2 -2
  29. package/lib/model/Contact.d.ts +39 -0
  30. package/lib/model/ContactGroup.d.ts +8 -0
  31. package/lib/model/ContactsFilter.d.ts +17 -0
  32. package/lib/{Credit.d.ts → model/Credit.d.ts} +5 -5
  33. package/lib/model/CreditsFilter.d.ts +15 -0
  34. package/lib/model/Distribution.d.ts +7 -0
  35. package/lib/{Document.d.ts → model/Document.d.ts} +3 -4
  36. package/{utils → lib/model}/Entities.d.ts +1 -0
  37. package/lib/model/EntitiesRequest.d.ts +4 -0
  38. package/{utils → lib/model}/EntitiesResponse.d.ts +2 -0
  39. package/lib/model/EntityAction.d.ts +3 -0
  40. package/lib/model/EntityRequest.d.ts +4 -0
  41. package/{utils → lib/model}/EntityResponse.d.ts +2 -4
  42. package/lib/{ErrorCode.d.ts → model/ErrorCode.d.ts} +5 -1
  43. package/lib/{Flight.d.ts → model/Flight.d.ts} +21 -23
  44. package/lib/{FlightBilling.d.ts → model/FlightBilling.d.ts} +3 -4
  45. package/lib/model/FlightCategoryCode.d.ts +42 -0
  46. package/lib/model/FlightClassCode.d.ts +13 -0
  47. package/lib/{FlightPassenger.d.ts → model/FlightPassenger.d.ts} +2 -3
  48. package/lib/{FlightPlan.d.ts → model/FlightPlan.d.ts} +7 -8
  49. package/lib/{FlightPurposeCode.d.ts → model/FlightPurposeCode.d.ts} +1 -1
  50. package/lib/model/FlightRisk.d.ts +22 -0
  51. package/lib/{FlightTicket.d.ts → model/FlightTicket.d.ts} +3 -4
  52. package/lib/{FlightTypeCode.d.ts → model/FlightTypeCode.d.ts} +4 -10
  53. package/lib/model/FlightsFilter.d.ts +21 -0
  54. package/lib/model/FollowUpAction.d.ts +6 -0
  55. package/lib/{Group.d.ts → model/Group.d.ts} +4 -5
  56. package/lib/model/InstructionTypeCode.d.ts +9 -0
  57. package/lib/model/IntEnumValue.d.ts +5 -0
  58. package/lib/model/Json.d.ts +3 -0
  59. package/lib/model/JsonDoc.d.ts +5 -0
  60. package/lib/{Lead.d.ts → model/Lead.d.ts} +7 -9
  61. package/lib/{LeadAction.d.ts → model/LeadAction.d.ts} +2 -3
  62. package/lib/model/LeadsFilter.d.ts +10 -0
  63. package/lib/model/Lesson.d.ts +19 -0
  64. package/lib/model/LessonSubjectCode.d.ts +97 -0
  65. package/lib/model/LessonTypeCode.d.ts +16 -0
  66. package/lib/model/LicenseKindFlag.d.ts +17 -0
  67. package/lib/model/LocalTime.d.ts +3 -0
  68. package/lib/{LogBookRecord.d.ts → model/LogBookRecord.d.ts} +2 -3
  69. package/lib/{Lookup.d.ts → model/Lookup.d.ts} +2 -3
  70. package/lib/{LookupGroup.d.ts → model/LookupGroup.d.ts} +3 -3
  71. package/lib/{Maintenance.d.ts → model/Maintenance.d.ts} +4 -5
  72. package/lib/model/MaintenancesFilter.d.ts +15 -0
  73. package/lib/model/MedicalCertClassCode.d.ts +9 -0
  74. package/lib/{MessageConfirm.d.ts → model/MessageConfirm.d.ts} +5 -8
  75. package/lib/model/Metar.d.ts +9 -0
  76. package/lib/model/MetarReport.d.ts +8 -0
  77. package/lib/model/Notification.d.ts +13 -0
  78. package/lib/model/NotificationTypeCode.d.ts +11 -0
  79. package/lib/{Permission.d.ts → model/Permission.d.ts} +2 -2
  80. package/lib/model/Point.d.ts +5 -0
  81. package/lib/model/PostFlightInfo.d.ts +44 -0
  82. package/lib/{PreFlightInfo.d.ts → model/PreFlightInfo.d.ts} +10 -10
  83. package/lib/{Price.d.ts → model/Price.d.ts} +3 -4
  84. package/lib/{RiskAssessment.d.ts → model/RiskAssessment.d.ts} +8 -8
  85. package/{utils → lib/model}/SimpleEntity.d.ts +1 -0
  86. package/lib/model/StorageItem.d.ts +11 -0
  87. package/lib/model/Syllabus.d.ts +14 -0
  88. package/lib/model/SyllabusFilter.d.ts +12 -0
  89. package/lib/model/SyllabusTrack.d.ts +12 -0
  90. package/lib/{SystemConfig.d.ts → model/SystemConfig.d.ts} +2 -3
  91. package/lib/{SystemMessage.d.ts → model/SystemMessage.d.ts} +5 -5
  92. package/lib/model/TafReport.d.ts +8 -0
  93. package/lib/model/TimeDataPoint.d.ts +5 -0
  94. package/lib/model/TimePeriodCode.d.ts +11 -0
  95. package/lib/{TimeSeries.d.ts → model/TimeSeries.d.ts} +2 -2
  96. package/lib/model/Timestamp.d.ts +3 -0
  97. package/lib/{TokenData.d.ts → model/TokenData.d.ts} +2 -2
  98. package/lib/{TransactionTypeCode.d.ts → model/TransactionTypeCode.d.ts} +2 -1
  99. package/lib/model/Tuple.d.ts +5 -0
  100. package/lib/model/TypeRatingFlag.d.ts +10 -0
  101. package/lib/{User.d.ts → model/User.d.ts} +5 -6
  102. package/lib/model/UsersFilter.d.ts +14 -0
  103. package/lib/{ValidationFlag.d.ts → model/ValidationFlag.d.ts} +1 -8
  104. package/lib/model/WBConfig.d.ts +20 -0
  105. package/lib/model/errorStruct.d.ts +5 -0
  106. package/lib/{index.d.ts → model/index.d.ts} +131 -122
  107. package/lib/{AccountsEndPoint.d.ts → services/AccountsEndPoint.d.ts} +20 -11
  108. package/lib/services/AirplanesEndPoint.d.ts +75 -0
  109. package/lib/{AuditLogsEndPoint.d.ts → services/AuditLogsEndPoint.d.ts} +7 -5
  110. package/lib/{BookingSlotsEndPoint.d.ts → services/BookingSlotsEndPoint.d.ts} +21 -6
  111. package/lib/{BookingsEndPoint.d.ts → services/BookingsEndPoint.d.ts} +25 -9
  112. package/lib/{CampaignsEndPoint.d.ts → services/CampaignsEndPoint.d.ts} +8 -5
  113. package/lib/{CertificatesEndPoint.d.ts → services/CertificatesEndPoint.d.ts} +9 -5
  114. package/lib/{ContactsEndPoint.d.ts → services/ContactsEndPoint.d.ts} +30 -14
  115. package/lib/services/ContactsGroupsEndPoint.d.ts +44 -0
  116. package/lib/{CreditsEndPoint.d.ts → services/CreditsEndPoint.d.ts} +11 -4
  117. package/lib/{DocumentsEndPoint.d.ts → services/DocumentsEndPoint.d.ts} +16 -4
  118. package/lib/{FlightTicketsEndPoint.d.ts → services/FlightTicketsEndPoint.d.ts} +9 -5
  119. package/lib/{FlightsEndPoint.d.ts → services/FlightsEndPoint.d.ts} +44 -13
  120. package/lib/{GroupsEndPoint.d.ts → services/GroupsEndPoint.d.ts} +12 -5
  121. package/lib/services/LeadsEndPoint.d.ts +110 -0
  122. package/lib/{LookupsEndPoint.d.ts → services/LookupsEndPoint.d.ts} +8 -5
  123. package/lib/{MaintenancesEndPoint.d.ts → services/MaintenancesEndPoint.d.ts} +10 -5
  124. package/lib/services/McpToolsEndPoint.d.ts +25 -0
  125. package/lib/{MessageConfirmsEndPoint.d.ts → services/MessageConfirmsEndPoint.d.ts} +19 -5
  126. package/lib/services/MyAuthEndPoint.d.ts +37 -0
  127. package/lib/services/MyBookingsEndPoint.d.ts +65 -0
  128. package/lib/services/MyCertificatesEndPoint.d.ts +52 -0
  129. package/lib/{MyCreditsEndPoint.d.ts → services/MyCreditsEndPoint.d.ts} +6 -4
  130. package/lib/services/MyFlightsEndPoint.d.ts +70 -0
  131. package/lib/services/MyInfoEndPoint.d.ts +27 -0
  132. package/lib/services/MyMessagesEndPoint.d.ts +28 -0
  133. package/lib/services/MyStudentsEndPoint.d.ts +35 -0
  134. package/lib/{PriceListEndPoint.d.ts → services/PriceListEndPoint.d.ts} +9 -5
  135. package/lib/services/SyllabusEndPoint.d.ts +45 -0
  136. package/lib/{SystemConfigsEndPoint.d.ts → services/SystemConfigsEndPoint.d.ts} +7 -4
  137. package/lib/{SystemEndPoint.d.ts → services/SystemEndPoint.d.ts} +4 -3
  138. package/lib/{SystemMessagesEndPoint.d.ts → services/SystemMessagesEndPoint.d.ts} +14 -6
  139. package/lib/{UserEndPoint.d.ts → services/UserEndPoint.d.ts} +6 -5
  140. package/lib/{UsersEndPoint.d.ts → services/UsersEndPoint.d.ts} +12 -7
  141. package/lib/services/index.d.ts +34 -0
  142. package/ngx-goox-lib.module.d.ts +3 -4
  143. package/package.json +1 -1
  144. package/public-api.d.ts +3 -3
  145. package/{utils/rest-util.d.ts → rest-utils.d.ts} +3 -3
  146. package/lib/AccountFilter.d.ts +0 -6
  147. package/lib/AirplaneFilter.d.ts +0 -7
  148. package/lib/AirplanesEndPoint.d.ts +0 -61
  149. package/lib/AuditLogFilter.d.ts +0 -11
  150. package/lib/BaseFilter.d.ts +0 -4
  151. package/lib/BookingFilter.d.ts +0 -13
  152. package/lib/CertificateFilter.d.ts +0 -9
  153. package/lib/Contact.d.ts +0 -39
  154. package/lib/ContactFilter.d.ts +0 -7
  155. package/lib/CreditFilter.d.ts +0 -9
  156. package/lib/Enums.d.ts +0 -1
  157. package/lib/FlightFilter.d.ts +0 -18
  158. package/lib/FlightRisk.d.ts +0 -23
  159. package/lib/LeadFilter.d.ts +0 -10
  160. package/lib/LeadsEndPoint.d.ts +0 -66
  161. package/lib/Lesson.d.ts +0 -12
  162. package/lib/MaintenanceFilter.d.ts +0 -12
  163. package/lib/MyAuthEndPoint.d.ts +0 -24
  164. package/lib/MyBookingsEndPoint.d.ts +0 -38
  165. package/lib/MyFlightsEndPoint.d.ts +0 -43
  166. package/lib/OnBoard.d.ts +0 -7
  167. package/lib/PostFlightData.d.ts +0 -37
  168. package/lib/PostFlightInfo.d.ts +0 -42
  169. package/lib/PreFlightData.d.ts +0 -37
  170. package/lib/ReFuel.d.ts +0 -6
  171. package/lib/TimeDataPoint.d.ts +0 -5
  172. package/lib/Tuple.d.ts +0 -5
  173. package/lib/UserFilter.d.ts +0 -12
  174. package/lib/services.export.d.ts +0 -28
  175. package/utils/index.d.ts +0 -7
  176. /package/lib/{ADSBCategoryCode.d.ts → model/ADSBCategoryCode.d.ts} +0 -0
  177. /package/lib/{ADSBSourceFlag.d.ts → model/ADSBSourceFlag.d.ts} +0 -0
  178. /package/lib/{AccountStatusCode.d.ts → model/AccountStatusCode.d.ts} +0 -0
  179. /package/lib/{Address.d.ts → model/Address.d.ts} +0 -0
  180. /package/lib/{AirplaneStatusCode.d.ts → model/AirplaneStatusCode.d.ts} +0 -0
  181. /package/lib/{AirplaneValidationFlag.d.ts → model/AirplaneValidationFlag.d.ts} +0 -0
  182. /package/lib/{AnyKeyValue.d.ts → model/AnyKeyValue.d.ts} +0 -0
  183. /package/lib/{BaseEntity.d.ts → model/BaseEntity.d.ts} +0 -0
  184. /package/lib/{BaseEntityEx.d.ts → model/BaseEntityEx.d.ts} +0 -0
  185. /package/lib/{BillingRecord.d.ts → model/BillingRecord.d.ts} +0 -0
  186. /package/lib/{BillingStatusCode.d.ts → model/BillingStatusCode.d.ts} +0 -0
  187. /package/lib/{BookingTypeFlag.d.ts → model/BookingTypeFlag.d.ts} +0 -0
  188. /package/lib/{CampaignStatusCode.d.ts → model/CampaignStatusCode.d.ts} +0 -0
  189. /package/lib/{CampaignTypeCode.d.ts → model/CampaignTypeCode.d.ts} +0 -0
  190. /package/lib/{ConfirmStatusCode.d.ts → model/ConfirmStatusCode.d.ts} +0 -0
  191. /package/lib/{CrewDutyDayRisks.d.ts → model/CrewDutyDayRisks.d.ts} +0 -0
  192. /package/lib/{CurrencyCode.d.ts → model/CurrencyCode.d.ts} +0 -0
  193. /package/lib/{DepartureRisks.d.ts → model/DepartureRisks.d.ts} +0 -0
  194. /package/lib/{DestinationRisks.d.ts → model/DestinationRisks.d.ts} +0 -0
  195. /package/lib/{DocumentRevision.d.ts → model/DocumentRevision.d.ts} +0 -0
  196. /package/lib/{Engine.d.ts → model/Engine.d.ts} +0 -0
  197. /package/lib/{FilterFlag.d.ts → model/FilterFlag.d.ts} +0 -0
  198. /package/lib/{FlightStateCode.d.ts → model/FlightStateCode.d.ts} +0 -0
  199. /package/lib/{FlightStatusCode.d.ts → model/FlightStatusCode.d.ts} +0 -0
  200. /package/lib/{Fuel.d.ts → model/Fuel.d.ts} +0 -0
  201. /package/lib/{IntKeyValue.d.ts → model/IntKeyValue.d.ts} +0 -0
  202. /package/lib/{LeadStatusCode.d.ts → model/LeadStatusCode.d.ts} +0 -0
  203. /package/lib/{Location.d.ts → model/Location.d.ts} +0 -0
  204. /package/lib/{LoginParams.d.ts → model/LoginParams.d.ts} +0 -0
  205. /package/lib/{Magneto.d.ts → model/Magneto.d.ts} +0 -0
  206. /package/lib/{MaintenanceActionCode.d.ts → model/MaintenanceActionCode.d.ts} +0 -0
  207. /package/lib/{MessageTypeCode.d.ts → model/MessageTypeCode.d.ts} +0 -0
  208. /package/lib/{Mitigation.d.ts → model/Mitigation.d.ts} +0 -0
  209. /package/lib/{ModuleCode.d.ts → model/ModuleCode.d.ts} +0 -0
  210. /package/lib/{OperatorCode.d.ts → model/OperatorCode.d.ts} +0 -0
  211. /package/lib/{PaymentMethodCode.d.ts → model/PaymentMethodCode.d.ts} +0 -0
  212. /package/lib/{PermissionFlag.d.ts → model/PermissionFlag.d.ts} +0 -0
  213. /package/lib/{PilotQualificationsRisks.d.ts → model/PilotQualificationsRisks.d.ts} +0 -0
  214. /package/lib/{PriorityCode.d.ts → model/PriorityCode.d.ts} +0 -0
  215. /package/lib/{Propeller.d.ts → model/Propeller.d.ts} +0 -0
  216. /package/lib/{SpecialRisks.d.ts → model/SpecialRisks.d.ts} +0 -0
  217. /package/lib/{StatusCode.d.ts → model/StatusCode.d.ts} +0 -0
  218. /package/lib/{StringKeyValue.d.ts → model/StringKeyValue.d.ts} +0 -0
  219. /package/lib/{TOLData.d.ts → model/TOLData.d.ts} +0 -0
  220. /package/lib/{TicketStatusCode.d.ts → model/TicketStatusCode.d.ts} +0 -0
  221. /package/lib/{TimeFrame.d.ts → model/TimeFrame.d.ts} +0 -0
  222. /package/lib/{TripRisks.d.ts → model/TripRisks.d.ts} +0 -0
  223. /package/lib/{UserRoleFlag.d.ts → model/UserRoleFlag.d.ts} +0 -0
  224. /package/lib/{UserStatusCode.d.ts → model/UserStatusCode.d.ts} +0 -0
  225. /package/lib/{UserTypeCode.d.ts → model/UserTypeCode.d.ts} +0 -0
  226. /package/lib/{WeatherRisks.d.ts → model/WeatherRisks.d.ts} +0 -0
@@ -1,61 +0,0 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { Airplane } from '.';
4
- import { Flight } from '.';
5
- import { Document } from '.';
6
- import { Maintenance } from '.';
7
- import { StringKeyValue } from '.';
8
- import * as i0 from "@angular/core";
9
- export declare class AirplanesEndPoint {
10
- private config;
11
- private rest;
12
- private baseUrl;
13
- constructor(config: GooxConfig, rest: RestUtil);
14
- /**
15
- * region Endpoint REST handlers ---------------------------------------------------------------------------------------
16
- * Get new and empty account template
17
- */
18
- new(): import("rxjs").Observable<EntityResponse<Airplane>>;
19
- /**
20
- * Create new airplane
21
- */
22
- create(body?: Airplane): import("rxjs").Observable<EntityResponse<Airplane>>;
23
- /**
24
- * Update existing airplane
25
- */
26
- update(body?: Airplane): import("rxjs").Observable<EntityResponse<Airplane>>;
27
- /**
28
- * Delete airplane and all its content
29
- */
30
- delete(id?: string): import("rxjs").Observable<ActionResponse>;
31
- /**
32
- * Get a single airplane by id
33
- */
34
- get(id?: string): import("rxjs").Observable<EntityResponse<Airplane>>;
35
- /**
36
- * Find airplanes by query
37
- */
38
- find(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Airplane>>;
39
- /**
40
- * Lookup airplanes ID->Name by filter
41
- */
42
- lookup(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
43
- /**
44
- * Get minimal active airplanes data for hours statistics only
45
- */
46
- hours(): import("rxjs").Observable<EntitiesResponse<Airplane>>;
47
- /**
48
- * Find airplane flights
49
- */
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>>;
51
- /**
52
- * Find airplane documents
53
- */
54
- findDocuments(id?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Document>>;
55
- /**
56
- * Find airplane maintenance log book
57
- */
58
- findMaintenance(id?: string, search?: string, status?: [], action?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Maintenance>>;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<AirplanesEndPoint, never>;
60
- static ɵprov: i0.ɵɵInjectableDeclaration<AirplanesEndPoint>;
61
- }
@@ -1,11 +0,0 @@
1
- import { TimeFrame } from '.';
2
- export declare class AuditLogFilter {
3
- search: string;
4
- createdOn: TimeFrame;
5
- userId: string;
6
- action: string;
7
- itemType: string;
8
- itemId: string;
9
- itemName: string;
10
- constructor(search?: string, createdOn?: TimeFrame, userId?: string, action?: string, itemType?: string, itemId?: string, itemName?: string);
11
- }
@@ -1,4 +0,0 @@
1
- export declare class BaseFilter {
2
- search: string;
3
- constructor(search?: string);
4
- }
@@ -1,13 +0,0 @@
1
- import { BookingTypeFlag } from '.';
2
- import { TimeFrame } from '.';
3
- import { BookingStatusCode } from '.';
4
- export declare class BookingFilter {
5
- search: string;
6
- accountId: string;
7
- contactId: string;
8
- type: BookingTypeFlag[];
9
- airplaneId: string;
10
- placementOn: TimeFrame;
11
- status: BookingStatusCode[];
12
- constructor(search?: string, accountId?: string, contactId?: string, type?: BookingTypeFlag[], airplaneId?: string, placementOn?: TimeFrame, status?: BookingStatusCode[]);
13
- }
@@ -1,9 +0,0 @@
1
- import { TimeFrame } from '.';
2
- import { StatusCode } from '.';
3
- export declare class CertificateFilter {
4
- search: string;
5
- contactId: string;
6
- validUntil: TimeFrame;
7
- status: StatusCode[];
8
- constructor(search?: string, contactId?: string, validUntil?: TimeFrame, status?: StatusCode[]);
9
- }
package/lib/Contact.d.ts DELETED
@@ -1,39 +0,0 @@
1
- import { ColumnDef } from '.';
2
- import { AccountStatusCode } from '.';
3
- import { Address } from '.';
4
- import { ValidationFlag } from '.';
5
- import { BaseEntityEx } from '.';
6
- export declare class Contact extends BaseEntityEx {
7
- accountId: string;
8
- name: string;
9
- enName: string;
10
- firstName: string;
11
- lastName: string;
12
- description: string;
13
- title: string;
14
- birthDay: number;
15
- status: AccountStatusCode;
16
- phone: string;
17
- fax: string;
18
- mobile: string;
19
- email: string;
20
- primaryAddress: Address;
21
- singleEngineHours: number;
22
- dualEngineHours: number;
23
- totalFlightHours: number;
24
- groups: string[];
25
- idNumber: string;
26
- startToFlyDate: number;
27
- authorizedToFlyBy: string;
28
- authorizedPhotographyBy: string;
29
- pilotLicense: string;
30
- licenseTypes: string[];
31
- licenseGroup: string;
32
- medicalCertClass: string;
33
- validations: ValidationFlag;
34
- isPilot: boolean;
35
- instructor: string;
36
- lastSignIn: number;
37
- get(field: string): any;
38
- }
39
- export declare function GetContactColumnsDef(): ColumnDef[];
@@ -1,7 +0,0 @@
1
- import { AccountStatusCode } from '.';
2
- export declare class ContactFilter {
3
- search: string;
4
- accountId: string;
5
- status: AccountStatusCode[];
6
- constructor(search?: string, accountId?: string, status?: AccountStatusCode[]);
7
- }
@@ -1,9 +0,0 @@
1
- import { TransactionTypeCode } from '.';
2
- import { TimeFrame } from '.';
3
- export declare class CreditFilter {
4
- search: string;
5
- accountId: string;
6
- type: TransactionTypeCode[];
7
- transactionOn: TimeFrame;
8
- constructor(search?: string, accountId?: string, type?: TransactionTypeCode[], transactionOn?: TimeFrame);
9
- }
package/lib/Enums.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare function MapEnumValues(): Map<string, string>;
@@ -1,18 +0,0 @@
1
- import { BillingStatusCode } from '.';
2
- import { FlightPurposeCode } from '.';
3
- import { TimeFrame } from '.';
4
- import { FlightTypeCode } from '.';
5
- import { FlightStatusCode } from '.';
6
- export declare class FlightFilter {
7
- search: string;
8
- accountId: string;
9
- airplaneId: string;
10
- captain: string;
11
- firstOfficer: string;
12
- flightTime: TimeFrame;
13
- type: FlightTypeCode[];
14
- status: FlightStatusCode[];
15
- billingStatus: BillingStatusCode[];
16
- purpose: FlightPurposeCode[];
17
- constructor(search?: string, accountId?: string, airplaneId?: string, captain?: string, firstOfficer?: string, flightTime?: TimeFrame, type?: FlightTypeCode[], status?: FlightStatusCode[], billingStatus?: BillingStatusCode[], purpose?: FlightPurposeCode[]);
18
- }
@@ -1,23 +0,0 @@
1
- import { CrewDutyDayRisks } from '.';
2
- import { DestinationRisks } from '.';
3
- import { SpecialRisks } from '.';
4
- import { ColumnDef } from '.';
5
- import { PilotQualificationsRisks } from '.';
6
- import { DepartureRisks } from '.';
7
- import { TripRisks } from '.';
8
- import { WeatherRisks } from '.';
9
- import { Mitigation } from '.';
10
- import { BaseEntityEx } from '.';
11
- export declare class FlightRisk extends BaseEntityEx {
12
- timestamp: number;
13
- pilotQualifications: PilotQualificationsRisks;
14
- crewDutyDay: CrewDutyDayRisks;
15
- departure: DepartureRisks;
16
- destination: DestinationRisks;
17
- trip: TripRisks;
18
- weather: WeatherRisks;
19
- other: SpecialRisks;
20
- mitigation: Mitigation;
21
- get(field: string): any;
22
- }
23
- export declare function GetFlightRiskColumnsDef(): ColumnDef[];
@@ -1,10 +0,0 @@
1
- import { TimeFrame } from '.';
2
- import { LeadStatusCode } from '.';
3
- export declare class LeadFilter {
4
- search: string;
5
- createdOn: TimeFrame;
6
- leadSource: string;
7
- campaignId: string;
8
- status: LeadStatusCode[];
9
- constructor(search?: string, createdOn?: TimeFrame, leadSource?: string, campaignId?: string, status?: LeadStatusCode[]);
10
- }
@@ -1,66 +0,0 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { TimeSeries } from '.';
4
- import { LeadAction } from '.';
5
- import { Lead } from '.';
6
- import * as i0 from "@angular/core";
7
- export declare class LeadsEndPoint {
8
- private config;
9
- private rest;
10
- private baseUrl;
11
- constructor(config: GooxConfig, rest: RestUtil);
12
- /**
13
- * Get new and empty lead template
14
- */
15
- new(): import("rxjs").Observable<EntityResponse<Lead>>;
16
- /**
17
- * Create new lead
18
- */
19
- create(body?: Lead): import("rxjs").Observable<EntityResponse<Lead>>;
20
- /**
21
- * Update existing lead
22
- */
23
- update(body?: Lead): import("rxjs").Observable<EntityResponse<Lead>>;
24
- /**
25
- * Delete lead and all its content
26
- */
27
- delete(id?: string): import("rxjs").Observable<ActionResponse>;
28
- /**
29
- * Get a single lead by id
30
- */
31
- get(id?: string): import("rxjs").Observable<EntityResponse<Lead>>;
32
- /**
33
- * Find leads by query
34
- */
35
- find(search?: string, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Lead>>;
36
- /**
37
- * Find lead count histogram over time
38
- */
39
- histogram(from?: number, to?: number, search?: string, status?: []): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
40
- /**
41
- * Create new lead action
42
- */
43
- createAction(body?: LeadAction): import("rxjs").Observable<EntityResponse<LeadAction>>;
44
- /**
45
- * Update existing lead action
46
- */
47
- updateAction(body?: LeadAction): import("rxjs").Observable<EntityResponse<LeadAction>>;
48
- /**
49
- * Delete lead action
50
- */
51
- deleteAction(id?: string): import("rxjs").Observable<ActionResponse>;
52
- /**
53
- * Get all lead actions
54
- */
55
- getActions(id?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<LeadAction>>;
56
- /**
57
- * Insert or update lead action and return list of all actions
58
- */
59
- upsertAndGetActions(body?: LeadAction): import("rxjs").Observable<EntitiesResponse<LeadAction>>;
60
- /**
61
- * Delete lead action and return list of all actions
62
- */
63
- deleteAndGetActions(id?: string): import("rxjs").Observable<EntitiesResponse<LeadAction>>;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<LeadsEndPoint, never>;
65
- static ɵprov: i0.ɵɵInjectableDeclaration<LeadsEndPoint>;
66
- }
package/lib/Lesson.d.ts DELETED
@@ -1,12 +0,0 @@
1
- import { AssessmentCode } from '.';
2
- export declare class Lesson {
3
- number: number;
4
- subject: string;
5
- assessment: AssessmentCode;
6
- comments: string;
7
- flightCounter: number;
8
- instructedFlightTime: number;
9
- instrumentsFlightTime: number;
10
- soloFlightTime: number;
11
- constructor(number?: number, subject?: string, assessment?: AssessmentCode, comments?: string, flightCounter?: number, instructedFlightTime?: number, instrumentsFlightTime?: number, soloFlightTime?: number);
12
- }
@@ -1,12 +0,0 @@
1
- import { TimeFrame } from '.';
2
- import { StatusCode } from '.';
3
- import { MaintenanceActionCode } from '.';
4
- export declare class MaintenanceFilter {
5
- search: string;
6
- airplaneId: string;
7
- validUntil: TimeFrame;
8
- status: StatusCode[];
9
- component: string;
10
- action: MaintenanceActionCode[];
11
- constructor(search?: string, airplaneId?: string, validUntil?: TimeFrame, status?: StatusCode[], component?: string, action?: MaintenanceActionCode[]);
12
- }
@@ -1,24 +0,0 @@
1
- import { RestUtil, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { LoginParams } from '.';
4
- import * as i0 from "@angular/core";
5
- export declare class MyAuthEndPoint {
6
- private config;
7
- private rest;
8
- private baseUrl;
9
- constructor(config: GooxConfig, rest: RestUtil);
10
- /**
11
- * Authenticate contact
12
- */
13
- authenticate(body?: LoginParams): import("rxjs").Observable<ActionResponse>;
14
- /**
15
- * Send SMS code
16
- */
17
- sendCode(body?: LoginParams): import("rxjs").Observable<ActionResponse>;
18
- /**
19
- * Send SMS code
20
- */
21
- verifyCode(code?: string): import("rxjs").Observable<ActionResponse>;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<MyAuthEndPoint, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<MyAuthEndPoint>;
24
- }
@@ -1,38 +0,0 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { BookingSlots } from '.';
4
- import { Booking } from '.';
5
- import { BookingTypeFlag } from '.';
6
- import * as i0 from "@angular/core";
7
- export declare class MyBookingsEndPoint {
8
- private config;
9
- private rest;
10
- private baseUrl;
11
- constructor(config: GooxConfig, rest: RestUtil);
12
- /**
13
- * Create new booking
14
- */
15
- create(body?: Booking): import("rxjs").Observable<EntityResponse<Booking>>;
16
- /**
17
- * Update existing booking
18
- */
19
- update(body?: Booking): import("rxjs").Observable<EntityResponse<Booking>>;
20
- /**
21
- * Delete booking and all its content
22
- */
23
- delete(id?: string): import("rxjs").Observable<ActionResponse>;
24
- /**
25
- * Get a single booking by id
26
- */
27
- get(id?: string): import("rxjs").Observable<EntityResponse<Booking>>;
28
- /**
29
- * Find my bookings by query
30
- */
31
- find(search?: string, airplaneId?: string, from?: number, to?: number, status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
32
- /**
33
- * Find my bookings by query
34
- */
35
- getBookingSlots(year?: number, month?: number, type?: BookingTypeFlag): import("rxjs").Observable<EntitiesResponse<BookingSlots>>;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<MyBookingsEndPoint, never>;
37
- static ɵprov: i0.ɵɵInjectableDeclaration<MyBookingsEndPoint>;
38
- }
@@ -1,43 +0,0 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { PreFlightInfo } from '.';
4
- import { PostFlightInfo } from '.';
5
- import { Flight } from '.';
6
- import { FlightPlan } from '.';
7
- import * as i0 from "@angular/core";
8
- export declare class MyFlightsEndPoint {
9
- private config;
10
- private rest;
11
- private baseUrl;
12
- constructor(config: GooxConfig, rest: RestUtil);
13
- /**
14
- * Get a single flight by id
15
- */
16
- get(id?: string): import("rxjs").Observable<EntityResponse<Flight>>;
17
- /**
18
- * Find my flights by query
19
- */
20
- find(search?: string, type?: [], status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Flight>>;
21
- /**
22
- * Get flight plans data for gantt, the result size is limited to 1000 entries
23
- */
24
- gantt(from?: number, to?: number): import("rxjs").Observable<EntitiesResponse<FlightPlan>>;
25
- /**
26
- * Get pre-flight info by id
27
- */
28
- getPreFlight(id?: string): import("rxjs").Observable<EntityResponse<PreFlightInfo>>;
29
- /**
30
- * Update flight with pre-flight info
31
- */
32
- setPreFlight(body?: PreFlightInfo): import("rxjs").Observable<ActionResponse>;
33
- /**
34
- * Get post-flight info by id
35
- */
36
- getPostFlight(id?: string): import("rxjs").Observable<EntityResponse<PostFlightInfo>>;
37
- /**
38
- * Update flight with post-flight info
39
- */
40
- setPostFlight(body?: PostFlightInfo): import("rxjs").Observable<ActionResponse>;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<MyFlightsEndPoint, never>;
42
- static ɵprov: i0.ɵɵInjectableDeclaration<MyFlightsEndPoint>;
43
- }
package/lib/OnBoard.d.ts DELETED
@@ -1,7 +0,0 @@
1
- export declare class OnBoard {
2
- captain: string;
3
- firstOfficer: string;
4
- passengers: string[];
5
- crew: string[];
6
- constructor(captain?: string, firstOfficer?: string, passengers?: string[], crew?: string[]);
7
- }
@@ -1,37 +0,0 @@
1
- import { ColumnDef } from '.';
2
- import { FlightTypeCode } from '.';
3
- import { FlightPurposeCode } from '.';
4
- import { OnBoard } from '.';
5
- import { TOLData } from '.';
6
- import { ReFuel } from '.';
7
- import { Lesson } from '.';
8
- import { BaseEntityEx } from '.';
9
- export declare class PostFlightData extends BaseEntityEx {
10
- name: string;
11
- description: string;
12
- flightNumber: number;
13
- flightString: string;
14
- flightTime: number;
15
- destination: string;
16
- airplaneId: string;
17
- captain: string;
18
- firstOfficer: string;
19
- type: FlightTypeCode;
20
- purpose: FlightPurposeCode;
21
- purposeOt: string;
22
- onBoard: OnBoard;
23
- attendingTime: string;
24
- boardingTime: string;
25
- takeoff: TOLData;
26
- wbConfig: string;
27
- wbManual: string;
28
- hasCompetency: boolean;
29
- hasFlightPlan: boolean;
30
- preFlightNotes: string;
31
- operationNotes: string;
32
- fuelStatus: ReFuel;
33
- oilStatus: ReFuel;
34
- lesson: Lesson;
35
- get(field: string): any;
36
- }
37
- export declare function GetPostFlightDataColumnsDef(): ColumnDef[];
@@ -1,42 +0,0 @@
1
- import { FlightTypeCode } from '.';
2
- import { AssessmentCode } from '.';
3
- import { FlightPurposeCode } from '.';
4
- export declare class PostFlightInfo {
5
- flightId: string;
6
- flightNumber: number;
7
- airplane: string;
8
- hoursToInspection: number;
9
- purpose: FlightPurposeCode;
10
- type: FlightTypeCode;
11
- takeoffPlannedTime: number;
12
- takeoffActualTime: number;
13
- takeoffField: string;
14
- takeoffHobbs: number;
15
- takeoffTach: number;
16
- landingPlannedTime: number;
17
- landingActualTime: number;
18
- landingField: string;
19
- landingHobbs: number;
20
- landingTach: number;
21
- captain: string;
22
- firstOfficer: string;
23
- destination: string;
24
- singleEngineHours: number;
25
- multiEngineHours: number;
26
- flightHoursLastMonth: number;
27
- refuelBeforeFlight: number;
28
- refuelAfterFlight: number;
29
- refilledOilBeforeFlight: number;
30
- refillOilAfterFlight: number;
31
- lessonNumber: number;
32
- lessonSubject: string;
33
- lessonFlightCounter: number;
34
- assessment: AssessmentCode;
35
- instructedFlightTime: number;
36
- instrumentsFlightTime: number;
37
- soloFlightTime: number;
38
- lessonComments: string;
39
- description: string;
40
- reportedBy: string;
41
- constructor(flightId?: string, flightNumber?: number, airplane?: string, hoursToInspection?: number, purpose?: FlightPurposeCode, type?: FlightTypeCode, takeoffPlannedTime?: number, takeoffActualTime?: number, takeoffField?: string, takeoffHobbs?: number, takeoffTach?: number, landingPlannedTime?: number, landingActualTime?: number, landingField?: string, landingHobbs?: number, landingTach?: number, captain?: string, firstOfficer?: string, destination?: string, singleEngineHours?: number, multiEngineHours?: number, flightHoursLastMonth?: number, refuelBeforeFlight?: number, refuelAfterFlight?: number, refillOilBeforeFlight?: number, refillOilAfterFlight?: number, lessonNumber?: number, lessonSubject?: string, lessonFlightCounter?: number, lessonAssessment?: AssessmentCode, instructedFlightTime?: number, instrumentsFlightTime?: number, soloFlightTime?: number, lessonComments?: string, description?: string, reportedBy?: string);
42
- }
@@ -1,37 +0,0 @@
1
- import { OnBoard } from '.';
2
- import { TOLData } from '.';
3
- import { ReFuel } from '.';
4
- import { Lesson } from '.';
5
- import { BaseEntityEx } from '.';
6
- import { ColumnDef } from '.';
7
- import { FlightTypeCode } from '.';
8
- import { FlightPurposeCode } from '.';
9
- export declare class PreFlightData extends BaseEntityEx {
10
- name: string;
11
- description: string;
12
- flightNumber: number;
13
- flightString: string;
14
- flightTime: number;
15
- destination: string;
16
- airplaneId: string;
17
- captain: string;
18
- firstOfficer: string;
19
- type: FlightTypeCode;
20
- purpose: FlightPurposeCode;
21
- purposeOt: string;
22
- onBoard: OnBoard;
23
- attendingTime: string;
24
- boardingTime: string;
25
- takeoff: TOLData;
26
- wbConfig: string;
27
- wbManual: string;
28
- hasCompetency: boolean;
29
- hasFlightPlan: boolean;
30
- preFlightNotes: string;
31
- operationNotes: string;
32
- fuelStatus: ReFuel;
33
- oilStatus: ReFuel;
34
- lesson: Lesson;
35
- get(field: string): any;
36
- }
37
- export declare function GetPreFlightDataColumnsDef(): ColumnDef[];
package/lib/ReFuel.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export declare class ReFuel {
2
- refillBefore: number;
3
- amountOnBoard: number;
4
- refillAfter: number;
5
- constructor(refillBefore?: number, amountOnBoard?: number, refillAfter?: number);
6
- }
@@ -1,5 +0,0 @@
1
- export declare class TimeDataPoint<T> {
2
- timestamp: number;
3
- value: T;
4
- constructor(timestamp?: number, value?: T);
5
- }
package/lib/Tuple.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export declare class Tuple<K, T> {
2
- key: K;
3
- value: T;
4
- constructor(key?: K, value?: T);
5
- }
@@ -1,12 +0,0 @@
1
- import { UserTypeCode } from '.';
2
- import { UserRoleFlag } from '.';
3
- import { UserStatusCode } from '.';
4
- import { TimeFrame } from '.';
5
- export declare class UserFilter {
6
- search: string;
7
- type: UserTypeCode[];
8
- roles: UserRoleFlag[];
9
- status: UserStatusCode[];
10
- lastSignIn: TimeFrame;
11
- constructor(search?: string, type?: UserTypeCode[], roles?: UserRoleFlag[], status?: UserStatusCode[], lastSignIn?: TimeFrame);
12
- }
@@ -1,28 +0,0 @@
1
- import { UsersEndPoint } from '.';
2
- import { GroupsEndPoint } from '.';
3
- import { SystemEndPoint } from '.';
4
- import { MyAuthEndPoint } from '.';
5
- import { FlightsEndPoint } from '.';
6
- import { UserEndPoint } from '.';
7
- import { ContactsEndPoint } from '.';
8
- import { DocumentsEndPoint } from '.';
9
- import { SystemConfigsEndPoint } from '.';
10
- import { MyCreditsEndPoint } from '.';
11
- import { AuditLogsEndPoint } from '.';
12
- import { PriceListEndPoint } from '.';
13
- import { CertificatesEndPoint } from '.';
14
- import { LeadsEndPoint } from '.';
15
- import { BookingSlotsEndPoint } from '.';
16
- import { CampaignsEndPoint } from '.';
17
- import { LookupsEndPoint } from '.';
18
- import { SystemMessagesEndPoint } from '.';
19
- import { MyBookingsEndPoint } from '.';
20
- import { AccountsEndPoint } from '.';
21
- import { MaintenancesEndPoint } from '.';
22
- import { MyFlightsEndPoint } from '.';
23
- import { BookingsEndPoint } from '.';
24
- import { CreditsEndPoint } from '.';
25
- import { MessageConfirmsEndPoint } from '.';
26
- import { AirplanesEndPoint } from '.';
27
- import { FlightTicketsEndPoint } from '.';
28
- export declare const Services: (typeof MyBookingsEndPoint | typeof AccountsEndPoint | typeof LookupsEndPoint | typeof SystemMessagesEndPoint | typeof BookingsEndPoint | typeof CreditsEndPoint | typeof MaintenancesEndPoint | typeof MyFlightsEndPoint | typeof AirplanesEndPoint | typeof FlightTicketsEndPoint | typeof MessageConfirmsEndPoint | typeof UsersEndPoint | typeof FlightsEndPoint | typeof GroupsEndPoint | typeof SystemEndPoint | typeof MyAuthEndPoint | typeof ContactsEndPoint | typeof DocumentsEndPoint | typeof UserEndPoint | typeof AuditLogsEndPoint | typeof PriceListEndPoint | typeof SystemConfigsEndPoint | typeof MyCreditsEndPoint | typeof BookingSlotsEndPoint | typeof CampaignsEndPoint | typeof CertificatesEndPoint | typeof LeadsEndPoint)[];
package/utils/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- export * from './ActionResponse';
2
- export * from './BaseRestResponse';
3
- export * from './Entities';
4
- export * from './EntityResponse';
5
- export * from './EntitiesResponse';
6
- export * from './rest-util';
7
- export * from './SimpleEntity';
File without changes
File without changes