@layer-drone/protocol 1.0.3 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1231 -157
- package/dist/index.d.ts +1231 -157
- package/dist/index.js +858 -19
- package/dist/index.mjs +825 -16
- package/package.json +7 -5
- package/src/client/client.gen.ts +5 -1
- package/src/client/sdk.gen.ts +1188 -173
- package/src/client/transformers.gen.ts +374 -0
- package/src/client/types.gen.ts +1520 -131
package/src/client/sdk.gen.ts
CHANGED
|
@@ -8,22 +8,36 @@ import type {
|
|
|
8
8
|
import {
|
|
9
9
|
apiTokenControllerUpdateToken0V1ResponseTransformer,
|
|
10
10
|
apiTokenControllerUpdateToken1ResponseTransformer,
|
|
11
|
+
campaignsControllerCreateCampaignV2V2ResponseTransformer,
|
|
12
|
+
campaignsControllerGetCampaignV2V2ResponseTransformer,
|
|
13
|
+
campaignsControllerGetCampaignsV2V2ResponseTransformer,
|
|
14
|
+
campaignsControllerUpdateCampaignV2V2ResponseTransformer,
|
|
11
15
|
conditionsControllerGetSunAltitudeTimeLimits0V1ResponseTransformer,
|
|
12
16
|
conditionsControllerGetSunAltitudeTimeLimits1ResponseTransformer,
|
|
13
17
|
contractsControllerGetAllContracts0V1ResponseTransformer,
|
|
14
18
|
contractsControllerGetAllContracts1ResponseTransformer,
|
|
15
19
|
flightPlansControllerCreate0V1ResponseTransformer,
|
|
16
20
|
flightPlansControllerCreate1ResponseTransformer,
|
|
21
|
+
flightPlansControllerCreateV2V2ResponseTransformer,
|
|
17
22
|
flightPlansControllerGet0V1ResponseTransformer,
|
|
18
23
|
flightPlansControllerGet1ResponseTransformer,
|
|
19
24
|
flightPlansControllerGetMany0V1ResponseTransformer,
|
|
20
25
|
flightPlansControllerGetMany1ResponseTransformer,
|
|
26
|
+
flightPlansControllerGetManyV2V2ResponseTransformer,
|
|
27
|
+
flightPlansControllerGetV2V2ResponseTransformer,
|
|
28
|
+
flightPlansControllerUpdateV2V2ResponseTransformer,
|
|
21
29
|
flightReviewsControllerGetFlightReview0V1ResponseTransformer,
|
|
22
30
|
flightReviewsControllerGetFlightReview1ResponseTransformer,
|
|
23
31
|
flightReviewsControllerGetFlightReviews0V1ResponseTransformer,
|
|
24
32
|
flightReviewsControllerGetFlightReviews1ResponseTransformer,
|
|
33
|
+
flightsControllerCreateFlightV2V2ResponseTransformer,
|
|
25
34
|
flightsControllerGetFlight0V1ResponseTransformer,
|
|
26
35
|
flightsControllerGetFlight1ResponseTransformer,
|
|
36
|
+
flightsControllerGetFlightV2V2ResponseTransformer,
|
|
37
|
+
flightsControllerGetFlightsV2V2ResponseTransformer,
|
|
38
|
+
flightsControllerGetReviewV2V2ResponseTransformer,
|
|
39
|
+
flightsControllerRequestReviewV2V2ResponseTransformer,
|
|
40
|
+
flightsControllerSubmitProvenanceV2V2ResponseTransformer,
|
|
27
41
|
flightsControllerValidateFlight0V1ResponseTransformer,
|
|
28
42
|
flightsControllerValidateFlight1ResponseTransformer,
|
|
29
43
|
getProposalResponseTransformer,
|
|
@@ -36,12 +50,19 @@ import {
|
|
|
36
50
|
inboundWebhookConfigsControllerUpdate0V1ResponseTransformer,
|
|
37
51
|
inboundWebhookConfigsControllerUpdate1ResponseTransformer,
|
|
38
52
|
listProposalsResponseTransformer,
|
|
53
|
+
missionsControllerCancelMissionV2V2ResponseTransformer,
|
|
39
54
|
missionsControllerCreateMissions0V1ResponseTransformer,
|
|
40
55
|
missionsControllerCreateMissions1ResponseTransformer,
|
|
56
|
+
missionsControllerCreateMissionsV2V2ResponseTransformer,
|
|
41
57
|
missionsControllerGetMission0V1ResponseTransformer,
|
|
42
58
|
missionsControllerGetMission1ResponseTransformer,
|
|
59
|
+
missionsControllerGetMissionV2V2ResponseTransformer,
|
|
43
60
|
missionsControllerGetMissions0V1ResponseTransformer,
|
|
44
61
|
missionsControllerGetMissions1ResponseTransformer,
|
|
62
|
+
missionsControllerGetMissionsV2V2ResponseTransformer,
|
|
63
|
+
missionsControllerRetryMissionV2V2ResponseTransformer,
|
|
64
|
+
missionsControllerUpdateMissionV2V2ResponseTransformer,
|
|
65
|
+
rewardsControllerListRewardsV2V2ResponseTransformer,
|
|
45
66
|
webhooksControllerGet0V1ResponseTransformer,
|
|
46
67
|
webhooksControllerGet1ResponseTransformer,
|
|
47
68
|
webhooksControllerGetMany0V1ResponseTransformer,
|
|
@@ -54,8 +75,10 @@ import {
|
|
|
54
75
|
zonesControllerCreateZone1ResponseTransformer,
|
|
55
76
|
zonesControllerGetZone0V1ResponseTransformer,
|
|
56
77
|
zonesControllerGetZone1ResponseTransformer,
|
|
78
|
+
zonesControllerGetZoneV2V2ResponseTransformer,
|
|
57
79
|
zonesControllerUpdateZone0V1ResponseTransformer,
|
|
58
80
|
zonesControllerUpdateZone1ResponseTransformer,
|
|
81
|
+
zonesControllerUpdateZoneV2V2ResponseTransformer,
|
|
59
82
|
} from "./transformers.gen.js";
|
|
60
83
|
import type {
|
|
61
84
|
AlchemyControllerHandleWebhook0V1Data,
|
|
@@ -94,12 +117,24 @@ import type {
|
|
|
94
117
|
ApiTokenControllerUpdateToken1Data,
|
|
95
118
|
ApiTokenControllerUpdateToken1Errors,
|
|
96
119
|
ApiTokenControllerUpdateToken1Responses,
|
|
120
|
+
BackfillControllerTrigger0V1Data,
|
|
121
|
+
BackfillControllerTrigger0V1Errors,
|
|
122
|
+
BackfillControllerTrigger0V1Responses,
|
|
123
|
+
BackfillControllerTrigger1Data,
|
|
124
|
+
BackfillControllerTrigger1Errors,
|
|
125
|
+
BackfillControllerTrigger1Responses,
|
|
126
|
+
CampaignsControllerCancelCampaignV2V2Data,
|
|
127
|
+
CampaignsControllerCancelCampaignV2V2Errors,
|
|
128
|
+
CampaignsControllerCancelCampaignV2V2Responses,
|
|
97
129
|
CampaignsControllerCreate0V1Data,
|
|
98
130
|
CampaignsControllerCreate0V1Errors,
|
|
99
131
|
CampaignsControllerCreate0V1Responses,
|
|
100
132
|
CampaignsControllerCreate1Data,
|
|
101
133
|
CampaignsControllerCreate1Errors,
|
|
102
134
|
CampaignsControllerCreate1Responses,
|
|
135
|
+
CampaignsControllerCreateCampaignV2V2Data,
|
|
136
|
+
CampaignsControllerCreateCampaignV2V2Errors,
|
|
137
|
+
CampaignsControllerCreateCampaignV2V2Responses,
|
|
103
138
|
CampaignsControllerDelete0V1Data,
|
|
104
139
|
CampaignsControllerDelete0V1Errors,
|
|
105
140
|
CampaignsControllerDelete0V1Responses,
|
|
@@ -112,6 +147,12 @@ import type {
|
|
|
112
147
|
CampaignsControllerGet1Data,
|
|
113
148
|
CampaignsControllerGet1Errors,
|
|
114
149
|
CampaignsControllerGet1Responses,
|
|
150
|
+
CampaignsControllerGetCampaignV2V2Data,
|
|
151
|
+
CampaignsControllerGetCampaignV2V2Errors,
|
|
152
|
+
CampaignsControllerGetCampaignV2V2Responses,
|
|
153
|
+
CampaignsControllerGetCampaignsV2V2Data,
|
|
154
|
+
CampaignsControllerGetCampaignsV2V2Errors,
|
|
155
|
+
CampaignsControllerGetCampaignsV2V2Responses,
|
|
115
156
|
CampaignsControllerGetMany0V1Data,
|
|
116
157
|
CampaignsControllerGetMany0V1Errors,
|
|
117
158
|
CampaignsControllerGetMany0V1Responses,
|
|
@@ -124,6 +165,9 @@ import type {
|
|
|
124
165
|
CampaignsControllerUpdate1Data,
|
|
125
166
|
CampaignsControllerUpdate1Errors,
|
|
126
167
|
CampaignsControllerUpdate1Responses,
|
|
168
|
+
CampaignsControllerUpdateCampaignV2V2Data,
|
|
169
|
+
CampaignsControllerUpdateCampaignV2V2Errors,
|
|
170
|
+
CampaignsControllerUpdateCampaignV2V2Responses,
|
|
127
171
|
ConditionsControllerGetSunAltitudeTimeLimits0V1Data,
|
|
128
172
|
ConditionsControllerGetSunAltitudeTimeLimits0V1Responses,
|
|
129
173
|
ConditionsControllerGetSunAltitudeTimeLimits1Data,
|
|
@@ -182,6 +226,12 @@ import type {
|
|
|
182
226
|
FlightPlansControllerCreate1Data,
|
|
183
227
|
FlightPlansControllerCreate1Errors,
|
|
184
228
|
FlightPlansControllerCreate1Responses,
|
|
229
|
+
FlightPlansControllerCreateV2V2Data,
|
|
230
|
+
FlightPlansControllerCreateV2V2Errors,
|
|
231
|
+
FlightPlansControllerCreateV2V2Responses,
|
|
232
|
+
FlightPlansControllerExpandV2V2Data,
|
|
233
|
+
FlightPlansControllerExpandV2V2Errors,
|
|
234
|
+
FlightPlansControllerExpandV2V2Responses,
|
|
185
235
|
FlightPlansControllerGet0V1Data,
|
|
186
236
|
FlightPlansControllerGet0V1Errors,
|
|
187
237
|
FlightPlansControllerGet0V1Responses,
|
|
@@ -194,6 +244,15 @@ import type {
|
|
|
194
244
|
FlightPlansControllerGetMany1Data,
|
|
195
245
|
FlightPlansControllerGetMany1Errors,
|
|
196
246
|
FlightPlansControllerGetMany1Responses,
|
|
247
|
+
FlightPlansControllerGetManyV2V2Data,
|
|
248
|
+
FlightPlansControllerGetManyV2V2Errors,
|
|
249
|
+
FlightPlansControllerGetManyV2V2Responses,
|
|
250
|
+
FlightPlansControllerGetV2V2Data,
|
|
251
|
+
FlightPlansControllerGetV2V2Errors,
|
|
252
|
+
FlightPlansControllerGetV2V2Responses,
|
|
253
|
+
FlightPlansControllerUpdateV2V2Data,
|
|
254
|
+
FlightPlansControllerUpdateV2V2Errors,
|
|
255
|
+
FlightPlansControllerUpdateV2V2Responses,
|
|
197
256
|
FlightReviewsControllerGetFlightReview0V1Data,
|
|
198
257
|
FlightReviewsControllerGetFlightReview0V1Errors,
|
|
199
258
|
FlightReviewsControllerGetFlightReview0V1Responses,
|
|
@@ -206,6 +265,9 @@ import type {
|
|
|
206
265
|
FlightReviewsControllerGetFlightReviews1Data,
|
|
207
266
|
FlightReviewsControllerGetFlightReviews1Errors,
|
|
208
267
|
FlightReviewsControllerGetFlightReviews1Responses,
|
|
268
|
+
FlightsControllerCreateFlightV2V2Data,
|
|
269
|
+
FlightsControllerCreateFlightV2V2Errors,
|
|
270
|
+
FlightsControllerCreateFlightV2V2Responses,
|
|
209
271
|
FlightsControllerCreatePresignedUrls0V1Data,
|
|
210
272
|
FlightsControllerCreatePresignedUrls0V1Errors,
|
|
211
273
|
FlightsControllerCreatePresignedUrls0V1Responses,
|
|
@@ -218,12 +280,39 @@ import type {
|
|
|
218
280
|
FlightsControllerGenerateStorageKey1Data,
|
|
219
281
|
FlightsControllerGenerateStorageKey1Errors,
|
|
220
282
|
FlightsControllerGenerateStorageKey1Responses,
|
|
283
|
+
FlightsControllerGetExpectedImagesV2V2Data,
|
|
284
|
+
FlightsControllerGetExpectedImagesV2V2Errors,
|
|
285
|
+
FlightsControllerGetExpectedImagesV2V2Responses,
|
|
221
286
|
FlightsControllerGetFlight0V1Data,
|
|
222
287
|
FlightsControllerGetFlight0V1Errors,
|
|
223
288
|
FlightsControllerGetFlight0V1Responses,
|
|
224
289
|
FlightsControllerGetFlight1Data,
|
|
225
290
|
FlightsControllerGetFlight1Errors,
|
|
226
291
|
FlightsControllerGetFlight1Responses,
|
|
292
|
+
FlightsControllerGetFlightV2V2Data,
|
|
293
|
+
FlightsControllerGetFlightV2V2Errors,
|
|
294
|
+
FlightsControllerGetFlightV2V2Responses,
|
|
295
|
+
FlightsControllerGetFlightsV2V2Data,
|
|
296
|
+
FlightsControllerGetFlightsV2V2Errors,
|
|
297
|
+
FlightsControllerGetFlightsV2V2Responses,
|
|
298
|
+
FlightsControllerGetProvenanceKeyV2V2Data,
|
|
299
|
+
FlightsControllerGetProvenanceKeyV2V2Errors,
|
|
300
|
+
FlightsControllerGetProvenanceKeyV2V2Responses,
|
|
301
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Data,
|
|
302
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Errors,
|
|
303
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Responses,
|
|
304
|
+
FlightsControllerGetReviewV2V2Data,
|
|
305
|
+
FlightsControllerGetReviewV2V2Errors,
|
|
306
|
+
FlightsControllerGetReviewV2V2Responses,
|
|
307
|
+
FlightsControllerImageUploadUrlsV2V2Data,
|
|
308
|
+
FlightsControllerImageUploadUrlsV2V2Errors,
|
|
309
|
+
FlightsControllerImageUploadUrlsV2V2Responses,
|
|
310
|
+
FlightsControllerRequestReviewV2V2Data,
|
|
311
|
+
FlightsControllerRequestReviewV2V2Errors,
|
|
312
|
+
FlightsControllerRequestReviewV2V2Responses,
|
|
313
|
+
FlightsControllerSubmitProvenanceV2V2Data,
|
|
314
|
+
FlightsControllerSubmitProvenanceV2V2Errors,
|
|
315
|
+
FlightsControllerSubmitProvenanceV2V2Responses,
|
|
227
316
|
FlightsControllerValidateFlight0V1Data,
|
|
228
317
|
FlightsControllerValidateFlight0V1Errors,
|
|
229
318
|
FlightsControllerValidateFlight0V1Responses,
|
|
@@ -270,30 +359,48 @@ import type {
|
|
|
270
359
|
ListProposalsData,
|
|
271
360
|
ListProposalsErrors,
|
|
272
361
|
ListProposalsResponses,
|
|
362
|
+
MissionsControllerCancelMissionV2V2Data,
|
|
363
|
+
MissionsControllerCancelMissionV2V2Errors,
|
|
364
|
+
MissionsControllerCancelMissionV2V2Responses,
|
|
273
365
|
MissionsControllerCreateMissions0V1Data,
|
|
274
366
|
MissionsControllerCreateMissions0V1Errors,
|
|
275
367
|
MissionsControllerCreateMissions0V1Responses,
|
|
276
368
|
MissionsControllerCreateMissions1Data,
|
|
277
369
|
MissionsControllerCreateMissions1Errors,
|
|
278
370
|
MissionsControllerCreateMissions1Responses,
|
|
371
|
+
MissionsControllerCreateMissionsV2V2Data,
|
|
372
|
+
MissionsControllerCreateMissionsV2V2Errors,
|
|
373
|
+
MissionsControllerCreateMissionsV2V2Responses,
|
|
279
374
|
MissionsControllerGetMission0V1Data,
|
|
280
375
|
MissionsControllerGetMission0V1Errors,
|
|
281
376
|
MissionsControllerGetMission0V1Responses,
|
|
282
377
|
MissionsControllerGetMission1Data,
|
|
283
378
|
MissionsControllerGetMission1Errors,
|
|
284
379
|
MissionsControllerGetMission1Responses,
|
|
380
|
+
MissionsControllerGetMissionV2V2Data,
|
|
381
|
+
MissionsControllerGetMissionV2V2Errors,
|
|
382
|
+
MissionsControllerGetMissionV2V2Responses,
|
|
285
383
|
MissionsControllerGetMissions0V1Data,
|
|
286
384
|
MissionsControllerGetMissions0V1Errors,
|
|
287
385
|
MissionsControllerGetMissions0V1Responses,
|
|
288
386
|
MissionsControllerGetMissions1Data,
|
|
289
387
|
MissionsControllerGetMissions1Errors,
|
|
290
388
|
MissionsControllerGetMissions1Responses,
|
|
389
|
+
MissionsControllerGetMissionsV2V2Data,
|
|
390
|
+
MissionsControllerGetMissionsV2V2Errors,
|
|
391
|
+
MissionsControllerGetMissionsV2V2Responses,
|
|
291
392
|
MissionsControllerRepriceMissions0V1Data,
|
|
292
393
|
MissionsControllerRepriceMissions0V1Errors,
|
|
293
394
|
MissionsControllerRepriceMissions0V1Responses,
|
|
294
395
|
MissionsControllerRepriceMissions1Data,
|
|
295
396
|
MissionsControllerRepriceMissions1Errors,
|
|
296
397
|
MissionsControllerRepriceMissions1Responses,
|
|
398
|
+
MissionsControllerRetryMissionV2V2Data,
|
|
399
|
+
MissionsControllerRetryMissionV2V2Errors,
|
|
400
|
+
MissionsControllerRetryMissionV2V2Responses,
|
|
401
|
+
MissionsControllerUpdateMissionV2V2Data,
|
|
402
|
+
MissionsControllerUpdateMissionV2V2Errors,
|
|
403
|
+
MissionsControllerUpdateMissionV2V2Responses,
|
|
297
404
|
MissionsControllerUpdateMissions0V1Data,
|
|
298
405
|
MissionsControllerUpdateMissions0V1Errors,
|
|
299
406
|
MissionsControllerUpdateMissions0V1Responses,
|
|
@@ -327,10 +434,9 @@ import type {
|
|
|
327
434
|
ReviewProposalData,
|
|
328
435
|
ReviewProposalErrors,
|
|
329
436
|
ReviewProposalResponses,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
SchemaControllerGetEventSchema1Responses,
|
|
437
|
+
RewardsControllerListRewardsV2V2Data,
|
|
438
|
+
RewardsControllerListRewardsV2V2Errors,
|
|
439
|
+
RewardsControllerListRewardsV2V2Responses,
|
|
334
440
|
SubmitProposalData,
|
|
335
441
|
SubmitProposalErrors,
|
|
336
442
|
SubmitProposalResponses,
|
|
@@ -394,6 +500,9 @@ import type {
|
|
|
394
500
|
ZonesControllerCreateZone1Data,
|
|
395
501
|
ZonesControllerCreateZone1Errors,
|
|
396
502
|
ZonesControllerCreateZone1Responses,
|
|
503
|
+
ZonesControllerCreateZonesV2V2Data,
|
|
504
|
+
ZonesControllerCreateZonesV2V2Errors,
|
|
505
|
+
ZonesControllerCreateZonesV2V2Responses,
|
|
397
506
|
ZonesControllerDeleteZone0V1Data,
|
|
398
507
|
ZonesControllerDeleteZone0V1Errors,
|
|
399
508
|
ZonesControllerDeleteZone0V1Responses,
|
|
@@ -406,12 +515,18 @@ import type {
|
|
|
406
515
|
ZonesControllerGetZone1Data,
|
|
407
516
|
ZonesControllerGetZone1Errors,
|
|
408
517
|
ZonesControllerGetZone1Responses,
|
|
518
|
+
ZonesControllerGetZoneV2V2Data,
|
|
519
|
+
ZonesControllerGetZoneV2V2Errors,
|
|
520
|
+
ZonesControllerGetZoneV2V2Responses,
|
|
409
521
|
ZonesControllerUpdateZone0V1Data,
|
|
410
522
|
ZonesControllerUpdateZone0V1Errors,
|
|
411
523
|
ZonesControllerUpdateZone0V1Responses,
|
|
412
524
|
ZonesControllerUpdateZone1Data,
|
|
413
525
|
ZonesControllerUpdateZone1Errors,
|
|
414
526
|
ZonesControllerUpdateZone1Responses,
|
|
527
|
+
ZonesControllerUpdateZoneV2V2Data,
|
|
528
|
+
ZonesControllerUpdateZoneV2V2Errors,
|
|
529
|
+
ZonesControllerUpdateZoneV2V2Responses,
|
|
415
530
|
} from "./types.gen.js";
|
|
416
531
|
|
|
417
532
|
export type Options<
|
|
@@ -431,7 +546,7 @@ export type Options<
|
|
|
431
546
|
meta?: Record<string, unknown>;
|
|
432
547
|
};
|
|
433
548
|
|
|
434
|
-
export const apiControllerGetHello0V1 = <ThrowOnError extends boolean =
|
|
549
|
+
export const apiControllerGetHello0V1 = <ThrowOnError extends boolean = true>(
|
|
435
550
|
options?: Options<ApiControllerGetHello0V1Data, ThrowOnError>,
|
|
436
551
|
) => {
|
|
437
552
|
return (options?.client ?? _heyApiClient).get<
|
|
@@ -447,7 +562,7 @@ export const apiControllerGetHello0V1 = <ThrowOnError extends boolean = false>(
|
|
|
447
562
|
/**
|
|
448
563
|
* @deprecated
|
|
449
564
|
*/
|
|
450
|
-
export const apiControllerGetHello1 = <ThrowOnError extends boolean =
|
|
565
|
+
export const apiControllerGetHello1 = <ThrowOnError extends boolean = true>(
|
|
451
566
|
options?: Options<ApiControllerGetHello1Data, ThrowOnError>,
|
|
452
567
|
) => {
|
|
453
568
|
return (options?.client ?? _heyApiClient).get<
|
|
@@ -460,7 +575,7 @@ export const apiControllerGetHello1 = <ThrowOnError extends boolean = false>(
|
|
|
460
575
|
});
|
|
461
576
|
};
|
|
462
577
|
|
|
463
|
-
export const apiControllerGetError0V1 = <ThrowOnError extends boolean =
|
|
578
|
+
export const apiControllerGetError0V1 = <ThrowOnError extends boolean = true>(
|
|
464
579
|
options?: Options<ApiControllerGetError0V1Data, ThrowOnError>,
|
|
465
580
|
) => {
|
|
466
581
|
return (options?.client ?? _heyApiClient).get<
|
|
@@ -476,7 +591,7 @@ export const apiControllerGetError0V1 = <ThrowOnError extends boolean = false>(
|
|
|
476
591
|
/**
|
|
477
592
|
* @deprecated
|
|
478
593
|
*/
|
|
479
|
-
export const apiControllerGetError1 = <ThrowOnError extends boolean =
|
|
594
|
+
export const apiControllerGetError1 = <ThrowOnError extends boolean = true>(
|
|
480
595
|
options?: Options<ApiControllerGetError1Data, ThrowOnError>,
|
|
481
596
|
) => {
|
|
482
597
|
return (options?.client ?? _heyApiClient).get<
|
|
@@ -490,7 +605,7 @@ export const apiControllerGetError1 = <ThrowOnError extends boolean = false>(
|
|
|
490
605
|
};
|
|
491
606
|
|
|
492
607
|
export const apiTokenControllerCreateToken0V1 = <
|
|
493
|
-
ThrowOnError extends boolean =
|
|
608
|
+
ThrowOnError extends boolean = true,
|
|
494
609
|
>(
|
|
495
610
|
options: Options<ApiTokenControllerCreateToken0V1Data, ThrowOnError>,
|
|
496
611
|
) => {
|
|
@@ -518,7 +633,7 @@ export const apiTokenControllerCreateToken0V1 = <
|
|
|
518
633
|
* @deprecated
|
|
519
634
|
*/
|
|
520
635
|
export const apiTokenControllerCreateToken1 = <
|
|
521
|
-
ThrowOnError extends boolean =
|
|
636
|
+
ThrowOnError extends boolean = true,
|
|
522
637
|
>(
|
|
523
638
|
options: Options<ApiTokenControllerCreateToken1Data, ThrowOnError>,
|
|
524
639
|
) => {
|
|
@@ -543,7 +658,7 @@ export const apiTokenControllerCreateToken1 = <
|
|
|
543
658
|
};
|
|
544
659
|
|
|
545
660
|
export const apiTokenControllerDeleteToken0V1 = <
|
|
546
|
-
ThrowOnError extends boolean =
|
|
661
|
+
ThrowOnError extends boolean = true,
|
|
547
662
|
>(
|
|
548
663
|
options: Options<ApiTokenControllerDeleteToken0V1Data, ThrowOnError>,
|
|
549
664
|
) => {
|
|
@@ -564,7 +679,7 @@ export const apiTokenControllerDeleteToken0V1 = <
|
|
|
564
679
|
};
|
|
565
680
|
|
|
566
681
|
export const apiTokenControllerGetToken0V1 = <
|
|
567
|
-
ThrowOnError extends boolean =
|
|
682
|
+
ThrowOnError extends boolean = true,
|
|
568
683
|
>(
|
|
569
684
|
options: Options<ApiTokenControllerGetToken0V1Data, ThrowOnError>,
|
|
570
685
|
) => {
|
|
@@ -585,7 +700,7 @@ export const apiTokenControllerGetToken0V1 = <
|
|
|
585
700
|
};
|
|
586
701
|
|
|
587
702
|
export const apiTokenControllerUpdateToken0V1 = <
|
|
588
|
-
ThrowOnError extends boolean =
|
|
703
|
+
ThrowOnError extends boolean = true,
|
|
589
704
|
>(
|
|
590
705
|
options: Options<ApiTokenControllerUpdateToken0V1Data, ThrowOnError>,
|
|
591
706
|
) => {
|
|
@@ -614,7 +729,7 @@ export const apiTokenControllerUpdateToken0V1 = <
|
|
|
614
729
|
* @deprecated
|
|
615
730
|
*/
|
|
616
731
|
export const apiTokenControllerDeleteToken1 = <
|
|
617
|
-
ThrowOnError extends boolean =
|
|
732
|
+
ThrowOnError extends boolean = true,
|
|
618
733
|
>(
|
|
619
734
|
options: Options<ApiTokenControllerDeleteToken1Data, ThrowOnError>,
|
|
620
735
|
) => {
|
|
@@ -638,7 +753,7 @@ export const apiTokenControllerDeleteToken1 = <
|
|
|
638
753
|
* @deprecated
|
|
639
754
|
*/
|
|
640
755
|
export const apiTokenControllerGetToken1 = <
|
|
641
|
-
ThrowOnError extends boolean =
|
|
756
|
+
ThrowOnError extends boolean = true,
|
|
642
757
|
>(
|
|
643
758
|
options: Options<ApiTokenControllerGetToken1Data, ThrowOnError>,
|
|
644
759
|
) => {
|
|
@@ -662,7 +777,7 @@ export const apiTokenControllerGetToken1 = <
|
|
|
662
777
|
* @deprecated
|
|
663
778
|
*/
|
|
664
779
|
export const apiTokenControllerUpdateToken1 = <
|
|
665
|
-
ThrowOnError extends boolean =
|
|
780
|
+
ThrowOnError extends boolean = true,
|
|
666
781
|
>(
|
|
667
782
|
options: Options<ApiTokenControllerUpdateToken1Data, ThrowOnError>,
|
|
668
783
|
) => {
|
|
@@ -687,8 +802,65 @@ export const apiTokenControllerUpdateToken1 = <
|
|
|
687
802
|
});
|
|
688
803
|
};
|
|
689
804
|
|
|
805
|
+
/**
|
|
806
|
+
* Publish historic entity state to internal.backfill.* topics
|
|
807
|
+
* Starts a background scan that pages through every Zone, Mission, and FlightReview row and republishes each as a backfill event mirroring its protocol.* payload shape. Returns 202 immediately - the scan can outlast the request; final counts are logged on completion. Restrict the scan with the request body; omit `entities` to backfill all three.
|
|
808
|
+
*/
|
|
809
|
+
export const backfillControllerTrigger0V1 = <
|
|
810
|
+
ThrowOnError extends boolean = true,
|
|
811
|
+
>(
|
|
812
|
+
options: Options<BackfillControllerTrigger0V1Data, ThrowOnError>,
|
|
813
|
+
) => {
|
|
814
|
+
return (options.client ?? _heyApiClient).post<
|
|
815
|
+
BackfillControllerTrigger0V1Responses,
|
|
816
|
+
BackfillControllerTrigger0V1Errors,
|
|
817
|
+
ThrowOnError
|
|
818
|
+
>({
|
|
819
|
+
security: [
|
|
820
|
+
{
|
|
821
|
+
name: "x-api-token",
|
|
822
|
+
type: "apiKey",
|
|
823
|
+
},
|
|
824
|
+
],
|
|
825
|
+
url: "/v1/backfill",
|
|
826
|
+
...options,
|
|
827
|
+
headers: {
|
|
828
|
+
"Content-Type": "application/json",
|
|
829
|
+
...options.headers,
|
|
830
|
+
},
|
|
831
|
+
});
|
|
832
|
+
};
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Publish historic entity state to internal.backfill.* topics
|
|
836
|
+
* Starts a background scan that pages through every Zone, Mission, and FlightReview row and republishes each as a backfill event mirroring its protocol.* payload shape. Returns 202 immediately - the scan can outlast the request; final counts are logged on completion. Restrict the scan with the request body; omit `entities` to backfill all three.
|
|
837
|
+
* @deprecated
|
|
838
|
+
*/
|
|
839
|
+
export const backfillControllerTrigger1 = <ThrowOnError extends boolean = true>(
|
|
840
|
+
options: Options<BackfillControllerTrigger1Data, ThrowOnError>,
|
|
841
|
+
) => {
|
|
842
|
+
return (options.client ?? _heyApiClient).post<
|
|
843
|
+
BackfillControllerTrigger1Responses,
|
|
844
|
+
BackfillControllerTrigger1Errors,
|
|
845
|
+
ThrowOnError
|
|
846
|
+
>({
|
|
847
|
+
security: [
|
|
848
|
+
{
|
|
849
|
+
name: "x-api-token",
|
|
850
|
+
type: "apiKey",
|
|
851
|
+
},
|
|
852
|
+
],
|
|
853
|
+
url: "/backfill",
|
|
854
|
+
...options,
|
|
855
|
+
headers: {
|
|
856
|
+
"Content-Type": "application/json",
|
|
857
|
+
...options.headers,
|
|
858
|
+
},
|
|
859
|
+
});
|
|
860
|
+
};
|
|
861
|
+
|
|
690
862
|
export const campaignsControllerGetMany0V1 = <
|
|
691
|
-
ThrowOnError extends boolean =
|
|
863
|
+
ThrowOnError extends boolean = true,
|
|
692
864
|
>(
|
|
693
865
|
options?: Options<CampaignsControllerGetMany0V1Data, ThrowOnError>,
|
|
694
866
|
) => {
|
|
@@ -702,6 +874,10 @@ export const campaignsControllerGetMany0V1 = <
|
|
|
702
874
|
name: "x-api-token",
|
|
703
875
|
type: "apiKey",
|
|
704
876
|
},
|
|
877
|
+
{
|
|
878
|
+
name: "x-api-token",
|
|
879
|
+
type: "apiKey",
|
|
880
|
+
},
|
|
705
881
|
],
|
|
706
882
|
url: "/v1/campaigns",
|
|
707
883
|
...options,
|
|
@@ -709,7 +885,7 @@ export const campaignsControllerGetMany0V1 = <
|
|
|
709
885
|
};
|
|
710
886
|
|
|
711
887
|
export const campaignsControllerCreate0V1 = <
|
|
712
|
-
ThrowOnError extends boolean =
|
|
888
|
+
ThrowOnError extends boolean = true,
|
|
713
889
|
>(
|
|
714
890
|
options: Options<CampaignsControllerCreate0V1Data, ThrowOnError>,
|
|
715
891
|
) => {
|
|
@@ -737,7 +913,7 @@ export const campaignsControllerCreate0V1 = <
|
|
|
737
913
|
* @deprecated
|
|
738
914
|
*/
|
|
739
915
|
export const campaignsControllerGetMany1 = <
|
|
740
|
-
ThrowOnError extends boolean =
|
|
916
|
+
ThrowOnError extends boolean = true,
|
|
741
917
|
>(
|
|
742
918
|
options?: Options<CampaignsControllerGetMany1Data, ThrowOnError>,
|
|
743
919
|
) => {
|
|
@@ -751,6 +927,10 @@ export const campaignsControllerGetMany1 = <
|
|
|
751
927
|
name: "x-api-token",
|
|
752
928
|
type: "apiKey",
|
|
753
929
|
},
|
|
930
|
+
{
|
|
931
|
+
name: "x-api-token",
|
|
932
|
+
type: "apiKey",
|
|
933
|
+
},
|
|
754
934
|
],
|
|
755
935
|
url: "/campaigns",
|
|
756
936
|
...options,
|
|
@@ -760,9 +940,7 @@ export const campaignsControllerGetMany1 = <
|
|
|
760
940
|
/**
|
|
761
941
|
* @deprecated
|
|
762
942
|
*/
|
|
763
|
-
export const campaignsControllerCreate1 = <
|
|
764
|
-
ThrowOnError extends boolean = false,
|
|
765
|
-
>(
|
|
943
|
+
export const campaignsControllerCreate1 = <ThrowOnError extends boolean = true>(
|
|
766
944
|
options: Options<CampaignsControllerCreate1Data, ThrowOnError>,
|
|
767
945
|
) => {
|
|
768
946
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -786,7 +964,7 @@ export const campaignsControllerCreate1 = <
|
|
|
786
964
|
};
|
|
787
965
|
|
|
788
966
|
export const campaignsControllerDelete0V1 = <
|
|
789
|
-
ThrowOnError extends boolean =
|
|
967
|
+
ThrowOnError extends boolean = true,
|
|
790
968
|
>(
|
|
791
969
|
options: Options<CampaignsControllerDelete0V1Data, ThrowOnError>,
|
|
792
970
|
) => {
|
|
@@ -806,7 +984,7 @@ export const campaignsControllerDelete0V1 = <
|
|
|
806
984
|
});
|
|
807
985
|
};
|
|
808
986
|
|
|
809
|
-
export const campaignsControllerGet0V1 = <ThrowOnError extends boolean =
|
|
987
|
+
export const campaignsControllerGet0V1 = <ThrowOnError extends boolean = true>(
|
|
810
988
|
options: Options<CampaignsControllerGet0V1Data, ThrowOnError>,
|
|
811
989
|
) => {
|
|
812
990
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -819,6 +997,10 @@ export const campaignsControllerGet0V1 = <ThrowOnError extends boolean = false>(
|
|
|
819
997
|
name: "x-api-token",
|
|
820
998
|
type: "apiKey",
|
|
821
999
|
},
|
|
1000
|
+
{
|
|
1001
|
+
name: "x-api-token",
|
|
1002
|
+
type: "apiKey",
|
|
1003
|
+
},
|
|
822
1004
|
],
|
|
823
1005
|
url: "/v1/campaigns/{id}",
|
|
824
1006
|
...options,
|
|
@@ -826,7 +1008,7 @@ export const campaignsControllerGet0V1 = <ThrowOnError extends boolean = false>(
|
|
|
826
1008
|
};
|
|
827
1009
|
|
|
828
1010
|
export const campaignsControllerUpdate0V1 = <
|
|
829
|
-
ThrowOnError extends boolean =
|
|
1011
|
+
ThrowOnError extends boolean = true,
|
|
830
1012
|
>(
|
|
831
1013
|
options: Options<CampaignsControllerUpdate0V1Data, ThrowOnError>,
|
|
832
1014
|
) => {
|
|
@@ -853,9 +1035,7 @@ export const campaignsControllerUpdate0V1 = <
|
|
|
853
1035
|
/**
|
|
854
1036
|
* @deprecated
|
|
855
1037
|
*/
|
|
856
|
-
export const campaignsControllerDelete1 = <
|
|
857
|
-
ThrowOnError extends boolean = false,
|
|
858
|
-
>(
|
|
1038
|
+
export const campaignsControllerDelete1 = <ThrowOnError extends boolean = true>(
|
|
859
1039
|
options: Options<CampaignsControllerDelete1Data, ThrowOnError>,
|
|
860
1040
|
) => {
|
|
861
1041
|
return (options.client ?? _heyApiClient).delete<
|
|
@@ -877,7 +1057,7 @@ export const campaignsControllerDelete1 = <
|
|
|
877
1057
|
/**
|
|
878
1058
|
* @deprecated
|
|
879
1059
|
*/
|
|
880
|
-
export const campaignsControllerGet1 = <ThrowOnError extends boolean =
|
|
1060
|
+
export const campaignsControllerGet1 = <ThrowOnError extends boolean = true>(
|
|
881
1061
|
options: Options<CampaignsControllerGet1Data, ThrowOnError>,
|
|
882
1062
|
) => {
|
|
883
1063
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -890,6 +1070,10 @@ export const campaignsControllerGet1 = <ThrowOnError extends boolean = false>(
|
|
|
890
1070
|
name: "x-api-token",
|
|
891
1071
|
type: "apiKey",
|
|
892
1072
|
},
|
|
1073
|
+
{
|
|
1074
|
+
name: "x-api-token",
|
|
1075
|
+
type: "apiKey",
|
|
1076
|
+
},
|
|
893
1077
|
],
|
|
894
1078
|
url: "/campaigns/{id}",
|
|
895
1079
|
...options,
|
|
@@ -899,9 +1083,7 @@ export const campaignsControllerGet1 = <ThrowOnError extends boolean = false>(
|
|
|
899
1083
|
/**
|
|
900
1084
|
* @deprecated
|
|
901
1085
|
*/
|
|
902
|
-
export const campaignsControllerUpdate1 = <
|
|
903
|
-
ThrowOnError extends boolean = false,
|
|
904
|
-
>(
|
|
1086
|
+
export const campaignsControllerUpdate1 = <ThrowOnError extends boolean = true>(
|
|
905
1087
|
options: Options<CampaignsControllerUpdate1Data, ThrowOnError>,
|
|
906
1088
|
) => {
|
|
907
1089
|
return (options.client ?? _heyApiClient).put<
|
|
@@ -925,7 +1107,7 @@ export const campaignsControllerUpdate1 = <
|
|
|
925
1107
|
};
|
|
926
1108
|
|
|
927
1109
|
export const conditionsControllerGetSunAltitudeTimeLimits0V1 = <
|
|
928
|
-
ThrowOnError extends boolean =
|
|
1110
|
+
ThrowOnError extends boolean = true,
|
|
929
1111
|
>(
|
|
930
1112
|
options: Options<
|
|
931
1113
|
ConditionsControllerGetSunAltitudeTimeLimits0V1Data,
|
|
@@ -948,7 +1130,7 @@ export const conditionsControllerGetSunAltitudeTimeLimits0V1 = <
|
|
|
948
1130
|
* @deprecated
|
|
949
1131
|
*/
|
|
950
1132
|
export const conditionsControllerGetSunAltitudeTimeLimits1 = <
|
|
951
|
-
ThrowOnError extends boolean =
|
|
1133
|
+
ThrowOnError extends boolean = true,
|
|
952
1134
|
>(
|
|
953
1135
|
options: Options<
|
|
954
1136
|
ConditionsControllerGetSunAltitudeTimeLimits1Data,
|
|
@@ -972,7 +1154,7 @@ export const conditionsControllerGetSunAltitudeTimeLimits1 = <
|
|
|
972
1154
|
* Retrieve all activity and ERC20 contracts
|
|
973
1155
|
*/
|
|
974
1156
|
export const contractsControllerGetAllContracts0V1 = <
|
|
975
|
-
ThrowOnError extends boolean =
|
|
1157
|
+
ThrowOnError extends boolean = true,
|
|
976
1158
|
>(
|
|
977
1159
|
options?: Options<ContractsControllerGetAllContracts0V1Data, ThrowOnError>,
|
|
978
1160
|
) => {
|
|
@@ -999,7 +1181,7 @@ export const contractsControllerGetAllContracts0V1 = <
|
|
|
999
1181
|
* Create either an activity contract or an ERC20 contract
|
|
1000
1182
|
*/
|
|
1001
1183
|
export const contractsControllerCreateContract0V1 = <
|
|
1002
|
-
ThrowOnError extends boolean =
|
|
1184
|
+
ThrowOnError extends boolean = true,
|
|
1003
1185
|
>(
|
|
1004
1186
|
options: Options<ContractsControllerCreateContract0V1Data, ThrowOnError>,
|
|
1005
1187
|
) => {
|
|
@@ -1029,7 +1211,7 @@ export const contractsControllerCreateContract0V1 = <
|
|
|
1029
1211
|
* @deprecated
|
|
1030
1212
|
*/
|
|
1031
1213
|
export const contractsControllerGetAllContracts1 = <
|
|
1032
|
-
ThrowOnError extends boolean =
|
|
1214
|
+
ThrowOnError extends boolean = true,
|
|
1033
1215
|
>(
|
|
1034
1216
|
options?: Options<ContractsControllerGetAllContracts1Data, ThrowOnError>,
|
|
1035
1217
|
) => {
|
|
@@ -1056,7 +1238,7 @@ export const contractsControllerGetAllContracts1 = <
|
|
|
1056
1238
|
* @deprecated
|
|
1057
1239
|
*/
|
|
1058
1240
|
export const contractsControllerCreateContract1 = <
|
|
1059
|
-
ThrowOnError extends boolean =
|
|
1241
|
+
ThrowOnError extends boolean = true,
|
|
1060
1242
|
>(
|
|
1061
1243
|
options: Options<ContractsControllerCreateContract1Data, ThrowOnError>,
|
|
1062
1244
|
) => {
|
|
@@ -1085,7 +1267,7 @@ export const contractsControllerCreateContract1 = <
|
|
|
1085
1267
|
* Delete a contract by ID and type
|
|
1086
1268
|
*/
|
|
1087
1269
|
export const contractsControllerDeleteContract0V1 = <
|
|
1088
|
-
ThrowOnError extends boolean =
|
|
1270
|
+
ThrowOnError extends boolean = true,
|
|
1089
1271
|
>(
|
|
1090
1272
|
options: Options<ContractsControllerDeleteContract0V1Data, ThrowOnError>,
|
|
1091
1273
|
) => {
|
|
@@ -1110,7 +1292,7 @@ export const contractsControllerDeleteContract0V1 = <
|
|
|
1110
1292
|
* Retrieve a specific contract by ID and type
|
|
1111
1293
|
*/
|
|
1112
1294
|
export const contractsControllerGetContract0V1 = <
|
|
1113
|
-
ThrowOnError extends boolean =
|
|
1295
|
+
ThrowOnError extends boolean = true,
|
|
1114
1296
|
>(
|
|
1115
1297
|
options: Options<ContractsControllerGetContract0V1Data, ThrowOnError>,
|
|
1116
1298
|
) => {
|
|
@@ -1135,7 +1317,7 @@ export const contractsControllerGetContract0V1 = <
|
|
|
1135
1317
|
* Update an existing contract
|
|
1136
1318
|
*/
|
|
1137
1319
|
export const contractsControllerUpdateContract0V1 = <
|
|
1138
|
-
ThrowOnError extends boolean =
|
|
1320
|
+
ThrowOnError extends boolean = true,
|
|
1139
1321
|
>(
|
|
1140
1322
|
options: Options<ContractsControllerUpdateContract0V1Data, ThrowOnError>,
|
|
1141
1323
|
) => {
|
|
@@ -1165,7 +1347,7 @@ export const contractsControllerUpdateContract0V1 = <
|
|
|
1165
1347
|
* @deprecated
|
|
1166
1348
|
*/
|
|
1167
1349
|
export const contractsControllerDeleteContract1 = <
|
|
1168
|
-
ThrowOnError extends boolean =
|
|
1350
|
+
ThrowOnError extends boolean = true,
|
|
1169
1351
|
>(
|
|
1170
1352
|
options: Options<ContractsControllerDeleteContract1Data, ThrowOnError>,
|
|
1171
1353
|
) => {
|
|
@@ -1191,7 +1373,7 @@ export const contractsControllerDeleteContract1 = <
|
|
|
1191
1373
|
* @deprecated
|
|
1192
1374
|
*/
|
|
1193
1375
|
export const contractsControllerGetContract1 = <
|
|
1194
|
-
ThrowOnError extends boolean =
|
|
1376
|
+
ThrowOnError extends boolean = true,
|
|
1195
1377
|
>(
|
|
1196
1378
|
options: Options<ContractsControllerGetContract1Data, ThrowOnError>,
|
|
1197
1379
|
) => {
|
|
@@ -1217,7 +1399,7 @@ export const contractsControllerGetContract1 = <
|
|
|
1217
1399
|
* @deprecated
|
|
1218
1400
|
*/
|
|
1219
1401
|
export const contractsControllerUpdateContract1 = <
|
|
1220
|
-
ThrowOnError extends boolean =
|
|
1402
|
+
ThrowOnError extends boolean = true,
|
|
1221
1403
|
>(
|
|
1222
1404
|
options: Options<ContractsControllerUpdateContract1Data, ThrowOnError>,
|
|
1223
1405
|
) => {
|
|
@@ -1246,7 +1428,7 @@ export const contractsControllerUpdateContract1 = <
|
|
|
1246
1428
|
* Consumes messages from a DLQ topic, increments the dlq-redrive-count header, and republishes them to the corresponding main topic. Messages with dlq-redrive-count >= 2 are skipped and logged.
|
|
1247
1429
|
*/
|
|
1248
1430
|
export const dlqRedriverControllerRedriveDlq0V1 = <
|
|
1249
|
-
ThrowOnError extends boolean =
|
|
1431
|
+
ThrowOnError extends boolean = true,
|
|
1250
1432
|
>(
|
|
1251
1433
|
options: Options<DlqRedriverControllerRedriveDlq0V1Data, ThrowOnError>,
|
|
1252
1434
|
) => {
|
|
@@ -1276,7 +1458,7 @@ export const dlqRedriverControllerRedriveDlq0V1 = <
|
|
|
1276
1458
|
* @deprecated
|
|
1277
1459
|
*/
|
|
1278
1460
|
export const dlqRedriverControllerRedriveDlq1 = <
|
|
1279
|
-
ThrowOnError extends boolean =
|
|
1461
|
+
ThrowOnError extends boolean = true,
|
|
1280
1462
|
>(
|
|
1281
1463
|
options: Options<DlqRedriverControllerRedriveDlq1Data, ThrowOnError>,
|
|
1282
1464
|
) => {
|
|
@@ -1301,7 +1483,7 @@ export const dlqRedriverControllerRedriveDlq1 = <
|
|
|
1301
1483
|
};
|
|
1302
1484
|
|
|
1303
1485
|
export const flightsControllerGenerateStorageKey0V1 = <
|
|
1304
|
-
ThrowOnError extends boolean =
|
|
1486
|
+
ThrowOnError extends boolean = true,
|
|
1305
1487
|
>(
|
|
1306
1488
|
options: Options<FlightsControllerGenerateStorageKey0V1Data, ThrowOnError>,
|
|
1307
1489
|
) => {
|
|
@@ -1325,7 +1507,7 @@ export const flightsControllerGenerateStorageKey0V1 = <
|
|
|
1325
1507
|
* @deprecated
|
|
1326
1508
|
*/
|
|
1327
1509
|
export const flightsControllerGenerateStorageKey1 = <
|
|
1328
|
-
ThrowOnError extends boolean =
|
|
1510
|
+
ThrowOnError extends boolean = true,
|
|
1329
1511
|
>(
|
|
1330
1512
|
options: Options<FlightsControllerGenerateStorageKey1Data, ThrowOnError>,
|
|
1331
1513
|
) => {
|
|
@@ -1346,7 +1528,7 @@ export const flightsControllerGenerateStorageKey1 = <
|
|
|
1346
1528
|
};
|
|
1347
1529
|
|
|
1348
1530
|
export const flightsControllerGetFlight0V1 = <
|
|
1349
|
-
ThrowOnError extends boolean =
|
|
1531
|
+
ThrowOnError extends boolean = true,
|
|
1350
1532
|
>(
|
|
1351
1533
|
options: Options<FlightsControllerGetFlight0V1Data, ThrowOnError>,
|
|
1352
1534
|
) => {
|
|
@@ -1371,7 +1553,7 @@ export const flightsControllerGetFlight0V1 = <
|
|
|
1371
1553
|
* @deprecated
|
|
1372
1554
|
*/
|
|
1373
1555
|
export const flightsControllerGetFlight1 = <
|
|
1374
|
-
ThrowOnError extends boolean =
|
|
1556
|
+
ThrowOnError extends boolean = true,
|
|
1375
1557
|
>(
|
|
1376
1558
|
options: Options<FlightsControllerGetFlight1Data, ThrowOnError>,
|
|
1377
1559
|
) => {
|
|
@@ -1393,7 +1575,7 @@ export const flightsControllerGetFlight1 = <
|
|
|
1393
1575
|
};
|
|
1394
1576
|
|
|
1395
1577
|
export const flightsControllerCreatePresignedUrls0V1 = <
|
|
1396
|
-
ThrowOnError extends boolean =
|
|
1578
|
+
ThrowOnError extends boolean = true,
|
|
1397
1579
|
>(
|
|
1398
1580
|
options: Options<FlightsControllerCreatePresignedUrls0V1Data, ThrowOnError>,
|
|
1399
1581
|
) => {
|
|
@@ -1421,7 +1603,7 @@ export const flightsControllerCreatePresignedUrls0V1 = <
|
|
|
1421
1603
|
* @deprecated
|
|
1422
1604
|
*/
|
|
1423
1605
|
export const flightsControllerCreatePresignedUrls1 = <
|
|
1424
|
-
ThrowOnError extends boolean =
|
|
1606
|
+
ThrowOnError extends boolean = true,
|
|
1425
1607
|
>(
|
|
1426
1608
|
options: Options<FlightsControllerCreatePresignedUrls1Data, ThrowOnError>,
|
|
1427
1609
|
) => {
|
|
@@ -1446,7 +1628,7 @@ export const flightsControllerCreatePresignedUrls1 = <
|
|
|
1446
1628
|
};
|
|
1447
1629
|
|
|
1448
1630
|
export const flightsControllerValidateFlight0V1 = <
|
|
1449
|
-
ThrowOnError extends boolean =
|
|
1631
|
+
ThrowOnError extends boolean = true,
|
|
1450
1632
|
>(
|
|
1451
1633
|
options: Options<FlightsControllerValidateFlight0V1Data, ThrowOnError>,
|
|
1452
1634
|
) => {
|
|
@@ -1475,7 +1657,7 @@ export const flightsControllerValidateFlight0V1 = <
|
|
|
1475
1657
|
* @deprecated
|
|
1476
1658
|
*/
|
|
1477
1659
|
export const flightsControllerValidateFlight1 = <
|
|
1478
|
-
ThrowOnError extends boolean =
|
|
1660
|
+
ThrowOnError extends boolean = true,
|
|
1479
1661
|
>(
|
|
1480
1662
|
options: Options<FlightsControllerValidateFlight1Data, ThrowOnError>,
|
|
1481
1663
|
) => {
|
|
@@ -1505,7 +1687,7 @@ export const flightsControllerValidateFlight1 = <
|
|
|
1505
1687
|
* Returns all available flight plan templates. These define capture patterns (map, panorama) that can be used for drone missions.
|
|
1506
1688
|
*/
|
|
1507
1689
|
export const flightPlansControllerGetMany0V1 = <
|
|
1508
|
-
ThrowOnError extends boolean =
|
|
1690
|
+
ThrowOnError extends boolean = true,
|
|
1509
1691
|
>(
|
|
1510
1692
|
options?: Options<FlightPlansControllerGetMany0V1Data, ThrowOnError>,
|
|
1511
1693
|
) => {
|
|
@@ -1519,6 +1701,10 @@ export const flightPlansControllerGetMany0V1 = <
|
|
|
1519
1701
|
name: "x-api-token",
|
|
1520
1702
|
type: "apiKey",
|
|
1521
1703
|
},
|
|
1704
|
+
{
|
|
1705
|
+
name: "x-api-token",
|
|
1706
|
+
type: "apiKey",
|
|
1707
|
+
},
|
|
1522
1708
|
],
|
|
1523
1709
|
responseTransformer: flightPlansControllerGetMany0V1ResponseTransformer,
|
|
1524
1710
|
url: "/v1/flight-plans",
|
|
@@ -1531,7 +1717,7 @@ export const flightPlansControllerGetMany0V1 = <
|
|
|
1531
1717
|
* Creates a new flight plan template with sections and connection strategy.
|
|
1532
1718
|
*/
|
|
1533
1719
|
export const flightPlansControllerCreate0V1 = <
|
|
1534
|
-
ThrowOnError extends boolean =
|
|
1720
|
+
ThrowOnError extends boolean = true,
|
|
1535
1721
|
>(
|
|
1536
1722
|
options: Options<FlightPlansControllerCreate0V1Data, ThrowOnError>,
|
|
1537
1723
|
) => {
|
|
@@ -1562,7 +1748,7 @@ export const flightPlansControllerCreate0V1 = <
|
|
|
1562
1748
|
* @deprecated
|
|
1563
1749
|
*/
|
|
1564
1750
|
export const flightPlansControllerGetMany1 = <
|
|
1565
|
-
ThrowOnError extends boolean =
|
|
1751
|
+
ThrowOnError extends boolean = true,
|
|
1566
1752
|
>(
|
|
1567
1753
|
options?: Options<FlightPlansControllerGetMany1Data, ThrowOnError>,
|
|
1568
1754
|
) => {
|
|
@@ -1576,6 +1762,10 @@ export const flightPlansControllerGetMany1 = <
|
|
|
1576
1762
|
name: "x-api-token",
|
|
1577
1763
|
type: "apiKey",
|
|
1578
1764
|
},
|
|
1765
|
+
{
|
|
1766
|
+
name: "x-api-token",
|
|
1767
|
+
type: "apiKey",
|
|
1768
|
+
},
|
|
1579
1769
|
],
|
|
1580
1770
|
responseTransformer: flightPlansControllerGetMany1ResponseTransformer,
|
|
1581
1771
|
url: "/flight-plans",
|
|
@@ -1589,7 +1779,7 @@ export const flightPlansControllerGetMany1 = <
|
|
|
1589
1779
|
* @deprecated
|
|
1590
1780
|
*/
|
|
1591
1781
|
export const flightPlansControllerCreate1 = <
|
|
1592
|
-
ThrowOnError extends boolean =
|
|
1782
|
+
ThrowOnError extends boolean = true,
|
|
1593
1783
|
>(
|
|
1594
1784
|
options: Options<FlightPlansControllerCreate1Data, ThrowOnError>,
|
|
1595
1785
|
) => {
|
|
@@ -1619,7 +1809,7 @@ export const flightPlansControllerCreate1 = <
|
|
|
1619
1809
|
* Returns a single flight plan template by its ID.
|
|
1620
1810
|
*/
|
|
1621
1811
|
export const flightPlansControllerGet0V1 = <
|
|
1622
|
-
ThrowOnError extends boolean =
|
|
1812
|
+
ThrowOnError extends boolean = true,
|
|
1623
1813
|
>(
|
|
1624
1814
|
options: Options<FlightPlansControllerGet0V1Data, ThrowOnError>,
|
|
1625
1815
|
) => {
|
|
@@ -1633,6 +1823,10 @@ export const flightPlansControllerGet0V1 = <
|
|
|
1633
1823
|
name: "x-api-token",
|
|
1634
1824
|
type: "apiKey",
|
|
1635
1825
|
},
|
|
1826
|
+
{
|
|
1827
|
+
name: "x-api-token",
|
|
1828
|
+
type: "apiKey",
|
|
1829
|
+
},
|
|
1636
1830
|
],
|
|
1637
1831
|
responseTransformer: flightPlansControllerGet0V1ResponseTransformer,
|
|
1638
1832
|
url: "/v1/flight-plans/{id}",
|
|
@@ -1645,7 +1839,7 @@ export const flightPlansControllerGet0V1 = <
|
|
|
1645
1839
|
* Returns a single flight plan template by its ID.
|
|
1646
1840
|
* @deprecated
|
|
1647
1841
|
*/
|
|
1648
|
-
export const flightPlansControllerGet1 = <ThrowOnError extends boolean =
|
|
1842
|
+
export const flightPlansControllerGet1 = <ThrowOnError extends boolean = true>(
|
|
1649
1843
|
options: Options<FlightPlansControllerGet1Data, ThrowOnError>,
|
|
1650
1844
|
) => {
|
|
1651
1845
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -1658,6 +1852,10 @@ export const flightPlansControllerGet1 = <ThrowOnError extends boolean = false>(
|
|
|
1658
1852
|
name: "x-api-token",
|
|
1659
1853
|
type: "apiKey",
|
|
1660
1854
|
},
|
|
1855
|
+
{
|
|
1856
|
+
name: "x-api-token",
|
|
1857
|
+
type: "apiKey",
|
|
1858
|
+
},
|
|
1661
1859
|
],
|
|
1662
1860
|
responseTransformer: flightPlansControllerGet1ResponseTransformer,
|
|
1663
1861
|
url: "/flight-plans/{id}",
|
|
@@ -1669,7 +1867,7 @@ export const flightPlansControllerGet1 = <ThrowOnError extends boolean = false>(
|
|
|
1669
1867
|
* Get a flight review by ID
|
|
1670
1868
|
*/
|
|
1671
1869
|
export const flightReviewsControllerGetFlightReview0V1 = <
|
|
1672
|
-
ThrowOnError extends boolean =
|
|
1870
|
+
ThrowOnError extends boolean = true,
|
|
1673
1871
|
>(
|
|
1674
1872
|
options: Options<FlightReviewsControllerGetFlightReview0V1Data, ThrowOnError>,
|
|
1675
1873
|
) => {
|
|
@@ -1696,7 +1894,7 @@ export const flightReviewsControllerGetFlightReview0V1 = <
|
|
|
1696
1894
|
* @deprecated
|
|
1697
1895
|
*/
|
|
1698
1896
|
export const flightReviewsControllerGetFlightReview1 = <
|
|
1699
|
-
ThrowOnError extends boolean =
|
|
1897
|
+
ThrowOnError extends boolean = true,
|
|
1700
1898
|
>(
|
|
1701
1899
|
options: Options<FlightReviewsControllerGetFlightReview1Data, ThrowOnError>,
|
|
1702
1900
|
) => {
|
|
@@ -1722,7 +1920,7 @@ export const flightReviewsControllerGetFlightReview1 = <
|
|
|
1722
1920
|
* Get flight reviews by updated_at time range
|
|
1723
1921
|
*/
|
|
1724
1922
|
export const flightReviewsControllerGetFlightReviews0V1 = <
|
|
1725
|
-
ThrowOnError extends boolean =
|
|
1923
|
+
ThrowOnError extends boolean = true,
|
|
1726
1924
|
>(
|
|
1727
1925
|
options: Options<
|
|
1728
1926
|
FlightReviewsControllerGetFlightReviews0V1Data,
|
|
@@ -1752,7 +1950,7 @@ export const flightReviewsControllerGetFlightReviews0V1 = <
|
|
|
1752
1950
|
* @deprecated
|
|
1753
1951
|
*/
|
|
1754
1952
|
export const flightReviewsControllerGetFlightReviews1 = <
|
|
1755
|
-
ThrowOnError extends boolean =
|
|
1953
|
+
ThrowOnError extends boolean = true,
|
|
1756
1954
|
>(
|
|
1757
1955
|
options: Options<FlightReviewsControllerGetFlightReviews1Data, ThrowOnError>,
|
|
1758
1956
|
) => {
|
|
@@ -1775,7 +1973,7 @@ export const flightReviewsControllerGetFlightReviews1 = <
|
|
|
1775
1973
|
};
|
|
1776
1974
|
|
|
1777
1975
|
export const keysControllerGetProvenanceCryptoKey0V1 = <
|
|
1778
|
-
ThrowOnError extends boolean =
|
|
1976
|
+
ThrowOnError extends boolean = true,
|
|
1779
1977
|
>(
|
|
1780
1978
|
options?: Options<KeysControllerGetProvenanceCryptoKey0V1Data, ThrowOnError>,
|
|
1781
1979
|
) => {
|
|
@@ -1793,7 +1991,7 @@ export const keysControllerGetProvenanceCryptoKey0V1 = <
|
|
|
1793
1991
|
* @deprecated
|
|
1794
1992
|
*/
|
|
1795
1993
|
export const keysControllerGetProvenanceCryptoKey1 = <
|
|
1796
|
-
ThrowOnError extends boolean =
|
|
1994
|
+
ThrowOnError extends boolean = true,
|
|
1797
1995
|
>(
|
|
1798
1996
|
options?: Options<KeysControllerGetProvenanceCryptoKey1Data, ThrowOnError>,
|
|
1799
1997
|
) => {
|
|
@@ -1811,7 +2009,7 @@ export const keysControllerGetProvenanceCryptoKey1 = <
|
|
|
1811
2009
|
* Get a mission by ID
|
|
1812
2010
|
*/
|
|
1813
2011
|
export const missionsControllerGetMission0V1 = <
|
|
1814
|
-
ThrowOnError extends boolean =
|
|
2012
|
+
ThrowOnError extends boolean = true,
|
|
1815
2013
|
>(
|
|
1816
2014
|
options: Options<MissionsControllerGetMission0V1Data, ThrowOnError>,
|
|
1817
2015
|
) => {
|
|
@@ -1825,6 +2023,10 @@ export const missionsControllerGetMission0V1 = <
|
|
|
1825
2023
|
name: "x-api-token",
|
|
1826
2024
|
type: "apiKey",
|
|
1827
2025
|
},
|
|
2026
|
+
{
|
|
2027
|
+
name: "x-api-token",
|
|
2028
|
+
type: "apiKey",
|
|
2029
|
+
},
|
|
1828
2030
|
],
|
|
1829
2031
|
responseTransformer: missionsControllerGetMission0V1ResponseTransformer,
|
|
1830
2032
|
url: "/v1/missions/{id}",
|
|
@@ -1837,7 +2039,7 @@ export const missionsControllerGetMission0V1 = <
|
|
|
1837
2039
|
* @deprecated
|
|
1838
2040
|
*/
|
|
1839
2041
|
export const missionsControllerGetMission1 = <
|
|
1840
|
-
ThrowOnError extends boolean =
|
|
2042
|
+
ThrowOnError extends boolean = true,
|
|
1841
2043
|
>(
|
|
1842
2044
|
options: Options<MissionsControllerGetMission1Data, ThrowOnError>,
|
|
1843
2045
|
) => {
|
|
@@ -1851,6 +2053,10 @@ export const missionsControllerGetMission1 = <
|
|
|
1851
2053
|
name: "x-api-token",
|
|
1852
2054
|
type: "apiKey",
|
|
1853
2055
|
},
|
|
2056
|
+
{
|
|
2057
|
+
name: "x-api-token",
|
|
2058
|
+
type: "apiKey",
|
|
2059
|
+
},
|
|
1854
2060
|
],
|
|
1855
2061
|
responseTransformer: missionsControllerGetMission1ResponseTransformer,
|
|
1856
2062
|
url: "/missions/{id}",
|
|
@@ -1860,10 +2066,10 @@ export const missionsControllerGetMission1 = <
|
|
|
1860
2066
|
|
|
1861
2067
|
/**
|
|
1862
2068
|
* Get missions
|
|
1863
|
-
* Returns up to 500 missions per page, sorted by id ascending. All filters are optional. Use `page` (0-indexed, default 0) to paginate. `hasNextPage` is true when additional pages are available. `zone_id` may be repeated to filter by multiple zones.
|
|
2069
|
+
* Returns up to 500 missions per page, sorted by id ascending. All filters are optional. Use `page` (0-indexed, default 0) to paginate. `hasNextPage` is true when additional pages are available. `zone_id` may be repeated to filter by multiple zones. `campaignIds` (campaign UUIDs) and `campaignNames` may each be repeated; a mission matches if it belongs to any of the campaigns named across both filters.
|
|
1864
2070
|
*/
|
|
1865
2071
|
export const missionsControllerGetMissions0V1 = <
|
|
1866
|
-
ThrowOnError extends boolean =
|
|
2072
|
+
ThrowOnError extends boolean = true,
|
|
1867
2073
|
>(
|
|
1868
2074
|
options?: Options<MissionsControllerGetMissions0V1Data, ThrowOnError>,
|
|
1869
2075
|
) => {
|
|
@@ -1877,6 +2083,10 @@ export const missionsControllerGetMissions0V1 = <
|
|
|
1877
2083
|
name: "x-api-token",
|
|
1878
2084
|
type: "apiKey",
|
|
1879
2085
|
},
|
|
2086
|
+
{
|
|
2087
|
+
name: "x-api-token",
|
|
2088
|
+
type: "apiKey",
|
|
2089
|
+
},
|
|
1880
2090
|
],
|
|
1881
2091
|
responseTransformer: missionsControllerGetMissions0V1ResponseTransformer,
|
|
1882
2092
|
url: "/v1/missions",
|
|
@@ -1889,7 +2099,7 @@ export const missionsControllerGetMissions0V1 = <
|
|
|
1889
2099
|
* Create missions for specified zones and mission types.
|
|
1890
2100
|
*/
|
|
1891
2101
|
export const missionsControllerCreateMissions0V1 = <
|
|
1892
|
-
ThrowOnError extends boolean =
|
|
2102
|
+
ThrowOnError extends boolean = true,
|
|
1893
2103
|
>(
|
|
1894
2104
|
options: Options<MissionsControllerCreateMissions0V1Data, ThrowOnError>,
|
|
1895
2105
|
) => {
|
|
@@ -1919,7 +2129,7 @@ export const missionsControllerCreateMissions0V1 = <
|
|
|
1919
2129
|
* Update missions' rewards or cancel them altogether
|
|
1920
2130
|
*/
|
|
1921
2131
|
export const missionsControllerUpdateMissions0V1 = <
|
|
1922
|
-
ThrowOnError extends boolean =
|
|
2132
|
+
ThrowOnError extends boolean = true,
|
|
1923
2133
|
>(
|
|
1924
2134
|
options: Options<MissionsControllerUpdateMissions0V1Data, ThrowOnError>,
|
|
1925
2135
|
) => {
|
|
@@ -1945,11 +2155,11 @@ export const missionsControllerUpdateMissions0V1 = <
|
|
|
1945
2155
|
|
|
1946
2156
|
/**
|
|
1947
2157
|
* Get missions
|
|
1948
|
-
* Returns up to 500 missions per page, sorted by id ascending. All filters are optional. Use `page` (0-indexed, default 0) to paginate. `hasNextPage` is true when additional pages are available. `zone_id` may be repeated to filter by multiple zones.
|
|
2158
|
+
* Returns up to 500 missions per page, sorted by id ascending. All filters are optional. Use `page` (0-indexed, default 0) to paginate. `hasNextPage` is true when additional pages are available. `zone_id` may be repeated to filter by multiple zones. `campaignIds` (campaign UUIDs) and `campaignNames` may each be repeated; a mission matches if it belongs to any of the campaigns named across both filters.
|
|
1949
2159
|
* @deprecated
|
|
1950
2160
|
*/
|
|
1951
2161
|
export const missionsControllerGetMissions1 = <
|
|
1952
|
-
ThrowOnError extends boolean =
|
|
2162
|
+
ThrowOnError extends boolean = true,
|
|
1953
2163
|
>(
|
|
1954
2164
|
options?: Options<MissionsControllerGetMissions1Data, ThrowOnError>,
|
|
1955
2165
|
) => {
|
|
@@ -1963,6 +2173,10 @@ export const missionsControllerGetMissions1 = <
|
|
|
1963
2173
|
name: "x-api-token",
|
|
1964
2174
|
type: "apiKey",
|
|
1965
2175
|
},
|
|
2176
|
+
{
|
|
2177
|
+
name: "x-api-token",
|
|
2178
|
+
type: "apiKey",
|
|
2179
|
+
},
|
|
1966
2180
|
],
|
|
1967
2181
|
responseTransformer: missionsControllerGetMissions1ResponseTransformer,
|
|
1968
2182
|
url: "/missions",
|
|
@@ -1976,7 +2190,7 @@ export const missionsControllerGetMissions1 = <
|
|
|
1976
2190
|
* @deprecated
|
|
1977
2191
|
*/
|
|
1978
2192
|
export const missionsControllerCreateMissions1 = <
|
|
1979
|
-
ThrowOnError extends boolean =
|
|
2193
|
+
ThrowOnError extends boolean = true,
|
|
1980
2194
|
>(
|
|
1981
2195
|
options: Options<MissionsControllerCreateMissions1Data, ThrowOnError>,
|
|
1982
2196
|
) => {
|
|
@@ -2007,7 +2221,7 @@ export const missionsControllerCreateMissions1 = <
|
|
|
2007
2221
|
* @deprecated
|
|
2008
2222
|
*/
|
|
2009
2223
|
export const missionsControllerUpdateMissions1 = <
|
|
2010
|
-
ThrowOnError extends boolean =
|
|
2224
|
+
ThrowOnError extends boolean = true,
|
|
2011
2225
|
>(
|
|
2012
2226
|
options: Options<MissionsControllerUpdateMissions1Data, ThrowOnError>,
|
|
2013
2227
|
) => {
|
|
@@ -2036,7 +2250,7 @@ export const missionsControllerUpdateMissions1 = <
|
|
|
2036
2250
|
* Apply a scale factor to all open missions' vault amounts
|
|
2037
2251
|
*/
|
|
2038
2252
|
export const missionsControllerRepriceMissions0V1 = <
|
|
2039
|
-
ThrowOnError extends boolean =
|
|
2253
|
+
ThrowOnError extends boolean = true,
|
|
2040
2254
|
>(
|
|
2041
2255
|
options: Options<MissionsControllerRepriceMissions0V1Data, ThrowOnError>,
|
|
2042
2256
|
) => {
|
|
@@ -2066,7 +2280,7 @@ export const missionsControllerRepriceMissions0V1 = <
|
|
|
2066
2280
|
* @deprecated
|
|
2067
2281
|
*/
|
|
2068
2282
|
export const missionsControllerRepriceMissions1 = <
|
|
2069
|
-
ThrowOnError extends boolean =
|
|
2283
|
+
ThrowOnError extends boolean = true,
|
|
2070
2284
|
>(
|
|
2071
2285
|
options: Options<MissionsControllerRepriceMissions1Data, ThrowOnError>,
|
|
2072
2286
|
) => {
|
|
@@ -2094,7 +2308,7 @@ export const missionsControllerRepriceMissions1 = <
|
|
|
2094
2308
|
* List proposals (proxied to proposal-service)
|
|
2095
2309
|
* Returns up to 50 proposals per page, sorted by created_at descending. All filters are optional. Use `page` (0-indexed, default 0) to paginate.
|
|
2096
2310
|
*/
|
|
2097
|
-
export const listProposals = <ThrowOnError extends boolean =
|
|
2311
|
+
export const listProposals = <ThrowOnError extends boolean = true>(
|
|
2098
2312
|
options?: Options<ListProposalsData, ThrowOnError>,
|
|
2099
2313
|
) => {
|
|
2100
2314
|
return (options?.client ?? _heyApiClient).get<
|
|
@@ -2102,6 +2316,12 @@ export const listProposals = <ThrowOnError extends boolean = false>(
|
|
|
2102
2316
|
ListProposalsErrors,
|
|
2103
2317
|
ThrowOnError
|
|
2104
2318
|
>({
|
|
2319
|
+
security: [
|
|
2320
|
+
{
|
|
2321
|
+
name: "x-api-token",
|
|
2322
|
+
type: "apiKey",
|
|
2323
|
+
},
|
|
2324
|
+
],
|
|
2105
2325
|
responseTransformer: listProposalsResponseTransformer,
|
|
2106
2326
|
url: "/v1/proposals",
|
|
2107
2327
|
...options,
|
|
@@ -2111,7 +2331,7 @@ export const listProposals = <ThrowOnError extends boolean = false>(
|
|
|
2111
2331
|
/**
|
|
2112
2332
|
* Submit a proposal (proxied to proposal-service)
|
|
2113
2333
|
*/
|
|
2114
|
-
export const submitProposal = <ThrowOnError extends boolean =
|
|
2334
|
+
export const submitProposal = <ThrowOnError extends boolean = true>(
|
|
2115
2335
|
options: Options<SubmitProposalData, ThrowOnError>,
|
|
2116
2336
|
) => {
|
|
2117
2337
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2138,7 +2358,7 @@ export const submitProposal = <ThrowOnError extends boolean = false>(
|
|
|
2138
2358
|
* Get a proposal by ID (proxied to proposal-service)
|
|
2139
2359
|
* Returns full proposal detail including all change records.
|
|
2140
2360
|
*/
|
|
2141
|
-
export const getProposal = <ThrowOnError extends boolean =
|
|
2361
|
+
export const getProposal = <ThrowOnError extends boolean = true>(
|
|
2142
2362
|
options: Options<GetProposalData, ThrowOnError>,
|
|
2143
2363
|
) => {
|
|
2144
2364
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2146,6 +2366,12 @@ export const getProposal = <ThrowOnError extends boolean = false>(
|
|
|
2146
2366
|
GetProposalErrors,
|
|
2147
2367
|
ThrowOnError
|
|
2148
2368
|
>({
|
|
2369
|
+
security: [
|
|
2370
|
+
{
|
|
2371
|
+
name: "x-api-token",
|
|
2372
|
+
type: "apiKey",
|
|
2373
|
+
},
|
|
2374
|
+
],
|
|
2149
2375
|
responseTransformer: getProposalResponseTransformer,
|
|
2150
2376
|
url: "/v1/proposals/{id}",
|
|
2151
2377
|
...options,
|
|
@@ -2155,7 +2381,7 @@ export const getProposal = <ThrowOnError extends boolean = false>(
|
|
|
2155
2381
|
/**
|
|
2156
2382
|
* Approve or reject a proposal (proxied to proposal-service)
|
|
2157
2383
|
*/
|
|
2158
|
-
export const reviewProposal = <ThrowOnError extends boolean =
|
|
2384
|
+
export const reviewProposal = <ThrowOnError extends boolean = true>(
|
|
2159
2385
|
options: Options<ReviewProposalData, ThrowOnError>,
|
|
2160
2386
|
) => {
|
|
2161
2387
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2179,7 +2405,7 @@ export const reviewProposal = <ThrowOnError extends boolean = false>(
|
|
|
2179
2405
|
};
|
|
2180
2406
|
|
|
2181
2407
|
export const protocolTriggersApiControllerTriggerPayout0V1 = <
|
|
2182
|
-
ThrowOnError extends boolean =
|
|
2408
|
+
ThrowOnError extends boolean = true,
|
|
2183
2409
|
>(
|
|
2184
2410
|
options: Options<
|
|
2185
2411
|
ProtocolTriggersApiControllerTriggerPayout0V1Data,
|
|
@@ -2210,7 +2436,7 @@ export const protocolTriggersApiControllerTriggerPayout0V1 = <
|
|
|
2210
2436
|
* @deprecated
|
|
2211
2437
|
*/
|
|
2212
2438
|
export const protocolTriggersApiControllerTriggerPayout1 = <
|
|
2213
|
-
ThrowOnError extends boolean =
|
|
2439
|
+
ThrowOnError extends boolean = true,
|
|
2214
2440
|
>(
|
|
2215
2441
|
options: Options<
|
|
2216
2442
|
ProtocolTriggersApiControllerTriggerPayout1Data,
|
|
@@ -2238,7 +2464,7 @@ export const protocolTriggersApiControllerTriggerPayout1 = <
|
|
|
2238
2464
|
};
|
|
2239
2465
|
|
|
2240
2466
|
export const protocolTriggersApiControllerTriggerMissionClose0V1 = <
|
|
2241
|
-
ThrowOnError extends boolean =
|
|
2467
|
+
ThrowOnError extends boolean = true,
|
|
2242
2468
|
>(
|
|
2243
2469
|
options: Options<
|
|
2244
2470
|
ProtocolTriggersApiControllerTriggerMissionClose0V1Data,
|
|
@@ -2269,7 +2495,7 @@ export const protocolTriggersApiControllerTriggerMissionClose0V1 = <
|
|
|
2269
2495
|
* @deprecated
|
|
2270
2496
|
*/
|
|
2271
2497
|
export const protocolTriggersApiControllerTriggerMissionClose1 = <
|
|
2272
|
-
ThrowOnError extends boolean =
|
|
2498
|
+
ThrowOnError extends boolean = true,
|
|
2273
2499
|
>(
|
|
2274
2500
|
options: Options<
|
|
2275
2501
|
ProtocolTriggersApiControllerTriggerMissionClose1Data,
|
|
@@ -2297,7 +2523,7 @@ export const protocolTriggersApiControllerTriggerMissionClose1 = <
|
|
|
2297
2523
|
};
|
|
2298
2524
|
|
|
2299
2525
|
export const quotesControllerCreateQuote0V1 = <
|
|
2300
|
-
ThrowOnError extends boolean =
|
|
2526
|
+
ThrowOnError extends boolean = true,
|
|
2301
2527
|
>(
|
|
2302
2528
|
options: Options<QuotesControllerCreateQuote0V1Data, ThrowOnError>,
|
|
2303
2529
|
) => {
|
|
@@ -2325,7 +2551,7 @@ export const quotesControllerCreateQuote0V1 = <
|
|
|
2325
2551
|
* @deprecated
|
|
2326
2552
|
*/
|
|
2327
2553
|
export const quotesControllerCreateQuote1 = <
|
|
2328
|
-
ThrowOnError extends boolean =
|
|
2554
|
+
ThrowOnError extends boolean = true,
|
|
2329
2555
|
>(
|
|
2330
2556
|
options: Options<QuotesControllerCreateQuote1Data, ThrowOnError>,
|
|
2331
2557
|
) => {
|
|
@@ -2350,7 +2576,7 @@ export const quotesControllerCreateQuote1 = <
|
|
|
2350
2576
|
};
|
|
2351
2577
|
|
|
2352
2578
|
export const quotesControllerGetQuote0V1 = <
|
|
2353
|
-
ThrowOnError extends boolean =
|
|
2579
|
+
ThrowOnError extends boolean = true,
|
|
2354
2580
|
>(
|
|
2355
2581
|
options: Options<QuotesControllerGetQuote0V1Data, ThrowOnError>,
|
|
2356
2582
|
) => {
|
|
@@ -2373,7 +2599,7 @@ export const quotesControllerGetQuote0V1 = <
|
|
|
2373
2599
|
/**
|
|
2374
2600
|
* @deprecated
|
|
2375
2601
|
*/
|
|
2376
|
-
export const quotesControllerGetQuote1 = <ThrowOnError extends boolean =
|
|
2602
|
+
export const quotesControllerGetQuote1 = <ThrowOnError extends boolean = true>(
|
|
2377
2603
|
options: Options<QuotesControllerGetQuote1Data, ThrowOnError>,
|
|
2378
2604
|
) => {
|
|
2379
2605
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2392,39 +2618,6 @@ export const quotesControllerGetQuote1 = <ThrowOnError extends boolean = false>(
|
|
|
2392
2618
|
});
|
|
2393
2619
|
};
|
|
2394
2620
|
|
|
2395
|
-
export const schemaControllerGetEventSchema0V1 = <
|
|
2396
|
-
ThrowOnError extends boolean = false,
|
|
2397
|
-
>(
|
|
2398
|
-
options?: Options<SchemaControllerGetEventSchema0V1Data, ThrowOnError>,
|
|
2399
|
-
) => {
|
|
2400
|
-
return (options?.client ?? _heyApiClient).get<
|
|
2401
|
-
SchemaControllerGetEventSchema0V1Responses,
|
|
2402
|
-
unknown,
|
|
2403
|
-
ThrowOnError
|
|
2404
|
-
>({
|
|
2405
|
-
url: "/v1/schema/event",
|
|
2406
|
-
...options,
|
|
2407
|
-
});
|
|
2408
|
-
};
|
|
2409
|
-
|
|
2410
|
-
/**
|
|
2411
|
-
* @deprecated
|
|
2412
|
-
*/
|
|
2413
|
-
export const schemaControllerGetEventSchema1 = <
|
|
2414
|
-
ThrowOnError extends boolean = false,
|
|
2415
|
-
>(
|
|
2416
|
-
options?: Options<SchemaControllerGetEventSchema1Data, ThrowOnError>,
|
|
2417
|
-
) => {
|
|
2418
|
-
return (options?.client ?? _heyApiClient).get<
|
|
2419
|
-
SchemaControllerGetEventSchema1Responses,
|
|
2420
|
-
unknown,
|
|
2421
|
-
ThrowOnError
|
|
2422
|
-
>({
|
|
2423
|
-
url: "/schema/event",
|
|
2424
|
-
...options,
|
|
2425
|
-
});
|
|
2426
|
-
};
|
|
2427
|
-
|
|
2428
2621
|
/**
|
|
2429
2622
|
* Create new vault requests
|
|
2430
2623
|
* Create vault requests and publish to the internal.vault.requested queue.
|
|
@@ -2432,7 +2625,7 @@ export const schemaControllerGetEventSchema1 = <
|
|
|
2432
2625
|
* Api is meant for internal use to add data on chain manually.
|
|
2433
2626
|
*/
|
|
2434
2627
|
export const vaultsControllerCreateVaults0V1 = <
|
|
2435
|
-
ThrowOnError extends boolean =
|
|
2628
|
+
ThrowOnError extends boolean = true,
|
|
2436
2629
|
>(
|
|
2437
2630
|
options: Options<VaultsControllerCreateVaults0V1Data, ThrowOnError>,
|
|
2438
2631
|
) => {
|
|
@@ -2468,7 +2661,7 @@ export const vaultsControllerCreateVaults0V1 = <
|
|
|
2468
2661
|
* @deprecated
|
|
2469
2662
|
*/
|
|
2470
2663
|
export const vaultsControllerCreateVaults1 = <
|
|
2471
|
-
ThrowOnError extends boolean =
|
|
2664
|
+
ThrowOnError extends boolean = true,
|
|
2472
2665
|
>(
|
|
2473
2666
|
options: Options<VaultsControllerCreateVaults1Data, ThrowOnError>,
|
|
2474
2667
|
) => {
|
|
@@ -2497,7 +2690,7 @@ export const vaultsControllerCreateVaults1 = <
|
|
|
2497
2690
|
};
|
|
2498
2691
|
|
|
2499
2692
|
export const webhooksControllerGetMany0V1 = <
|
|
2500
|
-
ThrowOnError extends boolean =
|
|
2693
|
+
ThrowOnError extends boolean = true,
|
|
2501
2694
|
>(
|
|
2502
2695
|
options: Options<WebhooksControllerGetMany0V1Data, ThrowOnError>,
|
|
2503
2696
|
) => {
|
|
@@ -2519,7 +2712,7 @@ export const webhooksControllerGetMany0V1 = <
|
|
|
2519
2712
|
};
|
|
2520
2713
|
|
|
2521
2714
|
export const webhooksControllerCreate0V1 = <
|
|
2522
|
-
ThrowOnError extends boolean =
|
|
2715
|
+
ThrowOnError extends boolean = true,
|
|
2523
2716
|
>(
|
|
2524
2717
|
options: Options<WebhooksControllerCreate0V1Data, ThrowOnError>,
|
|
2525
2718
|
) => {
|
|
@@ -2546,9 +2739,7 @@ export const webhooksControllerCreate0V1 = <
|
|
|
2546
2739
|
/**
|
|
2547
2740
|
* @deprecated
|
|
2548
2741
|
*/
|
|
2549
|
-
export const webhooksControllerGetMany1 = <
|
|
2550
|
-
ThrowOnError extends boolean = false,
|
|
2551
|
-
>(
|
|
2742
|
+
export const webhooksControllerGetMany1 = <ThrowOnError extends boolean = true>(
|
|
2552
2743
|
options: Options<WebhooksControllerGetMany1Data, ThrowOnError>,
|
|
2553
2744
|
) => {
|
|
2554
2745
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2571,7 +2762,7 @@ export const webhooksControllerGetMany1 = <
|
|
|
2571
2762
|
/**
|
|
2572
2763
|
* @deprecated
|
|
2573
2764
|
*/
|
|
2574
|
-
export const webhooksControllerCreate1 = <ThrowOnError extends boolean =
|
|
2765
|
+
export const webhooksControllerCreate1 = <ThrowOnError extends boolean = true>(
|
|
2575
2766
|
options: Options<WebhooksControllerCreate1Data, ThrowOnError>,
|
|
2576
2767
|
) => {
|
|
2577
2768
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2595,7 +2786,7 @@ export const webhooksControllerCreate1 = <ThrowOnError extends boolean = false>(
|
|
|
2595
2786
|
};
|
|
2596
2787
|
|
|
2597
2788
|
export const webhooksControllerDelete0V1 = <
|
|
2598
|
-
ThrowOnError extends boolean =
|
|
2789
|
+
ThrowOnError extends boolean = true,
|
|
2599
2790
|
>(
|
|
2600
2791
|
options: Options<WebhooksControllerDelete0V1Data, ThrowOnError>,
|
|
2601
2792
|
) => {
|
|
@@ -2615,7 +2806,7 @@ export const webhooksControllerDelete0V1 = <
|
|
|
2615
2806
|
});
|
|
2616
2807
|
};
|
|
2617
2808
|
|
|
2618
|
-
export const webhooksControllerGet0V1 = <ThrowOnError extends boolean =
|
|
2809
|
+
export const webhooksControllerGet0V1 = <ThrowOnError extends boolean = true>(
|
|
2619
2810
|
options: Options<WebhooksControllerGet0V1Data, ThrowOnError>,
|
|
2620
2811
|
) => {
|
|
2621
2812
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2636,7 +2827,7 @@ export const webhooksControllerGet0V1 = <ThrowOnError extends boolean = false>(
|
|
|
2636
2827
|
};
|
|
2637
2828
|
|
|
2638
2829
|
export const webhooksControllerUpdate0V1 = <
|
|
2639
|
-
ThrowOnError extends boolean =
|
|
2830
|
+
ThrowOnError extends boolean = true,
|
|
2640
2831
|
>(
|
|
2641
2832
|
options: Options<WebhooksControllerUpdate0V1Data, ThrowOnError>,
|
|
2642
2833
|
) => {
|
|
@@ -2664,7 +2855,7 @@ export const webhooksControllerUpdate0V1 = <
|
|
|
2664
2855
|
/**
|
|
2665
2856
|
* @deprecated
|
|
2666
2857
|
*/
|
|
2667
|
-
export const webhooksControllerDelete1 = <ThrowOnError extends boolean =
|
|
2858
|
+
export const webhooksControllerDelete1 = <ThrowOnError extends boolean = true>(
|
|
2668
2859
|
options: Options<WebhooksControllerDelete1Data, ThrowOnError>,
|
|
2669
2860
|
) => {
|
|
2670
2861
|
return (options.client ?? _heyApiClient).delete<
|
|
@@ -2686,7 +2877,7 @@ export const webhooksControllerDelete1 = <ThrowOnError extends boolean = false>(
|
|
|
2686
2877
|
/**
|
|
2687
2878
|
* @deprecated
|
|
2688
2879
|
*/
|
|
2689
|
-
export const webhooksControllerGet1 = <ThrowOnError extends boolean =
|
|
2880
|
+
export const webhooksControllerGet1 = <ThrowOnError extends boolean = true>(
|
|
2690
2881
|
options: Options<WebhooksControllerGet1Data, ThrowOnError>,
|
|
2691
2882
|
) => {
|
|
2692
2883
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2709,7 +2900,7 @@ export const webhooksControllerGet1 = <ThrowOnError extends boolean = false>(
|
|
|
2709
2900
|
/**
|
|
2710
2901
|
* @deprecated
|
|
2711
2902
|
*/
|
|
2712
|
-
export const webhooksControllerUpdate1 = <ThrowOnError extends boolean =
|
|
2903
|
+
export const webhooksControllerUpdate1 = <ThrowOnError extends boolean = true>(
|
|
2713
2904
|
options: Options<WebhooksControllerUpdate1Data, ThrowOnError>,
|
|
2714
2905
|
) => {
|
|
2715
2906
|
return (options.client ?? _heyApiClient).put<
|
|
@@ -2734,7 +2925,7 @@ export const webhooksControllerUpdate1 = <ThrowOnError extends boolean = false>(
|
|
|
2734
2925
|
};
|
|
2735
2926
|
|
|
2736
2927
|
export const webhooksControllerRegenerateSecret0V1 = <
|
|
2737
|
-
ThrowOnError extends boolean =
|
|
2928
|
+
ThrowOnError extends boolean = true,
|
|
2738
2929
|
>(
|
|
2739
2930
|
options: Options<WebhooksControllerRegenerateSecret0V1Data, ThrowOnError>,
|
|
2740
2931
|
) => {
|
|
@@ -2764,7 +2955,7 @@ export const webhooksControllerRegenerateSecret0V1 = <
|
|
|
2764
2955
|
* @deprecated
|
|
2765
2956
|
*/
|
|
2766
2957
|
export const webhooksControllerRegenerateSecret1 = <
|
|
2767
|
-
ThrowOnError extends boolean =
|
|
2958
|
+
ThrowOnError extends boolean = true,
|
|
2768
2959
|
>(
|
|
2769
2960
|
options: Options<WebhooksControllerRegenerateSecret1Data, ThrowOnError>,
|
|
2770
2961
|
) => {
|
|
@@ -2789,7 +2980,7 @@ export const webhooksControllerRegenerateSecret1 = <
|
|
|
2789
2980
|
});
|
|
2790
2981
|
};
|
|
2791
2982
|
|
|
2792
|
-
export const webhooksControllerTest0V1 = <ThrowOnError extends boolean =
|
|
2983
|
+
export const webhooksControllerTest0V1 = <ThrowOnError extends boolean = true>(
|
|
2793
2984
|
options: Options<WebhooksControllerTest0V1Data, ThrowOnError>,
|
|
2794
2985
|
) => {
|
|
2795
2986
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2811,7 +3002,7 @@ export const webhooksControllerTest0V1 = <ThrowOnError extends boolean = false>(
|
|
|
2811
3002
|
/**
|
|
2812
3003
|
* @deprecated
|
|
2813
3004
|
*/
|
|
2814
|
-
export const webhooksControllerTest1 = <ThrowOnError extends boolean =
|
|
3005
|
+
export const webhooksControllerTest1 = <ThrowOnError extends boolean = true>(
|
|
2815
3006
|
options: Options<WebhooksControllerTest1Data, ThrowOnError>,
|
|
2816
3007
|
) => {
|
|
2817
3008
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2831,7 +3022,7 @@ export const webhooksControllerTest1 = <ThrowOnError extends boolean = false>(
|
|
|
2831
3022
|
};
|
|
2832
3023
|
|
|
2833
3024
|
export const webhooksControllerGetStatus0V1 = <
|
|
2834
|
-
ThrowOnError extends boolean =
|
|
3025
|
+
ThrowOnError extends boolean = true,
|
|
2835
3026
|
>(
|
|
2836
3027
|
options: Options<WebhooksControllerGetStatus0V1Data, ThrowOnError>,
|
|
2837
3028
|
) => {
|
|
@@ -2855,7 +3046,7 @@ export const webhooksControllerGetStatus0V1 = <
|
|
|
2855
3046
|
* @deprecated
|
|
2856
3047
|
*/
|
|
2857
3048
|
export const webhooksControllerGetStatus1 = <
|
|
2858
|
-
ThrowOnError extends boolean =
|
|
3049
|
+
ThrowOnError extends boolean = true,
|
|
2859
3050
|
>(
|
|
2860
3051
|
options: Options<WebhooksControllerGetStatus1Data, ThrowOnError>,
|
|
2861
3052
|
) => {
|
|
@@ -2879,7 +3070,7 @@ export const webhooksControllerGetStatus1 = <
|
|
|
2879
3070
|
* Create a zone
|
|
2880
3071
|
*/
|
|
2881
3072
|
export const zonesControllerCreateZone0V1 = <
|
|
2882
|
-
ThrowOnError extends boolean =
|
|
3073
|
+
ThrowOnError extends boolean = true,
|
|
2883
3074
|
>(
|
|
2884
3075
|
options: Options<ZonesControllerCreateZone0V1Data, ThrowOnError>,
|
|
2885
3076
|
) => {
|
|
@@ -2908,9 +3099,7 @@ export const zonesControllerCreateZone0V1 = <
|
|
|
2908
3099
|
* Create a zone
|
|
2909
3100
|
* @deprecated
|
|
2910
3101
|
*/
|
|
2911
|
-
export const zonesControllerCreateZone1 = <
|
|
2912
|
-
ThrowOnError extends boolean = false,
|
|
2913
|
-
>(
|
|
3102
|
+
export const zonesControllerCreateZone1 = <ThrowOnError extends boolean = true>(
|
|
2914
3103
|
options: Options<ZonesControllerCreateZone1Data, ThrowOnError>,
|
|
2915
3104
|
) => {
|
|
2916
3105
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2938,7 +3127,7 @@ export const zonesControllerCreateZone1 = <
|
|
|
2938
3127
|
* Delete a zone
|
|
2939
3128
|
*/
|
|
2940
3129
|
export const zonesControllerDeleteZone0V1 = <
|
|
2941
|
-
ThrowOnError extends boolean =
|
|
3130
|
+
ThrowOnError extends boolean = true,
|
|
2942
3131
|
>(
|
|
2943
3132
|
options: Options<ZonesControllerDeleteZone0V1Data, ThrowOnError>,
|
|
2944
3133
|
) => {
|
|
@@ -2961,7 +3150,7 @@ export const zonesControllerDeleteZone0V1 = <
|
|
|
2961
3150
|
/**
|
|
2962
3151
|
* Get a zone by id
|
|
2963
3152
|
*/
|
|
2964
|
-
export const zonesControllerGetZone0V1 = <ThrowOnError extends boolean =
|
|
3153
|
+
export const zonesControllerGetZone0V1 = <ThrowOnError extends boolean = true>(
|
|
2965
3154
|
options: Options<ZonesControllerGetZone0V1Data, ThrowOnError>,
|
|
2966
3155
|
) => {
|
|
2967
3156
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2974,6 +3163,10 @@ export const zonesControllerGetZone0V1 = <ThrowOnError extends boolean = false>(
|
|
|
2974
3163
|
name: "x-api-token",
|
|
2975
3164
|
type: "apiKey",
|
|
2976
3165
|
},
|
|
3166
|
+
{
|
|
3167
|
+
name: "x-api-token",
|
|
3168
|
+
type: "apiKey",
|
|
3169
|
+
},
|
|
2977
3170
|
],
|
|
2978
3171
|
responseTransformer: zonesControllerGetZone0V1ResponseTransformer,
|
|
2979
3172
|
url: "/v1/zones/{id}",
|
|
@@ -2985,7 +3178,7 @@ export const zonesControllerGetZone0V1 = <ThrowOnError extends boolean = false>(
|
|
|
2985
3178
|
* Update a zone
|
|
2986
3179
|
*/
|
|
2987
3180
|
export const zonesControllerUpdateZone0V1 = <
|
|
2988
|
-
ThrowOnError extends boolean =
|
|
3181
|
+
ThrowOnError extends boolean = true,
|
|
2989
3182
|
>(
|
|
2990
3183
|
options: Options<ZonesControllerUpdateZone0V1Data, ThrowOnError>,
|
|
2991
3184
|
) => {
|
|
@@ -3014,9 +3207,7 @@ export const zonesControllerUpdateZone0V1 = <
|
|
|
3014
3207
|
* Delete a zone
|
|
3015
3208
|
* @deprecated
|
|
3016
3209
|
*/
|
|
3017
|
-
export const zonesControllerDeleteZone1 = <
|
|
3018
|
-
ThrowOnError extends boolean = false,
|
|
3019
|
-
>(
|
|
3210
|
+
export const zonesControllerDeleteZone1 = <ThrowOnError extends boolean = true>(
|
|
3020
3211
|
options: Options<ZonesControllerDeleteZone1Data, ThrowOnError>,
|
|
3021
3212
|
) => {
|
|
3022
3213
|
return (options.client ?? _heyApiClient).delete<
|
|
@@ -3039,7 +3230,7 @@ export const zonesControllerDeleteZone1 = <
|
|
|
3039
3230
|
* Get a zone by id
|
|
3040
3231
|
* @deprecated
|
|
3041
3232
|
*/
|
|
3042
|
-
export const zonesControllerGetZone1 = <ThrowOnError extends boolean =
|
|
3233
|
+
export const zonesControllerGetZone1 = <ThrowOnError extends boolean = true>(
|
|
3043
3234
|
options: Options<ZonesControllerGetZone1Data, ThrowOnError>,
|
|
3044
3235
|
) => {
|
|
3045
3236
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -3052,6 +3243,10 @@ export const zonesControllerGetZone1 = <ThrowOnError extends boolean = false>(
|
|
|
3052
3243
|
name: "x-api-token",
|
|
3053
3244
|
type: "apiKey",
|
|
3054
3245
|
},
|
|
3246
|
+
{
|
|
3247
|
+
name: "x-api-token",
|
|
3248
|
+
type: "apiKey",
|
|
3249
|
+
},
|
|
3055
3250
|
],
|
|
3056
3251
|
responseTransformer: zonesControllerGetZone1ResponseTransformer,
|
|
3057
3252
|
url: "/zones/{id}",
|
|
@@ -3063,9 +3258,7 @@ export const zonesControllerGetZone1 = <ThrowOnError extends boolean = false>(
|
|
|
3063
3258
|
* Update a zone
|
|
3064
3259
|
* @deprecated
|
|
3065
3260
|
*/
|
|
3066
|
-
export const zonesControllerUpdateZone1 = <
|
|
3067
|
-
ThrowOnError extends boolean = false,
|
|
3068
|
-
>(
|
|
3261
|
+
export const zonesControllerUpdateZone1 = <ThrowOnError extends boolean = true>(
|
|
3069
3262
|
options: Options<ZonesControllerUpdateZone1Data, ThrowOnError>,
|
|
3070
3263
|
) => {
|
|
3071
3264
|
return (options.client ?? _heyApiClient).put<
|
|
@@ -3094,7 +3287,7 @@ export const zonesControllerUpdateZone1 = <
|
|
|
3094
3287
|
* For each mission ID, reads MissionData + MissionEscrow on-chain, loads off-chain JSON from the missions bucket, and upserts event-proc.vaults / missions / campaigns.
|
|
3095
3288
|
*/
|
|
3096
3289
|
export const eventProcessorMissionsSyncControllerResyncMissions0V1 = <
|
|
3097
|
-
ThrowOnError extends boolean =
|
|
3290
|
+
ThrowOnError extends boolean = true,
|
|
3098
3291
|
>(
|
|
3099
3292
|
options: Options<
|
|
3100
3293
|
EventProcessorMissionsSyncControllerResyncMissions0V1Data,
|
|
@@ -3127,7 +3320,7 @@ export const eventProcessorMissionsSyncControllerResyncMissions0V1 = <
|
|
|
3127
3320
|
* @deprecated
|
|
3128
3321
|
*/
|
|
3129
3322
|
export const eventProcessorMissionsSyncControllerResyncMissions1 = <
|
|
3130
|
-
ThrowOnError extends boolean =
|
|
3323
|
+
ThrowOnError extends boolean = true,
|
|
3131
3324
|
>(
|
|
3132
3325
|
options: Options<
|
|
3133
3326
|
EventProcessorMissionsSyncControllerResyncMissions1Data,
|
|
@@ -3159,7 +3352,7 @@ export const eventProcessorMissionsSyncControllerResyncMissions1 = <
|
|
|
3159
3352
|
* For each flight ID, reads FlightReviews on-chain, resolves validation log URI like the indexer, fetches optional S3 validation log, and upserts event-proc.flight_reviews.
|
|
3160
3353
|
*/
|
|
3161
3354
|
export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1 = <
|
|
3162
|
-
ThrowOnError extends boolean =
|
|
3355
|
+
ThrowOnError extends boolean = true,
|
|
3163
3356
|
>(
|
|
3164
3357
|
options: Options<
|
|
3165
3358
|
EventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1Data,
|
|
@@ -3192,7 +3385,7 @@ export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1 = <
|
|
|
3192
3385
|
* @deprecated
|
|
3193
3386
|
*/
|
|
3194
3387
|
export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews1 = <
|
|
3195
|
-
ThrowOnError extends boolean =
|
|
3388
|
+
ThrowOnError extends boolean = true,
|
|
3196
3389
|
>(
|
|
3197
3390
|
options: Options<
|
|
3198
3391
|
EventProcessorFlightReviewsSyncControllerResyncFlightReviews1Data,
|
|
@@ -3220,7 +3413,7 @@ export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews1 = <
|
|
|
3220
3413
|
};
|
|
3221
3414
|
|
|
3222
3415
|
export const alchemyControllerHandleWebhook0V1 = <
|
|
3223
|
-
ThrowOnError extends boolean =
|
|
3416
|
+
ThrowOnError extends boolean = true,
|
|
3224
3417
|
>(
|
|
3225
3418
|
options: Options<AlchemyControllerHandleWebhook0V1Data, ThrowOnError>,
|
|
3226
3419
|
) => {
|
|
@@ -3242,7 +3435,7 @@ export const alchemyControllerHandleWebhook0V1 = <
|
|
|
3242
3435
|
* @deprecated
|
|
3243
3436
|
*/
|
|
3244
3437
|
export const alchemyControllerHandleWebhook1 = <
|
|
3245
|
-
ThrowOnError extends boolean =
|
|
3438
|
+
ThrowOnError extends boolean = true,
|
|
3246
3439
|
>(
|
|
3247
3440
|
options: Options<AlchemyControllerHandleWebhook1Data, ThrowOnError>,
|
|
3248
3441
|
) => {
|
|
@@ -3264,7 +3457,7 @@ export const alchemyControllerHandleWebhook1 = <
|
|
|
3264
3457
|
* Get all inbound webhook configs
|
|
3265
3458
|
*/
|
|
3266
3459
|
export const inboundWebhookConfigsControllerGetMany0V1 = <
|
|
3267
|
-
ThrowOnError extends boolean =
|
|
3460
|
+
ThrowOnError extends boolean = true,
|
|
3268
3461
|
>(
|
|
3269
3462
|
options?: Options<
|
|
3270
3463
|
InboundWebhookConfigsControllerGetMany0V1Data,
|
|
@@ -3296,7 +3489,7 @@ export const inboundWebhookConfigsControllerGetMany0V1 = <
|
|
|
3296
3489
|
* [Detailed Instructions](https://github.com/spexigeo/layer-drone/blob/main/apps/protocol-api/src/modules/api/webhooks/inbound/alchemy/README.md)
|
|
3297
3490
|
*/
|
|
3298
3491
|
export const inboundWebhookConfigsControllerCreate0V1 = <
|
|
3299
|
-
ThrowOnError extends boolean =
|
|
3492
|
+
ThrowOnError extends boolean = true,
|
|
3300
3493
|
>(
|
|
3301
3494
|
options: Options<InboundWebhookConfigsControllerCreate0V1Data, ThrowOnError>,
|
|
3302
3495
|
) => {
|
|
@@ -3327,7 +3520,7 @@ export const inboundWebhookConfigsControllerCreate0V1 = <
|
|
|
3327
3520
|
* @deprecated
|
|
3328
3521
|
*/
|
|
3329
3522
|
export const inboundWebhookConfigsControllerGetMany1 = <
|
|
3330
|
-
ThrowOnError extends boolean =
|
|
3523
|
+
ThrowOnError extends boolean = true,
|
|
3331
3524
|
>(
|
|
3332
3525
|
options?: Options<InboundWebhookConfigsControllerGetMany1Data, ThrowOnError>,
|
|
3333
3526
|
) => {
|
|
@@ -3357,7 +3550,7 @@ export const inboundWebhookConfigsControllerGetMany1 = <
|
|
|
3357
3550
|
* @deprecated
|
|
3358
3551
|
*/
|
|
3359
3552
|
export const inboundWebhookConfigsControllerCreate1 = <
|
|
3360
|
-
ThrowOnError extends boolean =
|
|
3553
|
+
ThrowOnError extends boolean = true,
|
|
3361
3554
|
>(
|
|
3362
3555
|
options: Options<InboundWebhookConfigsControllerCreate1Data, ThrowOnError>,
|
|
3363
3556
|
) => {
|
|
@@ -3387,7 +3580,7 @@ export const inboundWebhookConfigsControllerCreate1 = <
|
|
|
3387
3580
|
* Delete an inbound webhook config
|
|
3388
3581
|
*/
|
|
3389
3582
|
export const inboundWebhookConfigsControllerDelete0V1 = <
|
|
3390
|
-
ThrowOnError extends boolean =
|
|
3583
|
+
ThrowOnError extends boolean = true,
|
|
3391
3584
|
>(
|
|
3392
3585
|
options: Options<InboundWebhookConfigsControllerDelete0V1Data, ThrowOnError>,
|
|
3393
3586
|
) => {
|
|
@@ -3411,7 +3604,7 @@ export const inboundWebhookConfigsControllerDelete0V1 = <
|
|
|
3411
3604
|
* Get an inbound webhook config by id
|
|
3412
3605
|
*/
|
|
3413
3606
|
export const inboundWebhookConfigsControllerGet0V1 = <
|
|
3414
|
-
ThrowOnError extends boolean =
|
|
3607
|
+
ThrowOnError extends boolean = true,
|
|
3415
3608
|
>(
|
|
3416
3609
|
options: Options<InboundWebhookConfigsControllerGet0V1Data, ThrowOnError>,
|
|
3417
3610
|
) => {
|
|
@@ -3437,7 +3630,7 @@ export const inboundWebhookConfigsControllerGet0V1 = <
|
|
|
3437
3630
|
* Update an inbound webhook config
|
|
3438
3631
|
*/
|
|
3439
3632
|
export const inboundWebhookConfigsControllerUpdate0V1 = <
|
|
3440
|
-
ThrowOnError extends boolean =
|
|
3633
|
+
ThrowOnError extends boolean = true,
|
|
3441
3634
|
>(
|
|
3442
3635
|
options: Options<InboundWebhookConfigsControllerUpdate0V1Data, ThrowOnError>,
|
|
3443
3636
|
) => {
|
|
@@ -3468,7 +3661,7 @@ export const inboundWebhookConfigsControllerUpdate0V1 = <
|
|
|
3468
3661
|
* @deprecated
|
|
3469
3662
|
*/
|
|
3470
3663
|
export const inboundWebhookConfigsControllerDelete1 = <
|
|
3471
|
-
ThrowOnError extends boolean =
|
|
3664
|
+
ThrowOnError extends boolean = true,
|
|
3472
3665
|
>(
|
|
3473
3666
|
options: Options<InboundWebhookConfigsControllerDelete1Data, ThrowOnError>,
|
|
3474
3667
|
) => {
|
|
@@ -3493,7 +3686,7 @@ export const inboundWebhookConfigsControllerDelete1 = <
|
|
|
3493
3686
|
* @deprecated
|
|
3494
3687
|
*/
|
|
3495
3688
|
export const inboundWebhookConfigsControllerGet1 = <
|
|
3496
|
-
ThrowOnError extends boolean =
|
|
3689
|
+
ThrowOnError extends boolean = true,
|
|
3497
3690
|
>(
|
|
3498
3691
|
options: Options<InboundWebhookConfigsControllerGet1Data, ThrowOnError>,
|
|
3499
3692
|
) => {
|
|
@@ -3519,7 +3712,7 @@ export const inboundWebhookConfigsControllerGet1 = <
|
|
|
3519
3712
|
* @deprecated
|
|
3520
3713
|
*/
|
|
3521
3714
|
export const inboundWebhookConfigsControllerUpdate1 = <
|
|
3522
|
-
ThrowOnError extends boolean =
|
|
3715
|
+
ThrowOnError extends boolean = true,
|
|
3523
3716
|
>(
|
|
3524
3717
|
options: Options<InboundWebhookConfigsControllerUpdate1Data, ThrowOnError>,
|
|
3525
3718
|
) => {
|
|
@@ -3544,3 +3737,825 @@ export const inboundWebhookConfigsControllerUpdate1 = <
|
|
|
3544
3737
|
},
|
|
3545
3738
|
});
|
|
3546
3739
|
};
|
|
3740
|
+
|
|
3741
|
+
/**
|
|
3742
|
+
* List campaigns (mission-fulfillment)
|
|
3743
|
+
* Returns campaigns from mission-fulfillment.
|
|
3744
|
+
*/
|
|
3745
|
+
export const campaignsControllerGetCampaignsV2V2 = <
|
|
3746
|
+
ThrowOnError extends boolean = true,
|
|
3747
|
+
>(
|
|
3748
|
+
options?: Options<CampaignsControllerGetCampaignsV2V2Data, ThrowOnError>,
|
|
3749
|
+
) => {
|
|
3750
|
+
return (options?.client ?? _heyApiClient).get<
|
|
3751
|
+
CampaignsControllerGetCampaignsV2V2Responses,
|
|
3752
|
+
CampaignsControllerGetCampaignsV2V2Errors,
|
|
3753
|
+
ThrowOnError
|
|
3754
|
+
>({
|
|
3755
|
+
security: [
|
|
3756
|
+
{
|
|
3757
|
+
name: "x-api-token",
|
|
3758
|
+
type: "apiKey",
|
|
3759
|
+
},
|
|
3760
|
+
],
|
|
3761
|
+
responseTransformer: campaignsControllerGetCampaignsV2V2ResponseTransformer,
|
|
3762
|
+
url: "/v2/campaigns",
|
|
3763
|
+
...options,
|
|
3764
|
+
});
|
|
3765
|
+
};
|
|
3766
|
+
|
|
3767
|
+
/**
|
|
3768
|
+
* Create a campaign (mission-fulfillment)
|
|
3769
|
+
* Creates a campaign in mission-fulfillment.
|
|
3770
|
+
*/
|
|
3771
|
+
export const campaignsControllerCreateCampaignV2V2 = <
|
|
3772
|
+
ThrowOnError extends boolean = true,
|
|
3773
|
+
>(
|
|
3774
|
+
options: Options<CampaignsControllerCreateCampaignV2V2Data, ThrowOnError>,
|
|
3775
|
+
) => {
|
|
3776
|
+
return (options.client ?? _heyApiClient).post<
|
|
3777
|
+
CampaignsControllerCreateCampaignV2V2Responses,
|
|
3778
|
+
CampaignsControllerCreateCampaignV2V2Errors,
|
|
3779
|
+
ThrowOnError
|
|
3780
|
+
>({
|
|
3781
|
+
security: [
|
|
3782
|
+
{
|
|
3783
|
+
name: "x-api-token",
|
|
3784
|
+
type: "apiKey",
|
|
3785
|
+
},
|
|
3786
|
+
],
|
|
3787
|
+
responseTransformer:
|
|
3788
|
+
campaignsControllerCreateCampaignV2V2ResponseTransformer,
|
|
3789
|
+
url: "/v2/campaigns",
|
|
3790
|
+
...options,
|
|
3791
|
+
headers: {
|
|
3792
|
+
"Content-Type": "application/json",
|
|
3793
|
+
...options.headers,
|
|
3794
|
+
},
|
|
3795
|
+
});
|
|
3796
|
+
};
|
|
3797
|
+
|
|
3798
|
+
/**
|
|
3799
|
+
* Get a campaign by id (mission-fulfillment)
|
|
3800
|
+
* Returns a campaign from mission-fulfillment.
|
|
3801
|
+
*/
|
|
3802
|
+
export const campaignsControllerGetCampaignV2V2 = <
|
|
3803
|
+
ThrowOnError extends boolean = true,
|
|
3804
|
+
>(
|
|
3805
|
+
options: Options<CampaignsControllerGetCampaignV2V2Data, ThrowOnError>,
|
|
3806
|
+
) => {
|
|
3807
|
+
return (options.client ?? _heyApiClient).get<
|
|
3808
|
+
CampaignsControllerGetCampaignV2V2Responses,
|
|
3809
|
+
CampaignsControllerGetCampaignV2V2Errors,
|
|
3810
|
+
ThrowOnError
|
|
3811
|
+
>({
|
|
3812
|
+
security: [
|
|
3813
|
+
{
|
|
3814
|
+
name: "x-api-token",
|
|
3815
|
+
type: "apiKey",
|
|
3816
|
+
},
|
|
3817
|
+
],
|
|
3818
|
+
responseTransformer: campaignsControllerGetCampaignV2V2ResponseTransformer,
|
|
3819
|
+
url: "/v2/campaigns/{id}",
|
|
3820
|
+
...options,
|
|
3821
|
+
});
|
|
3822
|
+
};
|
|
3823
|
+
|
|
3824
|
+
/**
|
|
3825
|
+
* Update a campaign (mission-fulfillment)
|
|
3826
|
+
* Updates a campaign in mission-fulfillment.
|
|
3827
|
+
*/
|
|
3828
|
+
export const campaignsControllerUpdateCampaignV2V2 = <
|
|
3829
|
+
ThrowOnError extends boolean = true,
|
|
3830
|
+
>(
|
|
3831
|
+
options: Options<CampaignsControllerUpdateCampaignV2V2Data, ThrowOnError>,
|
|
3832
|
+
) => {
|
|
3833
|
+
return (options.client ?? _heyApiClient).patch<
|
|
3834
|
+
CampaignsControllerUpdateCampaignV2V2Responses,
|
|
3835
|
+
CampaignsControllerUpdateCampaignV2V2Errors,
|
|
3836
|
+
ThrowOnError
|
|
3837
|
+
>({
|
|
3838
|
+
security: [
|
|
3839
|
+
{
|
|
3840
|
+
name: "x-api-token",
|
|
3841
|
+
type: "apiKey",
|
|
3842
|
+
},
|
|
3843
|
+
],
|
|
3844
|
+
responseTransformer:
|
|
3845
|
+
campaignsControllerUpdateCampaignV2V2ResponseTransformer,
|
|
3846
|
+
url: "/v2/campaigns/{id}",
|
|
3847
|
+
...options,
|
|
3848
|
+
headers: {
|
|
3849
|
+
"Content-Type": "application/json",
|
|
3850
|
+
...options.headers,
|
|
3851
|
+
},
|
|
3852
|
+
});
|
|
3853
|
+
};
|
|
3854
|
+
|
|
3855
|
+
/**
|
|
3856
|
+
* Cancel a campaign (mission-fulfillment)
|
|
3857
|
+
* Cancels a campaign in mission-fulfillment.
|
|
3858
|
+
*/
|
|
3859
|
+
export const campaignsControllerCancelCampaignV2V2 = <
|
|
3860
|
+
ThrowOnError extends boolean = true,
|
|
3861
|
+
>(
|
|
3862
|
+
options: Options<CampaignsControllerCancelCampaignV2V2Data, ThrowOnError>,
|
|
3863
|
+
) => {
|
|
3864
|
+
return (options.client ?? _heyApiClient).post<
|
|
3865
|
+
CampaignsControllerCancelCampaignV2V2Responses,
|
|
3866
|
+
CampaignsControllerCancelCampaignV2V2Errors,
|
|
3867
|
+
ThrowOnError
|
|
3868
|
+
>({
|
|
3869
|
+
security: [
|
|
3870
|
+
{
|
|
3871
|
+
name: "x-api-token",
|
|
3872
|
+
type: "apiKey",
|
|
3873
|
+
},
|
|
3874
|
+
],
|
|
3875
|
+
url: "/v2/campaigns/{id}/cancel",
|
|
3876
|
+
...options,
|
|
3877
|
+
});
|
|
3878
|
+
};
|
|
3879
|
+
|
|
3880
|
+
/**
|
|
3881
|
+
* Get all flight plans (mission-fulfillment)
|
|
3882
|
+
* Returns flight plans from mission-fulfillment.
|
|
3883
|
+
*/
|
|
3884
|
+
export const flightPlansControllerGetManyV2V2 = <
|
|
3885
|
+
ThrowOnError extends boolean = true,
|
|
3886
|
+
>(
|
|
3887
|
+
options?: Options<FlightPlansControllerGetManyV2V2Data, ThrowOnError>,
|
|
3888
|
+
) => {
|
|
3889
|
+
return (options?.client ?? _heyApiClient).get<
|
|
3890
|
+
FlightPlansControllerGetManyV2V2Responses,
|
|
3891
|
+
FlightPlansControllerGetManyV2V2Errors,
|
|
3892
|
+
ThrowOnError
|
|
3893
|
+
>({
|
|
3894
|
+
security: [
|
|
3895
|
+
{
|
|
3896
|
+
name: "x-api-token",
|
|
3897
|
+
type: "apiKey",
|
|
3898
|
+
},
|
|
3899
|
+
],
|
|
3900
|
+
responseTransformer: flightPlansControllerGetManyV2V2ResponseTransformer,
|
|
3901
|
+
url: "/v2/flight-plans",
|
|
3902
|
+
...options,
|
|
3903
|
+
});
|
|
3904
|
+
};
|
|
3905
|
+
|
|
3906
|
+
/**
|
|
3907
|
+
* Create a flight plan (mission-fulfillment)
|
|
3908
|
+
* Creates a flight plan in mission-fulfillment.
|
|
3909
|
+
*/
|
|
3910
|
+
export const flightPlansControllerCreateV2V2 = <
|
|
3911
|
+
ThrowOnError extends boolean = true,
|
|
3912
|
+
>(
|
|
3913
|
+
options: Options<FlightPlansControllerCreateV2V2Data, ThrowOnError>,
|
|
3914
|
+
) => {
|
|
3915
|
+
return (options.client ?? _heyApiClient).post<
|
|
3916
|
+
FlightPlansControllerCreateV2V2Responses,
|
|
3917
|
+
FlightPlansControllerCreateV2V2Errors,
|
|
3918
|
+
ThrowOnError
|
|
3919
|
+
>({
|
|
3920
|
+
security: [
|
|
3921
|
+
{
|
|
3922
|
+
name: "x-api-token",
|
|
3923
|
+
type: "apiKey",
|
|
3924
|
+
},
|
|
3925
|
+
],
|
|
3926
|
+
responseTransformer: flightPlansControllerCreateV2V2ResponseTransformer,
|
|
3927
|
+
url: "/v2/flight-plans",
|
|
3928
|
+
...options,
|
|
3929
|
+
headers: {
|
|
3930
|
+
"Content-Type": "application/json",
|
|
3931
|
+
...options.headers,
|
|
3932
|
+
},
|
|
3933
|
+
});
|
|
3934
|
+
};
|
|
3935
|
+
|
|
3936
|
+
/**
|
|
3937
|
+
* Get a flight plan by ID (mission-fulfillment)
|
|
3938
|
+
* Returns a single flight plan from mission-fulfillment by its UUID.
|
|
3939
|
+
*/
|
|
3940
|
+
export const flightPlansControllerGetV2V2 = <
|
|
3941
|
+
ThrowOnError extends boolean = true,
|
|
3942
|
+
>(
|
|
3943
|
+
options: Options<FlightPlansControllerGetV2V2Data, ThrowOnError>,
|
|
3944
|
+
) => {
|
|
3945
|
+
return (options.client ?? _heyApiClient).get<
|
|
3946
|
+
FlightPlansControllerGetV2V2Responses,
|
|
3947
|
+
FlightPlansControllerGetV2V2Errors,
|
|
3948
|
+
ThrowOnError
|
|
3949
|
+
>({
|
|
3950
|
+
security: [
|
|
3951
|
+
{
|
|
3952
|
+
name: "x-api-token",
|
|
3953
|
+
type: "apiKey",
|
|
3954
|
+
},
|
|
3955
|
+
],
|
|
3956
|
+
responseTransformer: flightPlansControllerGetV2V2ResponseTransformer,
|
|
3957
|
+
url: "/v2/flight-plans/{id}",
|
|
3958
|
+
...options,
|
|
3959
|
+
});
|
|
3960
|
+
};
|
|
3961
|
+
|
|
3962
|
+
/**
|
|
3963
|
+
* Edit a flight plan (mission-fulfillment)
|
|
3964
|
+
* Copy-on-write update of a flight plan in mission-fulfillment.
|
|
3965
|
+
*/
|
|
3966
|
+
export const flightPlansControllerUpdateV2V2 = <
|
|
3967
|
+
ThrowOnError extends boolean = true,
|
|
3968
|
+
>(
|
|
3969
|
+
options: Options<FlightPlansControllerUpdateV2V2Data, ThrowOnError>,
|
|
3970
|
+
) => {
|
|
3971
|
+
return (options.client ?? _heyApiClient).put<
|
|
3972
|
+
FlightPlansControllerUpdateV2V2Responses,
|
|
3973
|
+
FlightPlansControllerUpdateV2V2Errors,
|
|
3974
|
+
ThrowOnError
|
|
3975
|
+
>({
|
|
3976
|
+
security: [
|
|
3977
|
+
{
|
|
3978
|
+
name: "x-api-token",
|
|
3979
|
+
type: "apiKey",
|
|
3980
|
+
},
|
|
3981
|
+
],
|
|
3982
|
+
responseTransformer: flightPlansControllerUpdateV2V2ResponseTransformer,
|
|
3983
|
+
url: "/v2/flight-plans/{id}",
|
|
3984
|
+
...options,
|
|
3985
|
+
headers: {
|
|
3986
|
+
"Content-Type": "application/json",
|
|
3987
|
+
...options.headers,
|
|
3988
|
+
},
|
|
3989
|
+
});
|
|
3990
|
+
};
|
|
3991
|
+
|
|
3992
|
+
/**
|
|
3993
|
+
* Expand a flight plan into a FlightPathIntended
|
|
3994
|
+
* Forwards to mission-fulfillment. Loads the stored template, resolves zone geometry, and returns a FlightPathIntended for the given camera specs. Path only, not the template. Stateless: nothing is persisted.
|
|
3995
|
+
*/
|
|
3996
|
+
export const flightPlansControllerExpandV2V2 = <
|
|
3997
|
+
ThrowOnError extends boolean = true,
|
|
3998
|
+
>(
|
|
3999
|
+
options: Options<FlightPlansControllerExpandV2V2Data, ThrowOnError>,
|
|
4000
|
+
) => {
|
|
4001
|
+
return (options.client ?? _heyApiClient).post<
|
|
4002
|
+
FlightPlansControllerExpandV2V2Responses,
|
|
4003
|
+
FlightPlansControllerExpandV2V2Errors,
|
|
4004
|
+
ThrowOnError
|
|
4005
|
+
>({
|
|
4006
|
+
security: [
|
|
4007
|
+
{
|
|
4008
|
+
name: "x-api-token",
|
|
4009
|
+
type: "apiKey",
|
|
4010
|
+
},
|
|
4011
|
+
],
|
|
4012
|
+
url: "/v2/flight-plans/{id}/expand",
|
|
4013
|
+
...options,
|
|
4014
|
+
headers: {
|
|
4015
|
+
"Content-Type": "application/json",
|
|
4016
|
+
...options.headers,
|
|
4017
|
+
},
|
|
4018
|
+
});
|
|
4019
|
+
};
|
|
4020
|
+
|
|
4021
|
+
/**
|
|
4022
|
+
* List flights (mission-fulfillment)
|
|
4023
|
+
* Returns flights from mission-fulfillment.
|
|
4024
|
+
*/
|
|
4025
|
+
export const flightsControllerGetFlightsV2V2 = <
|
|
4026
|
+
ThrowOnError extends boolean = true,
|
|
4027
|
+
>(
|
|
4028
|
+
options?: Options<FlightsControllerGetFlightsV2V2Data, ThrowOnError>,
|
|
4029
|
+
) => {
|
|
4030
|
+
return (options?.client ?? _heyApiClient).get<
|
|
4031
|
+
FlightsControllerGetFlightsV2V2Responses,
|
|
4032
|
+
FlightsControllerGetFlightsV2V2Errors,
|
|
4033
|
+
ThrowOnError
|
|
4034
|
+
>({
|
|
4035
|
+
security: [
|
|
4036
|
+
{
|
|
4037
|
+
name: "x-api-token",
|
|
4038
|
+
type: "apiKey",
|
|
4039
|
+
},
|
|
4040
|
+
],
|
|
4041
|
+
responseTransformer: flightsControllerGetFlightsV2V2ResponseTransformer,
|
|
4042
|
+
url: "/v2/flights",
|
|
4043
|
+
...options,
|
|
4044
|
+
});
|
|
4045
|
+
};
|
|
4046
|
+
|
|
4047
|
+
/**
|
|
4048
|
+
* Create a flight (mission-fulfillment)
|
|
4049
|
+
* Creates a flight in mission-fulfillment.
|
|
4050
|
+
*/
|
|
4051
|
+
export const flightsControllerCreateFlightV2V2 = <
|
|
4052
|
+
ThrowOnError extends boolean = true,
|
|
4053
|
+
>(
|
|
4054
|
+
options: Options<FlightsControllerCreateFlightV2V2Data, ThrowOnError>,
|
|
4055
|
+
) => {
|
|
4056
|
+
return (options.client ?? _heyApiClient).post<
|
|
4057
|
+
FlightsControllerCreateFlightV2V2Responses,
|
|
4058
|
+
FlightsControllerCreateFlightV2V2Errors,
|
|
4059
|
+
ThrowOnError
|
|
4060
|
+
>({
|
|
4061
|
+
security: [
|
|
4062
|
+
{
|
|
4063
|
+
name: "x-api-token",
|
|
4064
|
+
type: "apiKey",
|
|
4065
|
+
},
|
|
4066
|
+
],
|
|
4067
|
+
responseTransformer: flightsControllerCreateFlightV2V2ResponseTransformer,
|
|
4068
|
+
url: "/v2/flights",
|
|
4069
|
+
...options,
|
|
4070
|
+
headers: {
|
|
4071
|
+
"Content-Type": "application/json",
|
|
4072
|
+
...options.headers,
|
|
4073
|
+
},
|
|
4074
|
+
});
|
|
4075
|
+
};
|
|
4076
|
+
|
|
4077
|
+
/**
|
|
4078
|
+
* Get the provenance signing key (mission-fulfillment)
|
|
4079
|
+
* Returns the provenance key from mission-fulfillment.
|
|
4080
|
+
*/
|
|
4081
|
+
export const flightsControllerGetProvenanceKeyV2V2 = <
|
|
4082
|
+
ThrowOnError extends boolean = true,
|
|
4083
|
+
>(
|
|
4084
|
+
options?: Options<FlightsControllerGetProvenanceKeyV2V2Data, ThrowOnError>,
|
|
4085
|
+
) => {
|
|
4086
|
+
return (options?.client ?? _heyApiClient).get<
|
|
4087
|
+
FlightsControllerGetProvenanceKeyV2V2Responses,
|
|
4088
|
+
FlightsControllerGetProvenanceKeyV2V2Errors,
|
|
4089
|
+
ThrowOnError
|
|
4090
|
+
>({
|
|
4091
|
+
security: [
|
|
4092
|
+
{
|
|
4093
|
+
name: "x-api-token",
|
|
4094
|
+
type: "apiKey",
|
|
4095
|
+
},
|
|
4096
|
+
],
|
|
4097
|
+
url: "/v2/flights/provenance-key",
|
|
4098
|
+
...options,
|
|
4099
|
+
});
|
|
4100
|
+
};
|
|
4101
|
+
|
|
4102
|
+
/**
|
|
4103
|
+
* Get a flight by id (mission-fulfillment)
|
|
4104
|
+
* Returns a flight from mission-fulfillment.
|
|
4105
|
+
*/
|
|
4106
|
+
export const flightsControllerGetFlightV2V2 = <
|
|
4107
|
+
ThrowOnError extends boolean = true,
|
|
4108
|
+
>(
|
|
4109
|
+
options: Options<FlightsControllerGetFlightV2V2Data, ThrowOnError>,
|
|
4110
|
+
) => {
|
|
4111
|
+
return (options.client ?? _heyApiClient).get<
|
|
4112
|
+
FlightsControllerGetFlightV2V2Responses,
|
|
4113
|
+
FlightsControllerGetFlightV2V2Errors,
|
|
4114
|
+
ThrowOnError
|
|
4115
|
+
>({
|
|
4116
|
+
security: [
|
|
4117
|
+
{
|
|
4118
|
+
name: "x-api-token",
|
|
4119
|
+
type: "apiKey",
|
|
4120
|
+
},
|
|
4121
|
+
],
|
|
4122
|
+
responseTransformer: flightsControllerGetFlightV2V2ResponseTransformer,
|
|
4123
|
+
url: "/v2/flights/{id}",
|
|
4124
|
+
...options,
|
|
4125
|
+
});
|
|
4126
|
+
};
|
|
4127
|
+
|
|
4128
|
+
/**
|
|
4129
|
+
* List a flight's expected images (mission-fulfillment)
|
|
4130
|
+
* Returns a flight's expected images from mission-fulfillment.
|
|
4131
|
+
*/
|
|
4132
|
+
export const flightsControllerGetExpectedImagesV2V2 = <
|
|
4133
|
+
ThrowOnError extends boolean = true,
|
|
4134
|
+
>(
|
|
4135
|
+
options: Options<FlightsControllerGetExpectedImagesV2V2Data, ThrowOnError>,
|
|
4136
|
+
) => {
|
|
4137
|
+
return (options.client ?? _heyApiClient).get<
|
|
4138
|
+
FlightsControllerGetExpectedImagesV2V2Responses,
|
|
4139
|
+
FlightsControllerGetExpectedImagesV2V2Errors,
|
|
4140
|
+
ThrowOnError
|
|
4141
|
+
>({
|
|
4142
|
+
security: [
|
|
4143
|
+
{
|
|
4144
|
+
name: "x-api-token",
|
|
4145
|
+
type: "apiKey",
|
|
4146
|
+
},
|
|
4147
|
+
],
|
|
4148
|
+
url: "/v2/flights/{id}/expected-images",
|
|
4149
|
+
...options,
|
|
4150
|
+
});
|
|
4151
|
+
};
|
|
4152
|
+
|
|
4153
|
+
/**
|
|
4154
|
+
* Get a flight's provenance upload URL (mission-fulfillment)
|
|
4155
|
+
* Returns a flight's provenance upload URL from mission-fulfillment.
|
|
4156
|
+
*/
|
|
4157
|
+
export const flightsControllerGetProvenanceUploadUrlV2V2 = <
|
|
4158
|
+
ThrowOnError extends boolean = true,
|
|
4159
|
+
>(
|
|
4160
|
+
options: Options<
|
|
4161
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Data,
|
|
4162
|
+
ThrowOnError
|
|
4163
|
+
>,
|
|
4164
|
+
) => {
|
|
4165
|
+
return (options.client ?? _heyApiClient).get<
|
|
4166
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Responses,
|
|
4167
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Errors,
|
|
4168
|
+
ThrowOnError
|
|
4169
|
+
>({
|
|
4170
|
+
security: [
|
|
4171
|
+
{
|
|
4172
|
+
name: "x-api-token",
|
|
4173
|
+
type: "apiKey",
|
|
4174
|
+
},
|
|
4175
|
+
],
|
|
4176
|
+
url: "/v2/flights/{id}/provenance-upload-url",
|
|
4177
|
+
...options,
|
|
4178
|
+
});
|
|
4179
|
+
};
|
|
4180
|
+
|
|
4181
|
+
/**
|
|
4182
|
+
* Get a flight's review (mission-fulfillment)
|
|
4183
|
+
* Returns a flight's review from mission-fulfillment.
|
|
4184
|
+
*/
|
|
4185
|
+
export const flightsControllerGetReviewV2V2 = <
|
|
4186
|
+
ThrowOnError extends boolean = true,
|
|
4187
|
+
>(
|
|
4188
|
+
options: Options<FlightsControllerGetReviewV2V2Data, ThrowOnError>,
|
|
4189
|
+
) => {
|
|
4190
|
+
return (options.client ?? _heyApiClient).get<
|
|
4191
|
+
FlightsControllerGetReviewV2V2Responses,
|
|
4192
|
+
FlightsControllerGetReviewV2V2Errors,
|
|
4193
|
+
ThrowOnError
|
|
4194
|
+
>({
|
|
4195
|
+
security: [
|
|
4196
|
+
{
|
|
4197
|
+
name: "x-api-token",
|
|
4198
|
+
type: "apiKey",
|
|
4199
|
+
},
|
|
4200
|
+
],
|
|
4201
|
+
responseTransformer: flightsControllerGetReviewV2V2ResponseTransformer,
|
|
4202
|
+
url: "/v2/flights/{id}/review",
|
|
4203
|
+
...options,
|
|
4204
|
+
});
|
|
4205
|
+
};
|
|
4206
|
+
|
|
4207
|
+
/**
|
|
4208
|
+
* Request a flight's review (mission-fulfillment)
|
|
4209
|
+
* Requests a review for a flight in mission-fulfillment.
|
|
4210
|
+
*/
|
|
4211
|
+
export const flightsControllerRequestReviewV2V2 = <
|
|
4212
|
+
ThrowOnError extends boolean = true,
|
|
4213
|
+
>(
|
|
4214
|
+
options: Options<FlightsControllerRequestReviewV2V2Data, ThrowOnError>,
|
|
4215
|
+
) => {
|
|
4216
|
+
return (options.client ?? _heyApiClient).post<
|
|
4217
|
+
FlightsControllerRequestReviewV2V2Responses,
|
|
4218
|
+
FlightsControllerRequestReviewV2V2Errors,
|
|
4219
|
+
ThrowOnError
|
|
4220
|
+
>({
|
|
4221
|
+
security: [
|
|
4222
|
+
{
|
|
4223
|
+
name: "x-api-token",
|
|
4224
|
+
type: "apiKey",
|
|
4225
|
+
},
|
|
4226
|
+
],
|
|
4227
|
+
responseTransformer: flightsControllerRequestReviewV2V2ResponseTransformer,
|
|
4228
|
+
url: "/v2/flights/{id}/review",
|
|
4229
|
+
...options,
|
|
4230
|
+
});
|
|
4231
|
+
};
|
|
4232
|
+
|
|
4233
|
+
/**
|
|
4234
|
+
* Create expected-image upload URLs (mission-fulfillment)
|
|
4235
|
+
* Creates upload URLs for a flight's expected images in mission-fulfillment.
|
|
4236
|
+
*/
|
|
4237
|
+
export const flightsControllerImageUploadUrlsV2V2 = <
|
|
4238
|
+
ThrowOnError extends boolean = true,
|
|
4239
|
+
>(
|
|
4240
|
+
options: Options<FlightsControllerImageUploadUrlsV2V2Data, ThrowOnError>,
|
|
4241
|
+
) => {
|
|
4242
|
+
return (options.client ?? _heyApiClient).post<
|
|
4243
|
+
FlightsControllerImageUploadUrlsV2V2Responses,
|
|
4244
|
+
FlightsControllerImageUploadUrlsV2V2Errors,
|
|
4245
|
+
ThrowOnError
|
|
4246
|
+
>({
|
|
4247
|
+
security: [
|
|
4248
|
+
{
|
|
4249
|
+
name: "x-api-token",
|
|
4250
|
+
type: "apiKey",
|
|
4251
|
+
},
|
|
4252
|
+
],
|
|
4253
|
+
url: "/v2/flights/{id}/expected-images/upload-urls",
|
|
4254
|
+
...options,
|
|
4255
|
+
headers: {
|
|
4256
|
+
"Content-Type": "application/json",
|
|
4257
|
+
...options.headers,
|
|
4258
|
+
},
|
|
4259
|
+
});
|
|
4260
|
+
};
|
|
4261
|
+
|
|
4262
|
+
/**
|
|
4263
|
+
* Submit a flight's provenance (mission-fulfillment)
|
|
4264
|
+
* Submits a flight's provenance to mission-fulfillment.
|
|
4265
|
+
*/
|
|
4266
|
+
export const flightsControllerSubmitProvenanceV2V2 = <
|
|
4267
|
+
ThrowOnError extends boolean = true,
|
|
4268
|
+
>(
|
|
4269
|
+
options: Options<FlightsControllerSubmitProvenanceV2V2Data, ThrowOnError>,
|
|
4270
|
+
) => {
|
|
4271
|
+
return (options.client ?? _heyApiClient).post<
|
|
4272
|
+
FlightsControllerSubmitProvenanceV2V2Responses,
|
|
4273
|
+
FlightsControllerSubmitProvenanceV2V2Errors,
|
|
4274
|
+
ThrowOnError
|
|
4275
|
+
>({
|
|
4276
|
+
security: [
|
|
4277
|
+
{
|
|
4278
|
+
name: "x-api-token",
|
|
4279
|
+
type: "apiKey",
|
|
4280
|
+
},
|
|
4281
|
+
],
|
|
4282
|
+
responseTransformer:
|
|
4283
|
+
flightsControllerSubmitProvenanceV2V2ResponseTransformer,
|
|
4284
|
+
url: "/v2/flights/{id}/provenance",
|
|
4285
|
+
...options,
|
|
4286
|
+
});
|
|
4287
|
+
};
|
|
4288
|
+
|
|
4289
|
+
/**
|
|
4290
|
+
* Get missions (mission-fulfillment)
|
|
4291
|
+
* Returns missions from mission-fulfillment.
|
|
4292
|
+
*/
|
|
4293
|
+
export const missionsControllerGetMissionsV2V2 = <
|
|
4294
|
+
ThrowOnError extends boolean = true,
|
|
4295
|
+
>(
|
|
4296
|
+
options?: Options<MissionsControllerGetMissionsV2V2Data, ThrowOnError>,
|
|
4297
|
+
) => {
|
|
4298
|
+
return (options?.client ?? _heyApiClient).get<
|
|
4299
|
+
MissionsControllerGetMissionsV2V2Responses,
|
|
4300
|
+
MissionsControllerGetMissionsV2V2Errors,
|
|
4301
|
+
ThrowOnError
|
|
4302
|
+
>({
|
|
4303
|
+
security: [
|
|
4304
|
+
{
|
|
4305
|
+
name: "x-api-token",
|
|
4306
|
+
type: "apiKey",
|
|
4307
|
+
},
|
|
4308
|
+
],
|
|
4309
|
+
responseTransformer: missionsControllerGetMissionsV2V2ResponseTransformer,
|
|
4310
|
+
url: "/v2/missions",
|
|
4311
|
+
...options,
|
|
4312
|
+
});
|
|
4313
|
+
};
|
|
4314
|
+
|
|
4315
|
+
/**
|
|
4316
|
+
* Create new missions (mission-fulfillment)
|
|
4317
|
+
* Creates missions in mission-fulfillment.
|
|
4318
|
+
*/
|
|
4319
|
+
export const missionsControllerCreateMissionsV2V2 = <
|
|
4320
|
+
ThrowOnError extends boolean = true,
|
|
4321
|
+
>(
|
|
4322
|
+
options: Options<MissionsControllerCreateMissionsV2V2Data, ThrowOnError>,
|
|
4323
|
+
) => {
|
|
4324
|
+
return (options.client ?? _heyApiClient).post<
|
|
4325
|
+
MissionsControllerCreateMissionsV2V2Responses,
|
|
4326
|
+
MissionsControllerCreateMissionsV2V2Errors,
|
|
4327
|
+
ThrowOnError
|
|
4328
|
+
>({
|
|
4329
|
+
security: [
|
|
4330
|
+
{
|
|
4331
|
+
name: "x-api-token",
|
|
4332
|
+
type: "apiKey",
|
|
4333
|
+
},
|
|
4334
|
+
],
|
|
4335
|
+
responseTransformer:
|
|
4336
|
+
missionsControllerCreateMissionsV2V2ResponseTransformer,
|
|
4337
|
+
url: "/v2/missions",
|
|
4338
|
+
...options,
|
|
4339
|
+
headers: {
|
|
4340
|
+
"Content-Type": "application/json",
|
|
4341
|
+
...options.headers,
|
|
4342
|
+
},
|
|
4343
|
+
});
|
|
4344
|
+
};
|
|
4345
|
+
|
|
4346
|
+
/**
|
|
4347
|
+
* Get a mission by ID (mission-fulfillment)
|
|
4348
|
+
* Returns a mission from mission-fulfillment.
|
|
4349
|
+
*/
|
|
4350
|
+
export const missionsControllerGetMissionV2V2 = <
|
|
4351
|
+
ThrowOnError extends boolean = true,
|
|
4352
|
+
>(
|
|
4353
|
+
options: Options<MissionsControllerGetMissionV2V2Data, ThrowOnError>,
|
|
4354
|
+
) => {
|
|
4355
|
+
return (options.client ?? _heyApiClient).get<
|
|
4356
|
+
MissionsControllerGetMissionV2V2Responses,
|
|
4357
|
+
MissionsControllerGetMissionV2V2Errors,
|
|
4358
|
+
ThrowOnError
|
|
4359
|
+
>({
|
|
4360
|
+
security: [
|
|
4361
|
+
{
|
|
4362
|
+
name: "x-api-token",
|
|
4363
|
+
type: "apiKey",
|
|
4364
|
+
},
|
|
4365
|
+
],
|
|
4366
|
+
responseTransformer: missionsControllerGetMissionV2V2ResponseTransformer,
|
|
4367
|
+
url: "/v2/missions/{id}",
|
|
4368
|
+
...options,
|
|
4369
|
+
});
|
|
4370
|
+
};
|
|
4371
|
+
|
|
4372
|
+
/**
|
|
4373
|
+
* Update a mission (mission-fulfillment)
|
|
4374
|
+
* Updates a mission in mission-fulfillment.
|
|
4375
|
+
*/
|
|
4376
|
+
export const missionsControllerUpdateMissionV2V2 = <
|
|
4377
|
+
ThrowOnError extends boolean = true,
|
|
4378
|
+
>(
|
|
4379
|
+
options: Options<MissionsControllerUpdateMissionV2V2Data, ThrowOnError>,
|
|
4380
|
+
) => {
|
|
4381
|
+
return (options.client ?? _heyApiClient).patch<
|
|
4382
|
+
MissionsControllerUpdateMissionV2V2Responses,
|
|
4383
|
+
MissionsControllerUpdateMissionV2V2Errors,
|
|
4384
|
+
ThrowOnError
|
|
4385
|
+
>({
|
|
4386
|
+
security: [
|
|
4387
|
+
{
|
|
4388
|
+
name: "x-api-token",
|
|
4389
|
+
type: "apiKey",
|
|
4390
|
+
},
|
|
4391
|
+
],
|
|
4392
|
+
responseTransformer: missionsControllerUpdateMissionV2V2ResponseTransformer,
|
|
4393
|
+
url: "/v2/missions/{id}",
|
|
4394
|
+
...options,
|
|
4395
|
+
headers: {
|
|
4396
|
+
"Content-Type": "application/json",
|
|
4397
|
+
...options.headers,
|
|
4398
|
+
},
|
|
4399
|
+
});
|
|
4400
|
+
};
|
|
4401
|
+
|
|
4402
|
+
/**
|
|
4403
|
+
* Cancel a mission (mission-fulfillment)
|
|
4404
|
+
* Cancels a mission in mission-fulfillment.
|
|
4405
|
+
*/
|
|
4406
|
+
export const missionsControllerCancelMissionV2V2 = <
|
|
4407
|
+
ThrowOnError extends boolean = true,
|
|
4408
|
+
>(
|
|
4409
|
+
options: Options<MissionsControllerCancelMissionV2V2Data, ThrowOnError>,
|
|
4410
|
+
) => {
|
|
4411
|
+
return (options.client ?? _heyApiClient).post<
|
|
4412
|
+
MissionsControllerCancelMissionV2V2Responses,
|
|
4413
|
+
MissionsControllerCancelMissionV2V2Errors,
|
|
4414
|
+
ThrowOnError
|
|
4415
|
+
>({
|
|
4416
|
+
security: [
|
|
4417
|
+
{
|
|
4418
|
+
name: "x-api-token",
|
|
4419
|
+
type: "apiKey",
|
|
4420
|
+
},
|
|
4421
|
+
],
|
|
4422
|
+
responseTransformer: missionsControllerCancelMissionV2V2ResponseTransformer,
|
|
4423
|
+
url: "/v2/missions/{id}/cancel",
|
|
4424
|
+
...options,
|
|
4425
|
+
});
|
|
4426
|
+
};
|
|
4427
|
+
|
|
4428
|
+
/**
|
|
4429
|
+
* Re-emit a Mission's Outbound Command (mission-fulfillment)
|
|
4430
|
+
* Proxied to mission-fulfillment.
|
|
4431
|
+
*/
|
|
4432
|
+
export const missionsControllerRetryMissionV2V2 = <
|
|
4433
|
+
ThrowOnError extends boolean = true,
|
|
4434
|
+
>(
|
|
4435
|
+
options: Options<MissionsControllerRetryMissionV2V2Data, ThrowOnError>,
|
|
4436
|
+
) => {
|
|
4437
|
+
return (options.client ?? _heyApiClient).post<
|
|
4438
|
+
MissionsControllerRetryMissionV2V2Responses,
|
|
4439
|
+
MissionsControllerRetryMissionV2V2Errors,
|
|
4440
|
+
ThrowOnError
|
|
4441
|
+
>({
|
|
4442
|
+
security: [
|
|
4443
|
+
{
|
|
4444
|
+
name: "x-api-token",
|
|
4445
|
+
type: "apiKey",
|
|
4446
|
+
},
|
|
4447
|
+
],
|
|
4448
|
+
responseTransformer: missionsControllerRetryMissionV2V2ResponseTransformer,
|
|
4449
|
+
url: "/v2/missions/{id}/retry",
|
|
4450
|
+
...options,
|
|
4451
|
+
});
|
|
4452
|
+
};
|
|
4453
|
+
|
|
4454
|
+
/**
|
|
4455
|
+
* List rewards (mission-fulfillment)
|
|
4456
|
+
* Returns rewards from mission-fulfillment.
|
|
4457
|
+
*/
|
|
4458
|
+
export const rewardsControllerListRewardsV2V2 = <
|
|
4459
|
+
ThrowOnError extends boolean = true,
|
|
4460
|
+
>(
|
|
4461
|
+
options?: Options<RewardsControllerListRewardsV2V2Data, ThrowOnError>,
|
|
4462
|
+
) => {
|
|
4463
|
+
return (options?.client ?? _heyApiClient).get<
|
|
4464
|
+
RewardsControllerListRewardsV2V2Responses,
|
|
4465
|
+
RewardsControllerListRewardsV2V2Errors,
|
|
4466
|
+
ThrowOnError
|
|
4467
|
+
>({
|
|
4468
|
+
security: [
|
|
4469
|
+
{
|
|
4470
|
+
name: "x-api-token",
|
|
4471
|
+
type: "apiKey",
|
|
4472
|
+
},
|
|
4473
|
+
],
|
|
4474
|
+
responseTransformer: rewardsControllerListRewardsV2V2ResponseTransformer,
|
|
4475
|
+
url: "/v2/rewards",
|
|
4476
|
+
...options,
|
|
4477
|
+
});
|
|
4478
|
+
};
|
|
4479
|
+
|
|
4480
|
+
/**
|
|
4481
|
+
* Create zones (mission-fulfillment)
|
|
4482
|
+
* Creates one or more zones in mission-fulfillment.
|
|
4483
|
+
*/
|
|
4484
|
+
export const zonesControllerCreateZonesV2V2 = <
|
|
4485
|
+
ThrowOnError extends boolean = true,
|
|
4486
|
+
>(
|
|
4487
|
+
options: Options<ZonesControllerCreateZonesV2V2Data, ThrowOnError>,
|
|
4488
|
+
) => {
|
|
4489
|
+
return (options.client ?? _heyApiClient).post<
|
|
4490
|
+
ZonesControllerCreateZonesV2V2Responses,
|
|
4491
|
+
ZonesControllerCreateZonesV2V2Errors,
|
|
4492
|
+
ThrowOnError
|
|
4493
|
+
>({
|
|
4494
|
+
security: [
|
|
4495
|
+
{
|
|
4496
|
+
name: "x-api-token",
|
|
4497
|
+
type: "apiKey",
|
|
4498
|
+
},
|
|
4499
|
+
],
|
|
4500
|
+
url: "/v2/zones",
|
|
4501
|
+
...options,
|
|
4502
|
+
headers: {
|
|
4503
|
+
"Content-Type": "application/json",
|
|
4504
|
+
...options.headers,
|
|
4505
|
+
},
|
|
4506
|
+
});
|
|
4507
|
+
};
|
|
4508
|
+
|
|
4509
|
+
/**
|
|
4510
|
+
* Get a zone by id (mission-fulfillment)
|
|
4511
|
+
* Returns a zone from mission-fulfillment.
|
|
4512
|
+
*/
|
|
4513
|
+
export const zonesControllerGetZoneV2V2 = <ThrowOnError extends boolean = true>(
|
|
4514
|
+
options: Options<ZonesControllerGetZoneV2V2Data, ThrowOnError>,
|
|
4515
|
+
) => {
|
|
4516
|
+
return (options.client ?? _heyApiClient).get<
|
|
4517
|
+
ZonesControllerGetZoneV2V2Responses,
|
|
4518
|
+
ZonesControllerGetZoneV2V2Errors,
|
|
4519
|
+
ThrowOnError
|
|
4520
|
+
>({
|
|
4521
|
+
security: [
|
|
4522
|
+
{
|
|
4523
|
+
name: "x-api-token",
|
|
4524
|
+
type: "apiKey",
|
|
4525
|
+
},
|
|
4526
|
+
],
|
|
4527
|
+
responseTransformer: zonesControllerGetZoneV2V2ResponseTransformer,
|
|
4528
|
+
url: "/v2/zones/{id}",
|
|
4529
|
+
...options,
|
|
4530
|
+
});
|
|
4531
|
+
};
|
|
4532
|
+
|
|
4533
|
+
/**
|
|
4534
|
+
* Update a zone (mission-fulfillment)
|
|
4535
|
+
* Updates a zone in mission-fulfillment.
|
|
4536
|
+
*/
|
|
4537
|
+
export const zonesControllerUpdateZoneV2V2 = <
|
|
4538
|
+
ThrowOnError extends boolean = true,
|
|
4539
|
+
>(
|
|
4540
|
+
options: Options<ZonesControllerUpdateZoneV2V2Data, ThrowOnError>,
|
|
4541
|
+
) => {
|
|
4542
|
+
return (options.client ?? _heyApiClient).put<
|
|
4543
|
+
ZonesControllerUpdateZoneV2V2Responses,
|
|
4544
|
+
ZonesControllerUpdateZoneV2V2Errors,
|
|
4545
|
+
ThrowOnError
|
|
4546
|
+
>({
|
|
4547
|
+
security: [
|
|
4548
|
+
{
|
|
4549
|
+
name: "x-api-token",
|
|
4550
|
+
type: "apiKey",
|
|
4551
|
+
},
|
|
4552
|
+
],
|
|
4553
|
+
responseTransformer: zonesControllerUpdateZoneV2V2ResponseTransformer,
|
|
4554
|
+
url: "/v2/zones/{id}",
|
|
4555
|
+
...options,
|
|
4556
|
+
headers: {
|
|
4557
|
+
"Content-Type": "application/json",
|
|
4558
|
+
...options.headers,
|
|
4559
|
+
},
|
|
4560
|
+
});
|
|
4561
|
+
};
|