@trigger.dev/core 0.0.0-isomorphic-sdk-20230918151405 → 0.0.0-next-14-20231026182830
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.ts +1483 -185
- package/dist/index.js +694 -554
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Represents different log levels.
|
|
@@ -194,6 +194,7 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
194
194
|
variant?: string | undefined;
|
|
195
195
|
}>>>;
|
|
196
196
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
197
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
197
198
|
}, "strip", z.ZodTypeAny, {
|
|
198
199
|
name: string;
|
|
199
200
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -223,6 +224,7 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
223
224
|
variant?: string | undefined;
|
|
224
225
|
} | null | undefined;
|
|
225
226
|
operation?: string | null | undefined;
|
|
227
|
+
callbackUrl?: string | null | undefined;
|
|
226
228
|
}, {
|
|
227
229
|
name: string;
|
|
228
230
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -252,6 +254,7 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
252
254
|
variant?: string | undefined;
|
|
253
255
|
} | null | undefined;
|
|
254
256
|
operation?: string | null | undefined;
|
|
257
|
+
callbackUrl?: string | null | undefined;
|
|
255
258
|
}>;
|
|
256
259
|
declare const ServerTaskSchema: z.ZodObject<{
|
|
257
260
|
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -304,8 +307,10 @@ declare const ServerTaskSchema: z.ZodObject<{
|
|
|
304
307
|
output: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
305
308
|
parentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
306
309
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
310
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
307
311
|
idempotencyKey: z.ZodString;
|
|
308
312
|
attempts: z.ZodNumber;
|
|
313
|
+
forceYield: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
309
314
|
}, "strip", z.ZodTypeAny, {
|
|
310
315
|
name: string;
|
|
311
316
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -337,6 +342,8 @@ declare const ServerTaskSchema: z.ZodObject<{
|
|
|
337
342
|
output?: DeserializedJson | undefined;
|
|
338
343
|
parentId?: string | null | undefined;
|
|
339
344
|
operation?: string | null | undefined;
|
|
345
|
+
callbackUrl?: string | null | undefined;
|
|
346
|
+
forceYield?: boolean | null | undefined;
|
|
340
347
|
}, {
|
|
341
348
|
name: string;
|
|
342
349
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -368,6 +375,8 @@ declare const ServerTaskSchema: z.ZodObject<{
|
|
|
368
375
|
output?: DeserializedJson | undefined;
|
|
369
376
|
parentId?: string | null | undefined;
|
|
370
377
|
operation?: string | null | undefined;
|
|
378
|
+
callbackUrl?: string | null | undefined;
|
|
379
|
+
forceYield?: boolean | null | undefined;
|
|
371
380
|
}>;
|
|
372
381
|
type ServerTask = z.infer<typeof ServerTaskSchema>;
|
|
373
382
|
declare const CachedTaskSchema: z.ZodObject<{
|
|
@@ -901,17 +910,17 @@ declare const HandleTriggerSourceSchema: z.ZodObject<{
|
|
|
901
910
|
data: z.ZodAny;
|
|
902
911
|
params: z.ZodAny;
|
|
903
912
|
auth: z.ZodOptional<z.ZodObject<{
|
|
904
|
-
type: z.ZodEnum<["oauth2"]>;
|
|
913
|
+
type: z.ZodEnum<["oauth2", "apiKey"]>;
|
|
905
914
|
accessToken: z.ZodString;
|
|
906
915
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
907
916
|
additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
908
917
|
}, "strip", z.ZodTypeAny, {
|
|
909
|
-
type: "oauth2";
|
|
918
|
+
type: "oauth2" | "apiKey";
|
|
910
919
|
accessToken: string;
|
|
911
920
|
scopes?: string[] | undefined;
|
|
912
921
|
additionalFields?: Record<string, string> | undefined;
|
|
913
922
|
}, {
|
|
914
|
-
type: "oauth2";
|
|
923
|
+
type: "oauth2" | "apiKey";
|
|
915
924
|
accessToken: string;
|
|
916
925
|
scopes?: string[] | undefined;
|
|
917
926
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -923,7 +932,7 @@ declare const HandleTriggerSourceSchema: z.ZodObject<{
|
|
|
923
932
|
data?: any;
|
|
924
933
|
params?: any;
|
|
925
934
|
auth?: {
|
|
926
|
-
type: "oauth2";
|
|
935
|
+
type: "oauth2" | "apiKey";
|
|
927
936
|
accessToken: string;
|
|
928
937
|
scopes?: string[] | undefined;
|
|
929
938
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -935,7 +944,7 @@ declare const HandleTriggerSourceSchema: z.ZodObject<{
|
|
|
935
944
|
data?: any;
|
|
936
945
|
params?: any;
|
|
937
946
|
auth?: {
|
|
938
|
-
type: "oauth2";
|
|
947
|
+
type: "oauth2" | "apiKey";
|
|
939
948
|
accessToken: string;
|
|
940
949
|
scopes?: string[] | undefined;
|
|
941
950
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -948,17 +957,17 @@ declare const HttpSourceRequestSchema: z.ZodObject<{
|
|
|
948
957
|
url: z.ZodString;
|
|
949
958
|
method: z.ZodString;
|
|
950
959
|
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
951
|
-
rawBody: z.ZodNullable<z.ZodOptional<z.ZodType<
|
|
960
|
+
rawBody: z.ZodNullable<z.ZodOptional<z.ZodType<Buffer, z.ZodTypeDef, Buffer>>>;
|
|
952
961
|
}, "strip", z.ZodTypeAny, {
|
|
953
962
|
url: string;
|
|
954
963
|
method: string;
|
|
955
964
|
headers: Record<string, string>;
|
|
956
|
-
rawBody?:
|
|
965
|
+
rawBody?: Buffer | null | undefined;
|
|
957
966
|
}, {
|
|
958
967
|
url: string;
|
|
959
968
|
method: string;
|
|
960
969
|
headers: Record<string, string>;
|
|
961
|
-
rawBody?:
|
|
970
|
+
rawBody?: Buffer | null | undefined;
|
|
962
971
|
}>;
|
|
963
972
|
type HttpSourceRequest = z.infer<typeof HttpSourceRequestSchema>;
|
|
964
973
|
declare const HttpSourceRequestHeadersSchema: z.ZodObject<{
|
|
@@ -971,7 +980,7 @@ declare const HttpSourceRequestHeadersSchema: z.ZodObject<{
|
|
|
971
980
|
"x-ts-http-method": z.ZodString;
|
|
972
981
|
"x-ts-http-headers": z.ZodEffects<z.ZodString, Record<string, string>, string>;
|
|
973
982
|
"x-ts-auth": z.ZodEffects<z.ZodOptional<z.ZodString>, {
|
|
974
|
-
type: "oauth2";
|
|
983
|
+
type: "oauth2" | "apiKey";
|
|
975
984
|
accessToken: string;
|
|
976
985
|
scopes?: string[] | undefined;
|
|
977
986
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -989,7 +998,7 @@ declare const HttpSourceRequestHeadersSchema: z.ZodObject<{
|
|
|
989
998
|
"x-ts-data"?: any;
|
|
990
999
|
"x-ts-params"?: any;
|
|
991
1000
|
"x-ts-auth"?: {
|
|
992
|
-
type: "oauth2";
|
|
1001
|
+
type: "oauth2" | "apiKey";
|
|
993
1002
|
accessToken: string;
|
|
994
1003
|
scopes?: string[] | undefined;
|
|
995
1004
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -1012,76 +1021,112 @@ declare const HttpSourceRequestHeadersSchema: z.ZodObject<{
|
|
|
1012
1021
|
type HttpSourceRequestHeaders = z.output<typeof HttpSourceRequestHeadersSchema>;
|
|
1013
1022
|
declare const PongSuccessResponseSchema: z.ZodObject<{
|
|
1014
1023
|
ok: z.ZodLiteral<true>;
|
|
1024
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
triggerSdkVersion: z.ZodOptional<z.ZodString>;
|
|
1015
1026
|
}, "strip", z.ZodTypeAny, {
|
|
1016
1027
|
ok: true;
|
|
1028
|
+
triggerVersion?: string | undefined;
|
|
1029
|
+
triggerSdkVersion?: string | undefined;
|
|
1017
1030
|
}, {
|
|
1018
1031
|
ok: true;
|
|
1032
|
+
triggerVersion?: string | undefined;
|
|
1033
|
+
triggerSdkVersion?: string | undefined;
|
|
1019
1034
|
}>;
|
|
1020
1035
|
declare const PongErrorResponseSchema: z.ZodObject<{
|
|
1021
1036
|
ok: z.ZodLiteral<false>;
|
|
1022
1037
|
error: z.ZodString;
|
|
1038
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1039
|
+
triggerSdkVersion: z.ZodOptional<z.ZodString>;
|
|
1023
1040
|
}, "strip", z.ZodTypeAny, {
|
|
1024
1041
|
error: string;
|
|
1025
1042
|
ok: false;
|
|
1043
|
+
triggerVersion?: string | undefined;
|
|
1044
|
+
triggerSdkVersion?: string | undefined;
|
|
1026
1045
|
}, {
|
|
1027
1046
|
error: string;
|
|
1028
1047
|
ok: false;
|
|
1048
|
+
triggerVersion?: string | undefined;
|
|
1049
|
+
triggerSdkVersion?: string | undefined;
|
|
1029
1050
|
}>;
|
|
1030
1051
|
declare const PongResponseSchema: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
1031
1052
|
ok: z.ZodLiteral<true>;
|
|
1053
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1054
|
+
triggerSdkVersion: z.ZodOptional<z.ZodString>;
|
|
1032
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1033
1056
|
ok: true;
|
|
1057
|
+
triggerVersion?: string | undefined;
|
|
1058
|
+
triggerSdkVersion?: string | undefined;
|
|
1034
1059
|
}, {
|
|
1035
1060
|
ok: true;
|
|
1061
|
+
triggerVersion?: string | undefined;
|
|
1062
|
+
triggerSdkVersion?: string | undefined;
|
|
1036
1063
|
}>, z.ZodObject<{
|
|
1037
1064
|
ok: z.ZodLiteral<false>;
|
|
1038
1065
|
error: z.ZodString;
|
|
1066
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1067
|
+
triggerSdkVersion: z.ZodOptional<z.ZodString>;
|
|
1039
1068
|
}, "strip", z.ZodTypeAny, {
|
|
1040
1069
|
error: string;
|
|
1041
1070
|
ok: false;
|
|
1071
|
+
triggerVersion?: string | undefined;
|
|
1072
|
+
triggerSdkVersion?: string | undefined;
|
|
1042
1073
|
}, {
|
|
1043
1074
|
error: string;
|
|
1044
1075
|
ok: false;
|
|
1076
|
+
triggerVersion?: string | undefined;
|
|
1077
|
+
triggerSdkVersion?: string | undefined;
|
|
1045
1078
|
}>]>;
|
|
1046
1079
|
type PongResponse = z.infer<typeof PongResponseSchema>;
|
|
1047
1080
|
declare const ValidateSuccessResponseSchema: z.ZodObject<{
|
|
1048
1081
|
ok: z.ZodLiteral<true>;
|
|
1049
1082
|
endpointId: z.ZodString;
|
|
1083
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1050
1084
|
}, "strip", z.ZodTypeAny, {
|
|
1051
1085
|
ok: true;
|
|
1052
1086
|
endpointId: string;
|
|
1087
|
+
triggerVersion?: string | undefined;
|
|
1053
1088
|
}, {
|
|
1054
1089
|
ok: true;
|
|
1055
1090
|
endpointId: string;
|
|
1091
|
+
triggerVersion?: string | undefined;
|
|
1056
1092
|
}>;
|
|
1057
1093
|
declare const ValidateErrorResponseSchema: z.ZodObject<{
|
|
1058
1094
|
ok: z.ZodLiteral<false>;
|
|
1059
1095
|
error: z.ZodString;
|
|
1096
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1060
1097
|
}, "strip", z.ZodTypeAny, {
|
|
1061
1098
|
error: string;
|
|
1062
1099
|
ok: false;
|
|
1100
|
+
triggerVersion?: string | undefined;
|
|
1063
1101
|
}, {
|
|
1064
1102
|
error: string;
|
|
1065
1103
|
ok: false;
|
|
1104
|
+
triggerVersion?: string | undefined;
|
|
1066
1105
|
}>;
|
|
1067
1106
|
declare const ValidateResponseSchema: z.ZodDiscriminatedUnion<"ok", [z.ZodObject<{
|
|
1068
1107
|
ok: z.ZodLiteral<true>;
|
|
1069
1108
|
endpointId: z.ZodString;
|
|
1109
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1070
1110
|
}, "strip", z.ZodTypeAny, {
|
|
1071
1111
|
ok: true;
|
|
1072
1112
|
endpointId: string;
|
|
1113
|
+
triggerVersion?: string | undefined;
|
|
1073
1114
|
}, {
|
|
1074
1115
|
ok: true;
|
|
1075
1116
|
endpointId: string;
|
|
1117
|
+
triggerVersion?: string | undefined;
|
|
1076
1118
|
}>, z.ZodObject<{
|
|
1077
1119
|
ok: z.ZodLiteral<false>;
|
|
1078
1120
|
error: z.ZodString;
|
|
1121
|
+
triggerVersion: z.ZodOptional<z.ZodString>;
|
|
1079
1122
|
}, "strip", z.ZodTypeAny, {
|
|
1080
1123
|
error: string;
|
|
1081
1124
|
ok: false;
|
|
1125
|
+
triggerVersion?: string | undefined;
|
|
1082
1126
|
}, {
|
|
1083
1127
|
error: string;
|
|
1084
1128
|
ok: false;
|
|
1129
|
+
triggerVersion?: string | undefined;
|
|
1085
1130
|
}>]>;
|
|
1086
1131
|
type ValidateResponse = z.infer<typeof ValidateResponseSchema>;
|
|
1087
1132
|
declare const QueueOptionsSchema: z.ZodObject<{
|
|
@@ -1252,18 +1297,21 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1252
1297
|
}, {
|
|
1253
1298
|
seconds: number;
|
|
1254
1299
|
}>;
|
|
1300
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
1255
1301
|
metadata: z.ZodAny;
|
|
1256
1302
|
}, "strip", z.ZodTypeAny, {
|
|
1257
1303
|
options: {
|
|
1258
1304
|
seconds: number;
|
|
1259
1305
|
};
|
|
1260
1306
|
type: "interval";
|
|
1307
|
+
accountId?: string | undefined;
|
|
1261
1308
|
metadata?: any;
|
|
1262
1309
|
}, {
|
|
1263
1310
|
options: {
|
|
1264
1311
|
seconds: number;
|
|
1265
1312
|
};
|
|
1266
1313
|
type: "interval";
|
|
1314
|
+
accountId?: string | undefined;
|
|
1267
1315
|
metadata?: any;
|
|
1268
1316
|
}>, z.ZodObject<{
|
|
1269
1317
|
type: z.ZodLiteral<"cron">;
|
|
@@ -1274,18 +1322,21 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1274
1322
|
}, {
|
|
1275
1323
|
cron: string;
|
|
1276
1324
|
}>;
|
|
1325
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
1277
1326
|
metadata: z.ZodAny;
|
|
1278
1327
|
}, "strip", z.ZodTypeAny, {
|
|
1279
1328
|
options: {
|
|
1280
1329
|
cron: string;
|
|
1281
1330
|
};
|
|
1282
1331
|
type: "cron";
|
|
1332
|
+
accountId?: string | undefined;
|
|
1283
1333
|
metadata?: any;
|
|
1284
1334
|
}, {
|
|
1285
1335
|
options: {
|
|
1286
1336
|
cron: string;
|
|
1287
1337
|
};
|
|
1288
1338
|
type: "cron";
|
|
1339
|
+
accountId?: string | undefined;
|
|
1289
1340
|
metadata?: any;
|
|
1290
1341
|
}>]>;
|
|
1291
1342
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1295,12 +1346,14 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1295
1346
|
cron: string;
|
|
1296
1347
|
};
|
|
1297
1348
|
type: "cron";
|
|
1349
|
+
accountId?: string | undefined;
|
|
1298
1350
|
metadata?: any;
|
|
1299
1351
|
} | {
|
|
1300
1352
|
options: {
|
|
1301
1353
|
seconds: number;
|
|
1302
1354
|
};
|
|
1303
1355
|
type: "interval";
|
|
1356
|
+
accountId?: string | undefined;
|
|
1304
1357
|
metadata?: any;
|
|
1305
1358
|
};
|
|
1306
1359
|
}, {
|
|
@@ -1310,12 +1363,14 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1310
1363
|
cron: string;
|
|
1311
1364
|
};
|
|
1312
1365
|
type: "cron";
|
|
1366
|
+
accountId?: string | undefined;
|
|
1313
1367
|
metadata?: any;
|
|
1314
1368
|
} | {
|
|
1315
1369
|
options: {
|
|
1316
1370
|
seconds: number;
|
|
1317
1371
|
};
|
|
1318
1372
|
type: "interval";
|
|
1373
|
+
accountId?: string | undefined;
|
|
1319
1374
|
metadata?: any;
|
|
1320
1375
|
};
|
|
1321
1376
|
}>]>;
|
|
@@ -1334,7 +1389,7 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1334
1389
|
id: string;
|
|
1335
1390
|
instructions?: string | undefined;
|
|
1336
1391
|
}>;
|
|
1337
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
1392
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
1338
1393
|
}, "strip", z.ZodTypeAny, {
|
|
1339
1394
|
id: string;
|
|
1340
1395
|
metadata: {
|
|
@@ -1342,7 +1397,7 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1342
1397
|
id: string;
|
|
1343
1398
|
instructions?: string | undefined;
|
|
1344
1399
|
};
|
|
1345
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1400
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1346
1401
|
}, {
|
|
1347
1402
|
id: string;
|
|
1348
1403
|
metadata: {
|
|
@@ -1350,7 +1405,7 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1350
1405
|
id: string;
|
|
1351
1406
|
instructions?: string | undefined;
|
|
1352
1407
|
};
|
|
1353
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1408
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1354
1409
|
}>>;
|
|
1355
1410
|
internal: z.ZodDefault<z.ZodBoolean>;
|
|
1356
1411
|
enabled: z.ZodBoolean;
|
|
@@ -1403,12 +1458,14 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1403
1458
|
cron: string;
|
|
1404
1459
|
};
|
|
1405
1460
|
type: "cron";
|
|
1461
|
+
accountId?: string | undefined;
|
|
1406
1462
|
metadata?: any;
|
|
1407
1463
|
} | {
|
|
1408
1464
|
options: {
|
|
1409
1465
|
seconds: number;
|
|
1410
1466
|
};
|
|
1411
1467
|
type: "interval";
|
|
1468
|
+
accountId?: string | undefined;
|
|
1412
1469
|
metadata?: any;
|
|
1413
1470
|
};
|
|
1414
1471
|
};
|
|
@@ -1419,7 +1476,7 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1419
1476
|
id: string;
|
|
1420
1477
|
instructions?: string | undefined;
|
|
1421
1478
|
};
|
|
1422
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1479
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1423
1480
|
}>;
|
|
1424
1481
|
internal: boolean;
|
|
1425
1482
|
enabled: boolean;
|
|
@@ -1472,12 +1529,14 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1472
1529
|
cron: string;
|
|
1473
1530
|
};
|
|
1474
1531
|
type: "cron";
|
|
1532
|
+
accountId?: string | undefined;
|
|
1475
1533
|
metadata?: any;
|
|
1476
1534
|
} | {
|
|
1477
1535
|
options: {
|
|
1478
1536
|
seconds: number;
|
|
1479
1537
|
};
|
|
1480
1538
|
type: "interval";
|
|
1539
|
+
accountId?: string | undefined;
|
|
1481
1540
|
metadata?: any;
|
|
1482
1541
|
};
|
|
1483
1542
|
};
|
|
@@ -1488,7 +1547,7 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1488
1547
|
id: string;
|
|
1489
1548
|
instructions?: string | undefined;
|
|
1490
1549
|
};
|
|
1491
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1550
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1492
1551
|
}>;
|
|
1493
1552
|
enabled: boolean;
|
|
1494
1553
|
startPosition: "initial" | "latest";
|
|
@@ -1514,7 +1573,7 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1514
1573
|
id: string;
|
|
1515
1574
|
instructions?: string | undefined;
|
|
1516
1575
|
}>;
|
|
1517
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
1576
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
1518
1577
|
}, "strip", z.ZodTypeAny, {
|
|
1519
1578
|
id: string;
|
|
1520
1579
|
metadata: {
|
|
@@ -1522,7 +1581,7 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1522
1581
|
id: string;
|
|
1523
1582
|
instructions?: string | undefined;
|
|
1524
1583
|
};
|
|
1525
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1584
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1526
1585
|
}, {
|
|
1527
1586
|
id: string;
|
|
1528
1587
|
metadata: {
|
|
@@ -1530,7 +1589,7 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1530
1589
|
id: string;
|
|
1531
1590
|
instructions?: string | undefined;
|
|
1532
1591
|
};
|
|
1533
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1592
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1534
1593
|
}>;
|
|
1535
1594
|
key: z.ZodString;
|
|
1536
1595
|
params: z.ZodAny;
|
|
@@ -1557,7 +1616,7 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1557
1616
|
id: string;
|
|
1558
1617
|
instructions?: string | undefined;
|
|
1559
1618
|
};
|
|
1560
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1619
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1561
1620
|
};
|
|
1562
1621
|
params?: any;
|
|
1563
1622
|
registerSourceJob?: {
|
|
@@ -1576,7 +1635,7 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1576
1635
|
id: string;
|
|
1577
1636
|
instructions?: string | undefined;
|
|
1578
1637
|
};
|
|
1579
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1638
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1580
1639
|
};
|
|
1581
1640
|
params?: any;
|
|
1582
1641
|
registerSourceJob?: {
|
|
@@ -1603,7 +1662,7 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1603
1662
|
id: string;
|
|
1604
1663
|
instructions?: string | undefined;
|
|
1605
1664
|
}>;
|
|
1606
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
1665
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
1607
1666
|
}, "strip", z.ZodTypeAny, {
|
|
1608
1667
|
id: string;
|
|
1609
1668
|
metadata: {
|
|
@@ -1611,7 +1670,7 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1611
1670
|
id: string;
|
|
1612
1671
|
instructions?: string | undefined;
|
|
1613
1672
|
};
|
|
1614
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1673
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1615
1674
|
}, {
|
|
1616
1675
|
id: string;
|
|
1617
1676
|
metadata: {
|
|
@@ -1619,7 +1678,7 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1619
1678
|
id: string;
|
|
1620
1679
|
instructions?: string | undefined;
|
|
1621
1680
|
};
|
|
1622
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1681
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1623
1682
|
}>;
|
|
1624
1683
|
key: z.ZodString;
|
|
1625
1684
|
params: z.ZodAny;
|
|
@@ -1646,7 +1705,7 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1646
1705
|
id: string;
|
|
1647
1706
|
instructions?: string | undefined;
|
|
1648
1707
|
};
|
|
1649
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1708
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1650
1709
|
};
|
|
1651
1710
|
params?: any;
|
|
1652
1711
|
registerSourceJob?: {
|
|
@@ -1665,7 +1724,7 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1665
1724
|
id: string;
|
|
1666
1725
|
instructions?: string | undefined;
|
|
1667
1726
|
};
|
|
1668
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1727
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1669
1728
|
};
|
|
1670
1729
|
params?: any;
|
|
1671
1730
|
registerSourceJob?: {
|
|
@@ -1833,18 +1892,21 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1833
1892
|
}, {
|
|
1834
1893
|
seconds: number;
|
|
1835
1894
|
}>;
|
|
1895
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
1836
1896
|
metadata: z.ZodAny;
|
|
1837
1897
|
}, "strip", z.ZodTypeAny, {
|
|
1838
1898
|
options: {
|
|
1839
1899
|
seconds: number;
|
|
1840
1900
|
};
|
|
1841
1901
|
type: "interval";
|
|
1902
|
+
accountId?: string | undefined;
|
|
1842
1903
|
metadata?: any;
|
|
1843
1904
|
}, {
|
|
1844
1905
|
options: {
|
|
1845
1906
|
seconds: number;
|
|
1846
1907
|
};
|
|
1847
1908
|
type: "interval";
|
|
1909
|
+
accountId?: string | undefined;
|
|
1848
1910
|
metadata?: any;
|
|
1849
1911
|
}>, z.ZodObject<{
|
|
1850
1912
|
type: z.ZodLiteral<"cron">;
|
|
@@ -1855,18 +1917,21 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1855
1917
|
}, {
|
|
1856
1918
|
cron: string;
|
|
1857
1919
|
}>;
|
|
1920
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
1858
1921
|
metadata: z.ZodAny;
|
|
1859
1922
|
}, "strip", z.ZodTypeAny, {
|
|
1860
1923
|
options: {
|
|
1861
1924
|
cron: string;
|
|
1862
1925
|
};
|
|
1863
1926
|
type: "cron";
|
|
1927
|
+
accountId?: string | undefined;
|
|
1864
1928
|
metadata?: any;
|
|
1865
1929
|
}, {
|
|
1866
1930
|
options: {
|
|
1867
1931
|
cron: string;
|
|
1868
1932
|
};
|
|
1869
1933
|
type: "cron";
|
|
1934
|
+
accountId?: string | undefined;
|
|
1870
1935
|
metadata?: any;
|
|
1871
1936
|
}>]>;
|
|
1872
1937
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1876,12 +1941,14 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1876
1941
|
cron: string;
|
|
1877
1942
|
};
|
|
1878
1943
|
type: "cron";
|
|
1944
|
+
accountId?: string | undefined;
|
|
1879
1945
|
metadata?: any;
|
|
1880
1946
|
} | {
|
|
1881
1947
|
options: {
|
|
1882
1948
|
seconds: number;
|
|
1883
1949
|
};
|
|
1884
1950
|
type: "interval";
|
|
1951
|
+
accountId?: string | undefined;
|
|
1885
1952
|
metadata?: any;
|
|
1886
1953
|
};
|
|
1887
1954
|
}, {
|
|
@@ -1891,12 +1958,14 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1891
1958
|
cron: string;
|
|
1892
1959
|
};
|
|
1893
1960
|
type: "cron";
|
|
1961
|
+
accountId?: string | undefined;
|
|
1894
1962
|
metadata?: any;
|
|
1895
1963
|
} | {
|
|
1896
1964
|
options: {
|
|
1897
1965
|
seconds: number;
|
|
1898
1966
|
};
|
|
1899
1967
|
type: "interval";
|
|
1968
|
+
accountId?: string | undefined;
|
|
1900
1969
|
metadata?: any;
|
|
1901
1970
|
};
|
|
1902
1971
|
}>]>;
|
|
@@ -1915,7 +1984,7 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1915
1984
|
id: string;
|
|
1916
1985
|
instructions?: string | undefined;
|
|
1917
1986
|
}>;
|
|
1918
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
1987
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
1919
1988
|
}, "strip", z.ZodTypeAny, {
|
|
1920
1989
|
id: string;
|
|
1921
1990
|
metadata: {
|
|
@@ -1923,7 +1992,7 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1923
1992
|
id: string;
|
|
1924
1993
|
instructions?: string | undefined;
|
|
1925
1994
|
};
|
|
1926
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1995
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1927
1996
|
}, {
|
|
1928
1997
|
id: string;
|
|
1929
1998
|
metadata: {
|
|
@@ -1931,7 +2000,7 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1931
2000
|
id: string;
|
|
1932
2001
|
instructions?: string | undefined;
|
|
1933
2002
|
};
|
|
1934
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2003
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1935
2004
|
}>>;
|
|
1936
2005
|
internal: z.ZodDefault<z.ZodBoolean>;
|
|
1937
2006
|
enabled: z.ZodBoolean;
|
|
@@ -2134,18 +2203,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2134
2203
|
}, {
|
|
2135
2204
|
seconds: number;
|
|
2136
2205
|
}>;
|
|
2206
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
2137
2207
|
metadata: z.ZodAny;
|
|
2138
2208
|
}, "strip", z.ZodTypeAny, {
|
|
2139
2209
|
options: {
|
|
2140
2210
|
seconds: number;
|
|
2141
2211
|
};
|
|
2142
2212
|
type: "interval";
|
|
2213
|
+
accountId?: string | undefined;
|
|
2143
2214
|
metadata?: any;
|
|
2144
2215
|
}, {
|
|
2145
2216
|
options: {
|
|
2146
2217
|
seconds: number;
|
|
2147
2218
|
};
|
|
2148
2219
|
type: "interval";
|
|
2220
|
+
accountId?: string | undefined;
|
|
2149
2221
|
metadata?: any;
|
|
2150
2222
|
}>, z.ZodObject<{
|
|
2151
2223
|
type: z.ZodLiteral<"cron">;
|
|
@@ -2156,18 +2228,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2156
2228
|
}, {
|
|
2157
2229
|
cron: string;
|
|
2158
2230
|
}>;
|
|
2231
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
2159
2232
|
metadata: z.ZodAny;
|
|
2160
2233
|
}, "strip", z.ZodTypeAny, {
|
|
2161
2234
|
options: {
|
|
2162
2235
|
cron: string;
|
|
2163
2236
|
};
|
|
2164
2237
|
type: "cron";
|
|
2238
|
+
accountId?: string | undefined;
|
|
2165
2239
|
metadata?: any;
|
|
2166
2240
|
}, {
|
|
2167
2241
|
options: {
|
|
2168
2242
|
cron: string;
|
|
2169
2243
|
};
|
|
2170
2244
|
type: "cron";
|
|
2245
|
+
accountId?: string | undefined;
|
|
2171
2246
|
metadata?: any;
|
|
2172
2247
|
}>]>;
|
|
2173
2248
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2177,12 +2252,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2177
2252
|
cron: string;
|
|
2178
2253
|
};
|
|
2179
2254
|
type: "cron";
|
|
2255
|
+
accountId?: string | undefined;
|
|
2180
2256
|
metadata?: any;
|
|
2181
2257
|
} | {
|
|
2182
2258
|
options: {
|
|
2183
2259
|
seconds: number;
|
|
2184
2260
|
};
|
|
2185
2261
|
type: "interval";
|
|
2262
|
+
accountId?: string | undefined;
|
|
2186
2263
|
metadata?: any;
|
|
2187
2264
|
};
|
|
2188
2265
|
}, {
|
|
@@ -2192,12 +2269,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2192
2269
|
cron: string;
|
|
2193
2270
|
};
|
|
2194
2271
|
type: "cron";
|
|
2272
|
+
accountId?: string | undefined;
|
|
2195
2273
|
metadata?: any;
|
|
2196
2274
|
} | {
|
|
2197
2275
|
options: {
|
|
2198
2276
|
seconds: number;
|
|
2199
2277
|
};
|
|
2200
2278
|
type: "interval";
|
|
2279
|
+
accountId?: string | undefined;
|
|
2201
2280
|
metadata?: any;
|
|
2202
2281
|
};
|
|
2203
2282
|
}>]>;
|
|
@@ -2216,7 +2295,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2216
2295
|
id: string;
|
|
2217
2296
|
instructions?: string | undefined;
|
|
2218
2297
|
}>;
|
|
2219
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
2298
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
2220
2299
|
}, "strip", z.ZodTypeAny, {
|
|
2221
2300
|
id: string;
|
|
2222
2301
|
metadata: {
|
|
@@ -2224,7 +2303,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2224
2303
|
id: string;
|
|
2225
2304
|
instructions?: string | undefined;
|
|
2226
2305
|
};
|
|
2227
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2306
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2228
2307
|
}, {
|
|
2229
2308
|
id: string;
|
|
2230
2309
|
metadata: {
|
|
@@ -2232,7 +2311,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2232
2311
|
id: string;
|
|
2233
2312
|
instructions?: string | undefined;
|
|
2234
2313
|
};
|
|
2235
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2314
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2236
2315
|
}>>;
|
|
2237
2316
|
internal: z.ZodDefault<z.ZodBoolean>;
|
|
2238
2317
|
enabled: z.ZodBoolean;
|
|
@@ -2285,12 +2364,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2285
2364
|
cron: string;
|
|
2286
2365
|
};
|
|
2287
2366
|
type: "cron";
|
|
2367
|
+
accountId?: string | undefined;
|
|
2288
2368
|
metadata?: any;
|
|
2289
2369
|
} | {
|
|
2290
2370
|
options: {
|
|
2291
2371
|
seconds: number;
|
|
2292
2372
|
};
|
|
2293
2373
|
type: "interval";
|
|
2374
|
+
accountId?: string | undefined;
|
|
2294
2375
|
metadata?: any;
|
|
2295
2376
|
};
|
|
2296
2377
|
};
|
|
@@ -2301,7 +2382,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2301
2382
|
id: string;
|
|
2302
2383
|
instructions?: string | undefined;
|
|
2303
2384
|
};
|
|
2304
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2385
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2305
2386
|
}>;
|
|
2306
2387
|
internal: boolean;
|
|
2307
2388
|
enabled: boolean;
|
|
@@ -2354,12 +2435,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2354
2435
|
cron: string;
|
|
2355
2436
|
};
|
|
2356
2437
|
type: "cron";
|
|
2438
|
+
accountId?: string | undefined;
|
|
2357
2439
|
metadata?: any;
|
|
2358
2440
|
} | {
|
|
2359
2441
|
options: {
|
|
2360
2442
|
seconds: number;
|
|
2361
2443
|
};
|
|
2362
2444
|
type: "interval";
|
|
2445
|
+
accountId?: string | undefined;
|
|
2363
2446
|
metadata?: any;
|
|
2364
2447
|
};
|
|
2365
2448
|
};
|
|
@@ -2370,7 +2453,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2370
2453
|
id: string;
|
|
2371
2454
|
instructions?: string | undefined;
|
|
2372
2455
|
};
|
|
2373
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2456
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2374
2457
|
}>;
|
|
2375
2458
|
enabled: boolean;
|
|
2376
2459
|
startPosition: "initial" | "latest";
|
|
@@ -2395,7 +2478,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2395
2478
|
id: string;
|
|
2396
2479
|
instructions?: string | undefined;
|
|
2397
2480
|
}>;
|
|
2398
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
2481
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
2399
2482
|
}, "strip", z.ZodTypeAny, {
|
|
2400
2483
|
id: string;
|
|
2401
2484
|
metadata: {
|
|
@@ -2403,7 +2486,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2403
2486
|
id: string;
|
|
2404
2487
|
instructions?: string | undefined;
|
|
2405
2488
|
};
|
|
2406
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2489
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2407
2490
|
}, {
|
|
2408
2491
|
id: string;
|
|
2409
2492
|
metadata: {
|
|
@@ -2411,7 +2494,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2411
2494
|
id: string;
|
|
2412
2495
|
instructions?: string | undefined;
|
|
2413
2496
|
};
|
|
2414
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2497
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2415
2498
|
}>;
|
|
2416
2499
|
key: z.ZodString;
|
|
2417
2500
|
params: z.ZodAny;
|
|
@@ -2438,7 +2521,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2438
2521
|
id: string;
|
|
2439
2522
|
instructions?: string | undefined;
|
|
2440
2523
|
};
|
|
2441
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2524
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2442
2525
|
};
|
|
2443
2526
|
params?: any;
|
|
2444
2527
|
registerSourceJob?: {
|
|
@@ -2457,7 +2540,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2457
2540
|
id: string;
|
|
2458
2541
|
instructions?: string | undefined;
|
|
2459
2542
|
};
|
|
2460
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2543
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2461
2544
|
};
|
|
2462
2545
|
params?: any;
|
|
2463
2546
|
registerSourceJob?: {
|
|
@@ -2482,7 +2565,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2482
2565
|
id: string;
|
|
2483
2566
|
instructions?: string | undefined;
|
|
2484
2567
|
}>;
|
|
2485
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
2568
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
2486
2569
|
}, "strip", z.ZodTypeAny, {
|
|
2487
2570
|
id: string;
|
|
2488
2571
|
metadata: {
|
|
@@ -2490,7 +2573,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2490
2573
|
id: string;
|
|
2491
2574
|
instructions?: string | undefined;
|
|
2492
2575
|
};
|
|
2493
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2576
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2494
2577
|
}, {
|
|
2495
2578
|
id: string;
|
|
2496
2579
|
metadata: {
|
|
@@ -2498,7 +2581,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2498
2581
|
id: string;
|
|
2499
2582
|
instructions?: string | undefined;
|
|
2500
2583
|
};
|
|
2501
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2584
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2502
2585
|
}>;
|
|
2503
2586
|
key: z.ZodString;
|
|
2504
2587
|
params: z.ZodAny;
|
|
@@ -2525,7 +2608,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2525
2608
|
id: string;
|
|
2526
2609
|
instructions?: string | undefined;
|
|
2527
2610
|
};
|
|
2528
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2611
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2529
2612
|
};
|
|
2530
2613
|
params?: any;
|
|
2531
2614
|
registerSourceJob?: {
|
|
@@ -2544,7 +2627,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2544
2627
|
id: string;
|
|
2545
2628
|
instructions?: string | undefined;
|
|
2546
2629
|
};
|
|
2547
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2630
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2548
2631
|
};
|
|
2549
2632
|
params?: any;
|
|
2550
2633
|
registerSourceJob?: {
|
|
@@ -2563,7 +2646,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2563
2646
|
id: string;
|
|
2564
2647
|
instructions?: string | undefined;
|
|
2565
2648
|
};
|
|
2566
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2649
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2567
2650
|
};
|
|
2568
2651
|
params?: any;
|
|
2569
2652
|
registerSourceJob?: {
|
|
@@ -2582,7 +2665,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2582
2665
|
id: string;
|
|
2583
2666
|
instructions?: string | undefined;
|
|
2584
2667
|
};
|
|
2585
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2668
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2586
2669
|
};
|
|
2587
2670
|
params?: any;
|
|
2588
2671
|
registerSourceJob?: {
|
|
@@ -2749,18 +2832,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2749
2832
|
}, {
|
|
2750
2833
|
seconds: number;
|
|
2751
2834
|
}>;
|
|
2835
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
2752
2836
|
metadata: z.ZodAny;
|
|
2753
2837
|
}, "strip", z.ZodTypeAny, {
|
|
2754
2838
|
options: {
|
|
2755
2839
|
seconds: number;
|
|
2756
2840
|
};
|
|
2757
2841
|
type: "interval";
|
|
2842
|
+
accountId?: string | undefined;
|
|
2758
2843
|
metadata?: any;
|
|
2759
2844
|
}, {
|
|
2760
2845
|
options: {
|
|
2761
2846
|
seconds: number;
|
|
2762
2847
|
};
|
|
2763
2848
|
type: "interval";
|
|
2849
|
+
accountId?: string | undefined;
|
|
2764
2850
|
metadata?: any;
|
|
2765
2851
|
}>, z.ZodObject<{
|
|
2766
2852
|
type: z.ZodLiteral<"cron">;
|
|
@@ -2771,18 +2857,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2771
2857
|
}, {
|
|
2772
2858
|
cron: string;
|
|
2773
2859
|
}>;
|
|
2860
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
2774
2861
|
metadata: z.ZodAny;
|
|
2775
2862
|
}, "strip", z.ZodTypeAny, {
|
|
2776
2863
|
options: {
|
|
2777
2864
|
cron: string;
|
|
2778
2865
|
};
|
|
2779
2866
|
type: "cron";
|
|
2867
|
+
accountId?: string | undefined;
|
|
2780
2868
|
metadata?: any;
|
|
2781
2869
|
}, {
|
|
2782
2870
|
options: {
|
|
2783
2871
|
cron: string;
|
|
2784
2872
|
};
|
|
2785
2873
|
type: "cron";
|
|
2874
|
+
accountId?: string | undefined;
|
|
2786
2875
|
metadata?: any;
|
|
2787
2876
|
}>]>;
|
|
2788
2877
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2792,12 +2881,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2792
2881
|
cron: string;
|
|
2793
2882
|
};
|
|
2794
2883
|
type: "cron";
|
|
2884
|
+
accountId?: string | undefined;
|
|
2795
2885
|
metadata?: any;
|
|
2796
2886
|
} | {
|
|
2797
2887
|
options: {
|
|
2798
2888
|
seconds: number;
|
|
2799
2889
|
};
|
|
2800
2890
|
type: "interval";
|
|
2891
|
+
accountId?: string | undefined;
|
|
2801
2892
|
metadata?: any;
|
|
2802
2893
|
};
|
|
2803
2894
|
}, {
|
|
@@ -2807,12 +2898,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2807
2898
|
cron: string;
|
|
2808
2899
|
};
|
|
2809
2900
|
type: "cron";
|
|
2901
|
+
accountId?: string | undefined;
|
|
2810
2902
|
metadata?: any;
|
|
2811
2903
|
} | {
|
|
2812
2904
|
options: {
|
|
2813
2905
|
seconds: number;
|
|
2814
2906
|
};
|
|
2815
2907
|
type: "interval";
|
|
2908
|
+
accountId?: string | undefined;
|
|
2816
2909
|
metadata?: any;
|
|
2817
2910
|
};
|
|
2818
2911
|
}>]>;
|
|
@@ -2831,7 +2924,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2831
2924
|
id: string;
|
|
2832
2925
|
instructions?: string | undefined;
|
|
2833
2926
|
}>;
|
|
2834
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
2927
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
2835
2928
|
}, "strip", z.ZodTypeAny, {
|
|
2836
2929
|
id: string;
|
|
2837
2930
|
metadata: {
|
|
@@ -2839,7 +2932,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2839
2932
|
id: string;
|
|
2840
2933
|
instructions?: string | undefined;
|
|
2841
2934
|
};
|
|
2842
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2935
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2843
2936
|
}, {
|
|
2844
2937
|
id: string;
|
|
2845
2938
|
metadata: {
|
|
@@ -2847,7 +2940,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2847
2940
|
id: string;
|
|
2848
2941
|
instructions?: string | undefined;
|
|
2849
2942
|
};
|
|
2850
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2943
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2851
2944
|
}>>;
|
|
2852
2945
|
internal: z.ZodDefault<z.ZodBoolean>;
|
|
2853
2946
|
enabled: z.ZodBoolean;
|
|
@@ -2964,12 +3057,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2964
3057
|
cron: string;
|
|
2965
3058
|
};
|
|
2966
3059
|
type: "cron";
|
|
3060
|
+
accountId?: string | undefined;
|
|
2967
3061
|
metadata?: any;
|
|
2968
3062
|
} | {
|
|
2969
3063
|
options: {
|
|
2970
3064
|
seconds: number;
|
|
2971
3065
|
};
|
|
2972
3066
|
type: "interval";
|
|
3067
|
+
accountId?: string | undefined;
|
|
2973
3068
|
metadata?: any;
|
|
2974
3069
|
};
|
|
2975
3070
|
};
|
|
@@ -2980,7 +3075,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2980
3075
|
id: string;
|
|
2981
3076
|
instructions?: string | undefined;
|
|
2982
3077
|
};
|
|
2983
|
-
authSource: "HOSTED" | "LOCAL";
|
|
3078
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2984
3079
|
}>;
|
|
2985
3080
|
internal: boolean;
|
|
2986
3081
|
enabled: boolean;
|
|
@@ -2999,7 +3094,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2999
3094
|
id: string;
|
|
3000
3095
|
instructions?: string | undefined;
|
|
3001
3096
|
};
|
|
3002
|
-
authSource: "HOSTED" | "LOCAL";
|
|
3097
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
3003
3098
|
};
|
|
3004
3099
|
params?: any;
|
|
3005
3100
|
registerSourceJob?: {
|
|
@@ -3018,7 +3113,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3018
3113
|
id: string;
|
|
3019
3114
|
instructions?: string | undefined;
|
|
3020
3115
|
};
|
|
3021
|
-
authSource: "HOSTED" | "LOCAL";
|
|
3116
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
3022
3117
|
};
|
|
3023
3118
|
params?: any;
|
|
3024
3119
|
registerSourceJob?: {
|
|
@@ -3092,12 +3187,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3092
3187
|
cron: string;
|
|
3093
3188
|
};
|
|
3094
3189
|
type: "cron";
|
|
3190
|
+
accountId?: string | undefined;
|
|
3095
3191
|
metadata?: any;
|
|
3096
3192
|
} | {
|
|
3097
3193
|
options: {
|
|
3098
3194
|
seconds: number;
|
|
3099
3195
|
};
|
|
3100
3196
|
type: "interval";
|
|
3197
|
+
accountId?: string | undefined;
|
|
3101
3198
|
metadata?: any;
|
|
3102
3199
|
};
|
|
3103
3200
|
};
|
|
@@ -3108,7 +3205,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3108
3205
|
id: string;
|
|
3109
3206
|
instructions?: string | undefined;
|
|
3110
3207
|
};
|
|
3111
|
-
authSource: "HOSTED" | "LOCAL";
|
|
3208
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
3112
3209
|
}>;
|
|
3113
3210
|
enabled: boolean;
|
|
3114
3211
|
startPosition: "initial" | "latest";
|
|
@@ -3136,6 +3233,137 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3136
3233
|
}[];
|
|
3137
3234
|
}>;
|
|
3138
3235
|
type IndexEndpointResponse = z.infer<typeof IndexEndpointResponseSchema>;
|
|
3236
|
+
declare const EndpointIndexErrorSchema: z.ZodObject<{
|
|
3237
|
+
message: z.ZodString;
|
|
3238
|
+
raw: z.ZodOptional<z.ZodAny>;
|
|
3239
|
+
}, "strip", z.ZodTypeAny, {
|
|
3240
|
+
message: string;
|
|
3241
|
+
raw?: any;
|
|
3242
|
+
}, {
|
|
3243
|
+
message: string;
|
|
3244
|
+
raw?: any;
|
|
3245
|
+
}>;
|
|
3246
|
+
type EndpointIndexError = z.infer<typeof EndpointIndexErrorSchema>;
|
|
3247
|
+
declare const IndexEndpointStatsSchema: z.ZodObject<{
|
|
3248
|
+
jobs: z.ZodNumber;
|
|
3249
|
+
sources: z.ZodNumber;
|
|
3250
|
+
dynamicTriggers: z.ZodNumber;
|
|
3251
|
+
dynamicSchedules: z.ZodNumber;
|
|
3252
|
+
disabledJobs: z.ZodDefault<z.ZodNumber>;
|
|
3253
|
+
}, "strip", z.ZodTypeAny, {
|
|
3254
|
+
jobs: number;
|
|
3255
|
+
sources: number;
|
|
3256
|
+
dynamicTriggers: number;
|
|
3257
|
+
dynamicSchedules: number;
|
|
3258
|
+
disabledJobs: number;
|
|
3259
|
+
}, {
|
|
3260
|
+
jobs: number;
|
|
3261
|
+
sources: number;
|
|
3262
|
+
dynamicTriggers: number;
|
|
3263
|
+
dynamicSchedules: number;
|
|
3264
|
+
disabledJobs?: number | undefined;
|
|
3265
|
+
}>;
|
|
3266
|
+
type IndexEndpointStats = z.infer<typeof IndexEndpointStatsSchema>;
|
|
3267
|
+
declare function parseEndpointIndexStats(stats: unknown): IndexEndpointStats | undefined;
|
|
3268
|
+
declare const GetEndpointIndexResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
3269
|
+
status: z.ZodLiteral<"PENDING">;
|
|
3270
|
+
updatedAt: z.ZodDate;
|
|
3271
|
+
}, "strip", z.ZodTypeAny, {
|
|
3272
|
+
status: "PENDING";
|
|
3273
|
+
updatedAt: Date;
|
|
3274
|
+
}, {
|
|
3275
|
+
status: "PENDING";
|
|
3276
|
+
updatedAt: Date;
|
|
3277
|
+
}>, z.ZodObject<{
|
|
3278
|
+
status: z.ZodLiteral<"STARTED">;
|
|
3279
|
+
updatedAt: z.ZodDate;
|
|
3280
|
+
}, "strip", z.ZodTypeAny, {
|
|
3281
|
+
status: "STARTED";
|
|
3282
|
+
updatedAt: Date;
|
|
3283
|
+
}, {
|
|
3284
|
+
status: "STARTED";
|
|
3285
|
+
updatedAt: Date;
|
|
3286
|
+
}>, z.ZodObject<{
|
|
3287
|
+
status: z.ZodLiteral<"SUCCESS">;
|
|
3288
|
+
stats: z.ZodObject<{
|
|
3289
|
+
jobs: z.ZodNumber;
|
|
3290
|
+
sources: z.ZodNumber;
|
|
3291
|
+
dynamicTriggers: z.ZodNumber;
|
|
3292
|
+
dynamicSchedules: z.ZodNumber;
|
|
3293
|
+
disabledJobs: z.ZodDefault<z.ZodNumber>;
|
|
3294
|
+
}, "strip", z.ZodTypeAny, {
|
|
3295
|
+
jobs: number;
|
|
3296
|
+
sources: number;
|
|
3297
|
+
dynamicTriggers: number;
|
|
3298
|
+
dynamicSchedules: number;
|
|
3299
|
+
disabledJobs: number;
|
|
3300
|
+
}, {
|
|
3301
|
+
jobs: number;
|
|
3302
|
+
sources: number;
|
|
3303
|
+
dynamicTriggers: number;
|
|
3304
|
+
dynamicSchedules: number;
|
|
3305
|
+
disabledJobs?: number | undefined;
|
|
3306
|
+
}>;
|
|
3307
|
+
updatedAt: z.ZodDate;
|
|
3308
|
+
}, "strip", z.ZodTypeAny, {
|
|
3309
|
+
status: "SUCCESS";
|
|
3310
|
+
updatedAt: Date;
|
|
3311
|
+
stats: {
|
|
3312
|
+
jobs: number;
|
|
3313
|
+
sources: number;
|
|
3314
|
+
dynamicTriggers: number;
|
|
3315
|
+
dynamicSchedules: number;
|
|
3316
|
+
disabledJobs: number;
|
|
3317
|
+
};
|
|
3318
|
+
}, {
|
|
3319
|
+
status: "SUCCESS";
|
|
3320
|
+
updatedAt: Date;
|
|
3321
|
+
stats: {
|
|
3322
|
+
jobs: number;
|
|
3323
|
+
sources: number;
|
|
3324
|
+
dynamicTriggers: number;
|
|
3325
|
+
dynamicSchedules: number;
|
|
3326
|
+
disabledJobs?: number | undefined;
|
|
3327
|
+
};
|
|
3328
|
+
}>, z.ZodObject<{
|
|
3329
|
+
status: z.ZodLiteral<"FAILURE">;
|
|
3330
|
+
error: z.ZodObject<{
|
|
3331
|
+
message: z.ZodString;
|
|
3332
|
+
raw: z.ZodOptional<z.ZodAny>;
|
|
3333
|
+
}, "strip", z.ZodTypeAny, {
|
|
3334
|
+
message: string;
|
|
3335
|
+
raw?: any;
|
|
3336
|
+
}, {
|
|
3337
|
+
message: string;
|
|
3338
|
+
raw?: any;
|
|
3339
|
+
}>;
|
|
3340
|
+
updatedAt: z.ZodDate;
|
|
3341
|
+
}, "strip", z.ZodTypeAny, {
|
|
3342
|
+
error: {
|
|
3343
|
+
message: string;
|
|
3344
|
+
raw?: any;
|
|
3345
|
+
};
|
|
3346
|
+
status: "FAILURE";
|
|
3347
|
+
updatedAt: Date;
|
|
3348
|
+
}, {
|
|
3349
|
+
error: {
|
|
3350
|
+
message: string;
|
|
3351
|
+
raw?: any;
|
|
3352
|
+
};
|
|
3353
|
+
status: "FAILURE";
|
|
3354
|
+
updatedAt: Date;
|
|
3355
|
+
}>]>;
|
|
3356
|
+
type GetEndpointIndexResponse = z.infer<typeof GetEndpointIndexResponseSchema>;
|
|
3357
|
+
declare const EndpointHeadersSchema: z.ZodObject<{
|
|
3358
|
+
"trigger-version": z.ZodOptional<z.ZodString>;
|
|
3359
|
+
"trigger-sdk-version": z.ZodOptional<z.ZodString>;
|
|
3360
|
+
}, "strip", z.ZodTypeAny, {
|
|
3361
|
+
"trigger-version"?: string | undefined;
|
|
3362
|
+
"trigger-sdk-version"?: string | undefined;
|
|
3363
|
+
}, {
|
|
3364
|
+
"trigger-version"?: string | undefined;
|
|
3365
|
+
"trigger-sdk-version"?: string | undefined;
|
|
3366
|
+
}>;
|
|
3139
3367
|
declare const RawEventSchema: z.ZodObject<{
|
|
3140
3368
|
/** The `name` property must exactly match any subscriptions you want to
|
|
3141
3369
|
trigger. */
|
|
@@ -3364,6 +3592,24 @@ declare const RunSourceContextSchema: z.ZodObject<{
|
|
|
3364
3592
|
id: string;
|
|
3365
3593
|
metadata?: any;
|
|
3366
3594
|
}>;
|
|
3595
|
+
type RunSourceContext = z.infer<typeof RunSourceContextSchema>;
|
|
3596
|
+
declare const AutoYieldConfigSchema: z.ZodObject<{
|
|
3597
|
+
startTaskThreshold: z.ZodNumber;
|
|
3598
|
+
beforeExecuteTaskThreshold: z.ZodNumber;
|
|
3599
|
+
beforeCompleteTaskThreshold: z.ZodNumber;
|
|
3600
|
+
afterCompleteTaskThreshold: z.ZodNumber;
|
|
3601
|
+
}, "strip", z.ZodTypeAny, {
|
|
3602
|
+
startTaskThreshold: number;
|
|
3603
|
+
beforeExecuteTaskThreshold: number;
|
|
3604
|
+
beforeCompleteTaskThreshold: number;
|
|
3605
|
+
afterCompleteTaskThreshold: number;
|
|
3606
|
+
}, {
|
|
3607
|
+
startTaskThreshold: number;
|
|
3608
|
+
beforeExecuteTaskThreshold: number;
|
|
3609
|
+
beforeCompleteTaskThreshold: number;
|
|
3610
|
+
afterCompleteTaskThreshold: number;
|
|
3611
|
+
}>;
|
|
3612
|
+
type AutoYieldConfig = z.infer<typeof AutoYieldConfigSchema>;
|
|
3367
3613
|
declare const RunJobBodySchema: z.ZodObject<{
|
|
3368
3614
|
event: z.ZodObject<{
|
|
3369
3615
|
/** The `id` of the event that was sent.
|
|
@@ -3509,22 +3755,42 @@ declare const RunJobBodySchema: z.ZodObject<{
|
|
|
3509
3755
|
output?: DeserializedJson | undefined;
|
|
3510
3756
|
parentId?: string | null | undefined;
|
|
3511
3757
|
}>, "many">>;
|
|
3758
|
+
cachedTaskCursor: z.ZodOptional<z.ZodString>;
|
|
3759
|
+
noopTasksSet: z.ZodOptional<z.ZodString>;
|
|
3512
3760
|
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3513
|
-
type: z.ZodEnum<["oauth2"]>;
|
|
3761
|
+
type: z.ZodEnum<["oauth2", "apiKey"]>;
|
|
3514
3762
|
accessToken: z.ZodString;
|
|
3515
3763
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3516
3764
|
additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3517
3765
|
}, "strip", z.ZodTypeAny, {
|
|
3518
|
-
type: "oauth2";
|
|
3766
|
+
type: "oauth2" | "apiKey";
|
|
3519
3767
|
accessToken: string;
|
|
3520
3768
|
scopes?: string[] | undefined;
|
|
3521
3769
|
additionalFields?: Record<string, string> | undefined;
|
|
3522
3770
|
}, {
|
|
3523
|
-
type: "oauth2";
|
|
3771
|
+
type: "oauth2" | "apiKey";
|
|
3524
3772
|
accessToken: string;
|
|
3525
3773
|
scopes?: string[] | undefined;
|
|
3526
3774
|
additionalFields?: Record<string, string> | undefined;
|
|
3527
3775
|
}>>>;
|
|
3776
|
+
yieldedExecutions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3777
|
+
runChunkExecutionLimit: z.ZodOptional<z.ZodNumber>;
|
|
3778
|
+
autoYieldConfig: z.ZodOptional<z.ZodObject<{
|
|
3779
|
+
startTaskThreshold: z.ZodNumber;
|
|
3780
|
+
beforeExecuteTaskThreshold: z.ZodNumber;
|
|
3781
|
+
beforeCompleteTaskThreshold: z.ZodNumber;
|
|
3782
|
+
afterCompleteTaskThreshold: z.ZodNumber;
|
|
3783
|
+
}, "strip", z.ZodTypeAny, {
|
|
3784
|
+
startTaskThreshold: number;
|
|
3785
|
+
beforeExecuteTaskThreshold: number;
|
|
3786
|
+
beforeCompleteTaskThreshold: number;
|
|
3787
|
+
afterCompleteTaskThreshold: number;
|
|
3788
|
+
}, {
|
|
3789
|
+
startTaskThreshold: number;
|
|
3790
|
+
beforeExecuteTaskThreshold: number;
|
|
3791
|
+
beforeCompleteTaskThreshold: number;
|
|
3792
|
+
afterCompleteTaskThreshold: number;
|
|
3793
|
+
}>>;
|
|
3528
3794
|
}, "strip", z.ZodTypeAny, {
|
|
3529
3795
|
event: {
|
|
3530
3796
|
name: string;
|
|
@@ -3576,12 +3842,22 @@ declare const RunJobBodySchema: z.ZodObject<{
|
|
|
3576
3842
|
output?: DeserializedJson | undefined;
|
|
3577
3843
|
parentId?: string | null | undefined;
|
|
3578
3844
|
}[] | undefined;
|
|
3845
|
+
cachedTaskCursor?: string | undefined;
|
|
3846
|
+
noopTasksSet?: string | undefined;
|
|
3579
3847
|
connections?: Record<string, {
|
|
3580
|
-
type: "oauth2";
|
|
3848
|
+
type: "oauth2" | "apiKey";
|
|
3581
3849
|
accessToken: string;
|
|
3582
3850
|
scopes?: string[] | undefined;
|
|
3583
3851
|
additionalFields?: Record<string, string> | undefined;
|
|
3584
3852
|
}> | undefined;
|
|
3853
|
+
yieldedExecutions?: string[] | undefined;
|
|
3854
|
+
runChunkExecutionLimit?: number | undefined;
|
|
3855
|
+
autoYieldConfig?: {
|
|
3856
|
+
startTaskThreshold: number;
|
|
3857
|
+
beforeExecuteTaskThreshold: number;
|
|
3858
|
+
beforeCompleteTaskThreshold: number;
|
|
3859
|
+
afterCompleteTaskThreshold: number;
|
|
3860
|
+
} | undefined;
|
|
3585
3861
|
}, {
|
|
3586
3862
|
event: {
|
|
3587
3863
|
name: string;
|
|
@@ -3633,12 +3909,22 @@ declare const RunJobBodySchema: z.ZodObject<{
|
|
|
3633
3909
|
output?: DeserializedJson | undefined;
|
|
3634
3910
|
parentId?: string | null | undefined;
|
|
3635
3911
|
}[] | undefined;
|
|
3912
|
+
cachedTaskCursor?: string | undefined;
|
|
3913
|
+
noopTasksSet?: string | undefined;
|
|
3636
3914
|
connections?: Record<string, {
|
|
3637
|
-
type: "oauth2";
|
|
3915
|
+
type: "oauth2" | "apiKey";
|
|
3638
3916
|
accessToken: string;
|
|
3639
3917
|
scopes?: string[] | undefined;
|
|
3640
3918
|
additionalFields?: Record<string, string> | undefined;
|
|
3641
3919
|
}> | undefined;
|
|
3920
|
+
yieldedExecutions?: string[] | undefined;
|
|
3921
|
+
runChunkExecutionLimit?: number | undefined;
|
|
3922
|
+
autoYieldConfig?: {
|
|
3923
|
+
startTaskThreshold: number;
|
|
3924
|
+
beforeExecuteTaskThreshold: number;
|
|
3925
|
+
beforeCompleteTaskThreshold: number;
|
|
3926
|
+
afterCompleteTaskThreshold: number;
|
|
3927
|
+
} | undefined;
|
|
3642
3928
|
}>;
|
|
3643
3929
|
type RunJobBody = z.infer<typeof RunJobBodySchema>;
|
|
3644
3930
|
declare const RunJobErrorSchema: z.ZodObject<{
|
|
@@ -3707,6 +3993,7 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3707
3993
|
variant?: string | undefined;
|
|
3708
3994
|
}>>>;
|
|
3709
3995
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3996
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3710
3997
|
}, "strip", z.ZodTypeAny, {
|
|
3711
3998
|
name: string;
|
|
3712
3999
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -3736,6 +4023,7 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3736
4023
|
variant?: string | undefined;
|
|
3737
4024
|
} | null | undefined;
|
|
3738
4025
|
operation?: string | null | undefined;
|
|
4026
|
+
callbackUrl?: string | null | undefined;
|
|
3739
4027
|
}, {
|
|
3740
4028
|
name: string;
|
|
3741
4029
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -3765,6 +4053,7 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3765
4053
|
variant?: string | undefined;
|
|
3766
4054
|
} | null | undefined;
|
|
3767
4055
|
operation?: string | null | undefined;
|
|
4056
|
+
callbackUrl?: string | null | undefined;
|
|
3768
4057
|
}>>;
|
|
3769
4058
|
}, "strip", z.ZodTypeAny, {
|
|
3770
4059
|
error: {
|
|
@@ -3802,6 +4091,7 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3802
4091
|
variant?: string | undefined;
|
|
3803
4092
|
} | null | undefined;
|
|
3804
4093
|
operation?: string | null | undefined;
|
|
4094
|
+
callbackUrl?: string | null | undefined;
|
|
3805
4095
|
} | undefined;
|
|
3806
4096
|
}, {
|
|
3807
4097
|
error: {
|
|
@@ -3839,9 +4129,158 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3839
4129
|
variant?: string | undefined;
|
|
3840
4130
|
} | null | undefined;
|
|
3841
4131
|
operation?: string | null | undefined;
|
|
4132
|
+
callbackUrl?: string | null | undefined;
|
|
3842
4133
|
} | undefined;
|
|
3843
4134
|
}>;
|
|
3844
4135
|
type RunJobError = z.infer<typeof RunJobErrorSchema>;
|
|
4136
|
+
declare const RunJobYieldExecutionErrorSchema: z.ZodObject<{
|
|
4137
|
+
status: z.ZodLiteral<"YIELD_EXECUTION">;
|
|
4138
|
+
key: z.ZodString;
|
|
4139
|
+
}, "strip", z.ZodTypeAny, {
|
|
4140
|
+
key: string;
|
|
4141
|
+
status: "YIELD_EXECUTION";
|
|
4142
|
+
}, {
|
|
4143
|
+
key: string;
|
|
4144
|
+
status: "YIELD_EXECUTION";
|
|
4145
|
+
}>;
|
|
4146
|
+
type RunJobYieldExecutionError = z.infer<typeof RunJobYieldExecutionErrorSchema>;
|
|
4147
|
+
declare const RunJobAutoYieldExecutionErrorSchema: z.ZodObject<{
|
|
4148
|
+
status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
|
|
4149
|
+
location: z.ZodString;
|
|
4150
|
+
timeRemaining: z.ZodNumber;
|
|
4151
|
+
timeElapsed: z.ZodNumber;
|
|
4152
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4153
|
+
}, "strip", z.ZodTypeAny, {
|
|
4154
|
+
status: "AUTO_YIELD_EXECUTION";
|
|
4155
|
+
location: string;
|
|
4156
|
+
timeRemaining: number;
|
|
4157
|
+
timeElapsed: number;
|
|
4158
|
+
limit?: number | undefined;
|
|
4159
|
+
}, {
|
|
4160
|
+
status: "AUTO_YIELD_EXECUTION";
|
|
4161
|
+
location: string;
|
|
4162
|
+
timeRemaining: number;
|
|
4163
|
+
timeElapsed: number;
|
|
4164
|
+
limit?: number | undefined;
|
|
4165
|
+
}>;
|
|
4166
|
+
type RunJobAutoYieldExecutionError = z.infer<typeof RunJobAutoYieldExecutionErrorSchema>;
|
|
4167
|
+
declare const RunJobAutoYieldWithCompletedTaskExecutionErrorSchema: z.ZodObject<{
|
|
4168
|
+
status: z.ZodLiteral<"AUTO_YIELD_EXECUTION_WITH_COMPLETED_TASK">;
|
|
4169
|
+
id: z.ZodString;
|
|
4170
|
+
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4171
|
+
label: z.ZodString;
|
|
4172
|
+
text: z.ZodString;
|
|
4173
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4174
|
+
}, "strip", z.ZodTypeAny, {
|
|
4175
|
+
label: string;
|
|
4176
|
+
text: string;
|
|
4177
|
+
url?: string | undefined;
|
|
4178
|
+
}, {
|
|
4179
|
+
label: string;
|
|
4180
|
+
text: string;
|
|
4181
|
+
url?: string | undefined;
|
|
4182
|
+
}>, "many">>;
|
|
4183
|
+
output: z.ZodAny;
|
|
4184
|
+
data: z.ZodObject<{
|
|
4185
|
+
location: z.ZodString;
|
|
4186
|
+
timeRemaining: z.ZodNumber;
|
|
4187
|
+
timeElapsed: z.ZodNumber;
|
|
4188
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4189
|
+
}, "strip", z.ZodTypeAny, {
|
|
4190
|
+
location: string;
|
|
4191
|
+
timeRemaining: number;
|
|
4192
|
+
timeElapsed: number;
|
|
4193
|
+
limit?: number | undefined;
|
|
4194
|
+
}, {
|
|
4195
|
+
location: string;
|
|
4196
|
+
timeRemaining: number;
|
|
4197
|
+
timeElapsed: number;
|
|
4198
|
+
limit?: number | undefined;
|
|
4199
|
+
}>;
|
|
4200
|
+
}, "strip", z.ZodTypeAny, {
|
|
4201
|
+
status: "AUTO_YIELD_EXECUTION_WITH_COMPLETED_TASK";
|
|
4202
|
+
data: {
|
|
4203
|
+
location: string;
|
|
4204
|
+
timeRemaining: number;
|
|
4205
|
+
timeElapsed: number;
|
|
4206
|
+
limit?: number | undefined;
|
|
4207
|
+
};
|
|
4208
|
+
id: string;
|
|
4209
|
+
properties?: {
|
|
4210
|
+
label: string;
|
|
4211
|
+
text: string;
|
|
4212
|
+
url?: string | undefined;
|
|
4213
|
+
}[] | undefined;
|
|
4214
|
+
output?: any;
|
|
4215
|
+
}, {
|
|
4216
|
+
status: "AUTO_YIELD_EXECUTION_WITH_COMPLETED_TASK";
|
|
4217
|
+
data: {
|
|
4218
|
+
location: string;
|
|
4219
|
+
timeRemaining: number;
|
|
4220
|
+
timeElapsed: number;
|
|
4221
|
+
limit?: number | undefined;
|
|
4222
|
+
};
|
|
4223
|
+
id: string;
|
|
4224
|
+
properties?: {
|
|
4225
|
+
label: string;
|
|
4226
|
+
text: string;
|
|
4227
|
+
url?: string | undefined;
|
|
4228
|
+
}[] | undefined;
|
|
4229
|
+
output?: any;
|
|
4230
|
+
}>;
|
|
4231
|
+
type RunJobAutoYieldWithCompletedTaskExecutionError = z.infer<typeof RunJobAutoYieldWithCompletedTaskExecutionErrorSchema>;
|
|
4232
|
+
declare const RunJobInvalidPayloadErrorSchema: z.ZodObject<{
|
|
4233
|
+
status: z.ZodLiteral<"INVALID_PAYLOAD">;
|
|
4234
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
4235
|
+
path: z.ZodArray<z.ZodString, "many">;
|
|
4236
|
+
message: z.ZodString;
|
|
4237
|
+
}, "strip", z.ZodTypeAny, {
|
|
4238
|
+
message: string;
|
|
4239
|
+
path: string[];
|
|
4240
|
+
}, {
|
|
4241
|
+
message: string;
|
|
4242
|
+
path: string[];
|
|
4243
|
+
}>, "many">;
|
|
4244
|
+
}, "strip", z.ZodTypeAny, {
|
|
4245
|
+
status: "INVALID_PAYLOAD";
|
|
4246
|
+
errors: {
|
|
4247
|
+
message: string;
|
|
4248
|
+
path: string[];
|
|
4249
|
+
}[];
|
|
4250
|
+
}, {
|
|
4251
|
+
status: "INVALID_PAYLOAD";
|
|
4252
|
+
errors: {
|
|
4253
|
+
message: string;
|
|
4254
|
+
path: string[];
|
|
4255
|
+
}[];
|
|
4256
|
+
}>;
|
|
4257
|
+
type RunJobInvalidPayloadError = z.infer<typeof RunJobInvalidPayloadErrorSchema>;
|
|
4258
|
+
declare const RunJobUnresolvedAuthErrorSchema: z.ZodObject<{
|
|
4259
|
+
status: z.ZodLiteral<"UNRESOLVED_AUTH_ERROR">;
|
|
4260
|
+
issues: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4261
|
+
id: z.ZodString;
|
|
4262
|
+
error: z.ZodString;
|
|
4263
|
+
}, "strip", z.ZodTypeAny, {
|
|
4264
|
+
error: string;
|
|
4265
|
+
id: string;
|
|
4266
|
+
}, {
|
|
4267
|
+
error: string;
|
|
4268
|
+
id: string;
|
|
4269
|
+
}>>;
|
|
4270
|
+
}, "strip", z.ZodTypeAny, {
|
|
4271
|
+
status: "UNRESOLVED_AUTH_ERROR";
|
|
4272
|
+
issues: Record<string, {
|
|
4273
|
+
error: string;
|
|
4274
|
+
id: string;
|
|
4275
|
+
}>;
|
|
4276
|
+
}, {
|
|
4277
|
+
status: "UNRESOLVED_AUTH_ERROR";
|
|
4278
|
+
issues: Record<string, {
|
|
4279
|
+
error: string;
|
|
4280
|
+
id: string;
|
|
4281
|
+
}>;
|
|
4282
|
+
}>;
|
|
4283
|
+
type RunJobUnresolvedAuthError = z.infer<typeof RunJobUnresolvedAuthErrorSchema>;
|
|
3845
4284
|
declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
3846
4285
|
status: z.ZodLiteral<"RESUME_WITH_TASK">;
|
|
3847
4286
|
task: z.ZodObject<{
|
|
@@ -3895,6 +4334,7 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
|
3895
4334
|
variant?: string | undefined;
|
|
3896
4335
|
}>>>;
|
|
3897
4336
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4337
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3898
4338
|
}, "strip", z.ZodTypeAny, {
|
|
3899
4339
|
name: string;
|
|
3900
4340
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -3924,6 +4364,7 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
|
3924
4364
|
variant?: string | undefined;
|
|
3925
4365
|
} | null | undefined;
|
|
3926
4366
|
operation?: string | null | undefined;
|
|
4367
|
+
callbackUrl?: string | null | undefined;
|
|
3927
4368
|
}, {
|
|
3928
4369
|
name: string;
|
|
3929
4370
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -3953,6 +4394,7 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
|
3953
4394
|
variant?: string | undefined;
|
|
3954
4395
|
} | null | undefined;
|
|
3955
4396
|
operation?: string | null | undefined;
|
|
4397
|
+
callbackUrl?: string | null | undefined;
|
|
3956
4398
|
}>;
|
|
3957
4399
|
}, "strip", z.ZodTypeAny, {
|
|
3958
4400
|
status: "RESUME_WITH_TASK";
|
|
@@ -3985,6 +4427,7 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
|
3985
4427
|
variant?: string | undefined;
|
|
3986
4428
|
} | null | undefined;
|
|
3987
4429
|
operation?: string | null | undefined;
|
|
4430
|
+
callbackUrl?: string | null | undefined;
|
|
3988
4431
|
};
|
|
3989
4432
|
}, {
|
|
3990
4433
|
status: "RESUME_WITH_TASK";
|
|
@@ -4017,6 +4460,7 @@ declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
|
4017
4460
|
variant?: string | undefined;
|
|
4018
4461
|
} | null | undefined;
|
|
4019
4462
|
operation?: string | null | undefined;
|
|
4463
|
+
callbackUrl?: string | null | undefined;
|
|
4020
4464
|
};
|
|
4021
4465
|
}>;
|
|
4022
4466
|
type RunJobResumeWithTask = z.infer<typeof RunJobResumeWithTaskSchema>;
|
|
@@ -4073,6 +4517,7 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
4073
4517
|
variant?: string | undefined;
|
|
4074
4518
|
}>>>;
|
|
4075
4519
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4520
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4076
4521
|
}, "strip", z.ZodTypeAny, {
|
|
4077
4522
|
name: string;
|
|
4078
4523
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4102,6 +4547,7 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
4102
4547
|
variant?: string | undefined;
|
|
4103
4548
|
} | null | undefined;
|
|
4104
4549
|
operation?: string | null | undefined;
|
|
4550
|
+
callbackUrl?: string | null | undefined;
|
|
4105
4551
|
}, {
|
|
4106
4552
|
name: string;
|
|
4107
4553
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4131,6 +4577,7 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
4131
4577
|
variant?: string | undefined;
|
|
4132
4578
|
} | null | undefined;
|
|
4133
4579
|
operation?: string | null | undefined;
|
|
4580
|
+
callbackUrl?: string | null | undefined;
|
|
4134
4581
|
}>;
|
|
4135
4582
|
error: z.ZodObject<{
|
|
4136
4583
|
message: z.ZodString;
|
|
@@ -4182,6 +4629,7 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
4182
4629
|
variant?: string | undefined;
|
|
4183
4630
|
} | null | undefined;
|
|
4184
4631
|
operation?: string | null | undefined;
|
|
4632
|
+
callbackUrl?: string | null | undefined;
|
|
4185
4633
|
};
|
|
4186
4634
|
retryAt: Date;
|
|
4187
4635
|
}, {
|
|
@@ -4220,6 +4668,7 @@ declare const RunJobRetryWithTaskSchema: z.ZodObject<{
|
|
|
4220
4668
|
variant?: string | undefined;
|
|
4221
4669
|
} | null | undefined;
|
|
4222
4670
|
operation?: string | null | undefined;
|
|
4671
|
+
callbackUrl?: string | null | undefined;
|
|
4223
4672
|
};
|
|
4224
4673
|
retryAt: Date;
|
|
4225
4674
|
}>;
|
|
@@ -4277,6 +4726,7 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
|
|
|
4277
4726
|
variant?: string | undefined;
|
|
4278
4727
|
}>>>;
|
|
4279
4728
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4729
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4280
4730
|
}, "strip", z.ZodTypeAny, {
|
|
4281
4731
|
name: string;
|
|
4282
4732
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4306,6 +4756,7 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
|
|
|
4306
4756
|
variant?: string | undefined;
|
|
4307
4757
|
} | null | undefined;
|
|
4308
4758
|
operation?: string | null | undefined;
|
|
4759
|
+
callbackUrl?: string | null | undefined;
|
|
4309
4760
|
}, {
|
|
4310
4761
|
name: string;
|
|
4311
4762
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4335,6 +4786,7 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
|
|
|
4335
4786
|
variant?: string | undefined;
|
|
4336
4787
|
} | null | undefined;
|
|
4337
4788
|
operation?: string | null | undefined;
|
|
4789
|
+
callbackUrl?: string | null | undefined;
|
|
4338
4790
|
}>;
|
|
4339
4791
|
}, "strip", z.ZodTypeAny, {
|
|
4340
4792
|
status: "CANCELED";
|
|
@@ -4367,6 +4819,7 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
|
|
|
4367
4819
|
variant?: string | undefined;
|
|
4368
4820
|
} | null | undefined;
|
|
4369
4821
|
operation?: string | null | undefined;
|
|
4822
|
+
callbackUrl?: string | null | undefined;
|
|
4370
4823
|
};
|
|
4371
4824
|
}, {
|
|
4372
4825
|
status: "CANCELED";
|
|
@@ -4399,6 +4852,7 @@ declare const RunJobCanceledWithTaskSchema: z.ZodObject<{
|
|
|
4399
4852
|
variant?: string | undefined;
|
|
4400
4853
|
} | null | undefined;
|
|
4401
4854
|
operation?: string | null | undefined;
|
|
4855
|
+
callbackUrl?: string | null | undefined;
|
|
4402
4856
|
};
|
|
4403
4857
|
}>;
|
|
4404
4858
|
type RunJobCanceledWithTask = z.infer<typeof RunJobCanceledWithTaskSchema>;
|
|
@@ -4414,6 +4868,96 @@ declare const RunJobSuccessSchema: z.ZodObject<{
|
|
|
4414
4868
|
}>;
|
|
4415
4869
|
type RunJobSuccess = z.infer<typeof RunJobSuccessSchema>;
|
|
4416
4870
|
declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
|
|
4871
|
+
status: z.ZodLiteral<"AUTO_YIELD_EXECUTION">;
|
|
4872
|
+
location: z.ZodString;
|
|
4873
|
+
timeRemaining: z.ZodNumber;
|
|
4874
|
+
timeElapsed: z.ZodNumber;
|
|
4875
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4876
|
+
}, "strip", z.ZodTypeAny, {
|
|
4877
|
+
status: "AUTO_YIELD_EXECUTION";
|
|
4878
|
+
location: string;
|
|
4879
|
+
timeRemaining: number;
|
|
4880
|
+
timeElapsed: number;
|
|
4881
|
+
limit?: number | undefined;
|
|
4882
|
+
}, {
|
|
4883
|
+
status: "AUTO_YIELD_EXECUTION";
|
|
4884
|
+
location: string;
|
|
4885
|
+
timeRemaining: number;
|
|
4886
|
+
timeElapsed: number;
|
|
4887
|
+
limit?: number | undefined;
|
|
4888
|
+
}>, z.ZodObject<{
|
|
4889
|
+
status: z.ZodLiteral<"AUTO_YIELD_EXECUTION_WITH_COMPLETED_TASK">;
|
|
4890
|
+
id: z.ZodString;
|
|
4891
|
+
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4892
|
+
label: z.ZodString;
|
|
4893
|
+
text: z.ZodString;
|
|
4894
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4895
|
+
}, "strip", z.ZodTypeAny, {
|
|
4896
|
+
label: string;
|
|
4897
|
+
text: string;
|
|
4898
|
+
url?: string | undefined;
|
|
4899
|
+
}, {
|
|
4900
|
+
label: string;
|
|
4901
|
+
text: string;
|
|
4902
|
+
url?: string | undefined;
|
|
4903
|
+
}>, "many">>;
|
|
4904
|
+
output: z.ZodAny;
|
|
4905
|
+
data: z.ZodObject<{
|
|
4906
|
+
location: z.ZodString;
|
|
4907
|
+
timeRemaining: z.ZodNumber;
|
|
4908
|
+
timeElapsed: z.ZodNumber;
|
|
4909
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4910
|
+
}, "strip", z.ZodTypeAny, {
|
|
4911
|
+
location: string;
|
|
4912
|
+
timeRemaining: number;
|
|
4913
|
+
timeElapsed: number;
|
|
4914
|
+
limit?: number | undefined;
|
|
4915
|
+
}, {
|
|
4916
|
+
location: string;
|
|
4917
|
+
timeRemaining: number;
|
|
4918
|
+
timeElapsed: number;
|
|
4919
|
+
limit?: number | undefined;
|
|
4920
|
+
}>;
|
|
4921
|
+
}, "strip", z.ZodTypeAny, {
|
|
4922
|
+
status: "AUTO_YIELD_EXECUTION_WITH_COMPLETED_TASK";
|
|
4923
|
+
data: {
|
|
4924
|
+
location: string;
|
|
4925
|
+
timeRemaining: number;
|
|
4926
|
+
timeElapsed: number;
|
|
4927
|
+
limit?: number | undefined;
|
|
4928
|
+
};
|
|
4929
|
+
id: string;
|
|
4930
|
+
properties?: {
|
|
4931
|
+
label: string;
|
|
4932
|
+
text: string;
|
|
4933
|
+
url?: string | undefined;
|
|
4934
|
+
}[] | undefined;
|
|
4935
|
+
output?: any;
|
|
4936
|
+
}, {
|
|
4937
|
+
status: "AUTO_YIELD_EXECUTION_WITH_COMPLETED_TASK";
|
|
4938
|
+
data: {
|
|
4939
|
+
location: string;
|
|
4940
|
+
timeRemaining: number;
|
|
4941
|
+
timeElapsed: number;
|
|
4942
|
+
limit?: number | undefined;
|
|
4943
|
+
};
|
|
4944
|
+
id: string;
|
|
4945
|
+
properties?: {
|
|
4946
|
+
label: string;
|
|
4947
|
+
text: string;
|
|
4948
|
+
url?: string | undefined;
|
|
4949
|
+
}[] | undefined;
|
|
4950
|
+
output?: any;
|
|
4951
|
+
}>, z.ZodObject<{
|
|
4952
|
+
status: z.ZodLiteral<"YIELD_EXECUTION">;
|
|
4953
|
+
key: z.ZodString;
|
|
4954
|
+
}, "strip", z.ZodTypeAny, {
|
|
4955
|
+
key: string;
|
|
4956
|
+
status: "YIELD_EXECUTION";
|
|
4957
|
+
}, {
|
|
4958
|
+
key: string;
|
|
4959
|
+
status: "YIELD_EXECUTION";
|
|
4960
|
+
}>, z.ZodObject<{
|
|
4417
4961
|
status: z.ZodLiteral<"ERROR">;
|
|
4418
4962
|
error: z.ZodObject<{
|
|
4419
4963
|
message: z.ZodString;
|
|
@@ -4479,6 +5023,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4479
5023
|
variant?: string | undefined;
|
|
4480
5024
|
}>>>;
|
|
4481
5025
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5026
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4482
5027
|
}, "strip", z.ZodTypeAny, {
|
|
4483
5028
|
name: string;
|
|
4484
5029
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4508,6 +5053,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4508
5053
|
variant?: string | undefined;
|
|
4509
5054
|
} | null | undefined;
|
|
4510
5055
|
operation?: string | null | undefined;
|
|
5056
|
+
callbackUrl?: string | null | undefined;
|
|
4511
5057
|
}, {
|
|
4512
5058
|
name: string;
|
|
4513
5059
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4537,6 +5083,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4537
5083
|
variant?: string | undefined;
|
|
4538
5084
|
} | null | undefined;
|
|
4539
5085
|
operation?: string | null | undefined;
|
|
5086
|
+
callbackUrl?: string | null | undefined;
|
|
4540
5087
|
}>>;
|
|
4541
5088
|
}, "strip", z.ZodTypeAny, {
|
|
4542
5089
|
error: {
|
|
@@ -4574,6 +5121,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4574
5121
|
variant?: string | undefined;
|
|
4575
5122
|
} | null | undefined;
|
|
4576
5123
|
operation?: string | null | undefined;
|
|
5124
|
+
callbackUrl?: string | null | undefined;
|
|
4577
5125
|
} | undefined;
|
|
4578
5126
|
}, {
|
|
4579
5127
|
error: {
|
|
@@ -4611,7 +5159,56 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4611
5159
|
variant?: string | undefined;
|
|
4612
5160
|
} | null | undefined;
|
|
4613
5161
|
operation?: string | null | undefined;
|
|
5162
|
+
callbackUrl?: string | null | undefined;
|
|
4614
5163
|
} | undefined;
|
|
5164
|
+
}>, z.ZodObject<{
|
|
5165
|
+
status: z.ZodLiteral<"UNRESOLVED_AUTH_ERROR">;
|
|
5166
|
+
issues: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5167
|
+
id: z.ZodString;
|
|
5168
|
+
error: z.ZodString;
|
|
5169
|
+
}, "strip", z.ZodTypeAny, {
|
|
5170
|
+
error: string;
|
|
5171
|
+
id: string;
|
|
5172
|
+
}, {
|
|
5173
|
+
error: string;
|
|
5174
|
+
id: string;
|
|
5175
|
+
}>>;
|
|
5176
|
+
}, "strip", z.ZodTypeAny, {
|
|
5177
|
+
status: "UNRESOLVED_AUTH_ERROR";
|
|
5178
|
+
issues: Record<string, {
|
|
5179
|
+
error: string;
|
|
5180
|
+
id: string;
|
|
5181
|
+
}>;
|
|
5182
|
+
}, {
|
|
5183
|
+
status: "UNRESOLVED_AUTH_ERROR";
|
|
5184
|
+
issues: Record<string, {
|
|
5185
|
+
error: string;
|
|
5186
|
+
id: string;
|
|
5187
|
+
}>;
|
|
5188
|
+
}>, z.ZodObject<{
|
|
5189
|
+
status: z.ZodLiteral<"INVALID_PAYLOAD">;
|
|
5190
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
5191
|
+
path: z.ZodArray<z.ZodString, "many">;
|
|
5192
|
+
message: z.ZodString;
|
|
5193
|
+
}, "strip", z.ZodTypeAny, {
|
|
5194
|
+
message: string;
|
|
5195
|
+
path: string[];
|
|
5196
|
+
}, {
|
|
5197
|
+
message: string;
|
|
5198
|
+
path: string[];
|
|
5199
|
+
}>, "many">;
|
|
5200
|
+
}, "strip", z.ZodTypeAny, {
|
|
5201
|
+
status: "INVALID_PAYLOAD";
|
|
5202
|
+
errors: {
|
|
5203
|
+
message: string;
|
|
5204
|
+
path: string[];
|
|
5205
|
+
}[];
|
|
5206
|
+
}, {
|
|
5207
|
+
status: "INVALID_PAYLOAD";
|
|
5208
|
+
errors: {
|
|
5209
|
+
message: string;
|
|
5210
|
+
path: string[];
|
|
5211
|
+
}[];
|
|
4615
5212
|
}>, z.ZodObject<{
|
|
4616
5213
|
status: z.ZodLiteral<"RESUME_WITH_TASK">;
|
|
4617
5214
|
task: z.ZodObject<{
|
|
@@ -4665,6 +5262,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4665
5262
|
variant?: string | undefined;
|
|
4666
5263
|
}>>>;
|
|
4667
5264
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5265
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4668
5266
|
}, "strip", z.ZodTypeAny, {
|
|
4669
5267
|
name: string;
|
|
4670
5268
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4694,6 +5292,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4694
5292
|
variant?: string | undefined;
|
|
4695
5293
|
} | null | undefined;
|
|
4696
5294
|
operation?: string | null | undefined;
|
|
5295
|
+
callbackUrl?: string | null | undefined;
|
|
4697
5296
|
}, {
|
|
4698
5297
|
name: string;
|
|
4699
5298
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4723,6 +5322,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4723
5322
|
variant?: string | undefined;
|
|
4724
5323
|
} | null | undefined;
|
|
4725
5324
|
operation?: string | null | undefined;
|
|
5325
|
+
callbackUrl?: string | null | undefined;
|
|
4726
5326
|
}>;
|
|
4727
5327
|
}, "strip", z.ZodTypeAny, {
|
|
4728
5328
|
status: "RESUME_WITH_TASK";
|
|
@@ -4755,6 +5355,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4755
5355
|
variant?: string | undefined;
|
|
4756
5356
|
} | null | undefined;
|
|
4757
5357
|
operation?: string | null | undefined;
|
|
5358
|
+
callbackUrl?: string | null | undefined;
|
|
4758
5359
|
};
|
|
4759
5360
|
}, {
|
|
4760
5361
|
status: "RESUME_WITH_TASK";
|
|
@@ -4787,6 +5388,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4787
5388
|
variant?: string | undefined;
|
|
4788
5389
|
} | null | undefined;
|
|
4789
5390
|
operation?: string | null | undefined;
|
|
5391
|
+
callbackUrl?: string | null | undefined;
|
|
4790
5392
|
};
|
|
4791
5393
|
}>, z.ZodObject<{
|
|
4792
5394
|
status: z.ZodLiteral<"RETRY_WITH_TASK">;
|
|
@@ -4841,6 +5443,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4841
5443
|
variant?: string | undefined;
|
|
4842
5444
|
}>>>;
|
|
4843
5445
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5446
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4844
5447
|
}, "strip", z.ZodTypeAny, {
|
|
4845
5448
|
name: string;
|
|
4846
5449
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4870,6 +5473,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4870
5473
|
variant?: string | undefined;
|
|
4871
5474
|
} | null | undefined;
|
|
4872
5475
|
operation?: string | null | undefined;
|
|
5476
|
+
callbackUrl?: string | null | undefined;
|
|
4873
5477
|
}, {
|
|
4874
5478
|
name: string;
|
|
4875
5479
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -4899,6 +5503,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4899
5503
|
variant?: string | undefined;
|
|
4900
5504
|
} | null | undefined;
|
|
4901
5505
|
operation?: string | null | undefined;
|
|
5506
|
+
callbackUrl?: string | null | undefined;
|
|
4902
5507
|
}>;
|
|
4903
5508
|
error: z.ZodObject<{
|
|
4904
5509
|
message: z.ZodString;
|
|
@@ -4950,6 +5555,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4950
5555
|
variant?: string | undefined;
|
|
4951
5556
|
} | null | undefined;
|
|
4952
5557
|
operation?: string | null | undefined;
|
|
5558
|
+
callbackUrl?: string | null | undefined;
|
|
4953
5559
|
};
|
|
4954
5560
|
retryAt: Date;
|
|
4955
5561
|
}, {
|
|
@@ -4988,6 +5594,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4988
5594
|
variant?: string | undefined;
|
|
4989
5595
|
} | null | undefined;
|
|
4990
5596
|
operation?: string | null | undefined;
|
|
5597
|
+
callbackUrl?: string | null | undefined;
|
|
4991
5598
|
};
|
|
4992
5599
|
retryAt: Date;
|
|
4993
5600
|
}>, z.ZodObject<{
|
|
@@ -5043,6 +5650,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5043
5650
|
variant?: string | undefined;
|
|
5044
5651
|
}>>>;
|
|
5045
5652
|
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5653
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5046
5654
|
}, "strip", z.ZodTypeAny, {
|
|
5047
5655
|
name: string;
|
|
5048
5656
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -5072,6 +5680,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5072
5680
|
variant?: string | undefined;
|
|
5073
5681
|
} | null | undefined;
|
|
5074
5682
|
operation?: string | null | undefined;
|
|
5683
|
+
callbackUrl?: string | null | undefined;
|
|
5075
5684
|
}, {
|
|
5076
5685
|
name: string;
|
|
5077
5686
|
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
@@ -5101,6 +5710,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5101
5710
|
variant?: string | undefined;
|
|
5102
5711
|
} | null | undefined;
|
|
5103
5712
|
operation?: string | null | undefined;
|
|
5713
|
+
callbackUrl?: string | null | undefined;
|
|
5104
5714
|
}>;
|
|
5105
5715
|
}, "strip", z.ZodTypeAny, {
|
|
5106
5716
|
status: "CANCELED";
|
|
@@ -5133,6 +5743,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5133
5743
|
variant?: string | undefined;
|
|
5134
5744
|
} | null | undefined;
|
|
5135
5745
|
operation?: string | null | undefined;
|
|
5746
|
+
callbackUrl?: string | null | undefined;
|
|
5136
5747
|
};
|
|
5137
5748
|
}, {
|
|
5138
5749
|
status: "CANCELED";
|
|
@@ -5165,6 +5776,7 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
5165
5776
|
variant?: string | undefined;
|
|
5166
5777
|
} | null | undefined;
|
|
5167
5778
|
operation?: string | null | undefined;
|
|
5779
|
+
callbackUrl?: string | null | undefined;
|
|
5168
5780
|
};
|
|
5169
5781
|
}>, z.ZodObject<{
|
|
5170
5782
|
status: z.ZodLiteral<"SUCCESS">;
|
|
@@ -5515,7 +6127,7 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5515
6127
|
}>>;
|
|
5516
6128
|
/** The icon for the Task, it will appear in the logs.
|
|
5517
6129
|
* You can use the name of a company in lowercase, e.g. "github".
|
|
5518
|
-
* Or any icon name that [
|
|
6130
|
+
* Or any icon name that [Tabler Icons](https://tabler-icons.io/) supports. */
|
|
5519
6131
|
icon: z.ZodOptional<z.ZodString>;
|
|
5520
6132
|
/** The key for the Task that you want to appear in the logs */
|
|
5521
6133
|
displayKey: z.ZodOptional<z.ZodString>;
|
|
@@ -5548,6 +6160,17 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5548
6160
|
style: "normal" | "minimal";
|
|
5549
6161
|
variant?: string | undefined;
|
|
5550
6162
|
}>>;
|
|
6163
|
+
/** Allows you to expose a `task.callbackUrl` to use in your tasks. Enabling this feature will cause the task to return the data sent to the callbackUrl instead of the usual async callback result. */
|
|
6164
|
+
callback: z.ZodOptional<z.ZodObject<{
|
|
6165
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6166
|
+
timeoutInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
6167
|
+
}, "strip", z.ZodTypeAny, {
|
|
6168
|
+
enabled?: boolean | undefined;
|
|
6169
|
+
timeoutInSeconds?: number | undefined;
|
|
6170
|
+
}, {
|
|
6171
|
+
enabled?: boolean | undefined;
|
|
6172
|
+
timeoutInSeconds?: number | undefined;
|
|
6173
|
+
}>>;
|
|
5551
6174
|
/** Allows you to link the Integration connection in the logs. This is handled automatically in integrations. */
|
|
5552
6175
|
connectionKey: z.ZodOptional<z.ZodString>;
|
|
5553
6176
|
/** An operation you want to perform on the Trigger.dev platform, current only "fetch" is supported. If you wish to `fetch` use [`io.backgroundFetch()`](https://trigger.dev/docs/sdk/io/backgroundfetch) instead. */
|
|
@@ -5641,18 +6264,21 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5641
6264
|
}, {
|
|
5642
6265
|
seconds: number;
|
|
5643
6266
|
}>;
|
|
6267
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
5644
6268
|
metadata: z.ZodAny;
|
|
5645
6269
|
}, "strip", z.ZodTypeAny, {
|
|
5646
6270
|
options: {
|
|
5647
6271
|
seconds: number;
|
|
5648
6272
|
};
|
|
5649
6273
|
type: "interval";
|
|
6274
|
+
accountId?: string | undefined;
|
|
5650
6275
|
metadata?: any;
|
|
5651
6276
|
}, {
|
|
5652
6277
|
options: {
|
|
5653
6278
|
seconds: number;
|
|
5654
6279
|
};
|
|
5655
6280
|
type: "interval";
|
|
6281
|
+
accountId?: string | undefined;
|
|
5656
6282
|
metadata?: any;
|
|
5657
6283
|
}>, z.ZodObject<{
|
|
5658
6284
|
type: z.ZodLiteral<"cron">;
|
|
@@ -5663,18 +6289,21 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5663
6289
|
}, {
|
|
5664
6290
|
cron: string;
|
|
5665
6291
|
}>;
|
|
6292
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
5666
6293
|
metadata: z.ZodAny;
|
|
5667
6294
|
}, "strip", z.ZodTypeAny, {
|
|
5668
6295
|
options: {
|
|
5669
6296
|
cron: string;
|
|
5670
6297
|
};
|
|
5671
6298
|
type: "cron";
|
|
6299
|
+
accountId?: string | undefined;
|
|
5672
6300
|
metadata?: any;
|
|
5673
6301
|
}, {
|
|
5674
6302
|
options: {
|
|
5675
6303
|
cron: string;
|
|
5676
6304
|
};
|
|
5677
6305
|
type: "cron";
|
|
6306
|
+
accountId?: string | undefined;
|
|
5678
6307
|
metadata?: any;
|
|
5679
6308
|
}>]>;
|
|
5680
6309
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5684,12 +6313,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5684
6313
|
cron: string;
|
|
5685
6314
|
};
|
|
5686
6315
|
type: "cron";
|
|
6316
|
+
accountId?: string | undefined;
|
|
5687
6317
|
metadata?: any;
|
|
5688
6318
|
} | {
|
|
5689
6319
|
options: {
|
|
5690
6320
|
seconds: number;
|
|
5691
6321
|
};
|
|
5692
6322
|
type: "interval";
|
|
6323
|
+
accountId?: string | undefined;
|
|
5693
6324
|
metadata?: any;
|
|
5694
6325
|
};
|
|
5695
6326
|
}, {
|
|
@@ -5699,12 +6330,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5699
6330
|
cron: string;
|
|
5700
6331
|
};
|
|
5701
6332
|
type: "cron";
|
|
6333
|
+
accountId?: string | undefined;
|
|
5702
6334
|
metadata?: any;
|
|
5703
6335
|
} | {
|
|
5704
6336
|
options: {
|
|
5705
6337
|
seconds: number;
|
|
5706
6338
|
};
|
|
5707
6339
|
type: "interval";
|
|
6340
|
+
accountId?: string | undefined;
|
|
5708
6341
|
metadata?: any;
|
|
5709
6342
|
};
|
|
5710
6343
|
}>]>>;
|
|
@@ -5732,6 +6365,10 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5732
6365
|
style: "normal" | "minimal";
|
|
5733
6366
|
variant?: string | undefined;
|
|
5734
6367
|
} | undefined;
|
|
6368
|
+
callback?: {
|
|
6369
|
+
enabled?: boolean | undefined;
|
|
6370
|
+
timeoutInSeconds?: number | undefined;
|
|
6371
|
+
} | undefined;
|
|
5735
6372
|
connectionKey?: string | undefined;
|
|
5736
6373
|
operation?: "fetch" | undefined;
|
|
5737
6374
|
redact?: {
|
|
@@ -5761,12 +6398,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5761
6398
|
cron: string;
|
|
5762
6399
|
};
|
|
5763
6400
|
type: "cron";
|
|
6401
|
+
accountId?: string | undefined;
|
|
5764
6402
|
metadata?: any;
|
|
5765
6403
|
} | {
|
|
5766
6404
|
options: {
|
|
5767
6405
|
seconds: number;
|
|
5768
6406
|
};
|
|
5769
6407
|
type: "interval";
|
|
6408
|
+
accountId?: string | undefined;
|
|
5770
6409
|
metadata?: any;
|
|
5771
6410
|
};
|
|
5772
6411
|
} | undefined;
|
|
@@ -5793,6 +6432,10 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5793
6432
|
style: "normal" | "minimal";
|
|
5794
6433
|
variant?: string | undefined;
|
|
5795
6434
|
} | undefined;
|
|
6435
|
+
callback?: {
|
|
6436
|
+
enabled?: boolean | undefined;
|
|
6437
|
+
timeoutInSeconds?: number | undefined;
|
|
6438
|
+
} | undefined;
|
|
5796
6439
|
connectionKey?: string | undefined;
|
|
5797
6440
|
operation?: "fetch" | undefined;
|
|
5798
6441
|
noop?: boolean | undefined;
|
|
@@ -5823,12 +6466,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5823
6466
|
cron: string;
|
|
5824
6467
|
};
|
|
5825
6468
|
type: "cron";
|
|
6469
|
+
accountId?: string | undefined;
|
|
5826
6470
|
metadata?: any;
|
|
5827
6471
|
} | {
|
|
5828
6472
|
options: {
|
|
5829
6473
|
seconds: number;
|
|
5830
6474
|
};
|
|
5831
6475
|
type: "interval";
|
|
6476
|
+
accountId?: string | undefined;
|
|
5832
6477
|
metadata?: any;
|
|
5833
6478
|
};
|
|
5834
6479
|
} | undefined;
|
|
@@ -5866,6 +6511,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
5866
6511
|
url?: string | undefined;
|
|
5867
6512
|
}>, "many">>;
|
|
5868
6513
|
operation: z.ZodOptional<z.ZodEnum<["fetch"]>>;
|
|
6514
|
+
displayKey: z.ZodOptional<z.ZodString>;
|
|
5869
6515
|
trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5870
6516
|
type: z.ZodLiteral<"dynamic">;
|
|
5871
6517
|
id: z.ZodString;
|
|
@@ -5946,18 +6592,21 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
5946
6592
|
}, {
|
|
5947
6593
|
seconds: number;
|
|
5948
6594
|
}>;
|
|
6595
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
5949
6596
|
metadata: z.ZodAny;
|
|
5950
6597
|
}, "strip", z.ZodTypeAny, {
|
|
5951
6598
|
options: {
|
|
5952
6599
|
seconds: number;
|
|
5953
6600
|
};
|
|
5954
6601
|
type: "interval";
|
|
6602
|
+
accountId?: string | undefined;
|
|
5955
6603
|
metadata?: any;
|
|
5956
6604
|
}, {
|
|
5957
6605
|
options: {
|
|
5958
6606
|
seconds: number;
|
|
5959
6607
|
};
|
|
5960
6608
|
type: "interval";
|
|
6609
|
+
accountId?: string | undefined;
|
|
5961
6610
|
metadata?: any;
|
|
5962
6611
|
}>, z.ZodObject<{
|
|
5963
6612
|
type: z.ZodLiteral<"cron">;
|
|
@@ -5968,18 +6617,21 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
5968
6617
|
}, {
|
|
5969
6618
|
cron: string;
|
|
5970
6619
|
}>;
|
|
6620
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
5971
6621
|
metadata: z.ZodAny;
|
|
5972
6622
|
}, "strip", z.ZodTypeAny, {
|
|
5973
6623
|
options: {
|
|
5974
6624
|
cron: string;
|
|
5975
6625
|
};
|
|
5976
6626
|
type: "cron";
|
|
6627
|
+
accountId?: string | undefined;
|
|
5977
6628
|
metadata?: any;
|
|
5978
6629
|
}, {
|
|
5979
6630
|
options: {
|
|
5980
6631
|
cron: string;
|
|
5981
6632
|
};
|
|
5982
6633
|
type: "cron";
|
|
6634
|
+
accountId?: string | undefined;
|
|
5983
6635
|
metadata?: any;
|
|
5984
6636
|
}>]>;
|
|
5985
6637
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5989,12 +6641,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
5989
6641
|
cron: string;
|
|
5990
6642
|
};
|
|
5991
6643
|
type: "cron";
|
|
6644
|
+
accountId?: string | undefined;
|
|
5992
6645
|
metadata?: any;
|
|
5993
6646
|
} | {
|
|
5994
6647
|
options: {
|
|
5995
6648
|
seconds: number;
|
|
5996
6649
|
};
|
|
5997
6650
|
type: "interval";
|
|
6651
|
+
accountId?: string | undefined;
|
|
5998
6652
|
metadata?: any;
|
|
5999
6653
|
};
|
|
6000
6654
|
}, {
|
|
@@ -6004,12 +6658,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6004
6658
|
cron: string;
|
|
6005
6659
|
};
|
|
6006
6660
|
type: "cron";
|
|
6661
|
+
accountId?: string | undefined;
|
|
6007
6662
|
metadata?: any;
|
|
6008
6663
|
} | {
|
|
6009
6664
|
options: {
|
|
6010
6665
|
seconds: number;
|
|
6011
6666
|
};
|
|
6012
6667
|
type: "interval";
|
|
6668
|
+
accountId?: string | undefined;
|
|
6013
6669
|
metadata?: any;
|
|
6014
6670
|
};
|
|
6015
6671
|
}>]>>;
|
|
@@ -6037,7 +6693,16 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6037
6693
|
maxTimeoutInMs?: number | undefined;
|
|
6038
6694
|
randomize?: boolean | undefined;
|
|
6039
6695
|
}>>;
|
|
6040
|
-
|
|
6696
|
+
callback: z.ZodOptional<z.ZodObject<{
|
|
6697
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6698
|
+
timeoutInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
6699
|
+
}, "strip", z.ZodTypeAny, {
|
|
6700
|
+
enabled?: boolean | undefined;
|
|
6701
|
+
timeoutInSeconds?: number | undefined;
|
|
6702
|
+
}, {
|
|
6703
|
+
enabled?: boolean | undefined;
|
|
6704
|
+
timeoutInSeconds?: number | undefined;
|
|
6705
|
+
}>>;
|
|
6041
6706
|
connectionKey: z.ZodOptional<z.ZodString>;
|
|
6042
6707
|
redact: z.ZodOptional<z.ZodObject<{
|
|
6043
6708
|
paths: z.ZodArray<z.ZodString, "many">;
|
|
@@ -6066,6 +6731,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6066
6731
|
url?: string | undefined;
|
|
6067
6732
|
}[] | undefined;
|
|
6068
6733
|
operation?: "fetch" | undefined;
|
|
6734
|
+
displayKey?: string | undefined;
|
|
6069
6735
|
trigger?: {
|
|
6070
6736
|
type: "dynamic";
|
|
6071
6737
|
id: string;
|
|
@@ -6090,12 +6756,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6090
6756
|
cron: string;
|
|
6091
6757
|
};
|
|
6092
6758
|
type: "cron";
|
|
6759
|
+
accountId?: string | undefined;
|
|
6093
6760
|
metadata?: any;
|
|
6094
6761
|
} | {
|
|
6095
6762
|
options: {
|
|
6096
6763
|
seconds: number;
|
|
6097
6764
|
};
|
|
6098
6765
|
type: "interval";
|
|
6766
|
+
accountId?: string | undefined;
|
|
6099
6767
|
metadata?: any;
|
|
6100
6768
|
};
|
|
6101
6769
|
} | undefined;
|
|
@@ -6106,7 +6774,10 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6106
6774
|
maxTimeoutInMs?: number | undefined;
|
|
6107
6775
|
randomize?: boolean | undefined;
|
|
6108
6776
|
} | undefined;
|
|
6109
|
-
|
|
6777
|
+
callback?: {
|
|
6778
|
+
enabled?: boolean | undefined;
|
|
6779
|
+
timeoutInSeconds?: number | undefined;
|
|
6780
|
+
} | undefined;
|
|
6110
6781
|
connectionKey?: string | undefined;
|
|
6111
6782
|
redact?: {
|
|
6112
6783
|
paths: string[];
|
|
@@ -6130,6 +6801,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6130
6801
|
url?: string | undefined;
|
|
6131
6802
|
}[] | undefined;
|
|
6132
6803
|
operation?: "fetch" | undefined;
|
|
6804
|
+
displayKey?: string | undefined;
|
|
6133
6805
|
trigger?: {
|
|
6134
6806
|
type: "dynamic";
|
|
6135
6807
|
id: string;
|
|
@@ -6154,12 +6826,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6154
6826
|
cron: string;
|
|
6155
6827
|
};
|
|
6156
6828
|
type: "cron";
|
|
6829
|
+
accountId?: string | undefined;
|
|
6157
6830
|
metadata?: any;
|
|
6158
6831
|
} | {
|
|
6159
6832
|
options: {
|
|
6160
6833
|
seconds: number;
|
|
6161
6834
|
};
|
|
6162
6835
|
type: "interval";
|
|
6836
|
+
accountId?: string | undefined;
|
|
6163
6837
|
metadata?: any;
|
|
6164
6838
|
};
|
|
6165
6839
|
} | undefined;
|
|
@@ -6170,7 +6844,10 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6170
6844
|
maxTimeoutInMs?: number | undefined;
|
|
6171
6845
|
randomize?: boolean | undefined;
|
|
6172
6846
|
} | undefined;
|
|
6173
|
-
|
|
6847
|
+
callback?: {
|
|
6848
|
+
enabled?: boolean | undefined;
|
|
6849
|
+
timeoutInSeconds?: number | undefined;
|
|
6850
|
+
} | undefined;
|
|
6174
6851
|
connectionKey?: string | undefined;
|
|
6175
6852
|
redact?: {
|
|
6176
6853
|
paths: string[];
|
|
@@ -6194,22 +6871,10 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6194
6871
|
noop: z.ZodDefault<z.ZodBoolean>;
|
|
6195
6872
|
delayUntil: z.ZodOptional<z.ZodDate>;
|
|
6196
6873
|
description: z.ZodOptional<z.ZodString>;
|
|
6197
|
-
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6198
|
-
label: z.ZodString;
|
|
6199
|
-
text: z.ZodString;
|
|
6200
|
-
url: z.ZodOptional<z.ZodString>;
|
|
6201
|
-
}, "strip", z.ZodTypeAny, {
|
|
6202
|
-
label: string;
|
|
6203
|
-
text: string;
|
|
6204
|
-
url?: string | undefined;
|
|
6205
|
-
}, {
|
|
6206
|
-
label: string;
|
|
6207
|
-
text: string;
|
|
6208
|
-
url?: string | undefined;
|
|
6209
|
-
}>, "many">>;
|
|
6210
6874
|
parentId: z.ZodOptional<z.ZodString>;
|
|
6211
6875
|
operation: z.ZodOptional<z.ZodEnum<["fetch"]>>;
|
|
6212
6876
|
idempotencyKey: z.ZodString;
|
|
6877
|
+
displayKey: z.ZodOptional<z.ZodString>;
|
|
6213
6878
|
trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6214
6879
|
type: z.ZodLiteral<"dynamic">;
|
|
6215
6880
|
id: z.ZodString;
|
|
@@ -6290,18 +6955,21 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6290
6955
|
}, {
|
|
6291
6956
|
seconds: number;
|
|
6292
6957
|
}>;
|
|
6958
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
6293
6959
|
metadata: z.ZodAny;
|
|
6294
6960
|
}, "strip", z.ZodTypeAny, {
|
|
6295
6961
|
options: {
|
|
6296
6962
|
seconds: number;
|
|
6297
6963
|
};
|
|
6298
6964
|
type: "interval";
|
|
6965
|
+
accountId?: string | undefined;
|
|
6299
6966
|
metadata?: any;
|
|
6300
6967
|
}, {
|
|
6301
6968
|
options: {
|
|
6302
6969
|
seconds: number;
|
|
6303
6970
|
};
|
|
6304
6971
|
type: "interval";
|
|
6972
|
+
accountId?: string | undefined;
|
|
6305
6973
|
metadata?: any;
|
|
6306
6974
|
}>, z.ZodObject<{
|
|
6307
6975
|
type: z.ZodLiteral<"cron">;
|
|
@@ -6312,18 +6980,21 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6312
6980
|
}, {
|
|
6313
6981
|
cron: string;
|
|
6314
6982
|
}>;
|
|
6983
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
6315
6984
|
metadata: z.ZodAny;
|
|
6316
6985
|
}, "strip", z.ZodTypeAny, {
|
|
6317
6986
|
options: {
|
|
6318
6987
|
cron: string;
|
|
6319
6988
|
};
|
|
6320
6989
|
type: "cron";
|
|
6990
|
+
accountId?: string | undefined;
|
|
6321
6991
|
metadata?: any;
|
|
6322
6992
|
}, {
|
|
6323
6993
|
options: {
|
|
6324
6994
|
cron: string;
|
|
6325
6995
|
};
|
|
6326
6996
|
type: "cron";
|
|
6997
|
+
accountId?: string | undefined;
|
|
6327
6998
|
metadata?: any;
|
|
6328
6999
|
}>]>;
|
|
6329
7000
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6333,12 +7004,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6333
7004
|
cron: string;
|
|
6334
7005
|
};
|
|
6335
7006
|
type: "cron";
|
|
7007
|
+
accountId?: string | undefined;
|
|
6336
7008
|
metadata?: any;
|
|
6337
7009
|
} | {
|
|
6338
7010
|
options: {
|
|
6339
7011
|
seconds: number;
|
|
6340
7012
|
};
|
|
6341
7013
|
type: "interval";
|
|
7014
|
+
accountId?: string | undefined;
|
|
6342
7015
|
metadata?: any;
|
|
6343
7016
|
};
|
|
6344
7017
|
}, {
|
|
@@ -6348,12 +7021,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6348
7021
|
cron: string;
|
|
6349
7022
|
};
|
|
6350
7023
|
type: "cron";
|
|
7024
|
+
accountId?: string | undefined;
|
|
6351
7025
|
metadata?: any;
|
|
6352
7026
|
} | {
|
|
6353
7027
|
options: {
|
|
6354
7028
|
seconds: number;
|
|
6355
7029
|
};
|
|
6356
7030
|
type: "interval";
|
|
7031
|
+
accountId?: string | undefined;
|
|
6357
7032
|
metadata?: any;
|
|
6358
7033
|
};
|
|
6359
7034
|
}>]>>;
|
|
@@ -6381,7 +7056,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6381
7056
|
maxTimeoutInMs?: number | undefined;
|
|
6382
7057
|
randomize?: boolean | undefined;
|
|
6383
7058
|
}>>;
|
|
6384
|
-
displayKey: z.ZodOptional<z.ZodString>;
|
|
6385
7059
|
connectionKey: z.ZodOptional<z.ZodString>;
|
|
6386
7060
|
redact: z.ZodOptional<z.ZodObject<{
|
|
6387
7061
|
paths: z.ZodArray<z.ZodString, "many">;
|
|
@@ -6390,10 +7064,33 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6390
7064
|
}, {
|
|
6391
7065
|
paths: string[];
|
|
6392
7066
|
}>>;
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
7067
|
+
properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7068
|
+
label: z.ZodOptional<z.ZodString>;
|
|
7069
|
+
text: z.ZodOptional<z.ZodString>;
|
|
7070
|
+
url: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
7071
|
+
}, "strip", z.ZodTypeAny, {
|
|
7072
|
+
label?: string | undefined;
|
|
7073
|
+
text?: string | undefined;
|
|
7074
|
+
url?: string | undefined;
|
|
7075
|
+
}, {
|
|
7076
|
+
label?: string | undefined;
|
|
7077
|
+
text?: string | undefined;
|
|
7078
|
+
url?: string | undefined;
|
|
7079
|
+
}>, "many">>;
|
|
7080
|
+
params: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
7081
|
+
callback: z.ZodOptional<z.ZodObject<{
|
|
7082
|
+
enabled: z.ZodBoolean;
|
|
7083
|
+
timeoutInSeconds: z.ZodDefault<z.ZodNumber>;
|
|
7084
|
+
}, "strip", z.ZodTypeAny, {
|
|
7085
|
+
enabled: boolean;
|
|
7086
|
+
timeoutInSeconds: number;
|
|
7087
|
+
}, {
|
|
7088
|
+
enabled: boolean;
|
|
7089
|
+
timeoutInSeconds?: number | undefined;
|
|
7090
|
+
}>>;
|
|
7091
|
+
}, "strip", z.ZodTypeAny, {
|
|
7092
|
+
noop: boolean;
|
|
7093
|
+
idempotencyKey: string;
|
|
6397
7094
|
name?: string | undefined;
|
|
6398
7095
|
style?: {
|
|
6399
7096
|
style: "normal" | "minimal";
|
|
@@ -6402,13 +7099,9 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6402
7099
|
icon?: string | undefined;
|
|
6403
7100
|
delayUntil?: Date | undefined;
|
|
6404
7101
|
description?: string | undefined;
|
|
6405
|
-
properties?: {
|
|
6406
|
-
label: string;
|
|
6407
|
-
text: string;
|
|
6408
|
-
url?: string | undefined;
|
|
6409
|
-
}[] | undefined;
|
|
6410
7102
|
parentId?: string | undefined;
|
|
6411
7103
|
operation?: "fetch" | undefined;
|
|
7104
|
+
displayKey?: string | undefined;
|
|
6412
7105
|
trigger?: {
|
|
6413
7106
|
type: "dynamic";
|
|
6414
7107
|
id: string;
|
|
@@ -6433,12 +7126,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6433
7126
|
cron: string;
|
|
6434
7127
|
};
|
|
6435
7128
|
type: "cron";
|
|
7129
|
+
accountId?: string | undefined;
|
|
6436
7130
|
metadata?: any;
|
|
6437
7131
|
} | {
|
|
6438
7132
|
options: {
|
|
6439
7133
|
seconds: number;
|
|
6440
7134
|
};
|
|
6441
7135
|
type: "interval";
|
|
7136
|
+
accountId?: string | undefined;
|
|
6442
7137
|
metadata?: any;
|
|
6443
7138
|
};
|
|
6444
7139
|
} | undefined;
|
|
@@ -6449,12 +7144,20 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6449
7144
|
maxTimeoutInMs?: number | undefined;
|
|
6450
7145
|
randomize?: boolean | undefined;
|
|
6451
7146
|
} | undefined;
|
|
6452
|
-
displayKey?: string | undefined;
|
|
6453
7147
|
connectionKey?: string | undefined;
|
|
6454
7148
|
redact?: {
|
|
6455
7149
|
paths: string[];
|
|
6456
7150
|
} | undefined;
|
|
7151
|
+
properties?: {
|
|
7152
|
+
label?: string | undefined;
|
|
7153
|
+
text?: string | undefined;
|
|
7154
|
+
url?: string | undefined;
|
|
7155
|
+
}[] | undefined;
|
|
6457
7156
|
params?: DeserializedJson | undefined;
|
|
7157
|
+
callback?: {
|
|
7158
|
+
enabled: boolean;
|
|
7159
|
+
timeoutInSeconds: number;
|
|
7160
|
+
} | undefined;
|
|
6458
7161
|
}, {
|
|
6459
7162
|
idempotencyKey: string;
|
|
6460
7163
|
name?: string | undefined;
|
|
@@ -6466,13 +7169,9 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6466
7169
|
noop?: boolean | undefined;
|
|
6467
7170
|
delayUntil?: Date | undefined;
|
|
6468
7171
|
description?: string | undefined;
|
|
6469
|
-
properties?: {
|
|
6470
|
-
label: string;
|
|
6471
|
-
text: string;
|
|
6472
|
-
url?: string | undefined;
|
|
6473
|
-
}[] | undefined;
|
|
6474
7172
|
parentId?: string | undefined;
|
|
6475
7173
|
operation?: "fetch" | undefined;
|
|
7174
|
+
displayKey?: string | undefined;
|
|
6476
7175
|
trigger?: {
|
|
6477
7176
|
type: "dynamic";
|
|
6478
7177
|
id: string;
|
|
@@ -6497,12 +7196,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6497
7196
|
cron: string;
|
|
6498
7197
|
};
|
|
6499
7198
|
type: "cron";
|
|
7199
|
+
accountId?: string | undefined;
|
|
6500
7200
|
metadata?: any;
|
|
6501
7201
|
} | {
|
|
6502
7202
|
options: {
|
|
6503
7203
|
seconds: number;
|
|
6504
7204
|
};
|
|
6505
7205
|
type: "interval";
|
|
7206
|
+
accountId?: string | undefined;
|
|
6506
7207
|
metadata?: any;
|
|
6507
7208
|
};
|
|
6508
7209
|
} | undefined;
|
|
@@ -6513,14 +7214,284 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6513
7214
|
maxTimeoutInMs?: number | undefined;
|
|
6514
7215
|
randomize?: boolean | undefined;
|
|
6515
7216
|
} | undefined;
|
|
6516
|
-
displayKey?: string | undefined;
|
|
6517
7217
|
connectionKey?: string | undefined;
|
|
6518
7218
|
redact?: {
|
|
6519
7219
|
paths: string[];
|
|
6520
7220
|
} | undefined;
|
|
7221
|
+
properties?: {
|
|
7222
|
+
label?: string | undefined;
|
|
7223
|
+
text?: string | undefined;
|
|
7224
|
+
url?: string | undefined;
|
|
7225
|
+
}[] | undefined;
|
|
6521
7226
|
params?: DeserializedJson | undefined;
|
|
7227
|
+
callback?: {
|
|
7228
|
+
enabled: boolean;
|
|
7229
|
+
timeoutInSeconds?: number | undefined;
|
|
7230
|
+
} | undefined;
|
|
6522
7231
|
}>;
|
|
6523
7232
|
type RunTaskBodyOutput = z.infer<typeof RunTaskBodyOutputSchema>;
|
|
7233
|
+
declare const RunTaskResponseWithCachedTasksBodySchema: z.ZodObject<{
|
|
7234
|
+
task: z.ZodObject<{
|
|
7235
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7236
|
+
name: z.ZodString;
|
|
7237
|
+
params: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
7238
|
+
status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
|
|
7239
|
+
id: z.ZodString;
|
|
7240
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7241
|
+
style: z.ZodEnum<["normal", "minimal"]>;
|
|
7242
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
7243
|
+
}, "strip", z.ZodTypeAny, {
|
|
7244
|
+
style: "normal" | "minimal";
|
|
7245
|
+
variant?: string | undefined;
|
|
7246
|
+
}, {
|
|
7247
|
+
style: "normal" | "minimal";
|
|
7248
|
+
variant?: string | undefined;
|
|
7249
|
+
}>>>;
|
|
7250
|
+
icon: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7251
|
+
noop: z.ZodBoolean;
|
|
7252
|
+
startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
7253
|
+
completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
7254
|
+
delayUntil: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
7255
|
+
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7256
|
+
properties: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7257
|
+
label: z.ZodString;
|
|
7258
|
+
text: z.ZodString;
|
|
7259
|
+
url: z.ZodOptional<z.ZodString>;
|
|
7260
|
+
}, "strip", z.ZodTypeAny, {
|
|
7261
|
+
label: string;
|
|
7262
|
+
text: string;
|
|
7263
|
+
url?: string | undefined;
|
|
7264
|
+
}, {
|
|
7265
|
+
label: string;
|
|
7266
|
+
text: string;
|
|
7267
|
+
url?: string | undefined;
|
|
7268
|
+
}>, "many">>>;
|
|
7269
|
+
outputProperties: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7270
|
+
label: z.ZodString;
|
|
7271
|
+
text: z.ZodString;
|
|
7272
|
+
url: z.ZodOptional<z.ZodString>;
|
|
7273
|
+
}, "strip", z.ZodTypeAny, {
|
|
7274
|
+
label: string;
|
|
7275
|
+
text: string;
|
|
7276
|
+
url?: string | undefined;
|
|
7277
|
+
}, {
|
|
7278
|
+
label: string;
|
|
7279
|
+
text: string;
|
|
7280
|
+
url?: string | undefined;
|
|
7281
|
+
}>, "many">>>;
|
|
7282
|
+
output: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
7283
|
+
parentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7284
|
+
operation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7285
|
+
callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7286
|
+
idempotencyKey: z.ZodString;
|
|
7287
|
+
attempts: z.ZodNumber;
|
|
7288
|
+
forceYield: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
7289
|
+
}, "strip", z.ZodTypeAny, {
|
|
7290
|
+
name: string;
|
|
7291
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7292
|
+
id: string;
|
|
7293
|
+
noop: boolean;
|
|
7294
|
+
idempotencyKey: string;
|
|
7295
|
+
attempts: number;
|
|
7296
|
+
error?: string | null | undefined;
|
|
7297
|
+
params?: DeserializedJson | undefined;
|
|
7298
|
+
style?: {
|
|
7299
|
+
style: "normal" | "minimal";
|
|
7300
|
+
variant?: string | undefined;
|
|
7301
|
+
} | null | undefined;
|
|
7302
|
+
icon?: string | null | undefined;
|
|
7303
|
+
startedAt?: Date | null | undefined;
|
|
7304
|
+
completedAt?: Date | null | undefined;
|
|
7305
|
+
delayUntil?: Date | null | undefined;
|
|
7306
|
+
description?: string | null | undefined;
|
|
7307
|
+
properties?: {
|
|
7308
|
+
label: string;
|
|
7309
|
+
text: string;
|
|
7310
|
+
url?: string | undefined;
|
|
7311
|
+
}[] | null | undefined;
|
|
7312
|
+
outputProperties?: {
|
|
7313
|
+
label: string;
|
|
7314
|
+
text: string;
|
|
7315
|
+
url?: string | undefined;
|
|
7316
|
+
}[] | null | undefined;
|
|
7317
|
+
output?: DeserializedJson | undefined;
|
|
7318
|
+
parentId?: string | null | undefined;
|
|
7319
|
+
operation?: string | null | undefined;
|
|
7320
|
+
callbackUrl?: string | null | undefined;
|
|
7321
|
+
forceYield?: boolean | null | undefined;
|
|
7322
|
+
}, {
|
|
7323
|
+
name: string;
|
|
7324
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7325
|
+
id: string;
|
|
7326
|
+
noop: boolean;
|
|
7327
|
+
idempotencyKey: string;
|
|
7328
|
+
attempts: number;
|
|
7329
|
+
error?: string | null | undefined;
|
|
7330
|
+
params?: DeserializedJson | undefined;
|
|
7331
|
+
style?: {
|
|
7332
|
+
style: "normal" | "minimal";
|
|
7333
|
+
variant?: string | undefined;
|
|
7334
|
+
} | null | undefined;
|
|
7335
|
+
icon?: string | null | undefined;
|
|
7336
|
+
startedAt?: Date | null | undefined;
|
|
7337
|
+
completedAt?: Date | null | undefined;
|
|
7338
|
+
delayUntil?: Date | null | undefined;
|
|
7339
|
+
description?: string | null | undefined;
|
|
7340
|
+
properties?: {
|
|
7341
|
+
label: string;
|
|
7342
|
+
text: string;
|
|
7343
|
+
url?: string | undefined;
|
|
7344
|
+
}[] | null | undefined;
|
|
7345
|
+
outputProperties?: {
|
|
7346
|
+
label: string;
|
|
7347
|
+
text: string;
|
|
7348
|
+
url?: string | undefined;
|
|
7349
|
+
}[] | null | undefined;
|
|
7350
|
+
output?: DeserializedJson | undefined;
|
|
7351
|
+
parentId?: string | null | undefined;
|
|
7352
|
+
operation?: string | null | undefined;
|
|
7353
|
+
callbackUrl?: string | null | undefined;
|
|
7354
|
+
forceYield?: boolean | null | undefined;
|
|
7355
|
+
}>;
|
|
7356
|
+
cachedTasks: z.ZodOptional<z.ZodObject<{
|
|
7357
|
+
tasks: z.ZodArray<z.ZodObject<{
|
|
7358
|
+
id: z.ZodString;
|
|
7359
|
+
idempotencyKey: z.ZodString;
|
|
7360
|
+
status: z.ZodEnum<["PENDING", "WAITING", "RUNNING", "COMPLETED", "ERRORED", "CANCELED"]>;
|
|
7361
|
+
noop: z.ZodDefault<z.ZodBoolean>;
|
|
7362
|
+
output: z.ZodNullable<z.ZodOptional<z.ZodType<DeserializedJson, z.ZodTypeDef, DeserializedJson>>>;
|
|
7363
|
+
parentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7364
|
+
}, "strip", z.ZodTypeAny, {
|
|
7365
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7366
|
+
id: string;
|
|
7367
|
+
noop: boolean;
|
|
7368
|
+
idempotencyKey: string;
|
|
7369
|
+
output?: DeserializedJson | undefined;
|
|
7370
|
+
parentId?: string | null | undefined;
|
|
7371
|
+
}, {
|
|
7372
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7373
|
+
id: string;
|
|
7374
|
+
idempotencyKey: string;
|
|
7375
|
+
noop?: boolean | undefined;
|
|
7376
|
+
output?: DeserializedJson | undefined;
|
|
7377
|
+
parentId?: string | null | undefined;
|
|
7378
|
+
}>, "many">;
|
|
7379
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7380
|
+
}, "strip", z.ZodTypeAny, {
|
|
7381
|
+
tasks: {
|
|
7382
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7383
|
+
id: string;
|
|
7384
|
+
noop: boolean;
|
|
7385
|
+
idempotencyKey: string;
|
|
7386
|
+
output?: DeserializedJson | undefined;
|
|
7387
|
+
parentId?: string | null | undefined;
|
|
7388
|
+
}[];
|
|
7389
|
+
cursor?: string | undefined;
|
|
7390
|
+
}, {
|
|
7391
|
+
tasks: {
|
|
7392
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7393
|
+
id: string;
|
|
7394
|
+
idempotencyKey: string;
|
|
7395
|
+
noop?: boolean | undefined;
|
|
7396
|
+
output?: DeserializedJson | undefined;
|
|
7397
|
+
parentId?: string | null | undefined;
|
|
7398
|
+
}[];
|
|
7399
|
+
cursor?: string | undefined;
|
|
7400
|
+
}>>;
|
|
7401
|
+
}, "strip", z.ZodTypeAny, {
|
|
7402
|
+
task: {
|
|
7403
|
+
name: string;
|
|
7404
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7405
|
+
id: string;
|
|
7406
|
+
noop: boolean;
|
|
7407
|
+
idempotencyKey: string;
|
|
7408
|
+
attempts: number;
|
|
7409
|
+
error?: string | null | undefined;
|
|
7410
|
+
params?: DeserializedJson | undefined;
|
|
7411
|
+
style?: {
|
|
7412
|
+
style: "normal" | "minimal";
|
|
7413
|
+
variant?: string | undefined;
|
|
7414
|
+
} | null | undefined;
|
|
7415
|
+
icon?: string | null | undefined;
|
|
7416
|
+
startedAt?: Date | null | undefined;
|
|
7417
|
+
completedAt?: Date | null | undefined;
|
|
7418
|
+
delayUntil?: Date | null | undefined;
|
|
7419
|
+
description?: string | null | undefined;
|
|
7420
|
+
properties?: {
|
|
7421
|
+
label: string;
|
|
7422
|
+
text: string;
|
|
7423
|
+
url?: string | undefined;
|
|
7424
|
+
}[] | null | undefined;
|
|
7425
|
+
outputProperties?: {
|
|
7426
|
+
label: string;
|
|
7427
|
+
text: string;
|
|
7428
|
+
url?: string | undefined;
|
|
7429
|
+
}[] | null | undefined;
|
|
7430
|
+
output?: DeserializedJson | undefined;
|
|
7431
|
+
parentId?: string | null | undefined;
|
|
7432
|
+
operation?: string | null | undefined;
|
|
7433
|
+
callbackUrl?: string | null | undefined;
|
|
7434
|
+
forceYield?: boolean | null | undefined;
|
|
7435
|
+
};
|
|
7436
|
+
cachedTasks?: {
|
|
7437
|
+
tasks: {
|
|
7438
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7439
|
+
id: string;
|
|
7440
|
+
noop: boolean;
|
|
7441
|
+
idempotencyKey: string;
|
|
7442
|
+
output?: DeserializedJson | undefined;
|
|
7443
|
+
parentId?: string | null | undefined;
|
|
7444
|
+
}[];
|
|
7445
|
+
cursor?: string | undefined;
|
|
7446
|
+
} | undefined;
|
|
7447
|
+
}, {
|
|
7448
|
+
task: {
|
|
7449
|
+
name: string;
|
|
7450
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7451
|
+
id: string;
|
|
7452
|
+
noop: boolean;
|
|
7453
|
+
idempotencyKey: string;
|
|
7454
|
+
attempts: number;
|
|
7455
|
+
error?: string | null | undefined;
|
|
7456
|
+
params?: DeserializedJson | undefined;
|
|
7457
|
+
style?: {
|
|
7458
|
+
style: "normal" | "minimal";
|
|
7459
|
+
variant?: string | undefined;
|
|
7460
|
+
} | null | undefined;
|
|
7461
|
+
icon?: string | null | undefined;
|
|
7462
|
+
startedAt?: Date | null | undefined;
|
|
7463
|
+
completedAt?: Date | null | undefined;
|
|
7464
|
+
delayUntil?: Date | null | undefined;
|
|
7465
|
+
description?: string | null | undefined;
|
|
7466
|
+
properties?: {
|
|
7467
|
+
label: string;
|
|
7468
|
+
text: string;
|
|
7469
|
+
url?: string | undefined;
|
|
7470
|
+
}[] | null | undefined;
|
|
7471
|
+
outputProperties?: {
|
|
7472
|
+
label: string;
|
|
7473
|
+
text: string;
|
|
7474
|
+
url?: string | undefined;
|
|
7475
|
+
}[] | null | undefined;
|
|
7476
|
+
output?: DeserializedJson | undefined;
|
|
7477
|
+
parentId?: string | null | undefined;
|
|
7478
|
+
operation?: string | null | undefined;
|
|
7479
|
+
callbackUrl?: string | null | undefined;
|
|
7480
|
+
forceYield?: boolean | null | undefined;
|
|
7481
|
+
};
|
|
7482
|
+
cachedTasks?: {
|
|
7483
|
+
tasks: {
|
|
7484
|
+
status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
|
|
7485
|
+
id: string;
|
|
7486
|
+
idempotencyKey: string;
|
|
7487
|
+
noop?: boolean | undefined;
|
|
7488
|
+
output?: DeserializedJson | undefined;
|
|
7489
|
+
parentId?: string | null | undefined;
|
|
7490
|
+
}[];
|
|
7491
|
+
cursor?: string | undefined;
|
|
7492
|
+
} | undefined;
|
|
7493
|
+
}>;
|
|
7494
|
+
type RunTaskResponseWithCachedTasksBody = z.infer<typeof RunTaskResponseWithCachedTasksBodySchema>;
|
|
6524
7495
|
declare const CompleteTaskBodyInputSchema: z.ZodObject<{
|
|
6525
7496
|
params: z.ZodAny;
|
|
6526
7497
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -6747,7 +7718,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6747
7718
|
id: string;
|
|
6748
7719
|
instructions?: string | undefined;
|
|
6749
7720
|
}>;
|
|
6750
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
7721
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
6751
7722
|
}, "strip", z.ZodTypeAny, {
|
|
6752
7723
|
id: string;
|
|
6753
7724
|
metadata: {
|
|
@@ -6755,7 +7726,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6755
7726
|
id: string;
|
|
6756
7727
|
instructions?: string | undefined;
|
|
6757
7728
|
};
|
|
6758
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7729
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6759
7730
|
}, {
|
|
6760
7731
|
id: string;
|
|
6761
7732
|
metadata: {
|
|
@@ -6763,7 +7734,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6763
7734
|
id: string;
|
|
6764
7735
|
instructions?: string | undefined;
|
|
6765
7736
|
};
|
|
6766
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7737
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6767
7738
|
}>;
|
|
6768
7739
|
key: z.ZodString;
|
|
6769
7740
|
params: z.ZodAny;
|
|
@@ -6790,7 +7761,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6790
7761
|
id: string;
|
|
6791
7762
|
instructions?: string | undefined;
|
|
6792
7763
|
};
|
|
6793
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7764
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6794
7765
|
};
|
|
6795
7766
|
params?: any;
|
|
6796
7767
|
registerSourceJob?: {
|
|
@@ -6809,7 +7780,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6809
7780
|
id: string;
|
|
6810
7781
|
instructions?: string | undefined;
|
|
6811
7782
|
};
|
|
6812
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7783
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6813
7784
|
};
|
|
6814
7785
|
params?: any;
|
|
6815
7786
|
registerSourceJob?: {
|
|
@@ -6830,7 +7801,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6830
7801
|
id: string;
|
|
6831
7802
|
instructions?: string | undefined;
|
|
6832
7803
|
};
|
|
6833
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7804
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6834
7805
|
};
|
|
6835
7806
|
params?: any;
|
|
6836
7807
|
registerSourceJob?: {
|
|
@@ -6857,7 +7828,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6857
7828
|
id: string;
|
|
6858
7829
|
instructions?: string | undefined;
|
|
6859
7830
|
};
|
|
6860
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7831
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6861
7832
|
};
|
|
6862
7833
|
params?: any;
|
|
6863
7834
|
registerSourceJob?: {
|
|
@@ -6908,7 +7879,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
6908
7879
|
id: string;
|
|
6909
7880
|
instructions?: string | undefined;
|
|
6910
7881
|
}>;
|
|
6911
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
7882
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
6912
7883
|
}, "strip", z.ZodTypeAny, {
|
|
6913
7884
|
id: string;
|
|
6914
7885
|
metadata: {
|
|
@@ -6916,7 +7887,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
6916
7887
|
id: string;
|
|
6917
7888
|
instructions?: string | undefined;
|
|
6918
7889
|
};
|
|
6919
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7890
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6920
7891
|
}, {
|
|
6921
7892
|
id: string;
|
|
6922
7893
|
metadata: {
|
|
@@ -6924,7 +7895,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
6924
7895
|
id: string;
|
|
6925
7896
|
instructions?: string | undefined;
|
|
6926
7897
|
};
|
|
6927
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7898
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6928
7899
|
}>;
|
|
6929
7900
|
key: z.ZodString;
|
|
6930
7901
|
params: z.ZodAny;
|
|
@@ -6951,7 +7922,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
6951
7922
|
id: string;
|
|
6952
7923
|
instructions?: string | undefined;
|
|
6953
7924
|
};
|
|
6954
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7925
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6955
7926
|
};
|
|
6956
7927
|
params?: any;
|
|
6957
7928
|
registerSourceJob?: {
|
|
@@ -6970,7 +7941,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
6970
7941
|
id: string;
|
|
6971
7942
|
instructions?: string | undefined;
|
|
6972
7943
|
};
|
|
6973
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7944
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6974
7945
|
};
|
|
6975
7946
|
params?: any;
|
|
6976
7947
|
registerSourceJob?: {
|
|
@@ -6978,6 +7949,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
6978
7949
|
id: string;
|
|
6979
7950
|
} | undefined;
|
|
6980
7951
|
}>;
|
|
7952
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
6981
7953
|
}, "strip", z.ZodTypeAny, {
|
|
6982
7954
|
source: {
|
|
6983
7955
|
key: string;
|
|
@@ -6991,7 +7963,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
6991
7963
|
id: string;
|
|
6992
7964
|
instructions?: string | undefined;
|
|
6993
7965
|
};
|
|
6994
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7966
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6995
7967
|
};
|
|
6996
7968
|
params?: any;
|
|
6997
7969
|
registerSourceJob?: {
|
|
@@ -7005,6 +7977,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
7005
7977
|
payload?: EventFilter | undefined;
|
|
7006
7978
|
context?: EventFilter | undefined;
|
|
7007
7979
|
};
|
|
7980
|
+
accountId?: string | undefined;
|
|
7008
7981
|
}, {
|
|
7009
7982
|
source: {
|
|
7010
7983
|
key: string;
|
|
@@ -7018,7 +7991,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
7018
7991
|
id: string;
|
|
7019
7992
|
instructions?: string | undefined;
|
|
7020
7993
|
};
|
|
7021
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7994
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
7022
7995
|
};
|
|
7023
7996
|
params?: any;
|
|
7024
7997
|
registerSourceJob?: {
|
|
@@ -7032,6 +8005,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
7032
8005
|
payload?: EventFilter | undefined;
|
|
7033
8006
|
context?: EventFilter | undefined;
|
|
7034
8007
|
};
|
|
8008
|
+
accountId?: string | undefined;
|
|
7035
8009
|
}>;
|
|
7036
8010
|
type RegisterTriggerBodyV2 = z.infer<typeof RegisterTriggerBodySchemaV2>;
|
|
7037
8011
|
declare const InitializeTriggerBodySchema: z.ZodObject<{
|
|
@@ -7053,7 +8027,6 @@ declare const InitializeTriggerBodySchema: z.ZodObject<{
|
|
|
7053
8027
|
type InitializeTriggerBody = z.infer<typeof InitializeTriggerBodySchema>;
|
|
7054
8028
|
declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
|
|
7055
8029
|
id: z.ZodString;
|
|
7056
|
-
accountId: z.ZodOptional<z.ZodString>;
|
|
7057
8030
|
type: z.ZodLiteral<"interval">;
|
|
7058
8031
|
options: z.ZodObject<{
|
|
7059
8032
|
seconds: z.ZodNumber;
|
|
@@ -7062,6 +8035,7 @@ declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
|
|
|
7062
8035
|
}, {
|
|
7063
8036
|
seconds: number;
|
|
7064
8037
|
}>;
|
|
8038
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7065
8039
|
metadata: z.ZodAny;
|
|
7066
8040
|
}, "strip", z.ZodTypeAny, {
|
|
7067
8041
|
options: {
|
|
@@ -7083,7 +8057,6 @@ declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
|
|
|
7083
8057
|
type RegisterIntervalScheduleBody = z.infer<typeof RegisterIntervalScheduleBodySchema>;
|
|
7084
8058
|
declare const InitializeCronScheduleBodySchema: z.ZodObject<{
|
|
7085
8059
|
id: z.ZodString;
|
|
7086
|
-
accountId: z.ZodOptional<z.ZodString>;
|
|
7087
8060
|
type: z.ZodLiteral<"cron">;
|
|
7088
8061
|
options: z.ZodObject<{
|
|
7089
8062
|
cron: z.ZodString;
|
|
@@ -7092,6 +8065,7 @@ declare const InitializeCronScheduleBodySchema: z.ZodObject<{
|
|
|
7092
8065
|
}, {
|
|
7093
8066
|
cron: string;
|
|
7094
8067
|
}>;
|
|
8068
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7095
8069
|
metadata: z.ZodAny;
|
|
7096
8070
|
}, "strip", z.ZodTypeAny, {
|
|
7097
8071
|
options: {
|
|
@@ -7113,7 +8087,6 @@ declare const InitializeCronScheduleBodySchema: z.ZodObject<{
|
|
|
7113
8087
|
type RegisterCronScheduleBody = z.infer<typeof InitializeCronScheduleBodySchema>;
|
|
7114
8088
|
declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7115
8089
|
id: z.ZodString;
|
|
7116
|
-
accountId: z.ZodOptional<z.ZodString>;
|
|
7117
8090
|
type: z.ZodLiteral<"interval">;
|
|
7118
8091
|
options: z.ZodObject<{
|
|
7119
8092
|
seconds: z.ZodNumber;
|
|
@@ -7122,6 +8095,7 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7122
8095
|
}, {
|
|
7123
8096
|
seconds: number;
|
|
7124
8097
|
}>;
|
|
8098
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7125
8099
|
metadata: z.ZodAny;
|
|
7126
8100
|
}, "strip", z.ZodTypeAny, {
|
|
7127
8101
|
options: {
|
|
@@ -7141,7 +8115,6 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7141
8115
|
metadata?: any;
|
|
7142
8116
|
}>, z.ZodObject<{
|
|
7143
8117
|
id: z.ZodString;
|
|
7144
|
-
accountId: z.ZodOptional<z.ZodString>;
|
|
7145
8118
|
type: z.ZodLiteral<"cron">;
|
|
7146
8119
|
options: z.ZodObject<{
|
|
7147
8120
|
cron: z.ZodString;
|
|
@@ -7150,6 +8123,7 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7150
8123
|
}, {
|
|
7151
8124
|
cron: string;
|
|
7152
8125
|
}>;
|
|
8126
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7153
8127
|
metadata: z.ZodAny;
|
|
7154
8128
|
}, "strip", z.ZodTypeAny, {
|
|
7155
8129
|
options: {
|
|
@@ -7180,18 +8154,21 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
|
|
|
7180
8154
|
}, {
|
|
7181
8155
|
seconds: number;
|
|
7182
8156
|
}>;
|
|
8157
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7183
8158
|
metadata: z.ZodAny;
|
|
7184
8159
|
}, "strip", z.ZodTypeAny, {
|
|
7185
8160
|
options: {
|
|
7186
8161
|
seconds: number;
|
|
7187
8162
|
};
|
|
7188
8163
|
type: "interval";
|
|
8164
|
+
accountId?: string | undefined;
|
|
7189
8165
|
metadata?: any;
|
|
7190
8166
|
}, {
|
|
7191
8167
|
options: {
|
|
7192
8168
|
seconds: number;
|
|
7193
8169
|
};
|
|
7194
8170
|
type: "interval";
|
|
8171
|
+
accountId?: string | undefined;
|
|
7195
8172
|
metadata?: any;
|
|
7196
8173
|
}>, z.ZodObject<{
|
|
7197
8174
|
type: z.ZodLiteral<"cron">;
|
|
@@ -7202,18 +8179,21 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
|
|
|
7202
8179
|
}, {
|
|
7203
8180
|
cron: string;
|
|
7204
8181
|
}>;
|
|
8182
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7205
8183
|
metadata: z.ZodAny;
|
|
7206
8184
|
}, "strip", z.ZodTypeAny, {
|
|
7207
8185
|
options: {
|
|
7208
8186
|
cron: string;
|
|
7209
8187
|
};
|
|
7210
8188
|
type: "cron";
|
|
8189
|
+
accountId?: string | undefined;
|
|
7211
8190
|
metadata?: any;
|
|
7212
8191
|
}, {
|
|
7213
8192
|
options: {
|
|
7214
8193
|
cron: string;
|
|
7215
8194
|
};
|
|
7216
8195
|
type: "cron";
|
|
8196
|
+
accountId?: string | undefined;
|
|
7217
8197
|
metadata?: any;
|
|
7218
8198
|
}>]>;
|
|
7219
8199
|
metadata: z.ZodAny;
|
|
@@ -7225,12 +8205,14 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
|
|
|
7225
8205
|
cron: string;
|
|
7226
8206
|
};
|
|
7227
8207
|
type: "cron";
|
|
8208
|
+
accountId?: string | undefined;
|
|
7228
8209
|
metadata?: any;
|
|
7229
8210
|
} | {
|
|
7230
8211
|
options: {
|
|
7231
8212
|
seconds: number;
|
|
7232
8213
|
};
|
|
7233
8214
|
type: "interval";
|
|
8215
|
+
accountId?: string | undefined;
|
|
7234
8216
|
metadata?: any;
|
|
7235
8217
|
};
|
|
7236
8218
|
active: boolean;
|
|
@@ -7242,12 +8224,14 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
|
|
|
7242
8224
|
cron: string;
|
|
7243
8225
|
};
|
|
7244
8226
|
type: "cron";
|
|
8227
|
+
accountId?: string | undefined;
|
|
7245
8228
|
metadata?: any;
|
|
7246
8229
|
} | {
|
|
7247
8230
|
options: {
|
|
7248
8231
|
seconds: number;
|
|
7249
8232
|
};
|
|
7250
8233
|
type: "interval";
|
|
8234
|
+
accountId?: string | undefined;
|
|
7251
8235
|
metadata?: any;
|
|
7252
8236
|
};
|
|
7253
8237
|
active: boolean;
|
|
@@ -7271,6 +8255,95 @@ declare const CreateExternalConnectionBodySchema: z.ZodObject<{
|
|
|
7271
8255
|
metadata?: any;
|
|
7272
8256
|
}>;
|
|
7273
8257
|
type CreateExternalConnectionBody = z.infer<typeof CreateExternalConnectionBodySchema>;
|
|
8258
|
+
declare const GetRunStatusesSchema: z.ZodObject<{
|
|
8259
|
+
run: z.ZodObject<{
|
|
8260
|
+
id: z.ZodString;
|
|
8261
|
+
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
|
|
8262
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
8263
|
+
}, "strip", z.ZodTypeAny, {
|
|
8264
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
8265
|
+
id: string;
|
|
8266
|
+
output?: any;
|
|
8267
|
+
}, {
|
|
8268
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
8269
|
+
id: string;
|
|
8270
|
+
output?: any;
|
|
8271
|
+
}>;
|
|
8272
|
+
statuses: z.ZodArray<z.ZodObject<{
|
|
8273
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
8274
|
+
label: z.ZodString;
|
|
8275
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
8276
|
+
key: z.ZodString;
|
|
8277
|
+
history: z.ZodArray<z.ZodObject<{
|
|
8278
|
+
label: z.ZodOptional<z.ZodString>;
|
|
8279
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
8280
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
8281
|
+
}, "strip", z.ZodTypeAny, {
|
|
8282
|
+
label?: string | undefined;
|
|
8283
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
8284
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
8285
|
+
}, {
|
|
8286
|
+
label?: string | undefined;
|
|
8287
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
8288
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
8289
|
+
}>, "many">;
|
|
8290
|
+
}, "strip", z.ZodTypeAny, {
|
|
8291
|
+
key: string;
|
|
8292
|
+
label: string;
|
|
8293
|
+
history: {
|
|
8294
|
+
label?: string | undefined;
|
|
8295
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
8296
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
8297
|
+
}[];
|
|
8298
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
8299
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
8300
|
+
}, {
|
|
8301
|
+
key: string;
|
|
8302
|
+
label: string;
|
|
8303
|
+
history: {
|
|
8304
|
+
label?: string | undefined;
|
|
8305
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
8306
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
8307
|
+
}[];
|
|
8308
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
8309
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
8310
|
+
}>, "many">;
|
|
8311
|
+
}, "strip", z.ZodTypeAny, {
|
|
8312
|
+
statuses: {
|
|
8313
|
+
key: string;
|
|
8314
|
+
label: string;
|
|
8315
|
+
history: {
|
|
8316
|
+
label?: string | undefined;
|
|
8317
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
8318
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
8319
|
+
}[];
|
|
8320
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
8321
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
8322
|
+
}[];
|
|
8323
|
+
run: {
|
|
8324
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
8325
|
+
id: string;
|
|
8326
|
+
output?: any;
|
|
8327
|
+
};
|
|
8328
|
+
}, {
|
|
8329
|
+
statuses: {
|
|
8330
|
+
key: string;
|
|
8331
|
+
label: string;
|
|
8332
|
+
history: {
|
|
8333
|
+
label?: string | undefined;
|
|
8334
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
8335
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
8336
|
+
}[];
|
|
8337
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
8338
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
8339
|
+
}[];
|
|
8340
|
+
run: {
|
|
8341
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
8342
|
+
id: string;
|
|
8343
|
+
output?: any;
|
|
8344
|
+
};
|
|
8345
|
+
}>;
|
|
8346
|
+
type GetRunStatuses = z.infer<typeof GetRunStatusesSchema>;
|
|
7274
8347
|
|
|
7275
8348
|
declare const EventExampleSchema: z.ZodObject<{
|
|
7276
8349
|
id: z.ZodString;
|
|
@@ -7444,18 +8517,21 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
|
|
|
7444
8517
|
}, {
|
|
7445
8518
|
seconds: number;
|
|
7446
8519
|
}>;
|
|
8520
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7447
8521
|
metadata: z.ZodAny;
|
|
7448
8522
|
}, "strip", z.ZodTypeAny, {
|
|
7449
8523
|
options: {
|
|
7450
8524
|
seconds: number;
|
|
7451
8525
|
};
|
|
7452
8526
|
type: "interval";
|
|
8527
|
+
accountId?: string | undefined;
|
|
7453
8528
|
metadata?: any;
|
|
7454
8529
|
}, {
|
|
7455
8530
|
options: {
|
|
7456
8531
|
seconds: number;
|
|
7457
8532
|
};
|
|
7458
8533
|
type: "interval";
|
|
8534
|
+
accountId?: string | undefined;
|
|
7459
8535
|
metadata?: any;
|
|
7460
8536
|
}>, z.ZodObject<{
|
|
7461
8537
|
type: z.ZodLiteral<"cron">;
|
|
@@ -7466,18 +8542,21 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
|
|
|
7466
8542
|
}, {
|
|
7467
8543
|
cron: string;
|
|
7468
8544
|
}>;
|
|
8545
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7469
8546
|
metadata: z.ZodAny;
|
|
7470
8547
|
}, "strip", z.ZodTypeAny, {
|
|
7471
8548
|
options: {
|
|
7472
8549
|
cron: string;
|
|
7473
8550
|
};
|
|
7474
8551
|
type: "cron";
|
|
8552
|
+
accountId?: string | undefined;
|
|
7475
8553
|
metadata?: any;
|
|
7476
8554
|
}, {
|
|
7477
8555
|
options: {
|
|
7478
8556
|
cron: string;
|
|
7479
8557
|
};
|
|
7480
8558
|
type: "cron";
|
|
8559
|
+
accountId?: string | undefined;
|
|
7481
8560
|
metadata?: any;
|
|
7482
8561
|
}>]>;
|
|
7483
8562
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7487,12 +8566,14 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
|
|
|
7487
8566
|
cron: string;
|
|
7488
8567
|
};
|
|
7489
8568
|
type: "cron";
|
|
8569
|
+
accountId?: string | undefined;
|
|
7490
8570
|
metadata?: any;
|
|
7491
8571
|
} | {
|
|
7492
8572
|
options: {
|
|
7493
8573
|
seconds: number;
|
|
7494
8574
|
};
|
|
7495
8575
|
type: "interval";
|
|
8576
|
+
accountId?: string | undefined;
|
|
7496
8577
|
metadata?: any;
|
|
7497
8578
|
};
|
|
7498
8579
|
}, {
|
|
@@ -7502,12 +8583,14 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
|
|
|
7502
8583
|
cron: string;
|
|
7503
8584
|
};
|
|
7504
8585
|
type: "cron";
|
|
8586
|
+
accountId?: string | undefined;
|
|
7505
8587
|
metadata?: any;
|
|
7506
8588
|
} | {
|
|
7507
8589
|
options: {
|
|
7508
8590
|
seconds: number;
|
|
7509
8591
|
};
|
|
7510
8592
|
type: "interval";
|
|
8593
|
+
accountId?: string | undefined;
|
|
7511
8594
|
metadata?: any;
|
|
7512
8595
|
};
|
|
7513
8596
|
}>;
|
|
@@ -7591,18 +8674,21 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
7591
8674
|
}, {
|
|
7592
8675
|
seconds: number;
|
|
7593
8676
|
}>;
|
|
8677
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7594
8678
|
metadata: z.ZodAny;
|
|
7595
8679
|
}, "strip", z.ZodTypeAny, {
|
|
7596
8680
|
options: {
|
|
7597
8681
|
seconds: number;
|
|
7598
8682
|
};
|
|
7599
8683
|
type: "interval";
|
|
8684
|
+
accountId?: string | undefined;
|
|
7600
8685
|
metadata?: any;
|
|
7601
8686
|
}, {
|
|
7602
8687
|
options: {
|
|
7603
8688
|
seconds: number;
|
|
7604
8689
|
};
|
|
7605
8690
|
type: "interval";
|
|
8691
|
+
accountId?: string | undefined;
|
|
7606
8692
|
metadata?: any;
|
|
7607
8693
|
}>, z.ZodObject<{
|
|
7608
8694
|
type: z.ZodLiteral<"cron">;
|
|
@@ -7613,18 +8699,21 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
7613
8699
|
}, {
|
|
7614
8700
|
cron: string;
|
|
7615
8701
|
}>;
|
|
8702
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7616
8703
|
metadata: z.ZodAny;
|
|
7617
8704
|
}, "strip", z.ZodTypeAny, {
|
|
7618
8705
|
options: {
|
|
7619
8706
|
cron: string;
|
|
7620
8707
|
};
|
|
7621
8708
|
type: "cron";
|
|
8709
|
+
accountId?: string | undefined;
|
|
7622
8710
|
metadata?: any;
|
|
7623
8711
|
}, {
|
|
7624
8712
|
options: {
|
|
7625
8713
|
cron: string;
|
|
7626
8714
|
};
|
|
7627
8715
|
type: "cron";
|
|
8716
|
+
accountId?: string | undefined;
|
|
7628
8717
|
metadata?: any;
|
|
7629
8718
|
}>]>;
|
|
7630
8719
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7634,12 +8723,14 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
7634
8723
|
cron: string;
|
|
7635
8724
|
};
|
|
7636
8725
|
type: "cron";
|
|
8726
|
+
accountId?: string | undefined;
|
|
7637
8727
|
metadata?: any;
|
|
7638
8728
|
} | {
|
|
7639
8729
|
options: {
|
|
7640
8730
|
seconds: number;
|
|
7641
8731
|
};
|
|
7642
8732
|
type: "interval";
|
|
8733
|
+
accountId?: string | undefined;
|
|
7643
8734
|
metadata?: any;
|
|
7644
8735
|
};
|
|
7645
8736
|
}, {
|
|
@@ -7649,12 +8740,14 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
7649
8740
|
cron: string;
|
|
7650
8741
|
};
|
|
7651
8742
|
type: "cron";
|
|
8743
|
+
accountId?: string | undefined;
|
|
7652
8744
|
metadata?: any;
|
|
7653
8745
|
} | {
|
|
7654
8746
|
options: {
|
|
7655
8747
|
seconds: number;
|
|
7656
8748
|
};
|
|
7657
8749
|
type: "interval";
|
|
8750
|
+
accountId?: string | undefined;
|
|
7658
8751
|
metadata?: any;
|
|
7659
8752
|
};
|
|
7660
8753
|
}>]>;
|
|
@@ -7674,6 +8767,17 @@ declare const ErrorWithStackSchema: z.ZodObject<{
|
|
|
7674
8767
|
stack?: string | undefined;
|
|
7675
8768
|
}>;
|
|
7676
8769
|
type ErrorWithStack = z.infer<typeof ErrorWithStackSchema>;
|
|
8770
|
+
declare const SchemaErrorSchema: z.ZodObject<{
|
|
8771
|
+
path: z.ZodArray<z.ZodString, "many">;
|
|
8772
|
+
message: z.ZodString;
|
|
8773
|
+
}, "strip", z.ZodTypeAny, {
|
|
8774
|
+
message: string;
|
|
8775
|
+
path: string[];
|
|
8776
|
+
}, {
|
|
8777
|
+
message: string;
|
|
8778
|
+
path: string[];
|
|
8779
|
+
}>;
|
|
8780
|
+
type SchemaError = z.infer<typeof SchemaErrorSchema>;
|
|
7677
8781
|
|
|
7678
8782
|
/** A property that is displayed in the logs */
|
|
7679
8783
|
declare const DisplayPropertySchema: z.ZodObject<{
|
|
@@ -7725,17 +8829,17 @@ type Style = z.infer<typeof StyleSchema>;
|
|
|
7725
8829
|
type StyleName = Style["style"];
|
|
7726
8830
|
|
|
7727
8831
|
declare const ConnectionAuthSchema: z.ZodObject<{
|
|
7728
|
-
type: z.ZodEnum<["oauth2"]>;
|
|
8832
|
+
type: z.ZodEnum<["oauth2", "apiKey"]>;
|
|
7729
8833
|
accessToken: z.ZodString;
|
|
7730
8834
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7731
8835
|
additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7732
8836
|
}, "strip", z.ZodTypeAny, {
|
|
7733
|
-
type: "oauth2";
|
|
8837
|
+
type: "oauth2" | "apiKey";
|
|
7734
8838
|
accessToken: string;
|
|
7735
8839
|
scopes?: string[] | undefined;
|
|
7736
8840
|
additionalFields?: Record<string, string> | undefined;
|
|
7737
8841
|
}, {
|
|
7738
|
-
type: "oauth2";
|
|
8842
|
+
type: "oauth2" | "apiKey";
|
|
7739
8843
|
accessToken: string;
|
|
7740
8844
|
scopes?: string[] | undefined;
|
|
7741
8845
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -7770,7 +8874,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
|
|
|
7770
8874
|
id: string;
|
|
7771
8875
|
instructions?: string | undefined;
|
|
7772
8876
|
}>;
|
|
7773
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
8877
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
7774
8878
|
}, "strip", z.ZodTypeAny, {
|
|
7775
8879
|
id: string;
|
|
7776
8880
|
metadata: {
|
|
@@ -7778,7 +8882,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
|
|
|
7778
8882
|
id: string;
|
|
7779
8883
|
instructions?: string | undefined;
|
|
7780
8884
|
};
|
|
7781
|
-
authSource: "HOSTED" | "LOCAL";
|
|
8885
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
7782
8886
|
}, {
|
|
7783
8887
|
id: string;
|
|
7784
8888
|
metadata: {
|
|
@@ -7786,7 +8890,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
|
|
|
7786
8890
|
id: string;
|
|
7787
8891
|
instructions?: string | undefined;
|
|
7788
8892
|
};
|
|
7789
|
-
authSource: "HOSTED" | "LOCAL";
|
|
8893
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
7790
8894
|
}>;
|
|
7791
8895
|
type IntegrationConfig = z.infer<typeof IntegrationConfigSchema>;
|
|
7792
8896
|
|
|
@@ -7803,7 +8907,7 @@ declare const ScheduledPayloadSchema: z.ZodObject<{
|
|
|
7803
8907
|
}>;
|
|
7804
8908
|
type ScheduledPayload = z.infer<typeof ScheduledPayloadSchema>;
|
|
7805
8909
|
declare const IntervalOptionsSchema: z.ZodObject<{
|
|
7806
|
-
/** The number of seconds for the interval. Min = 60, Max =
|
|
8910
|
+
/** The number of seconds for the interval. Min = 60, Max = 2_592_000 (30 days) */
|
|
7807
8911
|
seconds: z.ZodNumber;
|
|
7808
8912
|
}, "strip", z.ZodTypeAny, {
|
|
7809
8913
|
seconds: number;
|
|
@@ -7836,18 +8940,22 @@ declare const CronMetadataSchema: z.ZodObject<{
|
|
|
7836
8940
|
}, {
|
|
7837
8941
|
cron: string;
|
|
7838
8942
|
}>;
|
|
8943
|
+
/** An optional Account ID to associate with runs triggered by this interval */
|
|
8944
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7839
8945
|
metadata: z.ZodAny;
|
|
7840
8946
|
}, "strip", z.ZodTypeAny, {
|
|
7841
8947
|
options: {
|
|
7842
8948
|
cron: string;
|
|
7843
8949
|
};
|
|
7844
8950
|
type: "cron";
|
|
8951
|
+
accountId?: string | undefined;
|
|
7845
8952
|
metadata?: any;
|
|
7846
8953
|
}, {
|
|
7847
8954
|
options: {
|
|
7848
8955
|
cron: string;
|
|
7849
8956
|
};
|
|
7850
8957
|
type: "cron";
|
|
8958
|
+
accountId?: string | undefined;
|
|
7851
8959
|
metadata?: any;
|
|
7852
8960
|
}>;
|
|
7853
8961
|
type CronMetadata = z.infer<typeof CronMetadataSchema>;
|
|
@@ -7856,13 +8964,15 @@ declare const IntervalMetadataSchema: z.ZodObject<{
|
|
|
7856
8964
|
type: z.ZodLiteral<"interval">;
|
|
7857
8965
|
/** An object containing options about the interval. */
|
|
7858
8966
|
options: z.ZodObject<{
|
|
7859
|
-
/** The number of seconds for the interval. Min = 60, Max =
|
|
8967
|
+
/** The number of seconds for the interval. Min = 60, Max = 2_592_000 (30 days) */
|
|
7860
8968
|
seconds: z.ZodNumber;
|
|
7861
8969
|
}, "strip", z.ZodTypeAny, {
|
|
7862
8970
|
seconds: number;
|
|
7863
8971
|
}, {
|
|
7864
8972
|
seconds: number;
|
|
7865
8973
|
}>;
|
|
8974
|
+
/** An optional Account ID to associate with runs triggered by this interval */
|
|
8975
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7866
8976
|
/** Any additional metadata about the schedule. */
|
|
7867
8977
|
metadata: z.ZodAny;
|
|
7868
8978
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7870,12 +8980,14 @@ declare const IntervalMetadataSchema: z.ZodObject<{
|
|
|
7870
8980
|
seconds: number;
|
|
7871
8981
|
};
|
|
7872
8982
|
type: "interval";
|
|
8983
|
+
accountId?: string | undefined;
|
|
7873
8984
|
metadata?: any;
|
|
7874
8985
|
}, {
|
|
7875
8986
|
options: {
|
|
7876
8987
|
seconds: number;
|
|
7877
8988
|
};
|
|
7878
8989
|
type: "interval";
|
|
8990
|
+
accountId?: string | undefined;
|
|
7879
8991
|
metadata?: any;
|
|
7880
8992
|
}>;
|
|
7881
8993
|
type IntervalMetadata = z.infer<typeof IntervalMetadataSchema>;
|
|
@@ -7884,13 +8996,15 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
7884
8996
|
type: z.ZodLiteral<"interval">;
|
|
7885
8997
|
/** An object containing options about the interval. */
|
|
7886
8998
|
options: z.ZodObject<{
|
|
7887
|
-
/** The number of seconds for the interval. Min = 60, Max =
|
|
8999
|
+
/** The number of seconds for the interval. Min = 60, Max = 2_592_000 (30 days) */
|
|
7888
9000
|
seconds: z.ZodNumber;
|
|
7889
9001
|
}, "strip", z.ZodTypeAny, {
|
|
7890
9002
|
seconds: number;
|
|
7891
9003
|
}, {
|
|
7892
9004
|
seconds: number;
|
|
7893
9005
|
}>;
|
|
9006
|
+
/** An optional Account ID to associate with runs triggered by this interval */
|
|
9007
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7894
9008
|
/** Any additional metadata about the schedule. */
|
|
7895
9009
|
metadata: z.ZodAny;
|
|
7896
9010
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7898,12 +9012,14 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
7898
9012
|
seconds: number;
|
|
7899
9013
|
};
|
|
7900
9014
|
type: "interval";
|
|
9015
|
+
accountId?: string | undefined;
|
|
7901
9016
|
metadata?: any;
|
|
7902
9017
|
}, {
|
|
7903
9018
|
options: {
|
|
7904
9019
|
seconds: number;
|
|
7905
9020
|
};
|
|
7906
9021
|
type: "interval";
|
|
9022
|
+
accountId?: string | undefined;
|
|
7907
9023
|
metadata?: any;
|
|
7908
9024
|
}>, z.ZodObject<{
|
|
7909
9025
|
type: z.ZodLiteral<"cron">;
|
|
@@ -7917,18 +9033,22 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
7917
9033
|
}, {
|
|
7918
9034
|
cron: string;
|
|
7919
9035
|
}>;
|
|
9036
|
+
/** An optional Account ID to associate with runs triggered by this interval */
|
|
9037
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7920
9038
|
metadata: z.ZodAny;
|
|
7921
9039
|
}, "strip", z.ZodTypeAny, {
|
|
7922
9040
|
options: {
|
|
7923
9041
|
cron: string;
|
|
7924
9042
|
};
|
|
7925
9043
|
type: "cron";
|
|
9044
|
+
accountId?: string | undefined;
|
|
7926
9045
|
metadata?: any;
|
|
7927
9046
|
}, {
|
|
7928
9047
|
options: {
|
|
7929
9048
|
cron: string;
|
|
7930
9049
|
};
|
|
7931
9050
|
type: "cron";
|
|
9051
|
+
accountId?: string | undefined;
|
|
7932
9052
|
metadata?: any;
|
|
7933
9053
|
}>]>;
|
|
7934
9054
|
type ScheduleMetadata = z.infer<typeof ScheduleMetadataSchema>;
|
|
@@ -7973,14 +9093,14 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
7973
9093
|
scopes: string[];
|
|
7974
9094
|
id: string;
|
|
7975
9095
|
title: string;
|
|
7976
|
-
createdAt: Date;
|
|
7977
9096
|
updatedAt: Date;
|
|
9097
|
+
createdAt: Date;
|
|
7978
9098
|
}, {
|
|
7979
9099
|
scopes: string[];
|
|
7980
9100
|
id: string;
|
|
7981
9101
|
title: string;
|
|
7982
|
-
createdAt: Date;
|
|
7983
9102
|
updatedAt: Date;
|
|
9103
|
+
createdAt: Date;
|
|
7984
9104
|
}>;
|
|
7985
9105
|
authorizationUrl: z.ZodString;
|
|
7986
9106
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7989,8 +9109,8 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
7989
9109
|
scopes: string[];
|
|
7990
9110
|
id: string;
|
|
7991
9111
|
title: string;
|
|
7992
|
-
createdAt: Date;
|
|
7993
9112
|
updatedAt: Date;
|
|
9113
|
+
createdAt: Date;
|
|
7994
9114
|
};
|
|
7995
9115
|
authorizationUrl: string;
|
|
7996
9116
|
}, {
|
|
@@ -7999,8 +9119,8 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
7999
9119
|
scopes: string[];
|
|
8000
9120
|
id: string;
|
|
8001
9121
|
title: string;
|
|
8002
|
-
createdAt: Date;
|
|
8003
9122
|
updatedAt: Date;
|
|
9123
|
+
createdAt: Date;
|
|
8004
9124
|
};
|
|
8005
9125
|
authorizationUrl: string;
|
|
8006
9126
|
}>;
|
|
@@ -8016,14 +9136,14 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8016
9136
|
scopes: string[];
|
|
8017
9137
|
id: string;
|
|
8018
9138
|
title: string;
|
|
8019
|
-
createdAt: Date;
|
|
8020
9139
|
updatedAt: Date;
|
|
9140
|
+
createdAt: Date;
|
|
8021
9141
|
}, {
|
|
8022
9142
|
scopes: string[];
|
|
8023
9143
|
id: string;
|
|
8024
9144
|
title: string;
|
|
8025
|
-
createdAt: Date;
|
|
8026
9145
|
updatedAt: Date;
|
|
9146
|
+
createdAt: Date;
|
|
8027
9147
|
}>;
|
|
8028
9148
|
authorizationUrl: z.ZodString;
|
|
8029
9149
|
type: z.ZodLiteral<"DEVELOPER">;
|
|
@@ -8034,8 +9154,8 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8034
9154
|
scopes: string[];
|
|
8035
9155
|
id: string;
|
|
8036
9156
|
title: string;
|
|
8037
|
-
createdAt: Date;
|
|
8038
9157
|
updatedAt: Date;
|
|
9158
|
+
createdAt: Date;
|
|
8039
9159
|
};
|
|
8040
9160
|
authorizationUrl: string;
|
|
8041
9161
|
}, {
|
|
@@ -8045,8 +9165,8 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8045
9165
|
scopes: string[];
|
|
8046
9166
|
id: string;
|
|
8047
9167
|
title: string;
|
|
8048
|
-
createdAt: Date;
|
|
8049
9168
|
updatedAt: Date;
|
|
9169
|
+
createdAt: Date;
|
|
8050
9170
|
};
|
|
8051
9171
|
authorizationUrl: string;
|
|
8052
9172
|
}>;
|
|
@@ -8062,14 +9182,14 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8062
9182
|
scopes: string[];
|
|
8063
9183
|
id: string;
|
|
8064
9184
|
title: string;
|
|
8065
|
-
createdAt: Date;
|
|
8066
9185
|
updatedAt: Date;
|
|
9186
|
+
createdAt: Date;
|
|
8067
9187
|
}, {
|
|
8068
9188
|
scopes: string[];
|
|
8069
9189
|
id: string;
|
|
8070
9190
|
title: string;
|
|
8071
|
-
createdAt: Date;
|
|
8072
9191
|
updatedAt: Date;
|
|
9192
|
+
createdAt: Date;
|
|
8073
9193
|
}>;
|
|
8074
9194
|
authorizationUrl: z.ZodString;
|
|
8075
9195
|
type: z.ZodLiteral<"EXTERNAL">;
|
|
@@ -8094,8 +9214,8 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8094
9214
|
scopes: string[];
|
|
8095
9215
|
id: string;
|
|
8096
9216
|
title: string;
|
|
8097
|
-
createdAt: Date;
|
|
8098
9217
|
updatedAt: Date;
|
|
9218
|
+
createdAt: Date;
|
|
8099
9219
|
};
|
|
8100
9220
|
authorizationUrl: string;
|
|
8101
9221
|
}, {
|
|
@@ -8109,8 +9229,8 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
|
|
|
8109
9229
|
scopes: string[];
|
|
8110
9230
|
id: string;
|
|
8111
9231
|
title: string;
|
|
8112
|
-
createdAt: Date;
|
|
8113
9232
|
updatedAt: Date;
|
|
9233
|
+
createdAt: Date;
|
|
8114
9234
|
};
|
|
8115
9235
|
authorizationUrl: string;
|
|
8116
9236
|
}>;
|
|
@@ -8126,14 +9246,14 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8126
9246
|
scopes: string[];
|
|
8127
9247
|
id: string;
|
|
8128
9248
|
title: string;
|
|
8129
|
-
createdAt: Date;
|
|
8130
9249
|
updatedAt: Date;
|
|
9250
|
+
createdAt: Date;
|
|
8131
9251
|
}, {
|
|
8132
9252
|
scopes: string[];
|
|
8133
9253
|
id: string;
|
|
8134
9254
|
title: string;
|
|
8135
|
-
createdAt: Date;
|
|
8136
9255
|
updatedAt: Date;
|
|
9256
|
+
createdAt: Date;
|
|
8137
9257
|
}>;
|
|
8138
9258
|
authorizationUrl: z.ZodString;
|
|
8139
9259
|
type: z.ZodLiteral<"DEVELOPER">;
|
|
@@ -8144,8 +9264,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8144
9264
|
scopes: string[];
|
|
8145
9265
|
id: string;
|
|
8146
9266
|
title: string;
|
|
8147
|
-
createdAt: Date;
|
|
8148
9267
|
updatedAt: Date;
|
|
9268
|
+
createdAt: Date;
|
|
8149
9269
|
};
|
|
8150
9270
|
authorizationUrl: string;
|
|
8151
9271
|
}, {
|
|
@@ -8155,8 +9275,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8155
9275
|
scopes: string[];
|
|
8156
9276
|
id: string;
|
|
8157
9277
|
title: string;
|
|
8158
|
-
createdAt: Date;
|
|
8159
9278
|
updatedAt: Date;
|
|
9279
|
+
createdAt: Date;
|
|
8160
9280
|
};
|
|
8161
9281
|
authorizationUrl: string;
|
|
8162
9282
|
}>, z.ZodObject<{
|
|
@@ -8171,14 +9291,14 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8171
9291
|
scopes: string[];
|
|
8172
9292
|
id: string;
|
|
8173
9293
|
title: string;
|
|
8174
|
-
createdAt: Date;
|
|
8175
9294
|
updatedAt: Date;
|
|
9295
|
+
createdAt: Date;
|
|
8176
9296
|
}, {
|
|
8177
9297
|
scopes: string[];
|
|
8178
9298
|
id: string;
|
|
8179
9299
|
title: string;
|
|
8180
|
-
createdAt: Date;
|
|
8181
9300
|
updatedAt: Date;
|
|
9301
|
+
createdAt: Date;
|
|
8182
9302
|
}>;
|
|
8183
9303
|
authorizationUrl: z.ZodString;
|
|
8184
9304
|
type: z.ZodLiteral<"EXTERNAL">;
|
|
@@ -8203,8 +9323,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8203
9323
|
scopes: string[];
|
|
8204
9324
|
id: string;
|
|
8205
9325
|
title: string;
|
|
8206
|
-
createdAt: Date;
|
|
8207
9326
|
updatedAt: Date;
|
|
9327
|
+
createdAt: Date;
|
|
8208
9328
|
};
|
|
8209
9329
|
authorizationUrl: string;
|
|
8210
9330
|
}, {
|
|
@@ -8218,8 +9338,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
|
|
|
8218
9338
|
scopes: string[];
|
|
8219
9339
|
id: string;
|
|
8220
9340
|
title: string;
|
|
8221
|
-
createdAt: Date;
|
|
8222
9341
|
updatedAt: Date;
|
|
9342
|
+
createdAt: Date;
|
|
8223
9343
|
};
|
|
8224
9344
|
authorizationUrl: string;
|
|
8225
9345
|
}>]>;
|
|
@@ -8238,16 +9358,16 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
|
|
|
8238
9358
|
scopes: string[];
|
|
8239
9359
|
id: string;
|
|
8240
9360
|
title: string;
|
|
8241
|
-
createdAt: Date;
|
|
8242
9361
|
updatedAt: Date;
|
|
9362
|
+
createdAt: Date;
|
|
8243
9363
|
integrationIdentifier: string;
|
|
8244
9364
|
integrationAuthMethod: string;
|
|
8245
9365
|
}, {
|
|
8246
9366
|
scopes: string[];
|
|
8247
9367
|
id: string;
|
|
8248
9368
|
title: string;
|
|
8249
|
-
createdAt: Date;
|
|
8250
9369
|
updatedAt: Date;
|
|
9370
|
+
createdAt: Date;
|
|
8251
9371
|
integrationIdentifier: string;
|
|
8252
9372
|
integrationAuthMethod: string;
|
|
8253
9373
|
}>;
|
|
@@ -8258,8 +9378,8 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
|
|
|
8258
9378
|
scopes: string[];
|
|
8259
9379
|
id: string;
|
|
8260
9380
|
title: string;
|
|
8261
|
-
createdAt: Date;
|
|
8262
9381
|
updatedAt: Date;
|
|
9382
|
+
createdAt: Date;
|
|
8263
9383
|
integrationIdentifier: string;
|
|
8264
9384
|
integrationAuthMethod: string;
|
|
8265
9385
|
};
|
|
@@ -8270,8 +9390,8 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
|
|
|
8270
9390
|
scopes: string[];
|
|
8271
9391
|
id: string;
|
|
8272
9392
|
title: string;
|
|
8273
|
-
createdAt: Date;
|
|
8274
9393
|
updatedAt: Date;
|
|
9394
|
+
createdAt: Date;
|
|
8275
9395
|
integrationIdentifier: string;
|
|
8276
9396
|
integrationAuthMethod: string;
|
|
8277
9397
|
};
|
|
@@ -8291,16 +9411,16 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
|
|
|
8291
9411
|
scopes: string[];
|
|
8292
9412
|
id: string;
|
|
8293
9413
|
title: string;
|
|
8294
|
-
createdAt: Date;
|
|
8295
9414
|
updatedAt: Date;
|
|
9415
|
+
createdAt: Date;
|
|
8296
9416
|
integrationIdentifier: string;
|
|
8297
9417
|
integrationAuthMethod: string;
|
|
8298
9418
|
}, {
|
|
8299
9419
|
scopes: string[];
|
|
8300
9420
|
id: string;
|
|
8301
9421
|
title: string;
|
|
8302
|
-
createdAt: Date;
|
|
8303
9422
|
updatedAt: Date;
|
|
9423
|
+
createdAt: Date;
|
|
8304
9424
|
integrationIdentifier: string;
|
|
8305
9425
|
integrationAuthMethod: string;
|
|
8306
9426
|
}>;
|
|
@@ -8313,8 +9433,8 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
|
|
|
8313
9433
|
scopes: string[];
|
|
8314
9434
|
id: string;
|
|
8315
9435
|
title: string;
|
|
8316
|
-
createdAt: Date;
|
|
8317
9436
|
updatedAt: Date;
|
|
9437
|
+
createdAt: Date;
|
|
8318
9438
|
integrationIdentifier: string;
|
|
8319
9439
|
integrationAuthMethod: string;
|
|
8320
9440
|
};
|
|
@@ -8326,8 +9446,8 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
|
|
|
8326
9446
|
scopes: string[];
|
|
8327
9447
|
id: string;
|
|
8328
9448
|
title: string;
|
|
8329
|
-
createdAt: Date;
|
|
8330
9449
|
updatedAt: Date;
|
|
9450
|
+
createdAt: Date;
|
|
8331
9451
|
integrationIdentifier: string;
|
|
8332
9452
|
integrationAuthMethod: string;
|
|
8333
9453
|
};
|
|
@@ -8347,16 +9467,16 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
|
|
|
8347
9467
|
scopes: string[];
|
|
8348
9468
|
id: string;
|
|
8349
9469
|
title: string;
|
|
8350
|
-
createdAt: Date;
|
|
8351
9470
|
updatedAt: Date;
|
|
9471
|
+
createdAt: Date;
|
|
8352
9472
|
integrationIdentifier: string;
|
|
8353
9473
|
integrationAuthMethod: string;
|
|
8354
9474
|
}, {
|
|
8355
9475
|
scopes: string[];
|
|
8356
9476
|
id: string;
|
|
8357
9477
|
title: string;
|
|
8358
|
-
createdAt: Date;
|
|
8359
9478
|
updatedAt: Date;
|
|
9479
|
+
createdAt: Date;
|
|
8360
9480
|
integrationIdentifier: string;
|
|
8361
9481
|
integrationAuthMethod: string;
|
|
8362
9482
|
}>;
|
|
@@ -8383,8 +9503,8 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
|
|
|
8383
9503
|
scopes: string[];
|
|
8384
9504
|
id: string;
|
|
8385
9505
|
title: string;
|
|
8386
|
-
createdAt: Date;
|
|
8387
9506
|
updatedAt: Date;
|
|
9507
|
+
createdAt: Date;
|
|
8388
9508
|
integrationIdentifier: string;
|
|
8389
9509
|
integrationAuthMethod: string;
|
|
8390
9510
|
};
|
|
@@ -8400,8 +9520,8 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
|
|
|
8400
9520
|
scopes: string[];
|
|
8401
9521
|
id: string;
|
|
8402
9522
|
title: string;
|
|
8403
|
-
createdAt: Date;
|
|
8404
9523
|
updatedAt: Date;
|
|
9524
|
+
createdAt: Date;
|
|
8405
9525
|
integrationIdentifier: string;
|
|
8406
9526
|
integrationAuthMethod: string;
|
|
8407
9527
|
};
|
|
@@ -8421,16 +9541,16 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8421
9541
|
scopes: string[];
|
|
8422
9542
|
id: string;
|
|
8423
9543
|
title: string;
|
|
8424
|
-
createdAt: Date;
|
|
8425
9544
|
updatedAt: Date;
|
|
9545
|
+
createdAt: Date;
|
|
8426
9546
|
integrationIdentifier: string;
|
|
8427
9547
|
integrationAuthMethod: string;
|
|
8428
9548
|
}, {
|
|
8429
9549
|
scopes: string[];
|
|
8430
9550
|
id: string;
|
|
8431
9551
|
title: string;
|
|
8432
|
-
createdAt: Date;
|
|
8433
9552
|
updatedAt: Date;
|
|
9553
|
+
createdAt: Date;
|
|
8434
9554
|
integrationIdentifier: string;
|
|
8435
9555
|
integrationAuthMethod: string;
|
|
8436
9556
|
}>;
|
|
@@ -8443,8 +9563,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8443
9563
|
scopes: string[];
|
|
8444
9564
|
id: string;
|
|
8445
9565
|
title: string;
|
|
8446
|
-
createdAt: Date;
|
|
8447
9566
|
updatedAt: Date;
|
|
9567
|
+
createdAt: Date;
|
|
8448
9568
|
integrationIdentifier: string;
|
|
8449
9569
|
integrationAuthMethod: string;
|
|
8450
9570
|
};
|
|
@@ -8456,8 +9576,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8456
9576
|
scopes: string[];
|
|
8457
9577
|
id: string;
|
|
8458
9578
|
title: string;
|
|
8459
|
-
createdAt: Date;
|
|
8460
9579
|
updatedAt: Date;
|
|
9580
|
+
createdAt: Date;
|
|
8461
9581
|
integrationIdentifier: string;
|
|
8462
9582
|
integrationAuthMethod: string;
|
|
8463
9583
|
};
|
|
@@ -8476,16 +9596,16 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8476
9596
|
scopes: string[];
|
|
8477
9597
|
id: string;
|
|
8478
9598
|
title: string;
|
|
8479
|
-
createdAt: Date;
|
|
8480
9599
|
updatedAt: Date;
|
|
9600
|
+
createdAt: Date;
|
|
8481
9601
|
integrationIdentifier: string;
|
|
8482
9602
|
integrationAuthMethod: string;
|
|
8483
9603
|
}, {
|
|
8484
9604
|
scopes: string[];
|
|
8485
9605
|
id: string;
|
|
8486
9606
|
title: string;
|
|
8487
|
-
createdAt: Date;
|
|
8488
9607
|
updatedAt: Date;
|
|
9608
|
+
createdAt: Date;
|
|
8489
9609
|
integrationIdentifier: string;
|
|
8490
9610
|
integrationAuthMethod: string;
|
|
8491
9611
|
}>;
|
|
@@ -8512,8 +9632,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8512
9632
|
scopes: string[];
|
|
8513
9633
|
id: string;
|
|
8514
9634
|
title: string;
|
|
8515
|
-
createdAt: Date;
|
|
8516
9635
|
updatedAt: Date;
|
|
9636
|
+
createdAt: Date;
|
|
8517
9637
|
integrationIdentifier: string;
|
|
8518
9638
|
integrationAuthMethod: string;
|
|
8519
9639
|
};
|
|
@@ -8529,8 +9649,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
|
|
|
8529
9649
|
scopes: string[];
|
|
8530
9650
|
id: string;
|
|
8531
9651
|
title: string;
|
|
8532
|
-
createdAt: Date;
|
|
8533
9652
|
updatedAt: Date;
|
|
9653
|
+
createdAt: Date;
|
|
8534
9654
|
integrationIdentifier: string;
|
|
8535
9655
|
integrationAuthMethod: string;
|
|
8536
9656
|
};
|
|
@@ -8856,18 +9976,18 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
8856
9976
|
/** The Run id */
|
|
8857
9977
|
id: z.ZodString;
|
|
8858
9978
|
/** The Run status */
|
|
8859
|
-
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">]>;
|
|
9979
|
+
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
|
|
8860
9980
|
/** When the run started */
|
|
8861
9981
|
startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
8862
9982
|
/** When the run completed */
|
|
8863
9983
|
completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
8864
9984
|
}, "strip", z.ZodTypeAny, {
|
|
8865
|
-
status: "PENDING" | "CANCELED" | "
|
|
9985
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
8866
9986
|
id: string;
|
|
8867
9987
|
startedAt?: Date | null | undefined;
|
|
8868
9988
|
completedAt?: Date | null | undefined;
|
|
8869
9989
|
}, {
|
|
8870
|
-
status: "PENDING" | "CANCELED" | "
|
|
9990
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
8871
9991
|
id: string;
|
|
8872
9992
|
startedAt?: Date | null | undefined;
|
|
8873
9993
|
completedAt?: Date | null | undefined;
|
|
@@ -8875,30 +9995,41 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
8875
9995
|
}, "strip", z.ZodTypeAny, {
|
|
8876
9996
|
name: string;
|
|
8877
9997
|
id: string;
|
|
8878
|
-
createdAt: Date;
|
|
8879
9998
|
updatedAt: Date;
|
|
8880
9999
|
runs: {
|
|
8881
|
-
status: "PENDING" | "CANCELED" | "
|
|
10000
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
8882
10001
|
id: string;
|
|
8883
10002
|
startedAt?: Date | null | undefined;
|
|
8884
10003
|
completedAt?: Date | null | undefined;
|
|
8885
10004
|
}[];
|
|
10005
|
+
createdAt: Date;
|
|
8886
10006
|
}, {
|
|
8887
10007
|
name: string;
|
|
8888
10008
|
id: string;
|
|
8889
|
-
createdAt: Date;
|
|
8890
10009
|
updatedAt: Date;
|
|
8891
10010
|
runs: {
|
|
8892
|
-
status: "PENDING" | "CANCELED" | "
|
|
10011
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
8893
10012
|
id: string;
|
|
8894
10013
|
startedAt?: Date | null | undefined;
|
|
8895
10014
|
completedAt?: Date | null | undefined;
|
|
8896
10015
|
}[];
|
|
10016
|
+
createdAt: Date;
|
|
8897
10017
|
}>;
|
|
8898
10018
|
type GetEvent = z.infer<typeof GetEventSchema>;
|
|
10019
|
+
declare const CancelRunsForEventSchema: z.ZodObject<{
|
|
10020
|
+
cancelledRunIds: z.ZodArray<z.ZodString, "many">;
|
|
10021
|
+
failedToCancelRunIds: z.ZodArray<z.ZodString, "many">;
|
|
10022
|
+
}, "strip", z.ZodTypeAny, {
|
|
10023
|
+
cancelledRunIds: string[];
|
|
10024
|
+
failedToCancelRunIds: string[];
|
|
10025
|
+
}, {
|
|
10026
|
+
cancelledRunIds: string[];
|
|
10027
|
+
failedToCancelRunIds: string[];
|
|
10028
|
+
}>;
|
|
10029
|
+
type CancelRunsForEvent = z.infer<typeof CancelRunsForEventSchema>;
|
|
8899
10030
|
|
|
8900
|
-
declare const RunStatusSchema: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">]>;
|
|
8901
|
-
declare const RunTaskSchema: ZodObject<{
|
|
10031
|
+
declare const RunStatusSchema: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
|
|
10032
|
+
declare const RunTaskSchema: z.ZodObject<{
|
|
8902
10033
|
/** The Task id */
|
|
8903
10034
|
id: z.ZodString;
|
|
8904
10035
|
/** The key that you defined when creating the Task, the first param in any task. */
|
|
@@ -8936,7 +10067,7 @@ type RunTaskWithSubtasks = z.infer<typeof RunTaskSchema> & {
|
|
|
8936
10067
|
/** The subtasks of the task */
|
|
8937
10068
|
subtasks?: RunTaskWithSubtasks[];
|
|
8938
10069
|
};
|
|
8939
|
-
declare const GetRunOptionsSchema: ZodObject<{
|
|
10070
|
+
declare const GetRunOptionsSchema: z.ZodObject<{
|
|
8940
10071
|
/** Return subtasks, which appear in a `subtasks` array on a task. @default false */
|
|
8941
10072
|
subtasks: z.ZodOptional<z.ZodBoolean>;
|
|
8942
10073
|
/** You can use this to get more tasks, if there are more than are returned in a single batch @default undefined */
|
|
@@ -8953,7 +10084,7 @@ declare const GetRunOptionsSchema: ZodObject<{
|
|
|
8953
10084
|
take?: number | undefined;
|
|
8954
10085
|
}>;
|
|
8955
10086
|
type GetRunOptions = z.infer<typeof GetRunOptionsSchema>;
|
|
8956
|
-
declare const GetRunOptionsWithTaskDetailsSchema: ZodObject<{
|
|
10087
|
+
declare const GetRunOptionsWithTaskDetailsSchema: z.ZodObject<{
|
|
8957
10088
|
subtasks: z.ZodOptional<z.ZodBoolean>;
|
|
8958
10089
|
cursor: z.ZodOptional<z.ZodString>;
|
|
8959
10090
|
take: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8970,36 +10101,97 @@ declare const GetRunOptionsWithTaskDetailsSchema: ZodObject<{
|
|
|
8970
10101
|
taskdetails?: boolean | undefined;
|
|
8971
10102
|
}>;
|
|
8972
10103
|
type GetRunOptionsWithTaskDetails = z.infer<typeof GetRunOptionsWithTaskDetailsSchema>;
|
|
8973
|
-
declare const GetRunSchema: ZodObject<{
|
|
8974
|
-
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">]>;
|
|
10104
|
+
declare const GetRunSchema: z.ZodObject<{
|
|
10105
|
+
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
|
|
8975
10106
|
id: z.ZodString;
|
|
8976
10107
|
startedAt: z.ZodNullable<z.ZodDate>;
|
|
8977
10108
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
8978
10109
|
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
8979
10110
|
output: z.ZodOptional<z.ZodAny>;
|
|
8980
10111
|
tasks: z.ZodArray<z.ZodType<RunTaskWithSubtasks, z.ZodTypeDef, RunTaskWithSubtasks>, "many">;
|
|
10112
|
+
statuses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
10113
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
10114
|
+
label: z.ZodString;
|
|
10115
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
10116
|
+
key: z.ZodString;
|
|
10117
|
+
history: z.ZodArray<z.ZodObject<{
|
|
10118
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10119
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
10120
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
10121
|
+
}, "strip", z.ZodTypeAny, {
|
|
10122
|
+
label?: string | undefined;
|
|
10123
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10124
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10125
|
+
}, {
|
|
10126
|
+
label?: string | undefined;
|
|
10127
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10128
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10129
|
+
}>, "many">;
|
|
10130
|
+
}, "strip", z.ZodTypeAny, {
|
|
10131
|
+
key: string;
|
|
10132
|
+
label: string;
|
|
10133
|
+
history: {
|
|
10134
|
+
label?: string | undefined;
|
|
10135
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10136
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10137
|
+
}[];
|
|
10138
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10139
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10140
|
+
}, {
|
|
10141
|
+
key: string;
|
|
10142
|
+
label: string;
|
|
10143
|
+
history: {
|
|
10144
|
+
label?: string | undefined;
|
|
10145
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10146
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10147
|
+
}[];
|
|
10148
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10149
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10150
|
+
}>, "many">>;
|
|
8981
10151
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
8982
10152
|
}, "strip", z.ZodTypeAny, {
|
|
8983
|
-
status: "PENDING" | "CANCELED" | "
|
|
10153
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
8984
10154
|
id: string;
|
|
8985
10155
|
startedAt: Date | null;
|
|
8986
10156
|
completedAt: Date | null;
|
|
8987
|
-
tasks: RunTaskWithSubtasks[];
|
|
8988
10157
|
updatedAt: Date | null;
|
|
10158
|
+
tasks: RunTaskWithSubtasks[];
|
|
10159
|
+
statuses: {
|
|
10160
|
+
key: string;
|
|
10161
|
+
label: string;
|
|
10162
|
+
history: {
|
|
10163
|
+
label?: string | undefined;
|
|
10164
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10165
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10166
|
+
}[];
|
|
10167
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10168
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10169
|
+
}[];
|
|
8989
10170
|
output?: any;
|
|
8990
10171
|
nextCursor?: string | undefined;
|
|
8991
10172
|
}, {
|
|
8992
|
-
status: "PENDING" | "CANCELED" | "
|
|
10173
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
8993
10174
|
id: string;
|
|
8994
10175
|
startedAt: Date | null;
|
|
8995
10176
|
completedAt: Date | null;
|
|
8996
|
-
tasks: RunTaskWithSubtasks[];
|
|
8997
10177
|
updatedAt: Date | null;
|
|
10178
|
+
tasks: RunTaskWithSubtasks[];
|
|
8998
10179
|
output?: any;
|
|
10180
|
+
statuses?: {
|
|
10181
|
+
key: string;
|
|
10182
|
+
label: string;
|
|
10183
|
+
history: {
|
|
10184
|
+
label?: string | undefined;
|
|
10185
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10186
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10187
|
+
}[];
|
|
10188
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10189
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10190
|
+
}[] | undefined;
|
|
8999
10191
|
nextCursor?: string | undefined;
|
|
9000
10192
|
}>;
|
|
9001
10193
|
type GetRun = z.infer<typeof GetRunSchema>;
|
|
9002
|
-
declare const GetRunsOptionsSchema: ZodObject<{
|
|
10194
|
+
declare const GetRunsOptionsSchema: z.ZodObject<{
|
|
9003
10195
|
/** You can use this to get more tasks, if there are more than are returned in a single batch @default undefined */
|
|
9004
10196
|
cursor: z.ZodOptional<z.ZodString>;
|
|
9005
10197
|
/** How many runs you want to return in one go, max 50. @default 20 */
|
|
@@ -9012,13 +10204,13 @@ declare const GetRunsOptionsSchema: ZodObject<{
|
|
|
9012
10204
|
take?: number | undefined;
|
|
9013
10205
|
}>;
|
|
9014
10206
|
type GetRunsOptions = z.infer<typeof GetRunsOptionsSchema>;
|
|
9015
|
-
declare const GetRunsSchema: ZodObject<{
|
|
10207
|
+
declare const GetRunsSchema: z.ZodObject<{
|
|
9016
10208
|
/** The runs from the query */
|
|
9017
|
-
runs: z.ZodArray<ZodObject<{
|
|
10209
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
9018
10210
|
/** The Run id */
|
|
9019
10211
|
id: z.ZodString;
|
|
9020
10212
|
/** The Run status */
|
|
9021
|
-
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">]>;
|
|
10213
|
+
status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
|
|
9022
10214
|
/** When the run started */
|
|
9023
10215
|
startedAt: z.ZodNullable<z.ZodDate>;
|
|
9024
10216
|
/** When the run was last updated */
|
|
@@ -9026,13 +10218,13 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9026
10218
|
/** When the run was completed */
|
|
9027
10219
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
9028
10220
|
}, "strip", z.ZodTypeAny, {
|
|
9029
|
-
status: "PENDING" | "CANCELED" | "
|
|
10221
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9030
10222
|
id: string;
|
|
9031
10223
|
startedAt: Date | null;
|
|
9032
10224
|
completedAt: Date | null;
|
|
9033
10225
|
updatedAt: Date | null;
|
|
9034
10226
|
}, {
|
|
9035
|
-
status: "PENDING" | "CANCELED" | "
|
|
10227
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9036
10228
|
id: string;
|
|
9037
10229
|
startedAt: Date | null;
|
|
9038
10230
|
completedAt: Date | null;
|
|
@@ -9042,7 +10234,7 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9042
10234
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
9043
10235
|
}, "strip", z.ZodTypeAny, {
|
|
9044
10236
|
runs: {
|
|
9045
|
-
status: "PENDING" | "CANCELED" | "
|
|
10237
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9046
10238
|
id: string;
|
|
9047
10239
|
startedAt: Date | null;
|
|
9048
10240
|
completedAt: Date | null;
|
|
@@ -9051,7 +10243,7 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9051
10243
|
nextCursor?: string | undefined;
|
|
9052
10244
|
}, {
|
|
9053
10245
|
runs: {
|
|
9054
|
-
status: "PENDING" | "CANCELED" | "
|
|
10246
|
+
status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
|
|
9055
10247
|
id: string;
|
|
9056
10248
|
startedAt: Date | null;
|
|
9057
10249
|
completedAt: Date | null;
|
|
@@ -9062,6 +10254,92 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9062
10254
|
|
|
9063
10255
|
declare function addMissingVersionField(val: unknown): unknown;
|
|
9064
10256
|
|
|
10257
|
+
declare const StatusUpdateStateSchema: z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>;
|
|
10258
|
+
type StatusUpdateState = z.infer<typeof StatusUpdateStateSchema>;
|
|
10259
|
+
declare const StatusUpdateDataSchema: z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>;
|
|
10260
|
+
type StatusUpdateData = z.infer<typeof StatusUpdateDataSchema>;
|
|
10261
|
+
declare const StatusUpdateSchema: z.ZodObject<{
|
|
10262
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10263
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
10264
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
10265
|
+
}, "strip", z.ZodTypeAny, {
|
|
10266
|
+
label?: string | undefined;
|
|
10267
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10268
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10269
|
+
}, {
|
|
10270
|
+
label?: string | undefined;
|
|
10271
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10272
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10273
|
+
}>;
|
|
10274
|
+
type StatusUpdate = z.infer<typeof StatusUpdateSchema>;
|
|
10275
|
+
declare const InitalStatusUpdateSchema: z.ZodObject<{
|
|
10276
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
10277
|
+
label: z.ZodString;
|
|
10278
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
10279
|
+
}, "strip", z.ZodTypeAny, {
|
|
10280
|
+
label: string;
|
|
10281
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10282
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10283
|
+
}, {
|
|
10284
|
+
label: string;
|
|
10285
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10286
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10287
|
+
}>;
|
|
10288
|
+
type InitialStatusUpdate = z.infer<typeof InitalStatusUpdateSchema>;
|
|
10289
|
+
declare const StatusHistorySchema: z.ZodArray<z.ZodObject<{
|
|
10290
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10291
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
10292
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
10293
|
+
}, "strip", z.ZodTypeAny, {
|
|
10294
|
+
label?: string | undefined;
|
|
10295
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10296
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10297
|
+
}, {
|
|
10298
|
+
label?: string | undefined;
|
|
10299
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10300
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10301
|
+
}>, "many">;
|
|
10302
|
+
type StatusHistory = z.infer<typeof StatusHistorySchema>;
|
|
10303
|
+
declare const JobRunStatusRecordSchema: z.ZodObject<{
|
|
10304
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
10305
|
+
label: z.ZodString;
|
|
10306
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
10307
|
+
key: z.ZodString;
|
|
10308
|
+
history: z.ZodArray<z.ZodObject<{
|
|
10309
|
+
label: z.ZodOptional<z.ZodString>;
|
|
10310
|
+
state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
|
|
10311
|
+
data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
|
|
10312
|
+
}, "strip", z.ZodTypeAny, {
|
|
10313
|
+
label?: string | undefined;
|
|
10314
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10315
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10316
|
+
}, {
|
|
10317
|
+
label?: string | undefined;
|
|
10318
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10319
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10320
|
+
}>, "many">;
|
|
10321
|
+
}, "strip", z.ZodTypeAny, {
|
|
10322
|
+
key: string;
|
|
10323
|
+
label: string;
|
|
10324
|
+
history: {
|
|
10325
|
+
label?: string | undefined;
|
|
10326
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10327
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10328
|
+
}[];
|
|
10329
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10330
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10331
|
+
}, {
|
|
10332
|
+
key: string;
|
|
10333
|
+
label: string;
|
|
10334
|
+
history: {
|
|
10335
|
+
label?: string | undefined;
|
|
10336
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10337
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10338
|
+
}[];
|
|
10339
|
+
data?: Record<string, SerializableJson> | undefined;
|
|
10340
|
+
state?: "loading" | "success" | "failure" | undefined;
|
|
10341
|
+
}>;
|
|
10342
|
+
|
|
9065
10343
|
declare function deepMergeFilters(...filters: EventFilter[]): EventFilter;
|
|
9066
10344
|
|
|
9067
10345
|
declare function calculateRetryAt(retryOptions: RetryOptions, attempts: number): Date | undefined;
|
|
@@ -9088,4 +10366,24 @@ declare function urlWithSearchParams(url: string, params: Record<string, string
|
|
|
9088
10366
|
|
|
9089
10367
|
declare function eventFilterMatches(payload: any, filter: EventFilter): boolean;
|
|
9090
10368
|
|
|
9091
|
-
|
|
10369
|
+
declare class BloomFilter {
|
|
10370
|
+
private size;
|
|
10371
|
+
private bitArray;
|
|
10372
|
+
constructor(size: number);
|
|
10373
|
+
add(item: string): void;
|
|
10374
|
+
test(item: string): boolean;
|
|
10375
|
+
serialize(): string;
|
|
10376
|
+
static deserialize(str: string, size: number): BloomFilter;
|
|
10377
|
+
static NOOP_TASK_SET_SIZE: number;
|
|
10378
|
+
}
|
|
10379
|
+
|
|
10380
|
+
declare const API_VERSIONS: {
|
|
10381
|
+
readonly LAZY_LOADED_CACHED_TASKS: "2023-09-29";
|
|
10382
|
+
};
|
|
10383
|
+
declare const PLATFORM_FEATURES: {
|
|
10384
|
+
yieldExecution: "2023-09-29";
|
|
10385
|
+
lazyLoadedCachedTasks: "2023-09-29";
|
|
10386
|
+
};
|
|
10387
|
+
declare function supportsFeature<TFeatureName extends keyof typeof PLATFORM_FEATURES>(featureName: TFeatureName, version: string): boolean;
|
|
10388
|
+
|
|
10389
|
+
export { API_VERSIONS, ApiEventLog, ApiEventLogSchema, AutoYieldConfig, AutoYieldConfigSchema, BloomFilter, CachedTask, CachedTaskSchema, CancelRunsForEvent, CancelRunsForEventSchema, ClientTask, CommonMissingConnectionNotificationPayloadSchema, CommonMissingConnectionNotificationResolvedPayloadSchema, CompleteTaskBodyInput, CompleteTaskBodyInputSchema, CompleteTaskBodyOutput, ConnectionAuth, ConnectionAuthSchema, CreateExternalConnectionBody, CreateExternalConnectionBodySchema, CreateRunResponseBody, CreateRunResponseBodySchema, CronMetadata, CronMetadataSchema, CronOptions, CronOptionsSchema, DeliverEventResponse, DeliverEventResponseSchema, DeserializedJson, DeserializedJsonSchema, DisplayPropertiesSchema, DisplayProperty, DisplayPropertySchema, DynamicTriggerEndpointMetadata, DynamicTriggerEndpointMetadataSchema, DynamicTriggerMetadataSchema, EndpointHeadersSchema, EndpointIndexError, EndpointIndexErrorSchema, ErrorWithStack, ErrorWithStackSchema, EventExample, EventExampleSchema, EventFilter, EventFilterSchema, EventRule, EventRuleSchema, EventSpecificationSchema, ExampleReplacement, FailTaskBodyInput, FailTaskBodyInputSchema, FetchOperation, FetchOperationSchema, FetchRequestInit, FetchRequestInitSchema, FetchRetryBackoffStrategy, FetchRetryBackoffStrategySchema, FetchRetryHeadersStrategy, FetchRetryHeadersStrategySchema, FetchRetryOptions, FetchRetryOptionsSchema, FetchRetryStrategy, FetchRetryStrategySchema, GetEndpointIndexResponse, GetEndpointIndexResponseSchema, GetEvent, GetEventSchema, GetRun, GetRunOptions, GetRunOptionsWithTaskDetails, GetRunSchema, GetRunStatuses, GetRunStatusesSchema, GetRunsOptions, GetRunsSchema, HandleTriggerSource, HandleTriggerSourceSchema, HttpSourceRequest, HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, HttpSourceRequestSchema, HttpSourceResponseMetadata, HttpSourceResponseSchema, IndexEndpointResponse, IndexEndpointResponseSchema, IndexEndpointStats, InitialStatusUpdate, InitializeCronScheduleBodySchema, InitializeTriggerBody, InitializeTriggerBodySchema, IntegrationConfig, IntegrationConfigSchema, IntegrationMetadata, IntegrationMetadataSchema, IntervalMetadata, IntervalMetadataSchema, IntervalOptions, IntervalOptionsSchema, JobMetadata, JobMetadataSchema, JobRunStatusRecordSchema, LogLevel, LogMessage, LogMessageSchema, Logger, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, NormalizedRequest, NormalizedRequestSchema, NormalizedResponse, NormalizedResponseSchema, OverridableRunTaskOptions, PLATFORM_FEATURES, PongErrorResponseSchema, PongResponse, PongResponseSchema, PongSuccessResponseSchema, PreprocessRunBody, PreprocessRunBodySchema, PreprocessRunResponse, PreprocessRunResponseSchema, Prettify, QueueOptions, QueueOptionsSchema, REGISTER_SOURCE_EVENT_V1, REGISTER_SOURCE_EVENT_V2, RawEvent, RawEventSchema, RedactSchema, RedactString, RedactStringSchema, RegisterCronScheduleBody, RegisterDynamicSchedulePayload, RegisterDynamicSchedulePayloadSchema, RegisterHTTPTriggerSourceBodySchema, RegisterIntervalScheduleBody, RegisterIntervalScheduleBodySchema, RegisterSMTPTriggerSourceBodySchema, RegisterSQSTriggerSourceBodySchema, RegisterScheduleBody, RegisterScheduleBodySchema, RegisterScheduleResponseBody, RegisterScheduleResponseBodySchema, RegisterSourceChannelBodySchema, RegisterSourceEventOptions, RegisterSourceEventSchemaV1, RegisterSourceEventSchemaV2, RegisterSourceEventV1, RegisterSourceEventV2, RegisterTriggerBodySchemaV1, RegisterTriggerBodySchemaV2, RegisterTriggerBodyV1, RegisterTriggerBodyV2, RegisterTriggerSource, RegisterTriggerSourceSchema, RegisteredOptionsDiff, RetryOptions, RetryOptionsSchema, RunJobAutoYieldExecutionError, RunJobAutoYieldExecutionErrorSchema, RunJobAutoYieldWithCompletedTaskExecutionError, RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, RunJobBody, RunJobBodySchema, RunJobCanceledWithTask, RunJobCanceledWithTaskSchema, RunJobError, RunJobErrorSchema, RunJobInvalidPayloadError, RunJobInvalidPayloadErrorSchema, RunJobResponse, RunJobResponseSchema, RunJobResumeWithTask, RunJobResumeWithTaskSchema, RunJobRetryWithTask, RunJobRetryWithTaskSchema, RunJobSuccess, RunJobSuccessSchema, RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, RunJobYieldExecutionError, RunJobYieldExecutionErrorSchema, RunSourceContext, RunSourceContextSchema, RunStatusSchema, RunTaskBodyInput, RunTaskBodyInputSchema, RunTaskBodyOutput, RunTaskBodyOutputSchema, RunTaskOptions, RunTaskOptionsSchema, RunTaskResponseWithCachedTasksBody, RunTaskResponseWithCachedTasksBodySchema, RunTaskSchema, RunTaskWithSubtasks, RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, ScheduleMetadata, ScheduleMetadataSchema, ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, SchemaError, SchemaErrorSchema, SendEvent, SendEventBody, SendEventBodySchema, SendEventOptions, SendEventOptionsSchema, SerializableJson, SerializableJsonSchema, ServerTask, ServerTaskSchema, SourceEventOption, SourceMetadataV1, SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, StatusHistory, StatusHistorySchema, StatusUpdate, StatusUpdateData, StatusUpdateSchema, StatusUpdateState, StatusUpdateStateSchema, Style, StyleName, StyleSchema, TaskSchema, TaskStatus, TaskStatusSchema, TriggerMetadata, TriggerMetadataSchema, TriggerSource, TriggerSourceSchema, UpdateTriggerSourceBodyV1, UpdateTriggerSourceBodyV1Schema, UpdateTriggerSourceBodyV2, UpdateTriggerSourceBodyV2Schema, ValidateErrorResponseSchema, ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, addMissingVersionField, calculateRetryAt, currentDate, currentTimestampMilliseconds, currentTimestampSeconds, deepMergeFilters, eventFilterMatches, parseEndpointIndexStats, replacements, supportsFeature, urlWithSearchParams };
|