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
package/README.md
CHANGED
|
@@ -157,6 +157,30 @@ const arrivals = await api.Airline_getAllFlightsArrivals(6082, 'KLAX');
|
|
|
157
157
|
const routeFlights = await api.Airline_getAllFlightDeparturesAndArrivals(6082, 'KPHX', 'KLAX');
|
|
158
158
|
```
|
|
159
159
|
|
|
160
|
+
#### Get All Airline Roles
|
|
161
|
+
```typescript
|
|
162
|
+
// Get all Roles
|
|
163
|
+
const allRoles = await api.Airline_getAllRoles();
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
#### Get All Airline Ranks
|
|
167
|
+
```typescript
|
|
168
|
+
// Get all Ranks
|
|
169
|
+
const allRanks = await api.Airline_getAllRanks();
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
#### Set Airline Pilot Rank
|
|
173
|
+
```typescript
|
|
174
|
+
const rank_id = 6254 // Reef Recruit
|
|
175
|
+
const pilot_id = 25097 //NDBoost
|
|
176
|
+
|
|
177
|
+
const payload: FSHubPilotSetRankData = {
|
|
178
|
+
rank_id: rank_id,
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
const response: FSHubApplicationResponse = await api.Airline_Airline_pilotSetRank(pilot_id, airline_id, payload);
|
|
182
|
+
```
|
|
183
|
+
|
|
160
184
|
## 🔍 Data Types
|
|
161
185
|
|
|
162
186
|
The library provides comprehensive TypeScript types for all FSHub data structures:
|
|
@@ -224,6 +248,12 @@ npm run dev
|
|
|
224
248
|
- `Airline_getAllFlightDeparturesAndArrivals(id, departureAirport, arrivalAirport)` - Get airline flights between airports
|
|
225
249
|
- `Airline_getAllScreenshots(id)` - Get airline screenshots
|
|
226
250
|
- `Airline_getStats(id)` - Get airline statistics
|
|
251
|
+
- `Airline_approveApplication` - approve an application to join the airline
|
|
252
|
+
- `Airline_rejectApplication` - reject an application to join the airline
|
|
253
|
+
- `Airline_pilotPointPurchase` - exchange pilots points for airline
|
|
254
|
+
- `Airline_pilotSetRank` - set a pilots rank
|
|
255
|
+
- `Airline_getAllRanks` - get all airline ranks
|
|
256
|
+
- `Airline_getAllRoles` - get all airline roles
|
|
227
257
|
|
|
228
258
|
## 🤝 Contributing
|
|
229
259
|
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import { FSHubResponse, FSHubApi } from '../types';
|
|
2
|
-
export
|
|
1
|
+
import { FSHubRequestOptions, FSHubResponse, FSHubApi } from '../types';
|
|
2
|
+
export declare function FSHubApiRequest<T>(url: string, api: FSHubApi, options?: FSHubRequestOptions): Promise<FSHubResponse<T>>;
|
|
3
|
+
export declare function FSHubApiPostRequest<T, D = any>(url: string, api: FSHubApi, data?: D): Promise<FSHubResponse<T>>;
|
|
4
|
+
export declare function FSHubApiPutRequest<T, D = any>(url: string, api: FSHubApi, data?: D): Promise<FSHubResponse<T>>;
|
|
5
|
+
export default FSHubApiRequest;
|
|
3
6
|
//# sourceMappingURL=FSHubApiRequest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FSHubApiRequest.d.ts","sourceRoot":"","sources":["../../src/api/FSHubApiRequest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAc,QAAQ,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"FSHubApiRequest.d.ts","sourceRoot":"","sources":["../../src/api/FSHubApiRequest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,aAAa,EAAc,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpF,wBAAsB,eAAe,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAiB7H;AAED,wBAAsB,mBAAmB,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAQrH;AAED,wBAAsB,kBAAkB,CAAC,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAQpH;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -36,20 +36,63 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
|
|
39
|
+
exports.FSHubApiRequest = FSHubApiRequest;
|
|
40
|
+
exports.FSHubApiPostRequest = FSHubApiPostRequest;
|
|
41
|
+
exports.FSHubApiPutRequest = FSHubApiPutRequest;
|
|
42
|
+
function FSHubApiRequest(url, api, options) {
|
|
43
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
44
|
+
var queryParams, response;
|
|
45
|
+
return __generator(this, function (_a) {
|
|
46
|
+
switch (_a.label) {
|
|
47
|
+
case 0:
|
|
48
|
+
queryParams = '';
|
|
49
|
+
if (options) {
|
|
50
|
+
queryParams = "?cursor=".concat(options.cursor, "&limit=").concat(options.limit);
|
|
51
|
+
}
|
|
52
|
+
return [4 /*yield*/, api.axios.get(url + queryParams)
|
|
53
|
+
.then(function (res) { return res.data; })
|
|
54
|
+
.catch(function (err) {
|
|
55
|
+
var _a, _b;
|
|
56
|
+
if (((_a = err.response) === null || _a === void 0 ? void 0 : _a.data.code) === 404) {
|
|
57
|
+
throw new Error('Not Found');
|
|
58
|
+
}
|
|
59
|
+
throw new Error((_b = err.response) === null || _b === void 0 ? void 0 : _b.data.message);
|
|
60
|
+
})];
|
|
61
|
+
case 1:
|
|
62
|
+
response = _a.sent();
|
|
63
|
+
return [2 /*return*/, response];
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function FSHubApiPostRequest(url, api, data) {
|
|
69
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
70
|
+
var response;
|
|
71
|
+
return __generator(this, function (_a) {
|
|
72
|
+
switch (_a.label) {
|
|
73
|
+
case 0: return [4 /*yield*/, api.axios.post(url, data)
|
|
74
|
+
.then(function (res) { return res.data; })
|
|
75
|
+
.catch(function (err) {
|
|
76
|
+
var _a;
|
|
77
|
+
throw new Error((_a = err.response) === null || _a === void 0 ? void 0 : _a.data.message);
|
|
78
|
+
})];
|
|
79
|
+
case 1:
|
|
80
|
+
response = _a.sent();
|
|
81
|
+
return [2 /*return*/, response];
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
function FSHubApiPutRequest(url, api, data) {
|
|
41
87
|
return __awaiter(this, void 0, void 0, function () {
|
|
42
88
|
var response;
|
|
43
89
|
return __generator(this, function (_a) {
|
|
44
90
|
switch (_a.label) {
|
|
45
|
-
case 0: return [4 /*yield*/, api.axios.
|
|
91
|
+
case 0: return [4 /*yield*/, api.axios.put(url, data)
|
|
46
92
|
.then(function (res) { return res.data; })
|
|
47
93
|
.catch(function (err) {
|
|
48
|
-
var _a
|
|
49
|
-
|
|
50
|
-
throw new Error('Not Found');
|
|
51
|
-
}
|
|
52
|
-
throw new Error((_b = err.response) === null || _b === void 0 ? void 0 : _b.data.message);
|
|
94
|
+
var _a;
|
|
95
|
+
throw new Error((_a = err.response) === null || _a === void 0 ? void 0 : _a.data.message);
|
|
53
96
|
})];
|
|
54
97
|
case 1:
|
|
55
98
|
response = _a.sent();
|
|
@@ -58,4 +101,5 @@ function FSHubApiRequest(url, api) {
|
|
|
58
101
|
});
|
|
59
102
|
});
|
|
60
103
|
}
|
|
104
|
+
exports.default = FSHubApiRequest;
|
|
61
105
|
//# sourceMappingURL=FSHubApiRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FSHubApiRequest.js","sourceRoot":"","sources":["../../src/api/FSHubApiRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,
|
|
1
|
+
{"version":3,"file":"FSHubApiRequest.js","sourceRoot":"","sources":["../../src/api/FSHubApiRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,0CAiBC;AAED,kDAQC;AAED,gDAQC;AArCD,SAAsB,eAAe,CAAI,GAAW,EAAE,GAAa,EAAE,OAA6B;;;;;;oBAC1F,WAAW,GAAG,EAAE,CAAC;oBACrB,IAAI,OAAO,EAAE,CAAC;wBACV,WAAW,GAAG,kBAAW,OAAO,CAAC,MAAM,oBAAU,OAAO,CAAC,KAAK,CAAE,CAAC;oBACrE,CAAC;oBAEmC,qBAAM,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,GAAG,WAAW,CAAC;6BACrE,IAAI,CAAC,UAAC,GAAoC,IAAK,OAAA,GAAG,CAAC,IAAI,EAAR,CAAQ,CAAC;6BACxD,KAAK,CAAC,UAAC,GAA2B;;4BAC/B,IAAI,CAAA,MAAA,GAAG,CAAC,QAAQ,0CAAE,IAAI,CAAC,IAAI,MAAK,GAAG,EAAE,CAAC;gCAClC,MAAM,IAAI,KAAK,CAAC,WAAW,CAAC,CAAC;4BACjC,CAAC;4BAED,MAAM,IAAI,KAAK,CAAC,MAAA,GAAG,CAAC,QAAQ,0CAAE,IAAI,CAAC,OAAO,CAAC,CAAC;wBAChD,CAAC,CAAC,EAAA;;oBARA,QAAQ,GAAsB,SAQ9B;oBAEN,sBAAO,QAAQ,EAAC;;;;CACnB;AAED,SAAsB,mBAAmB,CAAa,GAAW,EAAE,GAAa,EAAE,IAAQ;;;;;wBACnD,qBAAM,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC;yBAC7D,IAAI,CAAC,UAAC,GAAoC,IAAK,OAAA,GAAG,CAAC,IAAI,EAAR,CAAQ,CAAC;yBACxD,KAAK,CAAC,UAAC,GAA2B;;wBAC/B,MAAM,IAAI,KAAK,CAAC,MAAA,GAAG,CAAC,QAAQ,0CAAE,IAAI,CAAC,OAAO,CAAC,CAAC;oBAChD,CAAC,CAAC,EAAA;;oBAJA,QAAQ,GAAqB,SAI7B;oBAEN,sBAAO,QAAQ,EAAC;;;;CACnB;AAED,SAAsB,kBAAkB,CAAa,GAAW,EAAE,GAAa,EAAE,IAAQ;;;;;wBAClD,qBAAM,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC;yBAC5D,IAAI,CAAC,UAAC,GAAoC,IAAK,OAAA,GAAG,CAAC,IAAI,EAAR,CAAQ,CAAC;yBACxD,KAAK,CAAC,UAAC,GAA2B;;wBAC/B,MAAM,IAAI,KAAK,CAAC,MAAA,GAAG,CAAC,QAAQ,0CAAE,IAAI,CAAC,OAAO,CAAC,CAAC;oBAChD,CAAC,CAAC,EAAA;;oBAJA,QAAQ,GAAqB,SAI7B;oBAEN,sBAAO,QAAQ,EAAC;;;;CACnB;AAED,kBAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FSHubApi, FSHubResponse, FSHubApplicationResponse } from "../../types";
|
|
2
|
+
export default function Airline_approveApplication(pilotId: number, airlineId: number, api: FSHubApi): Promise<FSHubResponse<FSHubApplicationResponse>>;
|
|
3
|
+
//# sourceMappingURL=Airline_approveApplication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Airline_approveApplication.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_approveApplication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAGhF,wBAA8B,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,wBAAwB,CAAC,CAAC,CAM5J"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.default = Airline_approveApplication;
|
|
40
|
+
var FSHubApiRequest_1 = require("../FSHubApiRequest");
|
|
41
|
+
function Airline_approveApplication(pilotId, airlineId, api) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
43
|
+
var url, response;
|
|
44
|
+
return __generator(this, function (_a) {
|
|
45
|
+
switch (_a.label) {
|
|
46
|
+
case 0:
|
|
47
|
+
url = "airline/".concat(airlineId, "/application/").concat(pilotId, "/approve");
|
|
48
|
+
return [4 /*yield*/, (0, FSHubApiRequest_1.FSHubApiPostRequest)(url, api)];
|
|
49
|
+
case 1:
|
|
50
|
+
response = _a.sent();
|
|
51
|
+
return [2 /*return*/, response];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=Airline_approveApplication.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Airline_approveApplication.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_approveApplication.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,6CAMC;AARD,sDAAyD;AAEzD,SAA8B,0BAA0B,CAAC,OAAe,EAAE,SAAiB,EAAE,GAAa;;;;;;oBAChG,GAAG,GAAG,kBAAW,SAAS,0BAAgB,OAAO,aAAU,CAAC;oBAER,qBAAM,IAAA,qCAAmB,EAAiC,GAAG,EAAE,GAAG,CAAC,EAAA;;oBAAvH,QAAQ,GAA4C,SAAmE;oBAE7H,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FSHubApi, Airline } from "../../types";
|
|
2
|
-
export default function Airline_get(id: number, api: FSHubApi): Promise<Airline
|
|
1
|
+
import { FSHubApi, FSHubResponse, Airline } from "../../types";
|
|
2
|
+
export default function Airline_get(id: number, api: FSHubApi): Promise<FSHubResponse<Airline>>;
|
|
3
3
|
//# sourceMappingURL=Airline_get.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Airline_get.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_get.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_get.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAG/D,wBAA8B,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAIpG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Airline_get.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_get.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,8BAIC;AAND,uEAAiD;AAEjD,SAA8B,WAAW,CAAC,EAAU,EAAE,GAAa;;;;;wBACtB,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAA9E,QAAQ,GAA2B,SAA2C;oBAEpF,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_get.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_get.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,8BAIC;AAND,uEAAiD;AAEjD,SAA8B,WAAW,CAAC,EAAU,EAAE,GAAa;;;;;wBACtB,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAA9E,QAAQ,GAA2B,SAA2C;oBAEpF,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FSHubApi, Airline } from "../../types";
|
|
2
|
-
export default function Airline_getAll(api: FSHubApi): Promise<Airline[]
|
|
1
|
+
import { FSHubApi, FSHubResponse, Airline } from "../../types";
|
|
2
|
+
export default function Airline_getAll(api: FSHubApi): Promise<FSHubResponse<Airline[]>>;
|
|
3
3
|
//# sourceMappingURL=Airline_getAll.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Airline_getAll.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getAll.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAG/D,wBAA8B,cAAc,CAAC,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC,CAI7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Airline_getAll.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAll.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,iCAIC;AAND,uEAAiD;AAEjD,SAA8B,cAAc,CAAC,GAAa;;;;;wBACX,qBAAM,IAAA,yBAAe,EAAC,SAAS,EAAE,GAAG,CAAC,EAAA;;oBAA1E,QAAQ,GAA6B,SAAqC;oBAEhF,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getAll.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAll.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,iCAIC;AAND,uEAAiD;AAEjD,SAA8B,cAAc,CAAC,GAAa;;;;;wBACX,qBAAM,IAAA,yBAAe,EAAC,SAAS,EAAE,GAAG,CAAC,EAAA;;oBAA1E,QAAQ,GAA6B,SAAqC;oBAEhF,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Flight, FSHubApi } from "../../types";
|
|
2
|
-
export default function Airline_getAllFlightDeparturesAndArrivals(id: number, departureAirportCode: string, arrivalAirportCode: string, api: FSHubApi): Promise<Flight[]
|
|
1
|
+
import { Flight, FSHubApi, FSHubResponse } from "../../types";
|
|
2
|
+
export default function Airline_getAllFlightDeparturesAndArrivals(id: number, departureAirportCode: string, arrivalAirportCode: string, api: FSHubApi): Promise<FSHubResponse<Flight[]>>;
|
|
3
3
|
//# sourceMappingURL=Airline_getAllFlightDeparturesAndArrivals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Airline_getAllFlightDeparturesAndArrivals.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightDeparturesAndArrivals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getAllFlightDeparturesAndArrivals.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightDeparturesAndArrivals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG9D,wBAA8B,yCAAyC,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,CAI7L"}
|
|
@@ -49,7 +49,7 @@ function Airline_getAllFlightDeparturesAndArrivals(id, departureAirportCode, arr
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("airline/".concat(id, "/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":"Airline_getAllFlightDeparturesAndArrivals.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightDeparturesAndArrivals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,4DAIC;AAND,uEAAiD;AAEjD,SAA8B,yCAAyC,CAAC,EAAU,EAAE,oBAA4B,EAAE,kBAA0B,EAAE,GAAa;;;;;wBAC7G,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,wBAAc,oBAAoB,sBAAY,kBAAkB,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAA/I,QAAQ,GAA4B,SAA2G;oBAErJ,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getAllFlightDeparturesAndArrivals.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightDeparturesAndArrivals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,4DAIC;AAND,uEAAiD;AAEjD,SAA8B,yCAAyC,CAAC,EAAU,EAAE,oBAA4B,EAAE,kBAA0B,EAAE,GAAa;;;;;wBAC7G,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,wBAAc,oBAAoB,sBAAY,kBAAkB,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAA/I,QAAQ,GAA4B,SAA2G;oBAErJ,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FSHubApi, Flight } from "../../types";
|
|
2
|
-
export default function Airline_getAllFlightsArrivals(id: number, airportCode: string, api: FSHubApi): Promise<Flight[]
|
|
1
|
+
import { FSHubApi, FSHubResponse, Flight } from "../../types";
|
|
2
|
+
export default function Airline_getAllFlightsArrivals(id: number, airportCode: string, api: FSHubApi): Promise<FSHubResponse<Flight[]>>;
|
|
3
3
|
//# sourceMappingURL=Airline_getAllFlightsArrivals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Airline_getAllFlightsArrivals.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightsArrivals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getAllFlightsArrivals.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightsArrivals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,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 Airline_getAllFlightsArrivals(id, airportCode, api) {
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("airline/".concat(id, "/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":"Airline_getAllFlightsArrivals.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightsArrivals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,gDAIC;AAND,uEAAiD;AAEjD,SAA8B,6BAA6B,CAAC,EAAU,EAAE,WAAmB,EAAE,GAAa;;;;;wBAC5D,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,sBAAY,WAAW,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAAtG,QAAQ,GAA4B,SAAkE;oBAE5G,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getAllFlightsArrivals.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightsArrivals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,gDAIC;AAND,uEAAiD;AAEjD,SAA8B,6BAA6B,CAAC,EAAU,EAAE,WAAmB,EAAE,GAAa;;;;;wBAC5D,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,sBAAY,WAAW,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAAtG,QAAQ,GAA4B,SAAkE;oBAE5G,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Flight, FSHubApi } from "../../types";
|
|
2
|
-
export default function Airline_getAllFlightsDepartures(id: number, airportCode: string, api: FSHubApi): Promise<Flight[]
|
|
1
|
+
import { Flight, FSHubApi, FSHubResponse } from "../../types";
|
|
2
|
+
export default function Airline_getAllFlightsDepartures(id: number, airportCode: string, api: FSHubApi): Promise<FSHubResponse<Flight[]>>;
|
|
3
3
|
//# sourceMappingURL=Airline_getAllFlightsDepartures.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Airline_getAllFlightsDepartures.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightsDepartures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getAllFlightsDepartures.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightsDepartures.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG9D,wBAA8B,+BAA+B,CAAC,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,CAI9I"}
|
|
@@ -49,7 +49,7 @@ function Airline_getAllFlightsDepartures(id, airportCode, api) {
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("airline/".concat(id, "/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":"Airline_getAllFlightsDepartures.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightsDepartures.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,kDAIC;AAND,uEAAiD;AAEjD,SAA8B,+BAA+B,CAAC,EAAU,EAAE,WAAmB,EAAE,GAAa;;;;;wBAC9D,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,wBAAc,WAAW,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAAxG,QAAQ,GAA4B,SAAoE;oBAE9G,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getAllFlightsDepartures.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllFlightsDepartures.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,kDAIC;AAND,uEAAiD;AAEjD,SAA8B,+BAA+B,CAAC,EAAU,EAAE,WAAmB,EAAE,GAAa;;;;;wBAC9D,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,wBAAc,WAAW,CAAE,EAAE,GAAG,CAAC,EAAA;;oBAAxG,QAAQ,GAA4B,SAAoE;oBAE9G,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Airline_getAllRanks.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllRanks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGxE,wBAA8B,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAI9H"}
|
|
@@ -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 = Airline_getAllRanks;
|
|
43
|
+
var FSHubApiRequest_1 = __importDefault(require("../FSHubApiRequest"));
|
|
44
|
+
function Airline_getAllRanks(airlineId, 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)("airline/".concat(airlineId, "/rank"), api)];
|
|
50
|
+
case 1:
|
|
51
|
+
response = _a.sent();
|
|
52
|
+
return [2 /*return*/, response];
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=Airline_getAllRanks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Airline_getAllRanks.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllRanks.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,sCAIC;AAND,uEAAiD;AAEjD,SAA8B,mBAAmB,CAAC,SAAiB,EAAE,GAAa;;;;;wBAC1B,qBAAM,IAAA,yBAAe,EAAC,kBAAW,SAAS,UAAO,EAAE,GAAG,CAAC,EAAA;;oBAArG,QAAQ,GAAsC,SAAuD;oBAE3G,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Airline_getAllRoles.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllRoles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGxE,wBAA8B,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAI9H"}
|
|
@@ -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 = Airline_getAllRoles;
|
|
43
|
+
var FSHubApiRequest_1 = __importDefault(require("../FSHubApiRequest"));
|
|
44
|
+
function Airline_getAllRoles(airlineId, 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)("airline/".concat(airlineId, "/role"), api)];
|
|
50
|
+
case 1:
|
|
51
|
+
response = _a.sent();
|
|
52
|
+
return [2 /*return*/, response];
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=Airline_getAllRoles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Airline_getAllRoles.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllRoles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,sCAIC;AAND,uEAAiD;AAEjD,SAA8B,mBAAmB,CAAC,SAAiB,EAAE,GAAa;;;;;wBAC1B,qBAAM,IAAA,yBAAe,EAAC,kBAAW,SAAS,UAAO,EAAE,GAAG,CAAC,EAAA;;oBAArG,QAAQ,GAAsC,SAAuD;oBAE3G,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FSHubApi, Screenshot } from "../../types";
|
|
2
|
-
export default function Airline_getAllScreenshots(id: number, api: FSHubApi): Promise<Screenshot[]
|
|
1
|
+
import { FSHubApi, FSHubResponse, Screenshot } from "../../types";
|
|
2
|
+
export default function Airline_getAllScreenshots(id: number, api: FSHubApi): Promise<FSHubResponse<Screenshot[]>>;
|
|
3
3
|
//# sourceMappingURL=Airline_getAllScreenshots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Airline_getAllScreenshots.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllScreenshots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getAllScreenshots.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllScreenshots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGlE,wBAA8B,yBAAyB,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC,CAAC,CAYvH"}
|
|
@@ -51,11 +51,11 @@ function Airline_getAllScreenshots(id, api) {
|
|
|
51
51
|
return [4 /*yield*/, (0, FSHubApiRequest_1.default)("airline/".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":"Airline_getAllScreenshots.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllScreenshots.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,4CAYC;AAdD,uEAAiD;AAEjD,SAA8B,yBAAyB,CAAC,EAAU,EAAE,GAAa;;;;;;;oBAE3B,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,gBAAa,EAAE,GAAG,CAAC,EAAA;;oBAA9F,QAAQ,GAAgC,SAAsD;oBAEpG,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getAllScreenshots.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getAllScreenshots.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,4CAYC;AAdD,uEAAiD;AAEjD,SAA8B,yBAAyB,CAAC,EAAU,EAAE,GAAa;;;;;;;oBAE3B,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,gBAAa,EAAE,GAAG,CAAC,EAAA;;oBAA9F,QAAQ,GAAgC,SAAsD;oBAEpG,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 { FSHubApi, Flight } from "../../types";
|
|
2
|
-
export default function Airline_getFlights(id: number, api: FSHubApi): Promise<Flight[]
|
|
1
|
+
import { FSHubApi, FSHubResponse, Flight } from "../../types";
|
|
2
|
+
export default function Airline_getFlights(id: number, api: FSHubApi): Promise<FSHubResponse<Flight[]>>;
|
|
3
3
|
//# sourceMappingURL=Airline_getFlights.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Airline_getFlights.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getFlights.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getFlights.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getFlights.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG9D,wBAA8B,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,CAI5G"}
|
|
@@ -49,7 +49,7 @@ function Airline_getFlights(id, api) {
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("airline/".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":"Airline_getFlights.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getFlights.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,qCAIC;AAND,uEAAiD;AAEjD,SAA8B,kBAAkB,CAAC,EAAU,EAAE,GAAa;;;;;wBAC5B,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,YAAS,EAAE,GAAG,CAAC,EAAA;;oBAAtF,QAAQ,GAA4B,SAAkD;oBAE5F,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getFlights.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getFlights.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,qCAIC;AAND,uEAAiD;AAEjD,SAA8B,kBAAkB,CAAC,EAAU,EAAE,GAAa;;;;;wBAC5B,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,YAAS,EAAE,GAAG,CAAC,EAAA;;oBAAtF,QAAQ,GAA4B,SAAkD;oBAE5F,sBAAO,QAAQ,EAAC;;;;CACnB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FSHubApi, PilotStats } from "../../types";
|
|
2
|
-
export default function Airline_getPilotStats(id: number, pilotId: number, api: FSHubApi): Promise<PilotStats
|
|
1
|
+
import { FSHubApi, FSHubResponse, PilotStats } from "../../types";
|
|
2
|
+
export default function Airline_getPilotStats(id: number, pilotId: number, api: FSHubApi): Promise<FSHubResponse<PilotStats>>;
|
|
3
3
|
//# sourceMappingURL=Airline_getPilotStats.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Airline_getPilotStats.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getPilotStats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getPilotStats.d.ts","sourceRoot":"","sources":["../../../src/api/airline/Airline_getPilotStats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGlE,wBAA8B,qBAAqB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,GAAG,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAIlI"}
|
|
@@ -49,7 +49,7 @@ function Airline_getPilotStats(id, pilotId, api) {
|
|
|
49
49
|
case 0: return [4 /*yield*/, (0, FSHubApiRequest_1.default)("airline/".concat(id, "/pilot/").concat(pilotId, "/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":"Airline_getPilotStats.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getPilotStats.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wCAIC;AAND,uEAAiD;AAEjD,SAA8B,qBAAqB,CAAC,EAAU,EAAE,OAAe,EAAE,GAAa;;;;;wBAC9C,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,oBAAU,OAAO,WAAQ,EAAE,GAAG,CAAC,EAAA;;oBAAxG,QAAQ,GAA8B,SAAkE;oBAE9G,sBAAO,QAAQ,
|
|
1
|
+
{"version":3,"file":"Airline_getPilotStats.js","sourceRoot":"","sources":["../../../src/api/airline/Airline_getPilotStats.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wCAIC;AAND,uEAAiD;AAEjD,SAA8B,qBAAqB,CAAC,EAAU,EAAE,OAAe,EAAE,GAAa;;;;;wBAC9C,qBAAM,IAAA,yBAAe,EAAC,kBAAW,EAAE,oBAAU,OAAO,WAAQ,EAAE,GAAG,CAAC,EAAA;;oBAAxG,QAAQ,GAA8B,SAAkE;oBAE9G,sBAAO,QAAQ,EAAC;;;;CACnB"}
|