@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/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
|
};
|
|
@@ -903,7 +911,8 @@ export type GetProposalsResponseDto = {
|
|
|
903
911
|
| "rejected"
|
|
904
912
|
| "dispatched"
|
|
905
913
|
| "verified"
|
|
906
|
-
| "error"
|
|
914
|
+
| "error"
|
|
915
|
+
| "stalled";
|
|
907
916
|
}>;
|
|
908
917
|
hasNextPage: boolean;
|
|
909
918
|
};
|
|
@@ -930,7 +939,8 @@ export type GetProposalResponseDto = {
|
|
|
930
939
|
| "rejected"
|
|
931
940
|
| "dispatched"
|
|
932
941
|
| "verified"
|
|
933
|
-
| "error"
|
|
942
|
+
| "error"
|
|
943
|
+
| "stalled";
|
|
934
944
|
changes: Array<{
|
|
935
945
|
id: string;
|
|
936
946
|
resource: string;
|
|
@@ -948,7 +958,7 @@ export type GetProposalResponseDto = {
|
|
|
948
958
|
|
|
949
959
|
export type ReviewProposalRequestDto = {
|
|
950
960
|
approved: boolean;
|
|
951
|
-
|
|
961
|
+
reason?: string;
|
|
952
962
|
};
|
|
953
963
|
|
|
954
964
|
export type ReviewProposalResponseDto = {
|
|
@@ -1279,128 +1289,744 @@ export type DeleteInboundWebhookConfigResponse = {
|
|
|
1279
1289
|
message: string;
|
|
1280
1290
|
};
|
|
1281
1291
|
|
|
1282
|
-
export type
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
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
|
+
}>;
|
|
1298
1338
|
};
|
|
1299
1339
|
|
|
1300
|
-
export type
|
|
1301
|
-
|
|
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;
|
|
1302
1384
|
};
|
|
1303
1385
|
|
|
1304
|
-
export type
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
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
|
+
};
|
|
1309
1424
|
};
|
|
1310
1425
|
|
|
1311
|
-
export type
|
|
1312
|
-
|
|
1426
|
+
export type UpdateFlightPlanBody = {
|
|
1427
|
+
name: string;
|
|
1428
|
+
description?: string | null;
|
|
1429
|
+
base_energy_usage: number;
|
|
1430
|
+
base_duration: number;
|
|
1431
|
+
sections: Array<
|
|
1432
|
+
| {
|
|
1433
|
+
section_type: "map";
|
|
1434
|
+
parameters: {
|
|
1435
|
+
altitude_above_ground: number;
|
|
1436
|
+
flight_speed: number;
|
|
1437
|
+
side_overlap: number;
|
|
1438
|
+
front_overlap: number;
|
|
1439
|
+
gimbal_pitch: number;
|
|
1440
|
+
take_off_altitude_offset: number;
|
|
1441
|
+
flight_line_heading: {
|
|
1442
|
+
mode: "relative" | "absolute";
|
|
1443
|
+
degrees: number;
|
|
1444
|
+
};
|
|
1445
|
+
};
|
|
1446
|
+
}
|
|
1447
|
+
| {
|
|
1448
|
+
section_type: "panorama";
|
|
1449
|
+
count: number;
|
|
1450
|
+
positioning_method: "hex-distributed" | "centroid";
|
|
1451
|
+
parameters: {
|
|
1452
|
+
altitude_above_ground: number;
|
|
1453
|
+
flight_speed: number;
|
|
1454
|
+
field_of_view: number;
|
|
1455
|
+
yaw_overlap: number;
|
|
1456
|
+
gimbal_pitches: Array<number>;
|
|
1457
|
+
has_nadir_shot: boolean;
|
|
1458
|
+
};
|
|
1459
|
+
}
|
|
1460
|
+
>;
|
|
1461
|
+
connection_strategy: {
|
|
1462
|
+
type: "original-order" | "battery-optimized-strict";
|
|
1463
|
+
};
|
|
1313
1464
|
};
|
|
1314
1465
|
|
|
1315
|
-
export type
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
url: "/debug-sentry";
|
|
1320
|
-
};
|
|
1466
|
+
export type CreateZonesRequestDto = Array<{
|
|
1467
|
+
id: string;
|
|
1468
|
+
is_flyable?: boolean;
|
|
1469
|
+
}>;
|
|
1321
1470
|
|
|
1322
|
-
export type
|
|
1323
|
-
|
|
1471
|
+
export type CreateZonesResponseDto = {
|
|
1472
|
+
requested: number;
|
|
1473
|
+
created: number;
|
|
1474
|
+
existing: number;
|
|
1324
1475
|
};
|
|
1325
1476
|
|
|
1326
|
-
export type
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1477
|
+
export type MissionFulfillmentZoneResponseDto = {
|
|
1478
|
+
id: string;
|
|
1479
|
+
is_flyable: boolean;
|
|
1480
|
+
geom?: null;
|
|
1481
|
+
created_at: Date;
|
|
1482
|
+
updated_at: Date;
|
|
1331
1483
|
};
|
|
1332
1484
|
|
|
1333
|
-
export type
|
|
1334
|
-
|
|
1335
|
-
403: unknown;
|
|
1485
|
+
export type UpdateZoneRequestDto = {
|
|
1486
|
+
is_flyable: boolean;
|
|
1336
1487
|
};
|
|
1337
1488
|
|
|
1338
|
-
export type
|
|
1339
|
-
|
|
1340
|
-
|
|
1489
|
+
export type ListRewardsResponse = {
|
|
1490
|
+
data: Array<{
|
|
1491
|
+
id: string;
|
|
1492
|
+
aggregate_type: "mission";
|
|
1493
|
+
aggregate_id: string;
|
|
1494
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1495
|
+
amount: string;
|
|
1496
|
+
settlement_status:
|
|
1497
|
+
| "unsettled"
|
|
1498
|
+
| "requested"
|
|
1499
|
+
| "settled"
|
|
1500
|
+
| "revoked"
|
|
1501
|
+
| "failed";
|
|
1502
|
+
settlement_mechanism: "vault" | "rp_ledger" | "external";
|
|
1503
|
+
recipient: string | null;
|
|
1504
|
+
created_at: Date;
|
|
1505
|
+
updated_at: Date;
|
|
1506
|
+
}>;
|
|
1507
|
+
has_next_page: boolean;
|
|
1341
1508
|
};
|
|
1342
1509
|
|
|
1343
|
-
export type
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1510
|
+
export type CreateMissionsBody = {
|
|
1511
|
+
missions: Array<{
|
|
1512
|
+
zone_id: string;
|
|
1513
|
+
flight_plan_id: string;
|
|
1514
|
+
rewards?: Array<{
|
|
1515
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1516
|
+
amount: string;
|
|
1517
|
+
}>;
|
|
1518
|
+
capture_start_time: Date;
|
|
1519
|
+
capture_end_time: Date;
|
|
1520
|
+
holding_period_seconds?: number | null;
|
|
1521
|
+
tags?: {
|
|
1522
|
+
[key: string]: string;
|
|
1523
|
+
};
|
|
1524
|
+
campaign_ids?: Array<string>;
|
|
1525
|
+
}>;
|
|
1351
1526
|
};
|
|
1352
1527
|
|
|
1353
|
-
export type
|
|
1354
|
-
|
|
1355
|
-
|
|
1528
|
+
export type CreateMissionsResponse = {
|
|
1529
|
+
results: Array<
|
|
1530
|
+
| {
|
|
1531
|
+
status: "created";
|
|
1532
|
+
mission: {
|
|
1533
|
+
id: string;
|
|
1534
|
+
source: "chain" | "archived";
|
|
1535
|
+
status:
|
|
1536
|
+
| "pending"
|
|
1537
|
+
| "submitted"
|
|
1538
|
+
| "scheduled"
|
|
1539
|
+
| "active"
|
|
1540
|
+
| "hold"
|
|
1541
|
+
| "cancelled"
|
|
1542
|
+
| "expired"
|
|
1543
|
+
| "completed";
|
|
1544
|
+
zone_id: string;
|
|
1545
|
+
flight_plan_id: string;
|
|
1546
|
+
chain_mission_id: string | null;
|
|
1547
|
+
rewards: Array<{
|
|
1548
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1549
|
+
amount: string;
|
|
1550
|
+
status:
|
|
1551
|
+
| "unsettled"
|
|
1552
|
+
| "requested"
|
|
1553
|
+
| "settled"
|
|
1554
|
+
| "revoked"
|
|
1555
|
+
| "failed";
|
|
1556
|
+
settlement_mechanism: "vault" | "rp_ledger" | "external";
|
|
1557
|
+
}>;
|
|
1558
|
+
capture_start_time: Date;
|
|
1559
|
+
capture_end_time: Date;
|
|
1560
|
+
holding_period_seconds: number;
|
|
1561
|
+
tags: {
|
|
1562
|
+
[key: string]: string;
|
|
1563
|
+
};
|
|
1564
|
+
details_hash: string | null;
|
|
1565
|
+
confirmed_at: Date | null;
|
|
1566
|
+
confirmations?: Array<{
|
|
1567
|
+
kind:
|
|
1568
|
+
| "created"
|
|
1569
|
+
| "closed"
|
|
1570
|
+
| "funded"
|
|
1571
|
+
| "paid"
|
|
1572
|
+
| "refunded"
|
|
1573
|
+
| "reviewed";
|
|
1574
|
+
contract_address: string;
|
|
1575
|
+
chain_id: number;
|
|
1576
|
+
event_id: string;
|
|
1577
|
+
block_number: string;
|
|
1578
|
+
block_timestamp: Date;
|
|
1579
|
+
tx_hash: string;
|
|
1580
|
+
recorded_at: Date;
|
|
1581
|
+
}>;
|
|
1582
|
+
hold?: {
|
|
1583
|
+
id: string;
|
|
1584
|
+
mission_id: string;
|
|
1585
|
+
pilot_address: string;
|
|
1586
|
+
expires_at: Date;
|
|
1587
|
+
released_at: Date | null;
|
|
1588
|
+
released_reason: "expired" | "completed";
|
|
1589
|
+
created_at: Date;
|
|
1590
|
+
updated_at: Date;
|
|
1591
|
+
} | null;
|
|
1592
|
+
closed_at: Date | null;
|
|
1593
|
+
created_at: Date;
|
|
1594
|
+
updated_at: Date;
|
|
1595
|
+
};
|
|
1596
|
+
}
|
|
1597
|
+
| {
|
|
1598
|
+
status: "failed";
|
|
1599
|
+
error: {
|
|
1600
|
+
code: string;
|
|
1601
|
+
message: string;
|
|
1602
|
+
};
|
|
1603
|
+
}
|
|
1604
|
+
>;
|
|
1356
1605
|
};
|
|
1357
1606
|
|
|
1358
|
-
export type
|
|
1359
|
-
|
|
1360
|
-
|
|
1607
|
+
export type ListMissionsResponse = {
|
|
1608
|
+
data: Array<{
|
|
1609
|
+
id: string;
|
|
1610
|
+
source: "chain" | "archived";
|
|
1611
|
+
status:
|
|
1612
|
+
| "pending"
|
|
1613
|
+
| "submitted"
|
|
1614
|
+
| "scheduled"
|
|
1615
|
+
| "active"
|
|
1616
|
+
| "hold"
|
|
1617
|
+
| "cancelled"
|
|
1618
|
+
| "expired"
|
|
1619
|
+
| "completed";
|
|
1620
|
+
zone_id: string;
|
|
1621
|
+
flight_plan_id: string;
|
|
1622
|
+
chain_mission_id: string | null;
|
|
1623
|
+
rewards: Array<{
|
|
1624
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1625
|
+
amount: string;
|
|
1626
|
+
status: "unsettled" | "requested" | "settled" | "revoked" | "failed";
|
|
1627
|
+
settlement_mechanism: "vault" | "rp_ledger" | "external";
|
|
1628
|
+
}>;
|
|
1629
|
+
capture_start_time: Date;
|
|
1630
|
+
capture_end_time: Date;
|
|
1631
|
+
holding_period_seconds: number;
|
|
1632
|
+
tags: {
|
|
1633
|
+
[key: string]: string;
|
|
1634
|
+
};
|
|
1635
|
+
details_hash: string | null;
|
|
1636
|
+
confirmed_at: Date | null;
|
|
1637
|
+
confirmations?: Array<{
|
|
1638
|
+
kind: "created" | "closed" | "funded" | "paid" | "refunded" | "reviewed";
|
|
1639
|
+
contract_address: string;
|
|
1640
|
+
chain_id: number;
|
|
1641
|
+
event_id: string;
|
|
1642
|
+
block_number: string;
|
|
1643
|
+
block_timestamp: Date;
|
|
1644
|
+
tx_hash: string;
|
|
1645
|
+
recorded_at: Date;
|
|
1646
|
+
}>;
|
|
1647
|
+
hold?: {
|
|
1648
|
+
id: string;
|
|
1649
|
+
mission_id: string;
|
|
1650
|
+
pilot_address: string;
|
|
1651
|
+
expires_at: Date;
|
|
1652
|
+
released_at: Date | null;
|
|
1653
|
+
released_reason: "expired" | "completed";
|
|
1654
|
+
created_at: Date;
|
|
1655
|
+
updated_at: Date;
|
|
1656
|
+
} | null;
|
|
1657
|
+
closed_at: Date | null;
|
|
1658
|
+
created_at: Date;
|
|
1659
|
+
updated_at: Date;
|
|
1660
|
+
}>;
|
|
1661
|
+
has_next_page: boolean;
|
|
1361
1662
|
};
|
|
1362
1663
|
|
|
1363
|
-
export type
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1664
|
+
export type MissionResponse = {
|
|
1665
|
+
id: string;
|
|
1666
|
+
source: "chain" | "archived";
|
|
1667
|
+
status:
|
|
1668
|
+
| "pending"
|
|
1669
|
+
| "submitted"
|
|
1670
|
+
| "scheduled"
|
|
1671
|
+
| "active"
|
|
1672
|
+
| "hold"
|
|
1673
|
+
| "cancelled"
|
|
1674
|
+
| "expired"
|
|
1675
|
+
| "completed";
|
|
1676
|
+
zone_id: string;
|
|
1677
|
+
flight_plan_id: string;
|
|
1678
|
+
chain_mission_id: string | null;
|
|
1679
|
+
rewards: Array<{
|
|
1680
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1681
|
+
amount: string;
|
|
1682
|
+
status: "unsettled" | "requested" | "settled" | "revoked" | "failed";
|
|
1683
|
+
settlement_mechanism: "vault" | "rp_ledger" | "external";
|
|
1684
|
+
}>;
|
|
1685
|
+
capture_start_time: Date;
|
|
1686
|
+
capture_end_time: Date;
|
|
1687
|
+
holding_period_seconds: number;
|
|
1688
|
+
tags: {
|
|
1689
|
+
[key: string]: string;
|
|
1370
1690
|
};
|
|
1371
|
-
|
|
1372
|
-
|
|
1691
|
+
details_hash: string | null;
|
|
1692
|
+
confirmed_at: Date | null;
|
|
1693
|
+
confirmations?: Array<{
|
|
1694
|
+
kind: "created" | "closed" | "funded" | "paid" | "refunded" | "reviewed";
|
|
1695
|
+
contract_address: string;
|
|
1696
|
+
chain_id: number;
|
|
1697
|
+
event_id: string;
|
|
1698
|
+
block_number: string;
|
|
1699
|
+
block_timestamp: Date;
|
|
1700
|
+
tx_hash: string;
|
|
1701
|
+
recorded_at: Date;
|
|
1702
|
+
}>;
|
|
1703
|
+
hold?: {
|
|
1704
|
+
id: string;
|
|
1705
|
+
mission_id: string;
|
|
1706
|
+
pilot_address: string;
|
|
1707
|
+
expires_at: Date;
|
|
1708
|
+
released_at: Date | null;
|
|
1709
|
+
released_reason: "expired" | "completed";
|
|
1710
|
+
created_at: Date;
|
|
1711
|
+
updated_at: Date;
|
|
1712
|
+
} | null;
|
|
1713
|
+
closed_at: Date | null;
|
|
1714
|
+
created_at: Date;
|
|
1715
|
+
updated_at: Date;
|
|
1373
1716
|
};
|
|
1374
1717
|
|
|
1375
|
-
export type
|
|
1376
|
-
|
|
1377
|
-
|
|
1718
|
+
export type UpdateMissionBody = {
|
|
1719
|
+
rewards?: Array<{
|
|
1720
|
+
denomination: "usdc" | "usd" | "cad" | "rp";
|
|
1721
|
+
amount: string;
|
|
1722
|
+
}>;
|
|
1723
|
+
flight_plan_id?: string;
|
|
1724
|
+
campaign_ids?: Array<string>;
|
|
1378
1725
|
};
|
|
1379
1726
|
|
|
1380
|
-
export type
|
|
1381
|
-
|
|
1727
|
+
export type CreateFlightBody = {
|
|
1728
|
+
mission_id: string;
|
|
1729
|
+
pilot_address: string;
|
|
1382
1730
|
};
|
|
1383
1731
|
|
|
1384
|
-
export type
|
|
1385
|
-
|
|
1386
|
-
path: {
|
|
1732
|
+
export type CreateFlightResponse = {
|
|
1733
|
+
flight: {
|
|
1387
1734
|
id: string;
|
|
1735
|
+
mission_id: string;
|
|
1736
|
+
zone_id: string;
|
|
1737
|
+
pilot_address: string;
|
|
1738
|
+
status:
|
|
1739
|
+
| "awaiting_provenance_submission"
|
|
1740
|
+
| "awaiting_file_submission"
|
|
1741
|
+
| "in_review"
|
|
1742
|
+
| "verified"
|
|
1743
|
+
| "failed"
|
|
1744
|
+
| "paid"
|
|
1745
|
+
| "taken"
|
|
1746
|
+
| "cancelled";
|
|
1747
|
+
timezone_offset: string | null;
|
|
1748
|
+
created_at: Date;
|
|
1749
|
+
updated_at: Date;
|
|
1750
|
+
storage_key: string;
|
|
1751
|
+
};
|
|
1752
|
+
provenance_key: {
|
|
1753
|
+
key_id: string;
|
|
1754
|
+
public_key: string;
|
|
1755
|
+
key_spec?: string;
|
|
1756
|
+
key_usage?: string;
|
|
1757
|
+
encryption_algorithms?: Array<string>;
|
|
1388
1758
|
};
|
|
1389
|
-
query?: never;
|
|
1390
|
-
url: "/v1/tokens/{id}";
|
|
1391
1759
|
};
|
|
1392
1760
|
|
|
1393
|
-
export type
|
|
1394
|
-
|
|
1395
|
-
|
|
1761
|
+
export type ListFlightsResponse = {
|
|
1762
|
+
data: Array<{
|
|
1763
|
+
id: string;
|
|
1764
|
+
mission_id: string;
|
|
1765
|
+
zone_id: string;
|
|
1766
|
+
pilot_address: string;
|
|
1767
|
+
status:
|
|
1768
|
+
| "awaiting_provenance_submission"
|
|
1769
|
+
| "awaiting_file_submission"
|
|
1770
|
+
| "in_review"
|
|
1771
|
+
| "verified"
|
|
1772
|
+
| "failed"
|
|
1773
|
+
| "paid"
|
|
1774
|
+
| "taken"
|
|
1775
|
+
| "cancelled";
|
|
1776
|
+
timezone_offset: string | null;
|
|
1777
|
+
created_at: Date;
|
|
1778
|
+
updated_at: Date;
|
|
1779
|
+
}>;
|
|
1780
|
+
has_next_page: boolean;
|
|
1396
1781
|
};
|
|
1397
1782
|
|
|
1398
|
-
export type
|
|
1399
|
-
|
|
1783
|
+
export type ProvenanceKeyResponse = {
|
|
1784
|
+
key_id: string;
|
|
1785
|
+
public_key: string;
|
|
1786
|
+
key_spec?: string;
|
|
1787
|
+
key_usage?: string;
|
|
1788
|
+
encryption_algorithms?: Array<string>;
|
|
1400
1789
|
};
|
|
1401
1790
|
|
|
1402
|
-
export type
|
|
1403
|
-
|
|
1791
|
+
export type FlightResponse = {
|
|
1792
|
+
id: string;
|
|
1793
|
+
mission_id: string;
|
|
1794
|
+
zone_id: string;
|
|
1795
|
+
pilot_address: string;
|
|
1796
|
+
status:
|
|
1797
|
+
| "awaiting_provenance_submission"
|
|
1798
|
+
| "awaiting_file_submission"
|
|
1799
|
+
| "in_review"
|
|
1800
|
+
| "verified"
|
|
1801
|
+
| "failed"
|
|
1802
|
+
| "paid"
|
|
1803
|
+
| "taken"
|
|
1804
|
+
| "cancelled";
|
|
1805
|
+
timezone_offset: string | null;
|
|
1806
|
+
created_at: Date;
|
|
1807
|
+
updated_at: Date;
|
|
1808
|
+
};
|
|
1809
|
+
|
|
1810
|
+
export type ProvenanceUploadUrlResponse = {
|
|
1811
|
+
url: string;
|
|
1812
|
+
};
|
|
1813
|
+
|
|
1814
|
+
export type ExpectedImagesResponse = {
|
|
1815
|
+
data: Array<{
|
|
1816
|
+
index: number;
|
|
1817
|
+
file_name: string;
|
|
1818
|
+
media_type: string;
|
|
1819
|
+
file_size: number;
|
|
1820
|
+
time_created: number;
|
|
1821
|
+
is_uploaded: boolean;
|
|
1822
|
+
}>;
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1825
|
+
export type FlightReviewResponse = {
|
|
1826
|
+
id: string;
|
|
1827
|
+
flight_id: string;
|
|
1828
|
+
status: "submitted" | "approved" | "rejected";
|
|
1829
|
+
validation_result: {
|
|
1830
|
+
[key: string]: unknown;
|
|
1831
|
+
} | null;
|
|
1832
|
+
created_at: Date;
|
|
1833
|
+
updated_at: Date;
|
|
1834
|
+
reviewed_at: Date | null;
|
|
1835
|
+
confirmed_at: Date | null;
|
|
1836
|
+
};
|
|
1837
|
+
|
|
1838
|
+
export type ImageUploadUrlsBody = {
|
|
1839
|
+
filenames: Array<string>;
|
|
1840
|
+
};
|
|
1841
|
+
|
|
1842
|
+
export type ImageUploadUrlsResponse = {
|
|
1843
|
+
presigned_urls: {
|
|
1844
|
+
[key: string]: string;
|
|
1845
|
+
};
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1848
|
+
export type CreateCampaignRequestDto = {
|
|
1849
|
+
id?: string;
|
|
1850
|
+
name: string;
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1853
|
+
export type CampaignResponseDto = {
|
|
1854
|
+
id: string;
|
|
1855
|
+
name: string;
|
|
1856
|
+
human_id: string;
|
|
1857
|
+
start_date: Date | null;
|
|
1858
|
+
end_date: Date | null;
|
|
1859
|
+
status:
|
|
1860
|
+
| "empty"
|
|
1861
|
+
| "scheduled"
|
|
1862
|
+
| "active"
|
|
1863
|
+
| "cancelled"
|
|
1864
|
+
| "expired"
|
|
1865
|
+
| "completed";
|
|
1866
|
+
geometry?: {
|
|
1867
|
+
[key: string]: unknown;
|
|
1868
|
+
} | null;
|
|
1869
|
+
created_at: Date;
|
|
1870
|
+
updated_at: Date;
|
|
1871
|
+
};
|
|
1872
|
+
|
|
1873
|
+
export type ListCampaignsResponseDto = {
|
|
1874
|
+
data: Array<{
|
|
1875
|
+
id: string;
|
|
1876
|
+
name: string;
|
|
1877
|
+
human_id: string;
|
|
1878
|
+
start_date: Date | null;
|
|
1879
|
+
end_date: Date | null;
|
|
1880
|
+
status:
|
|
1881
|
+
| "empty"
|
|
1882
|
+
| "scheduled"
|
|
1883
|
+
| "active"
|
|
1884
|
+
| "cancelled"
|
|
1885
|
+
| "expired"
|
|
1886
|
+
| "completed";
|
|
1887
|
+
geometry?: {
|
|
1888
|
+
[key: string]: unknown;
|
|
1889
|
+
} | null;
|
|
1890
|
+
created_at: Date;
|
|
1891
|
+
updated_at: Date;
|
|
1892
|
+
}>;
|
|
1893
|
+
has_next_page: boolean;
|
|
1894
|
+
};
|
|
1895
|
+
|
|
1896
|
+
export type UpdateCampaignRequestDto = {
|
|
1897
|
+
name: string;
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1900
|
+
export type CancelCampaignResponseDto = {
|
|
1901
|
+
cancelled: Array<string>;
|
|
1902
|
+
failed: Array<{
|
|
1903
|
+
id: string;
|
|
1904
|
+
error: string;
|
|
1905
|
+
}>;
|
|
1906
|
+
};
|
|
1907
|
+
|
|
1908
|
+
export type ApiControllerGetHello0V1Data = {
|
|
1909
|
+
body?: never;
|
|
1910
|
+
path?: never;
|
|
1911
|
+
query?: never;
|
|
1912
|
+
url: "/v1";
|
|
1913
|
+
};
|
|
1914
|
+
|
|
1915
|
+
export type ApiControllerGetHello0V1Responses = {
|
|
1916
|
+
200: unknown;
|
|
1917
|
+
};
|
|
1918
|
+
|
|
1919
|
+
export type ApiControllerGetHello1Data = {
|
|
1920
|
+
body?: never;
|
|
1921
|
+
path?: never;
|
|
1922
|
+
query?: never;
|
|
1923
|
+
url: "/";
|
|
1924
|
+
};
|
|
1925
|
+
|
|
1926
|
+
export type ApiControllerGetHello1Responses = {
|
|
1927
|
+
200: unknown;
|
|
1928
|
+
};
|
|
1929
|
+
|
|
1930
|
+
export type ApiControllerGetError0V1Data = {
|
|
1931
|
+
body?: never;
|
|
1932
|
+
path?: never;
|
|
1933
|
+
query?: never;
|
|
1934
|
+
url: "/v1/debug-sentry";
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
|
+
export type ApiControllerGetError0V1Responses = {
|
|
1938
|
+
200: unknown;
|
|
1939
|
+
};
|
|
1940
|
+
|
|
1941
|
+
export type ApiControllerGetError1Data = {
|
|
1942
|
+
body?: never;
|
|
1943
|
+
path?: never;
|
|
1944
|
+
query?: never;
|
|
1945
|
+
url: "/debug-sentry";
|
|
1946
|
+
};
|
|
1947
|
+
|
|
1948
|
+
export type ApiControllerGetError1Responses = {
|
|
1949
|
+
200: unknown;
|
|
1950
|
+
};
|
|
1951
|
+
|
|
1952
|
+
export type ApiTokenControllerCreateToken0V1Data = {
|
|
1953
|
+
body: CreateApiTokenRequestDto;
|
|
1954
|
+
path?: never;
|
|
1955
|
+
query?: never;
|
|
1956
|
+
url: "/v1/tokens";
|
|
1957
|
+
};
|
|
1958
|
+
|
|
1959
|
+
export type ApiTokenControllerCreateToken0V1Errors = {
|
|
1960
|
+
401: unknown;
|
|
1961
|
+
403: unknown;
|
|
1962
|
+
};
|
|
1963
|
+
|
|
1964
|
+
export type ApiTokenControllerCreateToken0V1Responses = {
|
|
1965
|
+
200: CreateApiTokenResponseDto;
|
|
1966
|
+
201: unknown;
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
export type ApiTokenControllerCreateToken0V1Response =
|
|
1970
|
+
ApiTokenControllerCreateToken0V1Responses[keyof ApiTokenControllerCreateToken0V1Responses];
|
|
1971
|
+
|
|
1972
|
+
export type ApiTokenControllerCreateToken1Data = {
|
|
1973
|
+
body: CreateApiTokenRequestDto;
|
|
1974
|
+
path?: never;
|
|
1975
|
+
query?: never;
|
|
1976
|
+
url: "/tokens";
|
|
1977
|
+
};
|
|
1978
|
+
|
|
1979
|
+
export type ApiTokenControllerCreateToken1Errors = {
|
|
1980
|
+
401: unknown;
|
|
1981
|
+
403: unknown;
|
|
1982
|
+
};
|
|
1983
|
+
|
|
1984
|
+
export type ApiTokenControllerCreateToken1Responses = {
|
|
1985
|
+
200: CreateApiTokenResponseDto;
|
|
1986
|
+
201: unknown;
|
|
1987
|
+
};
|
|
1988
|
+
|
|
1989
|
+
export type ApiTokenControllerCreateToken1Response =
|
|
1990
|
+
ApiTokenControllerCreateToken1Responses[keyof ApiTokenControllerCreateToken1Responses];
|
|
1991
|
+
|
|
1992
|
+
export type ApiTokenControllerDeleteToken0V1Data = {
|
|
1993
|
+
body?: never;
|
|
1994
|
+
path: {
|
|
1995
|
+
id: string;
|
|
1996
|
+
};
|
|
1997
|
+
query?: never;
|
|
1998
|
+
url: "/v1/tokens/{id}";
|
|
1999
|
+
};
|
|
2000
|
+
|
|
2001
|
+
export type ApiTokenControllerDeleteToken0V1Errors = {
|
|
2002
|
+
401: unknown;
|
|
2003
|
+
403: unknown;
|
|
2004
|
+
};
|
|
2005
|
+
|
|
2006
|
+
export type ApiTokenControllerDeleteToken0V1Responses = {
|
|
2007
|
+
200: unknown;
|
|
2008
|
+
};
|
|
2009
|
+
|
|
2010
|
+
export type ApiTokenControllerGetToken0V1Data = {
|
|
2011
|
+
body?: never;
|
|
2012
|
+
path: {
|
|
2013
|
+
id: string;
|
|
2014
|
+
};
|
|
2015
|
+
query?: never;
|
|
2016
|
+
url: "/v1/tokens/{id}";
|
|
2017
|
+
};
|
|
2018
|
+
|
|
2019
|
+
export type ApiTokenControllerGetToken0V1Errors = {
|
|
2020
|
+
401: unknown;
|
|
2021
|
+
403: unknown;
|
|
2022
|
+
};
|
|
2023
|
+
|
|
2024
|
+
export type ApiTokenControllerGetToken0V1Responses = {
|
|
2025
|
+
200: unknown;
|
|
2026
|
+
};
|
|
2027
|
+
|
|
2028
|
+
export type ApiTokenControllerUpdateToken0V1Data = {
|
|
2029
|
+
body: UpdateApiTokenRequestDto;
|
|
1404
2030
|
path: {
|
|
1405
2031
|
id: string;
|
|
1406
2032
|
};
|
|
@@ -1477,6 +2103,58 @@ export type ApiTokenControllerUpdateToken1Responses = {
|
|
|
1477
2103
|
export type ApiTokenControllerUpdateToken1Response =
|
|
1478
2104
|
ApiTokenControllerUpdateToken1Responses[keyof ApiTokenControllerUpdateToken1Responses];
|
|
1479
2105
|
|
|
2106
|
+
export type BackfillControllerTrigger0V1Data = {
|
|
2107
|
+
body: BackfillRequestDto;
|
|
2108
|
+
path?: never;
|
|
2109
|
+
query?: never;
|
|
2110
|
+
url: "/v1/backfill";
|
|
2111
|
+
};
|
|
2112
|
+
|
|
2113
|
+
export type BackfillControllerTrigger0V1Errors = {
|
|
2114
|
+
401: unknown;
|
|
2115
|
+
403: unknown;
|
|
2116
|
+
/**
|
|
2117
|
+
* A backfill is already in progress.
|
|
2118
|
+
*/
|
|
2119
|
+
409: unknown;
|
|
2120
|
+
};
|
|
2121
|
+
|
|
2122
|
+
export type BackfillControllerTrigger0V1Responses = {
|
|
2123
|
+
/**
|
|
2124
|
+
* Backfill accepted and started in the background.
|
|
2125
|
+
*/
|
|
2126
|
+
202: BackfillAcceptedDto;
|
|
2127
|
+
};
|
|
2128
|
+
|
|
2129
|
+
export type BackfillControllerTrigger0V1Response =
|
|
2130
|
+
BackfillControllerTrigger0V1Responses[keyof BackfillControllerTrigger0V1Responses];
|
|
2131
|
+
|
|
2132
|
+
export type BackfillControllerTrigger1Data = {
|
|
2133
|
+
body: BackfillRequestDto;
|
|
2134
|
+
path?: never;
|
|
2135
|
+
query?: never;
|
|
2136
|
+
url: "/backfill";
|
|
2137
|
+
};
|
|
2138
|
+
|
|
2139
|
+
export type BackfillControllerTrigger1Errors = {
|
|
2140
|
+
401: unknown;
|
|
2141
|
+
403: unknown;
|
|
2142
|
+
/**
|
|
2143
|
+
* A backfill is already in progress.
|
|
2144
|
+
*/
|
|
2145
|
+
409: unknown;
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2148
|
+
export type BackfillControllerTrigger1Responses = {
|
|
2149
|
+
/**
|
|
2150
|
+
* Backfill accepted and started in the background.
|
|
2151
|
+
*/
|
|
2152
|
+
202: BackfillAcceptedDto;
|
|
2153
|
+
};
|
|
2154
|
+
|
|
2155
|
+
export type BackfillControllerTrigger1Response =
|
|
2156
|
+
BackfillControllerTrigger1Responses[keyof BackfillControllerTrigger1Responses];
|
|
2157
|
+
|
|
1480
2158
|
export type CampaignsControllerGetMany0V1Data = {
|
|
1481
2159
|
body?: never;
|
|
1482
2160
|
path?: never;
|
|
@@ -1513,6 +2191,10 @@ export type CampaignsControllerCreate0V1Errors = {
|
|
|
1513
2191
|
};
|
|
1514
2192
|
|
|
1515
2193
|
export type CampaignsControllerCreate0V1Responses = {
|
|
2194
|
+
/**
|
|
2195
|
+
* Campaign already exists (no-op)
|
|
2196
|
+
*/
|
|
2197
|
+
200: CreateCampaignResponse;
|
|
1516
2198
|
201: CreateCampaignResponse;
|
|
1517
2199
|
};
|
|
1518
2200
|
|
|
@@ -1555,6 +2237,10 @@ export type CampaignsControllerCreate1Errors = {
|
|
|
1555
2237
|
};
|
|
1556
2238
|
|
|
1557
2239
|
export type CampaignsControllerCreate1Responses = {
|
|
2240
|
+
/**
|
|
2241
|
+
* Campaign already exists (no-op)
|
|
2242
|
+
*/
|
|
2243
|
+
200: CreateCampaignResponse;
|
|
1558
2244
|
201: CreateCampaignResponse;
|
|
1559
2245
|
};
|
|
1560
2246
|
|
|
@@ -2620,6 +3306,8 @@ export type MissionsControllerGetMissions0V1Data = {
|
|
|
2620
3306
|
isOpen?: string;
|
|
2621
3307
|
zoneIds?: string | Array<string>;
|
|
2622
3308
|
flightPlanId?: number;
|
|
3309
|
+
campaignId?: string | Array<string>;
|
|
3310
|
+
campaignName?: string | Array<string>;
|
|
2623
3311
|
page?: number;
|
|
2624
3312
|
relations?:
|
|
2625
3313
|
| "vault"
|
|
@@ -2708,6 +3396,8 @@ export type MissionsControllerGetMissions1Data = {
|
|
|
2708
3396
|
isOpen?: string;
|
|
2709
3397
|
zoneIds?: string | Array<string>;
|
|
2710
3398
|
flightPlanId?: number;
|
|
3399
|
+
campaignId?: string | Array<string>;
|
|
3400
|
+
campaignName?: string | Array<string>;
|
|
2711
3401
|
page?: number;
|
|
2712
3402
|
relations?:
|
|
2713
3403
|
| "vault"
|
|
@@ -2839,7 +3529,8 @@ export type ListProposalsData = {
|
|
|
2839
3529
|
| "rejected"
|
|
2840
3530
|
| "dispatched"
|
|
2841
3531
|
| "verified"
|
|
2842
|
-
| "error"
|
|
3532
|
+
| "error"
|
|
3533
|
+
| "stalled";
|
|
2843
3534
|
created_by?: string;
|
|
2844
3535
|
created_after?: Date;
|
|
2845
3536
|
created_before?: Date;
|
|
@@ -2849,9 +3540,7 @@ export type ListProposalsData = {
|
|
|
2849
3540
|
};
|
|
2850
3541
|
|
|
2851
3542
|
export type ListProposalsErrors = {
|
|
2852
|
-
|
|
2853
|
-
* Missing manageProposals permission
|
|
2854
|
-
*/
|
|
3543
|
+
401: unknown;
|
|
2855
3544
|
403: unknown;
|
|
2856
3545
|
};
|
|
2857
3546
|
|
|
@@ -2895,9 +3584,7 @@ export type GetProposalData = {
|
|
|
2895
3584
|
};
|
|
2896
3585
|
|
|
2897
3586
|
export type GetProposalErrors = {
|
|
2898
|
-
|
|
2899
|
-
* Missing manageProposals permission
|
|
2900
|
-
*/
|
|
3587
|
+
401: unknown;
|
|
2901
3588
|
403: unknown;
|
|
2902
3589
|
/**
|
|
2903
3590
|
* Proposal not found
|
|
@@ -3073,34 +3760,6 @@ export type QuotesControllerGetQuote1Responses = {
|
|
|
3073
3760
|
200: unknown;
|
|
3074
3761
|
};
|
|
3075
3762
|
|
|
3076
|
-
export type SchemaControllerGetEventSchema0V1Data = {
|
|
3077
|
-
body?: never;
|
|
3078
|
-
path?: never;
|
|
3079
|
-
query?: never;
|
|
3080
|
-
url: "/v1/schema/event";
|
|
3081
|
-
};
|
|
3082
|
-
|
|
3083
|
-
export type SchemaControllerGetEventSchema0V1Responses = {
|
|
3084
|
-
/**
|
|
3085
|
-
* Get event schema
|
|
3086
|
-
*/
|
|
3087
|
-
200: unknown;
|
|
3088
|
-
};
|
|
3089
|
-
|
|
3090
|
-
export type SchemaControllerGetEventSchema1Data = {
|
|
3091
|
-
body?: never;
|
|
3092
|
-
path?: never;
|
|
3093
|
-
query?: never;
|
|
3094
|
-
url: "/schema/event";
|
|
3095
|
-
};
|
|
3096
|
-
|
|
3097
|
-
export type SchemaControllerGetEventSchema1Responses = {
|
|
3098
|
-
/**
|
|
3099
|
-
* Get event schema
|
|
3100
|
-
*/
|
|
3101
|
-
200: unknown;
|
|
3102
|
-
};
|
|
3103
|
-
|
|
3104
3763
|
export type VaultsControllerCreateVaults0V1Data = {
|
|
3105
3764
|
body: CreateVaultsRequestDto;
|
|
3106
3765
|
path?: never;
|
|
@@ -3523,13 +4182,16 @@ export type ZonesControllerCreateZone0V1Errors = {
|
|
|
3523
4182
|
400: unknown;
|
|
3524
4183
|
401: unknown;
|
|
3525
4184
|
403: unknown;
|
|
3526
|
-
/**
|
|
3527
|
-
* Zone already exists
|
|
3528
|
-
*/
|
|
3529
|
-
409: unknown;
|
|
3530
4185
|
};
|
|
3531
4186
|
|
|
3532
4187
|
export type ZonesControllerCreateZone0V1Responses = {
|
|
4188
|
+
/**
|
|
4189
|
+
* Zone already exists (no-op)
|
|
4190
|
+
*/
|
|
4191
|
+
200: ZoneResponseDto;
|
|
4192
|
+
/**
|
|
4193
|
+
* Zone created
|
|
4194
|
+
*/
|
|
3533
4195
|
201: ZoneResponseDto;
|
|
3534
4196
|
};
|
|
3535
4197
|
|
|
@@ -3550,13 +4212,16 @@ export type ZonesControllerCreateZone1Errors = {
|
|
|
3550
4212
|
400: unknown;
|
|
3551
4213
|
401: unknown;
|
|
3552
4214
|
403: unknown;
|
|
3553
|
-
/**
|
|
3554
|
-
* Zone already exists
|
|
3555
|
-
*/
|
|
3556
|
-
409: unknown;
|
|
3557
4215
|
};
|
|
3558
4216
|
|
|
3559
4217
|
export type ZonesControllerCreateZone1Responses = {
|
|
4218
|
+
/**
|
|
4219
|
+
* Zone already exists (no-op)
|
|
4220
|
+
*/
|
|
4221
|
+
200: ZoneResponseDto;
|
|
4222
|
+
/**
|
|
4223
|
+
* Zone created
|
|
4224
|
+
*/
|
|
3560
4225
|
201: ZoneResponseDto;
|
|
3561
4226
|
};
|
|
3562
4227
|
|
|
@@ -3591,6 +4256,31 @@ export type ZonesControllerDeleteZone0V1Responses = {
|
|
|
3591
4256
|
export type ZonesControllerDeleteZone0V1Response =
|
|
3592
4257
|
ZonesControllerDeleteZone0V1Responses[keyof ZonesControllerDeleteZone0V1Responses];
|
|
3593
4258
|
|
|
4259
|
+
export type ZonesControllerGetZone0V1Data = {
|
|
4260
|
+
body?: never;
|
|
4261
|
+
path: {
|
|
4262
|
+
id: string;
|
|
4263
|
+
};
|
|
4264
|
+
query?: never;
|
|
4265
|
+
url: "/v1/zones/{id}";
|
|
4266
|
+
};
|
|
4267
|
+
|
|
4268
|
+
export type ZonesControllerGetZone0V1Errors = {
|
|
4269
|
+
401: unknown;
|
|
4270
|
+
403: unknown;
|
|
4271
|
+
/**
|
|
4272
|
+
* Zone not found
|
|
4273
|
+
*/
|
|
4274
|
+
404: unknown;
|
|
4275
|
+
};
|
|
4276
|
+
|
|
4277
|
+
export type ZonesControllerGetZone0V1Responses = {
|
|
4278
|
+
200: ZoneResponseDto;
|
|
4279
|
+
};
|
|
4280
|
+
|
|
4281
|
+
export type ZonesControllerGetZone0V1Response =
|
|
4282
|
+
ZonesControllerGetZone0V1Responses[keyof ZonesControllerGetZone0V1Responses];
|
|
4283
|
+
|
|
3594
4284
|
export type ZonesControllerUpdateZone0V1Data = {
|
|
3595
4285
|
body: UpdateZoneDto;
|
|
3596
4286
|
path: {
|
|
@@ -3644,6 +4334,31 @@ export type ZonesControllerDeleteZone1Responses = {
|
|
|
3644
4334
|
export type ZonesControllerDeleteZone1Response =
|
|
3645
4335
|
ZonesControllerDeleteZone1Responses[keyof ZonesControllerDeleteZone1Responses];
|
|
3646
4336
|
|
|
4337
|
+
export type ZonesControllerGetZone1Data = {
|
|
4338
|
+
body?: never;
|
|
4339
|
+
path: {
|
|
4340
|
+
id: string;
|
|
4341
|
+
};
|
|
4342
|
+
query?: never;
|
|
4343
|
+
url: "/zones/{id}";
|
|
4344
|
+
};
|
|
4345
|
+
|
|
4346
|
+
export type ZonesControllerGetZone1Errors = {
|
|
4347
|
+
401: unknown;
|
|
4348
|
+
403: unknown;
|
|
4349
|
+
/**
|
|
4350
|
+
* Zone not found
|
|
4351
|
+
*/
|
|
4352
|
+
404: unknown;
|
|
4353
|
+
};
|
|
4354
|
+
|
|
4355
|
+
export type ZonesControllerGetZone1Responses = {
|
|
4356
|
+
200: ZoneResponseDto;
|
|
4357
|
+
};
|
|
4358
|
+
|
|
4359
|
+
export type ZonesControllerGetZone1Response =
|
|
4360
|
+
ZonesControllerGetZone1Responses[keyof ZonesControllerGetZone1Responses];
|
|
4361
|
+
|
|
3647
4362
|
export type ZonesControllerUpdateZone1Data = {
|
|
3648
4363
|
body: UpdateZoneDto;
|
|
3649
4364
|
path: {
|
|
@@ -3987,6 +4702,684 @@ export type InboundWebhookConfigsControllerUpdate1Responses = {
|
|
|
3987
4702
|
export type InboundWebhookConfigsControllerUpdate1Response =
|
|
3988
4703
|
InboundWebhookConfigsControllerUpdate1Responses[keyof InboundWebhookConfigsControllerUpdate1Responses];
|
|
3989
4704
|
|
|
4705
|
+
export type CampaignsControllerGetCampaignsV2V2Data = {
|
|
4706
|
+
body?: never;
|
|
4707
|
+
path?: never;
|
|
4708
|
+
query?: {
|
|
4709
|
+
page?: number;
|
|
4710
|
+
lat?: number;
|
|
4711
|
+
lng?: number;
|
|
4712
|
+
max_distance_meters?: number;
|
|
4713
|
+
sort_by?: "distance";
|
|
4714
|
+
};
|
|
4715
|
+
url: "/v2/campaigns";
|
|
4716
|
+
};
|
|
4717
|
+
|
|
4718
|
+
export type CampaignsControllerGetCampaignsV2V2Errors = {
|
|
4719
|
+
401: unknown;
|
|
4720
|
+
403: unknown;
|
|
4721
|
+
};
|
|
4722
|
+
|
|
4723
|
+
export type CampaignsControllerGetCampaignsV2V2Responses = {
|
|
4724
|
+
200: ListCampaignsResponseDto;
|
|
4725
|
+
};
|
|
4726
|
+
|
|
4727
|
+
export type CampaignsControllerGetCampaignsV2V2Response =
|
|
4728
|
+
CampaignsControllerGetCampaignsV2V2Responses[keyof CampaignsControllerGetCampaignsV2V2Responses];
|
|
4729
|
+
|
|
4730
|
+
export type CampaignsControllerCreateCampaignV2V2Data = {
|
|
4731
|
+
body: CreateCampaignRequestDto;
|
|
4732
|
+
path?: never;
|
|
4733
|
+
query?: never;
|
|
4734
|
+
url: "/v2/campaigns";
|
|
4735
|
+
};
|
|
4736
|
+
|
|
4737
|
+
export type CampaignsControllerCreateCampaignV2V2Errors = {
|
|
4738
|
+
401: unknown;
|
|
4739
|
+
403: unknown;
|
|
4740
|
+
/**
|
|
4741
|
+
* `name` already taken, or `id` already exists
|
|
4742
|
+
*/
|
|
4743
|
+
409: unknown;
|
|
4744
|
+
};
|
|
4745
|
+
|
|
4746
|
+
export type CampaignsControllerCreateCampaignV2V2Responses = {
|
|
4747
|
+
201: CampaignResponseDto;
|
|
4748
|
+
};
|
|
4749
|
+
|
|
4750
|
+
export type CampaignsControllerCreateCampaignV2V2Response =
|
|
4751
|
+
CampaignsControllerCreateCampaignV2V2Responses[keyof CampaignsControllerCreateCampaignV2V2Responses];
|
|
4752
|
+
|
|
4753
|
+
export type CampaignsControllerGetCampaignV2V2Data = {
|
|
4754
|
+
body?: never;
|
|
4755
|
+
path: {
|
|
4756
|
+
id: string;
|
|
4757
|
+
};
|
|
4758
|
+
query?: {
|
|
4759
|
+
expand?: string;
|
|
4760
|
+
};
|
|
4761
|
+
url: "/v2/campaigns/{id}";
|
|
4762
|
+
};
|
|
4763
|
+
|
|
4764
|
+
export type CampaignsControllerGetCampaignV2V2Errors = {
|
|
4765
|
+
401: unknown;
|
|
4766
|
+
403: unknown;
|
|
4767
|
+
/**
|
|
4768
|
+
* Campaign not found
|
|
4769
|
+
*/
|
|
4770
|
+
404: unknown;
|
|
4771
|
+
};
|
|
4772
|
+
|
|
4773
|
+
export type CampaignsControllerGetCampaignV2V2Responses = {
|
|
4774
|
+
200: CampaignResponseDto;
|
|
4775
|
+
};
|
|
4776
|
+
|
|
4777
|
+
export type CampaignsControllerGetCampaignV2V2Response =
|
|
4778
|
+
CampaignsControllerGetCampaignV2V2Responses[keyof CampaignsControllerGetCampaignV2V2Responses];
|
|
4779
|
+
|
|
4780
|
+
export type CampaignsControllerUpdateCampaignV2V2Data = {
|
|
4781
|
+
body: UpdateCampaignRequestDto;
|
|
4782
|
+
path: {
|
|
4783
|
+
id: string;
|
|
4784
|
+
};
|
|
4785
|
+
query?: never;
|
|
4786
|
+
url: "/v2/campaigns/{id}";
|
|
4787
|
+
};
|
|
4788
|
+
|
|
4789
|
+
export type CampaignsControllerUpdateCampaignV2V2Errors = {
|
|
4790
|
+
401: unknown;
|
|
4791
|
+
403: unknown;
|
|
4792
|
+
/**
|
|
4793
|
+
* Campaign not found
|
|
4794
|
+
*/
|
|
4795
|
+
404: unknown;
|
|
4796
|
+
/**
|
|
4797
|
+
* `name` already taken
|
|
4798
|
+
*/
|
|
4799
|
+
409: unknown;
|
|
4800
|
+
};
|
|
4801
|
+
|
|
4802
|
+
export type CampaignsControllerUpdateCampaignV2V2Responses = {
|
|
4803
|
+
200: CampaignResponseDto;
|
|
4804
|
+
};
|
|
4805
|
+
|
|
4806
|
+
export type CampaignsControllerUpdateCampaignV2V2Response =
|
|
4807
|
+
CampaignsControllerUpdateCampaignV2V2Responses[keyof CampaignsControllerUpdateCampaignV2V2Responses];
|
|
4808
|
+
|
|
4809
|
+
export type CampaignsControllerCancelCampaignV2V2Data = {
|
|
4810
|
+
body?: never;
|
|
4811
|
+
path: {
|
|
4812
|
+
id: string;
|
|
4813
|
+
};
|
|
4814
|
+
query?: never;
|
|
4815
|
+
url: "/v2/campaigns/{id}/cancel";
|
|
4816
|
+
};
|
|
4817
|
+
|
|
4818
|
+
export type CampaignsControllerCancelCampaignV2V2Errors = {
|
|
4819
|
+
401: unknown;
|
|
4820
|
+
403: unknown;
|
|
4821
|
+
/**
|
|
4822
|
+
* Campaign not found
|
|
4823
|
+
*/
|
|
4824
|
+
404: unknown;
|
|
4825
|
+
};
|
|
4826
|
+
|
|
4827
|
+
export type CampaignsControllerCancelCampaignV2V2Responses = {
|
|
4828
|
+
200: CancelCampaignResponseDto;
|
|
4829
|
+
};
|
|
4830
|
+
|
|
4831
|
+
export type CampaignsControllerCancelCampaignV2V2Response =
|
|
4832
|
+
CampaignsControllerCancelCampaignV2V2Responses[keyof CampaignsControllerCancelCampaignV2V2Responses];
|
|
4833
|
+
|
|
4834
|
+
export type FlightPlansControllerGetManyV2V2Data = {
|
|
4835
|
+
body?: never;
|
|
4836
|
+
path?: never;
|
|
4837
|
+
query?: {
|
|
4838
|
+
include_inactive?: "true" | "false";
|
|
4839
|
+
legacy_id?: number;
|
|
4840
|
+
};
|
|
4841
|
+
url: "/v2/flight-plans";
|
|
4842
|
+
};
|
|
4843
|
+
|
|
4844
|
+
export type FlightPlansControllerGetManyV2V2Errors = {
|
|
4845
|
+
401: unknown;
|
|
4846
|
+
403: unknown;
|
|
4847
|
+
};
|
|
4848
|
+
|
|
4849
|
+
export type FlightPlansControllerGetManyV2V2Responses = {
|
|
4850
|
+
200: MissionFulfillmentGetFlightPlansResponse;
|
|
4851
|
+
};
|
|
4852
|
+
|
|
4853
|
+
export type FlightPlansControllerGetManyV2V2Response =
|
|
4854
|
+
FlightPlansControllerGetManyV2V2Responses[keyof FlightPlansControllerGetManyV2V2Responses];
|
|
4855
|
+
|
|
4856
|
+
export type FlightPlansControllerCreateV2V2Data = {
|
|
4857
|
+
body: MissionFulfillmentCreateFlightPlanBody;
|
|
4858
|
+
path?: never;
|
|
4859
|
+
query?: never;
|
|
4860
|
+
url: "/v2/flight-plans";
|
|
4861
|
+
};
|
|
4862
|
+
|
|
4863
|
+
export type FlightPlansControllerCreateV2V2Errors = {
|
|
4864
|
+
401: unknown;
|
|
4865
|
+
403: unknown;
|
|
4866
|
+
};
|
|
4867
|
+
|
|
4868
|
+
export type FlightPlansControllerCreateV2V2Responses = {
|
|
4869
|
+
201: FlightPlanResponse;
|
|
4870
|
+
};
|
|
4871
|
+
|
|
4872
|
+
export type FlightPlansControllerCreateV2V2Response =
|
|
4873
|
+
FlightPlansControllerCreateV2V2Responses[keyof FlightPlansControllerCreateV2V2Responses];
|
|
4874
|
+
|
|
4875
|
+
export type FlightPlansControllerGetV2V2Data = {
|
|
4876
|
+
body?: never;
|
|
4877
|
+
path: {
|
|
4878
|
+
id: string;
|
|
4879
|
+
};
|
|
4880
|
+
query?: never;
|
|
4881
|
+
url: "/v2/flight-plans/{id}";
|
|
4882
|
+
};
|
|
4883
|
+
|
|
4884
|
+
export type FlightPlansControllerGetV2V2Errors = {
|
|
4885
|
+
401: unknown;
|
|
4886
|
+
403: unknown;
|
|
4887
|
+
};
|
|
4888
|
+
|
|
4889
|
+
export type FlightPlansControllerGetV2V2Responses = {
|
|
4890
|
+
200: FlightPlanResponse;
|
|
4891
|
+
};
|
|
4892
|
+
|
|
4893
|
+
export type FlightPlansControllerGetV2V2Response =
|
|
4894
|
+
FlightPlansControllerGetV2V2Responses[keyof FlightPlansControllerGetV2V2Responses];
|
|
4895
|
+
|
|
4896
|
+
export type FlightPlansControllerUpdateV2V2Data = {
|
|
4897
|
+
body: UpdateFlightPlanBody;
|
|
4898
|
+
path: {
|
|
4899
|
+
id: string;
|
|
4900
|
+
};
|
|
4901
|
+
query?: never;
|
|
4902
|
+
url: "/v2/flight-plans/{id}";
|
|
4903
|
+
};
|
|
4904
|
+
|
|
4905
|
+
export type FlightPlansControllerUpdateV2V2Errors = {
|
|
4906
|
+
401: unknown;
|
|
4907
|
+
403: unknown;
|
|
4908
|
+
};
|
|
4909
|
+
|
|
4910
|
+
export type FlightPlansControllerUpdateV2V2Responses = {
|
|
4911
|
+
200: FlightPlanResponse;
|
|
4912
|
+
};
|
|
4913
|
+
|
|
4914
|
+
export type FlightPlansControllerUpdateV2V2Response =
|
|
4915
|
+
FlightPlansControllerUpdateV2V2Responses[keyof FlightPlansControllerUpdateV2V2Responses];
|
|
4916
|
+
|
|
4917
|
+
export type FlightsControllerGetFlightsV2V2Data = {
|
|
4918
|
+
body?: never;
|
|
4919
|
+
path?: never;
|
|
4920
|
+
query?: {
|
|
4921
|
+
page?: number;
|
|
4922
|
+
mission_id?: string;
|
|
4923
|
+
status?:
|
|
4924
|
+
| "awaiting_provenance_submission"
|
|
4925
|
+
| "awaiting_file_submission"
|
|
4926
|
+
| "in_review"
|
|
4927
|
+
| "verified"
|
|
4928
|
+
| "failed"
|
|
4929
|
+
| "paid"
|
|
4930
|
+
| "taken"
|
|
4931
|
+
| "cancelled";
|
|
4932
|
+
pilot_address?: string;
|
|
4933
|
+
zone_id?: string;
|
|
4934
|
+
};
|
|
4935
|
+
url: "/v2/flights";
|
|
4936
|
+
};
|
|
4937
|
+
|
|
4938
|
+
export type FlightsControllerGetFlightsV2V2Errors = {
|
|
4939
|
+
401: unknown;
|
|
4940
|
+
403: unknown;
|
|
4941
|
+
};
|
|
4942
|
+
|
|
4943
|
+
export type FlightsControllerGetFlightsV2V2Responses = {
|
|
4944
|
+
200: ListFlightsResponse;
|
|
4945
|
+
};
|
|
4946
|
+
|
|
4947
|
+
export type FlightsControllerGetFlightsV2V2Response =
|
|
4948
|
+
FlightsControllerGetFlightsV2V2Responses[keyof FlightsControllerGetFlightsV2V2Responses];
|
|
4949
|
+
|
|
4950
|
+
export type FlightsControllerCreateFlightV2V2Data = {
|
|
4951
|
+
body: CreateFlightBody;
|
|
4952
|
+
path?: never;
|
|
4953
|
+
query?: never;
|
|
4954
|
+
url: "/v2/flights";
|
|
4955
|
+
};
|
|
4956
|
+
|
|
4957
|
+
export type FlightsControllerCreateFlightV2V2Errors = {
|
|
4958
|
+
401: unknown;
|
|
4959
|
+
403: unknown;
|
|
4960
|
+
};
|
|
4961
|
+
|
|
4962
|
+
export type FlightsControllerCreateFlightV2V2Responses = {
|
|
4963
|
+
201: CreateFlightResponse;
|
|
4964
|
+
};
|
|
4965
|
+
|
|
4966
|
+
export type FlightsControllerCreateFlightV2V2Response =
|
|
4967
|
+
FlightsControllerCreateFlightV2V2Responses[keyof FlightsControllerCreateFlightV2V2Responses];
|
|
4968
|
+
|
|
4969
|
+
export type FlightsControllerGetProvenanceKeyV2V2Data = {
|
|
4970
|
+
body?: never;
|
|
4971
|
+
path?: never;
|
|
4972
|
+
query?: never;
|
|
4973
|
+
url: "/v2/flights/provenance-key";
|
|
4974
|
+
};
|
|
4975
|
+
|
|
4976
|
+
export type FlightsControllerGetProvenanceKeyV2V2Errors = {
|
|
4977
|
+
401: unknown;
|
|
4978
|
+
403: unknown;
|
|
4979
|
+
};
|
|
4980
|
+
|
|
4981
|
+
export type FlightsControllerGetProvenanceKeyV2V2Responses = {
|
|
4982
|
+
200: ProvenanceKeyResponse;
|
|
4983
|
+
};
|
|
4984
|
+
|
|
4985
|
+
export type FlightsControllerGetProvenanceKeyV2V2Response =
|
|
4986
|
+
FlightsControllerGetProvenanceKeyV2V2Responses[keyof FlightsControllerGetProvenanceKeyV2V2Responses];
|
|
4987
|
+
|
|
4988
|
+
export type FlightsControllerGetFlightV2V2Data = {
|
|
4989
|
+
body?: never;
|
|
4990
|
+
path: {
|
|
4991
|
+
id: string;
|
|
4992
|
+
};
|
|
4993
|
+
query?: never;
|
|
4994
|
+
url: "/v2/flights/{id}";
|
|
4995
|
+
};
|
|
4996
|
+
|
|
4997
|
+
export type FlightsControllerGetFlightV2V2Errors = {
|
|
4998
|
+
401: unknown;
|
|
4999
|
+
403: unknown;
|
|
5000
|
+
};
|
|
5001
|
+
|
|
5002
|
+
export type FlightsControllerGetFlightV2V2Responses = {
|
|
5003
|
+
200: FlightResponse;
|
|
5004
|
+
};
|
|
5005
|
+
|
|
5006
|
+
export type FlightsControllerGetFlightV2V2Response =
|
|
5007
|
+
FlightsControllerGetFlightV2V2Responses[keyof FlightsControllerGetFlightV2V2Responses];
|
|
5008
|
+
|
|
5009
|
+
export type FlightsControllerGetExpectedImagesV2V2Data = {
|
|
5010
|
+
body?: never;
|
|
5011
|
+
path: {
|
|
5012
|
+
id: string;
|
|
5013
|
+
};
|
|
5014
|
+
query?: never;
|
|
5015
|
+
url: "/v2/flights/{id}/expected-images";
|
|
5016
|
+
};
|
|
5017
|
+
|
|
5018
|
+
export type FlightsControllerGetExpectedImagesV2V2Errors = {
|
|
5019
|
+
401: unknown;
|
|
5020
|
+
403: unknown;
|
|
5021
|
+
};
|
|
5022
|
+
|
|
5023
|
+
export type FlightsControllerGetExpectedImagesV2V2Responses = {
|
|
5024
|
+
200: ExpectedImagesResponse;
|
|
5025
|
+
};
|
|
5026
|
+
|
|
5027
|
+
export type FlightsControllerGetExpectedImagesV2V2Response =
|
|
5028
|
+
FlightsControllerGetExpectedImagesV2V2Responses[keyof FlightsControllerGetExpectedImagesV2V2Responses];
|
|
5029
|
+
|
|
5030
|
+
export type FlightsControllerGetProvenanceUploadUrlV2V2Data = {
|
|
5031
|
+
body?: never;
|
|
5032
|
+
path: {
|
|
5033
|
+
id: string;
|
|
5034
|
+
};
|
|
5035
|
+
query?: never;
|
|
5036
|
+
url: "/v2/flights/{id}/provenance-upload-url";
|
|
5037
|
+
};
|
|
5038
|
+
|
|
5039
|
+
export type FlightsControllerGetProvenanceUploadUrlV2V2Errors = {
|
|
5040
|
+
401: unknown;
|
|
5041
|
+
403: unknown;
|
|
5042
|
+
};
|
|
5043
|
+
|
|
5044
|
+
export type FlightsControllerGetProvenanceUploadUrlV2V2Responses = {
|
|
5045
|
+
200: ProvenanceUploadUrlResponse;
|
|
5046
|
+
};
|
|
5047
|
+
|
|
5048
|
+
export type FlightsControllerGetProvenanceUploadUrlV2V2Response =
|
|
5049
|
+
FlightsControllerGetProvenanceUploadUrlV2V2Responses[keyof FlightsControllerGetProvenanceUploadUrlV2V2Responses];
|
|
5050
|
+
|
|
5051
|
+
export type FlightsControllerGetReviewV2V2Data = {
|
|
5052
|
+
body?: never;
|
|
5053
|
+
path: {
|
|
5054
|
+
id: string;
|
|
5055
|
+
};
|
|
5056
|
+
query?: never;
|
|
5057
|
+
url: "/v2/flights/{id}/review";
|
|
5058
|
+
};
|
|
5059
|
+
|
|
5060
|
+
export type FlightsControllerGetReviewV2V2Errors = {
|
|
5061
|
+
401: unknown;
|
|
5062
|
+
403: unknown;
|
|
5063
|
+
};
|
|
5064
|
+
|
|
5065
|
+
export type FlightsControllerGetReviewV2V2Responses = {
|
|
5066
|
+
200: FlightReviewResponse;
|
|
5067
|
+
};
|
|
5068
|
+
|
|
5069
|
+
export type FlightsControllerGetReviewV2V2Response =
|
|
5070
|
+
FlightsControllerGetReviewV2V2Responses[keyof FlightsControllerGetReviewV2V2Responses];
|
|
5071
|
+
|
|
5072
|
+
export type FlightsControllerRequestReviewV2V2Data = {
|
|
5073
|
+
body?: never;
|
|
5074
|
+
path: {
|
|
5075
|
+
id: string;
|
|
5076
|
+
};
|
|
5077
|
+
query?: never;
|
|
5078
|
+
url: "/v2/flights/{id}/review";
|
|
5079
|
+
};
|
|
5080
|
+
|
|
5081
|
+
export type FlightsControllerRequestReviewV2V2Errors = {
|
|
5082
|
+
401: unknown;
|
|
5083
|
+
403: unknown;
|
|
5084
|
+
};
|
|
5085
|
+
|
|
5086
|
+
export type FlightsControllerRequestReviewV2V2Responses = {
|
|
5087
|
+
201: FlightReviewResponse;
|
|
5088
|
+
};
|
|
5089
|
+
|
|
5090
|
+
export type FlightsControllerRequestReviewV2V2Response =
|
|
5091
|
+
FlightsControllerRequestReviewV2V2Responses[keyof FlightsControllerRequestReviewV2V2Responses];
|
|
5092
|
+
|
|
5093
|
+
export type FlightsControllerImageUploadUrlsV2V2Data = {
|
|
5094
|
+
body: ImageUploadUrlsBody;
|
|
5095
|
+
path: {
|
|
5096
|
+
id: string;
|
|
5097
|
+
};
|
|
5098
|
+
query?: never;
|
|
5099
|
+
url: "/v2/flights/{id}/expected-images/upload-urls";
|
|
5100
|
+
};
|
|
5101
|
+
|
|
5102
|
+
export type FlightsControllerImageUploadUrlsV2V2Errors = {
|
|
5103
|
+
401: unknown;
|
|
5104
|
+
403: unknown;
|
|
5105
|
+
};
|
|
5106
|
+
|
|
5107
|
+
export type FlightsControllerImageUploadUrlsV2V2Responses = {
|
|
5108
|
+
200: ImageUploadUrlsResponse;
|
|
5109
|
+
};
|
|
5110
|
+
|
|
5111
|
+
export type FlightsControllerImageUploadUrlsV2V2Response =
|
|
5112
|
+
FlightsControllerImageUploadUrlsV2V2Responses[keyof FlightsControllerImageUploadUrlsV2V2Responses];
|
|
5113
|
+
|
|
5114
|
+
export type FlightsControllerSubmitProvenanceV2V2Data = {
|
|
5115
|
+
body?: never;
|
|
5116
|
+
path: {
|
|
5117
|
+
id: string;
|
|
5118
|
+
};
|
|
5119
|
+
query?: never;
|
|
5120
|
+
url: "/v2/flights/{id}/provenance";
|
|
5121
|
+
};
|
|
5122
|
+
|
|
5123
|
+
export type FlightsControllerSubmitProvenanceV2V2Errors = {
|
|
5124
|
+
401: unknown;
|
|
5125
|
+
403: unknown;
|
|
5126
|
+
};
|
|
5127
|
+
|
|
5128
|
+
export type FlightsControllerSubmitProvenanceV2V2Responses = {
|
|
5129
|
+
200: FlightResponse;
|
|
5130
|
+
};
|
|
5131
|
+
|
|
5132
|
+
export type FlightsControllerSubmitProvenanceV2V2Response =
|
|
5133
|
+
FlightsControllerSubmitProvenanceV2V2Responses[keyof FlightsControllerSubmitProvenanceV2V2Responses];
|
|
5134
|
+
|
|
5135
|
+
export type MissionsControllerGetMissionsV2V2Data = {
|
|
5136
|
+
body?: never;
|
|
5137
|
+
path?: never;
|
|
5138
|
+
query?: {
|
|
5139
|
+
page?: number;
|
|
5140
|
+
zone_id?: string;
|
|
5141
|
+
flight_plan_id?: string;
|
|
5142
|
+
campaign_id?: string;
|
|
5143
|
+
chain_mission_id?: string;
|
|
5144
|
+
status?:
|
|
5145
|
+
| "pending"
|
|
5146
|
+
| "submitted"
|
|
5147
|
+
| "scheduled"
|
|
5148
|
+
| "active"
|
|
5149
|
+
| "hold"
|
|
5150
|
+
| "cancelled"
|
|
5151
|
+
| "expired"
|
|
5152
|
+
| "completed";
|
|
5153
|
+
created_at_gt?: Date;
|
|
5154
|
+
created_at_lt?: Date;
|
|
5155
|
+
updated_at_gt?: Date;
|
|
5156
|
+
updated_at_lt?: Date;
|
|
5157
|
+
include_unconfirmed?: string;
|
|
5158
|
+
};
|
|
5159
|
+
url: "/v2/missions";
|
|
5160
|
+
};
|
|
5161
|
+
|
|
5162
|
+
export type MissionsControllerGetMissionsV2V2Errors = {
|
|
5163
|
+
401: unknown;
|
|
5164
|
+
403: unknown;
|
|
5165
|
+
};
|
|
5166
|
+
|
|
5167
|
+
export type MissionsControllerGetMissionsV2V2Responses = {
|
|
5168
|
+
200: ListMissionsResponse;
|
|
5169
|
+
};
|
|
5170
|
+
|
|
5171
|
+
export type MissionsControllerGetMissionsV2V2Response =
|
|
5172
|
+
MissionsControllerGetMissionsV2V2Responses[keyof MissionsControllerGetMissionsV2V2Responses];
|
|
5173
|
+
|
|
5174
|
+
export type MissionsControllerCreateMissionsV2V2Data = {
|
|
5175
|
+
body: CreateMissionsBody;
|
|
5176
|
+
path?: never;
|
|
5177
|
+
query?: never;
|
|
5178
|
+
url: "/v2/missions";
|
|
5179
|
+
};
|
|
5180
|
+
|
|
5181
|
+
export type MissionsControllerCreateMissionsV2V2Errors = {
|
|
5182
|
+
401: unknown;
|
|
5183
|
+
403: unknown;
|
|
5184
|
+
};
|
|
5185
|
+
|
|
5186
|
+
export type MissionsControllerCreateMissionsV2V2Responses = {
|
|
5187
|
+
201: CreateMissionsResponse;
|
|
5188
|
+
};
|
|
5189
|
+
|
|
5190
|
+
export type MissionsControllerCreateMissionsV2V2Response =
|
|
5191
|
+
MissionsControllerCreateMissionsV2V2Responses[keyof MissionsControllerCreateMissionsV2V2Responses];
|
|
5192
|
+
|
|
5193
|
+
export type MissionsControllerGetMissionV2V2Data = {
|
|
5194
|
+
body?: never;
|
|
5195
|
+
path: {
|
|
5196
|
+
id: string;
|
|
5197
|
+
};
|
|
5198
|
+
query?: {
|
|
5199
|
+
expand?: string;
|
|
5200
|
+
};
|
|
5201
|
+
url: "/v2/missions/{id}";
|
|
5202
|
+
};
|
|
5203
|
+
|
|
5204
|
+
export type MissionsControllerGetMissionV2V2Errors = {
|
|
5205
|
+
401: unknown;
|
|
5206
|
+
403: unknown;
|
|
5207
|
+
};
|
|
5208
|
+
|
|
5209
|
+
export type MissionsControllerGetMissionV2V2Responses = {
|
|
5210
|
+
200: MissionResponse;
|
|
5211
|
+
};
|
|
5212
|
+
|
|
5213
|
+
export type MissionsControllerGetMissionV2V2Response =
|
|
5214
|
+
MissionsControllerGetMissionV2V2Responses[keyof MissionsControllerGetMissionV2V2Responses];
|
|
5215
|
+
|
|
5216
|
+
export type MissionsControllerUpdateMissionV2V2Data = {
|
|
5217
|
+
body: UpdateMissionBody;
|
|
5218
|
+
path: {
|
|
5219
|
+
id: string;
|
|
5220
|
+
};
|
|
5221
|
+
query?: never;
|
|
5222
|
+
url: "/v2/missions/{id}";
|
|
5223
|
+
};
|
|
5224
|
+
|
|
5225
|
+
export type MissionsControllerUpdateMissionV2V2Errors = {
|
|
5226
|
+
401: unknown;
|
|
5227
|
+
403: unknown;
|
|
5228
|
+
};
|
|
5229
|
+
|
|
5230
|
+
export type MissionsControllerUpdateMissionV2V2Responses = {
|
|
5231
|
+
200: MissionResponse;
|
|
5232
|
+
};
|
|
5233
|
+
|
|
5234
|
+
export type MissionsControllerUpdateMissionV2V2Response =
|
|
5235
|
+
MissionsControllerUpdateMissionV2V2Responses[keyof MissionsControllerUpdateMissionV2V2Responses];
|
|
5236
|
+
|
|
5237
|
+
export type MissionsControllerCancelMissionV2V2Data = {
|
|
5238
|
+
body?: never;
|
|
5239
|
+
path: {
|
|
5240
|
+
id: string;
|
|
5241
|
+
};
|
|
5242
|
+
query?: never;
|
|
5243
|
+
url: "/v2/missions/{id}/cancel";
|
|
5244
|
+
};
|
|
5245
|
+
|
|
5246
|
+
export type MissionsControllerCancelMissionV2V2Errors = {
|
|
5247
|
+
401: unknown;
|
|
5248
|
+
403: unknown;
|
|
5249
|
+
};
|
|
5250
|
+
|
|
5251
|
+
export type MissionsControllerCancelMissionV2V2Responses = {
|
|
5252
|
+
200: MissionResponse;
|
|
5253
|
+
};
|
|
5254
|
+
|
|
5255
|
+
export type MissionsControllerCancelMissionV2V2Response =
|
|
5256
|
+
MissionsControllerCancelMissionV2V2Responses[keyof MissionsControllerCancelMissionV2V2Responses];
|
|
5257
|
+
|
|
5258
|
+
export type MissionsControllerRetryMissionV2V2Data = {
|
|
5259
|
+
body?: never;
|
|
5260
|
+
path: {
|
|
5261
|
+
id: string;
|
|
5262
|
+
};
|
|
5263
|
+
query?: never;
|
|
5264
|
+
url: "/v2/missions/{id}/retry";
|
|
5265
|
+
};
|
|
5266
|
+
|
|
5267
|
+
export type MissionsControllerRetryMissionV2V2Errors = {
|
|
5268
|
+
401: unknown;
|
|
5269
|
+
403: unknown;
|
|
5270
|
+
};
|
|
5271
|
+
|
|
5272
|
+
export type MissionsControllerRetryMissionV2V2Responses = {
|
|
5273
|
+
200: MissionResponse;
|
|
5274
|
+
};
|
|
5275
|
+
|
|
5276
|
+
export type MissionsControllerRetryMissionV2V2Response =
|
|
5277
|
+
MissionsControllerRetryMissionV2V2Responses[keyof MissionsControllerRetryMissionV2V2Responses];
|
|
5278
|
+
|
|
5279
|
+
export type RewardsControllerListRewardsV2V2Data = {
|
|
5280
|
+
body?: never;
|
|
5281
|
+
path?: never;
|
|
5282
|
+
query?: {
|
|
5283
|
+
page?: number;
|
|
5284
|
+
pilot_address?: string;
|
|
5285
|
+
denomination?: "usdc" | "usd" | "cad" | "rp";
|
|
5286
|
+
settlement_mechanism?: "vault" | "rp_ledger" | "external";
|
|
5287
|
+
settlement_status?:
|
|
5288
|
+
| "unsettled"
|
|
5289
|
+
| "requested"
|
|
5290
|
+
| "settled"
|
|
5291
|
+
| "revoked"
|
|
5292
|
+
| "failed";
|
|
5293
|
+
mission_id?: string;
|
|
5294
|
+
};
|
|
5295
|
+
url: "/v2/rewards";
|
|
5296
|
+
};
|
|
5297
|
+
|
|
5298
|
+
export type RewardsControllerListRewardsV2V2Errors = {
|
|
5299
|
+
401: unknown;
|
|
5300
|
+
403: unknown;
|
|
5301
|
+
};
|
|
5302
|
+
|
|
5303
|
+
export type RewardsControllerListRewardsV2V2Responses = {
|
|
5304
|
+
200: ListRewardsResponse;
|
|
5305
|
+
};
|
|
5306
|
+
|
|
5307
|
+
export type RewardsControllerListRewardsV2V2Response =
|
|
5308
|
+
RewardsControllerListRewardsV2V2Responses[keyof RewardsControllerListRewardsV2V2Responses];
|
|
5309
|
+
|
|
5310
|
+
export type ZonesControllerCreateZonesV2V2Data = {
|
|
5311
|
+
body: CreateZonesRequestDto;
|
|
5312
|
+
path?: never;
|
|
5313
|
+
query?: never;
|
|
5314
|
+
url: "/v2/zones";
|
|
5315
|
+
};
|
|
5316
|
+
|
|
5317
|
+
export type ZonesControllerCreateZonesV2V2Errors = {
|
|
5318
|
+
/**
|
|
5319
|
+
* A malformed (non-res-9) H3 cell in the list
|
|
5320
|
+
*/
|
|
5321
|
+
400: unknown;
|
|
5322
|
+
401: unknown;
|
|
5323
|
+
403: unknown;
|
|
5324
|
+
};
|
|
5325
|
+
|
|
5326
|
+
export type ZonesControllerCreateZonesV2V2Responses = {
|
|
5327
|
+
200: CreateZonesResponseDto;
|
|
5328
|
+
};
|
|
5329
|
+
|
|
5330
|
+
export type ZonesControllerCreateZonesV2V2Response =
|
|
5331
|
+
ZonesControllerCreateZonesV2V2Responses[keyof ZonesControllerCreateZonesV2V2Responses];
|
|
5332
|
+
|
|
5333
|
+
export type ZonesControllerGetZoneV2V2Data = {
|
|
5334
|
+
body?: never;
|
|
5335
|
+
path: {
|
|
5336
|
+
id: string;
|
|
5337
|
+
};
|
|
5338
|
+
query?: never;
|
|
5339
|
+
url: "/v2/zones/{id}";
|
|
5340
|
+
};
|
|
5341
|
+
|
|
5342
|
+
export type ZonesControllerGetZoneV2V2Errors = {
|
|
5343
|
+
401: unknown;
|
|
5344
|
+
403: unknown;
|
|
5345
|
+
/**
|
|
5346
|
+
* Zone not found
|
|
5347
|
+
*/
|
|
5348
|
+
404: unknown;
|
|
5349
|
+
};
|
|
5350
|
+
|
|
5351
|
+
export type ZonesControllerGetZoneV2V2Responses = {
|
|
5352
|
+
200: MissionFulfillmentZoneResponseDto;
|
|
5353
|
+
};
|
|
5354
|
+
|
|
5355
|
+
export type ZonesControllerGetZoneV2V2Response =
|
|
5356
|
+
ZonesControllerGetZoneV2V2Responses[keyof ZonesControllerGetZoneV2V2Responses];
|
|
5357
|
+
|
|
5358
|
+
export type ZonesControllerUpdateZoneV2V2Data = {
|
|
5359
|
+
body: UpdateZoneRequestDto;
|
|
5360
|
+
path: {
|
|
5361
|
+
id: string;
|
|
5362
|
+
};
|
|
5363
|
+
query?: never;
|
|
5364
|
+
url: "/v2/zones/{id}";
|
|
5365
|
+
};
|
|
5366
|
+
|
|
5367
|
+
export type ZonesControllerUpdateZoneV2V2Errors = {
|
|
5368
|
+
401: unknown;
|
|
5369
|
+
403: unknown;
|
|
5370
|
+
/**
|
|
5371
|
+
* Zone not found
|
|
5372
|
+
*/
|
|
5373
|
+
404: unknown;
|
|
5374
|
+
};
|
|
5375
|
+
|
|
5376
|
+
export type ZonesControllerUpdateZoneV2V2Responses = {
|
|
5377
|
+
200: MissionFulfillmentZoneResponseDto;
|
|
5378
|
+
};
|
|
5379
|
+
|
|
5380
|
+
export type ZonesControllerUpdateZoneV2V2Response =
|
|
5381
|
+
ZonesControllerUpdateZoneV2V2Responses[keyof ZonesControllerUpdateZoneV2V2Responses];
|
|
5382
|
+
|
|
3990
5383
|
export type ClientOptions = {
|
|
3991
5384
|
baseUrl: string;
|
|
3992
5385
|
};
|