@trigger.dev/core 2.1.3 → 2.1.4

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { z, ZodObject } from 'zod';
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;
@@ -2134,18 +2158,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2134
2158
  }, {
2135
2159
  seconds: number;
2136
2160
  }>;
2161
+ accountId: z.ZodOptional<z.ZodString>;
2137
2162
  metadata: z.ZodAny;
2138
2163
  }, "strip", z.ZodTypeAny, {
2139
2164
  options: {
2140
2165
  seconds: number;
2141
2166
  };
2142
2167
  type: "interval";
2168
+ accountId?: string | undefined;
2143
2169
  metadata?: any;
2144
2170
  }, {
2145
2171
  options: {
2146
2172
  seconds: number;
2147
2173
  };
2148
2174
  type: "interval";
2175
+ accountId?: string | undefined;
2149
2176
  metadata?: any;
2150
2177
  }>, z.ZodObject<{
2151
2178
  type: z.ZodLiteral<"cron">;
@@ -2156,18 +2183,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2156
2183
  }, {
2157
2184
  cron: string;
2158
2185
  }>;
2186
+ accountId: z.ZodOptional<z.ZodString>;
2159
2187
  metadata: z.ZodAny;
2160
2188
  }, "strip", z.ZodTypeAny, {
2161
2189
  options: {
2162
2190
  cron: string;
2163
2191
  };
2164
2192
  type: "cron";
2193
+ accountId?: string | undefined;
2165
2194
  metadata?: any;
2166
2195
  }, {
2167
2196
  options: {
2168
2197
  cron: string;
2169
2198
  };
2170
2199
  type: "cron";
2200
+ accountId?: string | undefined;
2171
2201
  metadata?: any;
2172
2202
  }>]>;
2173
2203
  }, "strip", z.ZodTypeAny, {
@@ -2177,12 +2207,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2177
2207
  cron: string;
2178
2208
  };
2179
2209
  type: "cron";
2210
+ accountId?: string | undefined;
2180
2211
  metadata?: any;
2181
2212
  } | {
2182
2213
  options: {
2183
2214
  seconds: number;
2184
2215
  };
2185
2216
  type: "interval";
2217
+ accountId?: string | undefined;
2186
2218
  metadata?: any;
2187
2219
  };
2188
2220
  }, {
@@ -2192,12 +2224,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2192
2224
  cron: string;
2193
2225
  };
2194
2226
  type: "cron";
2227
+ accountId?: string | undefined;
2195
2228
  metadata?: any;
2196
2229
  } | {
2197
2230
  options: {
2198
2231
  seconds: number;
2199
2232
  };
2200
2233
  type: "interval";
2234
+ accountId?: string | undefined;
2201
2235
  metadata?: any;
2202
2236
  };
2203
2237
  }>]>;
@@ -2216,7 +2250,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2216
2250
  id: string;
2217
2251
  instructions?: string | undefined;
2218
2252
  }>;
2219
- authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
2253
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
2220
2254
  }, "strip", z.ZodTypeAny, {
2221
2255
  id: string;
2222
2256
  metadata: {
@@ -2224,7 +2258,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2224
2258
  id: string;
2225
2259
  instructions?: string | undefined;
2226
2260
  };
2227
- authSource: "HOSTED" | "LOCAL";
2261
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2228
2262
  }, {
2229
2263
  id: string;
2230
2264
  metadata: {
@@ -2232,7 +2266,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2232
2266
  id: string;
2233
2267
  instructions?: string | undefined;
2234
2268
  };
2235
- authSource: "HOSTED" | "LOCAL";
2269
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2236
2270
  }>>;
2237
2271
  internal: z.ZodDefault<z.ZodBoolean>;
2238
2272
  enabled: z.ZodBoolean;
@@ -2285,12 +2319,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2285
2319
  cron: string;
2286
2320
  };
2287
2321
  type: "cron";
2322
+ accountId?: string | undefined;
2288
2323
  metadata?: any;
2289
2324
  } | {
2290
2325
  options: {
2291
2326
  seconds: number;
2292
2327
  };
2293
2328
  type: "interval";
2329
+ accountId?: string | undefined;
2294
2330
  metadata?: any;
2295
2331
  };
2296
2332
  };
@@ -2301,7 +2337,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2301
2337
  id: string;
2302
2338
  instructions?: string | undefined;
2303
2339
  };
2304
- authSource: "HOSTED" | "LOCAL";
2340
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2305
2341
  }>;
2306
2342
  internal: boolean;
2307
2343
  enabled: boolean;
@@ -2354,12 +2390,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2354
2390
  cron: string;
2355
2391
  };
2356
2392
  type: "cron";
2393
+ accountId?: string | undefined;
2357
2394
  metadata?: any;
2358
2395
  } | {
2359
2396
  options: {
2360
2397
  seconds: number;
2361
2398
  };
2362
2399
  type: "interval";
2400
+ accountId?: string | undefined;
2363
2401
  metadata?: any;
2364
2402
  };
2365
2403
  };
@@ -2370,7 +2408,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2370
2408
  id: string;
2371
2409
  instructions?: string | undefined;
2372
2410
  };
2373
- authSource: "HOSTED" | "LOCAL";
2411
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2374
2412
  }>;
2375
2413
  enabled: boolean;
2376
2414
  startPosition: "initial" | "latest";
@@ -2395,7 +2433,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2395
2433
  id: string;
2396
2434
  instructions?: string | undefined;
2397
2435
  }>;
2398
- authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
2436
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
2399
2437
  }, "strip", z.ZodTypeAny, {
2400
2438
  id: string;
2401
2439
  metadata: {
@@ -2403,7 +2441,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2403
2441
  id: string;
2404
2442
  instructions?: string | undefined;
2405
2443
  };
2406
- authSource: "HOSTED" | "LOCAL";
2444
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2407
2445
  }, {
2408
2446
  id: string;
2409
2447
  metadata: {
@@ -2411,7 +2449,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2411
2449
  id: string;
2412
2450
  instructions?: string | undefined;
2413
2451
  };
2414
- authSource: "HOSTED" | "LOCAL";
2452
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2415
2453
  }>;
2416
2454
  key: z.ZodString;
2417
2455
  params: z.ZodAny;
@@ -2438,7 +2476,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2438
2476
  id: string;
2439
2477
  instructions?: string | undefined;
2440
2478
  };
2441
- authSource: "HOSTED" | "LOCAL";
2479
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2442
2480
  };
2443
2481
  params?: any;
2444
2482
  registerSourceJob?: {
@@ -2457,7 +2495,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2457
2495
  id: string;
2458
2496
  instructions?: string | undefined;
2459
2497
  };
2460
- authSource: "HOSTED" | "LOCAL";
2498
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2461
2499
  };
2462
2500
  params?: any;
2463
2501
  registerSourceJob?: {
@@ -2482,7 +2520,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2482
2520
  id: string;
2483
2521
  instructions?: string | undefined;
2484
2522
  }>;
2485
- authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
2523
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
2486
2524
  }, "strip", z.ZodTypeAny, {
2487
2525
  id: string;
2488
2526
  metadata: {
@@ -2490,7 +2528,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2490
2528
  id: string;
2491
2529
  instructions?: string | undefined;
2492
2530
  };
2493
- authSource: "HOSTED" | "LOCAL";
2531
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2494
2532
  }, {
2495
2533
  id: string;
2496
2534
  metadata: {
@@ -2498,7 +2536,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2498
2536
  id: string;
2499
2537
  instructions?: string | undefined;
2500
2538
  };
2501
- authSource: "HOSTED" | "LOCAL";
2539
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2502
2540
  }>;
2503
2541
  key: z.ZodString;
2504
2542
  params: z.ZodAny;
@@ -2525,7 +2563,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2525
2563
  id: string;
2526
2564
  instructions?: string | undefined;
2527
2565
  };
2528
- authSource: "HOSTED" | "LOCAL";
2566
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2529
2567
  };
2530
2568
  params?: any;
2531
2569
  registerSourceJob?: {
@@ -2544,7 +2582,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2544
2582
  id: string;
2545
2583
  instructions?: string | undefined;
2546
2584
  };
2547
- authSource: "HOSTED" | "LOCAL";
2585
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2548
2586
  };
2549
2587
  params?: any;
2550
2588
  registerSourceJob?: {
@@ -2563,7 +2601,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2563
2601
  id: string;
2564
2602
  instructions?: string | undefined;
2565
2603
  };
2566
- authSource: "HOSTED" | "LOCAL";
2604
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2567
2605
  };
2568
2606
  params?: any;
2569
2607
  registerSourceJob?: {
@@ -2582,7 +2620,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2582
2620
  id: string;
2583
2621
  instructions?: string | undefined;
2584
2622
  };
2585
- authSource: "HOSTED" | "LOCAL";
2623
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2586
2624
  };
2587
2625
  params?: any;
2588
2626
  registerSourceJob?: {
@@ -2749,18 +2787,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2749
2787
  }, {
2750
2788
  seconds: number;
2751
2789
  }>;
2790
+ accountId: z.ZodOptional<z.ZodString>;
2752
2791
  metadata: z.ZodAny;
2753
2792
  }, "strip", z.ZodTypeAny, {
2754
2793
  options: {
2755
2794
  seconds: number;
2756
2795
  };
2757
2796
  type: "interval";
2797
+ accountId?: string | undefined;
2758
2798
  metadata?: any;
2759
2799
  }, {
2760
2800
  options: {
2761
2801
  seconds: number;
2762
2802
  };
2763
2803
  type: "interval";
2804
+ accountId?: string | undefined;
2764
2805
  metadata?: any;
2765
2806
  }>, z.ZodObject<{
2766
2807
  type: z.ZodLiteral<"cron">;
@@ -2771,18 +2812,21 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2771
2812
  }, {
2772
2813
  cron: string;
2773
2814
  }>;
2815
+ accountId: z.ZodOptional<z.ZodString>;
2774
2816
  metadata: z.ZodAny;
2775
2817
  }, "strip", z.ZodTypeAny, {
2776
2818
  options: {
2777
2819
  cron: string;
2778
2820
  };
2779
2821
  type: "cron";
2822
+ accountId?: string | undefined;
2780
2823
  metadata?: any;
2781
2824
  }, {
2782
2825
  options: {
2783
2826
  cron: string;
2784
2827
  };
2785
2828
  type: "cron";
2829
+ accountId?: string | undefined;
2786
2830
  metadata?: any;
2787
2831
  }>]>;
2788
2832
  }, "strip", z.ZodTypeAny, {
@@ -2792,12 +2836,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2792
2836
  cron: string;
2793
2837
  };
2794
2838
  type: "cron";
2839
+ accountId?: string | undefined;
2795
2840
  metadata?: any;
2796
2841
  } | {
2797
2842
  options: {
2798
2843
  seconds: number;
2799
2844
  };
2800
2845
  type: "interval";
2846
+ accountId?: string | undefined;
2801
2847
  metadata?: any;
2802
2848
  };
2803
2849
  }, {
@@ -2807,12 +2853,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2807
2853
  cron: string;
2808
2854
  };
2809
2855
  type: "cron";
2856
+ accountId?: string | undefined;
2810
2857
  metadata?: any;
2811
2858
  } | {
2812
2859
  options: {
2813
2860
  seconds: number;
2814
2861
  };
2815
2862
  type: "interval";
2863
+ accountId?: string | undefined;
2816
2864
  metadata?: any;
2817
2865
  };
2818
2866
  }>]>;
@@ -2831,7 +2879,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2831
2879
  id: string;
2832
2880
  instructions?: string | undefined;
2833
2881
  }>;
2834
- authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
2882
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
2835
2883
  }, "strip", z.ZodTypeAny, {
2836
2884
  id: string;
2837
2885
  metadata: {
@@ -2839,7 +2887,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2839
2887
  id: string;
2840
2888
  instructions?: string | undefined;
2841
2889
  };
2842
- authSource: "HOSTED" | "LOCAL";
2890
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2843
2891
  }, {
2844
2892
  id: string;
2845
2893
  metadata: {
@@ -2847,7 +2895,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2847
2895
  id: string;
2848
2896
  instructions?: string | undefined;
2849
2897
  };
2850
- authSource: "HOSTED" | "LOCAL";
2898
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2851
2899
  }>>;
2852
2900
  internal: z.ZodDefault<z.ZodBoolean>;
2853
2901
  enabled: z.ZodBoolean;
@@ -2964,12 +3012,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2964
3012
  cron: string;
2965
3013
  };
2966
3014
  type: "cron";
3015
+ accountId?: string | undefined;
2967
3016
  metadata?: any;
2968
3017
  } | {
2969
3018
  options: {
2970
3019
  seconds: number;
2971
3020
  };
2972
3021
  type: "interval";
3022
+ accountId?: string | undefined;
2973
3023
  metadata?: any;
2974
3024
  };
2975
3025
  };
@@ -2980,7 +3030,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2980
3030
  id: string;
2981
3031
  instructions?: string | undefined;
2982
3032
  };
2983
- authSource: "HOSTED" | "LOCAL";
3033
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
2984
3034
  }>;
2985
3035
  internal: boolean;
2986
3036
  enabled: boolean;
@@ -2999,7 +3049,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
2999
3049
  id: string;
3000
3050
  instructions?: string | undefined;
3001
3051
  };
3002
- authSource: "HOSTED" | "LOCAL";
3052
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
3003
3053
  };
3004
3054
  params?: any;
3005
3055
  registerSourceJob?: {
@@ -3018,7 +3068,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3018
3068
  id: string;
3019
3069
  instructions?: string | undefined;
3020
3070
  };
3021
- authSource: "HOSTED" | "LOCAL";
3071
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
3022
3072
  };
3023
3073
  params?: any;
3024
3074
  registerSourceJob?: {
@@ -3092,12 +3142,14 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3092
3142
  cron: string;
3093
3143
  };
3094
3144
  type: "cron";
3145
+ accountId?: string | undefined;
3095
3146
  metadata?: any;
3096
3147
  } | {
3097
3148
  options: {
3098
3149
  seconds: number;
3099
3150
  };
3100
3151
  type: "interval";
3152
+ accountId?: string | undefined;
3101
3153
  metadata?: any;
3102
3154
  };
3103
3155
  };
@@ -3108,7 +3160,7 @@ declare const IndexEndpointResponseSchema: z.ZodObject<{
3108
3160
  id: string;
3109
3161
  instructions?: string | undefined;
3110
3162
  };
3111
- authSource: "HOSTED" | "LOCAL";
3163
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
3112
3164
  }>;
3113
3165
  enabled: boolean;
3114
3166
  startPosition: "initial" | "latest";
@@ -3510,17 +3562,17 @@ declare const RunJobBodySchema: z.ZodObject<{
3510
3562
  parentId?: string | null | undefined;
3511
3563
  }>, "many">>;
3512
3564
  connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3513
- type: z.ZodEnum<["oauth2"]>;
3565
+ type: z.ZodEnum<["oauth2", "apiKey"]>;
3514
3566
  accessToken: z.ZodString;
3515
3567
  scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3516
3568
  additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3517
3569
  }, "strip", z.ZodTypeAny, {
3518
- type: "oauth2";
3570
+ type: "oauth2" | "apiKey";
3519
3571
  accessToken: string;
3520
3572
  scopes?: string[] | undefined;
3521
3573
  additionalFields?: Record<string, string> | undefined;
3522
3574
  }, {
3523
- type: "oauth2";
3575
+ type: "oauth2" | "apiKey";
3524
3576
  accessToken: string;
3525
3577
  scopes?: string[] | undefined;
3526
3578
  additionalFields?: Record<string, string> | undefined;
@@ -3577,7 +3629,7 @@ declare const RunJobBodySchema: z.ZodObject<{
3577
3629
  parentId?: string | null | undefined;
3578
3630
  }[] | undefined;
3579
3631
  connections?: Record<string, {
3580
- type: "oauth2";
3632
+ type: "oauth2" | "apiKey";
3581
3633
  accessToken: string;
3582
3634
  scopes?: string[] | undefined;
3583
3635
  additionalFields?: Record<string, string> | undefined;
@@ -3634,7 +3686,7 @@ declare const RunJobBodySchema: z.ZodObject<{
3634
3686
  parentId?: string | null | undefined;
3635
3687
  }[] | undefined;
3636
3688
  connections?: Record<string, {
3637
- type: "oauth2";
3689
+ type: "oauth2" | "apiKey";
3638
3690
  accessToken: string;
3639
3691
  scopes?: string[] | undefined;
3640
3692
  additionalFields?: Record<string, string> | undefined;
@@ -3842,6 +3894,58 @@ declare const RunJobErrorSchema: z.ZodObject<{
3842
3894
  } | undefined;
3843
3895
  }>;
3844
3896
  type RunJobError = z.infer<typeof RunJobErrorSchema>;
3897
+ declare const RunJobInvalidPayloadErrorSchema: z.ZodObject<{
3898
+ status: z.ZodLiteral<"INVALID_PAYLOAD">;
3899
+ errors: z.ZodArray<z.ZodObject<{
3900
+ path: z.ZodArray<z.ZodString, "many">;
3901
+ message: z.ZodString;
3902
+ }, "strip", z.ZodTypeAny, {
3903
+ message: string;
3904
+ path: string[];
3905
+ }, {
3906
+ message: string;
3907
+ path: string[];
3908
+ }>, "many">;
3909
+ }, "strip", z.ZodTypeAny, {
3910
+ status: "INVALID_PAYLOAD";
3911
+ errors: {
3912
+ message: string;
3913
+ path: string[];
3914
+ }[];
3915
+ }, {
3916
+ status: "INVALID_PAYLOAD";
3917
+ errors: {
3918
+ message: string;
3919
+ path: string[];
3920
+ }[];
3921
+ }>;
3922
+ type RunJobInvalidPayloadError = z.infer<typeof RunJobInvalidPayloadErrorSchema>;
3923
+ declare const RunJobUnresolvedAuthErrorSchema: z.ZodObject<{
3924
+ status: z.ZodLiteral<"UNRESOLVED_AUTH_ERROR">;
3925
+ issues: z.ZodRecord<z.ZodString, z.ZodObject<{
3926
+ id: z.ZodString;
3927
+ error: z.ZodString;
3928
+ }, "strip", z.ZodTypeAny, {
3929
+ error: string;
3930
+ id: string;
3931
+ }, {
3932
+ error: string;
3933
+ id: string;
3934
+ }>>;
3935
+ }, "strip", z.ZodTypeAny, {
3936
+ status: "UNRESOLVED_AUTH_ERROR";
3937
+ issues: Record<string, {
3938
+ error: string;
3939
+ id: string;
3940
+ }>;
3941
+ }, {
3942
+ status: "UNRESOLVED_AUTH_ERROR";
3943
+ issues: Record<string, {
3944
+ error: string;
3945
+ id: string;
3946
+ }>;
3947
+ }>;
3948
+ type RunJobUnresolvedAuthError = z.infer<typeof RunJobUnresolvedAuthErrorSchema>;
3845
3949
  declare const RunJobResumeWithTaskSchema: z.ZodObject<{
3846
3950
  status: z.ZodLiteral<"RESUME_WITH_TASK">;
3847
3951
  task: z.ZodObject<{
@@ -4612,6 +4716,54 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
4612
4716
  } | null | undefined;
4613
4717
  operation?: string | null | undefined;
4614
4718
  } | undefined;
4719
+ }>, z.ZodObject<{
4720
+ status: z.ZodLiteral<"UNRESOLVED_AUTH_ERROR">;
4721
+ issues: z.ZodRecord<z.ZodString, z.ZodObject<{
4722
+ id: z.ZodString;
4723
+ error: z.ZodString;
4724
+ }, "strip", z.ZodTypeAny, {
4725
+ error: string;
4726
+ id: string;
4727
+ }, {
4728
+ error: string;
4729
+ id: string;
4730
+ }>>;
4731
+ }, "strip", z.ZodTypeAny, {
4732
+ status: "UNRESOLVED_AUTH_ERROR";
4733
+ issues: Record<string, {
4734
+ error: string;
4735
+ id: string;
4736
+ }>;
4737
+ }, {
4738
+ status: "UNRESOLVED_AUTH_ERROR";
4739
+ issues: Record<string, {
4740
+ error: string;
4741
+ id: string;
4742
+ }>;
4743
+ }>, z.ZodObject<{
4744
+ status: z.ZodLiteral<"INVALID_PAYLOAD">;
4745
+ errors: z.ZodArray<z.ZodObject<{
4746
+ path: z.ZodArray<z.ZodString, "many">;
4747
+ message: z.ZodString;
4748
+ }, "strip", z.ZodTypeAny, {
4749
+ message: string;
4750
+ path: string[];
4751
+ }, {
4752
+ message: string;
4753
+ path: string[];
4754
+ }>, "many">;
4755
+ }, "strip", z.ZodTypeAny, {
4756
+ status: "INVALID_PAYLOAD";
4757
+ errors: {
4758
+ message: string;
4759
+ path: string[];
4760
+ }[];
4761
+ }, {
4762
+ status: "INVALID_PAYLOAD";
4763
+ errors: {
4764
+ message: string;
4765
+ path: string[];
4766
+ }[];
4615
4767
  }>, z.ZodObject<{
4616
4768
  status: z.ZodLiteral<"RESUME_WITH_TASK">;
4617
4769
  task: z.ZodObject<{
@@ -5641,18 +5793,21 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5641
5793
  }, {
5642
5794
  seconds: number;
5643
5795
  }>;
5796
+ accountId: z.ZodOptional<z.ZodString>;
5644
5797
  metadata: z.ZodAny;
5645
5798
  }, "strip", z.ZodTypeAny, {
5646
5799
  options: {
5647
5800
  seconds: number;
5648
5801
  };
5649
5802
  type: "interval";
5803
+ accountId?: string | undefined;
5650
5804
  metadata?: any;
5651
5805
  }, {
5652
5806
  options: {
5653
5807
  seconds: number;
5654
5808
  };
5655
5809
  type: "interval";
5810
+ accountId?: string | undefined;
5656
5811
  metadata?: any;
5657
5812
  }>, z.ZodObject<{
5658
5813
  type: z.ZodLiteral<"cron">;
@@ -5663,18 +5818,21 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5663
5818
  }, {
5664
5819
  cron: string;
5665
5820
  }>;
5821
+ accountId: z.ZodOptional<z.ZodString>;
5666
5822
  metadata: z.ZodAny;
5667
5823
  }, "strip", z.ZodTypeAny, {
5668
5824
  options: {
5669
5825
  cron: string;
5670
5826
  };
5671
5827
  type: "cron";
5828
+ accountId?: string | undefined;
5672
5829
  metadata?: any;
5673
5830
  }, {
5674
5831
  options: {
5675
5832
  cron: string;
5676
5833
  };
5677
5834
  type: "cron";
5835
+ accountId?: string | undefined;
5678
5836
  metadata?: any;
5679
5837
  }>]>;
5680
5838
  }, "strip", z.ZodTypeAny, {
@@ -5684,12 +5842,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5684
5842
  cron: string;
5685
5843
  };
5686
5844
  type: "cron";
5845
+ accountId?: string | undefined;
5687
5846
  metadata?: any;
5688
5847
  } | {
5689
5848
  options: {
5690
5849
  seconds: number;
5691
5850
  };
5692
5851
  type: "interval";
5852
+ accountId?: string | undefined;
5693
5853
  metadata?: any;
5694
5854
  };
5695
5855
  }, {
@@ -5699,12 +5859,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5699
5859
  cron: string;
5700
5860
  };
5701
5861
  type: "cron";
5862
+ accountId?: string | undefined;
5702
5863
  metadata?: any;
5703
5864
  } | {
5704
5865
  options: {
5705
5866
  seconds: number;
5706
5867
  };
5707
5868
  type: "interval";
5869
+ accountId?: string | undefined;
5708
5870
  metadata?: any;
5709
5871
  };
5710
5872
  }>]>>;
@@ -5761,12 +5923,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5761
5923
  cron: string;
5762
5924
  };
5763
5925
  type: "cron";
5926
+ accountId?: string | undefined;
5764
5927
  metadata?: any;
5765
5928
  } | {
5766
5929
  options: {
5767
5930
  seconds: number;
5768
5931
  };
5769
5932
  type: "interval";
5933
+ accountId?: string | undefined;
5770
5934
  metadata?: any;
5771
5935
  };
5772
5936
  } | undefined;
@@ -5823,12 +5987,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5823
5987
  cron: string;
5824
5988
  };
5825
5989
  type: "cron";
5990
+ accountId?: string | undefined;
5826
5991
  metadata?: any;
5827
5992
  } | {
5828
5993
  options: {
5829
5994
  seconds: number;
5830
5995
  };
5831
5996
  type: "interval";
5997
+ accountId?: string | undefined;
5832
5998
  metadata?: any;
5833
5999
  };
5834
6000
  } | undefined;
@@ -5866,6 +6032,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
5866
6032
  url?: string | undefined;
5867
6033
  }>, "many">>;
5868
6034
  operation: z.ZodOptional<z.ZodEnum<["fetch"]>>;
6035
+ displayKey: z.ZodOptional<z.ZodString>;
5869
6036
  trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5870
6037
  type: z.ZodLiteral<"dynamic">;
5871
6038
  id: z.ZodString;
@@ -5946,18 +6113,21 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
5946
6113
  }, {
5947
6114
  seconds: number;
5948
6115
  }>;
6116
+ accountId: z.ZodOptional<z.ZodString>;
5949
6117
  metadata: z.ZodAny;
5950
6118
  }, "strip", z.ZodTypeAny, {
5951
6119
  options: {
5952
6120
  seconds: number;
5953
6121
  };
5954
6122
  type: "interval";
6123
+ accountId?: string | undefined;
5955
6124
  metadata?: any;
5956
6125
  }, {
5957
6126
  options: {
5958
6127
  seconds: number;
5959
6128
  };
5960
6129
  type: "interval";
6130
+ accountId?: string | undefined;
5961
6131
  metadata?: any;
5962
6132
  }>, z.ZodObject<{
5963
6133
  type: z.ZodLiteral<"cron">;
@@ -5968,18 +6138,21 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
5968
6138
  }, {
5969
6139
  cron: string;
5970
6140
  }>;
6141
+ accountId: z.ZodOptional<z.ZodString>;
5971
6142
  metadata: z.ZodAny;
5972
6143
  }, "strip", z.ZodTypeAny, {
5973
6144
  options: {
5974
6145
  cron: string;
5975
6146
  };
5976
6147
  type: "cron";
6148
+ accountId?: string | undefined;
5977
6149
  metadata?: any;
5978
6150
  }, {
5979
6151
  options: {
5980
6152
  cron: string;
5981
6153
  };
5982
6154
  type: "cron";
6155
+ accountId?: string | undefined;
5983
6156
  metadata?: any;
5984
6157
  }>]>;
5985
6158
  }, "strip", z.ZodTypeAny, {
@@ -5989,12 +6162,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
5989
6162
  cron: string;
5990
6163
  };
5991
6164
  type: "cron";
6165
+ accountId?: string | undefined;
5992
6166
  metadata?: any;
5993
6167
  } | {
5994
6168
  options: {
5995
6169
  seconds: number;
5996
6170
  };
5997
6171
  type: "interval";
6172
+ accountId?: string | undefined;
5998
6173
  metadata?: any;
5999
6174
  };
6000
6175
  }, {
@@ -6004,12 +6179,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6004
6179
  cron: string;
6005
6180
  };
6006
6181
  type: "cron";
6182
+ accountId?: string | undefined;
6007
6183
  metadata?: any;
6008
6184
  } | {
6009
6185
  options: {
6010
6186
  seconds: number;
6011
6187
  };
6012
6188
  type: "interval";
6189
+ accountId?: string | undefined;
6013
6190
  metadata?: any;
6014
6191
  };
6015
6192
  }>]>>;
@@ -6037,7 +6214,6 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6037
6214
  maxTimeoutInMs?: number | undefined;
6038
6215
  randomize?: boolean | undefined;
6039
6216
  }>>;
6040
- displayKey: z.ZodOptional<z.ZodString>;
6041
6217
  connectionKey: z.ZodOptional<z.ZodString>;
6042
6218
  redact: z.ZodOptional<z.ZodObject<{
6043
6219
  paths: z.ZodArray<z.ZodString, "many">;
@@ -6066,6 +6242,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6066
6242
  url?: string | undefined;
6067
6243
  }[] | undefined;
6068
6244
  operation?: "fetch" | undefined;
6245
+ displayKey?: string | undefined;
6069
6246
  trigger?: {
6070
6247
  type: "dynamic";
6071
6248
  id: string;
@@ -6090,12 +6267,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6090
6267
  cron: string;
6091
6268
  };
6092
6269
  type: "cron";
6270
+ accountId?: string | undefined;
6093
6271
  metadata?: any;
6094
6272
  } | {
6095
6273
  options: {
6096
6274
  seconds: number;
6097
6275
  };
6098
6276
  type: "interval";
6277
+ accountId?: string | undefined;
6099
6278
  metadata?: any;
6100
6279
  };
6101
6280
  } | undefined;
@@ -6106,7 +6285,6 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6106
6285
  maxTimeoutInMs?: number | undefined;
6107
6286
  randomize?: boolean | undefined;
6108
6287
  } | undefined;
6109
- displayKey?: string | undefined;
6110
6288
  connectionKey?: string | undefined;
6111
6289
  redact?: {
6112
6290
  paths: string[];
@@ -6130,6 +6308,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6130
6308
  url?: string | undefined;
6131
6309
  }[] | undefined;
6132
6310
  operation?: "fetch" | undefined;
6311
+ displayKey?: string | undefined;
6133
6312
  trigger?: {
6134
6313
  type: "dynamic";
6135
6314
  id: string;
@@ -6154,12 +6333,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6154
6333
  cron: string;
6155
6334
  };
6156
6335
  type: "cron";
6336
+ accountId?: string | undefined;
6157
6337
  metadata?: any;
6158
6338
  } | {
6159
6339
  options: {
6160
6340
  seconds: number;
6161
6341
  };
6162
6342
  type: "interval";
6343
+ accountId?: string | undefined;
6163
6344
  metadata?: any;
6164
6345
  };
6165
6346
  } | undefined;
@@ -6170,7 +6351,6 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6170
6351
  maxTimeoutInMs?: number | undefined;
6171
6352
  randomize?: boolean | undefined;
6172
6353
  } | undefined;
6173
- displayKey?: string | undefined;
6174
6354
  connectionKey?: string | undefined;
6175
6355
  redact?: {
6176
6356
  paths: string[];
@@ -6210,6 +6390,7 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6210
6390
  parentId: z.ZodOptional<z.ZodString>;
6211
6391
  operation: z.ZodOptional<z.ZodEnum<["fetch"]>>;
6212
6392
  idempotencyKey: z.ZodString;
6393
+ displayKey: z.ZodOptional<z.ZodString>;
6213
6394
  trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6214
6395
  type: z.ZodLiteral<"dynamic">;
6215
6396
  id: z.ZodString;
@@ -6290,18 +6471,21 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6290
6471
  }, {
6291
6472
  seconds: number;
6292
6473
  }>;
6474
+ accountId: z.ZodOptional<z.ZodString>;
6293
6475
  metadata: z.ZodAny;
6294
6476
  }, "strip", z.ZodTypeAny, {
6295
6477
  options: {
6296
6478
  seconds: number;
6297
6479
  };
6298
6480
  type: "interval";
6481
+ accountId?: string | undefined;
6299
6482
  metadata?: any;
6300
6483
  }, {
6301
6484
  options: {
6302
6485
  seconds: number;
6303
6486
  };
6304
6487
  type: "interval";
6488
+ accountId?: string | undefined;
6305
6489
  metadata?: any;
6306
6490
  }>, z.ZodObject<{
6307
6491
  type: z.ZodLiteral<"cron">;
@@ -6312,18 +6496,21 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6312
6496
  }, {
6313
6497
  cron: string;
6314
6498
  }>;
6499
+ accountId: z.ZodOptional<z.ZodString>;
6315
6500
  metadata: z.ZodAny;
6316
6501
  }, "strip", z.ZodTypeAny, {
6317
6502
  options: {
6318
6503
  cron: string;
6319
6504
  };
6320
6505
  type: "cron";
6506
+ accountId?: string | undefined;
6321
6507
  metadata?: any;
6322
6508
  }, {
6323
6509
  options: {
6324
6510
  cron: string;
6325
6511
  };
6326
6512
  type: "cron";
6513
+ accountId?: string | undefined;
6327
6514
  metadata?: any;
6328
6515
  }>]>;
6329
6516
  }, "strip", z.ZodTypeAny, {
@@ -6333,12 +6520,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6333
6520
  cron: string;
6334
6521
  };
6335
6522
  type: "cron";
6523
+ accountId?: string | undefined;
6336
6524
  metadata?: any;
6337
6525
  } | {
6338
6526
  options: {
6339
6527
  seconds: number;
6340
6528
  };
6341
6529
  type: "interval";
6530
+ accountId?: string | undefined;
6342
6531
  metadata?: any;
6343
6532
  };
6344
6533
  }, {
@@ -6348,12 +6537,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6348
6537
  cron: string;
6349
6538
  };
6350
6539
  type: "cron";
6540
+ accountId?: string | undefined;
6351
6541
  metadata?: any;
6352
6542
  } | {
6353
6543
  options: {
6354
6544
  seconds: number;
6355
6545
  };
6356
6546
  type: "interval";
6547
+ accountId?: string | undefined;
6357
6548
  metadata?: any;
6358
6549
  };
6359
6550
  }>]>>;
@@ -6381,7 +6572,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6381
6572
  maxTimeoutInMs?: number | undefined;
6382
6573
  randomize?: boolean | undefined;
6383
6574
  }>>;
6384
- displayKey: z.ZodOptional<z.ZodString>;
6385
6575
  connectionKey: z.ZodOptional<z.ZodString>;
6386
6576
  redact: z.ZodOptional<z.ZodObject<{
6387
6577
  paths: z.ZodArray<z.ZodString, "many">;
@@ -6409,6 +6599,7 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6409
6599
  }[] | undefined;
6410
6600
  parentId?: string | undefined;
6411
6601
  operation?: "fetch" | undefined;
6602
+ displayKey?: string | undefined;
6412
6603
  trigger?: {
6413
6604
  type: "dynamic";
6414
6605
  id: string;
@@ -6433,12 +6624,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6433
6624
  cron: string;
6434
6625
  };
6435
6626
  type: "cron";
6627
+ accountId?: string | undefined;
6436
6628
  metadata?: any;
6437
6629
  } | {
6438
6630
  options: {
6439
6631
  seconds: number;
6440
6632
  };
6441
6633
  type: "interval";
6634
+ accountId?: string | undefined;
6442
6635
  metadata?: any;
6443
6636
  };
6444
6637
  } | undefined;
@@ -6449,7 +6642,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6449
6642
  maxTimeoutInMs?: number | undefined;
6450
6643
  randomize?: boolean | undefined;
6451
6644
  } | undefined;
6452
- displayKey?: string | undefined;
6453
6645
  connectionKey?: string | undefined;
6454
6646
  redact?: {
6455
6647
  paths: string[];
@@ -6473,6 +6665,7 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6473
6665
  }[] | undefined;
6474
6666
  parentId?: string | undefined;
6475
6667
  operation?: "fetch" | undefined;
6668
+ displayKey?: string | undefined;
6476
6669
  trigger?: {
6477
6670
  type: "dynamic";
6478
6671
  id: string;
@@ -6497,12 +6690,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6497
6690
  cron: string;
6498
6691
  };
6499
6692
  type: "cron";
6693
+ accountId?: string | undefined;
6500
6694
  metadata?: any;
6501
6695
  } | {
6502
6696
  options: {
6503
6697
  seconds: number;
6504
6698
  };
6505
6699
  type: "interval";
6700
+ accountId?: string | undefined;
6506
6701
  metadata?: any;
6507
6702
  };
6508
6703
  } | undefined;
@@ -6513,7 +6708,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6513
6708
  maxTimeoutInMs?: number | undefined;
6514
6709
  randomize?: boolean | undefined;
6515
6710
  } | undefined;
6516
- displayKey?: string | undefined;
6517
6711
  connectionKey?: string | undefined;
6518
6712
  redact?: {
6519
6713
  paths: string[];
@@ -6747,7 +6941,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6747
6941
  id: string;
6748
6942
  instructions?: string | undefined;
6749
6943
  }>;
6750
- authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
6944
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
6751
6945
  }, "strip", z.ZodTypeAny, {
6752
6946
  id: string;
6753
6947
  metadata: {
@@ -6755,7 +6949,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6755
6949
  id: string;
6756
6950
  instructions?: string | undefined;
6757
6951
  };
6758
- authSource: "HOSTED" | "LOCAL";
6952
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6759
6953
  }, {
6760
6954
  id: string;
6761
6955
  metadata: {
@@ -6763,7 +6957,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6763
6957
  id: string;
6764
6958
  instructions?: string | undefined;
6765
6959
  };
6766
- authSource: "HOSTED" | "LOCAL";
6960
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6767
6961
  }>;
6768
6962
  key: z.ZodString;
6769
6963
  params: z.ZodAny;
@@ -6790,7 +6984,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6790
6984
  id: string;
6791
6985
  instructions?: string | undefined;
6792
6986
  };
6793
- authSource: "HOSTED" | "LOCAL";
6987
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6794
6988
  };
6795
6989
  params?: any;
6796
6990
  registerSourceJob?: {
@@ -6809,7 +7003,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6809
7003
  id: string;
6810
7004
  instructions?: string | undefined;
6811
7005
  };
6812
- authSource: "HOSTED" | "LOCAL";
7006
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6813
7007
  };
6814
7008
  params?: any;
6815
7009
  registerSourceJob?: {
@@ -6830,7 +7024,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6830
7024
  id: string;
6831
7025
  instructions?: string | undefined;
6832
7026
  };
6833
- authSource: "HOSTED" | "LOCAL";
7027
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6834
7028
  };
6835
7029
  params?: any;
6836
7030
  registerSourceJob?: {
@@ -6857,7 +7051,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6857
7051
  id: string;
6858
7052
  instructions?: string | undefined;
6859
7053
  };
6860
- authSource: "HOSTED" | "LOCAL";
7054
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6861
7055
  };
6862
7056
  params?: any;
6863
7057
  registerSourceJob?: {
@@ -6908,7 +7102,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6908
7102
  id: string;
6909
7103
  instructions?: string | undefined;
6910
7104
  }>;
6911
- authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
7105
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
6912
7106
  }, "strip", z.ZodTypeAny, {
6913
7107
  id: string;
6914
7108
  metadata: {
@@ -6916,7 +7110,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6916
7110
  id: string;
6917
7111
  instructions?: string | undefined;
6918
7112
  };
6919
- authSource: "HOSTED" | "LOCAL";
7113
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6920
7114
  }, {
6921
7115
  id: string;
6922
7116
  metadata: {
@@ -6924,7 +7118,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6924
7118
  id: string;
6925
7119
  instructions?: string | undefined;
6926
7120
  };
6927
- authSource: "HOSTED" | "LOCAL";
7121
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6928
7122
  }>;
6929
7123
  key: z.ZodString;
6930
7124
  params: z.ZodAny;
@@ -6951,7 +7145,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6951
7145
  id: string;
6952
7146
  instructions?: string | undefined;
6953
7147
  };
6954
- authSource: "HOSTED" | "LOCAL";
7148
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6955
7149
  };
6956
7150
  params?: any;
6957
7151
  registerSourceJob?: {
@@ -6970,7 +7164,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6970
7164
  id: string;
6971
7165
  instructions?: string | undefined;
6972
7166
  };
6973
- authSource: "HOSTED" | "LOCAL";
7167
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6974
7168
  };
6975
7169
  params?: any;
6976
7170
  registerSourceJob?: {
@@ -6978,6 +7172,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6978
7172
  id: string;
6979
7173
  } | undefined;
6980
7174
  }>;
7175
+ accountId: z.ZodOptional<z.ZodString>;
6981
7176
  }, "strip", z.ZodTypeAny, {
6982
7177
  source: {
6983
7178
  key: string;
@@ -6991,7 +7186,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6991
7186
  id: string;
6992
7187
  instructions?: string | undefined;
6993
7188
  };
6994
- authSource: "HOSTED" | "LOCAL";
7189
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6995
7190
  };
6996
7191
  params?: any;
6997
7192
  registerSourceJob?: {
@@ -7005,6 +7200,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
7005
7200
  payload?: EventFilter | undefined;
7006
7201
  context?: EventFilter | undefined;
7007
7202
  };
7203
+ accountId?: string | undefined;
7008
7204
  }, {
7009
7205
  source: {
7010
7206
  key: string;
@@ -7018,7 +7214,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
7018
7214
  id: string;
7019
7215
  instructions?: string | undefined;
7020
7216
  };
7021
- authSource: "HOSTED" | "LOCAL";
7217
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
7022
7218
  };
7023
7219
  params?: any;
7024
7220
  registerSourceJob?: {
@@ -7032,6 +7228,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
7032
7228
  payload?: EventFilter | undefined;
7033
7229
  context?: EventFilter | undefined;
7034
7230
  };
7231
+ accountId?: string | undefined;
7035
7232
  }>;
7036
7233
  type RegisterTriggerBodyV2 = z.infer<typeof RegisterTriggerBodySchemaV2>;
7037
7234
  declare const InitializeTriggerBodySchema: z.ZodObject<{
@@ -7053,7 +7250,6 @@ declare const InitializeTriggerBodySchema: z.ZodObject<{
7053
7250
  type InitializeTriggerBody = z.infer<typeof InitializeTriggerBodySchema>;
7054
7251
  declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
7055
7252
  id: z.ZodString;
7056
- accountId: z.ZodOptional<z.ZodString>;
7057
7253
  type: z.ZodLiteral<"interval">;
7058
7254
  options: z.ZodObject<{
7059
7255
  seconds: z.ZodNumber;
@@ -7062,6 +7258,7 @@ declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
7062
7258
  }, {
7063
7259
  seconds: number;
7064
7260
  }>;
7261
+ accountId: z.ZodOptional<z.ZodString>;
7065
7262
  metadata: z.ZodAny;
7066
7263
  }, "strip", z.ZodTypeAny, {
7067
7264
  options: {
@@ -7083,7 +7280,6 @@ declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
7083
7280
  type RegisterIntervalScheduleBody = z.infer<typeof RegisterIntervalScheduleBodySchema>;
7084
7281
  declare const InitializeCronScheduleBodySchema: z.ZodObject<{
7085
7282
  id: z.ZodString;
7086
- accountId: z.ZodOptional<z.ZodString>;
7087
7283
  type: z.ZodLiteral<"cron">;
7088
7284
  options: z.ZodObject<{
7089
7285
  cron: z.ZodString;
@@ -7092,6 +7288,7 @@ declare const InitializeCronScheduleBodySchema: z.ZodObject<{
7092
7288
  }, {
7093
7289
  cron: string;
7094
7290
  }>;
7291
+ accountId: z.ZodOptional<z.ZodString>;
7095
7292
  metadata: z.ZodAny;
7096
7293
  }, "strip", z.ZodTypeAny, {
7097
7294
  options: {
@@ -7113,7 +7310,6 @@ declare const InitializeCronScheduleBodySchema: z.ZodObject<{
7113
7310
  type RegisterCronScheduleBody = z.infer<typeof InitializeCronScheduleBodySchema>;
7114
7311
  declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7115
7312
  id: z.ZodString;
7116
- accountId: z.ZodOptional<z.ZodString>;
7117
7313
  type: z.ZodLiteral<"interval">;
7118
7314
  options: z.ZodObject<{
7119
7315
  seconds: z.ZodNumber;
@@ -7122,6 +7318,7 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
7122
7318
  }, {
7123
7319
  seconds: number;
7124
7320
  }>;
7321
+ accountId: z.ZodOptional<z.ZodString>;
7125
7322
  metadata: z.ZodAny;
7126
7323
  }, "strip", z.ZodTypeAny, {
7127
7324
  options: {
@@ -7141,7 +7338,6 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
7141
7338
  metadata?: any;
7142
7339
  }>, z.ZodObject<{
7143
7340
  id: z.ZodString;
7144
- accountId: z.ZodOptional<z.ZodString>;
7145
7341
  type: z.ZodLiteral<"cron">;
7146
7342
  options: z.ZodObject<{
7147
7343
  cron: z.ZodString;
@@ -7150,6 +7346,7 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
7150
7346
  }, {
7151
7347
  cron: string;
7152
7348
  }>;
7349
+ accountId: z.ZodOptional<z.ZodString>;
7153
7350
  metadata: z.ZodAny;
7154
7351
  }, "strip", z.ZodTypeAny, {
7155
7352
  options: {
@@ -7180,18 +7377,21 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
7180
7377
  }, {
7181
7378
  seconds: number;
7182
7379
  }>;
7380
+ accountId: z.ZodOptional<z.ZodString>;
7183
7381
  metadata: z.ZodAny;
7184
7382
  }, "strip", z.ZodTypeAny, {
7185
7383
  options: {
7186
7384
  seconds: number;
7187
7385
  };
7188
7386
  type: "interval";
7387
+ accountId?: string | undefined;
7189
7388
  metadata?: any;
7190
7389
  }, {
7191
7390
  options: {
7192
7391
  seconds: number;
7193
7392
  };
7194
7393
  type: "interval";
7394
+ accountId?: string | undefined;
7195
7395
  metadata?: any;
7196
7396
  }>, z.ZodObject<{
7197
7397
  type: z.ZodLiteral<"cron">;
@@ -7202,18 +7402,21 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
7202
7402
  }, {
7203
7403
  cron: string;
7204
7404
  }>;
7405
+ accountId: z.ZodOptional<z.ZodString>;
7205
7406
  metadata: z.ZodAny;
7206
7407
  }, "strip", z.ZodTypeAny, {
7207
7408
  options: {
7208
7409
  cron: string;
7209
7410
  };
7210
7411
  type: "cron";
7412
+ accountId?: string | undefined;
7211
7413
  metadata?: any;
7212
7414
  }, {
7213
7415
  options: {
7214
7416
  cron: string;
7215
7417
  };
7216
7418
  type: "cron";
7419
+ accountId?: string | undefined;
7217
7420
  metadata?: any;
7218
7421
  }>]>;
7219
7422
  metadata: z.ZodAny;
@@ -7225,12 +7428,14 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
7225
7428
  cron: string;
7226
7429
  };
7227
7430
  type: "cron";
7431
+ accountId?: string | undefined;
7228
7432
  metadata?: any;
7229
7433
  } | {
7230
7434
  options: {
7231
7435
  seconds: number;
7232
7436
  };
7233
7437
  type: "interval";
7438
+ accountId?: string | undefined;
7234
7439
  metadata?: any;
7235
7440
  };
7236
7441
  active: boolean;
@@ -7242,12 +7447,14 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
7242
7447
  cron: string;
7243
7448
  };
7244
7449
  type: "cron";
7450
+ accountId?: string | undefined;
7245
7451
  metadata?: any;
7246
7452
  } | {
7247
7453
  options: {
7248
7454
  seconds: number;
7249
7455
  };
7250
7456
  type: "interval";
7457
+ accountId?: string | undefined;
7251
7458
  metadata?: any;
7252
7459
  };
7253
7460
  active: boolean;
@@ -7271,6 +7478,95 @@ declare const CreateExternalConnectionBodySchema: z.ZodObject<{
7271
7478
  metadata?: any;
7272
7479
  }>;
7273
7480
  type CreateExternalConnectionBody = z.infer<typeof CreateExternalConnectionBodySchema>;
7481
+ declare const GetRunStatusesSchema: z.ZodObject<{
7482
+ run: z.ZodObject<{
7483
+ id: z.ZodString;
7484
+ status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
7485
+ output: z.ZodOptional<z.ZodAny>;
7486
+ }, "strip", z.ZodTypeAny, {
7487
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
7488
+ id: string;
7489
+ output?: any;
7490
+ }, {
7491
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
7492
+ id: string;
7493
+ output?: any;
7494
+ }>;
7495
+ statuses: z.ZodArray<z.ZodObject<{
7496
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
7497
+ label: z.ZodString;
7498
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
7499
+ key: z.ZodString;
7500
+ history: z.ZodArray<z.ZodObject<{
7501
+ label: z.ZodOptional<z.ZodString>;
7502
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
7503
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
7504
+ }, "strip", z.ZodTypeAny, {
7505
+ label?: string | undefined;
7506
+ state?: "loading" | "success" | "failure" | undefined;
7507
+ data?: Record<string, SerializableJson> | undefined;
7508
+ }, {
7509
+ label?: string | undefined;
7510
+ state?: "loading" | "success" | "failure" | undefined;
7511
+ data?: Record<string, SerializableJson> | undefined;
7512
+ }>, "many">;
7513
+ }, "strip", z.ZodTypeAny, {
7514
+ key: string;
7515
+ label: string;
7516
+ history: {
7517
+ label?: string | undefined;
7518
+ state?: "loading" | "success" | "failure" | undefined;
7519
+ data?: Record<string, SerializableJson> | undefined;
7520
+ }[];
7521
+ data?: Record<string, SerializableJson> | undefined;
7522
+ state?: "loading" | "success" | "failure" | undefined;
7523
+ }, {
7524
+ key: string;
7525
+ label: string;
7526
+ history: {
7527
+ label?: string | undefined;
7528
+ state?: "loading" | "success" | "failure" | undefined;
7529
+ data?: Record<string, SerializableJson> | undefined;
7530
+ }[];
7531
+ data?: Record<string, SerializableJson> | undefined;
7532
+ state?: "loading" | "success" | "failure" | undefined;
7533
+ }>, "many">;
7534
+ }, "strip", z.ZodTypeAny, {
7535
+ statuses: {
7536
+ key: string;
7537
+ label: string;
7538
+ history: {
7539
+ label?: string | undefined;
7540
+ state?: "loading" | "success" | "failure" | undefined;
7541
+ data?: Record<string, SerializableJson> | undefined;
7542
+ }[];
7543
+ data?: Record<string, SerializableJson> | undefined;
7544
+ state?: "loading" | "success" | "failure" | undefined;
7545
+ }[];
7546
+ run: {
7547
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
7548
+ id: string;
7549
+ output?: any;
7550
+ };
7551
+ }, {
7552
+ statuses: {
7553
+ key: string;
7554
+ label: string;
7555
+ history: {
7556
+ label?: string | undefined;
7557
+ state?: "loading" | "success" | "failure" | undefined;
7558
+ data?: Record<string, SerializableJson> | undefined;
7559
+ }[];
7560
+ data?: Record<string, SerializableJson> | undefined;
7561
+ state?: "loading" | "success" | "failure" | undefined;
7562
+ }[];
7563
+ run: {
7564
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
7565
+ id: string;
7566
+ output?: any;
7567
+ };
7568
+ }>;
7569
+ type GetRunStatuses = z.infer<typeof GetRunStatusesSchema>;
7274
7570
 
7275
7571
  declare const EventExampleSchema: z.ZodObject<{
7276
7572
  id: z.ZodString;
@@ -7444,18 +7740,21 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
7444
7740
  }, {
7445
7741
  seconds: number;
7446
7742
  }>;
7743
+ accountId: z.ZodOptional<z.ZodString>;
7447
7744
  metadata: z.ZodAny;
7448
7745
  }, "strip", z.ZodTypeAny, {
7449
7746
  options: {
7450
7747
  seconds: number;
7451
7748
  };
7452
7749
  type: "interval";
7750
+ accountId?: string | undefined;
7453
7751
  metadata?: any;
7454
7752
  }, {
7455
7753
  options: {
7456
7754
  seconds: number;
7457
7755
  };
7458
7756
  type: "interval";
7757
+ accountId?: string | undefined;
7459
7758
  metadata?: any;
7460
7759
  }>, z.ZodObject<{
7461
7760
  type: z.ZodLiteral<"cron">;
@@ -7466,18 +7765,21 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
7466
7765
  }, {
7467
7766
  cron: string;
7468
7767
  }>;
7768
+ accountId: z.ZodOptional<z.ZodString>;
7469
7769
  metadata: z.ZodAny;
7470
7770
  }, "strip", z.ZodTypeAny, {
7471
7771
  options: {
7472
7772
  cron: string;
7473
7773
  };
7474
7774
  type: "cron";
7775
+ accountId?: string | undefined;
7475
7776
  metadata?: any;
7476
7777
  }, {
7477
7778
  options: {
7478
7779
  cron: string;
7479
7780
  };
7480
7781
  type: "cron";
7782
+ accountId?: string | undefined;
7481
7783
  metadata?: any;
7482
7784
  }>]>;
7483
7785
  }, "strip", z.ZodTypeAny, {
@@ -7487,12 +7789,14 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
7487
7789
  cron: string;
7488
7790
  };
7489
7791
  type: "cron";
7792
+ accountId?: string | undefined;
7490
7793
  metadata?: any;
7491
7794
  } | {
7492
7795
  options: {
7493
7796
  seconds: number;
7494
7797
  };
7495
7798
  type: "interval";
7799
+ accountId?: string | undefined;
7496
7800
  metadata?: any;
7497
7801
  };
7498
7802
  }, {
@@ -7502,12 +7806,14 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
7502
7806
  cron: string;
7503
7807
  };
7504
7808
  type: "cron";
7809
+ accountId?: string | undefined;
7505
7810
  metadata?: any;
7506
7811
  } | {
7507
7812
  options: {
7508
7813
  seconds: number;
7509
7814
  };
7510
7815
  type: "interval";
7816
+ accountId?: string | undefined;
7511
7817
  metadata?: any;
7512
7818
  };
7513
7819
  }>;
@@ -7591,18 +7897,21 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7591
7897
  }, {
7592
7898
  seconds: number;
7593
7899
  }>;
7900
+ accountId: z.ZodOptional<z.ZodString>;
7594
7901
  metadata: z.ZodAny;
7595
7902
  }, "strip", z.ZodTypeAny, {
7596
7903
  options: {
7597
7904
  seconds: number;
7598
7905
  };
7599
7906
  type: "interval";
7907
+ accountId?: string | undefined;
7600
7908
  metadata?: any;
7601
7909
  }, {
7602
7910
  options: {
7603
7911
  seconds: number;
7604
7912
  };
7605
7913
  type: "interval";
7914
+ accountId?: string | undefined;
7606
7915
  metadata?: any;
7607
7916
  }>, z.ZodObject<{
7608
7917
  type: z.ZodLiteral<"cron">;
@@ -7613,18 +7922,21 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7613
7922
  }, {
7614
7923
  cron: string;
7615
7924
  }>;
7925
+ accountId: z.ZodOptional<z.ZodString>;
7616
7926
  metadata: z.ZodAny;
7617
7927
  }, "strip", z.ZodTypeAny, {
7618
7928
  options: {
7619
7929
  cron: string;
7620
7930
  };
7621
7931
  type: "cron";
7932
+ accountId?: string | undefined;
7622
7933
  metadata?: any;
7623
7934
  }, {
7624
7935
  options: {
7625
7936
  cron: string;
7626
7937
  };
7627
7938
  type: "cron";
7939
+ accountId?: string | undefined;
7628
7940
  metadata?: any;
7629
7941
  }>]>;
7630
7942
  }, "strip", z.ZodTypeAny, {
@@ -7634,12 +7946,14 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7634
7946
  cron: string;
7635
7947
  };
7636
7948
  type: "cron";
7949
+ accountId?: string | undefined;
7637
7950
  metadata?: any;
7638
7951
  } | {
7639
7952
  options: {
7640
7953
  seconds: number;
7641
7954
  };
7642
7955
  type: "interval";
7956
+ accountId?: string | undefined;
7643
7957
  metadata?: any;
7644
7958
  };
7645
7959
  }, {
@@ -7649,12 +7963,14 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7649
7963
  cron: string;
7650
7964
  };
7651
7965
  type: "cron";
7966
+ accountId?: string | undefined;
7652
7967
  metadata?: any;
7653
7968
  } | {
7654
7969
  options: {
7655
7970
  seconds: number;
7656
7971
  };
7657
7972
  type: "interval";
7973
+ accountId?: string | undefined;
7658
7974
  metadata?: any;
7659
7975
  };
7660
7976
  }>]>;
@@ -7674,6 +7990,17 @@ declare const ErrorWithStackSchema: z.ZodObject<{
7674
7990
  stack?: string | undefined;
7675
7991
  }>;
7676
7992
  type ErrorWithStack = z.infer<typeof ErrorWithStackSchema>;
7993
+ declare const SchemaErrorSchema: z.ZodObject<{
7994
+ path: z.ZodArray<z.ZodString, "many">;
7995
+ message: z.ZodString;
7996
+ }, "strip", z.ZodTypeAny, {
7997
+ message: string;
7998
+ path: string[];
7999
+ }, {
8000
+ message: string;
8001
+ path: string[];
8002
+ }>;
8003
+ type SchemaError = z.infer<typeof SchemaErrorSchema>;
7677
8004
 
7678
8005
  /** A property that is displayed in the logs */
7679
8006
  declare const DisplayPropertySchema: z.ZodObject<{
@@ -7725,17 +8052,17 @@ type Style = z.infer<typeof StyleSchema>;
7725
8052
  type StyleName = Style["style"];
7726
8053
 
7727
8054
  declare const ConnectionAuthSchema: z.ZodObject<{
7728
- type: z.ZodEnum<["oauth2"]>;
8055
+ type: z.ZodEnum<["oauth2", "apiKey"]>;
7729
8056
  accessToken: z.ZodString;
7730
8057
  scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7731
8058
  additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7732
8059
  }, "strip", z.ZodTypeAny, {
7733
- type: "oauth2";
8060
+ type: "oauth2" | "apiKey";
7734
8061
  accessToken: string;
7735
8062
  scopes?: string[] | undefined;
7736
8063
  additionalFields?: Record<string, string> | undefined;
7737
8064
  }, {
7738
- type: "oauth2";
8065
+ type: "oauth2" | "apiKey";
7739
8066
  accessToken: string;
7740
8067
  scopes?: string[] | undefined;
7741
8068
  additionalFields?: Record<string, string> | undefined;
@@ -7770,7 +8097,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
7770
8097
  id: string;
7771
8098
  instructions?: string | undefined;
7772
8099
  }>;
7773
- authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
8100
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
7774
8101
  }, "strip", z.ZodTypeAny, {
7775
8102
  id: string;
7776
8103
  metadata: {
@@ -7778,7 +8105,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
7778
8105
  id: string;
7779
8106
  instructions?: string | undefined;
7780
8107
  };
7781
- authSource: "HOSTED" | "LOCAL";
8108
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
7782
8109
  }, {
7783
8110
  id: string;
7784
8111
  metadata: {
@@ -7786,7 +8113,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
7786
8113
  id: string;
7787
8114
  instructions?: string | undefined;
7788
8115
  };
7789
- authSource: "HOSTED" | "LOCAL";
8116
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
7790
8117
  }>;
7791
8118
  type IntegrationConfig = z.infer<typeof IntegrationConfigSchema>;
7792
8119
 
@@ -7836,18 +8163,22 @@ declare const CronMetadataSchema: z.ZodObject<{
7836
8163
  }, {
7837
8164
  cron: string;
7838
8165
  }>;
8166
+ /** An optional Account ID to associate with runs triggered by this interval */
8167
+ accountId: z.ZodOptional<z.ZodString>;
7839
8168
  metadata: z.ZodAny;
7840
8169
  }, "strip", z.ZodTypeAny, {
7841
8170
  options: {
7842
8171
  cron: string;
7843
8172
  };
7844
8173
  type: "cron";
8174
+ accountId?: string | undefined;
7845
8175
  metadata?: any;
7846
8176
  }, {
7847
8177
  options: {
7848
8178
  cron: string;
7849
8179
  };
7850
8180
  type: "cron";
8181
+ accountId?: string | undefined;
7851
8182
  metadata?: any;
7852
8183
  }>;
7853
8184
  type CronMetadata = z.infer<typeof CronMetadataSchema>;
@@ -7863,6 +8194,8 @@ declare const IntervalMetadataSchema: z.ZodObject<{
7863
8194
  }, {
7864
8195
  seconds: number;
7865
8196
  }>;
8197
+ /** An optional Account ID to associate with runs triggered by this interval */
8198
+ accountId: z.ZodOptional<z.ZodString>;
7866
8199
  /** Any additional metadata about the schedule. */
7867
8200
  metadata: z.ZodAny;
7868
8201
  }, "strip", z.ZodTypeAny, {
@@ -7870,12 +8203,14 @@ declare const IntervalMetadataSchema: z.ZodObject<{
7870
8203
  seconds: number;
7871
8204
  };
7872
8205
  type: "interval";
8206
+ accountId?: string | undefined;
7873
8207
  metadata?: any;
7874
8208
  }, {
7875
8209
  options: {
7876
8210
  seconds: number;
7877
8211
  };
7878
8212
  type: "interval";
8213
+ accountId?: string | undefined;
7879
8214
  metadata?: any;
7880
8215
  }>;
7881
8216
  type IntervalMetadata = z.infer<typeof IntervalMetadataSchema>;
@@ -7891,6 +8226,8 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
7891
8226
  }, {
7892
8227
  seconds: number;
7893
8228
  }>;
8229
+ /** An optional Account ID to associate with runs triggered by this interval */
8230
+ accountId: z.ZodOptional<z.ZodString>;
7894
8231
  /** Any additional metadata about the schedule. */
7895
8232
  metadata: z.ZodAny;
7896
8233
  }, "strip", z.ZodTypeAny, {
@@ -7898,12 +8235,14 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
7898
8235
  seconds: number;
7899
8236
  };
7900
8237
  type: "interval";
8238
+ accountId?: string | undefined;
7901
8239
  metadata?: any;
7902
8240
  }, {
7903
8241
  options: {
7904
8242
  seconds: number;
7905
8243
  };
7906
8244
  type: "interval";
8245
+ accountId?: string | undefined;
7907
8246
  metadata?: any;
7908
8247
  }>, z.ZodObject<{
7909
8248
  type: z.ZodLiteral<"cron">;
@@ -7917,18 +8256,22 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
7917
8256
  }, {
7918
8257
  cron: string;
7919
8258
  }>;
8259
+ /** An optional Account ID to associate with runs triggered by this interval */
8260
+ accountId: z.ZodOptional<z.ZodString>;
7920
8261
  metadata: z.ZodAny;
7921
8262
  }, "strip", z.ZodTypeAny, {
7922
8263
  options: {
7923
8264
  cron: string;
7924
8265
  };
7925
8266
  type: "cron";
8267
+ accountId?: string | undefined;
7926
8268
  metadata?: any;
7927
8269
  }, {
7928
8270
  options: {
7929
8271
  cron: string;
7930
8272
  };
7931
8273
  type: "cron";
8274
+ accountId?: string | undefined;
7932
8275
  metadata?: any;
7933
8276
  }>]>;
7934
8277
  type ScheduleMetadata = z.infer<typeof ScheduleMetadataSchema>;
@@ -7973,14 +8316,14 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
7973
8316
  scopes: string[];
7974
8317
  id: string;
7975
8318
  title: string;
7976
- createdAt: Date;
7977
8319
  updatedAt: Date;
8320
+ createdAt: Date;
7978
8321
  }, {
7979
8322
  scopes: string[];
7980
8323
  id: string;
7981
8324
  title: string;
7982
- createdAt: Date;
7983
8325
  updatedAt: Date;
8326
+ createdAt: Date;
7984
8327
  }>;
7985
8328
  authorizationUrl: z.ZodString;
7986
8329
  }, "strip", z.ZodTypeAny, {
@@ -7989,8 +8332,8 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
7989
8332
  scopes: string[];
7990
8333
  id: string;
7991
8334
  title: string;
7992
- createdAt: Date;
7993
8335
  updatedAt: Date;
8336
+ createdAt: Date;
7994
8337
  };
7995
8338
  authorizationUrl: string;
7996
8339
  }, {
@@ -7999,8 +8342,8 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
7999
8342
  scopes: string[];
8000
8343
  id: string;
8001
8344
  title: string;
8002
- createdAt: Date;
8003
8345
  updatedAt: Date;
8346
+ createdAt: Date;
8004
8347
  };
8005
8348
  authorizationUrl: string;
8006
8349
  }>;
@@ -8016,14 +8359,14 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
8016
8359
  scopes: string[];
8017
8360
  id: string;
8018
8361
  title: string;
8019
- createdAt: Date;
8020
8362
  updatedAt: Date;
8363
+ createdAt: Date;
8021
8364
  }, {
8022
8365
  scopes: string[];
8023
8366
  id: string;
8024
8367
  title: string;
8025
- createdAt: Date;
8026
8368
  updatedAt: Date;
8369
+ createdAt: Date;
8027
8370
  }>;
8028
8371
  authorizationUrl: z.ZodString;
8029
8372
  type: z.ZodLiteral<"DEVELOPER">;
@@ -8034,8 +8377,8 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
8034
8377
  scopes: string[];
8035
8378
  id: string;
8036
8379
  title: string;
8037
- createdAt: Date;
8038
8380
  updatedAt: Date;
8381
+ createdAt: Date;
8039
8382
  };
8040
8383
  authorizationUrl: string;
8041
8384
  }, {
@@ -8045,8 +8388,8 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
8045
8388
  scopes: string[];
8046
8389
  id: string;
8047
8390
  title: string;
8048
- createdAt: Date;
8049
8391
  updatedAt: Date;
8392
+ createdAt: Date;
8050
8393
  };
8051
8394
  authorizationUrl: string;
8052
8395
  }>;
@@ -8062,14 +8405,14 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
8062
8405
  scopes: string[];
8063
8406
  id: string;
8064
8407
  title: string;
8065
- createdAt: Date;
8066
8408
  updatedAt: Date;
8409
+ createdAt: Date;
8067
8410
  }, {
8068
8411
  scopes: string[];
8069
8412
  id: string;
8070
8413
  title: string;
8071
- createdAt: Date;
8072
8414
  updatedAt: Date;
8415
+ createdAt: Date;
8073
8416
  }>;
8074
8417
  authorizationUrl: z.ZodString;
8075
8418
  type: z.ZodLiteral<"EXTERNAL">;
@@ -8094,8 +8437,8 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
8094
8437
  scopes: string[];
8095
8438
  id: string;
8096
8439
  title: string;
8097
- createdAt: Date;
8098
8440
  updatedAt: Date;
8441
+ createdAt: Date;
8099
8442
  };
8100
8443
  authorizationUrl: string;
8101
8444
  }, {
@@ -8109,8 +8452,8 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
8109
8452
  scopes: string[];
8110
8453
  id: string;
8111
8454
  title: string;
8112
- createdAt: Date;
8113
8455
  updatedAt: Date;
8456
+ createdAt: Date;
8114
8457
  };
8115
8458
  authorizationUrl: string;
8116
8459
  }>;
@@ -8126,14 +8469,14 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8126
8469
  scopes: string[];
8127
8470
  id: string;
8128
8471
  title: string;
8129
- createdAt: Date;
8130
8472
  updatedAt: Date;
8473
+ createdAt: Date;
8131
8474
  }, {
8132
8475
  scopes: string[];
8133
8476
  id: string;
8134
8477
  title: string;
8135
- createdAt: Date;
8136
8478
  updatedAt: Date;
8479
+ createdAt: Date;
8137
8480
  }>;
8138
8481
  authorizationUrl: z.ZodString;
8139
8482
  type: z.ZodLiteral<"DEVELOPER">;
@@ -8144,8 +8487,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8144
8487
  scopes: string[];
8145
8488
  id: string;
8146
8489
  title: string;
8147
- createdAt: Date;
8148
8490
  updatedAt: Date;
8491
+ createdAt: Date;
8149
8492
  };
8150
8493
  authorizationUrl: string;
8151
8494
  }, {
@@ -8155,8 +8498,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8155
8498
  scopes: string[];
8156
8499
  id: string;
8157
8500
  title: string;
8158
- createdAt: Date;
8159
8501
  updatedAt: Date;
8502
+ createdAt: Date;
8160
8503
  };
8161
8504
  authorizationUrl: string;
8162
8505
  }>, z.ZodObject<{
@@ -8171,14 +8514,14 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8171
8514
  scopes: string[];
8172
8515
  id: string;
8173
8516
  title: string;
8174
- createdAt: Date;
8175
8517
  updatedAt: Date;
8518
+ createdAt: Date;
8176
8519
  }, {
8177
8520
  scopes: string[];
8178
8521
  id: string;
8179
8522
  title: string;
8180
- createdAt: Date;
8181
8523
  updatedAt: Date;
8524
+ createdAt: Date;
8182
8525
  }>;
8183
8526
  authorizationUrl: z.ZodString;
8184
8527
  type: z.ZodLiteral<"EXTERNAL">;
@@ -8203,8 +8546,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8203
8546
  scopes: string[];
8204
8547
  id: string;
8205
8548
  title: string;
8206
- createdAt: Date;
8207
8549
  updatedAt: Date;
8550
+ createdAt: Date;
8208
8551
  };
8209
8552
  authorizationUrl: string;
8210
8553
  }, {
@@ -8218,8 +8561,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8218
8561
  scopes: string[];
8219
8562
  id: string;
8220
8563
  title: string;
8221
- createdAt: Date;
8222
8564
  updatedAt: Date;
8565
+ createdAt: Date;
8223
8566
  };
8224
8567
  authorizationUrl: string;
8225
8568
  }>]>;
@@ -8238,16 +8581,16 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
8238
8581
  scopes: string[];
8239
8582
  id: string;
8240
8583
  title: string;
8241
- createdAt: Date;
8242
8584
  updatedAt: Date;
8585
+ createdAt: Date;
8243
8586
  integrationIdentifier: string;
8244
8587
  integrationAuthMethod: string;
8245
8588
  }, {
8246
8589
  scopes: string[];
8247
8590
  id: string;
8248
8591
  title: string;
8249
- createdAt: Date;
8250
8592
  updatedAt: Date;
8593
+ createdAt: Date;
8251
8594
  integrationIdentifier: string;
8252
8595
  integrationAuthMethod: string;
8253
8596
  }>;
@@ -8258,8 +8601,8 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
8258
8601
  scopes: string[];
8259
8602
  id: string;
8260
8603
  title: string;
8261
- createdAt: Date;
8262
8604
  updatedAt: Date;
8605
+ createdAt: Date;
8263
8606
  integrationIdentifier: string;
8264
8607
  integrationAuthMethod: string;
8265
8608
  };
@@ -8270,8 +8613,8 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
8270
8613
  scopes: string[];
8271
8614
  id: string;
8272
8615
  title: string;
8273
- createdAt: Date;
8274
8616
  updatedAt: Date;
8617
+ createdAt: Date;
8275
8618
  integrationIdentifier: string;
8276
8619
  integrationAuthMethod: string;
8277
8620
  };
@@ -8291,16 +8634,16 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
8291
8634
  scopes: string[];
8292
8635
  id: string;
8293
8636
  title: string;
8294
- createdAt: Date;
8295
8637
  updatedAt: Date;
8638
+ createdAt: Date;
8296
8639
  integrationIdentifier: string;
8297
8640
  integrationAuthMethod: string;
8298
8641
  }, {
8299
8642
  scopes: string[];
8300
8643
  id: string;
8301
8644
  title: string;
8302
- createdAt: Date;
8303
8645
  updatedAt: Date;
8646
+ createdAt: Date;
8304
8647
  integrationIdentifier: string;
8305
8648
  integrationAuthMethod: string;
8306
8649
  }>;
@@ -8313,8 +8656,8 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
8313
8656
  scopes: string[];
8314
8657
  id: string;
8315
8658
  title: string;
8316
- createdAt: Date;
8317
8659
  updatedAt: Date;
8660
+ createdAt: Date;
8318
8661
  integrationIdentifier: string;
8319
8662
  integrationAuthMethod: string;
8320
8663
  };
@@ -8326,8 +8669,8 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
8326
8669
  scopes: string[];
8327
8670
  id: string;
8328
8671
  title: string;
8329
- createdAt: Date;
8330
8672
  updatedAt: Date;
8673
+ createdAt: Date;
8331
8674
  integrationIdentifier: string;
8332
8675
  integrationAuthMethod: string;
8333
8676
  };
@@ -8347,16 +8690,16 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
8347
8690
  scopes: string[];
8348
8691
  id: string;
8349
8692
  title: string;
8350
- createdAt: Date;
8351
8693
  updatedAt: Date;
8694
+ createdAt: Date;
8352
8695
  integrationIdentifier: string;
8353
8696
  integrationAuthMethod: string;
8354
8697
  }, {
8355
8698
  scopes: string[];
8356
8699
  id: string;
8357
8700
  title: string;
8358
- createdAt: Date;
8359
8701
  updatedAt: Date;
8702
+ createdAt: Date;
8360
8703
  integrationIdentifier: string;
8361
8704
  integrationAuthMethod: string;
8362
8705
  }>;
@@ -8383,8 +8726,8 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
8383
8726
  scopes: string[];
8384
8727
  id: string;
8385
8728
  title: string;
8386
- createdAt: Date;
8387
8729
  updatedAt: Date;
8730
+ createdAt: Date;
8388
8731
  integrationIdentifier: string;
8389
8732
  integrationAuthMethod: string;
8390
8733
  };
@@ -8400,8 +8743,8 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
8400
8743
  scopes: string[];
8401
8744
  id: string;
8402
8745
  title: string;
8403
- createdAt: Date;
8404
8746
  updatedAt: Date;
8747
+ createdAt: Date;
8405
8748
  integrationIdentifier: string;
8406
8749
  integrationAuthMethod: string;
8407
8750
  };
@@ -8421,16 +8764,16 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8421
8764
  scopes: string[];
8422
8765
  id: string;
8423
8766
  title: string;
8424
- createdAt: Date;
8425
8767
  updatedAt: Date;
8768
+ createdAt: Date;
8426
8769
  integrationIdentifier: string;
8427
8770
  integrationAuthMethod: string;
8428
8771
  }, {
8429
8772
  scopes: string[];
8430
8773
  id: string;
8431
8774
  title: string;
8432
- createdAt: Date;
8433
8775
  updatedAt: Date;
8776
+ createdAt: Date;
8434
8777
  integrationIdentifier: string;
8435
8778
  integrationAuthMethod: string;
8436
8779
  }>;
@@ -8443,8 +8786,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8443
8786
  scopes: string[];
8444
8787
  id: string;
8445
8788
  title: string;
8446
- createdAt: Date;
8447
8789
  updatedAt: Date;
8790
+ createdAt: Date;
8448
8791
  integrationIdentifier: string;
8449
8792
  integrationAuthMethod: string;
8450
8793
  };
@@ -8456,8 +8799,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8456
8799
  scopes: string[];
8457
8800
  id: string;
8458
8801
  title: string;
8459
- createdAt: Date;
8460
8802
  updatedAt: Date;
8803
+ createdAt: Date;
8461
8804
  integrationIdentifier: string;
8462
8805
  integrationAuthMethod: string;
8463
8806
  };
@@ -8476,16 +8819,16 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8476
8819
  scopes: string[];
8477
8820
  id: string;
8478
8821
  title: string;
8479
- createdAt: Date;
8480
8822
  updatedAt: Date;
8823
+ createdAt: Date;
8481
8824
  integrationIdentifier: string;
8482
8825
  integrationAuthMethod: string;
8483
8826
  }, {
8484
8827
  scopes: string[];
8485
8828
  id: string;
8486
8829
  title: string;
8487
- createdAt: Date;
8488
8830
  updatedAt: Date;
8831
+ createdAt: Date;
8489
8832
  integrationIdentifier: string;
8490
8833
  integrationAuthMethod: string;
8491
8834
  }>;
@@ -8512,8 +8855,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8512
8855
  scopes: string[];
8513
8856
  id: string;
8514
8857
  title: string;
8515
- createdAt: Date;
8516
8858
  updatedAt: Date;
8859
+ createdAt: Date;
8517
8860
  integrationIdentifier: string;
8518
8861
  integrationAuthMethod: string;
8519
8862
  };
@@ -8529,8 +8872,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8529
8872
  scopes: string[];
8530
8873
  id: string;
8531
8874
  title: string;
8532
- createdAt: Date;
8533
8875
  updatedAt: Date;
8876
+ createdAt: Date;
8534
8877
  integrationIdentifier: string;
8535
8878
  integrationAuthMethod: string;
8536
8879
  };
@@ -8856,18 +9199,18 @@ declare const GetEventSchema: z.ZodObject<{
8856
9199
  /** The Run id */
8857
9200
  id: z.ZodString;
8858
9201
  /** The Run status */
8859
- status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">]>;
9202
+ status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
8860
9203
  /** When the run started */
8861
9204
  startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
8862
9205
  /** When the run completed */
8863
9206
  completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
8864
9207
  }, "strip", z.ZodTypeAny, {
8865
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9208
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
8866
9209
  id: string;
8867
9210
  startedAt?: Date | null | undefined;
8868
9211
  completedAt?: Date | null | undefined;
8869
9212
  }, {
8870
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9213
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
8871
9214
  id: string;
8872
9215
  startedAt?: Date | null | undefined;
8873
9216
  completedAt?: Date | null | undefined;
@@ -8875,30 +9218,30 @@ declare const GetEventSchema: z.ZodObject<{
8875
9218
  }, "strip", z.ZodTypeAny, {
8876
9219
  name: string;
8877
9220
  id: string;
8878
- createdAt: Date;
8879
9221
  updatedAt: Date;
8880
9222
  runs: {
8881
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9223
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
8882
9224
  id: string;
8883
9225
  startedAt?: Date | null | undefined;
8884
9226
  completedAt?: Date | null | undefined;
8885
9227
  }[];
9228
+ createdAt: Date;
8886
9229
  }, {
8887
9230
  name: string;
8888
9231
  id: string;
8889
- createdAt: Date;
8890
9232
  updatedAt: Date;
8891
9233
  runs: {
8892
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9234
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
8893
9235
  id: string;
8894
9236
  startedAt?: Date | null | undefined;
8895
9237
  completedAt?: Date | null | undefined;
8896
9238
  }[];
9239
+ createdAt: Date;
8897
9240
  }>;
8898
9241
  type GetEvent = z.infer<typeof GetEventSchema>;
8899
9242
 
8900
- declare const RunStatusSchema: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">]>;
8901
- declare const RunTaskSchema: ZodObject<{
9243
+ declare const RunStatusSchema: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
9244
+ declare const RunTaskSchema: z.ZodObject<{
8902
9245
  /** The Task id */
8903
9246
  id: z.ZodString;
8904
9247
  /** The key that you defined when creating the Task, the first param in any task. */
@@ -8936,7 +9279,7 @@ type RunTaskWithSubtasks = z.infer<typeof RunTaskSchema> & {
8936
9279
  /** The subtasks of the task */
8937
9280
  subtasks?: RunTaskWithSubtasks[];
8938
9281
  };
8939
- declare const GetRunOptionsSchema: ZodObject<{
9282
+ declare const GetRunOptionsSchema: z.ZodObject<{
8940
9283
  /** Return subtasks, which appear in a `subtasks` array on a task. @default false */
8941
9284
  subtasks: z.ZodOptional<z.ZodBoolean>;
8942
9285
  /** You can use this to get more tasks, if there are more than are returned in a single batch @default undefined */
@@ -8953,7 +9296,7 @@ declare const GetRunOptionsSchema: ZodObject<{
8953
9296
  take?: number | undefined;
8954
9297
  }>;
8955
9298
  type GetRunOptions = z.infer<typeof GetRunOptionsSchema>;
8956
- declare const GetRunOptionsWithTaskDetailsSchema: ZodObject<{
9299
+ declare const GetRunOptionsWithTaskDetailsSchema: z.ZodObject<{
8957
9300
  subtasks: z.ZodOptional<z.ZodBoolean>;
8958
9301
  cursor: z.ZodOptional<z.ZodString>;
8959
9302
  take: z.ZodOptional<z.ZodNumber>;
@@ -8970,36 +9313,97 @@ declare const GetRunOptionsWithTaskDetailsSchema: ZodObject<{
8970
9313
  taskdetails?: boolean | undefined;
8971
9314
  }>;
8972
9315
  type GetRunOptionsWithTaskDetails = z.infer<typeof GetRunOptionsWithTaskDetailsSchema>;
8973
- declare const GetRunSchema: ZodObject<{
8974
- status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">]>;
9316
+ declare const GetRunSchema: z.ZodObject<{
9317
+ status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
8975
9318
  id: z.ZodString;
8976
9319
  startedAt: z.ZodNullable<z.ZodDate>;
8977
9320
  completedAt: z.ZodNullable<z.ZodDate>;
8978
9321
  updatedAt: z.ZodNullable<z.ZodDate>;
8979
9322
  output: z.ZodOptional<z.ZodAny>;
8980
9323
  tasks: z.ZodArray<z.ZodType<RunTaskWithSubtasks, z.ZodTypeDef, RunTaskWithSubtasks>, "many">;
9324
+ statuses: z.ZodDefault<z.ZodArray<z.ZodObject<{
9325
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9326
+ label: z.ZodString;
9327
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9328
+ key: z.ZodString;
9329
+ history: z.ZodArray<z.ZodObject<{
9330
+ label: z.ZodOptional<z.ZodString>;
9331
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9332
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9333
+ }, "strip", z.ZodTypeAny, {
9334
+ label?: string | undefined;
9335
+ state?: "loading" | "success" | "failure" | undefined;
9336
+ data?: Record<string, SerializableJson> | undefined;
9337
+ }, {
9338
+ label?: string | undefined;
9339
+ state?: "loading" | "success" | "failure" | undefined;
9340
+ data?: Record<string, SerializableJson> | undefined;
9341
+ }>, "many">;
9342
+ }, "strip", z.ZodTypeAny, {
9343
+ key: string;
9344
+ label: string;
9345
+ history: {
9346
+ label?: string | undefined;
9347
+ state?: "loading" | "success" | "failure" | undefined;
9348
+ data?: Record<string, SerializableJson> | undefined;
9349
+ }[];
9350
+ data?: Record<string, SerializableJson> | undefined;
9351
+ state?: "loading" | "success" | "failure" | undefined;
9352
+ }, {
9353
+ key: string;
9354
+ label: string;
9355
+ history: {
9356
+ label?: string | undefined;
9357
+ state?: "loading" | "success" | "failure" | undefined;
9358
+ data?: Record<string, SerializableJson> | undefined;
9359
+ }[];
9360
+ data?: Record<string, SerializableJson> | undefined;
9361
+ state?: "loading" | "success" | "failure" | undefined;
9362
+ }>, "many">>;
8981
9363
  nextCursor: z.ZodOptional<z.ZodString>;
8982
9364
  }, "strip", z.ZodTypeAny, {
8983
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9365
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
8984
9366
  id: string;
8985
9367
  startedAt: Date | null;
8986
9368
  completedAt: Date | null;
8987
- tasks: RunTaskWithSubtasks[];
8988
9369
  updatedAt: Date | null;
9370
+ tasks: RunTaskWithSubtasks[];
9371
+ statuses: {
9372
+ key: string;
9373
+ label: string;
9374
+ history: {
9375
+ label?: string | undefined;
9376
+ state?: "loading" | "success" | "failure" | undefined;
9377
+ data?: Record<string, SerializableJson> | undefined;
9378
+ }[];
9379
+ data?: Record<string, SerializableJson> | undefined;
9380
+ state?: "loading" | "success" | "failure" | undefined;
9381
+ }[];
8989
9382
  output?: any;
8990
9383
  nextCursor?: string | undefined;
8991
9384
  }, {
8992
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9385
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
8993
9386
  id: string;
8994
9387
  startedAt: Date | null;
8995
9388
  completedAt: Date | null;
8996
- tasks: RunTaskWithSubtasks[];
8997
9389
  updatedAt: Date | null;
9390
+ tasks: RunTaskWithSubtasks[];
8998
9391
  output?: any;
9392
+ statuses?: {
9393
+ key: string;
9394
+ label: string;
9395
+ history: {
9396
+ label?: string | undefined;
9397
+ state?: "loading" | "success" | "failure" | undefined;
9398
+ data?: Record<string, SerializableJson> | undefined;
9399
+ }[];
9400
+ data?: Record<string, SerializableJson> | undefined;
9401
+ state?: "loading" | "success" | "failure" | undefined;
9402
+ }[] | undefined;
8999
9403
  nextCursor?: string | undefined;
9000
9404
  }>;
9001
9405
  type GetRun = z.infer<typeof GetRunSchema>;
9002
- declare const GetRunsOptionsSchema: ZodObject<{
9406
+ declare const GetRunsOptionsSchema: z.ZodObject<{
9003
9407
  /** You can use this to get more tasks, if there are more than are returned in a single batch @default undefined */
9004
9408
  cursor: z.ZodOptional<z.ZodString>;
9005
9409
  /** How many runs you want to return in one go, max 50. @default 20 */
@@ -9012,13 +9416,13 @@ declare const GetRunsOptionsSchema: ZodObject<{
9012
9416
  take?: number | undefined;
9013
9417
  }>;
9014
9418
  type GetRunsOptions = z.infer<typeof GetRunsOptionsSchema>;
9015
- declare const GetRunsSchema: ZodObject<{
9419
+ declare const GetRunsSchema: z.ZodObject<{
9016
9420
  /** The runs from the query */
9017
- runs: z.ZodArray<ZodObject<{
9421
+ runs: z.ZodArray<z.ZodObject<{
9018
9422
  /** The Run id */
9019
9423
  id: z.ZodString;
9020
9424
  /** The Run status */
9021
- status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">]>;
9425
+ status: z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"QUEUED">, z.ZodLiteral<"WAITING_ON_CONNECTIONS">, z.ZodLiteral<"PREPROCESSING">, z.ZodLiteral<"STARTED">, z.ZodLiteral<"SUCCESS">, z.ZodLiteral<"FAILURE">, z.ZodLiteral<"TIMED_OUT">, z.ZodLiteral<"ABORTED">, z.ZodLiteral<"CANCELED">, z.ZodLiteral<"UNRESOLVED_AUTH">, z.ZodLiteral<"INVALID_PAYLOAD">]>;
9022
9426
  /** When the run started */
9023
9427
  startedAt: z.ZodNullable<z.ZodDate>;
9024
9428
  /** When the run was last updated */
@@ -9026,13 +9430,13 @@ declare const GetRunsSchema: ZodObject<{
9026
9430
  /** When the run was completed */
9027
9431
  completedAt: z.ZodNullable<z.ZodDate>;
9028
9432
  }, "strip", z.ZodTypeAny, {
9029
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9433
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
9030
9434
  id: string;
9031
9435
  startedAt: Date | null;
9032
9436
  completedAt: Date | null;
9033
9437
  updatedAt: Date | null;
9034
9438
  }, {
9035
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9439
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
9036
9440
  id: string;
9037
9441
  startedAt: Date | null;
9038
9442
  completedAt: Date | null;
@@ -9042,7 +9446,7 @@ declare const GetRunsSchema: ZodObject<{
9042
9446
  nextCursor: z.ZodOptional<z.ZodString>;
9043
9447
  }, "strip", z.ZodTypeAny, {
9044
9448
  runs: {
9045
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9449
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
9046
9450
  id: string;
9047
9451
  startedAt: Date | null;
9048
9452
  completedAt: Date | null;
@@ -9051,7 +9455,7 @@ declare const GetRunsSchema: ZodObject<{
9051
9455
  nextCursor?: string | undefined;
9052
9456
  }, {
9053
9457
  runs: {
9054
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9458
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH" | "INVALID_PAYLOAD";
9055
9459
  id: string;
9056
9460
  startedAt: Date | null;
9057
9461
  completedAt: Date | null;
@@ -9062,6 +9466,92 @@ declare const GetRunsSchema: ZodObject<{
9062
9466
 
9063
9467
  declare function addMissingVersionField(val: unknown): unknown;
9064
9468
 
9469
+ declare const StatusUpdateStateSchema: z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>;
9470
+ type StatusUpdateState = z.infer<typeof StatusUpdateStateSchema>;
9471
+ declare const StatusUpdateDataSchema: z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>;
9472
+ type StatusUpdateData = z.infer<typeof StatusUpdateDataSchema>;
9473
+ declare const StatusUpdateSchema: z.ZodObject<{
9474
+ label: z.ZodOptional<z.ZodString>;
9475
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9476
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9477
+ }, "strip", z.ZodTypeAny, {
9478
+ label?: string | undefined;
9479
+ state?: "loading" | "success" | "failure" | undefined;
9480
+ data?: Record<string, SerializableJson> | undefined;
9481
+ }, {
9482
+ label?: string | undefined;
9483
+ state?: "loading" | "success" | "failure" | undefined;
9484
+ data?: Record<string, SerializableJson> | undefined;
9485
+ }>;
9486
+ type StatusUpdate = z.infer<typeof StatusUpdateSchema>;
9487
+ declare const InitalStatusUpdateSchema: z.ZodObject<{
9488
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9489
+ label: z.ZodString;
9490
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9491
+ }, "strip", z.ZodTypeAny, {
9492
+ label: string;
9493
+ data?: Record<string, SerializableJson> | undefined;
9494
+ state?: "loading" | "success" | "failure" | undefined;
9495
+ }, {
9496
+ label: string;
9497
+ data?: Record<string, SerializableJson> | undefined;
9498
+ state?: "loading" | "success" | "failure" | undefined;
9499
+ }>;
9500
+ type InitialStatusUpdate = z.infer<typeof InitalStatusUpdateSchema>;
9501
+ declare const StatusHistorySchema: z.ZodArray<z.ZodObject<{
9502
+ label: z.ZodOptional<z.ZodString>;
9503
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9504
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9505
+ }, "strip", z.ZodTypeAny, {
9506
+ label?: string | undefined;
9507
+ state?: "loading" | "success" | "failure" | undefined;
9508
+ data?: Record<string, SerializableJson> | undefined;
9509
+ }, {
9510
+ label?: string | undefined;
9511
+ state?: "loading" | "success" | "failure" | undefined;
9512
+ data?: Record<string, SerializableJson> | undefined;
9513
+ }>, "many">;
9514
+ type StatusHistory = z.infer<typeof StatusHistorySchema>;
9515
+ declare const JobRunStatusRecordSchema: z.ZodObject<{
9516
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9517
+ label: z.ZodString;
9518
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9519
+ key: z.ZodString;
9520
+ history: z.ZodArray<z.ZodObject<{
9521
+ label: z.ZodOptional<z.ZodString>;
9522
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9523
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9524
+ }, "strip", z.ZodTypeAny, {
9525
+ label?: string | undefined;
9526
+ state?: "loading" | "success" | "failure" | undefined;
9527
+ data?: Record<string, SerializableJson> | undefined;
9528
+ }, {
9529
+ label?: string | undefined;
9530
+ state?: "loading" | "success" | "failure" | undefined;
9531
+ data?: Record<string, SerializableJson> | undefined;
9532
+ }>, "many">;
9533
+ }, "strip", z.ZodTypeAny, {
9534
+ key: string;
9535
+ label: string;
9536
+ history: {
9537
+ label?: string | undefined;
9538
+ state?: "loading" | "success" | "failure" | undefined;
9539
+ data?: Record<string, SerializableJson> | undefined;
9540
+ }[];
9541
+ data?: Record<string, SerializableJson> | undefined;
9542
+ state?: "loading" | "success" | "failure" | undefined;
9543
+ }, {
9544
+ key: string;
9545
+ label: string;
9546
+ history: {
9547
+ label?: string | undefined;
9548
+ state?: "loading" | "success" | "failure" | undefined;
9549
+ data?: Record<string, SerializableJson> | undefined;
9550
+ }[];
9551
+ data?: Record<string, SerializableJson> | undefined;
9552
+ state?: "loading" | "success" | "failure" | undefined;
9553
+ }>;
9554
+
9065
9555
  declare function deepMergeFilters(...filters: EventFilter[]): EventFilter;
9066
9556
 
9067
9557
  declare function calculateRetryAt(retryOptions: RetryOptions, attempts: number): Date | undefined;
@@ -9088,4 +9578,4 @@ declare function urlWithSearchParams(url: string, params: Record<string, string
9088
9578
 
9089
9579
  declare function eventFilterMatches(payload: any, filter: EventFilter): boolean;
9090
9580
 
9091
- 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, 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 };
9581
+ 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, GetRunStatuses, GetRunStatusesSchema, GetRunsOptions, GetRunsSchema, HandleTriggerSource, HandleTriggerSourceSchema, HttpSourceRequest, HttpSourceRequestHeaders, HttpSourceRequestHeadersSchema, HttpSourceRequestSchema, HttpSourceResponseMetadata, HttpSourceResponseSchema, IndexEndpointResponse, IndexEndpointResponseSchema, InitialStatusUpdate, InitializeCronScheduleBodySchema, InitializeTriggerBody, InitializeTriggerBodySchema, IntegrationConfig, IntegrationConfigSchema, IntegrationMetadata, IntegrationMetadataSchema, IntervalMetadata, IntervalMetadataSchema, IntervalOptions, IntervalOptionsSchema, JobMetadata, JobMetadataSchema, JobRunStatusRecordSchema, LogLevel, LogMessage, LogMessageSchema, Logger, MISSING_CONNECTION_NOTIFICATION, MISSING_CONNECTION_RESOLVED_NOTIFICATION, MissingConnectionNotificationPayload, MissingConnectionNotificationPayloadSchema, MissingConnectionResolvedNotificationPayload, MissingConnectionResolvedNotificationPayloadSchema, MissingDeveloperConnectionNotificationPayloadSchema, MissingDeveloperConnectionResolvedNotificationPayloadSchema, MissingExternalConnectionNotificationPayloadSchema, MissingExternalConnectionResolvedNotificationPayloadSchema, NormalizedRequest, NormalizedRequestSchema, NormalizedResponse, NormalizedResponseSchema, OverridableRunTaskOptions, 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, RunJobInvalidPayloadError, RunJobInvalidPayloadErrorSchema, 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, SchemaError, SchemaErrorSchema, SendEvent, SendEventBody, SendEventBodySchema, SendEventOptions, SendEventOptionsSchema, SerializableJson, SerializableJsonSchema, ServerTask, ServerTaskSchema, SourceEventOption, SourceMetadataV1, SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, StatusHistory, StatusHistorySchema, StatusUpdate, StatusUpdateData, StatusUpdateSchema, StatusUpdateState, StatusUpdateStateSchema, Style, StyleName, StyleSchema, TaskSchema, TaskStatus, TaskStatusSchema, TriggerMetadata, TriggerMetadataSchema, TriggerSource, TriggerSourceSchema, UpdateTriggerSourceBodyV1, UpdateTriggerSourceBodyV1Schema, UpdateTriggerSourceBodyV2, UpdateTriggerSourceBodyV2Schema, ValidateErrorResponseSchema, ValidateResponse, ValidateResponseSchema, ValidateSuccessResponseSchema, addMissingVersionField, calculateRetryAt, currentDate, currentTimestampMilliseconds, currentTimestampSeconds, deepMergeFilters, eventFilterMatches, replacements, urlWithSearchParams };