@layer-drone/protocol 0.1.3 → 0.2.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 +653 -5
- package/dist/index.d.ts +653 -5
- package/dist/index.js +293 -1
- package/dist/index.mjs +279 -1
- package/package.json +2 -2
- package/src/client/sdk.gen.ts +430 -0
- package/src/client/transformers.gen.ts +85 -0
- package/src/client/types.gen.ts +715 -0
- package/src/event/types.gen.ts +11 -0
package/dist/index.js
CHANGED
|
@@ -22,6 +22,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
22
22
|
var index_exports = {};
|
|
23
23
|
__export(index_exports, {
|
|
24
24
|
Event: () => Event,
|
|
25
|
+
alchemyControllerHandleWebhook: () => alchemyControllerHandleWebhook,
|
|
25
26
|
apiControllerGetError: () => apiControllerGetError,
|
|
26
27
|
apiControllerGetHello: () => apiControllerGetHello,
|
|
27
28
|
apiTokenControllerCreateToken: () => apiTokenControllerCreateToken,
|
|
@@ -30,16 +31,28 @@ __export(index_exports, {
|
|
|
30
31
|
apiTokenControllerUpdateToken: () => apiTokenControllerUpdateToken,
|
|
31
32
|
buildClientParams: () => buildClientParams,
|
|
32
33
|
conditionsControllerGetSunAltitudeTimeLimits: () => conditionsControllerGetSunAltitudeTimeLimits,
|
|
34
|
+
contractsControllerCreateContract: () => contractsControllerCreateContract,
|
|
35
|
+
contractsControllerDeleteContract: () => contractsControllerDeleteContract,
|
|
36
|
+
contractsControllerGetAllContracts: () => contractsControllerGetAllContracts,
|
|
37
|
+
contractsControllerGetContract: () => contractsControllerGetContract,
|
|
38
|
+
contractsControllerUpdateContract: () => contractsControllerUpdateContract,
|
|
33
39
|
createClient: () => createClient,
|
|
34
40
|
createConfig: () => createConfig,
|
|
41
|
+
dlqRedriverControllerRedriveDlq: () => dlqRedriverControllerRedriveDlq,
|
|
35
42
|
flightsControllerCreatePresignedUrls: () => flightsControllerCreatePresignedUrls,
|
|
36
43
|
flightsControllerGenerateStorageKey: () => flightsControllerGenerateStorageKey,
|
|
37
44
|
flightsControllerGetFlight: () => flightsControllerGetFlight,
|
|
38
45
|
flightsControllerValidateFlight: () => flightsControllerValidateFlight,
|
|
39
46
|
formDataBodySerializer: () => formDataBodySerializer,
|
|
47
|
+
inboundWebhookConfigsControllerCreate: () => inboundWebhookConfigsControllerCreate,
|
|
48
|
+
inboundWebhookConfigsControllerDelete: () => inboundWebhookConfigsControllerDelete,
|
|
49
|
+
inboundWebhookConfigsControllerGet: () => inboundWebhookConfigsControllerGet,
|
|
50
|
+
inboundWebhookConfigsControllerGetMany: () => inboundWebhookConfigsControllerGetMany,
|
|
51
|
+
inboundWebhookConfigsControllerUpdate: () => inboundWebhookConfigsControllerUpdate,
|
|
40
52
|
jsonBodySerializer: () => jsonBodySerializer,
|
|
41
53
|
keysControllerGetProvenanceCryptoKey: () => keysControllerGetProvenanceCryptoKey,
|
|
42
54
|
mergeHeaders: () => mergeHeaders,
|
|
55
|
+
missionsControllerCloseMission: () => missionsControllerCloseMission,
|
|
43
56
|
missionsControllerCreateMissions: () => missionsControllerCreateMissions,
|
|
44
57
|
missionsControllerRepriceMissions: () => missionsControllerRepriceMissions,
|
|
45
58
|
missionsControllerUpdateMissions: () => missionsControllerUpdateMissions,
|
|
@@ -48,6 +61,7 @@ __export(index_exports, {
|
|
|
48
61
|
quotesControllerGetQuote: () => quotesControllerGetQuote,
|
|
49
62
|
schemaControllerGetEventSchema: () => schemaControllerGetEventSchema,
|
|
50
63
|
urlSearchParamsBodySerializer: () => urlSearchParamsBodySerializer,
|
|
64
|
+
vaultsControllerCreateVaults: () => vaultsControllerCreateVaults,
|
|
51
65
|
webhooksControllerCreate: () => webhooksControllerCreate,
|
|
52
66
|
webhooksControllerDelete: () => webhooksControllerDelete,
|
|
53
67
|
webhooksControllerGet: () => webhooksControllerGet,
|
|
@@ -768,6 +782,19 @@ var conditionsControllerGetSunAltitudeTimeLimitsResponseTransformer = /* @__PURE
|
|
|
768
782
|
data = getTimeLimitsForSunAltitudeResponseSchemaResponseTransformer(data);
|
|
769
783
|
return data;
|
|
770
784
|
}, "conditionsControllerGetSunAltitudeTimeLimitsResponseTransformer");
|
|
785
|
+
var getContractsResponseDtoSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
786
|
+
data.data = data.data.map((item) => {
|
|
787
|
+
if (item.deployedAt) {
|
|
788
|
+
item.deployedAt = new Date(item.deployedAt);
|
|
789
|
+
}
|
|
790
|
+
return item;
|
|
791
|
+
});
|
|
792
|
+
return data;
|
|
793
|
+
}, "getContractsResponseDtoSchemaResponseTransformer");
|
|
794
|
+
var contractsControllerGetAllContractsResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
795
|
+
data = getContractsResponseDtoSchemaResponseTransformer(data);
|
|
796
|
+
return data;
|
|
797
|
+
}, "contractsControllerGetAllContractsResponseTransformer");
|
|
771
798
|
var validateFlightResponseDtoSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
772
799
|
data.flightId = BigInt(data.flightId.toString());
|
|
773
800
|
return data;
|
|
@@ -788,6 +815,45 @@ var missionsControllerCreateMissionsResponseTransformer = /* @__PURE__ */ __name
|
|
|
788
815
|
data = createMissionResponseDtoSchemaResponseTransformer(data);
|
|
789
816
|
return data;
|
|
790
817
|
}, "missionsControllerCreateMissionsResponseTransformer");
|
|
818
|
+
var getInboundWebhookConfigsResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
819
|
+
data = data.map((item) => {
|
|
820
|
+
item.created_at = new Date(item.created_at);
|
|
821
|
+
item.updated_at = new Date(item.updated_at);
|
|
822
|
+
return item;
|
|
823
|
+
});
|
|
824
|
+
return data;
|
|
825
|
+
}, "getInboundWebhookConfigsResponseSchemaResponseTransformer");
|
|
826
|
+
var inboundWebhookConfigsControllerGetManyResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
827
|
+
data = getInboundWebhookConfigsResponseSchemaResponseTransformer(data);
|
|
828
|
+
return data;
|
|
829
|
+
}, "inboundWebhookConfigsControllerGetManyResponseTransformer");
|
|
830
|
+
var createInboundWebhookConfigResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
831
|
+
data.created_at = new Date(data.created_at);
|
|
832
|
+
data.updated_at = new Date(data.updated_at);
|
|
833
|
+
return data;
|
|
834
|
+
}, "createInboundWebhookConfigResponseSchemaResponseTransformer");
|
|
835
|
+
var inboundWebhookConfigsControllerCreateResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
836
|
+
data = createInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
837
|
+
return data;
|
|
838
|
+
}, "inboundWebhookConfigsControllerCreateResponseTransformer");
|
|
839
|
+
var getInboundWebhookConfigResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
840
|
+
data.created_at = new Date(data.created_at);
|
|
841
|
+
data.updated_at = new Date(data.updated_at);
|
|
842
|
+
return data;
|
|
843
|
+
}, "getInboundWebhookConfigResponseSchemaResponseTransformer");
|
|
844
|
+
var inboundWebhookConfigsControllerGetResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
845
|
+
data = getInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
846
|
+
return data;
|
|
847
|
+
}, "inboundWebhookConfigsControllerGetResponseTransformer");
|
|
848
|
+
var updateInboundWebhookConfigResponseSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
849
|
+
data.created_at = new Date(data.created_at);
|
|
850
|
+
data.updated_at = new Date(data.updated_at);
|
|
851
|
+
return data;
|
|
852
|
+
}, "updateInboundWebhookConfigResponseSchemaResponseTransformer");
|
|
853
|
+
var inboundWebhookConfigsControllerUpdateResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
854
|
+
data = updateInboundWebhookConfigResponseSchemaResponseTransformer(data);
|
|
855
|
+
return data;
|
|
856
|
+
}, "inboundWebhookConfigsControllerUpdateResponseTransformer");
|
|
791
857
|
|
|
792
858
|
// src/client/sdk.gen.ts
|
|
793
859
|
var apiControllerGetHello = /* @__PURE__ */ __name((options) => {
|
|
@@ -866,6 +932,91 @@ var conditionsControllerGetSunAltitudeTimeLimits = /* @__PURE__ */ __name((optio
|
|
|
866
932
|
...options
|
|
867
933
|
});
|
|
868
934
|
}, "conditionsControllerGetSunAltitudeTimeLimits");
|
|
935
|
+
var contractsControllerGetAllContracts = /* @__PURE__ */ __name((options) => {
|
|
936
|
+
return (options?.client ?? client).get({
|
|
937
|
+
security: [
|
|
938
|
+
{
|
|
939
|
+
name: "x-api-token",
|
|
940
|
+
type: "apiKey"
|
|
941
|
+
}
|
|
942
|
+
],
|
|
943
|
+
responseTransformer: contractsControllerGetAllContractsResponseTransformer,
|
|
944
|
+
url: "/contracts",
|
|
945
|
+
...options
|
|
946
|
+
});
|
|
947
|
+
}, "contractsControllerGetAllContracts");
|
|
948
|
+
var contractsControllerCreateContract = /* @__PURE__ */ __name((options) => {
|
|
949
|
+
return (options.client ?? client).post({
|
|
950
|
+
security: [
|
|
951
|
+
{
|
|
952
|
+
name: "x-api-token",
|
|
953
|
+
type: "apiKey"
|
|
954
|
+
}
|
|
955
|
+
],
|
|
956
|
+
url: "/contracts",
|
|
957
|
+
...options,
|
|
958
|
+
headers: {
|
|
959
|
+
"Content-Type": "application/json",
|
|
960
|
+
...options.headers
|
|
961
|
+
}
|
|
962
|
+
});
|
|
963
|
+
}, "contractsControllerCreateContract");
|
|
964
|
+
var contractsControllerDeleteContract = /* @__PURE__ */ __name((options) => {
|
|
965
|
+
return (options.client ?? client).delete({
|
|
966
|
+
security: [
|
|
967
|
+
{
|
|
968
|
+
name: "x-api-token",
|
|
969
|
+
type: "apiKey"
|
|
970
|
+
}
|
|
971
|
+
],
|
|
972
|
+
url: "/contracts/{id}",
|
|
973
|
+
...options
|
|
974
|
+
});
|
|
975
|
+
}, "contractsControllerDeleteContract");
|
|
976
|
+
var contractsControllerGetContract = /* @__PURE__ */ __name((options) => {
|
|
977
|
+
return (options.client ?? client).get({
|
|
978
|
+
security: [
|
|
979
|
+
{
|
|
980
|
+
name: "x-api-token",
|
|
981
|
+
type: "apiKey"
|
|
982
|
+
}
|
|
983
|
+
],
|
|
984
|
+
url: "/contracts/{id}",
|
|
985
|
+
...options
|
|
986
|
+
});
|
|
987
|
+
}, "contractsControllerGetContract");
|
|
988
|
+
var contractsControllerUpdateContract = /* @__PURE__ */ __name((options) => {
|
|
989
|
+
return (options.client ?? client).patch({
|
|
990
|
+
security: [
|
|
991
|
+
{
|
|
992
|
+
name: "x-api-token",
|
|
993
|
+
type: "apiKey"
|
|
994
|
+
}
|
|
995
|
+
],
|
|
996
|
+
url: "/contracts/{id}",
|
|
997
|
+
...options,
|
|
998
|
+
headers: {
|
|
999
|
+
"Content-Type": "application/json",
|
|
1000
|
+
...options.headers
|
|
1001
|
+
}
|
|
1002
|
+
});
|
|
1003
|
+
}, "contractsControllerUpdateContract");
|
|
1004
|
+
var dlqRedriverControllerRedriveDlq = /* @__PURE__ */ __name((options) => {
|
|
1005
|
+
return (options.client ?? client).post({
|
|
1006
|
+
security: [
|
|
1007
|
+
{
|
|
1008
|
+
name: "x-api-token",
|
|
1009
|
+
type: "apiKey"
|
|
1010
|
+
}
|
|
1011
|
+
],
|
|
1012
|
+
url: "/dlq-redriver/redrive",
|
|
1013
|
+
...options,
|
|
1014
|
+
headers: {
|
|
1015
|
+
"Content-Type": "application/json",
|
|
1016
|
+
...options.headers
|
|
1017
|
+
}
|
|
1018
|
+
});
|
|
1019
|
+
}, "dlqRedriverControllerRedriveDlq");
|
|
869
1020
|
var flightsControllerGenerateStorageKey = /* @__PURE__ */ __name((options) => {
|
|
870
1021
|
return (options.client ?? client).get({
|
|
871
1022
|
security: [
|
|
@@ -978,6 +1129,22 @@ var missionsControllerRepriceMissions = /* @__PURE__ */ __name((options) => {
|
|
|
978
1129
|
}
|
|
979
1130
|
});
|
|
980
1131
|
}, "missionsControllerRepriceMissions");
|
|
1132
|
+
var missionsControllerCloseMission = /* @__PURE__ */ __name((options) => {
|
|
1133
|
+
return (options.client ?? client).post({
|
|
1134
|
+
security: [
|
|
1135
|
+
{
|
|
1136
|
+
name: "x-api-token",
|
|
1137
|
+
type: "apiKey"
|
|
1138
|
+
}
|
|
1139
|
+
],
|
|
1140
|
+
url: "/missions/{id}/close",
|
|
1141
|
+
...options,
|
|
1142
|
+
headers: {
|
|
1143
|
+
"Content-Type": "application/json",
|
|
1144
|
+
...options.headers
|
|
1145
|
+
}
|
|
1146
|
+
});
|
|
1147
|
+
}, "missionsControllerCloseMission");
|
|
981
1148
|
var quotesControllerCreateQuote = /* @__PURE__ */ __name((options) => {
|
|
982
1149
|
return (options.client ?? client).post({
|
|
983
1150
|
security: [
|
|
@@ -1012,6 +1179,26 @@ var schemaControllerGetEventSchema = /* @__PURE__ */ __name((options) => {
|
|
|
1012
1179
|
...options
|
|
1013
1180
|
});
|
|
1014
1181
|
}, "schemaControllerGetEventSchema");
|
|
1182
|
+
var vaultsControllerCreateVaults = /* @__PURE__ */ __name((options) => {
|
|
1183
|
+
return (options.client ?? client).post({
|
|
1184
|
+
security: [
|
|
1185
|
+
{
|
|
1186
|
+
name: "x-api-token",
|
|
1187
|
+
type: "apiKey"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
name: "x-api-token",
|
|
1191
|
+
type: "apiKey"
|
|
1192
|
+
}
|
|
1193
|
+
],
|
|
1194
|
+
url: "/vaults",
|
|
1195
|
+
...options,
|
|
1196
|
+
headers: {
|
|
1197
|
+
"Content-Type": "application/json",
|
|
1198
|
+
...options.headers
|
|
1199
|
+
}
|
|
1200
|
+
});
|
|
1201
|
+
}, "vaultsControllerCreateVaults");
|
|
1015
1202
|
var webhooksControllerGetMany = /* @__PURE__ */ __name((options) => {
|
|
1016
1203
|
return (options.client ?? client).get({
|
|
1017
1204
|
security: [
|
|
@@ -1116,6 +1303,88 @@ var webhooksControllerGetStatus = /* @__PURE__ */ __name((options) => {
|
|
|
1116
1303
|
...options
|
|
1117
1304
|
});
|
|
1118
1305
|
}, "webhooksControllerGetStatus");
|
|
1306
|
+
var alchemyControllerHandleWebhook = /* @__PURE__ */ __name((options) => {
|
|
1307
|
+
return (options.client ?? client).post({
|
|
1308
|
+
url: "/webhooks/inbound/alchemy",
|
|
1309
|
+
...options,
|
|
1310
|
+
headers: {
|
|
1311
|
+
"Content-Type": "application/json",
|
|
1312
|
+
...options.headers
|
|
1313
|
+
}
|
|
1314
|
+
});
|
|
1315
|
+
}, "alchemyControllerHandleWebhook");
|
|
1316
|
+
var inboundWebhookConfigsControllerGetMany = /* @__PURE__ */ __name((options) => {
|
|
1317
|
+
return (options?.client ?? client).get({
|
|
1318
|
+
security: [
|
|
1319
|
+
{
|
|
1320
|
+
name: "x-api-token",
|
|
1321
|
+
type: "apiKey"
|
|
1322
|
+
}
|
|
1323
|
+
],
|
|
1324
|
+
responseTransformer: inboundWebhookConfigsControllerGetManyResponseTransformer,
|
|
1325
|
+
url: "/webhooks/inbound/configs",
|
|
1326
|
+
...options
|
|
1327
|
+
});
|
|
1328
|
+
}, "inboundWebhookConfigsControllerGetMany");
|
|
1329
|
+
var inboundWebhookConfigsControllerCreate = /* @__PURE__ */ __name((options) => {
|
|
1330
|
+
return (options.client ?? client).post({
|
|
1331
|
+
security: [
|
|
1332
|
+
{
|
|
1333
|
+
name: "x-api-token",
|
|
1334
|
+
type: "apiKey"
|
|
1335
|
+
}
|
|
1336
|
+
],
|
|
1337
|
+
responseTransformer: inboundWebhookConfigsControllerCreateResponseTransformer,
|
|
1338
|
+
url: "/webhooks/inbound/configs",
|
|
1339
|
+
...options,
|
|
1340
|
+
headers: {
|
|
1341
|
+
"Content-Type": "application/json",
|
|
1342
|
+
...options.headers
|
|
1343
|
+
}
|
|
1344
|
+
});
|
|
1345
|
+
}, "inboundWebhookConfigsControllerCreate");
|
|
1346
|
+
var inboundWebhookConfigsControllerDelete = /* @__PURE__ */ __name((options) => {
|
|
1347
|
+
return (options.client ?? client).delete({
|
|
1348
|
+
security: [
|
|
1349
|
+
{
|
|
1350
|
+
name: "x-api-token",
|
|
1351
|
+
type: "apiKey"
|
|
1352
|
+
}
|
|
1353
|
+
],
|
|
1354
|
+
url: "/webhooks/inbound/configs/{id}",
|
|
1355
|
+
...options
|
|
1356
|
+
});
|
|
1357
|
+
}, "inboundWebhookConfigsControllerDelete");
|
|
1358
|
+
var inboundWebhookConfigsControllerGet = /* @__PURE__ */ __name((options) => {
|
|
1359
|
+
return (options.client ?? client).get({
|
|
1360
|
+
security: [
|
|
1361
|
+
{
|
|
1362
|
+
name: "x-api-token",
|
|
1363
|
+
type: "apiKey"
|
|
1364
|
+
}
|
|
1365
|
+
],
|
|
1366
|
+
responseTransformer: inboundWebhookConfigsControllerGetResponseTransformer,
|
|
1367
|
+
url: "/webhooks/inbound/configs/{id}",
|
|
1368
|
+
...options
|
|
1369
|
+
});
|
|
1370
|
+
}, "inboundWebhookConfigsControllerGet");
|
|
1371
|
+
var inboundWebhookConfigsControllerUpdate = /* @__PURE__ */ __name((options) => {
|
|
1372
|
+
return (options.client ?? client).put({
|
|
1373
|
+
security: [
|
|
1374
|
+
{
|
|
1375
|
+
name: "x-api-token",
|
|
1376
|
+
type: "apiKey"
|
|
1377
|
+
}
|
|
1378
|
+
],
|
|
1379
|
+
responseTransformer: inboundWebhookConfigsControllerUpdateResponseTransformer,
|
|
1380
|
+
url: "/webhooks/inbound/configs/{id}",
|
|
1381
|
+
...options,
|
|
1382
|
+
headers: {
|
|
1383
|
+
"Content-Type": "application/json",
|
|
1384
|
+
...options.headers
|
|
1385
|
+
}
|
|
1386
|
+
});
|
|
1387
|
+
}, "inboundWebhookConfigsControllerUpdate");
|
|
1119
1388
|
|
|
1120
1389
|
// src/event/types.gen.ts
|
|
1121
1390
|
var import_zod = require("zod");
|
|
@@ -1133,6 +1402,7 @@ var Event = import_zod.z.union([
|
|
|
1133
1402
|
event_type: import_zod.z.literal("protocol.mission.created"),
|
|
1134
1403
|
timestamp: import_zod.z.string(),
|
|
1135
1404
|
data: import_zod.z.object({
|
|
1405
|
+
version: import_zod.z.literal(1),
|
|
1136
1406
|
id: import_zod.z.object({
|
|
1137
1407
|
__type: import_zod.z.literal("bigint"),
|
|
1138
1408
|
value: import_zod.z.string()
|
|
@@ -1154,7 +1424,11 @@ var Event = import_zod.z.union([
|
|
|
1154
1424
|
captureEndTime: import_zod.z.string().datetime({
|
|
1155
1425
|
offset: true
|
|
1156
1426
|
}),
|
|
1157
|
-
|
|
1427
|
+
isReservable: import_zod.z.boolean(),
|
|
1428
|
+
requestor: import_zod.z.string().regex(new RegExp("^0x[a-fA-F0-9]{40}$")),
|
|
1429
|
+
collateralTokenAddress: import_zod.z.string().regex(new RegExp("^0x[a-fA-F0-9]{40}$")),
|
|
1430
|
+
chainId: import_zod.z.number(),
|
|
1431
|
+
tags: import_zod.z.record(import_zod.z.string())
|
|
1158
1432
|
}).catchall(import_zod.z.any())
|
|
1159
1433
|
}).catchall(import_zod.z.any()),
|
|
1160
1434
|
import_zod.z.object({
|
|
@@ -1162,6 +1436,7 @@ var Event = import_zod.z.union([
|
|
|
1162
1436
|
event_type: import_zod.z.literal("protocol.mission.updated"),
|
|
1163
1437
|
timestamp: import_zod.z.string(),
|
|
1164
1438
|
data: import_zod.z.object({
|
|
1439
|
+
version: import_zod.z.literal(1),
|
|
1165
1440
|
id: import_zod.z.object({
|
|
1166
1441
|
__type: import_zod.z.literal("bigint"),
|
|
1167
1442
|
value: import_zod.z.string()
|
|
@@ -1179,6 +1454,7 @@ var Event = import_zod.z.union([
|
|
|
1179
1454
|
event_type: import_zod.z.literal("protocol.mission.paid"),
|
|
1180
1455
|
timestamp: import_zod.z.string(),
|
|
1181
1456
|
data: import_zod.z.object({
|
|
1457
|
+
version: import_zod.z.literal(1),
|
|
1182
1458
|
recipient: import_zod.z.string().regex(new RegExp("^0x[a-fA-F0-9]{40}$")),
|
|
1183
1459
|
flightId: import_zod.z.object({
|
|
1184
1460
|
__type: import_zod.z.literal("bigint"),
|
|
@@ -1204,6 +1480,7 @@ var Event = import_zod.z.union([
|
|
|
1204
1480
|
event_type: import_zod.z.literal("protocol.flight.submitted"),
|
|
1205
1481
|
timestamp: import_zod.z.string(),
|
|
1206
1482
|
data: import_zod.z.object({
|
|
1483
|
+
version: import_zod.z.literal(1),
|
|
1207
1484
|
storageKey: import_zod.z.string(),
|
|
1208
1485
|
pilotAddress: import_zod.z.string(),
|
|
1209
1486
|
flightManifestUri: import_zod.z.string(),
|
|
@@ -1218,6 +1495,7 @@ var Event = import_zod.z.union([
|
|
|
1218
1495
|
event_type: import_zod.z.literal("protocol.flight.reviewed"),
|
|
1219
1496
|
timestamp: import_zod.z.string(),
|
|
1220
1497
|
data: import_zod.z.object({
|
|
1498
|
+
version: import_zod.z.literal(1),
|
|
1221
1499
|
flightId: import_zod.z.object({
|
|
1222
1500
|
__type: import_zod.z.literal("bigint"),
|
|
1223
1501
|
value: import_zod.z.string()
|
|
@@ -1263,6 +1541,7 @@ __name(getSecretHeader, "getSecretHeader");
|
|
|
1263
1541
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1264
1542
|
0 && (module.exports = {
|
|
1265
1543
|
Event,
|
|
1544
|
+
alchemyControllerHandleWebhook,
|
|
1266
1545
|
apiControllerGetError,
|
|
1267
1546
|
apiControllerGetHello,
|
|
1268
1547
|
apiTokenControllerCreateToken,
|
|
@@ -1271,16 +1550,28 @@ __name(getSecretHeader, "getSecretHeader");
|
|
|
1271
1550
|
apiTokenControllerUpdateToken,
|
|
1272
1551
|
buildClientParams,
|
|
1273
1552
|
conditionsControllerGetSunAltitudeTimeLimits,
|
|
1553
|
+
contractsControllerCreateContract,
|
|
1554
|
+
contractsControllerDeleteContract,
|
|
1555
|
+
contractsControllerGetAllContracts,
|
|
1556
|
+
contractsControllerGetContract,
|
|
1557
|
+
contractsControllerUpdateContract,
|
|
1274
1558
|
createClient,
|
|
1275
1559
|
createConfig,
|
|
1560
|
+
dlqRedriverControllerRedriveDlq,
|
|
1276
1561
|
flightsControllerCreatePresignedUrls,
|
|
1277
1562
|
flightsControllerGenerateStorageKey,
|
|
1278
1563
|
flightsControllerGetFlight,
|
|
1279
1564
|
flightsControllerValidateFlight,
|
|
1280
1565
|
formDataBodySerializer,
|
|
1566
|
+
inboundWebhookConfigsControllerCreate,
|
|
1567
|
+
inboundWebhookConfigsControllerDelete,
|
|
1568
|
+
inboundWebhookConfigsControllerGet,
|
|
1569
|
+
inboundWebhookConfigsControllerGetMany,
|
|
1570
|
+
inboundWebhookConfigsControllerUpdate,
|
|
1281
1571
|
jsonBodySerializer,
|
|
1282
1572
|
keysControllerGetProvenanceCryptoKey,
|
|
1283
1573
|
mergeHeaders,
|
|
1574
|
+
missionsControllerCloseMission,
|
|
1284
1575
|
missionsControllerCreateMissions,
|
|
1285
1576
|
missionsControllerRepriceMissions,
|
|
1286
1577
|
missionsControllerUpdateMissions,
|
|
@@ -1289,6 +1580,7 @@ __name(getSecretHeader, "getSecretHeader");
|
|
|
1289
1580
|
quotesControllerGetQuote,
|
|
1290
1581
|
schemaControllerGetEventSchema,
|
|
1291
1582
|
urlSearchParamsBodySerializer,
|
|
1583
|
+
vaultsControllerCreateVaults,
|
|
1292
1584
|
webhooksControllerCreate,
|
|
1293
1585
|
webhooksControllerDelete,
|
|
1294
1586
|
webhooksControllerGet,
|