@layer-drone/protocol 0.0.10 → 0.0.11
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/dist/index.d.mts +24 -22
- package/dist/index.d.ts +24 -22
- package/dist/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
- package/src/client/sdk.gen.ts +10 -10
- package/src/client/types.gen.ts +25 -23
package/dist/index.d.mts
CHANGED
|
@@ -76,6 +76,7 @@ type CreateFileResponseDto = {
|
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
type ValidateFlightDto = {
|
|
79
|
+
flightId?: number;
|
|
79
80
|
pilotAddress: string;
|
|
80
81
|
missionId: number;
|
|
81
82
|
flightTimestamp: string;
|
|
@@ -306,28 +307,13 @@ type QuotesControllerGetQuoteErrors = {
|
|
|
306
307
|
type QuotesControllerGetQuoteResponses = {
|
|
307
308
|
200: unknown;
|
|
308
309
|
};
|
|
309
|
-
type FlightsControllerGetFlightData = {
|
|
310
|
-
body?: never;
|
|
311
|
-
path: {
|
|
312
|
-
flightId: number;
|
|
313
|
-
};
|
|
314
|
-
query?: never;
|
|
315
|
-
url: "/flights/{flightId}";
|
|
316
|
-
};
|
|
317
|
-
type FlightsControllerGetFlightErrors = {
|
|
318
|
-
401: unknown;
|
|
319
|
-
403: unknown;
|
|
320
|
-
};
|
|
321
|
-
type FlightsControllerGetFlightResponses = {
|
|
322
|
-
200: FlightDto;
|
|
323
|
-
};
|
|
324
|
-
type FlightsControllerGetFlightResponse = FlightsControllerGetFlightResponses[keyof FlightsControllerGetFlightResponses];
|
|
325
310
|
type FlightsControllerGenerateFlightIdData = {
|
|
326
311
|
body?: never;
|
|
327
312
|
path?: never;
|
|
328
313
|
query: {
|
|
329
314
|
missionId: number;
|
|
330
315
|
pilotAddress: string;
|
|
316
|
+
flightTimestamp?: string;
|
|
331
317
|
};
|
|
332
318
|
url: "/flights/id";
|
|
333
319
|
};
|
|
@@ -339,6 +325,22 @@ type FlightsControllerGenerateFlightIdResponses = {
|
|
|
339
325
|
200: number;
|
|
340
326
|
};
|
|
341
327
|
type FlightsControllerGenerateFlightIdResponse = FlightsControllerGenerateFlightIdResponses[keyof FlightsControllerGenerateFlightIdResponses];
|
|
328
|
+
type FlightsControllerGetFlightData = {
|
|
329
|
+
body?: never;
|
|
330
|
+
path: {
|
|
331
|
+
flightId: number;
|
|
332
|
+
};
|
|
333
|
+
query?: never;
|
|
334
|
+
url: "/flights/{flightId}";
|
|
335
|
+
};
|
|
336
|
+
type FlightsControllerGetFlightErrors = {
|
|
337
|
+
401: unknown;
|
|
338
|
+
403: unknown;
|
|
339
|
+
};
|
|
340
|
+
type FlightsControllerGetFlightResponses = {
|
|
341
|
+
200: FlightDto;
|
|
342
|
+
};
|
|
343
|
+
type FlightsControllerGetFlightResponse = FlightsControllerGetFlightResponses[keyof FlightsControllerGetFlightResponses];
|
|
342
344
|
type FlightsControllerCreatePresignedUrlsData = {
|
|
343
345
|
body: CreateFileRequestDto;
|
|
344
346
|
path: {
|
|
@@ -714,8 +716,8 @@ declare const apiTokenControllerGetToken: <ThrowOnError extends boolean = false>
|
|
|
714
716
|
declare const apiTokenControllerUpdateToken: <ThrowOnError extends boolean = false>(options: Options<ApiTokenControllerUpdateTokenData, ThrowOnError>) => RequestResult<ApiTokenControllerUpdateTokenResponses, ApiTokenControllerUpdateTokenErrors, ThrowOnError, "fields">;
|
|
715
717
|
declare const quotesControllerCreateQuote: <ThrowOnError extends boolean = false>(options: Options<QuotesControllerCreateQuoteData, ThrowOnError>) => RequestResult<QuotesControllerCreateQuoteResponses, QuotesControllerCreateQuoteErrors, ThrowOnError, "fields">;
|
|
716
718
|
declare const quotesControllerGetQuote: <ThrowOnError extends boolean = false>(options: Options<QuotesControllerGetQuoteData, ThrowOnError>) => RequestResult<QuotesControllerGetQuoteResponses, QuotesControllerGetQuoteErrors, ThrowOnError, "fields">;
|
|
717
|
-
declare const flightsControllerGetFlight: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerGetFlightData, ThrowOnError>) => RequestResult<FlightsControllerGetFlightResponses, FlightsControllerGetFlightErrors, ThrowOnError, "fields">;
|
|
718
719
|
declare const flightsControllerGenerateFlightId: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerGenerateFlightIdData, ThrowOnError>) => RequestResult<FlightsControllerGenerateFlightIdResponses, FlightsControllerGenerateFlightIdErrors, ThrowOnError, "fields">;
|
|
720
|
+
declare const flightsControllerGetFlight: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerGetFlightData, ThrowOnError>) => RequestResult<FlightsControllerGetFlightResponses, FlightsControllerGetFlightErrors, ThrowOnError, "fields">;
|
|
719
721
|
declare const flightsControllerCreatePresignedUrls: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerCreatePresignedUrlsData, ThrowOnError>) => RequestResult<FlightsControllerCreatePresignedUrlsResponses, FlightsControllerCreatePresignedUrlsErrors, ThrowOnError, "fields">;
|
|
720
722
|
declare const flightsControllerValidateFlight: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerValidateFlightData, ThrowOnError>) => RequestResult<FlightsControllerValidateFlightResponses, FlightsControllerValidateFlightErrors, ThrowOnError, "fields">;
|
|
721
723
|
declare const conditionsControllerGetSunAltitudeTimeLimits: <ThrowOnError extends boolean = false>(options: Options<ConditionsControllerGetSunAltitudeTimeLimitsData, ThrowOnError>) => RequestResult<ConditionsControllerGetSunAltitudeTimeLimitsResponses, unknown, ThrowOnError, "fields">;
|
|
@@ -763,18 +765,18 @@ declare const Event: z.ZodUnion<[z.ZodObject<{
|
|
|
763
765
|
pilotAddress: z.ZodString;
|
|
764
766
|
flightManifestUri: z.ZodString;
|
|
765
767
|
}, "strict", z.ZodTypeAny, {
|
|
766
|
-
flightId: number;
|
|
767
768
|
pilotAddress: string;
|
|
769
|
+
flightId: number;
|
|
768
770
|
flightManifestUri: string;
|
|
769
771
|
}, {
|
|
770
|
-
flightId: number;
|
|
771
772
|
pilotAddress: string;
|
|
773
|
+
flightId: number;
|
|
772
774
|
flightManifestUri: string;
|
|
773
775
|
}>;
|
|
774
776
|
}, "strict", z.ZodTypeAny, {
|
|
775
777
|
data: {
|
|
776
|
-
flightId: number;
|
|
777
778
|
pilotAddress: string;
|
|
779
|
+
flightId: number;
|
|
778
780
|
flightManifestUri: string;
|
|
779
781
|
};
|
|
780
782
|
event_type: "protocol.flight.submitted";
|
|
@@ -782,8 +784,8 @@ declare const Event: z.ZodUnion<[z.ZodObject<{
|
|
|
782
784
|
timestamp?: any;
|
|
783
785
|
}, {
|
|
784
786
|
data: {
|
|
785
|
-
flightId: number;
|
|
786
787
|
pilotAddress: string;
|
|
788
|
+
flightId: number;
|
|
787
789
|
flightManifestUri: string;
|
|
788
790
|
};
|
|
789
791
|
event_type: "protocol.flight.submitted";
|
|
@@ -801,8 +803,8 @@ declare function parseWebhookEvent(req: Request$1, webhookSecret: string): {
|
|
|
801
803
|
timestamp: string;
|
|
802
804
|
} | {
|
|
803
805
|
data: {
|
|
804
|
-
flightId: number;
|
|
805
806
|
pilotAddress: string;
|
|
807
|
+
flightId: number;
|
|
806
808
|
flightManifestUri: string;
|
|
807
809
|
};
|
|
808
810
|
event_type: "protocol.flight.submitted";
|
package/dist/index.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ type CreateFileResponseDto = {
|
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
type ValidateFlightDto = {
|
|
79
|
+
flightId?: number;
|
|
79
80
|
pilotAddress: string;
|
|
80
81
|
missionId: number;
|
|
81
82
|
flightTimestamp: string;
|
|
@@ -306,28 +307,13 @@ type QuotesControllerGetQuoteErrors = {
|
|
|
306
307
|
type QuotesControllerGetQuoteResponses = {
|
|
307
308
|
200: unknown;
|
|
308
309
|
};
|
|
309
|
-
type FlightsControllerGetFlightData = {
|
|
310
|
-
body?: never;
|
|
311
|
-
path: {
|
|
312
|
-
flightId: number;
|
|
313
|
-
};
|
|
314
|
-
query?: never;
|
|
315
|
-
url: "/flights/{flightId}";
|
|
316
|
-
};
|
|
317
|
-
type FlightsControllerGetFlightErrors = {
|
|
318
|
-
401: unknown;
|
|
319
|
-
403: unknown;
|
|
320
|
-
};
|
|
321
|
-
type FlightsControllerGetFlightResponses = {
|
|
322
|
-
200: FlightDto;
|
|
323
|
-
};
|
|
324
|
-
type FlightsControllerGetFlightResponse = FlightsControllerGetFlightResponses[keyof FlightsControllerGetFlightResponses];
|
|
325
310
|
type FlightsControllerGenerateFlightIdData = {
|
|
326
311
|
body?: never;
|
|
327
312
|
path?: never;
|
|
328
313
|
query: {
|
|
329
314
|
missionId: number;
|
|
330
315
|
pilotAddress: string;
|
|
316
|
+
flightTimestamp?: string;
|
|
331
317
|
};
|
|
332
318
|
url: "/flights/id";
|
|
333
319
|
};
|
|
@@ -339,6 +325,22 @@ type FlightsControllerGenerateFlightIdResponses = {
|
|
|
339
325
|
200: number;
|
|
340
326
|
};
|
|
341
327
|
type FlightsControllerGenerateFlightIdResponse = FlightsControllerGenerateFlightIdResponses[keyof FlightsControllerGenerateFlightIdResponses];
|
|
328
|
+
type FlightsControllerGetFlightData = {
|
|
329
|
+
body?: never;
|
|
330
|
+
path: {
|
|
331
|
+
flightId: number;
|
|
332
|
+
};
|
|
333
|
+
query?: never;
|
|
334
|
+
url: "/flights/{flightId}";
|
|
335
|
+
};
|
|
336
|
+
type FlightsControllerGetFlightErrors = {
|
|
337
|
+
401: unknown;
|
|
338
|
+
403: unknown;
|
|
339
|
+
};
|
|
340
|
+
type FlightsControllerGetFlightResponses = {
|
|
341
|
+
200: FlightDto;
|
|
342
|
+
};
|
|
343
|
+
type FlightsControllerGetFlightResponse = FlightsControllerGetFlightResponses[keyof FlightsControllerGetFlightResponses];
|
|
342
344
|
type FlightsControllerCreatePresignedUrlsData = {
|
|
343
345
|
body: CreateFileRequestDto;
|
|
344
346
|
path: {
|
|
@@ -714,8 +716,8 @@ declare const apiTokenControllerGetToken: <ThrowOnError extends boolean = false>
|
|
|
714
716
|
declare const apiTokenControllerUpdateToken: <ThrowOnError extends boolean = false>(options: Options<ApiTokenControllerUpdateTokenData, ThrowOnError>) => RequestResult<ApiTokenControllerUpdateTokenResponses, ApiTokenControllerUpdateTokenErrors, ThrowOnError, "fields">;
|
|
715
717
|
declare const quotesControllerCreateQuote: <ThrowOnError extends boolean = false>(options: Options<QuotesControllerCreateQuoteData, ThrowOnError>) => RequestResult<QuotesControllerCreateQuoteResponses, QuotesControllerCreateQuoteErrors, ThrowOnError, "fields">;
|
|
716
718
|
declare const quotesControllerGetQuote: <ThrowOnError extends boolean = false>(options: Options<QuotesControllerGetQuoteData, ThrowOnError>) => RequestResult<QuotesControllerGetQuoteResponses, QuotesControllerGetQuoteErrors, ThrowOnError, "fields">;
|
|
717
|
-
declare const flightsControllerGetFlight: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerGetFlightData, ThrowOnError>) => RequestResult<FlightsControllerGetFlightResponses, FlightsControllerGetFlightErrors, ThrowOnError, "fields">;
|
|
718
719
|
declare const flightsControllerGenerateFlightId: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerGenerateFlightIdData, ThrowOnError>) => RequestResult<FlightsControllerGenerateFlightIdResponses, FlightsControllerGenerateFlightIdErrors, ThrowOnError, "fields">;
|
|
720
|
+
declare const flightsControllerGetFlight: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerGetFlightData, ThrowOnError>) => RequestResult<FlightsControllerGetFlightResponses, FlightsControllerGetFlightErrors, ThrowOnError, "fields">;
|
|
719
721
|
declare const flightsControllerCreatePresignedUrls: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerCreatePresignedUrlsData, ThrowOnError>) => RequestResult<FlightsControllerCreatePresignedUrlsResponses, FlightsControllerCreatePresignedUrlsErrors, ThrowOnError, "fields">;
|
|
720
722
|
declare const flightsControllerValidateFlight: <ThrowOnError extends boolean = false>(options: Options<FlightsControllerValidateFlightData, ThrowOnError>) => RequestResult<FlightsControllerValidateFlightResponses, FlightsControllerValidateFlightErrors, ThrowOnError, "fields">;
|
|
721
723
|
declare const conditionsControllerGetSunAltitudeTimeLimits: <ThrowOnError extends boolean = false>(options: Options<ConditionsControllerGetSunAltitudeTimeLimitsData, ThrowOnError>) => RequestResult<ConditionsControllerGetSunAltitudeTimeLimitsResponses, unknown, ThrowOnError, "fields">;
|
|
@@ -763,18 +765,18 @@ declare const Event: z.ZodUnion<[z.ZodObject<{
|
|
|
763
765
|
pilotAddress: z.ZodString;
|
|
764
766
|
flightManifestUri: z.ZodString;
|
|
765
767
|
}, "strict", z.ZodTypeAny, {
|
|
766
|
-
flightId: number;
|
|
767
768
|
pilotAddress: string;
|
|
769
|
+
flightId: number;
|
|
768
770
|
flightManifestUri: string;
|
|
769
771
|
}, {
|
|
770
|
-
flightId: number;
|
|
771
772
|
pilotAddress: string;
|
|
773
|
+
flightId: number;
|
|
772
774
|
flightManifestUri: string;
|
|
773
775
|
}>;
|
|
774
776
|
}, "strict", z.ZodTypeAny, {
|
|
775
777
|
data: {
|
|
776
|
-
flightId: number;
|
|
777
778
|
pilotAddress: string;
|
|
779
|
+
flightId: number;
|
|
778
780
|
flightManifestUri: string;
|
|
779
781
|
};
|
|
780
782
|
event_type: "protocol.flight.submitted";
|
|
@@ -782,8 +784,8 @@ declare const Event: z.ZodUnion<[z.ZodObject<{
|
|
|
782
784
|
timestamp?: any;
|
|
783
785
|
}, {
|
|
784
786
|
data: {
|
|
785
|
-
flightId: number;
|
|
786
787
|
pilotAddress: string;
|
|
788
|
+
flightId: number;
|
|
787
789
|
flightManifestUri: string;
|
|
788
790
|
};
|
|
789
791
|
event_type: "protocol.flight.submitted";
|
|
@@ -801,8 +803,8 @@ declare function parseWebhookEvent(req: Request$1, webhookSecret: string): {
|
|
|
801
803
|
timestamp: string;
|
|
802
804
|
} | {
|
|
803
805
|
data: {
|
|
804
|
-
flightId: number;
|
|
805
806
|
pilotAddress: string;
|
|
807
|
+
flightId: number;
|
|
806
808
|
flightManifestUri: string;
|
|
807
809
|
};
|
|
808
810
|
event_type: "protocol.flight.submitted";
|
package/dist/index.js
CHANGED
|
@@ -897,7 +897,7 @@ var quotesControllerGetQuote = /* @__PURE__ */ __name((options) => {
|
|
|
897
897
|
...options
|
|
898
898
|
});
|
|
899
899
|
}, "quotesControllerGetQuote");
|
|
900
|
-
var
|
|
900
|
+
var flightsControllerGenerateFlightId = /* @__PURE__ */ __name((options) => {
|
|
901
901
|
return (options.client ?? client).get({
|
|
902
902
|
security: [
|
|
903
903
|
{
|
|
@@ -905,11 +905,11 @@ var flightsControllerGetFlight = /* @__PURE__ */ __name((options) => {
|
|
|
905
905
|
type: "apiKey"
|
|
906
906
|
}
|
|
907
907
|
],
|
|
908
|
-
url: "/flights/
|
|
908
|
+
url: "/flights/id",
|
|
909
909
|
...options
|
|
910
910
|
});
|
|
911
|
-
}, "
|
|
912
|
-
var
|
|
911
|
+
}, "flightsControllerGenerateFlightId");
|
|
912
|
+
var flightsControllerGetFlight = /* @__PURE__ */ __name((options) => {
|
|
913
913
|
return (options.client ?? client).get({
|
|
914
914
|
security: [
|
|
915
915
|
{
|
|
@@ -917,10 +917,10 @@ var flightsControllerGenerateFlightId = /* @__PURE__ */ __name((options) => {
|
|
|
917
917
|
type: "apiKey"
|
|
918
918
|
}
|
|
919
919
|
],
|
|
920
|
-
url: "/flights/
|
|
920
|
+
url: "/flights/{flightId}",
|
|
921
921
|
...options
|
|
922
922
|
});
|
|
923
|
-
}, "
|
|
923
|
+
}, "flightsControllerGetFlight");
|
|
924
924
|
var flightsControllerCreatePresignedUrls = /* @__PURE__ */ __name((options) => {
|
|
925
925
|
return (options.client ?? client).post({
|
|
926
926
|
security: [
|
package/dist/index.mjs
CHANGED
|
@@ -841,7 +841,7 @@ var quotesControllerGetQuote = /* @__PURE__ */ __name((options) => {
|
|
|
841
841
|
...options
|
|
842
842
|
});
|
|
843
843
|
}, "quotesControllerGetQuote");
|
|
844
|
-
var
|
|
844
|
+
var flightsControllerGenerateFlightId = /* @__PURE__ */ __name((options) => {
|
|
845
845
|
return (options.client ?? client).get({
|
|
846
846
|
security: [
|
|
847
847
|
{
|
|
@@ -849,11 +849,11 @@ var flightsControllerGetFlight = /* @__PURE__ */ __name((options) => {
|
|
|
849
849
|
type: "apiKey"
|
|
850
850
|
}
|
|
851
851
|
],
|
|
852
|
-
url: "/flights/
|
|
852
|
+
url: "/flights/id",
|
|
853
853
|
...options
|
|
854
854
|
});
|
|
855
|
-
}, "
|
|
856
|
-
var
|
|
855
|
+
}, "flightsControllerGenerateFlightId");
|
|
856
|
+
var flightsControllerGetFlight = /* @__PURE__ */ __name((options) => {
|
|
857
857
|
return (options.client ?? client).get({
|
|
858
858
|
security: [
|
|
859
859
|
{
|
|
@@ -861,10 +861,10 @@ var flightsControllerGenerateFlightId = /* @__PURE__ */ __name((options) => {
|
|
|
861
861
|
type: "apiKey"
|
|
862
862
|
}
|
|
863
863
|
],
|
|
864
|
-
url: "/flights/
|
|
864
|
+
url: "/flights/{flightId}",
|
|
865
865
|
...options
|
|
866
866
|
});
|
|
867
|
-
}, "
|
|
867
|
+
}, "flightsControllerGetFlight");
|
|
868
868
|
var flightsControllerCreatePresignedUrls = /* @__PURE__ */ __name((options) => {
|
|
869
869
|
return (options.client ?? client).post({
|
|
870
870
|
security: [
|
package/package.json
CHANGED
package/src/client/sdk.gen.ts
CHANGED
|
@@ -312,14 +312,14 @@ export const quotesControllerGetQuote = <ThrowOnError extends boolean = false>(
|
|
|
312
312
|
});
|
|
313
313
|
};
|
|
314
314
|
|
|
315
|
-
export const
|
|
315
|
+
export const flightsControllerGenerateFlightId = <
|
|
316
316
|
ThrowOnError extends boolean = false,
|
|
317
317
|
>(
|
|
318
|
-
options: Options<
|
|
318
|
+
options: Options<FlightsControllerGenerateFlightIdData, ThrowOnError>,
|
|
319
319
|
) => {
|
|
320
320
|
return (options.client ?? _heyApiClient).get<
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
FlightsControllerGenerateFlightIdResponses,
|
|
322
|
+
FlightsControllerGenerateFlightIdErrors,
|
|
323
323
|
ThrowOnError
|
|
324
324
|
>({
|
|
325
325
|
security: [
|
|
@@ -328,19 +328,19 @@ export const flightsControllerGetFlight = <
|
|
|
328
328
|
type: "apiKey",
|
|
329
329
|
},
|
|
330
330
|
],
|
|
331
|
-
url: "/flights/
|
|
331
|
+
url: "/flights/id",
|
|
332
332
|
...options,
|
|
333
333
|
});
|
|
334
334
|
};
|
|
335
335
|
|
|
336
|
-
export const
|
|
336
|
+
export const flightsControllerGetFlight = <
|
|
337
337
|
ThrowOnError extends boolean = false,
|
|
338
338
|
>(
|
|
339
|
-
options: Options<
|
|
339
|
+
options: Options<FlightsControllerGetFlightData, ThrowOnError>,
|
|
340
340
|
) => {
|
|
341
341
|
return (options.client ?? _heyApiClient).get<
|
|
342
|
-
|
|
343
|
-
|
|
342
|
+
FlightsControllerGetFlightResponses,
|
|
343
|
+
FlightsControllerGetFlightErrors,
|
|
344
344
|
ThrowOnError
|
|
345
345
|
>({
|
|
346
346
|
security: [
|
|
@@ -349,7 +349,7 @@ export const flightsControllerGenerateFlightId = <
|
|
|
349
349
|
type: "apiKey",
|
|
350
350
|
},
|
|
351
351
|
],
|
|
352
|
-
url: "/flights/
|
|
352
|
+
url: "/flights/{flightId}",
|
|
353
353
|
...options,
|
|
354
354
|
});
|
|
355
355
|
};
|
package/src/client/types.gen.ts
CHANGED
|
@@ -110,6 +110,7 @@ export type CreateFileResponseDto = {
|
|
|
110
110
|
};
|
|
111
111
|
|
|
112
112
|
export type ValidateFlightDto = {
|
|
113
|
+
flightId?: number;
|
|
113
114
|
pilotAddress: string;
|
|
114
115
|
missionId: number;
|
|
115
116
|
flightTimestamp: string;
|
|
@@ -391,54 +392,55 @@ export type QuotesControllerGetQuoteResponses = {
|
|
|
391
392
|
200: unknown;
|
|
392
393
|
};
|
|
393
394
|
|
|
394
|
-
export type
|
|
395
|
+
export type FlightsControllerGenerateFlightIdData = {
|
|
395
396
|
body?: never;
|
|
396
|
-
path
|
|
397
|
-
|
|
397
|
+
path?: never;
|
|
398
|
+
query: {
|
|
399
|
+
missionId: number;
|
|
400
|
+
pilotAddress: string;
|
|
401
|
+
flightTimestamp?: string;
|
|
398
402
|
};
|
|
399
|
-
|
|
400
|
-
url: "/flights/{flightId}";
|
|
403
|
+
url: "/flights/id";
|
|
401
404
|
};
|
|
402
405
|
|
|
403
|
-
export type
|
|
406
|
+
export type FlightsControllerGenerateFlightIdErrors = {
|
|
404
407
|
401: unknown;
|
|
405
408
|
403: unknown;
|
|
406
409
|
};
|
|
407
410
|
|
|
408
|
-
export type
|
|
411
|
+
export type FlightsControllerGenerateFlightIdResponses = {
|
|
409
412
|
/**
|
|
410
|
-
* Returns flight
|
|
413
|
+
* Returns the generated flight ID
|
|
411
414
|
*/
|
|
412
|
-
200:
|
|
415
|
+
200: number;
|
|
413
416
|
};
|
|
414
417
|
|
|
415
|
-
export type
|
|
416
|
-
|
|
418
|
+
export type FlightsControllerGenerateFlightIdResponse =
|
|
419
|
+
FlightsControllerGenerateFlightIdResponses[keyof FlightsControllerGenerateFlightIdResponses];
|
|
417
420
|
|
|
418
|
-
export type
|
|
421
|
+
export type FlightsControllerGetFlightData = {
|
|
419
422
|
body?: never;
|
|
420
|
-
path
|
|
421
|
-
|
|
422
|
-
missionId: number;
|
|
423
|
-
pilotAddress: string;
|
|
423
|
+
path: {
|
|
424
|
+
flightId: number;
|
|
424
425
|
};
|
|
425
|
-
|
|
426
|
+
query?: never;
|
|
427
|
+
url: "/flights/{flightId}";
|
|
426
428
|
};
|
|
427
429
|
|
|
428
|
-
export type
|
|
430
|
+
export type FlightsControllerGetFlightErrors = {
|
|
429
431
|
401: unknown;
|
|
430
432
|
403: unknown;
|
|
431
433
|
};
|
|
432
434
|
|
|
433
|
-
export type
|
|
435
|
+
export type FlightsControllerGetFlightResponses = {
|
|
434
436
|
/**
|
|
435
|
-
* Returns
|
|
437
|
+
* Returns flight details
|
|
436
438
|
*/
|
|
437
|
-
200:
|
|
439
|
+
200: FlightDto;
|
|
438
440
|
};
|
|
439
441
|
|
|
440
|
-
export type
|
|
441
|
-
|
|
442
|
+
export type FlightsControllerGetFlightResponse =
|
|
443
|
+
FlightsControllerGetFlightResponses[keyof FlightsControllerGetFlightResponses];
|
|
442
444
|
|
|
443
445
|
export type FlightsControllerCreatePresignedUrlsData = {
|
|
444
446
|
body: CreateFileRequestDto;
|