@layer-drone/protocol 0.7.0 → 1.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.
@@ -6,181 +6,360 @@ import type {
6
6
  TDataShape,
7
7
  } from "./client/index.js";
8
8
  import {
9
- apiTokenControllerUpdateTokenResponseTransformer,
10
- conditionsControllerGetSunAltitudeTimeLimitsResponseTransformer,
11
- contractsControllerGetAllContractsResponseTransformer,
12
- flightPlansControllerCreateResponseTransformer,
13
- flightPlansControllerGetManyResponseTransformer,
14
- flightPlansControllerGetResponseTransformer,
15
- flightReviewsControllerGetFlightReviewResponseTransformer,
16
- flightReviewsControllerGetFlightReviewsResponseTransformer,
17
- flightsControllerGetFlightResponseTransformer,
18
- flightsControllerValidateFlightResponseTransformer,
19
- inboundWebhookConfigsControllerCreateResponseTransformer,
20
- inboundWebhookConfigsControllerGetManyResponseTransformer,
21
- inboundWebhookConfigsControllerGetResponseTransformer,
22
- inboundWebhookConfigsControllerUpdateResponseTransformer,
23
- missionsControllerCreateMissionsResponseTransformer,
24
- missionsControllerGetMissionResponseTransformer,
25
- missionsControllerGetMissionsResponseTransformer,
26
- webhooksControllerGetManyResponseTransformer,
27
- webhooksControllerGetResponseTransformer,
28
- webhooksControllerRegenerateSecretResponseTransformer,
29
- webhooksControllerUpdateResponseTransformer,
30
- zonesControllerCreateZoneResponseTransformer,
31
- zonesControllerUpdateZoneResponseTransformer,
9
+ apiTokenControllerUpdateToken0V1ResponseTransformer,
10
+ apiTokenControllerUpdateToken1ResponseTransformer,
11
+ conditionsControllerGetSunAltitudeTimeLimits0V1ResponseTransformer,
12
+ conditionsControllerGetSunAltitudeTimeLimits1ResponseTransformer,
13
+ contractsControllerGetAllContracts0V1ResponseTransformer,
14
+ contractsControllerGetAllContracts1ResponseTransformer,
15
+ flightPlansControllerCreate0V1ResponseTransformer,
16
+ flightPlansControllerCreate1ResponseTransformer,
17
+ flightPlansControllerGet0V1ResponseTransformer,
18
+ flightPlansControllerGet1ResponseTransformer,
19
+ flightPlansControllerGetMany0V1ResponseTransformer,
20
+ flightPlansControllerGetMany1ResponseTransformer,
21
+ flightReviewsControllerGetFlightReview0V1ResponseTransformer,
22
+ flightReviewsControllerGetFlightReview1ResponseTransformer,
23
+ flightReviewsControllerGetFlightReviews0V1ResponseTransformer,
24
+ flightReviewsControllerGetFlightReviews1ResponseTransformer,
25
+ flightsControllerGetFlight0V1ResponseTransformer,
26
+ flightsControllerGetFlight1ResponseTransformer,
27
+ flightsControllerValidateFlight0V1ResponseTransformer,
28
+ flightsControllerValidateFlight1ResponseTransformer,
29
+ inboundWebhookConfigsControllerCreate0V1ResponseTransformer,
30
+ inboundWebhookConfigsControllerCreate1ResponseTransformer,
31
+ inboundWebhookConfigsControllerGet0V1ResponseTransformer,
32
+ inboundWebhookConfigsControllerGet1ResponseTransformer,
33
+ inboundWebhookConfigsControllerGetMany0V1ResponseTransformer,
34
+ inboundWebhookConfigsControllerGetMany1ResponseTransformer,
35
+ inboundWebhookConfigsControllerUpdate0V1ResponseTransformer,
36
+ inboundWebhookConfigsControllerUpdate1ResponseTransformer,
37
+ missionsControllerCreateMissions0V1ResponseTransformer,
38
+ missionsControllerCreateMissions1ResponseTransformer,
39
+ missionsControllerGetMission0V1ResponseTransformer,
40
+ missionsControllerGetMission1ResponseTransformer,
41
+ missionsControllerGetMissions0V1ResponseTransformer,
42
+ missionsControllerGetMissions1ResponseTransformer,
43
+ webhooksControllerGet0V1ResponseTransformer,
44
+ webhooksControllerGet1ResponseTransformer,
45
+ webhooksControllerGetMany0V1ResponseTransformer,
46
+ webhooksControllerGetMany1ResponseTransformer,
47
+ webhooksControllerRegenerateSecret0V1ResponseTransformer,
48
+ webhooksControllerRegenerateSecret1ResponseTransformer,
49
+ webhooksControllerUpdate0V1ResponseTransformer,
50
+ webhooksControllerUpdate1ResponseTransformer,
51
+ zonesControllerCreateZone0V1ResponseTransformer,
52
+ zonesControllerCreateZone1ResponseTransformer,
53
+ zonesControllerUpdateZone0V1ResponseTransformer,
54
+ zonesControllerUpdateZone1ResponseTransformer,
32
55
  } from "./transformers.gen.js";
33
56
  import type {
34
- AlchemyControllerHandleWebhookData,
35
- AlchemyControllerHandleWebhookResponses,
36
- ApiControllerGetErrorData,
37
- ApiControllerGetErrorResponses,
38
- ApiControllerGetHelloData,
39
- ApiControllerGetHelloResponses,
40
- ApiTokenControllerCreateTokenData,
41
- ApiTokenControllerCreateTokenErrors,
42
- ApiTokenControllerCreateTokenResponses,
43
- ApiTokenControllerDeleteTokenData,
44
- ApiTokenControllerDeleteTokenErrors,
45
- ApiTokenControllerDeleteTokenResponses,
46
- ApiTokenControllerGetTokenData,
47
- ApiTokenControllerGetTokenErrors,
48
- ApiTokenControllerGetTokenResponses,
49
- ApiTokenControllerUpdateTokenData,
50
- ApiTokenControllerUpdateTokenErrors,
51
- ApiTokenControllerUpdateTokenResponses,
52
- ConditionsControllerGetSunAltitudeTimeLimitsData,
53
- ConditionsControllerGetSunAltitudeTimeLimitsResponses,
54
- ContractsControllerCreateContractData,
55
- ContractsControllerCreateContractErrors,
56
- ContractsControllerCreateContractResponses,
57
- ContractsControllerDeleteContractData,
58
- ContractsControllerDeleteContractErrors,
59
- ContractsControllerDeleteContractResponses,
60
- ContractsControllerGetAllContractsData,
61
- ContractsControllerGetAllContractsErrors,
62
- ContractsControllerGetAllContractsResponses,
63
- ContractsControllerGetContractData,
64
- ContractsControllerGetContractErrors,
65
- ContractsControllerGetContractResponses,
66
- ContractsControllerUpdateContractData,
67
- ContractsControllerUpdateContractErrors,
68
- ContractsControllerUpdateContractResponses,
69
- DlqRedriverControllerRedriveDlqData,
70
- DlqRedriverControllerRedriveDlqErrors,
71
- DlqRedriverControllerRedriveDlqResponses,
72
- EventProcessorFlightReviewsSyncControllerResyncFlightReviewsData,
73
- EventProcessorFlightReviewsSyncControllerResyncFlightReviewsErrors,
74
- EventProcessorFlightReviewsSyncControllerResyncFlightReviewsResponses,
75
- EventProcessorMissionsSyncControllerResyncMissionsData,
76
- EventProcessorMissionsSyncControllerResyncMissionsErrors,
77
- EventProcessorMissionsSyncControllerResyncMissionsResponses,
78
- FlightPlansControllerCreateData,
79
- FlightPlansControllerCreateErrors,
80
- FlightPlansControllerCreateResponses,
81
- FlightPlansControllerGetData,
82
- FlightPlansControllerGetErrors,
83
- FlightPlansControllerGetManyData,
84
- FlightPlansControllerGetManyErrors,
85
- FlightPlansControllerGetManyResponses,
86
- FlightPlansControllerGetResponses,
87
- FlightReviewsControllerGetFlightReviewData,
88
- FlightReviewsControllerGetFlightReviewErrors,
89
- FlightReviewsControllerGetFlightReviewResponses,
90
- FlightReviewsControllerGetFlightReviewsData,
91
- FlightReviewsControllerGetFlightReviewsErrors,
92
- FlightReviewsControllerGetFlightReviewsResponses,
93
- FlightsControllerCreatePresignedUrlsData,
94
- FlightsControllerCreatePresignedUrlsErrors,
95
- FlightsControllerCreatePresignedUrlsResponses,
96
- FlightsControllerGenerateStorageKeyData,
97
- FlightsControllerGenerateStorageKeyErrors,
98
- FlightsControllerGenerateStorageKeyResponses,
99
- FlightsControllerGetFlightData,
100
- FlightsControllerGetFlightErrors,
101
- FlightsControllerGetFlightResponses,
102
- FlightsControllerValidateFlightData,
103
- FlightsControllerValidateFlightErrors,
104
- FlightsControllerValidateFlightResponses,
105
- InboundWebhookConfigsControllerCreateData,
106
- InboundWebhookConfigsControllerCreateErrors,
107
- InboundWebhookConfigsControllerCreateResponses,
108
- InboundWebhookConfigsControllerDeleteData,
109
- InboundWebhookConfigsControllerDeleteErrors,
110
- InboundWebhookConfigsControllerDeleteResponses,
111
- InboundWebhookConfigsControllerGetData,
112
- InboundWebhookConfigsControllerGetErrors,
113
- InboundWebhookConfigsControllerGetManyData,
114
- InboundWebhookConfigsControllerGetManyErrors,
115
- InboundWebhookConfigsControllerGetManyResponses,
116
- InboundWebhookConfigsControllerGetResponses,
117
- InboundWebhookConfigsControllerUpdateData,
118
- InboundWebhookConfigsControllerUpdateErrors,
119
- InboundWebhookConfigsControllerUpdateResponses,
120
- KeysControllerGetProvenanceCryptoKeyData,
121
- KeysControllerGetProvenanceCryptoKeyResponses,
122
- MissionsControllerCloseMissionData,
123
- MissionsControllerCloseMissionErrors,
124
- MissionsControllerCloseMissionResponses,
125
- MissionsControllerCreateMissionsData,
126
- MissionsControllerCreateMissionsErrors,
127
- MissionsControllerCreateMissionsResponses,
128
- MissionsControllerGetMissionData,
129
- MissionsControllerGetMissionErrors,
130
- MissionsControllerGetMissionResponses,
131
- MissionsControllerGetMissionsData,
132
- MissionsControllerGetMissionsErrors,
133
- MissionsControllerGetMissionsResponses,
134
- MissionsControllerRepriceMissionsData,
135
- MissionsControllerRepriceMissionsErrors,
136
- MissionsControllerRepriceMissionsResponses,
137
- MissionsControllerUpdateMissionsData,
138
- MissionsControllerUpdateMissionsErrors,
139
- MissionsControllerUpdateMissionsResponses,
140
- QuotesControllerCreateQuoteData,
141
- QuotesControllerCreateQuoteErrors,
142
- QuotesControllerCreateQuoteResponses,
143
- QuotesControllerGetQuoteData,
144
- QuotesControllerGetQuoteErrors,
145
- QuotesControllerGetQuoteResponses,
146
- SchemaControllerGetEventSchemaData,
147
- SchemaControllerGetEventSchemaResponses,
148
- VaultsControllerCreateVaultsData,
149
- VaultsControllerCreateVaultsErrors,
150
- VaultsControllerCreateVaultsResponses,
151
- WebhooksControllerCreateData,
152
- WebhooksControllerCreateErrors,
153
- WebhooksControllerCreateResponses,
154
- WebhooksControllerDeleteData,
155
- WebhooksControllerDeleteErrors,
156
- WebhooksControllerDeleteResponses,
157
- WebhooksControllerGetData,
158
- WebhooksControllerGetErrors,
159
- WebhooksControllerGetManyData,
160
- WebhooksControllerGetManyErrors,
161
- WebhooksControllerGetManyResponses,
162
- WebhooksControllerGetResponses,
163
- WebhooksControllerGetStatusData,
164
- WebhooksControllerGetStatusErrors,
165
- WebhooksControllerGetStatusResponses,
166
- WebhooksControllerRegenerateSecretData,
167
- WebhooksControllerRegenerateSecretErrors,
168
- WebhooksControllerRegenerateSecretResponses,
169
- WebhooksControllerTestData,
170
- WebhooksControllerTestErrors,
171
- WebhooksControllerTestResponses,
172
- WebhooksControllerUpdateData,
173
- WebhooksControllerUpdateErrors,
174
- WebhooksControllerUpdateResponses,
175
- ZonesControllerCreateZoneData,
176
- ZonesControllerCreateZoneErrors,
177
- ZonesControllerCreateZoneResponses,
178
- ZonesControllerDeleteZoneData,
179
- ZonesControllerDeleteZoneErrors,
180
- ZonesControllerDeleteZoneResponses,
181
- ZonesControllerUpdateZoneData,
182
- ZonesControllerUpdateZoneErrors,
183
- ZonesControllerUpdateZoneResponses,
57
+ AlchemyControllerHandleWebhook0V1Data,
58
+ AlchemyControllerHandleWebhook0V1Responses,
59
+ AlchemyControllerHandleWebhook1Data,
60
+ AlchemyControllerHandleWebhook1Responses,
61
+ ApiControllerGetError0V1Data,
62
+ ApiControllerGetError0V1Responses,
63
+ ApiControllerGetError1Data,
64
+ ApiControllerGetError1Responses,
65
+ ApiControllerGetHello0V1Data,
66
+ ApiControllerGetHello0V1Responses,
67
+ ApiControllerGetHello1Data,
68
+ ApiControllerGetHello1Responses,
69
+ ApiTokenControllerCreateToken0V1Data,
70
+ ApiTokenControllerCreateToken0V1Errors,
71
+ ApiTokenControllerCreateToken0V1Responses,
72
+ ApiTokenControllerCreateToken1Data,
73
+ ApiTokenControllerCreateToken1Errors,
74
+ ApiTokenControllerCreateToken1Responses,
75
+ ApiTokenControllerDeleteToken0V1Data,
76
+ ApiTokenControllerDeleteToken0V1Errors,
77
+ ApiTokenControllerDeleteToken0V1Responses,
78
+ ApiTokenControllerDeleteToken1Data,
79
+ ApiTokenControllerDeleteToken1Errors,
80
+ ApiTokenControllerDeleteToken1Responses,
81
+ ApiTokenControllerGetToken0V1Data,
82
+ ApiTokenControllerGetToken0V1Errors,
83
+ ApiTokenControllerGetToken0V1Responses,
84
+ ApiTokenControllerGetToken1Data,
85
+ ApiTokenControllerGetToken1Errors,
86
+ ApiTokenControllerGetToken1Responses,
87
+ ApiTokenControllerUpdateToken0V1Data,
88
+ ApiTokenControllerUpdateToken0V1Errors,
89
+ ApiTokenControllerUpdateToken0V1Responses,
90
+ ApiTokenControllerUpdateToken1Data,
91
+ ApiTokenControllerUpdateToken1Errors,
92
+ ApiTokenControllerUpdateToken1Responses,
93
+ ConditionsControllerGetSunAltitudeTimeLimits0V1Data,
94
+ ConditionsControllerGetSunAltitudeTimeLimits0V1Responses,
95
+ ConditionsControllerGetSunAltitudeTimeLimits1Data,
96
+ ConditionsControllerGetSunAltitudeTimeLimits1Responses,
97
+ ContractsControllerCreateContract0V1Data,
98
+ ContractsControllerCreateContract0V1Errors,
99
+ ContractsControllerCreateContract0V1Responses,
100
+ ContractsControllerCreateContract1Data,
101
+ ContractsControllerCreateContract1Errors,
102
+ ContractsControllerCreateContract1Responses,
103
+ ContractsControllerDeleteContract0V1Data,
104
+ ContractsControllerDeleteContract0V1Errors,
105
+ ContractsControllerDeleteContract0V1Responses,
106
+ ContractsControllerDeleteContract1Data,
107
+ ContractsControllerDeleteContract1Errors,
108
+ ContractsControllerDeleteContract1Responses,
109
+ ContractsControllerGetAllContracts0V1Data,
110
+ ContractsControllerGetAllContracts0V1Errors,
111
+ ContractsControllerGetAllContracts0V1Responses,
112
+ ContractsControllerGetAllContracts1Data,
113
+ ContractsControllerGetAllContracts1Errors,
114
+ ContractsControllerGetAllContracts1Responses,
115
+ ContractsControllerGetContract0V1Data,
116
+ ContractsControllerGetContract0V1Errors,
117
+ ContractsControllerGetContract0V1Responses,
118
+ ContractsControllerGetContract1Data,
119
+ ContractsControllerGetContract1Errors,
120
+ ContractsControllerGetContract1Responses,
121
+ ContractsControllerUpdateContract0V1Data,
122
+ ContractsControllerUpdateContract0V1Errors,
123
+ ContractsControllerUpdateContract0V1Responses,
124
+ ContractsControllerUpdateContract1Data,
125
+ ContractsControllerUpdateContract1Errors,
126
+ ContractsControllerUpdateContract1Responses,
127
+ DlqRedriverControllerRedriveDlq0V1Data,
128
+ DlqRedriverControllerRedriveDlq0V1Errors,
129
+ DlqRedriverControllerRedriveDlq0V1Responses,
130
+ DlqRedriverControllerRedriveDlq1Data,
131
+ DlqRedriverControllerRedriveDlq1Errors,
132
+ DlqRedriverControllerRedriveDlq1Responses,
133
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1Data,
134
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1Errors,
135
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1Responses,
136
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews1Data,
137
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews1Errors,
138
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews1Responses,
139
+ EventProcessorMissionsSyncControllerResyncMissions0V1Data,
140
+ EventProcessorMissionsSyncControllerResyncMissions0V1Errors,
141
+ EventProcessorMissionsSyncControllerResyncMissions0V1Responses,
142
+ EventProcessorMissionsSyncControllerResyncMissions1Data,
143
+ EventProcessorMissionsSyncControllerResyncMissions1Errors,
144
+ EventProcessorMissionsSyncControllerResyncMissions1Responses,
145
+ FlightPlansControllerCreate0V1Data,
146
+ FlightPlansControllerCreate0V1Errors,
147
+ FlightPlansControllerCreate0V1Responses,
148
+ FlightPlansControllerCreate1Data,
149
+ FlightPlansControllerCreate1Errors,
150
+ FlightPlansControllerCreate1Responses,
151
+ FlightPlansControllerGet0V1Data,
152
+ FlightPlansControllerGet0V1Errors,
153
+ FlightPlansControllerGet0V1Responses,
154
+ FlightPlansControllerGet1Data,
155
+ FlightPlansControllerGet1Errors,
156
+ FlightPlansControllerGet1Responses,
157
+ FlightPlansControllerGetMany0V1Data,
158
+ FlightPlansControllerGetMany0V1Errors,
159
+ FlightPlansControllerGetMany0V1Responses,
160
+ FlightPlansControllerGetMany1Data,
161
+ FlightPlansControllerGetMany1Errors,
162
+ FlightPlansControllerGetMany1Responses,
163
+ FlightReviewsControllerGetFlightReview0V1Data,
164
+ FlightReviewsControllerGetFlightReview0V1Errors,
165
+ FlightReviewsControllerGetFlightReview0V1Responses,
166
+ FlightReviewsControllerGetFlightReview1Data,
167
+ FlightReviewsControllerGetFlightReview1Errors,
168
+ FlightReviewsControllerGetFlightReview1Responses,
169
+ FlightReviewsControllerGetFlightReviews0V1Data,
170
+ FlightReviewsControllerGetFlightReviews0V1Errors,
171
+ FlightReviewsControllerGetFlightReviews0V1Responses,
172
+ FlightReviewsControllerGetFlightReviews1Data,
173
+ FlightReviewsControllerGetFlightReviews1Errors,
174
+ FlightReviewsControllerGetFlightReviews1Responses,
175
+ FlightsControllerCreatePresignedUrls0V1Data,
176
+ FlightsControllerCreatePresignedUrls0V1Errors,
177
+ FlightsControllerCreatePresignedUrls0V1Responses,
178
+ FlightsControllerCreatePresignedUrls1Data,
179
+ FlightsControllerCreatePresignedUrls1Errors,
180
+ FlightsControllerCreatePresignedUrls1Responses,
181
+ FlightsControllerGenerateStorageKey0V1Data,
182
+ FlightsControllerGenerateStorageKey0V1Errors,
183
+ FlightsControllerGenerateStorageKey0V1Responses,
184
+ FlightsControllerGenerateStorageKey1Data,
185
+ FlightsControllerGenerateStorageKey1Errors,
186
+ FlightsControllerGenerateStorageKey1Responses,
187
+ FlightsControllerGetFlight0V1Data,
188
+ FlightsControllerGetFlight0V1Errors,
189
+ FlightsControllerGetFlight0V1Responses,
190
+ FlightsControllerGetFlight1Data,
191
+ FlightsControllerGetFlight1Errors,
192
+ FlightsControllerGetFlight1Responses,
193
+ FlightsControllerValidateFlight0V1Data,
194
+ FlightsControllerValidateFlight0V1Errors,
195
+ FlightsControllerValidateFlight0V1Responses,
196
+ FlightsControllerValidateFlight1Data,
197
+ FlightsControllerValidateFlight1Errors,
198
+ FlightsControllerValidateFlight1Responses,
199
+ InboundWebhookConfigsControllerCreate0V1Data,
200
+ InboundWebhookConfigsControllerCreate0V1Errors,
201
+ InboundWebhookConfigsControllerCreate0V1Responses,
202
+ InboundWebhookConfigsControllerCreate1Data,
203
+ InboundWebhookConfigsControllerCreate1Errors,
204
+ InboundWebhookConfigsControllerCreate1Responses,
205
+ InboundWebhookConfigsControllerDelete0V1Data,
206
+ InboundWebhookConfigsControllerDelete0V1Errors,
207
+ InboundWebhookConfigsControllerDelete0V1Responses,
208
+ InboundWebhookConfigsControllerDelete1Data,
209
+ InboundWebhookConfigsControllerDelete1Errors,
210
+ InboundWebhookConfigsControllerDelete1Responses,
211
+ InboundWebhookConfigsControllerGet0V1Data,
212
+ InboundWebhookConfigsControllerGet0V1Errors,
213
+ InboundWebhookConfigsControllerGet0V1Responses,
214
+ InboundWebhookConfigsControllerGet1Data,
215
+ InboundWebhookConfigsControllerGet1Errors,
216
+ InboundWebhookConfigsControllerGet1Responses,
217
+ InboundWebhookConfigsControllerGetMany0V1Data,
218
+ InboundWebhookConfigsControllerGetMany0V1Errors,
219
+ InboundWebhookConfigsControllerGetMany0V1Responses,
220
+ InboundWebhookConfigsControllerGetMany1Data,
221
+ InboundWebhookConfigsControllerGetMany1Errors,
222
+ InboundWebhookConfigsControllerGetMany1Responses,
223
+ InboundWebhookConfigsControllerUpdate0V1Data,
224
+ InboundWebhookConfigsControllerUpdate0V1Errors,
225
+ InboundWebhookConfigsControllerUpdate0V1Responses,
226
+ InboundWebhookConfigsControllerUpdate1Data,
227
+ InboundWebhookConfigsControllerUpdate1Errors,
228
+ InboundWebhookConfigsControllerUpdate1Responses,
229
+ KeysControllerGetProvenanceCryptoKey0V1Data,
230
+ KeysControllerGetProvenanceCryptoKey0V1Responses,
231
+ KeysControllerGetProvenanceCryptoKey1Data,
232
+ KeysControllerGetProvenanceCryptoKey1Responses,
233
+ MissionsControllerCreateMissions0V1Data,
234
+ MissionsControllerCreateMissions0V1Errors,
235
+ MissionsControllerCreateMissions0V1Responses,
236
+ MissionsControllerCreateMissions1Data,
237
+ MissionsControllerCreateMissions1Errors,
238
+ MissionsControllerCreateMissions1Responses,
239
+ MissionsControllerGetMission0V1Data,
240
+ MissionsControllerGetMission0V1Errors,
241
+ MissionsControllerGetMission0V1Responses,
242
+ MissionsControllerGetMission1Data,
243
+ MissionsControllerGetMission1Errors,
244
+ MissionsControllerGetMission1Responses,
245
+ MissionsControllerGetMissions0V1Data,
246
+ MissionsControllerGetMissions0V1Errors,
247
+ MissionsControllerGetMissions0V1Responses,
248
+ MissionsControllerGetMissions1Data,
249
+ MissionsControllerGetMissions1Errors,
250
+ MissionsControllerGetMissions1Responses,
251
+ MissionsControllerRepriceMissions0V1Data,
252
+ MissionsControllerRepriceMissions0V1Errors,
253
+ MissionsControllerRepriceMissions0V1Responses,
254
+ MissionsControllerRepriceMissions1Data,
255
+ MissionsControllerRepriceMissions1Errors,
256
+ MissionsControllerRepriceMissions1Responses,
257
+ MissionsControllerUpdateMissions0V1Data,
258
+ MissionsControllerUpdateMissions0V1Errors,
259
+ MissionsControllerUpdateMissions0V1Responses,
260
+ MissionsControllerUpdateMissions1Data,
261
+ MissionsControllerUpdateMissions1Errors,
262
+ MissionsControllerUpdateMissions1Responses,
263
+ ProtocolTriggersApiControllerTriggerMissionClose0V1Data,
264
+ ProtocolTriggersApiControllerTriggerMissionClose0V1Errors,
265
+ ProtocolTriggersApiControllerTriggerMissionClose0V1Responses,
266
+ ProtocolTriggersApiControllerTriggerMissionClose1Data,
267
+ ProtocolTriggersApiControllerTriggerMissionClose1Errors,
268
+ ProtocolTriggersApiControllerTriggerMissionClose1Responses,
269
+ ProtocolTriggersApiControllerTriggerPayout0V1Data,
270
+ ProtocolTriggersApiControllerTriggerPayout0V1Errors,
271
+ ProtocolTriggersApiControllerTriggerPayout0V1Responses,
272
+ ProtocolTriggersApiControllerTriggerPayout1Data,
273
+ ProtocolTriggersApiControllerTriggerPayout1Errors,
274
+ ProtocolTriggersApiControllerTriggerPayout1Responses,
275
+ QuotesControllerCreateQuote0V1Data,
276
+ QuotesControllerCreateQuote0V1Errors,
277
+ QuotesControllerCreateQuote0V1Responses,
278
+ QuotesControllerCreateQuote1Data,
279
+ QuotesControllerCreateQuote1Errors,
280
+ QuotesControllerCreateQuote1Responses,
281
+ QuotesControllerGetQuote0V1Data,
282
+ QuotesControllerGetQuote0V1Errors,
283
+ QuotesControllerGetQuote0V1Responses,
284
+ QuotesControllerGetQuote1Data,
285
+ QuotesControllerGetQuote1Errors,
286
+ QuotesControllerGetQuote1Responses,
287
+ SchemaControllerGetEventSchema0V1Data,
288
+ SchemaControllerGetEventSchema0V1Responses,
289
+ SchemaControllerGetEventSchema1Data,
290
+ SchemaControllerGetEventSchema1Responses,
291
+ VaultsControllerCreateVaults0V1Data,
292
+ VaultsControllerCreateVaults0V1Errors,
293
+ VaultsControllerCreateVaults0V1Responses,
294
+ VaultsControllerCreateVaults1Data,
295
+ VaultsControllerCreateVaults1Errors,
296
+ VaultsControllerCreateVaults1Responses,
297
+ WebhooksControllerCreate0V1Data,
298
+ WebhooksControllerCreate0V1Errors,
299
+ WebhooksControllerCreate0V1Responses,
300
+ WebhooksControllerCreate1Data,
301
+ WebhooksControllerCreate1Errors,
302
+ WebhooksControllerCreate1Responses,
303
+ WebhooksControllerDelete0V1Data,
304
+ WebhooksControllerDelete0V1Errors,
305
+ WebhooksControllerDelete0V1Responses,
306
+ WebhooksControllerDelete1Data,
307
+ WebhooksControllerDelete1Errors,
308
+ WebhooksControllerDelete1Responses,
309
+ WebhooksControllerGet0V1Data,
310
+ WebhooksControllerGet0V1Errors,
311
+ WebhooksControllerGet0V1Responses,
312
+ WebhooksControllerGet1Data,
313
+ WebhooksControllerGet1Errors,
314
+ WebhooksControllerGet1Responses,
315
+ WebhooksControllerGetMany0V1Data,
316
+ WebhooksControllerGetMany0V1Errors,
317
+ WebhooksControllerGetMany0V1Responses,
318
+ WebhooksControllerGetMany1Data,
319
+ WebhooksControllerGetMany1Errors,
320
+ WebhooksControllerGetMany1Responses,
321
+ WebhooksControllerGetStatus0V1Data,
322
+ WebhooksControllerGetStatus0V1Errors,
323
+ WebhooksControllerGetStatus0V1Responses,
324
+ WebhooksControllerGetStatus1Data,
325
+ WebhooksControllerGetStatus1Errors,
326
+ WebhooksControllerGetStatus1Responses,
327
+ WebhooksControllerRegenerateSecret0V1Data,
328
+ WebhooksControllerRegenerateSecret0V1Errors,
329
+ WebhooksControllerRegenerateSecret0V1Responses,
330
+ WebhooksControllerRegenerateSecret1Data,
331
+ WebhooksControllerRegenerateSecret1Errors,
332
+ WebhooksControllerRegenerateSecret1Responses,
333
+ WebhooksControllerTest0V1Data,
334
+ WebhooksControllerTest0V1Errors,
335
+ WebhooksControllerTest0V1Responses,
336
+ WebhooksControllerTest1Data,
337
+ WebhooksControllerTest1Errors,
338
+ WebhooksControllerTest1Responses,
339
+ WebhooksControllerUpdate0V1Data,
340
+ WebhooksControllerUpdate0V1Errors,
341
+ WebhooksControllerUpdate0V1Responses,
342
+ WebhooksControllerUpdate1Data,
343
+ WebhooksControllerUpdate1Errors,
344
+ WebhooksControllerUpdate1Responses,
345
+ ZonesControllerCreateZone0V1Data,
346
+ ZonesControllerCreateZone0V1Errors,
347
+ ZonesControllerCreateZone0V1Responses,
348
+ ZonesControllerCreateZone1Data,
349
+ ZonesControllerCreateZone1Errors,
350
+ ZonesControllerCreateZone1Responses,
351
+ ZonesControllerDeleteZone0V1Data,
352
+ ZonesControllerDeleteZone0V1Errors,
353
+ ZonesControllerDeleteZone0V1Responses,
354
+ ZonesControllerDeleteZone1Data,
355
+ ZonesControllerDeleteZone1Errors,
356
+ ZonesControllerDeleteZone1Responses,
357
+ ZonesControllerUpdateZone0V1Data,
358
+ ZonesControllerUpdateZone0V1Errors,
359
+ ZonesControllerUpdateZone0V1Responses,
360
+ ZonesControllerUpdateZone1Data,
361
+ ZonesControllerUpdateZone1Errors,
362
+ ZonesControllerUpdateZone1Responses,
184
363
  } from "./types.gen.js";
185
364
 
186
365
  export type Options<
@@ -200,11 +379,27 @@ export type Options<
200
379
  meta?: Record<string, unknown>;
201
380
  };
202
381
 
203
- export const apiControllerGetHello = <ThrowOnError extends boolean = false>(
204
- options?: Options<ApiControllerGetHelloData, ThrowOnError>,
382
+ export const apiControllerGetHello0V1 = <ThrowOnError extends boolean = false>(
383
+ options?: Options<ApiControllerGetHello0V1Data, ThrowOnError>,
205
384
  ) => {
206
385
  return (options?.client ?? _heyApiClient).get<
207
- ApiControllerGetHelloResponses,
386
+ ApiControllerGetHello0V1Responses,
387
+ unknown,
388
+ ThrowOnError
389
+ >({
390
+ url: "/v1",
391
+ ...options,
392
+ });
393
+ };
394
+
395
+ /**
396
+ * @deprecated
397
+ */
398
+ export const apiControllerGetHello1 = <ThrowOnError extends boolean = false>(
399
+ options?: Options<ApiControllerGetHello1Data, ThrowOnError>,
400
+ ) => {
401
+ return (options?.client ?? _heyApiClient).get<
402
+ ApiControllerGetHello1Responses,
208
403
  unknown,
209
404
  ThrowOnError
210
405
  >({
@@ -213,11 +408,27 @@ export const apiControllerGetHello = <ThrowOnError extends boolean = false>(
213
408
  });
214
409
  };
215
410
 
216
- export const apiControllerGetError = <ThrowOnError extends boolean = false>(
217
- options?: Options<ApiControllerGetErrorData, ThrowOnError>,
411
+ export const apiControllerGetError0V1 = <ThrowOnError extends boolean = false>(
412
+ options?: Options<ApiControllerGetError0V1Data, ThrowOnError>,
413
+ ) => {
414
+ return (options?.client ?? _heyApiClient).get<
415
+ ApiControllerGetError0V1Responses,
416
+ unknown,
417
+ ThrowOnError
418
+ >({
419
+ url: "/v1/debug-sentry",
420
+ ...options,
421
+ });
422
+ };
423
+
424
+ /**
425
+ * @deprecated
426
+ */
427
+ export const apiControllerGetError1 = <ThrowOnError extends boolean = false>(
428
+ options?: Options<ApiControllerGetError1Data, ThrowOnError>,
218
429
  ) => {
219
430
  return (options?.client ?? _heyApiClient).get<
220
- ApiControllerGetErrorResponses,
431
+ ApiControllerGetError1Responses,
221
432
  unknown,
222
433
  ThrowOnError
223
434
  >({
@@ -226,14 +437,42 @@ export const apiControllerGetError = <ThrowOnError extends boolean = false>(
226
437
  });
227
438
  };
228
439
 
229
- export const apiTokenControllerCreateToken = <
440
+ export const apiTokenControllerCreateToken0V1 = <
441
+ ThrowOnError extends boolean = false,
442
+ >(
443
+ options: Options<ApiTokenControllerCreateToken0V1Data, ThrowOnError>,
444
+ ) => {
445
+ return (options.client ?? _heyApiClient).post<
446
+ ApiTokenControllerCreateToken0V1Responses,
447
+ ApiTokenControllerCreateToken0V1Errors,
448
+ ThrowOnError
449
+ >({
450
+ security: [
451
+ {
452
+ name: "x-api-token",
453
+ type: "apiKey",
454
+ },
455
+ ],
456
+ url: "/v1/tokens",
457
+ ...options,
458
+ headers: {
459
+ "Content-Type": "application/json",
460
+ ...options.headers,
461
+ },
462
+ });
463
+ };
464
+
465
+ /**
466
+ * @deprecated
467
+ */
468
+ export const apiTokenControllerCreateToken1 = <
230
469
  ThrowOnError extends boolean = false,
231
470
  >(
232
- options: Options<ApiTokenControllerCreateTokenData, ThrowOnError>,
471
+ options: Options<ApiTokenControllerCreateToken1Data, ThrowOnError>,
233
472
  ) => {
234
473
  return (options.client ?? _heyApiClient).post<
235
- ApiTokenControllerCreateTokenResponses,
236
- ApiTokenControllerCreateTokenErrors,
474
+ ApiTokenControllerCreateToken1Responses,
475
+ ApiTokenControllerCreateToken1Errors,
237
476
  ThrowOnError
238
477
  >({
239
478
  security: [
@@ -251,14 +490,14 @@ export const apiTokenControllerCreateToken = <
251
490
  });
252
491
  };
253
492
 
254
- export const apiTokenControllerDeleteToken = <
493
+ export const apiTokenControllerDeleteToken0V1 = <
255
494
  ThrowOnError extends boolean = false,
256
495
  >(
257
- options: Options<ApiTokenControllerDeleteTokenData, ThrowOnError>,
496
+ options: Options<ApiTokenControllerDeleteToken0V1Data, ThrowOnError>,
258
497
  ) => {
259
498
  return (options.client ?? _heyApiClient).delete<
260
- ApiTokenControllerDeleteTokenResponses,
261
- ApiTokenControllerDeleteTokenErrors,
499
+ ApiTokenControllerDeleteToken0V1Responses,
500
+ ApiTokenControllerDeleteToken0V1Errors,
262
501
  ThrowOnError
263
502
  >({
264
503
  security: [
@@ -267,19 +506,19 @@ export const apiTokenControllerDeleteToken = <
267
506
  type: "apiKey",
268
507
  },
269
508
  ],
270
- url: "/tokens/{id}",
509
+ url: "/v1/tokens/{id}",
271
510
  ...options,
272
511
  });
273
512
  };
274
513
 
275
- export const apiTokenControllerGetToken = <
514
+ export const apiTokenControllerGetToken0V1 = <
276
515
  ThrowOnError extends boolean = false,
277
516
  >(
278
- options: Options<ApiTokenControllerGetTokenData, ThrowOnError>,
517
+ options: Options<ApiTokenControllerGetToken0V1Data, ThrowOnError>,
279
518
  ) => {
280
519
  return (options.client ?? _heyApiClient).get<
281
- ApiTokenControllerGetTokenResponses,
282
- ApiTokenControllerGetTokenErrors,
520
+ ApiTokenControllerGetToken0V1Responses,
521
+ ApiTokenControllerGetToken0V1Errors,
283
522
  ThrowOnError
284
523
  >({
285
524
  security: [
@@ -288,19 +527,19 @@ export const apiTokenControllerGetToken = <
288
527
  type: "apiKey",
289
528
  },
290
529
  ],
291
- url: "/tokens/{id}",
530
+ url: "/v1/tokens/{id}",
292
531
  ...options,
293
532
  });
294
533
  };
295
534
 
296
- export const apiTokenControllerUpdateToken = <
535
+ export const apiTokenControllerUpdateToken0V1 = <
297
536
  ThrowOnError extends boolean = false,
298
537
  >(
299
- options: Options<ApiTokenControllerUpdateTokenData, ThrowOnError>,
538
+ options: Options<ApiTokenControllerUpdateToken0V1Data, ThrowOnError>,
300
539
  ) => {
301
540
  return (options.client ?? _heyApiClient).patch<
302
- ApiTokenControllerUpdateTokenResponses,
303
- ApiTokenControllerUpdateTokenErrors,
541
+ ApiTokenControllerUpdateToken0V1Responses,
542
+ ApiTokenControllerUpdateToken0V1Errors,
304
543
  ThrowOnError
305
544
  >({
306
545
  security: [
@@ -309,8 +548,8 @@ export const apiTokenControllerUpdateToken = <
309
548
  type: "apiKey",
310
549
  },
311
550
  ],
312
- responseTransformer: apiTokenControllerUpdateTokenResponseTransformer,
313
- url: "/tokens/{id}",
551
+ responseTransformer: apiTokenControllerUpdateToken0V1ResponseTransformer,
552
+ url: "/v1/tokens/{id}",
314
553
  ...options,
315
554
  headers: {
316
555
  "Content-Type": "application/json",
@@ -319,38 +558,41 @@ export const apiTokenControllerUpdateToken = <
319
558
  });
320
559
  };
321
560
 
322
- export const conditionsControllerGetSunAltitudeTimeLimits = <
561
+ /**
562
+ * @deprecated
563
+ */
564
+ export const apiTokenControllerDeleteToken1 = <
323
565
  ThrowOnError extends boolean = false,
324
566
  >(
325
- options: Options<
326
- ConditionsControllerGetSunAltitudeTimeLimitsData,
327
- ThrowOnError
328
- >,
567
+ options: Options<ApiTokenControllerDeleteToken1Data, ThrowOnError>,
329
568
  ) => {
330
- return (options.client ?? _heyApiClient).get<
331
- ConditionsControllerGetSunAltitudeTimeLimitsResponses,
332
- unknown,
569
+ return (options.client ?? _heyApiClient).delete<
570
+ ApiTokenControllerDeleteToken1Responses,
571
+ ApiTokenControllerDeleteToken1Errors,
333
572
  ThrowOnError
334
573
  >({
335
- responseTransformer:
336
- conditionsControllerGetSunAltitudeTimeLimitsResponseTransformer,
337
- url: "/conditions/sun-altitude",
574
+ security: [
575
+ {
576
+ name: "x-api-token",
577
+ type: "apiKey",
578
+ },
579
+ ],
580
+ url: "/tokens/{id}",
338
581
  ...options,
339
582
  });
340
583
  };
341
584
 
342
585
  /**
343
- * Get all contracts
344
- * Retrieve all activity and ERC20 contracts
586
+ * @deprecated
345
587
  */
346
- export const contractsControllerGetAllContracts = <
588
+ export const apiTokenControllerGetToken1 = <
347
589
  ThrowOnError extends boolean = false,
348
590
  >(
349
- options?: Options<ContractsControllerGetAllContractsData, ThrowOnError>,
591
+ options: Options<ApiTokenControllerGetToken1Data, ThrowOnError>,
350
592
  ) => {
351
- return (options?.client ?? _heyApiClient).get<
352
- ContractsControllerGetAllContractsResponses,
353
- ContractsControllerGetAllContractsErrors,
593
+ return (options.client ?? _heyApiClient).get<
594
+ ApiTokenControllerGetToken1Responses,
595
+ ApiTokenControllerGetToken1Errors,
354
596
  ThrowOnError
355
597
  >({
356
598
  security: [
@@ -359,24 +601,22 @@ export const contractsControllerGetAllContracts = <
359
601
  type: "apiKey",
360
602
  },
361
603
  ],
362
- responseTransformer: contractsControllerGetAllContractsResponseTransformer,
363
- url: "/contracts",
604
+ url: "/tokens/{id}",
364
605
  ...options,
365
606
  });
366
607
  };
367
608
 
368
609
  /**
369
- * Create a new contract
370
- * Create either an activity contract or an ERC20 contract
610
+ * @deprecated
371
611
  */
372
- export const contractsControllerCreateContract = <
612
+ export const apiTokenControllerUpdateToken1 = <
373
613
  ThrowOnError extends boolean = false,
374
614
  >(
375
- options: Options<ContractsControllerCreateContractData, ThrowOnError>,
615
+ options: Options<ApiTokenControllerUpdateToken1Data, ThrowOnError>,
376
616
  ) => {
377
- return (options.client ?? _heyApiClient).post<
378
- ContractsControllerCreateContractResponses,
379
- ContractsControllerCreateContractErrors,
617
+ return (options.client ?? _heyApiClient).patch<
618
+ ApiTokenControllerUpdateToken1Responses,
619
+ ApiTokenControllerUpdateToken1Errors,
380
620
  ThrowOnError
381
621
  >({
382
622
  security: [
@@ -385,7 +625,8 @@ export const contractsControllerCreateContract = <
385
625
  type: "apiKey",
386
626
  },
387
627
  ],
388
- url: "/contracts",
628
+ responseTransformer: apiTokenControllerUpdateToken1ResponseTransformer,
629
+ url: "/tokens/{id}",
389
630
  ...options,
390
631
  headers: {
391
632
  "Content-Type": "application/json",
@@ -394,18 +635,61 @@ export const contractsControllerCreateContract = <
394
635
  });
395
636
  };
396
637
 
638
+ export const conditionsControllerGetSunAltitudeTimeLimits0V1 = <
639
+ ThrowOnError extends boolean = false,
640
+ >(
641
+ options: Options<
642
+ ConditionsControllerGetSunAltitudeTimeLimits0V1Data,
643
+ ThrowOnError
644
+ >,
645
+ ) => {
646
+ return (options.client ?? _heyApiClient).get<
647
+ ConditionsControllerGetSunAltitudeTimeLimits0V1Responses,
648
+ unknown,
649
+ ThrowOnError
650
+ >({
651
+ responseTransformer:
652
+ conditionsControllerGetSunAltitudeTimeLimits0V1ResponseTransformer,
653
+ url: "/v1/conditions/sun-altitude",
654
+ ...options,
655
+ });
656
+ };
657
+
397
658
  /**
398
- * Delete a contract
399
- * Delete a contract by ID and type
659
+ * @deprecated
660
+ */
661
+ export const conditionsControllerGetSunAltitudeTimeLimits1 = <
662
+ ThrowOnError extends boolean = false,
663
+ >(
664
+ options: Options<
665
+ ConditionsControllerGetSunAltitudeTimeLimits1Data,
666
+ ThrowOnError
667
+ >,
668
+ ) => {
669
+ return (options.client ?? _heyApiClient).get<
670
+ ConditionsControllerGetSunAltitudeTimeLimits1Responses,
671
+ unknown,
672
+ ThrowOnError
673
+ >({
674
+ responseTransformer:
675
+ conditionsControllerGetSunAltitudeTimeLimits1ResponseTransformer,
676
+ url: "/conditions/sun-altitude",
677
+ ...options,
678
+ });
679
+ };
680
+
681
+ /**
682
+ * Get all contracts
683
+ * Retrieve all activity and ERC20 contracts
400
684
  */
401
- export const contractsControllerDeleteContract = <
685
+ export const contractsControllerGetAllContracts0V1 = <
402
686
  ThrowOnError extends boolean = false,
403
687
  >(
404
- options: Options<ContractsControllerDeleteContractData, ThrowOnError>,
688
+ options?: Options<ContractsControllerGetAllContracts0V1Data, ThrowOnError>,
405
689
  ) => {
406
- return (options.client ?? _heyApiClient).delete<
407
- ContractsControllerDeleteContractResponses,
408
- ContractsControllerDeleteContractErrors,
690
+ return (options?.client ?? _heyApiClient).get<
691
+ ContractsControllerGetAllContracts0V1Responses,
692
+ ContractsControllerGetAllContracts0V1Errors,
409
693
  ThrowOnError
410
694
  >({
411
695
  security: [
@@ -414,23 +698,25 @@ export const contractsControllerDeleteContract = <
414
698
  type: "apiKey",
415
699
  },
416
700
  ],
417
- url: "/contracts/{id}",
701
+ responseTransformer:
702
+ contractsControllerGetAllContracts0V1ResponseTransformer,
703
+ url: "/v1/contracts",
418
704
  ...options,
419
705
  });
420
706
  };
421
707
 
422
708
  /**
423
- * Get a contract by ID
424
- * Retrieve a specific contract by ID and type
709
+ * Create a new contract
710
+ * Create either an activity contract or an ERC20 contract
425
711
  */
426
- export const contractsControllerGetContract = <
712
+ export const contractsControllerCreateContract0V1 = <
427
713
  ThrowOnError extends boolean = false,
428
714
  >(
429
- options: Options<ContractsControllerGetContractData, ThrowOnError>,
715
+ options: Options<ContractsControllerCreateContract0V1Data, ThrowOnError>,
430
716
  ) => {
431
- return (options.client ?? _heyApiClient).get<
432
- ContractsControllerGetContractResponses,
433
- ContractsControllerGetContractErrors,
717
+ return (options.client ?? _heyApiClient).post<
718
+ ContractsControllerCreateContract0V1Responses,
719
+ ContractsControllerCreateContract0V1Errors,
434
720
  ThrowOnError
435
721
  >({
436
722
  security: [
@@ -439,23 +725,28 @@ export const contractsControllerGetContract = <
439
725
  type: "apiKey",
440
726
  },
441
727
  ],
442
- url: "/contracts/{id}",
728
+ url: "/v1/contracts",
443
729
  ...options,
730
+ headers: {
731
+ "Content-Type": "application/json",
732
+ ...options.headers,
733
+ },
444
734
  });
445
735
  };
446
736
 
447
737
  /**
448
- * Update a contract
449
- * Update an existing contract
738
+ * Get all contracts
739
+ * Retrieve all activity and ERC20 contracts
740
+ * @deprecated
450
741
  */
451
- export const contractsControllerUpdateContract = <
742
+ export const contractsControllerGetAllContracts1 = <
452
743
  ThrowOnError extends boolean = false,
453
744
  >(
454
- options: Options<ContractsControllerUpdateContractData, ThrowOnError>,
745
+ options?: Options<ContractsControllerGetAllContracts1Data, ThrowOnError>,
455
746
  ) => {
456
- return (options.client ?? _heyApiClient).patch<
457
- ContractsControllerUpdateContractResponses,
458
- ContractsControllerUpdateContractErrors,
747
+ return (options?.client ?? _heyApiClient).get<
748
+ ContractsControllerGetAllContracts1Responses,
749
+ ContractsControllerGetAllContracts1Errors,
459
750
  ThrowOnError
460
751
  >({
461
752
  security: [
@@ -464,27 +755,25 @@ export const contractsControllerUpdateContract = <
464
755
  type: "apiKey",
465
756
  },
466
757
  ],
467
- url: "/contracts/{id}",
758
+ responseTransformer: contractsControllerGetAllContracts1ResponseTransformer,
759
+ url: "/contracts",
468
760
  ...options,
469
- headers: {
470
- "Content-Type": "application/json",
471
- ...options.headers,
472
- },
473
761
  });
474
762
  };
475
763
 
476
764
  /**
477
- * Redrive messages from a DLQ topic back to its main topic
478
- * 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.
765
+ * Create a new contract
766
+ * Create either an activity contract or an ERC20 contract
767
+ * @deprecated
479
768
  */
480
- export const dlqRedriverControllerRedriveDlq = <
769
+ export const contractsControllerCreateContract1 = <
481
770
  ThrowOnError extends boolean = false,
482
771
  >(
483
- options: Options<DlqRedriverControllerRedriveDlqData, ThrowOnError>,
772
+ options: Options<ContractsControllerCreateContract1Data, ThrowOnError>,
484
773
  ) => {
485
774
  return (options.client ?? _heyApiClient).post<
486
- DlqRedriverControllerRedriveDlqResponses,
487
- DlqRedriverControllerRedriveDlqErrors,
775
+ ContractsControllerCreateContract1Responses,
776
+ ContractsControllerCreateContract1Errors,
488
777
  ThrowOnError
489
778
  >({
490
779
  security: [
@@ -493,7 +782,7 @@ export const dlqRedriverControllerRedriveDlq = <
493
782
  type: "apiKey",
494
783
  },
495
784
  ],
496
- url: "/dlq-redriver/redrive",
785
+ url: "/contracts",
497
786
  ...options,
498
787
  headers: {
499
788
  "Content-Type": "application/json",
@@ -502,14 +791,18 @@ export const dlqRedriverControllerRedriveDlq = <
502
791
  });
503
792
  };
504
793
 
505
- export const flightsControllerGenerateStorageKey = <
794
+ /**
795
+ * Delete a contract
796
+ * Delete a contract by ID and type
797
+ */
798
+ export const contractsControllerDeleteContract0V1 = <
506
799
  ThrowOnError extends boolean = false,
507
800
  >(
508
- options: Options<FlightsControllerGenerateStorageKeyData, ThrowOnError>,
801
+ options: Options<ContractsControllerDeleteContract0V1Data, ThrowOnError>,
509
802
  ) => {
510
- return (options.client ?? _heyApiClient).get<
511
- FlightsControllerGenerateStorageKeyResponses,
512
- FlightsControllerGenerateStorageKeyErrors,
803
+ return (options.client ?? _heyApiClient).delete<
804
+ ContractsControllerDeleteContract0V1Responses,
805
+ ContractsControllerDeleteContract0V1Errors,
513
806
  ThrowOnError
514
807
  >({
515
808
  security: [
@@ -518,19 +811,23 @@ export const flightsControllerGenerateStorageKey = <
518
811
  type: "apiKey",
519
812
  },
520
813
  ],
521
- url: "/flights/storage-key",
814
+ url: "/v1/contracts/{id}",
522
815
  ...options,
523
816
  });
524
817
  };
525
818
 
526
- export const flightsControllerGetFlight = <
819
+ /**
820
+ * Get a contract by ID
821
+ * Retrieve a specific contract by ID and type
822
+ */
823
+ export const contractsControllerGetContract0V1 = <
527
824
  ThrowOnError extends boolean = false,
528
825
  >(
529
- options: Options<FlightsControllerGetFlightData, ThrowOnError>,
826
+ options: Options<ContractsControllerGetContract0V1Data, ThrowOnError>,
530
827
  ) => {
531
828
  return (options.client ?? _heyApiClient).get<
532
- FlightsControllerGetFlightResponses,
533
- FlightsControllerGetFlightErrors,
829
+ ContractsControllerGetContract0V1Responses,
830
+ ContractsControllerGetContract0V1Errors,
534
831
  ThrowOnError
535
832
  >({
536
833
  security: [
@@ -539,20 +836,23 @@ export const flightsControllerGetFlight = <
539
836
  type: "apiKey",
540
837
  },
541
838
  ],
542
- responseTransformer: flightsControllerGetFlightResponseTransformer,
543
- url: "/flights/{flightId}",
839
+ url: "/v1/contracts/{id}",
544
840
  ...options,
545
841
  });
546
842
  };
547
843
 
548
- export const flightsControllerCreatePresignedUrls = <
844
+ /**
845
+ * Update a contract
846
+ * Update an existing contract
847
+ */
848
+ export const contractsControllerUpdateContract0V1 = <
549
849
  ThrowOnError extends boolean = false,
550
850
  >(
551
- options: Options<FlightsControllerCreatePresignedUrlsData, ThrowOnError>,
851
+ options: Options<ContractsControllerUpdateContract0V1Data, ThrowOnError>,
552
852
  ) => {
553
- return (options.client ?? _heyApiClient).post<
554
- FlightsControllerCreatePresignedUrlsResponses,
555
- FlightsControllerCreatePresignedUrlsErrors,
853
+ return (options.client ?? _heyApiClient).patch<
854
+ ContractsControllerUpdateContract0V1Responses,
855
+ ContractsControllerUpdateContract0V1Errors,
556
856
  ThrowOnError
557
857
  >({
558
858
  security: [
@@ -561,7 +861,7 @@ export const flightsControllerCreatePresignedUrls = <
561
861
  type: "apiKey",
562
862
  },
563
863
  ],
564
- url: "/flights/files",
864
+ url: "/v1/contracts/{id}",
565
865
  ...options,
566
866
  headers: {
567
867
  "Content-Type": "application/json",
@@ -570,14 +870,19 @@ export const flightsControllerCreatePresignedUrls = <
570
870
  });
571
871
  };
572
872
 
573
- export const flightsControllerValidateFlight = <
873
+ /**
874
+ * Delete a contract
875
+ * Delete a contract by ID and type
876
+ * @deprecated
877
+ */
878
+ export const contractsControllerDeleteContract1 = <
574
879
  ThrowOnError extends boolean = false,
575
880
  >(
576
- options: Options<FlightsControllerValidateFlightData, ThrowOnError>,
881
+ options: Options<ContractsControllerDeleteContract1Data, ThrowOnError>,
577
882
  ) => {
578
- return (options.client ?? _heyApiClient).post<
579
- FlightsControllerValidateFlightResponses,
580
- FlightsControllerValidateFlightErrors,
883
+ return (options.client ?? _heyApiClient).delete<
884
+ ContractsControllerDeleteContract1Responses,
885
+ ContractsControllerDeleteContract1Errors,
581
886
  ThrowOnError
582
887
  >({
583
888
  security: [
@@ -586,28 +891,24 @@ export const flightsControllerValidateFlight = <
586
891
  type: "apiKey",
587
892
  },
588
893
  ],
589
- responseTransformer: flightsControllerValidateFlightResponseTransformer,
590
- url: "/flights",
894
+ url: "/contracts/{id}",
591
895
  ...options,
592
- headers: {
593
- "Content-Type": "application/json",
594
- ...options.headers,
595
- },
596
896
  });
597
897
  };
598
898
 
599
899
  /**
600
- * Get all flight plans
601
- * Returns all available flight plan templates. These define capture patterns (map, panorama) that can be used for drone missions.
900
+ * Get a contract by ID
901
+ * Retrieve a specific contract by ID and type
902
+ * @deprecated
602
903
  */
603
- export const flightPlansControllerGetMany = <
904
+ export const contractsControllerGetContract1 = <
604
905
  ThrowOnError extends boolean = false,
605
906
  >(
606
- options?: Options<FlightPlansControllerGetManyData, ThrowOnError>,
907
+ options: Options<ContractsControllerGetContract1Data, ThrowOnError>,
607
908
  ) => {
608
- return (options?.client ?? _heyApiClient).get<
609
- FlightPlansControllerGetManyResponses,
610
- FlightPlansControllerGetManyErrors,
909
+ return (options.client ?? _heyApiClient).get<
910
+ ContractsControllerGetContract1Responses,
911
+ ContractsControllerGetContract1Errors,
611
912
  ThrowOnError
612
913
  >({
613
914
  security: [
@@ -616,24 +917,24 @@ export const flightPlansControllerGetMany = <
616
917
  type: "apiKey",
617
918
  },
618
919
  ],
619
- responseTransformer: flightPlansControllerGetManyResponseTransformer,
620
- url: "/flight-plans",
920
+ url: "/contracts/{id}",
621
921
  ...options,
622
922
  });
623
923
  };
624
924
 
625
925
  /**
626
- * Create a new flight plan
627
- * Creates a new flight plan template with sections and connection strategy.
926
+ * Update a contract
927
+ * Update an existing contract
928
+ * @deprecated
628
929
  */
629
- export const flightPlansControllerCreate = <
930
+ export const contractsControllerUpdateContract1 = <
630
931
  ThrowOnError extends boolean = false,
631
932
  >(
632
- options: Options<FlightPlansControllerCreateData, ThrowOnError>,
933
+ options: Options<ContractsControllerUpdateContract1Data, ThrowOnError>,
633
934
  ) => {
634
- return (options.client ?? _heyApiClient).post<
635
- FlightPlansControllerCreateResponses,
636
- FlightPlansControllerCreateErrors,
935
+ return (options.client ?? _heyApiClient).patch<
936
+ ContractsControllerUpdateContract1Responses,
937
+ ContractsControllerUpdateContract1Errors,
637
938
  ThrowOnError
638
939
  >({
639
940
  security: [
@@ -642,8 +943,7 @@ export const flightPlansControllerCreate = <
642
943
  type: "apiKey",
643
944
  },
644
945
  ],
645
- responseTransformer: flightPlansControllerCreateResponseTransformer,
646
- url: "/flight-plans",
946
+ url: "/contracts/{id}",
647
947
  ...options,
648
948
  headers: {
649
949
  "Content-Type": "application/json",
@@ -653,15 +953,17 @@ export const flightPlansControllerCreate = <
653
953
  };
654
954
 
655
955
  /**
656
- * Get a flight plan by ID
657
- * Returns a single flight plan template by its ID.
956
+ * Redrive messages from a DLQ topic back to its main topic
957
+ * 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.
658
958
  */
659
- export const flightPlansControllerGet = <ThrowOnError extends boolean = false>(
660
- options: Options<FlightPlansControllerGetData, ThrowOnError>,
959
+ export const dlqRedriverControllerRedriveDlq0V1 = <
960
+ ThrowOnError extends boolean = false,
961
+ >(
962
+ options: Options<DlqRedriverControllerRedriveDlq0V1Data, ThrowOnError>,
661
963
  ) => {
662
- return (options.client ?? _heyApiClient).get<
663
- FlightPlansControllerGetResponses,
664
- FlightPlansControllerGetErrors,
964
+ return (options.client ?? _heyApiClient).post<
965
+ DlqRedriverControllerRedriveDlq0V1Responses,
966
+ DlqRedriverControllerRedriveDlq0V1Errors,
665
967
  ThrowOnError
666
968
  >({
667
969
  security: [
@@ -670,23 +972,28 @@ export const flightPlansControllerGet = <ThrowOnError extends boolean = false>(
670
972
  type: "apiKey",
671
973
  },
672
974
  ],
673
- responseTransformer: flightPlansControllerGetResponseTransformer,
674
- url: "/flight-plans/{id}",
975
+ url: "/v1/dlq-redriver/redrive",
675
976
  ...options,
977
+ headers: {
978
+ "Content-Type": "application/json",
979
+ ...options.headers,
980
+ },
676
981
  });
677
982
  };
678
983
 
679
984
  /**
680
- * Get a flight review by ID
985
+ * Redrive messages from a DLQ topic back to its main topic
986
+ * 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.
987
+ * @deprecated
681
988
  */
682
- export const flightReviewsControllerGetFlightReview = <
989
+ export const dlqRedriverControllerRedriveDlq1 = <
683
990
  ThrowOnError extends boolean = false,
684
991
  >(
685
- options: Options<FlightReviewsControllerGetFlightReviewData, ThrowOnError>,
992
+ options: Options<DlqRedriverControllerRedriveDlq1Data, ThrowOnError>,
686
993
  ) => {
687
- return (options.client ?? _heyApiClient).get<
688
- FlightReviewsControllerGetFlightReviewResponses,
689
- FlightReviewsControllerGetFlightReviewErrors,
994
+ return (options.client ?? _heyApiClient).post<
995
+ DlqRedriverControllerRedriveDlq1Responses,
996
+ DlqRedriverControllerRedriveDlq1Errors,
690
997
  ThrowOnError
691
998
  >({
692
999
  security: [
@@ -695,24 +1002,23 @@ export const flightReviewsControllerGetFlightReview = <
695
1002
  type: "apiKey",
696
1003
  },
697
1004
  ],
698
- responseTransformer:
699
- flightReviewsControllerGetFlightReviewResponseTransformer,
700
- url: "/flight-reviews/{id}",
1005
+ url: "/dlq-redriver/redrive",
701
1006
  ...options,
1007
+ headers: {
1008
+ "Content-Type": "application/json",
1009
+ ...options.headers,
1010
+ },
702
1011
  });
703
1012
  };
704
1013
 
705
- /**
706
- * Get flight reviews by updated_at time range
707
- */
708
- export const flightReviewsControllerGetFlightReviews = <
1014
+ export const flightsControllerGenerateStorageKey0V1 = <
709
1015
  ThrowOnError extends boolean = false,
710
1016
  >(
711
- options: Options<FlightReviewsControllerGetFlightReviewsData, ThrowOnError>,
1017
+ options: Options<FlightsControllerGenerateStorageKey0V1Data, ThrowOnError>,
712
1018
  ) => {
713
1019
  return (options.client ?? _heyApiClient).get<
714
- FlightReviewsControllerGetFlightReviewsResponses,
715
- FlightReviewsControllerGetFlightReviewsErrors,
1020
+ FlightsControllerGenerateStorageKey0V1Responses,
1021
+ FlightsControllerGenerateStorageKey0V1Errors,
716
1022
  ThrowOnError
717
1023
  >({
718
1024
  security: [
@@ -721,39 +1027,43 @@ export const flightReviewsControllerGetFlightReviews = <
721
1027
  type: "apiKey",
722
1028
  },
723
1029
  ],
724
- responseTransformer:
725
- flightReviewsControllerGetFlightReviewsResponseTransformer,
726
- url: "/flight-reviews",
1030
+ url: "/v1/flights/storage-key",
727
1031
  ...options,
728
1032
  });
729
1033
  };
730
1034
 
731
- export const keysControllerGetProvenanceCryptoKey = <
1035
+ /**
1036
+ * @deprecated
1037
+ */
1038
+ export const flightsControllerGenerateStorageKey1 = <
732
1039
  ThrowOnError extends boolean = false,
733
1040
  >(
734
- options?: Options<KeysControllerGetProvenanceCryptoKeyData, ThrowOnError>,
1041
+ options: Options<FlightsControllerGenerateStorageKey1Data, ThrowOnError>,
735
1042
  ) => {
736
- return (options?.client ?? _heyApiClient).get<
737
- KeysControllerGetProvenanceCryptoKeyResponses,
738
- unknown,
1043
+ return (options.client ?? _heyApiClient).get<
1044
+ FlightsControllerGenerateStorageKey1Responses,
1045
+ FlightsControllerGenerateStorageKey1Errors,
739
1046
  ThrowOnError
740
1047
  >({
741
- url: "/keys",
1048
+ security: [
1049
+ {
1050
+ name: "x-api-token",
1051
+ type: "apiKey",
1052
+ },
1053
+ ],
1054
+ url: "/flights/storage-key",
742
1055
  ...options,
743
1056
  });
744
1057
  };
745
1058
 
746
- /**
747
- * Get a mission by ID
748
- */
749
- export const missionsControllerGetMission = <
1059
+ export const flightsControllerGetFlight0V1 = <
750
1060
  ThrowOnError extends boolean = false,
751
1061
  >(
752
- options: Options<MissionsControllerGetMissionData, ThrowOnError>,
1062
+ options: Options<FlightsControllerGetFlight0V1Data, ThrowOnError>,
753
1063
  ) => {
754
1064
  return (options.client ?? _heyApiClient).get<
755
- MissionsControllerGetMissionResponses,
756
- MissionsControllerGetMissionErrors,
1065
+ FlightsControllerGetFlight0V1Responses,
1066
+ FlightsControllerGetFlight0V1Errors,
757
1067
  ThrowOnError
758
1068
  >({
759
1069
  security: [
@@ -762,24 +1072,23 @@ export const missionsControllerGetMission = <
762
1072
  type: "apiKey",
763
1073
  },
764
1074
  ],
765
- responseTransformer: missionsControllerGetMissionResponseTransformer,
766
- url: "/missions/{id}",
1075
+ responseTransformer: flightsControllerGetFlight0V1ResponseTransformer,
1076
+ url: "/v1/flights/{flightId}",
767
1077
  ...options,
768
1078
  });
769
1079
  };
770
1080
 
771
1081
  /**
772
- * Get missions
773
- * 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.
1082
+ * @deprecated
774
1083
  */
775
- export const missionsControllerGetMissions = <
1084
+ export const flightsControllerGetFlight1 = <
776
1085
  ThrowOnError extends boolean = false,
777
1086
  >(
778
- options?: Options<MissionsControllerGetMissionsData, ThrowOnError>,
1087
+ options: Options<FlightsControllerGetFlight1Data, ThrowOnError>,
779
1088
  ) => {
780
- return (options?.client ?? _heyApiClient).get<
781
- MissionsControllerGetMissionsResponses,
782
- MissionsControllerGetMissionsErrors,
1089
+ return (options.client ?? _heyApiClient).get<
1090
+ FlightsControllerGetFlight1Responses,
1091
+ FlightsControllerGetFlight1Errors,
783
1092
  ThrowOnError
784
1093
  >({
785
1094
  security: [
@@ -788,24 +1097,20 @@ export const missionsControllerGetMissions = <
788
1097
  type: "apiKey",
789
1098
  },
790
1099
  ],
791
- responseTransformer: missionsControllerGetMissionsResponseTransformer,
792
- url: "/missions",
1100
+ responseTransformer: flightsControllerGetFlight1ResponseTransformer,
1101
+ url: "/flights/{flightId}",
793
1102
  ...options,
794
1103
  });
795
1104
  };
796
1105
 
797
- /**
798
- * Create new missions
799
- * Create missions for specified zones and mission types.
800
- */
801
- export const missionsControllerCreateMissions = <
1106
+ export const flightsControllerCreatePresignedUrls0V1 = <
802
1107
  ThrowOnError extends boolean = false,
803
1108
  >(
804
- options: Options<MissionsControllerCreateMissionsData, ThrowOnError>,
1109
+ options: Options<FlightsControllerCreatePresignedUrls0V1Data, ThrowOnError>,
805
1110
  ) => {
806
1111
  return (options.client ?? _heyApiClient).post<
807
- MissionsControllerCreateMissionsResponses,
808
- MissionsControllerCreateMissionsErrors,
1112
+ FlightsControllerCreatePresignedUrls0V1Responses,
1113
+ FlightsControllerCreatePresignedUrls0V1Errors,
809
1114
  ThrowOnError
810
1115
  >({
811
1116
  security: [
@@ -814,8 +1119,7 @@ export const missionsControllerCreateMissions = <
814
1119
  type: "apiKey",
815
1120
  },
816
1121
  ],
817
- responseTransformer: missionsControllerCreateMissionsResponseTransformer,
818
- url: "/missions",
1122
+ url: "/v1/flights/files",
819
1123
  ...options,
820
1124
  headers: {
821
1125
  "Content-Type": "application/json",
@@ -825,17 +1129,16 @@ export const missionsControllerCreateMissions = <
825
1129
  };
826
1130
 
827
1131
  /**
828
- * Update missions
829
- * Update missions' rewards or cancel them altogether
1132
+ * @deprecated
830
1133
  */
831
- export const missionsControllerUpdateMissions = <
1134
+ export const flightsControllerCreatePresignedUrls1 = <
832
1135
  ThrowOnError extends boolean = false,
833
1136
  >(
834
- options: Options<MissionsControllerUpdateMissionsData, ThrowOnError>,
1137
+ options: Options<FlightsControllerCreatePresignedUrls1Data, ThrowOnError>,
835
1138
  ) => {
836
- return (options.client ?? _heyApiClient).put<
837
- MissionsControllerUpdateMissionsResponses,
838
- MissionsControllerUpdateMissionsErrors,
1139
+ return (options.client ?? _heyApiClient).post<
1140
+ FlightsControllerCreatePresignedUrls1Responses,
1141
+ FlightsControllerCreatePresignedUrls1Errors,
839
1142
  ThrowOnError
840
1143
  >({
841
1144
  security: [
@@ -844,7 +1147,7 @@ export const missionsControllerUpdateMissions = <
844
1147
  type: "apiKey",
845
1148
  },
846
1149
  ],
847
- url: "/missions",
1150
+ url: "/flights/files",
848
1151
  ...options,
849
1152
  headers: {
850
1153
  "Content-Type": "application/json",
@@ -853,18 +1156,14 @@ export const missionsControllerUpdateMissions = <
853
1156
  });
854
1157
  };
855
1158
 
856
- /**
857
- * Reprice missions
858
- * Apply a scale factor to all open missions' vault amounts
859
- */
860
- export const missionsControllerRepriceMissions = <
1159
+ export const flightsControllerValidateFlight0V1 = <
861
1160
  ThrowOnError extends boolean = false,
862
1161
  >(
863
- options: Options<MissionsControllerRepriceMissionsData, ThrowOnError>,
1162
+ options: Options<FlightsControllerValidateFlight0V1Data, ThrowOnError>,
864
1163
  ) => {
865
- return (options.client ?? _heyApiClient).put<
866
- MissionsControllerRepriceMissionsResponses,
867
- MissionsControllerRepriceMissionsErrors,
1164
+ return (options.client ?? _heyApiClient).post<
1165
+ FlightsControllerValidateFlight0V1Responses,
1166
+ FlightsControllerValidateFlight0V1Errors,
868
1167
  ThrowOnError
869
1168
  >({
870
1169
  security: [
@@ -873,7 +1172,8 @@ export const missionsControllerRepriceMissions = <
873
1172
  type: "apiKey",
874
1173
  },
875
1174
  ],
876
- url: "/missions/amounts",
1175
+ responseTransformer: flightsControllerValidateFlight0V1ResponseTransformer,
1176
+ url: "/v1/flights",
877
1177
  ...options,
878
1178
  headers: {
879
1179
  "Content-Type": "application/json",
@@ -883,17 +1183,16 @@ export const missionsControllerRepriceMissions = <
883
1183
  };
884
1184
 
885
1185
  /**
886
- * Close a mission
887
- * Close a mission by publishing a FlightReviewed event for the specified flight ID
1186
+ * @deprecated
888
1187
  */
889
- export const missionsControllerCloseMission = <
1188
+ export const flightsControllerValidateFlight1 = <
890
1189
  ThrowOnError extends boolean = false,
891
1190
  >(
892
- options: Options<MissionsControllerCloseMissionData, ThrowOnError>,
1191
+ options: Options<FlightsControllerValidateFlight1Data, ThrowOnError>,
893
1192
  ) => {
894
1193
  return (options.client ?? _heyApiClient).post<
895
- MissionsControllerCloseMissionResponses,
896
- MissionsControllerCloseMissionErrors,
1194
+ FlightsControllerValidateFlight1Responses,
1195
+ FlightsControllerValidateFlight1Errors,
897
1196
  ThrowOnError
898
1197
  >({
899
1198
  security: [
@@ -902,7 +1201,8 @@ export const missionsControllerCloseMission = <
902
1201
  type: "apiKey",
903
1202
  },
904
1203
  ],
905
- url: "/missions/{id}/close",
1204
+ responseTransformer: flightsControllerValidateFlight1ResponseTransformer,
1205
+ url: "/flights",
906
1206
  ...options,
907
1207
  headers: {
908
1208
  "Content-Type": "application/json",
@@ -911,14 +1211,18 @@ export const missionsControllerCloseMission = <
911
1211
  });
912
1212
  };
913
1213
 
914
- export const quotesControllerCreateQuote = <
1214
+ /**
1215
+ * Get all flight plans
1216
+ * Returns all available flight plan templates. These define capture patterns (map, panorama) that can be used for drone missions.
1217
+ */
1218
+ export const flightPlansControllerGetMany0V1 = <
915
1219
  ThrowOnError extends boolean = false,
916
1220
  >(
917
- options: Options<QuotesControllerCreateQuoteData, ThrowOnError>,
1221
+ options?: Options<FlightPlansControllerGetMany0V1Data, ThrowOnError>,
918
1222
  ) => {
919
- return (options.client ?? _heyApiClient).post<
920
- QuotesControllerCreateQuoteResponses,
921
- QuotesControllerCreateQuoteErrors,
1223
+ return (options?.client ?? _heyApiClient).get<
1224
+ FlightPlansControllerGetMany0V1Responses,
1225
+ FlightPlansControllerGetMany0V1Errors,
922
1226
  ThrowOnError
923
1227
  >({
924
1228
  security: [
@@ -927,21 +1231,24 @@ export const quotesControllerCreateQuote = <
927
1231
  type: "apiKey",
928
1232
  },
929
1233
  ],
930
- url: "/quotes",
1234
+ responseTransformer: flightPlansControllerGetMany0V1ResponseTransformer,
1235
+ url: "/v1/flight-plans",
931
1236
  ...options,
932
- headers: {
933
- "Content-Type": "application/json",
934
- ...options.headers,
935
- },
936
1237
  });
937
1238
  };
938
1239
 
939
- export const quotesControllerGetQuote = <ThrowOnError extends boolean = false>(
940
- options: Options<QuotesControllerGetQuoteData, ThrowOnError>,
1240
+ /**
1241
+ * Create a new flight plan
1242
+ * Creates a new flight plan template with sections and connection strategy.
1243
+ */
1244
+ export const flightPlansControllerCreate0V1 = <
1245
+ ThrowOnError extends boolean = false,
1246
+ >(
1247
+ options: Options<FlightPlansControllerCreate0V1Data, ThrowOnError>,
941
1248
  ) => {
942
- return (options.client ?? _heyApiClient).get<
943
- QuotesControllerGetQuoteResponses,
944
- QuotesControllerGetQuoteErrors,
1249
+ return (options.client ?? _heyApiClient).post<
1250
+ FlightPlansControllerCreate0V1Responses,
1251
+ FlightPlansControllerCreate0V1Errors,
945
1252
  ThrowOnError
946
1253
  >({
947
1254
  security: [
@@ -950,40 +1257,56 @@ export const quotesControllerGetQuote = <ThrowOnError extends boolean = false>(
950
1257
  type: "apiKey",
951
1258
  },
952
1259
  ],
953
- url: "/quotes/{id}",
1260
+ responseTransformer: flightPlansControllerCreate0V1ResponseTransformer,
1261
+ url: "/v1/flight-plans",
954
1262
  ...options,
1263
+ headers: {
1264
+ "Content-Type": "application/json",
1265
+ ...options.headers,
1266
+ },
955
1267
  });
956
1268
  };
957
1269
 
958
- export const schemaControllerGetEventSchema = <
1270
+ /**
1271
+ * Get all flight plans
1272
+ * Returns all available flight plan templates. These define capture patterns (map, panorama) that can be used for drone missions.
1273
+ * @deprecated
1274
+ */
1275
+ export const flightPlansControllerGetMany1 = <
959
1276
  ThrowOnError extends boolean = false,
960
1277
  >(
961
- options?: Options<SchemaControllerGetEventSchemaData, ThrowOnError>,
1278
+ options?: Options<FlightPlansControllerGetMany1Data, ThrowOnError>,
962
1279
  ) => {
963
1280
  return (options?.client ?? _heyApiClient).get<
964
- SchemaControllerGetEventSchemaResponses,
965
- unknown,
1281
+ FlightPlansControllerGetMany1Responses,
1282
+ FlightPlansControllerGetMany1Errors,
966
1283
  ThrowOnError
967
1284
  >({
968
- url: "/schema/event",
1285
+ security: [
1286
+ {
1287
+ name: "x-api-token",
1288
+ type: "apiKey",
1289
+ },
1290
+ ],
1291
+ responseTransformer: flightPlansControllerGetMany1ResponseTransformer,
1292
+ url: "/flight-plans",
969
1293
  ...options,
970
1294
  });
971
1295
  };
972
1296
 
973
1297
  /**
974
- * Create new vault requests
975
- * Create vault requests and publish to the internal.vault.requested queue.
976
- * Accepts a list of vaults with optional vaultId.
977
- * Api is meant for internal use to add data on chain manually.
1298
+ * Create a new flight plan
1299
+ * Creates a new flight plan template with sections and connection strategy.
1300
+ * @deprecated
978
1301
  */
979
- export const vaultsControllerCreateVaults = <
1302
+ export const flightPlansControllerCreate1 = <
980
1303
  ThrowOnError extends boolean = false,
981
1304
  >(
982
- options: Options<VaultsControllerCreateVaultsData, ThrowOnError>,
1305
+ options: Options<FlightPlansControllerCreate1Data, ThrowOnError>,
983
1306
  ) => {
984
1307
  return (options.client ?? _heyApiClient).post<
985
- VaultsControllerCreateVaultsResponses,
986
- VaultsControllerCreateVaultsErrors,
1308
+ FlightPlansControllerCreate1Responses,
1309
+ FlightPlansControllerCreate1Errors,
987
1310
  ThrowOnError
988
1311
  >({
989
1312
  security: [
@@ -991,12 +1314,9 @@ export const vaultsControllerCreateVaults = <
991
1314
  name: "x-api-token",
992
1315
  type: "apiKey",
993
1316
  },
994
- {
995
- name: "x-api-token",
996
- type: "apiKey",
997
- },
998
1317
  ],
999
- url: "/vaults",
1318
+ responseTransformer: flightPlansControllerCreate1ResponseTransformer,
1319
+ url: "/flight-plans",
1000
1320
  ...options,
1001
1321
  headers: {
1002
1322
  "Content-Type": "application/json",
@@ -1005,12 +1325,18 @@ export const vaultsControllerCreateVaults = <
1005
1325
  });
1006
1326
  };
1007
1327
 
1008
- export const webhooksControllerGetMany = <ThrowOnError extends boolean = false>(
1009
- options: Options<WebhooksControllerGetManyData, ThrowOnError>,
1328
+ /**
1329
+ * Get a flight plan by ID
1330
+ * Returns a single flight plan template by its ID.
1331
+ */
1332
+ export const flightPlansControllerGet0V1 = <
1333
+ ThrowOnError extends boolean = false,
1334
+ >(
1335
+ options: Options<FlightPlansControllerGet0V1Data, ThrowOnError>,
1010
1336
  ) => {
1011
1337
  return (options.client ?? _heyApiClient).get<
1012
- WebhooksControllerGetManyResponses,
1013
- WebhooksControllerGetManyErrors,
1338
+ FlightPlansControllerGet0V1Responses,
1339
+ FlightPlansControllerGet0V1Errors,
1014
1340
  ThrowOnError
1015
1341
  >({
1016
1342
  security: [
@@ -1019,18 +1345,23 @@ export const webhooksControllerGetMany = <ThrowOnError extends boolean = false>(
1019
1345
  type: "apiKey",
1020
1346
  },
1021
1347
  ],
1022
- responseTransformer: webhooksControllerGetManyResponseTransformer,
1023
- url: "/org/{org_id}/webhooks",
1348
+ responseTransformer: flightPlansControllerGet0V1ResponseTransformer,
1349
+ url: "/v1/flight-plans/{id}",
1024
1350
  ...options,
1025
1351
  });
1026
1352
  };
1027
1353
 
1028
- export const webhooksControllerCreate = <ThrowOnError extends boolean = false>(
1029
- options: Options<WebhooksControllerCreateData, ThrowOnError>,
1354
+ /**
1355
+ * Get a flight plan by ID
1356
+ * Returns a single flight plan template by its ID.
1357
+ * @deprecated
1358
+ */
1359
+ export const flightPlansControllerGet1 = <ThrowOnError extends boolean = false>(
1360
+ options: Options<FlightPlansControllerGet1Data, ThrowOnError>,
1030
1361
  ) => {
1031
- return (options.client ?? _heyApiClient).post<
1032
- WebhooksControllerCreateResponses,
1033
- WebhooksControllerCreateErrors,
1362
+ return (options.client ?? _heyApiClient).get<
1363
+ FlightPlansControllerGet1Responses,
1364
+ FlightPlansControllerGet1Errors,
1034
1365
  ThrowOnError
1035
1366
  >({
1036
1367
  security: [
@@ -1039,21 +1370,23 @@ export const webhooksControllerCreate = <ThrowOnError extends boolean = false>(
1039
1370
  type: "apiKey",
1040
1371
  },
1041
1372
  ],
1042
- url: "/org/{org_id}/webhooks",
1373
+ responseTransformer: flightPlansControllerGet1ResponseTransformer,
1374
+ url: "/flight-plans/{id}",
1043
1375
  ...options,
1044
- headers: {
1045
- "Content-Type": "application/json",
1046
- ...options.headers,
1047
- },
1048
1376
  });
1049
1377
  };
1050
1378
 
1051
- export const webhooksControllerDelete = <ThrowOnError extends boolean = false>(
1052
- options: Options<WebhooksControllerDeleteData, ThrowOnError>,
1379
+ /**
1380
+ * Get a flight review by ID
1381
+ */
1382
+ export const flightReviewsControllerGetFlightReview0V1 = <
1383
+ ThrowOnError extends boolean = false,
1384
+ >(
1385
+ options: Options<FlightReviewsControllerGetFlightReview0V1Data, ThrowOnError>,
1053
1386
  ) => {
1054
- return (options.client ?? _heyApiClient).delete<
1055
- WebhooksControllerDeleteResponses,
1056
- WebhooksControllerDeleteErrors,
1387
+ return (options.client ?? _heyApiClient).get<
1388
+ FlightReviewsControllerGetFlightReview0V1Responses,
1389
+ FlightReviewsControllerGetFlightReview0V1Errors,
1057
1390
  ThrowOnError
1058
1391
  >({
1059
1392
  security: [
@@ -1062,17 +1395,25 @@ export const webhooksControllerDelete = <ThrowOnError extends boolean = false>(
1062
1395
  type: "apiKey",
1063
1396
  },
1064
1397
  ],
1065
- url: "/org/{org_id}/webhooks/{id}",
1398
+ responseTransformer:
1399
+ flightReviewsControllerGetFlightReview0V1ResponseTransformer,
1400
+ url: "/v1/flight-reviews/{id}",
1066
1401
  ...options,
1067
1402
  });
1068
1403
  };
1069
1404
 
1070
- export const webhooksControllerGet = <ThrowOnError extends boolean = false>(
1071
- options: Options<WebhooksControllerGetData, ThrowOnError>,
1405
+ /**
1406
+ * Get a flight review by ID
1407
+ * @deprecated
1408
+ */
1409
+ export const flightReviewsControllerGetFlightReview1 = <
1410
+ ThrowOnError extends boolean = false,
1411
+ >(
1412
+ options: Options<FlightReviewsControllerGetFlightReview1Data, ThrowOnError>,
1072
1413
  ) => {
1073
1414
  return (options.client ?? _heyApiClient).get<
1074
- WebhooksControllerGetResponses,
1075
- WebhooksControllerGetErrors,
1415
+ FlightReviewsControllerGetFlightReview1Responses,
1416
+ FlightReviewsControllerGetFlightReview1Errors,
1076
1417
  ThrowOnError
1077
1418
  >({
1078
1419
  security: [
@@ -1081,18 +1422,27 @@ export const webhooksControllerGet = <ThrowOnError extends boolean = false>(
1081
1422
  type: "apiKey",
1082
1423
  },
1083
1424
  ],
1084
- responseTransformer: webhooksControllerGetResponseTransformer,
1085
- url: "/org/{org_id}/webhooks/{id}",
1425
+ responseTransformer:
1426
+ flightReviewsControllerGetFlightReview1ResponseTransformer,
1427
+ url: "/flight-reviews/{id}",
1086
1428
  ...options,
1087
1429
  });
1088
1430
  };
1089
1431
 
1090
- export const webhooksControllerUpdate = <ThrowOnError extends boolean = false>(
1091
- options: Options<WebhooksControllerUpdateData, ThrowOnError>,
1432
+ /**
1433
+ * Get flight reviews by updated_at time range
1434
+ */
1435
+ export const flightReviewsControllerGetFlightReviews0V1 = <
1436
+ ThrowOnError extends boolean = false,
1437
+ >(
1438
+ options: Options<
1439
+ FlightReviewsControllerGetFlightReviews0V1Data,
1440
+ ThrowOnError
1441
+ >,
1092
1442
  ) => {
1093
- return (options.client ?? _heyApiClient).put<
1094
- WebhooksControllerUpdateResponses,
1095
- WebhooksControllerUpdateErrors,
1443
+ return (options.client ?? _heyApiClient).get<
1444
+ FlightReviewsControllerGetFlightReviews0V1Responses,
1445
+ FlightReviewsControllerGetFlightReviews0V1Errors,
1096
1446
  ThrowOnError
1097
1447
  >({
1098
1448
  security: [
@@ -1101,24 +1451,25 @@ export const webhooksControllerUpdate = <ThrowOnError extends boolean = false>(
1101
1451
  type: "apiKey",
1102
1452
  },
1103
1453
  ],
1104
- responseTransformer: webhooksControllerUpdateResponseTransformer,
1105
- url: "/org/{org_id}/webhooks/{id}",
1454
+ responseTransformer:
1455
+ flightReviewsControllerGetFlightReviews0V1ResponseTransformer,
1456
+ url: "/v1/flight-reviews",
1106
1457
  ...options,
1107
- headers: {
1108
- "Content-Type": "application/json",
1109
- ...options.headers,
1110
- },
1111
1458
  });
1112
1459
  };
1113
1460
 
1114
- export const webhooksControllerRegenerateSecret = <
1461
+ /**
1462
+ * Get flight reviews by updated_at time range
1463
+ * @deprecated
1464
+ */
1465
+ export const flightReviewsControllerGetFlightReviews1 = <
1115
1466
  ThrowOnError extends boolean = false,
1116
1467
  >(
1117
- options: Options<WebhooksControllerRegenerateSecretData, ThrowOnError>,
1468
+ options: Options<FlightReviewsControllerGetFlightReviews1Data, ThrowOnError>,
1118
1469
  ) => {
1119
- return (options.client ?? _heyApiClient).post<
1120
- WebhooksControllerRegenerateSecretResponses,
1121
- WebhooksControllerRegenerateSecretErrors,
1470
+ return (options.client ?? _heyApiClient).get<
1471
+ FlightReviewsControllerGetFlightReviews1Responses,
1472
+ FlightReviewsControllerGetFlightReviews1Errors,
1122
1473
  ThrowOnError
1123
1474
  >({
1124
1475
  security: [
@@ -1127,22 +1478,57 @@ export const webhooksControllerRegenerateSecret = <
1127
1478
  type: "apiKey",
1128
1479
  },
1129
1480
  ],
1130
- responseTransformer: webhooksControllerRegenerateSecretResponseTransformer,
1131
- url: "/org/{org_id}/webhooks/{id}/regenerate-secret",
1481
+ responseTransformer:
1482
+ flightReviewsControllerGetFlightReviews1ResponseTransformer,
1483
+ url: "/flight-reviews",
1132
1484
  ...options,
1133
- headers: {
1134
- "Content-Type": "application/json",
1135
- ...options.headers,
1136
- },
1137
1485
  });
1138
1486
  };
1139
1487
 
1140
- export const webhooksControllerTest = <ThrowOnError extends boolean = false>(
1141
- options: Options<WebhooksControllerTestData, ThrowOnError>,
1488
+ export const keysControllerGetProvenanceCryptoKey0V1 = <
1489
+ ThrowOnError extends boolean = false,
1490
+ >(
1491
+ options?: Options<KeysControllerGetProvenanceCryptoKey0V1Data, ThrowOnError>,
1142
1492
  ) => {
1143
- return (options.client ?? _heyApiClient).post<
1144
- WebhooksControllerTestResponses,
1145
- WebhooksControllerTestErrors,
1493
+ return (options?.client ?? _heyApiClient).get<
1494
+ KeysControllerGetProvenanceCryptoKey0V1Responses,
1495
+ unknown,
1496
+ ThrowOnError
1497
+ >({
1498
+ url: "/v1/keys",
1499
+ ...options,
1500
+ });
1501
+ };
1502
+
1503
+ /**
1504
+ * @deprecated
1505
+ */
1506
+ export const keysControllerGetProvenanceCryptoKey1 = <
1507
+ ThrowOnError extends boolean = false,
1508
+ >(
1509
+ options?: Options<KeysControllerGetProvenanceCryptoKey1Data, ThrowOnError>,
1510
+ ) => {
1511
+ return (options?.client ?? _heyApiClient).get<
1512
+ KeysControllerGetProvenanceCryptoKey1Responses,
1513
+ unknown,
1514
+ ThrowOnError
1515
+ >({
1516
+ url: "/keys",
1517
+ ...options,
1518
+ });
1519
+ };
1520
+
1521
+ /**
1522
+ * Get a mission by ID
1523
+ */
1524
+ export const missionsControllerGetMission0V1 = <
1525
+ ThrowOnError extends boolean = false,
1526
+ >(
1527
+ options: Options<MissionsControllerGetMission0V1Data, ThrowOnError>,
1528
+ ) => {
1529
+ return (options.client ?? _heyApiClient).get<
1530
+ MissionsControllerGetMission0V1Responses,
1531
+ MissionsControllerGetMission0V1Errors,
1146
1532
  ThrowOnError
1147
1533
  >({
1148
1534
  security: [
@@ -1151,19 +1537,24 @@ export const webhooksControllerTest = <ThrowOnError extends boolean = false>(
1151
1537
  type: "apiKey",
1152
1538
  },
1153
1539
  ],
1154
- url: "/org/{org_id}/webhooks/{id}/test",
1540
+ responseTransformer: missionsControllerGetMission0V1ResponseTransformer,
1541
+ url: "/v1/missions/{id}",
1155
1542
  ...options,
1156
1543
  });
1157
1544
  };
1158
1545
 
1159
- export const webhooksControllerGetStatus = <
1546
+ /**
1547
+ * Get a mission by ID
1548
+ * @deprecated
1549
+ */
1550
+ export const missionsControllerGetMission1 = <
1160
1551
  ThrowOnError extends boolean = false,
1161
1552
  >(
1162
- options: Options<WebhooksControllerGetStatusData, ThrowOnError>,
1553
+ options: Options<MissionsControllerGetMission1Data, ThrowOnError>,
1163
1554
  ) => {
1164
1555
  return (options.client ?? _heyApiClient).get<
1165
- WebhooksControllerGetStatusResponses,
1166
- WebhooksControllerGetStatusErrors,
1556
+ MissionsControllerGetMission1Responses,
1557
+ MissionsControllerGetMission1Errors,
1167
1558
  ThrowOnError
1168
1559
  >({
1169
1560
  security: [
@@ -1172,20 +1563,24 @@ export const webhooksControllerGetStatus = <
1172
1563
  type: "apiKey",
1173
1564
  },
1174
1565
  ],
1175
- url: "/org/{org_id}/webhooks/{id}/status",
1566
+ responseTransformer: missionsControllerGetMission1ResponseTransformer,
1567
+ url: "/missions/{id}",
1176
1568
  ...options,
1177
1569
  });
1178
1570
  };
1179
1571
 
1180
1572
  /**
1181
- * Create a zone
1573
+ * Get missions
1574
+ * 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.
1182
1575
  */
1183
- export const zonesControllerCreateZone = <ThrowOnError extends boolean = false>(
1184
- options: Options<ZonesControllerCreateZoneData, ThrowOnError>,
1576
+ export const missionsControllerGetMissions0V1 = <
1577
+ ThrowOnError extends boolean = false,
1578
+ >(
1579
+ options?: Options<MissionsControllerGetMissions0V1Data, ThrowOnError>,
1185
1580
  ) => {
1186
- return (options.client ?? _heyApiClient).post<
1187
- ZonesControllerCreateZoneResponses,
1188
- ZonesControllerCreateZoneErrors,
1581
+ return (options?.client ?? _heyApiClient).get<
1582
+ MissionsControllerGetMissions0V1Responses,
1583
+ MissionsControllerGetMissions0V1Errors,
1189
1584
  ThrowOnError
1190
1585
  >({
1191
1586
  security: [
@@ -1194,25 +1589,24 @@ export const zonesControllerCreateZone = <ThrowOnError extends boolean = false>(
1194
1589
  type: "apiKey",
1195
1590
  },
1196
1591
  ],
1197
- responseTransformer: zonesControllerCreateZoneResponseTransformer,
1198
- url: "/zones",
1592
+ responseTransformer: missionsControllerGetMissions0V1ResponseTransformer,
1593
+ url: "/v1/missions",
1199
1594
  ...options,
1200
- headers: {
1201
- "Content-Type": "application/json",
1202
- ...options.headers,
1203
- },
1204
1595
  });
1205
1596
  };
1206
1597
 
1207
1598
  /**
1208
- * Delete a zone
1599
+ * Create new missions
1600
+ * Create missions for specified zones and mission types.
1209
1601
  */
1210
- export const zonesControllerDeleteZone = <ThrowOnError extends boolean = false>(
1211
- options: Options<ZonesControllerDeleteZoneData, ThrowOnError>,
1602
+ export const missionsControllerCreateMissions0V1 = <
1603
+ ThrowOnError extends boolean = false,
1604
+ >(
1605
+ options: Options<MissionsControllerCreateMissions0V1Data, ThrowOnError>,
1212
1606
  ) => {
1213
- return (options.client ?? _heyApiClient).delete<
1214
- ZonesControllerDeleteZoneResponses,
1215
- ZonesControllerDeleteZoneErrors,
1607
+ return (options.client ?? _heyApiClient).post<
1608
+ MissionsControllerCreateMissions0V1Responses,
1609
+ MissionsControllerCreateMissions0V1Errors,
1216
1610
  ThrowOnError
1217
1611
  >({
1218
1612
  security: [
@@ -1221,20 +1615,28 @@ export const zonesControllerDeleteZone = <ThrowOnError extends boolean = false>(
1221
1615
  type: "apiKey",
1222
1616
  },
1223
1617
  ],
1224
- url: "/zones/{id}",
1618
+ responseTransformer: missionsControllerCreateMissions0V1ResponseTransformer,
1619
+ url: "/v1/missions",
1225
1620
  ...options,
1621
+ headers: {
1622
+ "Content-Type": "application/json",
1623
+ ...options.headers,
1624
+ },
1226
1625
  });
1227
1626
  };
1228
1627
 
1229
1628
  /**
1230
- * Update a zone
1629
+ * Update missions
1630
+ * Update missions' rewards or cancel them altogether
1231
1631
  */
1232
- export const zonesControllerUpdateZone = <ThrowOnError extends boolean = false>(
1233
- options: Options<ZonesControllerUpdateZoneData, ThrowOnError>,
1632
+ export const missionsControllerUpdateMissions0V1 = <
1633
+ ThrowOnError extends boolean = false,
1634
+ >(
1635
+ options: Options<MissionsControllerUpdateMissions0V1Data, ThrowOnError>,
1234
1636
  ) => {
1235
1637
  return (options.client ?? _heyApiClient).put<
1236
- ZonesControllerUpdateZoneResponses,
1237
- ZonesControllerUpdateZoneErrors,
1638
+ MissionsControllerUpdateMissions0V1Responses,
1639
+ MissionsControllerUpdateMissions0V1Errors,
1238
1640
  ThrowOnError
1239
1641
  >({
1240
1642
  security: [
@@ -1243,8 +1645,7 @@ export const zonesControllerUpdateZone = <ThrowOnError extends boolean = false>(
1243
1645
  type: "apiKey",
1244
1646
  },
1245
1647
  ],
1246
- responseTransformer: zonesControllerUpdateZoneResponseTransformer,
1247
- url: "/zones/{id}",
1648
+ url: "/v1/missions",
1248
1649
  ...options,
1249
1650
  headers: {
1250
1651
  "Content-Type": "application/json",
@@ -1254,20 +1655,18 @@ export const zonesControllerUpdateZone = <ThrowOnError extends boolean = false>(
1254
1655
  };
1255
1656
 
1256
1657
  /**
1257
- * Force mission state resync from RPC
1258
- * For each mission ID, reads MissionData + MissionEscrow on-chain, loads off-chain JSON from the missions bucket, and upserts event-proc.vaults / missions / campaigns.
1658
+ * Get missions
1659
+ * 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.
1660
+ * @deprecated
1259
1661
  */
1260
- export const eventProcessorMissionsSyncControllerResyncMissions = <
1662
+ export const missionsControllerGetMissions1 = <
1261
1663
  ThrowOnError extends boolean = false,
1262
1664
  >(
1263
- options: Options<
1264
- EventProcessorMissionsSyncControllerResyncMissionsData,
1265
- ThrowOnError
1266
- >,
1665
+ options?: Options<MissionsControllerGetMissions1Data, ThrowOnError>,
1267
1666
  ) => {
1268
- return (options.client ?? _heyApiClient).put<
1269
- EventProcessorMissionsSyncControllerResyncMissionsResponses,
1270
- EventProcessorMissionsSyncControllerResyncMissionsErrors,
1667
+ return (options?.client ?? _heyApiClient).get<
1668
+ MissionsControllerGetMissions1Responses,
1669
+ MissionsControllerGetMissions1Errors,
1271
1670
  ThrowOnError
1272
1671
  >({
1273
1672
  security: [
@@ -1276,30 +1675,25 @@ export const eventProcessorMissionsSyncControllerResyncMissions = <
1276
1675
  type: "apiKey",
1277
1676
  },
1278
1677
  ],
1279
- url: "/event-processor/missions/sync",
1678
+ responseTransformer: missionsControllerGetMissions1ResponseTransformer,
1679
+ url: "/missions",
1280
1680
  ...options,
1281
- headers: {
1282
- "Content-Type": "application/json",
1283
- ...options.headers,
1284
- },
1285
1681
  });
1286
1682
  };
1287
1683
 
1288
1684
  /**
1289
- * Force flight review state resync from RPC
1290
- * 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.
1685
+ * Create new missions
1686
+ * Create missions for specified zones and mission types.
1687
+ * @deprecated
1291
1688
  */
1292
- export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews = <
1689
+ export const missionsControllerCreateMissions1 = <
1293
1690
  ThrowOnError extends boolean = false,
1294
1691
  >(
1295
- options: Options<
1296
- EventProcessorFlightReviewsSyncControllerResyncFlightReviewsData,
1297
- ThrowOnError
1298
- >,
1692
+ options: Options<MissionsControllerCreateMissions1Data, ThrowOnError>,
1299
1693
  ) => {
1300
- return (options.client ?? _heyApiClient).put<
1301
- EventProcessorFlightReviewsSyncControllerResyncFlightReviewsResponses,
1302
- EventProcessorFlightReviewsSyncControllerResyncFlightReviewsErrors,
1694
+ return (options.client ?? _heyApiClient).post<
1695
+ MissionsControllerCreateMissions1Responses,
1696
+ MissionsControllerCreateMissions1Errors,
1303
1697
  ThrowOnError
1304
1698
  >({
1305
1699
  security: [
@@ -1308,7 +1702,8 @@ export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews = <
1308
1702
  type: "apiKey",
1309
1703
  },
1310
1704
  ],
1311
- url: "/event-processor/flightreviews",
1705
+ responseTransformer: missionsControllerCreateMissions1ResponseTransformer,
1706
+ url: "/missions",
1312
1707
  ...options,
1313
1708
  headers: {
1314
1709
  "Content-Type": "application/json",
@@ -1317,17 +1712,28 @@ export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews = <
1317
1712
  });
1318
1713
  };
1319
1714
 
1320
- export const alchemyControllerHandleWebhook = <
1715
+ /**
1716
+ * Update missions
1717
+ * Update missions' rewards or cancel them altogether
1718
+ * @deprecated
1719
+ */
1720
+ export const missionsControllerUpdateMissions1 = <
1321
1721
  ThrowOnError extends boolean = false,
1322
1722
  >(
1323
- options: Options<AlchemyControllerHandleWebhookData, ThrowOnError>,
1723
+ options: Options<MissionsControllerUpdateMissions1Data, ThrowOnError>,
1324
1724
  ) => {
1325
- return (options.client ?? _heyApiClient).post<
1326
- AlchemyControllerHandleWebhookResponses,
1327
- unknown,
1725
+ return (options.client ?? _heyApiClient).put<
1726
+ MissionsControllerUpdateMissions1Responses,
1727
+ MissionsControllerUpdateMissions1Errors,
1328
1728
  ThrowOnError
1329
1729
  >({
1330
- url: "/webhooks/inbound/alchemy",
1730
+ security: [
1731
+ {
1732
+ name: "x-api-token",
1733
+ type: "apiKey",
1734
+ },
1735
+ ],
1736
+ url: "/missions",
1331
1737
  ...options,
1332
1738
  headers: {
1333
1739
  "Content-Type": "application/json",
@@ -1337,16 +1743,17 @@ export const alchemyControllerHandleWebhook = <
1337
1743
  };
1338
1744
 
1339
1745
  /**
1340
- * Get all inbound webhook configs
1746
+ * Reprice missions
1747
+ * Apply a scale factor to all open missions' vault amounts
1341
1748
  */
1342
- export const inboundWebhookConfigsControllerGetMany = <
1749
+ export const missionsControllerRepriceMissions0V1 = <
1343
1750
  ThrowOnError extends boolean = false,
1344
1751
  >(
1345
- options?: Options<InboundWebhookConfigsControllerGetManyData, ThrowOnError>,
1752
+ options: Options<MissionsControllerRepriceMissions0V1Data, ThrowOnError>,
1346
1753
  ) => {
1347
- return (options?.client ?? _heyApiClient).get<
1348
- InboundWebhookConfigsControllerGetManyResponses,
1349
- InboundWebhookConfigsControllerGetManyErrors,
1754
+ return (options.client ?? _heyApiClient).put<
1755
+ MissionsControllerRepriceMissions0V1Responses,
1756
+ MissionsControllerRepriceMissions0V1Errors,
1350
1757
  ThrowOnError
1351
1758
  >({
1352
1759
  security: [
@@ -1355,27 +1762,28 @@ export const inboundWebhookConfigsControllerGetMany = <
1355
1762
  type: "apiKey",
1356
1763
  },
1357
1764
  ],
1358
- responseTransformer:
1359
- inboundWebhookConfigsControllerGetManyResponseTransformer,
1360
- url: "/webhooks/inbound/configs",
1765
+ url: "/v1/missions/amounts",
1361
1766
  ...options,
1767
+ headers: {
1768
+ "Content-Type": "application/json",
1769
+ ...options.headers,
1770
+ },
1362
1771
  });
1363
1772
  };
1364
1773
 
1365
1774
  /**
1366
- * Add a configuration for an inbound webhook
1367
- * The config added here helps the api process the webhook events received
1368
- * by the /webhooks/inbound/alchemy endpoint.
1369
- * [Detailed Instructions](https://github.com/spexigeo/layer-drone/blob/main/apps/protocol-api/src/modules/api/webhooks/inbound/alchemy/README.md)
1775
+ * Reprice missions
1776
+ * Apply a scale factor to all open missions' vault amounts
1777
+ * @deprecated
1370
1778
  */
1371
- export const inboundWebhookConfigsControllerCreate = <
1779
+ export const missionsControllerRepriceMissions1 = <
1372
1780
  ThrowOnError extends boolean = false,
1373
1781
  >(
1374
- options: Options<InboundWebhookConfigsControllerCreateData, ThrowOnError>,
1782
+ options: Options<MissionsControllerRepriceMissions1Data, ThrowOnError>,
1375
1783
  ) => {
1376
- return (options.client ?? _heyApiClient).post<
1377
- InboundWebhookConfigsControllerCreateResponses,
1378
- InboundWebhookConfigsControllerCreateErrors,
1784
+ return (options.client ?? _heyApiClient).put<
1785
+ MissionsControllerRepriceMissions1Responses,
1786
+ MissionsControllerRepriceMissions1Errors,
1379
1787
  ThrowOnError
1380
1788
  >({
1381
1789
  security: [
@@ -1384,9 +1792,1245 @@ export const inboundWebhookConfigsControllerCreate = <
1384
1792
  type: "apiKey",
1385
1793
  },
1386
1794
  ],
1387
- responseTransformer:
1388
- inboundWebhookConfigsControllerCreateResponseTransformer,
1389
- url: "/webhooks/inbound/configs",
1795
+ url: "/missions/amounts",
1796
+ ...options,
1797
+ headers: {
1798
+ "Content-Type": "application/json",
1799
+ ...options.headers,
1800
+ },
1801
+ });
1802
+ };
1803
+
1804
+ export const protocolTriggersApiControllerTriggerPayout0V1 = <
1805
+ ThrowOnError extends boolean = false,
1806
+ >(
1807
+ options: Options<
1808
+ ProtocolTriggersApiControllerTriggerPayout0V1Data,
1809
+ ThrowOnError
1810
+ >,
1811
+ ) => {
1812
+ return (options.client ?? _heyApiClient).post<
1813
+ ProtocolTriggersApiControllerTriggerPayout0V1Responses,
1814
+ ProtocolTriggersApiControllerTriggerPayout0V1Errors,
1815
+ ThrowOnError
1816
+ >({
1817
+ security: [
1818
+ {
1819
+ name: "x-api-token",
1820
+ type: "apiKey",
1821
+ },
1822
+ ],
1823
+ url: "/v1/protocol-triggers/missions/payout",
1824
+ ...options,
1825
+ headers: {
1826
+ "Content-Type": "application/json",
1827
+ ...options.headers,
1828
+ },
1829
+ });
1830
+ };
1831
+
1832
+ /**
1833
+ * @deprecated
1834
+ */
1835
+ export const protocolTriggersApiControllerTriggerPayout1 = <
1836
+ ThrowOnError extends boolean = false,
1837
+ >(
1838
+ options: Options<
1839
+ ProtocolTriggersApiControllerTriggerPayout1Data,
1840
+ ThrowOnError
1841
+ >,
1842
+ ) => {
1843
+ return (options.client ?? _heyApiClient).post<
1844
+ ProtocolTriggersApiControllerTriggerPayout1Responses,
1845
+ ProtocolTriggersApiControllerTriggerPayout1Errors,
1846
+ ThrowOnError
1847
+ >({
1848
+ security: [
1849
+ {
1850
+ name: "x-api-token",
1851
+ type: "apiKey",
1852
+ },
1853
+ ],
1854
+ url: "/protocol-triggers/missions/payout",
1855
+ ...options,
1856
+ headers: {
1857
+ "Content-Type": "application/json",
1858
+ ...options.headers,
1859
+ },
1860
+ });
1861
+ };
1862
+
1863
+ export const protocolTriggersApiControllerTriggerMissionClose0V1 = <
1864
+ ThrowOnError extends boolean = false,
1865
+ >(
1866
+ options: Options<
1867
+ ProtocolTriggersApiControllerTriggerMissionClose0V1Data,
1868
+ ThrowOnError
1869
+ >,
1870
+ ) => {
1871
+ return (options.client ?? _heyApiClient).post<
1872
+ ProtocolTriggersApiControllerTriggerMissionClose0V1Responses,
1873
+ ProtocolTriggersApiControllerTriggerMissionClose0V1Errors,
1874
+ ThrowOnError
1875
+ >({
1876
+ security: [
1877
+ {
1878
+ name: "x-api-token",
1879
+ type: "apiKey",
1880
+ },
1881
+ ],
1882
+ url: "/v1/protocol-triggers/missions/close",
1883
+ ...options,
1884
+ headers: {
1885
+ "Content-Type": "application/json",
1886
+ ...options.headers,
1887
+ },
1888
+ });
1889
+ };
1890
+
1891
+ /**
1892
+ * @deprecated
1893
+ */
1894
+ export const protocolTriggersApiControllerTriggerMissionClose1 = <
1895
+ ThrowOnError extends boolean = false,
1896
+ >(
1897
+ options: Options<
1898
+ ProtocolTriggersApiControllerTriggerMissionClose1Data,
1899
+ ThrowOnError
1900
+ >,
1901
+ ) => {
1902
+ return (options.client ?? _heyApiClient).post<
1903
+ ProtocolTriggersApiControllerTriggerMissionClose1Responses,
1904
+ ProtocolTriggersApiControllerTriggerMissionClose1Errors,
1905
+ ThrowOnError
1906
+ >({
1907
+ security: [
1908
+ {
1909
+ name: "x-api-token",
1910
+ type: "apiKey",
1911
+ },
1912
+ ],
1913
+ url: "/protocol-triggers/missions/close",
1914
+ ...options,
1915
+ headers: {
1916
+ "Content-Type": "application/json",
1917
+ ...options.headers,
1918
+ },
1919
+ });
1920
+ };
1921
+
1922
+ export const quotesControllerCreateQuote0V1 = <
1923
+ ThrowOnError extends boolean = false,
1924
+ >(
1925
+ options: Options<QuotesControllerCreateQuote0V1Data, ThrowOnError>,
1926
+ ) => {
1927
+ return (options.client ?? _heyApiClient).post<
1928
+ QuotesControllerCreateQuote0V1Responses,
1929
+ QuotesControllerCreateQuote0V1Errors,
1930
+ ThrowOnError
1931
+ >({
1932
+ security: [
1933
+ {
1934
+ name: "x-api-token",
1935
+ type: "apiKey",
1936
+ },
1937
+ ],
1938
+ url: "/v1/quotes",
1939
+ ...options,
1940
+ headers: {
1941
+ "Content-Type": "application/json",
1942
+ ...options.headers,
1943
+ },
1944
+ });
1945
+ };
1946
+
1947
+ /**
1948
+ * @deprecated
1949
+ */
1950
+ export const quotesControllerCreateQuote1 = <
1951
+ ThrowOnError extends boolean = false,
1952
+ >(
1953
+ options: Options<QuotesControllerCreateQuote1Data, ThrowOnError>,
1954
+ ) => {
1955
+ return (options.client ?? _heyApiClient).post<
1956
+ QuotesControllerCreateQuote1Responses,
1957
+ QuotesControllerCreateQuote1Errors,
1958
+ ThrowOnError
1959
+ >({
1960
+ security: [
1961
+ {
1962
+ name: "x-api-token",
1963
+ type: "apiKey",
1964
+ },
1965
+ ],
1966
+ url: "/quotes",
1967
+ ...options,
1968
+ headers: {
1969
+ "Content-Type": "application/json",
1970
+ ...options.headers,
1971
+ },
1972
+ });
1973
+ };
1974
+
1975
+ export const quotesControllerGetQuote0V1 = <
1976
+ ThrowOnError extends boolean = false,
1977
+ >(
1978
+ options: Options<QuotesControllerGetQuote0V1Data, ThrowOnError>,
1979
+ ) => {
1980
+ return (options.client ?? _heyApiClient).get<
1981
+ QuotesControllerGetQuote0V1Responses,
1982
+ QuotesControllerGetQuote0V1Errors,
1983
+ ThrowOnError
1984
+ >({
1985
+ security: [
1986
+ {
1987
+ name: "x-api-token",
1988
+ type: "apiKey",
1989
+ },
1990
+ ],
1991
+ url: "/v1/quotes/{id}",
1992
+ ...options,
1993
+ });
1994
+ };
1995
+
1996
+ /**
1997
+ * @deprecated
1998
+ */
1999
+ export const quotesControllerGetQuote1 = <ThrowOnError extends boolean = false>(
2000
+ options: Options<QuotesControllerGetQuote1Data, ThrowOnError>,
2001
+ ) => {
2002
+ return (options.client ?? _heyApiClient).get<
2003
+ QuotesControllerGetQuote1Responses,
2004
+ QuotesControllerGetQuote1Errors,
2005
+ ThrowOnError
2006
+ >({
2007
+ security: [
2008
+ {
2009
+ name: "x-api-token",
2010
+ type: "apiKey",
2011
+ },
2012
+ ],
2013
+ url: "/quotes/{id}",
2014
+ ...options,
2015
+ });
2016
+ };
2017
+
2018
+ export const schemaControllerGetEventSchema0V1 = <
2019
+ ThrowOnError extends boolean = false,
2020
+ >(
2021
+ options?: Options<SchemaControllerGetEventSchema0V1Data, ThrowOnError>,
2022
+ ) => {
2023
+ return (options?.client ?? _heyApiClient).get<
2024
+ SchemaControllerGetEventSchema0V1Responses,
2025
+ unknown,
2026
+ ThrowOnError
2027
+ >({
2028
+ url: "/v1/schema/event",
2029
+ ...options,
2030
+ });
2031
+ };
2032
+
2033
+ /**
2034
+ * @deprecated
2035
+ */
2036
+ export const schemaControllerGetEventSchema1 = <
2037
+ ThrowOnError extends boolean = false,
2038
+ >(
2039
+ options?: Options<SchemaControllerGetEventSchema1Data, ThrowOnError>,
2040
+ ) => {
2041
+ return (options?.client ?? _heyApiClient).get<
2042
+ SchemaControllerGetEventSchema1Responses,
2043
+ unknown,
2044
+ ThrowOnError
2045
+ >({
2046
+ url: "/schema/event",
2047
+ ...options,
2048
+ });
2049
+ };
2050
+
2051
+ /**
2052
+ * Create new vault requests
2053
+ * Create vault requests and publish to the internal.vault.requested queue.
2054
+ * Accepts a list of vaults with optional vaultId.
2055
+ * Api is meant for internal use to add data on chain manually.
2056
+ */
2057
+ export const vaultsControllerCreateVaults0V1 = <
2058
+ ThrowOnError extends boolean = false,
2059
+ >(
2060
+ options: Options<VaultsControllerCreateVaults0V1Data, ThrowOnError>,
2061
+ ) => {
2062
+ return (options.client ?? _heyApiClient).post<
2063
+ VaultsControllerCreateVaults0V1Responses,
2064
+ VaultsControllerCreateVaults0V1Errors,
2065
+ ThrowOnError
2066
+ >({
2067
+ security: [
2068
+ {
2069
+ name: "x-api-token",
2070
+ type: "apiKey",
2071
+ },
2072
+ {
2073
+ name: "x-api-token",
2074
+ type: "apiKey",
2075
+ },
2076
+ ],
2077
+ url: "/v1/vaults",
2078
+ ...options,
2079
+ headers: {
2080
+ "Content-Type": "application/json",
2081
+ ...options.headers,
2082
+ },
2083
+ });
2084
+ };
2085
+
2086
+ /**
2087
+ * Create new vault requests
2088
+ * Create vault requests and publish to the internal.vault.requested queue.
2089
+ * Accepts a list of vaults with optional vaultId.
2090
+ * Api is meant for internal use to add data on chain manually.
2091
+ * @deprecated
2092
+ */
2093
+ export const vaultsControllerCreateVaults1 = <
2094
+ ThrowOnError extends boolean = false,
2095
+ >(
2096
+ options: Options<VaultsControllerCreateVaults1Data, ThrowOnError>,
2097
+ ) => {
2098
+ return (options.client ?? _heyApiClient).post<
2099
+ VaultsControllerCreateVaults1Responses,
2100
+ VaultsControllerCreateVaults1Errors,
2101
+ ThrowOnError
2102
+ >({
2103
+ security: [
2104
+ {
2105
+ name: "x-api-token",
2106
+ type: "apiKey",
2107
+ },
2108
+ {
2109
+ name: "x-api-token",
2110
+ type: "apiKey",
2111
+ },
2112
+ ],
2113
+ url: "/vaults",
2114
+ ...options,
2115
+ headers: {
2116
+ "Content-Type": "application/json",
2117
+ ...options.headers,
2118
+ },
2119
+ });
2120
+ };
2121
+
2122
+ export const webhooksControllerGetMany0V1 = <
2123
+ ThrowOnError extends boolean = false,
2124
+ >(
2125
+ options: Options<WebhooksControllerGetMany0V1Data, ThrowOnError>,
2126
+ ) => {
2127
+ return (options.client ?? _heyApiClient).get<
2128
+ WebhooksControllerGetMany0V1Responses,
2129
+ WebhooksControllerGetMany0V1Errors,
2130
+ ThrowOnError
2131
+ >({
2132
+ security: [
2133
+ {
2134
+ name: "x-api-token",
2135
+ type: "apiKey",
2136
+ },
2137
+ ],
2138
+ responseTransformer: webhooksControllerGetMany0V1ResponseTransformer,
2139
+ url: "/v1/org/{org_id}/webhooks",
2140
+ ...options,
2141
+ });
2142
+ };
2143
+
2144
+ export const webhooksControllerCreate0V1 = <
2145
+ ThrowOnError extends boolean = false,
2146
+ >(
2147
+ options: Options<WebhooksControllerCreate0V1Data, ThrowOnError>,
2148
+ ) => {
2149
+ return (options.client ?? _heyApiClient).post<
2150
+ WebhooksControllerCreate0V1Responses,
2151
+ WebhooksControllerCreate0V1Errors,
2152
+ ThrowOnError
2153
+ >({
2154
+ security: [
2155
+ {
2156
+ name: "x-api-token",
2157
+ type: "apiKey",
2158
+ },
2159
+ ],
2160
+ url: "/v1/org/{org_id}/webhooks",
2161
+ ...options,
2162
+ headers: {
2163
+ "Content-Type": "application/json",
2164
+ ...options.headers,
2165
+ },
2166
+ });
2167
+ };
2168
+
2169
+ /**
2170
+ * @deprecated
2171
+ */
2172
+ export const webhooksControllerGetMany1 = <
2173
+ ThrowOnError extends boolean = false,
2174
+ >(
2175
+ options: Options<WebhooksControllerGetMany1Data, ThrowOnError>,
2176
+ ) => {
2177
+ return (options.client ?? _heyApiClient).get<
2178
+ WebhooksControllerGetMany1Responses,
2179
+ WebhooksControllerGetMany1Errors,
2180
+ ThrowOnError
2181
+ >({
2182
+ security: [
2183
+ {
2184
+ name: "x-api-token",
2185
+ type: "apiKey",
2186
+ },
2187
+ ],
2188
+ responseTransformer: webhooksControllerGetMany1ResponseTransformer,
2189
+ url: "/org/{org_id}/webhooks",
2190
+ ...options,
2191
+ });
2192
+ };
2193
+
2194
+ /**
2195
+ * @deprecated
2196
+ */
2197
+ export const webhooksControllerCreate1 = <ThrowOnError extends boolean = false>(
2198
+ options: Options<WebhooksControllerCreate1Data, ThrowOnError>,
2199
+ ) => {
2200
+ return (options.client ?? _heyApiClient).post<
2201
+ WebhooksControllerCreate1Responses,
2202
+ WebhooksControllerCreate1Errors,
2203
+ ThrowOnError
2204
+ >({
2205
+ security: [
2206
+ {
2207
+ name: "x-api-token",
2208
+ type: "apiKey",
2209
+ },
2210
+ ],
2211
+ url: "/org/{org_id}/webhooks",
2212
+ ...options,
2213
+ headers: {
2214
+ "Content-Type": "application/json",
2215
+ ...options.headers,
2216
+ },
2217
+ });
2218
+ };
2219
+
2220
+ export const webhooksControllerDelete0V1 = <
2221
+ ThrowOnError extends boolean = false,
2222
+ >(
2223
+ options: Options<WebhooksControllerDelete0V1Data, ThrowOnError>,
2224
+ ) => {
2225
+ return (options.client ?? _heyApiClient).delete<
2226
+ WebhooksControllerDelete0V1Responses,
2227
+ WebhooksControllerDelete0V1Errors,
2228
+ ThrowOnError
2229
+ >({
2230
+ security: [
2231
+ {
2232
+ name: "x-api-token",
2233
+ type: "apiKey",
2234
+ },
2235
+ ],
2236
+ url: "/v1/org/{org_id}/webhooks/{id}",
2237
+ ...options,
2238
+ });
2239
+ };
2240
+
2241
+ export const webhooksControllerGet0V1 = <ThrowOnError extends boolean = false>(
2242
+ options: Options<WebhooksControllerGet0V1Data, ThrowOnError>,
2243
+ ) => {
2244
+ return (options.client ?? _heyApiClient).get<
2245
+ WebhooksControllerGet0V1Responses,
2246
+ WebhooksControllerGet0V1Errors,
2247
+ ThrowOnError
2248
+ >({
2249
+ security: [
2250
+ {
2251
+ name: "x-api-token",
2252
+ type: "apiKey",
2253
+ },
2254
+ ],
2255
+ responseTransformer: webhooksControllerGet0V1ResponseTransformer,
2256
+ url: "/v1/org/{org_id}/webhooks/{id}",
2257
+ ...options,
2258
+ });
2259
+ };
2260
+
2261
+ export const webhooksControllerUpdate0V1 = <
2262
+ ThrowOnError extends boolean = false,
2263
+ >(
2264
+ options: Options<WebhooksControllerUpdate0V1Data, ThrowOnError>,
2265
+ ) => {
2266
+ return (options.client ?? _heyApiClient).put<
2267
+ WebhooksControllerUpdate0V1Responses,
2268
+ WebhooksControllerUpdate0V1Errors,
2269
+ ThrowOnError
2270
+ >({
2271
+ security: [
2272
+ {
2273
+ name: "x-api-token",
2274
+ type: "apiKey",
2275
+ },
2276
+ ],
2277
+ responseTransformer: webhooksControllerUpdate0V1ResponseTransformer,
2278
+ url: "/v1/org/{org_id}/webhooks/{id}",
2279
+ ...options,
2280
+ headers: {
2281
+ "Content-Type": "application/json",
2282
+ ...options.headers,
2283
+ },
2284
+ });
2285
+ };
2286
+
2287
+ /**
2288
+ * @deprecated
2289
+ */
2290
+ export const webhooksControllerDelete1 = <ThrowOnError extends boolean = false>(
2291
+ options: Options<WebhooksControllerDelete1Data, ThrowOnError>,
2292
+ ) => {
2293
+ return (options.client ?? _heyApiClient).delete<
2294
+ WebhooksControllerDelete1Responses,
2295
+ WebhooksControllerDelete1Errors,
2296
+ ThrowOnError
2297
+ >({
2298
+ security: [
2299
+ {
2300
+ name: "x-api-token",
2301
+ type: "apiKey",
2302
+ },
2303
+ ],
2304
+ url: "/org/{org_id}/webhooks/{id}",
2305
+ ...options,
2306
+ });
2307
+ };
2308
+
2309
+ /**
2310
+ * @deprecated
2311
+ */
2312
+ export const webhooksControllerGet1 = <ThrowOnError extends boolean = false>(
2313
+ options: Options<WebhooksControllerGet1Data, ThrowOnError>,
2314
+ ) => {
2315
+ return (options.client ?? _heyApiClient).get<
2316
+ WebhooksControllerGet1Responses,
2317
+ WebhooksControllerGet1Errors,
2318
+ ThrowOnError
2319
+ >({
2320
+ security: [
2321
+ {
2322
+ name: "x-api-token",
2323
+ type: "apiKey",
2324
+ },
2325
+ ],
2326
+ responseTransformer: webhooksControllerGet1ResponseTransformer,
2327
+ url: "/org/{org_id}/webhooks/{id}",
2328
+ ...options,
2329
+ });
2330
+ };
2331
+
2332
+ /**
2333
+ * @deprecated
2334
+ */
2335
+ export const webhooksControllerUpdate1 = <ThrowOnError extends boolean = false>(
2336
+ options: Options<WebhooksControllerUpdate1Data, ThrowOnError>,
2337
+ ) => {
2338
+ return (options.client ?? _heyApiClient).put<
2339
+ WebhooksControllerUpdate1Responses,
2340
+ WebhooksControllerUpdate1Errors,
2341
+ ThrowOnError
2342
+ >({
2343
+ security: [
2344
+ {
2345
+ name: "x-api-token",
2346
+ type: "apiKey",
2347
+ },
2348
+ ],
2349
+ responseTransformer: webhooksControllerUpdate1ResponseTransformer,
2350
+ url: "/org/{org_id}/webhooks/{id}",
2351
+ ...options,
2352
+ headers: {
2353
+ "Content-Type": "application/json",
2354
+ ...options.headers,
2355
+ },
2356
+ });
2357
+ };
2358
+
2359
+ export const webhooksControllerRegenerateSecret0V1 = <
2360
+ ThrowOnError extends boolean = false,
2361
+ >(
2362
+ options: Options<WebhooksControllerRegenerateSecret0V1Data, ThrowOnError>,
2363
+ ) => {
2364
+ return (options.client ?? _heyApiClient).post<
2365
+ WebhooksControllerRegenerateSecret0V1Responses,
2366
+ WebhooksControllerRegenerateSecret0V1Errors,
2367
+ ThrowOnError
2368
+ >({
2369
+ security: [
2370
+ {
2371
+ name: "x-api-token",
2372
+ type: "apiKey",
2373
+ },
2374
+ ],
2375
+ responseTransformer:
2376
+ webhooksControllerRegenerateSecret0V1ResponseTransformer,
2377
+ url: "/v1/org/{org_id}/webhooks/{id}/regenerate-secret",
2378
+ ...options,
2379
+ headers: {
2380
+ "Content-Type": "application/json",
2381
+ ...options.headers,
2382
+ },
2383
+ });
2384
+ };
2385
+
2386
+ /**
2387
+ * @deprecated
2388
+ */
2389
+ export const webhooksControllerRegenerateSecret1 = <
2390
+ ThrowOnError extends boolean = false,
2391
+ >(
2392
+ options: Options<WebhooksControllerRegenerateSecret1Data, ThrowOnError>,
2393
+ ) => {
2394
+ return (options.client ?? _heyApiClient).post<
2395
+ WebhooksControllerRegenerateSecret1Responses,
2396
+ WebhooksControllerRegenerateSecret1Errors,
2397
+ ThrowOnError
2398
+ >({
2399
+ security: [
2400
+ {
2401
+ name: "x-api-token",
2402
+ type: "apiKey",
2403
+ },
2404
+ ],
2405
+ responseTransformer: webhooksControllerRegenerateSecret1ResponseTransformer,
2406
+ url: "/org/{org_id}/webhooks/{id}/regenerate-secret",
2407
+ ...options,
2408
+ headers: {
2409
+ "Content-Type": "application/json",
2410
+ ...options.headers,
2411
+ },
2412
+ });
2413
+ };
2414
+
2415
+ export const webhooksControllerTest0V1 = <ThrowOnError extends boolean = false>(
2416
+ options: Options<WebhooksControllerTest0V1Data, ThrowOnError>,
2417
+ ) => {
2418
+ return (options.client ?? _heyApiClient).post<
2419
+ WebhooksControllerTest0V1Responses,
2420
+ WebhooksControllerTest0V1Errors,
2421
+ ThrowOnError
2422
+ >({
2423
+ security: [
2424
+ {
2425
+ name: "x-api-token",
2426
+ type: "apiKey",
2427
+ },
2428
+ ],
2429
+ url: "/v1/org/{org_id}/webhooks/{id}/test",
2430
+ ...options,
2431
+ });
2432
+ };
2433
+
2434
+ /**
2435
+ * @deprecated
2436
+ */
2437
+ export const webhooksControllerTest1 = <ThrowOnError extends boolean = false>(
2438
+ options: Options<WebhooksControllerTest1Data, ThrowOnError>,
2439
+ ) => {
2440
+ return (options.client ?? _heyApiClient).post<
2441
+ WebhooksControllerTest1Responses,
2442
+ WebhooksControllerTest1Errors,
2443
+ ThrowOnError
2444
+ >({
2445
+ security: [
2446
+ {
2447
+ name: "x-api-token",
2448
+ type: "apiKey",
2449
+ },
2450
+ ],
2451
+ url: "/org/{org_id}/webhooks/{id}/test",
2452
+ ...options,
2453
+ });
2454
+ };
2455
+
2456
+ export const webhooksControllerGetStatus0V1 = <
2457
+ ThrowOnError extends boolean = false,
2458
+ >(
2459
+ options: Options<WebhooksControllerGetStatus0V1Data, ThrowOnError>,
2460
+ ) => {
2461
+ return (options.client ?? _heyApiClient).get<
2462
+ WebhooksControllerGetStatus0V1Responses,
2463
+ WebhooksControllerGetStatus0V1Errors,
2464
+ ThrowOnError
2465
+ >({
2466
+ security: [
2467
+ {
2468
+ name: "x-api-token",
2469
+ type: "apiKey",
2470
+ },
2471
+ ],
2472
+ url: "/v1/org/{org_id}/webhooks/{id}/status",
2473
+ ...options,
2474
+ });
2475
+ };
2476
+
2477
+ /**
2478
+ * @deprecated
2479
+ */
2480
+ export const webhooksControllerGetStatus1 = <
2481
+ ThrowOnError extends boolean = false,
2482
+ >(
2483
+ options: Options<WebhooksControllerGetStatus1Data, ThrowOnError>,
2484
+ ) => {
2485
+ return (options.client ?? _heyApiClient).get<
2486
+ WebhooksControllerGetStatus1Responses,
2487
+ WebhooksControllerGetStatus1Errors,
2488
+ ThrowOnError
2489
+ >({
2490
+ security: [
2491
+ {
2492
+ name: "x-api-token",
2493
+ type: "apiKey",
2494
+ },
2495
+ ],
2496
+ url: "/org/{org_id}/webhooks/{id}/status",
2497
+ ...options,
2498
+ });
2499
+ };
2500
+
2501
+ /**
2502
+ * Create a zone
2503
+ */
2504
+ export const zonesControllerCreateZone0V1 = <
2505
+ ThrowOnError extends boolean = false,
2506
+ >(
2507
+ options: Options<ZonesControllerCreateZone0V1Data, ThrowOnError>,
2508
+ ) => {
2509
+ return (options.client ?? _heyApiClient).post<
2510
+ ZonesControllerCreateZone0V1Responses,
2511
+ ZonesControllerCreateZone0V1Errors,
2512
+ ThrowOnError
2513
+ >({
2514
+ security: [
2515
+ {
2516
+ name: "x-api-token",
2517
+ type: "apiKey",
2518
+ },
2519
+ ],
2520
+ responseTransformer: zonesControllerCreateZone0V1ResponseTransformer,
2521
+ url: "/v1/zones",
2522
+ ...options,
2523
+ headers: {
2524
+ "Content-Type": "application/json",
2525
+ ...options.headers,
2526
+ },
2527
+ });
2528
+ };
2529
+
2530
+ /**
2531
+ * Create a zone
2532
+ * @deprecated
2533
+ */
2534
+ export const zonesControllerCreateZone1 = <
2535
+ ThrowOnError extends boolean = false,
2536
+ >(
2537
+ options: Options<ZonesControllerCreateZone1Data, ThrowOnError>,
2538
+ ) => {
2539
+ return (options.client ?? _heyApiClient).post<
2540
+ ZonesControllerCreateZone1Responses,
2541
+ ZonesControllerCreateZone1Errors,
2542
+ ThrowOnError
2543
+ >({
2544
+ security: [
2545
+ {
2546
+ name: "x-api-token",
2547
+ type: "apiKey",
2548
+ },
2549
+ ],
2550
+ responseTransformer: zonesControllerCreateZone1ResponseTransformer,
2551
+ url: "/zones",
2552
+ ...options,
2553
+ headers: {
2554
+ "Content-Type": "application/json",
2555
+ ...options.headers,
2556
+ },
2557
+ });
2558
+ };
2559
+
2560
+ /**
2561
+ * Delete a zone
2562
+ */
2563
+ export const zonesControllerDeleteZone0V1 = <
2564
+ ThrowOnError extends boolean = false,
2565
+ >(
2566
+ options: Options<ZonesControllerDeleteZone0V1Data, ThrowOnError>,
2567
+ ) => {
2568
+ return (options.client ?? _heyApiClient).delete<
2569
+ ZonesControllerDeleteZone0V1Responses,
2570
+ ZonesControllerDeleteZone0V1Errors,
2571
+ ThrowOnError
2572
+ >({
2573
+ security: [
2574
+ {
2575
+ name: "x-api-token",
2576
+ type: "apiKey",
2577
+ },
2578
+ ],
2579
+ url: "/v1/zones/{id}",
2580
+ ...options,
2581
+ });
2582
+ };
2583
+
2584
+ /**
2585
+ * Update a zone
2586
+ */
2587
+ export const zonesControllerUpdateZone0V1 = <
2588
+ ThrowOnError extends boolean = false,
2589
+ >(
2590
+ options: Options<ZonesControllerUpdateZone0V1Data, ThrowOnError>,
2591
+ ) => {
2592
+ return (options.client ?? _heyApiClient).put<
2593
+ ZonesControllerUpdateZone0V1Responses,
2594
+ ZonesControllerUpdateZone0V1Errors,
2595
+ ThrowOnError
2596
+ >({
2597
+ security: [
2598
+ {
2599
+ name: "x-api-token",
2600
+ type: "apiKey",
2601
+ },
2602
+ ],
2603
+ responseTransformer: zonesControllerUpdateZone0V1ResponseTransformer,
2604
+ url: "/v1/zones/{id}",
2605
+ ...options,
2606
+ headers: {
2607
+ "Content-Type": "application/json",
2608
+ ...options.headers,
2609
+ },
2610
+ });
2611
+ };
2612
+
2613
+ /**
2614
+ * Delete a zone
2615
+ * @deprecated
2616
+ */
2617
+ export const zonesControllerDeleteZone1 = <
2618
+ ThrowOnError extends boolean = false,
2619
+ >(
2620
+ options: Options<ZonesControllerDeleteZone1Data, ThrowOnError>,
2621
+ ) => {
2622
+ return (options.client ?? _heyApiClient).delete<
2623
+ ZonesControllerDeleteZone1Responses,
2624
+ ZonesControllerDeleteZone1Errors,
2625
+ ThrowOnError
2626
+ >({
2627
+ security: [
2628
+ {
2629
+ name: "x-api-token",
2630
+ type: "apiKey",
2631
+ },
2632
+ ],
2633
+ url: "/zones/{id}",
2634
+ ...options,
2635
+ });
2636
+ };
2637
+
2638
+ /**
2639
+ * Update a zone
2640
+ * @deprecated
2641
+ */
2642
+ export const zonesControllerUpdateZone1 = <
2643
+ ThrowOnError extends boolean = false,
2644
+ >(
2645
+ options: Options<ZonesControllerUpdateZone1Data, ThrowOnError>,
2646
+ ) => {
2647
+ return (options.client ?? _heyApiClient).put<
2648
+ ZonesControllerUpdateZone1Responses,
2649
+ ZonesControllerUpdateZone1Errors,
2650
+ ThrowOnError
2651
+ >({
2652
+ security: [
2653
+ {
2654
+ name: "x-api-token",
2655
+ type: "apiKey",
2656
+ },
2657
+ ],
2658
+ responseTransformer: zonesControllerUpdateZone1ResponseTransformer,
2659
+ url: "/zones/{id}",
2660
+ ...options,
2661
+ headers: {
2662
+ "Content-Type": "application/json",
2663
+ ...options.headers,
2664
+ },
2665
+ });
2666
+ };
2667
+
2668
+ /**
2669
+ * Force mission state resync from RPC
2670
+ * For each mission ID, reads MissionData + MissionEscrow on-chain, loads off-chain JSON from the missions bucket, and upserts event-proc.vaults / missions / campaigns.
2671
+ */
2672
+ export const eventProcessorMissionsSyncControllerResyncMissions0V1 = <
2673
+ ThrowOnError extends boolean = false,
2674
+ >(
2675
+ options: Options<
2676
+ EventProcessorMissionsSyncControllerResyncMissions0V1Data,
2677
+ ThrowOnError
2678
+ >,
2679
+ ) => {
2680
+ return (options.client ?? _heyApiClient).put<
2681
+ EventProcessorMissionsSyncControllerResyncMissions0V1Responses,
2682
+ EventProcessorMissionsSyncControllerResyncMissions0V1Errors,
2683
+ ThrowOnError
2684
+ >({
2685
+ security: [
2686
+ {
2687
+ name: "x-api-token",
2688
+ type: "apiKey",
2689
+ },
2690
+ ],
2691
+ url: "/v1/event-processor/missions/sync",
2692
+ ...options,
2693
+ headers: {
2694
+ "Content-Type": "application/json",
2695
+ ...options.headers,
2696
+ },
2697
+ });
2698
+ };
2699
+
2700
+ /**
2701
+ * Force mission state resync from RPC
2702
+ * For each mission ID, reads MissionData + MissionEscrow on-chain, loads off-chain JSON from the missions bucket, and upserts event-proc.vaults / missions / campaigns.
2703
+ * @deprecated
2704
+ */
2705
+ export const eventProcessorMissionsSyncControllerResyncMissions1 = <
2706
+ ThrowOnError extends boolean = false,
2707
+ >(
2708
+ options: Options<
2709
+ EventProcessorMissionsSyncControllerResyncMissions1Data,
2710
+ ThrowOnError
2711
+ >,
2712
+ ) => {
2713
+ return (options.client ?? _heyApiClient).put<
2714
+ EventProcessorMissionsSyncControllerResyncMissions1Responses,
2715
+ EventProcessorMissionsSyncControllerResyncMissions1Errors,
2716
+ ThrowOnError
2717
+ >({
2718
+ security: [
2719
+ {
2720
+ name: "x-api-token",
2721
+ type: "apiKey",
2722
+ },
2723
+ ],
2724
+ url: "/event-processor/missions/sync",
2725
+ ...options,
2726
+ headers: {
2727
+ "Content-Type": "application/json",
2728
+ ...options.headers,
2729
+ },
2730
+ });
2731
+ };
2732
+
2733
+ /**
2734
+ * Force flight review state resync from RPC
2735
+ * 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.
2736
+ */
2737
+ export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1 = <
2738
+ ThrowOnError extends boolean = false,
2739
+ >(
2740
+ options: Options<
2741
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1Data,
2742
+ ThrowOnError
2743
+ >,
2744
+ ) => {
2745
+ return (options.client ?? _heyApiClient).put<
2746
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1Responses,
2747
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews0V1Errors,
2748
+ ThrowOnError
2749
+ >({
2750
+ security: [
2751
+ {
2752
+ name: "x-api-token",
2753
+ type: "apiKey",
2754
+ },
2755
+ ],
2756
+ url: "/v1/event-processor/flightreviews",
2757
+ ...options,
2758
+ headers: {
2759
+ "Content-Type": "application/json",
2760
+ ...options.headers,
2761
+ },
2762
+ });
2763
+ };
2764
+
2765
+ /**
2766
+ * Force flight review state resync from RPC
2767
+ * 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.
2768
+ * @deprecated
2769
+ */
2770
+ export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews1 = <
2771
+ ThrowOnError extends boolean = false,
2772
+ >(
2773
+ options: Options<
2774
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews1Data,
2775
+ ThrowOnError
2776
+ >,
2777
+ ) => {
2778
+ return (options.client ?? _heyApiClient).put<
2779
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews1Responses,
2780
+ EventProcessorFlightReviewsSyncControllerResyncFlightReviews1Errors,
2781
+ ThrowOnError
2782
+ >({
2783
+ security: [
2784
+ {
2785
+ name: "x-api-token",
2786
+ type: "apiKey",
2787
+ },
2788
+ ],
2789
+ url: "/event-processor/flightreviews",
2790
+ ...options,
2791
+ headers: {
2792
+ "Content-Type": "application/json",
2793
+ ...options.headers,
2794
+ },
2795
+ });
2796
+ };
2797
+
2798
+ export const alchemyControllerHandleWebhook0V1 = <
2799
+ ThrowOnError extends boolean = false,
2800
+ >(
2801
+ options: Options<AlchemyControllerHandleWebhook0V1Data, ThrowOnError>,
2802
+ ) => {
2803
+ return (options.client ?? _heyApiClient).post<
2804
+ AlchemyControllerHandleWebhook0V1Responses,
2805
+ unknown,
2806
+ ThrowOnError
2807
+ >({
2808
+ url: "/v1/webhooks/inbound/alchemy",
2809
+ ...options,
2810
+ headers: {
2811
+ "Content-Type": "application/json",
2812
+ ...options.headers,
2813
+ },
2814
+ });
2815
+ };
2816
+
2817
+ /**
2818
+ * @deprecated
2819
+ */
2820
+ export const alchemyControllerHandleWebhook1 = <
2821
+ ThrowOnError extends boolean = false,
2822
+ >(
2823
+ options: Options<AlchemyControllerHandleWebhook1Data, ThrowOnError>,
2824
+ ) => {
2825
+ return (options.client ?? _heyApiClient).post<
2826
+ AlchemyControllerHandleWebhook1Responses,
2827
+ unknown,
2828
+ ThrowOnError
2829
+ >({
2830
+ url: "/webhooks/inbound/alchemy",
2831
+ ...options,
2832
+ headers: {
2833
+ "Content-Type": "application/json",
2834
+ ...options.headers,
2835
+ },
2836
+ });
2837
+ };
2838
+
2839
+ /**
2840
+ * Get all inbound webhook configs
2841
+ */
2842
+ export const inboundWebhookConfigsControllerGetMany0V1 = <
2843
+ ThrowOnError extends boolean = false,
2844
+ >(
2845
+ options?: Options<
2846
+ InboundWebhookConfigsControllerGetMany0V1Data,
2847
+ ThrowOnError
2848
+ >,
2849
+ ) => {
2850
+ return (options?.client ?? _heyApiClient).get<
2851
+ InboundWebhookConfigsControllerGetMany0V1Responses,
2852
+ InboundWebhookConfigsControllerGetMany0V1Errors,
2853
+ ThrowOnError
2854
+ >({
2855
+ security: [
2856
+ {
2857
+ name: "x-api-token",
2858
+ type: "apiKey",
2859
+ },
2860
+ ],
2861
+ responseTransformer:
2862
+ inboundWebhookConfigsControllerGetMany0V1ResponseTransformer,
2863
+ url: "/v1/webhooks/inbound/configs",
2864
+ ...options,
2865
+ });
2866
+ };
2867
+
2868
+ /**
2869
+ * Add a configuration for an inbound webhook
2870
+ * The config added here helps the api process the webhook events received
2871
+ * by the /webhooks/inbound/alchemy endpoint.
2872
+ * [Detailed Instructions](https://github.com/spexigeo/layer-drone/blob/main/apps/protocol-api/src/modules/api/webhooks/inbound/alchemy/README.md)
2873
+ */
2874
+ export const inboundWebhookConfigsControllerCreate0V1 = <
2875
+ ThrowOnError extends boolean = false,
2876
+ >(
2877
+ options: Options<InboundWebhookConfigsControllerCreate0V1Data, ThrowOnError>,
2878
+ ) => {
2879
+ return (options.client ?? _heyApiClient).post<
2880
+ InboundWebhookConfigsControllerCreate0V1Responses,
2881
+ InboundWebhookConfigsControllerCreate0V1Errors,
2882
+ ThrowOnError
2883
+ >({
2884
+ security: [
2885
+ {
2886
+ name: "x-api-token",
2887
+ type: "apiKey",
2888
+ },
2889
+ ],
2890
+ responseTransformer:
2891
+ inboundWebhookConfigsControllerCreate0V1ResponseTransformer,
2892
+ url: "/v1/webhooks/inbound/configs",
2893
+ ...options,
2894
+ headers: {
2895
+ "Content-Type": "application/json",
2896
+ ...options.headers,
2897
+ },
2898
+ });
2899
+ };
2900
+
2901
+ /**
2902
+ * Get all inbound webhook configs
2903
+ * @deprecated
2904
+ */
2905
+ export const inboundWebhookConfigsControllerGetMany1 = <
2906
+ ThrowOnError extends boolean = false,
2907
+ >(
2908
+ options?: Options<InboundWebhookConfigsControllerGetMany1Data, ThrowOnError>,
2909
+ ) => {
2910
+ return (options?.client ?? _heyApiClient).get<
2911
+ InboundWebhookConfigsControllerGetMany1Responses,
2912
+ InboundWebhookConfigsControllerGetMany1Errors,
2913
+ ThrowOnError
2914
+ >({
2915
+ security: [
2916
+ {
2917
+ name: "x-api-token",
2918
+ type: "apiKey",
2919
+ },
2920
+ ],
2921
+ responseTransformer:
2922
+ inboundWebhookConfigsControllerGetMany1ResponseTransformer,
2923
+ url: "/webhooks/inbound/configs",
2924
+ ...options,
2925
+ });
2926
+ };
2927
+
2928
+ /**
2929
+ * Add a configuration for an inbound webhook
2930
+ * The config added here helps the api process the webhook events received
2931
+ * by the /webhooks/inbound/alchemy endpoint.
2932
+ * [Detailed Instructions](https://github.com/spexigeo/layer-drone/blob/main/apps/protocol-api/src/modules/api/webhooks/inbound/alchemy/README.md)
2933
+ * @deprecated
2934
+ */
2935
+ export const inboundWebhookConfigsControllerCreate1 = <
2936
+ ThrowOnError extends boolean = false,
2937
+ >(
2938
+ options: Options<InboundWebhookConfigsControllerCreate1Data, ThrowOnError>,
2939
+ ) => {
2940
+ return (options.client ?? _heyApiClient).post<
2941
+ InboundWebhookConfigsControllerCreate1Responses,
2942
+ InboundWebhookConfigsControllerCreate1Errors,
2943
+ ThrowOnError
2944
+ >({
2945
+ security: [
2946
+ {
2947
+ name: "x-api-token",
2948
+ type: "apiKey",
2949
+ },
2950
+ ],
2951
+ responseTransformer:
2952
+ inboundWebhookConfigsControllerCreate1ResponseTransformer,
2953
+ url: "/webhooks/inbound/configs",
2954
+ ...options,
2955
+ headers: {
2956
+ "Content-Type": "application/json",
2957
+ ...options.headers,
2958
+ },
2959
+ });
2960
+ };
2961
+
2962
+ /**
2963
+ * Delete an inbound webhook config
2964
+ */
2965
+ export const inboundWebhookConfigsControllerDelete0V1 = <
2966
+ ThrowOnError extends boolean = false,
2967
+ >(
2968
+ options: Options<InboundWebhookConfigsControllerDelete0V1Data, ThrowOnError>,
2969
+ ) => {
2970
+ return (options.client ?? _heyApiClient).delete<
2971
+ InboundWebhookConfigsControllerDelete0V1Responses,
2972
+ InboundWebhookConfigsControllerDelete0V1Errors,
2973
+ ThrowOnError
2974
+ >({
2975
+ security: [
2976
+ {
2977
+ name: "x-api-token",
2978
+ type: "apiKey",
2979
+ },
2980
+ ],
2981
+ url: "/v1/webhooks/inbound/configs/{id}",
2982
+ ...options,
2983
+ });
2984
+ };
2985
+
2986
+ /**
2987
+ * Get an inbound webhook config by id
2988
+ */
2989
+ export const inboundWebhookConfigsControllerGet0V1 = <
2990
+ ThrowOnError extends boolean = false,
2991
+ >(
2992
+ options: Options<InboundWebhookConfigsControllerGet0V1Data, ThrowOnError>,
2993
+ ) => {
2994
+ return (options.client ?? _heyApiClient).get<
2995
+ InboundWebhookConfigsControllerGet0V1Responses,
2996
+ InboundWebhookConfigsControllerGet0V1Errors,
2997
+ ThrowOnError
2998
+ >({
2999
+ security: [
3000
+ {
3001
+ name: "x-api-token",
3002
+ type: "apiKey",
3003
+ },
3004
+ ],
3005
+ responseTransformer:
3006
+ inboundWebhookConfigsControllerGet0V1ResponseTransformer,
3007
+ url: "/v1/webhooks/inbound/configs/{id}",
3008
+ ...options,
3009
+ });
3010
+ };
3011
+
3012
+ /**
3013
+ * Update an inbound webhook config
3014
+ */
3015
+ export const inboundWebhookConfigsControllerUpdate0V1 = <
3016
+ ThrowOnError extends boolean = false,
3017
+ >(
3018
+ options: Options<InboundWebhookConfigsControllerUpdate0V1Data, ThrowOnError>,
3019
+ ) => {
3020
+ return (options.client ?? _heyApiClient).put<
3021
+ InboundWebhookConfigsControllerUpdate0V1Responses,
3022
+ InboundWebhookConfigsControllerUpdate0V1Errors,
3023
+ ThrowOnError
3024
+ >({
3025
+ security: [
3026
+ {
3027
+ name: "x-api-token",
3028
+ type: "apiKey",
3029
+ },
3030
+ ],
3031
+ responseTransformer:
3032
+ inboundWebhookConfigsControllerUpdate0V1ResponseTransformer,
3033
+ url: "/v1/webhooks/inbound/configs/{id}",
1390
3034
  ...options,
1391
3035
  headers: {
1392
3036
  "Content-Type": "application/json",
@@ -1397,15 +3041,16 @@ export const inboundWebhookConfigsControllerCreate = <
1397
3041
 
1398
3042
  /**
1399
3043
  * Delete an inbound webhook config
3044
+ * @deprecated
1400
3045
  */
1401
- export const inboundWebhookConfigsControllerDelete = <
3046
+ export const inboundWebhookConfigsControllerDelete1 = <
1402
3047
  ThrowOnError extends boolean = false,
1403
3048
  >(
1404
- options: Options<InboundWebhookConfigsControllerDeleteData, ThrowOnError>,
3049
+ options: Options<InboundWebhookConfigsControllerDelete1Data, ThrowOnError>,
1405
3050
  ) => {
1406
3051
  return (options.client ?? _heyApiClient).delete<
1407
- InboundWebhookConfigsControllerDeleteResponses,
1408
- InboundWebhookConfigsControllerDeleteErrors,
3052
+ InboundWebhookConfigsControllerDelete1Responses,
3053
+ InboundWebhookConfigsControllerDelete1Errors,
1409
3054
  ThrowOnError
1410
3055
  >({
1411
3056
  security: [
@@ -1421,15 +3066,16 @@ export const inboundWebhookConfigsControllerDelete = <
1421
3066
 
1422
3067
  /**
1423
3068
  * Get an inbound webhook config by id
3069
+ * @deprecated
1424
3070
  */
1425
- export const inboundWebhookConfigsControllerGet = <
3071
+ export const inboundWebhookConfigsControllerGet1 = <
1426
3072
  ThrowOnError extends boolean = false,
1427
3073
  >(
1428
- options: Options<InboundWebhookConfigsControllerGetData, ThrowOnError>,
3074
+ options: Options<InboundWebhookConfigsControllerGet1Data, ThrowOnError>,
1429
3075
  ) => {
1430
3076
  return (options.client ?? _heyApiClient).get<
1431
- InboundWebhookConfigsControllerGetResponses,
1432
- InboundWebhookConfigsControllerGetErrors,
3077
+ InboundWebhookConfigsControllerGet1Responses,
3078
+ InboundWebhookConfigsControllerGet1Errors,
1433
3079
  ThrowOnError
1434
3080
  >({
1435
3081
  security: [
@@ -1438,7 +3084,7 @@ export const inboundWebhookConfigsControllerGet = <
1438
3084
  type: "apiKey",
1439
3085
  },
1440
3086
  ],
1441
- responseTransformer: inboundWebhookConfigsControllerGetResponseTransformer,
3087
+ responseTransformer: inboundWebhookConfigsControllerGet1ResponseTransformer,
1442
3088
  url: "/webhooks/inbound/configs/{id}",
1443
3089
  ...options,
1444
3090
  });
@@ -1446,15 +3092,16 @@ export const inboundWebhookConfigsControllerGet = <
1446
3092
 
1447
3093
  /**
1448
3094
  * Update an inbound webhook config
3095
+ * @deprecated
1449
3096
  */
1450
- export const inboundWebhookConfigsControllerUpdate = <
3097
+ export const inboundWebhookConfigsControllerUpdate1 = <
1451
3098
  ThrowOnError extends boolean = false,
1452
3099
  >(
1453
- options: Options<InboundWebhookConfigsControllerUpdateData, ThrowOnError>,
3100
+ options: Options<InboundWebhookConfigsControllerUpdate1Data, ThrowOnError>,
1454
3101
  ) => {
1455
3102
  return (options.client ?? _heyApiClient).put<
1456
- InboundWebhookConfigsControllerUpdateResponses,
1457
- InboundWebhookConfigsControllerUpdateErrors,
3103
+ InboundWebhookConfigsControllerUpdate1Responses,
3104
+ InboundWebhookConfigsControllerUpdate1Errors,
1458
3105
  ThrowOnError
1459
3106
  >({
1460
3107
  security: [
@@ -1464,7 +3111,7 @@ export const inboundWebhookConfigsControllerUpdate = <
1464
3111
  },
1465
3112
  ],
1466
3113
  responseTransformer:
1467
- inboundWebhookConfigsControllerUpdateResponseTransformer,
3114
+ inboundWebhookConfigsControllerUpdate1ResponseTransformer,
1468
3115
  url: "/webhooks/inbound/configs/{id}",
1469
3116
  ...options,
1470
3117
  headers: {