fshub-api 1.0.0

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 (110) hide show
  1. package/README.md +252 -0
  2. package/dist/api/FSHubApiRequest.d.ts +3 -0
  3. package/dist/api/FSHubApiRequest.d.ts.map +1 -0
  4. package/dist/api/FSHubApiRequest.js +61 -0
  5. package/dist/api/FSHubApiRequest.js.map +1 -0
  6. package/dist/api/airline/Airline_get.d.ts +3 -0
  7. package/dist/api/airline/Airline_get.d.ts.map +1 -0
  8. package/dist/api/airline/Airline_get.js +57 -0
  9. package/dist/api/airline/Airline_get.js.map +1 -0
  10. package/dist/api/airline/Airline_getAll.d.ts +3 -0
  11. package/dist/api/airline/Airline_getAll.d.ts.map +1 -0
  12. package/dist/api/airline/Airline_getAll.js +57 -0
  13. package/dist/api/airline/Airline_getAll.js.map +1 -0
  14. package/dist/api/airline/Airline_getAllFlightDeparturesAndArrivals.d.ts +3 -0
  15. package/dist/api/airline/Airline_getAllFlightDeparturesAndArrivals.d.ts.map +1 -0
  16. package/dist/api/airline/Airline_getAllFlightDeparturesAndArrivals.js +57 -0
  17. package/dist/api/airline/Airline_getAllFlightDeparturesAndArrivals.js.map +1 -0
  18. package/dist/api/airline/Airline_getAllFlightsArrivals.d.ts +3 -0
  19. package/dist/api/airline/Airline_getAllFlightsArrivals.d.ts.map +1 -0
  20. package/dist/api/airline/Airline_getAllFlightsArrivals.js +57 -0
  21. package/dist/api/airline/Airline_getAllFlightsArrivals.js.map +1 -0
  22. package/dist/api/airline/Airline_getAllFlightsDepartures.d.ts +3 -0
  23. package/dist/api/airline/Airline_getAllFlightsDepartures.d.ts.map +1 -0
  24. package/dist/api/airline/Airline_getAllFlightsDepartures.js +57 -0
  25. package/dist/api/airline/Airline_getAllFlightsDepartures.js.map +1 -0
  26. package/dist/api/airline/Airline_getAllScreenshots.d.ts +3 -0
  27. package/dist/api/airline/Airline_getAllScreenshots.d.ts.map +1 -0
  28. package/dist/api/airline/Airline_getAllScreenshots.js +66 -0
  29. package/dist/api/airline/Airline_getAllScreenshots.js.map +1 -0
  30. package/dist/api/airline/Airline_getFlights.d.ts +3 -0
  31. package/dist/api/airline/Airline_getFlights.d.ts.map +1 -0
  32. package/dist/api/airline/Airline_getFlights.js +57 -0
  33. package/dist/api/airline/Airline_getFlights.js.map +1 -0
  34. package/dist/api/airline/Airline_getPilotStats.d.ts +3 -0
  35. package/dist/api/airline/Airline_getPilotStats.d.ts.map +1 -0
  36. package/dist/api/airline/Airline_getPilotStats.js +57 -0
  37. package/dist/api/airline/Airline_getPilotStats.js.map +1 -0
  38. package/dist/api/airline/Airline_getPilots.d.ts +3 -0
  39. package/dist/api/airline/Airline_getPilots.d.ts.map +1 -0
  40. package/dist/api/airline/Airline_getPilots.js +57 -0
  41. package/dist/api/airline/Airline_getPilots.js.map +1 -0
  42. package/dist/api/airline/Airline_getStats.d.ts +3 -0
  43. package/dist/api/airline/Airline_getStats.d.ts.map +1 -0
  44. package/dist/api/airline/Airline_getStats.js +57 -0
  45. package/dist/api/airline/Airline_getStats.js.map +1 -0
  46. package/dist/api/airline/index.d.ts +23 -0
  47. package/dist/api/airline/index.d.ts.map +1 -0
  48. package/dist/api/airline/index.js +29 -0
  49. package/dist/api/airline/index.js.map +1 -0
  50. package/dist/api/index.d.ts +28 -0
  51. package/dist/api/index.d.ts.map +1 -0
  52. package/dist/api/index.js +10 -0
  53. package/dist/api/index.js.map +1 -0
  54. package/dist/api/pilot/Pilot_get.d.ts +3 -0
  55. package/dist/api/pilot/Pilot_get.d.ts.map +1 -0
  56. package/dist/api/pilot/Pilot_get.js +57 -0
  57. package/dist/api/pilot/Pilot_get.js.map +1 -0
  58. package/dist/api/pilot/Pilot_getAll.d.ts +3 -0
  59. package/dist/api/pilot/Pilot_getAll.d.ts.map +1 -0
  60. package/dist/api/pilot/Pilot_getAll.js +57 -0
  61. package/dist/api/pilot/Pilot_getAll.js.map +1 -0
  62. package/dist/api/pilot/Pilot_getAllAirlines.d.ts +3 -0
  63. package/dist/api/pilot/Pilot_getAllAirlines.d.ts.map +1 -0
  64. package/dist/api/pilot/Pilot_getAllAirlines.js +57 -0
  65. package/dist/api/pilot/Pilot_getAllAirlines.js.map +1 -0
  66. package/dist/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.d.ts +3 -0
  67. package/dist/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.d.ts.map +1 -0
  68. package/dist/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.js +57 -0
  69. package/dist/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.js.map +1 -0
  70. package/dist/api/pilot/Pilot_getAllFlights.d.ts +3 -0
  71. package/dist/api/pilot/Pilot_getAllFlights.d.ts.map +1 -0
  72. package/dist/api/pilot/Pilot_getAllFlights.js +57 -0
  73. package/dist/api/pilot/Pilot_getAllFlights.js.map +1 -0
  74. package/dist/api/pilot/Pilot_getAllFlightsArrivals.d.ts +3 -0
  75. package/dist/api/pilot/Pilot_getAllFlightsArrivals.d.ts.map +1 -0
  76. package/dist/api/pilot/Pilot_getAllFlightsArrivals.js +57 -0
  77. package/dist/api/pilot/Pilot_getAllFlightsArrivals.js.map +1 -0
  78. package/dist/api/pilot/Pilot_getAllFlightsDepartures.d.ts +3 -0
  79. package/dist/api/pilot/Pilot_getAllFlightsDepartures.d.ts.map +1 -0
  80. package/dist/api/pilot/Pilot_getAllFlightsDepartures.js +57 -0
  81. package/dist/api/pilot/Pilot_getAllFlightsDepartures.js.map +1 -0
  82. package/dist/api/pilot/Pilot_getAllScreenshots.d.ts +3 -0
  83. package/dist/api/pilot/Pilot_getAllScreenshots.d.ts.map +1 -0
  84. package/dist/api/pilot/Pilot_getAllScreenshots.js +66 -0
  85. package/dist/api/pilot/Pilot_getAllScreenshots.js.map +1 -0
  86. package/dist/api/pilot/Pilot_getCurrent.d.ts +3 -0
  87. package/dist/api/pilot/Pilot_getCurrent.d.ts.map +1 -0
  88. package/dist/api/pilot/Pilot_getCurrent.js +57 -0
  89. package/dist/api/pilot/Pilot_getCurrent.js.map +1 -0
  90. package/dist/api/pilot/Pilot_getLatestFlight.d.ts +3 -0
  91. package/dist/api/pilot/Pilot_getLatestFlight.d.ts.map +1 -0
  92. package/dist/api/pilot/Pilot_getLatestFlight.js +57 -0
  93. package/dist/api/pilot/Pilot_getLatestFlight.js.map +1 -0
  94. package/dist/api/pilot/Pilot_getStats.d.ts +3 -0
  95. package/dist/api/pilot/Pilot_getStats.d.ts.map +1 -0
  96. package/dist/api/pilot/Pilot_getStats.js +57 -0
  97. package/dist/api/pilot/Pilot_getStats.js.map +1 -0
  98. package/dist/api/pilot/index.d.ts +25 -0
  99. package/dist/api/pilot/index.d.ts.map +1 -0
  100. package/dist/api/pilot/index.js +31 -0
  101. package/dist/api/pilot/index.js.map +1 -0
  102. package/dist/index.d.ts +29 -0
  103. package/dist/index.d.ts.map +1 -0
  104. package/dist/index.js +291 -0
  105. package/dist/index.js.map +1 -0
  106. package/dist/types/index.d.ts +207 -0
  107. package/dist/types/index.d.ts.map +1 -0
  108. package/dist/types/index.js +3 -0
  109. package/dist/types/index.js.map +1 -0
  110. package/package.json +55 -0
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __generator = (this && this.__generator) || function (thisArg, body) {
12
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
13
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
+ function verb(n) { return function (v) { return step([n, v]); }; }
15
+ function step(op) {
16
+ if (f) throw new TypeError("Generator is already executing.");
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
+ if (y = 0, t) op = [op[0] & 2, t.value];
20
+ switch (op[0]) {
21
+ case 0: case 1: t = op; break;
22
+ case 4: _.label++; return { value: op[1], done: false };
23
+ case 5: _.label++; y = op[1]; op = [0]; continue;
24
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
+ default:
26
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
+ if (t[2]) _.ops.pop();
31
+ _.trys.pop(); continue;
32
+ }
33
+ op = body.call(thisArg, _);
34
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
+ }
37
+ };
38
+ var __importDefault = (this && this.__importDefault) || function (mod) {
39
+ return (mod && mod.__esModule) ? mod : { "default": mod };
40
+ };
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ exports.default = Pilot_getLatestFlight;
43
+ var FSHubApiRequest_1 = __importDefault(require("../FSHubApiRequest"));
44
+ function Pilot_getLatestFlight(id, api) {
45
+ return __awaiter(this, void 0, void 0, function () {
46
+ var response;
47
+ return __generator(this, function (_a) {
48
+ switch (_a.label) {
49
+ case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("pilot/".concat(id, "/flight/latest"), api)];
50
+ case 1:
51
+ response = _a.sent();
52
+ return [2 /*return*/, response.data];
53
+ }
54
+ });
55
+ });
56
+ }
57
+ //# sourceMappingURL=Pilot_getLatestFlight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pilot_getLatestFlight.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getLatestFlight.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wCAIC;AAND,uEAAiD;AAEjD,SAA8B,qBAAqB,CAAC,EAAU,EAAE,GAAa;;;;;wBACjC,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,mBAAgB,EAAE,GAAG,CAAC,EAAA;;oBAAzF,QAAQ,GAA0B,SAAuD;oBAE/F,sBAAO,QAAQ,CAAC,IAAI,EAAC;;;;CACxB"}
@@ -0,0 +1,3 @@
1
+ import { FSHubApi, PilotStats } from "@/types";
2
+ export default function Pilot_getStats(id: number, api: FSHubApi): Promise<PilotStats>;
3
+ //# sourceMappingURL=Pilot_getStats.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pilot_getStats.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getStats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAiB,UAAU,EAAE,MAAM,SAAS,CAAC;AAG9D,wBAA8B,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC,CAI3F"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __generator = (this && this.__generator) || function (thisArg, body) {
12
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
13
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
+ function verb(n) { return function (v) { return step([n, v]); }; }
15
+ function step(op) {
16
+ if (f) throw new TypeError("Generator is already executing.");
17
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
+ if (y = 0, t) op = [op[0] & 2, t.value];
20
+ switch (op[0]) {
21
+ case 0: case 1: t = op; break;
22
+ case 4: _.label++; return { value: op[1], done: false };
23
+ case 5: _.label++; y = op[1]; op = [0]; continue;
24
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
+ default:
26
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
+ if (t[2]) _.ops.pop();
31
+ _.trys.pop(); continue;
32
+ }
33
+ op = body.call(thisArg, _);
34
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
36
+ }
37
+ };
38
+ var __importDefault = (this && this.__importDefault) || function (mod) {
39
+ return (mod && mod.__esModule) ? mod : { "default": mod };
40
+ };
41
+ Object.defineProperty(exports, "__esModule", { value: true });
42
+ exports.default = Pilot_getStats;
43
+ var FSHubApiRequest_1 = __importDefault(require("../FSHubApiRequest"));
44
+ function Pilot_getStats(id, api) {
45
+ return __awaiter(this, void 0, void 0, function () {
46
+ var response;
47
+ return __generator(this, function (_a) {
48
+ switch (_a.label) {
49
+ case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("pilot/".concat(id, "/stats"), api)];
50
+ case 1:
51
+ response = _a.sent();
52
+ return [2 /*return*/, response.data];
53
+ }
54
+ });
55
+ });
56
+ }
57
+ //# sourceMappingURL=Pilot_getStats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pilot_getStats.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getStats.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,iCAIC;AAND,uEAAiD;AAEjD,SAA8B,cAAc,CAAC,EAAU,EAAE,GAAa;;;;;wBACtB,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,WAAQ,EAAE,GAAG,CAAC,EAAA;;oBAArF,QAAQ,GAA8B,SAA+C;oBAE3F,sBAAO,QAAQ,CAAC,IAAI,EAAC;;;;CACxB"}
@@ -0,0 +1,25 @@
1
+ import Pilot_getAll from './Pilot_getAll';
2
+ import Pilot_getCurrent from './Pilot_getCurrent';
3
+ import Pilot_get from './Pilot_get';
4
+ import Pilot_getLatestFlight from './Pilot_getLatestFlight';
5
+ import Pilot_getAllFlights from './Pilot_getAllFlights';
6
+ import Pilot_getAllAirlines from './Pilot_getAllAirlines';
7
+ import Pilot_getStats from './Pilot_getStats';
8
+ import Pilot_getAllFlightsDepartures from './Pilot_getAllFlightsDepartures';
9
+ import Pilot_getAllFlightsArrivals from './Pilot_getAllFlightsArrivals';
10
+ import Pilot_getAllFlightDeparturesAndArrivals from './Pilot_getAllFlightDeparturesAndArrivals';
11
+ import Pilot_getAllScreenshots from './Pilot_getAllScreenshots';
12
+ export declare const Pilot: {
13
+ getCurrent: typeof Pilot_getCurrent;
14
+ getAll: typeof Pilot_getAll;
15
+ get: typeof Pilot_get;
16
+ getLatestFlight: typeof Pilot_getLatestFlight;
17
+ getAllFlights: typeof Pilot_getAllFlights;
18
+ getAllAirlines: typeof Pilot_getAllAirlines;
19
+ getStats: typeof Pilot_getStats;
20
+ getAllFlightsDepartures: typeof Pilot_getAllFlightsDepartures;
21
+ getAllFlightsArrivals: typeof Pilot_getAllFlightsArrivals;
22
+ getAllFlightDeparturesAndArrivals: typeof Pilot_getAllFlightDeparturesAndArrivals;
23
+ getAllScreenshots: typeof Pilot_getAllScreenshots;
24
+ };
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,qBAAqB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AACxD,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,6BAA6B,MAAM,iCAAiC,CAAC;AAC5E,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AACxE,OAAO,uCAAuC,MAAM,2CAA2C,CAAC;AAChG,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAEhE,eAAO,MAAM,KAAK;;;;;;;;;;;;CAYjB,CAAA"}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Pilot = void 0;
7
+ var Pilot_getAll_1 = __importDefault(require("./Pilot_getAll"));
8
+ var Pilot_getCurrent_1 = __importDefault(require("./Pilot_getCurrent"));
9
+ var Pilot_get_1 = __importDefault(require("./Pilot_get"));
10
+ var Pilot_getLatestFlight_1 = __importDefault(require("./Pilot_getLatestFlight"));
11
+ var Pilot_getAllFlights_1 = __importDefault(require("./Pilot_getAllFlights"));
12
+ var Pilot_getAllAirlines_1 = __importDefault(require("./Pilot_getAllAirlines"));
13
+ var Pilot_getStats_1 = __importDefault(require("./Pilot_getStats"));
14
+ var Pilot_getAllFlightsDepartures_1 = __importDefault(require("./Pilot_getAllFlightsDepartures"));
15
+ var Pilot_getAllFlightsArrivals_1 = __importDefault(require("./Pilot_getAllFlightsArrivals"));
16
+ var Pilot_getAllFlightDeparturesAndArrivals_1 = __importDefault(require("./Pilot_getAllFlightDeparturesAndArrivals"));
17
+ var Pilot_getAllScreenshots_1 = __importDefault(require("./Pilot_getAllScreenshots"));
18
+ exports.Pilot = {
19
+ getCurrent: Pilot_getCurrent_1.default,
20
+ getAll: Pilot_getAll_1.default,
21
+ get: Pilot_get_1.default,
22
+ getLatestFlight: Pilot_getLatestFlight_1.default,
23
+ getAllFlights: Pilot_getAllFlights_1.default,
24
+ getAllAirlines: Pilot_getAllAirlines_1.default,
25
+ getStats: Pilot_getStats_1.default,
26
+ getAllFlightsDepartures: Pilot_getAllFlightsDepartures_1.default,
27
+ getAllFlightsArrivals: Pilot_getAllFlightsArrivals_1.default,
28
+ getAllFlightDeparturesAndArrivals: Pilot_getAllFlightDeparturesAndArrivals_1.default,
29
+ getAllScreenshots: Pilot_getAllScreenshots_1.default,
30
+ };
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/pilot/index.ts"],"names":[],"mappings":";;;;;;AAAA,gEAA0C;AAC1C,wEAAkD;AAClD,0DAAoC;AACpC,kFAA4D;AAC5D,8EAAwD;AACxD,gFAA0D;AAC1D,oEAA8C;AAC9C,kGAA4E;AAC5E,8FAAwE;AACxE,sHAAgG;AAChG,sFAAgE;AAEnD,QAAA,KAAK,GAAG;IACjB,UAAU,EAAE,0BAAgB;IAC5B,MAAM,EAAE,sBAAY;IACpB,GAAG,EAAE,mBAAS;IACd,eAAe,EAAE,+BAAqB;IACtC,aAAa,EAAE,6BAAmB;IAClC,cAAc,EAAE,8BAAoB;IACpC,QAAQ,EAAE,wBAAc;IACxB,uBAAuB,EAAE,uCAA6B;IACtD,qBAAqB,EAAE,qCAA2B;IAClD,iCAAiC,EAAE,iDAAuC;IAC1E,iBAAiB,EAAE,iCAAuB;CAC7C,CAAA"}
@@ -0,0 +1,29 @@
1
+ import { AxiosInstance } from 'axios';
2
+ import type { Config, FSHubApi } from './types';
3
+ export default class FSHubApiClass implements FSHubApi {
4
+ private readonly config;
5
+ readonly axios: AxiosInstance;
6
+ constructor(config: Config);
7
+ Pilot_getCurrent(): Promise<import("./types").CurrentPilot>;
8
+ Pilot_getAll(): Promise<import("./types").Pilot[]>;
9
+ Pilot_get(id: number): Promise<import("./types").Pilot>;
10
+ Pilot_getLatestFlight(id: number): Promise<import("./types").Flight>;
11
+ Pilot_getAllFlights(id: number): Promise<import("./types").Flight[]>;
12
+ Pilot_getAllAirlines(id: number): Promise<import("./types").Airline[]>;
13
+ Pilot_getStats(id: number): Promise<import("./types").PilotStats>;
14
+ Pilot_getAllFlightsDepartures(id: number, airportCode: string): Promise<import("./types").Flight[]>;
15
+ Pilot_getAllFlightsArrivals(id: number, airportCode: string): Promise<import("./types").Flight[]>;
16
+ Pilot_getAllFlightDeparturesAndArrivals(id: number, departureAirportCode: string, arrivalAirportCode: string): Promise<import("./types").Flight[]>;
17
+ Pilot_getAllScreenshots(id: number): Promise<import("./types").Screenshot[]>;
18
+ Airline_getAll(): Promise<import("./types").Airline[]>;
19
+ Airline_get(id: number): Promise<import("./types").Airline>;
20
+ Airline_getPilots(id: number): Promise<import("./types").Pilot[]>;
21
+ Airline_getPilotStats(id: number, pilotId: number): Promise<import("./types").PilotStats>;
22
+ Airline_getFlights(id: number): Promise<import("./types").Flight[]>;
23
+ Airline_getAllFlightsDepartures(id: number, airportCode: string): Promise<import("./types").Flight[]>;
24
+ Airline_getAllFlightsArrivals(id: number, airportCode: string): Promise<import("./types").Flight[]>;
25
+ Airline_getAllFlightDeparturesAndArrivals(id: number, departureAirportCode: string, arrivalAirportCode: string): Promise<import("./types").Flight[]>;
26
+ Airline_getAllScreenshots(id: number): Promise<import("./types").Screenshot[]>;
27
+ Airline_getStats(id: number): Promise<import("./types").AirlineStats>;
28
+ }
29
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAG/C,MAAM,CAAC,OAAO,OAAO,aAAc,YAAW,QAAQ;IAClD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,SAAgB,KAAK,EAAE,aAAa,CAAC;gBAEzB,MAAM,EAAE,MAAM;IA8Bb,gBAAgB;IAIhB,YAAY;IAIZ,SAAS,CAAC,EAAE,EAAE,MAAM;IAIpB,qBAAqB,CAAC,EAAE,EAAE,MAAM;IAIhC,mBAAmB,CAAC,EAAE,EAAE,MAAM;IAI9B,oBAAoB,CAAC,EAAE,EAAE,MAAM;IAI/B,cAAc,CAAC,EAAE,EAAE,MAAM;IAIzB,6BAA6B,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAI7D,2BAA2B,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAI3D,uCAAuC,CAAC,EAAE,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM;IAI5G,uBAAuB,CAAC,EAAE,EAAE,MAAM;IAIlC,cAAc;IAId,WAAW,CAAC,EAAE,EAAE,MAAM;IAItB,iBAAiB,CAAC,EAAE,EAAE,MAAM;IAI5B,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;IAIjD,kBAAkB,CAAC,EAAE,EAAE,MAAM;IAI7B,+BAA+B,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAI/D,6BAA6B,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAI7D,yCAAyC,CAAC,EAAE,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM;IAI9G,yBAAyB,CAAC,EAAE,EAAE,MAAM;IAIpC,gBAAgB,CAAC,EAAE,EAAE,MAAM;CAG3C"}
package/dist/index.js ADDED
@@ -0,0 +1,291 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
14
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15
+ return new (P || (P = Promise))(function (resolve, reject) {
16
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
17
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
19
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
20
+ });
21
+ };
22
+ var __generator = (this && this.__generator) || function (thisArg, body) {
23
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
24
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
+ function verb(n) { return function (v) { return step([n, v]); }; }
26
+ function step(op) {
27
+ if (f) throw new TypeError("Generator is already executing.");
28
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
+ if (y = 0, t) op = [op[0] & 2, t.value];
31
+ switch (op[0]) {
32
+ case 0: case 1: t = op; break;
33
+ case 4: _.label++; return { value: op[1], done: false };
34
+ case 5: _.label++; y = op[1]; op = [0]; continue;
35
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
36
+ default:
37
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
38
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
39
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
40
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41
+ if (t[2]) _.ops.pop();
42
+ _.trys.pop(); continue;
43
+ }
44
+ op = body.call(thisArg, _);
45
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
46
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
+ }
48
+ };
49
+ var __importDefault = (this && this.__importDefault) || function (mod) {
50
+ return (mod && mod.__esModule) ? mod : { "default": mod };
51
+ };
52
+ Object.defineProperty(exports, "__esModule", { value: true });
53
+ var axios_1 = __importDefault(require("axios"));
54
+ var api_1 = require("@/api");
55
+ var FSHubApiClass = /** @class */ (function () {
56
+ function FSHubApiClass(config) {
57
+ if (!config.apiKey) {
58
+ throw new Error('FSHub API key is required!');
59
+ }
60
+ this.config = config;
61
+ this.axios = axios_1.default.create({
62
+ baseURL: this.config.baseURL || 'https://fshub.io/api/v3/',
63
+ headers: __assign({ 'Content-Type': 'application/json', 'X-Pilot-Token': this.config.apiKey }, this.config.headers),
64
+ timeout: this.config.timeout || 10000
65
+ });
66
+ this.Pilot_getCurrent = this.Pilot_getCurrent.bind(this);
67
+ this.Pilot_getAll = this.Pilot_getAll.bind(this);
68
+ this.Pilot_get = this.Pilot_get.bind(this);
69
+ this.Pilot_getLatestFlight = this.Pilot_getLatestFlight.bind(this);
70
+ this.Pilot_getAllFlights = this.Pilot_getAllFlights.bind(this);
71
+ this.Pilot_getAllAirlines = this.Pilot_getAllAirlines.bind(this);
72
+ this.Pilot_getStats = this.Pilot_getStats.bind(this);
73
+ this.Pilot_getAllFlightsDepartures = this.Pilot_getAllFlightsDepartures.bind(this);
74
+ this.Pilot_getAllFlightsArrivals = this.Pilot_getAllFlightsArrivals.bind(this);
75
+ this.Pilot_getAllFlightDeparturesAndArrivals = this.Pilot_getAllFlightDeparturesAndArrivals.bind(this);
76
+ this.Pilot_getAllScreenshots = this.Pilot_getAllScreenshots.bind(this);
77
+ }
78
+ FSHubApiClass.prototype.Pilot_getCurrent = function () {
79
+ return __awaiter(this, void 0, void 0, function () {
80
+ return __generator(this, function (_a) {
81
+ switch (_a.label) {
82
+ case 0: return [4 /*yield*/, api_1.Api.pilot.getCurrent(this)];
83
+ case 1: return [2 /*return*/, _a.sent()];
84
+ }
85
+ });
86
+ });
87
+ };
88
+ FSHubApiClass.prototype.Pilot_getAll = function () {
89
+ return __awaiter(this, void 0, void 0, function () {
90
+ return __generator(this, function (_a) {
91
+ switch (_a.label) {
92
+ case 0: return [4 /*yield*/, api_1.Api.pilot.getAll(this)];
93
+ case 1: return [2 /*return*/, _a.sent()];
94
+ }
95
+ });
96
+ });
97
+ };
98
+ FSHubApiClass.prototype.Pilot_get = function (id) {
99
+ return __awaiter(this, void 0, void 0, function () {
100
+ return __generator(this, function (_a) {
101
+ switch (_a.label) {
102
+ case 0: return [4 /*yield*/, api_1.Api.pilot.get(id, this)];
103
+ case 1: return [2 /*return*/, _a.sent()];
104
+ }
105
+ });
106
+ });
107
+ };
108
+ FSHubApiClass.prototype.Pilot_getLatestFlight = function (id) {
109
+ return __awaiter(this, void 0, void 0, function () {
110
+ return __generator(this, function (_a) {
111
+ switch (_a.label) {
112
+ case 0: return [4 /*yield*/, api_1.Api.pilot.getLatestFlight(id, this)];
113
+ case 1: return [2 /*return*/, _a.sent()];
114
+ }
115
+ });
116
+ });
117
+ };
118
+ FSHubApiClass.prototype.Pilot_getAllFlights = function (id) {
119
+ return __awaiter(this, void 0, void 0, function () {
120
+ return __generator(this, function (_a) {
121
+ switch (_a.label) {
122
+ case 0: return [4 /*yield*/, api_1.Api.pilot.getAllFlights(id, this)];
123
+ case 1: return [2 /*return*/, _a.sent()];
124
+ }
125
+ });
126
+ });
127
+ };
128
+ FSHubApiClass.prototype.Pilot_getAllAirlines = function (id) {
129
+ return __awaiter(this, void 0, void 0, function () {
130
+ return __generator(this, function (_a) {
131
+ switch (_a.label) {
132
+ case 0: return [4 /*yield*/, api_1.Api.pilot.getAllAirlines(id, this)];
133
+ case 1: return [2 /*return*/, _a.sent()];
134
+ }
135
+ });
136
+ });
137
+ };
138
+ FSHubApiClass.prototype.Pilot_getStats = function (id) {
139
+ return __awaiter(this, void 0, void 0, function () {
140
+ return __generator(this, function (_a) {
141
+ switch (_a.label) {
142
+ case 0: return [4 /*yield*/, api_1.Api.pilot.getStats(id, this)];
143
+ case 1: return [2 /*return*/, _a.sent()];
144
+ }
145
+ });
146
+ });
147
+ };
148
+ FSHubApiClass.prototype.Pilot_getAllFlightsDepartures = function (id, airportCode) {
149
+ return __awaiter(this, void 0, void 0, function () {
150
+ return __generator(this, function (_a) {
151
+ switch (_a.label) {
152
+ case 0: return [4 /*yield*/, api_1.Api.pilot.getAllFlightsDepartures(id, airportCode, this)];
153
+ case 1: return [2 /*return*/, _a.sent()];
154
+ }
155
+ });
156
+ });
157
+ };
158
+ FSHubApiClass.prototype.Pilot_getAllFlightsArrivals = function (id, airportCode) {
159
+ return __awaiter(this, void 0, void 0, function () {
160
+ return __generator(this, function (_a) {
161
+ switch (_a.label) {
162
+ case 0: return [4 /*yield*/, api_1.Api.pilot.getAllFlightsArrivals(id, airportCode, this)];
163
+ case 1: return [2 /*return*/, _a.sent()];
164
+ }
165
+ });
166
+ });
167
+ };
168
+ FSHubApiClass.prototype.Pilot_getAllFlightDeparturesAndArrivals = function (id, departureAirportCode, arrivalAirportCode) {
169
+ return __awaiter(this, void 0, void 0, function () {
170
+ return __generator(this, function (_a) {
171
+ switch (_a.label) {
172
+ case 0: return [4 /*yield*/, api_1.Api.pilot.getAllFlightDeparturesAndArrivals(id, departureAirportCode, arrivalAirportCode, this)];
173
+ case 1: return [2 /*return*/, _a.sent()];
174
+ }
175
+ });
176
+ });
177
+ };
178
+ FSHubApiClass.prototype.Pilot_getAllScreenshots = function (id) {
179
+ return __awaiter(this, void 0, void 0, function () {
180
+ return __generator(this, function (_a) {
181
+ switch (_a.label) {
182
+ case 0: return [4 /*yield*/, api_1.Api.pilot.getAllScreenshots(id, this)];
183
+ case 1: return [2 /*return*/, _a.sent()];
184
+ }
185
+ });
186
+ });
187
+ };
188
+ FSHubApiClass.prototype.Airline_getAll = function () {
189
+ return __awaiter(this, void 0, void 0, function () {
190
+ return __generator(this, function (_a) {
191
+ switch (_a.label) {
192
+ case 0: return [4 /*yield*/, api_1.Api.airline.getAll(this)];
193
+ case 1: return [2 /*return*/, _a.sent()];
194
+ }
195
+ });
196
+ });
197
+ };
198
+ FSHubApiClass.prototype.Airline_get = function (id) {
199
+ return __awaiter(this, void 0, void 0, function () {
200
+ return __generator(this, function (_a) {
201
+ switch (_a.label) {
202
+ case 0: return [4 /*yield*/, api_1.Api.airline.get(id, this)];
203
+ case 1: return [2 /*return*/, _a.sent()];
204
+ }
205
+ });
206
+ });
207
+ };
208
+ FSHubApiClass.prototype.Airline_getPilots = function (id) {
209
+ return __awaiter(this, void 0, void 0, function () {
210
+ return __generator(this, function (_a) {
211
+ switch (_a.label) {
212
+ case 0: return [4 /*yield*/, api_1.Api.airline.getPilots(id, this)];
213
+ case 1: return [2 /*return*/, _a.sent()];
214
+ }
215
+ });
216
+ });
217
+ };
218
+ FSHubApiClass.prototype.Airline_getPilotStats = function (id, pilotId) {
219
+ return __awaiter(this, void 0, void 0, function () {
220
+ return __generator(this, function (_a) {
221
+ switch (_a.label) {
222
+ case 0: return [4 /*yield*/, api_1.Api.airline.getPilotStats(id, pilotId, this)];
223
+ case 1: return [2 /*return*/, _a.sent()];
224
+ }
225
+ });
226
+ });
227
+ };
228
+ FSHubApiClass.prototype.Airline_getFlights = function (id) {
229
+ return __awaiter(this, void 0, void 0, function () {
230
+ return __generator(this, function (_a) {
231
+ switch (_a.label) {
232
+ case 0: return [4 /*yield*/, api_1.Api.airline.getFlights(id, this)];
233
+ case 1: return [2 /*return*/, _a.sent()];
234
+ }
235
+ });
236
+ });
237
+ };
238
+ FSHubApiClass.prototype.Airline_getAllFlightsDepartures = function (id, airportCode) {
239
+ return __awaiter(this, void 0, void 0, function () {
240
+ return __generator(this, function (_a) {
241
+ switch (_a.label) {
242
+ case 0: return [4 /*yield*/, api_1.Api.airline.getAllFlightsDepartures(id, airportCode, this)];
243
+ case 1: return [2 /*return*/, _a.sent()];
244
+ }
245
+ });
246
+ });
247
+ };
248
+ FSHubApiClass.prototype.Airline_getAllFlightsArrivals = function (id, airportCode) {
249
+ return __awaiter(this, void 0, void 0, function () {
250
+ return __generator(this, function (_a) {
251
+ switch (_a.label) {
252
+ case 0: return [4 /*yield*/, api_1.Api.airline.getAllFlightsArrivals(id, airportCode, this)];
253
+ case 1: return [2 /*return*/, _a.sent()];
254
+ }
255
+ });
256
+ });
257
+ };
258
+ FSHubApiClass.prototype.Airline_getAllFlightDeparturesAndArrivals = function (id, departureAirportCode, arrivalAirportCode) {
259
+ return __awaiter(this, void 0, void 0, function () {
260
+ return __generator(this, function (_a) {
261
+ switch (_a.label) {
262
+ case 0: return [4 /*yield*/, api_1.Api.airline.getAllFlightDeparturesAndArrivals(id, departureAirportCode, arrivalAirportCode, this)];
263
+ case 1: return [2 /*return*/, _a.sent()];
264
+ }
265
+ });
266
+ });
267
+ };
268
+ FSHubApiClass.prototype.Airline_getAllScreenshots = function (id) {
269
+ return __awaiter(this, void 0, void 0, function () {
270
+ return __generator(this, function (_a) {
271
+ switch (_a.label) {
272
+ case 0: return [4 /*yield*/, api_1.Api.airline.getAllScreenshots(id, this)];
273
+ case 1: return [2 /*return*/, _a.sent()];
274
+ }
275
+ });
276
+ });
277
+ };
278
+ FSHubApiClass.prototype.Airline_getStats = function (id) {
279
+ return __awaiter(this, void 0, void 0, function () {
280
+ return __generator(this, function (_a) {
281
+ switch (_a.label) {
282
+ case 0: return [4 /*yield*/, api_1.Api.airline.getStats(id, this)];
283
+ case 1: return [2 /*return*/, _a.sent()];
284
+ }
285
+ });
286
+ });
287
+ };
288
+ return FSHubApiClass;
289
+ }());
290
+ exports.default = FSHubApiClass;
291
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA6C;AAE7C,6BAA4B;AAE5B;IAII,uBAAY,MAAc;QACtB,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;QAClD,CAAC;QAED,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,IAAI,CAAC,KAAK,GAAG,eAAK,CAAC,MAAM,CAAC;YACtB,OAAO,EAAE,IAAI,CAAC,MAAM,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