@aya-flights/ngx-goox-lib 1.19.65 → 2.18.1-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 (438) hide show
  1. package/config.d.ts +5 -4
  2. package/esm2022/aya-flights-ngx-goox-lib.mjs +5 -0
  3. package/esm2022/config.mjs +15 -0
  4. package/esm2022/lib/model/ADSBCategoryCode.mjs +43 -0
  5. package/esm2022/lib/model/ADSBSourceFlag.mjs +32 -0
  6. package/esm2022/lib/model/ADSBState.mjs +48 -0
  7. package/esm2022/lib/model/Account.mjs +5 -0
  8. package/esm2022/lib/model/AccountStatusCode.mjs +35 -0
  9. package/esm2022/lib/model/AccountTypeCode.mjs +39 -0
  10. package/esm2022/lib/model/AccountsFilter.mjs +27 -0
  11. package/esm2022/lib/model/ActionResponse.mjs +5 -0
  12. package/esm2022/lib/model/Address.mjs +21 -0
  13. package/esm2022/lib/model/Airplane.mjs +5 -0
  14. package/esm2022/lib/model/AirplaneStatusCode.mjs +31 -0
  15. package/esm2022/lib/model/AirplaneValidationFlag.mjs +119 -0
  16. package/esm2022/lib/model/AirplanesFilter.mjs +27 -0
  17. package/esm2022/lib/model/AnyKeyValue.mjs +12 -0
  18. package/esm2022/lib/model/AssessmentCode.mjs +31 -0
  19. package/esm2022/lib/model/AuditLog.mjs +5 -0
  20. package/esm2022/lib/model/AuditLogFilter.mjs +39 -0
  21. package/esm2022/lib/model/BaseEntity.mjs +17 -0
  22. package/esm2022/lib/model/BaseEntityEx.mjs +23 -0
  23. package/esm2022/lib/model/BaseFilter.mjs +18 -0
  24. package/esm2022/lib/model/BaseRestResponse.mjs +12 -0
  25. package/esm2022/lib/model/Billing.mjs +36 -0
  26. package/esm2022/lib/model/BillingRecord.mjs +24 -0
  27. package/esm2022/lib/model/BillingStatusCode.mjs +59 -0
  28. package/esm2022/lib/model/Booking.mjs +5 -0
  29. package/esm2022/lib/model/BookingPlan.mjs +5 -0
  30. package/esm2022/lib/model/BookingSlot.mjs +5 -0
  31. package/esm2022/lib/model/BookingSlots.mjs +5 -0
  32. package/esm2022/lib/model/BookingSlotsSet.mjs +5 -0
  33. package/esm2022/lib/model/BookingStatusCode.mjs +55 -0
  34. package/esm2022/lib/model/BookingTypeFlag.mjs +51 -0
  35. package/esm2022/lib/model/BookingsFilter.mjs +36 -0
  36. package/esm2022/lib/model/Boundaries.mjs +12 -0
  37. package/esm2022/lib/model/Campaign.mjs +5 -0
  38. package/esm2022/lib/model/CampaignStatusCode.mjs +35 -0
  39. package/esm2022/lib/model/CampaignTypeCode.mjs +31 -0
  40. package/esm2022/lib/model/Certificate.mjs +5 -0
  41. package/esm2022/lib/model/CertificatesFilter.mjs +33 -0
  42. package/esm2022/lib/model/ConfirmStatusCode.mjs +31 -0
  43. package/esm2022/lib/model/Contact.mjs +5 -0
  44. package/esm2022/lib/model/ContactGroup.mjs +5 -0
  45. package/esm2022/lib/model/ContactsFilter.mjs +36 -0
  46. package/esm2022/lib/model/Credit.mjs +5 -0
  47. package/esm2022/lib/model/CreditsFilter.mjs +36 -0
  48. package/esm2022/lib/model/CrewDutyDayRisks.mjs +15 -0
  49. package/esm2022/lib/model/CurrencyCode.mjs +31 -0
  50. package/esm2022/lib/model/DepartureRisks.mjs +21 -0
  51. package/esm2022/lib/model/DestinationRisks.mjs +42 -0
  52. package/esm2022/lib/model/Distribution.mjs +15 -0
  53. package/esm2022/lib/model/Document.mjs +5 -0
  54. package/esm2022/lib/model/DocumentRevision.mjs +27 -0
  55. package/esm2022/lib/model/Engine.mjs +21 -0
  56. package/esm2022/lib/model/Entities.mjs +10 -0
  57. package/esm2022/lib/model/EntitiesRequest.mjs +9 -0
  58. package/esm2022/lib/model/EntitiesResponse.mjs +5 -0
  59. package/esm2022/lib/model/EntityAction.mjs +6 -0
  60. package/esm2022/lib/model/EntityRequest.mjs +9 -0
  61. package/esm2022/lib/model/EntityResponse.mjs +5 -0
  62. package/esm2022/lib/model/ErrorCode.mjs +67 -0
  63. package/esm2022/lib/model/FilterFlag.mjs +119 -0
  64. package/esm2022/lib/model/Flight.mjs +5 -0
  65. package/esm2022/lib/model/FlightBilling.mjs +6 -0
  66. package/esm2022/lib/model/FlightCategoryCode.mjs +163 -0
  67. package/esm2022/lib/model/FlightClassCode.mjs +47 -0
  68. package/esm2022/lib/model/FlightPassenger.mjs +5 -0
  69. package/esm2022/lib/model/FlightPlan.mjs +5 -0
  70. package/esm2022/lib/model/FlightPurposeCode.mjs +67 -0
  71. package/esm2022/lib/model/FlightRisk.mjs +6 -0
  72. package/esm2022/lib/model/FlightStateCode.mjs +35 -0
  73. package/esm2022/lib/model/FlightStatusCode.mjs +43 -0
  74. package/esm2022/lib/model/FlightTicket.mjs +5 -0
  75. package/esm2022/lib/model/FlightTypeCode.mjs +39 -0
  76. package/esm2022/lib/model/FlightsFilter.mjs +45 -0
  77. package/esm2022/lib/model/FollowUpAction.mjs +15 -0
  78. package/esm2022/lib/model/Fuel.mjs +27 -0
  79. package/esm2022/lib/model/Group.mjs +5 -0
  80. package/esm2022/lib/model/InstructionTypeCode.mjs +31 -0
  81. package/esm2022/lib/model/IntEnumValue.mjs +12 -0
  82. package/esm2022/lib/model/IntKeyValue.mjs +12 -0
  83. package/esm2022/lib/model/Json.mjs +7 -0
  84. package/esm2022/lib/model/JsonDoc.mjs +13 -0
  85. package/esm2022/lib/model/Lead.mjs +5 -0
  86. package/esm2022/lib/model/LeadAction.mjs +5 -0
  87. package/esm2022/lib/model/LeadStatusCode.mjs +47 -0
  88. package/esm2022/lib/model/LeadsFilter.mjs +24 -0
  89. package/esm2022/lib/model/Lesson.mjs +45 -0
  90. package/esm2022/lib/model/LessonSubjectCode.mjs +383 -0
  91. package/esm2022/lib/model/LessonTypeCode.mjs +59 -0
  92. package/esm2022/lib/model/LicenseKindFlag.mjs +63 -0
  93. package/esm2022/lib/model/LocalTime.mjs +7 -0
  94. package/esm2022/lib/model/Location.mjs +15 -0
  95. package/esm2022/lib/model/LogBookRecord.mjs +5 -0
  96. package/esm2022/lib/model/LoginParams.mjs +15 -0
  97. package/esm2022/lib/model/Lookup.mjs +6 -0
  98. package/esm2022/lib/model/LookupGroup.mjs +5 -0
  99. package/esm2022/lib/model/Magneto.mjs +18 -0
  100. package/esm2022/lib/model/Maintenance.mjs +5 -0
  101. package/esm2022/lib/model/MaintenanceActionCode.mjs +43 -0
  102. package/esm2022/lib/model/MaintenancesFilter.mjs +33 -0
  103. package/esm2022/lib/model/MedicalCertClassCode.mjs +31 -0
  104. package/esm2022/lib/model/MessageConfirm.mjs +5 -0
  105. package/esm2022/lib/model/MessageTypeCode.mjs +47 -0
  106. package/esm2022/lib/model/Metar.mjs +5 -0
  107. package/esm2022/lib/model/MetarReport.mjs +21 -0
  108. package/esm2022/lib/model/Mitigation.mjs +27 -0
  109. package/esm2022/lib/model/ModuleCode.mjs +71 -0
  110. package/esm2022/lib/model/Notification.mjs +5 -0
  111. package/esm2022/lib/model/NotificationTypeCode.mjs +39 -0
  112. package/esm2022/lib/model/OperatorCode.mjs +15 -0
  113. package/esm2022/lib/model/PaymentMethodCode.mjs +43 -0
  114. package/esm2022/lib/model/Permission.mjs +12 -0
  115. package/esm2022/lib/model/PermissionFlag.mjs +43 -0
  116. package/esm2022/lib/model/PilotQualificationsRisks.mjs +18 -0
  117. package/esm2022/lib/model/Point.mjs +12 -0
  118. package/esm2022/lib/model/PostFlightInfo.mjs +117 -0
  119. package/esm2022/lib/model/PreFlightInfo.mjs +99 -0
  120. package/esm2022/lib/model/Price.mjs +5 -0
  121. package/esm2022/lib/model/PriorityCode.mjs +35 -0
  122. package/esm2022/lib/model/Propeller.mjs +21 -0
  123. package/esm2022/lib/model/RiskAssessment.mjs +33 -0
  124. package/esm2022/lib/model/SimpleEntity.mjs +11 -0
  125. package/esm2022/lib/model/SpecialRisks.mjs +15 -0
  126. package/esm2022/lib/model/StatusCode.mjs +39 -0
  127. package/esm2022/lib/model/StorageItem.mjs +5 -0
  128. package/esm2022/lib/model/StringKeyValue.mjs +12 -0
  129. package/esm2022/lib/model/Syllabus.mjs +5 -0
  130. package/esm2022/lib/model/SyllabusFilter.mjs +27 -0
  131. package/esm2022/lib/model/SystemConfig.mjs +5 -0
  132. package/esm2022/lib/model/SystemMessage.mjs +5 -0
  133. package/esm2022/lib/model/TOLData.mjs +24 -0
  134. package/esm2022/lib/model/TafReport.mjs +21 -0
  135. package/esm2022/lib/model/TicketStatusCode.mjs +27 -0
  136. package/esm2022/lib/model/TimeDataPoint.mjs +12 -0
  137. package/esm2022/lib/model/TimeFrame.mjs +12 -0
  138. package/esm2022/lib/model/TimePeriodCode.mjs +39 -0
  139. package/esm2022/lib/model/TimeSeries.mjs +15 -0
  140. package/esm2022/lib/model/Timestamp.mjs +7 -0
  141. package/esm2022/lib/model/TokenData.mjs +18 -0
  142. package/esm2022/lib/model/TransactionTypeCode.mjs +47 -0
  143. package/esm2022/lib/model/TripRisks.mjs +21 -0
  144. package/esm2022/lib/model/Tuple.mjs +16 -0
  145. package/esm2022/lib/model/TypeRatingFlag.mjs +35 -0
  146. package/esm2022/lib/model/User.mjs +6 -0
  147. package/esm2022/lib/model/UserRoleFlag.mjs +51 -0
  148. package/esm2022/lib/model/UserStatusCode.mjs +35 -0
  149. package/esm2022/lib/model/UserTypeCode.mjs +35 -0
  150. package/esm2022/lib/model/UsersFilter.mjs +30 -0
  151. package/esm2022/lib/model/ValidationFlag.mjs +67 -0
  152. package/esm2022/lib/model/WBConfig.mjs +54 -0
  153. package/esm2022/lib/model/WeatherRisks.mjs +36 -0
  154. package/esm2022/lib/model/errorStruct.mjs +12 -0
  155. package/esm2022/lib/model/index.mjs +152 -0
  156. package/esm2022/lib/services/AccountsService.mjs +189 -0
  157. package/esm2022/lib/services/AirplanesService.mjs +196 -0
  158. package/esm2022/lib/services/AuditLogsService.mjs +120 -0
  159. package/esm2022/lib/services/BookingSlotsService.mjs +139 -0
  160. package/esm2022/lib/services/BookingsService.mjs +201 -0
  161. package/esm2022/lib/services/CampaignsService.mjs +96 -0
  162. package/esm2022/lib/services/CertificatesService.mjs +104 -0
  163. package/esm2022/lib/services/ContactsGroupsService.mjs +96 -0
  164. package/esm2022/lib/services/ContactsService.mjs +255 -0
  165. package/esm2022/lib/services/CreditsService.mjs +101 -0
  166. package/esm2022/lib/services/DocumentsService.mjs +109 -0
  167. package/esm2022/lib/services/FlightTicketsService.mjs +80 -0
  168. package/esm2022/lib/services/FlightsService.mjs +335 -0
  169. package/esm2022/lib/services/GroupsService.mjs +96 -0
  170. package/esm2022/lib/services/LeadsService.mjs +203 -0
  171. package/esm2022/lib/services/LookupsService.mjs +87 -0
  172. package/esm2022/lib/services/MaintenancesService.mjs +104 -0
  173. package/esm2022/lib/services/McpToolsService.mjs +58 -0
  174. package/esm2022/lib/services/MessageConfirmsService.mjs +104 -0
  175. package/esm2022/lib/services/MyAuthService.mjs +58 -0
  176. package/esm2022/lib/services/MyBookingsService.mjs +148 -0
  177. package/esm2022/lib/services/MyCertificatesService.mjs +101 -0
  178. package/esm2022/lib/services/MyCreditsService.mjs +50 -0
  179. package/esm2022/lib/services/MyFlightsService.mjs +137 -0
  180. package/esm2022/lib/services/MyInfoEndPoint.mjs +50 -0
  181. package/esm2022/lib/services/MyMessagesEndPoint.mjs +46 -0
  182. package/esm2022/lib/services/MyStudentsService.mjs +62 -0
  183. package/esm2022/lib/services/PriceListService.mjs +80 -0
  184. package/esm2022/lib/services/SyllabusService.mjs +89 -0
  185. package/esm2022/lib/services/SystemConfigsService.mjs +71 -0
  186. package/esm2022/lib/services/SystemMessagesService.mjs +105 -0
  187. package/esm2022/lib/services/SystemService.mjs +34 -0
  188. package/esm2022/lib/services/UserService.mjs +35 -0
  189. package/esm2022/lib/services/UsersService.mjs +114 -0
  190. package/esm2022/lib/services/index.mjs +35 -0
  191. package/esm2022/ngx-goox-lib.module.mjs +26 -0
  192. package/esm2022/public-api.mjs +8 -0
  193. package/esm2022/rest-utils.mjs +137 -0
  194. package/fesm2022/aya-flights-ngx-goox-lib.mjs +5399 -4375
  195. package/fesm2022/aya-flights-ngx-goox-lib.mjs.map +1 -1
  196. package/lib/{ADSBState.d.ts → model/ADSBState.d.ts} +1 -1
  197. package/lib/model/Account.d.ts +21 -0
  198. package/lib/model/AccountTypeCode.d.ts +11 -0
  199. package/lib/model/AccountsFilter.d.ts +12 -0
  200. package/lib/{Airplane.d.ts → model/Airplane.d.ts} +11 -10
  201. package/lib/model/AirplanesFilter.d.ts +11 -0
  202. package/lib/{AssessmentCode.d.ts → model/AssessmentCode.d.ts} +3 -7
  203. package/lib/{AuditLog.d.ts → model/AuditLog.d.ts} +2 -5
  204. package/lib/model/AuditLogFilter.d.ts +15 -0
  205. package/lib/model/BaseFilter.d.ts +7 -0
  206. package/{utils → lib/model}/BaseRestResponse.d.ts +1 -0
  207. package/lib/{Billing.d.ts → model/Billing.d.ts} +1 -1
  208. package/lib/model/Booking.d.ts +23 -0
  209. package/lib/model/BookingPlan.d.ts +20 -0
  210. package/lib/{BookingSlot.d.ts → model/BookingSlot.d.ts} +2 -4
  211. package/lib/model/BookingSlots.d.ts +6 -0
  212. package/lib/model/BookingSlotsSet.d.ts +8 -0
  213. package/lib/{BookingStatusCode.d.ts → model/BookingStatusCode.d.ts} +4 -2
  214. package/lib/model/BookingsFilter.d.ts +15 -0
  215. package/lib/model/Boundaries.d.ts +5 -0
  216. package/lib/{Campaign.d.ts → model/Campaign.d.ts} +4 -7
  217. package/lib/{Certificate.d.ts → model/Certificate.d.ts} +3 -6
  218. package/lib/model/CertificatesFilter.d.ts +15 -0
  219. package/lib/model/Contact.d.ts +37 -0
  220. package/lib/model/ContactGroup.d.ts +6 -0
  221. package/lib/model/ContactsFilter.d.ts +17 -0
  222. package/lib/{Credit.d.ts → model/Credit.d.ts} +4 -6
  223. package/lib/model/CreditsFilter.d.ts +15 -0
  224. package/lib/model/Distribution.d.ts +7 -0
  225. package/lib/{Document.d.ts → model/Document.d.ts} +2 -5
  226. package/{utils → lib/model}/Entities.d.ts +1 -0
  227. package/lib/model/EntitiesRequest.d.ts +4 -0
  228. package/lib/model/EntityAction.d.ts +3 -0
  229. package/lib/model/EntityRequest.d.ts +4 -0
  230. package/{utils → lib/model}/EntityResponse.d.ts +0 -4
  231. package/lib/{ErrorCode.d.ts → model/ErrorCode.d.ts} +5 -1
  232. package/lib/{Flight.d.ts → model/Flight.d.ts} +20 -24
  233. package/lib/{FlightBilling.d.ts → model/FlightBilling.d.ts} +2 -5
  234. package/lib/model/FlightCategoryCode.d.ts +42 -0
  235. package/lib/model/FlightClassCode.d.ts +13 -0
  236. package/lib/{FlightPassenger.d.ts → model/FlightPassenger.d.ts} +1 -4
  237. package/lib/{FlightPlan.d.ts → model/FlightPlan.d.ts} +6 -9
  238. package/lib/{FlightPurposeCode.d.ts → model/FlightPurposeCode.d.ts} +1 -1
  239. package/lib/model/FlightRisk.d.ts +20 -0
  240. package/lib/{FlightTicket.d.ts → model/FlightTicket.d.ts} +2 -5
  241. package/lib/{FlightTypeCode.d.ts → model/FlightTypeCode.d.ts} +4 -10
  242. package/lib/model/FlightsFilter.d.ts +21 -0
  243. package/lib/model/FollowUpAction.d.ts +6 -0
  244. package/lib/model/Group.d.ts +9 -0
  245. package/lib/model/InstructionTypeCode.d.ts +9 -0
  246. package/lib/model/IntEnumValue.d.ts +5 -0
  247. package/lib/model/Json.d.ts +3 -0
  248. package/lib/model/JsonDoc.d.ts +5 -0
  249. package/lib/{Lead.d.ts → model/Lead.d.ts} +6 -10
  250. package/lib/model/LeadAction.d.ts +7 -0
  251. package/lib/model/LeadsFilter.d.ts +10 -0
  252. package/lib/model/Lesson.d.ts +19 -0
  253. package/lib/model/LessonSubjectCode.d.ts +97 -0
  254. package/lib/model/LessonTypeCode.d.ts +16 -0
  255. package/lib/model/LicenseKindFlag.d.ts +17 -0
  256. package/lib/model/LocalTime.d.ts +3 -0
  257. package/lib/{LogBookRecord.d.ts → model/LogBookRecord.d.ts} +1 -4
  258. package/lib/model/Lookup.d.ts +8 -0
  259. package/lib/model/LookupGroup.d.ts +6 -0
  260. package/lib/{Maintenance.d.ts → model/Maintenance.d.ts} +3 -6
  261. package/lib/model/MaintenancesFilter.d.ts +15 -0
  262. package/lib/model/MedicalCertClassCode.d.ts +9 -0
  263. package/lib/model/MessageConfirm.d.ts +13 -0
  264. package/lib/model/Metar.d.ts +7 -0
  265. package/lib/model/MetarReport.d.ts +8 -0
  266. package/lib/model/Notification.d.ts +11 -0
  267. package/lib/model/NotificationTypeCode.d.ts +11 -0
  268. package/lib/{Permission.d.ts → model/Permission.d.ts} +2 -2
  269. package/lib/model/Point.d.ts +5 -0
  270. package/lib/model/PostFlightInfo.d.ts +44 -0
  271. package/lib/{PreFlightInfo.d.ts → model/PreFlightInfo.d.ts} +10 -10
  272. package/lib/model/Price.d.ts +9 -0
  273. package/lib/{RiskAssessment.d.ts → model/RiskAssessment.d.ts} +8 -8
  274. package/{utils → lib/model}/SimpleEntity.d.ts +1 -0
  275. package/lib/model/StorageItem.d.ts +9 -0
  276. package/lib/model/Syllabus.d.ts +12 -0
  277. package/lib/model/SyllabusFilter.d.ts +12 -0
  278. package/lib/model/SystemConfig.d.ts +5 -0
  279. package/lib/model/SystemMessage.d.ts +11 -0
  280. package/lib/model/TafReport.d.ts +8 -0
  281. package/lib/model/TimeDataPoint.d.ts +5 -0
  282. package/lib/model/TimePeriodCode.d.ts +11 -0
  283. package/lib/{TimeSeries.d.ts → model/TimeSeries.d.ts} +2 -2
  284. package/lib/model/Timestamp.d.ts +3 -0
  285. package/lib/{TokenData.d.ts → model/TokenData.d.ts} +2 -2
  286. package/lib/{TransactionTypeCode.d.ts → model/TransactionTypeCode.d.ts} +2 -1
  287. package/lib/model/Tuple.d.ts +5 -0
  288. package/lib/model/TypeRatingFlag.d.ts +10 -0
  289. package/lib/model/User.d.ts +14 -0
  290. package/lib/model/UsersFilter.d.ts +14 -0
  291. package/lib/{ValidationFlag.d.ts → model/ValidationFlag.d.ts} +1 -8
  292. package/lib/model/WBConfig.d.ts +20 -0
  293. package/lib/model/errorStruct.d.ts +5 -0
  294. package/lib/{index.d.ts → model/index.d.ts} +130 -123
  295. package/lib/services/AccountsService.d.ts +69 -0
  296. package/lib/services/AirplanesService.d.ts +75 -0
  297. package/lib/{AuditLogsEndPoint.d.ts → services/AuditLogsService.d.ts} +10 -8
  298. package/lib/{BookingSlotsEndPoint.d.ts → services/BookingSlotsService.d.ts} +24 -9
  299. package/lib/services/BookingsService.d.ts +70 -0
  300. package/lib/{CampaignsEndPoint.d.ts → services/CampaignsService.d.ts} +11 -8
  301. package/lib/services/CertificatesService.d.ts +52 -0
  302. package/lib/services/ContactsGroupsService.d.ts +44 -0
  303. package/lib/services/ContactsService.d.ts +88 -0
  304. package/lib/{CreditsEndPoint.d.ts → services/CreditsService.d.ts} +15 -8
  305. package/lib/{DocumentsEndPoint.d.ts → services/DocumentsService.d.ts} +19 -7
  306. package/lib/{FlightTicketsEndPoint.d.ts → services/FlightTicketsService.d.ts} +12 -8
  307. package/lib/{FlightsEndPoint.d.ts → services/FlightsService.d.ts} +47 -16
  308. package/lib/{GroupsEndPoint.d.ts → services/GroupsService.d.ts} +15 -8
  309. package/lib/services/LeadsService.d.ts +110 -0
  310. package/lib/{LookupsEndPoint.d.ts → services/LookupsService.d.ts} +11 -8
  311. package/lib/{MaintenancesEndPoint.d.ts → services/MaintenancesService.d.ts} +14 -9
  312. package/lib/services/McpToolsService.d.ts +25 -0
  313. package/lib/services/MessageConfirmsService.d.ts +50 -0
  314. package/lib/services/MyAuthService.d.ts +37 -0
  315. package/lib/services/MyBookingsService.d.ts +65 -0
  316. package/lib/{CertificatesEndPoint.d.ts → services/MyCertificatesService.d.ts} +13 -9
  317. package/lib/services/MyCreditsService.d.ts +22 -0
  318. package/lib/services/MyFlightsService.d.ts +70 -0
  319. package/lib/services/MyInfoEndPoint.d.ts +27 -0
  320. package/lib/services/MyMessagesEndPoint.d.ts +28 -0
  321. package/lib/services/MyStudentsService.d.ts +35 -0
  322. package/lib/{PriceListEndPoint.d.ts → services/PriceListService.d.ts} +12 -8
  323. package/lib/services/SyllabusService.d.ts +45 -0
  324. package/lib/{SystemConfigsEndPoint.d.ts → services/SystemConfigsService.d.ts} +10 -7
  325. package/lib/{SystemMessagesEndPoint.d.ts → services/SystemMessagesService.d.ts} +17 -9
  326. package/lib/services/SystemService.d.ts +16 -0
  327. package/lib/services/UserService.d.ts +19 -0
  328. package/lib/services/UsersService.d.ts +50 -0
  329. package/lib/services/index.d.ts +34 -0
  330. package/ngx-goox-lib.module.d.ts +3 -4
  331. package/package.json +6 -4
  332. package/public-api.d.ts +3 -3
  333. package/{utils/rest-util.d.ts → rest-utils.d.ts} +5 -5
  334. package/lib/Account.d.ts +0 -24
  335. package/lib/AccountFilter.d.ts +0 -6
  336. package/lib/AccountsEndPoint.d.ts +0 -60
  337. package/lib/AirplaneFilter.d.ts +0 -7
  338. package/lib/AirplanesEndPoint.d.ts +0 -61
  339. package/lib/AuditLogFilter.d.ts +0 -11
  340. package/lib/BaseFilter.d.ts +0 -4
  341. package/lib/Booking.d.ts +0 -20
  342. package/lib/BookingFilter.d.ts +0 -13
  343. package/lib/BookingSlots.d.ts +0 -9
  344. package/lib/BookingSlotsSet.d.ts +0 -11
  345. package/lib/BookingsEndPoint.d.ts +0 -54
  346. package/lib/CertificateFilter.d.ts +0 -9
  347. package/lib/ColumnDef.d.ts +0 -10
  348. package/lib/Contact.d.ts +0 -39
  349. package/lib/ContactFilter.d.ts +0 -7
  350. package/lib/ContactsEndPoint.d.ts +0 -77
  351. package/lib/CreditFilter.d.ts +0 -9
  352. package/lib/Enums.d.ts +0 -1
  353. package/lib/FlightFilter.d.ts +0 -18
  354. package/lib/FlightRisk.d.ts +0 -23
  355. package/lib/Group.d.ts +0 -12
  356. package/lib/LeadAction.d.ts +0 -10
  357. package/lib/LeadFilter.d.ts +0 -10
  358. package/lib/LeadsEndPoint.d.ts +0 -66
  359. package/lib/Lesson.d.ts +0 -12
  360. package/lib/Lookup.d.ts +0 -11
  361. package/lib/LookupGroup.d.ts +0 -8
  362. package/lib/MaintenanceFilter.d.ts +0 -12
  363. package/lib/MessageConfirm.d.ts +0 -18
  364. package/lib/MessageConfirmsEndPoint.d.ts +0 -36
  365. package/lib/MyAuthEndPoint.d.ts +0 -24
  366. package/lib/MyBookingsEndPoint.d.ts +0 -38
  367. package/lib/MyCreditsEndPoint.d.ts +0 -20
  368. package/lib/MyFlightsEndPoint.d.ts +0 -43
  369. package/lib/OnBoard.d.ts +0 -7
  370. package/lib/PostFlightData.d.ts +0 -37
  371. package/lib/PostFlightInfo.d.ts +0 -42
  372. package/lib/PreFlightData.d.ts +0 -37
  373. package/lib/Price.d.ts +0 -12
  374. package/lib/ReFuel.d.ts +0 -6
  375. package/lib/SystemConfig.d.ts +0 -8
  376. package/lib/SystemEndPoint.d.ts +0 -15
  377. package/lib/SystemMessage.d.ts +0 -13
  378. package/lib/TimeDataPoint.d.ts +0 -5
  379. package/lib/Tuple.d.ts +0 -5
  380. package/lib/User.d.ts +0 -17
  381. package/lib/UserEndPoint.d.ts +0 -18
  382. package/lib/UserFilter.d.ts +0 -12
  383. package/lib/UsersEndPoint.d.ts +0 -45
  384. package/lib/services.export.d.ts +0 -28
  385. package/utils/index.d.ts +0 -7
  386. /package/lib/{ADSBCategoryCode.d.ts → model/ADSBCategoryCode.d.ts} +0 -0
  387. /package/lib/{ADSBSourceFlag.d.ts → model/ADSBSourceFlag.d.ts} +0 -0
  388. /package/lib/{AccountStatusCode.d.ts → model/AccountStatusCode.d.ts} +0 -0
  389. /package/{utils → lib/model}/ActionResponse.d.ts +0 -0
  390. /package/lib/{Address.d.ts → model/Address.d.ts} +0 -0
  391. /package/lib/{AirplaneStatusCode.d.ts → model/AirplaneStatusCode.d.ts} +0 -0
  392. /package/lib/{AirplaneValidationFlag.d.ts → model/AirplaneValidationFlag.d.ts} +0 -0
  393. /package/lib/{AnyKeyValue.d.ts → model/AnyKeyValue.d.ts} +0 -0
  394. /package/lib/{BaseEntity.d.ts → model/BaseEntity.d.ts} +0 -0
  395. /package/lib/{BaseEntityEx.d.ts → model/BaseEntityEx.d.ts} +0 -0
  396. /package/lib/{BillingRecord.d.ts → model/BillingRecord.d.ts} +0 -0
  397. /package/lib/{BillingStatusCode.d.ts → model/BillingStatusCode.d.ts} +0 -0
  398. /package/lib/{BookingTypeFlag.d.ts → model/BookingTypeFlag.d.ts} +0 -0
  399. /package/lib/{CampaignStatusCode.d.ts → model/CampaignStatusCode.d.ts} +0 -0
  400. /package/lib/{CampaignTypeCode.d.ts → model/CampaignTypeCode.d.ts} +0 -0
  401. /package/lib/{ConfirmStatusCode.d.ts → model/ConfirmStatusCode.d.ts} +0 -0
  402. /package/lib/{CrewDutyDayRisks.d.ts → model/CrewDutyDayRisks.d.ts} +0 -0
  403. /package/lib/{CurrencyCode.d.ts → model/CurrencyCode.d.ts} +0 -0
  404. /package/lib/{DepartureRisks.d.ts → model/DepartureRisks.d.ts} +0 -0
  405. /package/lib/{DestinationRisks.d.ts → model/DestinationRisks.d.ts} +0 -0
  406. /package/lib/{DocumentRevision.d.ts → model/DocumentRevision.d.ts} +0 -0
  407. /package/lib/{Engine.d.ts → model/Engine.d.ts} +0 -0
  408. /package/{utils → lib/model}/EntitiesResponse.d.ts +0 -0
  409. /package/lib/{FilterFlag.d.ts → model/FilterFlag.d.ts} +0 -0
  410. /package/lib/{FlightStateCode.d.ts → model/FlightStateCode.d.ts} +0 -0
  411. /package/lib/{FlightStatusCode.d.ts → model/FlightStatusCode.d.ts} +0 -0
  412. /package/lib/{Fuel.d.ts → model/Fuel.d.ts} +0 -0
  413. /package/lib/{IntKeyValue.d.ts → model/IntKeyValue.d.ts} +0 -0
  414. /package/lib/{LeadStatusCode.d.ts → model/LeadStatusCode.d.ts} +0 -0
  415. /package/lib/{Location.d.ts → model/Location.d.ts} +0 -0
  416. /package/lib/{LoginParams.d.ts → model/LoginParams.d.ts} +0 -0
  417. /package/lib/{Magneto.d.ts → model/Magneto.d.ts} +0 -0
  418. /package/lib/{MaintenanceActionCode.d.ts → model/MaintenanceActionCode.d.ts} +0 -0
  419. /package/lib/{MessageTypeCode.d.ts → model/MessageTypeCode.d.ts} +0 -0
  420. /package/lib/{Mitigation.d.ts → model/Mitigation.d.ts} +0 -0
  421. /package/lib/{ModuleCode.d.ts → model/ModuleCode.d.ts} +0 -0
  422. /package/lib/{OperatorCode.d.ts → model/OperatorCode.d.ts} +0 -0
  423. /package/lib/{PaymentMethodCode.d.ts → model/PaymentMethodCode.d.ts} +0 -0
  424. /package/lib/{PermissionFlag.d.ts → model/PermissionFlag.d.ts} +0 -0
  425. /package/lib/{PilotQualificationsRisks.d.ts → model/PilotQualificationsRisks.d.ts} +0 -0
  426. /package/lib/{PriorityCode.d.ts → model/PriorityCode.d.ts} +0 -0
  427. /package/lib/{Propeller.d.ts → model/Propeller.d.ts} +0 -0
  428. /package/lib/{SpecialRisks.d.ts → model/SpecialRisks.d.ts} +0 -0
  429. /package/lib/{StatusCode.d.ts → model/StatusCode.d.ts} +0 -0
  430. /package/lib/{StringKeyValue.d.ts → model/StringKeyValue.d.ts} +0 -0
  431. /package/lib/{TOLData.d.ts → model/TOLData.d.ts} +0 -0
  432. /package/lib/{TicketStatusCode.d.ts → model/TicketStatusCode.d.ts} +0 -0
  433. /package/lib/{TimeFrame.d.ts → model/TimeFrame.d.ts} +0 -0
  434. /package/lib/{TripRisks.d.ts → model/TripRisks.d.ts} +0 -0
  435. /package/lib/{UserRoleFlag.d.ts → model/UserRoleFlag.d.ts} +0 -0
  436. /package/lib/{UserStatusCode.d.ts → model/UserStatusCode.d.ts} +0 -0
  437. /package/lib/{UserTypeCode.d.ts → model/UserTypeCode.d.ts} +0 -0
  438. /package/lib/{WeatherRisks.d.ts → model/WeatherRisks.d.ts} +0 -0
@@ -0,0 +1,75 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { StringKeyValue } from '../model';
4
+ import { Document } from '../model';
5
+ import { MaintenanceActionCode } from '../model';
6
+ import { EntitiesResponse } from '../model';
7
+ import { FlightTypeCode } from '../model';
8
+ import { StatusCode } from '../model';
9
+ import { Maintenance } from '../model';
10
+ import { Flight } from '../model';
11
+ import { Airplane } from '../model';
12
+ import { ActionResponse } from '../model';
13
+ import { FlightStatusCode } from '../model';
14
+ import { FlightStateCode } from '../model';
15
+ import { FlightPurposeCode } from '../model';
16
+ import { EntityResponse } from '../model';
17
+ import { AirplaneStatusCode } from '../model';
18
+ import * as i0 from "@angular/core";
19
+ export declare class AirplanesService {
20
+ private config;
21
+ private rest;
22
+ private baseUrl;
23
+ constructor(config: AppConfig, rest: RestUtils);
24
+ /**
25
+ * region Endpoint REST handlers ---------------------------------------------------------------------------------------
26
+ * Get new and empty account template
27
+ */
28
+ new(): import("rxjs").Observable<EntityResponse<Airplane>>;
29
+ /**
30
+ * Create new airplane
31
+ */
32
+ create(body?: Airplane): import("rxjs").Observable<EntityResponse<Airplane>>;
33
+ /**
34
+ * Update existing airplane
35
+ */
36
+ update(body?: Airplane): import("rxjs").Observable<EntityResponse<Airplane>>;
37
+ /**
38
+ * Update existing airplane's Weight and Balance configuration
39
+ */
40
+ updateWBConfig(body?: Airplane): import("rxjs").Observable<EntityResponse<Airplane>>;
41
+ /**
42
+ * Delete airplane and all its content
43
+ */
44
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
45
+ /**
46
+ * Get a single airplane by id
47
+ */
48
+ get(id?: string): import("rxjs").Observable<EntityResponse<Airplane>>;
49
+ /**
50
+ * Find airplanes by query
51
+ */
52
+ find(search?: string, status?: AirplaneStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Airplane>>;
53
+ /**
54
+ * Lookup airplanes ID->Name by filter
55
+ */
56
+ lookup(search?: string, status?: AirplaneStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
57
+ /**
58
+ * Get minimal active airplanes data for hours statistics only
59
+ */
60
+ hours(): import("rxjs").Observable<EntitiesResponse<Airplane>>;
61
+ /**
62
+ * Find airplane flights
63
+ */
64
+ 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>>;
65
+ /**
66
+ * Find airplane documents
67
+ */
68
+ findDocuments(id?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Document>>;
69
+ /**
70
+ * Find airplane maintenance log book
71
+ */
72
+ findMaintenance(id?: string, search?: string, status?: StatusCode[], action?: MaintenanceActionCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Maintenance>>;
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<AirplanesService, never>;
74
+ static ɵprov: i0.ɵɵInjectableDeclaration<AirplanesService>;
75
+ }
@@ -1,13 +1,15 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { AuditLog } from '.';
4
- import { TimeSeries } from '.';
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { AuditLog } from '../model';
4
+ import { EntityResponse } from '../model';
5
+ import { EntitiesResponse } from '../model';
6
+ import { TimeSeries } from '../model';
5
7
  import * as i0 from "@angular/core";
6
- export declare class AuditLogsEndPoint {
8
+ export declare class AuditLogsService {
7
9
  private config;
8
10
  private rest;
9
11
  private baseUrl;
10
- constructor(config: GooxConfig, rest: RestUtil);
12
+ constructor(config: AppConfig, rest: RestUtils);
11
13
  /**
12
14
  * Create new auditLog
13
15
  */
@@ -24,6 +26,6 @@ export declare class AuditLogsEndPoint {
24
26
  * Find auditLogs count histogram over time
25
27
  */
26
28
  histogram(from?: number, to?: number, userId?: string, action?: string, itemType?: string, itemId?: string, itemName?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogsEndPoint, never>;
28
- static ɵprov: i0.ɵɵInjectableDeclaration<AuditLogsEndPoint>;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogsService, never>;
30
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuditLogsService>;
29
31
  }
@@ -1,14 +1,17 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { BookingSlot } from '.';
4
- import { BookingSlots } from '.';
5
- import { BookingSlotsSet } from '.';
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { BookingSlots } from '../model';
4
+ import { BookingSlotsSet } from '../model';
5
+ import { EntityResponse } from '../model';
6
+ import { BookingSlot } from '../model';
7
+ import { ActionResponse } from '../model';
8
+ import { EntitiesResponse } from '../model';
6
9
  import * as i0 from "@angular/core";
7
- export declare class BookingSlotsEndPoint {
10
+ export declare class BookingSlotsService {
8
11
  private config;
9
12
  private rest;
10
13
  private baseUrl;
11
- constructor(config: GooxConfig, rest: RestUtil);
14
+ constructor(config: AppConfig, rest: RestUtils);
12
15
  /**
13
16
  * Get new and empty booking slot template
14
17
  */
@@ -45,6 +48,18 @@ export declare class BookingSlotsEndPoint {
45
48
  * Add or remove a bulk of monthly slots for patterns
46
49
  */
47
50
  setMonthlySlot(body?: BookingSlotsSet): import("rxjs").Observable<ActionResponse>;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<BookingSlotsEndPoint, never>;
49
- static ɵprov: i0.ɵɵInjectableDeclaration<BookingSlotsEndPoint>;
51
+ /**
52
+ * Publish slots (make invisible slots to visible)
53
+ */
54
+ publish(id?: string[]): import("rxjs").Observable<ActionResponse>;
55
+ /**
56
+ * UnPublish slots (make visible slots to invisible)
57
+ */
58
+ unPublish(id?: string[]): import("rxjs").Observable<ActionResponse>;
59
+ /**
60
+ * Unbook slot will remove the booking item related to this slot, but if it is related to a flight, it will return an error
61
+ */
62
+ unBook(id?: string): import("rxjs").Observable<ActionResponse>;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookingSlotsService, never>;
64
+ static ɵprov: i0.ɵɵInjectableDeclaration<BookingSlotsService>;
50
65
  }
@@ -0,0 +1,70 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { BookingPlan } from '../model';
4
+ import { EntityResponse } from '../model';
5
+ import { Booking } from '../model';
6
+ import { BookingStatusCode } from '../model';
7
+ import { ActionResponse } from '../model';
8
+ import { EntitiesResponse } from '../model';
9
+ import { TimeSeries } from '../model';
10
+ import * as i0 from "@angular/core";
11
+ export declare class BookingsService {
12
+ private config;
13
+ private rest;
14
+ private baseUrl;
15
+ constructor(config: AppConfig, rest: RestUtils);
16
+ /**
17
+ * Get new and empty account template
18
+ */
19
+ new(): import("rxjs").Observable<EntityResponse<Booking>>;
20
+ /**
21
+ * Create new booking
22
+ */
23
+ create(body?: Booking): import("rxjs").Observable<EntityResponse<Booking>>;
24
+ /**
25
+ * Update existing booking
26
+ */
27
+ update(body?: Booking): import("rxjs").Observable<EntityResponse<Booking>>;
28
+ /**
29
+ * Approve booking
30
+ */
31
+ updateStatus(id?: string, status?: BookingStatusCode): import("rxjs").Observable<EntityResponse<Booking>>;
32
+ /**
33
+ * Delete booking and all its content
34
+ */
35
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
36
+ /**
37
+ * Get a single booking by id
38
+ */
39
+ get(id?: string): import("rxjs").Observable<EntityResponse<Booking>>;
40
+ /**
41
+ * Find bookings by query
42
+ */
43
+ find(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, status?: BookingStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
44
+ /**
45
+ * Find bookings count histogram over time (up to last 30 days)
46
+ */
47
+ histogram(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, status?: BookingStatusCode[]): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
48
+ /**
49
+ * Get bookings schedule for specific month, the result size is limited to 1000 entries
50
+ */
51
+ schedule(year?: number, month?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
52
+ /**
53
+ * Find my bookings by query
54
+ */
55
+ myBookings(search?: string, airplaneId?: string, from?: number, to?: number, status?: BookingStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
56
+ /**
57
+ * Get bookings plan data for specific day
58
+ */
59
+ getBookingPlan(year?: number, month?: number, day?: number): import("rxjs").Observable<EntitiesResponse<BookingPlan>>;
60
+ /**
61
+ * Launch flight from booking ID and returns new bookings plan data for specific day
62
+ */
63
+ launchFromBooking(id?: string): import("rxjs").Observable<EntitiesResponse<BookingPlan>>;
64
+ /**
65
+ * Launch flight from booking
66
+ */
67
+ launch(body?: Booking): import("rxjs").Observable<ActionResponse>;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookingsService, never>;
69
+ static ɵprov: i0.ɵɵInjectableDeclaration<BookingsService>;
70
+ }
@@ -1,13 +1,16 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { Campaign } from '.';
4
- import { StringKeyValue } from '.';
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { EntitiesResponse } from '../model';
4
+ import { StringKeyValue } from '../model';
5
+ import { EntityResponse } from '../model';
6
+ import { Campaign } from '../model';
7
+ import { ActionResponse } from '../model';
5
8
  import * as i0 from "@angular/core";
6
- export declare class CampaignsEndPoint {
9
+ export declare class CampaignsService {
7
10
  private config;
8
11
  private rest;
9
12
  private baseUrl;
10
- constructor(config: GooxConfig, rest: RestUtil);
13
+ constructor(config: AppConfig, rest: RestUtils);
11
14
  /**
12
15
  * Get new and empty Campaign template
13
16
  */
@@ -36,6 +39,6 @@ export declare class CampaignsEndPoint {
36
39
  * Lookup campaigns ID->Name by filter
37
40
  */
38
41
  lookup(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<CampaignsEndPoint, never>;
40
- static ɵprov: i0.ɵɵInjectableDeclaration<CampaignsEndPoint>;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<CampaignsService, never>;
43
+ static ɵprov: i0.ɵɵInjectableDeclaration<CampaignsService>;
41
44
  }
@@ -0,0 +1,52 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { EntityResponse } from '../model';
4
+ import { Certificate } from '../model';
5
+ import { ActionResponse } from '../model';
6
+ import { StatusCode } from '../model';
7
+ import { EntitiesResponse } from '../model';
8
+ import * as i0 from "@angular/core";
9
+ export declare class CertificatesService {
10
+ private config;
11
+ private rest;
12
+ private baseUrl;
13
+ constructor(config: AppConfig, rest: RestUtils);
14
+ /**
15
+ * Get new and empty certificate template
16
+ */
17
+ new(): import("rxjs").Observable<EntityResponse<Certificate>>;
18
+ /**
19
+ * Create new certificate
20
+ */
21
+ create(body?: Certificate): import("rxjs").Observable<EntityResponse<Certificate>>;
22
+ /**
23
+ * Update existing certificate
24
+ */
25
+ update(body?: Certificate): import("rxjs").Observable<EntityResponse<Certificate>>;
26
+ /**
27
+ * Delete certificate and all its content
28
+ */
29
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
30
+ /**
31
+ * Get a single certificate by id
32
+ */
33
+ get(id?: string): import("rxjs").Observable<EntityResponse<Certificate>>;
34
+ /**
35
+ * Find certificates by query
36
+ */
37
+ find(contactId?: string, search?: string, status?: StatusCode[], valid?: boolean, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Certificate>>;
38
+ /**
39
+ * Upload certificate reference document
40
+ */
41
+ getUploadUrl(id?: string): string;
42
+ /**
43
+ * Download certificate reference document
44
+ */
45
+ download(id?: string): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Blob>>;
46
+ /**
47
+ * Delete certificate reference document
48
+ */
49
+ deleteReference(id?: string): import("rxjs").Observable<ActionResponse>;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<CertificatesService, never>;
51
+ static ɵprov: i0.ɵɵInjectableDeclaration<CertificatesService>;
52
+ }
@@ -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 ContactsGroupsService {
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<ContactsGroupsService, never>;
43
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContactsGroupsService>;
44
+ }
@@ -0,0 +1,88 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { Flight } from '../model';
4
+ import { Document } from '../model';
5
+ import { LicenseKindFlag } from '../model';
6
+ import { Certificate } from '../model';
7
+ import { FlightStatusCode } from '../model';
8
+ import { FlightPurposeCode } from '../model';
9
+ import { MessageConfirm } from '../model';
10
+ import { FlightCategoryCode } from '../model';
11
+ import { EntitiesResponse } from '../model';
12
+ import { FlightTypeCode } from '../model';
13
+ import { EntityResponse } from '../model';
14
+ import { ActionResponse } from '../model';
15
+ import { TypeRatingFlag } from '../model';
16
+ import { StringKeyValue } from '../model';
17
+ import { Contact } from '../model';
18
+ import { StatusCode } from '../model';
19
+ import { FlightStateCode } from '../model';
20
+ import * as i0 from "@angular/core";
21
+ export declare class ContactsService {
22
+ private config;
23
+ private rest;
24
+ private baseUrl;
25
+ constructor(config: AppConfig, rest: RestUtils);
26
+ /**
27
+ * Get new and empty contact template
28
+ */
29
+ new(): import("rxjs").Observable<EntityResponse<Contact>>;
30
+ /**
31
+ * Create new contact
32
+ */
33
+ create(body?: Contact): import("rxjs").Observable<EntityResponse<Contact>>;
34
+ /**
35
+ * Update existing contact
36
+ */
37
+ update(body?: Contact): import("rxjs").Observable<EntityResponse<Contact>>;
38
+ /**
39
+ * Delete contact and all its content
40
+ */
41
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
42
+ /**
43
+ * Get a single contact by id
44
+ */
45
+ get(id?: string): import("rxjs").Observable<EntityResponse<Contact>>;
46
+ /**
47
+ * Find contacts by query
48
+ */
49
+ find(search?: string, status?: StatusCode[], isPilot?: boolean, plan?: FlightCategoryCode[], typesRating?: TypeRatingFlag[], licenseKind?: LicenseKindFlag[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Contact>>;
50
+ /**
51
+ * Lookup contacts ID->Name by filter
52
+ */
53
+ lookup(search?: string, status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
54
+ /**
55
+ * Lookup only contacts that are active pilots ID->Name by filter
56
+ */
57
+ lookupPilots(search?: string, status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
58
+ /**
59
+ * Find contact certificates by query
60
+ */
61
+ findCertificates(id?: string, search?: string, status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Certificate>>;
62
+ /**
63
+ * Find contact related flights by query
64
+ */
65
+ 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>>;
66
+ /**
67
+ * Find message confirmations for this contact
68
+ */
69
+ findConfirms(id?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<MessageConfirm>>;
70
+ /**
71
+ * Find related documents for this contact
72
+ */
73
+ findDocuments(id?: string, search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Document>>;
74
+ /**
75
+ * Find contact related flights for student sheet (all flights of type LESSON that the student is captain of first officer)
76
+ */
77
+ getStudentSheet(id?: string, sort?: string): import("rxjs").Observable<EntitiesResponse<Flight>>;
78
+ /**
79
+ * Download student sheet as XLSX document
80
+ */
81
+ downloadStudentSheetXlsx(id?: string): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Blob>>;
82
+ /**
83
+ * Download student sheet as CSV document
84
+ */
85
+ downloadStudentSheetCsv(id?: string): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Blob>>;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactsService, never>;
87
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContactsService>;
88
+ }
@@ -1,12 +1,15 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { Credit } from '.';
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
- export declare class CreditsEndPoint {
8
+ export declare class CreditsService {
6
9
  private config;
7
10
  private rest;
8
11
  private baseUrl;
9
- constructor(config: GooxConfig, rest: RestUtil);
12
+ constructor(config: AppConfig, rest: RestUtils);
10
13
  /**
11
14
  * Get new and empty credit template
12
15
  */
@@ -38,11 +41,15 @@ export declare class CreditsEndPoint {
38
41
  /**
39
42
  * Download credit reference document
40
43
  */
41
- download(id?: string): import("rxjs").Observable<import("@angular/common/module.d-CnjH8Dlt").HttpEvent<Blob>>;
44
+ download(id?: string): import("rxjs").Observable<import("@angular/common/http").HttpEvent<Blob>>;
42
45
  /**
43
46
  * Delete reference document
44
47
  */
45
48
  deleteReference(id?: string): import("rxjs").Observable<ActionResponse>;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<CreditsEndPoint, never>;
47
- static ɵprov: i0.ɵɵInjectableDeclaration<CreditsEndPoint>;
49
+ /**
50
+ * Recalculate account credits for all flights
51
+ */
52
+ recalculateCreditsForFlights(accountId?: string): import("rxjs").Observable<ActionResponse>;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreditsService, never>;
54
+ static ɵprov: i0.ɵɵInjectableDeclaration<CreditsService>;
48
55
  }
@@ -1,12 +1,16 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { Document } from '.';
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { Document } from '../model';
4
+ import { ActionResponse } from '../model';
5
+ import { EntitiesResponse } from '../model';
6
+ import { StorageItem } from '../model';
7
+ import { EntityResponse } from '../model';
4
8
  import * as i0 from "@angular/core";
5
- export declare class DocumentsEndPoint {
9
+ export declare class DocumentsService {
6
10
  private config;
7
11
  private rest;
8
12
  private baseUrl;
9
- constructor(config: GooxConfig, rest: RestUtil);
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>>;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<DocumentsEndPoint, never>;
39
- static ɵprov: i0.ɵɵInjectableDeclaration<DocumentsEndPoint>;
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>>;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentsService, never>;
51
+ static ɵprov: i0.ɵɵInjectableDeclaration<DocumentsService>;
40
52
  }
@@ -1,12 +1,16 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { FlightTicket } from '.';
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
- export declare class FlightTicketsEndPoint {
9
+ export declare class FlightTicketsService {
6
10
  private config;
7
11
  private rest;
8
12
  private baseUrl;
9
- constructor(config: GooxConfig, rest: RestUtil);
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>>;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<FlightTicketsEndPoint, never>;
35
- static ɵprov: i0.ɵɵInjectableDeclaration<FlightTicketsEndPoint>;
37
+ find(search?: string, status?: TicketStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<FlightTicket>>;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlightTicketsService, never>;
39
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlightTicketsService>;
36
40
  }
@@ -1,19 +1,30 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse, Entities } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { PreFlightInfo } from '.';
4
- import { PostFlightInfo } from '.';
5
- import { Flight } from '.';
6
- import { TimeSeries } from '.';
7
- import { FlightPlan } from '.';
8
- import { FlightTicket } from '.';
9
- import { Contact } from '.';
10
- import { AnyKeyValue } from '.';
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { Entities } from '../model';
4
+ import { AnyKeyValue } from '../model';
5
+ import { FlightPurposeCode } from '../model';
6
+ import { Point } from '../model';
7
+ import { FlightTicket } from '../model';
8
+ import { EntityResponse } from '../model';
9
+ import { Flight } from '../model';
10
+ import { ActionResponse } from '../model';
11
+ import { FlightTypeCode } from '../model';
12
+ import { FlightStatusCode } from '../model';
13
+ import { BillingStatusCode } from '../model';
14
+ import { EntitiesResponse } from '../model';
15
+ import { TimeSeries } from '../model';
16
+ import { FlightPlan } from '../model';
17
+ import { Distribution } from '../model';
18
+ import { FlightClassCode } from '../model';
19
+ import { Contact } from '../model';
20
+ import { PreFlightInfo } from '../model';
21
+ import { PostFlightInfo } from '../model';
11
22
  import * as i0 from "@angular/core";
12
- export declare class FlightsEndPoint {
23
+ export declare class FlightsService {
13
24
  private config;
14
25
  private rest;
15
26
  private baseUrl;
16
- constructor(config: GooxConfig, rest: RestUtil);
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/http").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
  */
@@ -94,6 +125,6 @@ export declare class FlightsEndPoint {
94
125
  * Update flight with post-flight info
95
126
  */
96
127
  setPostFlight(body?: PostFlightInfo): import("rxjs").Observable<ActionResponse>;
97
- static ɵfac: i0.ɵɵFactoryDeclaration<FlightsEndPoint, never>;
98
- static ɵprov: i0.ɵɵInjectableDeclaration<FlightsEndPoint>;
128
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlightsService, never>;
129
+ static ɵprov: i0.ɵɵInjectableDeclaration<FlightsService>;
99
130
  }