@layer-drone/protocol 1.0.3 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1188 -157
- package/dist/index.d.ts +1188 -157
- package/dist/index.js +840 -19
- package/dist/index.mjs +808 -16
- package/package.json +6 -4
- package/src/client/client.gen.ts +5 -1
- package/src/client/sdk.gen.ts +1156 -173
- package/src/client/transformers.gen.ts +374 -0
- package/src/client/types.gen.ts +1476 -136
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,9 @@ import type {
|
|
|
182
226
|
FlightPlansControllerCreate1Data,
|
|
183
227
|
FlightPlansControllerCreate1Errors,
|
|
184
228
|
FlightPlansControllerCreate1Responses,
|
|
229
|
+
FlightPlansControllerCreateV2V2Data,
|
|
230
|
+
FlightPlansControllerCreateV2V2Errors,
|
|
231
|
+
FlightPlansControllerCreateV2V2Responses,
|
|
185
232
|
FlightPlansControllerGet0V1Data,
|
|
186
233
|
FlightPlansControllerGet0V1Errors,
|
|
187
234
|
FlightPlansControllerGet0V1Responses,
|
|
@@ -194,6 +241,15 @@ import type {
|
|
|
194
241
|
FlightPlansControllerGetMany1Data,
|
|
195
242
|
FlightPlansControllerGetMany1Errors,
|
|
196
243
|
FlightPlansControllerGetMany1Responses,
|
|
244
|
+
FlightPlansControllerGetManyV2V2Data,
|
|
245
|
+
FlightPlansControllerGetManyV2V2Errors,
|
|
246
|
+
FlightPlansControllerGetManyV2V2Responses,
|
|
247
|
+
FlightPlansControllerGetV2V2Data,
|
|
248
|
+
FlightPlansControllerGetV2V2Errors,
|
|
249
|
+
FlightPlansControllerGetV2V2Responses,
|
|
250
|
+
FlightPlansControllerUpdateV2V2Data,
|
|
251
|
+
FlightPlansControllerUpdateV2V2Errors,
|
|
252
|
+
FlightPlansControllerUpdateV2V2Responses,
|
|
197
253
|
FlightReviewsControllerGetFlightReview0V1Data,
|
|
198
254
|
FlightReviewsControllerGetFlightReview0V1Errors,
|
|
199
255
|
FlightReviewsControllerGetFlightReview0V1Responses,
|
|
@@ -206,6 +262,9 @@ import type {
|
|
|
206
262
|
FlightReviewsControllerGetFlightReviews1Data,
|
|
207
263
|
FlightReviewsControllerGetFlightReviews1Errors,
|
|
208
264
|
FlightReviewsControllerGetFlightReviews1Responses,
|
|
265
|
+
FlightsControllerCreateFlightV2V2Data,
|
|
266
|
+
FlightsControllerCreateFlightV2V2Errors,
|
|
267
|
+
FlightsControllerCreateFlightV2V2Responses,
|
|
209
268
|
FlightsControllerCreatePresignedUrls0V1Data,
|
|
210
269
|
FlightsControllerCreatePresignedUrls0V1Errors,
|
|
211
270
|
FlightsControllerCreatePresignedUrls0V1Responses,
|
|
@@ -218,12 +277,39 @@ import type {
|
|
|
218
277
|
FlightsControllerGenerateStorageKey1Data,
|
|
219
278
|
FlightsControllerGenerateStorageKey1Errors,
|
|
220
279
|
FlightsControllerGenerateStorageKey1Responses,
|
|
280
|
+
FlightsControllerGetExpectedImagesV2V2Data,
|
|
281
|
+
FlightsControllerGetExpectedImagesV2V2Errors,
|
|
282
|
+
FlightsControllerGetExpectedImagesV2V2Responses,
|
|
221
283
|
FlightsControllerGetFlight0V1Data,
|
|
222
284
|
FlightsControllerGetFlight0V1Errors,
|
|
223
285
|
FlightsControllerGetFlight0V1Responses,
|
|
224
286
|
FlightsControllerGetFlight1Data,
|
|
225
287
|
FlightsControllerGetFlight1Errors,
|
|
226
288
|
FlightsControllerGetFlight1Responses,
|
|
289
|
+
FlightsControllerGetFlightV2V2Data,
|
|
290
|
+
FlightsControllerGetFlightV2V2Errors,
|
|
291
|
+
FlightsControllerGetFlightV2V2Responses,
|
|
292
|
+
FlightsControllerGetFlightsV2V2Data,
|
|
293
|
+
FlightsControllerGetFlightsV2V2Errors,
|
|
294
|
+
FlightsControllerGetFlightsV2V2Responses,
|
|
295
|
+
FlightsControllerGetProvenanceKeyV2V2Data,
|
|
296
|
+
FlightsControllerGetProvenanceKeyV2V2Errors,
|
|
297
|
+
FlightsControllerGetProvenanceKeyV2V2Responses,
|
|
298
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Data,
|
|
299
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Errors,
|
|
300
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Responses,
|
|
301
|
+
FlightsControllerGetReviewV2V2Data,
|
|
302
|
+
FlightsControllerGetReviewV2V2Errors,
|
|
303
|
+
FlightsControllerGetReviewV2V2Responses,
|
|
304
|
+
FlightsControllerImageUploadUrlsV2V2Data,
|
|
305
|
+
FlightsControllerImageUploadUrlsV2V2Errors,
|
|
306
|
+
FlightsControllerImageUploadUrlsV2V2Responses,
|
|
307
|
+
FlightsControllerRequestReviewV2V2Data,
|
|
308
|
+
FlightsControllerRequestReviewV2V2Errors,
|
|
309
|
+
FlightsControllerRequestReviewV2V2Responses,
|
|
310
|
+
FlightsControllerSubmitProvenanceV2V2Data,
|
|
311
|
+
FlightsControllerSubmitProvenanceV2V2Errors,
|
|
312
|
+
FlightsControllerSubmitProvenanceV2V2Responses,
|
|
227
313
|
FlightsControllerValidateFlight0V1Data,
|
|
228
314
|
FlightsControllerValidateFlight0V1Errors,
|
|
229
315
|
FlightsControllerValidateFlight0V1Responses,
|
|
@@ -270,30 +356,48 @@ import type {
|
|
|
270
356
|
ListProposalsData,
|
|
271
357
|
ListProposalsErrors,
|
|
272
358
|
ListProposalsResponses,
|
|
359
|
+
MissionsControllerCancelMissionV2V2Data,
|
|
360
|
+
MissionsControllerCancelMissionV2V2Errors,
|
|
361
|
+
MissionsControllerCancelMissionV2V2Responses,
|
|
273
362
|
MissionsControllerCreateMissions0V1Data,
|
|
274
363
|
MissionsControllerCreateMissions0V1Errors,
|
|
275
364
|
MissionsControllerCreateMissions0V1Responses,
|
|
276
365
|
MissionsControllerCreateMissions1Data,
|
|
277
366
|
MissionsControllerCreateMissions1Errors,
|
|
278
367
|
MissionsControllerCreateMissions1Responses,
|
|
368
|
+
MissionsControllerCreateMissionsV2V2Data,
|
|
369
|
+
MissionsControllerCreateMissionsV2V2Errors,
|
|
370
|
+
MissionsControllerCreateMissionsV2V2Responses,
|
|
279
371
|
MissionsControllerGetMission0V1Data,
|
|
280
372
|
MissionsControllerGetMission0V1Errors,
|
|
281
373
|
MissionsControllerGetMission0V1Responses,
|
|
282
374
|
MissionsControllerGetMission1Data,
|
|
283
375
|
MissionsControllerGetMission1Errors,
|
|
284
376
|
MissionsControllerGetMission1Responses,
|
|
377
|
+
MissionsControllerGetMissionV2V2Data,
|
|
378
|
+
MissionsControllerGetMissionV2V2Errors,
|
|
379
|
+
MissionsControllerGetMissionV2V2Responses,
|
|
285
380
|
MissionsControllerGetMissions0V1Data,
|
|
286
381
|
MissionsControllerGetMissions0V1Errors,
|
|
287
382
|
MissionsControllerGetMissions0V1Responses,
|
|
288
383
|
MissionsControllerGetMissions1Data,
|
|
289
384
|
MissionsControllerGetMissions1Errors,
|
|
290
385
|
MissionsControllerGetMissions1Responses,
|
|
386
|
+
MissionsControllerGetMissionsV2V2Data,
|
|
387
|
+
MissionsControllerGetMissionsV2V2Errors,
|
|
388
|
+
MissionsControllerGetMissionsV2V2Responses,
|
|
291
389
|
MissionsControllerRepriceMissions0V1Data,
|
|
292
390
|
MissionsControllerRepriceMissions0V1Errors,
|
|
293
391
|
MissionsControllerRepriceMissions0V1Responses,
|
|
294
392
|
MissionsControllerRepriceMissions1Data,
|
|
295
393
|
MissionsControllerRepriceMissions1Errors,
|
|
296
394
|
MissionsControllerRepriceMissions1Responses,
|
|
395
|
+
MissionsControllerRetryMissionV2V2Data,
|
|
396
|
+
MissionsControllerRetryMissionV2V2Errors,
|
|
397
|
+
MissionsControllerRetryMissionV2V2Responses,
|
|
398
|
+
MissionsControllerUpdateMissionV2V2Data,
|
|
399
|
+
MissionsControllerUpdateMissionV2V2Errors,
|
|
400
|
+
MissionsControllerUpdateMissionV2V2Responses,
|
|
297
401
|
MissionsControllerUpdateMissions0V1Data,
|
|
298
402
|
MissionsControllerUpdateMissions0V1Errors,
|
|
299
403
|
MissionsControllerUpdateMissions0V1Responses,
|
|
@@ -327,10 +431,9 @@ import type {
|
|
|
327
431
|
ReviewProposalData,
|
|
328
432
|
ReviewProposalErrors,
|
|
329
433
|
ReviewProposalResponses,
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
SchemaControllerGetEventSchema1Responses,
|
|
434
|
+
RewardsControllerListRewardsV2V2Data,
|
|
435
|
+
RewardsControllerListRewardsV2V2Errors,
|
|
436
|
+
RewardsControllerListRewardsV2V2Responses,
|
|
334
437
|
SubmitProposalData,
|
|
335
438
|
SubmitProposalErrors,
|
|
336
439
|
SubmitProposalResponses,
|
|
@@ -394,6 +497,9 @@ import type {
|
|
|
394
497
|
ZonesControllerCreateZone1Data,
|
|
395
498
|
ZonesControllerCreateZone1Errors,
|
|
396
499
|
ZonesControllerCreateZone1Responses,
|
|
500
|
+
ZonesControllerCreateZonesV2V2Data,
|
|
501
|
+
ZonesControllerCreateZonesV2V2Errors,
|
|
502
|
+
ZonesControllerCreateZonesV2V2Responses,
|
|
397
503
|
ZonesControllerDeleteZone0V1Data,
|
|
398
504
|
ZonesControllerDeleteZone0V1Errors,
|
|
399
505
|
ZonesControllerDeleteZone0V1Responses,
|
|
@@ -406,12 +512,18 @@ import type {
|
|
|
406
512
|
ZonesControllerGetZone1Data,
|
|
407
513
|
ZonesControllerGetZone1Errors,
|
|
408
514
|
ZonesControllerGetZone1Responses,
|
|
515
|
+
ZonesControllerGetZoneV2V2Data,
|
|
516
|
+
ZonesControllerGetZoneV2V2Errors,
|
|
517
|
+
ZonesControllerGetZoneV2V2Responses,
|
|
409
518
|
ZonesControllerUpdateZone0V1Data,
|
|
410
519
|
ZonesControllerUpdateZone0V1Errors,
|
|
411
520
|
ZonesControllerUpdateZone0V1Responses,
|
|
412
521
|
ZonesControllerUpdateZone1Data,
|
|
413
522
|
ZonesControllerUpdateZone1Errors,
|
|
414
523
|
ZonesControllerUpdateZone1Responses,
|
|
524
|
+
ZonesControllerUpdateZoneV2V2Data,
|
|
525
|
+
ZonesControllerUpdateZoneV2V2Errors,
|
|
526
|
+
ZonesControllerUpdateZoneV2V2Responses,
|
|
415
527
|
} from "./types.gen.js";
|
|
416
528
|
|
|
417
529
|
export type Options<
|
|
@@ -431,7 +543,7 @@ export type Options<
|
|
|
431
543
|
meta?: Record<string, unknown>;
|
|
432
544
|
};
|
|
433
545
|
|
|
434
|
-
export const apiControllerGetHello0V1 = <ThrowOnError extends boolean =
|
|
546
|
+
export const apiControllerGetHello0V1 = <ThrowOnError extends boolean = true>(
|
|
435
547
|
options?: Options<ApiControllerGetHello0V1Data, ThrowOnError>,
|
|
436
548
|
) => {
|
|
437
549
|
return (options?.client ?? _heyApiClient).get<
|
|
@@ -447,7 +559,7 @@ export const apiControllerGetHello0V1 = <ThrowOnError extends boolean = false>(
|
|
|
447
559
|
/**
|
|
448
560
|
* @deprecated
|
|
449
561
|
*/
|
|
450
|
-
export const apiControllerGetHello1 = <ThrowOnError extends boolean =
|
|
562
|
+
export const apiControllerGetHello1 = <ThrowOnError extends boolean = true>(
|
|
451
563
|
options?: Options<ApiControllerGetHello1Data, ThrowOnError>,
|
|
452
564
|
) => {
|
|
453
565
|
return (options?.client ?? _heyApiClient).get<
|
|
@@ -460,7 +572,7 @@ export const apiControllerGetHello1 = <ThrowOnError extends boolean = false>(
|
|
|
460
572
|
});
|
|
461
573
|
};
|
|
462
574
|
|
|
463
|
-
export const apiControllerGetError0V1 = <ThrowOnError extends boolean =
|
|
575
|
+
export const apiControllerGetError0V1 = <ThrowOnError extends boolean = true>(
|
|
464
576
|
options?: Options<ApiControllerGetError0V1Data, ThrowOnError>,
|
|
465
577
|
) => {
|
|
466
578
|
return (options?.client ?? _heyApiClient).get<
|
|
@@ -476,7 +588,7 @@ export const apiControllerGetError0V1 = <ThrowOnError extends boolean = false>(
|
|
|
476
588
|
/**
|
|
477
589
|
* @deprecated
|
|
478
590
|
*/
|
|
479
|
-
export const apiControllerGetError1 = <ThrowOnError extends boolean =
|
|
591
|
+
export const apiControllerGetError1 = <ThrowOnError extends boolean = true>(
|
|
480
592
|
options?: Options<ApiControllerGetError1Data, ThrowOnError>,
|
|
481
593
|
) => {
|
|
482
594
|
return (options?.client ?? _heyApiClient).get<
|
|
@@ -490,7 +602,7 @@ export const apiControllerGetError1 = <ThrowOnError extends boolean = false>(
|
|
|
490
602
|
};
|
|
491
603
|
|
|
492
604
|
export const apiTokenControllerCreateToken0V1 = <
|
|
493
|
-
ThrowOnError extends boolean =
|
|
605
|
+
ThrowOnError extends boolean = true,
|
|
494
606
|
>(
|
|
495
607
|
options: Options<ApiTokenControllerCreateToken0V1Data, ThrowOnError>,
|
|
496
608
|
) => {
|
|
@@ -518,7 +630,7 @@ export const apiTokenControllerCreateToken0V1 = <
|
|
|
518
630
|
* @deprecated
|
|
519
631
|
*/
|
|
520
632
|
export const apiTokenControllerCreateToken1 = <
|
|
521
|
-
ThrowOnError extends boolean =
|
|
633
|
+
ThrowOnError extends boolean = true,
|
|
522
634
|
>(
|
|
523
635
|
options: Options<ApiTokenControllerCreateToken1Data, ThrowOnError>,
|
|
524
636
|
) => {
|
|
@@ -543,7 +655,7 @@ export const apiTokenControllerCreateToken1 = <
|
|
|
543
655
|
};
|
|
544
656
|
|
|
545
657
|
export const apiTokenControllerDeleteToken0V1 = <
|
|
546
|
-
ThrowOnError extends boolean =
|
|
658
|
+
ThrowOnError extends boolean = true,
|
|
547
659
|
>(
|
|
548
660
|
options: Options<ApiTokenControllerDeleteToken0V1Data, ThrowOnError>,
|
|
549
661
|
) => {
|
|
@@ -564,7 +676,7 @@ export const apiTokenControllerDeleteToken0V1 = <
|
|
|
564
676
|
};
|
|
565
677
|
|
|
566
678
|
export const apiTokenControllerGetToken0V1 = <
|
|
567
|
-
ThrowOnError extends boolean =
|
|
679
|
+
ThrowOnError extends boolean = true,
|
|
568
680
|
>(
|
|
569
681
|
options: Options<ApiTokenControllerGetToken0V1Data, ThrowOnError>,
|
|
570
682
|
) => {
|
|
@@ -585,7 +697,7 @@ export const apiTokenControllerGetToken0V1 = <
|
|
|
585
697
|
};
|
|
586
698
|
|
|
587
699
|
export const apiTokenControllerUpdateToken0V1 = <
|
|
588
|
-
ThrowOnError extends boolean =
|
|
700
|
+
ThrowOnError extends boolean = true,
|
|
589
701
|
>(
|
|
590
702
|
options: Options<ApiTokenControllerUpdateToken0V1Data, ThrowOnError>,
|
|
591
703
|
) => {
|
|
@@ -614,7 +726,7 @@ export const apiTokenControllerUpdateToken0V1 = <
|
|
|
614
726
|
* @deprecated
|
|
615
727
|
*/
|
|
616
728
|
export const apiTokenControllerDeleteToken1 = <
|
|
617
|
-
ThrowOnError extends boolean =
|
|
729
|
+
ThrowOnError extends boolean = true,
|
|
618
730
|
>(
|
|
619
731
|
options: Options<ApiTokenControllerDeleteToken1Data, ThrowOnError>,
|
|
620
732
|
) => {
|
|
@@ -638,7 +750,7 @@ export const apiTokenControllerDeleteToken1 = <
|
|
|
638
750
|
* @deprecated
|
|
639
751
|
*/
|
|
640
752
|
export const apiTokenControllerGetToken1 = <
|
|
641
|
-
ThrowOnError extends boolean =
|
|
753
|
+
ThrowOnError extends boolean = true,
|
|
642
754
|
>(
|
|
643
755
|
options: Options<ApiTokenControllerGetToken1Data, ThrowOnError>,
|
|
644
756
|
) => {
|
|
@@ -662,7 +774,7 @@ export const apiTokenControllerGetToken1 = <
|
|
|
662
774
|
* @deprecated
|
|
663
775
|
*/
|
|
664
776
|
export const apiTokenControllerUpdateToken1 = <
|
|
665
|
-
ThrowOnError extends boolean =
|
|
777
|
+
ThrowOnError extends boolean = true,
|
|
666
778
|
>(
|
|
667
779
|
options: Options<ApiTokenControllerUpdateToken1Data, ThrowOnError>,
|
|
668
780
|
) => {
|
|
@@ -687,8 +799,65 @@ export const apiTokenControllerUpdateToken1 = <
|
|
|
687
799
|
});
|
|
688
800
|
};
|
|
689
801
|
|
|
802
|
+
/**
|
|
803
|
+
* Publish historic entity state to internal.backfill.* topics
|
|
804
|
+
* 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.
|
|
805
|
+
*/
|
|
806
|
+
export const backfillControllerTrigger0V1 = <
|
|
807
|
+
ThrowOnError extends boolean = true,
|
|
808
|
+
>(
|
|
809
|
+
options: Options<BackfillControllerTrigger0V1Data, ThrowOnError>,
|
|
810
|
+
) => {
|
|
811
|
+
return (options.client ?? _heyApiClient).post<
|
|
812
|
+
BackfillControllerTrigger0V1Responses,
|
|
813
|
+
BackfillControllerTrigger0V1Errors,
|
|
814
|
+
ThrowOnError
|
|
815
|
+
>({
|
|
816
|
+
security: [
|
|
817
|
+
{
|
|
818
|
+
name: "x-api-token",
|
|
819
|
+
type: "apiKey",
|
|
820
|
+
},
|
|
821
|
+
],
|
|
822
|
+
url: "/v1/backfill",
|
|
823
|
+
...options,
|
|
824
|
+
headers: {
|
|
825
|
+
"Content-Type": "application/json",
|
|
826
|
+
...options.headers,
|
|
827
|
+
},
|
|
828
|
+
});
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Publish historic entity state to internal.backfill.* topics
|
|
833
|
+
* 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.
|
|
834
|
+
* @deprecated
|
|
835
|
+
*/
|
|
836
|
+
export const backfillControllerTrigger1 = <ThrowOnError extends boolean = true>(
|
|
837
|
+
options: Options<BackfillControllerTrigger1Data, ThrowOnError>,
|
|
838
|
+
) => {
|
|
839
|
+
return (options.client ?? _heyApiClient).post<
|
|
840
|
+
BackfillControllerTrigger1Responses,
|
|
841
|
+
BackfillControllerTrigger1Errors,
|
|
842
|
+
ThrowOnError
|
|
843
|
+
>({
|
|
844
|
+
security: [
|
|
845
|
+
{
|
|
846
|
+
name: "x-api-token",
|
|
847
|
+
type: "apiKey",
|
|
848
|
+
},
|
|
849
|
+
],
|
|
850
|
+
url: "/backfill",
|
|
851
|
+
...options,
|
|
852
|
+
headers: {
|
|
853
|
+
"Content-Type": "application/json",
|
|
854
|
+
...options.headers,
|
|
855
|
+
},
|
|
856
|
+
});
|
|
857
|
+
};
|
|
858
|
+
|
|
690
859
|
export const campaignsControllerGetMany0V1 = <
|
|
691
|
-
ThrowOnError extends boolean =
|
|
860
|
+
ThrowOnError extends boolean = true,
|
|
692
861
|
>(
|
|
693
862
|
options?: Options<CampaignsControllerGetMany0V1Data, ThrowOnError>,
|
|
694
863
|
) => {
|
|
@@ -702,6 +871,10 @@ export const campaignsControllerGetMany0V1 = <
|
|
|
702
871
|
name: "x-api-token",
|
|
703
872
|
type: "apiKey",
|
|
704
873
|
},
|
|
874
|
+
{
|
|
875
|
+
name: "x-api-token",
|
|
876
|
+
type: "apiKey",
|
|
877
|
+
},
|
|
705
878
|
],
|
|
706
879
|
url: "/v1/campaigns",
|
|
707
880
|
...options,
|
|
@@ -709,7 +882,7 @@ export const campaignsControllerGetMany0V1 = <
|
|
|
709
882
|
};
|
|
710
883
|
|
|
711
884
|
export const campaignsControllerCreate0V1 = <
|
|
712
|
-
ThrowOnError extends boolean =
|
|
885
|
+
ThrowOnError extends boolean = true,
|
|
713
886
|
>(
|
|
714
887
|
options: Options<CampaignsControllerCreate0V1Data, ThrowOnError>,
|
|
715
888
|
) => {
|
|
@@ -737,7 +910,7 @@ export const campaignsControllerCreate0V1 = <
|
|
|
737
910
|
* @deprecated
|
|
738
911
|
*/
|
|
739
912
|
export const campaignsControllerGetMany1 = <
|
|
740
|
-
ThrowOnError extends boolean =
|
|
913
|
+
ThrowOnError extends boolean = true,
|
|
741
914
|
>(
|
|
742
915
|
options?: Options<CampaignsControllerGetMany1Data, ThrowOnError>,
|
|
743
916
|
) => {
|
|
@@ -751,6 +924,10 @@ export const campaignsControllerGetMany1 = <
|
|
|
751
924
|
name: "x-api-token",
|
|
752
925
|
type: "apiKey",
|
|
753
926
|
},
|
|
927
|
+
{
|
|
928
|
+
name: "x-api-token",
|
|
929
|
+
type: "apiKey",
|
|
930
|
+
},
|
|
754
931
|
],
|
|
755
932
|
url: "/campaigns",
|
|
756
933
|
...options,
|
|
@@ -760,9 +937,7 @@ export const campaignsControllerGetMany1 = <
|
|
|
760
937
|
/**
|
|
761
938
|
* @deprecated
|
|
762
939
|
*/
|
|
763
|
-
export const campaignsControllerCreate1 = <
|
|
764
|
-
ThrowOnError extends boolean = false,
|
|
765
|
-
>(
|
|
940
|
+
export const campaignsControllerCreate1 = <ThrowOnError extends boolean = true>(
|
|
766
941
|
options: Options<CampaignsControllerCreate1Data, ThrowOnError>,
|
|
767
942
|
) => {
|
|
768
943
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -786,7 +961,7 @@ export const campaignsControllerCreate1 = <
|
|
|
786
961
|
};
|
|
787
962
|
|
|
788
963
|
export const campaignsControllerDelete0V1 = <
|
|
789
|
-
ThrowOnError extends boolean =
|
|
964
|
+
ThrowOnError extends boolean = true,
|
|
790
965
|
>(
|
|
791
966
|
options: Options<CampaignsControllerDelete0V1Data, ThrowOnError>,
|
|
792
967
|
) => {
|
|
@@ -806,7 +981,7 @@ export const campaignsControllerDelete0V1 = <
|
|
|
806
981
|
});
|
|
807
982
|
};
|
|
808
983
|
|
|
809
|
-
export const campaignsControllerGet0V1 = <ThrowOnError extends boolean =
|
|
984
|
+
export const campaignsControllerGet0V1 = <ThrowOnError extends boolean = true>(
|
|
810
985
|
options: Options<CampaignsControllerGet0V1Data, ThrowOnError>,
|
|
811
986
|
) => {
|
|
812
987
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -819,6 +994,10 @@ export const campaignsControllerGet0V1 = <ThrowOnError extends boolean = false>(
|
|
|
819
994
|
name: "x-api-token",
|
|
820
995
|
type: "apiKey",
|
|
821
996
|
},
|
|
997
|
+
{
|
|
998
|
+
name: "x-api-token",
|
|
999
|
+
type: "apiKey",
|
|
1000
|
+
},
|
|
822
1001
|
],
|
|
823
1002
|
url: "/v1/campaigns/{id}",
|
|
824
1003
|
...options,
|
|
@@ -826,7 +1005,7 @@ export const campaignsControllerGet0V1 = <ThrowOnError extends boolean = false>(
|
|
|
826
1005
|
};
|
|
827
1006
|
|
|
828
1007
|
export const campaignsControllerUpdate0V1 = <
|
|
829
|
-
ThrowOnError extends boolean =
|
|
1008
|
+
ThrowOnError extends boolean = true,
|
|
830
1009
|
>(
|
|
831
1010
|
options: Options<CampaignsControllerUpdate0V1Data, ThrowOnError>,
|
|
832
1011
|
) => {
|
|
@@ -853,9 +1032,7 @@ export const campaignsControllerUpdate0V1 = <
|
|
|
853
1032
|
/**
|
|
854
1033
|
* @deprecated
|
|
855
1034
|
*/
|
|
856
|
-
export const campaignsControllerDelete1 = <
|
|
857
|
-
ThrowOnError extends boolean = false,
|
|
858
|
-
>(
|
|
1035
|
+
export const campaignsControllerDelete1 = <ThrowOnError extends boolean = true>(
|
|
859
1036
|
options: Options<CampaignsControllerDelete1Data, ThrowOnError>,
|
|
860
1037
|
) => {
|
|
861
1038
|
return (options.client ?? _heyApiClient).delete<
|
|
@@ -877,7 +1054,7 @@ export const campaignsControllerDelete1 = <
|
|
|
877
1054
|
/**
|
|
878
1055
|
* @deprecated
|
|
879
1056
|
*/
|
|
880
|
-
export const campaignsControllerGet1 = <ThrowOnError extends boolean =
|
|
1057
|
+
export const campaignsControllerGet1 = <ThrowOnError extends boolean = true>(
|
|
881
1058
|
options: Options<CampaignsControllerGet1Data, ThrowOnError>,
|
|
882
1059
|
) => {
|
|
883
1060
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -890,6 +1067,10 @@ export const campaignsControllerGet1 = <ThrowOnError extends boolean = false>(
|
|
|
890
1067
|
name: "x-api-token",
|
|
891
1068
|
type: "apiKey",
|
|
892
1069
|
},
|
|
1070
|
+
{
|
|
1071
|
+
name: "x-api-token",
|
|
1072
|
+
type: "apiKey",
|
|
1073
|
+
},
|
|
893
1074
|
],
|
|
894
1075
|
url: "/campaigns/{id}",
|
|
895
1076
|
...options,
|
|
@@ -899,9 +1080,7 @@ export const campaignsControllerGet1 = <ThrowOnError extends boolean = false>(
|
|
|
899
1080
|
/**
|
|
900
1081
|
* @deprecated
|
|
901
1082
|
*/
|
|
902
|
-
export const campaignsControllerUpdate1 = <
|
|
903
|
-
ThrowOnError extends boolean = false,
|
|
904
|
-
>(
|
|
1083
|
+
export const campaignsControllerUpdate1 = <ThrowOnError extends boolean = true>(
|
|
905
1084
|
options: Options<CampaignsControllerUpdate1Data, ThrowOnError>,
|
|
906
1085
|
) => {
|
|
907
1086
|
return (options.client ?? _heyApiClient).put<
|
|
@@ -925,7 +1104,7 @@ export const campaignsControllerUpdate1 = <
|
|
|
925
1104
|
};
|
|
926
1105
|
|
|
927
1106
|
export const conditionsControllerGetSunAltitudeTimeLimits0V1 = <
|
|
928
|
-
ThrowOnError extends boolean =
|
|
1107
|
+
ThrowOnError extends boolean = true,
|
|
929
1108
|
>(
|
|
930
1109
|
options: Options<
|
|
931
1110
|
ConditionsControllerGetSunAltitudeTimeLimits0V1Data,
|
|
@@ -948,7 +1127,7 @@ export const conditionsControllerGetSunAltitudeTimeLimits0V1 = <
|
|
|
948
1127
|
* @deprecated
|
|
949
1128
|
*/
|
|
950
1129
|
export const conditionsControllerGetSunAltitudeTimeLimits1 = <
|
|
951
|
-
ThrowOnError extends boolean =
|
|
1130
|
+
ThrowOnError extends boolean = true,
|
|
952
1131
|
>(
|
|
953
1132
|
options: Options<
|
|
954
1133
|
ConditionsControllerGetSunAltitudeTimeLimits1Data,
|
|
@@ -972,7 +1151,7 @@ export const conditionsControllerGetSunAltitudeTimeLimits1 = <
|
|
|
972
1151
|
* Retrieve all activity and ERC20 contracts
|
|
973
1152
|
*/
|
|
974
1153
|
export const contractsControllerGetAllContracts0V1 = <
|
|
975
|
-
ThrowOnError extends boolean =
|
|
1154
|
+
ThrowOnError extends boolean = true,
|
|
976
1155
|
>(
|
|
977
1156
|
options?: Options<ContractsControllerGetAllContracts0V1Data, ThrowOnError>,
|
|
978
1157
|
) => {
|
|
@@ -999,7 +1178,7 @@ export const contractsControllerGetAllContracts0V1 = <
|
|
|
999
1178
|
* Create either an activity contract or an ERC20 contract
|
|
1000
1179
|
*/
|
|
1001
1180
|
export const contractsControllerCreateContract0V1 = <
|
|
1002
|
-
ThrowOnError extends boolean =
|
|
1181
|
+
ThrowOnError extends boolean = true,
|
|
1003
1182
|
>(
|
|
1004
1183
|
options: Options<ContractsControllerCreateContract0V1Data, ThrowOnError>,
|
|
1005
1184
|
) => {
|
|
@@ -1029,7 +1208,7 @@ export const contractsControllerCreateContract0V1 = <
|
|
|
1029
1208
|
* @deprecated
|
|
1030
1209
|
*/
|
|
1031
1210
|
export const contractsControllerGetAllContracts1 = <
|
|
1032
|
-
ThrowOnError extends boolean =
|
|
1211
|
+
ThrowOnError extends boolean = true,
|
|
1033
1212
|
>(
|
|
1034
1213
|
options?: Options<ContractsControllerGetAllContracts1Data, ThrowOnError>,
|
|
1035
1214
|
) => {
|
|
@@ -1056,7 +1235,7 @@ export const contractsControllerGetAllContracts1 = <
|
|
|
1056
1235
|
* @deprecated
|
|
1057
1236
|
*/
|
|
1058
1237
|
export const contractsControllerCreateContract1 = <
|
|
1059
|
-
ThrowOnError extends boolean =
|
|
1238
|
+
ThrowOnError extends boolean = true,
|
|
1060
1239
|
>(
|
|
1061
1240
|
options: Options<ContractsControllerCreateContract1Data, ThrowOnError>,
|
|
1062
1241
|
) => {
|
|
@@ -1085,7 +1264,7 @@ export const contractsControllerCreateContract1 = <
|
|
|
1085
1264
|
* Delete a contract by ID and type
|
|
1086
1265
|
*/
|
|
1087
1266
|
export const contractsControllerDeleteContract0V1 = <
|
|
1088
|
-
ThrowOnError extends boolean =
|
|
1267
|
+
ThrowOnError extends boolean = true,
|
|
1089
1268
|
>(
|
|
1090
1269
|
options: Options<ContractsControllerDeleteContract0V1Data, ThrowOnError>,
|
|
1091
1270
|
) => {
|
|
@@ -1110,7 +1289,7 @@ export const contractsControllerDeleteContract0V1 = <
|
|
|
1110
1289
|
* Retrieve a specific contract by ID and type
|
|
1111
1290
|
*/
|
|
1112
1291
|
export const contractsControllerGetContract0V1 = <
|
|
1113
|
-
ThrowOnError extends boolean =
|
|
1292
|
+
ThrowOnError extends boolean = true,
|
|
1114
1293
|
>(
|
|
1115
1294
|
options: Options<ContractsControllerGetContract0V1Data, ThrowOnError>,
|
|
1116
1295
|
) => {
|
|
@@ -1135,7 +1314,7 @@ export const contractsControllerGetContract0V1 = <
|
|
|
1135
1314
|
* Update an existing contract
|
|
1136
1315
|
*/
|
|
1137
1316
|
export const contractsControllerUpdateContract0V1 = <
|
|
1138
|
-
ThrowOnError extends boolean =
|
|
1317
|
+
ThrowOnError extends boolean = true,
|
|
1139
1318
|
>(
|
|
1140
1319
|
options: Options<ContractsControllerUpdateContract0V1Data, ThrowOnError>,
|
|
1141
1320
|
) => {
|
|
@@ -1165,7 +1344,7 @@ export const contractsControllerUpdateContract0V1 = <
|
|
|
1165
1344
|
* @deprecated
|
|
1166
1345
|
*/
|
|
1167
1346
|
export const contractsControllerDeleteContract1 = <
|
|
1168
|
-
ThrowOnError extends boolean =
|
|
1347
|
+
ThrowOnError extends boolean = true,
|
|
1169
1348
|
>(
|
|
1170
1349
|
options: Options<ContractsControllerDeleteContract1Data, ThrowOnError>,
|
|
1171
1350
|
) => {
|
|
@@ -1191,7 +1370,7 @@ export const contractsControllerDeleteContract1 = <
|
|
|
1191
1370
|
* @deprecated
|
|
1192
1371
|
*/
|
|
1193
1372
|
export const contractsControllerGetContract1 = <
|
|
1194
|
-
ThrowOnError extends boolean =
|
|
1373
|
+
ThrowOnError extends boolean = true,
|
|
1195
1374
|
>(
|
|
1196
1375
|
options: Options<ContractsControllerGetContract1Data, ThrowOnError>,
|
|
1197
1376
|
) => {
|
|
@@ -1217,7 +1396,7 @@ export const contractsControllerGetContract1 = <
|
|
|
1217
1396
|
* @deprecated
|
|
1218
1397
|
*/
|
|
1219
1398
|
export const contractsControllerUpdateContract1 = <
|
|
1220
|
-
ThrowOnError extends boolean =
|
|
1399
|
+
ThrowOnError extends boolean = true,
|
|
1221
1400
|
>(
|
|
1222
1401
|
options: Options<ContractsControllerUpdateContract1Data, ThrowOnError>,
|
|
1223
1402
|
) => {
|
|
@@ -1246,7 +1425,7 @@ export const contractsControllerUpdateContract1 = <
|
|
|
1246
1425
|
* 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
1426
|
*/
|
|
1248
1427
|
export const dlqRedriverControllerRedriveDlq0V1 = <
|
|
1249
|
-
ThrowOnError extends boolean =
|
|
1428
|
+
ThrowOnError extends boolean = true,
|
|
1250
1429
|
>(
|
|
1251
1430
|
options: Options<DlqRedriverControllerRedriveDlq0V1Data, ThrowOnError>,
|
|
1252
1431
|
) => {
|
|
@@ -1276,7 +1455,7 @@ export const dlqRedriverControllerRedriveDlq0V1 = <
|
|
|
1276
1455
|
* @deprecated
|
|
1277
1456
|
*/
|
|
1278
1457
|
export const dlqRedriverControllerRedriveDlq1 = <
|
|
1279
|
-
ThrowOnError extends boolean =
|
|
1458
|
+
ThrowOnError extends boolean = true,
|
|
1280
1459
|
>(
|
|
1281
1460
|
options: Options<DlqRedriverControllerRedriveDlq1Data, ThrowOnError>,
|
|
1282
1461
|
) => {
|
|
@@ -1301,7 +1480,7 @@ export const dlqRedriverControllerRedriveDlq1 = <
|
|
|
1301
1480
|
};
|
|
1302
1481
|
|
|
1303
1482
|
export const flightsControllerGenerateStorageKey0V1 = <
|
|
1304
|
-
ThrowOnError extends boolean =
|
|
1483
|
+
ThrowOnError extends boolean = true,
|
|
1305
1484
|
>(
|
|
1306
1485
|
options: Options<FlightsControllerGenerateStorageKey0V1Data, ThrowOnError>,
|
|
1307
1486
|
) => {
|
|
@@ -1325,7 +1504,7 @@ export const flightsControllerGenerateStorageKey0V1 = <
|
|
|
1325
1504
|
* @deprecated
|
|
1326
1505
|
*/
|
|
1327
1506
|
export const flightsControllerGenerateStorageKey1 = <
|
|
1328
|
-
ThrowOnError extends boolean =
|
|
1507
|
+
ThrowOnError extends boolean = true,
|
|
1329
1508
|
>(
|
|
1330
1509
|
options: Options<FlightsControllerGenerateStorageKey1Data, ThrowOnError>,
|
|
1331
1510
|
) => {
|
|
@@ -1346,7 +1525,7 @@ export const flightsControllerGenerateStorageKey1 = <
|
|
|
1346
1525
|
};
|
|
1347
1526
|
|
|
1348
1527
|
export const flightsControllerGetFlight0V1 = <
|
|
1349
|
-
ThrowOnError extends boolean =
|
|
1528
|
+
ThrowOnError extends boolean = true,
|
|
1350
1529
|
>(
|
|
1351
1530
|
options: Options<FlightsControllerGetFlight0V1Data, ThrowOnError>,
|
|
1352
1531
|
) => {
|
|
@@ -1371,7 +1550,7 @@ export const flightsControllerGetFlight0V1 = <
|
|
|
1371
1550
|
* @deprecated
|
|
1372
1551
|
*/
|
|
1373
1552
|
export const flightsControllerGetFlight1 = <
|
|
1374
|
-
ThrowOnError extends boolean =
|
|
1553
|
+
ThrowOnError extends boolean = true,
|
|
1375
1554
|
>(
|
|
1376
1555
|
options: Options<FlightsControllerGetFlight1Data, ThrowOnError>,
|
|
1377
1556
|
) => {
|
|
@@ -1393,7 +1572,7 @@ export const flightsControllerGetFlight1 = <
|
|
|
1393
1572
|
};
|
|
1394
1573
|
|
|
1395
1574
|
export const flightsControllerCreatePresignedUrls0V1 = <
|
|
1396
|
-
ThrowOnError extends boolean =
|
|
1575
|
+
ThrowOnError extends boolean = true,
|
|
1397
1576
|
>(
|
|
1398
1577
|
options: Options<FlightsControllerCreatePresignedUrls0V1Data, ThrowOnError>,
|
|
1399
1578
|
) => {
|
|
@@ -1421,7 +1600,7 @@ export const flightsControllerCreatePresignedUrls0V1 = <
|
|
|
1421
1600
|
* @deprecated
|
|
1422
1601
|
*/
|
|
1423
1602
|
export const flightsControllerCreatePresignedUrls1 = <
|
|
1424
|
-
ThrowOnError extends boolean =
|
|
1603
|
+
ThrowOnError extends boolean = true,
|
|
1425
1604
|
>(
|
|
1426
1605
|
options: Options<FlightsControllerCreatePresignedUrls1Data, ThrowOnError>,
|
|
1427
1606
|
) => {
|
|
@@ -1446,7 +1625,7 @@ export const flightsControllerCreatePresignedUrls1 = <
|
|
|
1446
1625
|
};
|
|
1447
1626
|
|
|
1448
1627
|
export const flightsControllerValidateFlight0V1 = <
|
|
1449
|
-
ThrowOnError extends boolean =
|
|
1628
|
+
ThrowOnError extends boolean = true,
|
|
1450
1629
|
>(
|
|
1451
1630
|
options: Options<FlightsControllerValidateFlight0V1Data, ThrowOnError>,
|
|
1452
1631
|
) => {
|
|
@@ -1475,7 +1654,7 @@ export const flightsControllerValidateFlight0V1 = <
|
|
|
1475
1654
|
* @deprecated
|
|
1476
1655
|
*/
|
|
1477
1656
|
export const flightsControllerValidateFlight1 = <
|
|
1478
|
-
ThrowOnError extends boolean =
|
|
1657
|
+
ThrowOnError extends boolean = true,
|
|
1479
1658
|
>(
|
|
1480
1659
|
options: Options<FlightsControllerValidateFlight1Data, ThrowOnError>,
|
|
1481
1660
|
) => {
|
|
@@ -1505,7 +1684,7 @@ export const flightsControllerValidateFlight1 = <
|
|
|
1505
1684
|
* Returns all available flight plan templates. These define capture patterns (map, panorama) that can be used for drone missions.
|
|
1506
1685
|
*/
|
|
1507
1686
|
export const flightPlansControllerGetMany0V1 = <
|
|
1508
|
-
ThrowOnError extends boolean =
|
|
1687
|
+
ThrowOnError extends boolean = true,
|
|
1509
1688
|
>(
|
|
1510
1689
|
options?: Options<FlightPlansControllerGetMany0V1Data, ThrowOnError>,
|
|
1511
1690
|
) => {
|
|
@@ -1519,6 +1698,10 @@ export const flightPlansControllerGetMany0V1 = <
|
|
|
1519
1698
|
name: "x-api-token",
|
|
1520
1699
|
type: "apiKey",
|
|
1521
1700
|
},
|
|
1701
|
+
{
|
|
1702
|
+
name: "x-api-token",
|
|
1703
|
+
type: "apiKey",
|
|
1704
|
+
},
|
|
1522
1705
|
],
|
|
1523
1706
|
responseTransformer: flightPlansControllerGetMany0V1ResponseTransformer,
|
|
1524
1707
|
url: "/v1/flight-plans",
|
|
@@ -1531,7 +1714,7 @@ export const flightPlansControllerGetMany0V1 = <
|
|
|
1531
1714
|
* Creates a new flight plan template with sections and connection strategy.
|
|
1532
1715
|
*/
|
|
1533
1716
|
export const flightPlansControllerCreate0V1 = <
|
|
1534
|
-
ThrowOnError extends boolean =
|
|
1717
|
+
ThrowOnError extends boolean = true,
|
|
1535
1718
|
>(
|
|
1536
1719
|
options: Options<FlightPlansControllerCreate0V1Data, ThrowOnError>,
|
|
1537
1720
|
) => {
|
|
@@ -1562,7 +1745,7 @@ export const flightPlansControllerCreate0V1 = <
|
|
|
1562
1745
|
* @deprecated
|
|
1563
1746
|
*/
|
|
1564
1747
|
export const flightPlansControllerGetMany1 = <
|
|
1565
|
-
ThrowOnError extends boolean =
|
|
1748
|
+
ThrowOnError extends boolean = true,
|
|
1566
1749
|
>(
|
|
1567
1750
|
options?: Options<FlightPlansControllerGetMany1Data, ThrowOnError>,
|
|
1568
1751
|
) => {
|
|
@@ -1576,6 +1759,10 @@ export const flightPlansControllerGetMany1 = <
|
|
|
1576
1759
|
name: "x-api-token",
|
|
1577
1760
|
type: "apiKey",
|
|
1578
1761
|
},
|
|
1762
|
+
{
|
|
1763
|
+
name: "x-api-token",
|
|
1764
|
+
type: "apiKey",
|
|
1765
|
+
},
|
|
1579
1766
|
],
|
|
1580
1767
|
responseTransformer: flightPlansControllerGetMany1ResponseTransformer,
|
|
1581
1768
|
url: "/flight-plans",
|
|
@@ -1589,7 +1776,7 @@ export const flightPlansControllerGetMany1 = <
|
|
|
1589
1776
|
* @deprecated
|
|
1590
1777
|
*/
|
|
1591
1778
|
export const flightPlansControllerCreate1 = <
|
|
1592
|
-
ThrowOnError extends boolean =
|
|
1779
|
+
ThrowOnError extends boolean = true,
|
|
1593
1780
|
>(
|
|
1594
1781
|
options: Options<FlightPlansControllerCreate1Data, ThrowOnError>,
|
|
1595
1782
|
) => {
|
|
@@ -1619,7 +1806,7 @@ export const flightPlansControllerCreate1 = <
|
|
|
1619
1806
|
* Returns a single flight plan template by its ID.
|
|
1620
1807
|
*/
|
|
1621
1808
|
export const flightPlansControllerGet0V1 = <
|
|
1622
|
-
ThrowOnError extends boolean =
|
|
1809
|
+
ThrowOnError extends boolean = true,
|
|
1623
1810
|
>(
|
|
1624
1811
|
options: Options<FlightPlansControllerGet0V1Data, ThrowOnError>,
|
|
1625
1812
|
) => {
|
|
@@ -1633,6 +1820,10 @@ export const flightPlansControllerGet0V1 = <
|
|
|
1633
1820
|
name: "x-api-token",
|
|
1634
1821
|
type: "apiKey",
|
|
1635
1822
|
},
|
|
1823
|
+
{
|
|
1824
|
+
name: "x-api-token",
|
|
1825
|
+
type: "apiKey",
|
|
1826
|
+
},
|
|
1636
1827
|
],
|
|
1637
1828
|
responseTransformer: flightPlansControllerGet0V1ResponseTransformer,
|
|
1638
1829
|
url: "/v1/flight-plans/{id}",
|
|
@@ -1645,7 +1836,7 @@ export const flightPlansControllerGet0V1 = <
|
|
|
1645
1836
|
* Returns a single flight plan template by its ID.
|
|
1646
1837
|
* @deprecated
|
|
1647
1838
|
*/
|
|
1648
|
-
export const flightPlansControllerGet1 = <ThrowOnError extends boolean =
|
|
1839
|
+
export const flightPlansControllerGet1 = <ThrowOnError extends boolean = true>(
|
|
1649
1840
|
options: Options<FlightPlansControllerGet1Data, ThrowOnError>,
|
|
1650
1841
|
) => {
|
|
1651
1842
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -1658,6 +1849,10 @@ export const flightPlansControllerGet1 = <ThrowOnError extends boolean = false>(
|
|
|
1658
1849
|
name: "x-api-token",
|
|
1659
1850
|
type: "apiKey",
|
|
1660
1851
|
},
|
|
1852
|
+
{
|
|
1853
|
+
name: "x-api-token",
|
|
1854
|
+
type: "apiKey",
|
|
1855
|
+
},
|
|
1661
1856
|
],
|
|
1662
1857
|
responseTransformer: flightPlansControllerGet1ResponseTransformer,
|
|
1663
1858
|
url: "/flight-plans/{id}",
|
|
@@ -1669,7 +1864,7 @@ export const flightPlansControllerGet1 = <ThrowOnError extends boolean = false>(
|
|
|
1669
1864
|
* Get a flight review by ID
|
|
1670
1865
|
*/
|
|
1671
1866
|
export const flightReviewsControllerGetFlightReview0V1 = <
|
|
1672
|
-
ThrowOnError extends boolean =
|
|
1867
|
+
ThrowOnError extends boolean = true,
|
|
1673
1868
|
>(
|
|
1674
1869
|
options: Options<FlightReviewsControllerGetFlightReview0V1Data, ThrowOnError>,
|
|
1675
1870
|
) => {
|
|
@@ -1696,7 +1891,7 @@ export const flightReviewsControllerGetFlightReview0V1 = <
|
|
|
1696
1891
|
* @deprecated
|
|
1697
1892
|
*/
|
|
1698
1893
|
export const flightReviewsControllerGetFlightReview1 = <
|
|
1699
|
-
ThrowOnError extends boolean =
|
|
1894
|
+
ThrowOnError extends boolean = true,
|
|
1700
1895
|
>(
|
|
1701
1896
|
options: Options<FlightReviewsControllerGetFlightReview1Data, ThrowOnError>,
|
|
1702
1897
|
) => {
|
|
@@ -1722,7 +1917,7 @@ export const flightReviewsControllerGetFlightReview1 = <
|
|
|
1722
1917
|
* Get flight reviews by updated_at time range
|
|
1723
1918
|
*/
|
|
1724
1919
|
export const flightReviewsControllerGetFlightReviews0V1 = <
|
|
1725
|
-
ThrowOnError extends boolean =
|
|
1920
|
+
ThrowOnError extends boolean = true,
|
|
1726
1921
|
>(
|
|
1727
1922
|
options: Options<
|
|
1728
1923
|
FlightReviewsControllerGetFlightReviews0V1Data,
|
|
@@ -1752,7 +1947,7 @@ export const flightReviewsControllerGetFlightReviews0V1 = <
|
|
|
1752
1947
|
* @deprecated
|
|
1753
1948
|
*/
|
|
1754
1949
|
export const flightReviewsControllerGetFlightReviews1 = <
|
|
1755
|
-
ThrowOnError extends boolean =
|
|
1950
|
+
ThrowOnError extends boolean = true,
|
|
1756
1951
|
>(
|
|
1757
1952
|
options: Options<FlightReviewsControllerGetFlightReviews1Data, ThrowOnError>,
|
|
1758
1953
|
) => {
|
|
@@ -1775,7 +1970,7 @@ export const flightReviewsControllerGetFlightReviews1 = <
|
|
|
1775
1970
|
};
|
|
1776
1971
|
|
|
1777
1972
|
export const keysControllerGetProvenanceCryptoKey0V1 = <
|
|
1778
|
-
ThrowOnError extends boolean =
|
|
1973
|
+
ThrowOnError extends boolean = true,
|
|
1779
1974
|
>(
|
|
1780
1975
|
options?: Options<KeysControllerGetProvenanceCryptoKey0V1Data, ThrowOnError>,
|
|
1781
1976
|
) => {
|
|
@@ -1793,7 +1988,7 @@ export const keysControllerGetProvenanceCryptoKey0V1 = <
|
|
|
1793
1988
|
* @deprecated
|
|
1794
1989
|
*/
|
|
1795
1990
|
export const keysControllerGetProvenanceCryptoKey1 = <
|
|
1796
|
-
ThrowOnError extends boolean =
|
|
1991
|
+
ThrowOnError extends boolean = true,
|
|
1797
1992
|
>(
|
|
1798
1993
|
options?: Options<KeysControllerGetProvenanceCryptoKey1Data, ThrowOnError>,
|
|
1799
1994
|
) => {
|
|
@@ -1811,7 +2006,7 @@ export const keysControllerGetProvenanceCryptoKey1 = <
|
|
|
1811
2006
|
* Get a mission by ID
|
|
1812
2007
|
*/
|
|
1813
2008
|
export const missionsControllerGetMission0V1 = <
|
|
1814
|
-
ThrowOnError extends boolean =
|
|
2009
|
+
ThrowOnError extends boolean = true,
|
|
1815
2010
|
>(
|
|
1816
2011
|
options: Options<MissionsControllerGetMission0V1Data, ThrowOnError>,
|
|
1817
2012
|
) => {
|
|
@@ -1825,6 +2020,10 @@ export const missionsControllerGetMission0V1 = <
|
|
|
1825
2020
|
name: "x-api-token",
|
|
1826
2021
|
type: "apiKey",
|
|
1827
2022
|
},
|
|
2023
|
+
{
|
|
2024
|
+
name: "x-api-token",
|
|
2025
|
+
type: "apiKey",
|
|
2026
|
+
},
|
|
1828
2027
|
],
|
|
1829
2028
|
responseTransformer: missionsControllerGetMission0V1ResponseTransformer,
|
|
1830
2029
|
url: "/v1/missions/{id}",
|
|
@@ -1837,7 +2036,7 @@ export const missionsControllerGetMission0V1 = <
|
|
|
1837
2036
|
* @deprecated
|
|
1838
2037
|
*/
|
|
1839
2038
|
export const missionsControllerGetMission1 = <
|
|
1840
|
-
ThrowOnError extends boolean =
|
|
2039
|
+
ThrowOnError extends boolean = true,
|
|
1841
2040
|
>(
|
|
1842
2041
|
options: Options<MissionsControllerGetMission1Data, ThrowOnError>,
|
|
1843
2042
|
) => {
|
|
@@ -1851,6 +2050,10 @@ export const missionsControllerGetMission1 = <
|
|
|
1851
2050
|
name: "x-api-token",
|
|
1852
2051
|
type: "apiKey",
|
|
1853
2052
|
},
|
|
2053
|
+
{
|
|
2054
|
+
name: "x-api-token",
|
|
2055
|
+
type: "apiKey",
|
|
2056
|
+
},
|
|
1854
2057
|
],
|
|
1855
2058
|
responseTransformer: missionsControllerGetMission1ResponseTransformer,
|
|
1856
2059
|
url: "/missions/{id}",
|
|
@@ -1860,10 +2063,10 @@ export const missionsControllerGetMission1 = <
|
|
|
1860
2063
|
|
|
1861
2064
|
/**
|
|
1862
2065
|
* 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.
|
|
2066
|
+
* 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
2067
|
*/
|
|
1865
2068
|
export const missionsControllerGetMissions0V1 = <
|
|
1866
|
-
ThrowOnError extends boolean =
|
|
2069
|
+
ThrowOnError extends boolean = true,
|
|
1867
2070
|
>(
|
|
1868
2071
|
options?: Options<MissionsControllerGetMissions0V1Data, ThrowOnError>,
|
|
1869
2072
|
) => {
|
|
@@ -1877,6 +2080,10 @@ export const missionsControllerGetMissions0V1 = <
|
|
|
1877
2080
|
name: "x-api-token",
|
|
1878
2081
|
type: "apiKey",
|
|
1879
2082
|
},
|
|
2083
|
+
{
|
|
2084
|
+
name: "x-api-token",
|
|
2085
|
+
type: "apiKey",
|
|
2086
|
+
},
|
|
1880
2087
|
],
|
|
1881
2088
|
responseTransformer: missionsControllerGetMissions0V1ResponseTransformer,
|
|
1882
2089
|
url: "/v1/missions",
|
|
@@ -1889,7 +2096,7 @@ export const missionsControllerGetMissions0V1 = <
|
|
|
1889
2096
|
* Create missions for specified zones and mission types.
|
|
1890
2097
|
*/
|
|
1891
2098
|
export const missionsControllerCreateMissions0V1 = <
|
|
1892
|
-
ThrowOnError extends boolean =
|
|
2099
|
+
ThrowOnError extends boolean = true,
|
|
1893
2100
|
>(
|
|
1894
2101
|
options: Options<MissionsControllerCreateMissions0V1Data, ThrowOnError>,
|
|
1895
2102
|
) => {
|
|
@@ -1919,7 +2126,7 @@ export const missionsControllerCreateMissions0V1 = <
|
|
|
1919
2126
|
* Update missions' rewards or cancel them altogether
|
|
1920
2127
|
*/
|
|
1921
2128
|
export const missionsControllerUpdateMissions0V1 = <
|
|
1922
|
-
ThrowOnError extends boolean =
|
|
2129
|
+
ThrowOnError extends boolean = true,
|
|
1923
2130
|
>(
|
|
1924
2131
|
options: Options<MissionsControllerUpdateMissions0V1Data, ThrowOnError>,
|
|
1925
2132
|
) => {
|
|
@@ -1945,11 +2152,11 @@ export const missionsControllerUpdateMissions0V1 = <
|
|
|
1945
2152
|
|
|
1946
2153
|
/**
|
|
1947
2154
|
* 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.
|
|
2155
|
+
* 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
2156
|
* @deprecated
|
|
1950
2157
|
*/
|
|
1951
2158
|
export const missionsControllerGetMissions1 = <
|
|
1952
|
-
ThrowOnError extends boolean =
|
|
2159
|
+
ThrowOnError extends boolean = true,
|
|
1953
2160
|
>(
|
|
1954
2161
|
options?: Options<MissionsControllerGetMissions1Data, ThrowOnError>,
|
|
1955
2162
|
) => {
|
|
@@ -1963,6 +2170,10 @@ export const missionsControllerGetMissions1 = <
|
|
|
1963
2170
|
name: "x-api-token",
|
|
1964
2171
|
type: "apiKey",
|
|
1965
2172
|
},
|
|
2173
|
+
{
|
|
2174
|
+
name: "x-api-token",
|
|
2175
|
+
type: "apiKey",
|
|
2176
|
+
},
|
|
1966
2177
|
],
|
|
1967
2178
|
responseTransformer: missionsControllerGetMissions1ResponseTransformer,
|
|
1968
2179
|
url: "/missions",
|
|
@@ -1976,7 +2187,7 @@ export const missionsControllerGetMissions1 = <
|
|
|
1976
2187
|
* @deprecated
|
|
1977
2188
|
*/
|
|
1978
2189
|
export const missionsControllerCreateMissions1 = <
|
|
1979
|
-
ThrowOnError extends boolean =
|
|
2190
|
+
ThrowOnError extends boolean = true,
|
|
1980
2191
|
>(
|
|
1981
2192
|
options: Options<MissionsControllerCreateMissions1Data, ThrowOnError>,
|
|
1982
2193
|
) => {
|
|
@@ -2007,7 +2218,7 @@ export const missionsControllerCreateMissions1 = <
|
|
|
2007
2218
|
* @deprecated
|
|
2008
2219
|
*/
|
|
2009
2220
|
export const missionsControllerUpdateMissions1 = <
|
|
2010
|
-
ThrowOnError extends boolean =
|
|
2221
|
+
ThrowOnError extends boolean = true,
|
|
2011
2222
|
>(
|
|
2012
2223
|
options: Options<MissionsControllerUpdateMissions1Data, ThrowOnError>,
|
|
2013
2224
|
) => {
|
|
@@ -2036,7 +2247,7 @@ export const missionsControllerUpdateMissions1 = <
|
|
|
2036
2247
|
* Apply a scale factor to all open missions' vault amounts
|
|
2037
2248
|
*/
|
|
2038
2249
|
export const missionsControllerRepriceMissions0V1 = <
|
|
2039
|
-
ThrowOnError extends boolean =
|
|
2250
|
+
ThrowOnError extends boolean = true,
|
|
2040
2251
|
>(
|
|
2041
2252
|
options: Options<MissionsControllerRepriceMissions0V1Data, ThrowOnError>,
|
|
2042
2253
|
) => {
|
|
@@ -2066,7 +2277,7 @@ export const missionsControllerRepriceMissions0V1 = <
|
|
|
2066
2277
|
* @deprecated
|
|
2067
2278
|
*/
|
|
2068
2279
|
export const missionsControllerRepriceMissions1 = <
|
|
2069
|
-
ThrowOnError extends boolean =
|
|
2280
|
+
ThrowOnError extends boolean = true,
|
|
2070
2281
|
>(
|
|
2071
2282
|
options: Options<MissionsControllerRepriceMissions1Data, ThrowOnError>,
|
|
2072
2283
|
) => {
|
|
@@ -2094,7 +2305,7 @@ export const missionsControllerRepriceMissions1 = <
|
|
|
2094
2305
|
* List proposals (proxied to proposal-service)
|
|
2095
2306
|
* 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
2307
|
*/
|
|
2097
|
-
export const listProposals = <ThrowOnError extends boolean =
|
|
2308
|
+
export const listProposals = <ThrowOnError extends boolean = true>(
|
|
2098
2309
|
options?: Options<ListProposalsData, ThrowOnError>,
|
|
2099
2310
|
) => {
|
|
2100
2311
|
return (options?.client ?? _heyApiClient).get<
|
|
@@ -2102,6 +2313,12 @@ export const listProposals = <ThrowOnError extends boolean = false>(
|
|
|
2102
2313
|
ListProposalsErrors,
|
|
2103
2314
|
ThrowOnError
|
|
2104
2315
|
>({
|
|
2316
|
+
security: [
|
|
2317
|
+
{
|
|
2318
|
+
name: "x-api-token",
|
|
2319
|
+
type: "apiKey",
|
|
2320
|
+
},
|
|
2321
|
+
],
|
|
2105
2322
|
responseTransformer: listProposalsResponseTransformer,
|
|
2106
2323
|
url: "/v1/proposals",
|
|
2107
2324
|
...options,
|
|
@@ -2111,7 +2328,7 @@ export const listProposals = <ThrowOnError extends boolean = false>(
|
|
|
2111
2328
|
/**
|
|
2112
2329
|
* Submit a proposal (proxied to proposal-service)
|
|
2113
2330
|
*/
|
|
2114
|
-
export const submitProposal = <ThrowOnError extends boolean =
|
|
2331
|
+
export const submitProposal = <ThrowOnError extends boolean = true>(
|
|
2115
2332
|
options: Options<SubmitProposalData, ThrowOnError>,
|
|
2116
2333
|
) => {
|
|
2117
2334
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2138,7 +2355,7 @@ export const submitProposal = <ThrowOnError extends boolean = false>(
|
|
|
2138
2355
|
* Get a proposal by ID (proxied to proposal-service)
|
|
2139
2356
|
* Returns full proposal detail including all change records.
|
|
2140
2357
|
*/
|
|
2141
|
-
export const getProposal = <ThrowOnError extends boolean =
|
|
2358
|
+
export const getProposal = <ThrowOnError extends boolean = true>(
|
|
2142
2359
|
options: Options<GetProposalData, ThrowOnError>,
|
|
2143
2360
|
) => {
|
|
2144
2361
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2146,6 +2363,12 @@ export const getProposal = <ThrowOnError extends boolean = false>(
|
|
|
2146
2363
|
GetProposalErrors,
|
|
2147
2364
|
ThrowOnError
|
|
2148
2365
|
>({
|
|
2366
|
+
security: [
|
|
2367
|
+
{
|
|
2368
|
+
name: "x-api-token",
|
|
2369
|
+
type: "apiKey",
|
|
2370
|
+
},
|
|
2371
|
+
],
|
|
2149
2372
|
responseTransformer: getProposalResponseTransformer,
|
|
2150
2373
|
url: "/v1/proposals/{id}",
|
|
2151
2374
|
...options,
|
|
@@ -2155,7 +2378,7 @@ export const getProposal = <ThrowOnError extends boolean = false>(
|
|
|
2155
2378
|
/**
|
|
2156
2379
|
* Approve or reject a proposal (proxied to proposal-service)
|
|
2157
2380
|
*/
|
|
2158
|
-
export const reviewProposal = <ThrowOnError extends boolean =
|
|
2381
|
+
export const reviewProposal = <ThrowOnError extends boolean = true>(
|
|
2159
2382
|
options: Options<ReviewProposalData, ThrowOnError>,
|
|
2160
2383
|
) => {
|
|
2161
2384
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2179,7 +2402,7 @@ export const reviewProposal = <ThrowOnError extends boolean = false>(
|
|
|
2179
2402
|
};
|
|
2180
2403
|
|
|
2181
2404
|
export const protocolTriggersApiControllerTriggerPayout0V1 = <
|
|
2182
|
-
ThrowOnError extends boolean =
|
|
2405
|
+
ThrowOnError extends boolean = true,
|
|
2183
2406
|
>(
|
|
2184
2407
|
options: Options<
|
|
2185
2408
|
ProtocolTriggersApiControllerTriggerPayout0V1Data,
|
|
@@ -2210,7 +2433,7 @@ export const protocolTriggersApiControllerTriggerPayout0V1 = <
|
|
|
2210
2433
|
* @deprecated
|
|
2211
2434
|
*/
|
|
2212
2435
|
export const protocolTriggersApiControllerTriggerPayout1 = <
|
|
2213
|
-
ThrowOnError extends boolean =
|
|
2436
|
+
ThrowOnError extends boolean = true,
|
|
2214
2437
|
>(
|
|
2215
2438
|
options: Options<
|
|
2216
2439
|
ProtocolTriggersApiControllerTriggerPayout1Data,
|
|
@@ -2238,7 +2461,7 @@ export const protocolTriggersApiControllerTriggerPayout1 = <
|
|
|
2238
2461
|
};
|
|
2239
2462
|
|
|
2240
2463
|
export const protocolTriggersApiControllerTriggerMissionClose0V1 = <
|
|
2241
|
-
ThrowOnError extends boolean =
|
|
2464
|
+
ThrowOnError extends boolean = true,
|
|
2242
2465
|
>(
|
|
2243
2466
|
options: Options<
|
|
2244
2467
|
ProtocolTriggersApiControllerTriggerMissionClose0V1Data,
|
|
@@ -2269,7 +2492,7 @@ export const protocolTriggersApiControllerTriggerMissionClose0V1 = <
|
|
|
2269
2492
|
* @deprecated
|
|
2270
2493
|
*/
|
|
2271
2494
|
export const protocolTriggersApiControllerTriggerMissionClose1 = <
|
|
2272
|
-
ThrowOnError extends boolean =
|
|
2495
|
+
ThrowOnError extends boolean = true,
|
|
2273
2496
|
>(
|
|
2274
2497
|
options: Options<
|
|
2275
2498
|
ProtocolTriggersApiControllerTriggerMissionClose1Data,
|
|
@@ -2297,7 +2520,7 @@ export const protocolTriggersApiControllerTriggerMissionClose1 = <
|
|
|
2297
2520
|
};
|
|
2298
2521
|
|
|
2299
2522
|
export const quotesControllerCreateQuote0V1 = <
|
|
2300
|
-
ThrowOnError extends boolean =
|
|
2523
|
+
ThrowOnError extends boolean = true,
|
|
2301
2524
|
>(
|
|
2302
2525
|
options: Options<QuotesControllerCreateQuote0V1Data, ThrowOnError>,
|
|
2303
2526
|
) => {
|
|
@@ -2325,7 +2548,7 @@ export const quotesControllerCreateQuote0V1 = <
|
|
|
2325
2548
|
* @deprecated
|
|
2326
2549
|
*/
|
|
2327
2550
|
export const quotesControllerCreateQuote1 = <
|
|
2328
|
-
ThrowOnError extends boolean =
|
|
2551
|
+
ThrowOnError extends boolean = true,
|
|
2329
2552
|
>(
|
|
2330
2553
|
options: Options<QuotesControllerCreateQuote1Data, ThrowOnError>,
|
|
2331
2554
|
) => {
|
|
@@ -2350,7 +2573,7 @@ export const quotesControllerCreateQuote1 = <
|
|
|
2350
2573
|
};
|
|
2351
2574
|
|
|
2352
2575
|
export const quotesControllerGetQuote0V1 = <
|
|
2353
|
-
ThrowOnError extends boolean =
|
|
2576
|
+
ThrowOnError extends boolean = true,
|
|
2354
2577
|
>(
|
|
2355
2578
|
options: Options<QuotesControllerGetQuote0V1Data, ThrowOnError>,
|
|
2356
2579
|
) => {
|
|
@@ -2373,7 +2596,7 @@ export const quotesControllerGetQuote0V1 = <
|
|
|
2373
2596
|
/**
|
|
2374
2597
|
* @deprecated
|
|
2375
2598
|
*/
|
|
2376
|
-
export const quotesControllerGetQuote1 = <ThrowOnError extends boolean =
|
|
2599
|
+
export const quotesControllerGetQuote1 = <ThrowOnError extends boolean = true>(
|
|
2377
2600
|
options: Options<QuotesControllerGetQuote1Data, ThrowOnError>,
|
|
2378
2601
|
) => {
|
|
2379
2602
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2392,39 +2615,6 @@ export const quotesControllerGetQuote1 = <ThrowOnError extends boolean = false>(
|
|
|
2392
2615
|
});
|
|
2393
2616
|
};
|
|
2394
2617
|
|
|
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
2618
|
/**
|
|
2429
2619
|
* Create new vault requests
|
|
2430
2620
|
* Create vault requests and publish to the internal.vault.requested queue.
|
|
@@ -2432,7 +2622,7 @@ export const schemaControllerGetEventSchema1 = <
|
|
|
2432
2622
|
* Api is meant for internal use to add data on chain manually.
|
|
2433
2623
|
*/
|
|
2434
2624
|
export const vaultsControllerCreateVaults0V1 = <
|
|
2435
|
-
ThrowOnError extends boolean =
|
|
2625
|
+
ThrowOnError extends boolean = true,
|
|
2436
2626
|
>(
|
|
2437
2627
|
options: Options<VaultsControllerCreateVaults0V1Data, ThrowOnError>,
|
|
2438
2628
|
) => {
|
|
@@ -2468,7 +2658,7 @@ export const vaultsControllerCreateVaults0V1 = <
|
|
|
2468
2658
|
* @deprecated
|
|
2469
2659
|
*/
|
|
2470
2660
|
export const vaultsControllerCreateVaults1 = <
|
|
2471
|
-
ThrowOnError extends boolean =
|
|
2661
|
+
ThrowOnError extends boolean = true,
|
|
2472
2662
|
>(
|
|
2473
2663
|
options: Options<VaultsControllerCreateVaults1Data, ThrowOnError>,
|
|
2474
2664
|
) => {
|
|
@@ -2497,7 +2687,7 @@ export const vaultsControllerCreateVaults1 = <
|
|
|
2497
2687
|
};
|
|
2498
2688
|
|
|
2499
2689
|
export const webhooksControllerGetMany0V1 = <
|
|
2500
|
-
ThrowOnError extends boolean =
|
|
2690
|
+
ThrowOnError extends boolean = true,
|
|
2501
2691
|
>(
|
|
2502
2692
|
options: Options<WebhooksControllerGetMany0V1Data, ThrowOnError>,
|
|
2503
2693
|
) => {
|
|
@@ -2519,7 +2709,7 @@ export const webhooksControllerGetMany0V1 = <
|
|
|
2519
2709
|
};
|
|
2520
2710
|
|
|
2521
2711
|
export const webhooksControllerCreate0V1 = <
|
|
2522
|
-
ThrowOnError extends boolean =
|
|
2712
|
+
ThrowOnError extends boolean = true,
|
|
2523
2713
|
>(
|
|
2524
2714
|
options: Options<WebhooksControllerCreate0V1Data, ThrowOnError>,
|
|
2525
2715
|
) => {
|
|
@@ -2546,9 +2736,7 @@ export const webhooksControllerCreate0V1 = <
|
|
|
2546
2736
|
/**
|
|
2547
2737
|
* @deprecated
|
|
2548
2738
|
*/
|
|
2549
|
-
export const webhooksControllerGetMany1 = <
|
|
2550
|
-
ThrowOnError extends boolean = false,
|
|
2551
|
-
>(
|
|
2739
|
+
export const webhooksControllerGetMany1 = <ThrowOnError extends boolean = true>(
|
|
2552
2740
|
options: Options<WebhooksControllerGetMany1Data, ThrowOnError>,
|
|
2553
2741
|
) => {
|
|
2554
2742
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2571,7 +2759,7 @@ export const webhooksControllerGetMany1 = <
|
|
|
2571
2759
|
/**
|
|
2572
2760
|
* @deprecated
|
|
2573
2761
|
*/
|
|
2574
|
-
export const webhooksControllerCreate1 = <ThrowOnError extends boolean =
|
|
2762
|
+
export const webhooksControllerCreate1 = <ThrowOnError extends boolean = true>(
|
|
2575
2763
|
options: Options<WebhooksControllerCreate1Data, ThrowOnError>,
|
|
2576
2764
|
) => {
|
|
2577
2765
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2595,7 +2783,7 @@ export const webhooksControllerCreate1 = <ThrowOnError extends boolean = false>(
|
|
|
2595
2783
|
};
|
|
2596
2784
|
|
|
2597
2785
|
export const webhooksControllerDelete0V1 = <
|
|
2598
|
-
ThrowOnError extends boolean =
|
|
2786
|
+
ThrowOnError extends boolean = true,
|
|
2599
2787
|
>(
|
|
2600
2788
|
options: Options<WebhooksControllerDelete0V1Data, ThrowOnError>,
|
|
2601
2789
|
) => {
|
|
@@ -2615,7 +2803,7 @@ export const webhooksControllerDelete0V1 = <
|
|
|
2615
2803
|
});
|
|
2616
2804
|
};
|
|
2617
2805
|
|
|
2618
|
-
export const webhooksControllerGet0V1 = <ThrowOnError extends boolean =
|
|
2806
|
+
export const webhooksControllerGet0V1 = <ThrowOnError extends boolean = true>(
|
|
2619
2807
|
options: Options<WebhooksControllerGet0V1Data, ThrowOnError>,
|
|
2620
2808
|
) => {
|
|
2621
2809
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2636,7 +2824,7 @@ export const webhooksControllerGet0V1 = <ThrowOnError extends boolean = false>(
|
|
|
2636
2824
|
};
|
|
2637
2825
|
|
|
2638
2826
|
export const webhooksControllerUpdate0V1 = <
|
|
2639
|
-
ThrowOnError extends boolean =
|
|
2827
|
+
ThrowOnError extends boolean = true,
|
|
2640
2828
|
>(
|
|
2641
2829
|
options: Options<WebhooksControllerUpdate0V1Data, ThrowOnError>,
|
|
2642
2830
|
) => {
|
|
@@ -2664,7 +2852,7 @@ export const webhooksControllerUpdate0V1 = <
|
|
|
2664
2852
|
/**
|
|
2665
2853
|
* @deprecated
|
|
2666
2854
|
*/
|
|
2667
|
-
export const webhooksControllerDelete1 = <ThrowOnError extends boolean =
|
|
2855
|
+
export const webhooksControllerDelete1 = <ThrowOnError extends boolean = true>(
|
|
2668
2856
|
options: Options<WebhooksControllerDelete1Data, ThrowOnError>,
|
|
2669
2857
|
) => {
|
|
2670
2858
|
return (options.client ?? _heyApiClient).delete<
|
|
@@ -2686,7 +2874,7 @@ export const webhooksControllerDelete1 = <ThrowOnError extends boolean = false>(
|
|
|
2686
2874
|
/**
|
|
2687
2875
|
* @deprecated
|
|
2688
2876
|
*/
|
|
2689
|
-
export const webhooksControllerGet1 = <ThrowOnError extends boolean =
|
|
2877
|
+
export const webhooksControllerGet1 = <ThrowOnError extends boolean = true>(
|
|
2690
2878
|
options: Options<WebhooksControllerGet1Data, ThrowOnError>,
|
|
2691
2879
|
) => {
|
|
2692
2880
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2709,7 +2897,7 @@ export const webhooksControllerGet1 = <ThrowOnError extends boolean = false>(
|
|
|
2709
2897
|
/**
|
|
2710
2898
|
* @deprecated
|
|
2711
2899
|
*/
|
|
2712
|
-
export const webhooksControllerUpdate1 = <ThrowOnError extends boolean =
|
|
2900
|
+
export const webhooksControllerUpdate1 = <ThrowOnError extends boolean = true>(
|
|
2713
2901
|
options: Options<WebhooksControllerUpdate1Data, ThrowOnError>,
|
|
2714
2902
|
) => {
|
|
2715
2903
|
return (options.client ?? _heyApiClient).put<
|
|
@@ -2734,7 +2922,7 @@ export const webhooksControllerUpdate1 = <ThrowOnError extends boolean = false>(
|
|
|
2734
2922
|
};
|
|
2735
2923
|
|
|
2736
2924
|
export const webhooksControllerRegenerateSecret0V1 = <
|
|
2737
|
-
ThrowOnError extends boolean =
|
|
2925
|
+
ThrowOnError extends boolean = true,
|
|
2738
2926
|
>(
|
|
2739
2927
|
options: Options<WebhooksControllerRegenerateSecret0V1Data, ThrowOnError>,
|
|
2740
2928
|
) => {
|
|
@@ -2764,7 +2952,7 @@ export const webhooksControllerRegenerateSecret0V1 = <
|
|
|
2764
2952
|
* @deprecated
|
|
2765
2953
|
*/
|
|
2766
2954
|
export const webhooksControllerRegenerateSecret1 = <
|
|
2767
|
-
ThrowOnError extends boolean =
|
|
2955
|
+
ThrowOnError extends boolean = true,
|
|
2768
2956
|
>(
|
|
2769
2957
|
options: Options<WebhooksControllerRegenerateSecret1Data, ThrowOnError>,
|
|
2770
2958
|
) => {
|
|
@@ -2789,7 +2977,7 @@ export const webhooksControllerRegenerateSecret1 = <
|
|
|
2789
2977
|
});
|
|
2790
2978
|
};
|
|
2791
2979
|
|
|
2792
|
-
export const webhooksControllerTest0V1 = <ThrowOnError extends boolean =
|
|
2980
|
+
export const webhooksControllerTest0V1 = <ThrowOnError extends boolean = true>(
|
|
2793
2981
|
options: Options<WebhooksControllerTest0V1Data, ThrowOnError>,
|
|
2794
2982
|
) => {
|
|
2795
2983
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2811,7 +2999,7 @@ export const webhooksControllerTest0V1 = <ThrowOnError extends boolean = false>(
|
|
|
2811
2999
|
/**
|
|
2812
3000
|
* @deprecated
|
|
2813
3001
|
*/
|
|
2814
|
-
export const webhooksControllerTest1 = <ThrowOnError extends boolean =
|
|
3002
|
+
export const webhooksControllerTest1 = <ThrowOnError extends boolean = true>(
|
|
2815
3003
|
options: Options<WebhooksControllerTest1Data, ThrowOnError>,
|
|
2816
3004
|
) => {
|
|
2817
3005
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2831,7 +3019,7 @@ export const webhooksControllerTest1 = <ThrowOnError extends boolean = false>(
|
|
|
2831
3019
|
};
|
|
2832
3020
|
|
|
2833
3021
|
export const webhooksControllerGetStatus0V1 = <
|
|
2834
|
-
ThrowOnError extends boolean =
|
|
3022
|
+
ThrowOnError extends boolean = true,
|
|
2835
3023
|
>(
|
|
2836
3024
|
options: Options<WebhooksControllerGetStatus0V1Data, ThrowOnError>,
|
|
2837
3025
|
) => {
|
|
@@ -2855,7 +3043,7 @@ export const webhooksControllerGetStatus0V1 = <
|
|
|
2855
3043
|
* @deprecated
|
|
2856
3044
|
*/
|
|
2857
3045
|
export const webhooksControllerGetStatus1 = <
|
|
2858
|
-
ThrowOnError extends boolean =
|
|
3046
|
+
ThrowOnError extends boolean = true,
|
|
2859
3047
|
>(
|
|
2860
3048
|
options: Options<WebhooksControllerGetStatus1Data, ThrowOnError>,
|
|
2861
3049
|
) => {
|
|
@@ -2879,7 +3067,7 @@ export const webhooksControllerGetStatus1 = <
|
|
|
2879
3067
|
* Create a zone
|
|
2880
3068
|
*/
|
|
2881
3069
|
export const zonesControllerCreateZone0V1 = <
|
|
2882
|
-
ThrowOnError extends boolean =
|
|
3070
|
+
ThrowOnError extends boolean = true,
|
|
2883
3071
|
>(
|
|
2884
3072
|
options: Options<ZonesControllerCreateZone0V1Data, ThrowOnError>,
|
|
2885
3073
|
) => {
|
|
@@ -2908,9 +3096,7 @@ export const zonesControllerCreateZone0V1 = <
|
|
|
2908
3096
|
* Create a zone
|
|
2909
3097
|
* @deprecated
|
|
2910
3098
|
*/
|
|
2911
|
-
export const zonesControllerCreateZone1 = <
|
|
2912
|
-
ThrowOnError extends boolean = false,
|
|
2913
|
-
>(
|
|
3099
|
+
export const zonesControllerCreateZone1 = <ThrowOnError extends boolean = true>(
|
|
2914
3100
|
options: Options<ZonesControllerCreateZone1Data, ThrowOnError>,
|
|
2915
3101
|
) => {
|
|
2916
3102
|
return (options.client ?? _heyApiClient).post<
|
|
@@ -2938,7 +3124,7 @@ export const zonesControllerCreateZone1 = <
|
|
|
2938
3124
|
* Delete a zone
|
|
2939
3125
|
*/
|
|
2940
3126
|
export const zonesControllerDeleteZone0V1 = <
|
|
2941
|
-
ThrowOnError extends boolean =
|
|
3127
|
+
ThrowOnError extends boolean = true,
|
|
2942
3128
|
>(
|
|
2943
3129
|
options: Options<ZonesControllerDeleteZone0V1Data, ThrowOnError>,
|
|
2944
3130
|
) => {
|
|
@@ -2961,7 +3147,7 @@ export const zonesControllerDeleteZone0V1 = <
|
|
|
2961
3147
|
/**
|
|
2962
3148
|
* Get a zone by id
|
|
2963
3149
|
*/
|
|
2964
|
-
export const zonesControllerGetZone0V1 = <ThrowOnError extends boolean =
|
|
3150
|
+
export const zonesControllerGetZone0V1 = <ThrowOnError extends boolean = true>(
|
|
2965
3151
|
options: Options<ZonesControllerGetZone0V1Data, ThrowOnError>,
|
|
2966
3152
|
) => {
|
|
2967
3153
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -2974,6 +3160,10 @@ export const zonesControllerGetZone0V1 = <ThrowOnError extends boolean = false>(
|
|
|
2974
3160
|
name: "x-api-token",
|
|
2975
3161
|
type: "apiKey",
|
|
2976
3162
|
},
|
|
3163
|
+
{
|
|
3164
|
+
name: "x-api-token",
|
|
3165
|
+
type: "apiKey",
|
|
3166
|
+
},
|
|
2977
3167
|
],
|
|
2978
3168
|
responseTransformer: zonesControllerGetZone0V1ResponseTransformer,
|
|
2979
3169
|
url: "/v1/zones/{id}",
|
|
@@ -2985,7 +3175,7 @@ export const zonesControllerGetZone0V1 = <ThrowOnError extends boolean = false>(
|
|
|
2985
3175
|
* Update a zone
|
|
2986
3176
|
*/
|
|
2987
3177
|
export const zonesControllerUpdateZone0V1 = <
|
|
2988
|
-
ThrowOnError extends boolean =
|
|
3178
|
+
ThrowOnError extends boolean = true,
|
|
2989
3179
|
>(
|
|
2990
3180
|
options: Options<ZonesControllerUpdateZone0V1Data, ThrowOnError>,
|
|
2991
3181
|
) => {
|
|
@@ -3014,9 +3204,7 @@ export const zonesControllerUpdateZone0V1 = <
|
|
|
3014
3204
|
* Delete a zone
|
|
3015
3205
|
* @deprecated
|
|
3016
3206
|
*/
|
|
3017
|
-
export const zonesControllerDeleteZone1 = <
|
|
3018
|
-
ThrowOnError extends boolean = false,
|
|
3019
|
-
>(
|
|
3207
|
+
export const zonesControllerDeleteZone1 = <ThrowOnError extends boolean = true>(
|
|
3020
3208
|
options: Options<ZonesControllerDeleteZone1Data, ThrowOnError>,
|
|
3021
3209
|
) => {
|
|
3022
3210
|
return (options.client ?? _heyApiClient).delete<
|
|
@@ -3039,7 +3227,7 @@ export const zonesControllerDeleteZone1 = <
|
|
|
3039
3227
|
* Get a zone by id
|
|
3040
3228
|
* @deprecated
|
|
3041
3229
|
*/
|
|
3042
|
-
export const zonesControllerGetZone1 = <ThrowOnError extends boolean =
|
|
3230
|
+
export const zonesControllerGetZone1 = <ThrowOnError extends boolean = true>(
|
|
3043
3231
|
options: Options<ZonesControllerGetZone1Data, ThrowOnError>,
|
|
3044
3232
|
) => {
|
|
3045
3233
|
return (options.client ?? _heyApiClient).get<
|
|
@@ -3052,6 +3240,10 @@ export const zonesControllerGetZone1 = <ThrowOnError extends boolean = false>(
|
|
|
3052
3240
|
name: "x-api-token",
|
|
3053
3241
|
type: "apiKey",
|
|
3054
3242
|
},
|
|
3243
|
+
{
|
|
3244
|
+
name: "x-api-token",
|
|
3245
|
+
type: "apiKey",
|
|
3246
|
+
},
|
|
3055
3247
|
],
|
|
3056
3248
|
responseTransformer: zonesControllerGetZone1ResponseTransformer,
|
|
3057
3249
|
url: "/zones/{id}",
|
|
@@ -3063,9 +3255,7 @@ export const zonesControllerGetZone1 = <ThrowOnError extends boolean = false>(
|
|
|
3063
3255
|
* Update a zone
|
|
3064
3256
|
* @deprecated
|
|
3065
3257
|
*/
|
|
3066
|
-
export const zonesControllerUpdateZone1 = <
|
|
3067
|
-
ThrowOnError extends boolean = false,
|
|
3068
|
-
>(
|
|
3258
|
+
export const zonesControllerUpdateZone1 = <ThrowOnError extends boolean = true>(
|
|
3069
3259
|
options: Options<ZonesControllerUpdateZone1Data, ThrowOnError>,
|
|
3070
3260
|
) => {
|
|
3071
3261
|
return (options.client ?? _heyApiClient).put<
|
|
@@ -3094,7 +3284,7 @@ export const zonesControllerUpdateZone1 = <
|
|
|
3094
3284
|
* 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
3285
|
*/
|
|
3096
3286
|
export const eventProcessorMissionsSyncControllerResyncMissions0V1 = <
|
|
3097
|
-
ThrowOnError extends boolean =
|
|
3287
|
+
ThrowOnError extends boolean = true,
|
|
3098
3288
|
>(
|
|
3099
3289
|
options: Options<
|
|
3100
3290
|
EventProcessorMissionsSyncControllerResyncMissions0V1Data,
|
|
@@ -3127,7 +3317,7 @@ export const eventProcessorMissionsSyncControllerResyncMissions0V1 = <
|
|
|
3127
3317
|
* @deprecated
|
|
3128
3318
|
*/
|
|
3129
3319
|
export const eventProcessorMissionsSyncControllerResyncMissions1 = <
|
|
3130
|
-
ThrowOnError extends boolean =
|
|
3320
|
+
ThrowOnError extends boolean = true,
|
|
3131
3321
|
>(
|
|
3132
3322
|
options: Options<
|
|
3133
3323
|
EventProcessorMissionsSyncControllerResyncMissions1Data,
|
|
@@ -3159,7 +3349,7 @@ export const eventProcessorMissionsSyncControllerResyncMissions1 = <
|
|
|
3159
3349
|
* 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
3350
|
*/
|
|
3161
3351
|
export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1 = <
|
|
3162
|
-
ThrowOnError extends boolean =
|
|
3352
|
+
ThrowOnError extends boolean = true,
|
|
3163
3353
|
>(
|
|
3164
3354
|
options: Options<
|
|
3165
3355
|
EventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1Data,
|
|
@@ -3192,7 +3382,7 @@ export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1 = <
|
|
|
3192
3382
|
* @deprecated
|
|
3193
3383
|
*/
|
|
3194
3384
|
export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews1 = <
|
|
3195
|
-
ThrowOnError extends boolean =
|
|
3385
|
+
ThrowOnError extends boolean = true,
|
|
3196
3386
|
>(
|
|
3197
3387
|
options: Options<
|
|
3198
3388
|
EventProcessorFlightReviewsSyncControllerResyncFlightReviews1Data,
|
|
@@ -3220,7 +3410,7 @@ export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews1 = <
|
|
|
3220
3410
|
};
|
|
3221
3411
|
|
|
3222
3412
|
export const alchemyControllerHandleWebhook0V1 = <
|
|
3223
|
-
ThrowOnError extends boolean =
|
|
3413
|
+
ThrowOnError extends boolean = true,
|
|
3224
3414
|
>(
|
|
3225
3415
|
options: Options<AlchemyControllerHandleWebhook0V1Data, ThrowOnError>,
|
|
3226
3416
|
) => {
|
|
@@ -3242,7 +3432,7 @@ export const alchemyControllerHandleWebhook0V1 = <
|
|
|
3242
3432
|
* @deprecated
|
|
3243
3433
|
*/
|
|
3244
3434
|
export const alchemyControllerHandleWebhook1 = <
|
|
3245
|
-
ThrowOnError extends boolean =
|
|
3435
|
+
ThrowOnError extends boolean = true,
|
|
3246
3436
|
>(
|
|
3247
3437
|
options: Options<AlchemyControllerHandleWebhook1Data, ThrowOnError>,
|
|
3248
3438
|
) => {
|
|
@@ -3264,7 +3454,7 @@ export const alchemyControllerHandleWebhook1 = <
|
|
|
3264
3454
|
* Get all inbound webhook configs
|
|
3265
3455
|
*/
|
|
3266
3456
|
export const inboundWebhookConfigsControllerGetMany0V1 = <
|
|
3267
|
-
ThrowOnError extends boolean =
|
|
3457
|
+
ThrowOnError extends boolean = true,
|
|
3268
3458
|
>(
|
|
3269
3459
|
options?: Options<
|
|
3270
3460
|
InboundWebhookConfigsControllerGetMany0V1Data,
|
|
@@ -3296,7 +3486,7 @@ export const inboundWebhookConfigsControllerGetMany0V1 = <
|
|
|
3296
3486
|
* [Detailed Instructions](https://github.com/spexigeo/layer-drone/blob/main/apps/protocol-api/src/modules/api/webhooks/inbound/alchemy/README.md)
|
|
3297
3487
|
*/
|
|
3298
3488
|
export const inboundWebhookConfigsControllerCreate0V1 = <
|
|
3299
|
-
ThrowOnError extends boolean =
|
|
3489
|
+
ThrowOnError extends boolean = true,
|
|
3300
3490
|
>(
|
|
3301
3491
|
options: Options<InboundWebhookConfigsControllerCreate0V1Data, ThrowOnError>,
|
|
3302
3492
|
) => {
|
|
@@ -3327,7 +3517,7 @@ export const inboundWebhookConfigsControllerCreate0V1 = <
|
|
|
3327
3517
|
* @deprecated
|
|
3328
3518
|
*/
|
|
3329
3519
|
export const inboundWebhookConfigsControllerGetMany1 = <
|
|
3330
|
-
ThrowOnError extends boolean =
|
|
3520
|
+
ThrowOnError extends boolean = true,
|
|
3331
3521
|
>(
|
|
3332
3522
|
options?: Options<InboundWebhookConfigsControllerGetMany1Data, ThrowOnError>,
|
|
3333
3523
|
) => {
|
|
@@ -3357,7 +3547,7 @@ export const inboundWebhookConfigsControllerGetMany1 = <
|
|
|
3357
3547
|
* @deprecated
|
|
3358
3548
|
*/
|
|
3359
3549
|
export const inboundWebhookConfigsControllerCreate1 = <
|
|
3360
|
-
ThrowOnError extends boolean =
|
|
3550
|
+
ThrowOnError extends boolean = true,
|
|
3361
3551
|
>(
|
|
3362
3552
|
options: Options<InboundWebhookConfigsControllerCreate1Data, ThrowOnError>,
|
|
3363
3553
|
) => {
|
|
@@ -3387,7 +3577,7 @@ export const inboundWebhookConfigsControllerCreate1 = <
|
|
|
3387
3577
|
* Delete an inbound webhook config
|
|
3388
3578
|
*/
|
|
3389
3579
|
export const inboundWebhookConfigsControllerDelete0V1 = <
|
|
3390
|
-
ThrowOnError extends boolean =
|
|
3580
|
+
ThrowOnError extends boolean = true,
|
|
3391
3581
|
>(
|
|
3392
3582
|
options: Options<InboundWebhookConfigsControllerDelete0V1Data, ThrowOnError>,
|
|
3393
3583
|
) => {
|
|
@@ -3411,7 +3601,7 @@ export const inboundWebhookConfigsControllerDelete0V1 = <
|
|
|
3411
3601
|
* Get an inbound webhook config by id
|
|
3412
3602
|
*/
|
|
3413
3603
|
export const inboundWebhookConfigsControllerGet0V1 = <
|
|
3414
|
-
ThrowOnError extends boolean =
|
|
3604
|
+
ThrowOnError extends boolean = true,
|
|
3415
3605
|
>(
|
|
3416
3606
|
options: Options<InboundWebhookConfigsControllerGet0V1Data, ThrowOnError>,
|
|
3417
3607
|
) => {
|
|
@@ -3437,7 +3627,7 @@ export const inboundWebhookConfigsControllerGet0V1 = <
|
|
|
3437
3627
|
* Update an inbound webhook config
|
|
3438
3628
|
*/
|
|
3439
3629
|
export const inboundWebhookConfigsControllerUpdate0V1 = <
|
|
3440
|
-
ThrowOnError extends boolean =
|
|
3630
|
+
ThrowOnError extends boolean = true,
|
|
3441
3631
|
>(
|
|
3442
3632
|
options: Options<InboundWebhookConfigsControllerUpdate0V1Data, ThrowOnError>,
|
|
3443
3633
|
) => {
|
|
@@ -3468,7 +3658,7 @@ export const inboundWebhookConfigsControllerUpdate0V1 = <
|
|
|
3468
3658
|
* @deprecated
|
|
3469
3659
|
*/
|
|
3470
3660
|
export const inboundWebhookConfigsControllerDelete1 = <
|
|
3471
|
-
ThrowOnError extends boolean =
|
|
3661
|
+
ThrowOnError extends boolean = true,
|
|
3472
3662
|
>(
|
|
3473
3663
|
options: Options<InboundWebhookConfigsControllerDelete1Data, ThrowOnError>,
|
|
3474
3664
|
) => {
|
|
@@ -3493,7 +3683,7 @@ export const inboundWebhookConfigsControllerDelete1 = <
|
|
|
3493
3683
|
* @deprecated
|
|
3494
3684
|
*/
|
|
3495
3685
|
export const inboundWebhookConfigsControllerGet1 = <
|
|
3496
|
-
ThrowOnError extends boolean =
|
|
3686
|
+
ThrowOnError extends boolean = true,
|
|
3497
3687
|
>(
|
|
3498
3688
|
options: Options<InboundWebhookConfigsControllerGet1Data, ThrowOnError>,
|
|
3499
3689
|
) => {
|
|
@@ -3519,7 +3709,7 @@ export const inboundWebhookConfigsControllerGet1 = <
|
|
|
3519
3709
|
* @deprecated
|
|
3520
3710
|
*/
|
|
3521
3711
|
export const inboundWebhookConfigsControllerUpdate1 = <
|
|
3522
|
-
ThrowOnError extends boolean =
|
|
3712
|
+
ThrowOnError extends boolean = true,
|
|
3523
3713
|
>(
|
|
3524
3714
|
options: Options<InboundWebhookConfigsControllerUpdate1Data, ThrowOnError>,
|
|
3525
3715
|
) => {
|
|
@@ -3544,3 +3734,796 @@ export const inboundWebhookConfigsControllerUpdate1 = <
|
|
|
3544
3734
|
},
|
|
3545
3735
|
});
|
|
3546
3736
|
};
|
|
3737
|
+
|
|
3738
|
+
/**
|
|
3739
|
+
* List campaigns (mission-fulfillment)
|
|
3740
|
+
* Returns campaigns from mission-fulfillment.
|
|
3741
|
+
*/
|
|
3742
|
+
export const campaignsControllerGetCampaignsV2V2 = <
|
|
3743
|
+
ThrowOnError extends boolean = true,
|
|
3744
|
+
>(
|
|
3745
|
+
options?: Options<CampaignsControllerGetCampaignsV2V2Data, ThrowOnError>,
|
|
3746
|
+
) => {
|
|
3747
|
+
return (options?.client ?? _heyApiClient).get<
|
|
3748
|
+
CampaignsControllerGetCampaignsV2V2Responses,
|
|
3749
|
+
CampaignsControllerGetCampaignsV2V2Errors,
|
|
3750
|
+
ThrowOnError
|
|
3751
|
+
>({
|
|
3752
|
+
security: [
|
|
3753
|
+
{
|
|
3754
|
+
name: "x-api-token",
|
|
3755
|
+
type: "apiKey",
|
|
3756
|
+
},
|
|
3757
|
+
],
|
|
3758
|
+
responseTransformer: campaignsControllerGetCampaignsV2V2ResponseTransformer,
|
|
3759
|
+
url: "/v2/campaigns",
|
|
3760
|
+
...options,
|
|
3761
|
+
});
|
|
3762
|
+
};
|
|
3763
|
+
|
|
3764
|
+
/**
|
|
3765
|
+
* Create a campaign (mission-fulfillment)
|
|
3766
|
+
* Creates a campaign in mission-fulfillment.
|
|
3767
|
+
*/
|
|
3768
|
+
export const campaignsControllerCreateCampaignV2V2 = <
|
|
3769
|
+
ThrowOnError extends boolean = true,
|
|
3770
|
+
>(
|
|
3771
|
+
options: Options<CampaignsControllerCreateCampaignV2V2Data, ThrowOnError>,
|
|
3772
|
+
) => {
|
|
3773
|
+
return (options.client ?? _heyApiClient).post<
|
|
3774
|
+
CampaignsControllerCreateCampaignV2V2Responses,
|
|
3775
|
+
CampaignsControllerCreateCampaignV2V2Errors,
|
|
3776
|
+
ThrowOnError
|
|
3777
|
+
>({
|
|
3778
|
+
security: [
|
|
3779
|
+
{
|
|
3780
|
+
name: "x-api-token",
|
|
3781
|
+
type: "apiKey",
|
|
3782
|
+
},
|
|
3783
|
+
],
|
|
3784
|
+
responseTransformer:
|
|
3785
|
+
campaignsControllerCreateCampaignV2V2ResponseTransformer,
|
|
3786
|
+
url: "/v2/campaigns",
|
|
3787
|
+
...options,
|
|
3788
|
+
headers: {
|
|
3789
|
+
"Content-Type": "application/json",
|
|
3790
|
+
...options.headers,
|
|
3791
|
+
},
|
|
3792
|
+
});
|
|
3793
|
+
};
|
|
3794
|
+
|
|
3795
|
+
/**
|
|
3796
|
+
* Get a campaign by id (mission-fulfillment)
|
|
3797
|
+
* Returns a campaign from mission-fulfillment.
|
|
3798
|
+
*/
|
|
3799
|
+
export const campaignsControllerGetCampaignV2V2 = <
|
|
3800
|
+
ThrowOnError extends boolean = true,
|
|
3801
|
+
>(
|
|
3802
|
+
options: Options<CampaignsControllerGetCampaignV2V2Data, ThrowOnError>,
|
|
3803
|
+
) => {
|
|
3804
|
+
return (options.client ?? _heyApiClient).get<
|
|
3805
|
+
CampaignsControllerGetCampaignV2V2Responses,
|
|
3806
|
+
CampaignsControllerGetCampaignV2V2Errors,
|
|
3807
|
+
ThrowOnError
|
|
3808
|
+
>({
|
|
3809
|
+
security: [
|
|
3810
|
+
{
|
|
3811
|
+
name: "x-api-token",
|
|
3812
|
+
type: "apiKey",
|
|
3813
|
+
},
|
|
3814
|
+
],
|
|
3815
|
+
responseTransformer: campaignsControllerGetCampaignV2V2ResponseTransformer,
|
|
3816
|
+
url: "/v2/campaigns/{id}",
|
|
3817
|
+
...options,
|
|
3818
|
+
});
|
|
3819
|
+
};
|
|
3820
|
+
|
|
3821
|
+
/**
|
|
3822
|
+
* Update a campaign (mission-fulfillment)
|
|
3823
|
+
* Updates a campaign in mission-fulfillment.
|
|
3824
|
+
*/
|
|
3825
|
+
export const campaignsControllerUpdateCampaignV2V2 = <
|
|
3826
|
+
ThrowOnError extends boolean = true,
|
|
3827
|
+
>(
|
|
3828
|
+
options: Options<CampaignsControllerUpdateCampaignV2V2Data, ThrowOnError>,
|
|
3829
|
+
) => {
|
|
3830
|
+
return (options.client ?? _heyApiClient).patch<
|
|
3831
|
+
CampaignsControllerUpdateCampaignV2V2Responses,
|
|
3832
|
+
CampaignsControllerUpdateCampaignV2V2Errors,
|
|
3833
|
+
ThrowOnError
|
|
3834
|
+
>({
|
|
3835
|
+
security: [
|
|
3836
|
+
{
|
|
3837
|
+
name: "x-api-token",
|
|
3838
|
+
type: "apiKey",
|
|
3839
|
+
},
|
|
3840
|
+
],
|
|
3841
|
+
responseTransformer:
|
|
3842
|
+
campaignsControllerUpdateCampaignV2V2ResponseTransformer,
|
|
3843
|
+
url: "/v2/campaigns/{id}",
|
|
3844
|
+
...options,
|
|
3845
|
+
headers: {
|
|
3846
|
+
"Content-Type": "application/json",
|
|
3847
|
+
...options.headers,
|
|
3848
|
+
},
|
|
3849
|
+
});
|
|
3850
|
+
};
|
|
3851
|
+
|
|
3852
|
+
/**
|
|
3853
|
+
* Cancel a campaign (mission-fulfillment)
|
|
3854
|
+
* Cancels a campaign in mission-fulfillment.
|
|
3855
|
+
*/
|
|
3856
|
+
export const campaignsControllerCancelCampaignV2V2 = <
|
|
3857
|
+
ThrowOnError extends boolean = true,
|
|
3858
|
+
>(
|
|
3859
|
+
options: Options<CampaignsControllerCancelCampaignV2V2Data, ThrowOnError>,
|
|
3860
|
+
) => {
|
|
3861
|
+
return (options.client ?? _heyApiClient).post<
|
|
3862
|
+
CampaignsControllerCancelCampaignV2V2Responses,
|
|
3863
|
+
CampaignsControllerCancelCampaignV2V2Errors,
|
|
3864
|
+
ThrowOnError
|
|
3865
|
+
>({
|
|
3866
|
+
security: [
|
|
3867
|
+
{
|
|
3868
|
+
name: "x-api-token",
|
|
3869
|
+
type: "apiKey",
|
|
3870
|
+
},
|
|
3871
|
+
],
|
|
3872
|
+
url: "/v2/campaigns/{id}/cancel",
|
|
3873
|
+
...options,
|
|
3874
|
+
});
|
|
3875
|
+
};
|
|
3876
|
+
|
|
3877
|
+
/**
|
|
3878
|
+
* Get all flight plans (mission-fulfillment)
|
|
3879
|
+
* Returns flight plans from mission-fulfillment.
|
|
3880
|
+
*/
|
|
3881
|
+
export const flightPlansControllerGetManyV2V2 = <
|
|
3882
|
+
ThrowOnError extends boolean = true,
|
|
3883
|
+
>(
|
|
3884
|
+
options?: Options<FlightPlansControllerGetManyV2V2Data, ThrowOnError>,
|
|
3885
|
+
) => {
|
|
3886
|
+
return (options?.client ?? _heyApiClient).get<
|
|
3887
|
+
FlightPlansControllerGetManyV2V2Responses,
|
|
3888
|
+
FlightPlansControllerGetManyV2V2Errors,
|
|
3889
|
+
ThrowOnError
|
|
3890
|
+
>({
|
|
3891
|
+
security: [
|
|
3892
|
+
{
|
|
3893
|
+
name: "x-api-token",
|
|
3894
|
+
type: "apiKey",
|
|
3895
|
+
},
|
|
3896
|
+
],
|
|
3897
|
+
responseTransformer: flightPlansControllerGetManyV2V2ResponseTransformer,
|
|
3898
|
+
url: "/v2/flight-plans",
|
|
3899
|
+
...options,
|
|
3900
|
+
});
|
|
3901
|
+
};
|
|
3902
|
+
|
|
3903
|
+
/**
|
|
3904
|
+
* Create a flight plan (mission-fulfillment)
|
|
3905
|
+
* Creates a flight plan in mission-fulfillment.
|
|
3906
|
+
*/
|
|
3907
|
+
export const flightPlansControllerCreateV2V2 = <
|
|
3908
|
+
ThrowOnError extends boolean = true,
|
|
3909
|
+
>(
|
|
3910
|
+
options: Options<FlightPlansControllerCreateV2V2Data, ThrowOnError>,
|
|
3911
|
+
) => {
|
|
3912
|
+
return (options.client ?? _heyApiClient).post<
|
|
3913
|
+
FlightPlansControllerCreateV2V2Responses,
|
|
3914
|
+
FlightPlansControllerCreateV2V2Errors,
|
|
3915
|
+
ThrowOnError
|
|
3916
|
+
>({
|
|
3917
|
+
security: [
|
|
3918
|
+
{
|
|
3919
|
+
name: "x-api-token",
|
|
3920
|
+
type: "apiKey",
|
|
3921
|
+
},
|
|
3922
|
+
],
|
|
3923
|
+
responseTransformer: flightPlansControllerCreateV2V2ResponseTransformer,
|
|
3924
|
+
url: "/v2/flight-plans",
|
|
3925
|
+
...options,
|
|
3926
|
+
headers: {
|
|
3927
|
+
"Content-Type": "application/json",
|
|
3928
|
+
...options.headers,
|
|
3929
|
+
},
|
|
3930
|
+
});
|
|
3931
|
+
};
|
|
3932
|
+
|
|
3933
|
+
/**
|
|
3934
|
+
* Get a flight plan by ID (mission-fulfillment)
|
|
3935
|
+
* Returns a single flight plan from mission-fulfillment by its UUID.
|
|
3936
|
+
*/
|
|
3937
|
+
export const flightPlansControllerGetV2V2 = <
|
|
3938
|
+
ThrowOnError extends boolean = true,
|
|
3939
|
+
>(
|
|
3940
|
+
options: Options<FlightPlansControllerGetV2V2Data, ThrowOnError>,
|
|
3941
|
+
) => {
|
|
3942
|
+
return (options.client ?? _heyApiClient).get<
|
|
3943
|
+
FlightPlansControllerGetV2V2Responses,
|
|
3944
|
+
FlightPlansControllerGetV2V2Errors,
|
|
3945
|
+
ThrowOnError
|
|
3946
|
+
>({
|
|
3947
|
+
security: [
|
|
3948
|
+
{
|
|
3949
|
+
name: "x-api-token",
|
|
3950
|
+
type: "apiKey",
|
|
3951
|
+
},
|
|
3952
|
+
],
|
|
3953
|
+
responseTransformer: flightPlansControllerGetV2V2ResponseTransformer,
|
|
3954
|
+
url: "/v2/flight-plans/{id}",
|
|
3955
|
+
...options,
|
|
3956
|
+
});
|
|
3957
|
+
};
|
|
3958
|
+
|
|
3959
|
+
/**
|
|
3960
|
+
* Edit a flight plan (mission-fulfillment)
|
|
3961
|
+
* Copy-on-write update of a flight plan in mission-fulfillment.
|
|
3962
|
+
*/
|
|
3963
|
+
export const flightPlansControllerUpdateV2V2 = <
|
|
3964
|
+
ThrowOnError extends boolean = true,
|
|
3965
|
+
>(
|
|
3966
|
+
options: Options<FlightPlansControllerUpdateV2V2Data, ThrowOnError>,
|
|
3967
|
+
) => {
|
|
3968
|
+
return (options.client ?? _heyApiClient).put<
|
|
3969
|
+
FlightPlansControllerUpdateV2V2Responses,
|
|
3970
|
+
FlightPlansControllerUpdateV2V2Errors,
|
|
3971
|
+
ThrowOnError
|
|
3972
|
+
>({
|
|
3973
|
+
security: [
|
|
3974
|
+
{
|
|
3975
|
+
name: "x-api-token",
|
|
3976
|
+
type: "apiKey",
|
|
3977
|
+
},
|
|
3978
|
+
],
|
|
3979
|
+
responseTransformer: flightPlansControllerUpdateV2V2ResponseTransformer,
|
|
3980
|
+
url: "/v2/flight-plans/{id}",
|
|
3981
|
+
...options,
|
|
3982
|
+
headers: {
|
|
3983
|
+
"Content-Type": "application/json",
|
|
3984
|
+
...options.headers,
|
|
3985
|
+
},
|
|
3986
|
+
});
|
|
3987
|
+
};
|
|
3988
|
+
|
|
3989
|
+
/**
|
|
3990
|
+
* List flights (mission-fulfillment)
|
|
3991
|
+
* Returns flights from mission-fulfillment.
|
|
3992
|
+
*/
|
|
3993
|
+
export const flightsControllerGetFlightsV2V2 = <
|
|
3994
|
+
ThrowOnError extends boolean = true,
|
|
3995
|
+
>(
|
|
3996
|
+
options?: Options<FlightsControllerGetFlightsV2V2Data, ThrowOnError>,
|
|
3997
|
+
) => {
|
|
3998
|
+
return (options?.client ?? _heyApiClient).get<
|
|
3999
|
+
FlightsControllerGetFlightsV2V2Responses,
|
|
4000
|
+
FlightsControllerGetFlightsV2V2Errors,
|
|
4001
|
+
ThrowOnError
|
|
4002
|
+
>({
|
|
4003
|
+
security: [
|
|
4004
|
+
{
|
|
4005
|
+
name: "x-api-token",
|
|
4006
|
+
type: "apiKey",
|
|
4007
|
+
},
|
|
4008
|
+
],
|
|
4009
|
+
responseTransformer: flightsControllerGetFlightsV2V2ResponseTransformer,
|
|
4010
|
+
url: "/v2/flights",
|
|
4011
|
+
...options,
|
|
4012
|
+
});
|
|
4013
|
+
};
|
|
4014
|
+
|
|
4015
|
+
/**
|
|
4016
|
+
* Create a flight (mission-fulfillment)
|
|
4017
|
+
* Creates a flight in mission-fulfillment.
|
|
4018
|
+
*/
|
|
4019
|
+
export const flightsControllerCreateFlightV2V2 = <
|
|
4020
|
+
ThrowOnError extends boolean = true,
|
|
4021
|
+
>(
|
|
4022
|
+
options: Options<FlightsControllerCreateFlightV2V2Data, ThrowOnError>,
|
|
4023
|
+
) => {
|
|
4024
|
+
return (options.client ?? _heyApiClient).post<
|
|
4025
|
+
FlightsControllerCreateFlightV2V2Responses,
|
|
4026
|
+
FlightsControllerCreateFlightV2V2Errors,
|
|
4027
|
+
ThrowOnError
|
|
4028
|
+
>({
|
|
4029
|
+
security: [
|
|
4030
|
+
{
|
|
4031
|
+
name: "x-api-token",
|
|
4032
|
+
type: "apiKey",
|
|
4033
|
+
},
|
|
4034
|
+
],
|
|
4035
|
+
responseTransformer: flightsControllerCreateFlightV2V2ResponseTransformer,
|
|
4036
|
+
url: "/v2/flights",
|
|
4037
|
+
...options,
|
|
4038
|
+
headers: {
|
|
4039
|
+
"Content-Type": "application/json",
|
|
4040
|
+
...options.headers,
|
|
4041
|
+
},
|
|
4042
|
+
});
|
|
4043
|
+
};
|
|
4044
|
+
|
|
4045
|
+
/**
|
|
4046
|
+
* Get the provenance signing key (mission-fulfillment)
|
|
4047
|
+
* Returns the provenance key from mission-fulfillment.
|
|
4048
|
+
*/
|
|
4049
|
+
export const flightsControllerGetProvenanceKeyV2V2 = <
|
|
4050
|
+
ThrowOnError extends boolean = true,
|
|
4051
|
+
>(
|
|
4052
|
+
options?: Options<FlightsControllerGetProvenanceKeyV2V2Data, ThrowOnError>,
|
|
4053
|
+
) => {
|
|
4054
|
+
return (options?.client ?? _heyApiClient).get<
|
|
4055
|
+
FlightsControllerGetProvenanceKeyV2V2Responses,
|
|
4056
|
+
FlightsControllerGetProvenanceKeyV2V2Errors,
|
|
4057
|
+
ThrowOnError
|
|
4058
|
+
>({
|
|
4059
|
+
security: [
|
|
4060
|
+
{
|
|
4061
|
+
name: "x-api-token",
|
|
4062
|
+
type: "apiKey",
|
|
4063
|
+
},
|
|
4064
|
+
],
|
|
4065
|
+
url: "/v2/flights/provenance-key",
|
|
4066
|
+
...options,
|
|
4067
|
+
});
|
|
4068
|
+
};
|
|
4069
|
+
|
|
4070
|
+
/**
|
|
4071
|
+
* Get a flight by id (mission-fulfillment)
|
|
4072
|
+
* Returns a flight from mission-fulfillment.
|
|
4073
|
+
*/
|
|
4074
|
+
export const flightsControllerGetFlightV2V2 = <
|
|
4075
|
+
ThrowOnError extends boolean = true,
|
|
4076
|
+
>(
|
|
4077
|
+
options: Options<FlightsControllerGetFlightV2V2Data, ThrowOnError>,
|
|
4078
|
+
) => {
|
|
4079
|
+
return (options.client ?? _heyApiClient).get<
|
|
4080
|
+
FlightsControllerGetFlightV2V2Responses,
|
|
4081
|
+
FlightsControllerGetFlightV2V2Errors,
|
|
4082
|
+
ThrowOnError
|
|
4083
|
+
>({
|
|
4084
|
+
security: [
|
|
4085
|
+
{
|
|
4086
|
+
name: "x-api-token",
|
|
4087
|
+
type: "apiKey",
|
|
4088
|
+
},
|
|
4089
|
+
],
|
|
4090
|
+
responseTransformer: flightsControllerGetFlightV2V2ResponseTransformer,
|
|
4091
|
+
url: "/v2/flights/{id}",
|
|
4092
|
+
...options,
|
|
4093
|
+
});
|
|
4094
|
+
};
|
|
4095
|
+
|
|
4096
|
+
/**
|
|
4097
|
+
* List a flight's expected images (mission-fulfillment)
|
|
4098
|
+
* Returns a flight's expected images from mission-fulfillment.
|
|
4099
|
+
*/
|
|
4100
|
+
export const flightsControllerGetExpectedImagesV2V2 = <
|
|
4101
|
+
ThrowOnError extends boolean = true,
|
|
4102
|
+
>(
|
|
4103
|
+
options: Options<FlightsControllerGetExpectedImagesV2V2Data, ThrowOnError>,
|
|
4104
|
+
) => {
|
|
4105
|
+
return (options.client ?? _heyApiClient).get<
|
|
4106
|
+
FlightsControllerGetExpectedImagesV2V2Responses,
|
|
4107
|
+
FlightsControllerGetExpectedImagesV2V2Errors,
|
|
4108
|
+
ThrowOnError
|
|
4109
|
+
>({
|
|
4110
|
+
security: [
|
|
4111
|
+
{
|
|
4112
|
+
name: "x-api-token",
|
|
4113
|
+
type: "apiKey",
|
|
4114
|
+
},
|
|
4115
|
+
],
|
|
4116
|
+
url: "/v2/flights/{id}/expected-images",
|
|
4117
|
+
...options,
|
|
4118
|
+
});
|
|
4119
|
+
};
|
|
4120
|
+
|
|
4121
|
+
/**
|
|
4122
|
+
* Get a flight's provenance upload URL (mission-fulfillment)
|
|
4123
|
+
* Returns a flight's provenance upload URL from mission-fulfillment.
|
|
4124
|
+
*/
|
|
4125
|
+
export const flightsControllerGetProvenanceUploadUrlV2V2 = <
|
|
4126
|
+
ThrowOnError extends boolean = true,
|
|
4127
|
+
>(
|
|
4128
|
+
options: Options<
|
|
4129
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Data,
|
|
4130
|
+
ThrowOnError
|
|
4131
|
+
>,
|
|
4132
|
+
) => {
|
|
4133
|
+
return (options.client ?? _heyApiClient).get<
|
|
4134
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Responses,
|
|
4135
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Errors,
|
|
4136
|
+
ThrowOnError
|
|
4137
|
+
>({
|
|
4138
|
+
security: [
|
|
4139
|
+
{
|
|
4140
|
+
name: "x-api-token",
|
|
4141
|
+
type: "apiKey",
|
|
4142
|
+
},
|
|
4143
|
+
],
|
|
4144
|
+
url: "/v2/flights/{id}/provenance-upload-url",
|
|
4145
|
+
...options,
|
|
4146
|
+
});
|
|
4147
|
+
};
|
|
4148
|
+
|
|
4149
|
+
/**
|
|
4150
|
+
* Get a flight's review (mission-fulfillment)
|
|
4151
|
+
* Returns a flight's review from mission-fulfillment.
|
|
4152
|
+
*/
|
|
4153
|
+
export const flightsControllerGetReviewV2V2 = <
|
|
4154
|
+
ThrowOnError extends boolean = true,
|
|
4155
|
+
>(
|
|
4156
|
+
options: Options<FlightsControllerGetReviewV2V2Data, ThrowOnError>,
|
|
4157
|
+
) => {
|
|
4158
|
+
return (options.client ?? _heyApiClient).get<
|
|
4159
|
+
FlightsControllerGetReviewV2V2Responses,
|
|
4160
|
+
FlightsControllerGetReviewV2V2Errors,
|
|
4161
|
+
ThrowOnError
|
|
4162
|
+
>({
|
|
4163
|
+
security: [
|
|
4164
|
+
{
|
|
4165
|
+
name: "x-api-token",
|
|
4166
|
+
type: "apiKey",
|
|
4167
|
+
},
|
|
4168
|
+
],
|
|
4169
|
+
responseTransformer: flightsControllerGetReviewV2V2ResponseTransformer,
|
|
4170
|
+
url: "/v2/flights/{id}/review",
|
|
4171
|
+
...options,
|
|
4172
|
+
});
|
|
4173
|
+
};
|
|
4174
|
+
|
|
4175
|
+
/**
|
|
4176
|
+
* Request a flight's review (mission-fulfillment)
|
|
4177
|
+
* Requests a review for a flight in mission-fulfillment.
|
|
4178
|
+
*/
|
|
4179
|
+
export const flightsControllerRequestReviewV2V2 = <
|
|
4180
|
+
ThrowOnError extends boolean = true,
|
|
4181
|
+
>(
|
|
4182
|
+
options: Options<FlightsControllerRequestReviewV2V2Data, ThrowOnError>,
|
|
4183
|
+
) => {
|
|
4184
|
+
return (options.client ?? _heyApiClient).post<
|
|
4185
|
+
FlightsControllerRequestReviewV2V2Responses,
|
|
4186
|
+
FlightsControllerRequestReviewV2V2Errors,
|
|
4187
|
+
ThrowOnError
|
|
4188
|
+
>({
|
|
4189
|
+
security: [
|
|
4190
|
+
{
|
|
4191
|
+
name: "x-api-token",
|
|
4192
|
+
type: "apiKey",
|
|
4193
|
+
},
|
|
4194
|
+
],
|
|
4195
|
+
responseTransformer: flightsControllerRequestReviewV2V2ResponseTransformer,
|
|
4196
|
+
url: "/v2/flights/{id}/review",
|
|
4197
|
+
...options,
|
|
4198
|
+
});
|
|
4199
|
+
};
|
|
4200
|
+
|
|
4201
|
+
/**
|
|
4202
|
+
* Create expected-image upload URLs (mission-fulfillment)
|
|
4203
|
+
* Creates upload URLs for a flight's expected images in mission-fulfillment.
|
|
4204
|
+
*/
|
|
4205
|
+
export const flightsControllerImageUploadUrlsV2V2 = <
|
|
4206
|
+
ThrowOnError extends boolean = true,
|
|
4207
|
+
>(
|
|
4208
|
+
options: Options<FlightsControllerImageUploadUrlsV2V2Data, ThrowOnError>,
|
|
4209
|
+
) => {
|
|
4210
|
+
return (options.client ?? _heyApiClient).post<
|
|
4211
|
+
FlightsControllerImageUploadUrlsV2V2Responses,
|
|
4212
|
+
FlightsControllerImageUploadUrlsV2V2Errors,
|
|
4213
|
+
ThrowOnError
|
|
4214
|
+
>({
|
|
4215
|
+
security: [
|
|
4216
|
+
{
|
|
4217
|
+
name: "x-api-token",
|
|
4218
|
+
type: "apiKey",
|
|
4219
|
+
},
|
|
4220
|
+
],
|
|
4221
|
+
url: "/v2/flights/{id}/expected-images/upload-urls",
|
|
4222
|
+
...options,
|
|
4223
|
+
headers: {
|
|
4224
|
+
"Content-Type": "application/json",
|
|
4225
|
+
...options.headers,
|
|
4226
|
+
},
|
|
4227
|
+
});
|
|
4228
|
+
};
|
|
4229
|
+
|
|
4230
|
+
/**
|
|
4231
|
+
* Submit a flight's provenance (mission-fulfillment)
|
|
4232
|
+
* Submits a flight's provenance to mission-fulfillment.
|
|
4233
|
+
*/
|
|
4234
|
+
export const flightsControllerSubmitProvenanceV2V2 = <
|
|
4235
|
+
ThrowOnError extends boolean = true,
|
|
4236
|
+
>(
|
|
4237
|
+
options: Options<FlightsControllerSubmitProvenanceV2V2Data, ThrowOnError>,
|
|
4238
|
+
) => {
|
|
4239
|
+
return (options.client ?? _heyApiClient).post<
|
|
4240
|
+
FlightsControllerSubmitProvenanceV2V2Responses,
|
|
4241
|
+
FlightsControllerSubmitProvenanceV2V2Errors,
|
|
4242
|
+
ThrowOnError
|
|
4243
|
+
>({
|
|
4244
|
+
security: [
|
|
4245
|
+
{
|
|
4246
|
+
name: "x-api-token",
|
|
4247
|
+
type: "apiKey",
|
|
4248
|
+
},
|
|
4249
|
+
],
|
|
4250
|
+
responseTransformer:
|
|
4251
|
+
flightsControllerSubmitProvenanceV2V2ResponseTransformer,
|
|
4252
|
+
url: "/v2/flights/{id}/provenance",
|
|
4253
|
+
...options,
|
|
4254
|
+
});
|
|
4255
|
+
};
|
|
4256
|
+
|
|
4257
|
+
/**
|
|
4258
|
+
* Get missions (mission-fulfillment)
|
|
4259
|
+
* Returns missions from mission-fulfillment.
|
|
4260
|
+
*/
|
|
4261
|
+
export const missionsControllerGetMissionsV2V2 = <
|
|
4262
|
+
ThrowOnError extends boolean = true,
|
|
4263
|
+
>(
|
|
4264
|
+
options?: Options<MissionsControllerGetMissionsV2V2Data, ThrowOnError>,
|
|
4265
|
+
) => {
|
|
4266
|
+
return (options?.client ?? _heyApiClient).get<
|
|
4267
|
+
MissionsControllerGetMissionsV2V2Responses,
|
|
4268
|
+
MissionsControllerGetMissionsV2V2Errors,
|
|
4269
|
+
ThrowOnError
|
|
4270
|
+
>({
|
|
4271
|
+
security: [
|
|
4272
|
+
{
|
|
4273
|
+
name: "x-api-token",
|
|
4274
|
+
type: "apiKey",
|
|
4275
|
+
},
|
|
4276
|
+
],
|
|
4277
|
+
responseTransformer: missionsControllerGetMissionsV2V2ResponseTransformer,
|
|
4278
|
+
url: "/v2/missions",
|
|
4279
|
+
...options,
|
|
4280
|
+
});
|
|
4281
|
+
};
|
|
4282
|
+
|
|
4283
|
+
/**
|
|
4284
|
+
* Create new missions (mission-fulfillment)
|
|
4285
|
+
* Creates missions in mission-fulfillment.
|
|
4286
|
+
*/
|
|
4287
|
+
export const missionsControllerCreateMissionsV2V2 = <
|
|
4288
|
+
ThrowOnError extends boolean = true,
|
|
4289
|
+
>(
|
|
4290
|
+
options: Options<MissionsControllerCreateMissionsV2V2Data, ThrowOnError>,
|
|
4291
|
+
) => {
|
|
4292
|
+
return (options.client ?? _heyApiClient).post<
|
|
4293
|
+
MissionsControllerCreateMissionsV2V2Responses,
|
|
4294
|
+
MissionsControllerCreateMissionsV2V2Errors,
|
|
4295
|
+
ThrowOnError
|
|
4296
|
+
>({
|
|
4297
|
+
security: [
|
|
4298
|
+
{
|
|
4299
|
+
name: "x-api-token",
|
|
4300
|
+
type: "apiKey",
|
|
4301
|
+
},
|
|
4302
|
+
],
|
|
4303
|
+
responseTransformer:
|
|
4304
|
+
missionsControllerCreateMissionsV2V2ResponseTransformer,
|
|
4305
|
+
url: "/v2/missions",
|
|
4306
|
+
...options,
|
|
4307
|
+
headers: {
|
|
4308
|
+
"Content-Type": "application/json",
|
|
4309
|
+
...options.headers,
|
|
4310
|
+
},
|
|
4311
|
+
});
|
|
4312
|
+
};
|
|
4313
|
+
|
|
4314
|
+
/**
|
|
4315
|
+
* Get a mission by ID (mission-fulfillment)
|
|
4316
|
+
* Returns a mission from mission-fulfillment.
|
|
4317
|
+
*/
|
|
4318
|
+
export const missionsControllerGetMissionV2V2 = <
|
|
4319
|
+
ThrowOnError extends boolean = true,
|
|
4320
|
+
>(
|
|
4321
|
+
options: Options<MissionsControllerGetMissionV2V2Data, ThrowOnError>,
|
|
4322
|
+
) => {
|
|
4323
|
+
return (options.client ?? _heyApiClient).get<
|
|
4324
|
+
MissionsControllerGetMissionV2V2Responses,
|
|
4325
|
+
MissionsControllerGetMissionV2V2Errors,
|
|
4326
|
+
ThrowOnError
|
|
4327
|
+
>({
|
|
4328
|
+
security: [
|
|
4329
|
+
{
|
|
4330
|
+
name: "x-api-token",
|
|
4331
|
+
type: "apiKey",
|
|
4332
|
+
},
|
|
4333
|
+
],
|
|
4334
|
+
responseTransformer: missionsControllerGetMissionV2V2ResponseTransformer,
|
|
4335
|
+
url: "/v2/missions/{id}",
|
|
4336
|
+
...options,
|
|
4337
|
+
});
|
|
4338
|
+
};
|
|
4339
|
+
|
|
4340
|
+
/**
|
|
4341
|
+
* Update a mission (mission-fulfillment)
|
|
4342
|
+
* Updates a mission in mission-fulfillment.
|
|
4343
|
+
*/
|
|
4344
|
+
export const missionsControllerUpdateMissionV2V2 = <
|
|
4345
|
+
ThrowOnError extends boolean = true,
|
|
4346
|
+
>(
|
|
4347
|
+
options: Options<MissionsControllerUpdateMissionV2V2Data, ThrowOnError>,
|
|
4348
|
+
) => {
|
|
4349
|
+
return (options.client ?? _heyApiClient).patch<
|
|
4350
|
+
MissionsControllerUpdateMissionV2V2Responses,
|
|
4351
|
+
MissionsControllerUpdateMissionV2V2Errors,
|
|
4352
|
+
ThrowOnError
|
|
4353
|
+
>({
|
|
4354
|
+
security: [
|
|
4355
|
+
{
|
|
4356
|
+
name: "x-api-token",
|
|
4357
|
+
type: "apiKey",
|
|
4358
|
+
},
|
|
4359
|
+
],
|
|
4360
|
+
responseTransformer: missionsControllerUpdateMissionV2V2ResponseTransformer,
|
|
4361
|
+
url: "/v2/missions/{id}",
|
|
4362
|
+
...options,
|
|
4363
|
+
headers: {
|
|
4364
|
+
"Content-Type": "application/json",
|
|
4365
|
+
...options.headers,
|
|
4366
|
+
},
|
|
4367
|
+
});
|
|
4368
|
+
};
|
|
4369
|
+
|
|
4370
|
+
/**
|
|
4371
|
+
* Cancel a mission (mission-fulfillment)
|
|
4372
|
+
* Cancels a mission in mission-fulfillment.
|
|
4373
|
+
*/
|
|
4374
|
+
export const missionsControllerCancelMissionV2V2 = <
|
|
4375
|
+
ThrowOnError extends boolean = true,
|
|
4376
|
+
>(
|
|
4377
|
+
options: Options<MissionsControllerCancelMissionV2V2Data, ThrowOnError>,
|
|
4378
|
+
) => {
|
|
4379
|
+
return (options.client ?? _heyApiClient).post<
|
|
4380
|
+
MissionsControllerCancelMissionV2V2Responses,
|
|
4381
|
+
MissionsControllerCancelMissionV2V2Errors,
|
|
4382
|
+
ThrowOnError
|
|
4383
|
+
>({
|
|
4384
|
+
security: [
|
|
4385
|
+
{
|
|
4386
|
+
name: "x-api-token",
|
|
4387
|
+
type: "apiKey",
|
|
4388
|
+
},
|
|
4389
|
+
],
|
|
4390
|
+
responseTransformer: missionsControllerCancelMissionV2V2ResponseTransformer,
|
|
4391
|
+
url: "/v2/missions/{id}/cancel",
|
|
4392
|
+
...options,
|
|
4393
|
+
});
|
|
4394
|
+
};
|
|
4395
|
+
|
|
4396
|
+
/**
|
|
4397
|
+
* Re-emit a Mission's Outbound Command (mission-fulfillment)
|
|
4398
|
+
* Proxied to mission-fulfillment.
|
|
4399
|
+
*/
|
|
4400
|
+
export const missionsControllerRetryMissionV2V2 = <
|
|
4401
|
+
ThrowOnError extends boolean = true,
|
|
4402
|
+
>(
|
|
4403
|
+
options: Options<MissionsControllerRetryMissionV2V2Data, ThrowOnError>,
|
|
4404
|
+
) => {
|
|
4405
|
+
return (options.client ?? _heyApiClient).post<
|
|
4406
|
+
MissionsControllerRetryMissionV2V2Responses,
|
|
4407
|
+
MissionsControllerRetryMissionV2V2Errors,
|
|
4408
|
+
ThrowOnError
|
|
4409
|
+
>({
|
|
4410
|
+
security: [
|
|
4411
|
+
{
|
|
4412
|
+
name: "x-api-token",
|
|
4413
|
+
type: "apiKey",
|
|
4414
|
+
},
|
|
4415
|
+
],
|
|
4416
|
+
responseTransformer: missionsControllerRetryMissionV2V2ResponseTransformer,
|
|
4417
|
+
url: "/v2/missions/{id}/retry",
|
|
4418
|
+
...options,
|
|
4419
|
+
});
|
|
4420
|
+
};
|
|
4421
|
+
|
|
4422
|
+
/**
|
|
4423
|
+
* List rewards (mission-fulfillment)
|
|
4424
|
+
* Returns rewards from mission-fulfillment.
|
|
4425
|
+
*/
|
|
4426
|
+
export const rewardsControllerListRewardsV2V2 = <
|
|
4427
|
+
ThrowOnError extends boolean = true,
|
|
4428
|
+
>(
|
|
4429
|
+
options?: Options<RewardsControllerListRewardsV2V2Data, ThrowOnError>,
|
|
4430
|
+
) => {
|
|
4431
|
+
return (options?.client ?? _heyApiClient).get<
|
|
4432
|
+
RewardsControllerListRewardsV2V2Responses,
|
|
4433
|
+
RewardsControllerListRewardsV2V2Errors,
|
|
4434
|
+
ThrowOnError
|
|
4435
|
+
>({
|
|
4436
|
+
security: [
|
|
4437
|
+
{
|
|
4438
|
+
name: "x-api-token",
|
|
4439
|
+
type: "apiKey",
|
|
4440
|
+
},
|
|
4441
|
+
],
|
|
4442
|
+
responseTransformer: rewardsControllerListRewardsV2V2ResponseTransformer,
|
|
4443
|
+
url: "/v2/rewards",
|
|
4444
|
+
...options,
|
|
4445
|
+
});
|
|
4446
|
+
};
|
|
4447
|
+
|
|
4448
|
+
/**
|
|
4449
|
+
* Create zones (mission-fulfillment)
|
|
4450
|
+
* Creates one or more zones in mission-fulfillment.
|
|
4451
|
+
*/
|
|
4452
|
+
export const zonesControllerCreateZonesV2V2 = <
|
|
4453
|
+
ThrowOnError extends boolean = true,
|
|
4454
|
+
>(
|
|
4455
|
+
options: Options<ZonesControllerCreateZonesV2V2Data, ThrowOnError>,
|
|
4456
|
+
) => {
|
|
4457
|
+
return (options.client ?? _heyApiClient).post<
|
|
4458
|
+
ZonesControllerCreateZonesV2V2Responses,
|
|
4459
|
+
ZonesControllerCreateZonesV2V2Errors,
|
|
4460
|
+
ThrowOnError
|
|
4461
|
+
>({
|
|
4462
|
+
security: [
|
|
4463
|
+
{
|
|
4464
|
+
name: "x-api-token",
|
|
4465
|
+
type: "apiKey",
|
|
4466
|
+
},
|
|
4467
|
+
],
|
|
4468
|
+
url: "/v2/zones",
|
|
4469
|
+
...options,
|
|
4470
|
+
headers: {
|
|
4471
|
+
"Content-Type": "application/json",
|
|
4472
|
+
...options.headers,
|
|
4473
|
+
},
|
|
4474
|
+
});
|
|
4475
|
+
};
|
|
4476
|
+
|
|
4477
|
+
/**
|
|
4478
|
+
* Get a zone by id (mission-fulfillment)
|
|
4479
|
+
* Returns a zone from mission-fulfillment.
|
|
4480
|
+
*/
|
|
4481
|
+
export const zonesControllerGetZoneV2V2 = <ThrowOnError extends boolean = true>(
|
|
4482
|
+
options: Options<ZonesControllerGetZoneV2V2Data, ThrowOnError>,
|
|
4483
|
+
) => {
|
|
4484
|
+
return (options.client ?? _heyApiClient).get<
|
|
4485
|
+
ZonesControllerGetZoneV2V2Responses,
|
|
4486
|
+
ZonesControllerGetZoneV2V2Errors,
|
|
4487
|
+
ThrowOnError
|
|
4488
|
+
>({
|
|
4489
|
+
security: [
|
|
4490
|
+
{
|
|
4491
|
+
name: "x-api-token",
|
|
4492
|
+
type: "apiKey",
|
|
4493
|
+
},
|
|
4494
|
+
],
|
|
4495
|
+
responseTransformer: zonesControllerGetZoneV2V2ResponseTransformer,
|
|
4496
|
+
url: "/v2/zones/{id}",
|
|
4497
|
+
...options,
|
|
4498
|
+
});
|
|
4499
|
+
};
|
|
4500
|
+
|
|
4501
|
+
/**
|
|
4502
|
+
* Update a zone (mission-fulfillment)
|
|
4503
|
+
* Updates a zone in mission-fulfillment.
|
|
4504
|
+
*/
|
|
4505
|
+
export const zonesControllerUpdateZoneV2V2 = <
|
|
4506
|
+
ThrowOnError extends boolean = true,
|
|
4507
|
+
>(
|
|
4508
|
+
options: Options<ZonesControllerUpdateZoneV2V2Data, ThrowOnError>,
|
|
4509
|
+
) => {
|
|
4510
|
+
return (options.client ?? _heyApiClient).put<
|
|
4511
|
+
ZonesControllerUpdateZoneV2V2Responses,
|
|
4512
|
+
ZonesControllerUpdateZoneV2V2Errors,
|
|
4513
|
+
ThrowOnError
|
|
4514
|
+
>({
|
|
4515
|
+
security: [
|
|
4516
|
+
{
|
|
4517
|
+
name: "x-api-token",
|
|
4518
|
+
type: "apiKey",
|
|
4519
|
+
},
|
|
4520
|
+
],
|
|
4521
|
+
responseTransformer: zonesControllerUpdateZoneV2V2ResponseTransformer,
|
|
4522
|
+
url: "/v2/zones/{id}",
|
|
4523
|
+
...options,
|
|
4524
|
+
headers: {
|
|
4525
|
+
"Content-Type": "application/json",
|
|
4526
|
+
...options.headers,
|
|
4527
|
+
},
|
|
4528
|
+
});
|
|
4529
|
+
};
|