@trigger.dev/core 0.0.0-isomorphic-sdk-20230918151405 → 0.0.0-prerelease-20230922203841

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;
@@ -948,17 +948,17 @@ declare const HttpSourceRequestSchema: z.ZodObject<{
948
948
  url: z.ZodString;
949
949
  method: z.ZodString;
950
950
  headers: z.ZodRecord<z.ZodString, z.ZodString>;
951
- rawBody: z.ZodNullable<z.ZodOptional<z.ZodType<Uint8Array, z.ZodTypeDef, Uint8Array>>>;
951
+ rawBody: z.ZodNullable<z.ZodOptional<z.ZodType<Buffer, z.ZodTypeDef, Buffer>>>;
952
952
  }, "strip", z.ZodTypeAny, {
953
953
  url: string;
954
954
  method: string;
955
955
  headers: Record<string, string>;
956
- rawBody?: Uint8Array | null | undefined;
956
+ rawBody?: Buffer | null | undefined;
957
957
  }, {
958
958
  url: string;
959
959
  method: string;
960
960
  headers: Record<string, string>;
961
- rawBody?: Uint8Array | null | undefined;
961
+ rawBody?: Buffer | null | undefined;
962
962
  }>;
963
963
  type HttpSourceRequest = z.infer<typeof HttpSourceRequestSchema>;
964
964
  declare const HttpSourceRequestHeadersSchema: z.ZodObject<{
@@ -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,32 @@ declare const RunJobErrorSchema: z.ZodObject<{
3842
3894
  } | undefined;
3843
3895
  }>;
3844
3896
  type RunJobError = z.infer<typeof RunJobErrorSchema>;
3897
+ declare const RunJobUnresolvedAuthErrorSchema: z.ZodObject<{
3898
+ status: z.ZodLiteral<"UNRESOLVED_AUTH_ERROR">;
3899
+ issues: z.ZodRecord<z.ZodString, z.ZodObject<{
3900
+ id: z.ZodString;
3901
+ error: z.ZodString;
3902
+ }, "strip", z.ZodTypeAny, {
3903
+ error: string;
3904
+ id: string;
3905
+ }, {
3906
+ error: string;
3907
+ id: string;
3908
+ }>>;
3909
+ }, "strip", z.ZodTypeAny, {
3910
+ status: "UNRESOLVED_AUTH_ERROR";
3911
+ issues: Record<string, {
3912
+ error: string;
3913
+ id: string;
3914
+ }>;
3915
+ }, {
3916
+ status: "UNRESOLVED_AUTH_ERROR";
3917
+ issues: Record<string, {
3918
+ error: string;
3919
+ id: string;
3920
+ }>;
3921
+ }>;
3922
+ type RunJobUnresolvedAuthError = z.infer<typeof RunJobUnresolvedAuthErrorSchema>;
3845
3923
  declare const RunJobResumeWithTaskSchema: z.ZodObject<{
3846
3924
  status: z.ZodLiteral<"RESUME_WITH_TASK">;
3847
3925
  task: z.ZodObject<{
@@ -4612,6 +4690,30 @@ declare const RunJobResponseSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObje
4612
4690
  } | null | undefined;
4613
4691
  operation?: string | null | undefined;
4614
4692
  } | undefined;
4693
+ }>, z.ZodObject<{
4694
+ status: z.ZodLiteral<"UNRESOLVED_AUTH_ERROR">;
4695
+ issues: z.ZodRecord<z.ZodString, z.ZodObject<{
4696
+ id: z.ZodString;
4697
+ error: z.ZodString;
4698
+ }, "strip", z.ZodTypeAny, {
4699
+ error: string;
4700
+ id: string;
4701
+ }, {
4702
+ error: string;
4703
+ id: string;
4704
+ }>>;
4705
+ }, "strip", z.ZodTypeAny, {
4706
+ status: "UNRESOLVED_AUTH_ERROR";
4707
+ issues: Record<string, {
4708
+ error: string;
4709
+ id: string;
4710
+ }>;
4711
+ }, {
4712
+ status: "UNRESOLVED_AUTH_ERROR";
4713
+ issues: Record<string, {
4714
+ error: string;
4715
+ id: string;
4716
+ }>;
4615
4717
  }>, z.ZodObject<{
4616
4718
  status: z.ZodLiteral<"RESUME_WITH_TASK">;
4617
4719
  task: z.ZodObject<{
@@ -5641,18 +5743,21 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5641
5743
  }, {
5642
5744
  seconds: number;
5643
5745
  }>;
5746
+ accountId: z.ZodOptional<z.ZodString>;
5644
5747
  metadata: z.ZodAny;
5645
5748
  }, "strip", z.ZodTypeAny, {
5646
5749
  options: {
5647
5750
  seconds: number;
5648
5751
  };
5649
5752
  type: "interval";
5753
+ accountId?: string | undefined;
5650
5754
  metadata?: any;
5651
5755
  }, {
5652
5756
  options: {
5653
5757
  seconds: number;
5654
5758
  };
5655
5759
  type: "interval";
5760
+ accountId?: string | undefined;
5656
5761
  metadata?: any;
5657
5762
  }>, z.ZodObject<{
5658
5763
  type: z.ZodLiteral<"cron">;
@@ -5663,18 +5768,21 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5663
5768
  }, {
5664
5769
  cron: string;
5665
5770
  }>;
5771
+ accountId: z.ZodOptional<z.ZodString>;
5666
5772
  metadata: z.ZodAny;
5667
5773
  }, "strip", z.ZodTypeAny, {
5668
5774
  options: {
5669
5775
  cron: string;
5670
5776
  };
5671
5777
  type: "cron";
5778
+ accountId?: string | undefined;
5672
5779
  metadata?: any;
5673
5780
  }, {
5674
5781
  options: {
5675
5782
  cron: string;
5676
5783
  };
5677
5784
  type: "cron";
5785
+ accountId?: string | undefined;
5678
5786
  metadata?: any;
5679
5787
  }>]>;
5680
5788
  }, "strip", z.ZodTypeAny, {
@@ -5684,12 +5792,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5684
5792
  cron: string;
5685
5793
  };
5686
5794
  type: "cron";
5795
+ accountId?: string | undefined;
5687
5796
  metadata?: any;
5688
5797
  } | {
5689
5798
  options: {
5690
5799
  seconds: number;
5691
5800
  };
5692
5801
  type: "interval";
5802
+ accountId?: string | undefined;
5693
5803
  metadata?: any;
5694
5804
  };
5695
5805
  }, {
@@ -5699,12 +5809,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5699
5809
  cron: string;
5700
5810
  };
5701
5811
  type: "cron";
5812
+ accountId?: string | undefined;
5702
5813
  metadata?: any;
5703
5814
  } | {
5704
5815
  options: {
5705
5816
  seconds: number;
5706
5817
  };
5707
5818
  type: "interval";
5819
+ accountId?: string | undefined;
5708
5820
  metadata?: any;
5709
5821
  };
5710
5822
  }>]>>;
@@ -5761,12 +5873,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5761
5873
  cron: string;
5762
5874
  };
5763
5875
  type: "cron";
5876
+ accountId?: string | undefined;
5764
5877
  metadata?: any;
5765
5878
  } | {
5766
5879
  options: {
5767
5880
  seconds: number;
5768
5881
  };
5769
5882
  type: "interval";
5883
+ accountId?: string | undefined;
5770
5884
  metadata?: any;
5771
5885
  };
5772
5886
  } | undefined;
@@ -5823,12 +5937,14 @@ declare const RunTaskOptionsSchema: z.ZodObject<{
5823
5937
  cron: string;
5824
5938
  };
5825
5939
  type: "cron";
5940
+ accountId?: string | undefined;
5826
5941
  metadata?: any;
5827
5942
  } | {
5828
5943
  options: {
5829
5944
  seconds: number;
5830
5945
  };
5831
5946
  type: "interval";
5947
+ accountId?: string | undefined;
5832
5948
  metadata?: any;
5833
5949
  };
5834
5950
  } | undefined;
@@ -5866,6 +5982,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
5866
5982
  url?: string | undefined;
5867
5983
  }>, "many">>;
5868
5984
  operation: z.ZodOptional<z.ZodEnum<["fetch"]>>;
5985
+ displayKey: z.ZodOptional<z.ZodString>;
5869
5986
  trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5870
5987
  type: z.ZodLiteral<"dynamic">;
5871
5988
  id: z.ZodString;
@@ -5946,18 +6063,21 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
5946
6063
  }, {
5947
6064
  seconds: number;
5948
6065
  }>;
6066
+ accountId: z.ZodOptional<z.ZodString>;
5949
6067
  metadata: z.ZodAny;
5950
6068
  }, "strip", z.ZodTypeAny, {
5951
6069
  options: {
5952
6070
  seconds: number;
5953
6071
  };
5954
6072
  type: "interval";
6073
+ accountId?: string | undefined;
5955
6074
  metadata?: any;
5956
6075
  }, {
5957
6076
  options: {
5958
6077
  seconds: number;
5959
6078
  };
5960
6079
  type: "interval";
6080
+ accountId?: string | undefined;
5961
6081
  metadata?: any;
5962
6082
  }>, z.ZodObject<{
5963
6083
  type: z.ZodLiteral<"cron">;
@@ -5968,18 +6088,21 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
5968
6088
  }, {
5969
6089
  cron: string;
5970
6090
  }>;
6091
+ accountId: z.ZodOptional<z.ZodString>;
5971
6092
  metadata: z.ZodAny;
5972
6093
  }, "strip", z.ZodTypeAny, {
5973
6094
  options: {
5974
6095
  cron: string;
5975
6096
  };
5976
6097
  type: "cron";
6098
+ accountId?: string | undefined;
5977
6099
  metadata?: any;
5978
6100
  }, {
5979
6101
  options: {
5980
6102
  cron: string;
5981
6103
  };
5982
6104
  type: "cron";
6105
+ accountId?: string | undefined;
5983
6106
  metadata?: any;
5984
6107
  }>]>;
5985
6108
  }, "strip", z.ZodTypeAny, {
@@ -5989,12 +6112,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
5989
6112
  cron: string;
5990
6113
  };
5991
6114
  type: "cron";
6115
+ accountId?: string | undefined;
5992
6116
  metadata?: any;
5993
6117
  } | {
5994
6118
  options: {
5995
6119
  seconds: number;
5996
6120
  };
5997
6121
  type: "interval";
6122
+ accountId?: string | undefined;
5998
6123
  metadata?: any;
5999
6124
  };
6000
6125
  }, {
@@ -6004,12 +6129,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6004
6129
  cron: string;
6005
6130
  };
6006
6131
  type: "cron";
6132
+ accountId?: string | undefined;
6007
6133
  metadata?: any;
6008
6134
  } | {
6009
6135
  options: {
6010
6136
  seconds: number;
6011
6137
  };
6012
6138
  type: "interval";
6139
+ accountId?: string | undefined;
6013
6140
  metadata?: any;
6014
6141
  };
6015
6142
  }>]>>;
@@ -6037,7 +6164,6 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6037
6164
  maxTimeoutInMs?: number | undefined;
6038
6165
  randomize?: boolean | undefined;
6039
6166
  }>>;
6040
- displayKey: z.ZodOptional<z.ZodString>;
6041
6167
  connectionKey: z.ZodOptional<z.ZodString>;
6042
6168
  redact: z.ZodOptional<z.ZodObject<{
6043
6169
  paths: z.ZodArray<z.ZodString, "many">;
@@ -6066,6 +6192,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6066
6192
  url?: string | undefined;
6067
6193
  }[] | undefined;
6068
6194
  operation?: "fetch" | undefined;
6195
+ displayKey?: string | undefined;
6069
6196
  trigger?: {
6070
6197
  type: "dynamic";
6071
6198
  id: string;
@@ -6090,12 +6217,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6090
6217
  cron: string;
6091
6218
  };
6092
6219
  type: "cron";
6220
+ accountId?: string | undefined;
6093
6221
  metadata?: any;
6094
6222
  } | {
6095
6223
  options: {
6096
6224
  seconds: number;
6097
6225
  };
6098
6226
  type: "interval";
6227
+ accountId?: string | undefined;
6099
6228
  metadata?: any;
6100
6229
  };
6101
6230
  } | undefined;
@@ -6106,7 +6235,6 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6106
6235
  maxTimeoutInMs?: number | undefined;
6107
6236
  randomize?: boolean | undefined;
6108
6237
  } | undefined;
6109
- displayKey?: string | undefined;
6110
6238
  connectionKey?: string | undefined;
6111
6239
  redact?: {
6112
6240
  paths: string[];
@@ -6130,6 +6258,7 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6130
6258
  url?: string | undefined;
6131
6259
  }[] | undefined;
6132
6260
  operation?: "fetch" | undefined;
6261
+ displayKey?: string | undefined;
6133
6262
  trigger?: {
6134
6263
  type: "dynamic";
6135
6264
  id: string;
@@ -6154,12 +6283,14 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6154
6283
  cron: string;
6155
6284
  };
6156
6285
  type: "cron";
6286
+ accountId?: string | undefined;
6157
6287
  metadata?: any;
6158
6288
  } | {
6159
6289
  options: {
6160
6290
  seconds: number;
6161
6291
  };
6162
6292
  type: "interval";
6293
+ accountId?: string | undefined;
6163
6294
  metadata?: any;
6164
6295
  };
6165
6296
  } | undefined;
@@ -6170,7 +6301,6 @@ declare const RunTaskBodyInputSchema: z.ZodObject<{
6170
6301
  maxTimeoutInMs?: number | undefined;
6171
6302
  randomize?: boolean | undefined;
6172
6303
  } | undefined;
6173
- displayKey?: string | undefined;
6174
6304
  connectionKey?: string | undefined;
6175
6305
  redact?: {
6176
6306
  paths: string[];
@@ -6210,6 +6340,7 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6210
6340
  parentId: z.ZodOptional<z.ZodString>;
6211
6341
  operation: z.ZodOptional<z.ZodEnum<["fetch"]>>;
6212
6342
  idempotencyKey: z.ZodString;
6343
+ displayKey: z.ZodOptional<z.ZodString>;
6213
6344
  trigger: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6214
6345
  type: z.ZodLiteral<"dynamic">;
6215
6346
  id: z.ZodString;
@@ -6290,18 +6421,21 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6290
6421
  }, {
6291
6422
  seconds: number;
6292
6423
  }>;
6424
+ accountId: z.ZodOptional<z.ZodString>;
6293
6425
  metadata: z.ZodAny;
6294
6426
  }, "strip", z.ZodTypeAny, {
6295
6427
  options: {
6296
6428
  seconds: number;
6297
6429
  };
6298
6430
  type: "interval";
6431
+ accountId?: string | undefined;
6299
6432
  metadata?: any;
6300
6433
  }, {
6301
6434
  options: {
6302
6435
  seconds: number;
6303
6436
  };
6304
6437
  type: "interval";
6438
+ accountId?: string | undefined;
6305
6439
  metadata?: any;
6306
6440
  }>, z.ZodObject<{
6307
6441
  type: z.ZodLiteral<"cron">;
@@ -6312,18 +6446,21 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6312
6446
  }, {
6313
6447
  cron: string;
6314
6448
  }>;
6449
+ accountId: z.ZodOptional<z.ZodString>;
6315
6450
  metadata: z.ZodAny;
6316
6451
  }, "strip", z.ZodTypeAny, {
6317
6452
  options: {
6318
6453
  cron: string;
6319
6454
  };
6320
6455
  type: "cron";
6456
+ accountId?: string | undefined;
6321
6457
  metadata?: any;
6322
6458
  }, {
6323
6459
  options: {
6324
6460
  cron: string;
6325
6461
  };
6326
6462
  type: "cron";
6463
+ accountId?: string | undefined;
6327
6464
  metadata?: any;
6328
6465
  }>]>;
6329
6466
  }, "strip", z.ZodTypeAny, {
@@ -6333,12 +6470,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6333
6470
  cron: string;
6334
6471
  };
6335
6472
  type: "cron";
6473
+ accountId?: string | undefined;
6336
6474
  metadata?: any;
6337
6475
  } | {
6338
6476
  options: {
6339
6477
  seconds: number;
6340
6478
  };
6341
6479
  type: "interval";
6480
+ accountId?: string | undefined;
6342
6481
  metadata?: any;
6343
6482
  };
6344
6483
  }, {
@@ -6348,12 +6487,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6348
6487
  cron: string;
6349
6488
  };
6350
6489
  type: "cron";
6490
+ accountId?: string | undefined;
6351
6491
  metadata?: any;
6352
6492
  } | {
6353
6493
  options: {
6354
6494
  seconds: number;
6355
6495
  };
6356
6496
  type: "interval";
6497
+ accountId?: string | undefined;
6357
6498
  metadata?: any;
6358
6499
  };
6359
6500
  }>]>>;
@@ -6381,7 +6522,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6381
6522
  maxTimeoutInMs?: number | undefined;
6382
6523
  randomize?: boolean | undefined;
6383
6524
  }>>;
6384
- displayKey: z.ZodOptional<z.ZodString>;
6385
6525
  connectionKey: z.ZodOptional<z.ZodString>;
6386
6526
  redact: z.ZodOptional<z.ZodObject<{
6387
6527
  paths: z.ZodArray<z.ZodString, "many">;
@@ -6409,6 +6549,7 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6409
6549
  }[] | undefined;
6410
6550
  parentId?: string | undefined;
6411
6551
  operation?: "fetch" | undefined;
6552
+ displayKey?: string | undefined;
6412
6553
  trigger?: {
6413
6554
  type: "dynamic";
6414
6555
  id: string;
@@ -6433,12 +6574,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6433
6574
  cron: string;
6434
6575
  };
6435
6576
  type: "cron";
6577
+ accountId?: string | undefined;
6436
6578
  metadata?: any;
6437
6579
  } | {
6438
6580
  options: {
6439
6581
  seconds: number;
6440
6582
  };
6441
6583
  type: "interval";
6584
+ accountId?: string | undefined;
6442
6585
  metadata?: any;
6443
6586
  };
6444
6587
  } | undefined;
@@ -6449,7 +6592,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6449
6592
  maxTimeoutInMs?: number | undefined;
6450
6593
  randomize?: boolean | undefined;
6451
6594
  } | undefined;
6452
- displayKey?: string | undefined;
6453
6595
  connectionKey?: string | undefined;
6454
6596
  redact?: {
6455
6597
  paths: string[];
@@ -6473,6 +6615,7 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6473
6615
  }[] | undefined;
6474
6616
  parentId?: string | undefined;
6475
6617
  operation?: "fetch" | undefined;
6618
+ displayKey?: string | undefined;
6476
6619
  trigger?: {
6477
6620
  type: "dynamic";
6478
6621
  id: string;
@@ -6497,12 +6640,14 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6497
6640
  cron: string;
6498
6641
  };
6499
6642
  type: "cron";
6643
+ accountId?: string | undefined;
6500
6644
  metadata?: any;
6501
6645
  } | {
6502
6646
  options: {
6503
6647
  seconds: number;
6504
6648
  };
6505
6649
  type: "interval";
6650
+ accountId?: string | undefined;
6506
6651
  metadata?: any;
6507
6652
  };
6508
6653
  } | undefined;
@@ -6513,7 +6658,6 @@ declare const RunTaskBodyOutputSchema: z.ZodObject<{
6513
6658
  maxTimeoutInMs?: number | undefined;
6514
6659
  randomize?: boolean | undefined;
6515
6660
  } | undefined;
6516
- displayKey?: string | undefined;
6517
6661
  connectionKey?: string | undefined;
6518
6662
  redact?: {
6519
6663
  paths: string[];
@@ -6747,7 +6891,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6747
6891
  id: string;
6748
6892
  instructions?: string | undefined;
6749
6893
  }>;
6750
- authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
6894
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
6751
6895
  }, "strip", z.ZodTypeAny, {
6752
6896
  id: string;
6753
6897
  metadata: {
@@ -6755,7 +6899,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6755
6899
  id: string;
6756
6900
  instructions?: string | undefined;
6757
6901
  };
6758
- authSource: "HOSTED" | "LOCAL";
6902
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6759
6903
  }, {
6760
6904
  id: string;
6761
6905
  metadata: {
@@ -6763,7 +6907,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6763
6907
  id: string;
6764
6908
  instructions?: string | undefined;
6765
6909
  };
6766
- authSource: "HOSTED" | "LOCAL";
6910
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6767
6911
  }>;
6768
6912
  key: z.ZodString;
6769
6913
  params: z.ZodAny;
@@ -6790,7 +6934,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6790
6934
  id: string;
6791
6935
  instructions?: string | undefined;
6792
6936
  };
6793
- authSource: "HOSTED" | "LOCAL";
6937
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6794
6938
  };
6795
6939
  params?: any;
6796
6940
  registerSourceJob?: {
@@ -6809,7 +6953,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6809
6953
  id: string;
6810
6954
  instructions?: string | undefined;
6811
6955
  };
6812
- authSource: "HOSTED" | "LOCAL";
6956
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6813
6957
  };
6814
6958
  params?: any;
6815
6959
  registerSourceJob?: {
@@ -6830,7 +6974,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6830
6974
  id: string;
6831
6975
  instructions?: string | undefined;
6832
6976
  };
6833
- authSource: "HOSTED" | "LOCAL";
6977
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6834
6978
  };
6835
6979
  params?: any;
6836
6980
  registerSourceJob?: {
@@ -6857,7 +7001,7 @@ declare const RegisterTriggerBodySchemaV1: z.ZodObject<{
6857
7001
  id: string;
6858
7002
  instructions?: string | undefined;
6859
7003
  };
6860
- authSource: "HOSTED" | "LOCAL";
7004
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6861
7005
  };
6862
7006
  params?: any;
6863
7007
  registerSourceJob?: {
@@ -6908,7 +7052,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6908
7052
  id: string;
6909
7053
  instructions?: string | undefined;
6910
7054
  }>;
6911
- authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
7055
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
6912
7056
  }, "strip", z.ZodTypeAny, {
6913
7057
  id: string;
6914
7058
  metadata: {
@@ -6916,7 +7060,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6916
7060
  id: string;
6917
7061
  instructions?: string | undefined;
6918
7062
  };
6919
- authSource: "HOSTED" | "LOCAL";
7063
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6920
7064
  }, {
6921
7065
  id: string;
6922
7066
  metadata: {
@@ -6924,7 +7068,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6924
7068
  id: string;
6925
7069
  instructions?: string | undefined;
6926
7070
  };
6927
- authSource: "HOSTED" | "LOCAL";
7071
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6928
7072
  }>;
6929
7073
  key: z.ZodString;
6930
7074
  params: z.ZodAny;
@@ -6951,7 +7095,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6951
7095
  id: string;
6952
7096
  instructions?: string | undefined;
6953
7097
  };
6954
- authSource: "HOSTED" | "LOCAL";
7098
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6955
7099
  };
6956
7100
  params?: any;
6957
7101
  registerSourceJob?: {
@@ -6970,7 +7114,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6970
7114
  id: string;
6971
7115
  instructions?: string | undefined;
6972
7116
  };
6973
- authSource: "HOSTED" | "LOCAL";
7117
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6974
7118
  };
6975
7119
  params?: any;
6976
7120
  registerSourceJob?: {
@@ -6978,6 +7122,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6978
7122
  id: string;
6979
7123
  } | undefined;
6980
7124
  }>;
7125
+ accountId: z.ZodOptional<z.ZodString>;
6981
7126
  }, "strip", z.ZodTypeAny, {
6982
7127
  source: {
6983
7128
  key: string;
@@ -6991,7 +7136,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
6991
7136
  id: string;
6992
7137
  instructions?: string | undefined;
6993
7138
  };
6994
- authSource: "HOSTED" | "LOCAL";
7139
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
6995
7140
  };
6996
7141
  params?: any;
6997
7142
  registerSourceJob?: {
@@ -7005,6 +7150,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
7005
7150
  payload?: EventFilter | undefined;
7006
7151
  context?: EventFilter | undefined;
7007
7152
  };
7153
+ accountId?: string | undefined;
7008
7154
  }, {
7009
7155
  source: {
7010
7156
  key: string;
@@ -7018,7 +7164,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
7018
7164
  id: string;
7019
7165
  instructions?: string | undefined;
7020
7166
  };
7021
- authSource: "HOSTED" | "LOCAL";
7167
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
7022
7168
  };
7023
7169
  params?: any;
7024
7170
  registerSourceJob?: {
@@ -7032,6 +7178,7 @@ declare const RegisterTriggerBodySchemaV2: z.ZodObject<{
7032
7178
  payload?: EventFilter | undefined;
7033
7179
  context?: EventFilter | undefined;
7034
7180
  };
7181
+ accountId?: string | undefined;
7035
7182
  }>;
7036
7183
  type RegisterTriggerBodyV2 = z.infer<typeof RegisterTriggerBodySchemaV2>;
7037
7184
  declare const InitializeTriggerBodySchema: z.ZodObject<{
@@ -7053,7 +7200,6 @@ declare const InitializeTriggerBodySchema: z.ZodObject<{
7053
7200
  type InitializeTriggerBody = z.infer<typeof InitializeTriggerBodySchema>;
7054
7201
  declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
7055
7202
  id: z.ZodString;
7056
- accountId: z.ZodOptional<z.ZodString>;
7057
7203
  type: z.ZodLiteral<"interval">;
7058
7204
  options: z.ZodObject<{
7059
7205
  seconds: z.ZodNumber;
@@ -7062,6 +7208,7 @@ declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
7062
7208
  }, {
7063
7209
  seconds: number;
7064
7210
  }>;
7211
+ accountId: z.ZodOptional<z.ZodString>;
7065
7212
  metadata: z.ZodAny;
7066
7213
  }, "strip", z.ZodTypeAny, {
7067
7214
  options: {
@@ -7083,7 +7230,6 @@ declare const RegisterIntervalScheduleBodySchema: z.ZodObject<{
7083
7230
  type RegisterIntervalScheduleBody = z.infer<typeof RegisterIntervalScheduleBodySchema>;
7084
7231
  declare const InitializeCronScheduleBodySchema: z.ZodObject<{
7085
7232
  id: z.ZodString;
7086
- accountId: z.ZodOptional<z.ZodString>;
7087
7233
  type: z.ZodLiteral<"cron">;
7088
7234
  options: z.ZodObject<{
7089
7235
  cron: z.ZodString;
@@ -7092,6 +7238,7 @@ declare const InitializeCronScheduleBodySchema: z.ZodObject<{
7092
7238
  }, {
7093
7239
  cron: string;
7094
7240
  }>;
7241
+ accountId: z.ZodOptional<z.ZodString>;
7095
7242
  metadata: z.ZodAny;
7096
7243
  }, "strip", z.ZodTypeAny, {
7097
7244
  options: {
@@ -7113,7 +7260,6 @@ declare const InitializeCronScheduleBodySchema: z.ZodObject<{
7113
7260
  type RegisterCronScheduleBody = z.infer<typeof InitializeCronScheduleBodySchema>;
7114
7261
  declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7115
7262
  id: z.ZodString;
7116
- accountId: z.ZodOptional<z.ZodString>;
7117
7263
  type: z.ZodLiteral<"interval">;
7118
7264
  options: z.ZodObject<{
7119
7265
  seconds: z.ZodNumber;
@@ -7122,6 +7268,7 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
7122
7268
  }, {
7123
7269
  seconds: number;
7124
7270
  }>;
7271
+ accountId: z.ZodOptional<z.ZodString>;
7125
7272
  metadata: z.ZodAny;
7126
7273
  }, "strip", z.ZodTypeAny, {
7127
7274
  options: {
@@ -7141,7 +7288,6 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
7141
7288
  metadata?: any;
7142
7289
  }>, z.ZodObject<{
7143
7290
  id: z.ZodString;
7144
- accountId: z.ZodOptional<z.ZodString>;
7145
7291
  type: z.ZodLiteral<"cron">;
7146
7292
  options: z.ZodObject<{
7147
7293
  cron: z.ZodString;
@@ -7150,6 +7296,7 @@ declare const RegisterScheduleBodySchema: z.ZodDiscriminatedUnion<"type", [z.Zod
7150
7296
  }, {
7151
7297
  cron: string;
7152
7298
  }>;
7299
+ accountId: z.ZodOptional<z.ZodString>;
7153
7300
  metadata: z.ZodAny;
7154
7301
  }, "strip", z.ZodTypeAny, {
7155
7302
  options: {
@@ -7180,18 +7327,21 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
7180
7327
  }, {
7181
7328
  seconds: number;
7182
7329
  }>;
7330
+ accountId: z.ZodOptional<z.ZodString>;
7183
7331
  metadata: z.ZodAny;
7184
7332
  }, "strip", z.ZodTypeAny, {
7185
7333
  options: {
7186
7334
  seconds: number;
7187
7335
  };
7188
7336
  type: "interval";
7337
+ accountId?: string | undefined;
7189
7338
  metadata?: any;
7190
7339
  }, {
7191
7340
  options: {
7192
7341
  seconds: number;
7193
7342
  };
7194
7343
  type: "interval";
7344
+ accountId?: string | undefined;
7195
7345
  metadata?: any;
7196
7346
  }>, z.ZodObject<{
7197
7347
  type: z.ZodLiteral<"cron">;
@@ -7202,18 +7352,21 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
7202
7352
  }, {
7203
7353
  cron: string;
7204
7354
  }>;
7355
+ accountId: z.ZodOptional<z.ZodString>;
7205
7356
  metadata: z.ZodAny;
7206
7357
  }, "strip", z.ZodTypeAny, {
7207
7358
  options: {
7208
7359
  cron: string;
7209
7360
  };
7210
7361
  type: "cron";
7362
+ accountId?: string | undefined;
7211
7363
  metadata?: any;
7212
7364
  }, {
7213
7365
  options: {
7214
7366
  cron: string;
7215
7367
  };
7216
7368
  type: "cron";
7369
+ accountId?: string | undefined;
7217
7370
  metadata?: any;
7218
7371
  }>]>;
7219
7372
  metadata: z.ZodAny;
@@ -7225,12 +7378,14 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
7225
7378
  cron: string;
7226
7379
  };
7227
7380
  type: "cron";
7381
+ accountId?: string | undefined;
7228
7382
  metadata?: any;
7229
7383
  } | {
7230
7384
  options: {
7231
7385
  seconds: number;
7232
7386
  };
7233
7387
  type: "interval";
7388
+ accountId?: string | undefined;
7234
7389
  metadata?: any;
7235
7390
  };
7236
7391
  active: boolean;
@@ -7242,12 +7397,14 @@ declare const RegisterScheduleResponseBodySchema: z.ZodObject<{
7242
7397
  cron: string;
7243
7398
  };
7244
7399
  type: "cron";
7400
+ accountId?: string | undefined;
7245
7401
  metadata?: any;
7246
7402
  } | {
7247
7403
  options: {
7248
7404
  seconds: number;
7249
7405
  };
7250
7406
  type: "interval";
7407
+ accountId?: string | undefined;
7251
7408
  metadata?: any;
7252
7409
  };
7253
7410
  active: boolean;
@@ -7271,6 +7428,95 @@ declare const CreateExternalConnectionBodySchema: z.ZodObject<{
7271
7428
  metadata?: any;
7272
7429
  }>;
7273
7430
  type CreateExternalConnectionBody = z.infer<typeof CreateExternalConnectionBodySchema>;
7431
+ declare const GetRunStatusesSchema: z.ZodObject<{
7432
+ run: z.ZodObject<{
7433
+ id: z.ZodString;
7434
+ 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">]>;
7435
+ output: z.ZodOptional<z.ZodAny>;
7436
+ }, "strip", z.ZodTypeAny, {
7437
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
7438
+ id: string;
7439
+ output?: any;
7440
+ }, {
7441
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
7442
+ id: string;
7443
+ output?: any;
7444
+ }>;
7445
+ statuses: z.ZodArray<z.ZodObject<{
7446
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
7447
+ label: z.ZodString;
7448
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
7449
+ key: z.ZodString;
7450
+ history: z.ZodArray<z.ZodObject<{
7451
+ label: z.ZodOptional<z.ZodString>;
7452
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
7453
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
7454
+ }, "strip", z.ZodTypeAny, {
7455
+ label?: string | undefined;
7456
+ state?: "loading" | "success" | "failure" | undefined;
7457
+ data?: Record<string, SerializableJson> | undefined;
7458
+ }, {
7459
+ label?: string | undefined;
7460
+ state?: "loading" | "success" | "failure" | undefined;
7461
+ data?: Record<string, SerializableJson> | undefined;
7462
+ }>, "many">;
7463
+ }, "strip", z.ZodTypeAny, {
7464
+ key: string;
7465
+ label: string;
7466
+ history: {
7467
+ label?: string | undefined;
7468
+ state?: "loading" | "success" | "failure" | undefined;
7469
+ data?: Record<string, SerializableJson> | undefined;
7470
+ }[];
7471
+ data?: Record<string, SerializableJson> | undefined;
7472
+ state?: "loading" | "success" | "failure" | undefined;
7473
+ }, {
7474
+ key: string;
7475
+ label: string;
7476
+ history: {
7477
+ label?: string | undefined;
7478
+ state?: "loading" | "success" | "failure" | undefined;
7479
+ data?: Record<string, SerializableJson> | undefined;
7480
+ }[];
7481
+ data?: Record<string, SerializableJson> | undefined;
7482
+ state?: "loading" | "success" | "failure" | undefined;
7483
+ }>, "many">;
7484
+ }, "strip", z.ZodTypeAny, {
7485
+ statuses: {
7486
+ key: string;
7487
+ label: string;
7488
+ history: {
7489
+ label?: string | undefined;
7490
+ state?: "loading" | "success" | "failure" | undefined;
7491
+ data?: Record<string, SerializableJson> | undefined;
7492
+ }[];
7493
+ data?: Record<string, SerializableJson> | undefined;
7494
+ state?: "loading" | "success" | "failure" | undefined;
7495
+ }[];
7496
+ run: {
7497
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
7498
+ id: string;
7499
+ output?: any;
7500
+ };
7501
+ }, {
7502
+ statuses: {
7503
+ key: string;
7504
+ label: string;
7505
+ history: {
7506
+ label?: string | undefined;
7507
+ state?: "loading" | "success" | "failure" | undefined;
7508
+ data?: Record<string, SerializableJson> | undefined;
7509
+ }[];
7510
+ data?: Record<string, SerializableJson> | undefined;
7511
+ state?: "loading" | "success" | "failure" | undefined;
7512
+ }[];
7513
+ run: {
7514
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
7515
+ id: string;
7516
+ output?: any;
7517
+ };
7518
+ }>;
7519
+ type GetRunStatuses = z.infer<typeof GetRunStatusesSchema>;
7274
7520
 
7275
7521
  declare const EventExampleSchema: z.ZodObject<{
7276
7522
  id: z.ZodString;
@@ -7444,18 +7690,21 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
7444
7690
  }, {
7445
7691
  seconds: number;
7446
7692
  }>;
7693
+ accountId: z.ZodOptional<z.ZodString>;
7447
7694
  metadata: z.ZodAny;
7448
7695
  }, "strip", z.ZodTypeAny, {
7449
7696
  options: {
7450
7697
  seconds: number;
7451
7698
  };
7452
7699
  type: "interval";
7700
+ accountId?: string | undefined;
7453
7701
  metadata?: any;
7454
7702
  }, {
7455
7703
  options: {
7456
7704
  seconds: number;
7457
7705
  };
7458
7706
  type: "interval";
7707
+ accountId?: string | undefined;
7459
7708
  metadata?: any;
7460
7709
  }>, z.ZodObject<{
7461
7710
  type: z.ZodLiteral<"cron">;
@@ -7466,18 +7715,21 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
7466
7715
  }, {
7467
7716
  cron: string;
7468
7717
  }>;
7718
+ accountId: z.ZodOptional<z.ZodString>;
7469
7719
  metadata: z.ZodAny;
7470
7720
  }, "strip", z.ZodTypeAny, {
7471
7721
  options: {
7472
7722
  cron: string;
7473
7723
  };
7474
7724
  type: "cron";
7725
+ accountId?: string | undefined;
7475
7726
  metadata?: any;
7476
7727
  }, {
7477
7728
  options: {
7478
7729
  cron: string;
7479
7730
  };
7480
7731
  type: "cron";
7732
+ accountId?: string | undefined;
7481
7733
  metadata?: any;
7482
7734
  }>]>;
7483
7735
  }, "strip", z.ZodTypeAny, {
@@ -7487,12 +7739,14 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
7487
7739
  cron: string;
7488
7740
  };
7489
7741
  type: "cron";
7742
+ accountId?: string | undefined;
7490
7743
  metadata?: any;
7491
7744
  } | {
7492
7745
  options: {
7493
7746
  seconds: number;
7494
7747
  };
7495
7748
  type: "interval";
7749
+ accountId?: string | undefined;
7496
7750
  metadata?: any;
7497
7751
  };
7498
7752
  }, {
@@ -7502,12 +7756,14 @@ declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
7502
7756
  cron: string;
7503
7757
  };
7504
7758
  type: "cron";
7759
+ accountId?: string | undefined;
7505
7760
  metadata?: any;
7506
7761
  } | {
7507
7762
  options: {
7508
7763
  seconds: number;
7509
7764
  };
7510
7765
  type: "interval";
7766
+ accountId?: string | undefined;
7511
7767
  metadata?: any;
7512
7768
  };
7513
7769
  }>;
@@ -7591,18 +7847,21 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7591
7847
  }, {
7592
7848
  seconds: number;
7593
7849
  }>;
7850
+ accountId: z.ZodOptional<z.ZodString>;
7594
7851
  metadata: z.ZodAny;
7595
7852
  }, "strip", z.ZodTypeAny, {
7596
7853
  options: {
7597
7854
  seconds: number;
7598
7855
  };
7599
7856
  type: "interval";
7857
+ accountId?: string | undefined;
7600
7858
  metadata?: any;
7601
7859
  }, {
7602
7860
  options: {
7603
7861
  seconds: number;
7604
7862
  };
7605
7863
  type: "interval";
7864
+ accountId?: string | undefined;
7606
7865
  metadata?: any;
7607
7866
  }>, z.ZodObject<{
7608
7867
  type: z.ZodLiteral<"cron">;
@@ -7613,18 +7872,21 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7613
7872
  }, {
7614
7873
  cron: string;
7615
7874
  }>;
7875
+ accountId: z.ZodOptional<z.ZodString>;
7616
7876
  metadata: z.ZodAny;
7617
7877
  }, "strip", z.ZodTypeAny, {
7618
7878
  options: {
7619
7879
  cron: string;
7620
7880
  };
7621
7881
  type: "cron";
7882
+ accountId?: string | undefined;
7622
7883
  metadata?: any;
7623
7884
  }, {
7624
7885
  options: {
7625
7886
  cron: string;
7626
7887
  };
7627
7888
  type: "cron";
7889
+ accountId?: string | undefined;
7628
7890
  metadata?: any;
7629
7891
  }>]>;
7630
7892
  }, "strip", z.ZodTypeAny, {
@@ -7634,12 +7896,14 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7634
7896
  cron: string;
7635
7897
  };
7636
7898
  type: "cron";
7899
+ accountId?: string | undefined;
7637
7900
  metadata?: any;
7638
7901
  } | {
7639
7902
  options: {
7640
7903
  seconds: number;
7641
7904
  };
7642
7905
  type: "interval";
7906
+ accountId?: string | undefined;
7643
7907
  metadata?: any;
7644
7908
  };
7645
7909
  }, {
@@ -7649,12 +7913,14 @@ declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7649
7913
  cron: string;
7650
7914
  };
7651
7915
  type: "cron";
7916
+ accountId?: string | undefined;
7652
7917
  metadata?: any;
7653
7918
  } | {
7654
7919
  options: {
7655
7920
  seconds: number;
7656
7921
  };
7657
7922
  type: "interval";
7923
+ accountId?: string | undefined;
7658
7924
  metadata?: any;
7659
7925
  };
7660
7926
  }>]>;
@@ -7725,17 +7991,17 @@ type Style = z.infer<typeof StyleSchema>;
7725
7991
  type StyleName = Style["style"];
7726
7992
 
7727
7993
  declare const ConnectionAuthSchema: z.ZodObject<{
7728
- type: z.ZodEnum<["oauth2"]>;
7994
+ type: z.ZodEnum<["oauth2", "apiKey"]>;
7729
7995
  accessToken: z.ZodString;
7730
7996
  scopes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7731
7997
  additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7732
7998
  }, "strip", z.ZodTypeAny, {
7733
- type: "oauth2";
7999
+ type: "oauth2" | "apiKey";
7734
8000
  accessToken: string;
7735
8001
  scopes?: string[] | undefined;
7736
8002
  additionalFields?: Record<string, string> | undefined;
7737
8003
  }, {
7738
- type: "oauth2";
8004
+ type: "oauth2" | "apiKey";
7739
8005
  accessToken: string;
7740
8006
  scopes?: string[] | undefined;
7741
8007
  additionalFields?: Record<string, string> | undefined;
@@ -7770,7 +8036,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
7770
8036
  id: string;
7771
8037
  instructions?: string | undefined;
7772
8038
  }>;
7773
- authSource: z.ZodEnum<["HOSTED", "LOCAL"]>;
8039
+ authSource: z.ZodEnum<["HOSTED", "LOCAL", "RESOLVER"]>;
7774
8040
  }, "strip", z.ZodTypeAny, {
7775
8041
  id: string;
7776
8042
  metadata: {
@@ -7778,7 +8044,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
7778
8044
  id: string;
7779
8045
  instructions?: string | undefined;
7780
8046
  };
7781
- authSource: "HOSTED" | "LOCAL";
8047
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
7782
8048
  }, {
7783
8049
  id: string;
7784
8050
  metadata: {
@@ -7786,7 +8052,7 @@ declare const IntegrationConfigSchema: z.ZodObject<{
7786
8052
  id: string;
7787
8053
  instructions?: string | undefined;
7788
8054
  };
7789
- authSource: "HOSTED" | "LOCAL";
8055
+ authSource: "HOSTED" | "LOCAL" | "RESOLVER";
7790
8056
  }>;
7791
8057
  type IntegrationConfig = z.infer<typeof IntegrationConfigSchema>;
7792
8058
 
@@ -7836,18 +8102,22 @@ declare const CronMetadataSchema: z.ZodObject<{
7836
8102
  }, {
7837
8103
  cron: string;
7838
8104
  }>;
8105
+ /** An optional Account ID to associate with runs triggered by this interval */
8106
+ accountId: z.ZodOptional<z.ZodString>;
7839
8107
  metadata: z.ZodAny;
7840
8108
  }, "strip", z.ZodTypeAny, {
7841
8109
  options: {
7842
8110
  cron: string;
7843
8111
  };
7844
8112
  type: "cron";
8113
+ accountId?: string | undefined;
7845
8114
  metadata?: any;
7846
8115
  }, {
7847
8116
  options: {
7848
8117
  cron: string;
7849
8118
  };
7850
8119
  type: "cron";
8120
+ accountId?: string | undefined;
7851
8121
  metadata?: any;
7852
8122
  }>;
7853
8123
  type CronMetadata = z.infer<typeof CronMetadataSchema>;
@@ -7863,6 +8133,8 @@ declare const IntervalMetadataSchema: z.ZodObject<{
7863
8133
  }, {
7864
8134
  seconds: number;
7865
8135
  }>;
8136
+ /** An optional Account ID to associate with runs triggered by this interval */
8137
+ accountId: z.ZodOptional<z.ZodString>;
7866
8138
  /** Any additional metadata about the schedule. */
7867
8139
  metadata: z.ZodAny;
7868
8140
  }, "strip", z.ZodTypeAny, {
@@ -7870,12 +8142,14 @@ declare const IntervalMetadataSchema: z.ZodObject<{
7870
8142
  seconds: number;
7871
8143
  };
7872
8144
  type: "interval";
8145
+ accountId?: string | undefined;
7873
8146
  metadata?: any;
7874
8147
  }, {
7875
8148
  options: {
7876
8149
  seconds: number;
7877
8150
  };
7878
8151
  type: "interval";
8152
+ accountId?: string | undefined;
7879
8153
  metadata?: any;
7880
8154
  }>;
7881
8155
  type IntervalMetadata = z.infer<typeof IntervalMetadataSchema>;
@@ -7891,6 +8165,8 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
7891
8165
  }, {
7892
8166
  seconds: number;
7893
8167
  }>;
8168
+ /** An optional Account ID to associate with runs triggered by this interval */
8169
+ accountId: z.ZodOptional<z.ZodString>;
7894
8170
  /** Any additional metadata about the schedule. */
7895
8171
  metadata: z.ZodAny;
7896
8172
  }, "strip", z.ZodTypeAny, {
@@ -7898,12 +8174,14 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
7898
8174
  seconds: number;
7899
8175
  };
7900
8176
  type: "interval";
8177
+ accountId?: string | undefined;
7901
8178
  metadata?: any;
7902
8179
  }, {
7903
8180
  options: {
7904
8181
  seconds: number;
7905
8182
  };
7906
8183
  type: "interval";
8184
+ accountId?: string | undefined;
7907
8185
  metadata?: any;
7908
8186
  }>, z.ZodObject<{
7909
8187
  type: z.ZodLiteral<"cron">;
@@ -7917,18 +8195,22 @@ declare const ScheduleMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
7917
8195
  }, {
7918
8196
  cron: string;
7919
8197
  }>;
8198
+ /** An optional Account ID to associate with runs triggered by this interval */
8199
+ accountId: z.ZodOptional<z.ZodString>;
7920
8200
  metadata: z.ZodAny;
7921
8201
  }, "strip", z.ZodTypeAny, {
7922
8202
  options: {
7923
8203
  cron: string;
7924
8204
  };
7925
8205
  type: "cron";
8206
+ accountId?: string | undefined;
7926
8207
  metadata?: any;
7927
8208
  }, {
7928
8209
  options: {
7929
8210
  cron: string;
7930
8211
  };
7931
8212
  type: "cron";
8213
+ accountId?: string | undefined;
7932
8214
  metadata?: any;
7933
8215
  }>]>;
7934
8216
  type ScheduleMetadata = z.infer<typeof ScheduleMetadataSchema>;
@@ -7973,14 +8255,14 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
7973
8255
  scopes: string[];
7974
8256
  id: string;
7975
8257
  title: string;
7976
- createdAt: Date;
7977
8258
  updatedAt: Date;
8259
+ createdAt: Date;
7978
8260
  }, {
7979
8261
  scopes: string[];
7980
8262
  id: string;
7981
8263
  title: string;
7982
- createdAt: Date;
7983
8264
  updatedAt: Date;
8265
+ createdAt: Date;
7984
8266
  }>;
7985
8267
  authorizationUrl: z.ZodString;
7986
8268
  }, "strip", z.ZodTypeAny, {
@@ -7989,8 +8271,8 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
7989
8271
  scopes: string[];
7990
8272
  id: string;
7991
8273
  title: string;
7992
- createdAt: Date;
7993
8274
  updatedAt: Date;
8275
+ createdAt: Date;
7994
8276
  };
7995
8277
  authorizationUrl: string;
7996
8278
  }, {
@@ -7999,8 +8281,8 @@ declare const CommonMissingConnectionNotificationPayloadSchema: z.ZodObject<{
7999
8281
  scopes: string[];
8000
8282
  id: string;
8001
8283
  title: string;
8002
- createdAt: Date;
8003
8284
  updatedAt: Date;
8285
+ createdAt: Date;
8004
8286
  };
8005
8287
  authorizationUrl: string;
8006
8288
  }>;
@@ -8016,14 +8298,14 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
8016
8298
  scopes: string[];
8017
8299
  id: string;
8018
8300
  title: string;
8019
- createdAt: Date;
8020
8301
  updatedAt: Date;
8302
+ createdAt: Date;
8021
8303
  }, {
8022
8304
  scopes: string[];
8023
8305
  id: string;
8024
8306
  title: string;
8025
- createdAt: Date;
8026
8307
  updatedAt: Date;
8308
+ createdAt: Date;
8027
8309
  }>;
8028
8310
  authorizationUrl: z.ZodString;
8029
8311
  type: z.ZodLiteral<"DEVELOPER">;
@@ -8034,8 +8316,8 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
8034
8316
  scopes: string[];
8035
8317
  id: string;
8036
8318
  title: string;
8037
- createdAt: Date;
8038
8319
  updatedAt: Date;
8320
+ createdAt: Date;
8039
8321
  };
8040
8322
  authorizationUrl: string;
8041
8323
  }, {
@@ -8045,8 +8327,8 @@ declare const MissingDeveloperConnectionNotificationPayloadSchema: z.ZodObject<{
8045
8327
  scopes: string[];
8046
8328
  id: string;
8047
8329
  title: string;
8048
- createdAt: Date;
8049
8330
  updatedAt: Date;
8331
+ createdAt: Date;
8050
8332
  };
8051
8333
  authorizationUrl: string;
8052
8334
  }>;
@@ -8062,14 +8344,14 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
8062
8344
  scopes: string[];
8063
8345
  id: string;
8064
8346
  title: string;
8065
- createdAt: Date;
8066
8347
  updatedAt: Date;
8348
+ createdAt: Date;
8067
8349
  }, {
8068
8350
  scopes: string[];
8069
8351
  id: string;
8070
8352
  title: string;
8071
- createdAt: Date;
8072
8353
  updatedAt: Date;
8354
+ createdAt: Date;
8073
8355
  }>;
8074
8356
  authorizationUrl: z.ZodString;
8075
8357
  type: z.ZodLiteral<"EXTERNAL">;
@@ -8094,8 +8376,8 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
8094
8376
  scopes: string[];
8095
8377
  id: string;
8096
8378
  title: string;
8097
- createdAt: Date;
8098
8379
  updatedAt: Date;
8380
+ createdAt: Date;
8099
8381
  };
8100
8382
  authorizationUrl: string;
8101
8383
  }, {
@@ -8109,8 +8391,8 @@ declare const MissingExternalConnectionNotificationPayloadSchema: z.ZodObject<{
8109
8391
  scopes: string[];
8110
8392
  id: string;
8111
8393
  title: string;
8112
- createdAt: Date;
8113
8394
  updatedAt: Date;
8395
+ createdAt: Date;
8114
8396
  };
8115
8397
  authorizationUrl: string;
8116
8398
  }>;
@@ -8126,14 +8408,14 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8126
8408
  scopes: string[];
8127
8409
  id: string;
8128
8410
  title: string;
8129
- createdAt: Date;
8130
8411
  updatedAt: Date;
8412
+ createdAt: Date;
8131
8413
  }, {
8132
8414
  scopes: string[];
8133
8415
  id: string;
8134
8416
  title: string;
8135
- createdAt: Date;
8136
8417
  updatedAt: Date;
8418
+ createdAt: Date;
8137
8419
  }>;
8138
8420
  authorizationUrl: z.ZodString;
8139
8421
  type: z.ZodLiteral<"DEVELOPER">;
@@ -8144,8 +8426,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8144
8426
  scopes: string[];
8145
8427
  id: string;
8146
8428
  title: string;
8147
- createdAt: Date;
8148
8429
  updatedAt: Date;
8430
+ createdAt: Date;
8149
8431
  };
8150
8432
  authorizationUrl: string;
8151
8433
  }, {
@@ -8155,8 +8437,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8155
8437
  scopes: string[];
8156
8438
  id: string;
8157
8439
  title: string;
8158
- createdAt: Date;
8159
8440
  updatedAt: Date;
8441
+ createdAt: Date;
8160
8442
  };
8161
8443
  authorizationUrl: string;
8162
8444
  }>, z.ZodObject<{
@@ -8171,14 +8453,14 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8171
8453
  scopes: string[];
8172
8454
  id: string;
8173
8455
  title: string;
8174
- createdAt: Date;
8175
8456
  updatedAt: Date;
8457
+ createdAt: Date;
8176
8458
  }, {
8177
8459
  scopes: string[];
8178
8460
  id: string;
8179
8461
  title: string;
8180
- createdAt: Date;
8181
8462
  updatedAt: Date;
8463
+ createdAt: Date;
8182
8464
  }>;
8183
8465
  authorizationUrl: z.ZodString;
8184
8466
  type: z.ZodLiteral<"EXTERNAL">;
@@ -8203,8 +8485,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8203
8485
  scopes: string[];
8204
8486
  id: string;
8205
8487
  title: string;
8206
- createdAt: Date;
8207
8488
  updatedAt: Date;
8489
+ createdAt: Date;
8208
8490
  };
8209
8491
  authorizationUrl: string;
8210
8492
  }, {
@@ -8218,8 +8500,8 @@ declare const MissingConnectionNotificationPayloadSchema: z.ZodDiscriminatedUnio
8218
8500
  scopes: string[];
8219
8501
  id: string;
8220
8502
  title: string;
8221
- createdAt: Date;
8222
8503
  updatedAt: Date;
8504
+ createdAt: Date;
8223
8505
  };
8224
8506
  authorizationUrl: string;
8225
8507
  }>]>;
@@ -8238,16 +8520,16 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
8238
8520
  scopes: string[];
8239
8521
  id: string;
8240
8522
  title: string;
8241
- createdAt: Date;
8242
8523
  updatedAt: Date;
8524
+ createdAt: Date;
8243
8525
  integrationIdentifier: string;
8244
8526
  integrationAuthMethod: string;
8245
8527
  }, {
8246
8528
  scopes: string[];
8247
8529
  id: string;
8248
8530
  title: string;
8249
- createdAt: Date;
8250
8531
  updatedAt: Date;
8532
+ createdAt: Date;
8251
8533
  integrationIdentifier: string;
8252
8534
  integrationAuthMethod: string;
8253
8535
  }>;
@@ -8258,8 +8540,8 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
8258
8540
  scopes: string[];
8259
8541
  id: string;
8260
8542
  title: string;
8261
- createdAt: Date;
8262
8543
  updatedAt: Date;
8544
+ createdAt: Date;
8263
8545
  integrationIdentifier: string;
8264
8546
  integrationAuthMethod: string;
8265
8547
  };
@@ -8270,8 +8552,8 @@ declare const CommonMissingConnectionNotificationResolvedPayloadSchema: z.ZodObj
8270
8552
  scopes: string[];
8271
8553
  id: string;
8272
8554
  title: string;
8273
- createdAt: Date;
8274
8555
  updatedAt: Date;
8556
+ createdAt: Date;
8275
8557
  integrationIdentifier: string;
8276
8558
  integrationAuthMethod: string;
8277
8559
  };
@@ -8291,16 +8573,16 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
8291
8573
  scopes: string[];
8292
8574
  id: string;
8293
8575
  title: string;
8294
- createdAt: Date;
8295
8576
  updatedAt: Date;
8577
+ createdAt: Date;
8296
8578
  integrationIdentifier: string;
8297
8579
  integrationAuthMethod: string;
8298
8580
  }, {
8299
8581
  scopes: string[];
8300
8582
  id: string;
8301
8583
  title: string;
8302
- createdAt: Date;
8303
8584
  updatedAt: Date;
8585
+ createdAt: Date;
8304
8586
  integrationIdentifier: string;
8305
8587
  integrationAuthMethod: string;
8306
8588
  }>;
@@ -8313,8 +8595,8 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
8313
8595
  scopes: string[];
8314
8596
  id: string;
8315
8597
  title: string;
8316
- createdAt: Date;
8317
8598
  updatedAt: Date;
8599
+ createdAt: Date;
8318
8600
  integrationIdentifier: string;
8319
8601
  integrationAuthMethod: string;
8320
8602
  };
@@ -8326,8 +8608,8 @@ declare const MissingDeveloperConnectionResolvedNotificationPayloadSchema: z.Zod
8326
8608
  scopes: string[];
8327
8609
  id: string;
8328
8610
  title: string;
8329
- createdAt: Date;
8330
8611
  updatedAt: Date;
8612
+ createdAt: Date;
8331
8613
  integrationIdentifier: string;
8332
8614
  integrationAuthMethod: string;
8333
8615
  };
@@ -8347,16 +8629,16 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
8347
8629
  scopes: string[];
8348
8630
  id: string;
8349
8631
  title: string;
8350
- createdAt: Date;
8351
8632
  updatedAt: Date;
8633
+ createdAt: Date;
8352
8634
  integrationIdentifier: string;
8353
8635
  integrationAuthMethod: string;
8354
8636
  }, {
8355
8637
  scopes: string[];
8356
8638
  id: string;
8357
8639
  title: string;
8358
- createdAt: Date;
8359
8640
  updatedAt: Date;
8641
+ createdAt: Date;
8360
8642
  integrationIdentifier: string;
8361
8643
  integrationAuthMethod: string;
8362
8644
  }>;
@@ -8383,8 +8665,8 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
8383
8665
  scopes: string[];
8384
8666
  id: string;
8385
8667
  title: string;
8386
- createdAt: Date;
8387
8668
  updatedAt: Date;
8669
+ createdAt: Date;
8388
8670
  integrationIdentifier: string;
8389
8671
  integrationAuthMethod: string;
8390
8672
  };
@@ -8400,8 +8682,8 @@ declare const MissingExternalConnectionResolvedNotificationPayloadSchema: z.ZodO
8400
8682
  scopes: string[];
8401
8683
  id: string;
8402
8684
  title: string;
8403
- createdAt: Date;
8404
8685
  updatedAt: Date;
8686
+ createdAt: Date;
8405
8687
  integrationIdentifier: string;
8406
8688
  integrationAuthMethod: string;
8407
8689
  };
@@ -8421,16 +8703,16 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8421
8703
  scopes: string[];
8422
8704
  id: string;
8423
8705
  title: string;
8424
- createdAt: Date;
8425
8706
  updatedAt: Date;
8707
+ createdAt: Date;
8426
8708
  integrationIdentifier: string;
8427
8709
  integrationAuthMethod: string;
8428
8710
  }, {
8429
8711
  scopes: string[];
8430
8712
  id: string;
8431
8713
  title: string;
8432
- createdAt: Date;
8433
8714
  updatedAt: Date;
8715
+ createdAt: Date;
8434
8716
  integrationIdentifier: string;
8435
8717
  integrationAuthMethod: string;
8436
8718
  }>;
@@ -8443,8 +8725,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8443
8725
  scopes: string[];
8444
8726
  id: string;
8445
8727
  title: string;
8446
- createdAt: Date;
8447
8728
  updatedAt: Date;
8729
+ createdAt: Date;
8448
8730
  integrationIdentifier: string;
8449
8731
  integrationAuthMethod: string;
8450
8732
  };
@@ -8456,8 +8738,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8456
8738
  scopes: string[];
8457
8739
  id: string;
8458
8740
  title: string;
8459
- createdAt: Date;
8460
8741
  updatedAt: Date;
8742
+ createdAt: Date;
8461
8743
  integrationIdentifier: string;
8462
8744
  integrationAuthMethod: string;
8463
8745
  };
@@ -8476,16 +8758,16 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8476
8758
  scopes: string[];
8477
8759
  id: string;
8478
8760
  title: string;
8479
- createdAt: Date;
8480
8761
  updatedAt: Date;
8762
+ createdAt: Date;
8481
8763
  integrationIdentifier: string;
8482
8764
  integrationAuthMethod: string;
8483
8765
  }, {
8484
8766
  scopes: string[];
8485
8767
  id: string;
8486
8768
  title: string;
8487
- createdAt: Date;
8488
8769
  updatedAt: Date;
8770
+ createdAt: Date;
8489
8771
  integrationIdentifier: string;
8490
8772
  integrationAuthMethod: string;
8491
8773
  }>;
@@ -8512,8 +8794,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8512
8794
  scopes: string[];
8513
8795
  id: string;
8514
8796
  title: string;
8515
- createdAt: Date;
8516
8797
  updatedAt: Date;
8798
+ createdAt: Date;
8517
8799
  integrationIdentifier: string;
8518
8800
  integrationAuthMethod: string;
8519
8801
  };
@@ -8529,8 +8811,8 @@ declare const MissingConnectionResolvedNotificationPayloadSchema: z.ZodDiscrimin
8529
8811
  scopes: string[];
8530
8812
  id: string;
8531
8813
  title: string;
8532
- createdAt: Date;
8533
8814
  updatedAt: Date;
8815
+ createdAt: Date;
8534
8816
  integrationIdentifier: string;
8535
8817
  integrationAuthMethod: string;
8536
8818
  };
@@ -8856,18 +9138,18 @@ declare const GetEventSchema: z.ZodObject<{
8856
9138
  /** The Run id */
8857
9139
  id: z.ZodString;
8858
9140
  /** 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">]>;
9141
+ 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">]>;
8860
9142
  /** When the run started */
8861
9143
  startedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
8862
9144
  /** When the run completed */
8863
9145
  completedAt: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
8864
9146
  }, "strip", z.ZodTypeAny, {
8865
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9147
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
8866
9148
  id: string;
8867
9149
  startedAt?: Date | null | undefined;
8868
9150
  completedAt?: Date | null | undefined;
8869
9151
  }, {
8870
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9152
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
8871
9153
  id: string;
8872
9154
  startedAt?: Date | null | undefined;
8873
9155
  completedAt?: Date | null | undefined;
@@ -8875,30 +9157,30 @@ declare const GetEventSchema: z.ZodObject<{
8875
9157
  }, "strip", z.ZodTypeAny, {
8876
9158
  name: string;
8877
9159
  id: string;
8878
- createdAt: Date;
8879
9160
  updatedAt: Date;
8880
9161
  runs: {
8881
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9162
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
8882
9163
  id: string;
8883
9164
  startedAt?: Date | null | undefined;
8884
9165
  completedAt?: Date | null | undefined;
8885
9166
  }[];
9167
+ createdAt: Date;
8886
9168
  }, {
8887
9169
  name: string;
8888
9170
  id: string;
8889
- createdAt: Date;
8890
9171
  updatedAt: Date;
8891
9172
  runs: {
8892
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9173
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
8893
9174
  id: string;
8894
9175
  startedAt?: Date | null | undefined;
8895
9176
  completedAt?: Date | null | undefined;
8896
9177
  }[];
9178
+ createdAt: Date;
8897
9179
  }>;
8898
9180
  type GetEvent = z.infer<typeof GetEventSchema>;
8899
9181
 
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<{
9182
+ 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">]>;
9183
+ declare const RunTaskSchema: z.ZodObject<{
8902
9184
  /** The Task id */
8903
9185
  id: z.ZodString;
8904
9186
  /** The key that you defined when creating the Task, the first param in any task. */
@@ -8936,7 +9218,7 @@ type RunTaskWithSubtasks = z.infer<typeof RunTaskSchema> & {
8936
9218
  /** The subtasks of the task */
8937
9219
  subtasks?: RunTaskWithSubtasks[];
8938
9220
  };
8939
- declare const GetRunOptionsSchema: ZodObject<{
9221
+ declare const GetRunOptionsSchema: z.ZodObject<{
8940
9222
  /** Return subtasks, which appear in a `subtasks` array on a task. @default false */
8941
9223
  subtasks: z.ZodOptional<z.ZodBoolean>;
8942
9224
  /** You can use this to get more tasks, if there are more than are returned in a single batch @default undefined */
@@ -8953,7 +9235,7 @@ declare const GetRunOptionsSchema: ZodObject<{
8953
9235
  take?: number | undefined;
8954
9236
  }>;
8955
9237
  type GetRunOptions = z.infer<typeof GetRunOptionsSchema>;
8956
- declare const GetRunOptionsWithTaskDetailsSchema: ZodObject<{
9238
+ declare const GetRunOptionsWithTaskDetailsSchema: z.ZodObject<{
8957
9239
  subtasks: z.ZodOptional<z.ZodBoolean>;
8958
9240
  cursor: z.ZodOptional<z.ZodString>;
8959
9241
  take: z.ZodOptional<z.ZodNumber>;
@@ -8970,36 +9252,97 @@ declare const GetRunOptionsWithTaskDetailsSchema: ZodObject<{
8970
9252
  taskdetails?: boolean | undefined;
8971
9253
  }>;
8972
9254
  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">]>;
9255
+ declare const GetRunSchema: z.ZodObject<{
9256
+ 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">]>;
8975
9257
  id: z.ZodString;
8976
9258
  startedAt: z.ZodNullable<z.ZodDate>;
8977
9259
  completedAt: z.ZodNullable<z.ZodDate>;
8978
9260
  updatedAt: z.ZodNullable<z.ZodDate>;
8979
9261
  output: z.ZodOptional<z.ZodAny>;
8980
9262
  tasks: z.ZodArray<z.ZodType<RunTaskWithSubtasks, z.ZodTypeDef, RunTaskWithSubtasks>, "many">;
9263
+ statuses: z.ZodDefault<z.ZodArray<z.ZodObject<{
9264
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9265
+ label: z.ZodString;
9266
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9267
+ key: z.ZodString;
9268
+ history: z.ZodArray<z.ZodObject<{
9269
+ label: z.ZodOptional<z.ZodString>;
9270
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9271
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9272
+ }, "strip", z.ZodTypeAny, {
9273
+ label?: string | undefined;
9274
+ state?: "loading" | "success" | "failure" | undefined;
9275
+ data?: Record<string, SerializableJson> | undefined;
9276
+ }, {
9277
+ label?: string | undefined;
9278
+ state?: "loading" | "success" | "failure" | undefined;
9279
+ data?: Record<string, SerializableJson> | undefined;
9280
+ }>, "many">;
9281
+ }, "strip", z.ZodTypeAny, {
9282
+ key: string;
9283
+ label: string;
9284
+ history: {
9285
+ label?: string | undefined;
9286
+ state?: "loading" | "success" | "failure" | undefined;
9287
+ data?: Record<string, SerializableJson> | undefined;
9288
+ }[];
9289
+ data?: Record<string, SerializableJson> | undefined;
9290
+ state?: "loading" | "success" | "failure" | undefined;
9291
+ }, {
9292
+ key: string;
9293
+ label: string;
9294
+ history: {
9295
+ label?: string | undefined;
9296
+ state?: "loading" | "success" | "failure" | undefined;
9297
+ data?: Record<string, SerializableJson> | undefined;
9298
+ }[];
9299
+ data?: Record<string, SerializableJson> | undefined;
9300
+ state?: "loading" | "success" | "failure" | undefined;
9301
+ }>, "many">>;
8981
9302
  nextCursor: z.ZodOptional<z.ZodString>;
8982
9303
  }, "strip", z.ZodTypeAny, {
8983
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9304
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
8984
9305
  id: string;
8985
9306
  startedAt: Date | null;
8986
9307
  completedAt: Date | null;
8987
- tasks: RunTaskWithSubtasks[];
8988
9308
  updatedAt: Date | null;
9309
+ tasks: RunTaskWithSubtasks[];
9310
+ statuses: {
9311
+ key: string;
9312
+ label: string;
9313
+ history: {
9314
+ label?: string | undefined;
9315
+ state?: "loading" | "success" | "failure" | undefined;
9316
+ data?: Record<string, SerializableJson> | undefined;
9317
+ }[];
9318
+ data?: Record<string, SerializableJson> | undefined;
9319
+ state?: "loading" | "success" | "failure" | undefined;
9320
+ }[];
8989
9321
  output?: any;
8990
9322
  nextCursor?: string | undefined;
8991
9323
  }, {
8992
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9324
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
8993
9325
  id: string;
8994
9326
  startedAt: Date | null;
8995
9327
  completedAt: Date | null;
8996
- tasks: RunTaskWithSubtasks[];
8997
9328
  updatedAt: Date | null;
9329
+ tasks: RunTaskWithSubtasks[];
8998
9330
  output?: any;
9331
+ statuses?: {
9332
+ key: string;
9333
+ label: string;
9334
+ history: {
9335
+ label?: string | undefined;
9336
+ state?: "loading" | "success" | "failure" | undefined;
9337
+ data?: Record<string, SerializableJson> | undefined;
9338
+ }[];
9339
+ data?: Record<string, SerializableJson> | undefined;
9340
+ state?: "loading" | "success" | "failure" | undefined;
9341
+ }[] | undefined;
8999
9342
  nextCursor?: string | undefined;
9000
9343
  }>;
9001
9344
  type GetRun = z.infer<typeof GetRunSchema>;
9002
- declare const GetRunsOptionsSchema: ZodObject<{
9345
+ declare const GetRunsOptionsSchema: z.ZodObject<{
9003
9346
  /** You can use this to get more tasks, if there are more than are returned in a single batch @default undefined */
9004
9347
  cursor: z.ZodOptional<z.ZodString>;
9005
9348
  /** How many runs you want to return in one go, max 50. @default 20 */
@@ -9012,13 +9355,13 @@ declare const GetRunsOptionsSchema: ZodObject<{
9012
9355
  take?: number | undefined;
9013
9356
  }>;
9014
9357
  type GetRunsOptions = z.infer<typeof GetRunsOptionsSchema>;
9015
- declare const GetRunsSchema: ZodObject<{
9358
+ declare const GetRunsSchema: z.ZodObject<{
9016
9359
  /** The runs from the query */
9017
- runs: z.ZodArray<ZodObject<{
9360
+ runs: z.ZodArray<z.ZodObject<{
9018
9361
  /** The Run id */
9019
9362
  id: z.ZodString;
9020
9363
  /** 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">]>;
9364
+ 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">]>;
9022
9365
  /** When the run started */
9023
9366
  startedAt: z.ZodNullable<z.ZodDate>;
9024
9367
  /** When the run was last updated */
@@ -9026,13 +9369,13 @@ declare const GetRunsSchema: ZodObject<{
9026
9369
  /** When the run was completed */
9027
9370
  completedAt: z.ZodNullable<z.ZodDate>;
9028
9371
  }, "strip", z.ZodTypeAny, {
9029
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9372
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
9030
9373
  id: string;
9031
9374
  startedAt: Date | null;
9032
9375
  completedAt: Date | null;
9033
9376
  updatedAt: Date | null;
9034
9377
  }, {
9035
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9378
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
9036
9379
  id: string;
9037
9380
  startedAt: Date | null;
9038
9381
  completedAt: Date | null;
@@ -9042,7 +9385,7 @@ declare const GetRunsSchema: ZodObject<{
9042
9385
  nextCursor: z.ZodOptional<z.ZodString>;
9043
9386
  }, "strip", z.ZodTypeAny, {
9044
9387
  runs: {
9045
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9388
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
9046
9389
  id: string;
9047
9390
  startedAt: Date | null;
9048
9391
  completedAt: Date | null;
@@ -9051,7 +9394,7 @@ declare const GetRunsSchema: ZodObject<{
9051
9394
  nextCursor?: string | undefined;
9052
9395
  }, {
9053
9396
  runs: {
9054
- status: "PENDING" | "CANCELED" | "SUCCESS" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "FAILURE" | "TIMED_OUT" | "ABORTED";
9397
+ status: "PENDING" | "CANCELED" | "QUEUED" | "WAITING_ON_CONNECTIONS" | "PREPROCESSING" | "STARTED" | "SUCCESS" | "FAILURE" | "TIMED_OUT" | "ABORTED" | "UNRESOLVED_AUTH";
9055
9398
  id: string;
9056
9399
  startedAt: Date | null;
9057
9400
  completedAt: Date | null;
@@ -9062,6 +9405,92 @@ declare const GetRunsSchema: ZodObject<{
9062
9405
 
9063
9406
  declare function addMissingVersionField(val: unknown): unknown;
9064
9407
 
9408
+ declare const StatusUpdateStateSchema: z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>;
9409
+ type StatusUpdateState = z.infer<typeof StatusUpdateStateSchema>;
9410
+ declare const StatusUpdateDataSchema: z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>;
9411
+ type StatusUpdateData = z.infer<typeof StatusUpdateDataSchema>;
9412
+ declare const StatusUpdateSchema: z.ZodObject<{
9413
+ label: z.ZodOptional<z.ZodString>;
9414
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9415
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9416
+ }, "strip", z.ZodTypeAny, {
9417
+ label?: string | undefined;
9418
+ state?: "loading" | "success" | "failure" | undefined;
9419
+ data?: Record<string, SerializableJson> | undefined;
9420
+ }, {
9421
+ label?: string | undefined;
9422
+ state?: "loading" | "success" | "failure" | undefined;
9423
+ data?: Record<string, SerializableJson> | undefined;
9424
+ }>;
9425
+ type StatusUpdate = z.infer<typeof StatusUpdateSchema>;
9426
+ declare const InitalStatusUpdateSchema: z.ZodObject<{
9427
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9428
+ label: z.ZodString;
9429
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9430
+ }, "strip", z.ZodTypeAny, {
9431
+ label: string;
9432
+ data?: Record<string, SerializableJson> | undefined;
9433
+ state?: "loading" | "success" | "failure" | undefined;
9434
+ }, {
9435
+ label: string;
9436
+ data?: Record<string, SerializableJson> | undefined;
9437
+ state?: "loading" | "success" | "failure" | undefined;
9438
+ }>;
9439
+ type InitialStatusUpdate = z.infer<typeof InitalStatusUpdateSchema>;
9440
+ declare const StatusHistorySchema: z.ZodArray<z.ZodObject<{
9441
+ label: z.ZodOptional<z.ZodString>;
9442
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9443
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9444
+ }, "strip", z.ZodTypeAny, {
9445
+ label?: string | undefined;
9446
+ state?: "loading" | "success" | "failure" | undefined;
9447
+ data?: Record<string, SerializableJson> | undefined;
9448
+ }, {
9449
+ label?: string | undefined;
9450
+ state?: "loading" | "success" | "failure" | undefined;
9451
+ data?: Record<string, SerializableJson> | undefined;
9452
+ }>, "many">;
9453
+ type StatusHistory = z.infer<typeof StatusHistorySchema>;
9454
+ declare const JobRunStatusRecordSchema: z.ZodObject<{
9455
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9456
+ label: z.ZodString;
9457
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9458
+ key: z.ZodString;
9459
+ history: z.ZodArray<z.ZodObject<{
9460
+ label: z.ZodOptional<z.ZodString>;
9461
+ state: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"loading">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">]>>;
9462
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SerializableJson, z.ZodTypeDef, SerializableJson>>>;
9463
+ }, "strip", z.ZodTypeAny, {
9464
+ label?: string | undefined;
9465
+ state?: "loading" | "success" | "failure" | undefined;
9466
+ data?: Record<string, SerializableJson> | undefined;
9467
+ }, {
9468
+ label?: string | undefined;
9469
+ state?: "loading" | "success" | "failure" | undefined;
9470
+ data?: Record<string, SerializableJson> | undefined;
9471
+ }>, "many">;
9472
+ }, "strip", z.ZodTypeAny, {
9473
+ key: string;
9474
+ label: string;
9475
+ history: {
9476
+ label?: string | undefined;
9477
+ state?: "loading" | "success" | "failure" | undefined;
9478
+ data?: Record<string, SerializableJson> | undefined;
9479
+ }[];
9480
+ data?: Record<string, SerializableJson> | undefined;
9481
+ state?: "loading" | "success" | "failure" | undefined;
9482
+ }, {
9483
+ key: string;
9484
+ label: string;
9485
+ history: {
9486
+ label?: string | undefined;
9487
+ state?: "loading" | "success" | "failure" | undefined;
9488
+ data?: Record<string, SerializableJson> | undefined;
9489
+ }[];
9490
+ data?: Record<string, SerializableJson> | undefined;
9491
+ state?: "loading" | "success" | "failure" | undefined;
9492
+ }>;
9493
+
9065
9494
  declare function deepMergeFilters(...filters: EventFilter[]): EventFilter;
9066
9495
 
9067
9496
  declare function calculateRetryAt(retryOptions: RetryOptions, attempts: number): Date | undefined;
@@ -9088,4 +9517,4 @@ declare function urlWithSearchParams(url: string, params: Record<string, string
9088
9517
 
9089
9518
  declare function eventFilterMatches(payload: any, filter: EventFilter): boolean;
9090
9519
 
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 };
9520
+ 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, RunJobResponse, RunJobResponseSchema, RunJobResumeWithTask, RunJobResumeWithTaskSchema, RunJobRetryWithTask, RunJobRetryWithTaskSchema, RunJobSuccess, RunJobSuccessSchema, RunJobUnresolvedAuthError, RunJobUnresolvedAuthErrorSchema, RunSourceContextSchema, RunStatusSchema, RunTaskBodyInput, RunTaskBodyInputSchema, RunTaskBodyOutput, RunTaskBodyOutputSchema, RunTaskOptions, RunTaskOptionsSchema, RunTaskSchema, RunTaskWithSubtasks, RuntimeEnvironmentType, RuntimeEnvironmentTypeSchema, SCHEDULED_EVENT, ScheduleMetadata, ScheduleMetadataSchema, ScheduledPayload, ScheduledPayloadSchema, ScheduledTriggerMetadataSchema, SendEvent, SendEventBody, SendEventBodySchema, SendEventOptions, SendEventOptionsSchema, SerializableJson, SerializableJsonSchema, ServerTask, ServerTaskSchema, SourceEventOption, SourceMetadataV1, SourceMetadataV2, SourceMetadataV2Schema, StaticTriggerMetadataSchema, 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 };