@layer-drone/protocol 1.0.3 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1231 -157
- package/dist/index.d.ts +1231 -157
- package/dist/index.js +858 -19
- package/dist/index.mjs +825 -16
- package/package.json +7 -5
- package/src/client/client.gen.ts +5 -1
- package/src/client/sdk.gen.ts +1188 -173
- package/src/client/transformers.gen.ts +374 -0
- package/src/client/types.gen.ts +1520 -131
package/dist/index.mjs
CHANGED
|
@@ -687,7 +687,9 @@ var createClient = /* @__PURE__ */ __name((config = {}) => {
|
|
|
687
687
|
}, "createClient");
|
|
688
688
|
|
|
689
689
|
// src/client/client.gen.ts
|
|
690
|
-
var client = createClient(createConfig(
|
|
690
|
+
var client = createClient(createConfig({
|
|
691
|
+
throwOnError: true
|
|
692
|
+
}));
|
|
691
693
|
|
|
692
694
|
// src/client/transformers.gen.ts
|
|
693
695
|
var updateApiTokenResponseDtoSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
@@ -1053,6 +1055,268 @@ var inboundWebhookConfigsControllerUpdate1ResponseTransformer = /* @__PURE__ */
|
|
|
1053
1055
|
data = updateInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
1054
1056
|
return data;
|
|
1055
1057
|
}, "inboundWebhookConfigsControllerUpdate1ResponseTransformer");
|
|
1058
|
+
var listCampaignsResponseDtoSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1059
|
+
data.data = data.data.map((item) => {
|
|
1060
|
+
if (item.start_date) {
|
|
1061
|
+
item.start_date = new Date(item.start_date);
|
|
1062
|
+
}
|
|
1063
|
+
if (item.end_date) {
|
|
1064
|
+
item.end_date = new Date(item.end_date);
|
|
1065
|
+
}
|
|
1066
|
+
item.created_at = new Date(item.created_at);
|
|
1067
|
+
item.updated_at = new Date(item.updated_at);
|
|
1068
|
+
return item;
|
|
1069
|
+
});
|
|
1070
|
+
return data;
|
|
1071
|
+
}, "listCampaignsResponseDtoSchemaResponseTransformer");
|
|
1072
|
+
var campaignsControllerGetCampaignsV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1073
|
+
data = listCampaignsResponseDtoSchemaResponseTransformer(data);
|
|
1074
|
+
return data;
|
|
1075
|
+
}, "campaignsControllerGetCampaignsV2V2ResponseTransformer");
|
|
1076
|
+
var campaignResponseDtoSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1077
|
+
if (data.start_date) {
|
|
1078
|
+
data.start_date = new Date(data.start_date);
|
|
1079
|
+
}
|
|
1080
|
+
if (data.end_date) {
|
|
1081
|
+
data.end_date = new Date(data.end_date);
|
|
1082
|
+
}
|
|
1083
|
+
data.created_at = new Date(data.created_at);
|
|
1084
|
+
data.updated_at = new Date(data.updated_at);
|
|
1085
|
+
return data;
|
|
1086
|
+
}, "campaignResponseDtoSchemaResponseTransformer");
|
|
1087
|
+
var campaignsControllerCreateCampaignV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1088
|
+
data = campaignResponseDtoSchemaResponseTransformer(data);
|
|
1089
|
+
return data;
|
|
1090
|
+
}, "campaignsControllerCreateCampaignV2V2ResponseTransformer");
|
|
1091
|
+
var campaignsControllerGetCampaignV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1092
|
+
data = campaignResponseDtoSchemaResponseTransformer(data);
|
|
1093
|
+
return data;
|
|
1094
|
+
}, "campaignsControllerGetCampaignV2V2ResponseTransformer");
|
|
1095
|
+
var campaignsControllerUpdateCampaignV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1096
|
+
data = campaignResponseDtoSchemaResponseTransformer(data);
|
|
1097
|
+
return data;
|
|
1098
|
+
}, "campaignsControllerUpdateCampaignV2V2ResponseTransformer");
|
|
1099
|
+
var missionFulfillmentGetFlightPlansResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1100
|
+
data.data = data.data.map((item) => {
|
|
1101
|
+
item.created_at = new Date(item.created_at);
|
|
1102
|
+
item.updated_at = new Date(item.updated_at);
|
|
1103
|
+
return item;
|
|
1104
|
+
});
|
|
1105
|
+
return data;
|
|
1106
|
+
}, "missionFulfillmentGetFlightPlansResponseSchemaResponseTransformer");
|
|
1107
|
+
var flightPlansControllerGetManyV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1108
|
+
data = missionFulfillmentGetFlightPlansResponseSchemaResponseTransformer(data);
|
|
1109
|
+
return data;
|
|
1110
|
+
}, "flightPlansControllerGetManyV2V2ResponseTransformer");
|
|
1111
|
+
var flightPlanResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1112
|
+
data.created_at = new Date(data.created_at);
|
|
1113
|
+
data.updated_at = new Date(data.updated_at);
|
|
1114
|
+
return data;
|
|
1115
|
+
}, "flightPlanResponseSchemaResponseTransformer");
|
|
1116
|
+
var flightPlansControllerCreateV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1117
|
+
data = flightPlanResponseSchemaResponseTransformer(data);
|
|
1118
|
+
return data;
|
|
1119
|
+
}, "flightPlansControllerCreateV2V2ResponseTransformer");
|
|
1120
|
+
var flightPlansControllerGetV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1121
|
+
data = flightPlanResponseSchemaResponseTransformer(data);
|
|
1122
|
+
return data;
|
|
1123
|
+
}, "flightPlansControllerGetV2V2ResponseTransformer");
|
|
1124
|
+
var flightPlansControllerUpdateV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1125
|
+
data = flightPlanResponseSchemaResponseTransformer(data);
|
|
1126
|
+
return data;
|
|
1127
|
+
}, "flightPlansControllerUpdateV2V2ResponseTransformer");
|
|
1128
|
+
var listFlightsResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1129
|
+
data.data = data.data.map((item) => {
|
|
1130
|
+
item.created_at = new Date(item.created_at);
|
|
1131
|
+
item.updated_at = new Date(item.updated_at);
|
|
1132
|
+
return item;
|
|
1133
|
+
});
|
|
1134
|
+
return data;
|
|
1135
|
+
}, "listFlightsResponseSchemaResponseTransformer");
|
|
1136
|
+
var flightsControllerGetFlightsV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1137
|
+
data = listFlightsResponseSchemaResponseTransformer(data);
|
|
1138
|
+
return data;
|
|
1139
|
+
}, "flightsControllerGetFlightsV2V2ResponseTransformer");
|
|
1140
|
+
var createFlightResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1141
|
+
data.flight.created_at = new Date(data.flight.created_at);
|
|
1142
|
+
data.flight.updated_at = new Date(data.flight.updated_at);
|
|
1143
|
+
return data;
|
|
1144
|
+
}, "createFlightResponseSchemaResponseTransformer");
|
|
1145
|
+
var flightsControllerCreateFlightV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1146
|
+
data = createFlightResponseSchemaResponseTransformer(data);
|
|
1147
|
+
return data;
|
|
1148
|
+
}, "flightsControllerCreateFlightV2V2ResponseTransformer");
|
|
1149
|
+
var flightResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1150
|
+
data.created_at = new Date(data.created_at);
|
|
1151
|
+
data.updated_at = new Date(data.updated_at);
|
|
1152
|
+
return data;
|
|
1153
|
+
}, "flightResponseSchemaResponseTransformer");
|
|
1154
|
+
var flightsControllerGetFlightV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1155
|
+
data = flightResponseSchemaResponseTransformer(data);
|
|
1156
|
+
return data;
|
|
1157
|
+
}, "flightsControllerGetFlightV2V2ResponseTransformer");
|
|
1158
|
+
var flightReviewResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1159
|
+
data.created_at = new Date(data.created_at);
|
|
1160
|
+
data.updated_at = new Date(data.updated_at);
|
|
1161
|
+
if (data.reviewed_at) {
|
|
1162
|
+
data.reviewed_at = new Date(data.reviewed_at);
|
|
1163
|
+
}
|
|
1164
|
+
if (data.confirmed_at) {
|
|
1165
|
+
data.confirmed_at = new Date(data.confirmed_at);
|
|
1166
|
+
}
|
|
1167
|
+
return data;
|
|
1168
|
+
}, "flightReviewResponseSchemaResponseTransformer");
|
|
1169
|
+
var flightsControllerGetReviewV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1170
|
+
data = flightReviewResponseSchemaResponseTransformer(data);
|
|
1171
|
+
return data;
|
|
1172
|
+
}, "flightsControllerGetReviewV2V2ResponseTransformer");
|
|
1173
|
+
var flightsControllerRequestReviewV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1174
|
+
data = flightReviewResponseSchemaResponseTransformer(data);
|
|
1175
|
+
return data;
|
|
1176
|
+
}, "flightsControllerRequestReviewV2V2ResponseTransformer");
|
|
1177
|
+
var flightsControllerSubmitProvenanceV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1178
|
+
data = flightResponseSchemaResponseTransformer(data);
|
|
1179
|
+
return data;
|
|
1180
|
+
}, "flightsControllerSubmitProvenanceV2V2ResponseTransformer");
|
|
1181
|
+
var listMissionsResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1182
|
+
data.data = data.data.map((item) => {
|
|
1183
|
+
item.capture_start_time = new Date(item.capture_start_time);
|
|
1184
|
+
item.capture_end_time = new Date(item.capture_end_time);
|
|
1185
|
+
if (item.confirmed_at) {
|
|
1186
|
+
item.confirmed_at = new Date(item.confirmed_at);
|
|
1187
|
+
}
|
|
1188
|
+
if (item.confirmations) {
|
|
1189
|
+
item.confirmations = item.confirmations.map((item2) => {
|
|
1190
|
+
item2.block_timestamp = new Date(item2.block_timestamp);
|
|
1191
|
+
item2.recorded_at = new Date(item2.recorded_at);
|
|
1192
|
+
return item2;
|
|
1193
|
+
});
|
|
1194
|
+
}
|
|
1195
|
+
if (item.hold) {
|
|
1196
|
+
item.hold.expires_at = new Date(item.hold.expires_at);
|
|
1197
|
+
if (item.hold.released_at) {
|
|
1198
|
+
item.hold.released_at = new Date(item.hold.released_at);
|
|
1199
|
+
}
|
|
1200
|
+
item.hold.created_at = new Date(item.hold.created_at);
|
|
1201
|
+
item.hold.updated_at = new Date(item.hold.updated_at);
|
|
1202
|
+
}
|
|
1203
|
+
if (item.closed_at) {
|
|
1204
|
+
item.closed_at = new Date(item.closed_at);
|
|
1205
|
+
}
|
|
1206
|
+
item.created_at = new Date(item.created_at);
|
|
1207
|
+
item.updated_at = new Date(item.updated_at);
|
|
1208
|
+
return item;
|
|
1209
|
+
});
|
|
1210
|
+
return data;
|
|
1211
|
+
}, "listMissionsResponseSchemaResponseTransformer");
|
|
1212
|
+
var missionsControllerGetMissionsV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1213
|
+
data = listMissionsResponseSchemaResponseTransformer(data);
|
|
1214
|
+
return data;
|
|
1215
|
+
}, "missionsControllerGetMissionsV2V2ResponseTransformer");
|
|
1216
|
+
var createMissionsResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1217
|
+
data.results = data.results.map((item) => {
|
|
1218
|
+
item.mission.capture_start_time = new Date(item.mission.capture_start_time);
|
|
1219
|
+
item.mission.capture_end_time = new Date(item.mission.capture_end_time);
|
|
1220
|
+
if (item.mission.confirmed_at) {
|
|
1221
|
+
item.mission.confirmed_at = new Date(item.mission.confirmed_at);
|
|
1222
|
+
}
|
|
1223
|
+
if (item.mission.confirmations) {
|
|
1224
|
+
item.mission.confirmations = item.mission.confirmations.map((item2) => {
|
|
1225
|
+
item2.block_timestamp = new Date(item2.block_timestamp);
|
|
1226
|
+
item2.recorded_at = new Date(item2.recorded_at);
|
|
1227
|
+
return item2;
|
|
1228
|
+
});
|
|
1229
|
+
}
|
|
1230
|
+
if (item.mission.hold) {
|
|
1231
|
+
item.mission.hold.expires_at = new Date(item.mission.hold.expires_at);
|
|
1232
|
+
if (item.mission.hold.released_at) {
|
|
1233
|
+
item.mission.hold.released_at = new Date(item.mission.hold.released_at);
|
|
1234
|
+
}
|
|
1235
|
+
item.mission.hold.created_at = new Date(item.mission.hold.created_at);
|
|
1236
|
+
item.mission.hold.updated_at = new Date(item.mission.hold.updated_at);
|
|
1237
|
+
}
|
|
1238
|
+
if (item.mission.closed_at) {
|
|
1239
|
+
item.mission.closed_at = new Date(item.mission.closed_at);
|
|
1240
|
+
}
|
|
1241
|
+
item.mission.created_at = new Date(item.mission.created_at);
|
|
1242
|
+
item.mission.updated_at = new Date(item.mission.updated_at);
|
|
1243
|
+
return item;
|
|
1244
|
+
});
|
|
1245
|
+
return data;
|
|
1246
|
+
}, "createMissionsResponseSchemaResponseTransformer");
|
|
1247
|
+
var missionsControllerCreateMissionsV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1248
|
+
data = createMissionsResponseSchemaResponseTransformer(data);
|
|
1249
|
+
return data;
|
|
1250
|
+
}, "missionsControllerCreateMissionsV2V2ResponseTransformer");
|
|
1251
|
+
var missionResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1252
|
+
data.capture_start_time = new Date(data.capture_start_time);
|
|
1253
|
+
data.capture_end_time = new Date(data.capture_end_time);
|
|
1254
|
+
if (data.confirmed_at) {
|
|
1255
|
+
data.confirmed_at = new Date(data.confirmed_at);
|
|
1256
|
+
}
|
|
1257
|
+
if (data.confirmations) {
|
|
1258
|
+
data.confirmations = data.confirmations.map((item) => {
|
|
1259
|
+
item.block_timestamp = new Date(item.block_timestamp);
|
|
1260
|
+
item.recorded_at = new Date(item.recorded_at);
|
|
1261
|
+
return item;
|
|
1262
|
+
});
|
|
1263
|
+
}
|
|
1264
|
+
if (data.hold) {
|
|
1265
|
+
data.hold.expires_at = new Date(data.hold.expires_at);
|
|
1266
|
+
if (data.hold.released_at) {
|
|
1267
|
+
data.hold.released_at = new Date(data.hold.released_at);
|
|
1268
|
+
}
|
|
1269
|
+
data.hold.created_at = new Date(data.hold.created_at);
|
|
1270
|
+
data.hold.updated_at = new Date(data.hold.updated_at);
|
|
1271
|
+
}
|
|
1272
|
+
if (data.closed_at) {
|
|
1273
|
+
data.closed_at = new Date(data.closed_at);
|
|
1274
|
+
}
|
|
1275
|
+
data.created_at = new Date(data.created_at);
|
|
1276
|
+
data.updated_at = new Date(data.updated_at);
|
|
1277
|
+
return data;
|
|
1278
|
+
}, "missionResponseSchemaResponseTransformer");
|
|
1279
|
+
var missionsControllerGetMissionV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1280
|
+
data = missionResponseSchemaResponseTransformer(data);
|
|
1281
|
+
return data;
|
|
1282
|
+
}, "missionsControllerGetMissionV2V2ResponseTransformer");
|
|
1283
|
+
var missionsControllerUpdateMissionV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1284
|
+
data = missionResponseSchemaResponseTransformer(data);
|
|
1285
|
+
return data;
|
|
1286
|
+
}, "missionsControllerUpdateMissionV2V2ResponseTransformer");
|
|
1287
|
+
var missionsControllerCancelMissionV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1288
|
+
data = missionResponseSchemaResponseTransformer(data);
|
|
1289
|
+
return data;
|
|
1290
|
+
}, "missionsControllerCancelMissionV2V2ResponseTransformer");
|
|
1291
|
+
var missionsControllerRetryMissionV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1292
|
+
data = missionResponseSchemaResponseTransformer(data);
|
|
1293
|
+
return data;
|
|
1294
|
+
}, "missionsControllerRetryMissionV2V2ResponseTransformer");
|
|
1295
|
+
var listRewardsResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1296
|
+
data.data = data.data.map((item) => {
|
|
1297
|
+
item.created_at = new Date(item.created_at);
|
|
1298
|
+
item.updated_at = new Date(item.updated_at);
|
|
1299
|
+
return item;
|
|
1300
|
+
});
|
|
1301
|
+
return data;
|
|
1302
|
+
}, "listRewardsResponseSchemaResponseTransformer");
|
|
1303
|
+
var rewardsControllerListRewardsV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1304
|
+
data = listRewardsResponseSchemaResponseTransformer(data);
|
|
1305
|
+
return data;
|
|
1306
|
+
}, "rewardsControllerListRewardsV2V2ResponseTransformer");
|
|
1307
|
+
var missionFulfillmentZoneResponseDtoSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
1308
|
+
data.created_at = new Date(data.created_at);
|
|
1309
|
+
data.updated_at = new Date(data.updated_at);
|
|
1310
|
+
return data;
|
|
1311
|
+
}, "missionFulfillmentZoneResponseDtoSchemaResponseTransformer");
|
|
1312
|
+
var zonesControllerGetZoneV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1313
|
+
data = missionFulfillmentZoneResponseDtoSchemaResponseTransformer(data);
|
|
1314
|
+
return data;
|
|
1315
|
+
}, "zonesControllerGetZoneV2V2ResponseTransformer");
|
|
1316
|
+
var zonesControllerUpdateZoneV2V2ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
1317
|
+
data = missionFulfillmentZoneResponseDtoSchemaResponseTransformer(data);
|
|
1318
|
+
return data;
|
|
1319
|
+
}, "zonesControllerUpdateZoneV2V2ResponseTransformer");
|
|
1056
1320
|
|
|
1057
1321
|
// src/client/sdk.gen.ts
|
|
1058
1322
|
var apiControllerGetHello0V1 = /* @__PURE__ */ __name((options) => {
|
|
@@ -1193,9 +1457,45 @@ var apiTokenControllerUpdateToken1 = /* @__PURE__ */ __name((options) => {
|
|
|
1193
1457
|
}
|
|
1194
1458
|
});
|
|
1195
1459
|
}, "apiTokenControllerUpdateToken1");
|
|
1460
|
+
var backfillControllerTrigger0V1 = /* @__PURE__ */ __name((options) => {
|
|
1461
|
+
return (options.client ?? client).post({
|
|
1462
|
+
security: [
|
|
1463
|
+
{
|
|
1464
|
+
name: "x-api-token",
|
|
1465
|
+
type: "apiKey"
|
|
1466
|
+
}
|
|
1467
|
+
],
|
|
1468
|
+
url: "/v1/backfill",
|
|
1469
|
+
...options,
|
|
1470
|
+
headers: {
|
|
1471
|
+
"Content-Type": "application/json",
|
|
1472
|
+
...options.headers
|
|
1473
|
+
}
|
|
1474
|
+
});
|
|
1475
|
+
}, "backfillControllerTrigger0V1");
|
|
1476
|
+
var backfillControllerTrigger1 = /* @__PURE__ */ __name((options) => {
|
|
1477
|
+
return (options.client ?? client).post({
|
|
1478
|
+
security: [
|
|
1479
|
+
{
|
|
1480
|
+
name: "x-api-token",
|
|
1481
|
+
type: "apiKey"
|
|
1482
|
+
}
|
|
1483
|
+
],
|
|
1484
|
+
url: "/backfill",
|
|
1485
|
+
...options,
|
|
1486
|
+
headers: {
|
|
1487
|
+
"Content-Type": "application/json",
|
|
1488
|
+
...options.headers
|
|
1489
|
+
}
|
|
1490
|
+
});
|
|
1491
|
+
}, "backfillControllerTrigger1");
|
|
1196
1492
|
var campaignsControllerGetMany0V1 = /* @__PURE__ */ __name((options) => {
|
|
1197
1493
|
return (options?.client ?? client).get({
|
|
1198
1494
|
security: [
|
|
1495
|
+
{
|
|
1496
|
+
name: "x-api-token",
|
|
1497
|
+
type: "apiKey"
|
|
1498
|
+
},
|
|
1199
1499
|
{
|
|
1200
1500
|
name: "x-api-token",
|
|
1201
1501
|
type: "apiKey"
|
|
@@ -1224,6 +1524,10 @@ var campaignsControllerCreate0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1224
1524
|
var campaignsControllerGetMany1 = /* @__PURE__ */ __name((options) => {
|
|
1225
1525
|
return (options?.client ?? client).get({
|
|
1226
1526
|
security: [
|
|
1527
|
+
{
|
|
1528
|
+
name: "x-api-token",
|
|
1529
|
+
type: "apiKey"
|
|
1530
|
+
},
|
|
1227
1531
|
{
|
|
1228
1532
|
name: "x-api-token",
|
|
1229
1533
|
type: "apiKey"
|
|
@@ -1264,6 +1568,10 @@ var campaignsControllerDelete0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1264
1568
|
var campaignsControllerGet0V1 = /* @__PURE__ */ __name((options) => {
|
|
1265
1569
|
return (options.client ?? client).get({
|
|
1266
1570
|
security: [
|
|
1571
|
+
{
|
|
1572
|
+
name: "x-api-token",
|
|
1573
|
+
type: "apiKey"
|
|
1574
|
+
},
|
|
1267
1575
|
{
|
|
1268
1576
|
name: "x-api-token",
|
|
1269
1577
|
type: "apiKey"
|
|
@@ -1304,6 +1612,10 @@ var campaignsControllerDelete1 = /* @__PURE__ */ __name((options) => {
|
|
|
1304
1612
|
var campaignsControllerGet1 = /* @__PURE__ */ __name((options) => {
|
|
1305
1613
|
return (options.client ?? client).get({
|
|
1306
1614
|
security: [
|
|
1615
|
+
{
|
|
1616
|
+
name: "x-api-token",
|
|
1617
|
+
type: "apiKey"
|
|
1618
|
+
},
|
|
1307
1619
|
{
|
|
1308
1620
|
name: "x-api-token",
|
|
1309
1621
|
type: "apiKey"
|
|
@@ -1632,6 +1944,10 @@ var flightsControllerValidateFlight1 = /* @__PURE__ */ __name((options) => {
|
|
|
1632
1944
|
var flightPlansControllerGetMany0V1 = /* @__PURE__ */ __name((options) => {
|
|
1633
1945
|
return (options?.client ?? client).get({
|
|
1634
1946
|
security: [
|
|
1947
|
+
{
|
|
1948
|
+
name: "x-api-token",
|
|
1949
|
+
type: "apiKey"
|
|
1950
|
+
},
|
|
1635
1951
|
{
|
|
1636
1952
|
name: "x-api-token",
|
|
1637
1953
|
type: "apiKey"
|
|
@@ -1662,6 +1978,10 @@ var flightPlansControllerCreate0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1662
1978
|
var flightPlansControllerGetMany1 = /* @__PURE__ */ __name((options) => {
|
|
1663
1979
|
return (options?.client ?? client).get({
|
|
1664
1980
|
security: [
|
|
1981
|
+
{
|
|
1982
|
+
name: "x-api-token",
|
|
1983
|
+
type: "apiKey"
|
|
1984
|
+
},
|
|
1665
1985
|
{
|
|
1666
1986
|
name: "x-api-token",
|
|
1667
1987
|
type: "apiKey"
|
|
@@ -1692,6 +2012,10 @@ var flightPlansControllerCreate1 = /* @__PURE__ */ __name((options) => {
|
|
|
1692
2012
|
var flightPlansControllerGet0V1 = /* @__PURE__ */ __name((options) => {
|
|
1693
2013
|
return (options.client ?? client).get({
|
|
1694
2014
|
security: [
|
|
2015
|
+
{
|
|
2016
|
+
name: "x-api-token",
|
|
2017
|
+
type: "apiKey"
|
|
2018
|
+
},
|
|
1695
2019
|
{
|
|
1696
2020
|
name: "x-api-token",
|
|
1697
2021
|
type: "apiKey"
|
|
@@ -1705,6 +2029,10 @@ var flightPlansControllerGet0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1705
2029
|
var flightPlansControllerGet1 = /* @__PURE__ */ __name((options) => {
|
|
1706
2030
|
return (options.client ?? client).get({
|
|
1707
2031
|
security: [
|
|
2032
|
+
{
|
|
2033
|
+
name: "x-api-token",
|
|
2034
|
+
type: "apiKey"
|
|
2035
|
+
},
|
|
1708
2036
|
{
|
|
1709
2037
|
name: "x-api-token",
|
|
1710
2038
|
type: "apiKey"
|
|
@@ -1782,6 +2110,10 @@ var keysControllerGetProvenanceCryptoKey1 = /* @__PURE__ */ __name((options) =>
|
|
|
1782
2110
|
var missionsControllerGetMission0V1 = /* @__PURE__ */ __name((options) => {
|
|
1783
2111
|
return (options.client ?? client).get({
|
|
1784
2112
|
security: [
|
|
2113
|
+
{
|
|
2114
|
+
name: "x-api-token",
|
|
2115
|
+
type: "apiKey"
|
|
2116
|
+
},
|
|
1785
2117
|
{
|
|
1786
2118
|
name: "x-api-token",
|
|
1787
2119
|
type: "apiKey"
|
|
@@ -1795,6 +2127,10 @@ var missionsControllerGetMission0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1795
2127
|
var missionsControllerGetMission1 = /* @__PURE__ */ __name((options) => {
|
|
1796
2128
|
return (options.client ?? client).get({
|
|
1797
2129
|
security: [
|
|
2130
|
+
{
|
|
2131
|
+
name: "x-api-token",
|
|
2132
|
+
type: "apiKey"
|
|
2133
|
+
},
|
|
1798
2134
|
{
|
|
1799
2135
|
name: "x-api-token",
|
|
1800
2136
|
type: "apiKey"
|
|
@@ -1808,6 +2144,10 @@ var missionsControllerGetMission1 = /* @__PURE__ */ __name((options) => {
|
|
|
1808
2144
|
var missionsControllerGetMissions0V1 = /* @__PURE__ */ __name((options) => {
|
|
1809
2145
|
return (options?.client ?? client).get({
|
|
1810
2146
|
security: [
|
|
2147
|
+
{
|
|
2148
|
+
name: "x-api-token",
|
|
2149
|
+
type: "apiKey"
|
|
2150
|
+
},
|
|
1811
2151
|
{
|
|
1812
2152
|
name: "x-api-token",
|
|
1813
2153
|
type: "apiKey"
|
|
@@ -1854,6 +2194,10 @@ var missionsControllerUpdateMissions0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1854
2194
|
var missionsControllerGetMissions1 = /* @__PURE__ */ __name((options) => {
|
|
1855
2195
|
return (options?.client ?? client).get({
|
|
1856
2196
|
security: [
|
|
2197
|
+
{
|
|
2198
|
+
name: "x-api-token",
|
|
2199
|
+
type: "apiKey"
|
|
2200
|
+
},
|
|
1857
2201
|
{
|
|
1858
2202
|
name: "x-api-token",
|
|
1859
2203
|
type: "apiKey"
|
|
@@ -1931,6 +2275,12 @@ var missionsControllerRepriceMissions1 = /* @__PURE__ */ __name((options) => {
|
|
|
1931
2275
|
}, "missionsControllerRepriceMissions1");
|
|
1932
2276
|
var listProposals = /* @__PURE__ */ __name((options) => {
|
|
1933
2277
|
return (options?.client ?? client).get({
|
|
2278
|
+
security: [
|
|
2279
|
+
{
|
|
2280
|
+
name: "x-api-token",
|
|
2281
|
+
type: "apiKey"
|
|
2282
|
+
}
|
|
2283
|
+
],
|
|
1934
2284
|
responseTransformer: listProposalsResponseTransformer,
|
|
1935
2285
|
url: "/v1/proposals",
|
|
1936
2286
|
...options
|
|
@@ -1954,6 +2304,12 @@ var submitProposal = /* @__PURE__ */ __name((options) => {
|
|
|
1954
2304
|
}, "submitProposal");
|
|
1955
2305
|
var getProposal = /* @__PURE__ */ __name((options) => {
|
|
1956
2306
|
return (options.client ?? client).get({
|
|
2307
|
+
security: [
|
|
2308
|
+
{
|
|
2309
|
+
name: "x-api-token",
|
|
2310
|
+
type: "apiKey"
|
|
2311
|
+
}
|
|
2312
|
+
],
|
|
1957
2313
|
responseTransformer: getProposalResponseTransformer,
|
|
1958
2314
|
url: "/v1/proposals/{id}",
|
|
1959
2315
|
...options
|
|
@@ -2095,18 +2451,6 @@ var quotesControllerGetQuote1 = /* @__PURE__ */ __name((options) => {
|
|
|
2095
2451
|
...options
|
|
2096
2452
|
});
|
|
2097
2453
|
}, "quotesControllerGetQuote1");
|
|
2098
|
-
var schemaControllerGetEventSchema0V1 = /* @__PURE__ */ __name((options) => {
|
|
2099
|
-
return (options?.client ?? client).get({
|
|
2100
|
-
url: "/v1/schema/event",
|
|
2101
|
-
...options
|
|
2102
|
-
});
|
|
2103
|
-
}, "schemaControllerGetEventSchema0V1");
|
|
2104
|
-
var schemaControllerGetEventSchema1 = /* @__PURE__ */ __name((options) => {
|
|
2105
|
-
return (options?.client ?? client).get({
|
|
2106
|
-
url: "/schema/event",
|
|
2107
|
-
...options
|
|
2108
|
-
});
|
|
2109
|
-
}, "schemaControllerGetEventSchema1");
|
|
2110
2454
|
var vaultsControllerCreateVaults0V1 = /* @__PURE__ */ __name((options) => {
|
|
2111
2455
|
return (options.client ?? client).post({
|
|
2112
2456
|
security: [
|
|
@@ -2420,6 +2764,10 @@ var zonesControllerDeleteZone0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
2420
2764
|
var zonesControllerGetZone0V1 = /* @__PURE__ */ __name((options) => {
|
|
2421
2765
|
return (options.client ?? client).get({
|
|
2422
2766
|
security: [
|
|
2767
|
+
{
|
|
2768
|
+
name: "x-api-token",
|
|
2769
|
+
type: "apiKey"
|
|
2770
|
+
},
|
|
2423
2771
|
{
|
|
2424
2772
|
name: "x-api-token",
|
|
2425
2773
|
type: "apiKey"
|
|
@@ -2462,6 +2810,10 @@ var zonesControllerDeleteZone1 = /* @__PURE__ */ __name((options) => {
|
|
|
2462
2810
|
var zonesControllerGetZone1 = /* @__PURE__ */ __name((options) => {
|
|
2463
2811
|
return (options.client ?? client).get({
|
|
2464
2812
|
security: [
|
|
2813
|
+
{
|
|
2814
|
+
name: "x-api-token",
|
|
2815
|
+
type: "apiKey"
|
|
2816
|
+
},
|
|
2465
2817
|
{
|
|
2466
2818
|
name: "x-api-token",
|
|
2467
2819
|
type: "apiKey"
|
|
@@ -2717,6 +3069,433 @@ var inboundWebhookConfigsControllerUpdate1 = /* @__PURE__ */ __name((options) =>
|
|
|
2717
3069
|
}
|
|
2718
3070
|
});
|
|
2719
3071
|
}, "inboundWebhookConfigsControllerUpdate1");
|
|
3072
|
+
var campaignsControllerGetCampaignsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3073
|
+
return (options?.client ?? client).get({
|
|
3074
|
+
security: [
|
|
3075
|
+
{
|
|
3076
|
+
name: "x-api-token",
|
|
3077
|
+
type: "apiKey"
|
|
3078
|
+
}
|
|
3079
|
+
],
|
|
3080
|
+
responseTransformer: campaignsControllerGetCampaignsV2V2ResponseTransformer,
|
|
3081
|
+
url: "/v2/campaigns",
|
|
3082
|
+
...options
|
|
3083
|
+
});
|
|
3084
|
+
}, "campaignsControllerGetCampaignsV2V2");
|
|
3085
|
+
var campaignsControllerCreateCampaignV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3086
|
+
return (options.client ?? client).post({
|
|
3087
|
+
security: [
|
|
3088
|
+
{
|
|
3089
|
+
name: "x-api-token",
|
|
3090
|
+
type: "apiKey"
|
|
3091
|
+
}
|
|
3092
|
+
],
|
|
3093
|
+
responseTransformer: campaignsControllerCreateCampaignV2V2ResponseTransformer,
|
|
3094
|
+
url: "/v2/campaigns",
|
|
3095
|
+
...options,
|
|
3096
|
+
headers: {
|
|
3097
|
+
"Content-Type": "application/json",
|
|
3098
|
+
...options.headers
|
|
3099
|
+
}
|
|
3100
|
+
});
|
|
3101
|
+
}, "campaignsControllerCreateCampaignV2V2");
|
|
3102
|
+
var campaignsControllerGetCampaignV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3103
|
+
return (options.client ?? client).get({
|
|
3104
|
+
security: [
|
|
3105
|
+
{
|
|
3106
|
+
name: "x-api-token",
|
|
3107
|
+
type: "apiKey"
|
|
3108
|
+
}
|
|
3109
|
+
],
|
|
3110
|
+
responseTransformer: campaignsControllerGetCampaignV2V2ResponseTransformer,
|
|
3111
|
+
url: "/v2/campaigns/{id}",
|
|
3112
|
+
...options
|
|
3113
|
+
});
|
|
3114
|
+
}, "campaignsControllerGetCampaignV2V2");
|
|
3115
|
+
var campaignsControllerUpdateCampaignV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3116
|
+
return (options.client ?? client).patch({
|
|
3117
|
+
security: [
|
|
3118
|
+
{
|
|
3119
|
+
name: "x-api-token",
|
|
3120
|
+
type: "apiKey"
|
|
3121
|
+
}
|
|
3122
|
+
],
|
|
3123
|
+
responseTransformer: campaignsControllerUpdateCampaignV2V2ResponseTransformer,
|
|
3124
|
+
url: "/v2/campaigns/{id}",
|
|
3125
|
+
...options,
|
|
3126
|
+
headers: {
|
|
3127
|
+
"Content-Type": "application/json",
|
|
3128
|
+
...options.headers
|
|
3129
|
+
}
|
|
3130
|
+
});
|
|
3131
|
+
}, "campaignsControllerUpdateCampaignV2V2");
|
|
3132
|
+
var campaignsControllerCancelCampaignV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3133
|
+
return (options.client ?? client).post({
|
|
3134
|
+
security: [
|
|
3135
|
+
{
|
|
3136
|
+
name: "x-api-token",
|
|
3137
|
+
type: "apiKey"
|
|
3138
|
+
}
|
|
3139
|
+
],
|
|
3140
|
+
url: "/v2/campaigns/{id}/cancel",
|
|
3141
|
+
...options
|
|
3142
|
+
});
|
|
3143
|
+
}, "campaignsControllerCancelCampaignV2V2");
|
|
3144
|
+
var flightPlansControllerGetManyV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3145
|
+
return (options?.client ?? client).get({
|
|
3146
|
+
security: [
|
|
3147
|
+
{
|
|
3148
|
+
name: "x-api-token",
|
|
3149
|
+
type: "apiKey"
|
|
3150
|
+
}
|
|
3151
|
+
],
|
|
3152
|
+
responseTransformer: flightPlansControllerGetManyV2V2ResponseTransformer,
|
|
3153
|
+
url: "/v2/flight-plans",
|
|
3154
|
+
...options
|
|
3155
|
+
});
|
|
3156
|
+
}, "flightPlansControllerGetManyV2V2");
|
|
3157
|
+
var flightPlansControllerCreateV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3158
|
+
return (options.client ?? client).post({
|
|
3159
|
+
security: [
|
|
3160
|
+
{
|
|
3161
|
+
name: "x-api-token",
|
|
3162
|
+
type: "apiKey"
|
|
3163
|
+
}
|
|
3164
|
+
],
|
|
3165
|
+
responseTransformer: flightPlansControllerCreateV2V2ResponseTransformer,
|
|
3166
|
+
url: "/v2/flight-plans",
|
|
3167
|
+
...options,
|
|
3168
|
+
headers: {
|
|
3169
|
+
"Content-Type": "application/json",
|
|
3170
|
+
...options.headers
|
|
3171
|
+
}
|
|
3172
|
+
});
|
|
3173
|
+
}, "flightPlansControllerCreateV2V2");
|
|
3174
|
+
var flightPlansControllerGetV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3175
|
+
return (options.client ?? client).get({
|
|
3176
|
+
security: [
|
|
3177
|
+
{
|
|
3178
|
+
name: "x-api-token",
|
|
3179
|
+
type: "apiKey"
|
|
3180
|
+
}
|
|
3181
|
+
],
|
|
3182
|
+
responseTransformer: flightPlansControllerGetV2V2ResponseTransformer,
|
|
3183
|
+
url: "/v2/flight-plans/{id}",
|
|
3184
|
+
...options
|
|
3185
|
+
});
|
|
3186
|
+
}, "flightPlansControllerGetV2V2");
|
|
3187
|
+
var flightPlansControllerUpdateV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3188
|
+
return (options.client ?? client).put({
|
|
3189
|
+
security: [
|
|
3190
|
+
{
|
|
3191
|
+
name: "x-api-token",
|
|
3192
|
+
type: "apiKey"
|
|
3193
|
+
}
|
|
3194
|
+
],
|
|
3195
|
+
responseTransformer: flightPlansControllerUpdateV2V2ResponseTransformer,
|
|
3196
|
+
url: "/v2/flight-plans/{id}",
|
|
3197
|
+
...options,
|
|
3198
|
+
headers: {
|
|
3199
|
+
"Content-Type": "application/json",
|
|
3200
|
+
...options.headers
|
|
3201
|
+
}
|
|
3202
|
+
});
|
|
3203
|
+
}, "flightPlansControllerUpdateV2V2");
|
|
3204
|
+
var flightPlansControllerExpandV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3205
|
+
return (options.client ?? client).post({
|
|
3206
|
+
security: [
|
|
3207
|
+
{
|
|
3208
|
+
name: "x-api-token",
|
|
3209
|
+
type: "apiKey"
|
|
3210
|
+
}
|
|
3211
|
+
],
|
|
3212
|
+
url: "/v2/flight-plans/{id}/expand",
|
|
3213
|
+
...options,
|
|
3214
|
+
headers: {
|
|
3215
|
+
"Content-Type": "application/json",
|
|
3216
|
+
...options.headers
|
|
3217
|
+
}
|
|
3218
|
+
});
|
|
3219
|
+
}, "flightPlansControllerExpandV2V2");
|
|
3220
|
+
var flightsControllerGetFlightsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3221
|
+
return (options?.client ?? client).get({
|
|
3222
|
+
security: [
|
|
3223
|
+
{
|
|
3224
|
+
name: "x-api-token",
|
|
3225
|
+
type: "apiKey"
|
|
3226
|
+
}
|
|
3227
|
+
],
|
|
3228
|
+
responseTransformer: flightsControllerGetFlightsV2V2ResponseTransformer,
|
|
3229
|
+
url: "/v2/flights",
|
|
3230
|
+
...options
|
|
3231
|
+
});
|
|
3232
|
+
}, "flightsControllerGetFlightsV2V2");
|
|
3233
|
+
var flightsControllerCreateFlightV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3234
|
+
return (options.client ?? client).post({
|
|
3235
|
+
security: [
|
|
3236
|
+
{
|
|
3237
|
+
name: "x-api-token",
|
|
3238
|
+
type: "apiKey"
|
|
3239
|
+
}
|
|
3240
|
+
],
|
|
3241
|
+
responseTransformer: flightsControllerCreateFlightV2V2ResponseTransformer,
|
|
3242
|
+
url: "/v2/flights",
|
|
3243
|
+
...options,
|
|
3244
|
+
headers: {
|
|
3245
|
+
"Content-Type": "application/json",
|
|
3246
|
+
...options.headers
|
|
3247
|
+
}
|
|
3248
|
+
});
|
|
3249
|
+
}, "flightsControllerCreateFlightV2V2");
|
|
3250
|
+
var flightsControllerGetProvenanceKeyV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3251
|
+
return (options?.client ?? client).get({
|
|
3252
|
+
security: [
|
|
3253
|
+
{
|
|
3254
|
+
name: "x-api-token",
|
|
3255
|
+
type: "apiKey"
|
|
3256
|
+
}
|
|
3257
|
+
],
|
|
3258
|
+
url: "/v2/flights/provenance-key",
|
|
3259
|
+
...options
|
|
3260
|
+
});
|
|
3261
|
+
}, "flightsControllerGetProvenanceKeyV2V2");
|
|
3262
|
+
var flightsControllerGetFlightV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3263
|
+
return (options.client ?? client).get({
|
|
3264
|
+
security: [
|
|
3265
|
+
{
|
|
3266
|
+
name: "x-api-token",
|
|
3267
|
+
type: "apiKey"
|
|
3268
|
+
}
|
|
3269
|
+
],
|
|
3270
|
+
responseTransformer: flightsControllerGetFlightV2V2ResponseTransformer,
|
|
3271
|
+
url: "/v2/flights/{id}",
|
|
3272
|
+
...options
|
|
3273
|
+
});
|
|
3274
|
+
}, "flightsControllerGetFlightV2V2");
|
|
3275
|
+
var flightsControllerGetExpectedImagesV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3276
|
+
return (options.client ?? client).get({
|
|
3277
|
+
security: [
|
|
3278
|
+
{
|
|
3279
|
+
name: "x-api-token",
|
|
3280
|
+
type: "apiKey"
|
|
3281
|
+
}
|
|
3282
|
+
],
|
|
3283
|
+
url: "/v2/flights/{id}/expected-images",
|
|
3284
|
+
...options
|
|
3285
|
+
});
|
|
3286
|
+
}, "flightsControllerGetExpectedImagesV2V2");
|
|
3287
|
+
var flightsControllerGetProvenanceUploadUrlV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3288
|
+
return (options.client ?? client).get({
|
|
3289
|
+
security: [
|
|
3290
|
+
{
|
|
3291
|
+
name: "x-api-token",
|
|
3292
|
+
type: "apiKey"
|
|
3293
|
+
}
|
|
3294
|
+
],
|
|
3295
|
+
url: "/v2/flights/{id}/provenance-upload-url",
|
|
3296
|
+
...options
|
|
3297
|
+
});
|
|
3298
|
+
}, "flightsControllerGetProvenanceUploadUrlV2V2");
|
|
3299
|
+
var flightsControllerGetReviewV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3300
|
+
return (options.client ?? client).get({
|
|
3301
|
+
security: [
|
|
3302
|
+
{
|
|
3303
|
+
name: "x-api-token",
|
|
3304
|
+
type: "apiKey"
|
|
3305
|
+
}
|
|
3306
|
+
],
|
|
3307
|
+
responseTransformer: flightsControllerGetReviewV2V2ResponseTransformer,
|
|
3308
|
+
url: "/v2/flights/{id}/review",
|
|
3309
|
+
...options
|
|
3310
|
+
});
|
|
3311
|
+
}, "flightsControllerGetReviewV2V2");
|
|
3312
|
+
var flightsControllerRequestReviewV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3313
|
+
return (options.client ?? client).post({
|
|
3314
|
+
security: [
|
|
3315
|
+
{
|
|
3316
|
+
name: "x-api-token",
|
|
3317
|
+
type: "apiKey"
|
|
3318
|
+
}
|
|
3319
|
+
],
|
|
3320
|
+
responseTransformer: flightsControllerRequestReviewV2V2ResponseTransformer,
|
|
3321
|
+
url: "/v2/flights/{id}/review",
|
|
3322
|
+
...options
|
|
3323
|
+
});
|
|
3324
|
+
}, "flightsControllerRequestReviewV2V2");
|
|
3325
|
+
var flightsControllerImageUploadUrlsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3326
|
+
return (options.client ?? client).post({
|
|
3327
|
+
security: [
|
|
3328
|
+
{
|
|
3329
|
+
name: "x-api-token",
|
|
3330
|
+
type: "apiKey"
|
|
3331
|
+
}
|
|
3332
|
+
],
|
|
3333
|
+
url: "/v2/flights/{id}/expected-images/upload-urls",
|
|
3334
|
+
...options,
|
|
3335
|
+
headers: {
|
|
3336
|
+
"Content-Type": "application/json",
|
|
3337
|
+
...options.headers
|
|
3338
|
+
}
|
|
3339
|
+
});
|
|
3340
|
+
}, "flightsControllerImageUploadUrlsV2V2");
|
|
3341
|
+
var flightsControllerSubmitProvenanceV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3342
|
+
return (options.client ?? client).post({
|
|
3343
|
+
security: [
|
|
3344
|
+
{
|
|
3345
|
+
name: "x-api-token",
|
|
3346
|
+
type: "apiKey"
|
|
3347
|
+
}
|
|
3348
|
+
],
|
|
3349
|
+
responseTransformer: flightsControllerSubmitProvenanceV2V2ResponseTransformer,
|
|
3350
|
+
url: "/v2/flights/{id}/provenance",
|
|
3351
|
+
...options
|
|
3352
|
+
});
|
|
3353
|
+
}, "flightsControllerSubmitProvenanceV2V2");
|
|
3354
|
+
var missionsControllerGetMissionsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3355
|
+
return (options?.client ?? client).get({
|
|
3356
|
+
security: [
|
|
3357
|
+
{
|
|
3358
|
+
name: "x-api-token",
|
|
3359
|
+
type: "apiKey"
|
|
3360
|
+
}
|
|
3361
|
+
],
|
|
3362
|
+
responseTransformer: missionsControllerGetMissionsV2V2ResponseTransformer,
|
|
3363
|
+
url: "/v2/missions",
|
|
3364
|
+
...options
|
|
3365
|
+
});
|
|
3366
|
+
}, "missionsControllerGetMissionsV2V2");
|
|
3367
|
+
var missionsControllerCreateMissionsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3368
|
+
return (options.client ?? client).post({
|
|
3369
|
+
security: [
|
|
3370
|
+
{
|
|
3371
|
+
name: "x-api-token",
|
|
3372
|
+
type: "apiKey"
|
|
3373
|
+
}
|
|
3374
|
+
],
|
|
3375
|
+
responseTransformer: missionsControllerCreateMissionsV2V2ResponseTransformer,
|
|
3376
|
+
url: "/v2/missions",
|
|
3377
|
+
...options,
|
|
3378
|
+
headers: {
|
|
3379
|
+
"Content-Type": "application/json",
|
|
3380
|
+
...options.headers
|
|
3381
|
+
}
|
|
3382
|
+
});
|
|
3383
|
+
}, "missionsControllerCreateMissionsV2V2");
|
|
3384
|
+
var missionsControllerGetMissionV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3385
|
+
return (options.client ?? client).get({
|
|
3386
|
+
security: [
|
|
3387
|
+
{
|
|
3388
|
+
name: "x-api-token",
|
|
3389
|
+
type: "apiKey"
|
|
3390
|
+
}
|
|
3391
|
+
],
|
|
3392
|
+
responseTransformer: missionsControllerGetMissionV2V2ResponseTransformer,
|
|
3393
|
+
url: "/v2/missions/{id}",
|
|
3394
|
+
...options
|
|
3395
|
+
});
|
|
3396
|
+
}, "missionsControllerGetMissionV2V2");
|
|
3397
|
+
var missionsControllerUpdateMissionV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3398
|
+
return (options.client ?? client).patch({
|
|
3399
|
+
security: [
|
|
3400
|
+
{
|
|
3401
|
+
name: "x-api-token",
|
|
3402
|
+
type: "apiKey"
|
|
3403
|
+
}
|
|
3404
|
+
],
|
|
3405
|
+
responseTransformer: missionsControllerUpdateMissionV2V2ResponseTransformer,
|
|
3406
|
+
url: "/v2/missions/{id}",
|
|
3407
|
+
...options,
|
|
3408
|
+
headers: {
|
|
3409
|
+
"Content-Type": "application/json",
|
|
3410
|
+
...options.headers
|
|
3411
|
+
}
|
|
3412
|
+
});
|
|
3413
|
+
}, "missionsControllerUpdateMissionV2V2");
|
|
3414
|
+
var missionsControllerCancelMissionV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3415
|
+
return (options.client ?? client).post({
|
|
3416
|
+
security: [
|
|
3417
|
+
{
|
|
3418
|
+
name: "x-api-token",
|
|
3419
|
+
type: "apiKey"
|
|
3420
|
+
}
|
|
3421
|
+
],
|
|
3422
|
+
responseTransformer: missionsControllerCancelMissionV2V2ResponseTransformer,
|
|
3423
|
+
url: "/v2/missions/{id}/cancel",
|
|
3424
|
+
...options
|
|
3425
|
+
});
|
|
3426
|
+
}, "missionsControllerCancelMissionV2V2");
|
|
3427
|
+
var missionsControllerRetryMissionV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3428
|
+
return (options.client ?? client).post({
|
|
3429
|
+
security: [
|
|
3430
|
+
{
|
|
3431
|
+
name: "x-api-token",
|
|
3432
|
+
type: "apiKey"
|
|
3433
|
+
}
|
|
3434
|
+
],
|
|
3435
|
+
responseTransformer: missionsControllerRetryMissionV2V2ResponseTransformer,
|
|
3436
|
+
url: "/v2/missions/{id}/retry",
|
|
3437
|
+
...options
|
|
3438
|
+
});
|
|
3439
|
+
}, "missionsControllerRetryMissionV2V2");
|
|
3440
|
+
var rewardsControllerListRewardsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3441
|
+
return (options?.client ?? client).get({
|
|
3442
|
+
security: [
|
|
3443
|
+
{
|
|
3444
|
+
name: "x-api-token",
|
|
3445
|
+
type: "apiKey"
|
|
3446
|
+
}
|
|
3447
|
+
],
|
|
3448
|
+
responseTransformer: rewardsControllerListRewardsV2V2ResponseTransformer,
|
|
3449
|
+
url: "/v2/rewards",
|
|
3450
|
+
...options
|
|
3451
|
+
});
|
|
3452
|
+
}, "rewardsControllerListRewardsV2V2");
|
|
3453
|
+
var zonesControllerCreateZonesV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3454
|
+
return (options.client ?? client).post({
|
|
3455
|
+
security: [
|
|
3456
|
+
{
|
|
3457
|
+
name: "x-api-token",
|
|
3458
|
+
type: "apiKey"
|
|
3459
|
+
}
|
|
3460
|
+
],
|
|
3461
|
+
url: "/v2/zones",
|
|
3462
|
+
...options,
|
|
3463
|
+
headers: {
|
|
3464
|
+
"Content-Type": "application/json",
|
|
3465
|
+
...options.headers
|
|
3466
|
+
}
|
|
3467
|
+
});
|
|
3468
|
+
}, "zonesControllerCreateZonesV2V2");
|
|
3469
|
+
var zonesControllerGetZoneV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3470
|
+
return (options.client ?? client).get({
|
|
3471
|
+
security: [
|
|
3472
|
+
{
|
|
3473
|
+
name: "x-api-token",
|
|
3474
|
+
type: "apiKey"
|
|
3475
|
+
}
|
|
3476
|
+
],
|
|
3477
|
+
responseTransformer: zonesControllerGetZoneV2V2ResponseTransformer,
|
|
3478
|
+
url: "/v2/zones/{id}",
|
|
3479
|
+
...options
|
|
3480
|
+
});
|
|
3481
|
+
}, "zonesControllerGetZoneV2V2");
|
|
3482
|
+
var zonesControllerUpdateZoneV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3483
|
+
return (options.client ?? client).put({
|
|
3484
|
+
security: [
|
|
3485
|
+
{
|
|
3486
|
+
name: "x-api-token",
|
|
3487
|
+
type: "apiKey"
|
|
3488
|
+
}
|
|
3489
|
+
],
|
|
3490
|
+
responseTransformer: zonesControllerUpdateZoneV2V2ResponseTransformer,
|
|
3491
|
+
url: "/v2/zones/{id}",
|
|
3492
|
+
...options,
|
|
3493
|
+
headers: {
|
|
3494
|
+
"Content-Type": "application/json",
|
|
3495
|
+
...options.headers
|
|
3496
|
+
}
|
|
3497
|
+
});
|
|
3498
|
+
}, "zonesControllerUpdateZoneV2V2");
|
|
2720
3499
|
|
|
2721
3500
|
// src/event/types.gen.ts
|
|
2722
3501
|
import { z } from "zod";
|
|
@@ -2930,17 +3709,24 @@ export {
|
|
|
2930
3709
|
apiTokenControllerGetToken1,
|
|
2931
3710
|
apiTokenControllerUpdateToken0V1,
|
|
2932
3711
|
apiTokenControllerUpdateToken1,
|
|
3712
|
+
backfillControllerTrigger0V1,
|
|
3713
|
+
backfillControllerTrigger1,
|
|
2933
3714
|
buildClientParams,
|
|
3715
|
+
campaignsControllerCancelCampaignV2V2,
|
|
2934
3716
|
campaignsControllerCreate0V1,
|
|
2935
3717
|
campaignsControllerCreate1,
|
|
3718
|
+
campaignsControllerCreateCampaignV2V2,
|
|
2936
3719
|
campaignsControllerDelete0V1,
|
|
2937
3720
|
campaignsControllerDelete1,
|
|
2938
3721
|
campaignsControllerGet0V1,
|
|
2939
3722
|
campaignsControllerGet1,
|
|
3723
|
+
campaignsControllerGetCampaignV2V2,
|
|
3724
|
+
campaignsControllerGetCampaignsV2V2,
|
|
2940
3725
|
campaignsControllerGetMany0V1,
|
|
2941
3726
|
campaignsControllerGetMany1,
|
|
2942
3727
|
campaignsControllerUpdate0V1,
|
|
2943
3728
|
campaignsControllerUpdate1,
|
|
3729
|
+
campaignsControllerUpdateCampaignV2V2,
|
|
2944
3730
|
conditionsControllerGetSunAltitudeTimeLimits0V1,
|
|
2945
3731
|
conditionsControllerGetSunAltitudeTimeLimits1,
|
|
2946
3732
|
contractsControllerCreateContract0V1,
|
|
@@ -2963,20 +3749,35 @@ export {
|
|
|
2963
3749
|
eventProcessorMissionsSyncControllerResyncMissions1,
|
|
2964
3750
|
flightPlansControllerCreate0V1,
|
|
2965
3751
|
flightPlansControllerCreate1,
|
|
3752
|
+
flightPlansControllerCreateV2V2,
|
|
3753
|
+
flightPlansControllerExpandV2V2,
|
|
2966
3754
|
flightPlansControllerGet0V1,
|
|
2967
3755
|
flightPlansControllerGet1,
|
|
2968
3756
|
flightPlansControllerGetMany0V1,
|
|
2969
3757
|
flightPlansControllerGetMany1,
|
|
3758
|
+
flightPlansControllerGetManyV2V2,
|
|
3759
|
+
flightPlansControllerGetV2V2,
|
|
3760
|
+
flightPlansControllerUpdateV2V2,
|
|
2970
3761
|
flightReviewsControllerGetFlightReview0V1,
|
|
2971
3762
|
flightReviewsControllerGetFlightReview1,
|
|
2972
3763
|
flightReviewsControllerGetFlightReviews0V1,
|
|
2973
3764
|
flightReviewsControllerGetFlightReviews1,
|
|
3765
|
+
flightsControllerCreateFlightV2V2,
|
|
2974
3766
|
flightsControllerCreatePresignedUrls0V1,
|
|
2975
3767
|
flightsControllerCreatePresignedUrls1,
|
|
2976
3768
|
flightsControllerGenerateStorageKey0V1,
|
|
2977
3769
|
flightsControllerGenerateStorageKey1,
|
|
3770
|
+
flightsControllerGetExpectedImagesV2V2,
|
|
2978
3771
|
flightsControllerGetFlight0V1,
|
|
2979
3772
|
flightsControllerGetFlight1,
|
|
3773
|
+
flightsControllerGetFlightV2V2,
|
|
3774
|
+
flightsControllerGetFlightsV2V2,
|
|
3775
|
+
flightsControllerGetProvenanceKeyV2V2,
|
|
3776
|
+
flightsControllerGetProvenanceUploadUrlV2V2,
|
|
3777
|
+
flightsControllerGetReviewV2V2,
|
|
3778
|
+
flightsControllerImageUploadUrlsV2V2,
|
|
3779
|
+
flightsControllerRequestReviewV2V2,
|
|
3780
|
+
flightsControllerSubmitProvenanceV2V2,
|
|
2980
3781
|
flightsControllerValidateFlight0V1,
|
|
2981
3782
|
flightsControllerValidateFlight1,
|
|
2982
3783
|
formDataBodySerializer,
|
|
@@ -2996,14 +3797,20 @@ export {
|
|
|
2996
3797
|
keysControllerGetProvenanceCryptoKey1,
|
|
2997
3798
|
listProposals,
|
|
2998
3799
|
mergeHeaders,
|
|
3800
|
+
missionsControllerCancelMissionV2V2,
|
|
2999
3801
|
missionsControllerCreateMissions0V1,
|
|
3000
3802
|
missionsControllerCreateMissions1,
|
|
3803
|
+
missionsControllerCreateMissionsV2V2,
|
|
3001
3804
|
missionsControllerGetMission0V1,
|
|
3002
3805
|
missionsControllerGetMission1,
|
|
3806
|
+
missionsControllerGetMissionV2V2,
|
|
3003
3807
|
missionsControllerGetMissions0V1,
|
|
3004
3808
|
missionsControllerGetMissions1,
|
|
3809
|
+
missionsControllerGetMissionsV2V2,
|
|
3005
3810
|
missionsControllerRepriceMissions0V1,
|
|
3006
3811
|
missionsControllerRepriceMissions1,
|
|
3812
|
+
missionsControllerRetryMissionV2V2,
|
|
3813
|
+
missionsControllerUpdateMissionV2V2,
|
|
3007
3814
|
missionsControllerUpdateMissions0V1,
|
|
3008
3815
|
missionsControllerUpdateMissions1,
|
|
3009
3816
|
parseWebhookEvent,
|
|
@@ -3016,8 +3823,7 @@ export {
|
|
|
3016
3823
|
quotesControllerGetQuote0V1,
|
|
3017
3824
|
quotesControllerGetQuote1,
|
|
3018
3825
|
reviewProposal,
|
|
3019
|
-
|
|
3020
|
-
schemaControllerGetEventSchema1,
|
|
3826
|
+
rewardsControllerListRewardsV2V2,
|
|
3021
3827
|
submitProposal,
|
|
3022
3828
|
urlSearchParamsBodySerializer,
|
|
3023
3829
|
vaultsControllerCreateVaults0V1,
|
|
@@ -3040,10 +3846,13 @@ export {
|
|
|
3040
3846
|
webhooksControllerUpdate1,
|
|
3041
3847
|
zonesControllerCreateZone0V1,
|
|
3042
3848
|
zonesControllerCreateZone1,
|
|
3849
|
+
zonesControllerCreateZonesV2V2,
|
|
3043
3850
|
zonesControllerDeleteZone0V1,
|
|
3044
3851
|
zonesControllerDeleteZone1,
|
|
3045
3852
|
zonesControllerGetZone0V1,
|
|
3046
3853
|
zonesControllerGetZone1,
|
|
3854
|
+
zonesControllerGetZoneV2V2,
|
|
3047
3855
|
zonesControllerUpdateZone0V1,
|
|
3048
|
-
zonesControllerUpdateZone1
|
|
3856
|
+
zonesControllerUpdateZone1,
|
|
3857
|
+
zonesControllerUpdateZoneV2V2
|
|
3049
3858
|
};
|