@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/src/client/types.gen.ts
CHANGED
|
@@ -23,6 +23,8 @@ export type CreateApiTokenResponseDto = {
|
|
|
23
23
|
| "approveProposals"
|
|
24
24
|
| "manageProtocolTriggers"
|
|
25
25
|
| "manageCampaigns"
|
|
26
|
+
| "readEntities"
|
|
27
|
+
| "triggerBackfill"
|
|
26
28
|
| "all"
|
|
27
29
|
>;
|
|
28
30
|
};
|
|
@@ -46,6 +48,8 @@ export type CreateApiTokenRequestDto = {
|
|
|
46
48
|
| "approveProposals"
|
|
47
49
|
| "manageProtocolTriggers"
|
|
48
50
|
| "manageCampaigns"
|
|
51
|
+
| "readEntities"
|
|
52
|
+
| "triggerBackfill"
|
|
49
53
|
| "all"
|
|
50
54
|
>;
|
|
51
55
|
orgId: number;
|
|
@@ -70,6 +74,8 @@ export type UpdateApiTokenRequestDto = {
|
|
|
70
74
|
| "approveProposals"
|
|
71
75
|
| "manageProtocolTriggers"
|
|
72
76
|
| "manageCampaigns"
|
|
77
|
+
| "readEntities"
|
|
78
|
+
| "triggerBackfill"
|
|
73
79
|
| "all"
|
|
74
80
|
>;
|
|
75
81
|
};
|
|
@@ -97,10 +103,21 @@ export type UpdateApiTokenResponseDto = {
|
|
|
97
103
|
| "approveProposals"
|
|
98
104
|
| "manageProtocolTriggers"
|
|
99
105
|
| "manageCampaigns"
|
|
106
|
+
| "readEntities"
|
|
107
|
+
| "triggerBackfill"
|
|
100
108
|
| "all"
|
|
101
109
|
>;
|
|
102
110
|
};
|
|
103
111
|
|
|
112
|
+
export type BackfillRequestDto = {
|
|
113
|
+
entities?: Array<"zone" | "mission" | "flight-review">;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export type BackfillAcceptedDto = {
|
|
117
|
+
status: "started";
|
|
118
|
+
entities: Array<"zone" | "mission" | "flight-review">;
|
|
119
|
+
};
|
|
120
|
+
|
|
104
121
|
export type CreateCampaignBody = {
|
|
105
122
|
id: string;
|
|
106
123
|
name: string;
|
|
@@ -729,14 +746,12 @@ export type CreateMissionRequestDto = {
|
|
|
729
746
|
amount: string | number | bigint;
|
|
730
747
|
startTime: Date;
|
|
731
748
|
endTime: Date;
|
|
732
|
-
collateralToken: string;
|
|
733
749
|
decimals: number;
|
|
734
750
|
isReservable?: boolean;
|
|
735
751
|
tags?: {
|
|
736
752
|
[key: string]: string;
|
|
737
753
|
};
|
|
738
754
|
}>;
|
|
739
|
-
requestor: string;
|
|
740
755
|
mintOnChain?: boolean;
|
|
741
756
|
};
|
|
742
757
|
|
|
@@ -767,11 +782,9 @@ export type UpdateMissionsRequestDto = {
|
|
|
767
782
|
id: string | number | bigint;
|
|
768
783
|
amount?: string | number | bigint;
|
|
769
784
|
isOpen?: boolean;
|
|
770
|
-
collateralToken?: string;
|
|
771
785
|
decimals?: number;
|
|
772
786
|
campaigns?: Array<string>;
|
|
773
787
|
}>;
|
|
774
|
-
treasuryAddress: string;
|
|
775
788
|
};
|
|
776
789
|
|
|
777
790
|
export type UpdateMissionsResponseDto = {
|
|
@@ -786,7 +799,6 @@ export type UpdateMissionsResponseDto = {
|
|
|
786
799
|
|
|
787
800
|
export type RepriceMissionsRequestDto = {
|
|
788
801
|
scaleFactor: number;
|
|
789
|
-
requestor: string;
|
|
790
802
|
jobId?: string;
|
|
791
803
|
};
|
|
792
804
|
|
|
@@ -804,7 +816,6 @@ export type RepriceMissionsResponseDto = {
|
|
|
804
816
|
|
|
805
817
|
export type CreateProposalRequestDto = {
|
|
806
818
|
name: string;
|
|
807
|
-
created_by: string;
|
|
808
819
|
description?: string;
|
|
809
820
|
source?: {
|
|
810
821
|
tool: "arcgis-plugin";
|
|
@@ -850,12 +861,10 @@ export type CreateProposalRequestDto = {
|
|
|
850
861
|
}
|
|
851
862
|
| {
|
|
852
863
|
payload: {
|
|
853
|
-
requestor: string;
|
|
854
864
|
zone_id: string;
|
|
855
865
|
campaigns: Array<string>;
|
|
856
866
|
flight_plan_id: number;
|
|
857
867
|
amount: string | number | bigint;
|
|
858
|
-
collateral_token: string;
|
|
859
868
|
decimals: number;
|
|
860
869
|
capture_start_time: Date;
|
|
861
870
|
capture_end_time: Date;
|
|
@@ -871,7 +880,6 @@ export type CreateProposalRequestDto = {
|
|
|
871
880
|
payload: {
|
|
872
881
|
amount?: string | number | bigint;
|
|
873
882
|
is_open?: boolean;
|
|
874
|
-
collateral_token?: string;
|
|
875
883
|
decimals?: number;
|
|
876
884
|
campaigns?: Array<string>;
|
|
877
885
|
};
|
|
@@ -950,7 +958,7 @@ export type GetProposalResponseDto = {
|
|
|
950
958
|
|
|
951
959
|
export type ReviewProposalRequestDto = {
|
|
952
960
|
approved: boolean;
|
|
953
|
-
|
|
961
|
+
reason?: string;
|
|
954
962
|
};
|
|
955
963
|
|
|
956
964
|
export type ReviewProposalResponseDto = {
|
|
@@ -1281,127 +1289,771 @@ export type DeleteInboundWebhookConfigResponse = {
|
|
|
1281
1289
|
message: string;
|
|
1282
1290
|
};
|
|
1283
1291
|
|
|
1284
|
-
export type
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1292
|
+
export type MissionFulfillmentGetFlightPlansResponse = {
|
|
1293
|
+
data: Array<{
|
|
1294
|
+
id: string;
|
|
1295
|
+
name: string;
|
|
1296
|
+
description: string | null;
|
|
1297
|
+
base_energy_usage: number;
|
|
1298
|
+
base_duration: number;
|
|
1299
|
+
sections: Array<
|
|
1300
|
+
| {
|
|
1301
|
+
section_type: "map";
|
|
1302
|
+
parameters: {
|
|
1303
|
+
altitude_above_ground: number;
|
|
1304
|
+
flight_speed: number;
|
|
1305
|
+
side_overlap: number;
|
|
1306
|
+
front_overlap: number;
|
|
1307
|
+
gimbal_pitch: number;
|
|
1308
|
+
take_off_altitude_offset: number;
|
|
1309
|
+
flight_line_heading: {
|
|
1310
|
+
mode: "relative" | "absolute";
|
|
1311
|
+
degrees: number;
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
}
|
|
1315
|
+
| {
|
|
1316
|
+
section_type: "panorama";
|
|
1317
|
+
count: number;
|
|
1318
|
+
positioning_method: "hex-distributed" | "centroid";
|
|
1319
|
+
parameters: {
|
|
1320
|
+
altitude_above_ground: number;
|
|
1321
|
+
flight_speed: number;
|
|
1322
|
+
field_of_view: number;
|
|
1323
|
+
yaw_overlap: number;
|
|
1324
|
+
gimbal_pitches: Array<number>;
|
|
1325
|
+
has_nadir_shot: boolean;
|
|
1326
|
+
};
|
|
1327
|
+
}
|
|
1328
|
+
>;
|
|
1329
|
+
connection_strategy: {
|
|
1330
|
+
type: "original-order" | "battery-optimized-strict";
|
|
1331
|
+
};
|
|
1332
|
+
schema_version: number;
|
|
1333
|
+
is_active: boolean;
|
|
1334
|
+
supersedes_id: string | null;
|
|
1335
|
+
created_at: Date;
|
|
1336
|
+
updated_at: Date;
|
|
1337
|
+
}>;
|
|
1289
1338
|
};
|
|
1290
1339
|
|
|
1291
|
-
export type
|
|
1292
|
-
|
|
1340
|
+
export type FlightPlanResponse = {
|
|
1341
|
+
id: string;
|
|
1342
|
+
name: string;
|
|
1343
|
+
description: string | null;
|
|
1344
|
+
base_energy_usage: number;
|
|
1345
|
+
base_duration: number;
|
|
1346
|
+
sections: Array<
|
|
1347
|
+
| {
|
|
1348
|
+
section_type: "map";
|
|
1349
|
+
parameters: {
|
|
1350
|
+
altitude_above_ground: number;
|
|
1351
|
+
flight_speed: number;
|
|
1352
|
+
side_overlap: number;
|
|
1353
|
+
front_overlap: number;
|
|
1354
|
+
gimbal_pitch: number;
|
|
1355
|
+
take_off_altitude_offset: number;
|
|
1356
|
+
flight_line_heading: {
|
|
1357
|
+
mode: "relative" | "absolute";
|
|
1358
|
+
degrees: number;
|
|
1359
|
+
};
|
|
1360
|
+
};
|
|
1361
|
+
}
|
|
1362
|
+
| {
|
|
1363
|
+
section_type: "panorama";
|
|
1364
|
+
count: number;
|
|
1365
|
+
positioning_method: "hex-distributed" | "centroid";
|
|
1366
|
+
parameters: {
|
|
1367
|
+
altitude_above_ground: number;
|
|
1368
|
+
flight_speed: number;
|
|
1369
|
+
field_of_view: number;
|
|
1370
|
+
yaw_overlap: number;
|
|
1371
|
+
gimbal_pitches: Array<number>;
|
|
1372
|
+
has_nadir_shot: boolean;
|
|
1373
|
+
};
|
|
1374
|
+
}
|
|
1375
|
+
>;
|
|
1376
|
+
connection_strategy: {
|
|
1377
|
+
type: "original-order" | "battery-optimized-strict";
|
|
1378
|
+
};
|
|
1379
|
+
schema_version: number;
|
|
1380
|
+
is_active: boolean;
|
|
1381
|
+
supersedes_id: string | null;
|
|
1382
|
+
created_at: Date;
|
|
1383
|
+
updated_at: Date;
|
|
1293
1384
|
};
|
|
1294
1385
|
|
|
1295
|
-
export type
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1386
|
+
export type MissionFulfillmentCreateFlightPlanBody = {
|
|
1387
|
+
name: string;
|
|
1388
|
+
description?: string | null;
|
|
1389
|
+
base_energy_usage: number;
|
|
1390
|
+
base_duration: number;
|
|
1391
|
+
sections: Array<
|
|
1392
|
+
| {
|
|
1393
|
+
section_type: "map";
|
|
1394
|
+
parameters: {
|
|
1395
|
+
altitude_above_ground: number;
|
|
1396
|
+
flight_speed: number;
|
|
1397
|
+
side_overlap: number;
|
|
1398
|
+
front_overlap: number;
|
|
1399
|
+
gimbal_pitch: number;
|
|
1400
|
+
take_off_altitude_offset: number;
|
|
1401
|
+
flight_line_heading: {
|
|
1402
|
+
mode: "relative" | "absolute";
|
|
1403
|
+
degrees: number;
|
|
1404
|
+
};
|
|
1405
|
+
};
|
|
1406
|
+
}
|
|
1407
|
+
| {
|
|
1408
|
+
section_type: "panorama";
|
|
1409
|
+
count: number;
|
|
1410
|
+
positioning_method: "hex-distributed" | "centroid";
|
|
1411
|
+
parameters: {
|
|
1412
|
+
altitude_above_ground: number;
|
|
1413
|
+
flight_speed: number;
|
|
1414
|
+
field_of_view: number;
|
|
1415
|
+
yaw_overlap: number;
|
|
1416
|
+
gimbal_pitches: Array<number>;
|
|
1417
|
+
has_nadir_shot: boolean;
|
|
1418
|
+
};
|
|
1419
|
+
}
|
|
1420
|
+
>;
|
|
1421
|
+
connection_strategy: {
|
|
1422
|
+
type: "original-order" | "battery-optimized-strict";
|
|
1423
|
+
};
|
|
1300
1424
|
};
|
|
1301
1425
|
|
|
1302
|
-
export type
|
|
1303
|
-
|
|
1426
|
+
export type ExpandFlightPlanBody = {
|
|
1427
|
+
zone_id: string;
|
|
1428
|
+
camera_specs: {
|
|
1429
|
+
pixelPitchInMeters: number;
|
|
1430
|
+
sensorWidthInMeters: number;
|
|
1431
|
+
sensorHeightInMeters: number;
|
|
1432
|
+
focalLengthInMeters: number;
|
|
1433
|
+
hFovInDegrees: number;
|
|
1434
|
+
};
|
|
1304
1435
|
};
|
|
1305
1436
|
|
|
1306
|
-
export type
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1437
|
+
export type FlightPathIntendedResponse = {
|
|
1438
|
+
type: "FeatureCollection";
|
|
1439
|
+
features: Array<unknown>;
|
|
1440
|
+
metadata: {
|
|
1441
|
+
flightPlanType: string;
|
|
1442
|
+
flightPlanId: number;
|
|
1443
|
+
zoneHash: string;
|
|
1444
|
+
imageCount: number;
|
|
1445
|
+
pathVersion: number;
|
|
1446
|
+
sections?: Array<{
|
|
1447
|
+
index: number;
|
|
1448
|
+
type: "map" | "panorama";
|
|
1449
|
+
waypointCount: number;
|
|
1450
|
+
}>;
|
|
1451
|
+
};
|
|
1311
1452
|
};
|
|
1312
1453
|
|
|
1313
|
-
export type
|
|
1314
|
-
|
|
1454
|
+
export type UpdateFlightPlanBody = {
|
|
1455
|
+
name: string;
|
|
1456
|
+
description?: string | null;
|
|
1457
|
+
base_energy_usage: number;
|
|
1458
|
+
base_duration: number;
|
|
1459
|
+
sections: Array<
|
|
1460
|
+
| {
|
|
1461
|
+
section_type: "map";
|
|
1462
|
+
parameters: {
|
|
1463
|
+
altitude_above_ground: number;
|
|
1464
|
+
flight_speed: number;
|
|
1465
|
+
side_overlap: number;
|
|
1466
|
+
front_overlap: number;
|
|
1467
|
+
gimbal_pitch: number;
|
|
1468
|
+
take_off_altitude_offset: number;
|
|
1469
|
+
flight_line_heading: {
|
|
1470
|
+
mode: "relative" | "absolute";
|
|
1471
|
+
degrees: number;
|
|
1472
|
+
};
|
|
1473
|
+
};
|
|
1474
|
+
}
|
|
1475
|
+
| {
|
|
1476
|
+
section_type: "panorama";
|
|
1477
|
+
count: number;
|
|
1478
|
+
positioning_method: "hex-distributed" | "centroid";
|
|
1479
|
+
parameters: {
|
|
1480
|
+
altitude_above_ground: number;
|
|
1481
|
+
flight_speed: number;
|
|
1482
|
+
field_of_view: number;
|
|
1483
|
+
yaw_overlap: number;
|
|
1484
|
+
gimbal_pitches: Array<number>;
|
|
1485
|
+
has_nadir_shot: boolean;
|
|
1486
|
+
};
|
|
1487
|
+
}
|
|
1488
|
+
>;
|
|
1489
|
+
connection_strategy: {
|
|
1490
|
+
type: "original-order" | "battery-optimized-strict";
|
|
1491
|
+
};
|
|
1315
1492
|
};
|
|
1316
1493
|
|
|
1317
|
-
export type
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
url: "/debug-sentry";
|
|
1322
|
-
};
|
|
1494
|
+
export type CreateZonesRequestDto = Array<{
|
|
1495
|
+
id: string;
|
|
1496
|
+
is_flyable?: boolean;
|
|
1497
|
+
}>;
|
|
1323
1498
|
|
|
1324
|
-
export type
|
|
1325
|
-
|
|
1499
|
+
export type CreateZonesResponseDto = {
|
|
1500
|
+
requested: number;
|
|
1501
|
+
created: number;
|
|
1502
|
+
existing: number;
|
|
1326
1503
|
};
|
|
1327
1504
|
|
|
1328
|
-
export type
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1505
|
+
export type MissionFulfillmentZoneResponseDto = {
|
|
1506
|
+
id: string;
|
|
1507
|
+
is_flyable: boolean;
|
|
1508
|
+
geom?: null;
|
|
1509
|
+
created_at: Date;
|
|
1510
|
+
updated_at: Date;
|
|
1333
1511
|
};
|
|
1334
1512
|
|
|
1335
|
-
export type
|
|
1336
|
-
|
|
1337
|
-
403: unknown;
|
|
1513
|
+
export type UpdateZoneRequestDto = {
|
|
1514
|
+
is_flyable: boolean;
|
|
1338
1515
|
};
|
|
1339
1516
|
|
|
1340
|
-
export type
|
|
1341
|
-
|
|
1342
|
-
|
|
1517
|
+
export type ListRewardsResponse = {
|
|
1518
|
+
data: Array<{
|
|
1519
|
+
id: string;
|
|
1520
|
+
aggregate_type: "mission";
|
|
1521
|
+
aggregate_id: string;
|
|
1522
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1523
|
+
amount: string;
|
|
1524
|
+
settlement_status:
|
|
1525
|
+
| "unsettled"
|
|
1526
|
+
| "requested"
|
|
1527
|
+
| "settled"
|
|
1528
|
+
| "revoked"
|
|
1529
|
+
| "failed";
|
|
1530
|
+
settlement_mechanism: "vault" | "rp_ledger" | "external";
|
|
1531
|
+
recipient: string | null;
|
|
1532
|
+
created_at: Date;
|
|
1533
|
+
updated_at: Date;
|
|
1534
|
+
}>;
|
|
1535
|
+
has_next_page: boolean;
|
|
1343
1536
|
};
|
|
1344
1537
|
|
|
1345
|
-
export type
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1538
|
+
export type CreateMissionsBody = {
|
|
1539
|
+
missions: Array<{
|
|
1540
|
+
zone_id: string;
|
|
1541
|
+
flight_plan_id: string;
|
|
1542
|
+
rewards?: Array<{
|
|
1543
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1544
|
+
amount: string;
|
|
1545
|
+
}>;
|
|
1546
|
+
capture_start_time: Date;
|
|
1547
|
+
capture_end_time: Date;
|
|
1548
|
+
holding_period_seconds?: number | null;
|
|
1549
|
+
tags?: {
|
|
1550
|
+
[key: string]: string;
|
|
1551
|
+
};
|
|
1552
|
+
campaign_ids?: Array<string>;
|
|
1553
|
+
}>;
|
|
1353
1554
|
};
|
|
1354
1555
|
|
|
1355
|
-
export type
|
|
1356
|
-
|
|
1357
|
-
|
|
1556
|
+
export type CreateMissionsResponse = {
|
|
1557
|
+
results: Array<
|
|
1558
|
+
| {
|
|
1559
|
+
status: "created";
|
|
1560
|
+
mission: {
|
|
1561
|
+
id: string;
|
|
1562
|
+
source: "chain" | "archived";
|
|
1563
|
+
status:
|
|
1564
|
+
| "pending"
|
|
1565
|
+
| "submitted"
|
|
1566
|
+
| "scheduled"
|
|
1567
|
+
| "active"
|
|
1568
|
+
| "hold"
|
|
1569
|
+
| "cancelled"
|
|
1570
|
+
| "expired"
|
|
1571
|
+
| "completed";
|
|
1572
|
+
zone_id: string;
|
|
1573
|
+
flight_plan_id: string;
|
|
1574
|
+
chain_mission_id: string | null;
|
|
1575
|
+
rewards: Array<{
|
|
1576
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1577
|
+
amount: string;
|
|
1578
|
+
status:
|
|
1579
|
+
| "unsettled"
|
|
1580
|
+
| "requested"
|
|
1581
|
+
| "settled"
|
|
1582
|
+
| "revoked"
|
|
1583
|
+
| "failed";
|
|
1584
|
+
settlement_mechanism: "vault" | "rp_ledger" | "external";
|
|
1585
|
+
}>;
|
|
1586
|
+
capture_start_time: Date;
|
|
1587
|
+
capture_end_time: Date;
|
|
1588
|
+
holding_period_seconds: number;
|
|
1589
|
+
tags: {
|
|
1590
|
+
[key: string]: string;
|
|
1591
|
+
};
|
|
1592
|
+
details_hash: string | null;
|
|
1593
|
+
confirmed_at: Date | null;
|
|
1594
|
+
confirmations?: Array<{
|
|
1595
|
+
kind:
|
|
1596
|
+
| "created"
|
|
1597
|
+
| "closed"
|
|
1598
|
+
| "funded"
|
|
1599
|
+
| "paid"
|
|
1600
|
+
| "refunded"
|
|
1601
|
+
| "reviewed";
|
|
1602
|
+
contract_address: string;
|
|
1603
|
+
chain_id: number;
|
|
1604
|
+
event_id: string;
|
|
1605
|
+
block_number: string;
|
|
1606
|
+
block_timestamp: Date;
|
|
1607
|
+
tx_hash: string;
|
|
1608
|
+
recorded_at: Date;
|
|
1609
|
+
}>;
|
|
1610
|
+
hold?: {
|
|
1611
|
+
id: string;
|
|
1612
|
+
mission_id: string;
|
|
1613
|
+
pilot_address: string;
|
|
1614
|
+
expires_at: Date;
|
|
1615
|
+
released_at: Date | null;
|
|
1616
|
+
released_reason: "expired" | "completed";
|
|
1617
|
+
created_at: Date;
|
|
1618
|
+
updated_at: Date;
|
|
1619
|
+
} | null;
|
|
1620
|
+
closed_at: Date | null;
|
|
1621
|
+
created_at: Date;
|
|
1622
|
+
updated_at: Date;
|
|
1623
|
+
};
|
|
1624
|
+
}
|
|
1625
|
+
| {
|
|
1626
|
+
status: "failed";
|
|
1627
|
+
error: {
|
|
1628
|
+
code: string;
|
|
1629
|
+
message: string;
|
|
1630
|
+
};
|
|
1631
|
+
}
|
|
1632
|
+
>;
|
|
1358
1633
|
};
|
|
1359
1634
|
|
|
1360
|
-
export type
|
|
1361
|
-
|
|
1362
|
-
|
|
1635
|
+
export type ListMissionsResponse = {
|
|
1636
|
+
data: Array<{
|
|
1637
|
+
id: string;
|
|
1638
|
+
source: "chain" | "archived";
|
|
1639
|
+
status:
|
|
1640
|
+
| "pending"
|
|
1641
|
+
| "submitted"
|
|
1642
|
+
| "scheduled"
|
|
1643
|
+
| "active"
|
|
1644
|
+
| "hold"
|
|
1645
|
+
| "cancelled"
|
|
1646
|
+
| "expired"
|
|
1647
|
+
| "completed";
|
|
1648
|
+
zone_id: string;
|
|
1649
|
+
flight_plan_id: string;
|
|
1650
|
+
chain_mission_id: string | null;
|
|
1651
|
+
rewards: Array<{
|
|
1652
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1653
|
+
amount: string;
|
|
1654
|
+
status: "unsettled" | "requested" | "settled" | "revoked" | "failed";
|
|
1655
|
+
settlement_mechanism: "vault" | "rp_ledger" | "external";
|
|
1656
|
+
}>;
|
|
1657
|
+
capture_start_time: Date;
|
|
1658
|
+
capture_end_time: Date;
|
|
1659
|
+
holding_period_seconds: number;
|
|
1660
|
+
tags: {
|
|
1661
|
+
[key: string]: string;
|
|
1662
|
+
};
|
|
1663
|
+
details_hash: string | null;
|
|
1664
|
+
confirmed_at: Date | null;
|
|
1665
|
+
confirmations?: Array<{
|
|
1666
|
+
kind: "created" | "closed" | "funded" | "paid" | "refunded" | "reviewed";
|
|
1667
|
+
contract_address: string;
|
|
1668
|
+
chain_id: number;
|
|
1669
|
+
event_id: string;
|
|
1670
|
+
block_number: string;
|
|
1671
|
+
block_timestamp: Date;
|
|
1672
|
+
tx_hash: string;
|
|
1673
|
+
recorded_at: Date;
|
|
1674
|
+
}>;
|
|
1675
|
+
hold?: {
|
|
1676
|
+
id: string;
|
|
1677
|
+
mission_id: string;
|
|
1678
|
+
pilot_address: string;
|
|
1679
|
+
expires_at: Date;
|
|
1680
|
+
released_at: Date | null;
|
|
1681
|
+
released_reason: "expired" | "completed";
|
|
1682
|
+
created_at: Date;
|
|
1683
|
+
updated_at: Date;
|
|
1684
|
+
} | null;
|
|
1685
|
+
closed_at: Date | null;
|
|
1686
|
+
created_at: Date;
|
|
1687
|
+
updated_at: Date;
|
|
1688
|
+
}>;
|
|
1689
|
+
has_next_page: boolean;
|
|
1363
1690
|
};
|
|
1364
1691
|
|
|
1365
|
-
export type
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1692
|
+
export type MissionResponse = {
|
|
1693
|
+
id: string;
|
|
1694
|
+
source: "chain" | "archived";
|
|
1695
|
+
status:
|
|
1696
|
+
| "pending"
|
|
1697
|
+
| "submitted"
|
|
1698
|
+
| "scheduled"
|
|
1699
|
+
| "active"
|
|
1700
|
+
| "hold"
|
|
1701
|
+
| "cancelled"
|
|
1702
|
+
| "expired"
|
|
1703
|
+
| "completed";
|
|
1704
|
+
zone_id: string;
|
|
1705
|
+
flight_plan_id: string;
|
|
1706
|
+
chain_mission_id: string | null;
|
|
1707
|
+
rewards: Array<{
|
|
1708
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1709
|
+
amount: string;
|
|
1710
|
+
status: "unsettled" | "requested" | "settled" | "revoked" | "failed";
|
|
1711
|
+
settlement_mechanism: "vault" | "rp_ledger" | "external";
|
|
1712
|
+
}>;
|
|
1713
|
+
capture_start_time: Date;
|
|
1714
|
+
capture_end_time: Date;
|
|
1715
|
+
holding_period_seconds: number;
|
|
1716
|
+
tags: {
|
|
1717
|
+
[key: string]: string;
|
|
1372
1718
|
};
|
|
1373
|
-
|
|
1374
|
-
|
|
1719
|
+
details_hash: string | null;
|
|
1720
|
+
confirmed_at: Date | null;
|
|
1721
|
+
confirmations?: Array<{
|
|
1722
|
+
kind: "created" | "closed" | "funded" | "paid" | "refunded" | "reviewed";
|
|
1723
|
+
contract_address: string;
|
|
1724
|
+
chain_id: number;
|
|
1725
|
+
event_id: string;
|
|
1726
|
+
block_number: string;
|
|
1727
|
+
block_timestamp: Date;
|
|
1728
|
+
tx_hash: string;
|
|
1729
|
+
recorded_at: Date;
|
|
1730
|
+
}>;
|
|
1731
|
+
hold?: {
|
|
1732
|
+
id: string;
|
|
1733
|
+
mission_id: string;
|
|
1734
|
+
pilot_address: string;
|
|
1735
|
+
expires_at: Date;
|
|
1736
|
+
released_at: Date | null;
|
|
1737
|
+
released_reason: "expired" | "completed";
|
|
1738
|
+
created_at: Date;
|
|
1739
|
+
updated_at: Date;
|
|
1740
|
+
} | null;
|
|
1741
|
+
closed_at: Date | null;
|
|
1742
|
+
created_at: Date;
|
|
1743
|
+
updated_at: Date;
|
|
1375
1744
|
};
|
|
1376
1745
|
|
|
1377
|
-
export type
|
|
1378
|
-
|
|
1379
|
-
|
|
1746
|
+
export type UpdateMissionBody = {
|
|
1747
|
+
rewards?: Array<{
|
|
1748
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1749
|
+
amount: string;
|
|
1750
|
+
}>;
|
|
1751
|
+
flight_plan_id?: string;
|
|
1752
|
+
campaign_ids?: Array<string>;
|
|
1380
1753
|
};
|
|
1381
1754
|
|
|
1382
|
-
export type
|
|
1383
|
-
|
|
1755
|
+
export type CreateFlightBody = {
|
|
1756
|
+
mission_id: string;
|
|
1757
|
+
pilot_address: string;
|
|
1384
1758
|
};
|
|
1385
1759
|
|
|
1386
|
-
export type
|
|
1387
|
-
|
|
1388
|
-
path: {
|
|
1760
|
+
export type CreateFlightResponse = {
|
|
1761
|
+
flight: {
|
|
1389
1762
|
id: string;
|
|
1763
|
+
mission_id: string;
|
|
1764
|
+
zone_id: string;
|
|
1765
|
+
pilot_address: string;
|
|
1766
|
+
status:
|
|
1767
|
+
| "awaiting_provenance_submission"
|
|
1768
|
+
| "awaiting_file_submission"
|
|
1769
|
+
| "in_review"
|
|
1770
|
+
| "verified"
|
|
1771
|
+
| "failed"
|
|
1772
|
+
| "paid"
|
|
1773
|
+
| "taken"
|
|
1774
|
+
| "cancelled";
|
|
1775
|
+
timezone_offset: string | null;
|
|
1776
|
+
created_at: Date;
|
|
1777
|
+
updated_at: Date;
|
|
1778
|
+
storage_key: string;
|
|
1779
|
+
};
|
|
1780
|
+
provenance_key: {
|
|
1781
|
+
key_id: string;
|
|
1782
|
+
public_key: string;
|
|
1783
|
+
key_spec?: string;
|
|
1784
|
+
key_usage?: string;
|
|
1785
|
+
encryption_algorithms?: Array<string>;
|
|
1390
1786
|
};
|
|
1391
|
-
query?: never;
|
|
1392
|
-
url: "/v1/tokens/{id}";
|
|
1393
1787
|
};
|
|
1394
1788
|
|
|
1395
|
-
export type
|
|
1396
|
-
|
|
1397
|
-
|
|
1789
|
+
export type ListFlightsResponse = {
|
|
1790
|
+
data: Array<{
|
|
1791
|
+
id: string;
|
|
1792
|
+
mission_id: string;
|
|
1793
|
+
zone_id: string;
|
|
1794
|
+
pilot_address: string;
|
|
1795
|
+
status:
|
|
1796
|
+
| "awaiting_provenance_submission"
|
|
1797
|
+
| "awaiting_file_submission"
|
|
1798
|
+
| "in_review"
|
|
1799
|
+
| "verified"
|
|
1800
|
+
| "failed"
|
|
1801
|
+
| "paid"
|
|
1802
|
+
| "taken"
|
|
1803
|
+
| "cancelled";
|
|
1804
|
+
timezone_offset: string | null;
|
|
1805
|
+
created_at: Date;
|
|
1806
|
+
updated_at: Date;
|
|
1807
|
+
}>;
|
|
1808
|
+
has_next_page: boolean;
|
|
1398
1809
|
};
|
|
1399
1810
|
|
|
1400
|
-
export type
|
|
1401
|
-
|
|
1811
|
+
export type ProvenanceKeyResponse = {
|
|
1812
|
+
key_id: string;
|
|
1813
|
+
public_key: string;
|
|
1814
|
+
key_spec?: string;
|
|
1815
|
+
key_usage?: string;
|
|
1816
|
+
encryption_algorithms?: Array<string>;
|
|
1402
1817
|
};
|
|
1403
1818
|
|
|
1404
|
-
export type
|
|
1819
|
+
export type FlightResponse = {
|
|
1820
|
+
id: string;
|
|
1821
|
+
mission_id: string;
|
|
1822
|
+
zone_id: string;
|
|
1823
|
+
pilot_address: string;
|
|
1824
|
+
status:
|
|
1825
|
+
| "awaiting_provenance_submission"
|
|
1826
|
+
| "awaiting_file_submission"
|
|
1827
|
+
| "in_review"
|
|
1828
|
+
| "verified"
|
|
1829
|
+
| "failed"
|
|
1830
|
+
| "paid"
|
|
1831
|
+
| "taken"
|
|
1832
|
+
| "cancelled";
|
|
1833
|
+
timezone_offset: string | null;
|
|
1834
|
+
created_at: Date;
|
|
1835
|
+
updated_at: Date;
|
|
1836
|
+
};
|
|
1837
|
+
|
|
1838
|
+
export type ProvenanceUploadUrlResponse = {
|
|
1839
|
+
url: string;
|
|
1840
|
+
};
|
|
1841
|
+
|
|
1842
|
+
export type ExpectedImagesResponse = {
|
|
1843
|
+
data: Array<{
|
|
1844
|
+
index: number;
|
|
1845
|
+
file_name: string;
|
|
1846
|
+
media_type: string;
|
|
1847
|
+
file_size: number;
|
|
1848
|
+
time_created: number;
|
|
1849
|
+
is_uploaded: boolean;
|
|
1850
|
+
}>;
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1853
|
+
export type FlightReviewResponse = {
|
|
1854
|
+
id: string;
|
|
1855
|
+
flight_id: string;
|
|
1856
|
+
status: "submitted" | "approved" | "rejected";
|
|
1857
|
+
validation_result: {
|
|
1858
|
+
[key: string]: unknown;
|
|
1859
|
+
} | null;
|
|
1860
|
+
created_at: Date;
|
|
1861
|
+
updated_at: Date;
|
|
1862
|
+
reviewed_at: Date | null;
|
|
1863
|
+
confirmed_at: Date | null;
|
|
1864
|
+
};
|
|
1865
|
+
|
|
1866
|
+
export type ImageUploadUrlsBody = {
|
|
1867
|
+
filenames: Array<string>;
|
|
1868
|
+
};
|
|
1869
|
+
|
|
1870
|
+
export type ImageUploadUrlsResponse = {
|
|
1871
|
+
presigned_urls: {
|
|
1872
|
+
[key: string]: string;
|
|
1873
|
+
};
|
|
1874
|
+
};
|
|
1875
|
+
|
|
1876
|
+
export type CreateCampaignRequestDto = {
|
|
1877
|
+
id?: string;
|
|
1878
|
+
name: string;
|
|
1879
|
+
};
|
|
1880
|
+
|
|
1881
|
+
export type CampaignResponseDto = {
|
|
1882
|
+
id: string;
|
|
1883
|
+
name: string;
|
|
1884
|
+
human_id: string;
|
|
1885
|
+
start_date: Date | null;
|
|
1886
|
+
end_date: Date | null;
|
|
1887
|
+
status:
|
|
1888
|
+
| "empty"
|
|
1889
|
+
| "scheduled"
|
|
1890
|
+
| "active"
|
|
1891
|
+
| "cancelled"
|
|
1892
|
+
| "expired"
|
|
1893
|
+
| "completed";
|
|
1894
|
+
geometry?: {
|
|
1895
|
+
[key: string]: unknown;
|
|
1896
|
+
} | null;
|
|
1897
|
+
created_at: Date;
|
|
1898
|
+
updated_at: Date;
|
|
1899
|
+
};
|
|
1900
|
+
|
|
1901
|
+
export type ListCampaignsResponseDto = {
|
|
1902
|
+
data: Array<{
|
|
1903
|
+
id: string;
|
|
1904
|
+
name: string;
|
|
1905
|
+
human_id: string;
|
|
1906
|
+
start_date: Date | null;
|
|
1907
|
+
end_date: Date | null;
|
|
1908
|
+
status:
|
|
1909
|
+
| "empty"
|
|
1910
|
+
| "scheduled"
|
|
1911
|
+
| "active"
|
|
1912
|
+
| "cancelled"
|
|
1913
|
+
| "expired"
|
|
1914
|
+
| "completed";
|
|
1915
|
+
geometry?: {
|
|
1916
|
+
[key: string]: unknown;
|
|
1917
|
+
} | null;
|
|
1918
|
+
created_at: Date;
|
|
1919
|
+
updated_at: Date;
|
|
1920
|
+
}>;
|
|
1921
|
+
has_next_page: boolean;
|
|
1922
|
+
};
|
|
1923
|
+
|
|
1924
|
+
export type UpdateCampaignRequestDto = {
|
|
1925
|
+
name: string;
|
|
1926
|
+
};
|
|
1927
|
+
|
|
1928
|
+
export type CancelCampaignResponseDto = {
|
|
1929
|
+
cancelled: Array<string>;
|
|
1930
|
+
failed: Array<{
|
|
1931
|
+
id: string;
|
|
1932
|
+
error: string;
|
|
1933
|
+
}>;
|
|
1934
|
+
};
|
|
1935
|
+
|
|
1936
|
+
export type ApiControllerGetHello0V1Data = {
|
|
1937
|
+
body?: never;
|
|
1938
|
+
path?: never;
|
|
1939
|
+
query?: never;
|
|
1940
|
+
url: "/v1";
|
|
1941
|
+
};
|
|
1942
|
+
|
|
1943
|
+
export type ApiControllerGetHello0V1Responses = {
|
|
1944
|
+
200: unknown;
|
|
1945
|
+
};
|
|
1946
|
+
|
|
1947
|
+
export type ApiControllerGetHello1Data = {
|
|
1948
|
+
body?: never;
|
|
1949
|
+
path?: never;
|
|
1950
|
+
query?: never;
|
|
1951
|
+
url: "/";
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1954
|
+
export type ApiControllerGetHello1Responses = {
|
|
1955
|
+
200: unknown;
|
|
1956
|
+
};
|
|
1957
|
+
|
|
1958
|
+
export type ApiControllerGetError0V1Data = {
|
|
1959
|
+
body?: never;
|
|
1960
|
+
path?: never;
|
|
1961
|
+
query?: never;
|
|
1962
|
+
url: "/v1/debug-sentry";
|
|
1963
|
+
};
|
|
1964
|
+
|
|
1965
|
+
export type ApiControllerGetError0V1Responses = {
|
|
1966
|
+
200: unknown;
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
export type ApiControllerGetError1Data = {
|
|
1970
|
+
body?: never;
|
|
1971
|
+
path?: never;
|
|
1972
|
+
query?: never;
|
|
1973
|
+
url: "/debug-sentry";
|
|
1974
|
+
};
|
|
1975
|
+
|
|
1976
|
+
export type ApiControllerGetError1Responses = {
|
|
1977
|
+
200: unknown;
|
|
1978
|
+
};
|
|
1979
|
+
|
|
1980
|
+
export type ApiTokenControllerCreateToken0V1Data = {
|
|
1981
|
+
body: CreateApiTokenRequestDto;
|
|
1982
|
+
path?: never;
|
|
1983
|
+
query?: never;
|
|
1984
|
+
url: "/v1/tokens";
|
|
1985
|
+
};
|
|
1986
|
+
|
|
1987
|
+
export type ApiTokenControllerCreateToken0V1Errors = {
|
|
1988
|
+
401: unknown;
|
|
1989
|
+
403: unknown;
|
|
1990
|
+
};
|
|
1991
|
+
|
|
1992
|
+
export type ApiTokenControllerCreateToken0V1Responses = {
|
|
1993
|
+
200: CreateApiTokenResponseDto;
|
|
1994
|
+
201: unknown;
|
|
1995
|
+
};
|
|
1996
|
+
|
|
1997
|
+
export type ApiTokenControllerCreateToken0V1Response =
|
|
1998
|
+
ApiTokenControllerCreateToken0V1Responses[keyof ApiTokenControllerCreateToken0V1Responses];
|
|
1999
|
+
|
|
2000
|
+
export type ApiTokenControllerCreateToken1Data = {
|
|
2001
|
+
body: CreateApiTokenRequestDto;
|
|
2002
|
+
path?: never;
|
|
2003
|
+
query?: never;
|
|
2004
|
+
url: "/tokens";
|
|
2005
|
+
};
|
|
2006
|
+
|
|
2007
|
+
export type ApiTokenControllerCreateToken1Errors = {
|
|
2008
|
+
401: unknown;
|
|
2009
|
+
403: unknown;
|
|
2010
|
+
};
|
|
2011
|
+
|
|
2012
|
+
export type ApiTokenControllerCreateToken1Responses = {
|
|
2013
|
+
200: CreateApiTokenResponseDto;
|
|
2014
|
+
201: unknown;
|
|
2015
|
+
};
|
|
2016
|
+
|
|
2017
|
+
export type ApiTokenControllerCreateToken1Response =
|
|
2018
|
+
ApiTokenControllerCreateToken1Responses[keyof ApiTokenControllerCreateToken1Responses];
|
|
2019
|
+
|
|
2020
|
+
export type ApiTokenControllerDeleteToken0V1Data = {
|
|
2021
|
+
body?: never;
|
|
2022
|
+
path: {
|
|
2023
|
+
id: string;
|
|
2024
|
+
};
|
|
2025
|
+
query?: never;
|
|
2026
|
+
url: "/v1/tokens/{id}";
|
|
2027
|
+
};
|
|
2028
|
+
|
|
2029
|
+
export type ApiTokenControllerDeleteToken0V1Errors = {
|
|
2030
|
+
401: unknown;
|
|
2031
|
+
403: unknown;
|
|
2032
|
+
};
|
|
2033
|
+
|
|
2034
|
+
export type ApiTokenControllerDeleteToken0V1Responses = {
|
|
2035
|
+
200: unknown;
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
export type ApiTokenControllerGetToken0V1Data = {
|
|
2039
|
+
body?: never;
|
|
2040
|
+
path: {
|
|
2041
|
+
id: string;
|
|
2042
|
+
};
|
|
2043
|
+
query?: never;
|
|
2044
|
+
url: "/v1/tokens/{id}";
|
|
2045
|
+
};
|
|
2046
|
+
|
|
2047
|
+
export type ApiTokenControllerGetToken0V1Errors = {
|
|
2048
|
+
401: unknown;
|
|
2049
|
+
403: unknown;
|
|
2050
|
+
};
|
|
2051
|
+
|
|
2052
|
+
export type ApiTokenControllerGetToken0V1Responses = {
|
|
2053
|
+
200: unknown;
|
|
2054
|
+
};
|
|
2055
|
+
|
|
2056
|
+
export type ApiTokenControllerUpdateToken0V1Data = {
|
|
1405
2057
|
body: UpdateApiTokenRequestDto;
|
|
1406
2058
|
path: {
|
|
1407
2059
|
id: string;
|
|
@@ -1479,6 +2131,58 @@ export type ApiTokenControllerUpdateToken1Responses = {
|
|
|
1479
2131
|
export type ApiTokenControllerUpdateToken1Response =
|
|
1480
2132
|
ApiTokenControllerUpdateToken1Responses[keyof ApiTokenControllerUpdateToken1Responses];
|
|
1481
2133
|
|
|
2134
|
+
export type BackfillControllerTrigger0V1Data = {
|
|
2135
|
+
body: BackfillRequestDto;
|
|
2136
|
+
path?: never;
|
|
2137
|
+
query?: never;
|
|
2138
|
+
url: "/v1/backfill";
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
export type BackfillControllerTrigger0V1Errors = {
|
|
2142
|
+
401: unknown;
|
|
2143
|
+
403: unknown;
|
|
2144
|
+
/**
|
|
2145
|
+
* A backfill is already in progress.
|
|
2146
|
+
*/
|
|
2147
|
+
409: unknown;
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
export type BackfillControllerTrigger0V1Responses = {
|
|
2151
|
+
/**
|
|
2152
|
+
* Backfill accepted and started in the background.
|
|
2153
|
+
*/
|
|
2154
|
+
202: BackfillAcceptedDto;
|
|
2155
|
+
};
|
|
2156
|
+
|
|
2157
|
+
export type BackfillControllerTrigger0V1Response =
|
|
2158
|
+
BackfillControllerTrigger0V1Responses[keyof BackfillControllerTrigger0V1Responses];
|
|
2159
|
+
|
|
2160
|
+
export type BackfillControllerTrigger1Data = {
|
|
2161
|
+
body: BackfillRequestDto;
|
|
2162
|
+
path?: never;
|
|
2163
|
+
query?: never;
|
|
2164
|
+
url: "/backfill";
|
|
2165
|
+
};
|
|
2166
|
+
|
|
2167
|
+
export type BackfillControllerTrigger1Errors = {
|
|
2168
|
+
401: unknown;
|
|
2169
|
+
403: unknown;
|
|
2170
|
+
/**
|
|
2171
|
+
* A backfill is already in progress.
|
|
2172
|
+
*/
|
|
2173
|
+
409: unknown;
|
|
2174
|
+
};
|
|
2175
|
+
|
|
2176
|
+
export type BackfillControllerTrigger1Responses = {
|
|
2177
|
+
/**
|
|
2178
|
+
* Backfill accepted and started in the background.
|
|
2179
|
+
*/
|
|
2180
|
+
202: BackfillAcceptedDto;
|
|
2181
|
+
};
|
|
2182
|
+
|
|
2183
|
+
export type BackfillControllerTrigger1Response =
|
|
2184
|
+
BackfillControllerTrigger1Responses[keyof BackfillControllerTrigger1Responses];
|
|
2185
|
+
|
|
1482
2186
|
export type CampaignsControllerGetMany0V1Data = {
|
|
1483
2187
|
body?: never;
|
|
1484
2188
|
path?: never;
|
|
@@ -1515,6 +2219,10 @@ export type CampaignsControllerCreate0V1Errors = {
|
|
|
1515
2219
|
};
|
|
1516
2220
|
|
|
1517
2221
|
export type CampaignsControllerCreate0V1Responses = {
|
|
2222
|
+
/**
|
|
2223
|
+
* Campaign already exists (no-op)
|
|
2224
|
+
*/
|
|
2225
|
+
200: CreateCampaignResponse;
|
|
1518
2226
|
201: CreateCampaignResponse;
|
|
1519
2227
|
};
|
|
1520
2228
|
|
|
@@ -1557,6 +2265,10 @@ export type CampaignsControllerCreate1Errors = {
|
|
|
1557
2265
|
};
|
|
1558
2266
|
|
|
1559
2267
|
export type CampaignsControllerCreate1Responses = {
|
|
2268
|
+
/**
|
|
2269
|
+
* Campaign already exists (no-op)
|
|
2270
|
+
*/
|
|
2271
|
+
200: CreateCampaignResponse;
|
|
1560
2272
|
201: CreateCampaignResponse;
|
|
1561
2273
|
};
|
|
1562
2274
|
|
|
@@ -2622,6 +3334,8 @@ export type MissionsControllerGetMissions0V1Data = {
|
|
|
2622
3334
|
isOpen?: string;
|
|
2623
3335
|
zoneIds?: string | Array<string>;
|
|
2624
3336
|
flightPlanId?: number;
|
|
3337
|
+
campaignId?: string | Array<string>;
|
|
3338
|
+
campaignName?: string | Array<string>;
|
|
2625
3339
|
page?: number;
|
|
2626
3340
|
relations?:
|
|
2627
3341
|
| "vault"
|
|
@@ -2710,6 +3424,8 @@ export type MissionsControllerGetMissions1Data = {
|
|
|
2710
3424
|
isOpen?: string;
|
|
2711
3425
|
zoneIds?: string | Array<string>;
|
|
2712
3426
|
flightPlanId?: number;
|
|
3427
|
+
campaignId?: string | Array<string>;
|
|
3428
|
+
campaignName?: string | Array<string>;
|
|
2713
3429
|
page?: number;
|
|
2714
3430
|
relations?:
|
|
2715
3431
|
| "vault"
|
|
@@ -2852,9 +3568,7 @@ export type ListProposalsData = {
|
|
|
2852
3568
|
};
|
|
2853
3569
|
|
|
2854
3570
|
export type ListProposalsErrors = {
|
|
2855
|
-
|
|
2856
|
-
* Missing manageProposals permission
|
|
2857
|
-
*/
|
|
3571
|
+
401: unknown;
|
|
2858
3572
|
403: unknown;
|
|
2859
3573
|
};
|
|
2860
3574
|
|
|
@@ -2898,9 +3612,7 @@ export type GetProposalData = {
|
|
|
2898
3612
|
};
|
|
2899
3613
|
|
|
2900
3614
|
export type GetProposalErrors = {
|
|
2901
|
-
|
|
2902
|
-
* Missing manageProposals permission
|
|
2903
|
-
*/
|
|
3615
|
+
401: unknown;
|
|
2904
3616
|
403: unknown;
|
|
2905
3617
|
/**
|
|
2906
3618
|
* Proposal not found
|
|
@@ -3076,34 +3788,6 @@ export type QuotesControllerGetQuote1Responses = {
|
|
|
3076
3788
|
200: unknown;
|
|
3077
3789
|
};
|
|
3078
3790
|
|
|
3079
|
-
export type SchemaControllerGetEventSchema0V1Data = {
|
|
3080
|
-
body?: never;
|
|
3081
|
-
path?: never;
|
|
3082
|
-
query?: never;
|
|
3083
|
-
url: "/v1/schema/event";
|
|
3084
|
-
};
|
|
3085
|
-
|
|
3086
|
-
export type SchemaControllerGetEventSchema0V1Responses = {
|
|
3087
|
-
/**
|
|
3088
|
-
* Get event schema
|
|
3089
|
-
*/
|
|
3090
|
-
200: unknown;
|
|
3091
|
-
};
|
|
3092
|
-
|
|
3093
|
-
export type SchemaControllerGetEventSchema1Data = {
|
|
3094
|
-
body?: never;
|
|
3095
|
-
path?: never;
|
|
3096
|
-
query?: never;
|
|
3097
|
-
url: "/schema/event";
|
|
3098
|
-
};
|
|
3099
|
-
|
|
3100
|
-
export type SchemaControllerGetEventSchema1Responses = {
|
|
3101
|
-
/**
|
|
3102
|
-
* Get event schema
|
|
3103
|
-
*/
|
|
3104
|
-
200: unknown;
|
|
3105
|
-
};
|
|
3106
|
-
|
|
3107
3791
|
export type VaultsControllerCreateVaults0V1Data = {
|
|
3108
3792
|
body: CreateVaultsRequestDto;
|
|
3109
3793
|
path?: never;
|
|
@@ -3526,13 +4210,16 @@ export type ZonesControllerCreateZone0V1Errors = {
|
|
|
3526
4210
|
400: unknown;
|
|
3527
4211
|
401: unknown;
|
|
3528
4212
|
403: unknown;
|
|
3529
|
-
/**
|
|
3530
|
-
* Zone already exists
|
|
3531
|
-
*/
|
|
3532
|
-
409: unknown;
|
|
3533
4213
|
};
|
|
3534
4214
|
|
|
3535
4215
|
export type ZonesControllerCreateZone0V1Responses = {
|
|
4216
|
+
/**
|
|
4217
|
+
* Zone already exists (no-op)
|
|
4218
|
+
*/
|
|
4219
|
+
200: ZoneResponseDto;
|
|
4220
|
+
/**
|
|
4221
|
+
* Zone created
|
|
4222
|
+
*/
|
|
3536
4223
|
201: ZoneResponseDto;
|
|
3537
4224
|
};
|
|
3538
4225
|
|
|
@@ -3553,13 +4240,16 @@ export type ZonesControllerCreateZone1Errors = {
|
|
|
3553
4240
|
400: unknown;
|
|
3554
4241
|
401: unknown;
|
|
3555
4242
|
403: unknown;
|
|
3556
|
-
/**
|
|
3557
|
-
* Zone already exists
|
|
3558
|
-
*/
|
|
3559
|
-
409: unknown;
|
|
3560
4243
|
};
|
|
3561
4244
|
|
|
3562
4245
|
export type ZonesControllerCreateZone1Responses = {
|
|
4246
|
+
/**
|
|
4247
|
+
* Zone already exists (no-op)
|
|
4248
|
+
*/
|
|
4249
|
+
200: ZoneResponseDto;
|
|
4250
|
+
/**
|
|
4251
|
+
* Zone created
|
|
4252
|
+
*/
|
|
3563
4253
|
201: ZoneResponseDto;
|
|
3564
4254
|
};
|
|
3565
4255
|
|
|
@@ -4040,6 +4730,705 @@ export type InboundWebhookConfigsControllerUpdate1Responses = {
|
|
|
4040
4730
|
export type InboundWebhookConfigsControllerUpdate1Response =
|
|
4041
4731
|
InboundWebhookConfigsControllerUpdate1Responses[keyof InboundWebhookConfigsControllerUpdate1Responses];
|
|
4042
4732
|
|
|
4733
|
+
export type CampaignsControllerGetCampaignsV2V2Data = {
|
|
4734
|
+
body?: never;
|
|
4735
|
+
path?: never;
|
|
4736
|
+
query?: {
|
|
4737
|
+
page?: number;
|
|
4738
|
+
lat?: number;
|
|
4739
|
+
lng?: number;
|
|
4740
|
+
max_distance_meters?: number;
|
|
4741
|
+
sort_by?: "distance";
|
|
4742
|
+
};
|
|
4743
|
+
url: "/v2/campaigns";
|
|
4744
|
+
};
|
|
4745
|
+
|
|
4746
|
+
export type CampaignsControllerGetCampaignsV2V2Errors = {
|
|
4747
|
+
401: unknown;
|
|
4748
|
+
403: unknown;
|
|
4749
|
+
};
|
|
4750
|
+
|
|
4751
|
+
export type CampaignsControllerGetCampaignsV2V2Responses = {
|
|
4752
|
+
200: ListCampaignsResponseDto;
|
|
4753
|
+
};
|
|
4754
|
+
|
|
4755
|
+
export type CampaignsControllerGetCampaignsV2V2Response =
|
|
4756
|
+
CampaignsControllerGetCampaignsV2V2Responses[keyof CampaignsControllerGetCampaignsV2V2Responses];
|
|
4757
|
+
|
|
4758
|
+
export type CampaignsControllerCreateCampaignV2V2Data = {
|
|
4759
|
+
body: CreateCampaignRequestDto;
|
|
4760
|
+
path?: never;
|
|
4761
|
+
query?: never;
|
|
4762
|
+
url: "/v2/campaigns";
|
|
4763
|
+
};
|
|
4764
|
+
|
|
4765
|
+
export type CampaignsControllerCreateCampaignV2V2Errors = {
|
|
4766
|
+
401: unknown;
|
|
4767
|
+
403: unknown;
|
|
4768
|
+
/**
|
|
4769
|
+
* `name` already taken, or `id` already exists
|
|
4770
|
+
*/
|
|
4771
|
+
409: unknown;
|
|
4772
|
+
};
|
|
4773
|
+
|
|
4774
|
+
export type CampaignsControllerCreateCampaignV2V2Responses = {
|
|
4775
|
+
201: CampaignResponseDto;
|
|
4776
|
+
};
|
|
4777
|
+
|
|
4778
|
+
export type CampaignsControllerCreateCampaignV2V2Response =
|
|
4779
|
+
CampaignsControllerCreateCampaignV2V2Responses[keyof CampaignsControllerCreateCampaignV2V2Responses];
|
|
4780
|
+
|
|
4781
|
+
export type CampaignsControllerGetCampaignV2V2Data = {
|
|
4782
|
+
body?: never;
|
|
4783
|
+
path: {
|
|
4784
|
+
id: string;
|
|
4785
|
+
};
|
|
4786
|
+
query?: {
|
|
4787
|
+
expand?: string;
|
|
4788
|
+
};
|
|
4789
|
+
url: "/v2/campaigns/{id}";
|
|
4790
|
+
};
|
|
4791
|
+
|
|
4792
|
+
export type CampaignsControllerGetCampaignV2V2Errors = {
|
|
4793
|
+
401: unknown;
|
|
4794
|
+
403: unknown;
|
|
4795
|
+
/**
|
|
4796
|
+
* Campaign not found
|
|
4797
|
+
*/
|
|
4798
|
+
404: unknown;
|
|
4799
|
+
};
|
|
4800
|
+
|
|
4801
|
+
export type CampaignsControllerGetCampaignV2V2Responses = {
|
|
4802
|
+
200: CampaignResponseDto;
|
|
4803
|
+
};
|
|
4804
|
+
|
|
4805
|
+
export type CampaignsControllerGetCampaignV2V2Response =
|
|
4806
|
+
CampaignsControllerGetCampaignV2V2Responses[keyof CampaignsControllerGetCampaignV2V2Responses];
|
|
4807
|
+
|
|
4808
|
+
export type CampaignsControllerUpdateCampaignV2V2Data = {
|
|
4809
|
+
body: UpdateCampaignRequestDto;
|
|
4810
|
+
path: {
|
|
4811
|
+
id: string;
|
|
4812
|
+
};
|
|
4813
|
+
query?: never;
|
|
4814
|
+
url: "/v2/campaigns/{id}";
|
|
4815
|
+
};
|
|
4816
|
+
|
|
4817
|
+
export type CampaignsControllerUpdateCampaignV2V2Errors = {
|
|
4818
|
+
401: unknown;
|
|
4819
|
+
403: unknown;
|
|
4820
|
+
/**
|
|
4821
|
+
* Campaign not found
|
|
4822
|
+
*/
|
|
4823
|
+
404: unknown;
|
|
4824
|
+
/**
|
|
4825
|
+
* `name` already taken
|
|
4826
|
+
*/
|
|
4827
|
+
409: unknown;
|
|
4828
|
+
};
|
|
4829
|
+
|
|
4830
|
+
export type CampaignsControllerUpdateCampaignV2V2Responses = {
|
|
4831
|
+
200: CampaignResponseDto;
|
|
4832
|
+
};
|
|
4833
|
+
|
|
4834
|
+
export type CampaignsControllerUpdateCampaignV2V2Response =
|
|
4835
|
+
CampaignsControllerUpdateCampaignV2V2Responses[keyof CampaignsControllerUpdateCampaignV2V2Responses];
|
|
4836
|
+
|
|
4837
|
+
export type CampaignsControllerCancelCampaignV2V2Data = {
|
|
4838
|
+
body?: never;
|
|
4839
|
+
path: {
|
|
4840
|
+
id: string;
|
|
4841
|
+
};
|
|
4842
|
+
query?: never;
|
|
4843
|
+
url: "/v2/campaigns/{id}/cancel";
|
|
4844
|
+
};
|
|
4845
|
+
|
|
4846
|
+
export type CampaignsControllerCancelCampaignV2V2Errors = {
|
|
4847
|
+
401: unknown;
|
|
4848
|
+
403: unknown;
|
|
4849
|
+
/**
|
|
4850
|
+
* Campaign not found
|
|
4851
|
+
*/
|
|
4852
|
+
404: unknown;
|
|
4853
|
+
};
|
|
4854
|
+
|
|
4855
|
+
export type CampaignsControllerCancelCampaignV2V2Responses = {
|
|
4856
|
+
200: CancelCampaignResponseDto;
|
|
4857
|
+
};
|
|
4858
|
+
|
|
4859
|
+
export type CampaignsControllerCancelCampaignV2V2Response =
|
|
4860
|
+
CampaignsControllerCancelCampaignV2V2Responses[keyof CampaignsControllerCancelCampaignV2V2Responses];
|
|
4861
|
+
|
|
4862
|
+
export type FlightPlansControllerGetManyV2V2Data = {
|
|
4863
|
+
body?: never;
|
|
4864
|
+
path?: never;
|
|
4865
|
+
query?: {
|
|
4866
|
+
include_inactive?: "true" | "false";
|
|
4867
|
+
legacy_id?: number;
|
|
4868
|
+
};
|
|
4869
|
+
url: "/v2/flight-plans";
|
|
4870
|
+
};
|
|
4871
|
+
|
|
4872
|
+
export type FlightPlansControllerGetManyV2V2Errors = {
|
|
4873
|
+
401: unknown;
|
|
4874
|
+
403: unknown;
|
|
4875
|
+
};
|
|
4876
|
+
|
|
4877
|
+
export type FlightPlansControllerGetManyV2V2Responses = {
|
|
4878
|
+
200: MissionFulfillmentGetFlightPlansResponse;
|
|
4879
|
+
};
|
|
4880
|
+
|
|
4881
|
+
export type FlightPlansControllerGetManyV2V2Response =
|
|
4882
|
+
FlightPlansControllerGetManyV2V2Responses[keyof FlightPlansControllerGetManyV2V2Responses];
|
|
4883
|
+
|
|
4884
|
+
export type FlightPlansControllerCreateV2V2Data = {
|
|
4885
|
+
body: MissionFulfillmentCreateFlightPlanBody;
|
|
4886
|
+
path?: never;
|
|
4887
|
+
query?: never;
|
|
4888
|
+
url: "/v2/flight-plans";
|
|
4889
|
+
};
|
|
4890
|
+
|
|
4891
|
+
export type FlightPlansControllerCreateV2V2Errors = {
|
|
4892
|
+
401: unknown;
|
|
4893
|
+
403: unknown;
|
|
4894
|
+
};
|
|
4895
|
+
|
|
4896
|
+
export type FlightPlansControllerCreateV2V2Responses = {
|
|
4897
|
+
201: FlightPlanResponse;
|
|
4898
|
+
};
|
|
4899
|
+
|
|
4900
|
+
export type FlightPlansControllerCreateV2V2Response =
|
|
4901
|
+
FlightPlansControllerCreateV2V2Responses[keyof FlightPlansControllerCreateV2V2Responses];
|
|
4902
|
+
|
|
4903
|
+
export type FlightPlansControllerGetV2V2Data = {
|
|
4904
|
+
body?: never;
|
|
4905
|
+
path: {
|
|
4906
|
+
id: string;
|
|
4907
|
+
};
|
|
4908
|
+
query?: never;
|
|
4909
|
+
url: "/v2/flight-plans/{id}";
|
|
4910
|
+
};
|
|
4911
|
+
|
|
4912
|
+
export type FlightPlansControllerGetV2V2Errors = {
|
|
4913
|
+
401: unknown;
|
|
4914
|
+
403: unknown;
|
|
4915
|
+
};
|
|
4916
|
+
|
|
4917
|
+
export type FlightPlansControllerGetV2V2Responses = {
|
|
4918
|
+
200: FlightPlanResponse;
|
|
4919
|
+
};
|
|
4920
|
+
|
|
4921
|
+
export type FlightPlansControllerGetV2V2Response =
|
|
4922
|
+
FlightPlansControllerGetV2V2Responses[keyof FlightPlansControllerGetV2V2Responses];
|
|
4923
|
+
|
|
4924
|
+
export type FlightPlansControllerUpdateV2V2Data = {
|
|
4925
|
+
body: UpdateFlightPlanBody;
|
|
4926
|
+
path: {
|
|
4927
|
+
id: string;
|
|
4928
|
+
};
|
|
4929
|
+
query?: never;
|
|
4930
|
+
url: "/v2/flight-plans/{id}";
|
|
4931
|
+
};
|
|
4932
|
+
|
|
4933
|
+
export type FlightPlansControllerUpdateV2V2Errors = {
|
|
4934
|
+
401: unknown;
|
|
4935
|
+
403: unknown;
|
|
4936
|
+
};
|
|
4937
|
+
|
|
4938
|
+
export type FlightPlansControllerUpdateV2V2Responses = {
|
|
4939
|
+
200: FlightPlanResponse;
|
|
4940
|
+
};
|
|
4941
|
+
|
|
4942
|
+
export type FlightPlansControllerUpdateV2V2Response =
|
|
4943
|
+
FlightPlansControllerUpdateV2V2Responses[keyof FlightPlansControllerUpdateV2V2Responses];
|
|
4944
|
+
|
|
4945
|
+
export type FlightPlansControllerExpandV2V2Data = {
|
|
4946
|
+
body: ExpandFlightPlanBody;
|
|
4947
|
+
path: {
|
|
4948
|
+
id: string;
|
|
4949
|
+
};
|
|
4950
|
+
query?: never;
|
|
4951
|
+
url: "/v2/flight-plans/{id}/expand";
|
|
4952
|
+
};
|
|
4953
|
+
|
|
4954
|
+
export type FlightPlansControllerExpandV2V2Errors = {
|
|
4955
|
+
401: unknown;
|
|
4956
|
+
403: unknown;
|
|
4957
|
+
};
|
|
4958
|
+
|
|
4959
|
+
export type FlightPlansControllerExpandV2V2Responses = {
|
|
4960
|
+
200: FlightPathIntendedResponse;
|
|
4961
|
+
};
|
|
4962
|
+
|
|
4963
|
+
export type FlightPlansControllerExpandV2V2Response =
|
|
4964
|
+
FlightPlansControllerExpandV2V2Responses[keyof FlightPlansControllerExpandV2V2Responses];
|
|
4965
|
+
|
|
4966
|
+
export type FlightsControllerGetFlightsV2V2Data = {
|
|
4967
|
+
body?: never;
|
|
4968
|
+
path?: never;
|
|
4969
|
+
query?: {
|
|
4970
|
+
page?: number;
|
|
4971
|
+
mission_id?: string;
|
|
4972
|
+
status?:
|
|
4973
|
+
| "awaiting_provenance_submission"
|
|
4974
|
+
| "awaiting_file_submission"
|
|
4975
|
+
| "in_review"
|
|
4976
|
+
| "verified"
|
|
4977
|
+
| "failed"
|
|
4978
|
+
| "paid"
|
|
4979
|
+
| "taken"
|
|
4980
|
+
| "cancelled";
|
|
4981
|
+
pilot_address?: string;
|
|
4982
|
+
zone_id?: string;
|
|
4983
|
+
};
|
|
4984
|
+
url: "/v2/flights";
|
|
4985
|
+
};
|
|
4986
|
+
|
|
4987
|
+
export type FlightsControllerGetFlightsV2V2Errors = {
|
|
4988
|
+
401: unknown;
|
|
4989
|
+
403: unknown;
|
|
4990
|
+
};
|
|
4991
|
+
|
|
4992
|
+
export type FlightsControllerGetFlightsV2V2Responses = {
|
|
4993
|
+
200: ListFlightsResponse;
|
|
4994
|
+
};
|
|
4995
|
+
|
|
4996
|
+
export type FlightsControllerGetFlightsV2V2Response =
|
|
4997
|
+
FlightsControllerGetFlightsV2V2Responses[keyof FlightsControllerGetFlightsV2V2Responses];
|
|
4998
|
+
|
|
4999
|
+
export type FlightsControllerCreateFlightV2V2Data = {
|
|
5000
|
+
body: CreateFlightBody;
|
|
5001
|
+
path?: never;
|
|
5002
|
+
query?: never;
|
|
5003
|
+
url: "/v2/flights";
|
|
5004
|
+
};
|
|
5005
|
+
|
|
5006
|
+
export type FlightsControllerCreateFlightV2V2Errors = {
|
|
5007
|
+
401: unknown;
|
|
5008
|
+
403: unknown;
|
|
5009
|
+
};
|
|
5010
|
+
|
|
5011
|
+
export type FlightsControllerCreateFlightV2V2Responses = {
|
|
5012
|
+
201: CreateFlightResponse;
|
|
5013
|
+
};
|
|
5014
|
+
|
|
5015
|
+
export type FlightsControllerCreateFlightV2V2Response =
|
|
5016
|
+
FlightsControllerCreateFlightV2V2Responses[keyof FlightsControllerCreateFlightV2V2Responses];
|
|
5017
|
+
|
|
5018
|
+
export type FlightsControllerGetProvenanceKeyV2V2Data = {
|
|
5019
|
+
body?: never;
|
|
5020
|
+
path?: never;
|
|
5021
|
+
query?: never;
|
|
5022
|
+
url: "/v2/flights/provenance-key";
|
|
5023
|
+
};
|
|
5024
|
+
|
|
5025
|
+
export type FlightsControllerGetProvenanceKeyV2V2Errors = {
|
|
5026
|
+
401: unknown;
|
|
5027
|
+
403: unknown;
|
|
5028
|
+
};
|
|
5029
|
+
|
|
5030
|
+
export type FlightsControllerGetProvenanceKeyV2V2Responses = {
|
|
5031
|
+
200: ProvenanceKeyResponse;
|
|
5032
|
+
};
|
|
5033
|
+
|
|
5034
|
+
export type FlightsControllerGetProvenanceKeyV2V2Response =
|
|
5035
|
+
FlightsControllerGetProvenanceKeyV2V2Responses[keyof FlightsControllerGetProvenanceKeyV2V2Responses];
|
|
5036
|
+
|
|
5037
|
+
export type FlightsControllerGetFlightV2V2Data = {
|
|
5038
|
+
body?: never;
|
|
5039
|
+
path: {
|
|
5040
|
+
id: string;
|
|
5041
|
+
};
|
|
5042
|
+
query?: never;
|
|
5043
|
+
url: "/v2/flights/{id}";
|
|
5044
|
+
};
|
|
5045
|
+
|
|
5046
|
+
export type FlightsControllerGetFlightV2V2Errors = {
|
|
5047
|
+
401: unknown;
|
|
5048
|
+
403: unknown;
|
|
5049
|
+
};
|
|
5050
|
+
|
|
5051
|
+
export type FlightsControllerGetFlightV2V2Responses = {
|
|
5052
|
+
200: FlightResponse;
|
|
5053
|
+
};
|
|
5054
|
+
|
|
5055
|
+
export type FlightsControllerGetFlightV2V2Response =
|
|
5056
|
+
FlightsControllerGetFlightV2V2Responses[keyof FlightsControllerGetFlightV2V2Responses];
|
|
5057
|
+
|
|
5058
|
+
export type FlightsControllerGetExpectedImagesV2V2Data = {
|
|
5059
|
+
body?: never;
|
|
5060
|
+
path: {
|
|
5061
|
+
id: string;
|
|
5062
|
+
};
|
|
5063
|
+
query?: never;
|
|
5064
|
+
url: "/v2/flights/{id}/expected-images";
|
|
5065
|
+
};
|
|
5066
|
+
|
|
5067
|
+
export type FlightsControllerGetExpectedImagesV2V2Errors = {
|
|
5068
|
+
401: unknown;
|
|
5069
|
+
403: unknown;
|
|
5070
|
+
};
|
|
5071
|
+
|
|
5072
|
+
export type FlightsControllerGetExpectedImagesV2V2Responses = {
|
|
5073
|
+
200: ExpectedImagesResponse;
|
|
5074
|
+
};
|
|
5075
|
+
|
|
5076
|
+
export type FlightsControllerGetExpectedImagesV2V2Response =
|
|
5077
|
+
FlightsControllerGetExpectedImagesV2V2Responses[keyof FlightsControllerGetExpectedImagesV2V2Responses];
|
|
5078
|
+
|
|
5079
|
+
export type FlightsControllerGetProvenanceUploadUrlV2V2Data = {
|
|
5080
|
+
body?: never;
|
|
5081
|
+
path: {
|
|
5082
|
+
id: string;
|
|
5083
|
+
};
|
|
5084
|
+
query?: never;
|
|
5085
|
+
url: "/v2/flights/{id}/provenance-upload-url";
|
|
5086
|
+
};
|
|
5087
|
+
|
|
5088
|
+
export type FlightsControllerGetProvenanceUploadUrlV2V2Errors = {
|
|
5089
|
+
401: unknown;
|
|
5090
|
+
403: unknown;
|
|
5091
|
+
};
|
|
5092
|
+
|
|
5093
|
+
export type FlightsControllerGetProvenanceUploadUrlV2V2Responses = {
|
|
5094
|
+
200: ProvenanceUploadUrlResponse;
|
|
5095
|
+
};
|
|
5096
|
+
|
|
5097
|
+
export type FlightsControllerGetProvenanceUploadUrlV2V2Response =
|
|
5098
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Responses[keyof FlightsControllerGetProvenanceUploadUrlV2V2Responses];
|
|
5099
|
+
|
|
5100
|
+
export type FlightsControllerGetReviewV2V2Data = {
|
|
5101
|
+
body?: never;
|
|
5102
|
+
path: {
|
|
5103
|
+
id: string;
|
|
5104
|
+
};
|
|
5105
|
+
query?: never;
|
|
5106
|
+
url: "/v2/flights/{id}/review";
|
|
5107
|
+
};
|
|
5108
|
+
|
|
5109
|
+
export type FlightsControllerGetReviewV2V2Errors = {
|
|
5110
|
+
401: unknown;
|
|
5111
|
+
403: unknown;
|
|
5112
|
+
};
|
|
5113
|
+
|
|
5114
|
+
export type FlightsControllerGetReviewV2V2Responses = {
|
|
5115
|
+
200: FlightReviewResponse;
|
|
5116
|
+
};
|
|
5117
|
+
|
|
5118
|
+
export type FlightsControllerGetReviewV2V2Response =
|
|
5119
|
+
FlightsControllerGetReviewV2V2Responses[keyof FlightsControllerGetReviewV2V2Responses];
|
|
5120
|
+
|
|
5121
|
+
export type FlightsControllerRequestReviewV2V2Data = {
|
|
5122
|
+
body?: never;
|
|
5123
|
+
path: {
|
|
5124
|
+
id: string;
|
|
5125
|
+
};
|
|
5126
|
+
query?: never;
|
|
5127
|
+
url: "/v2/flights/{id}/review";
|
|
5128
|
+
};
|
|
5129
|
+
|
|
5130
|
+
export type FlightsControllerRequestReviewV2V2Errors = {
|
|
5131
|
+
401: unknown;
|
|
5132
|
+
403: unknown;
|
|
5133
|
+
};
|
|
5134
|
+
|
|
5135
|
+
export type FlightsControllerRequestReviewV2V2Responses = {
|
|
5136
|
+
201: FlightReviewResponse;
|
|
5137
|
+
};
|
|
5138
|
+
|
|
5139
|
+
export type FlightsControllerRequestReviewV2V2Response =
|
|
5140
|
+
FlightsControllerRequestReviewV2V2Responses[keyof FlightsControllerRequestReviewV2V2Responses];
|
|
5141
|
+
|
|
5142
|
+
export type FlightsControllerImageUploadUrlsV2V2Data = {
|
|
5143
|
+
body: ImageUploadUrlsBody;
|
|
5144
|
+
path: {
|
|
5145
|
+
id: string;
|
|
5146
|
+
};
|
|
5147
|
+
query?: never;
|
|
5148
|
+
url: "/v2/flights/{id}/expected-images/upload-urls";
|
|
5149
|
+
};
|
|
5150
|
+
|
|
5151
|
+
export type FlightsControllerImageUploadUrlsV2V2Errors = {
|
|
5152
|
+
401: unknown;
|
|
5153
|
+
403: unknown;
|
|
5154
|
+
};
|
|
5155
|
+
|
|
5156
|
+
export type FlightsControllerImageUploadUrlsV2V2Responses = {
|
|
5157
|
+
200: ImageUploadUrlsResponse;
|
|
5158
|
+
};
|
|
5159
|
+
|
|
5160
|
+
export type FlightsControllerImageUploadUrlsV2V2Response =
|
|
5161
|
+
FlightsControllerImageUploadUrlsV2V2Responses[keyof FlightsControllerImageUploadUrlsV2V2Responses];
|
|
5162
|
+
|
|
5163
|
+
export type FlightsControllerSubmitProvenanceV2V2Data = {
|
|
5164
|
+
body?: never;
|
|
5165
|
+
path: {
|
|
5166
|
+
id: string;
|
|
5167
|
+
};
|
|
5168
|
+
query?: never;
|
|
5169
|
+
url: "/v2/flights/{id}/provenance";
|
|
5170
|
+
};
|
|
5171
|
+
|
|
5172
|
+
export type FlightsControllerSubmitProvenanceV2V2Errors = {
|
|
5173
|
+
401: unknown;
|
|
5174
|
+
403: unknown;
|
|
5175
|
+
};
|
|
5176
|
+
|
|
5177
|
+
export type FlightsControllerSubmitProvenanceV2V2Responses = {
|
|
5178
|
+
200: FlightResponse;
|
|
5179
|
+
};
|
|
5180
|
+
|
|
5181
|
+
export type FlightsControllerSubmitProvenanceV2V2Response =
|
|
5182
|
+
FlightsControllerSubmitProvenanceV2V2Responses[keyof FlightsControllerSubmitProvenanceV2V2Responses];
|
|
5183
|
+
|
|
5184
|
+
export type MissionsControllerGetMissionsV2V2Data = {
|
|
5185
|
+
body?: never;
|
|
5186
|
+
path?: never;
|
|
5187
|
+
query?: {
|
|
5188
|
+
page?: number;
|
|
5189
|
+
zone_id?: string;
|
|
5190
|
+
flight_plan_id?: string;
|
|
5191
|
+
campaign_id?: string;
|
|
5192
|
+
chain_mission_id?: string;
|
|
5193
|
+
status?:
|
|
5194
|
+
| "pending"
|
|
5195
|
+
| "submitted"
|
|
5196
|
+
| "scheduled"
|
|
5197
|
+
| "active"
|
|
5198
|
+
| "hold"
|
|
5199
|
+
| "cancelled"
|
|
5200
|
+
| "expired"
|
|
5201
|
+
| "completed";
|
|
5202
|
+
created_at_gt?: Date;
|
|
5203
|
+
created_at_lt?: Date;
|
|
5204
|
+
updated_at_gt?: Date;
|
|
5205
|
+
updated_at_lt?: Date;
|
|
5206
|
+
include_unconfirmed?: string;
|
|
5207
|
+
};
|
|
5208
|
+
url: "/v2/missions";
|
|
5209
|
+
};
|
|
5210
|
+
|
|
5211
|
+
export type MissionsControllerGetMissionsV2V2Errors = {
|
|
5212
|
+
401: unknown;
|
|
5213
|
+
403: unknown;
|
|
5214
|
+
};
|
|
5215
|
+
|
|
5216
|
+
export type MissionsControllerGetMissionsV2V2Responses = {
|
|
5217
|
+
200: ListMissionsResponse;
|
|
5218
|
+
};
|
|
5219
|
+
|
|
5220
|
+
export type MissionsControllerGetMissionsV2V2Response =
|
|
5221
|
+
MissionsControllerGetMissionsV2V2Responses[keyof MissionsControllerGetMissionsV2V2Responses];
|
|
5222
|
+
|
|
5223
|
+
export type MissionsControllerCreateMissionsV2V2Data = {
|
|
5224
|
+
body: CreateMissionsBody;
|
|
5225
|
+
path?: never;
|
|
5226
|
+
query?: never;
|
|
5227
|
+
url: "/v2/missions";
|
|
5228
|
+
};
|
|
5229
|
+
|
|
5230
|
+
export type MissionsControllerCreateMissionsV2V2Errors = {
|
|
5231
|
+
401: unknown;
|
|
5232
|
+
403: unknown;
|
|
5233
|
+
};
|
|
5234
|
+
|
|
5235
|
+
export type MissionsControllerCreateMissionsV2V2Responses = {
|
|
5236
|
+
201: CreateMissionsResponse;
|
|
5237
|
+
};
|
|
5238
|
+
|
|
5239
|
+
export type MissionsControllerCreateMissionsV2V2Response =
|
|
5240
|
+
MissionsControllerCreateMissionsV2V2Responses[keyof MissionsControllerCreateMissionsV2V2Responses];
|
|
5241
|
+
|
|
5242
|
+
export type MissionsControllerGetMissionV2V2Data = {
|
|
5243
|
+
body?: never;
|
|
5244
|
+
path: {
|
|
5245
|
+
id: string;
|
|
5246
|
+
};
|
|
5247
|
+
query?: {
|
|
5248
|
+
expand?: string;
|
|
5249
|
+
};
|
|
5250
|
+
url: "/v2/missions/{id}";
|
|
5251
|
+
};
|
|
5252
|
+
|
|
5253
|
+
export type MissionsControllerGetMissionV2V2Errors = {
|
|
5254
|
+
401: unknown;
|
|
5255
|
+
403: unknown;
|
|
5256
|
+
};
|
|
5257
|
+
|
|
5258
|
+
export type MissionsControllerGetMissionV2V2Responses = {
|
|
5259
|
+
200: MissionResponse;
|
|
5260
|
+
};
|
|
5261
|
+
|
|
5262
|
+
export type MissionsControllerGetMissionV2V2Response =
|
|
5263
|
+
MissionsControllerGetMissionV2V2Responses[keyof MissionsControllerGetMissionV2V2Responses];
|
|
5264
|
+
|
|
5265
|
+
export type MissionsControllerUpdateMissionV2V2Data = {
|
|
5266
|
+
body: UpdateMissionBody;
|
|
5267
|
+
path: {
|
|
5268
|
+
id: string;
|
|
5269
|
+
};
|
|
5270
|
+
query?: never;
|
|
5271
|
+
url: "/v2/missions/{id}";
|
|
5272
|
+
};
|
|
5273
|
+
|
|
5274
|
+
export type MissionsControllerUpdateMissionV2V2Errors = {
|
|
5275
|
+
401: unknown;
|
|
5276
|
+
403: unknown;
|
|
5277
|
+
};
|
|
5278
|
+
|
|
5279
|
+
export type MissionsControllerUpdateMissionV2V2Responses = {
|
|
5280
|
+
200: MissionResponse;
|
|
5281
|
+
};
|
|
5282
|
+
|
|
5283
|
+
export type MissionsControllerUpdateMissionV2V2Response =
|
|
5284
|
+
MissionsControllerUpdateMissionV2V2Responses[keyof MissionsControllerUpdateMissionV2V2Responses];
|
|
5285
|
+
|
|
5286
|
+
export type MissionsControllerCancelMissionV2V2Data = {
|
|
5287
|
+
body?: never;
|
|
5288
|
+
path: {
|
|
5289
|
+
id: string;
|
|
5290
|
+
};
|
|
5291
|
+
query?: never;
|
|
5292
|
+
url: "/v2/missions/{id}/cancel";
|
|
5293
|
+
};
|
|
5294
|
+
|
|
5295
|
+
export type MissionsControllerCancelMissionV2V2Errors = {
|
|
5296
|
+
401: unknown;
|
|
5297
|
+
403: unknown;
|
|
5298
|
+
};
|
|
5299
|
+
|
|
5300
|
+
export type MissionsControllerCancelMissionV2V2Responses = {
|
|
5301
|
+
200: MissionResponse;
|
|
5302
|
+
};
|
|
5303
|
+
|
|
5304
|
+
export type MissionsControllerCancelMissionV2V2Response =
|
|
5305
|
+
MissionsControllerCancelMissionV2V2Responses[keyof MissionsControllerCancelMissionV2V2Responses];
|
|
5306
|
+
|
|
5307
|
+
export type MissionsControllerRetryMissionV2V2Data = {
|
|
5308
|
+
body?: never;
|
|
5309
|
+
path: {
|
|
5310
|
+
id: string;
|
|
5311
|
+
};
|
|
5312
|
+
query?: never;
|
|
5313
|
+
url: "/v2/missions/{id}/retry";
|
|
5314
|
+
};
|
|
5315
|
+
|
|
5316
|
+
export type MissionsControllerRetryMissionV2V2Errors = {
|
|
5317
|
+
401: unknown;
|
|
5318
|
+
403: unknown;
|
|
5319
|
+
};
|
|
5320
|
+
|
|
5321
|
+
export type MissionsControllerRetryMissionV2V2Responses = {
|
|
5322
|
+
200: MissionResponse;
|
|
5323
|
+
};
|
|
5324
|
+
|
|
5325
|
+
export type MissionsControllerRetryMissionV2V2Response =
|
|
5326
|
+
MissionsControllerRetryMissionV2V2Responses[keyof MissionsControllerRetryMissionV2V2Responses];
|
|
5327
|
+
|
|
5328
|
+
export type RewardsControllerListRewardsV2V2Data = {
|
|
5329
|
+
body?: never;
|
|
5330
|
+
path?: never;
|
|
5331
|
+
query?: {
|
|
5332
|
+
page?: number;
|
|
5333
|
+
pilot_address?: string;
|
|
5334
|
+
denomination?: "usdc" | "usd" | "cad" | "rp";
|
|
5335
|
+
settlement_mechanism?: "vault" | "rp_ledger" | "external";
|
|
5336
|
+
settlement_status?:
|
|
5337
|
+
| "unsettled"
|
|
5338
|
+
| "requested"
|
|
5339
|
+
| "settled"
|
|
5340
|
+
| "revoked"
|
|
5341
|
+
| "failed";
|
|
5342
|
+
mission_id?: string;
|
|
5343
|
+
};
|
|
5344
|
+
url: "/v2/rewards";
|
|
5345
|
+
};
|
|
5346
|
+
|
|
5347
|
+
export type RewardsControllerListRewardsV2V2Errors = {
|
|
5348
|
+
401: unknown;
|
|
5349
|
+
403: unknown;
|
|
5350
|
+
};
|
|
5351
|
+
|
|
5352
|
+
export type RewardsControllerListRewardsV2V2Responses = {
|
|
5353
|
+
200: ListRewardsResponse;
|
|
5354
|
+
};
|
|
5355
|
+
|
|
5356
|
+
export type RewardsControllerListRewardsV2V2Response =
|
|
5357
|
+
RewardsControllerListRewardsV2V2Responses[keyof RewardsControllerListRewardsV2V2Responses];
|
|
5358
|
+
|
|
5359
|
+
export type ZonesControllerCreateZonesV2V2Data = {
|
|
5360
|
+
body: CreateZonesRequestDto;
|
|
5361
|
+
path?: never;
|
|
5362
|
+
query?: never;
|
|
5363
|
+
url: "/v2/zones";
|
|
5364
|
+
};
|
|
5365
|
+
|
|
5366
|
+
export type ZonesControllerCreateZonesV2V2Errors = {
|
|
5367
|
+
/**
|
|
5368
|
+
* A malformed (non-res-9) H3 cell in the list
|
|
5369
|
+
*/
|
|
5370
|
+
400: unknown;
|
|
5371
|
+
401: unknown;
|
|
5372
|
+
403: unknown;
|
|
5373
|
+
};
|
|
5374
|
+
|
|
5375
|
+
export type ZonesControllerCreateZonesV2V2Responses = {
|
|
5376
|
+
200: CreateZonesResponseDto;
|
|
5377
|
+
};
|
|
5378
|
+
|
|
5379
|
+
export type ZonesControllerCreateZonesV2V2Response =
|
|
5380
|
+
ZonesControllerCreateZonesV2V2Responses[keyof ZonesControllerCreateZonesV2V2Responses];
|
|
5381
|
+
|
|
5382
|
+
export type ZonesControllerGetZoneV2V2Data = {
|
|
5383
|
+
body?: never;
|
|
5384
|
+
path: {
|
|
5385
|
+
id: string;
|
|
5386
|
+
};
|
|
5387
|
+
query?: never;
|
|
5388
|
+
url: "/v2/zones/{id}";
|
|
5389
|
+
};
|
|
5390
|
+
|
|
5391
|
+
export type ZonesControllerGetZoneV2V2Errors = {
|
|
5392
|
+
401: unknown;
|
|
5393
|
+
403: unknown;
|
|
5394
|
+
/**
|
|
5395
|
+
* Zone not found
|
|
5396
|
+
*/
|
|
5397
|
+
404: unknown;
|
|
5398
|
+
};
|
|
5399
|
+
|
|
5400
|
+
export type ZonesControllerGetZoneV2V2Responses = {
|
|
5401
|
+
200: MissionFulfillmentZoneResponseDto;
|
|
5402
|
+
};
|
|
5403
|
+
|
|
5404
|
+
export type ZonesControllerGetZoneV2V2Response =
|
|
5405
|
+
ZonesControllerGetZoneV2V2Responses[keyof ZonesControllerGetZoneV2V2Responses];
|
|
5406
|
+
|
|
5407
|
+
export type ZonesControllerUpdateZoneV2V2Data = {
|
|
5408
|
+
body: UpdateZoneRequestDto;
|
|
5409
|
+
path: {
|
|
5410
|
+
id: string;
|
|
5411
|
+
};
|
|
5412
|
+
query?: never;
|
|
5413
|
+
url: "/v2/zones/{id}";
|
|
5414
|
+
};
|
|
5415
|
+
|
|
5416
|
+
export type ZonesControllerUpdateZoneV2V2Errors = {
|
|
5417
|
+
401: unknown;
|
|
5418
|
+
403: unknown;
|
|
5419
|
+
/**
|
|
5420
|
+
* Zone not found
|
|
5421
|
+
*/
|
|
5422
|
+
404: unknown;
|
|
5423
|
+
};
|
|
5424
|
+
|
|
5425
|
+
export type ZonesControllerUpdateZoneV2V2Responses = {
|
|
5426
|
+
200: MissionFulfillmentZoneResponseDto;
|
|
5427
|
+
};
|
|
5428
|
+
|
|
5429
|
+
export type ZonesControllerUpdateZoneV2V2Response =
|
|
5430
|
+
ZonesControllerUpdateZoneV2V2Responses[keyof ZonesControllerUpdateZoneV2V2Responses];
|
|
5431
|
+
|
|
4043
5432
|
export type ClientOptions = {
|
|
4044
5433
|
baseUrl: string;
|
|
4045
5434
|
};
|