fshub-api 3.0.1 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/dist/api/FSHubApiRequest.d.ts +5 -2
- package/dist/api/FSHubApiRequest.d.ts.map +1 -1
- package/dist/api/FSHubApiRequest.js +52 -8
- package/dist/api/FSHubApiRequest.js.map +1 -1
- package/dist/api/airline/Airline_approveApplication.d.ts +3 -0
- package/dist/api/airline/Airline_approveApplication.d.ts.map +1 -0
- package/dist/api/airline/Airline_approveApplication.js +56 -0
- package/dist/api/airline/Airline_approveApplication.js.map +1 -0
- package/dist/api/airline/Airline_get.d.ts +2 -2
- package/dist/api/airline/Airline_get.d.ts.map +1 -1
- package/dist/api/airline/Airline_get.js +1 -1
- package/dist/api/airline/Airline_get.js.map +1 -1
- package/dist/api/airline/Airline_getAll.d.ts +2 -2
- package/dist/api/airline/Airline_getAll.d.ts.map +1 -1
- package/dist/api/airline/Airline_getAll.js +1 -1
- package/dist/api/airline/Airline_getAll.js.map +1 -1
- package/dist/api/airline/Airline_getAllFlightDeparturesAndArrivals.d.ts +2 -2
- package/dist/api/airline/Airline_getAllFlightDeparturesAndArrivals.d.ts.map +1 -1
- package/dist/api/airline/Airline_getAllFlightDeparturesAndArrivals.js +1 -1
- package/dist/api/airline/Airline_getAllFlightDeparturesAndArrivals.js.map +1 -1
- package/dist/api/airline/Airline_getAllFlightsArrivals.d.ts +2 -2
- package/dist/api/airline/Airline_getAllFlightsArrivals.d.ts.map +1 -1
- package/dist/api/airline/Airline_getAllFlightsArrivals.js +1 -1
- package/dist/api/airline/Airline_getAllFlightsArrivals.js.map +1 -1
- package/dist/api/airline/Airline_getAllFlightsDepartures.d.ts +2 -2
- package/dist/api/airline/Airline_getAllFlightsDepartures.d.ts.map +1 -1
- package/dist/api/airline/Airline_getAllFlightsDepartures.js +1 -1
- package/dist/api/airline/Airline_getAllFlightsDepartures.js.map +1 -1
- package/dist/api/airline/Airline_getAllRanks.d.ts +3 -0
- package/dist/api/airline/Airline_getAllRanks.d.ts.map +1 -0
- package/dist/api/airline/Airline_getAllRanks.js +57 -0
- package/dist/api/airline/Airline_getAllRanks.js.map +1 -0
- package/dist/api/airline/Airline_getAllRoles.d.ts +3 -0
- package/dist/api/airline/Airline_getAllRoles.d.ts.map +1 -0
- package/dist/api/airline/Airline_getAllRoles.js +57 -0
- package/dist/api/airline/Airline_getAllRoles.js.map +1 -0
- package/dist/api/airline/Airline_getAllScreenshots.d.ts +2 -2
- package/dist/api/airline/Airline_getAllScreenshots.d.ts.map +1 -1
- package/dist/api/airline/Airline_getAllScreenshots.js +2 -2
- package/dist/api/airline/Airline_getAllScreenshots.js.map +1 -1
- package/dist/api/airline/Airline_getFlights.d.ts +2 -2
- package/dist/api/airline/Airline_getFlights.d.ts.map +1 -1
- package/dist/api/airline/Airline_getFlights.js +1 -1
- package/dist/api/airline/Airline_getFlights.js.map +1 -1
- package/dist/api/airline/Airline_getPilotStats.d.ts +2 -2
- package/dist/api/airline/Airline_getPilotStats.d.ts.map +1 -1
- package/dist/api/airline/Airline_getPilotStats.js +1 -1
- package/dist/api/airline/Airline_getPilotStats.js.map +1 -1
- package/dist/api/airline/Airline_getPilots.d.ts +2 -2
- package/dist/api/airline/Airline_getPilots.d.ts.map +1 -1
- package/dist/api/airline/Airline_getPilots.js +1 -1
- package/dist/api/airline/Airline_getPilots.js.map +1 -1
- package/dist/api/airline/Airline_getStats.d.ts +2 -2
- package/dist/api/airline/Airline_getStats.d.ts.map +1 -1
- package/dist/api/airline/Airline_getStats.js +1 -1
- package/dist/api/airline/Airline_getStats.js.map +1 -1
- package/dist/api/airline/Airline_pilotPointPurchase.d.ts +3 -0
- package/dist/api/airline/Airline_pilotPointPurchase.d.ts.map +1 -0
- package/dist/api/airline/Airline_pilotPointPurchase.js +56 -0
- package/dist/api/airline/Airline_pilotPointPurchase.js.map +1 -0
- package/dist/api/airline/Airline_pilotSetRank.d.ts +3 -0
- package/dist/api/airline/Airline_pilotSetRank.d.ts.map +1 -0
- package/dist/api/airline/Airline_pilotSetRank.js +56 -0
- package/dist/api/airline/Airline_pilotSetRank.js.map +1 -0
- package/dist/api/airline/Airline_rejectApplication.d.ts +3 -0
- package/dist/api/airline/Airline_rejectApplication.d.ts.map +1 -0
- package/dist/api/airline/Airline_rejectApplication.js +56 -0
- package/dist/api/airline/Airline_rejectApplication.js.map +1 -0
- package/dist/api/airline/index.d.ts +12 -0
- package/dist/api/airline/index.d.ts.map +1 -1
- package/dist/api/airline/index.js +12 -0
- package/dist/api/airline/index.js.map +1 -1
- package/dist/api/flight/Flight_getFlightById.d.ts +2 -2
- package/dist/api/flight/Flight_getFlightById.d.ts.map +1 -1
- package/dist/api/flight/Flight_getFlightById.js +1 -1
- package/dist/api/flight/Flight_getFlightById.js.map +1 -1
- package/dist/api/flight/Flight_getFlightScreenshotsById.d.ts +2 -2
- package/dist/api/flight/Flight_getFlightScreenshotsById.d.ts.map +1 -1
- package/dist/api/flight/Flight_getFlightScreenshotsById.js +2 -2
- package/dist/api/flight/Flight_getFlightScreenshotsById.js.map +1 -1
- package/dist/api/flight/Flight_getFlights.d.ts +3 -0
- package/dist/api/flight/Flight_getFlights.d.ts.map +1 -0
- package/dist/api/flight/Flight_getFlights.js +57 -0
- package/dist/api/flight/Flight_getFlights.js.map +1 -0
- package/dist/api/flight/index.d.ts +2 -0
- package/dist/api/flight/index.d.ts.map +1 -1
- package/dist/api/flight/index.js +2 -0
- package/dist/api/flight/index.js.map +1 -1
- package/dist/api/index.d.ts +7 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_get.d.ts +2 -2
- package/dist/api/pilot/Pilot_get.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_get.js +1 -1
- package/dist/api/pilot/Pilot_get.js.map +1 -1
- package/dist/api/pilot/Pilot_getAll.d.ts +2 -2
- package/dist/api/pilot/Pilot_getAll.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_getAll.js +1 -1
- package/dist/api/pilot/Pilot_getAll.js.map +1 -1
- package/dist/api/pilot/Pilot_getAllAirlines.d.ts +2 -2
- package/dist/api/pilot/Pilot_getAllAirlines.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_getAllAirlines.js +1 -1
- package/dist/api/pilot/Pilot_getAllAirlines.js.map +1 -1
- package/dist/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.d.ts +2 -2
- package/dist/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.js +1 -1
- package/dist/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.js.map +1 -1
- package/dist/api/pilot/Pilot_getAllFlights.d.ts +2 -2
- package/dist/api/pilot/Pilot_getAllFlights.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_getAllFlights.js +1 -1
- package/dist/api/pilot/Pilot_getAllFlights.js.map +1 -1
- package/dist/api/pilot/Pilot_getAllFlightsArrivals.d.ts +2 -2
- package/dist/api/pilot/Pilot_getAllFlightsArrivals.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_getAllFlightsArrivals.js +1 -1
- package/dist/api/pilot/Pilot_getAllFlightsArrivals.js.map +1 -1
- package/dist/api/pilot/Pilot_getAllFlightsDepartures.d.ts +2 -2
- package/dist/api/pilot/Pilot_getAllFlightsDepartures.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_getAllFlightsDepartures.js +1 -1
- package/dist/api/pilot/Pilot_getAllFlightsDepartures.js.map +1 -1
- package/dist/api/pilot/Pilot_getAllScreenshots.d.ts +2 -2
- package/dist/api/pilot/Pilot_getAllScreenshots.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_getAllScreenshots.js +2 -2
- package/dist/api/pilot/Pilot_getAllScreenshots.js.map +1 -1
- package/dist/api/pilot/Pilot_getCurrent.d.ts +2 -2
- package/dist/api/pilot/Pilot_getCurrent.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_getCurrent.js +1 -1
- package/dist/api/pilot/Pilot_getCurrent.js.map +1 -1
- package/dist/api/pilot/Pilot_getLatestFlight.d.ts +2 -2
- package/dist/api/pilot/Pilot_getLatestFlight.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_getLatestFlight.js +1 -1
- package/dist/api/pilot/Pilot_getLatestFlight.js.map +1 -1
- package/dist/api/pilot/Pilot_getStats.d.ts +2 -2
- package/dist/api/pilot/Pilot_getStats.d.ts.map +1 -1
- package/dist/api/pilot/Pilot_getStats.js +1 -1
- package/dist/api/pilot/Pilot_getStats.js.map +1 -1
- package/dist/index.d.ts +31 -24
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +89 -0
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +83 -34
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/release.ps1 +15 -0
- package/src/api/FSHubApiRequest.ts +31 -4
- package/src/api/airline/Airline_approveApplication.ts +10 -0
- package/src/api/airline/Airline_get.ts +2 -2
- package/src/api/airline/Airline_getAll.ts +2 -2
- package/src/api/airline/Airline_getAllFlightDeparturesAndArrivals.ts +2 -2
- package/src/api/airline/Airline_getAllFlightsArrivals.ts +2 -2
- package/src/api/airline/Airline_getAllFlightsDepartures.ts +2 -2
- package/src/api/airline/Airline_getAllRanks.ts +8 -0
- package/src/api/airline/Airline_getAllRoles.ts +8 -0
- package/src/api/airline/Airline_getAllScreenshots.ts +3 -3
- package/src/api/airline/Airline_getFlights.ts +2 -2
- package/src/api/airline/Airline_getPilotStats.ts +2 -2
- package/src/api/airline/Airline_getPilots.ts +2 -2
- package/src/api/airline/Airline_getStats.ts +2 -2
- package/src/api/airline/Airline_pilotPointPurchase.ts +10 -0
- package/src/api/airline/Airline_pilotSetRank.ts +10 -0
- package/src/api/airline/Airline_rejectApplication.ts +10 -0
- package/src/api/airline/index.ts +13 -1
- package/src/api/flight/Flight_getFlightById.ts +2 -2
- package/src/api/flight/Flight_getFlightScreenshotsById.ts +3 -3
- package/src/api/flight/Flight_getFlights.ts +9 -0
- package/src/api/flight/index.ts +2 -0
- package/src/api/pilot/Pilot_get.ts +2 -2
- package/src/api/pilot/Pilot_getAll.ts +2 -2
- package/src/api/pilot/Pilot_getAllAirlines.ts +2 -2
- package/src/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.ts +2 -2
- package/src/api/pilot/Pilot_getAllFlights.ts +2 -2
- package/src/api/pilot/Pilot_getAllFlightsArrivals.ts +2 -2
- package/src/api/pilot/Pilot_getAllFlightsDepartures.ts +2 -2
- package/src/api/pilot/Pilot_getAllScreenshots.ts +3 -3
- package/src/api/pilot/Pilot_getCurrent.ts +2 -2
- package/src/api/pilot/Pilot_getLatestFlight.ts +2 -2
- package/src/api/pilot/Pilot_getStats.ts +2 -2
- package/src/index.spec.ts +143 -77
- package/src/index.ts +50 -1
- package/src/types/index.ts +92 -36
|
@@ -49,7 +49,7 @@ function Pilot_getAllAirlines(id, api) {
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("pilot/".concat(id, "/airline"), api)];
|
|
50
50
|
case 1:
|
|
51
51
|
response = _a.sent();
|
|
52
|
-
return [2 /*return*/, response
|
|
52
|
+
return [2 /*return*/, response];
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllAirlines.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllAirlines.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,uCAIC;AAND,uEAAiD;AAEjD,SAA8B,oBAAoB,CAAC,EAAU,EAAE,GAAa;;;;;wBAC7B,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,aAAU,EAAE,GAAG,CAAC,EAAA;;oBAAtF,QAAQ,GAA6B,SAAiD;oBAE5F,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllAirlines.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllAirlines.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,uCAIC;AAND,uEAAiD;AAEjD,SAA8B,oBAAoB,CAAC,EAAU,EAAE,GAAa;;;;;wBAC7B,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,aAAU,EAAE,GAAG,CAAC,EAAA;;oBAAtF,QAAQ,GAA6B,SAAiD;oBAE5F,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Flight, FSHubApi } from "../../types";
|
|
2
|
-
export default function Pilot_getAllFlightDeparturesAndArrivals(id: number, departureAirportCode: string, arrivalAirportCode: string, api: FSHubApi): Promise<Flight[]
|
|
1
|
+
import { Flight, FSHubApi, FSHubResponse } from "../../types";
|
|
2
|
+
export default function Pilot_getAllFlightDeparturesAndArrivals(id: number, departureAirportCode: string, arrivalAirportCode: string, api: FSHubApi): Promise<FSHubResponse<Flight[]>>;
|
|
3
3
|
//# sourceMappingURL=Pilot_getAllFlightDeparturesAndArrivals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllFlightDeparturesAndArrivals.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllFlightDeparturesAndArrivals.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG9D,wBAA8B,uCAAuC,CAAC,EAAE,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,CAI3L"}
|
|
@@ -49,7 +49,7 @@ function Pilot_getAllFlightDeparturesAndArrivals(id, departureAirportCode, arriv
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("pilot/".concat(id, "/flight/departure/").concat(departureAirportCode, "/arrival/").concat(arrivalAirportCode), api)];
|
|
50
50
|
case 1:
|
|
51
51
|
response = _a.sent();
|
|
52
|
-
return [2 /*return*/, response
|
|
52
|
+
return [2 /*return*/, response];
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllFlightDeparturesAndArrivals.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,0DAIC;AAND,uEAAiD;AAEjD,SAA8B,uCAAuC,CAAC,EAAU,EAAE,oBAA4B,EAAE,kBAA0B,EAAE,GAAa;;;;;wBAC3G,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,+BAAqB,oBAAoB,sBAAY,kBAAkB,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAApJ,QAAQ,GAA4B,SAAgH;oBAE1J,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllFlightDeparturesAndArrivals.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightDeparturesAndArrivals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,0DAIC;AAND,uEAAiD;AAEjD,SAA8B,uCAAuC,CAAC,EAAU,EAAE,oBAA4B,EAAE,kBAA0B,EAAE,GAAa;;;;;wBAC3G,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,+BAAqB,oBAAoB,sBAAY,kBAAkB,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAApJ,QAAQ,GAA4B,SAAgH;oBAE1J,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FSHubApi, Flight } from "../../types";
|
|
2
|
-
export default function Pilot_getAllFlights(id: number, api: FSHubApi): Promise<Flight[]
|
|
1
|
+
import { FSHubApi, FSHubResponse, Flight } from "../../types";
|
|
2
|
+
export default function Pilot_getAllFlights(id: number, api: FSHubApi): Promise<FSHubResponse<Flight[]>>;
|
|
3
3
|
//# sourceMappingURL=Pilot_getAllFlights.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllFlights.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlights.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllFlights.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlights.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG9D,wBAA8B,mBAAmB,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,CAI7G"}
|
|
@@ -49,7 +49,7 @@ function Pilot_getAllFlights(id, api) {
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("pilot/".concat(id, "/flight"), api)];
|
|
50
50
|
case 1:
|
|
51
51
|
response = _a.sent();
|
|
52
|
-
return [2 /*return*/, response
|
|
52
|
+
return [2 /*return*/, response];
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllFlights.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlights.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,sCAIC;AAND,uEAAiD;AAEjD,SAA8B,mBAAmB,CAAC,EAAU,EAAE,GAAa;;;;;wBAC7B,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,YAAS,EAAE,GAAG,CAAC,EAAA;;oBAApF,QAAQ,GAA4B,SAAgD;oBAE1F,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllFlights.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlights.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,sCAIC;AAND,uEAAiD;AAEjD,SAA8B,mBAAmB,CAAC,EAAU,EAAE,GAAa;;;;;wBAC7B,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,YAAS,EAAE,GAAG,CAAC,EAAA;;oBAApF,QAAQ,GAA4B,SAAgD;oBAE1F,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FSHubApi, Flight } from "../../types";
|
|
2
|
-
export default function Pilot_getAllFlightsArrivals(id: number, airportCode: string, api: FSHubApi): Promise<Flight[]
|
|
1
|
+
import { FSHubApi, FSHubResponse, Flight } from "../../types";
|
|
2
|
+
export default function Pilot_getAllFlightsArrivals(id: number, airportCode: string, api: FSHubApi): Promise<FSHubResponse<Flight[]>>;
|
|
3
3
|
//# sourceMappingURL=Pilot_getAllFlightsArrivals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllFlightsArrivals.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightsArrivals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllFlightsArrivals.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightsArrivals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG9D,wBAA8B,2BAA2B,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,CAI1I"}
|
|
@@ -49,7 +49,7 @@ function Pilot_getAllFlightsArrivals(id, airportCode, api) {
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("pilot/".concat(id, "/flight/arrival/").concat(airportCode), api)];
|
|
50
50
|
case 1:
|
|
51
51
|
response = _a.sent();
|
|
52
|
-
return [2 /*return*/, response
|
|
52
|
+
return [2 /*return*/, response];
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllFlightsArrivals.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightsArrivals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,8CAIC;AAND,uEAAiD;AAEjD,SAA8B,2BAA2B,CAAC,EAAU,EAAE,WAAmB,EAAE,GAAa;;;;;wBAC1D,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,6BAAmB,WAAW,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAA3G,QAAQ,GAA4B,SAAuE;oBAEjH,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllFlightsArrivals.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightsArrivals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,8CAIC;AAND,uEAAiD;AAEjD,SAA8B,2BAA2B,CAAC,EAAU,EAAE,WAAmB,EAAE,GAAa;;;;;wBAC1D,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,6BAAmB,WAAW,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAA3G,QAAQ,GAA4B,SAAuE;oBAEjH,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Flight, FSHubApi } from "../../types";
|
|
2
|
-
export default function Pilot_getAllFlightsDepartures(id: number, airportCode: string, api: FSHubApi): Promise<Flight[]
|
|
1
|
+
import { Flight, FSHubApi, FSHubResponse } from "../../types";
|
|
2
|
+
export default function Pilot_getAllFlightsDepartures(id: number, airportCode: string, api: FSHubApi): Promise<FSHubResponse<Flight[]>>;
|
|
3
3
|
//# sourceMappingURL=Pilot_getAllFlightsDepartures.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllFlightsDepartures.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightsDepartures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllFlightsDepartures.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightsDepartures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG9D,wBAA8B,6BAA6B,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,CAI5I"}
|
|
@@ -49,7 +49,7 @@ function Pilot_getAllFlightsDepartures(id, airportCode, api) {
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("pilot/".concat(id, "/flight/departure/").concat(airportCode), api)];
|
|
50
50
|
case 1:
|
|
51
51
|
response = _a.sent();
|
|
52
|
-
return [2 /*return*/, response
|
|
52
|
+
return [2 /*return*/, response];
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllFlightsDepartures.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightsDepartures.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,gDAIC;AAND,uEAAiD;AAEjD,SAA8B,6BAA6B,CAAC,EAAU,EAAE,WAAmB,EAAE,GAAa;;;;;wBAC5D,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,+BAAqB,WAAW,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAA7G,QAAQ,GAA4B,SAAyE;oBAEnH,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllFlightsDepartures.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllFlightsDepartures.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,gDAIC;AAND,uEAAiD;AAEjD,SAA8B,6BAA6B,CAAC,EAAU,EAAE,WAAmB,EAAE,GAAa;;;;;wBAC5D,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,+BAAqB,WAAW,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAA7G,QAAQ,GAA4B,SAAyE;oBAEnH,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FSHubApi, Screenshot } from "../../types";
|
|
2
|
-
export default function Pilot_getAllScreenshots(id: number, api: FSHubApi): Promise<Screenshot[]
|
|
1
|
+
import { FSHubApi, FSHubResponse, Screenshot } from "../../types";
|
|
2
|
+
export default function Pilot_getAllScreenshots(id: number, api: FSHubApi): Promise<FSHubResponse<Screenshot[]>>;
|
|
3
3
|
//# sourceMappingURL=Pilot_getAllScreenshots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllScreenshots.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllScreenshots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllScreenshots.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllScreenshots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGlE,wBAA8B,uBAAuB,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC,CAAC,CAYrH"}
|
|
@@ -51,11 +51,11 @@ function Pilot_getAllScreenshots(id, api) {
|
|
|
51
51
|
return [4 /*yield*/, (0, FSHubApiRequest_1.default)("pilot/".concat(id, "/screenshot"), api)];
|
|
52
52
|
case 1:
|
|
53
53
|
response = _a.sent();
|
|
54
|
-
return [2 /*return*/, response
|
|
54
|
+
return [2 /*return*/, response];
|
|
55
55
|
case 2:
|
|
56
56
|
error_1 = _a.sent();
|
|
57
57
|
if (error_1 instanceof Error && error_1.message === 'No records found') {
|
|
58
|
-
return [2 /*return*/, []];
|
|
58
|
+
return [2 /*return*/, { data: [] }];
|
|
59
59
|
}
|
|
60
60
|
throw error_1;
|
|
61
61
|
case 3: return [2 /*return*/];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getAllScreenshots.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllScreenshots.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,0CAYC;AAdD,uEAAiD;AAEjD,SAA8B,uBAAuB,CAAC,EAAU,EAAE,GAAa;;;;;;;oBAEzB,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,gBAAa,EAAE,GAAG,CAAC,EAAA;;oBAA5F,QAAQ,GAAgC,SAAoD;oBAElG,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getAllScreenshots.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getAllScreenshots.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,0CAYC;AAdD,uEAAiD;AAEjD,SAA8B,uBAAuB,CAAC,EAAU,EAAE,GAAa;;;;;;;oBAEzB,qBAAM,IAAA,yBAAe,EAAC,gBAAS,EAAE,gBAAa,EAAE,GAAG,CAAC,EAAA;;oBAA5F,QAAQ,GAAgC,SAAoD;oBAElG,sBAAO,QAAQ,EAAC;;;oBAEhB,IAAI,OAAK,YAAY,KAAK,IAAI,OAAK,CAAC,OAAO,KAAK,kBAAkB,EAAE,CAAC;wBACjE,sBAAO,EAAE,IAAI,EAAE,EAAE,EAAE,EAAC;oBACxB,CAAC;oBAED,MAAM,OAAK,CAAC;;;;;CAEnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CurrentPilot, FSHubApi } from "../../types";
|
|
2
|
-
export default function Pilot_getCurrent(api: FSHubApi): Promise<CurrentPilot
|
|
1
|
+
import { CurrentPilot, FSHubApi, FSHubResponse } from "../../types";
|
|
2
|
+
export default function Pilot_getCurrent(api: FSHubApi): Promise<FSHubResponse<CurrentPilot>>;
|
|
3
3
|
//# sourceMappingURL=Pilot_getCurrent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getCurrent.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getCurrent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getCurrent.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getCurrent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGpE,wBAA8B,gBAAgB,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAIlG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getCurrent.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getCurrent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,mCAIC;AAND,uEAAiD;AAEjD,SAA8B,gBAAgB,CAAC,GAAa;;;;;wBACV,qBAAM,IAAA,yBAAe,EAAC,MAAM,EAAE,GAAG,CAAC,EAAA;;oBAA1E,QAAQ,GAAgC,SAAkC;oBAEhF,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getCurrent.js","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getCurrent.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,mCAIC;AAND,uEAAiD;AAEjD,SAA8B,gBAAgB,CAAC,GAAa;;;;;wBACV,qBAAM,IAAA,yBAAe,EAAC,MAAM,EAAE,GAAG,CAAC,EAAA;;oBAA1E,QAAQ,GAAgC,SAAkC;oBAEhF,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FSHubApi, Flight } from "../../types";
|
|
2
|
-
export default function Pilot_getLatestFlight(id: number, api: FSHubApi): Promise<Flight
|
|
1
|
+
import { FSHubApi, FSHubResponse, Flight } from "../../types";
|
|
2
|
+
export default function Pilot_getLatestFlight(id: number, api: FSHubApi): Promise<FSHubResponse<Flight>>;
|
|
3
3
|
//# sourceMappingURL=Pilot_getLatestFlight.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getLatestFlight.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getLatestFlight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getLatestFlight.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getLatestFlight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG9D,wBAA8B,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAI7G"}
|
|
@@ -49,7 +49,7 @@ function Pilot_getLatestFlight(id, api) {
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("pilot/".concat(id, "/flight/latest"), api)];
|
|
50
50
|
case 1:
|
|
51
51
|
response = _a.sent();
|
|
52
|
-
return [2 /*return*/, response
|
|
52
|
+
return [2 /*return*/, response];
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -1 +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,
|
|
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,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FSHubApi, PilotStats } from "../../types";
|
|
2
|
-
export default function Pilot_getStats(id: number, api: FSHubApi): Promise<PilotStats
|
|
1
|
+
import { FSHubApi, FSHubResponse, PilotStats } from "../../types";
|
|
2
|
+
export default function Pilot_getStats(id: number, api: FSHubApi): Promise<FSHubResponse<PilotStats>>;
|
|
3
3
|
//# sourceMappingURL=Pilot_getStats.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pilot_getStats.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getStats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Pilot_getStats.d.ts","sourceRoot":"","sources":["../../../src/api/pilot/Pilot_getStats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGlE,wBAA8B,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAI1G"}
|
|
@@ -49,7 +49,7 @@ function Pilot_getStats(id, api) {
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("pilot/".concat(id, "/stats"), api)];
|
|
50
50
|
case 1:
|
|
51
51
|
response = _a.sent();
|
|
52
|
-
return [2 /*return*/, response
|
|
52
|
+
return [2 /*return*/, response];
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
});
|
|
@@ -1 +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,
|
|
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,EAAC;;;;CACnB"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,32 +1,39 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
|
-
import type { Config, FSHubApi } from './types';
|
|
2
|
+
import type { Config, FSHubApi, FSHubPilotPointPurchaseTransactionData, FSHubPilotSetRankData, FSHubRequestOptions } from './types';
|
|
3
3
|
export * from './types';
|
|
4
4
|
export default class FSHubApiClass implements FSHubApi {
|
|
5
5
|
private readonly config;
|
|
6
6
|
readonly axios: AxiosInstance;
|
|
7
7
|
constructor(config: Config);
|
|
8
|
-
Pilot_getCurrent(): Promise<import("./types").CurrentPilot
|
|
9
|
-
Pilot_getAll(): Promise<import("./types").Pilot[]
|
|
10
|
-
Pilot_get(id: number): Promise<import("./types").Pilot
|
|
11
|
-
Pilot_getLatestFlight(id: number): Promise<import("./types").Flight
|
|
12
|
-
Pilot_getAllFlights(id: number): Promise<import("./types").Flight[]
|
|
13
|
-
Pilot_getAllAirlines(id: number): Promise<import("./types").Airline[]
|
|
14
|
-
Pilot_getStats(id: number): Promise<import("./types").PilotStats
|
|
15
|
-
Pilot_getAllFlightsDepartures(id: number, airportCode: string): Promise<import("./types").Flight[]
|
|
16
|
-
Pilot_getAllFlightsArrivals(id: number, airportCode: string): Promise<import("./types").Flight[]
|
|
17
|
-
Pilot_getAllFlightDeparturesAndArrivals(id: number, departureAirportCode: string, arrivalAirportCode: string): Promise<import("./types").Flight[]
|
|
18
|
-
Pilot_getAllScreenshots(id: number): Promise<import("./types").Screenshot[]
|
|
19
|
-
Airline_getAll(): Promise<import("./types").Airline[]
|
|
20
|
-
Airline_get(id: number): Promise<import("./types").Airline
|
|
21
|
-
Airline_getPilots(id: number): Promise<import("./types").Pilot[]
|
|
22
|
-
Airline_getPilotStats(id: number, pilotId: number): Promise<import("./types").PilotStats
|
|
23
|
-
Airline_getFlights(id: number): Promise<import("./types").Flight[]
|
|
24
|
-
Airline_getAllFlightsDepartures(id: number, airportCode: string): Promise<import("./types").Flight[]
|
|
25
|
-
Airline_getAllFlightsArrivals(id: number, airportCode: string): Promise<import("./types").Flight[]
|
|
26
|
-
Airline_getAllFlightDeparturesAndArrivals(id: number, departureAirportCode: string, arrivalAirportCode: string): Promise<import("./types").Flight[]
|
|
27
|
-
Airline_getAllScreenshots(id: number): Promise<import("./types").Screenshot[]
|
|
28
|
-
Airline_getStats(id: number): Promise<import("./types").AirlineStats
|
|
29
|
-
|
|
30
|
-
|
|
8
|
+
Pilot_getCurrent(): Promise<import("./types").FSHubResponse<import("./types").CurrentPilot>>;
|
|
9
|
+
Pilot_getAll(): Promise<import("./types").FSHubResponse<import("./types").Pilot[]>>;
|
|
10
|
+
Pilot_get(id: number): Promise<import("./types").FSHubResponse<import("./types").Pilot>>;
|
|
11
|
+
Pilot_getLatestFlight(id: number): Promise<import("./types").FSHubResponse<import("./types").Flight>>;
|
|
12
|
+
Pilot_getAllFlights(id: number): Promise<import("./types").FSHubResponse<import("./types").Flight[]>>;
|
|
13
|
+
Pilot_getAllAirlines(id: number): Promise<import("./types").FSHubResponse<import("./types").Airline[]>>;
|
|
14
|
+
Pilot_getStats(id: number): Promise<import("./types").FSHubResponse<import("./types").PilotStats>>;
|
|
15
|
+
Pilot_getAllFlightsDepartures(id: number, airportCode: string): Promise<import("./types").FSHubResponse<import("./types").Flight[]>>;
|
|
16
|
+
Pilot_getAllFlightsArrivals(id: number, airportCode: string): Promise<import("./types").FSHubResponse<import("./types").Flight[]>>;
|
|
17
|
+
Pilot_getAllFlightDeparturesAndArrivals(id: number, departureAirportCode: string, arrivalAirportCode: string): Promise<import("./types").FSHubResponse<import("./types").Flight[]>>;
|
|
18
|
+
Pilot_getAllScreenshots(id: number): Promise<import("./types").FSHubResponse<import("./types").Screenshot[]>>;
|
|
19
|
+
Airline_getAll(): Promise<import("./types").FSHubResponse<import("./types").Airline[]>>;
|
|
20
|
+
Airline_get(id: number): Promise<import("./types").FSHubResponse<import("./types").Airline>>;
|
|
21
|
+
Airline_getPilots(id: number): Promise<import("./types").FSHubResponse<import("./types").Pilot[]>>;
|
|
22
|
+
Airline_getPilotStats(id: number, pilotId: number): Promise<import("./types").FSHubResponse<import("./types").PilotStats>>;
|
|
23
|
+
Airline_getFlights(id: number): Promise<import("./types").FSHubResponse<import("./types").Flight[]>>;
|
|
24
|
+
Airline_getAllFlightsDepartures(id: number, airportCode: string): Promise<import("./types").FSHubResponse<import("./types").Flight[]>>;
|
|
25
|
+
Airline_getAllFlightsArrivals(id: number, airportCode: string): Promise<import("./types").FSHubResponse<import("./types").Flight[]>>;
|
|
26
|
+
Airline_getAllFlightDeparturesAndArrivals(id: number, departureAirportCode: string, arrivalAirportCode: string): Promise<import("./types").FSHubResponse<import("./types").Flight[]>>;
|
|
27
|
+
Airline_getAllScreenshots(id: number): Promise<import("./types").FSHubResponse<import("./types").Screenshot[]>>;
|
|
28
|
+
Airline_getStats(id: number): Promise<import("./types").FSHubResponse<import("./types").AirlineStats>>;
|
|
29
|
+
Airline_approveApplication(pilotId: number, airlineId: number): Promise<import("./types").FSHubResponse<import("./types").FSHubApplicationResponse>>;
|
|
30
|
+
Airline_rejectApplication(pilotId: number, airlineId: number): Promise<import("./types").FSHubResponse<import("./types").FSHubApplicationResponse>>;
|
|
31
|
+
Airline_pilotPointPurchase(pilotId: number, airlineId: number, data: FSHubPilotPointPurchaseTransactionData): Promise<import("./types").FSHubResponse<import("./types").FSHubPilotPointPurchaseTransactionResponse>>;
|
|
32
|
+
Airline_pilotSetRank(pilotId: number, airlineId: number, data: FSHubPilotSetRankData): Promise<import("./types").FSHubResponse<import("./types").FSHubApplicationResponse>>;
|
|
33
|
+
Airline_getAllRanks(airlineId: number): Promise<import("./types").FSHubResponse<import("./types").FSHubAirlineRank[]>>;
|
|
34
|
+
Airline_getAllRoles(airlineId: number): Promise<import("./types").FSHubResponse<import("./types").FSHubAirlineRole[]>>;
|
|
35
|
+
Flight_getFlightById(id: number): Promise<import("./types").FSHubResponse<import("./types").Flight>>;
|
|
36
|
+
Flight_getFlightScreenshotsById(id: number): Promise<import("./types").FSHubResponse<import("./types").Screenshot[]>>;
|
|
37
|
+
Flight_getFlights(options?: FSHubRequestOptions): Promise<import("./types").FSHubResponse<import("./types").Flight[]>>;
|
|
31
38
|
}
|
|
32
39
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +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;
|
|
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,E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0B,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAI7D,yBAAyB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAI5D,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,sCAAsC;IAI3G,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB;IAIpF,mBAAmB,CAAC,SAAS,EAAE,MAAM;IAIrC,mBAAmB,CAAC,SAAS,EAAE,MAAM;IAIrC,oBAAoB,CAAC,EAAE,EAAE,MAAM;IAI/B,+BAA+B,CAAC,EAAE,EAAE,MAAM;IAI1C,iBAAiB,CAAC,OAAO,CAAC,EAAE,mBAAmB;CAG/D"}
|
package/dist/index.js
CHANGED
|
@@ -89,6 +89,25 @@ var FSHubApiClass = /** @class */ (function () {
|
|
|
89
89
|
this.Pilot_getAllFlightsArrivals = this.Pilot_getAllFlightsArrivals.bind(this);
|
|
90
90
|
this.Pilot_getAllFlightDeparturesAndArrivals = this.Pilot_getAllFlightDeparturesAndArrivals.bind(this);
|
|
91
91
|
this.Pilot_getAllScreenshots = this.Pilot_getAllScreenshots.bind(this);
|
|
92
|
+
this.Airline_getAll = this.Airline_getAll.bind(this);
|
|
93
|
+
this.Airline_get = this.Airline_get.bind(this);
|
|
94
|
+
this.Airline_getPilots = this.Airline_getPilots.bind(this);
|
|
95
|
+
this.Airline_getPilotStats = this.Airline_getPilotStats.bind(this);
|
|
96
|
+
this.Airline_getFlights = this.Airline_getFlights.bind(this);
|
|
97
|
+
this.Airline_getAllFlightsDepartures = this.Airline_getAllFlightsDepartures.bind(this);
|
|
98
|
+
this.Airline_getAllFlightsArrivals = this.Airline_getAllFlightsArrivals.bind(this);
|
|
99
|
+
this.Airline_getAllFlightDeparturesAndArrivals = this.Airline_getAllFlightDeparturesAndArrivals.bind(this);
|
|
100
|
+
this.Airline_getAllScreenshots = this.Airline_getAllScreenshots.bind(this);
|
|
101
|
+
this.Airline_getStats = this.Airline_getStats.bind(this);
|
|
102
|
+
this.Airline_approveApplication = this.Airline_approveApplication.bind(this);
|
|
103
|
+
this.Airline_rejectApplication = this.Airline_rejectApplication.bind(this);
|
|
104
|
+
this.Airline_pilotPointPurchase = this.Airline_pilotPointPurchase.bind(this);
|
|
105
|
+
this.Airline_pilotSetRank = this.Airline_pilotSetRank.bind(this);
|
|
106
|
+
this.Airline_getAllRanks = this.Airline_getAllRanks.bind(this);
|
|
107
|
+
this.Airline_getAllRoles = this.Airline_getAllRoles.bind(this);
|
|
108
|
+
this.Flight_getFlightById = this.Flight_getFlightById.bind(this);
|
|
109
|
+
this.Flight_getFlightScreenshotsById = this.Flight_getFlightScreenshotsById.bind(this);
|
|
110
|
+
this.Flight_getFlights = this.Flight_getFlights.bind(this);
|
|
92
111
|
}
|
|
93
112
|
FSHubApiClass.prototype.Pilot_getCurrent = function () {
|
|
94
113
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -300,6 +319,66 @@ var FSHubApiClass = /** @class */ (function () {
|
|
|
300
319
|
});
|
|
301
320
|
});
|
|
302
321
|
};
|
|
322
|
+
FSHubApiClass.prototype.Airline_approveApplication = function (pilotId, airlineId) {
|
|
323
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
324
|
+
return __generator(this, function (_a) {
|
|
325
|
+
switch (_a.label) {
|
|
326
|
+
case 0: return [4 /*yield*/, api_1.Api.airline.approveApplication(pilotId, airlineId, this)];
|
|
327
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
328
|
+
}
|
|
329
|
+
});
|
|
330
|
+
});
|
|
331
|
+
};
|
|
332
|
+
FSHubApiClass.prototype.Airline_rejectApplication = function (pilotId, airlineId) {
|
|
333
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
334
|
+
return __generator(this, function (_a) {
|
|
335
|
+
switch (_a.label) {
|
|
336
|
+
case 0: return [4 /*yield*/, api_1.Api.airline.rejectApplication(pilotId, airlineId, this)];
|
|
337
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
});
|
|
341
|
+
};
|
|
342
|
+
FSHubApiClass.prototype.Airline_pilotPointPurchase = function (pilotId, airlineId, data) {
|
|
343
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
344
|
+
return __generator(this, function (_a) {
|
|
345
|
+
switch (_a.label) {
|
|
346
|
+
case 0: return [4 /*yield*/, api_1.Api.airline.pilotPointPurchase(pilotId, airlineId, data, this)];
|
|
347
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
});
|
|
351
|
+
};
|
|
352
|
+
FSHubApiClass.prototype.Airline_pilotSetRank = function (pilotId, airlineId, data) {
|
|
353
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
354
|
+
return __generator(this, function (_a) {
|
|
355
|
+
switch (_a.label) {
|
|
356
|
+
case 0: return [4 /*yield*/, api_1.Api.airline.pilotSetRank(pilotId, airlineId, data, this)];
|
|
357
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
});
|
|
361
|
+
};
|
|
362
|
+
FSHubApiClass.prototype.Airline_getAllRanks = function (airlineId) {
|
|
363
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
364
|
+
return __generator(this, function (_a) {
|
|
365
|
+
switch (_a.label) {
|
|
366
|
+
case 0: return [4 /*yield*/, api_1.Api.airline.getAllRanks(airlineId, this)];
|
|
367
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
});
|
|
371
|
+
};
|
|
372
|
+
FSHubApiClass.prototype.Airline_getAllRoles = function (airlineId) {
|
|
373
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
374
|
+
return __generator(this, function (_a) {
|
|
375
|
+
switch (_a.label) {
|
|
376
|
+
case 0: return [4 /*yield*/, api_1.Api.airline.getAllRoles(airlineId, this)];
|
|
377
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
378
|
+
}
|
|
379
|
+
});
|
|
380
|
+
});
|
|
381
|
+
};
|
|
303
382
|
FSHubApiClass.prototype.Flight_getFlightById = function (id) {
|
|
304
383
|
return __awaiter(this, void 0, void 0, function () {
|
|
305
384
|
return __generator(this, function (_a) {
|
|
@@ -320,6 +399,16 @@ var FSHubApiClass = /** @class */ (function () {
|
|
|
320
399
|
});
|
|
321
400
|
});
|
|
322
401
|
};
|
|
402
|
+
FSHubApiClass.prototype.Flight_getFlights = function (options) {
|
|
403
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
404
|
+
return __generator(this, function (_a) {
|
|
405
|
+
switch (_a.label) {
|
|
406
|
+
case 0: return [4 /*yield*/, api_1.Api.flight.getFlights(this, options)];
|
|
407
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
408
|
+
}
|
|
409
|
+
});
|
|
410
|
+
});
|
|
411
|
+
};
|
|
323
412
|
return FSHubApiClass;
|
|
324
413
|
}());
|
|
325
414
|
exports.default = FSHubApiClass;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA6C;AAE7C,6BAA4B;AAC5B,0CAAwB;AAExB;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,CAAC,OAAO,IAAI,0BAA0B;YAC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