@layer-drone/protocol 1.0.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1226 -159
- package/dist/index.d.ts +1226 -159
- package/dist/index.js +878 -19
- package/dist/index.mjs +844 -16
- package/package.json +5 -3
- package/src/client/client.gen.ts +5 -1
- package/src/client/sdk.gen.ts +1209 -171
- package/src/client/transformers.gen.ts +390 -0
- package/src/client/types.gen.ts +1532 -139
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) => {
|
|
@@ -982,10 +984,18 @@ var zonesControllerCreateZone1ResponseTransformer = /* @__PURE__ */ __name(async
|
|
|
982
984
|
data = zoneResponseDtoSchemaResponseTransformer(data);
|
|
983
985
|
return data;
|
|
984
986
|
}, "zonesControllerCreateZone1ResponseTransformer");
|
|
987
|
+
var zonesControllerGetZone0V1ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
988
|
+
data = zoneResponseDtoSchemaResponseTransformer(data);
|
|
989
|
+
return data;
|
|
990
|
+
}, "zonesControllerGetZone0V1ResponseTransformer");
|
|
985
991
|
var zonesControllerUpdateZone0V1ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
986
992
|
data = zoneResponseDtoSchemaResponseTransformer(data);
|
|
987
993
|
return data;
|
|
988
994
|
}, "zonesControllerUpdateZone0V1ResponseTransformer");
|
|
995
|
+
var zonesControllerGetZone1ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
996
|
+
data = zoneResponseDtoSchemaResponseTransformer(data);
|
|
997
|
+
return data;
|
|
998
|
+
}, "zonesControllerGetZone1ResponseTransformer");
|
|
989
999
|
var zonesControllerUpdateZone1ResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
990
1000
|
data = zoneResponseDtoSchemaResponseTransformer(data);
|
|
991
1001
|
return data;
|
|
@@ -1045,6 +1055,268 @@ var inboundWebhookConfigsControllerUpdate1ResponseTransformer = /* @__PURE__ */
|
|
|
1045
1055
|
data = updateInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
1046
1056
|
return data;
|
|
1047
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");
|
|
1048
1320
|
|
|
1049
1321
|
// src/client/sdk.gen.ts
|
|
1050
1322
|
var apiControllerGetHello0V1 = /* @__PURE__ */ __name((options) => {
|
|
@@ -1185,9 +1457,45 @@ var apiTokenControllerUpdateToken1 = /* @__PURE__ */ __name((options) => {
|
|
|
1185
1457
|
}
|
|
1186
1458
|
});
|
|
1187
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");
|
|
1188
1492
|
var campaignsControllerGetMany0V1 = /* @__PURE__ */ __name((options) => {
|
|
1189
1493
|
return (options?.client ?? client).get({
|
|
1190
1494
|
security: [
|
|
1495
|
+
{
|
|
1496
|
+
name: "x-api-token",
|
|
1497
|
+
type: "apiKey"
|
|
1498
|
+
},
|
|
1191
1499
|
{
|
|
1192
1500
|
name: "x-api-token",
|
|
1193
1501
|
type: "apiKey"
|
|
@@ -1216,6 +1524,10 @@ var campaignsControllerCreate0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1216
1524
|
var campaignsControllerGetMany1 = /* @__PURE__ */ __name((options) => {
|
|
1217
1525
|
return (options?.client ?? client).get({
|
|
1218
1526
|
security: [
|
|
1527
|
+
{
|
|
1528
|
+
name: "x-api-token",
|
|
1529
|
+
type: "apiKey"
|
|
1530
|
+
},
|
|
1219
1531
|
{
|
|
1220
1532
|
name: "x-api-token",
|
|
1221
1533
|
type: "apiKey"
|
|
@@ -1256,6 +1568,10 @@ var campaignsControllerDelete0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1256
1568
|
var campaignsControllerGet0V1 = /* @__PURE__ */ __name((options) => {
|
|
1257
1569
|
return (options.client ?? client).get({
|
|
1258
1570
|
security: [
|
|
1571
|
+
{
|
|
1572
|
+
name: "x-api-token",
|
|
1573
|
+
type: "apiKey"
|
|
1574
|
+
},
|
|
1259
1575
|
{
|
|
1260
1576
|
name: "x-api-token",
|
|
1261
1577
|
type: "apiKey"
|
|
@@ -1296,6 +1612,10 @@ var campaignsControllerDelete1 = /* @__PURE__ */ __name((options) => {
|
|
|
1296
1612
|
var campaignsControllerGet1 = /* @__PURE__ */ __name((options) => {
|
|
1297
1613
|
return (options.client ?? client).get({
|
|
1298
1614
|
security: [
|
|
1615
|
+
{
|
|
1616
|
+
name: "x-api-token",
|
|
1617
|
+
type: "apiKey"
|
|
1618
|
+
},
|
|
1299
1619
|
{
|
|
1300
1620
|
name: "x-api-token",
|
|
1301
1621
|
type: "apiKey"
|
|
@@ -1624,6 +1944,10 @@ var flightsControllerValidateFlight1 = /* @__PURE__ */ __name((options) => {
|
|
|
1624
1944
|
var flightPlansControllerGetMany0V1 = /* @__PURE__ */ __name((options) => {
|
|
1625
1945
|
return (options?.client ?? client).get({
|
|
1626
1946
|
security: [
|
|
1947
|
+
{
|
|
1948
|
+
name: "x-api-token",
|
|
1949
|
+
type: "apiKey"
|
|
1950
|
+
},
|
|
1627
1951
|
{
|
|
1628
1952
|
name: "x-api-token",
|
|
1629
1953
|
type: "apiKey"
|
|
@@ -1654,6 +1978,10 @@ var flightPlansControllerCreate0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1654
1978
|
var flightPlansControllerGetMany1 = /* @__PURE__ */ __name((options) => {
|
|
1655
1979
|
return (options?.client ?? client).get({
|
|
1656
1980
|
security: [
|
|
1981
|
+
{
|
|
1982
|
+
name: "x-api-token",
|
|
1983
|
+
type: "apiKey"
|
|
1984
|
+
},
|
|
1657
1985
|
{
|
|
1658
1986
|
name: "x-api-token",
|
|
1659
1987
|
type: "apiKey"
|
|
@@ -1684,6 +2012,10 @@ var flightPlansControllerCreate1 = /* @__PURE__ */ __name((options) => {
|
|
|
1684
2012
|
var flightPlansControllerGet0V1 = /* @__PURE__ */ __name((options) => {
|
|
1685
2013
|
return (options.client ?? client).get({
|
|
1686
2014
|
security: [
|
|
2015
|
+
{
|
|
2016
|
+
name: "x-api-token",
|
|
2017
|
+
type: "apiKey"
|
|
2018
|
+
},
|
|
1687
2019
|
{
|
|
1688
2020
|
name: "x-api-token",
|
|
1689
2021
|
type: "apiKey"
|
|
@@ -1697,6 +2029,10 @@ var flightPlansControllerGet0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1697
2029
|
var flightPlansControllerGet1 = /* @__PURE__ */ __name((options) => {
|
|
1698
2030
|
return (options.client ?? client).get({
|
|
1699
2031
|
security: [
|
|
2032
|
+
{
|
|
2033
|
+
name: "x-api-token",
|
|
2034
|
+
type: "apiKey"
|
|
2035
|
+
},
|
|
1700
2036
|
{
|
|
1701
2037
|
name: "x-api-token",
|
|
1702
2038
|
type: "apiKey"
|
|
@@ -1774,6 +2110,10 @@ var keysControllerGetProvenanceCryptoKey1 = /* @__PURE__ */ __name((options) =>
|
|
|
1774
2110
|
var missionsControllerGetMission0V1 = /* @__PURE__ */ __name((options) => {
|
|
1775
2111
|
return (options.client ?? client).get({
|
|
1776
2112
|
security: [
|
|
2113
|
+
{
|
|
2114
|
+
name: "x-api-token",
|
|
2115
|
+
type: "apiKey"
|
|
2116
|
+
},
|
|
1777
2117
|
{
|
|
1778
2118
|
name: "x-api-token",
|
|
1779
2119
|
type: "apiKey"
|
|
@@ -1787,6 +2127,10 @@ var missionsControllerGetMission0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1787
2127
|
var missionsControllerGetMission1 = /* @__PURE__ */ __name((options) => {
|
|
1788
2128
|
return (options.client ?? client).get({
|
|
1789
2129
|
security: [
|
|
2130
|
+
{
|
|
2131
|
+
name: "x-api-token",
|
|
2132
|
+
type: "apiKey"
|
|
2133
|
+
},
|
|
1790
2134
|
{
|
|
1791
2135
|
name: "x-api-token",
|
|
1792
2136
|
type: "apiKey"
|
|
@@ -1800,6 +2144,10 @@ var missionsControllerGetMission1 = /* @__PURE__ */ __name((options) => {
|
|
|
1800
2144
|
var missionsControllerGetMissions0V1 = /* @__PURE__ */ __name((options) => {
|
|
1801
2145
|
return (options?.client ?? client).get({
|
|
1802
2146
|
security: [
|
|
2147
|
+
{
|
|
2148
|
+
name: "x-api-token",
|
|
2149
|
+
type: "apiKey"
|
|
2150
|
+
},
|
|
1803
2151
|
{
|
|
1804
2152
|
name: "x-api-token",
|
|
1805
2153
|
type: "apiKey"
|
|
@@ -1846,6 +2194,10 @@ var missionsControllerUpdateMissions0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
1846
2194
|
var missionsControllerGetMissions1 = /* @__PURE__ */ __name((options) => {
|
|
1847
2195
|
return (options?.client ?? client).get({
|
|
1848
2196
|
security: [
|
|
2197
|
+
{
|
|
2198
|
+
name: "x-api-token",
|
|
2199
|
+
type: "apiKey"
|
|
2200
|
+
},
|
|
1849
2201
|
{
|
|
1850
2202
|
name: "x-api-token",
|
|
1851
2203
|
type: "apiKey"
|
|
@@ -1923,6 +2275,12 @@ var missionsControllerRepriceMissions1 = /* @__PURE__ */ __name((options) => {
|
|
|
1923
2275
|
}, "missionsControllerRepriceMissions1");
|
|
1924
2276
|
var listProposals = /* @__PURE__ */ __name((options) => {
|
|
1925
2277
|
return (options?.client ?? client).get({
|
|
2278
|
+
security: [
|
|
2279
|
+
{
|
|
2280
|
+
name: "x-api-token",
|
|
2281
|
+
type: "apiKey"
|
|
2282
|
+
}
|
|
2283
|
+
],
|
|
1926
2284
|
responseTransformer: listProposalsResponseTransformer,
|
|
1927
2285
|
url: "/v1/proposals",
|
|
1928
2286
|
...options
|
|
@@ -1946,6 +2304,12 @@ var submitProposal = /* @__PURE__ */ __name((options) => {
|
|
|
1946
2304
|
}, "submitProposal");
|
|
1947
2305
|
var getProposal = /* @__PURE__ */ __name((options) => {
|
|
1948
2306
|
return (options.client ?? client).get({
|
|
2307
|
+
security: [
|
|
2308
|
+
{
|
|
2309
|
+
name: "x-api-token",
|
|
2310
|
+
type: "apiKey"
|
|
2311
|
+
}
|
|
2312
|
+
],
|
|
1949
2313
|
responseTransformer: getProposalResponseTransformer,
|
|
1950
2314
|
url: "/v1/proposals/{id}",
|
|
1951
2315
|
...options
|
|
@@ -2087,18 +2451,6 @@ var quotesControllerGetQuote1 = /* @__PURE__ */ __name((options) => {
|
|
|
2087
2451
|
...options
|
|
2088
2452
|
});
|
|
2089
2453
|
}, "quotesControllerGetQuote1");
|
|
2090
|
-
var schemaControllerGetEventSchema0V1 = /* @__PURE__ */ __name((options) => {
|
|
2091
|
-
return (options?.client ?? client).get({
|
|
2092
|
-
url: "/v1/schema/event",
|
|
2093
|
-
...options
|
|
2094
|
-
});
|
|
2095
|
-
}, "schemaControllerGetEventSchema0V1");
|
|
2096
|
-
var schemaControllerGetEventSchema1 = /* @__PURE__ */ __name((options) => {
|
|
2097
|
-
return (options?.client ?? client).get({
|
|
2098
|
-
url: "/schema/event",
|
|
2099
|
-
...options
|
|
2100
|
-
});
|
|
2101
|
-
}, "schemaControllerGetEventSchema1");
|
|
2102
2454
|
var vaultsControllerCreateVaults0V1 = /* @__PURE__ */ __name((options) => {
|
|
2103
2455
|
return (options.client ?? client).post({
|
|
2104
2456
|
security: [
|
|
@@ -2409,6 +2761,23 @@ var zonesControllerDeleteZone0V1 = /* @__PURE__ */ __name((options) => {
|
|
|
2409
2761
|
...options
|
|
2410
2762
|
});
|
|
2411
2763
|
}, "zonesControllerDeleteZone0V1");
|
|
2764
|
+
var zonesControllerGetZone0V1 = /* @__PURE__ */ __name((options) => {
|
|
2765
|
+
return (options.client ?? client).get({
|
|
2766
|
+
security: [
|
|
2767
|
+
{
|
|
2768
|
+
name: "x-api-token",
|
|
2769
|
+
type: "apiKey"
|
|
2770
|
+
},
|
|
2771
|
+
{
|
|
2772
|
+
name: "x-api-token",
|
|
2773
|
+
type: "apiKey"
|
|
2774
|
+
}
|
|
2775
|
+
],
|
|
2776
|
+
responseTransformer: zonesControllerGetZone0V1ResponseTransformer,
|
|
2777
|
+
url: "/v1/zones/{id}",
|
|
2778
|
+
...options
|
|
2779
|
+
});
|
|
2780
|
+
}, "zonesControllerGetZone0V1");
|
|
2412
2781
|
var zonesControllerUpdateZone0V1 = /* @__PURE__ */ __name((options) => {
|
|
2413
2782
|
return (options.client ?? client).put({
|
|
2414
2783
|
security: [
|
|
@@ -2438,6 +2807,23 @@ var zonesControllerDeleteZone1 = /* @__PURE__ */ __name((options) => {
|
|
|
2438
2807
|
...options
|
|
2439
2808
|
});
|
|
2440
2809
|
}, "zonesControllerDeleteZone1");
|
|
2810
|
+
var zonesControllerGetZone1 = /* @__PURE__ */ __name((options) => {
|
|
2811
|
+
return (options.client ?? client).get({
|
|
2812
|
+
security: [
|
|
2813
|
+
{
|
|
2814
|
+
name: "x-api-token",
|
|
2815
|
+
type: "apiKey"
|
|
2816
|
+
},
|
|
2817
|
+
{
|
|
2818
|
+
name: "x-api-token",
|
|
2819
|
+
type: "apiKey"
|
|
2820
|
+
}
|
|
2821
|
+
],
|
|
2822
|
+
responseTransformer: zonesControllerGetZone1ResponseTransformer,
|
|
2823
|
+
url: "/zones/{id}",
|
|
2824
|
+
...options
|
|
2825
|
+
});
|
|
2826
|
+
}, "zonesControllerGetZone1");
|
|
2441
2827
|
var zonesControllerUpdateZone1 = /* @__PURE__ */ __name((options) => {
|
|
2442
2828
|
return (options.client ?? client).put({
|
|
2443
2829
|
security: [
|
|
@@ -2683,6 +3069,417 @@ var inboundWebhookConfigsControllerUpdate1 = /* @__PURE__ */ __name((options) =>
|
|
|
2683
3069
|
}
|
|
2684
3070
|
});
|
|
2685
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 flightsControllerGetFlightsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3205
|
+
return (options?.client ?? client).get({
|
|
3206
|
+
security: [
|
|
3207
|
+
{
|
|
3208
|
+
name: "x-api-token",
|
|
3209
|
+
type: "apiKey"
|
|
3210
|
+
}
|
|
3211
|
+
],
|
|
3212
|
+
responseTransformer: flightsControllerGetFlightsV2V2ResponseTransformer,
|
|
3213
|
+
url: "/v2/flights",
|
|
3214
|
+
...options
|
|
3215
|
+
});
|
|
3216
|
+
}, "flightsControllerGetFlightsV2V2");
|
|
3217
|
+
var flightsControllerCreateFlightV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3218
|
+
return (options.client ?? client).post({
|
|
3219
|
+
security: [
|
|
3220
|
+
{
|
|
3221
|
+
name: "x-api-token",
|
|
3222
|
+
type: "apiKey"
|
|
3223
|
+
}
|
|
3224
|
+
],
|
|
3225
|
+
responseTransformer: flightsControllerCreateFlightV2V2ResponseTransformer,
|
|
3226
|
+
url: "/v2/flights",
|
|
3227
|
+
...options,
|
|
3228
|
+
headers: {
|
|
3229
|
+
"Content-Type": "application/json",
|
|
3230
|
+
...options.headers
|
|
3231
|
+
}
|
|
3232
|
+
});
|
|
3233
|
+
}, "flightsControllerCreateFlightV2V2");
|
|
3234
|
+
var flightsControllerGetProvenanceKeyV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3235
|
+
return (options?.client ?? client).get({
|
|
3236
|
+
security: [
|
|
3237
|
+
{
|
|
3238
|
+
name: "x-api-token",
|
|
3239
|
+
type: "apiKey"
|
|
3240
|
+
}
|
|
3241
|
+
],
|
|
3242
|
+
url: "/v2/flights/provenance-key",
|
|
3243
|
+
...options
|
|
3244
|
+
});
|
|
3245
|
+
}, "flightsControllerGetProvenanceKeyV2V2");
|
|
3246
|
+
var flightsControllerGetFlightV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3247
|
+
return (options.client ?? client).get({
|
|
3248
|
+
security: [
|
|
3249
|
+
{
|
|
3250
|
+
name: "x-api-token",
|
|
3251
|
+
type: "apiKey"
|
|
3252
|
+
}
|
|
3253
|
+
],
|
|
3254
|
+
responseTransformer: flightsControllerGetFlightV2V2ResponseTransformer,
|
|
3255
|
+
url: "/v2/flights/{id}",
|
|
3256
|
+
...options
|
|
3257
|
+
});
|
|
3258
|
+
}, "flightsControllerGetFlightV2V2");
|
|
3259
|
+
var flightsControllerGetExpectedImagesV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3260
|
+
return (options.client ?? client).get({
|
|
3261
|
+
security: [
|
|
3262
|
+
{
|
|
3263
|
+
name: "x-api-token",
|
|
3264
|
+
type: "apiKey"
|
|
3265
|
+
}
|
|
3266
|
+
],
|
|
3267
|
+
url: "/v2/flights/{id}/expected-images",
|
|
3268
|
+
...options
|
|
3269
|
+
});
|
|
3270
|
+
}, "flightsControllerGetExpectedImagesV2V2");
|
|
3271
|
+
var flightsControllerGetProvenanceUploadUrlV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3272
|
+
return (options.client ?? client).get({
|
|
3273
|
+
security: [
|
|
3274
|
+
{
|
|
3275
|
+
name: "x-api-token",
|
|
3276
|
+
type: "apiKey"
|
|
3277
|
+
}
|
|
3278
|
+
],
|
|
3279
|
+
url: "/v2/flights/{id}/provenance-upload-url",
|
|
3280
|
+
...options
|
|
3281
|
+
});
|
|
3282
|
+
}, "flightsControllerGetProvenanceUploadUrlV2V2");
|
|
3283
|
+
var flightsControllerGetReviewV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3284
|
+
return (options.client ?? client).get({
|
|
3285
|
+
security: [
|
|
3286
|
+
{
|
|
3287
|
+
name: "x-api-token",
|
|
3288
|
+
type: "apiKey"
|
|
3289
|
+
}
|
|
3290
|
+
],
|
|
3291
|
+
responseTransformer: flightsControllerGetReviewV2V2ResponseTransformer,
|
|
3292
|
+
url: "/v2/flights/{id}/review",
|
|
3293
|
+
...options
|
|
3294
|
+
});
|
|
3295
|
+
}, "flightsControllerGetReviewV2V2");
|
|
3296
|
+
var flightsControllerRequestReviewV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3297
|
+
return (options.client ?? client).post({
|
|
3298
|
+
security: [
|
|
3299
|
+
{
|
|
3300
|
+
name: "x-api-token",
|
|
3301
|
+
type: "apiKey"
|
|
3302
|
+
}
|
|
3303
|
+
],
|
|
3304
|
+
responseTransformer: flightsControllerRequestReviewV2V2ResponseTransformer,
|
|
3305
|
+
url: "/v2/flights/{id}/review",
|
|
3306
|
+
...options
|
|
3307
|
+
});
|
|
3308
|
+
}, "flightsControllerRequestReviewV2V2");
|
|
3309
|
+
var flightsControllerImageUploadUrlsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3310
|
+
return (options.client ?? client).post({
|
|
3311
|
+
security: [
|
|
3312
|
+
{
|
|
3313
|
+
name: "x-api-token",
|
|
3314
|
+
type: "apiKey"
|
|
3315
|
+
}
|
|
3316
|
+
],
|
|
3317
|
+
url: "/v2/flights/{id}/expected-images/upload-urls",
|
|
3318
|
+
...options,
|
|
3319
|
+
headers: {
|
|
3320
|
+
"Content-Type": "application/json",
|
|
3321
|
+
...options.headers
|
|
3322
|
+
}
|
|
3323
|
+
});
|
|
3324
|
+
}, "flightsControllerImageUploadUrlsV2V2");
|
|
3325
|
+
var flightsControllerSubmitProvenanceV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3326
|
+
return (options.client ?? client).post({
|
|
3327
|
+
security: [
|
|
3328
|
+
{
|
|
3329
|
+
name: "x-api-token",
|
|
3330
|
+
type: "apiKey"
|
|
3331
|
+
}
|
|
3332
|
+
],
|
|
3333
|
+
responseTransformer: flightsControllerSubmitProvenanceV2V2ResponseTransformer,
|
|
3334
|
+
url: "/v2/flights/{id}/provenance",
|
|
3335
|
+
...options
|
|
3336
|
+
});
|
|
3337
|
+
}, "flightsControllerSubmitProvenanceV2V2");
|
|
3338
|
+
var missionsControllerGetMissionsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3339
|
+
return (options?.client ?? client).get({
|
|
3340
|
+
security: [
|
|
3341
|
+
{
|
|
3342
|
+
name: "x-api-token",
|
|
3343
|
+
type: "apiKey"
|
|
3344
|
+
}
|
|
3345
|
+
],
|
|
3346
|
+
responseTransformer: missionsControllerGetMissionsV2V2ResponseTransformer,
|
|
3347
|
+
url: "/v2/missions",
|
|
3348
|
+
...options
|
|
3349
|
+
});
|
|
3350
|
+
}, "missionsControllerGetMissionsV2V2");
|
|
3351
|
+
var missionsControllerCreateMissionsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3352
|
+
return (options.client ?? client).post({
|
|
3353
|
+
security: [
|
|
3354
|
+
{
|
|
3355
|
+
name: "x-api-token",
|
|
3356
|
+
type: "apiKey"
|
|
3357
|
+
}
|
|
3358
|
+
],
|
|
3359
|
+
responseTransformer: missionsControllerCreateMissionsV2V2ResponseTransformer,
|
|
3360
|
+
url: "/v2/missions",
|
|
3361
|
+
...options,
|
|
3362
|
+
headers: {
|
|
3363
|
+
"Content-Type": "application/json",
|
|
3364
|
+
...options.headers
|
|
3365
|
+
}
|
|
3366
|
+
});
|
|
3367
|
+
}, "missionsControllerCreateMissionsV2V2");
|
|
3368
|
+
var missionsControllerGetMissionV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3369
|
+
return (options.client ?? client).get({
|
|
3370
|
+
security: [
|
|
3371
|
+
{
|
|
3372
|
+
name: "x-api-token",
|
|
3373
|
+
type: "apiKey"
|
|
3374
|
+
}
|
|
3375
|
+
],
|
|
3376
|
+
responseTransformer: missionsControllerGetMissionV2V2ResponseTransformer,
|
|
3377
|
+
url: "/v2/missions/{id}",
|
|
3378
|
+
...options
|
|
3379
|
+
});
|
|
3380
|
+
}, "missionsControllerGetMissionV2V2");
|
|
3381
|
+
var missionsControllerUpdateMissionV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3382
|
+
return (options.client ?? client).patch({
|
|
3383
|
+
security: [
|
|
3384
|
+
{
|
|
3385
|
+
name: "x-api-token",
|
|
3386
|
+
type: "apiKey"
|
|
3387
|
+
}
|
|
3388
|
+
],
|
|
3389
|
+
responseTransformer: missionsControllerUpdateMissionV2V2ResponseTransformer,
|
|
3390
|
+
url: "/v2/missions/{id}",
|
|
3391
|
+
...options,
|
|
3392
|
+
headers: {
|
|
3393
|
+
"Content-Type": "application/json",
|
|
3394
|
+
...options.headers
|
|
3395
|
+
}
|
|
3396
|
+
});
|
|
3397
|
+
}, "missionsControllerUpdateMissionV2V2");
|
|
3398
|
+
var missionsControllerCancelMissionV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3399
|
+
return (options.client ?? client).post({
|
|
3400
|
+
security: [
|
|
3401
|
+
{
|
|
3402
|
+
name: "x-api-token",
|
|
3403
|
+
type: "apiKey"
|
|
3404
|
+
}
|
|
3405
|
+
],
|
|
3406
|
+
responseTransformer: missionsControllerCancelMissionV2V2ResponseTransformer,
|
|
3407
|
+
url: "/v2/missions/{id}/cancel",
|
|
3408
|
+
...options
|
|
3409
|
+
});
|
|
3410
|
+
}, "missionsControllerCancelMissionV2V2");
|
|
3411
|
+
var missionsControllerRetryMissionV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3412
|
+
return (options.client ?? client).post({
|
|
3413
|
+
security: [
|
|
3414
|
+
{
|
|
3415
|
+
name: "x-api-token",
|
|
3416
|
+
type: "apiKey"
|
|
3417
|
+
}
|
|
3418
|
+
],
|
|
3419
|
+
responseTransformer: missionsControllerRetryMissionV2V2ResponseTransformer,
|
|
3420
|
+
url: "/v2/missions/{id}/retry",
|
|
3421
|
+
...options
|
|
3422
|
+
});
|
|
3423
|
+
}, "missionsControllerRetryMissionV2V2");
|
|
3424
|
+
var rewardsControllerListRewardsV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3425
|
+
return (options?.client ?? client).get({
|
|
3426
|
+
security: [
|
|
3427
|
+
{
|
|
3428
|
+
name: "x-api-token",
|
|
3429
|
+
type: "apiKey"
|
|
3430
|
+
}
|
|
3431
|
+
],
|
|
3432
|
+
responseTransformer: rewardsControllerListRewardsV2V2ResponseTransformer,
|
|
3433
|
+
url: "/v2/rewards",
|
|
3434
|
+
...options
|
|
3435
|
+
});
|
|
3436
|
+
}, "rewardsControllerListRewardsV2V2");
|
|
3437
|
+
var zonesControllerCreateZonesV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3438
|
+
return (options.client ?? client).post({
|
|
3439
|
+
security: [
|
|
3440
|
+
{
|
|
3441
|
+
name: "x-api-token",
|
|
3442
|
+
type: "apiKey"
|
|
3443
|
+
}
|
|
3444
|
+
],
|
|
3445
|
+
url: "/v2/zones",
|
|
3446
|
+
...options,
|
|
3447
|
+
headers: {
|
|
3448
|
+
"Content-Type": "application/json",
|
|
3449
|
+
...options.headers
|
|
3450
|
+
}
|
|
3451
|
+
});
|
|
3452
|
+
}, "zonesControllerCreateZonesV2V2");
|
|
3453
|
+
var zonesControllerGetZoneV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3454
|
+
return (options.client ?? client).get({
|
|
3455
|
+
security: [
|
|
3456
|
+
{
|
|
3457
|
+
name: "x-api-token",
|
|
3458
|
+
type: "apiKey"
|
|
3459
|
+
}
|
|
3460
|
+
],
|
|
3461
|
+
responseTransformer: zonesControllerGetZoneV2V2ResponseTransformer,
|
|
3462
|
+
url: "/v2/zones/{id}",
|
|
3463
|
+
...options
|
|
3464
|
+
});
|
|
3465
|
+
}, "zonesControllerGetZoneV2V2");
|
|
3466
|
+
var zonesControllerUpdateZoneV2V2 = /* @__PURE__ */ __name((options) => {
|
|
3467
|
+
return (options.client ?? client).put({
|
|
3468
|
+
security: [
|
|
3469
|
+
{
|
|
3470
|
+
name: "x-api-token",
|
|
3471
|
+
type: "apiKey"
|
|
3472
|
+
}
|
|
3473
|
+
],
|
|
3474
|
+
responseTransformer: zonesControllerUpdateZoneV2V2ResponseTransformer,
|
|
3475
|
+
url: "/v2/zones/{id}",
|
|
3476
|
+
...options,
|
|
3477
|
+
headers: {
|
|
3478
|
+
"Content-Type": "application/json",
|
|
3479
|
+
...options.headers
|
|
3480
|
+
}
|
|
3481
|
+
});
|
|
3482
|
+
}, "zonesControllerUpdateZoneV2V2");
|
|
2686
3483
|
|
|
2687
3484
|
// src/event/types.gen.ts
|
|
2688
3485
|
import { z } from "zod";
|
|
@@ -2896,17 +3693,24 @@ export {
|
|
|
2896
3693
|
apiTokenControllerGetToken1,
|
|
2897
3694
|
apiTokenControllerUpdateToken0V1,
|
|
2898
3695
|
apiTokenControllerUpdateToken1,
|
|
3696
|
+
backfillControllerTrigger0V1,
|
|
3697
|
+
backfillControllerTrigger1,
|
|
2899
3698
|
buildClientParams,
|
|
3699
|
+
campaignsControllerCancelCampaignV2V2,
|
|
2900
3700
|
campaignsControllerCreate0V1,
|
|
2901
3701
|
campaignsControllerCreate1,
|
|
3702
|
+
campaignsControllerCreateCampaignV2V2,
|
|
2902
3703
|
campaignsControllerDelete0V1,
|
|
2903
3704
|
campaignsControllerDelete1,
|
|
2904
3705
|
campaignsControllerGet0V1,
|
|
2905
3706
|
campaignsControllerGet1,
|
|
3707
|
+
campaignsControllerGetCampaignV2V2,
|
|
3708
|
+
campaignsControllerGetCampaignsV2V2,
|
|
2906
3709
|
campaignsControllerGetMany0V1,
|
|
2907
3710
|
campaignsControllerGetMany1,
|
|
2908
3711
|
campaignsControllerUpdate0V1,
|
|
2909
3712
|
campaignsControllerUpdate1,
|
|
3713
|
+
campaignsControllerUpdateCampaignV2V2,
|
|
2910
3714
|
conditionsControllerGetSunAltitudeTimeLimits0V1,
|
|
2911
3715
|
conditionsControllerGetSunAltitudeTimeLimits1,
|
|
2912
3716
|
contractsControllerCreateContract0V1,
|
|
@@ -2929,20 +3733,34 @@ export {
|
|
|
2929
3733
|
eventProcessorMissionsSyncControllerResyncMissions1,
|
|
2930
3734
|
flightPlansControllerCreate0V1,
|
|
2931
3735
|
flightPlansControllerCreate1,
|
|
3736
|
+
flightPlansControllerCreateV2V2,
|
|
2932
3737
|
flightPlansControllerGet0V1,
|
|
2933
3738
|
flightPlansControllerGet1,
|
|
2934
3739
|
flightPlansControllerGetMany0V1,
|
|
2935
3740
|
flightPlansControllerGetMany1,
|
|
3741
|
+
flightPlansControllerGetManyV2V2,
|
|
3742
|
+
flightPlansControllerGetV2V2,
|
|
3743
|
+
flightPlansControllerUpdateV2V2,
|
|
2936
3744
|
flightReviewsControllerGetFlightReview0V1,
|
|
2937
3745
|
flightReviewsControllerGetFlightReview1,
|
|
2938
3746
|
flightReviewsControllerGetFlightReviews0V1,
|
|
2939
3747
|
flightReviewsControllerGetFlightReviews1,
|
|
3748
|
+
flightsControllerCreateFlightV2V2,
|
|
2940
3749
|
flightsControllerCreatePresignedUrls0V1,
|
|
2941
3750
|
flightsControllerCreatePresignedUrls1,
|
|
2942
3751
|
flightsControllerGenerateStorageKey0V1,
|
|
2943
3752
|
flightsControllerGenerateStorageKey1,
|
|
3753
|
+
flightsControllerGetExpectedImagesV2V2,
|
|
2944
3754
|
flightsControllerGetFlight0V1,
|
|
2945
3755
|
flightsControllerGetFlight1,
|
|
3756
|
+
flightsControllerGetFlightV2V2,
|
|
3757
|
+
flightsControllerGetFlightsV2V2,
|
|
3758
|
+
flightsControllerGetProvenanceKeyV2V2,
|
|
3759
|
+
flightsControllerGetProvenanceUploadUrlV2V2,
|
|
3760
|
+
flightsControllerGetReviewV2V2,
|
|
3761
|
+
flightsControllerImageUploadUrlsV2V2,
|
|
3762
|
+
flightsControllerRequestReviewV2V2,
|
|
3763
|
+
flightsControllerSubmitProvenanceV2V2,
|
|
2946
3764
|
flightsControllerValidateFlight0V1,
|
|
2947
3765
|
flightsControllerValidateFlight1,
|
|
2948
3766
|
formDataBodySerializer,
|
|
@@ -2962,14 +3780,20 @@ export {
|
|
|
2962
3780
|
keysControllerGetProvenanceCryptoKey1,
|
|
2963
3781
|
listProposals,
|
|
2964
3782
|
mergeHeaders,
|
|
3783
|
+
missionsControllerCancelMissionV2V2,
|
|
2965
3784
|
missionsControllerCreateMissions0V1,
|
|
2966
3785
|
missionsControllerCreateMissions1,
|
|
3786
|
+
missionsControllerCreateMissionsV2V2,
|
|
2967
3787
|
missionsControllerGetMission0V1,
|
|
2968
3788
|
missionsControllerGetMission1,
|
|
3789
|
+
missionsControllerGetMissionV2V2,
|
|
2969
3790
|
missionsControllerGetMissions0V1,
|
|
2970
3791
|
missionsControllerGetMissions1,
|
|
3792
|
+
missionsControllerGetMissionsV2V2,
|
|
2971
3793
|
missionsControllerRepriceMissions0V1,
|
|
2972
3794
|
missionsControllerRepriceMissions1,
|
|
3795
|
+
missionsControllerRetryMissionV2V2,
|
|
3796
|
+
missionsControllerUpdateMissionV2V2,
|
|
2973
3797
|
missionsControllerUpdateMissions0V1,
|
|
2974
3798
|
missionsControllerUpdateMissions1,
|
|
2975
3799
|
parseWebhookEvent,
|
|
@@ -2982,8 +3806,7 @@ export {
|
|
|
2982
3806
|
quotesControllerGetQuote0V1,
|
|
2983
3807
|
quotesControllerGetQuote1,
|
|
2984
3808
|
reviewProposal,
|
|
2985
|
-
|
|
2986
|
-
schemaControllerGetEventSchema1,
|
|
3809
|
+
rewardsControllerListRewardsV2V2,
|
|
2987
3810
|
submitProposal,
|
|
2988
3811
|
urlSearchParamsBodySerializer,
|
|
2989
3812
|
vaultsControllerCreateVaults0V1,
|
|
@@ -3006,8 +3829,13 @@ export {
|
|
|
3006
3829
|
webhooksControllerUpdate1,
|
|
3007
3830
|
zonesControllerCreateZone0V1,
|
|
3008
3831
|
zonesControllerCreateZone1,
|
|
3832
|
+
zonesControllerCreateZonesV2V2,
|
|
3009
3833
|
zonesControllerDeleteZone0V1,
|
|
3010
3834
|
zonesControllerDeleteZone1,
|
|
3835
|
+
zonesControllerGetZone0V1,
|
|
3836
|
+
zonesControllerGetZone1,
|
|
3837
|
+
zonesControllerGetZoneV2V2,
|
|
3011
3838
|
zonesControllerUpdateZone0V1,
|
|
3012
|
-
zonesControllerUpdateZone1
|
|
3839
|
+
zonesControllerUpdateZone1,
|
|
3840
|
+
zonesControllerUpdateZoneV2V2
|
|
3013
3841
|
};
|