@layer-drone/protocol 0.8.0 → 1.0.1
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 +1593 -330
- package/dist/index.d.ts +1593 -330
- package/dist/index.js +1553 -393
- package/dist/index.mjs +1433 -340
- package/package.json +1 -1
- package/src/client/sdk.gen.ts +2585 -599
- package/src/client/transformers.gen.ts +304 -77
- package/src/client/types.gen.ts +2223 -491
|
@@ -1,28 +1,53 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
3
|
+
ApiTokenControllerUpdateToken0V1Response,
|
|
4
|
+
ApiTokenControllerUpdateToken1Response,
|
|
5
|
+
ConditionsControllerGetSunAltitudeTimeLimits0V1Response,
|
|
6
|
+
ConditionsControllerGetSunAltitudeTimeLimits1Response,
|
|
7
|
+
ContractsControllerGetAllContracts0V1Response,
|
|
8
|
+
ContractsControllerGetAllContracts1Response,
|
|
9
|
+
FlightPlansControllerCreate0V1Response,
|
|
10
|
+
FlightPlansControllerCreate1Response,
|
|
11
|
+
FlightPlansControllerGet0V1Response,
|
|
12
|
+
FlightPlansControllerGet1Response,
|
|
13
|
+
FlightPlansControllerGetMany0V1Response,
|
|
14
|
+
FlightPlansControllerGetMany1Response,
|
|
15
|
+
FlightReviewsControllerGetFlightReview0V1Response,
|
|
16
|
+
FlightReviewsControllerGetFlightReview1Response,
|
|
17
|
+
FlightReviewsControllerGetFlightReviews0V1Response,
|
|
18
|
+
FlightReviewsControllerGetFlightReviews1Response,
|
|
19
|
+
FlightsControllerGetFlight0V1Response,
|
|
20
|
+
FlightsControllerGetFlight1Response,
|
|
21
|
+
FlightsControllerValidateFlight0V1Response,
|
|
22
|
+
FlightsControllerValidateFlight1Response,
|
|
23
|
+
GetProposalResponse,
|
|
24
|
+
InboundWebhookConfigsControllerCreate0V1Response,
|
|
25
|
+
InboundWebhookConfigsControllerCreate1Response,
|
|
26
|
+
InboundWebhookConfigsControllerGet0V1Response,
|
|
27
|
+
InboundWebhookConfigsControllerGet1Response,
|
|
28
|
+
InboundWebhookConfigsControllerGetMany0V1Response,
|
|
29
|
+
InboundWebhookConfigsControllerGetMany1Response,
|
|
30
|
+
InboundWebhookConfigsControllerUpdate0V1Response,
|
|
31
|
+
InboundWebhookConfigsControllerUpdate1Response,
|
|
32
|
+
ListProposalsResponse,
|
|
33
|
+
MissionsControllerCreateMissions0V1Response,
|
|
34
|
+
MissionsControllerCreateMissions1Response,
|
|
35
|
+
MissionsControllerGetMission0V1Response,
|
|
36
|
+
MissionsControllerGetMission1Response,
|
|
37
|
+
MissionsControllerGetMissions0V1Response,
|
|
38
|
+
MissionsControllerGetMissions1Response,
|
|
39
|
+
WebhooksControllerGet0V1Response,
|
|
40
|
+
WebhooksControllerGet1Response,
|
|
41
|
+
WebhooksControllerGetMany0V1Response,
|
|
42
|
+
WebhooksControllerGetMany1Response,
|
|
43
|
+
WebhooksControllerRegenerateSecret0V1Response,
|
|
44
|
+
WebhooksControllerRegenerateSecret1Response,
|
|
45
|
+
WebhooksControllerUpdate0V1Response,
|
|
46
|
+
WebhooksControllerUpdate1Response,
|
|
47
|
+
ZonesControllerCreateZone0V1Response,
|
|
48
|
+
ZonesControllerCreateZone1Response,
|
|
49
|
+
ZonesControllerUpdateZone0V1Response,
|
|
50
|
+
ZonesControllerUpdateZone1Response,
|
|
26
51
|
} from "./types.gen.js";
|
|
27
52
|
|
|
28
53
|
const updateApiTokenResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
@@ -31,9 +56,16 @@ const updateApiTokenResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
|
31
56
|
return data;
|
|
32
57
|
};
|
|
33
58
|
|
|
34
|
-
export const
|
|
59
|
+
export const apiTokenControllerUpdateToken0V1ResponseTransformer = async (
|
|
35
60
|
data: any,
|
|
36
|
-
): Promise<
|
|
61
|
+
): Promise<ApiTokenControllerUpdateToken0V1Response> => {
|
|
62
|
+
data = updateApiTokenResponseDtoSchemaResponseTransformer(data);
|
|
63
|
+
return data;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export const apiTokenControllerUpdateToken1ResponseTransformer = async (
|
|
67
|
+
data: any,
|
|
68
|
+
): Promise<ApiTokenControllerUpdateToken1Response> => {
|
|
37
69
|
data = updateApiTokenResponseDtoSchemaResponseTransformer(data);
|
|
38
70
|
return data;
|
|
39
71
|
};
|
|
@@ -52,10 +84,18 @@ const getTimeLimitsForSunAltitudeResponseSchemaResponseTransformer = (
|
|
|
52
84
|
return data;
|
|
53
85
|
};
|
|
54
86
|
|
|
55
|
-
export const
|
|
87
|
+
export const conditionsControllerGetSunAltitudeTimeLimits0V1ResponseTransformer =
|
|
56
88
|
async (
|
|
57
89
|
data: any,
|
|
58
|
-
): Promise<
|
|
90
|
+
): Promise<ConditionsControllerGetSunAltitudeTimeLimits0V1Response> => {
|
|
91
|
+
data = getTimeLimitsForSunAltitudeResponseSchemaResponseTransformer(data);
|
|
92
|
+
return data;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export const conditionsControllerGetSunAltitudeTimeLimits1ResponseTransformer =
|
|
96
|
+
async (
|
|
97
|
+
data: any,
|
|
98
|
+
): Promise<ConditionsControllerGetSunAltitudeTimeLimits1Response> => {
|
|
59
99
|
data = getTimeLimitsForSunAltitudeResponseSchemaResponseTransformer(data);
|
|
60
100
|
return data;
|
|
61
101
|
};
|
|
@@ -70,9 +110,16 @@ const getContractsResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
|
70
110
|
return data;
|
|
71
111
|
};
|
|
72
112
|
|
|
73
|
-
export const
|
|
113
|
+
export const contractsControllerGetAllContracts0V1ResponseTransformer = async (
|
|
74
114
|
data: any,
|
|
75
|
-
): Promise<
|
|
115
|
+
): Promise<ContractsControllerGetAllContracts0V1Response> => {
|
|
116
|
+
data = getContractsResponseDtoSchemaResponseTransformer(data);
|
|
117
|
+
return data;
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
export const contractsControllerGetAllContracts1ResponseTransformer = async (
|
|
121
|
+
data: any,
|
|
122
|
+
): Promise<ContractsControllerGetAllContracts1Response> => {
|
|
76
123
|
data = getContractsResponseDtoSchemaResponseTransformer(data);
|
|
77
124
|
return data;
|
|
78
125
|
};
|
|
@@ -82,9 +129,16 @@ const flightDtoSchemaResponseTransformer = (data: any) => {
|
|
|
82
129
|
return data;
|
|
83
130
|
};
|
|
84
131
|
|
|
85
|
-
export const
|
|
132
|
+
export const flightsControllerGetFlight0V1ResponseTransformer = async (
|
|
133
|
+
data: any,
|
|
134
|
+
): Promise<FlightsControllerGetFlight0V1Response> => {
|
|
135
|
+
data = flightDtoSchemaResponseTransformer(data);
|
|
136
|
+
return data;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
export const flightsControllerGetFlight1ResponseTransformer = async (
|
|
86
140
|
data: any,
|
|
87
|
-
): Promise<
|
|
141
|
+
): Promise<FlightsControllerGetFlight1Response> => {
|
|
88
142
|
data = flightDtoSchemaResponseTransformer(data);
|
|
89
143
|
return data;
|
|
90
144
|
};
|
|
@@ -94,9 +148,16 @@ const validateFlightResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
|
94
148
|
return data;
|
|
95
149
|
};
|
|
96
150
|
|
|
97
|
-
export const
|
|
151
|
+
export const flightsControllerValidateFlight0V1ResponseTransformer = async (
|
|
152
|
+
data: any,
|
|
153
|
+
): Promise<FlightsControllerValidateFlight0V1Response> => {
|
|
154
|
+
data = validateFlightResponseDtoSchemaResponseTransformer(data);
|
|
155
|
+
return data;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
export const flightsControllerValidateFlight1ResponseTransformer = async (
|
|
98
159
|
data: any,
|
|
99
|
-
): Promise<
|
|
160
|
+
): Promise<FlightsControllerValidateFlight1Response> => {
|
|
100
161
|
data = validateFlightResponseDtoSchemaResponseTransformer(data);
|
|
101
162
|
return data;
|
|
102
163
|
};
|
|
@@ -110,9 +171,9 @@ const getFlightPlansResponseSchemaResponseTransformer = (data: any) => {
|
|
|
110
171
|
return data;
|
|
111
172
|
};
|
|
112
173
|
|
|
113
|
-
export const
|
|
174
|
+
export const flightPlansControllerGetMany0V1ResponseTransformer = async (
|
|
114
175
|
data: any,
|
|
115
|
-
): Promise<
|
|
176
|
+
): Promise<FlightPlansControllerGetMany0V1Response> => {
|
|
116
177
|
data = getFlightPlansResponseSchemaResponseTransformer(data);
|
|
117
178
|
return data;
|
|
118
179
|
};
|
|
@@ -123,9 +184,23 @@ const createFlightPlanResponseSchemaResponseTransformer = (data: any) => {
|
|
|
123
184
|
return data;
|
|
124
185
|
};
|
|
125
186
|
|
|
126
|
-
export const
|
|
187
|
+
export const flightPlansControllerCreate0V1ResponseTransformer = async (
|
|
127
188
|
data: any,
|
|
128
|
-
): Promise<
|
|
189
|
+
): Promise<FlightPlansControllerCreate0V1Response> => {
|
|
190
|
+
data = createFlightPlanResponseSchemaResponseTransformer(data);
|
|
191
|
+
return data;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
export const flightPlansControllerGetMany1ResponseTransformer = async (
|
|
195
|
+
data: any,
|
|
196
|
+
): Promise<FlightPlansControllerGetMany1Response> => {
|
|
197
|
+
data = getFlightPlansResponseSchemaResponseTransformer(data);
|
|
198
|
+
return data;
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
export const flightPlansControllerCreate1ResponseTransformer = async (
|
|
202
|
+
data: any,
|
|
203
|
+
): Promise<FlightPlansControllerCreate1Response> => {
|
|
129
204
|
data = createFlightPlanResponseSchemaResponseTransformer(data);
|
|
130
205
|
return data;
|
|
131
206
|
};
|
|
@@ -136,9 +211,16 @@ const getFlightPlanResponseSchemaResponseTransformer = (data: any) => {
|
|
|
136
211
|
return data;
|
|
137
212
|
};
|
|
138
213
|
|
|
139
|
-
export const
|
|
214
|
+
export const flightPlansControllerGet0V1ResponseTransformer = async (
|
|
215
|
+
data: any,
|
|
216
|
+
): Promise<FlightPlansControllerGet0V1Response> => {
|
|
217
|
+
data = getFlightPlanResponseSchemaResponseTransformer(data);
|
|
218
|
+
return data;
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
export const flightPlansControllerGet1ResponseTransformer = async (
|
|
140
222
|
data: any,
|
|
141
|
-
): Promise<
|
|
223
|
+
): Promise<FlightPlansControllerGet1Response> => {
|
|
142
224
|
data = getFlightPlanResponseSchemaResponseTransformer(data);
|
|
143
225
|
return data;
|
|
144
226
|
};
|
|
@@ -149,12 +231,21 @@ const getFlightReviewResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
|
149
231
|
return data;
|
|
150
232
|
};
|
|
151
233
|
|
|
152
|
-
export const
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
234
|
+
export const flightReviewsControllerGetFlightReview0V1ResponseTransformer =
|
|
235
|
+
async (
|
|
236
|
+
data: any,
|
|
237
|
+
): Promise<FlightReviewsControllerGetFlightReview0V1Response> => {
|
|
238
|
+
data = getFlightReviewResponseDtoSchemaResponseTransformer(data);
|
|
239
|
+
return data;
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
export const flightReviewsControllerGetFlightReview1ResponseTransformer =
|
|
243
|
+
async (
|
|
244
|
+
data: any,
|
|
245
|
+
): Promise<FlightReviewsControllerGetFlightReview1Response> => {
|
|
246
|
+
data = getFlightReviewResponseDtoSchemaResponseTransformer(data);
|
|
247
|
+
return data;
|
|
248
|
+
};
|
|
158
249
|
|
|
159
250
|
const getFlightReviewsResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
160
251
|
data.flightReviews = data.flightReviews.map((item: any) => {
|
|
@@ -165,10 +256,18 @@ const getFlightReviewsResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
|
165
256
|
return data;
|
|
166
257
|
};
|
|
167
258
|
|
|
168
|
-
export const
|
|
259
|
+
export const flightReviewsControllerGetFlightReviews0V1ResponseTransformer =
|
|
260
|
+
async (
|
|
261
|
+
data: any,
|
|
262
|
+
): Promise<FlightReviewsControllerGetFlightReviews0V1Response> => {
|
|
263
|
+
data = getFlightReviewsResponseDtoSchemaResponseTransformer(data);
|
|
264
|
+
return data;
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
export const flightReviewsControllerGetFlightReviews1ResponseTransformer =
|
|
169
268
|
async (
|
|
170
269
|
data: any,
|
|
171
|
-
): Promise<
|
|
270
|
+
): Promise<FlightReviewsControllerGetFlightReviews1Response> => {
|
|
172
271
|
data = getFlightReviewsResponseDtoSchemaResponseTransformer(data);
|
|
173
272
|
return data;
|
|
174
273
|
};
|
|
@@ -188,9 +287,16 @@ const getMissionResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
|
188
287
|
return data;
|
|
189
288
|
};
|
|
190
289
|
|
|
191
|
-
export const
|
|
290
|
+
export const missionsControllerGetMission0V1ResponseTransformer = async (
|
|
291
|
+
data: any,
|
|
292
|
+
): Promise<MissionsControllerGetMission0V1Response> => {
|
|
293
|
+
data = getMissionResponseDtoSchemaResponseTransformer(data);
|
|
294
|
+
return data;
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
export const missionsControllerGetMission1ResponseTransformer = async (
|
|
192
298
|
data: any,
|
|
193
|
-
): Promise<
|
|
299
|
+
): Promise<MissionsControllerGetMission1Response> => {
|
|
194
300
|
data = getMissionResponseDtoSchemaResponseTransformer(data);
|
|
195
301
|
return data;
|
|
196
302
|
};
|
|
@@ -213,9 +319,9 @@ const getMissionsResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
|
213
319
|
return data;
|
|
214
320
|
};
|
|
215
321
|
|
|
216
|
-
export const
|
|
322
|
+
export const missionsControllerGetMissions0V1ResponseTransformer = async (
|
|
217
323
|
data: any,
|
|
218
|
-
): Promise<
|
|
324
|
+
): Promise<MissionsControllerGetMissions0V1Response> => {
|
|
219
325
|
data = getMissionsResponseDtoSchemaResponseTransformer(data);
|
|
220
326
|
return data;
|
|
221
327
|
};
|
|
@@ -229,13 +335,60 @@ const createMissionResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
|
229
335
|
return data;
|
|
230
336
|
};
|
|
231
337
|
|
|
232
|
-
export const
|
|
338
|
+
export const missionsControllerCreateMissions0V1ResponseTransformer = async (
|
|
233
339
|
data: any,
|
|
234
|
-
): Promise<
|
|
340
|
+
): Promise<MissionsControllerCreateMissions0V1Response> => {
|
|
235
341
|
data = createMissionResponseDtoSchemaResponseTransformer(data);
|
|
236
342
|
return data;
|
|
237
343
|
};
|
|
238
344
|
|
|
345
|
+
export const missionsControllerGetMissions1ResponseTransformer = async (
|
|
346
|
+
data: any,
|
|
347
|
+
): Promise<MissionsControllerGetMissions1Response> => {
|
|
348
|
+
data = getMissionsResponseDtoSchemaResponseTransformer(data);
|
|
349
|
+
return data;
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
export const missionsControllerCreateMissions1ResponseTransformer = async (
|
|
353
|
+
data: any,
|
|
354
|
+
): Promise<MissionsControllerCreateMissions1Response> => {
|
|
355
|
+
data = createMissionResponseDtoSchemaResponseTransformer(data);
|
|
356
|
+
return data;
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
const getProposalsResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
360
|
+
data.proposals = data.proposals.map((item: any) => {
|
|
361
|
+
item.created_at = new Date(item.created_at);
|
|
362
|
+
return item;
|
|
363
|
+
});
|
|
364
|
+
return data;
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
export const listProposalsResponseTransformer = async (
|
|
368
|
+
data: any,
|
|
369
|
+
): Promise<ListProposalsResponse> => {
|
|
370
|
+
data = getProposalsResponseDtoSchemaResponseTransformer(data);
|
|
371
|
+
return data;
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
const getProposalResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
375
|
+
data.created_at = new Date(data.created_at);
|
|
376
|
+
data.changes = data.changes.map((item: any) => {
|
|
377
|
+
item.dispatched_at = new Date(item.dispatched_at);
|
|
378
|
+
item.verified_at = new Date(item.verified_at);
|
|
379
|
+
item.failed_at = new Date(item.failed_at);
|
|
380
|
+
return item;
|
|
381
|
+
});
|
|
382
|
+
return data;
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
export const getProposalResponseTransformer = async (
|
|
386
|
+
data: any,
|
|
387
|
+
): Promise<GetProposalResponse> => {
|
|
388
|
+
data = getProposalResponseDtoSchemaResponseTransformer(data);
|
|
389
|
+
return data;
|
|
390
|
+
};
|
|
391
|
+
|
|
239
392
|
const getWebhooksResponseSchemaResponseTransformer = (data: any) => {
|
|
240
393
|
data = data.map((item: any) => {
|
|
241
394
|
item.previous_secret_expires_at = new Date(item.previous_secret_expires_at);
|
|
@@ -244,9 +397,16 @@ const getWebhooksResponseSchemaResponseTransformer = (data: any) => {
|
|
|
244
397
|
return data;
|
|
245
398
|
};
|
|
246
399
|
|
|
247
|
-
export const
|
|
400
|
+
export const webhooksControllerGetMany0V1ResponseTransformer = async (
|
|
401
|
+
data: any,
|
|
402
|
+
): Promise<WebhooksControllerGetMany0V1Response> => {
|
|
403
|
+
data = getWebhooksResponseSchemaResponseTransformer(data);
|
|
404
|
+
return data;
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
export const webhooksControllerGetMany1ResponseTransformer = async (
|
|
248
408
|
data: any,
|
|
249
|
-
): Promise<
|
|
409
|
+
): Promise<WebhooksControllerGetMany1Response> => {
|
|
250
410
|
data = getWebhooksResponseSchemaResponseTransformer(data);
|
|
251
411
|
return data;
|
|
252
412
|
};
|
|
@@ -256,9 +416,9 @@ const getWebhookResponseSchemaResponseTransformer = (data: any) => {
|
|
|
256
416
|
return data;
|
|
257
417
|
};
|
|
258
418
|
|
|
259
|
-
export const
|
|
419
|
+
export const webhooksControllerGet0V1ResponseTransformer = async (
|
|
260
420
|
data: any,
|
|
261
|
-
): Promise<
|
|
421
|
+
): Promise<WebhooksControllerGet0V1Response> => {
|
|
262
422
|
data = getWebhookResponseSchemaResponseTransformer(data);
|
|
263
423
|
return data;
|
|
264
424
|
};
|
|
@@ -268,9 +428,23 @@ const updateWebhookResponseSchemaResponseTransformer = (data: any) => {
|
|
|
268
428
|
return data;
|
|
269
429
|
};
|
|
270
430
|
|
|
271
|
-
export const
|
|
431
|
+
export const webhooksControllerUpdate0V1ResponseTransformer = async (
|
|
272
432
|
data: any,
|
|
273
|
-
): Promise<
|
|
433
|
+
): Promise<WebhooksControllerUpdate0V1Response> => {
|
|
434
|
+
data = updateWebhookResponseSchemaResponseTransformer(data);
|
|
435
|
+
return data;
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
export const webhooksControllerGet1ResponseTransformer = async (
|
|
439
|
+
data: any,
|
|
440
|
+
): Promise<WebhooksControllerGet1Response> => {
|
|
441
|
+
data = getWebhookResponseSchemaResponseTransformer(data);
|
|
442
|
+
return data;
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
export const webhooksControllerUpdate1ResponseTransformer = async (
|
|
446
|
+
data: any,
|
|
447
|
+
): Promise<WebhooksControllerUpdate1Response> => {
|
|
274
448
|
data = updateWebhookResponseSchemaResponseTransformer(data);
|
|
275
449
|
return data;
|
|
276
450
|
};
|
|
@@ -282,9 +456,16 @@ const regenerateWebhookSecretResponseDtoSchemaResponseTransformer = (
|
|
|
282
456
|
return data;
|
|
283
457
|
};
|
|
284
458
|
|
|
285
|
-
export const
|
|
459
|
+
export const webhooksControllerRegenerateSecret0V1ResponseTransformer = async (
|
|
460
|
+
data: any,
|
|
461
|
+
): Promise<WebhooksControllerRegenerateSecret0V1Response> => {
|
|
462
|
+
data = regenerateWebhookSecretResponseDtoSchemaResponseTransformer(data);
|
|
463
|
+
return data;
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
export const webhooksControllerRegenerateSecret1ResponseTransformer = async (
|
|
286
467
|
data: any,
|
|
287
|
-
): Promise<
|
|
468
|
+
): Promise<WebhooksControllerRegenerateSecret1Response> => {
|
|
288
469
|
data = regenerateWebhookSecretResponseDtoSchemaResponseTransformer(data);
|
|
289
470
|
return data;
|
|
290
471
|
};
|
|
@@ -295,16 +476,30 @@ const zoneResponseDtoSchemaResponseTransformer = (data: any) => {
|
|
|
295
476
|
return data;
|
|
296
477
|
};
|
|
297
478
|
|
|
298
|
-
export const
|
|
479
|
+
export const zonesControllerCreateZone0V1ResponseTransformer = async (
|
|
299
480
|
data: any,
|
|
300
|
-
): Promise<
|
|
481
|
+
): Promise<ZonesControllerCreateZone0V1Response> => {
|
|
301
482
|
data = zoneResponseDtoSchemaResponseTransformer(data);
|
|
302
483
|
return data;
|
|
303
484
|
};
|
|
304
485
|
|
|
305
|
-
export const
|
|
486
|
+
export const zonesControllerCreateZone1ResponseTransformer = async (
|
|
306
487
|
data: any,
|
|
307
|
-
): Promise<
|
|
488
|
+
): Promise<ZonesControllerCreateZone1Response> => {
|
|
489
|
+
data = zoneResponseDtoSchemaResponseTransformer(data);
|
|
490
|
+
return data;
|
|
491
|
+
};
|
|
492
|
+
|
|
493
|
+
export const zonesControllerUpdateZone0V1ResponseTransformer = async (
|
|
494
|
+
data: any,
|
|
495
|
+
): Promise<ZonesControllerUpdateZone0V1Response> => {
|
|
496
|
+
data = zoneResponseDtoSchemaResponseTransformer(data);
|
|
497
|
+
return data;
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
export const zonesControllerUpdateZone1ResponseTransformer = async (
|
|
501
|
+
data: any,
|
|
502
|
+
): Promise<ZonesControllerUpdateZone1Response> => {
|
|
308
503
|
data = zoneResponseDtoSchemaResponseTransformer(data);
|
|
309
504
|
return data;
|
|
310
505
|
};
|
|
@@ -320,12 +515,13 @@ const getInboundWebhookConfigsResponseSchemaResponseTransformer = (
|
|
|
320
515
|
return data;
|
|
321
516
|
};
|
|
322
517
|
|
|
323
|
-
export const
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
518
|
+
export const inboundWebhookConfigsControllerGetMany0V1ResponseTransformer =
|
|
519
|
+
async (
|
|
520
|
+
data: any,
|
|
521
|
+
): Promise<InboundWebhookConfigsControllerGetMany0V1Response> => {
|
|
522
|
+
data = getInboundWebhookConfigsResponseSchemaResponseTransformer(data);
|
|
523
|
+
return data;
|
|
524
|
+
};
|
|
329
525
|
|
|
330
526
|
const createInboundWebhookConfigResponseSchemaResponseTransformer = (
|
|
331
527
|
data: any,
|
|
@@ -335,9 +531,25 @@ const createInboundWebhookConfigResponseSchemaResponseTransformer = (
|
|
|
335
531
|
return data;
|
|
336
532
|
};
|
|
337
533
|
|
|
338
|
-
export const
|
|
534
|
+
export const inboundWebhookConfigsControllerCreate0V1ResponseTransformer =
|
|
535
|
+
async (
|
|
536
|
+
data: any,
|
|
537
|
+
): Promise<InboundWebhookConfigsControllerCreate0V1Response> => {
|
|
538
|
+
data = createInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
539
|
+
return data;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
export const inboundWebhookConfigsControllerGetMany1ResponseTransformer =
|
|
543
|
+
async (
|
|
544
|
+
data: any,
|
|
545
|
+
): Promise<InboundWebhookConfigsControllerGetMany1Response> => {
|
|
546
|
+
data = getInboundWebhookConfigsResponseSchemaResponseTransformer(data);
|
|
547
|
+
return data;
|
|
548
|
+
};
|
|
549
|
+
|
|
550
|
+
export const inboundWebhookConfigsControllerCreate1ResponseTransformer = async (
|
|
339
551
|
data: any,
|
|
340
|
-
): Promise<
|
|
552
|
+
): Promise<InboundWebhookConfigsControllerCreate1Response> => {
|
|
341
553
|
data = createInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
342
554
|
return data;
|
|
343
555
|
};
|
|
@@ -350,9 +562,9 @@ const getInboundWebhookConfigResponseSchemaResponseTransformer = (
|
|
|
350
562
|
return data;
|
|
351
563
|
};
|
|
352
564
|
|
|
353
|
-
export const
|
|
565
|
+
export const inboundWebhookConfigsControllerGet0V1ResponseTransformer = async (
|
|
354
566
|
data: any,
|
|
355
|
-
): Promise<
|
|
567
|
+
): Promise<InboundWebhookConfigsControllerGet0V1Response> => {
|
|
356
568
|
data = getInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
357
569
|
return data;
|
|
358
570
|
};
|
|
@@ -365,9 +577,24 @@ const updateInboundWebhookConfigResponseSchemaResponseTransformer = (
|
|
|
365
577
|
return data;
|
|
366
578
|
};
|
|
367
579
|
|
|
368
|
-
export const
|
|
580
|
+
export const inboundWebhookConfigsControllerUpdate0V1ResponseTransformer =
|
|
581
|
+
async (
|
|
582
|
+
data: any,
|
|
583
|
+
): Promise<InboundWebhookConfigsControllerUpdate0V1Response> => {
|
|
584
|
+
data = updateInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
585
|
+
return data;
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
export const inboundWebhookConfigsControllerGet1ResponseTransformer = async (
|
|
589
|
+
data: any,
|
|
590
|
+
): Promise<InboundWebhookConfigsControllerGet1Response> => {
|
|
591
|
+
data = getInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
592
|
+
return data;
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
export const inboundWebhookConfigsControllerUpdate1ResponseTransformer = async (
|
|
369
596
|
data: any,
|
|
370
|
-
): Promise<
|
|
597
|
+
): Promise<InboundWebhookConfigsControllerUpdate1Response> => {
|
|
371
598
|
data = updateInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
372
599
|
return data;
|
|
373
600
|
};
|