@aya-flights/ngx-goox-lib 2.19.1 → 2.19.2-exp

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/config.d.ts +5 -4
  2. package/fesm2022/aya-flights-ngx-goox-lib.mjs +6287 -4579
  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/{SystemConfig.d.ts → model/SystemConfig.d.ts} +2 -3
  90. package/lib/{SystemMessage.d.ts → model/SystemMessage.d.ts} +5 -5
  91. package/lib/model/TafReport.d.ts +8 -0
  92. package/lib/model/TimeDataPoint.d.ts +5 -0
  93. package/lib/model/TimePeriodCode.d.ts +11 -0
  94. package/lib/{TimeSeries.d.ts → model/TimeSeries.d.ts} +2 -2
  95. package/lib/model/Timestamp.d.ts +3 -0
  96. package/lib/{TokenData.d.ts → model/TokenData.d.ts} +2 -2
  97. package/lib/{TransactionTypeCode.d.ts → model/TransactionTypeCode.d.ts} +2 -1
  98. package/lib/model/Tuple.d.ts +5 -0
  99. package/lib/model/TypeRatingFlag.d.ts +10 -0
  100. package/lib/{User.d.ts → model/User.d.ts} +5 -6
  101. package/lib/model/UsersFilter.d.ts +14 -0
  102. package/lib/{ValidationFlag.d.ts → model/ValidationFlag.d.ts} +1 -8
  103. package/lib/model/WBConfig.d.ts +20 -0
  104. package/lib/model/errorStruct.d.ts +5 -0
  105. package/lib/{index.d.ts → model/index.d.ts} +132 -124
  106. package/lib/{AccountsEndPoint.d.ts → services/AccountsEndPoint.d.ts} +20 -11
  107. package/lib/services/AirplanesEndPoint.d.ts +75 -0
  108. package/lib/{AuditLogsEndPoint.d.ts → services/AuditLogsEndPoint.d.ts} +7 -5
  109. package/lib/{BookingSlotsEndPoint.d.ts → services/BookingSlotsEndPoint.d.ts} +21 -6
  110. package/lib/{BookingsEndPoint.d.ts → services/BookingsEndPoint.d.ts} +25 -9
  111. package/lib/{CampaignsEndPoint.d.ts → services/CampaignsEndPoint.d.ts} +8 -5
  112. package/lib/{CertificatesEndPoint.d.ts → services/CertificatesEndPoint.d.ts} +9 -5
  113. package/lib/{ContactsEndPoint.d.ts → services/ContactsEndPoint.d.ts} +25 -14
  114. package/lib/services/ContactsGroupsEndPoint.d.ts +44 -0
  115. package/lib/{CreditsEndPoint.d.ts → services/CreditsEndPoint.d.ts} +11 -4
  116. package/lib/{DocumentsEndPoint.d.ts → services/DocumentsEndPoint.d.ts} +16 -4
  117. package/lib/{FlightTicketsEndPoint.d.ts → services/FlightTicketsEndPoint.d.ts} +9 -5
  118. package/lib/{FlightsEndPoint.d.ts → services/FlightsEndPoint.d.ts} +44 -13
  119. package/lib/{GroupsEndPoint.d.ts → services/GroupsEndPoint.d.ts} +12 -5
  120. package/lib/services/LeadsEndPoint.d.ts +110 -0
  121. package/lib/{LookupsEndPoint.d.ts → services/LookupsEndPoint.d.ts} +8 -5
  122. package/lib/{MaintenancesEndPoint.d.ts → services/MaintenancesEndPoint.d.ts} +10 -5
  123. package/lib/services/McpToolsEndPoint.d.ts +25 -0
  124. package/lib/{MessageConfirmsEndPoint.d.ts → services/MessageConfirmsEndPoint.d.ts} +19 -5
  125. package/lib/services/MyAuthEndPoint.d.ts +37 -0
  126. package/lib/services/MyBookingsEndPoint.d.ts +65 -0
  127. package/lib/services/MyCertificatesEndPoint.d.ts +52 -0
  128. package/lib/{MyCreditsEndPoint.d.ts → services/MyCreditsEndPoint.d.ts} +6 -4
  129. package/lib/services/MyFlightsEndPoint.d.ts +70 -0
  130. package/lib/services/MyInfoEndPoint.d.ts +27 -0
  131. package/lib/services/MyMessagesEndPoint.d.ts +28 -0
  132. package/lib/services/MyStudentsEndPoint.d.ts +35 -0
  133. package/lib/{PriceListEndPoint.d.ts → services/PriceListEndPoint.d.ts} +9 -5
  134. package/lib/services/SyllabusEndPoint.d.ts +45 -0
  135. package/lib/{SystemConfigsEndPoint.d.ts → services/SystemConfigsEndPoint.d.ts} +7 -4
  136. package/lib/{SystemEndPoint.d.ts → services/SystemEndPoint.d.ts} +4 -3
  137. package/lib/{SystemMessagesEndPoint.d.ts → services/SystemMessagesEndPoint.d.ts} +14 -6
  138. package/lib/{UserEndPoint.d.ts → services/UserEndPoint.d.ts} +6 -5
  139. package/lib/{UsersEndPoint.d.ts → services/UsersEndPoint.d.ts} +12 -7
  140. package/lib/services/index.d.ts +34 -0
  141. package/ngx-goox-lib.module.d.ts +3 -4
  142. package/package.json +1 -1
  143. package/public-api.d.ts +3 -3
  144. package/{utils/rest-util.d.ts → rest-utils.d.ts} +3 -3
  145. package/lib/AccountFilter.d.ts +0 -6
  146. package/lib/AirplaneFilter.d.ts +0 -7
  147. package/lib/AirplanesEndPoint.d.ts +0 -61
  148. package/lib/AuditLogFilter.d.ts +0 -11
  149. package/lib/BaseFilter.d.ts +0 -4
  150. package/lib/BookingFilter.d.ts +0 -13
  151. package/lib/CertificateFilter.d.ts +0 -9
  152. package/lib/Contact.d.ts +0 -39
  153. package/lib/ContactFilter.d.ts +0 -7
  154. package/lib/CreditFilter.d.ts +0 -9
  155. package/lib/Enums.d.ts +0 -1
  156. package/lib/FlightFilter.d.ts +0 -18
  157. package/lib/FlightRisk.d.ts +0 -23
  158. package/lib/LeadFilter.d.ts +0 -10
  159. package/lib/LeadsEndPoint.d.ts +0 -66
  160. package/lib/Lesson.d.ts +0 -12
  161. package/lib/MaintenanceFilter.d.ts +0 -12
  162. package/lib/MyAuthEndPoint.d.ts +0 -24
  163. package/lib/MyBookingsEndPoint.d.ts +0 -38
  164. package/lib/MyFlightsEndPoint.d.ts +0 -43
  165. package/lib/OnBoard.d.ts +0 -7
  166. package/lib/PostFlightData.d.ts +0 -37
  167. package/lib/PostFlightInfo.d.ts +0 -42
  168. package/lib/PreFlightData.d.ts +0 -37
  169. package/lib/ReFuel.d.ts +0 -6
  170. package/lib/TimeDataPoint.d.ts +0 -5
  171. package/lib/Tuple.d.ts +0 -5
  172. package/lib/UserFilter.d.ts +0 -12
  173. package/lib/services.export.d.ts +0 -28
  174. package/utils/index.d.ts +0 -7
  175. /package/lib/{ADSBCategoryCode.d.ts → model/ADSBCategoryCode.d.ts} +0 -0
  176. /package/lib/{ADSBSourceFlag.d.ts → model/ADSBSourceFlag.d.ts} +0 -0
  177. /package/lib/{AccountStatusCode.d.ts → model/AccountStatusCode.d.ts} +0 -0
  178. /package/lib/{Address.d.ts → model/Address.d.ts} +0 -0
  179. /package/lib/{AirplaneStatusCode.d.ts → model/AirplaneStatusCode.d.ts} +0 -0
  180. /package/lib/{AirplaneValidationFlag.d.ts → model/AirplaneValidationFlag.d.ts} +0 -0
  181. /package/lib/{AnyKeyValue.d.ts → model/AnyKeyValue.d.ts} +0 -0
  182. /package/lib/{BaseEntity.d.ts → model/BaseEntity.d.ts} +0 -0
  183. /package/lib/{BaseEntityEx.d.ts → model/BaseEntityEx.d.ts} +0 -0
  184. /package/lib/{BillingRecord.d.ts → model/BillingRecord.d.ts} +0 -0
  185. /package/lib/{BillingStatusCode.d.ts → model/BillingStatusCode.d.ts} +0 -0
  186. /package/lib/{BookingTypeFlag.d.ts → model/BookingTypeFlag.d.ts} +0 -0
  187. /package/lib/{CampaignStatusCode.d.ts → model/CampaignStatusCode.d.ts} +0 -0
  188. /package/lib/{CampaignTypeCode.d.ts → model/CampaignTypeCode.d.ts} +0 -0
  189. /package/lib/{ConfirmStatusCode.d.ts → model/ConfirmStatusCode.d.ts} +0 -0
  190. /package/lib/{CrewDutyDayRisks.d.ts → model/CrewDutyDayRisks.d.ts} +0 -0
  191. /package/lib/{CurrencyCode.d.ts → model/CurrencyCode.d.ts} +0 -0
  192. /package/lib/{DepartureRisks.d.ts → model/DepartureRisks.d.ts} +0 -0
  193. /package/lib/{DestinationRisks.d.ts → model/DestinationRisks.d.ts} +0 -0
  194. /package/lib/{DocumentRevision.d.ts → model/DocumentRevision.d.ts} +0 -0
  195. /package/lib/{Engine.d.ts → model/Engine.d.ts} +0 -0
  196. /package/lib/{FilterFlag.d.ts → model/FilterFlag.d.ts} +0 -0
  197. /package/lib/{FlightStateCode.d.ts → model/FlightStateCode.d.ts} +0 -0
  198. /package/lib/{FlightStatusCode.d.ts → model/FlightStatusCode.d.ts} +0 -0
  199. /package/lib/{Fuel.d.ts → model/Fuel.d.ts} +0 -0
  200. /package/lib/{IntKeyValue.d.ts → model/IntKeyValue.d.ts} +0 -0
  201. /package/lib/{LeadStatusCode.d.ts → model/LeadStatusCode.d.ts} +0 -0
  202. /package/lib/{Location.d.ts → model/Location.d.ts} +0 -0
  203. /package/lib/{LoginParams.d.ts → model/LoginParams.d.ts} +0 -0
  204. /package/lib/{Magneto.d.ts → model/Magneto.d.ts} +0 -0
  205. /package/lib/{MaintenanceActionCode.d.ts → model/MaintenanceActionCode.d.ts} +0 -0
  206. /package/lib/{MessageTypeCode.d.ts → model/MessageTypeCode.d.ts} +0 -0
  207. /package/lib/{Mitigation.d.ts → model/Mitigation.d.ts} +0 -0
  208. /package/lib/{ModuleCode.d.ts → model/ModuleCode.d.ts} +0 -0
  209. /package/lib/{OperatorCode.d.ts → model/OperatorCode.d.ts} +0 -0
  210. /package/lib/{PaymentMethodCode.d.ts → model/PaymentMethodCode.d.ts} +0 -0
  211. /package/lib/{PermissionFlag.d.ts → model/PermissionFlag.d.ts} +0 -0
  212. /package/lib/{PilotQualificationsRisks.d.ts → model/PilotQualificationsRisks.d.ts} +0 -0
  213. /package/lib/{PriorityCode.d.ts → model/PriorityCode.d.ts} +0 -0
  214. /package/lib/{Propeller.d.ts → model/Propeller.d.ts} +0 -0
  215. /package/lib/{SpecialRisks.d.ts → model/SpecialRisks.d.ts} +0 -0
  216. /package/lib/{StatusCode.d.ts → model/StatusCode.d.ts} +0 -0
  217. /package/lib/{StringKeyValue.d.ts → model/StringKeyValue.d.ts} +0 -0
  218. /package/lib/{TOLData.d.ts → model/TOLData.d.ts} +0 -0
  219. /package/lib/{TicketStatusCode.d.ts → model/TicketStatusCode.d.ts} +0 -0
  220. /package/lib/{TimeFrame.d.ts → model/TimeFrame.d.ts} +0 -0
  221. /package/lib/{TripRisks.d.ts → model/TripRisks.d.ts} +0 -0
  222. /package/lib/{UserRoleFlag.d.ts → model/UserRoleFlag.d.ts} +0 -0
  223. /package/lib/{UserStatusCode.d.ts → model/UserStatusCode.d.ts} +0 -0
  224. /package/lib/{UserTypeCode.d.ts → model/UserTypeCode.d.ts} +0 -0
  225. /package/lib/{WeatherRisks.d.ts → model/WeatherRisks.d.ts} +0 -0
@@ -0,0 +1,44 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { ActionResponse } from '../model';
4
+ import { EntitiesResponse } from '../model';
5
+ import { StringKeyValue } from '../model';
6
+ import { EntityResponse } from '../model';
7
+ import { ContactGroup } from '../model';
8
+ import * as i0 from "@angular/core";
9
+ export declare class ContactsGroupsEndPoint {
10
+ private config;
11
+ private rest;
12
+ private baseUrl;
13
+ constructor(config: AppConfig, rest: RestUtils);
14
+ /**
15
+ * Get new and empty flight template
16
+ */
17
+ new(): import("rxjs").Observable<EntityResponse<ContactGroup>>;
18
+ /**
19
+ * Create new group
20
+ */
21
+ create(body?: ContactGroup): import("rxjs").Observable<EntityResponse<ContactGroup>>;
22
+ /**
23
+ * Update existing group
24
+ */
25
+ update(body?: ContactGroup): import("rxjs").Observable<EntityResponse<ContactGroup>>;
26
+ /**
27
+ * Delete group and all its content
28
+ */
29
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
30
+ /**
31
+ * Get a single group by id
32
+ */
33
+ get(id?: string): import("rxjs").Observable<EntityResponse<ContactGroup>>;
34
+ /**
35
+ * Find groups by query
36
+ */
37
+ find(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<ContactGroup>>;
38
+ /**
39
+ * Lookup contacts-groups ID->Name by filter
40
+ */
41
+ lookup(search?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContactsGroupsEndPoint, never>;
43
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContactsGroupsEndPoint>;
44
+ }
@@ -1,12 +1,15 @@
1
- import { 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 { EntityResponse } from '../model';
4
+ import { Credit } from '../model';
5
+ import { ActionResponse } from '../model';
6
+ import { EntitiesResponse } from '../model';
4
7
  import * as i0 from "@angular/core";
5
8
  export declare class CreditsEndPoint {
6
9
  private config;
7
10
  private rest;
8
11
  private baseUrl;
9
- constructor(config: GooxConfig, rest: RestUtil);
12
+ constructor(config: AppConfig, rest: RestUtils);
10
13
  /**
11
14
  * Get new and empty credit template
12
15
  */
@@ -43,6 +46,10 @@ export declare class CreditsEndPoint {
43
46
  * Delete reference document
44
47
  */
45
48
  deleteReference(id?: string): import("rxjs").Observable<ActionResponse>;
49
+ /**
50
+ * Recalculate account credits for all flights
51
+ */
52
+ recalculateCreditsForFlights(accountId?: string): import("rxjs").Observable<ActionResponse>;
46
53
  static ɵfac: i0.ɵɵFactoryDeclaration<CreditsEndPoint, never>;
47
54
  static ɵprov: i0.ɵɵInjectableDeclaration<CreditsEndPoint>;
48
55
  }
@@ -1,12 +1,16 @@
1
- import { 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 { EntityResponse } from '../model';
4
+ import { Document } from '../model';
5
+ import { ActionResponse } from '../model';
6
+ import { EntitiesResponse } from '../model';
7
+ import { StorageItem } from '../model';
4
8
  import * as i0 from "@angular/core";
5
9
  export declare class DocumentsEndPoint {
6
10
  private config;
7
11
  private rest;
8
12
  private baseUrl;
9
- constructor(config: 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>>;
42
+ /**
43
+ * Get a list of files from the base storage
44
+ */
45
+ listFiles(root?: string): import("rxjs").Observable<EntitiesResponse<StorageItem>>;
46
+ /**
47
+ * Get a list of files and folders from the folder in Google Drive defined as Library
48
+ */
49
+ broseLibrary(root?: string): import("rxjs").Observable<EntitiesResponse<StorageItem>>;
38
50
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentsEndPoint, never>;
39
51
  static ɵprov: i0.ɵɵInjectableDeclaration<DocumentsEndPoint>;
40
52
  }
@@ -1,12 +1,16 @@
1
- import { 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
9
  export declare class FlightTicketsEndPoint {
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>>;
37
+ find(search?: string, status?: TicketStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<FlightTicket>>;
34
38
  static ɵfac: i0.ɵɵFactoryDeclaration<FlightTicketsEndPoint, never>;
35
39
  static ɵprov: i0.ɵɵInjectableDeclaration<FlightTicketsEndPoint>;
36
40
  }
@@ -1,19 +1,30 @@
1
- import { 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 { ActionResponse } from '../model';
5
+ import { FlightPurposeCode } from '../model';
6
+ import { FlightPlan } from '../model';
7
+ import { Point } from '../model';
8
+ import { Distribution } from '../model';
9
+ import { FlightTicket } from '../model';
10
+ import { EntityResponse } from '../model';
11
+ import { Flight } from '../model';
12
+ import { AnyKeyValue } from '../model';
13
+ import { FlightTypeCode } from '../model';
14
+ import { Contact } from '../model';
15
+ import { PreFlightInfo } from '../model';
16
+ import { FlightStatusCode } from '../model';
17
+ import { BillingStatusCode } from '../model';
18
+ import { EntitiesResponse } from '../model';
19
+ import { FlightClassCode } from '../model';
20
+ import { TimeSeries } from '../model';
21
+ import { PostFlightInfo } from '../model';
11
22
  import * as i0 from "@angular/core";
12
23
  export declare class FlightsEndPoint {
13
24
  private config;
14
25
  private rest;
15
26
  private baseUrl;
16
- constructor(config: 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/module.d-CnjH8Dlt").HttpEvent<Blob>>;
53
68
  /**
54
69
  * Find flights count histogram over time (up to last 30 days)
55
70
  */
56
- histogram(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, type?: [], status?: [], billing?: [], purpose?: []): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
71
+ histogram(search?: string, accountId?: string, contactId?: string, airplaneId?: string, from?: number, to?: number, type?: FlightTypeCode[], status?: FlightStatusCode[], billing?: BillingStatusCode[], purpose?: FlightPurposeCode[]): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
57
72
  /**
58
73
  * Get flight plans data for gantt, the result size is limited to 1000 entries
59
74
  */
@@ -62,6 +77,22 @@ export declare class FlightsEndPoint {
62
77
  * Get flight plans schedule for specific month, the result size is limited to 1000 entries
63
78
  */
64
79
  schedule(year?: number, month?: number): import("rxjs").Observable<EntitiesResponse<FlightPlan>>;
80
+ /**
81
+ * Get monthly daily flight hours for specific month, for income forecast
82
+ */
83
+ monthlyHours(year?: number, month?: number, airplaneId?: string): import("rxjs").Observable<EntityResponse<TimeSeries<Point>>>;
84
+ /**
85
+ * Get monthly flight hours distribution by class for specific month
86
+ */
87
+ monthlyHoursDistributionByClass(year?: number, month?: number, airplaneId?: string): import("rxjs").Observable<EntityResponse<Distribution<FlightClassCode, number>>>;
88
+ /**
89
+ * Get monthly flight hours distribution by airplane for specific month
90
+ */
91
+ monthlyHoursDistributionByAirplane(year?: number, month?: number): import("rxjs").Observable<EntityResponse<Distribution<string, number>>>;
92
+ /**
93
+ * Get monthly flight number distribution by flight status for specific month
94
+ */
95
+ monthlyFlightsDistributionByStatus(year?: number, month?: number, airplaneId?: string): import("rxjs").Observable<EntityResponse<Distribution<FlightStatusCode, number>>>;
65
96
  /**
66
97
  * Find list of contacts (pilot / first officer) on this flight
67
98
  */
@@ -1,13 +1,20 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { StringKeyValue } from '.';
4
- import { Group } from '.';
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { StringKeyValue } from '../model';
4
+ import { EntityResponse } from '../model';
5
+ import { Group } from '../model';
6
+ import { ActionResponse } from '../model';
7
+ import { EntitiesResponse } from '../model';
5
8
  import * as i0 from "@angular/core";
6
9
  export declare class GroupsEndPoint {
7
10
  private config;
8
11
  private rest;
9
12
  private baseUrl;
10
- constructor(config: GooxConfig, rest: RestUtil);
13
+ constructor(config: AppConfig, rest: RestUtils);
14
+ /**
15
+ * Get new and empty flight template
16
+ */
17
+ new(): import("rxjs").Observable<EntityResponse<Group>>;
11
18
  /**
12
19
  * Create new group
13
20
  */
@@ -0,0 +1,110 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { LeadStatusCode } from '../model';
4
+ import { Booking } from '../model';
5
+ import { IntKeyValue } from '../model';
6
+ import { ActionResponse } from '../model';
7
+ import { EntitiesResponse } from '../model';
8
+ import { TimeSeries } from '../model';
9
+ import { LeadAction } from '../model';
10
+ import { Point } from '../model';
11
+ import { IntEnumValue } from '../model';
12
+ import { EntityResponse } from '../model';
13
+ import { Lead } from '../model';
14
+ import * as i0 from "@angular/core";
15
+ export declare class LeadsEndPoint {
16
+ private config;
17
+ private rest;
18
+ private baseUrl;
19
+ constructor(config: AppConfig, rest: RestUtils);
20
+ /**
21
+ * Get new and empty lead template
22
+ */
23
+ new(): import("rxjs").Observable<EntityResponse<Lead>>;
24
+ /**
25
+ * Create new lead
26
+ */
27
+ create(body?: Lead): import("rxjs").Observable<EntityResponse<Lead>>;
28
+ /**
29
+ * Update existing lead
30
+ */
31
+ update(body?: Lead): import("rxjs").Observable<EntityResponse<Lead>>;
32
+ /**
33
+ * Update existing lead
34
+ */
35
+ changeStatus(id?: string, status?: LeadStatusCode): import("rxjs").Observable<EntityResponse<Lead>>;
36
+ /**
37
+ * Delete lead and all its content
38
+ */
39
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
40
+ /**
41
+ * Get a single lead by id
42
+ */
43
+ get(id?: string): import("rxjs").Observable<EntityResponse<Lead>>;
44
+ /**
45
+ * Find leads by query
46
+ */
47
+ find(search?: string, status?: LeadStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Lead>>;
48
+ /**
49
+ * Find lead count histogram over time
50
+ */
51
+ histogram(from?: number, to?: number, search?: string, status?: LeadStatusCode[]): import("rxjs").Observable<EntityResponse<TimeSeries<number>>>;
52
+ /**
53
+ * Add follow-up lead action
54
+ */
55
+ addFollowUpAction(id?: string, description?: string): import("rxjs").Observable<EntityResponse<Lead>>;
56
+ /**
57
+ * Create new lead action
58
+ */
59
+ createAction(body?: LeadAction): import("rxjs").Observable<EntityResponse<LeadAction>>;
60
+ /**
61
+ * Update existing lead action
62
+ */
63
+ updateAction(body?: LeadAction): import("rxjs").Observable<EntityResponse<LeadAction>>;
64
+ /**
65
+ * Delete lead action
66
+ */
67
+ deleteAction(id?: string): import("rxjs").Observable<ActionResponse>;
68
+ /**
69
+ * Get all lead actions
70
+ */
71
+ getActions(id?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<LeadAction>>;
72
+ /**
73
+ * Insert or update lead action and return list of all actions
74
+ */
75
+ upsertAndGetActions(body?: LeadAction): import("rxjs").Observable<EntitiesResponse<LeadAction>>;
76
+ /**
77
+ * Delete lead action and return list of all actions
78
+ */
79
+ deleteAndGetActions(id?: string): import("rxjs").Observable<EntitiesResponse<LeadAction>>;
80
+ /**
81
+ * Change the lead create time to make it pop in the provided time
82
+ */
83
+ snooze(id?: string, ts?: number): import("rxjs").Observable<EntityResponse<Lead>>;
84
+ /**
85
+ * Get bookings schedule for specific month, the result size is limited to 1000 entries
86
+ */
87
+ bookingsSchedule(year?: number, month?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
88
+ /**
89
+ * Insert or update flight booking for this lead in the provided timestamp
90
+ */
91
+ setBooking(id?: string, ts?: number): import("rxjs").Observable<ActionResponse>;
92
+ /**
93
+ * Delete lead booking
94
+ */
95
+ deleteBooking(id?: string): import("rxjs").Observable<ActionResponse>;
96
+ /**
97
+ * Get monthly daily leads for specific month, for sales insights
98
+ */
99
+ monthlyLeads(year?: number, month?: number): import("rxjs").Observable<EntityResponse<TimeSeries<Point>>>;
100
+ /**
101
+ * Get monthly leads distribution by status for specific month, for sales insights
102
+ */
103
+ countByStatus(year?: number, month?: number): import("rxjs").Observable<EntitiesResponse<IntEnumValue>>;
104
+ /**
105
+ * Get monthly leads distribution by source for specific month, for sales insights
106
+ */
107
+ countBySource(year?: number, month?: number): import("rxjs").Observable<EntitiesResponse<IntKeyValue>>;
108
+ static ɵfac: i0.ɵɵFactoryDeclaration<LeadsEndPoint, never>;
109
+ static ɵprov: i0.ɵɵInjectableDeclaration<LeadsEndPoint>;
110
+ }
@@ -1,13 +1,16 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { LookupGroup } from '.';
4
- import { Lookup } from '.';
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { EntitiesResponse } from '../model';
4
+ import { LookupGroup } from '../model';
5
+ import { Lookup } from '../model';
6
+ import { EntityResponse } from '../model';
7
+ import { ActionResponse } from '../model';
5
8
  import * as i0 from "@angular/core";
6
9
  export declare class LookupsEndPoint {
7
10
  private config;
8
11
  private rest;
9
12
  private baseUrl;
10
- constructor(config: GooxConfig, rest: RestUtil);
13
+ constructor(config: AppConfig, rest: RestUtils);
11
14
  /**
12
15
  * Create new lookup
13
16
  */
@@ -1,12 +1,17 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { Maintenance } from '.';
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { EntitiesResponse } from '../model';
4
+ import { EntityResponse } from '../model';
5
+ import { Maintenance } from '../model';
6
+ import { ActionResponse } from '../model';
7
+ import { MaintenanceActionCode } from '../model';
8
+ import { StatusCode } from '../model';
4
9
  import * as i0 from "@angular/core";
5
10
  export declare class MaintenancesEndPoint {
6
11
  private config;
7
12
  private rest;
8
13
  private baseUrl;
9
- constructor(config: GooxConfig, rest: RestUtil);
14
+ constructor(config: AppConfig, rest: RestUtils);
10
15
  /**
11
16
  * Get new and empty maintenance template
12
17
  */
@@ -30,7 +35,7 @@ export declare class MaintenancesEndPoint {
30
35
  /**
31
36
  * Find maintenances by query
32
37
  */
33
- find(search?: string, action?: [], status?: [], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Maintenance>>;
38
+ find(search?: string, airplaneId?: string, action?: MaintenanceActionCode[], status?: StatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Maintenance>>;
34
39
  /**
35
40
  * Upload maintenance reference document
36
41
  */
@@ -0,0 +1,25 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { EntitiesResponse } from '../model';
4
+ import { StringKeyValue } from '../model';
5
+ import * as i0 from "@angular/core";
6
+ export declare class McpToolsEndPoint {
7
+ private config;
8
+ private rest;
9
+ private baseUrl;
10
+ constructor(config: AppConfig, rest: RestUtils);
11
+ /**
12
+ * Lookup accounts ID->Name mapping
13
+ */
14
+ accountsLookup(search?: string): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
15
+ /**
16
+ * Lookup contacts ID->Name mapping
17
+ */
18
+ contactsLookup(search?: string): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
19
+ /**
20
+ * Lookup airplanes ID->Name mapping
21
+ */
22
+ airplanesLookup(search?: string): import("rxjs").Observable<EntitiesResponse<StringKeyValue>>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<McpToolsEndPoint, never>;
24
+ static ɵprov: i0.ɵɵInjectableDeclaration<McpToolsEndPoint>;
25
+ }
@@ -1,12 +1,18 @@
1
- import { RestUtil, EntityResponse, EntitiesResponse, ActionResponse } from '../utils';
2
- import { GooxConfig } from '../config';
3
- import { MessageConfirm } from '.';
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { EntityResponse } from '../model';
4
+ import { MessageConfirm } from '../model';
5
+ import { ActionResponse } from '../model';
6
+ import { MessageTypeCode } from '../model';
7
+ import { ConfirmStatusCode } from '../model';
8
+ import { PriorityCode } from '../model';
9
+ import { EntitiesResponse } from '../model';
4
10
  import * as i0 from "@angular/core";
5
11
  export declare class MessageConfirmsEndPoint {
6
12
  private config;
7
13
  private rest;
8
14
  private baseUrl;
9
- constructor(config: GooxConfig, rest: RestUtil);
15
+ constructor(config: AppConfig, rest: RestUtils);
10
16
  /**
11
17
  * Get new and empty messageConfirm template
12
18
  */
@@ -30,7 +36,15 @@ export declare class MessageConfirmsEndPoint {
30
36
  /**
31
37
  * Find messageConfirms by query
32
38
  */
33
- find(search?: string, messageId?: string, contactId?: string, sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<MessageConfirm>>;
39
+ find(search?: string, messageId?: string, contactId?: string, type?: MessageTypeCode[], status?: ConfirmStatusCode[], priority?: PriorityCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<MessageConfirm>>;
40
+ /**
41
+ * Find messages for contact
42
+ */
43
+ findContactMessages(id?: string): import("rxjs").Observable<EntitiesResponse<MessageConfirm>>;
44
+ /**
45
+ * Confirm messages by contact
46
+ */
47
+ confirmContactMessage(id?: string, msgId?: string): import("rxjs").Observable<ActionResponse>;
34
48
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageConfirmsEndPoint, never>;
35
49
  static ɵprov: i0.ɵɵInjectableDeclaration<MessageConfirmsEndPoint>;
36
50
  }
@@ -0,0 +1,37 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { Contact } from '../model';
4
+ import { EntitiesResponse } from '../model';
5
+ import { Notification } from '../model';
6
+ import { LoginParams } from '../model';
7
+ import { ActionResponse } from '../model';
8
+ import { EntityResponse } from '../model';
9
+ import * as i0 from "@angular/core";
10
+ export declare class MyAuthEndPoint {
11
+ private config;
12
+ private rest;
13
+ private baseUrl;
14
+ constructor(config: AppConfig, rest: RestUtils);
15
+ /**
16
+ * Authenticate contact
17
+ */
18
+ authenticate(body?: LoginParams): import("rxjs").Observable<ActionResponse>;
19
+ /**
20
+ * Authorize contact (the next version of authenticate which returns contact info including account type)
21
+ */
22
+ authorize(body?: LoginParams): import("rxjs").Observable<EntityResponse<Contact>>;
23
+ /**
24
+ * Send SMS code
25
+ */
26
+ sendCode(body?: LoginParams): import("rxjs").Observable<ActionResponse>;
27
+ /**
28
+ * Send SMS code
29
+ */
30
+ verifyCode(code?: string): import("rxjs").Observable<ActionResponse>;
31
+ /**
32
+ * Get notifications for user - to show in the dashboard
33
+ */
34
+ getNotifications(): import("rxjs").Observable<EntitiesResponse<Notification>>;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<MyAuthEndPoint, never>;
36
+ static ɵprov: i0.ɵɵInjectableDeclaration<MyAuthEndPoint>;
37
+ }
@@ -0,0 +1,65 @@
1
+ import { RestUtils } from '../../rest-utils';
2
+ import { AppConfig } from '../../config';
3
+ import { BookingTypeFlag } from '../model';
4
+ import { Airplane } from '../model';
5
+ import { Booking } from '../model';
6
+ import { EntityResponse } from '../model';
7
+ import { ActionResponse } from '../model';
8
+ import { BookingStatusCode } from '../model';
9
+ import { EntitiesResponse } from '../model';
10
+ import { Lookup } from '../model';
11
+ import { BookingSlot } from '../model';
12
+ import * as i0 from "@angular/core";
13
+ export declare class MyBookingsEndPoint {
14
+ private config;
15
+ private rest;
16
+ private baseUrl;
17
+ constructor(config: AppConfig, rest: RestUtils);
18
+ /**
19
+ * Create new booking
20
+ */
21
+ create(body?: Booking): import("rxjs").Observable<EntityResponse<Booking>>;
22
+ /**
23
+ * Update existing booking
24
+ */
25
+ update(body?: Booking): import("rxjs").Observable<EntityResponse<Booking>>;
26
+ /**
27
+ * Delete booking and all its content
28
+ */
29
+ delete(id?: string): import("rxjs").Observable<ActionResponse>;
30
+ /**
31
+ * Get a single booking by id
32
+ */
33
+ get(id?: string): import("rxjs").Observable<EntityResponse<Booking>>;
34
+ /**
35
+ * Find my bookings by query
36
+ */
37
+ find(search?: string, airplaneId?: string, from?: number, to?: number, status?: BookingStatusCode[], sort?: string, page?: number, size?: number): import("rxjs").Observable<EntitiesResponse<Booking>>;
38
+ /**
39
+ * Get list of booking airplanes according to booking type and date
40
+ */
41
+ getBookingAirplanes(type?: BookingTypeFlag): import("rxjs").Observable<EntitiesResponse<Lookup>>;
42
+ /**
43
+ * Get all time slots (occupied and free) per airplane per day.
44
+ * In case of type == PATTERNS, get the patterns slots combined with airplane availability
45
+ */
46
+ getDailySlots(year?: number, month?: number, day?: number, type?: BookingTypeFlag, airplaneId?: string): import("rxjs").Observable<EntitiesResponse<BookingSlot>>;
47
+ /**
48
+ * Find all instructors and mark the student's default instructor
49
+ */
50
+ findInstructors(search?: string): import("rxjs").Observable<EntitiesResponse<Lookup>>;
51
+ /**
52
+ * Find all active pilots
53
+ */
54
+ findPilots(search?: string): import("rxjs").Observable<EntitiesResponse<Lookup>>;
55
+ /**
56
+ * Find all airplanes
57
+ */
58
+ findAirplanes(): import("rxjs").Observable<EntitiesResponse<Airplane>>;
59
+ /**
60
+ * Get a single airplane by id
61
+ */
62
+ getAirplane(id?: string): import("rxjs").Observable<EntityResponse<Airplane>>;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<MyBookingsEndPoint, never>;
64
+ static ɵprov: i0.ɵɵInjectableDeclaration<MyBookingsEndPoint>;
65
+ }
@@ -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 MyCertificatesEndPoint {
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(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/module.d-CnjH8Dlt").HttpEvent<Blob>>;
46
+ /**
47
+ * Delete certificate reference document
48
+ */
49
+ deleteReference(id?: string): import("rxjs").Observable<ActionResponse>;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<MyCertificatesEndPoint, never>;
51
+ static ɵprov: i0.ɵɵInjectableDeclaration<MyCertificatesEndPoint>;
52
+ }