@layer-drone/protocol 0.0.17 → 0.0.18-alpha
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/README.md +43 -0
- package/dist/index.d.mts +328 -347
- package/dist/index.d.ts +328 -347
- package/dist/index.js +101 -122
- package/dist/index.mjs +100 -120
- package/package.json +7 -2
- package/src/client/client/client.ts +5 -1
- package/src/client/sdk.gen.ts +108 -136
- package/src/client/transformers.gen.ts +12 -26
- package/src/client/types.gen.ts +219 -262
- package/src/event/types.gen.ts +40 -41
package/src/client/types.gen.ts
CHANGED
|
@@ -1,39 +1,5 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
-
export type GetProvenanceCryptoKeyResponse = {
|
|
4
|
-
KeyId: string;
|
|
5
|
-
PublicKey: string;
|
|
6
|
-
KeySpec?:
|
|
7
|
-
| "ECC_NIST_P256"
|
|
8
|
-
| "ECC_NIST_P384"
|
|
9
|
-
| "ECC_NIST_P521"
|
|
10
|
-
| "ECC_SECG_P256K1"
|
|
11
|
-
| "HMAC_224"
|
|
12
|
-
| "HMAC_256"
|
|
13
|
-
| "HMAC_384"
|
|
14
|
-
| "HMAC_512"
|
|
15
|
-
| "RSA_2048"
|
|
16
|
-
| "RSA_3072"
|
|
17
|
-
| "RSA_4096"
|
|
18
|
-
| "SM2"
|
|
19
|
-
| "SYMMETRIC_DEFAULT";
|
|
20
|
-
KeyUsage?:
|
|
21
|
-
| "ENCRYPT_DECRYPT"
|
|
22
|
-
| "GENERATE_VERIFY_MAC"
|
|
23
|
-
| "KEY_AGREEMENT"
|
|
24
|
-
| "SIGN_VERIFY";
|
|
25
|
-
EncryptionAlgorithms?: Array<
|
|
26
|
-
"RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE" | "SYMMETRIC_DEFAULT"
|
|
27
|
-
>;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export type CreateQuoteRequestDto = {
|
|
31
|
-
missionIds: Array<number>;
|
|
32
|
-
entitlementType: string;
|
|
33
|
-
buyer: string;
|
|
34
|
-
mintOnChain: boolean;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
3
|
export type CreateApiTokenResponseDto = {
|
|
38
4
|
id: string;
|
|
39
5
|
name: string;
|
|
@@ -63,11 +29,94 @@ export type UpdateApiTokenResponseDto = {
|
|
|
63
29
|
scopes: Array<"manageTokens" | "manageFlights" | "manageWebhooks" | "all">;
|
|
64
30
|
};
|
|
65
31
|
|
|
32
|
+
export type GetTimeLimitsForSunAltitudeResponse = {
|
|
33
|
+
OptimalSunAltitudePeriod: {
|
|
34
|
+
StartTime: Date;
|
|
35
|
+
EndTime: Date;
|
|
36
|
+
SunAltitudeAtLimits: number;
|
|
37
|
+
};
|
|
38
|
+
DaylightPeriod: {
|
|
39
|
+
StartTime: Date;
|
|
40
|
+
EndTime: Date;
|
|
41
|
+
SunAltitudeAtLimits: number;
|
|
42
|
+
};
|
|
43
|
+
SunAltitudeInDegrees: number;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type FlightDto = {
|
|
47
|
+
token_id: string;
|
|
48
|
+
mission_id: string;
|
|
49
|
+
owner: string;
|
|
50
|
+
validator: string;
|
|
51
|
+
is_approved: boolean;
|
|
52
|
+
storage_key: string;
|
|
53
|
+
files_hash: string;
|
|
54
|
+
block_number: number;
|
|
55
|
+
block_timestamp: number;
|
|
56
|
+
transaction_hash: string;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export type CreateFileRequestDto = {
|
|
60
|
+
filenames: Array<string>;
|
|
61
|
+
storageKey: string;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export type CreateFileResponseDto = {
|
|
65
|
+
presignedUrls: {
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export type ValidateFlightRequestDto = {
|
|
71
|
+
storageKey: string;
|
|
72
|
+
pilotAddress: string;
|
|
73
|
+
missionId: string | number | bigint;
|
|
74
|
+
flightTimestamp: string;
|
|
75
|
+
flightRequestInfo: {
|
|
76
|
+
filePaths: Array<string>;
|
|
77
|
+
flightPlanId: number;
|
|
78
|
+
zoneHash: string;
|
|
79
|
+
provenancePath: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export type ValidateFlightResponseDto = {
|
|
84
|
+
flightId: bigint;
|
|
85
|
+
flightManifestUri: string;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
export type GetProvenanceCryptoKeyResponse = {
|
|
89
|
+
KeyId: string;
|
|
90
|
+
PublicKey: string;
|
|
91
|
+
KeySpec?:
|
|
92
|
+
| "ECC_NIST_P256"
|
|
93
|
+
| "ECC_NIST_P384"
|
|
94
|
+
| "ECC_NIST_P521"
|
|
95
|
+
| "ECC_SECG_P256K1"
|
|
96
|
+
| "HMAC_224"
|
|
97
|
+
| "HMAC_256"
|
|
98
|
+
| "HMAC_384"
|
|
99
|
+
| "HMAC_512"
|
|
100
|
+
| "RSA_2048"
|
|
101
|
+
| "RSA_3072"
|
|
102
|
+
| "RSA_4096"
|
|
103
|
+
| "SM2"
|
|
104
|
+
| "SYMMETRIC_DEFAULT";
|
|
105
|
+
KeyUsage?:
|
|
106
|
+
| "ENCRYPT_DECRYPT"
|
|
107
|
+
| "GENERATE_VERIFY_MAC"
|
|
108
|
+
| "KEY_AGREEMENT"
|
|
109
|
+
| "SIGN_VERIFY";
|
|
110
|
+
EncryptionAlgorithms?: Array<
|
|
111
|
+
"RSAES_OAEP_SHA_1" | "RSAES_OAEP_SHA_256" | "SM2PKE" | "SYMMETRIC_DEFAULT"
|
|
112
|
+
>;
|
|
113
|
+
};
|
|
114
|
+
|
|
66
115
|
export type CreateMissionRequestDto = {
|
|
67
116
|
missions: Array<{
|
|
68
117
|
zoneId: string;
|
|
69
118
|
flightPlanId: number;
|
|
70
|
-
amount: bigint;
|
|
119
|
+
amount: string | number | bigint;
|
|
71
120
|
startTime: Date;
|
|
72
121
|
endTime: Date;
|
|
73
122
|
}>;
|
|
@@ -97,91 +146,33 @@ export type CreateMissionResponseDto = {
|
|
|
97
146
|
export type UpdateMissionsRequestDto = {
|
|
98
147
|
missions: Array<
|
|
99
148
|
| {
|
|
100
|
-
id: bigint;
|
|
101
|
-
amount: bigint;
|
|
149
|
+
id: string | number | bigint;
|
|
150
|
+
amount: string | number | bigint;
|
|
102
151
|
}
|
|
103
152
|
| {
|
|
104
|
-
id: bigint;
|
|
153
|
+
id: string | number | bigint;
|
|
105
154
|
isOpen: false;
|
|
106
155
|
}
|
|
107
156
|
>;
|
|
157
|
+
treasuryAddress: string;
|
|
108
158
|
};
|
|
109
159
|
|
|
110
160
|
export type UpdateMissionsResponseDto = {
|
|
111
|
-
success: boolean;
|
|
112
|
-
data: {
|
|
113
|
-
rewardUpdatesQueued: Array<string>;
|
|
114
|
-
cancelUpdatesQueued: Array<string>;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
|
|
118
|
-
export type ClaimRewardsRequestDto = {
|
|
119
|
-
flightIds: Array<number>;
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
export type ClaimRewardsResponseDto = {
|
|
123
161
|
success: boolean;
|
|
124
162
|
data:
|
|
125
163
|
| {
|
|
126
|
-
|
|
164
|
+
escrowRequestsQueued: Array<string>;
|
|
165
|
+
withdrawalRequestsQueued: Array<string>;
|
|
166
|
+
cancelRequestsQueued: Array<string>;
|
|
127
167
|
}
|
|
128
168
|
| string;
|
|
129
169
|
};
|
|
130
170
|
|
|
131
|
-
export type
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
is_approved: boolean;
|
|
137
|
-
storage_key: string;
|
|
138
|
-
files_hash: string;
|
|
139
|
-
block_number: number;
|
|
140
|
-
block_timestamp: number;
|
|
141
|
-
transaction_hash: string;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
export type CreateFileRequestDto = {
|
|
145
|
-
filenames: Array<string>;
|
|
146
|
-
storageKey: string;
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
export type CreateFileResponseDto = {
|
|
150
|
-
presignedUrls: {
|
|
151
|
-
[key: string]: string;
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
export type ValidateFlightRequestDto = {
|
|
156
|
-
storageKey: string;
|
|
157
|
-
pilotAddress: string;
|
|
158
|
-
missionId: bigint;
|
|
159
|
-
flightTimestamp: string;
|
|
160
|
-
flightRequestInfo: {
|
|
161
|
-
filePaths: Array<string>;
|
|
162
|
-
flightPlanId: number;
|
|
163
|
-
zoneHash: string;
|
|
164
|
-
provenancePath: string;
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
|
|
168
|
-
export type ValidateFlightResponseDto = {
|
|
169
|
-
flightId: bigint;
|
|
170
|
-
flightManifestUri: string;
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
export type GetTimeLimitsForSunAltitudeResponse = {
|
|
174
|
-
OptimalSunAltitudePeriod: {
|
|
175
|
-
StartTime: Date;
|
|
176
|
-
EndTime: Date;
|
|
177
|
-
SunAltitudeAtLimits: number;
|
|
178
|
-
};
|
|
179
|
-
DaylightPeriod: {
|
|
180
|
-
StartTime: Date;
|
|
181
|
-
EndTime: Date;
|
|
182
|
-
SunAltitudeAtLimits: number;
|
|
183
|
-
};
|
|
184
|
-
SunAltitudeInDegrees: number;
|
|
171
|
+
export type CreateQuoteRequestDto = {
|
|
172
|
+
missionIds: Array<number>;
|
|
173
|
+
entitlementType: string;
|
|
174
|
+
buyer: string;
|
|
175
|
+
mintOnChain: boolean;
|
|
185
176
|
};
|
|
186
177
|
|
|
187
178
|
export type CreateWebhookBody = {
|
|
@@ -189,11 +180,11 @@ export type CreateWebhookBody = {
|
|
|
189
180
|
url: string;
|
|
190
181
|
event_types: Array<
|
|
191
182
|
| "test"
|
|
192
|
-
| "protocol.flight.submitted"
|
|
193
183
|
| "protocol.mission.created"
|
|
194
184
|
| "protocol.mission.updated"
|
|
185
|
+
| "protocol.mission.paid"
|
|
186
|
+
| "protocol.flight.submitted"
|
|
195
187
|
| "protocol.flight.reviewed"
|
|
196
|
-
| "internal.flight.reviewed"
|
|
197
188
|
| "*"
|
|
198
189
|
>;
|
|
199
190
|
active: boolean;
|
|
@@ -210,11 +201,11 @@ export type GetWebhooksResponse = Array<{
|
|
|
210
201
|
url: string;
|
|
211
202
|
event_types: Array<
|
|
212
203
|
| "test"
|
|
213
|
-
| "protocol.flight.submitted"
|
|
214
204
|
| "protocol.mission.created"
|
|
215
205
|
| "protocol.mission.updated"
|
|
206
|
+
| "protocol.mission.paid"
|
|
207
|
+
| "protocol.flight.submitted"
|
|
216
208
|
| "protocol.flight.reviewed"
|
|
217
|
-
| "internal.flight.reviewed"
|
|
218
209
|
| "*"
|
|
219
210
|
>;
|
|
220
211
|
active: boolean;
|
|
@@ -230,11 +221,11 @@ export type GetWebhookResponse = {
|
|
|
230
221
|
url: string;
|
|
231
222
|
event_types: Array<
|
|
232
223
|
| "test"
|
|
233
|
-
| "protocol.flight.submitted"
|
|
234
224
|
| "protocol.mission.created"
|
|
235
225
|
| "protocol.mission.updated"
|
|
226
|
+
| "protocol.mission.paid"
|
|
227
|
+
| "protocol.flight.submitted"
|
|
236
228
|
| "protocol.flight.reviewed"
|
|
237
|
-
| "internal.flight.reviewed"
|
|
238
229
|
| "*"
|
|
239
230
|
>;
|
|
240
231
|
active: boolean;
|
|
@@ -249,11 +240,11 @@ export type UpdateWebhookBody = {
|
|
|
249
240
|
url?: string;
|
|
250
241
|
event_types?: Array<
|
|
251
242
|
| "test"
|
|
252
|
-
| "protocol.flight.submitted"
|
|
253
243
|
| "protocol.mission.created"
|
|
254
244
|
| "protocol.mission.updated"
|
|
245
|
+
| "protocol.mission.paid"
|
|
246
|
+
| "protocol.flight.submitted"
|
|
255
247
|
| "protocol.flight.reviewed"
|
|
256
|
-
| "internal.flight.reviewed"
|
|
257
248
|
| "*"
|
|
258
249
|
>;
|
|
259
250
|
active?: boolean;
|
|
@@ -265,11 +256,11 @@ export type UpdateWebhookResponse = {
|
|
|
265
256
|
url: string;
|
|
266
257
|
event_types: Array<
|
|
267
258
|
| "test"
|
|
268
|
-
| "protocol.flight.submitted"
|
|
269
259
|
| "protocol.mission.created"
|
|
270
260
|
| "protocol.mission.updated"
|
|
261
|
+
| "protocol.mission.paid"
|
|
262
|
+
| "protocol.flight.submitted"
|
|
271
263
|
| "protocol.flight.reviewed"
|
|
272
|
-
| "internal.flight.reviewed"
|
|
273
264
|
| "*"
|
|
274
265
|
>;
|
|
275
266
|
active: boolean;
|
|
@@ -296,62 +287,14 @@ export type GetWebhookStatusResponse = {
|
|
|
296
287
|
error?: string;
|
|
297
288
|
};
|
|
298
289
|
|
|
299
|
-
export type
|
|
290
|
+
export type ApiControllerGetHelloData = {
|
|
300
291
|
body?: never;
|
|
301
292
|
path?: never;
|
|
302
293
|
query?: never;
|
|
303
294
|
url: "/";
|
|
304
295
|
};
|
|
305
296
|
|
|
306
|
-
export type
|
|
307
|
-
200: unknown;
|
|
308
|
-
};
|
|
309
|
-
|
|
310
|
-
export type KeysControllerGetProvenanceCryptoKeyData = {
|
|
311
|
-
body?: never;
|
|
312
|
-
path?: never;
|
|
313
|
-
query?: never;
|
|
314
|
-
url: "/keys";
|
|
315
|
-
};
|
|
316
|
-
|
|
317
|
-
export type KeysControllerGetProvenanceCryptoKeyResponses = {
|
|
318
|
-
200: GetProvenanceCryptoKeyResponse;
|
|
319
|
-
};
|
|
320
|
-
|
|
321
|
-
export type KeysControllerGetProvenanceCryptoKeyResponse =
|
|
322
|
-
KeysControllerGetProvenanceCryptoKeyResponses[keyof KeysControllerGetProvenanceCryptoKeyResponses];
|
|
323
|
-
|
|
324
|
-
export type QuotesControllerCreateQuoteData = {
|
|
325
|
-
body: CreateQuoteRequestDto;
|
|
326
|
-
path?: never;
|
|
327
|
-
query?: never;
|
|
328
|
-
url: "/quotes";
|
|
329
|
-
};
|
|
330
|
-
|
|
331
|
-
export type QuotesControllerCreateQuoteErrors = {
|
|
332
|
-
401: unknown;
|
|
333
|
-
403: unknown;
|
|
334
|
-
};
|
|
335
|
-
|
|
336
|
-
export type QuotesControllerCreateQuoteResponses = {
|
|
337
|
-
201: unknown;
|
|
338
|
-
};
|
|
339
|
-
|
|
340
|
-
export type QuotesControllerGetQuoteData = {
|
|
341
|
-
body?: never;
|
|
342
|
-
path: {
|
|
343
|
-
id: string;
|
|
344
|
-
};
|
|
345
|
-
query?: never;
|
|
346
|
-
url: "/quotes/{id}";
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
export type QuotesControllerGetQuoteErrors = {
|
|
350
|
-
401: unknown;
|
|
351
|
-
403: unknown;
|
|
352
|
-
};
|
|
353
|
-
|
|
354
|
-
export type QuotesControllerGetQuoteResponses = {
|
|
297
|
+
export type ApiControllerGetHelloResponses = {
|
|
355
298
|
200: unknown;
|
|
356
299
|
};
|
|
357
300
|
|
|
@@ -432,94 +375,41 @@ export type ApiTokenControllerUpdateTokenResponses = {
|
|
|
432
375
|
export type ApiTokenControllerUpdateTokenResponse =
|
|
433
376
|
ApiTokenControllerUpdateTokenResponses[keyof ApiTokenControllerUpdateTokenResponses];
|
|
434
377
|
|
|
435
|
-
export type
|
|
436
|
-
body
|
|
437
|
-
path?: never;
|
|
438
|
-
query?: never;
|
|
439
|
-
url: "/missions";
|
|
440
|
-
};
|
|
441
|
-
|
|
442
|
-
export type MissionsControllerCreateMissionsErrors = {
|
|
443
|
-
/**
|
|
444
|
-
* Validation failed - invalid Zones, mission types, or times
|
|
445
|
-
*/
|
|
446
|
-
400: unknown;
|
|
447
|
-
/**
|
|
448
|
-
* Insufficient treasury spending limit
|
|
449
|
-
*/
|
|
450
|
-
403: unknown;
|
|
451
|
-
/**
|
|
452
|
-
* Internal server error during mission creation
|
|
453
|
-
*/
|
|
454
|
-
500: unknown;
|
|
455
|
-
};
|
|
456
|
-
|
|
457
|
-
export type MissionsControllerCreateMissionsResponses = {
|
|
458
|
-
/**
|
|
459
|
-
* Mission creation transaction queued successfully
|
|
460
|
-
*/
|
|
461
|
-
201: CreateMissionResponseDto;
|
|
462
|
-
};
|
|
463
|
-
|
|
464
|
-
export type MissionsControllerCreateMissionsResponse =
|
|
465
|
-
MissionsControllerCreateMissionsResponses[keyof MissionsControllerCreateMissionsResponses];
|
|
466
|
-
|
|
467
|
-
export type MissionsControllerUpdateMissionsData = {
|
|
468
|
-
body: UpdateMissionsRequestDto;
|
|
378
|
+
export type ConditionsControllerGetSunAltitudeTimeLimitsData = {
|
|
379
|
+
body?: never;
|
|
469
380
|
path?: never;
|
|
470
|
-
query
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
export type MissionsControllerClaimRewardsData = {
|
|
485
|
-
body: ClaimRewardsRequestDto;
|
|
486
|
-
path: {
|
|
487
|
-
id: bigint;
|
|
381
|
+
query: {
|
|
382
|
+
/**
|
|
383
|
+
* Latitude in degress (decimal number)
|
|
384
|
+
*/
|
|
385
|
+
lat: number;
|
|
386
|
+
/**
|
|
387
|
+
* Longitude in degress (decimal number)
|
|
388
|
+
*/
|
|
389
|
+
lon: number;
|
|
390
|
+
/**
|
|
391
|
+
* Local time in ISO time format with correct timezone YYYY-MM-DDTHH:MM:SS+hh:mm
|
|
392
|
+
*/
|
|
393
|
+
time: Date;
|
|
488
394
|
};
|
|
489
|
-
|
|
490
|
-
url: "/missions/{id}/rewards";
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
export type MissionsControllerClaimRewardsErrors = {
|
|
494
|
-
/**
|
|
495
|
-
* Flight not approved or validation failed
|
|
496
|
-
*/
|
|
497
|
-
400: unknown;
|
|
498
|
-
/**
|
|
499
|
-
* Mission or Flight not found
|
|
500
|
-
*/
|
|
501
|
-
404: unknown;
|
|
502
|
-
/**
|
|
503
|
-
* Internal server error during reward claiming
|
|
504
|
-
*/
|
|
505
|
-
500: unknown;
|
|
395
|
+
url: "/conditions/sun-altitude";
|
|
506
396
|
};
|
|
507
397
|
|
|
508
|
-
export type
|
|
398
|
+
export type ConditionsControllerGetSunAltitudeTimeLimitsResponses = {
|
|
509
399
|
/**
|
|
510
|
-
*
|
|
400
|
+
* Returns sun altitude time limits for given coordinates and time
|
|
511
401
|
*/
|
|
512
|
-
200:
|
|
402
|
+
200: GetTimeLimitsForSunAltitudeResponse;
|
|
513
403
|
};
|
|
514
404
|
|
|
515
|
-
export type
|
|
516
|
-
|
|
405
|
+
export type ConditionsControllerGetSunAltitudeTimeLimitsResponse =
|
|
406
|
+
ConditionsControllerGetSunAltitudeTimeLimitsResponses[keyof ConditionsControllerGetSunAltitudeTimeLimitsResponses];
|
|
517
407
|
|
|
518
408
|
export type FlightsControllerGenerateStorageKeyData = {
|
|
519
409
|
body?: never;
|
|
520
410
|
path?: never;
|
|
521
411
|
query: {
|
|
522
|
-
missionId: bigint;
|
|
412
|
+
missionId: string | number | bigint;
|
|
523
413
|
pilotAddress: string;
|
|
524
414
|
flightTimestamp?: string;
|
|
525
415
|
};
|
|
@@ -601,7 +491,7 @@ export type FlightsControllerValidateFlightErrors = {
|
|
|
601
491
|
|
|
602
492
|
export type FlightsControllerValidateFlightResponses = {
|
|
603
493
|
/**
|
|
604
|
-
*
|
|
494
|
+
* Result to track queued flight through its validation
|
|
605
495
|
*/
|
|
606
496
|
200: ValidateFlightResponseDto;
|
|
607
497
|
};
|
|
@@ -609,35 +499,102 @@ export type FlightsControllerValidateFlightResponses = {
|
|
|
609
499
|
export type FlightsControllerValidateFlightResponse =
|
|
610
500
|
FlightsControllerValidateFlightResponses[keyof FlightsControllerValidateFlightResponses];
|
|
611
501
|
|
|
612
|
-
export type
|
|
502
|
+
export type KeysControllerGetProvenanceCryptoKeyData = {
|
|
613
503
|
body?: never;
|
|
614
504
|
path?: never;
|
|
615
|
-
query
|
|
616
|
-
|
|
617
|
-
* Latitude in degress (decimal number)
|
|
618
|
-
*/
|
|
619
|
-
lat: number;
|
|
620
|
-
/**
|
|
621
|
-
* Longitude in degress (decimal number)
|
|
622
|
-
*/
|
|
623
|
-
lon: number;
|
|
624
|
-
/**
|
|
625
|
-
* Local time in ISO time format with correct timezone YYYY-MM-DDTHH:MM:SS+hh:mm
|
|
626
|
-
*/
|
|
627
|
-
time: Date;
|
|
628
|
-
};
|
|
629
|
-
url: "/conditions/sun-altitude";
|
|
505
|
+
query?: never;
|
|
506
|
+
url: "/keys";
|
|
630
507
|
};
|
|
631
508
|
|
|
632
|
-
export type
|
|
509
|
+
export type KeysControllerGetProvenanceCryptoKeyResponses = {
|
|
510
|
+
200: GetProvenanceCryptoKeyResponse;
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
export type KeysControllerGetProvenanceCryptoKeyResponse =
|
|
514
|
+
KeysControllerGetProvenanceCryptoKeyResponses[keyof KeysControllerGetProvenanceCryptoKeyResponses];
|
|
515
|
+
|
|
516
|
+
export type MissionsControllerCreateMissionsData = {
|
|
517
|
+
body: CreateMissionRequestDto;
|
|
518
|
+
path?: never;
|
|
519
|
+
query?: never;
|
|
520
|
+
url: "/missions";
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
export type MissionsControllerCreateMissionsErrors = {
|
|
633
524
|
/**
|
|
634
|
-
*
|
|
525
|
+
* Validation failed - invalid Zones, mission types, or times
|
|
635
526
|
*/
|
|
636
|
-
|
|
527
|
+
400: unknown;
|
|
528
|
+
/**
|
|
529
|
+
* Insufficient treasury spending limit
|
|
530
|
+
*/
|
|
531
|
+
403: unknown;
|
|
532
|
+
/**
|
|
533
|
+
* Internal server error during mission creation
|
|
534
|
+
*/
|
|
535
|
+
500: unknown;
|
|
637
536
|
};
|
|
638
537
|
|
|
639
|
-
export type
|
|
640
|
-
|
|
538
|
+
export type MissionsControllerCreateMissionsResponses = {
|
|
539
|
+
/**
|
|
540
|
+
* Transaction to create mission, queued successfully
|
|
541
|
+
*/
|
|
542
|
+
201: CreateMissionResponseDto;
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
export type MissionsControllerCreateMissionsResponse =
|
|
546
|
+
MissionsControllerCreateMissionsResponses[keyof MissionsControllerCreateMissionsResponses];
|
|
547
|
+
|
|
548
|
+
export type MissionsControllerUpdateMissionsData = {
|
|
549
|
+
body: UpdateMissionsRequestDto;
|
|
550
|
+
path?: never;
|
|
551
|
+
query?: never;
|
|
552
|
+
url: "/missions";
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
export type MissionsControllerUpdateMissionsResponses = {
|
|
556
|
+
/**
|
|
557
|
+
* Missions update transaction queued successfully
|
|
558
|
+
*/
|
|
559
|
+
200: UpdateMissionsResponseDto;
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
export type MissionsControllerUpdateMissionsResponse =
|
|
563
|
+
MissionsControllerUpdateMissionsResponses[keyof MissionsControllerUpdateMissionsResponses];
|
|
564
|
+
|
|
565
|
+
export type QuotesControllerCreateQuoteData = {
|
|
566
|
+
body: CreateQuoteRequestDto;
|
|
567
|
+
path?: never;
|
|
568
|
+
query?: never;
|
|
569
|
+
url: "/quotes";
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
export type QuotesControllerCreateQuoteErrors = {
|
|
573
|
+
401: unknown;
|
|
574
|
+
403: unknown;
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
export type QuotesControllerCreateQuoteResponses = {
|
|
578
|
+
201: unknown;
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
export type QuotesControllerGetQuoteData = {
|
|
582
|
+
body?: never;
|
|
583
|
+
path: {
|
|
584
|
+
id: string;
|
|
585
|
+
};
|
|
586
|
+
query?: never;
|
|
587
|
+
url: "/quotes/{id}";
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
export type QuotesControllerGetQuoteErrors = {
|
|
591
|
+
401: unknown;
|
|
592
|
+
403: unknown;
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
export type QuotesControllerGetQuoteResponses = {
|
|
596
|
+
200: unknown;
|
|
597
|
+
};
|
|
641
598
|
|
|
642
599
|
export type SchemaControllerGetEventSchemaData = {
|
|
643
600
|
body?: never;
|