@layer-drone/protocol 0.8.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.
- package/dist/index.d.mts +1114 -257
- package/dist/index.d.ts +1114 -257
- package/dist/index.js +1308 -383
- package/dist/index.mjs +1202 -330
- package/package.json +3 -3
- package/src/client/sdk.gen.ts +2228 -611
- package/src/client/transformers.gen.ts +269 -77
- package/src/client/types.gen.ts +1527 -349
package/src/client/sdk.gen.ts
CHANGED
|
@@ -6,184 +6,360 @@ import type {
|
|
|
6
6
|
TDataShape,
|
|
7
7
|
} from "./client/index.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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,
|
|
187
363
|
} from "./types.gen.js";
|
|
188
364
|
|
|
189
365
|
export type Options<
|
|
@@ -203,11 +379,27 @@ export type Options<
|
|
|
203
379
|
meta?: Record<string, unknown>;
|
|
204
380
|
};
|
|
205
381
|
|
|
206
|
-
export const
|
|
207
|
-
options?: Options<
|
|
382
|
+
export const apiControllerGetHello0V1 = <ThrowOnError extends boolean = false>(
|
|
383
|
+
options?: Options<ApiControllerGetHello0V1Data, ThrowOnError>,
|
|
208
384
|
) => {
|
|
209
385
|
return (options?.client ?? _heyApiClient).get<
|
|
210
|
-
|
|
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,
|
|
211
403
|
unknown,
|
|
212
404
|
ThrowOnError
|
|
213
405
|
>({
|
|
@@ -216,11 +408,27 @@ export const apiControllerGetHello = <ThrowOnError extends boolean = false>(
|
|
|
216
408
|
});
|
|
217
409
|
};
|
|
218
410
|
|
|
219
|
-
export const
|
|
220
|
-
options?: Options<
|
|
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>,
|
|
221
429
|
) => {
|
|
222
430
|
return (options?.client ?? _heyApiClient).get<
|
|
223
|
-
|
|
431
|
+
ApiControllerGetError1Responses,
|
|
224
432
|
unknown,
|
|
225
433
|
ThrowOnError
|
|
226
434
|
>({
|
|
@@ -229,14 +437,42 @@ export const apiControllerGetError = <ThrowOnError extends boolean = false>(
|
|
|
229
437
|
});
|
|
230
438
|
};
|
|
231
439
|
|
|
232
|
-
export const
|
|
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 = <
|
|
233
469
|
ThrowOnError extends boolean = false,
|
|
234
470
|
>(
|
|
235
|
-
options: Options<
|
|
471
|
+
options: Options<ApiTokenControllerCreateToken1Data, ThrowOnError>,
|
|
236
472
|
) => {
|
|
237
473
|
return (options.client ?? _heyApiClient).post<
|
|
238
|
-
|
|
239
|
-
|
|
474
|
+
ApiTokenControllerCreateToken1Responses,
|
|
475
|
+
ApiTokenControllerCreateToken1Errors,
|
|
240
476
|
ThrowOnError
|
|
241
477
|
>({
|
|
242
478
|
security: [
|
|
@@ -254,14 +490,14 @@ export const apiTokenControllerCreateToken = <
|
|
|
254
490
|
});
|
|
255
491
|
};
|
|
256
492
|
|
|
257
|
-
export const
|
|
493
|
+
export const apiTokenControllerDeleteToken0V1 = <
|
|
258
494
|
ThrowOnError extends boolean = false,
|
|
259
495
|
>(
|
|
260
|
-
options: Options<
|
|
496
|
+
options: Options<ApiTokenControllerDeleteToken0V1Data, ThrowOnError>,
|
|
261
497
|
) => {
|
|
262
498
|
return (options.client ?? _heyApiClient).delete<
|
|
263
|
-
|
|
264
|
-
|
|
499
|
+
ApiTokenControllerDeleteToken0V1Responses,
|
|
500
|
+
ApiTokenControllerDeleteToken0V1Errors,
|
|
265
501
|
ThrowOnError
|
|
266
502
|
>({
|
|
267
503
|
security: [
|
|
@@ -270,19 +506,19 @@ export const apiTokenControllerDeleteToken = <
|
|
|
270
506
|
type: "apiKey",
|
|
271
507
|
},
|
|
272
508
|
],
|
|
273
|
-
url: "/tokens/{id}",
|
|
509
|
+
url: "/v1/tokens/{id}",
|
|
274
510
|
...options,
|
|
275
511
|
});
|
|
276
512
|
};
|
|
277
513
|
|
|
278
|
-
export const
|
|
514
|
+
export const apiTokenControllerGetToken0V1 = <
|
|
279
515
|
ThrowOnError extends boolean = false,
|
|
280
516
|
>(
|
|
281
|
-
options: Options<
|
|
517
|
+
options: Options<ApiTokenControllerGetToken0V1Data, ThrowOnError>,
|
|
282
518
|
) => {
|
|
283
519
|
return (options.client ?? _heyApiClient).get<
|
|
284
|
-
|
|
285
|
-
|
|
520
|
+
ApiTokenControllerGetToken0V1Responses,
|
|
521
|
+
ApiTokenControllerGetToken0V1Errors,
|
|
286
522
|
ThrowOnError
|
|
287
523
|
>({
|
|
288
524
|
security: [
|
|
@@ -291,19 +527,19 @@ export const apiTokenControllerGetToken = <
|
|
|
291
527
|
type: "apiKey",
|
|
292
528
|
},
|
|
293
529
|
],
|
|
294
|
-
url: "/tokens/{id}",
|
|
530
|
+
url: "/v1/tokens/{id}",
|
|
295
531
|
...options,
|
|
296
532
|
});
|
|
297
533
|
};
|
|
298
534
|
|
|
299
|
-
export const
|
|
535
|
+
export const apiTokenControllerUpdateToken0V1 = <
|
|
300
536
|
ThrowOnError extends boolean = false,
|
|
301
537
|
>(
|
|
302
|
-
options: Options<
|
|
538
|
+
options: Options<ApiTokenControllerUpdateToken0V1Data, ThrowOnError>,
|
|
303
539
|
) => {
|
|
304
540
|
return (options.client ?? _heyApiClient).patch<
|
|
305
|
-
|
|
306
|
-
|
|
541
|
+
ApiTokenControllerUpdateToken0V1Responses,
|
|
542
|
+
ApiTokenControllerUpdateToken0V1Errors,
|
|
307
543
|
ThrowOnError
|
|
308
544
|
>({
|
|
309
545
|
security: [
|
|
@@ -312,8 +548,8 @@ export const apiTokenControllerUpdateToken = <
|
|
|
312
548
|
type: "apiKey",
|
|
313
549
|
},
|
|
314
550
|
],
|
|
315
|
-
responseTransformer:
|
|
316
|
-
url: "/tokens/{id}",
|
|
551
|
+
responseTransformer: apiTokenControllerUpdateToken0V1ResponseTransformer,
|
|
552
|
+
url: "/v1/tokens/{id}",
|
|
317
553
|
...options,
|
|
318
554
|
headers: {
|
|
319
555
|
"Content-Type": "application/json",
|
|
@@ -322,38 +558,41 @@ export const apiTokenControllerUpdateToken = <
|
|
|
322
558
|
});
|
|
323
559
|
};
|
|
324
560
|
|
|
325
|
-
|
|
561
|
+
/**
|
|
562
|
+
* @deprecated
|
|
563
|
+
*/
|
|
564
|
+
export const apiTokenControllerDeleteToken1 = <
|
|
326
565
|
ThrowOnError extends boolean = false,
|
|
327
566
|
>(
|
|
328
|
-
options: Options<
|
|
329
|
-
ConditionsControllerGetSunAltitudeTimeLimitsData,
|
|
330
|
-
ThrowOnError
|
|
331
|
-
>,
|
|
567
|
+
options: Options<ApiTokenControllerDeleteToken1Data, ThrowOnError>,
|
|
332
568
|
) => {
|
|
333
|
-
return (options.client ?? _heyApiClient).
|
|
334
|
-
|
|
335
|
-
|
|
569
|
+
return (options.client ?? _heyApiClient).delete<
|
|
570
|
+
ApiTokenControllerDeleteToken1Responses,
|
|
571
|
+
ApiTokenControllerDeleteToken1Errors,
|
|
336
572
|
ThrowOnError
|
|
337
573
|
>({
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
574
|
+
security: [
|
|
575
|
+
{
|
|
576
|
+
name: "x-api-token",
|
|
577
|
+
type: "apiKey",
|
|
578
|
+
},
|
|
579
|
+
],
|
|
580
|
+
url: "/tokens/{id}",
|
|
341
581
|
...options,
|
|
342
582
|
});
|
|
343
583
|
};
|
|
344
584
|
|
|
345
585
|
/**
|
|
346
|
-
*
|
|
347
|
-
* Retrieve all activity and ERC20 contracts
|
|
586
|
+
* @deprecated
|
|
348
587
|
*/
|
|
349
|
-
export const
|
|
588
|
+
export const apiTokenControllerGetToken1 = <
|
|
350
589
|
ThrowOnError extends boolean = false,
|
|
351
590
|
>(
|
|
352
|
-
options
|
|
591
|
+
options: Options<ApiTokenControllerGetToken1Data, ThrowOnError>,
|
|
353
592
|
) => {
|
|
354
|
-
return (options
|
|
355
|
-
|
|
356
|
-
|
|
593
|
+
return (options.client ?? _heyApiClient).get<
|
|
594
|
+
ApiTokenControllerGetToken1Responses,
|
|
595
|
+
ApiTokenControllerGetToken1Errors,
|
|
357
596
|
ThrowOnError
|
|
358
597
|
>({
|
|
359
598
|
security: [
|
|
@@ -362,24 +601,22 @@ export const contractsControllerGetAllContracts = <
|
|
|
362
601
|
type: "apiKey",
|
|
363
602
|
},
|
|
364
603
|
],
|
|
365
|
-
|
|
366
|
-
url: "/contracts",
|
|
604
|
+
url: "/tokens/{id}",
|
|
367
605
|
...options,
|
|
368
606
|
});
|
|
369
607
|
};
|
|
370
608
|
|
|
371
609
|
/**
|
|
372
|
-
*
|
|
373
|
-
* Create either an activity contract or an ERC20 contract
|
|
610
|
+
* @deprecated
|
|
374
611
|
*/
|
|
375
|
-
export const
|
|
612
|
+
export const apiTokenControllerUpdateToken1 = <
|
|
376
613
|
ThrowOnError extends boolean = false,
|
|
377
614
|
>(
|
|
378
|
-
options: Options<
|
|
615
|
+
options: Options<ApiTokenControllerUpdateToken1Data, ThrowOnError>,
|
|
379
616
|
) => {
|
|
380
|
-
return (options.client ?? _heyApiClient).
|
|
381
|
-
|
|
382
|
-
|
|
617
|
+
return (options.client ?? _heyApiClient).patch<
|
|
618
|
+
ApiTokenControllerUpdateToken1Responses,
|
|
619
|
+
ApiTokenControllerUpdateToken1Errors,
|
|
383
620
|
ThrowOnError
|
|
384
621
|
>({
|
|
385
622
|
security: [
|
|
@@ -388,7 +625,8 @@ export const contractsControllerCreateContract = <
|
|
|
388
625
|
type: "apiKey",
|
|
389
626
|
},
|
|
390
627
|
],
|
|
391
|
-
|
|
628
|
+
responseTransformer: apiTokenControllerUpdateToken1ResponseTransformer,
|
|
629
|
+
url: "/tokens/{id}",
|
|
392
630
|
...options,
|
|
393
631
|
headers: {
|
|
394
632
|
"Content-Type": "application/json",
|
|
@@ -397,18 +635,61 @@ export const contractsControllerCreateContract = <
|
|
|
397
635
|
});
|
|
398
636
|
};
|
|
399
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
|
+
|
|
400
658
|
/**
|
|
401
|
-
*
|
|
402
|
-
|
|
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
|
|
403
684
|
*/
|
|
404
|
-
export const
|
|
685
|
+
export const contractsControllerGetAllContracts0V1 = <
|
|
405
686
|
ThrowOnError extends boolean = false,
|
|
406
687
|
>(
|
|
407
|
-
options
|
|
688
|
+
options?: Options<ContractsControllerGetAllContracts0V1Data, ThrowOnError>,
|
|
408
689
|
) => {
|
|
409
|
-
return (options
|
|
410
|
-
|
|
411
|
-
|
|
690
|
+
return (options?.client ?? _heyApiClient).get<
|
|
691
|
+
ContractsControllerGetAllContracts0V1Responses,
|
|
692
|
+
ContractsControllerGetAllContracts0V1Errors,
|
|
412
693
|
ThrowOnError
|
|
413
694
|
>({
|
|
414
695
|
security: [
|
|
@@ -417,23 +698,25 @@ export const contractsControllerDeleteContract = <
|
|
|
417
698
|
type: "apiKey",
|
|
418
699
|
},
|
|
419
700
|
],
|
|
420
|
-
|
|
701
|
+
responseTransformer:
|
|
702
|
+
contractsControllerGetAllContracts0V1ResponseTransformer,
|
|
703
|
+
url: "/v1/contracts",
|
|
421
704
|
...options,
|
|
422
705
|
});
|
|
423
706
|
};
|
|
424
707
|
|
|
425
708
|
/**
|
|
426
|
-
*
|
|
427
|
-
*
|
|
709
|
+
* Create a new contract
|
|
710
|
+
* Create either an activity contract or an ERC20 contract
|
|
428
711
|
*/
|
|
429
|
-
export const
|
|
712
|
+
export const contractsControllerCreateContract0V1 = <
|
|
430
713
|
ThrowOnError extends boolean = false,
|
|
431
714
|
>(
|
|
432
|
-
options: Options<
|
|
715
|
+
options: Options<ContractsControllerCreateContract0V1Data, ThrowOnError>,
|
|
433
716
|
) => {
|
|
434
|
-
return (options.client ?? _heyApiClient).
|
|
435
|
-
|
|
436
|
-
|
|
717
|
+
return (options.client ?? _heyApiClient).post<
|
|
718
|
+
ContractsControllerCreateContract0V1Responses,
|
|
719
|
+
ContractsControllerCreateContract0V1Errors,
|
|
437
720
|
ThrowOnError
|
|
438
721
|
>({
|
|
439
722
|
security: [
|
|
@@ -442,23 +725,28 @@ export const contractsControllerGetContract = <
|
|
|
442
725
|
type: "apiKey",
|
|
443
726
|
},
|
|
444
727
|
],
|
|
445
|
-
url: "/contracts
|
|
728
|
+
url: "/v1/contracts",
|
|
446
729
|
...options,
|
|
730
|
+
headers: {
|
|
731
|
+
"Content-Type": "application/json",
|
|
732
|
+
...options.headers,
|
|
733
|
+
},
|
|
447
734
|
});
|
|
448
735
|
};
|
|
449
736
|
|
|
450
737
|
/**
|
|
451
|
-
*
|
|
452
|
-
*
|
|
738
|
+
* Get all contracts
|
|
739
|
+
* Retrieve all activity and ERC20 contracts
|
|
740
|
+
* @deprecated
|
|
453
741
|
*/
|
|
454
|
-
export const
|
|
742
|
+
export const contractsControllerGetAllContracts1 = <
|
|
455
743
|
ThrowOnError extends boolean = false,
|
|
456
744
|
>(
|
|
457
|
-
options
|
|
745
|
+
options?: Options<ContractsControllerGetAllContracts1Data, ThrowOnError>,
|
|
458
746
|
) => {
|
|
459
|
-
return (options
|
|
460
|
-
|
|
461
|
-
|
|
747
|
+
return (options?.client ?? _heyApiClient).get<
|
|
748
|
+
ContractsControllerGetAllContracts1Responses,
|
|
749
|
+
ContractsControllerGetAllContracts1Errors,
|
|
462
750
|
ThrowOnError
|
|
463
751
|
>({
|
|
464
752
|
security: [
|
|
@@ -467,27 +755,25 @@ export const contractsControllerUpdateContract = <
|
|
|
467
755
|
type: "apiKey",
|
|
468
756
|
},
|
|
469
757
|
],
|
|
470
|
-
|
|
758
|
+
responseTransformer: contractsControllerGetAllContracts1ResponseTransformer,
|
|
759
|
+
url: "/contracts",
|
|
471
760
|
...options,
|
|
472
|
-
headers: {
|
|
473
|
-
"Content-Type": "application/json",
|
|
474
|
-
...options.headers,
|
|
475
|
-
},
|
|
476
761
|
});
|
|
477
762
|
};
|
|
478
763
|
|
|
479
764
|
/**
|
|
480
|
-
*
|
|
481
|
-
*
|
|
765
|
+
* Create a new contract
|
|
766
|
+
* Create either an activity contract or an ERC20 contract
|
|
767
|
+
* @deprecated
|
|
482
768
|
*/
|
|
483
|
-
export const
|
|
769
|
+
export const contractsControllerCreateContract1 = <
|
|
484
770
|
ThrowOnError extends boolean = false,
|
|
485
771
|
>(
|
|
486
|
-
options: Options<
|
|
772
|
+
options: Options<ContractsControllerCreateContract1Data, ThrowOnError>,
|
|
487
773
|
) => {
|
|
488
774
|
return (options.client ?? _heyApiClient).post<
|
|
489
|
-
|
|
490
|
-
|
|
775
|
+
ContractsControllerCreateContract1Responses,
|
|
776
|
+
ContractsControllerCreateContract1Errors,
|
|
491
777
|
ThrowOnError
|
|
492
778
|
>({
|
|
493
779
|
security: [
|
|
@@ -496,7 +782,7 @@ export const dlqRedriverControllerRedriveDlq = <
|
|
|
496
782
|
type: "apiKey",
|
|
497
783
|
},
|
|
498
784
|
],
|
|
499
|
-
url: "/
|
|
785
|
+
url: "/contracts",
|
|
500
786
|
...options,
|
|
501
787
|
headers: {
|
|
502
788
|
"Content-Type": "application/json",
|
|
@@ -505,14 +791,18 @@ export const dlqRedriverControllerRedriveDlq = <
|
|
|
505
791
|
});
|
|
506
792
|
};
|
|
507
793
|
|
|
508
|
-
|
|
794
|
+
/**
|
|
795
|
+
* Delete a contract
|
|
796
|
+
* Delete a contract by ID and type
|
|
797
|
+
*/
|
|
798
|
+
export const contractsControllerDeleteContract0V1 = <
|
|
509
799
|
ThrowOnError extends boolean = false,
|
|
510
800
|
>(
|
|
511
|
-
options: Options<
|
|
801
|
+
options: Options<ContractsControllerDeleteContract0V1Data, ThrowOnError>,
|
|
512
802
|
) => {
|
|
513
|
-
return (options.client ?? _heyApiClient).
|
|
514
|
-
|
|
515
|
-
|
|
803
|
+
return (options.client ?? _heyApiClient).delete<
|
|
804
|
+
ContractsControllerDeleteContract0V1Responses,
|
|
805
|
+
ContractsControllerDeleteContract0V1Errors,
|
|
516
806
|
ThrowOnError
|
|
517
807
|
>({
|
|
518
808
|
security: [
|
|
@@ -521,19 +811,23 @@ export const flightsControllerGenerateStorageKey = <
|
|
|
521
811
|
type: "apiKey",
|
|
522
812
|
},
|
|
523
813
|
],
|
|
524
|
-
url: "/
|
|
814
|
+
url: "/v1/contracts/{id}",
|
|
525
815
|
...options,
|
|
526
816
|
});
|
|
527
817
|
};
|
|
528
818
|
|
|
529
|
-
|
|
819
|
+
/**
|
|
820
|
+
* Get a contract by ID
|
|
821
|
+
* Retrieve a specific contract by ID and type
|
|
822
|
+
*/
|
|
823
|
+
export const contractsControllerGetContract0V1 = <
|
|
530
824
|
ThrowOnError extends boolean = false,
|
|
531
825
|
>(
|
|
532
|
-
options: Options<
|
|
826
|
+
options: Options<ContractsControllerGetContract0V1Data, ThrowOnError>,
|
|
533
827
|
) => {
|
|
534
828
|
return (options.client ?? _heyApiClient).get<
|
|
535
|
-
|
|
536
|
-
|
|
829
|
+
ContractsControllerGetContract0V1Responses,
|
|
830
|
+
ContractsControllerGetContract0V1Errors,
|
|
537
831
|
ThrowOnError
|
|
538
832
|
>({
|
|
539
833
|
security: [
|
|
@@ -542,20 +836,23 @@ export const flightsControllerGetFlight = <
|
|
|
542
836
|
type: "apiKey",
|
|
543
837
|
},
|
|
544
838
|
],
|
|
545
|
-
|
|
546
|
-
url: "/flights/{flightId}",
|
|
839
|
+
url: "/v1/contracts/{id}",
|
|
547
840
|
...options,
|
|
548
841
|
});
|
|
549
842
|
};
|
|
550
843
|
|
|
551
|
-
|
|
844
|
+
/**
|
|
845
|
+
* Update a contract
|
|
846
|
+
* Update an existing contract
|
|
847
|
+
*/
|
|
848
|
+
export const contractsControllerUpdateContract0V1 = <
|
|
552
849
|
ThrowOnError extends boolean = false,
|
|
553
850
|
>(
|
|
554
|
-
options: Options<
|
|
851
|
+
options: Options<ContractsControllerUpdateContract0V1Data, ThrowOnError>,
|
|
555
852
|
) => {
|
|
556
|
-
return (options.client ?? _heyApiClient).
|
|
557
|
-
|
|
558
|
-
|
|
853
|
+
return (options.client ?? _heyApiClient).patch<
|
|
854
|
+
ContractsControllerUpdateContract0V1Responses,
|
|
855
|
+
ContractsControllerUpdateContract0V1Errors,
|
|
559
856
|
ThrowOnError
|
|
560
857
|
>({
|
|
561
858
|
security: [
|
|
@@ -564,7 +861,7 @@ export const flightsControllerCreatePresignedUrls = <
|
|
|
564
861
|
type: "apiKey",
|
|
565
862
|
},
|
|
566
863
|
],
|
|
567
|
-
url: "/
|
|
864
|
+
url: "/v1/contracts/{id}",
|
|
568
865
|
...options,
|
|
569
866
|
headers: {
|
|
570
867
|
"Content-Type": "application/json",
|
|
@@ -573,14 +870,19 @@ export const flightsControllerCreatePresignedUrls = <
|
|
|
573
870
|
});
|
|
574
871
|
};
|
|
575
872
|
|
|
576
|
-
|
|
873
|
+
/**
|
|
874
|
+
* Delete a contract
|
|
875
|
+
* Delete a contract by ID and type
|
|
876
|
+
* @deprecated
|
|
877
|
+
*/
|
|
878
|
+
export const contractsControllerDeleteContract1 = <
|
|
577
879
|
ThrowOnError extends boolean = false,
|
|
578
880
|
>(
|
|
579
|
-
options: Options<
|
|
881
|
+
options: Options<ContractsControllerDeleteContract1Data, ThrowOnError>,
|
|
580
882
|
) => {
|
|
581
|
-
return (options.client ?? _heyApiClient).
|
|
582
|
-
|
|
583
|
-
|
|
883
|
+
return (options.client ?? _heyApiClient).delete<
|
|
884
|
+
ContractsControllerDeleteContract1Responses,
|
|
885
|
+
ContractsControllerDeleteContract1Errors,
|
|
584
886
|
ThrowOnError
|
|
585
887
|
>({
|
|
586
888
|
security: [
|
|
@@ -589,28 +891,24 @@ export const flightsControllerValidateFlight = <
|
|
|
589
891
|
type: "apiKey",
|
|
590
892
|
},
|
|
591
893
|
],
|
|
592
|
-
|
|
593
|
-
url: "/flights",
|
|
894
|
+
url: "/contracts/{id}",
|
|
594
895
|
...options,
|
|
595
|
-
headers: {
|
|
596
|
-
"Content-Type": "application/json",
|
|
597
|
-
...options.headers,
|
|
598
|
-
},
|
|
599
896
|
});
|
|
600
897
|
};
|
|
601
898
|
|
|
602
899
|
/**
|
|
603
|
-
* Get
|
|
604
|
-
*
|
|
900
|
+
* Get a contract by ID
|
|
901
|
+
* Retrieve a specific contract by ID and type
|
|
902
|
+
* @deprecated
|
|
605
903
|
*/
|
|
606
|
-
export const
|
|
904
|
+
export const contractsControllerGetContract1 = <
|
|
607
905
|
ThrowOnError extends boolean = false,
|
|
608
906
|
>(
|
|
609
|
-
options
|
|
907
|
+
options: Options<ContractsControllerGetContract1Data, ThrowOnError>,
|
|
610
908
|
) => {
|
|
611
|
-
return (options
|
|
612
|
-
|
|
613
|
-
|
|
909
|
+
return (options.client ?? _heyApiClient).get<
|
|
910
|
+
ContractsControllerGetContract1Responses,
|
|
911
|
+
ContractsControllerGetContract1Errors,
|
|
614
912
|
ThrowOnError
|
|
615
913
|
>({
|
|
616
914
|
security: [
|
|
@@ -619,24 +917,24 @@ export const flightPlansControllerGetMany = <
|
|
|
619
917
|
type: "apiKey",
|
|
620
918
|
},
|
|
621
919
|
],
|
|
622
|
-
|
|
623
|
-
url: "/flight-plans",
|
|
920
|
+
url: "/contracts/{id}",
|
|
624
921
|
...options,
|
|
625
922
|
});
|
|
626
923
|
};
|
|
627
924
|
|
|
628
925
|
/**
|
|
629
|
-
*
|
|
630
|
-
*
|
|
926
|
+
* Update a contract
|
|
927
|
+
* Update an existing contract
|
|
928
|
+
* @deprecated
|
|
631
929
|
*/
|
|
632
|
-
export const
|
|
930
|
+
export const contractsControllerUpdateContract1 = <
|
|
633
931
|
ThrowOnError extends boolean = false,
|
|
634
932
|
>(
|
|
635
|
-
options: Options<
|
|
933
|
+
options: Options<ContractsControllerUpdateContract1Data, ThrowOnError>,
|
|
636
934
|
) => {
|
|
637
|
-
return (options.client ?? _heyApiClient).
|
|
638
|
-
|
|
639
|
-
|
|
935
|
+
return (options.client ?? _heyApiClient).patch<
|
|
936
|
+
ContractsControllerUpdateContract1Responses,
|
|
937
|
+
ContractsControllerUpdateContract1Errors,
|
|
640
938
|
ThrowOnError
|
|
641
939
|
>({
|
|
642
940
|
security: [
|
|
@@ -645,8 +943,7 @@ export const flightPlansControllerCreate = <
|
|
|
645
943
|
type: "apiKey",
|
|
646
944
|
},
|
|
647
945
|
],
|
|
648
|
-
|
|
649
|
-
url: "/flight-plans",
|
|
946
|
+
url: "/contracts/{id}",
|
|
650
947
|
...options,
|
|
651
948
|
headers: {
|
|
652
949
|
"Content-Type": "application/json",
|
|
@@ -656,15 +953,17 @@ export const flightPlansControllerCreate = <
|
|
|
656
953
|
};
|
|
657
954
|
|
|
658
955
|
/**
|
|
659
|
-
*
|
|
660
|
-
*
|
|
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.
|
|
661
958
|
*/
|
|
662
|
-
export const
|
|
663
|
-
|
|
959
|
+
export const dlqRedriverControllerRedriveDlq0V1 = <
|
|
960
|
+
ThrowOnError extends boolean = false,
|
|
961
|
+
>(
|
|
962
|
+
options: Options<DlqRedriverControllerRedriveDlq0V1Data, ThrowOnError>,
|
|
664
963
|
) => {
|
|
665
|
-
return (options.client ?? _heyApiClient).
|
|
666
|
-
|
|
667
|
-
|
|
964
|
+
return (options.client ?? _heyApiClient).post<
|
|
965
|
+
DlqRedriverControllerRedriveDlq0V1Responses,
|
|
966
|
+
DlqRedriverControllerRedriveDlq0V1Errors,
|
|
668
967
|
ThrowOnError
|
|
669
968
|
>({
|
|
670
969
|
security: [
|
|
@@ -673,23 +972,28 @@ export const flightPlansControllerGet = <ThrowOnError extends boolean = false>(
|
|
|
673
972
|
type: "apiKey",
|
|
674
973
|
},
|
|
675
974
|
],
|
|
676
|
-
|
|
677
|
-
url: "/flight-plans/{id}",
|
|
975
|
+
url: "/v1/dlq-redriver/redrive",
|
|
678
976
|
...options,
|
|
977
|
+
headers: {
|
|
978
|
+
"Content-Type": "application/json",
|
|
979
|
+
...options.headers,
|
|
980
|
+
},
|
|
679
981
|
});
|
|
680
982
|
};
|
|
681
983
|
|
|
682
984
|
/**
|
|
683
|
-
*
|
|
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
|
|
684
988
|
*/
|
|
685
|
-
export const
|
|
989
|
+
export const dlqRedriverControllerRedriveDlq1 = <
|
|
686
990
|
ThrowOnError extends boolean = false,
|
|
687
991
|
>(
|
|
688
|
-
options: Options<
|
|
992
|
+
options: Options<DlqRedriverControllerRedriveDlq1Data, ThrowOnError>,
|
|
689
993
|
) => {
|
|
690
|
-
return (options.client ?? _heyApiClient).
|
|
691
|
-
|
|
692
|
-
|
|
994
|
+
return (options.client ?? _heyApiClient).post<
|
|
995
|
+
DlqRedriverControllerRedriveDlq1Responses,
|
|
996
|
+
DlqRedriverControllerRedriveDlq1Errors,
|
|
693
997
|
ThrowOnError
|
|
694
998
|
>({
|
|
695
999
|
security: [
|
|
@@ -698,24 +1002,23 @@ export const flightReviewsControllerGetFlightReview = <
|
|
|
698
1002
|
type: "apiKey",
|
|
699
1003
|
},
|
|
700
1004
|
],
|
|
701
|
-
|
|
702
|
-
flightReviewsControllerGetFlightReviewResponseTransformer,
|
|
703
|
-
url: "/flight-reviews/{id}",
|
|
1005
|
+
url: "/dlq-redriver/redrive",
|
|
704
1006
|
...options,
|
|
1007
|
+
headers: {
|
|
1008
|
+
"Content-Type": "application/json",
|
|
1009
|
+
...options.headers,
|
|
1010
|
+
},
|
|
705
1011
|
});
|
|
706
1012
|
};
|
|
707
1013
|
|
|
708
|
-
|
|
709
|
-
* Get flight reviews by updated_at time range
|
|
710
|
-
*/
|
|
711
|
-
export const flightReviewsControllerGetFlightReviews = <
|
|
1014
|
+
export const flightsControllerGenerateStorageKey0V1 = <
|
|
712
1015
|
ThrowOnError extends boolean = false,
|
|
713
1016
|
>(
|
|
714
|
-
options: Options<
|
|
1017
|
+
options: Options<FlightsControllerGenerateStorageKey0V1Data, ThrowOnError>,
|
|
715
1018
|
) => {
|
|
716
1019
|
return (options.client ?? _heyApiClient).get<
|
|
717
|
-
|
|
718
|
-
|
|
1020
|
+
FlightsControllerGenerateStorageKey0V1Responses,
|
|
1021
|
+
FlightsControllerGenerateStorageKey0V1Errors,
|
|
719
1022
|
ThrowOnError
|
|
720
1023
|
>({
|
|
721
1024
|
security: [
|
|
@@ -724,39 +1027,43 @@ export const flightReviewsControllerGetFlightReviews = <
|
|
|
724
1027
|
type: "apiKey",
|
|
725
1028
|
},
|
|
726
1029
|
],
|
|
727
|
-
|
|
728
|
-
flightReviewsControllerGetFlightReviewsResponseTransformer,
|
|
729
|
-
url: "/flight-reviews",
|
|
1030
|
+
url: "/v1/flights/storage-key",
|
|
730
1031
|
...options,
|
|
731
1032
|
});
|
|
732
1033
|
};
|
|
733
1034
|
|
|
734
|
-
|
|
1035
|
+
/**
|
|
1036
|
+
* @deprecated
|
|
1037
|
+
*/
|
|
1038
|
+
export const flightsControllerGenerateStorageKey1 = <
|
|
735
1039
|
ThrowOnError extends boolean = false,
|
|
736
1040
|
>(
|
|
737
|
-
options
|
|
1041
|
+
options: Options<FlightsControllerGenerateStorageKey1Data, ThrowOnError>,
|
|
738
1042
|
) => {
|
|
739
|
-
return (options
|
|
740
|
-
|
|
741
|
-
|
|
1043
|
+
return (options.client ?? _heyApiClient).get<
|
|
1044
|
+
FlightsControllerGenerateStorageKey1Responses,
|
|
1045
|
+
FlightsControllerGenerateStorageKey1Errors,
|
|
742
1046
|
ThrowOnError
|
|
743
1047
|
>({
|
|
744
|
-
|
|
1048
|
+
security: [
|
|
1049
|
+
{
|
|
1050
|
+
name: "x-api-token",
|
|
1051
|
+
type: "apiKey",
|
|
1052
|
+
},
|
|
1053
|
+
],
|
|
1054
|
+
url: "/flights/storage-key",
|
|
745
1055
|
...options,
|
|
746
1056
|
});
|
|
747
1057
|
};
|
|
748
1058
|
|
|
749
|
-
|
|
750
|
-
* Get a mission by ID
|
|
751
|
-
*/
|
|
752
|
-
export const missionsControllerGetMission = <
|
|
1059
|
+
export const flightsControllerGetFlight0V1 = <
|
|
753
1060
|
ThrowOnError extends boolean = false,
|
|
754
1061
|
>(
|
|
755
|
-
options: Options<
|
|
1062
|
+
options: Options<FlightsControllerGetFlight0V1Data, ThrowOnError>,
|
|
756
1063
|
) => {
|
|
757
1064
|
return (options.client ?? _heyApiClient).get<
|
|
758
|
-
|
|
759
|
-
|
|
1065
|
+
FlightsControllerGetFlight0V1Responses,
|
|
1066
|
+
FlightsControllerGetFlight0V1Errors,
|
|
760
1067
|
ThrowOnError
|
|
761
1068
|
>({
|
|
762
1069
|
security: [
|
|
@@ -765,24 +1072,23 @@ export const missionsControllerGetMission = <
|
|
|
765
1072
|
type: "apiKey",
|
|
766
1073
|
},
|
|
767
1074
|
],
|
|
768
|
-
responseTransformer:
|
|
769
|
-
url: "/
|
|
1075
|
+
responseTransformer: flightsControllerGetFlight0V1ResponseTransformer,
|
|
1076
|
+
url: "/v1/flights/{flightId}",
|
|
770
1077
|
...options,
|
|
771
1078
|
});
|
|
772
1079
|
};
|
|
773
1080
|
|
|
774
1081
|
/**
|
|
775
|
-
*
|
|
776
|
-
* 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
|
|
777
1083
|
*/
|
|
778
|
-
export const
|
|
1084
|
+
export const flightsControllerGetFlight1 = <
|
|
779
1085
|
ThrowOnError extends boolean = false,
|
|
780
1086
|
>(
|
|
781
|
-
options
|
|
1087
|
+
options: Options<FlightsControllerGetFlight1Data, ThrowOnError>,
|
|
782
1088
|
) => {
|
|
783
|
-
return (options
|
|
784
|
-
|
|
785
|
-
|
|
1089
|
+
return (options.client ?? _heyApiClient).get<
|
|
1090
|
+
FlightsControllerGetFlight1Responses,
|
|
1091
|
+
FlightsControllerGetFlight1Errors,
|
|
786
1092
|
ThrowOnError
|
|
787
1093
|
>({
|
|
788
1094
|
security: [
|
|
@@ -791,24 +1097,20 @@ export const missionsControllerGetMissions = <
|
|
|
791
1097
|
type: "apiKey",
|
|
792
1098
|
},
|
|
793
1099
|
],
|
|
794
|
-
responseTransformer:
|
|
795
|
-
url: "/
|
|
1100
|
+
responseTransformer: flightsControllerGetFlight1ResponseTransformer,
|
|
1101
|
+
url: "/flights/{flightId}",
|
|
796
1102
|
...options,
|
|
797
1103
|
});
|
|
798
1104
|
};
|
|
799
1105
|
|
|
800
|
-
|
|
801
|
-
* Create new missions
|
|
802
|
-
* Create missions for specified zones and mission types.
|
|
803
|
-
*/
|
|
804
|
-
export const missionsControllerCreateMissions = <
|
|
1106
|
+
export const flightsControllerCreatePresignedUrls0V1 = <
|
|
805
1107
|
ThrowOnError extends boolean = false,
|
|
806
1108
|
>(
|
|
807
|
-
options: Options<
|
|
1109
|
+
options: Options<FlightsControllerCreatePresignedUrls0V1Data, ThrowOnError>,
|
|
808
1110
|
) => {
|
|
809
1111
|
return (options.client ?? _heyApiClient).post<
|
|
810
|
-
|
|
811
|
-
|
|
1112
|
+
FlightsControllerCreatePresignedUrls0V1Responses,
|
|
1113
|
+
FlightsControllerCreatePresignedUrls0V1Errors,
|
|
812
1114
|
ThrowOnError
|
|
813
1115
|
>({
|
|
814
1116
|
security: [
|
|
@@ -817,8 +1119,7 @@ export const missionsControllerCreateMissions = <
|
|
|
817
1119
|
type: "apiKey",
|
|
818
1120
|
},
|
|
819
1121
|
],
|
|
820
|
-
|
|
821
|
-
url: "/missions",
|
|
1122
|
+
url: "/v1/flights/files",
|
|
822
1123
|
...options,
|
|
823
1124
|
headers: {
|
|
824
1125
|
"Content-Type": "application/json",
|
|
@@ -828,17 +1129,16 @@ export const missionsControllerCreateMissions = <
|
|
|
828
1129
|
};
|
|
829
1130
|
|
|
830
1131
|
/**
|
|
831
|
-
*
|
|
832
|
-
* Update missions' rewards or cancel them altogether
|
|
1132
|
+
* @deprecated
|
|
833
1133
|
*/
|
|
834
|
-
export const
|
|
1134
|
+
export const flightsControllerCreatePresignedUrls1 = <
|
|
835
1135
|
ThrowOnError extends boolean = false,
|
|
836
1136
|
>(
|
|
837
|
-
options: Options<
|
|
1137
|
+
options: Options<FlightsControllerCreatePresignedUrls1Data, ThrowOnError>,
|
|
838
1138
|
) => {
|
|
839
|
-
return (options.client ?? _heyApiClient).
|
|
840
|
-
|
|
841
|
-
|
|
1139
|
+
return (options.client ?? _heyApiClient).post<
|
|
1140
|
+
FlightsControllerCreatePresignedUrls1Responses,
|
|
1141
|
+
FlightsControllerCreatePresignedUrls1Errors,
|
|
842
1142
|
ThrowOnError
|
|
843
1143
|
>({
|
|
844
1144
|
security: [
|
|
@@ -847,7 +1147,7 @@ export const missionsControllerUpdateMissions = <
|
|
|
847
1147
|
type: "apiKey",
|
|
848
1148
|
},
|
|
849
1149
|
],
|
|
850
|
-
url: "/
|
|
1150
|
+
url: "/flights/files",
|
|
851
1151
|
...options,
|
|
852
1152
|
headers: {
|
|
853
1153
|
"Content-Type": "application/json",
|
|
@@ -856,18 +1156,14 @@ export const missionsControllerUpdateMissions = <
|
|
|
856
1156
|
});
|
|
857
1157
|
};
|
|
858
1158
|
|
|
859
|
-
|
|
860
|
-
* Reprice missions
|
|
861
|
-
* Apply a scale factor to all open missions' vault amounts
|
|
862
|
-
*/
|
|
863
|
-
export const missionsControllerRepriceMissions = <
|
|
1159
|
+
export const flightsControllerValidateFlight0V1 = <
|
|
864
1160
|
ThrowOnError extends boolean = false,
|
|
865
1161
|
>(
|
|
866
|
-
options: Options<
|
|
1162
|
+
options: Options<FlightsControllerValidateFlight0V1Data, ThrowOnError>,
|
|
867
1163
|
) => {
|
|
868
|
-
return (options.client ?? _heyApiClient).
|
|
869
|
-
|
|
870
|
-
|
|
1164
|
+
return (options.client ?? _heyApiClient).post<
|
|
1165
|
+
FlightsControllerValidateFlight0V1Responses,
|
|
1166
|
+
FlightsControllerValidateFlight0V1Errors,
|
|
871
1167
|
ThrowOnError
|
|
872
1168
|
>({
|
|
873
1169
|
security: [
|
|
@@ -876,7 +1172,8 @@ export const missionsControllerRepriceMissions = <
|
|
|
876
1172
|
type: "apiKey",
|
|
877
1173
|
},
|
|
878
1174
|
],
|
|
879
|
-
|
|
1175
|
+
responseTransformer: flightsControllerValidateFlight0V1ResponseTransformer,
|
|
1176
|
+
url: "/v1/flights",
|
|
880
1177
|
...options,
|
|
881
1178
|
headers: {
|
|
882
1179
|
"Content-Type": "application/json",
|
|
@@ -885,17 +1182,17 @@ export const missionsControllerRepriceMissions = <
|
|
|
885
1182
|
});
|
|
886
1183
|
};
|
|
887
1184
|
|
|
888
|
-
|
|
1185
|
+
/**
|
|
1186
|
+
* @deprecated
|
|
1187
|
+
*/
|
|
1188
|
+
export const flightsControllerValidateFlight1 = <
|
|
889
1189
|
ThrowOnError extends boolean = false,
|
|
890
1190
|
>(
|
|
891
|
-
options: Options<
|
|
892
|
-
ProtocolTriggersApiControllerTriggerPayoutData,
|
|
893
|
-
ThrowOnError
|
|
894
|
-
>,
|
|
1191
|
+
options: Options<FlightsControllerValidateFlight1Data, ThrowOnError>,
|
|
895
1192
|
) => {
|
|
896
1193
|
return (options.client ?? _heyApiClient).post<
|
|
897
|
-
|
|
898
|
-
|
|
1194
|
+
FlightsControllerValidateFlight1Responses,
|
|
1195
|
+
FlightsControllerValidateFlight1Errors,
|
|
899
1196
|
ThrowOnError
|
|
900
1197
|
>({
|
|
901
1198
|
security: [
|
|
@@ -904,7 +1201,8 @@ export const protocolTriggersApiControllerTriggerPayout = <
|
|
|
904
1201
|
type: "apiKey",
|
|
905
1202
|
},
|
|
906
1203
|
],
|
|
907
|
-
|
|
1204
|
+
responseTransformer: flightsControllerValidateFlight1ResponseTransformer,
|
|
1205
|
+
url: "/flights",
|
|
908
1206
|
...options,
|
|
909
1207
|
headers: {
|
|
910
1208
|
"Content-Type": "application/json",
|
|
@@ -913,17 +1211,18 @@ export const protocolTriggersApiControllerTriggerPayout = <
|
|
|
913
1211
|
});
|
|
914
1212
|
};
|
|
915
1213
|
|
|
916
|
-
|
|
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 = <
|
|
917
1219
|
ThrowOnError extends boolean = false,
|
|
918
1220
|
>(
|
|
919
|
-
options
|
|
920
|
-
ProtocolTriggersApiControllerTriggerMissionCloseData,
|
|
921
|
-
ThrowOnError
|
|
922
|
-
>,
|
|
1221
|
+
options?: Options<FlightPlansControllerGetMany0V1Data, ThrowOnError>,
|
|
923
1222
|
) => {
|
|
924
|
-
return (options
|
|
925
|
-
|
|
926
|
-
|
|
1223
|
+
return (options?.client ?? _heyApiClient).get<
|
|
1224
|
+
FlightPlansControllerGetMany0V1Responses,
|
|
1225
|
+
FlightPlansControllerGetMany0V1Errors,
|
|
927
1226
|
ThrowOnError
|
|
928
1227
|
>({
|
|
929
1228
|
security: [
|
|
@@ -932,23 +1231,24 @@ export const protocolTriggersApiControllerTriggerMissionClose = <
|
|
|
932
1231
|
type: "apiKey",
|
|
933
1232
|
},
|
|
934
1233
|
],
|
|
935
|
-
|
|
1234
|
+
responseTransformer: flightPlansControllerGetMany0V1ResponseTransformer,
|
|
1235
|
+
url: "/v1/flight-plans",
|
|
936
1236
|
...options,
|
|
937
|
-
headers: {
|
|
938
|
-
"Content-Type": "application/json",
|
|
939
|
-
...options.headers,
|
|
940
|
-
},
|
|
941
1237
|
});
|
|
942
1238
|
};
|
|
943
1239
|
|
|
944
|
-
|
|
1240
|
+
/**
|
|
1241
|
+
* Create a new flight plan
|
|
1242
|
+
* Creates a new flight plan template with sections and connection strategy.
|
|
1243
|
+
*/
|
|
1244
|
+
export const flightPlansControllerCreate0V1 = <
|
|
945
1245
|
ThrowOnError extends boolean = false,
|
|
946
1246
|
>(
|
|
947
|
-
options: Options<
|
|
1247
|
+
options: Options<FlightPlansControllerCreate0V1Data, ThrowOnError>,
|
|
948
1248
|
) => {
|
|
949
1249
|
return (options.client ?? _heyApiClient).post<
|
|
950
|
-
|
|
951
|
-
|
|
1250
|
+
FlightPlansControllerCreate0V1Responses,
|
|
1251
|
+
FlightPlansControllerCreate0V1Errors,
|
|
952
1252
|
ThrowOnError
|
|
953
1253
|
>({
|
|
954
1254
|
security: [
|
|
@@ -957,7 +1257,8 @@ export const quotesControllerCreateQuote = <
|
|
|
957
1257
|
type: "apiKey",
|
|
958
1258
|
},
|
|
959
1259
|
],
|
|
960
|
-
|
|
1260
|
+
responseTransformer: flightPlansControllerCreate0V1ResponseTransformer,
|
|
1261
|
+
url: "/v1/flight-plans",
|
|
961
1262
|
...options,
|
|
962
1263
|
headers: {
|
|
963
1264
|
"Content-Type": "application/json",
|
|
@@ -966,12 +1267,19 @@ export const quotesControllerCreateQuote = <
|
|
|
966
1267
|
});
|
|
967
1268
|
};
|
|
968
1269
|
|
|
969
|
-
|
|
970
|
-
|
|
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 = <
|
|
1276
|
+
ThrowOnError extends boolean = false,
|
|
1277
|
+
>(
|
|
1278
|
+
options?: Options<FlightPlansControllerGetMany1Data, ThrowOnError>,
|
|
971
1279
|
) => {
|
|
972
|
-
return (options
|
|
973
|
-
|
|
974
|
-
|
|
1280
|
+
return (options?.client ?? _heyApiClient).get<
|
|
1281
|
+
FlightPlansControllerGetMany1Responses,
|
|
1282
|
+
FlightPlansControllerGetMany1Errors,
|
|
975
1283
|
ThrowOnError
|
|
976
1284
|
>({
|
|
977
1285
|
security: [
|
|
@@ -980,40 +1288,25 @@ export const quotesControllerGetQuote = <ThrowOnError extends boolean = false>(
|
|
|
980
1288
|
type: "apiKey",
|
|
981
1289
|
},
|
|
982
1290
|
],
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
});
|
|
986
|
-
};
|
|
987
|
-
|
|
988
|
-
export const schemaControllerGetEventSchema = <
|
|
989
|
-
ThrowOnError extends boolean = false,
|
|
990
|
-
>(
|
|
991
|
-
options?: Options<SchemaControllerGetEventSchemaData, ThrowOnError>,
|
|
992
|
-
) => {
|
|
993
|
-
return (options?.client ?? _heyApiClient).get<
|
|
994
|
-
SchemaControllerGetEventSchemaResponses,
|
|
995
|
-
unknown,
|
|
996
|
-
ThrowOnError
|
|
997
|
-
>({
|
|
998
|
-
url: "/schema/event",
|
|
1291
|
+
responseTransformer: flightPlansControllerGetMany1ResponseTransformer,
|
|
1292
|
+
url: "/flight-plans",
|
|
999
1293
|
...options,
|
|
1000
1294
|
});
|
|
1001
1295
|
};
|
|
1002
1296
|
|
|
1003
1297
|
/**
|
|
1004
|
-
* Create new
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
1007
|
-
* 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
|
|
1008
1301
|
*/
|
|
1009
|
-
export const
|
|
1302
|
+
export const flightPlansControllerCreate1 = <
|
|
1010
1303
|
ThrowOnError extends boolean = false,
|
|
1011
1304
|
>(
|
|
1012
|
-
options: Options<
|
|
1305
|
+
options: Options<FlightPlansControllerCreate1Data, ThrowOnError>,
|
|
1013
1306
|
) => {
|
|
1014
1307
|
return (options.client ?? _heyApiClient).post<
|
|
1015
|
-
|
|
1016
|
-
|
|
1308
|
+
FlightPlansControllerCreate1Responses,
|
|
1309
|
+
FlightPlansControllerCreate1Errors,
|
|
1017
1310
|
ThrowOnError
|
|
1018
1311
|
>({
|
|
1019
1312
|
security: [
|
|
@@ -1021,12 +1314,9 @@ export const vaultsControllerCreateVaults = <
|
|
|
1021
1314
|
name: "x-api-token",
|
|
1022
1315
|
type: "apiKey",
|
|
1023
1316
|
},
|
|
1024
|
-
{
|
|
1025
|
-
name: "x-api-token",
|
|
1026
|
-
type: "apiKey",
|
|
1027
|
-
},
|
|
1028
1317
|
],
|
|
1029
|
-
|
|
1318
|
+
responseTransformer: flightPlansControllerCreate1ResponseTransformer,
|
|
1319
|
+
url: "/flight-plans",
|
|
1030
1320
|
...options,
|
|
1031
1321
|
headers: {
|
|
1032
1322
|
"Content-Type": "application/json",
|
|
@@ -1035,12 +1325,18 @@ export const vaultsControllerCreateVaults = <
|
|
|
1035
1325
|
});
|
|
1036
1326
|
};
|
|
1037
1327
|
|
|
1038
|
-
|
|
1039
|
-
|
|
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>,
|
|
1040
1336
|
) => {
|
|
1041
1337
|
return (options.client ?? _heyApiClient).get<
|
|
1042
|
-
|
|
1043
|
-
|
|
1338
|
+
FlightPlansControllerGet0V1Responses,
|
|
1339
|
+
FlightPlansControllerGet0V1Errors,
|
|
1044
1340
|
ThrowOnError
|
|
1045
1341
|
>({
|
|
1046
1342
|
security: [
|
|
@@ -1049,18 +1345,23 @@ export const webhooksControllerGetMany = <ThrowOnError extends boolean = false>(
|
|
|
1049
1345
|
type: "apiKey",
|
|
1050
1346
|
},
|
|
1051
1347
|
],
|
|
1052
|
-
responseTransformer:
|
|
1053
|
-
url: "/
|
|
1348
|
+
responseTransformer: flightPlansControllerGet0V1ResponseTransformer,
|
|
1349
|
+
url: "/v1/flight-plans/{id}",
|
|
1054
1350
|
...options,
|
|
1055
1351
|
});
|
|
1056
1352
|
};
|
|
1057
1353
|
|
|
1058
|
-
|
|
1059
|
-
|
|
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>,
|
|
1060
1361
|
) => {
|
|
1061
|
-
return (options.client ?? _heyApiClient).
|
|
1062
|
-
|
|
1063
|
-
|
|
1362
|
+
return (options.client ?? _heyApiClient).get<
|
|
1363
|
+
FlightPlansControllerGet1Responses,
|
|
1364
|
+
FlightPlansControllerGet1Errors,
|
|
1064
1365
|
ThrowOnError
|
|
1065
1366
|
>({
|
|
1066
1367
|
security: [
|
|
@@ -1069,21 +1370,23 @@ export const webhooksControllerCreate = <ThrowOnError extends boolean = false>(
|
|
|
1069
1370
|
type: "apiKey",
|
|
1070
1371
|
},
|
|
1071
1372
|
],
|
|
1072
|
-
|
|
1373
|
+
responseTransformer: flightPlansControllerGet1ResponseTransformer,
|
|
1374
|
+
url: "/flight-plans/{id}",
|
|
1073
1375
|
...options,
|
|
1074
|
-
headers: {
|
|
1075
|
-
"Content-Type": "application/json",
|
|
1076
|
-
...options.headers,
|
|
1077
|
-
},
|
|
1078
1376
|
});
|
|
1079
1377
|
};
|
|
1080
1378
|
|
|
1081
|
-
|
|
1082
|
-
|
|
1379
|
+
/**
|
|
1380
|
+
* Get a flight review by ID
|
|
1381
|
+
*/
|
|
1382
|
+
export const flightReviewsControllerGetFlightReview0V1 = <
|
|
1383
|
+
ThrowOnError extends boolean = false,
|
|
1384
|
+
>(
|
|
1385
|
+
options: Options<FlightReviewsControllerGetFlightReview0V1Data, ThrowOnError>,
|
|
1083
1386
|
) => {
|
|
1084
|
-
return (options.client ?? _heyApiClient).
|
|
1085
|
-
|
|
1086
|
-
|
|
1387
|
+
return (options.client ?? _heyApiClient).get<
|
|
1388
|
+
FlightReviewsControllerGetFlightReview0V1Responses,
|
|
1389
|
+
FlightReviewsControllerGetFlightReview0V1Errors,
|
|
1087
1390
|
ThrowOnError
|
|
1088
1391
|
>({
|
|
1089
1392
|
security: [
|
|
@@ -1092,17 +1395,25 @@ export const webhooksControllerDelete = <ThrowOnError extends boolean = false>(
|
|
|
1092
1395
|
type: "apiKey",
|
|
1093
1396
|
},
|
|
1094
1397
|
],
|
|
1095
|
-
|
|
1398
|
+
responseTransformer:
|
|
1399
|
+
flightReviewsControllerGetFlightReview0V1ResponseTransformer,
|
|
1400
|
+
url: "/v1/flight-reviews/{id}",
|
|
1096
1401
|
...options,
|
|
1097
1402
|
});
|
|
1098
1403
|
};
|
|
1099
1404
|
|
|
1100
|
-
|
|
1101
|
-
|
|
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>,
|
|
1102
1413
|
) => {
|
|
1103
1414
|
return (options.client ?? _heyApiClient).get<
|
|
1104
|
-
|
|
1105
|
-
|
|
1415
|
+
FlightReviewsControllerGetFlightReview1Responses,
|
|
1416
|
+
FlightReviewsControllerGetFlightReview1Errors,
|
|
1106
1417
|
ThrowOnError
|
|
1107
1418
|
>({
|
|
1108
1419
|
security: [
|
|
@@ -1111,18 +1422,27 @@ export const webhooksControllerGet = <ThrowOnError extends boolean = false>(
|
|
|
1111
1422
|
type: "apiKey",
|
|
1112
1423
|
},
|
|
1113
1424
|
],
|
|
1114
|
-
responseTransformer:
|
|
1115
|
-
|
|
1425
|
+
responseTransformer:
|
|
1426
|
+
flightReviewsControllerGetFlightReview1ResponseTransformer,
|
|
1427
|
+
url: "/flight-reviews/{id}",
|
|
1116
1428
|
...options,
|
|
1117
1429
|
});
|
|
1118
1430
|
};
|
|
1119
1431
|
|
|
1120
|
-
|
|
1121
|
-
|
|
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
|
+
>,
|
|
1122
1442
|
) => {
|
|
1123
|
-
return (options.client ?? _heyApiClient).
|
|
1124
|
-
|
|
1125
|
-
|
|
1443
|
+
return (options.client ?? _heyApiClient).get<
|
|
1444
|
+
FlightReviewsControllerGetFlightReviews0V1Responses,
|
|
1445
|
+
FlightReviewsControllerGetFlightReviews0V1Errors,
|
|
1126
1446
|
ThrowOnError
|
|
1127
1447
|
>({
|
|
1128
1448
|
security: [
|
|
@@ -1131,24 +1451,25 @@ export const webhooksControllerUpdate = <ThrowOnError extends boolean = false>(
|
|
|
1131
1451
|
type: "apiKey",
|
|
1132
1452
|
},
|
|
1133
1453
|
],
|
|
1134
|
-
responseTransformer:
|
|
1135
|
-
|
|
1454
|
+
responseTransformer:
|
|
1455
|
+
flightReviewsControllerGetFlightReviews0V1ResponseTransformer,
|
|
1456
|
+
url: "/v1/flight-reviews",
|
|
1136
1457
|
...options,
|
|
1137
|
-
headers: {
|
|
1138
|
-
"Content-Type": "application/json",
|
|
1139
|
-
...options.headers,
|
|
1140
|
-
},
|
|
1141
1458
|
});
|
|
1142
1459
|
};
|
|
1143
1460
|
|
|
1144
|
-
|
|
1461
|
+
/**
|
|
1462
|
+
* Get flight reviews by updated_at time range
|
|
1463
|
+
* @deprecated
|
|
1464
|
+
*/
|
|
1465
|
+
export const flightReviewsControllerGetFlightReviews1 = <
|
|
1145
1466
|
ThrowOnError extends boolean = false,
|
|
1146
1467
|
>(
|
|
1147
|
-
options: Options<
|
|
1468
|
+
options: Options<FlightReviewsControllerGetFlightReviews1Data, ThrowOnError>,
|
|
1148
1469
|
) => {
|
|
1149
|
-
return (options.client ?? _heyApiClient).
|
|
1150
|
-
|
|
1151
|
-
|
|
1470
|
+
return (options.client ?? _heyApiClient).get<
|
|
1471
|
+
FlightReviewsControllerGetFlightReviews1Responses,
|
|
1472
|
+
FlightReviewsControllerGetFlightReviews1Errors,
|
|
1152
1473
|
ThrowOnError
|
|
1153
1474
|
>({
|
|
1154
1475
|
security: [
|
|
@@ -1157,43 +1478,57 @@ export const webhooksControllerRegenerateSecret = <
|
|
|
1157
1478
|
type: "apiKey",
|
|
1158
1479
|
},
|
|
1159
1480
|
],
|
|
1160
|
-
responseTransformer:
|
|
1161
|
-
|
|
1481
|
+
responseTransformer:
|
|
1482
|
+
flightReviewsControllerGetFlightReviews1ResponseTransformer,
|
|
1483
|
+
url: "/flight-reviews",
|
|
1162
1484
|
...options,
|
|
1163
|
-
headers: {
|
|
1164
|
-
"Content-Type": "application/json",
|
|
1165
|
-
...options.headers,
|
|
1166
|
-
},
|
|
1167
1485
|
});
|
|
1168
1486
|
};
|
|
1169
1487
|
|
|
1170
|
-
export const
|
|
1171
|
-
|
|
1488
|
+
export const keysControllerGetProvenanceCryptoKey0V1 = <
|
|
1489
|
+
ThrowOnError extends boolean = false,
|
|
1490
|
+
>(
|
|
1491
|
+
options?: Options<KeysControllerGetProvenanceCryptoKey0V1Data, ThrowOnError>,
|
|
1172
1492
|
) => {
|
|
1173
|
-
return (options
|
|
1174
|
-
|
|
1175
|
-
|
|
1493
|
+
return (options?.client ?? _heyApiClient).get<
|
|
1494
|
+
KeysControllerGetProvenanceCryptoKey0V1Responses,
|
|
1495
|
+
unknown,
|
|
1176
1496
|
ThrowOnError
|
|
1177
1497
|
>({
|
|
1178
|
-
|
|
1179
|
-
{
|
|
1180
|
-
name: "x-api-token",
|
|
1181
|
-
type: "apiKey",
|
|
1182
|
-
},
|
|
1183
|
-
],
|
|
1184
|
-
url: "/org/{org_id}/webhooks/{id}/test",
|
|
1498
|
+
url: "/v1/keys",
|
|
1185
1499
|
...options,
|
|
1186
1500
|
});
|
|
1187
1501
|
};
|
|
1188
1502
|
|
|
1189
|
-
|
|
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 = <
|
|
1190
1525
|
ThrowOnError extends boolean = false,
|
|
1191
1526
|
>(
|
|
1192
|
-
options: Options<
|
|
1527
|
+
options: Options<MissionsControllerGetMission0V1Data, ThrowOnError>,
|
|
1193
1528
|
) => {
|
|
1194
1529
|
return (options.client ?? _heyApiClient).get<
|
|
1195
|
-
|
|
1196
|
-
|
|
1530
|
+
MissionsControllerGetMission0V1Responses,
|
|
1531
|
+
MissionsControllerGetMission0V1Errors,
|
|
1197
1532
|
ThrowOnError
|
|
1198
1533
|
>({
|
|
1199
1534
|
security: [
|
|
@@ -1202,20 +1537,24 @@ export const webhooksControllerGetStatus = <
|
|
|
1202
1537
|
type: "apiKey",
|
|
1203
1538
|
},
|
|
1204
1539
|
],
|
|
1205
|
-
|
|
1540
|
+
responseTransformer: missionsControllerGetMission0V1ResponseTransformer,
|
|
1541
|
+
url: "/v1/missions/{id}",
|
|
1206
1542
|
...options,
|
|
1207
1543
|
});
|
|
1208
1544
|
};
|
|
1209
1545
|
|
|
1210
1546
|
/**
|
|
1211
|
-
*
|
|
1547
|
+
* Get a mission by ID
|
|
1548
|
+
* @deprecated
|
|
1212
1549
|
*/
|
|
1213
|
-
export const
|
|
1214
|
-
|
|
1550
|
+
export const missionsControllerGetMission1 = <
|
|
1551
|
+
ThrowOnError extends boolean = false,
|
|
1552
|
+
>(
|
|
1553
|
+
options: Options<MissionsControllerGetMission1Data, ThrowOnError>,
|
|
1215
1554
|
) => {
|
|
1216
|
-
return (options.client ?? _heyApiClient).
|
|
1217
|
-
|
|
1218
|
-
|
|
1555
|
+
return (options.client ?? _heyApiClient).get<
|
|
1556
|
+
MissionsControllerGetMission1Responses,
|
|
1557
|
+
MissionsControllerGetMission1Errors,
|
|
1219
1558
|
ThrowOnError
|
|
1220
1559
|
>({
|
|
1221
1560
|
security: [
|
|
@@ -1224,25 +1563,24 @@ export const zonesControllerCreateZone = <ThrowOnError extends boolean = false>(
|
|
|
1224
1563
|
type: "apiKey",
|
|
1225
1564
|
},
|
|
1226
1565
|
],
|
|
1227
|
-
responseTransformer:
|
|
1228
|
-
url: "/
|
|
1566
|
+
responseTransformer: missionsControllerGetMission1ResponseTransformer,
|
|
1567
|
+
url: "/missions/{id}",
|
|
1229
1568
|
...options,
|
|
1230
|
-
headers: {
|
|
1231
|
-
"Content-Type": "application/json",
|
|
1232
|
-
...options.headers,
|
|
1233
|
-
},
|
|
1234
1569
|
});
|
|
1235
1570
|
};
|
|
1236
1571
|
|
|
1237
1572
|
/**
|
|
1238
|
-
*
|
|
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.
|
|
1239
1575
|
*/
|
|
1240
|
-
export const
|
|
1241
|
-
|
|
1576
|
+
export const missionsControllerGetMissions0V1 = <
|
|
1577
|
+
ThrowOnError extends boolean = false,
|
|
1578
|
+
>(
|
|
1579
|
+
options?: Options<MissionsControllerGetMissions0V1Data, ThrowOnError>,
|
|
1242
1580
|
) => {
|
|
1243
|
-
return (options
|
|
1244
|
-
|
|
1245
|
-
|
|
1581
|
+
return (options?.client ?? _heyApiClient).get<
|
|
1582
|
+
MissionsControllerGetMissions0V1Responses,
|
|
1583
|
+
MissionsControllerGetMissions0V1Errors,
|
|
1246
1584
|
ThrowOnError
|
|
1247
1585
|
>({
|
|
1248
1586
|
security: [
|
|
@@ -1251,20 +1589,24 @@ export const zonesControllerDeleteZone = <ThrowOnError extends boolean = false>(
|
|
|
1251
1589
|
type: "apiKey",
|
|
1252
1590
|
},
|
|
1253
1591
|
],
|
|
1254
|
-
|
|
1592
|
+
responseTransformer: missionsControllerGetMissions0V1ResponseTransformer,
|
|
1593
|
+
url: "/v1/missions",
|
|
1255
1594
|
...options,
|
|
1256
1595
|
});
|
|
1257
1596
|
};
|
|
1258
1597
|
|
|
1259
1598
|
/**
|
|
1260
|
-
*
|
|
1599
|
+
* Create new missions
|
|
1600
|
+
* Create missions for specified zones and mission types.
|
|
1261
1601
|
*/
|
|
1262
|
-
export const
|
|
1263
|
-
|
|
1602
|
+
export const missionsControllerCreateMissions0V1 = <
|
|
1603
|
+
ThrowOnError extends boolean = false,
|
|
1604
|
+
>(
|
|
1605
|
+
options: Options<MissionsControllerCreateMissions0V1Data, ThrowOnError>,
|
|
1264
1606
|
) => {
|
|
1265
|
-
return (options.client ?? _heyApiClient).
|
|
1266
|
-
|
|
1267
|
-
|
|
1607
|
+
return (options.client ?? _heyApiClient).post<
|
|
1608
|
+
MissionsControllerCreateMissions0V1Responses,
|
|
1609
|
+
MissionsControllerCreateMissions0V1Errors,
|
|
1268
1610
|
ThrowOnError
|
|
1269
1611
|
>({
|
|
1270
1612
|
security: [
|
|
@@ -1273,8 +1615,8 @@ export const zonesControllerUpdateZone = <ThrowOnError extends boolean = false>(
|
|
|
1273
1615
|
type: "apiKey",
|
|
1274
1616
|
},
|
|
1275
1617
|
],
|
|
1276
|
-
responseTransformer:
|
|
1277
|
-
url: "/
|
|
1618
|
+
responseTransformer: missionsControllerCreateMissions0V1ResponseTransformer,
|
|
1619
|
+
url: "/v1/missions",
|
|
1278
1620
|
...options,
|
|
1279
1621
|
headers: {
|
|
1280
1622
|
"Content-Type": "application/json",
|
|
@@ -1284,20 +1626,17 @@ export const zonesControllerUpdateZone = <ThrowOnError extends boolean = false>(
|
|
|
1284
1626
|
};
|
|
1285
1627
|
|
|
1286
1628
|
/**
|
|
1287
|
-
*
|
|
1288
|
-
*
|
|
1629
|
+
* Update missions
|
|
1630
|
+
* Update missions' rewards or cancel them altogether
|
|
1289
1631
|
*/
|
|
1290
|
-
export const
|
|
1632
|
+
export const missionsControllerUpdateMissions0V1 = <
|
|
1291
1633
|
ThrowOnError extends boolean = false,
|
|
1292
1634
|
>(
|
|
1293
|
-
options: Options<
|
|
1294
|
-
EventProcessorMissionsSyncControllerResyncMissionsData,
|
|
1295
|
-
ThrowOnError
|
|
1296
|
-
>,
|
|
1635
|
+
options: Options<MissionsControllerUpdateMissions0V1Data, ThrowOnError>,
|
|
1297
1636
|
) => {
|
|
1298
1637
|
return (options.client ?? _heyApiClient).put<
|
|
1299
|
-
|
|
1300
|
-
|
|
1638
|
+
MissionsControllerUpdateMissions0V1Responses,
|
|
1639
|
+
MissionsControllerUpdateMissions0V1Errors,
|
|
1301
1640
|
ThrowOnError
|
|
1302
1641
|
>({
|
|
1303
1642
|
security: [
|
|
@@ -1306,7 +1645,7 @@ export const eventProcessorMissionsSyncControllerResyncMissions = <
|
|
|
1306
1645
|
type: "apiKey",
|
|
1307
1646
|
},
|
|
1308
1647
|
],
|
|
1309
|
-
url: "/
|
|
1648
|
+
url: "/v1/missions",
|
|
1310
1649
|
...options,
|
|
1311
1650
|
headers: {
|
|
1312
1651
|
"Content-Type": "application/json",
|
|
@@ -1316,20 +1655,18 @@ export const eventProcessorMissionsSyncControllerResyncMissions = <
|
|
|
1316
1655
|
};
|
|
1317
1656
|
|
|
1318
1657
|
/**
|
|
1319
|
-
*
|
|
1320
|
-
*
|
|
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
|
|
1321
1661
|
*/
|
|
1322
|
-
export const
|
|
1662
|
+
export const missionsControllerGetMissions1 = <
|
|
1323
1663
|
ThrowOnError extends boolean = false,
|
|
1324
1664
|
>(
|
|
1325
|
-
options
|
|
1326
|
-
EventProcessorFlightReviewsSyncControllerResyncFlightReviewsData,
|
|
1327
|
-
ThrowOnError
|
|
1328
|
-
>,
|
|
1665
|
+
options?: Options<MissionsControllerGetMissions1Data, ThrowOnError>,
|
|
1329
1666
|
) => {
|
|
1330
|
-
return (options
|
|
1331
|
-
|
|
1332
|
-
|
|
1667
|
+
return (options?.client ?? _heyApiClient).get<
|
|
1668
|
+
MissionsControllerGetMissions1Responses,
|
|
1669
|
+
MissionsControllerGetMissions1Errors,
|
|
1333
1670
|
ThrowOnError
|
|
1334
1671
|
>({
|
|
1335
1672
|
security: [
|
|
@@ -1338,26 +1675,35 @@ export const eventProcessorFlightReviewsSyncControllerResyncFlightReviews = <
|
|
|
1338
1675
|
type: "apiKey",
|
|
1339
1676
|
},
|
|
1340
1677
|
],
|
|
1341
|
-
|
|
1678
|
+
responseTransformer: missionsControllerGetMissions1ResponseTransformer,
|
|
1679
|
+
url: "/missions",
|
|
1342
1680
|
...options,
|
|
1343
|
-
headers: {
|
|
1344
|
-
"Content-Type": "application/json",
|
|
1345
|
-
...options.headers,
|
|
1346
|
-
},
|
|
1347
1681
|
});
|
|
1348
1682
|
};
|
|
1349
1683
|
|
|
1350
|
-
|
|
1684
|
+
/**
|
|
1685
|
+
* Create new missions
|
|
1686
|
+
* Create missions for specified zones and mission types.
|
|
1687
|
+
* @deprecated
|
|
1688
|
+
*/
|
|
1689
|
+
export const missionsControllerCreateMissions1 = <
|
|
1351
1690
|
ThrowOnError extends boolean = false,
|
|
1352
1691
|
>(
|
|
1353
|
-
options: Options<
|
|
1692
|
+
options: Options<MissionsControllerCreateMissions1Data, ThrowOnError>,
|
|
1354
1693
|
) => {
|
|
1355
1694
|
return (options.client ?? _heyApiClient).post<
|
|
1356
|
-
|
|
1357
|
-
|
|
1695
|
+
MissionsControllerCreateMissions1Responses,
|
|
1696
|
+
MissionsControllerCreateMissions1Errors,
|
|
1358
1697
|
ThrowOnError
|
|
1359
1698
|
>({
|
|
1360
|
-
|
|
1699
|
+
security: [
|
|
1700
|
+
{
|
|
1701
|
+
name: "x-api-token",
|
|
1702
|
+
type: "apiKey",
|
|
1703
|
+
},
|
|
1704
|
+
],
|
|
1705
|
+
responseTransformer: missionsControllerCreateMissions1ResponseTransformer,
|
|
1706
|
+
url: "/missions",
|
|
1361
1707
|
...options,
|
|
1362
1708
|
headers: {
|
|
1363
1709
|
"Content-Type": "application/json",
|
|
@@ -1367,16 +1713,18 @@ export const alchemyControllerHandleWebhook = <
|
|
|
1367
1713
|
};
|
|
1368
1714
|
|
|
1369
1715
|
/**
|
|
1370
|
-
*
|
|
1716
|
+
* Update missions
|
|
1717
|
+
* Update missions' rewards or cancel them altogether
|
|
1718
|
+
* @deprecated
|
|
1371
1719
|
*/
|
|
1372
|
-
export const
|
|
1720
|
+
export const missionsControllerUpdateMissions1 = <
|
|
1373
1721
|
ThrowOnError extends boolean = false,
|
|
1374
1722
|
>(
|
|
1375
|
-
options
|
|
1723
|
+
options: Options<MissionsControllerUpdateMissions1Data, ThrowOnError>,
|
|
1376
1724
|
) => {
|
|
1377
|
-
return (options
|
|
1378
|
-
|
|
1379
|
-
|
|
1725
|
+
return (options.client ?? _heyApiClient).put<
|
|
1726
|
+
MissionsControllerUpdateMissions1Responses,
|
|
1727
|
+
MissionsControllerUpdateMissions1Errors,
|
|
1380
1728
|
ThrowOnError
|
|
1381
1729
|
>({
|
|
1382
1730
|
security: [
|
|
@@ -1385,27 +1733,27 @@ export const inboundWebhookConfigsControllerGetMany = <
|
|
|
1385
1733
|
type: "apiKey",
|
|
1386
1734
|
},
|
|
1387
1735
|
],
|
|
1388
|
-
|
|
1389
|
-
inboundWebhookConfigsControllerGetManyResponseTransformer,
|
|
1390
|
-
url: "/webhooks/inbound/configs",
|
|
1736
|
+
url: "/missions",
|
|
1391
1737
|
...options,
|
|
1738
|
+
headers: {
|
|
1739
|
+
"Content-Type": "application/json",
|
|
1740
|
+
...options.headers,
|
|
1741
|
+
},
|
|
1392
1742
|
});
|
|
1393
1743
|
};
|
|
1394
1744
|
|
|
1395
1745
|
/**
|
|
1396
|
-
*
|
|
1397
|
-
*
|
|
1398
|
-
* by the /webhooks/inbound/alchemy endpoint.
|
|
1399
|
-
* [Detailed Instructions](https://github.com/spexigeo/layer-drone/blob/main/apps/protocol-api/src/modules/api/webhooks/inbound/alchemy/README.md)
|
|
1746
|
+
* Reprice missions
|
|
1747
|
+
* Apply a scale factor to all open missions' vault amounts
|
|
1400
1748
|
*/
|
|
1401
|
-
export const
|
|
1749
|
+
export const missionsControllerRepriceMissions0V1 = <
|
|
1402
1750
|
ThrowOnError extends boolean = false,
|
|
1403
1751
|
>(
|
|
1404
|
-
options: Options<
|
|
1752
|
+
options: Options<MissionsControllerRepriceMissions0V1Data, ThrowOnError>,
|
|
1405
1753
|
) => {
|
|
1406
|
-
return (options.client ?? _heyApiClient).
|
|
1407
|
-
|
|
1408
|
-
|
|
1754
|
+
return (options.client ?? _heyApiClient).put<
|
|
1755
|
+
MissionsControllerRepriceMissions0V1Responses,
|
|
1756
|
+
MissionsControllerRepriceMissions0V1Errors,
|
|
1409
1757
|
ThrowOnError
|
|
1410
1758
|
>({
|
|
1411
1759
|
security: [
|
|
@@ -1414,9 +1762,1275 @@ export const inboundWebhookConfigsControllerCreate = <
|
|
|
1414
1762
|
type: "apiKey",
|
|
1415
1763
|
},
|
|
1416
1764
|
],
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1765
|
+
url: "/v1/missions/amounts",
|
|
1766
|
+
...options,
|
|
1767
|
+
headers: {
|
|
1768
|
+
"Content-Type": "application/json",
|
|
1769
|
+
...options.headers,
|
|
1770
|
+
},
|
|
1771
|
+
});
|
|
1772
|
+
};
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* Reprice missions
|
|
1776
|
+
* Apply a scale factor to all open missions' vault amounts
|
|
1777
|
+
* @deprecated
|
|
1778
|
+
*/
|
|
1779
|
+
export const missionsControllerRepriceMissions1 = <
|
|
1780
|
+
ThrowOnError extends boolean = false,
|
|
1781
|
+
>(
|
|
1782
|
+
options: Options<MissionsControllerRepriceMissions1Data, ThrowOnError>,
|
|
1783
|
+
) => {
|
|
1784
|
+
return (options.client ?? _heyApiClient).put<
|
|
1785
|
+
MissionsControllerRepriceMissions1Responses,
|
|
1786
|
+
MissionsControllerRepriceMissions1Errors,
|
|
1787
|
+
ThrowOnError
|
|
1788
|
+
>({
|
|
1789
|
+
security: [
|
|
1790
|
+
{
|
|
1791
|
+
name: "x-api-token",
|
|
1792
|
+
type: "apiKey",
|
|
1793
|
+
},
|
|
1794
|
+
],
|
|
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}",
|
|
1420
3034
|
...options,
|
|
1421
3035
|
headers: {
|
|
1422
3036
|
"Content-Type": "application/json",
|
|
@@ -1427,15 +3041,16 @@ export const inboundWebhookConfigsControllerCreate = <
|
|
|
1427
3041
|
|
|
1428
3042
|
/**
|
|
1429
3043
|
* Delete an inbound webhook config
|
|
3044
|
+
* @deprecated
|
|
1430
3045
|
*/
|
|
1431
|
-
export const
|
|
3046
|
+
export const inboundWebhookConfigsControllerDelete1 = <
|
|
1432
3047
|
ThrowOnError extends boolean = false,
|
|
1433
3048
|
>(
|
|
1434
|
-
options: Options<
|
|
3049
|
+
options: Options<InboundWebhookConfigsControllerDelete1Data, ThrowOnError>,
|
|
1435
3050
|
) => {
|
|
1436
3051
|
return (options.client ?? _heyApiClient).delete<
|
|
1437
|
-
|
|
1438
|
-
|
|
3052
|
+
InboundWebhookConfigsControllerDelete1Responses,
|
|
3053
|
+
InboundWebhookConfigsControllerDelete1Errors,
|
|
1439
3054
|
ThrowOnError
|
|
1440
3055
|
>({
|
|
1441
3056
|
security: [
|
|
@@ -1451,15 +3066,16 @@ export const inboundWebhookConfigsControllerDelete = <
|
|
|
1451
3066
|
|
|
1452
3067
|
/**
|
|
1453
3068
|
* Get an inbound webhook config by id
|
|
3069
|
+
* @deprecated
|
|
1454
3070
|
*/
|
|
1455
|
-
export const
|
|
3071
|
+
export const inboundWebhookConfigsControllerGet1 = <
|
|
1456
3072
|
ThrowOnError extends boolean = false,
|
|
1457
3073
|
>(
|
|
1458
|
-
options: Options<
|
|
3074
|
+
options: Options<InboundWebhookConfigsControllerGet1Data, ThrowOnError>,
|
|
1459
3075
|
) => {
|
|
1460
3076
|
return (options.client ?? _heyApiClient).get<
|
|
1461
|
-
|
|
1462
|
-
|
|
3077
|
+
InboundWebhookConfigsControllerGet1Responses,
|
|
3078
|
+
InboundWebhookConfigsControllerGet1Errors,
|
|
1463
3079
|
ThrowOnError
|
|
1464
3080
|
>({
|
|
1465
3081
|
security: [
|
|
@@ -1468,7 +3084,7 @@ export const inboundWebhookConfigsControllerGet = <
|
|
|
1468
3084
|
type: "apiKey",
|
|
1469
3085
|
},
|
|
1470
3086
|
],
|
|
1471
|
-
responseTransformer:
|
|
3087
|
+
responseTransformer: inboundWebhookConfigsControllerGet1ResponseTransformer,
|
|
1472
3088
|
url: "/webhooks/inbound/configs/{id}",
|
|
1473
3089
|
...options,
|
|
1474
3090
|
});
|
|
@@ -1476,15 +3092,16 @@ export const inboundWebhookConfigsControllerGet = <
|
|
|
1476
3092
|
|
|
1477
3093
|
/**
|
|
1478
3094
|
* Update an inbound webhook config
|
|
3095
|
+
* @deprecated
|
|
1479
3096
|
*/
|
|
1480
|
-
export const
|
|
3097
|
+
export const inboundWebhookConfigsControllerUpdate1 = <
|
|
1481
3098
|
ThrowOnError extends boolean = false,
|
|
1482
3099
|
>(
|
|
1483
|
-
options: Options<
|
|
3100
|
+
options: Options<InboundWebhookConfigsControllerUpdate1Data, ThrowOnError>,
|
|
1484
3101
|
) => {
|
|
1485
3102
|
return (options.client ?? _heyApiClient).put<
|
|
1486
|
-
|
|
1487
|
-
|
|
3103
|
+
InboundWebhookConfigsControllerUpdate1Responses,
|
|
3104
|
+
InboundWebhookConfigsControllerUpdate1Errors,
|
|
1488
3105
|
ThrowOnError
|
|
1489
3106
|
>({
|
|
1490
3107
|
security: [
|
|
@@ -1494,7 +3111,7 @@ export const inboundWebhookConfigsControllerUpdate = <
|
|
|
1494
3111
|
},
|
|
1495
3112
|
],
|
|
1496
3113
|
responseTransformer:
|
|
1497
|
-
|
|
3114
|
+
inboundWebhookConfigsControllerUpdate1ResponseTransformer,
|
|
1498
3115
|
url: "/webhooks/inbound/configs/{id}",
|
|
1499
3116
|
...options,
|
|
1500
3117
|
headers: {
|