@layer-drone/protocol 0.1.2 → 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 +690 -12
- package/dist/index.d.ts +690 -12
- package/dist/index.js +324 -1
- package/dist/index.mjs +309 -1
- package/package.json +5 -4
- package/src/client/sdk.gen.ts +464 -0
- package/src/client/transformers.gen.ts +102 -0
- package/src/client/types.gen.ts +779 -32
- 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,23 +31,37 @@ __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,
|
|
57
|
+
missionsControllerRepriceMissions: () => missionsControllerRepriceMissions,
|
|
44
58
|
missionsControllerUpdateMissions: () => missionsControllerUpdateMissions,
|
|
45
59
|
parseWebhookEvent: () => parseWebhookEvent,
|
|
46
60
|
quotesControllerCreateQuote: () => quotesControllerCreateQuote,
|
|
47
61
|
quotesControllerGetQuote: () => quotesControllerGetQuote,
|
|
48
62
|
schemaControllerGetEventSchema: () => schemaControllerGetEventSchema,
|
|
49
63
|
urlSearchParamsBodySerializer: () => urlSearchParamsBodySerializer,
|
|
64
|
+
vaultsControllerCreateVaults: () => vaultsControllerCreateVaults,
|
|
50
65
|
webhooksControllerCreate: () => webhooksControllerCreate,
|
|
51
66
|
webhooksControllerDelete: () => webhooksControllerDelete,
|
|
52
67
|
webhooksControllerGet: () => webhooksControllerGet,
|
|
@@ -767,6 +782,19 @@ var conditionsControllerGetSunAltitudeTimeLimitsResponseTransformer = /* @__PURE
|
|
|
767
782
|
data = getTimeLimitsForSunAltitudeResponseSchemaResponseTransformer(data);
|
|
768
783
|
return data;
|
|
769
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");
|
|
770
798
|
var validateFlightResponseDtoSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
771
799
|
data.flightId = BigInt(data.flightId.toString());
|
|
772
800
|
return data;
|
|
@@ -775,6 +803,57 @@ var flightsControllerValidateFlightResponseTransformer = /* @__PURE__ */ __name(
|
|
|
775
803
|
data = validateFlightResponseDtoSchemaResponseTransformer(data);
|
|
776
804
|
return data;
|
|
777
805
|
}, "flightsControllerValidateFlightResponseTransformer");
|
|
806
|
+
var createMissionResponseDtoSchemaResponseTransformer = /* @__PURE__ */ __name((data) => {
|
|
807
|
+
data.data.missions = data.data.missions.map((item) => {
|
|
808
|
+
item.captureStartTime = new Date(item.captureStartTime);
|
|
809
|
+
item.captureEndTime = new Date(item.captureEndTime);
|
|
810
|
+
return item;
|
|
811
|
+
});
|
|
812
|
+
return data;
|
|
813
|
+
}, "createMissionResponseDtoSchemaResponseTransformer");
|
|
814
|
+
var missionsControllerCreateMissionsResponseTransformer = /* @__PURE__ */ __name(async (data) => {
|
|
815
|
+
data = createMissionResponseDtoSchemaResponseTransformer(data);
|
|
816
|
+
return data;
|
|
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");
|
|
778
857
|
|
|
779
858
|
// src/client/sdk.gen.ts
|
|
780
859
|
var apiControllerGetHello = /* @__PURE__ */ __name((options) => {
|
|
@@ -853,6 +932,91 @@ var conditionsControllerGetSunAltitudeTimeLimits = /* @__PURE__ */ __name((optio
|
|
|
853
932
|
...options
|
|
854
933
|
});
|
|
855
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");
|
|
856
1020
|
var flightsControllerGenerateStorageKey = /* @__PURE__ */ __name((options) => {
|
|
857
1021
|
return (options.client ?? client).get({
|
|
858
1022
|
security: [
|
|
@@ -924,6 +1088,7 @@ var missionsControllerCreateMissions = /* @__PURE__ */ __name((options) => {
|
|
|
924
1088
|
type: "apiKey"
|
|
925
1089
|
}
|
|
926
1090
|
],
|
|
1091
|
+
responseTransformer: missionsControllerCreateMissionsResponseTransformer,
|
|
927
1092
|
url: "/missions",
|
|
928
1093
|
...options,
|
|
929
1094
|
headers: {
|
|
@@ -948,6 +1113,38 @@ var missionsControllerUpdateMissions = /* @__PURE__ */ __name((options) => {
|
|
|
948
1113
|
}
|
|
949
1114
|
});
|
|
950
1115
|
}, "missionsControllerUpdateMissions");
|
|
1116
|
+
var missionsControllerRepriceMissions = /* @__PURE__ */ __name((options) => {
|
|
1117
|
+
return (options.client ?? client).put({
|
|
1118
|
+
security: [
|
|
1119
|
+
{
|
|
1120
|
+
name: "x-api-token",
|
|
1121
|
+
type: "apiKey"
|
|
1122
|
+
}
|
|
1123
|
+
],
|
|
1124
|
+
url: "/missions/amounts",
|
|
1125
|
+
...options,
|
|
1126
|
+
headers: {
|
|
1127
|
+
"Content-Type": "application/json",
|
|
1128
|
+
...options.headers
|
|
1129
|
+
}
|
|
1130
|
+
});
|
|
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");
|
|
951
1148
|
var quotesControllerCreateQuote = /* @__PURE__ */ __name((options) => {
|
|
952
1149
|
return (options.client ?? client).post({
|
|
953
1150
|
security: [
|
|
@@ -982,6 +1179,26 @@ var schemaControllerGetEventSchema = /* @__PURE__ */ __name((options) => {
|
|
|
982
1179
|
...options
|
|
983
1180
|
});
|
|
984
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");
|
|
985
1202
|
var webhooksControllerGetMany = /* @__PURE__ */ __name((options) => {
|
|
986
1203
|
return (options.client ?? client).get({
|
|
987
1204
|
security: [
|
|
@@ -1086,6 +1303,88 @@ var webhooksControllerGetStatus = /* @__PURE__ */ __name((options) => {
|
|
|
1086
1303
|
...options
|
|
1087
1304
|
});
|
|
1088
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");
|
|
1089
1388
|
|
|
1090
1389
|
// src/event/types.gen.ts
|
|
1091
1390
|
var import_zod = require("zod");
|
|
@@ -1103,6 +1402,7 @@ var Event = import_zod.z.union([
|
|
|
1103
1402
|
event_type: import_zod.z.literal("protocol.mission.created"),
|
|
1104
1403
|
timestamp: import_zod.z.string(),
|
|
1105
1404
|
data: import_zod.z.object({
|
|
1405
|
+
version: import_zod.z.literal(1),
|
|
1106
1406
|
id: import_zod.z.object({
|
|
1107
1407
|
__type: import_zod.z.literal("bigint"),
|
|
1108
1408
|
value: import_zod.z.string()
|
|
@@ -1124,7 +1424,11 @@ var Event = import_zod.z.union([
|
|
|
1124
1424
|
captureEndTime: import_zod.z.string().datetime({
|
|
1125
1425
|
offset: true
|
|
1126
1426
|
}),
|
|
1127
|
-
|
|
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())
|
|
1128
1432
|
}).catchall(import_zod.z.any())
|
|
1129
1433
|
}).catchall(import_zod.z.any()),
|
|
1130
1434
|
import_zod.z.object({
|
|
@@ -1132,6 +1436,7 @@ var Event = import_zod.z.union([
|
|
|
1132
1436
|
event_type: import_zod.z.literal("protocol.mission.updated"),
|
|
1133
1437
|
timestamp: import_zod.z.string(),
|
|
1134
1438
|
data: import_zod.z.object({
|
|
1439
|
+
version: import_zod.z.literal(1),
|
|
1135
1440
|
id: import_zod.z.object({
|
|
1136
1441
|
__type: import_zod.z.literal("bigint"),
|
|
1137
1442
|
value: import_zod.z.string()
|
|
@@ -1149,6 +1454,7 @@ var Event = import_zod.z.union([
|
|
|
1149
1454
|
event_type: import_zod.z.literal("protocol.mission.paid"),
|
|
1150
1455
|
timestamp: import_zod.z.string(),
|
|
1151
1456
|
data: import_zod.z.object({
|
|
1457
|
+
version: import_zod.z.literal(1),
|
|
1152
1458
|
recipient: import_zod.z.string().regex(new RegExp("^0x[a-fA-F0-9]{40}$")),
|
|
1153
1459
|
flightId: import_zod.z.object({
|
|
1154
1460
|
__type: import_zod.z.literal("bigint"),
|
|
@@ -1174,6 +1480,7 @@ var Event = import_zod.z.union([
|
|
|
1174
1480
|
event_type: import_zod.z.literal("protocol.flight.submitted"),
|
|
1175
1481
|
timestamp: import_zod.z.string(),
|
|
1176
1482
|
data: import_zod.z.object({
|
|
1483
|
+
version: import_zod.z.literal(1),
|
|
1177
1484
|
storageKey: import_zod.z.string(),
|
|
1178
1485
|
pilotAddress: import_zod.z.string(),
|
|
1179
1486
|
flightManifestUri: import_zod.z.string(),
|
|
@@ -1188,6 +1495,7 @@ var Event = import_zod.z.union([
|
|
|
1188
1495
|
event_type: import_zod.z.literal("protocol.flight.reviewed"),
|
|
1189
1496
|
timestamp: import_zod.z.string(),
|
|
1190
1497
|
data: import_zod.z.object({
|
|
1498
|
+
version: import_zod.z.literal(1),
|
|
1191
1499
|
flightId: import_zod.z.object({
|
|
1192
1500
|
__type: import_zod.z.literal("bigint"),
|
|
1193
1501
|
value: import_zod.z.string()
|
|
@@ -1233,6 +1541,7 @@ __name(getSecretHeader, "getSecretHeader");
|
|
|
1233
1541
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1234
1542
|
0 && (module.exports = {
|
|
1235
1543
|
Event,
|
|
1544
|
+
alchemyControllerHandleWebhook,
|
|
1236
1545
|
apiControllerGetError,
|
|
1237
1546
|
apiControllerGetHello,
|
|
1238
1547
|
apiTokenControllerCreateToken,
|
|
@@ -1241,23 +1550,37 @@ __name(getSecretHeader, "getSecretHeader");
|
|
|
1241
1550
|
apiTokenControllerUpdateToken,
|
|
1242
1551
|
buildClientParams,
|
|
1243
1552
|
conditionsControllerGetSunAltitudeTimeLimits,
|
|
1553
|
+
contractsControllerCreateContract,
|
|
1554
|
+
contractsControllerDeleteContract,
|
|
1555
|
+
contractsControllerGetAllContracts,
|
|
1556
|
+
contractsControllerGetContract,
|
|
1557
|
+
contractsControllerUpdateContract,
|
|
1244
1558
|
createClient,
|
|
1245
1559
|
createConfig,
|
|
1560
|
+
dlqRedriverControllerRedriveDlq,
|
|
1246
1561
|
flightsControllerCreatePresignedUrls,
|
|
1247
1562
|
flightsControllerGenerateStorageKey,
|
|
1248
1563
|
flightsControllerGetFlight,
|
|
1249
1564
|
flightsControllerValidateFlight,
|
|
1250
1565
|
formDataBodySerializer,
|
|
1566
|
+
inboundWebhookConfigsControllerCreate,
|
|
1567
|
+
inboundWebhookConfigsControllerDelete,
|
|
1568
|
+
inboundWebhookConfigsControllerGet,
|
|
1569
|
+
inboundWebhookConfigsControllerGetMany,
|
|
1570
|
+
inboundWebhookConfigsControllerUpdate,
|
|
1251
1571
|
jsonBodySerializer,
|
|
1252
1572
|
keysControllerGetProvenanceCryptoKey,
|
|
1253
1573
|
mergeHeaders,
|
|
1574
|
+
missionsControllerCloseMission,
|
|
1254
1575
|
missionsControllerCreateMissions,
|
|
1576
|
+
missionsControllerRepriceMissions,
|
|
1255
1577
|
missionsControllerUpdateMissions,
|
|
1256
1578
|
parseWebhookEvent,
|
|
1257
1579
|
quotesControllerCreateQuote,
|
|
1258
1580
|
quotesControllerGetQuote,
|
|
1259
1581
|
schemaControllerGetEventSchema,
|
|
1260
1582
|
urlSearchParamsBodySerializer,
|
|
1583
|
+
vaultsControllerCreateVaults,
|
|
1261
1584
|
webhooksControllerCreate,
|
|
1262
1585
|
webhooksControllerDelete,
|
|
1263
1586
|
webhooksControllerGet,
|