@trigger.dev/core 0.0.0-background-tasks-20230906212613 → 0.0.0-byo-auth-20230921145930
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 +291 -234
- package/dist/index.js +21 -33
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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.
|
|
@@ -901,17 +901,17 @@ declare const HandleTriggerSourceSchema: z.ZodObject<{
|
|
|
901
901
|
data: z.ZodAny;
|
|
902
902
|
params: z.ZodAny;
|
|
903
903
|
auth: z.ZodOptional<z.ZodObject<{
|
|
904
|
-
type: z.ZodEnum<["oauth2"]>;
|
|
904
|
+
type: z.ZodEnum<["oauth2", "apiKey"]>;
|
|
905
905
|
accessToken: z.ZodString;
|
|
906
906
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
907
907
|
additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
908
908
|
}, "strip", z.ZodTypeAny, {
|
|
909
|
-
type: "oauth2";
|
|
909
|
+
type: "oauth2" | "apiKey";
|
|
910
910
|
accessToken: string;
|
|
911
911
|
scopes?: string[] | undefined;
|
|
912
912
|
additionalFields?: Record<string, string> | undefined;
|
|
913
913
|
}, {
|
|
914
|
-
type: "oauth2";
|
|
914
|
+
type: "oauth2" | "apiKey";
|
|
915
915
|
accessToken: string;
|
|
916
916
|
scopes?: string[] | undefined;
|
|
917
917
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -923,7 +923,7 @@ declare const HandleTriggerSourceSchema: z.ZodObject<{
|
|
|
923
923
|
data?: any;
|
|
924
924
|
params?: any;
|
|
925
925
|
auth?: {
|
|
926
|
-
type: "oauth2";
|
|
926
|
+
type: "oauth2" | "apiKey";
|
|
927
927
|
accessToken: string;
|
|
928
928
|
scopes?: string[] | undefined;
|
|
929
929
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -935,7 +935,7 @@ declare const HandleTriggerSourceSchema: z.ZodObject<{
|
|
|
935
935
|
data?: any;
|
|
936
936
|
params?: any;
|
|
937
937
|
auth?: {
|
|
938
|
-
type: "oauth2";
|
|
938
|
+
type: "oauth2" | "apiKey";
|
|
939
939
|
accessToken: string;
|
|
940
940
|
scopes?: string[] | undefined;
|
|
941
941
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -971,7 +971,7 @@ declare const HttpSourceRequestHeadersSchema: z.ZodObject<{
|
|
|
971
971
|
"x-ts-http-method": z.ZodString;
|
|
972
972
|
"x-ts-http-headers": z.ZodEffects<z.ZodString, Record<string, string>, string>;
|
|
973
973
|
"x-ts-auth": z.ZodEffects<z.ZodOptional<z.ZodString>, {
|
|
974
|
-
type: "oauth2";
|
|
974
|
+
type: "oauth2" | "apiKey";
|
|
975
975
|
accessToken: string;
|
|
976
976
|
scopes?: string[] | undefined;
|
|
977
977
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -989,7 +989,7 @@ declare const HttpSourceRequestHeadersSchema: z.ZodObject<{
|
|
|
989
989
|
"x-ts-data"?: any;
|
|
990
990
|
"x-ts-params"?: any;
|
|
991
991
|
"x-ts-auth"?: {
|
|
992
|
-
type: "oauth2";
|
|
992
|
+
type: "oauth2" | "apiKey";
|
|
993
993
|
accessToken: string;
|
|
994
994
|
scopes?: string[] | undefined;
|
|
995
995
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -1252,18 +1252,21 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1252
1252
|
}, {
|
|
1253
1253
|
seconds: number;
|
|
1254
1254
|
}>;
|
|
1255
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
1255
1256
|
metadata: z.ZodAny;
|
|
1256
1257
|
}, "strip", z.ZodTypeAny, {
|
|
1257
1258
|
options: {
|
|
1258
1259
|
seconds: number;
|
|
1259
1260
|
};
|
|
1260
1261
|
type: "interval";
|
|
1262
|
+
accountId?: string | undefined;
|
|
1261
1263
|
metadata?: any;
|
|
1262
1264
|
}, {
|
|
1263
1265
|
options: {
|
|
1264
1266
|
seconds: number;
|
|
1265
1267
|
};
|
|
1266
1268
|
type: "interval";
|
|
1269
|
+
accountId?: string | undefined;
|
|
1267
1270
|
metadata?: any;
|
|
1268
1271
|
}>, z.ZodObject<{
|
|
1269
1272
|
type: z.ZodLiteral<"cron">;
|
|
@@ -1274,18 +1277,21 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1274
1277
|
}, {
|
|
1275
1278
|
cron: string;
|
|
1276
1279
|
}>;
|
|
1280
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
1277
1281
|
metadata: z.ZodAny;
|
|
1278
1282
|
}, "strip", z.ZodTypeAny, {
|
|
1279
1283
|
options: {
|
|
1280
1284
|
cron: string;
|
|
1281
1285
|
};
|
|
1282
1286
|
type: "cron";
|
|
1287
|
+
accountId?: string | undefined;
|
|
1283
1288
|
metadata?: any;
|
|
1284
1289
|
}, {
|
|
1285
1290
|
options: {
|
|
1286
1291
|
cron: string;
|
|
1287
1292
|
};
|
|
1288
1293
|
type: "cron";
|
|
1294
|
+
accountId?: string | undefined;
|
|
1289
1295
|
metadata?: any;
|
|
1290
1296
|
}>]>;
|
|
1291
1297
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1295,12 +1301,14 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1295
1301
|
cron: string;
|
|
1296
1302
|
};
|
|
1297
1303
|
type: "cron";
|
|
1304
|
+
accountId?: string | undefined;
|
|
1298
1305
|
metadata?: any;
|
|
1299
1306
|
} | {
|
|
1300
1307
|
options: {
|
|
1301
1308
|
seconds: number;
|
|
1302
1309
|
};
|
|
1303
1310
|
type: "interval";
|
|
1311
|
+
accountId?: string | undefined;
|
|
1304
1312
|
metadata?: any;
|
|
1305
1313
|
};
|
|
1306
1314
|
}, {
|
|
@@ -1310,12 +1318,14 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1310
1318
|
cron: string;
|
|
1311
1319
|
};
|
|
1312
1320
|
type: "cron";
|
|
1321
|
+
accountId?: string | undefined;
|
|
1313
1322
|
metadata?: any;
|
|
1314
1323
|
} | {
|
|
1315
1324
|
options: {
|
|
1316
1325
|
seconds: number;
|
|
1317
1326
|
};
|
|
1318
1327
|
type: "interval";
|
|
1328
|
+
accountId?: string | undefined;
|
|
1319
1329
|
metadata?: any;
|
|
1320
1330
|
};
|
|
1321
1331
|
}>]>;
|
|
@@ -1334,7 +1344,7 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1334
1344
|
id: string;
|
|
1335
1345
|
instructions?: string | undefined;
|
|
1336
1346
|
}>;
|
|
1337
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
1347
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
1338
1348
|
}, "strip", z.ZodTypeAny, {
|
|
1339
1349
|
id: string;
|
|
1340
1350
|
metadata: {
|
|
@@ -1342,7 +1352,7 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1342
1352
|
id: string;
|
|
1343
1353
|
instructions?: string | undefined;
|
|
1344
1354
|
};
|
|
1345
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1355
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1346
1356
|
}, {
|
|
1347
1357
|
id: string;
|
|
1348
1358
|
metadata: {
|
|
@@ -1350,7 +1360,7 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1350
1360
|
id: string;
|
|
1351
1361
|
instructions?: string | undefined;
|
|
1352
1362
|
};
|
|
1353
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1363
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1354
1364
|
}>>;
|
|
1355
1365
|
internal: z.ZodDefault<z.ZodBoolean>;
|
|
1356
1366
|
enabled: z.ZodBoolean;
|
|
@@ -1403,12 +1413,14 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1403
1413
|
cron: string;
|
|
1404
1414
|
};
|
|
1405
1415
|
type: "cron";
|
|
1416
|
+
accountId?: string | undefined;
|
|
1406
1417
|
metadata?: any;
|
|
1407
1418
|
} | {
|
|
1408
1419
|
options: {
|
|
1409
1420
|
seconds: number;
|
|
1410
1421
|
};
|
|
1411
1422
|
type: "interval";
|
|
1423
|
+
accountId?: string | undefined;
|
|
1412
1424
|
metadata?: any;
|
|
1413
1425
|
};
|
|
1414
1426
|
};
|
|
@@ -1419,7 +1431,7 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1419
1431
|
id: string;
|
|
1420
1432
|
instructions?: string | undefined;
|
|
1421
1433
|
};
|
|
1422
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1434
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1423
1435
|
}>;
|
|
1424
1436
|
internal: boolean;
|
|
1425
1437
|
enabled: boolean;
|
|
@@ -1472,12 +1484,14 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1472
1484
|
cron: string;
|
|
1473
1485
|
};
|
|
1474
1486
|
type: "cron";
|
|
1487
|
+
accountId?: string | undefined;
|
|
1475
1488
|
metadata?: any;
|
|
1476
1489
|
} | {
|
|
1477
1490
|
options: {
|
|
1478
1491
|
seconds: number;
|
|
1479
1492
|
};
|
|
1480
1493
|
type: "interval";
|
|
1494
|
+
accountId?: string | undefined;
|
|
1481
1495
|
metadata?: any;
|
|
1482
1496
|
};
|
|
1483
1497
|
};
|
|
@@ -1488,7 +1502,7 @@ declare const JobMetadataSchema: z.ZodObject<{
|
|
|
1488
1502
|
id: string;
|
|
1489
1503
|
instructions?: string | undefined;
|
|
1490
1504
|
};
|
|
1491
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1505
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1492
1506
|
}>;
|
|
1493
1507
|
enabled: boolean;
|
|
1494
1508
|
startPosition: "initial" | "latest";
|
|
@@ -1514,7 +1528,7 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1514
1528
|
id: string;
|
|
1515
1529
|
instructions?: string | undefined;
|
|
1516
1530
|
}>;
|
|
1517
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
1531
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
1518
1532
|
}, "strip", z.ZodTypeAny, {
|
|
1519
1533
|
id: string;
|
|
1520
1534
|
metadata: {
|
|
@@ -1522,7 +1536,7 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1522
1536
|
id: string;
|
|
1523
1537
|
instructions?: string | undefined;
|
|
1524
1538
|
};
|
|
1525
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1539
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1526
1540
|
}, {
|
|
1527
1541
|
id: string;
|
|
1528
1542
|
metadata: {
|
|
@@ -1530,7 +1544,7 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1530
1544
|
id: string;
|
|
1531
1545
|
instructions?: string | undefined;
|
|
1532
1546
|
};
|
|
1533
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1547
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1534
1548
|
}>;
|
|
1535
1549
|
key: z.ZodString;
|
|
1536
1550
|
params: z.ZodAny;
|
|
@@ -1557,7 +1571,7 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1557
1571
|
id: string;
|
|
1558
1572
|
instructions?: string | undefined;
|
|
1559
1573
|
};
|
|
1560
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1574
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1561
1575
|
};
|
|
1562
1576
|
params?: any;
|
|
1563
1577
|
registerSourceJob?: {
|
|
@@ -1576,7 +1590,7 @@ declare const SourceMetadataV1Schema: z.ZodObject<{
|
|
|
1576
1590
|
id: string;
|
|
1577
1591
|
instructions?: string | undefined;
|
|
1578
1592
|
};
|
|
1579
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1593
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1580
1594
|
};
|
|
1581
1595
|
params?: any;
|
|
1582
1596
|
registerSourceJob?: {
|
|
@@ -1603,7 +1617,7 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1603
1617
|
id: string;
|
|
1604
1618
|
instructions?: string | undefined;
|
|
1605
1619
|
}>;
|
|
1606
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
1620
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
1607
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1608
1622
|
id: string;
|
|
1609
1623
|
metadata: {
|
|
@@ -1611,7 +1625,7 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1611
1625
|
id: string;
|
|
1612
1626
|
instructions?: string | undefined;
|
|
1613
1627
|
};
|
|
1614
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1628
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1615
1629
|
}, {
|
|
1616
1630
|
id: string;
|
|
1617
1631
|
metadata: {
|
|
@@ -1619,7 +1633,7 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1619
1633
|
id: string;
|
|
1620
1634
|
instructions?: string | undefined;
|
|
1621
1635
|
};
|
|
1622
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1636
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1623
1637
|
}>;
|
|
1624
1638
|
key: z.ZodString;
|
|
1625
1639
|
params: z.ZodAny;
|
|
@@ -1646,7 +1660,7 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1646
1660
|
id: string;
|
|
1647
1661
|
instructions?: string | undefined;
|
|
1648
1662
|
};
|
|
1649
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1663
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1650
1664
|
};
|
|
1651
1665
|
params?: any;
|
|
1652
1666
|
registerSourceJob?: {
|
|
@@ -1665,7 +1679,7 @@ declare const SourceMetadataV2Schema: z.ZodObject<{
|
|
|
1665
1679
|
id: string;
|
|
1666
1680
|
instructions?: string | undefined;
|
|
1667
1681
|
};
|
|
1668
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1682
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1669
1683
|
};
|
|
1670
1684
|
params?: any;
|
|
1671
1685
|
registerSourceJob?: {
|
|
@@ -1833,18 +1847,21 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1833
1847
|
}, {
|
|
1834
1848
|
seconds: number;
|
|
1835
1849
|
}>;
|
|
1850
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
1836
1851
|
metadata: z.ZodAny;
|
|
1837
1852
|
}, "strip", z.ZodTypeAny, {
|
|
1838
1853
|
options: {
|
|
1839
1854
|
seconds: number;
|
|
1840
1855
|
};
|
|
1841
1856
|
type: "interval";
|
|
1857
|
+
accountId?: string | undefined;
|
|
1842
1858
|
metadata?: any;
|
|
1843
1859
|
}, {
|
|
1844
1860
|
options: {
|
|
1845
1861
|
seconds: number;
|
|
1846
1862
|
};
|
|
1847
1863
|
type: "interval";
|
|
1864
|
+
accountId?: string | undefined;
|
|
1848
1865
|
metadata?: any;
|
|
1849
1866
|
}>, z.ZodObject<{
|
|
1850
1867
|
type: z.ZodLiteral<"cron">;
|
|
@@ -1855,18 +1872,21 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1855
1872
|
}, {
|
|
1856
1873
|
cron: string;
|
|
1857
1874
|
}>;
|
|
1875
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
1858
1876
|
metadata: z.ZodAny;
|
|
1859
1877
|
}, "strip", z.ZodTypeAny, {
|
|
1860
1878
|
options: {
|
|
1861
1879
|
cron: string;
|
|
1862
1880
|
};
|
|
1863
1881
|
type: "cron";
|
|
1882
|
+
accountId?: string | undefined;
|
|
1864
1883
|
metadata?: any;
|
|
1865
1884
|
}, {
|
|
1866
1885
|
options: {
|
|
1867
1886
|
cron: string;
|
|
1868
1887
|
};
|
|
1869
1888
|
type: "cron";
|
|
1889
|
+
accountId?: string | undefined;
|
|
1870
1890
|
metadata?: any;
|
|
1871
1891
|
}>]>;
|
|
1872
1892
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1876,12 +1896,14 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1876
1896
|
cron: string;
|
|
1877
1897
|
};
|
|
1878
1898
|
type: "cron";
|
|
1899
|
+
accountId?: string | undefined;
|
|
1879
1900
|
metadata?: any;
|
|
1880
1901
|
} | {
|
|
1881
1902
|
options: {
|
|
1882
1903
|
seconds: number;
|
|
1883
1904
|
};
|
|
1884
1905
|
type: "interval";
|
|
1906
|
+
accountId?: string | undefined;
|
|
1885
1907
|
metadata?: any;
|
|
1886
1908
|
};
|
|
1887
1909
|
}, {
|
|
@@ -1891,12 +1913,14 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1891
1913
|
cron: string;
|
|
1892
1914
|
};
|
|
1893
1915
|
type: "cron";
|
|
1916
|
+
accountId?: string | undefined;
|
|
1894
1917
|
metadata?: any;
|
|
1895
1918
|
} | {
|
|
1896
1919
|
options: {
|
|
1897
1920
|
seconds: number;
|
|
1898
1921
|
};
|
|
1899
1922
|
type: "interval";
|
|
1923
|
+
accountId?: string | undefined;
|
|
1900
1924
|
metadata?: any;
|
|
1901
1925
|
};
|
|
1902
1926
|
}>]>;
|
|
@@ -1915,7 +1939,7 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1915
1939
|
id: string;
|
|
1916
1940
|
instructions?: string | undefined;
|
|
1917
1941
|
}>;
|
|
1918
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
1942
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
1919
1943
|
}, "strip", z.ZodTypeAny, {
|
|
1920
1944
|
id: string;
|
|
1921
1945
|
metadata: {
|
|
@@ -1923,7 +1947,7 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1923
1947
|
id: string;
|
|
1924
1948
|
instructions?: string | undefined;
|
|
1925
1949
|
};
|
|
1926
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1950
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1927
1951
|
}, {
|
|
1928
1952
|
id: string;
|
|
1929
1953
|
metadata: {
|
|
@@ -1931,7 +1955,7 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1931
1955
|
id: string;
|
|
1932
1956
|
instructions?: string | undefined;
|
|
1933
1957
|
};
|
|
1934
|
-
authSource: "HOSTED" | "LOCAL";
|
|
1958
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
1935
1959
|
}>>;
|
|
1936
1960
|
internal: z.ZodDefault<z.ZodBoolean>;
|
|
1937
1961
|
enabled: z.ZodBoolean;
|
|
@@ -1976,35 +2000,6 @@ declare const DynamicTriggerEndpointMetadataSchema: z.ZodObject<{
|
|
|
1976
2000
|
} | undefined;
|
|
1977
2001
|
}>;
|
|
1978
2002
|
type DynamicTriggerEndpointMetadata = z.infer<typeof DynamicTriggerEndpointMetadataSchema>;
|
|
1979
|
-
declare const BackgroundTaskMetadataSchema: z.ZodObject<{
|
|
1980
|
-
id: z.ZodString;
|
|
1981
|
-
name: z.ZodString;
|
|
1982
|
-
version: z.ZodString;
|
|
1983
|
-
enabled: z.ZodBoolean;
|
|
1984
|
-
cpu: z.ZodNumber;
|
|
1985
|
-
memory: z.ZodNumber;
|
|
1986
|
-
concurrency: z.ZodNumber;
|
|
1987
|
-
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1988
|
-
}, "strip", z.ZodTypeAny, {
|
|
1989
|
-
version: string;
|
|
1990
|
-
name: string;
|
|
1991
|
-
id: string;
|
|
1992
|
-
enabled: boolean;
|
|
1993
|
-
cpu: number;
|
|
1994
|
-
memory: number;
|
|
1995
|
-
concurrency: number;
|
|
1996
|
-
secrets?: Record<string, string> | undefined;
|
|
1997
|
-
}, {
|
|
1998
|
-
version: string;
|
|
1999
|
-
name: string;
|
|
2000
|
-
id: string;
|
|
2001
|
-
enabled: boolean;
|
|
2002
|
-
cpu: number;
|
|
2003
|
-
memory: number;
|
|
2004
|
-
concurrency: number;
|
|
2005
|
-
secrets?: Record<string, string> | undefined;
|
|
2006
|
-
}>;
|
|
2007
|
-
type BackgroundTaskMetadata = z.infer<typeof BackgroundTaskMetadataSchema>;
|
|
2008
2003
|
declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
2009
2004
|
jobs: z.ZodArray<z.ZodObject<{
|
|
2010
2005
|
id: z.ZodString;
|
|
@@ -2163,18 +2158,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2163
2158
|
}, {
|
|
2164
2159
|
seconds: number;
|
|
2165
2160
|
}>;
|
|
2161
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
2166
2162
|
metadata: z.ZodAny;
|
|
2167
2163
|
}, "strip", z.ZodTypeAny, {
|
|
2168
2164
|
options: {
|
|
2169
2165
|
seconds: number;
|
|
2170
2166
|
};
|
|
2171
2167
|
type: "interval";
|
|
2168
|
+
accountId?: string | undefined;
|
|
2172
2169
|
metadata?: any;
|
|
2173
2170
|
}, {
|
|
2174
2171
|
options: {
|
|
2175
2172
|
seconds: number;
|
|
2176
2173
|
};
|
|
2177
2174
|
type: "interval";
|
|
2175
|
+
accountId?: string | undefined;
|
|
2178
2176
|
metadata?: any;
|
|
2179
2177
|
}>, z.ZodObject<{
|
|
2180
2178
|
type: z.ZodLiteral<"cron">;
|
|
@@ -2185,18 +2183,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2185
2183
|
}, {
|
|
2186
2184
|
cron: string;
|
|
2187
2185
|
}>;
|
|
2186
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
2188
2187
|
metadata: z.ZodAny;
|
|
2189
2188
|
}, "strip", z.ZodTypeAny, {
|
|
2190
2189
|
options: {
|
|
2191
2190
|
cron: string;
|
|
2192
2191
|
};
|
|
2193
2192
|
type: "cron";
|
|
2193
|
+
accountId?: string | undefined;
|
|
2194
2194
|
metadata?: any;
|
|
2195
2195
|
}, {
|
|
2196
2196
|
options: {
|
|
2197
2197
|
cron: string;
|
|
2198
2198
|
};
|
|
2199
2199
|
type: "cron";
|
|
2200
|
+
accountId?: string | undefined;
|
|
2200
2201
|
metadata?: any;
|
|
2201
2202
|
}>]>;
|
|
2202
2203
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2206,12 +2207,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2206
2207
|
cron: string;
|
|
2207
2208
|
};
|
|
2208
2209
|
type: "cron";
|
|
2210
|
+
accountId?: string | undefined;
|
|
2209
2211
|
metadata?: any;
|
|
2210
2212
|
} | {
|
|
2211
2213
|
options: {
|
|
2212
2214
|
seconds: number;
|
|
2213
2215
|
};
|
|
2214
2216
|
type: "interval";
|
|
2217
|
+
accountId?: string | undefined;
|
|
2215
2218
|
metadata?: any;
|
|
2216
2219
|
};
|
|
2217
2220
|
}, {
|
|
@@ -2221,12 +2224,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2221
2224
|
cron: string;
|
|
2222
2225
|
};
|
|
2223
2226
|
type: "cron";
|
|
2227
|
+
accountId?: string | undefined;
|
|
2224
2228
|
metadata?: any;
|
|
2225
2229
|
} | {
|
|
2226
2230
|
options: {
|
|
2227
2231
|
seconds: number;
|
|
2228
2232
|
};
|
|
2229
2233
|
type: "interval";
|
|
2234
|
+
accountId?: string | undefined;
|
|
2230
2235
|
metadata?: any;
|
|
2231
2236
|
};
|
|
2232
2237
|
}>]>;
|
|
@@ -2245,7 +2250,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2245
2250
|
id: string;
|
|
2246
2251
|
instructions?: string | undefined;
|
|
2247
2252
|
}>;
|
|
2248
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
2253
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
2249
2254
|
}, "strip", z.ZodTypeAny, {
|
|
2250
2255
|
id: string;
|
|
2251
2256
|
metadata: {
|
|
@@ -2253,7 +2258,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2253
2258
|
id: string;
|
|
2254
2259
|
instructions?: string | undefined;
|
|
2255
2260
|
};
|
|
2256
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2261
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2257
2262
|
}, {
|
|
2258
2263
|
id: string;
|
|
2259
2264
|
metadata: {
|
|
@@ -2261,7 +2266,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2261
2266
|
id: string;
|
|
2262
2267
|
instructions?: string | undefined;
|
|
2263
2268
|
};
|
|
2264
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2269
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2265
2270
|
}>>;
|
|
2266
2271
|
internal: z.ZodDefault<z.ZodBoolean>;
|
|
2267
2272
|
enabled: z.ZodBoolean;
|
|
@@ -2314,12 +2319,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2314
2319
|
cron: string;
|
|
2315
2320
|
};
|
|
2316
2321
|
type: "cron";
|
|
2322
|
+
accountId?: string | undefined;
|
|
2317
2323
|
metadata?: any;
|
|
2318
2324
|
} | {
|
|
2319
2325
|
options: {
|
|
2320
2326
|
seconds: number;
|
|
2321
2327
|
};
|
|
2322
2328
|
type: "interval";
|
|
2329
|
+
accountId?: string | undefined;
|
|
2323
2330
|
metadata?: any;
|
|
2324
2331
|
};
|
|
2325
2332
|
};
|
|
@@ -2330,7 +2337,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2330
2337
|
id: string;
|
|
2331
2338
|
instructions?: string | undefined;
|
|
2332
2339
|
};
|
|
2333
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2340
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2334
2341
|
}>;
|
|
2335
2342
|
internal: boolean;
|
|
2336
2343
|
enabled: boolean;
|
|
@@ -2383,12 +2390,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2383
2390
|
cron: string;
|
|
2384
2391
|
};
|
|
2385
2392
|
type: "cron";
|
|
2393
|
+
accountId?: string | undefined;
|
|
2386
2394
|
metadata?: any;
|
|
2387
2395
|
} | {
|
|
2388
2396
|
options: {
|
|
2389
2397
|
seconds: number;
|
|
2390
2398
|
};
|
|
2391
2399
|
type: "interval";
|
|
2400
|
+
accountId?: string | undefined;
|
|
2392
2401
|
metadata?: any;
|
|
2393
2402
|
};
|
|
2394
2403
|
};
|
|
@@ -2399,7 +2408,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2399
2408
|
id: string;
|
|
2400
2409
|
instructions?: string | undefined;
|
|
2401
2410
|
};
|
|
2402
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2411
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2403
2412
|
}>;
|
|
2404
2413
|
enabled: boolean;
|
|
2405
2414
|
startPosition: "initial" | "latest";
|
|
@@ -2424,7 +2433,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2424
2433
|
id: string;
|
|
2425
2434
|
instructions?: string | undefined;
|
|
2426
2435
|
}>;
|
|
2427
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
2436
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
2428
2437
|
}, "strip", z.ZodTypeAny, {
|
|
2429
2438
|
id: string;
|
|
2430
2439
|
metadata: {
|
|
@@ -2432,7 +2441,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2432
2441
|
id: string;
|
|
2433
2442
|
instructions?: string | undefined;
|
|
2434
2443
|
};
|
|
2435
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2444
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2436
2445
|
}, {
|
|
2437
2446
|
id: string;
|
|
2438
2447
|
metadata: {
|
|
@@ -2440,7 +2449,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2440
2449
|
id: string;
|
|
2441
2450
|
instructions?: string | undefined;
|
|
2442
2451
|
};
|
|
2443
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2452
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2444
2453
|
}>;
|
|
2445
2454
|
key: z.ZodString;
|
|
2446
2455
|
params: z.ZodAny;
|
|
@@ -2467,7 +2476,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2467
2476
|
id: string;
|
|
2468
2477
|
instructions?: string | undefined;
|
|
2469
2478
|
};
|
|
2470
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2479
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2471
2480
|
};
|
|
2472
2481
|
params?: any;
|
|
2473
2482
|
registerSourceJob?: {
|
|
@@ -2486,7 +2495,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2486
2495
|
id: string;
|
|
2487
2496
|
instructions?: string | undefined;
|
|
2488
2497
|
};
|
|
2489
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2498
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2490
2499
|
};
|
|
2491
2500
|
params?: any;
|
|
2492
2501
|
registerSourceJob?: {
|
|
@@ -2511,7 +2520,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2511
2520
|
id: string;
|
|
2512
2521
|
instructions?: string | undefined;
|
|
2513
2522
|
}>;
|
|
2514
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
2523
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
2515
2524
|
}, "strip", z.ZodTypeAny, {
|
|
2516
2525
|
id: string;
|
|
2517
2526
|
metadata: {
|
|
@@ -2519,7 +2528,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2519
2528
|
id: string;
|
|
2520
2529
|
instructions?: string | undefined;
|
|
2521
2530
|
};
|
|
2522
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2531
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2523
2532
|
}, {
|
|
2524
2533
|
id: string;
|
|
2525
2534
|
metadata: {
|
|
@@ -2527,7 +2536,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2527
2536
|
id: string;
|
|
2528
2537
|
instructions?: string | undefined;
|
|
2529
2538
|
};
|
|
2530
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2539
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2531
2540
|
}>;
|
|
2532
2541
|
key: z.ZodString;
|
|
2533
2542
|
params: z.ZodAny;
|
|
@@ -2554,7 +2563,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2554
2563
|
id: string;
|
|
2555
2564
|
instructions?: string | undefined;
|
|
2556
2565
|
};
|
|
2557
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2566
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2558
2567
|
};
|
|
2559
2568
|
params?: any;
|
|
2560
2569
|
registerSourceJob?: {
|
|
@@ -2573,7 +2582,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2573
2582
|
id: string;
|
|
2574
2583
|
instructions?: string | undefined;
|
|
2575
2584
|
};
|
|
2576
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2585
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2577
2586
|
};
|
|
2578
2587
|
params?: any;
|
|
2579
2588
|
registerSourceJob?: {
|
|
@@ -2592,7 +2601,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2592
2601
|
id: string;
|
|
2593
2602
|
instructions?: string | undefined;
|
|
2594
2603
|
};
|
|
2595
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2604
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2596
2605
|
};
|
|
2597
2606
|
params?: any;
|
|
2598
2607
|
registerSourceJob?: {
|
|
@@ -2611,7 +2620,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2611
2620
|
id: string;
|
|
2612
2621
|
instructions?: string | undefined;
|
|
2613
2622
|
};
|
|
2614
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2623
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2615
2624
|
};
|
|
2616
2625
|
params?: any;
|
|
2617
2626
|
registerSourceJob?: {
|
|
@@ -2778,18 +2787,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2778
2787
|
}, {
|
|
2779
2788
|
seconds: number;
|
|
2780
2789
|
}>;
|
|
2790
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
2781
2791
|
metadata: z.ZodAny;
|
|
2782
2792
|
}, "strip", z.ZodTypeAny, {
|
|
2783
2793
|
options: {
|
|
2784
2794
|
seconds: number;
|
|
2785
2795
|
};
|
|
2786
2796
|
type: "interval";
|
|
2797
|
+
accountId?: string | undefined;
|
|
2787
2798
|
metadata?: any;
|
|
2788
2799
|
}, {
|
|
2789
2800
|
options: {
|
|
2790
2801
|
seconds: number;
|
|
2791
2802
|
};
|
|
2792
2803
|
type: "interval";
|
|
2804
|
+
accountId?: string | undefined;
|
|
2793
2805
|
metadata?: any;
|
|
2794
2806
|
}>, z.ZodObject<{
|
|
2795
2807
|
type: z.ZodLiteral<"cron">;
|
|
@@ -2800,18 +2812,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2800
2812
|
}, {
|
|
2801
2813
|
cron: string;
|
|
2802
2814
|
}>;
|
|
2815
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
2803
2816
|
metadata: z.ZodAny;
|
|
2804
2817
|
}, "strip", z.ZodTypeAny, {
|
|
2805
2818
|
options: {
|
|
2806
2819
|
cron: string;
|
|
2807
2820
|
};
|
|
2808
2821
|
type: "cron";
|
|
2822
|
+
accountId?: string | undefined;
|
|
2809
2823
|
metadata?: any;
|
|
2810
2824
|
}, {
|
|
2811
2825
|
options: {
|
|
2812
2826
|
cron: string;
|
|
2813
2827
|
};
|
|
2814
2828
|
type: "cron";
|
|
2829
|
+
accountId?: string | undefined;
|
|
2815
2830
|
metadata?: any;
|
|
2816
2831
|
}>]>;
|
|
2817
2832
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2821,12 +2836,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2821
2836
|
cron: string;
|
|
2822
2837
|
};
|
|
2823
2838
|
type: "cron";
|
|
2839
|
+
accountId?: string | undefined;
|
|
2824
2840
|
metadata?: any;
|
|
2825
2841
|
} | {
|
|
2826
2842
|
options: {
|
|
2827
2843
|
seconds: number;
|
|
2828
2844
|
};
|
|
2829
2845
|
type: "interval";
|
|
2846
|
+
accountId?: string | undefined;
|
|
2830
2847
|
metadata?: any;
|
|
2831
2848
|
};
|
|
2832
2849
|
}, {
|
|
@@ -2836,12 +2853,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2836
2853
|
cron: string;
|
|
2837
2854
|
};
|
|
2838
2855
|
type: "cron";
|
|
2856
|
+
accountId?: string | undefined;
|
|
2839
2857
|
metadata?: any;
|
|
2840
2858
|
} | {
|
|
2841
2859
|
options: {
|
|
2842
2860
|
seconds: number;
|
|
2843
2861
|
};
|
|
2844
2862
|
type: "interval";
|
|
2863
|
+
accountId?: string | undefined;
|
|
2845
2864
|
metadata?: any;
|
|
2846
2865
|
};
|
|
2847
2866
|
}>]>;
|
|
@@ -2860,7 +2879,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2860
2879
|
id: string;
|
|
2861
2880
|
instructions?: string | undefined;
|
|
2862
2881
|
}>;
|
|
2863
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
2882
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
2864
2883
|
}, "strip", z.ZodTypeAny, {
|
|
2865
2884
|
id: string;
|
|
2866
2885
|
metadata: {
|
|
@@ -2868,7 +2887,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2868
2887
|
id: string;
|
|
2869
2888
|
instructions?: string | undefined;
|
|
2870
2889
|
};
|
|
2871
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2890
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2872
2891
|
}, {
|
|
2873
2892
|
id: string;
|
|
2874
2893
|
metadata: {
|
|
@@ -2876,7 +2895,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2876
2895
|
id: string;
|
|
2877
2896
|
instructions?: string | undefined;
|
|
2878
2897
|
};
|
|
2879
|
-
authSource: "HOSTED" | "LOCAL";
|
|
2898
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
2880
2899
|
}>>;
|
|
2881
2900
|
internal: z.ZodDefault<z.ZodBoolean>;
|
|
2882
2901
|
enabled: z.ZodBoolean;
|
|
@@ -2945,34 +2964,6 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
2945
2964
|
id: string;
|
|
2946
2965
|
}[];
|
|
2947
2966
|
}>, "many">;
|
|
2948
|
-
backgroundTasks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2949
|
-
id: z.ZodString;
|
|
2950
|
-
name: z.ZodString;
|
|
2951
|
-
version: z.ZodString;
|
|
2952
|
-
enabled: z.ZodBoolean;
|
|
2953
|
-
cpu: z.ZodNumber;
|
|
2954
|
-
memory: z.ZodNumber;
|
|
2955
|
-
concurrency: z.ZodNumber;
|
|
2956
|
-
secrets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2957
|
-
}, "strip", z.ZodTypeAny, {
|
|
2958
|
-
version: string;
|
|
2959
|
-
name: string;
|
|
2960
|
-
id: string;
|
|
2961
|
-
enabled: boolean;
|
|
2962
|
-
cpu: number;
|
|
2963
|
-
memory: number;
|
|
2964
|
-
concurrency: number;
|
|
2965
|
-
secrets?: Record<string, string> | undefined;
|
|
2966
|
-
}, {
|
|
2967
|
-
version: string;
|
|
2968
|
-
name: string;
|
|
2969
|
-
id: string;
|
|
2970
|
-
enabled: boolean;
|
|
2971
|
-
cpu: number;
|
|
2972
|
-
memory: number;
|
|
2973
|
-
concurrency: number;
|
|
2974
|
-
secrets?: Record<string, string> | undefined;
|
|
2975
|
-
}>, "many">>;
|
|
2976
2967
|
}, "strip", z.ZodTypeAny, {
|
|
2977
2968
|
jobs: {
|
|
2978
2969
|
version: string;
|
|
@@ -3021,12 +3012,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3021
3012
|
cron: string;
|
|
3022
3013
|
};
|
|
3023
3014
|
type: "cron";
|
|
3015
|
+
accountId?: string | undefined;
|
|
3024
3016
|
metadata?: any;
|
|
3025
3017
|
} | {
|
|
3026
3018
|
options: {
|
|
3027
3019
|
seconds: number;
|
|
3028
3020
|
};
|
|
3029
3021
|
type: "interval";
|
|
3022
|
+
accountId?: string | undefined;
|
|
3030
3023
|
metadata?: any;
|
|
3031
3024
|
};
|
|
3032
3025
|
};
|
|
@@ -3037,7 +3030,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3037
3030
|
id: string;
|
|
3038
3031
|
instructions?: string | undefined;
|
|
3039
3032
|
};
|
|
3040
|
-
authSource: "HOSTED" | "LOCAL";
|
|
3033
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
3041
3034
|
}>;
|
|
3042
3035
|
internal: boolean;
|
|
3043
3036
|
enabled: boolean;
|
|
@@ -3056,7 +3049,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3056
3049
|
id: string;
|
|
3057
3050
|
instructions?: string | undefined;
|
|
3058
3051
|
};
|
|
3059
|
-
authSource: "HOSTED" | "LOCAL";
|
|
3052
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
3060
3053
|
};
|
|
3061
3054
|
params?: any;
|
|
3062
3055
|
registerSourceJob?: {
|
|
@@ -3075,7 +3068,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3075
3068
|
id: string;
|
|
3076
3069
|
instructions?: string | undefined;
|
|
3077
3070
|
};
|
|
3078
|
-
authSource: "HOSTED" | "LOCAL";
|
|
3071
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
3079
3072
|
};
|
|
3080
3073
|
params?: any;
|
|
3081
3074
|
registerSourceJob?: {
|
|
@@ -3101,16 +3094,6 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3101
3094
|
id: string;
|
|
3102
3095
|
}[];
|
|
3103
3096
|
}[];
|
|
3104
|
-
backgroundTasks?: {
|
|
3105
|
-
version: string;
|
|
3106
|
-
name: string;
|
|
3107
|
-
id: string;
|
|
3108
|
-
enabled: boolean;
|
|
3109
|
-
cpu: number;
|
|
3110
|
-
memory: number;
|
|
3111
|
-
concurrency: number;
|
|
3112
|
-
secrets?: Record<string, string> | undefined;
|
|
3113
|
-
}[] | undefined;
|
|
3114
3097
|
}, {
|
|
3115
3098
|
jobs: {
|
|
3116
3099
|
version: string;
|
|
@@ -3159,12 +3142,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3159
3142
|
cron: string;
|
|
3160
3143
|
};
|
|
3161
3144
|
type: "cron";
|
|
3145
|
+
accountId?: string | undefined;
|
|
3162
3146
|
metadata?: any;
|
|
3163
3147
|
} | {
|
|
3164
3148
|
options: {
|
|
3165
3149
|
seconds: number;
|
|
3166
3150
|
};
|
|
3167
3151
|
type: "interval";
|
|
3152
|
+
accountId?: string | undefined;
|
|
3168
3153
|
metadata?: any;
|
|
3169
3154
|
};
|
|
3170
3155
|
};
|
|
@@ -3175,7 +3160,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3175
3160
|
id: string;
|
|
3176
3161
|
instructions?: string | undefined;
|
|
3177
3162
|
};
|
|
3178
|
-
authSource: "HOSTED" | "LOCAL";
|
|
3163
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
3179
3164
|
}>;
|
|
3180
3165
|
enabled: boolean;
|
|
3181
3166
|
startPosition: "initial" | "latest";
|
|
@@ -3201,16 +3186,6 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
|
|
|
3201
3186
|
id: string;
|
|
3202
3187
|
}[];
|
|
3203
3188
|
}[];
|
|
3204
|
-
backgroundTasks?: {
|
|
3205
|
-
version: string;
|
|
3206
|
-
name: string;
|
|
3207
|
-
id: string;
|
|
3208
|
-
enabled: boolean;
|
|
3209
|
-
cpu: number;
|
|
3210
|
-
memory: number;
|
|
3211
|
-
concurrency: number;
|
|
3212
|
-
secrets?: Record<string, string> | undefined;
|
|
3213
|
-
}[] | undefined;
|
|
3214
3189
|
}>;
|
|
3215
3190
|
type IndexEndpointResponse = z.infer<typeof IndexEndpointResponseSchema>;
|
|
3216
3191
|
declare const RawEventSchema: z.ZodObject<{
|
|
@@ -3587,17 +3562,17 @@ declare const RunJobBodySchema: z.ZodObject<{
|
|
|
3587
3562
|
parentId?: string | null | undefined;
|
|
3588
3563
|
}>, "many">>;
|
|
3589
3564
|
connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3590
|
-
type: z.ZodEnum<["oauth2"]>;
|
|
3565
|
+
type: z.ZodEnum<["oauth2", "apiKey"]>;
|
|
3591
3566
|
accessToken: z.ZodString;
|
|
3592
3567
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3593
3568
|
additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3594
3569
|
}, "strip", z.ZodTypeAny, {
|
|
3595
|
-
type: "oauth2";
|
|
3570
|
+
type: "oauth2" | "apiKey";
|
|
3596
3571
|
accessToken: string;
|
|
3597
3572
|
scopes?: string[] | undefined;
|
|
3598
3573
|
additionalFields?: Record<string, string> | undefined;
|
|
3599
3574
|
}, {
|
|
3600
|
-
type: "oauth2";
|
|
3575
|
+
type: "oauth2" | "apiKey";
|
|
3601
3576
|
accessToken: string;
|
|
3602
3577
|
scopes?: string[] | undefined;
|
|
3603
3578
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -3654,7 +3629,7 @@ declare const RunJobBodySchema: z.ZodObject<{
|
|
|
3654
3629
|
parentId?: string | null | undefined;
|
|
3655
3630
|
}[] | undefined;
|
|
3656
3631
|
connections?: Record<string, {
|
|
3657
|
-
type: "oauth2";
|
|
3632
|
+
type: "oauth2" | "apiKey";
|
|
3658
3633
|
accessToken: string;
|
|
3659
3634
|
scopes?: string[] | undefined;
|
|
3660
3635
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -3711,7 +3686,7 @@ declare const RunJobBodySchema: z.ZodObject<{
|
|
|
3711
3686
|
parentId?: string | null | undefined;
|
|
3712
3687
|
}[] | undefined;
|
|
3713
3688
|
connections?: Record<string, {
|
|
3714
|
-
type: "oauth2";
|
|
3689
|
+
type: "oauth2" | "apiKey";
|
|
3715
3690
|
accessToken: string;
|
|
3716
3691
|
scopes?: string[] | undefined;
|
|
3717
3692
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -3919,6 +3894,32 @@ declare const RunJobErrorSchema: z.ZodObject<{
|
|
|
3919
3894
|
} | undefined;
|
|
3920
3895
|
}>;
|
|
3921
3896
|
type RunJobError = z.infer<typeof RunJobErrorSchema>;
|
|
3897
|
+
declare const RunJobUnresolvedAuthErrorSchema: z.ZodObject<{
|
|
3898
|
+
status: z.ZodLiteral<"UNRESOLVED_AUTH_ERROR">;
|
|
3899
|
+
issues: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
3900
|
+
id: z.ZodString;
|
|
3901
|
+
error: z.ZodString;
|
|
3902
|
+
}, "strip", z.ZodTypeAny, {
|
|
3903
|
+
error: string;
|
|
3904
|
+
id: string;
|
|
3905
|
+
}, {
|
|
3906
|
+
error: string;
|
|
3907
|
+
id: string;
|
|
3908
|
+
}>>;
|
|
3909
|
+
}, "strip", z.ZodTypeAny, {
|
|
3910
|
+
status: "UNRESOLVED_AUTH_ERROR";
|
|
3911
|
+
issues: Record<string, {
|
|
3912
|
+
error: string;
|
|
3913
|
+
id: string;
|
|
3914
|
+
}>;
|
|
3915
|
+
}, {
|
|
3916
|
+
status: "UNRESOLVED_AUTH_ERROR";
|
|
3917
|
+
issues: Record<string, {
|
|
3918
|
+
error: string;
|
|
3919
|
+
id: string;
|
|
3920
|
+
}>;
|
|
3921
|
+
}>;
|
|
3922
|
+
type RunJobUnresolvedAuthError = z.infer<typeof RunJobUnresolvedAuthErrorSchema>;
|
|
3922
3923
|
declare const RunJobResumeWithTaskSchema: z.ZodObject<{
|
|
3923
3924
|
status: z.ZodLiteral<"RESUME_WITH_TASK">;
|
|
3924
3925
|
task: z.ZodObject<{
|
|
@@ -4689,6 +4690,30 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
|
|
|
4689
4690
|
} | null | undefined;
|
|
4690
4691
|
operation?: string | null | undefined;
|
|
4691
4692
|
} | undefined;
|
|
4693
|
+
}>, z.ZodObject<{
|
|
4694
|
+
status: z.ZodLiteral<"UNRESOLVED_AUTH_ERROR">;
|
|
4695
|
+
issues: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4696
|
+
id: z.ZodString;
|
|
4697
|
+
error: z.ZodString;
|
|
4698
|
+
}, "strip", z.ZodTypeAny, {
|
|
4699
|
+
error: string;
|
|
4700
|
+
id: string;
|
|
4701
|
+
}, {
|
|
4702
|
+
error: string;
|
|
4703
|
+
id: string;
|
|
4704
|
+
}>>;
|
|
4705
|
+
}, "strip", z.ZodTypeAny, {
|
|
4706
|
+
status: "UNRESOLVED_AUTH_ERROR";
|
|
4707
|
+
issues: Record<string, {
|
|
4708
|
+
error: string;
|
|
4709
|
+
id: string;
|
|
4710
|
+
}>;
|
|
4711
|
+
}, {
|
|
4712
|
+
status: "UNRESOLVED_AUTH_ERROR";
|
|
4713
|
+
issues: Record<string, {
|
|
4714
|
+
error: string;
|
|
4715
|
+
id: string;
|
|
4716
|
+
}>;
|
|
4692
4717
|
}>, z.ZodObject<{
|
|
4693
4718
|
status: z.ZodLiteral<"RESUME_WITH_TASK">;
|
|
4694
4719
|
task: z.ZodObject<{
|
|
@@ -5718,18 +5743,21 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5718
5743
|
}, {
|
|
5719
5744
|
seconds: number;
|
|
5720
5745
|
}>;
|
|
5746
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
5721
5747
|
metadata: z.ZodAny;
|
|
5722
5748
|
}, "strip", z.ZodTypeAny, {
|
|
5723
5749
|
options: {
|
|
5724
5750
|
seconds: number;
|
|
5725
5751
|
};
|
|
5726
5752
|
type: "interval";
|
|
5753
|
+
accountId?: string | undefined;
|
|
5727
5754
|
metadata?: any;
|
|
5728
5755
|
}, {
|
|
5729
5756
|
options: {
|
|
5730
5757
|
seconds: number;
|
|
5731
5758
|
};
|
|
5732
5759
|
type: "interval";
|
|
5760
|
+
accountId?: string | undefined;
|
|
5733
5761
|
metadata?: any;
|
|
5734
5762
|
}>, z.ZodObject<{
|
|
5735
5763
|
type: z.ZodLiteral<"cron">;
|
|
@@ -5740,18 +5768,21 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5740
5768
|
}, {
|
|
5741
5769
|
cron: string;
|
|
5742
5770
|
}>;
|
|
5771
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
5743
5772
|
metadata: z.ZodAny;
|
|
5744
5773
|
}, "strip", z.ZodTypeAny, {
|
|
5745
5774
|
options: {
|
|
5746
5775
|
cron: string;
|
|
5747
5776
|
};
|
|
5748
5777
|
type: "cron";
|
|
5778
|
+
accountId?: string | undefined;
|
|
5749
5779
|
metadata?: any;
|
|
5750
5780
|
}, {
|
|
5751
5781
|
options: {
|
|
5752
5782
|
cron: string;
|
|
5753
5783
|
};
|
|
5754
5784
|
type: "cron";
|
|
5785
|
+
accountId?: string | undefined;
|
|
5755
5786
|
metadata?: any;
|
|
5756
5787
|
}>]>;
|
|
5757
5788
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -5761,12 +5792,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5761
5792
|
cron: string;
|
|
5762
5793
|
};
|
|
5763
5794
|
type: "cron";
|
|
5795
|
+
accountId?: string | undefined;
|
|
5764
5796
|
metadata?: any;
|
|
5765
5797
|
} | {
|
|
5766
5798
|
options: {
|
|
5767
5799
|
seconds: number;
|
|
5768
5800
|
};
|
|
5769
5801
|
type: "interval";
|
|
5802
|
+
accountId?: string | undefined;
|
|
5770
5803
|
metadata?: any;
|
|
5771
5804
|
};
|
|
5772
5805
|
}, {
|
|
@@ -5776,12 +5809,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5776
5809
|
cron: string;
|
|
5777
5810
|
};
|
|
5778
5811
|
type: "cron";
|
|
5812
|
+
accountId?: string | undefined;
|
|
5779
5813
|
metadata?: any;
|
|
5780
5814
|
} | {
|
|
5781
5815
|
options: {
|
|
5782
5816
|
seconds: number;
|
|
5783
5817
|
};
|
|
5784
5818
|
type: "interval";
|
|
5819
|
+
accountId?: string | undefined;
|
|
5785
5820
|
metadata?: any;
|
|
5786
5821
|
};
|
|
5787
5822
|
}>]>>;
|
|
@@ -5838,12 +5873,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5838
5873
|
cron: string;
|
|
5839
5874
|
};
|
|
5840
5875
|
type: "cron";
|
|
5876
|
+
accountId?: string | undefined;
|
|
5841
5877
|
metadata?: any;
|
|
5842
5878
|
} | {
|
|
5843
5879
|
options: {
|
|
5844
5880
|
seconds: number;
|
|
5845
5881
|
};
|
|
5846
5882
|
type: "interval";
|
|
5883
|
+
accountId?: string | undefined;
|
|
5847
5884
|
metadata?: any;
|
|
5848
5885
|
};
|
|
5849
5886
|
} | undefined;
|
|
@@ -5900,12 +5937,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
|
|
|
5900
5937
|
cron: string;
|
|
5901
5938
|
};
|
|
5902
5939
|
type: "cron";
|
|
5940
|
+
accountId?: string | undefined;
|
|
5903
5941
|
metadata?: any;
|
|
5904
5942
|
} | {
|
|
5905
5943
|
options: {
|
|
5906
5944
|
seconds: number;
|
|
5907
5945
|
};
|
|
5908
5946
|
type: "interval";
|
|
5947
|
+
accountId?: string | undefined;
|
|
5909
5948
|
metadata?: any;
|
|
5910
5949
|
};
|
|
5911
5950
|
} | undefined;
|
|
@@ -6023,18 +6062,21 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6023
6062
|
}, {
|
|
6024
6063
|
seconds: number;
|
|
6025
6064
|
}>;
|
|
6065
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
6026
6066
|
metadata: z.ZodAny;
|
|
6027
6067
|
}, "strip", z.ZodTypeAny, {
|
|
6028
6068
|
options: {
|
|
6029
6069
|
seconds: number;
|
|
6030
6070
|
};
|
|
6031
6071
|
type: "interval";
|
|
6072
|
+
accountId?: string | undefined;
|
|
6032
6073
|
metadata?: any;
|
|
6033
6074
|
}, {
|
|
6034
6075
|
options: {
|
|
6035
6076
|
seconds: number;
|
|
6036
6077
|
};
|
|
6037
6078
|
type: "interval";
|
|
6079
|
+
accountId?: string | undefined;
|
|
6038
6080
|
metadata?: any;
|
|
6039
6081
|
}>, z.ZodObject<{
|
|
6040
6082
|
type: z.ZodLiteral<"cron">;
|
|
@@ -6045,18 +6087,21 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6045
6087
|
}, {
|
|
6046
6088
|
cron: string;
|
|
6047
6089
|
}>;
|
|
6090
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
6048
6091
|
metadata: z.ZodAny;
|
|
6049
6092
|
}, "strip", z.ZodTypeAny, {
|
|
6050
6093
|
options: {
|
|
6051
6094
|
cron: string;
|
|
6052
6095
|
};
|
|
6053
6096
|
type: "cron";
|
|
6097
|
+
accountId?: string | undefined;
|
|
6054
6098
|
metadata?: any;
|
|
6055
6099
|
}, {
|
|
6056
6100
|
options: {
|
|
6057
6101
|
cron: string;
|
|
6058
6102
|
};
|
|
6059
6103
|
type: "cron";
|
|
6104
|
+
accountId?: string | undefined;
|
|
6060
6105
|
metadata?: any;
|
|
6061
6106
|
}>]>;
|
|
6062
6107
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6066,12 +6111,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6066
6111
|
cron: string;
|
|
6067
6112
|
};
|
|
6068
6113
|
type: "cron";
|
|
6114
|
+
accountId?: string | undefined;
|
|
6069
6115
|
metadata?: any;
|
|
6070
6116
|
} | {
|
|
6071
6117
|
options: {
|
|
6072
6118
|
seconds: number;
|
|
6073
6119
|
};
|
|
6074
6120
|
type: "interval";
|
|
6121
|
+
accountId?: string | undefined;
|
|
6075
6122
|
metadata?: any;
|
|
6076
6123
|
};
|
|
6077
6124
|
}, {
|
|
@@ -6081,12 +6128,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6081
6128
|
cron: string;
|
|
6082
6129
|
};
|
|
6083
6130
|
type: "cron";
|
|
6131
|
+
accountId?: string | undefined;
|
|
6084
6132
|
metadata?: any;
|
|
6085
6133
|
} | {
|
|
6086
6134
|
options: {
|
|
6087
6135
|
seconds: number;
|
|
6088
6136
|
};
|
|
6089
6137
|
type: "interval";
|
|
6138
|
+
accountId?: string | undefined;
|
|
6090
6139
|
metadata?: any;
|
|
6091
6140
|
};
|
|
6092
6141
|
}>]>>;
|
|
@@ -6167,12 +6216,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6167
6216
|
cron: string;
|
|
6168
6217
|
};
|
|
6169
6218
|
type: "cron";
|
|
6219
|
+
accountId?: string | undefined;
|
|
6170
6220
|
metadata?: any;
|
|
6171
6221
|
} | {
|
|
6172
6222
|
options: {
|
|
6173
6223
|
seconds: number;
|
|
6174
6224
|
};
|
|
6175
6225
|
type: "interval";
|
|
6226
|
+
accountId?: string | undefined;
|
|
6176
6227
|
metadata?: any;
|
|
6177
6228
|
};
|
|
6178
6229
|
} | undefined;
|
|
@@ -6231,12 +6282,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
|
|
|
6231
6282
|
cron: string;
|
|
6232
6283
|
};
|
|
6233
6284
|
type: "cron";
|
|
6285
|
+
accountId?: string | undefined;
|
|
6234
6286
|
metadata?: any;
|
|
6235
6287
|
} | {
|
|
6236
6288
|
options: {
|
|
6237
6289
|
seconds: number;
|
|
6238
6290
|
};
|
|
6239
6291
|
type: "interval";
|
|
6292
|
+
accountId?: string | undefined;
|
|
6240
6293
|
metadata?: any;
|
|
6241
6294
|
};
|
|
6242
6295
|
} | undefined;
|
|
@@ -6367,18 +6420,21 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6367
6420
|
}, {
|
|
6368
6421
|
seconds: number;
|
|
6369
6422
|
}>;
|
|
6423
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
6370
6424
|
metadata: z.ZodAny;
|
|
6371
6425
|
}, "strip", z.ZodTypeAny, {
|
|
6372
6426
|
options: {
|
|
6373
6427
|
seconds: number;
|
|
6374
6428
|
};
|
|
6375
6429
|
type: "interval";
|
|
6430
|
+
accountId?: string | undefined;
|
|
6376
6431
|
metadata?: any;
|
|
6377
6432
|
}, {
|
|
6378
6433
|
options: {
|
|
6379
6434
|
seconds: number;
|
|
6380
6435
|
};
|
|
6381
6436
|
type: "interval";
|
|
6437
|
+
accountId?: string | undefined;
|
|
6382
6438
|
metadata?: any;
|
|
6383
6439
|
}>, z.ZodObject<{
|
|
6384
6440
|
type: z.ZodLiteral<"cron">;
|
|
@@ -6389,18 +6445,21 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6389
6445
|
}, {
|
|
6390
6446
|
cron: string;
|
|
6391
6447
|
}>;
|
|
6448
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
6392
6449
|
metadata: z.ZodAny;
|
|
6393
6450
|
}, "strip", z.ZodTypeAny, {
|
|
6394
6451
|
options: {
|
|
6395
6452
|
cron: string;
|
|
6396
6453
|
};
|
|
6397
6454
|
type: "cron";
|
|
6455
|
+
accountId?: string | undefined;
|
|
6398
6456
|
metadata?: any;
|
|
6399
6457
|
}, {
|
|
6400
6458
|
options: {
|
|
6401
6459
|
cron: string;
|
|
6402
6460
|
};
|
|
6403
6461
|
type: "cron";
|
|
6462
|
+
accountId?: string | undefined;
|
|
6404
6463
|
metadata?: any;
|
|
6405
6464
|
}>]>;
|
|
6406
6465
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6410,12 +6469,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6410
6469
|
cron: string;
|
|
6411
6470
|
};
|
|
6412
6471
|
type: "cron";
|
|
6472
|
+
accountId?: string | undefined;
|
|
6413
6473
|
metadata?: any;
|
|
6414
6474
|
} | {
|
|
6415
6475
|
options: {
|
|
6416
6476
|
seconds: number;
|
|
6417
6477
|
};
|
|
6418
6478
|
type: "interval";
|
|
6479
|
+
accountId?: string | undefined;
|
|
6419
6480
|
metadata?: any;
|
|
6420
6481
|
};
|
|
6421
6482
|
}, {
|
|
@@ -6425,12 +6486,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6425
6486
|
cron: string;
|
|
6426
6487
|
};
|
|
6427
6488
|
type: "cron";
|
|
6489
|
+
accountId?: string | undefined;
|
|
6428
6490
|
metadata?: any;
|
|
6429
6491
|
} | {
|
|
6430
6492
|
options: {
|
|
6431
6493
|
seconds: number;
|
|
6432
6494
|
};
|
|
6433
6495
|
type: "interval";
|
|
6496
|
+
accountId?: string | undefined;
|
|
6434
6497
|
metadata?: any;
|
|
6435
6498
|
};
|
|
6436
6499
|
}>]>>;
|
|
@@ -6510,12 +6573,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6510
6573
|
cron: string;
|
|
6511
6574
|
};
|
|
6512
6575
|
type: "cron";
|
|
6576
|
+
accountId?: string | undefined;
|
|
6513
6577
|
metadata?: any;
|
|
6514
6578
|
} | {
|
|
6515
6579
|
options: {
|
|
6516
6580
|
seconds: number;
|
|
6517
6581
|
};
|
|
6518
6582
|
type: "interval";
|
|
6583
|
+
accountId?: string | undefined;
|
|
6519
6584
|
metadata?: any;
|
|
6520
6585
|
};
|
|
6521
6586
|
} | undefined;
|
|
@@ -6574,12 +6639,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
|
|
|
6574
6639
|
cron: string;
|
|
6575
6640
|
};
|
|
6576
6641
|
type: "cron";
|
|
6642
|
+
accountId?: string | undefined;
|
|
6577
6643
|
metadata?: any;
|
|
6578
6644
|
} | {
|
|
6579
6645
|
options: {
|
|
6580
6646
|
seconds: number;
|
|
6581
6647
|
};
|
|
6582
6648
|
type: "interval";
|
|
6649
|
+
accountId?: string | undefined;
|
|
6583
6650
|
metadata?: any;
|
|
6584
6651
|
};
|
|
6585
6652
|
} | undefined;
|
|
@@ -6824,7 +6891,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6824
6891
|
id: string;
|
|
6825
6892
|
instructions?: string | undefined;
|
|
6826
6893
|
}>;
|
|
6827
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
6894
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
6828
6895
|
}, "strip", z.ZodTypeAny, {
|
|
6829
6896
|
id: string;
|
|
6830
6897
|
metadata: {
|
|
@@ -6832,7 +6899,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6832
6899
|
id: string;
|
|
6833
6900
|
instructions?: string | undefined;
|
|
6834
6901
|
};
|
|
6835
|
-
authSource: "HOSTED" | "LOCAL";
|
|
6902
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6836
6903
|
}, {
|
|
6837
6904
|
id: string;
|
|
6838
6905
|
metadata: {
|
|
@@ -6840,7 +6907,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6840
6907
|
id: string;
|
|
6841
6908
|
instructions?: string | undefined;
|
|
6842
6909
|
};
|
|
6843
|
-
authSource: "HOSTED" | "LOCAL";
|
|
6910
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6844
6911
|
}>;
|
|
6845
6912
|
key: z.ZodString;
|
|
6846
6913
|
params: z.ZodAny;
|
|
@@ -6867,7 +6934,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6867
6934
|
id: string;
|
|
6868
6935
|
instructions?: string | undefined;
|
|
6869
6936
|
};
|
|
6870
|
-
authSource: "HOSTED" | "LOCAL";
|
|
6937
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6871
6938
|
};
|
|
6872
6939
|
params?: any;
|
|
6873
6940
|
registerSourceJob?: {
|
|
@@ -6886,7 +6953,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6886
6953
|
id: string;
|
|
6887
6954
|
instructions?: string | undefined;
|
|
6888
6955
|
};
|
|
6889
|
-
authSource: "HOSTED" | "LOCAL";
|
|
6956
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6890
6957
|
};
|
|
6891
6958
|
params?: any;
|
|
6892
6959
|
registerSourceJob?: {
|
|
@@ -6907,7 +6974,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6907
6974
|
id: string;
|
|
6908
6975
|
instructions?: string | undefined;
|
|
6909
6976
|
};
|
|
6910
|
-
authSource: "HOSTED" | "LOCAL";
|
|
6977
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6911
6978
|
};
|
|
6912
6979
|
params?: any;
|
|
6913
6980
|
registerSourceJob?: {
|
|
@@ -6934,7 +7001,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
|
|
|
6934
7001
|
id: string;
|
|
6935
7002
|
instructions?: string | undefined;
|
|
6936
7003
|
};
|
|
6937
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7004
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6938
7005
|
};
|
|
6939
7006
|
params?: any;
|
|
6940
7007
|
registerSourceJob?: {
|
|
@@ -6985,7 +7052,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
6985
7052
|
id: string;
|
|
6986
7053
|
instructions?: string | undefined;
|
|
6987
7054
|
}>;
|
|
6988
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
7055
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
6989
7056
|
}, "strip", z.ZodTypeAny, {
|
|
6990
7057
|
id: string;
|
|
6991
7058
|
metadata: {
|
|
@@ -6993,7 +7060,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
6993
7060
|
id: string;
|
|
6994
7061
|
instructions?: string | undefined;
|
|
6995
7062
|
};
|
|
6996
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7063
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
6997
7064
|
}, {
|
|
6998
7065
|
id: string;
|
|
6999
7066
|
metadata: {
|
|
@@ -7001,7 +7068,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
7001
7068
|
id: string;
|
|
7002
7069
|
instructions?: string | undefined;
|
|
7003
7070
|
};
|
|
7004
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7071
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
7005
7072
|
}>;
|
|
7006
7073
|
key: z.ZodString;
|
|
7007
7074
|
params: z.ZodAny;
|
|
@@ -7028,7 +7095,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
7028
7095
|
id: string;
|
|
7029
7096
|
instructions?: string | undefined;
|
|
7030
7097
|
};
|
|
7031
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7098
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
7032
7099
|
};
|
|
7033
7100
|
params?: any;
|
|
7034
7101
|
registerSourceJob?: {
|
|
@@ -7047,7 +7114,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
7047
7114
|
id: string;
|
|
7048
7115
|
instructions?: string | undefined;
|
|
7049
7116
|
};
|
|
7050
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7117
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
7051
7118
|
};
|
|
7052
7119
|
params?: any;
|
|
7053
7120
|
registerSourceJob?: {
|
|
@@ -7068,7 +7135,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
7068
7135
|
id: string;
|
|
7069
7136
|
instructions?: string | undefined;
|
|
7070
7137
|
};
|
|
7071
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7138
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
7072
7139
|
};
|
|
7073
7140
|
params?: any;
|
|
7074
7141
|
registerSourceJob?: {
|
|
@@ -7095,7 +7162,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
|
|
|
7095
7162
|
id: string;
|
|
7096
7163
|
instructions?: string | undefined;
|
|
7097
7164
|
};
|
|
7098
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7165
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
7099
7166
|
};
|
|
7100
7167
|
params?: any;
|
|
7101
7168
|
registerSourceJob?: {
|
|
@@ -7130,7 +7197,6 @@ declare const InitializeTriggerBodySchema: z.ZodObject<{
|
|
|
7130
7197
|
type InitializeTriggerBody = z.infer<typeof InitializeTriggerBodySchema>;
|
|
7131
7198
|
declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
|
|
7132
7199
|
id: z.ZodString;
|
|
7133
|
-
accountId: z.ZodOptional<z.ZodString>;
|
|
7134
7200
|
type: z.ZodLiteral<"interval">;
|
|
7135
7201
|
options: z.ZodObject<{
|
|
7136
7202
|
seconds: z.ZodNumber;
|
|
@@ -7139,6 +7205,7 @@ declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
|
|
|
7139
7205
|
}, {
|
|
7140
7206
|
seconds: number;
|
|
7141
7207
|
}>;
|
|
7208
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7142
7209
|
metadata: z.ZodAny;
|
|
7143
7210
|
}, "strip", z.ZodTypeAny, {
|
|
7144
7211
|
options: {
|
|
@@ -7160,7 +7227,6 @@ declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
|
|
|
7160
7227
|
type RegisterIntervalScheduleBody = z.infer<typeof RegisterIntervalScheduleBodySchema>;
|
|
7161
7228
|
declare const InitializeCronScheduleBodySchema: z.ZodObject<{
|
|
7162
7229
|
id: z.ZodString;
|
|
7163
|
-
accountId: z.ZodOptional<z.ZodString>;
|
|
7164
7230
|
type: z.ZodLiteral<"cron">;
|
|
7165
7231
|
options: z.ZodObject<{
|
|
7166
7232
|
cron: z.ZodString;
|
|
@@ -7169,6 +7235,7 @@ declare const InitializeCronScheduleBodySchema: z.ZodObject<{
|
|
|
7169
7235
|
}, {
|
|
7170
7236
|
cron: string;
|
|
7171
7237
|
}>;
|
|
7238
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7172
7239
|
metadata: z.ZodAny;
|
|
7173
7240
|
}, "strip", z.ZodTypeAny, {
|
|
7174
7241
|
options: {
|
|
@@ -7190,7 +7257,6 @@ declare const InitializeCronScheduleBodySchema: z.ZodObject<{
|
|
|
7190
7257
|
type RegisterCronScheduleBody = z.infer<typeof InitializeCronScheduleBodySchema>;
|
|
7191
7258
|
declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
7192
7259
|
id: z.ZodString;
|
|
7193
|
-
accountId: z.ZodOptional<z.ZodString>;
|
|
7194
7260
|
type: z.ZodLiteral<"interval">;
|
|
7195
7261
|
options: z.ZodObject<{
|
|
7196
7262
|
seconds: z.ZodNumber;
|
|
@@ -7199,6 +7265,7 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7199
7265
|
}, {
|
|
7200
7266
|
seconds: number;
|
|
7201
7267
|
}>;
|
|
7268
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7202
7269
|
metadata: z.ZodAny;
|
|
7203
7270
|
}, "strip", z.ZodTypeAny, {
|
|
7204
7271
|
options: {
|
|
@@ -7218,7 +7285,6 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7218
7285
|
metadata?: any;
|
|
7219
7286
|
}>, z.ZodObject<{
|
|
7220
7287
|
id: z.ZodString;
|
|
7221
|
-
accountId: z.ZodOptional<z.ZodString>;
|
|
7222
7288
|
type: z.ZodLiteral<"cron">;
|
|
7223
7289
|
options: z.ZodObject<{
|
|
7224
7290
|
cron: z.ZodString;
|
|
@@ -7227,6 +7293,7 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
7227
7293
|
}, {
|
|
7228
7294
|
cron: string;
|
|
7229
7295
|
}>;
|
|
7296
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7230
7297
|
metadata: z.ZodAny;
|
|
7231
7298
|
}, "strip", z.ZodTypeAny, {
|
|
7232
7299
|
options: {
|
|
@@ -7257,18 +7324,21 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
|
|
|
7257
7324
|
}, {
|
|
7258
7325
|
seconds: number;
|
|
7259
7326
|
}>;
|
|
7327
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7260
7328
|
metadata: z.ZodAny;
|
|
7261
7329
|
}, "strip", z.ZodTypeAny, {
|
|
7262
7330
|
options: {
|
|
7263
7331
|
seconds: number;
|
|
7264
7332
|
};
|
|
7265
7333
|
type: "interval";
|
|
7334
|
+
accountId?: string | undefined;
|
|
7266
7335
|
metadata?: any;
|
|
7267
7336
|
}, {
|
|
7268
7337
|
options: {
|
|
7269
7338
|
seconds: number;
|
|
7270
7339
|
};
|
|
7271
7340
|
type: "interval";
|
|
7341
|
+
accountId?: string | undefined;
|
|
7272
7342
|
metadata?: any;
|
|
7273
7343
|
}>, z.ZodObject<{
|
|
7274
7344
|
type: z.ZodLiteral<"cron">;
|
|
@@ -7279,18 +7349,21 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
|
|
|
7279
7349
|
}, {
|
|
7280
7350
|
cron: string;
|
|
7281
7351
|
}>;
|
|
7352
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7282
7353
|
metadata: z.ZodAny;
|
|
7283
7354
|
}, "strip", z.ZodTypeAny, {
|
|
7284
7355
|
options: {
|
|
7285
7356
|
cron: string;
|
|
7286
7357
|
};
|
|
7287
7358
|
type: "cron";
|
|
7359
|
+
accountId?: string | undefined;
|
|
7288
7360
|
metadata?: any;
|
|
7289
7361
|
}, {
|
|
7290
7362
|
options: {
|
|
7291
7363
|
cron: string;
|
|
7292
7364
|
};
|
|
7293
7365
|
type: "cron";
|
|
7366
|
+
accountId?: string | undefined;
|
|
7294
7367
|
metadata?: any;
|
|
7295
7368
|
}>]>;
|
|
7296
7369
|
metadata: z.ZodAny;
|
|
@@ -7302,12 +7375,14 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
|
|
|
7302
7375
|
cron: string;
|
|
7303
7376
|
};
|
|
7304
7377
|
type: "cron";
|
|
7378
|
+
accountId?: string | undefined;
|
|
7305
7379
|
metadata?: any;
|
|
7306
7380
|
} | {
|
|
7307
7381
|
options: {
|
|
7308
7382
|
seconds: number;
|
|
7309
7383
|
};
|
|
7310
7384
|
type: "interval";
|
|
7385
|
+
accountId?: string | undefined;
|
|
7311
7386
|
metadata?: any;
|
|
7312
7387
|
};
|
|
7313
7388
|
active: boolean;
|
|
@@ -7319,12 +7394,14 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
|
|
|
7319
7394
|
cron: string;
|
|
7320
7395
|
};
|
|
7321
7396
|
type: "cron";
|
|
7397
|
+
accountId?: string | undefined;
|
|
7322
7398
|
metadata?: any;
|
|
7323
7399
|
} | {
|
|
7324
7400
|
options: {
|
|
7325
7401
|
seconds: number;
|
|
7326
7402
|
};
|
|
7327
7403
|
type: "interval";
|
|
7404
|
+
accountId?: string | undefined;
|
|
7328
7405
|
metadata?: any;
|
|
7329
7406
|
};
|
|
7330
7407
|
active: boolean;
|
|
@@ -7348,62 +7425,6 @@ declare const CreateExternalConnectionBodySchema: z.ZodObject<{
|
|
|
7348
7425
|
metadata?: any;
|
|
7349
7426
|
}>;
|
|
7350
7427
|
type CreateExternalConnectionBody = z.infer<typeof CreateExternalConnectionBodySchema>;
|
|
7351
|
-
declare const DeployBackgroundTaskRequestBodySchema: z.ZodObject<{
|
|
7352
|
-
id: z.ZodString;
|
|
7353
|
-
version: z.ZodString;
|
|
7354
|
-
fileName: z.ZodString;
|
|
7355
|
-
bundle: z.ZodString;
|
|
7356
|
-
sourcemap: z.ZodObject<{
|
|
7357
|
-
version: z.ZodNumber;
|
|
7358
|
-
sources: z.ZodArray<z.ZodString, "many">;
|
|
7359
|
-
mappings: z.ZodString;
|
|
7360
|
-
sourcesContent: z.ZodArray<z.ZodString, "many">;
|
|
7361
|
-
names: z.ZodArray<z.ZodString, "many">;
|
|
7362
|
-
}, "strip", z.ZodTypeAny, {
|
|
7363
|
-
version: number;
|
|
7364
|
-
sources: string[];
|
|
7365
|
-
mappings: string;
|
|
7366
|
-
sourcesContent: string[];
|
|
7367
|
-
names: string[];
|
|
7368
|
-
}, {
|
|
7369
|
-
version: number;
|
|
7370
|
-
sources: string[];
|
|
7371
|
-
mappings: string;
|
|
7372
|
-
sourcesContent: string[];
|
|
7373
|
-
names: string[];
|
|
7374
|
-
}>;
|
|
7375
|
-
dependencies: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7376
|
-
nodeVersion: z.ZodString;
|
|
7377
|
-
}, "strip", z.ZodTypeAny, {
|
|
7378
|
-
version: string;
|
|
7379
|
-
id: string;
|
|
7380
|
-
fileName: string;
|
|
7381
|
-
bundle: string;
|
|
7382
|
-
sourcemap: {
|
|
7383
|
-
version: number;
|
|
7384
|
-
sources: string[];
|
|
7385
|
-
mappings: string;
|
|
7386
|
-
sourcesContent: string[];
|
|
7387
|
-
names: string[];
|
|
7388
|
-
};
|
|
7389
|
-
dependencies: Record<string, string>;
|
|
7390
|
-
nodeVersion: string;
|
|
7391
|
-
}, {
|
|
7392
|
-
version: string;
|
|
7393
|
-
id: string;
|
|
7394
|
-
fileName: string;
|
|
7395
|
-
bundle: string;
|
|
7396
|
-
sourcemap: {
|
|
7397
|
-
version: number;
|
|
7398
|
-
sources: string[];
|
|
7399
|
-
mappings: string;
|
|
7400
|
-
sourcesContent: string[];
|
|
7401
|
-
names: string[];
|
|
7402
|
-
};
|
|
7403
|
-
dependencies: Record<string, string>;
|
|
7404
|
-
nodeVersion: string;
|
|
7405
|
-
}>;
|
|
7406
|
-
type DeployBackgroundTaskRequestBody = z.infer<typeof DeployBackgroundTaskRequestBodySchema>;
|
|
7407
7428
|
|
|
7408
7429
|
declare const EventExampleSchema: z.ZodObject<{
|
|
7409
7430
|
id: z.ZodString;
|
|
@@ -7577,18 +7598,21 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
|
|
|
7577
7598
|
}, {
|
|
7578
7599
|
seconds: number;
|
|
7579
7600
|
}>;
|
|
7601
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7580
7602
|
metadata: z.ZodAny;
|
|
7581
7603
|
}, "strip", z.ZodTypeAny, {
|
|
7582
7604
|
options: {
|
|
7583
7605
|
seconds: number;
|
|
7584
7606
|
};
|
|
7585
7607
|
type: "interval";
|
|
7608
|
+
accountId?: string | undefined;
|
|
7586
7609
|
metadata?: any;
|
|
7587
7610
|
}, {
|
|
7588
7611
|
options: {
|
|
7589
7612
|
seconds: number;
|
|
7590
7613
|
};
|
|
7591
7614
|
type: "interval";
|
|
7615
|
+
accountId?: string | undefined;
|
|
7592
7616
|
metadata?: any;
|
|
7593
7617
|
}>, z.ZodObject<{
|
|
7594
7618
|
type: z.ZodLiteral<"cron">;
|
|
@@ -7599,18 +7623,21 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
|
|
|
7599
7623
|
}, {
|
|
7600
7624
|
cron: string;
|
|
7601
7625
|
}>;
|
|
7626
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7602
7627
|
metadata: z.ZodAny;
|
|
7603
7628
|
}, "strip", z.ZodTypeAny, {
|
|
7604
7629
|
options: {
|
|
7605
7630
|
cron: string;
|
|
7606
7631
|
};
|
|
7607
7632
|
type: "cron";
|
|
7633
|
+
accountId?: string | undefined;
|
|
7608
7634
|
metadata?: any;
|
|
7609
7635
|
}, {
|
|
7610
7636
|
options: {
|
|
7611
7637
|
cron: string;
|
|
7612
7638
|
};
|
|
7613
7639
|
type: "cron";
|
|
7640
|
+
accountId?: string | undefined;
|
|
7614
7641
|
metadata?: any;
|
|
7615
7642
|
}>]>;
|
|
7616
7643
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7620,12 +7647,14 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
|
|
|
7620
7647
|
cron: string;
|
|
7621
7648
|
};
|
|
7622
7649
|
type: "cron";
|
|
7650
|
+
accountId?: string | undefined;
|
|
7623
7651
|
metadata?: any;
|
|
7624
7652
|
} | {
|
|
7625
7653
|
options: {
|
|
7626
7654
|
seconds: number;
|
|
7627
7655
|
};
|
|
7628
7656
|
type: "interval";
|
|
7657
|
+
accountId?: string | undefined;
|
|
7629
7658
|
metadata?: any;
|
|
7630
7659
|
};
|
|
7631
7660
|
}, {
|
|
@@ -7635,12 +7664,14 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
|
|
|
7635
7664
|
cron: string;
|
|
7636
7665
|
};
|
|
7637
7666
|
type: "cron";
|
|
7667
|
+
accountId?: string | undefined;
|
|
7638
7668
|
metadata?: any;
|
|
7639
7669
|
} | {
|
|
7640
7670
|
options: {
|
|
7641
7671
|
seconds: number;
|
|
7642
7672
|
};
|
|
7643
7673
|
type: "interval";
|
|
7674
|
+
accountId?: string | undefined;
|
|
7644
7675
|
metadata?: any;
|
|
7645
7676
|
};
|
|
7646
7677
|
}>;
|
|
@@ -7724,18 +7755,21 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
7724
7755
|
}, {
|
|
7725
7756
|
seconds: number;
|
|
7726
7757
|
}>;
|
|
7758
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7727
7759
|
metadata: z.ZodAny;
|
|
7728
7760
|
}, "strip", z.ZodTypeAny, {
|
|
7729
7761
|
options: {
|
|
7730
7762
|
seconds: number;
|
|
7731
7763
|
};
|
|
7732
7764
|
type: "interval";
|
|
7765
|
+
accountId?: string | undefined;
|
|
7733
7766
|
metadata?: any;
|
|
7734
7767
|
}, {
|
|
7735
7768
|
options: {
|
|
7736
7769
|
seconds: number;
|
|
7737
7770
|
};
|
|
7738
7771
|
type: "interval";
|
|
7772
|
+
accountId?: string | undefined;
|
|
7739
7773
|
metadata?: any;
|
|
7740
7774
|
}>, z.ZodObject<{
|
|
7741
7775
|
type: z.ZodLiteral<"cron">;
|
|
@@ -7746,18 +7780,21 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
7746
7780
|
}, {
|
|
7747
7781
|
cron: string;
|
|
7748
7782
|
}>;
|
|
7783
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7749
7784
|
metadata: z.ZodAny;
|
|
7750
7785
|
}, "strip", z.ZodTypeAny, {
|
|
7751
7786
|
options: {
|
|
7752
7787
|
cron: string;
|
|
7753
7788
|
};
|
|
7754
7789
|
type: "cron";
|
|
7790
|
+
accountId?: string | undefined;
|
|
7755
7791
|
metadata?: any;
|
|
7756
7792
|
}, {
|
|
7757
7793
|
options: {
|
|
7758
7794
|
cron: string;
|
|
7759
7795
|
};
|
|
7760
7796
|
type: "cron";
|
|
7797
|
+
accountId?: string | undefined;
|
|
7761
7798
|
metadata?: any;
|
|
7762
7799
|
}>]>;
|
|
7763
7800
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7767,12 +7804,14 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
7767
7804
|
cron: string;
|
|
7768
7805
|
};
|
|
7769
7806
|
type: "cron";
|
|
7807
|
+
accountId?: string | undefined;
|
|
7770
7808
|
metadata?: any;
|
|
7771
7809
|
} | {
|
|
7772
7810
|
options: {
|
|
7773
7811
|
seconds: number;
|
|
7774
7812
|
};
|
|
7775
7813
|
type: "interval";
|
|
7814
|
+
accountId?: string | undefined;
|
|
7776
7815
|
metadata?: any;
|
|
7777
7816
|
};
|
|
7778
7817
|
}, {
|
|
@@ -7782,12 +7821,14 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
7782
7821
|
cron: string;
|
|
7783
7822
|
};
|
|
7784
7823
|
type: "cron";
|
|
7824
|
+
accountId?: string | undefined;
|
|
7785
7825
|
metadata?: any;
|
|
7786
7826
|
} | {
|
|
7787
7827
|
options: {
|
|
7788
7828
|
seconds: number;
|
|
7789
7829
|
};
|
|
7790
7830
|
type: "interval";
|
|
7831
|
+
accountId?: string | undefined;
|
|
7791
7832
|
metadata?: any;
|
|
7792
7833
|
};
|
|
7793
7834
|
}>]>;
|
|
@@ -7858,17 +7899,17 @@ type Style = z.infer<typeof StyleSchema>;
|
|
|
7858
7899
|
type StyleName = Style["style"];
|
|
7859
7900
|
|
|
7860
7901
|
declare const ConnectionAuthSchema: z.ZodObject<{
|
|
7861
|
-
type: z.ZodEnum<["oauth2"]>;
|
|
7902
|
+
type: z.ZodEnum<["oauth2", "apiKey"]>;
|
|
7862
7903
|
accessToken: z.ZodString;
|
|
7863
7904
|
scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7864
7905
|
additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7865
7906
|
}, "strip", z.ZodTypeAny, {
|
|
7866
|
-
type: "oauth2";
|
|
7907
|
+
type: "oauth2" | "apiKey";
|
|
7867
7908
|
accessToken: string;
|
|
7868
7909
|
scopes?: string[] | undefined;
|
|
7869
7910
|
additionalFields?: Record<string, string> | undefined;
|
|
7870
7911
|
}, {
|
|
7871
|
-
type: "oauth2";
|
|
7912
|
+
type: "oauth2" | "apiKey";
|
|
7872
7913
|
accessToken: string;
|
|
7873
7914
|
scopes?: string[] | undefined;
|
|
7874
7915
|
additionalFields?: Record<string, string> | undefined;
|
|
@@ -7903,7 +7944,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
|
|
|
7903
7944
|
id: string;
|
|
7904
7945
|
instructions?: string | undefined;
|
|
7905
7946
|
}>;
|
|
7906
|
-
authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
|
|
7947
|
+
authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
|
|
7907
7948
|
}, "strip", z.ZodTypeAny, {
|
|
7908
7949
|
id: string;
|
|
7909
7950
|
metadata: {
|
|
@@ -7911,7 +7952,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
|
|
|
7911
7952
|
id: string;
|
|
7912
7953
|
instructions?: string | undefined;
|
|
7913
7954
|
};
|
|
7914
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7955
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
7915
7956
|
}, {
|
|
7916
7957
|
id: string;
|
|
7917
7958
|
metadata: {
|
|
@@ -7919,7 +7960,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
|
|
|
7919
7960
|
id: string;
|
|
7920
7961
|
instructions?: string | undefined;
|
|
7921
7962
|
};
|
|
7922
|
-
authSource: "HOSTED" | "LOCAL";
|
|
7963
|
+
authSource: "HOSTED" | "LOCAL" | "RESOLVER";
|
|
7923
7964
|
}>;
|
|
7924
7965
|
type IntegrationConfig = z.infer<typeof IntegrationConfigSchema>;
|
|
7925
7966
|
|
|
@@ -7969,18 +8010,22 @@ declare const CronMetadataSchema: z.ZodObject<{
|
|
|
7969
8010
|
}, {
|
|
7970
8011
|
cron: string;
|
|
7971
8012
|
}>;
|
|
8013
|
+
/** An optional Account ID to associate with runs triggered by this interval */
|
|
8014
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7972
8015
|
metadata: z.ZodAny;
|
|
7973
8016
|
}, "strip", z.ZodTypeAny, {
|
|
7974
8017
|
options: {
|
|
7975
8018
|
cron: string;
|
|
7976
8019
|
};
|
|
7977
8020
|
type: "cron";
|
|
8021
|
+
accountId?: string | undefined;
|
|
7978
8022
|
metadata?: any;
|
|
7979
8023
|
}, {
|
|
7980
8024
|
options: {
|
|
7981
8025
|
cron: string;
|
|
7982
8026
|
};
|
|
7983
8027
|
type: "cron";
|
|
8028
|
+
accountId?: string | undefined;
|
|
7984
8029
|
metadata?: any;
|
|
7985
8030
|
}>;
|
|
7986
8031
|
type CronMetadata = z.infer<typeof CronMetadataSchema>;
|
|
@@ -7996,6 +8041,8 @@ declare const IntervalMetadataSchema: z.ZodObject<{
|
|
|
7996
8041
|
}, {
|
|
7997
8042
|
seconds: number;
|
|
7998
8043
|
}>;
|
|
8044
|
+
/** An optional Account ID to associate with runs triggered by this interval */
|
|
8045
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
7999
8046
|
/** Any additional metadata about the schedule. */
|
|
8000
8047
|
metadata: z.ZodAny;
|
|
8001
8048
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8003,12 +8050,14 @@ declare const IntervalMetadataSchema: z.ZodObject<{
|
|
|
8003
8050
|
seconds: number;
|
|
8004
8051
|
};
|
|
8005
8052
|
type: "interval";
|
|
8053
|
+
accountId?: string | undefined;
|
|
8006
8054
|
metadata?: any;
|
|
8007
8055
|
}, {
|
|
8008
8056
|
options: {
|
|
8009
8057
|
seconds: number;
|
|
8010
8058
|
};
|
|
8011
8059
|
type: "interval";
|
|
8060
|
+
accountId?: string | undefined;
|
|
8012
8061
|
metadata?: any;
|
|
8013
8062
|
}>;
|
|
8014
8063
|
type IntervalMetadata = z.infer<typeof IntervalMetadataSchema>;
|
|
@@ -8024,6 +8073,8 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
8024
8073
|
}, {
|
|
8025
8074
|
seconds: number;
|
|
8026
8075
|
}>;
|
|
8076
|
+
/** An optional Account ID to associate with runs triggered by this interval */
|
|
8077
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
8027
8078
|
/** Any additional metadata about the schedule. */
|
|
8028
8079
|
metadata: z.ZodAny;
|
|
8029
8080
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8031,12 +8082,14 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
8031
8082
|
seconds: number;
|
|
8032
8083
|
};
|
|
8033
8084
|
type: "interval";
|
|
8085
|
+
accountId?: string | undefined;
|
|
8034
8086
|
metadata?: any;
|
|
8035
8087
|
}, {
|
|
8036
8088
|
options: {
|
|
8037
8089
|
seconds: number;
|
|
8038
8090
|
};
|
|
8039
8091
|
type: "interval";
|
|
8092
|
+
accountId?: string | undefined;
|
|
8040
8093
|
metadata?: any;
|
|
8041
8094
|
}>, z.ZodObject<{
|
|
8042
8095
|
type: z.ZodLiteral<"cron">;
|
|
@@ -8050,18 +8103,22 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
8050
8103
|
}, {
|
|
8051
8104
|
cron: string;
|
|
8052
8105
|
}>;
|
|
8106
|
+
/** An optional Account ID to associate with runs triggered by this interval */
|
|
8107
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
8053
8108
|
metadata: z.ZodAny;
|
|
8054
8109
|
}, "strip", z.ZodTypeAny, {
|
|
8055
8110
|
options: {
|
|
8056
8111
|
cron: string;
|
|
8057
8112
|
};
|
|
8058
8113
|
type: "cron";
|
|
8114
|
+
accountId?: string | undefined;
|
|
8059
8115
|
metadata?: any;
|
|
8060
8116
|
}, {
|
|
8061
8117
|
options: {
|
|
8062
8118
|
cron: string;
|
|
8063
8119
|
};
|
|
8064
8120
|
type: "cron";
|
|
8121
|
+
accountId?: string | undefined;
|
|
8065
8122
|
metadata?: any;
|
|
8066
8123
|
}>]>;
|
|
8067
8124
|
type ScheduleMetadata = z.infer<typeof ScheduleMetadataSchema>;
|
|
@@ -8989,18 +9046,18 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
8989
9046
|
/** The Run id */
|
|
8990
9047
|
id: z.ZodString;
|
|
8991
9048
|
/** The Run status */
|
|
8992
|
-
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">]>;
|
|
9049
|
+
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">]>;
|
|
8993
9050
|
/** When the run started */
|
|
8994
9051
|
startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
8995
9052
|
/** When the run completed */
|
|
8996
9053
|
completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
8997
9054
|
}, "strip", z.ZodTypeAny, {
|
|
8998
|
-
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9055
|
+
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
8999
9056
|
id: string;
|
|
9000
9057
|
startedAt?: Date | null | undefined;
|
|
9001
9058
|
completedAt?: Date | null | undefined;
|
|
9002
9059
|
}, {
|
|
9003
|
-
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9060
|
+
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9004
9061
|
id: string;
|
|
9005
9062
|
startedAt?: Date | null | undefined;
|
|
9006
9063
|
completedAt?: Date | null | undefined;
|
|
@@ -9011,7 +9068,7 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
9011
9068
|
createdAt: Date;
|
|
9012
9069
|
updatedAt: Date;
|
|
9013
9070
|
runs: {
|
|
9014
|
-
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9071
|
+
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9015
9072
|
id: string;
|
|
9016
9073
|
startedAt?: Date | null | undefined;
|
|
9017
9074
|
completedAt?: Date | null | undefined;
|
|
@@ -9022,7 +9079,7 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
9022
9079
|
createdAt: Date;
|
|
9023
9080
|
updatedAt: Date;
|
|
9024
9081
|
runs: {
|
|
9025
|
-
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9082
|
+
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9026
9083
|
id: string;
|
|
9027
9084
|
startedAt?: Date | null | undefined;
|
|
9028
9085
|
completedAt?: Date | null | undefined;
|
|
@@ -9030,8 +9087,8 @@ declare const GetEventSchema: z.ZodObject<{
|
|
|
9030
9087
|
}>;
|
|
9031
9088
|
type GetEvent = z.infer<typeof GetEventSchema>;
|
|
9032
9089
|
|
|
9033
|
-
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">]>;
|
|
9034
|
-
declare const RunTaskSchema: ZodObject<{
|
|
9090
|
+
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">]>;
|
|
9091
|
+
declare const RunTaskSchema: z.ZodObject<{
|
|
9035
9092
|
/** The Task id */
|
|
9036
9093
|
id: z.ZodString;
|
|
9037
9094
|
/** The key that you defined when creating the Task, the first param in any task. */
|
|
@@ -9069,7 +9126,7 @@ type RunTaskWithSubtasks = z.infer<typeof RunTaskSchema> & {
|
|
|
9069
9126
|
/** The subtasks of the task */
|
|
9070
9127
|
subtasks?: RunTaskWithSubtasks[];
|
|
9071
9128
|
};
|
|
9072
|
-
declare const GetRunOptionsSchema: ZodObject<{
|
|
9129
|
+
declare const GetRunOptionsSchema: z.ZodObject<{
|
|
9073
9130
|
/** Return subtasks, which appear in a `subtasks` array on a task. @default false */
|
|
9074
9131
|
subtasks: z.ZodOptional<z.ZodBoolean>;
|
|
9075
9132
|
/** You can use this to get more tasks, if there are more than are returned in a single batch @default undefined */
|
|
@@ -9086,7 +9143,7 @@ declare const GetRunOptionsSchema: ZodObject<{
|
|
|
9086
9143
|
take?: number | undefined;
|
|
9087
9144
|
}>;
|
|
9088
9145
|
type GetRunOptions = z.infer<typeof GetRunOptionsSchema>;
|
|
9089
|
-
declare const GetRunOptionsWithTaskDetailsSchema: ZodObject<{
|
|
9146
|
+
declare const GetRunOptionsWithTaskDetailsSchema: z.ZodObject<{
|
|
9090
9147
|
subtasks: z.ZodOptional<z.ZodBoolean>;
|
|
9091
9148
|
cursor: z.ZodOptional<z.ZodString>;
|
|
9092
9149
|
take: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9103,8 +9160,8 @@ declare const GetRunOptionsWithTaskDetailsSchema: ZodObject<{
|
|
|
9103
9160
|
taskdetails?: boolean | undefined;
|
|
9104
9161
|
}>;
|
|
9105
9162
|
type GetRunOptionsWithTaskDetails = z.infer<typeof GetRunOptionsWithTaskDetailsSchema>;
|
|
9106
|
-
declare const GetRunSchema: ZodObject<{
|
|
9107
|
-
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">]>;
|
|
9163
|
+
declare const GetRunSchema: z.ZodObject<{
|
|
9164
|
+
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">]>;
|
|
9108
9165
|
id: z.ZodString;
|
|
9109
9166
|
startedAt: z.ZodNullable<z.ZodDate>;
|
|
9110
9167
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
@@ -9113,7 +9170,7 @@ declare const GetRunSchema: ZodObject<{
|
|
|
9113
9170
|
tasks: z.ZodArray<z.ZodType<RunTaskWithSubtasks, z.ZodTypeDef, RunTaskWithSubtasks>, "many">;
|
|
9114
9171
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
9115
9172
|
}, "strip", z.ZodTypeAny, {
|
|
9116
|
-
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9173
|
+
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9117
9174
|
id: string;
|
|
9118
9175
|
startedAt: Date | null;
|
|
9119
9176
|
completedAt: Date | null;
|
|
@@ -9122,7 +9179,7 @@ declare const GetRunSchema: ZodObject<{
|
|
|
9122
9179
|
output?: any;
|
|
9123
9180
|
nextCursor?: string | undefined;
|
|
9124
9181
|
}, {
|
|
9125
|
-
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9182
|
+
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9126
9183
|
id: string;
|
|
9127
9184
|
startedAt: Date | null;
|
|
9128
9185
|
completedAt: Date | null;
|
|
@@ -9132,7 +9189,7 @@ declare const GetRunSchema: ZodObject<{
|
|
|
9132
9189
|
nextCursor?: string | undefined;
|
|
9133
9190
|
}>;
|
|
9134
9191
|
type GetRun = z.infer<typeof GetRunSchema>;
|
|
9135
|
-
declare const GetRunsOptionsSchema: ZodObject<{
|
|
9192
|
+
declare const GetRunsOptionsSchema: z.ZodObject<{
|
|
9136
9193
|
/** You can use this to get more tasks, if there are more than are returned in a single batch @default undefined */
|
|
9137
9194
|
cursor: z.ZodOptional<z.ZodString>;
|
|
9138
9195
|
/** How many runs you want to return in one go, max 50. @default 20 */
|
|
@@ -9145,13 +9202,13 @@ declare const GetRunsOptionsSchema: ZodObject<{
|
|
|
9145
9202
|
take?: number | undefined;
|
|
9146
9203
|
}>;
|
|
9147
9204
|
type GetRunsOptions = z.infer<typeof GetRunsOptionsSchema>;
|
|
9148
|
-
declare const GetRunsSchema: ZodObject<{
|
|
9205
|
+
declare const GetRunsSchema: z.ZodObject<{
|
|
9149
9206
|
/** The runs from the query */
|
|
9150
|
-
runs: z.ZodArray<ZodObject<{
|
|
9207
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
9151
9208
|
/** The Run id */
|
|
9152
9209
|
id: z.ZodString;
|
|
9153
9210
|
/** The Run status */
|
|
9154
|
-
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">]>;
|
|
9211
|
+
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">]>;
|
|
9155
9212
|
/** When the run started */
|
|
9156
9213
|
startedAt: z.ZodNullable<z.ZodDate>;
|
|
9157
9214
|
/** When the run was last updated */
|
|
@@ -9159,13 +9216,13 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9159
9216
|
/** When the run was completed */
|
|
9160
9217
|
completedAt: z.ZodNullable<z.ZodDate>;
|
|
9161
9218
|
}, "strip", z.ZodTypeAny, {
|
|
9162
|
-
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9219
|
+
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9163
9220
|
id: string;
|
|
9164
9221
|
startedAt: Date | null;
|
|
9165
9222
|
completedAt: Date | null;
|
|
9166
9223
|
updatedAt: Date | null;
|
|
9167
9224
|
}, {
|
|
9168
|
-
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9225
|
+
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9169
9226
|
id: string;
|
|
9170
9227
|
startedAt: Date | null;
|
|
9171
9228
|
completedAt: Date | null;
|
|
@@ -9175,7 +9232,7 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9175
9232
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
9176
9233
|
}, "strip", z.ZodTypeAny, {
|
|
9177
9234
|
runs: {
|
|
9178
|
-
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9235
|
+
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9179
9236
|
id: string;
|
|
9180
9237
|
startedAt: Date | null;
|
|
9181
9238
|
completedAt: Date | null;
|
|
@@ -9184,7 +9241,7 @@ declare const GetRunsSchema: ZodObject<{
|
|
|
9184
9241
|
nextCursor?: string | undefined;
|
|
9185
9242
|
}, {
|
|
9186
9243
|
runs: {
|
|
9187
|
-
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
|
|
9244
|
+
status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
|
|
9188
9245
|
id: string;
|
|
9189
9246
|
startedAt: Date | null;
|
|
9190
9247
|
completedAt: Date | null;
|
|
@@ -9221,4 +9278,4 @@ declare function urlWithSearchParams(url: string, params: Record<string, string
|
|
|
9221
9278
|
|
|
9222
9279
|
declare function eventFilterMatches(payload: any, filter: EventFilter): boolean;
|
|
9223
9280
|
|
|
9224
|
-
export { ApiEventLog, ApiEventLogSchema,
|
|
9281
|
+
export { ApiEventLog, ApiEventLogSchema, CachedTask, CachedTaskSchema, 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, ErrorWithStack, ErrorWithStackSchema, EventExample, EventExampleSchema, EventFilter, EventFilterSchema, EventRule, EventRuleSchema, EventSpecificationSchema, ExampleReplacement, FailTaskBodyInput, FailTaskBodyInputSchema, FetchOperation, FetchOperationSchema, FetchRequestInit, FetchRequestInitSchema, FetchRetryBackoffStrategy, FetchRetryBackoffStrategySchema, FetchRetryHeadersStrategy, FetchRetryHeadersStrategySchema, FetchRetryOptions, FetchRetryOptionsSchema, FetchRetryStrategy, FetchRetryStrategySchema, GetEvent, GetEventSchema, GetRun, GetRunOptions, GetRunOptionsWithTaskDetails, GetRunSchema, GetRunsOptions, GetRunsSchema, HandleTriggerSource, HandleTriggerSourceSchema, HttpSourceRequest, HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, HttpSourceRequestSchema, HttpSourceResponseMetadata, HttpSourceResponseSchema, IndexEndpointResponse, IndexEndpointResponseSchema, InitializeCronScheduleBodySchema, InitializeTriggerBody, InitializeTriggerBodySchema, IntegrationConfig, IntegrationConfigSchema, IntegrationMetadata, IntegrationMetadataSchema, IntervalMetadata, IntervalMetadataSchema, IntervalOptions, IntervalOptionsSchema, JobMetadata, JobMetadataSchema, LogLevel, LogMessage, LogMessageSchema, Logger, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, NormalizedRequest, NormalizedRequestSchema, NormalizedResponse, NormalizedResponseSchema, OverridableRunTaskOptions, 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, RunJobBody, RunJobBodySchema, RunJobCanceledWithTask, RunJobCanceledWithTaskSchema, RunJobError, RunJobErrorSchema, RunJobResponse, RunJobResponseSchema, RunJobResumeWithTask, RunJobResumeWithTaskSchema, RunJobRetryWithTask, RunJobRetryWithTaskSchema, RunJobSuccess, RunJobSuccessSchema, RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, RunSourceContextSchema, RunStatusSchema, RunTaskBodyInput, RunTaskBodyInputSchema, RunTaskBodyOutput, RunTaskBodyOutputSchema, RunTaskOptions, RunTaskOptionsSchema, RunTaskSchema, RunTaskWithSubtasks, RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, ScheduleMetadata, ScheduleMetadataSchema, ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, SendEvent, SendEventBody, SendEventBodySchema, SendEventOptions, SendEventOptionsSchema, SerializableJson, SerializableJsonSchema, ServerTask, ServerTaskSchema, SourceEventOption, SourceMetadataV1, SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, 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, replacements, urlWithSearchParams };
|