@trigger.dev/core 0.0.0-prerelease-20260324161542 → 0.0.0-prerelease-20260327224514
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/commonjs/v3/apiClient/core.d.ts +3 -1
- package/dist/commonjs/v3/apiClient/core.js +1 -0
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/errors.d.ts +5 -0
- package/dist/commonjs/v3/apiClient/errors.js +12 -0
- package/dist/commonjs/v3/apiClient/errors.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +40 -0
- package/dist/commonjs/v3/apiClient/index.js +20 -1
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.js +5 -0
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +12 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +80 -0
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +6 -0
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +40 -0
- package/dist/commonjs/v3/schemas/api.d.ts +243 -31
- package/dist/commonjs/v3/schemas/api.js +46 -1
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +40 -0
- package/dist/commonjs/v3/schemas/runEngine.d.ts +61 -0
- package/dist/commonjs/v3/schemas/runEngine.js +13 -1
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/types/tasks.d.ts +29 -0
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/core.d.ts +3 -1
- package/dist/esm/v3/apiClient/core.js +1 -0
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/errors.d.ts +5 -0
- package/dist/esm/v3/apiClient/errors.js +11 -0
- package/dist/esm/v3/apiClient/errors.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +40 -0
- package/dist/esm/v3/apiClient/index.js +21 -2
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.js +6 -1
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +12 -0
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +80 -0
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +6 -0
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +40 -0
- package/dist/esm/v3/schemas/api.d.ts +243 -31
- package/dist/esm/v3/schemas/api.js +45 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/checkpoints.d.ts +40 -0
- package/dist/esm/v3/schemas/runEngine.d.ts +61 -0
- package/dist/esm/v3/schemas/runEngine.js +12 -0
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/types/tasks.d.ts +29 -0
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -926,6 +926,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
926
926
|
mode?: "leading" | "trailing" | undefined;
|
|
927
927
|
maxDelay?: string | undefined;
|
|
928
928
|
} | undefined;
|
|
929
|
+
test?: boolean | undefined;
|
|
929
930
|
dependentAttempt?: string | undefined;
|
|
930
931
|
parentAttempt?: string | undefined;
|
|
931
932
|
dependentBatch?: string | undefined;
|
|
@@ -938,7 +939,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
938
939
|
scope: "run" | "attempt" | "global";
|
|
939
940
|
} | undefined;
|
|
940
941
|
metadataType?: string | undefined;
|
|
941
|
-
test?: boolean | undefined;
|
|
942
942
|
bulkActionId?: string | undefined;
|
|
943
943
|
}, {
|
|
944
944
|
metadata?: any;
|
|
@@ -964,6 +964,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
964
964
|
mode?: "leading" | "trailing" | undefined;
|
|
965
965
|
maxDelay?: string | undefined;
|
|
966
966
|
} | undefined;
|
|
967
|
+
test?: boolean | undefined;
|
|
967
968
|
dependentAttempt?: string | undefined;
|
|
968
969
|
parentAttempt?: string | undefined;
|
|
969
970
|
dependentBatch?: string | undefined;
|
|
@@ -976,7 +977,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
976
977
|
scope: "run" | "attempt" | "global";
|
|
977
978
|
} | undefined;
|
|
978
979
|
metadataType?: string | undefined;
|
|
979
|
-
test?: boolean | undefined;
|
|
980
980
|
bulkActionId?: string | undefined;
|
|
981
981
|
}>>;
|
|
982
982
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1004,6 +1004,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1004
1004
|
mode?: "leading" | "trailing" | undefined;
|
|
1005
1005
|
maxDelay?: string | undefined;
|
|
1006
1006
|
} | undefined;
|
|
1007
|
+
test?: boolean | undefined;
|
|
1007
1008
|
dependentAttempt?: string | undefined;
|
|
1008
1009
|
parentAttempt?: string | undefined;
|
|
1009
1010
|
dependentBatch?: string | undefined;
|
|
@@ -1016,7 +1017,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1016
1017
|
scope: "run" | "attempt" | "global";
|
|
1017
1018
|
} | undefined;
|
|
1018
1019
|
metadataType?: string | undefined;
|
|
1019
|
-
test?: boolean | undefined;
|
|
1020
1020
|
bulkActionId?: string | undefined;
|
|
1021
1021
|
} | undefined;
|
|
1022
1022
|
payload?: any;
|
|
@@ -1046,6 +1046,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1046
1046
|
mode?: "leading" | "trailing" | undefined;
|
|
1047
1047
|
maxDelay?: string | undefined;
|
|
1048
1048
|
} | undefined;
|
|
1049
|
+
test?: boolean | undefined;
|
|
1049
1050
|
dependentAttempt?: string | undefined;
|
|
1050
1051
|
parentAttempt?: string | undefined;
|
|
1051
1052
|
dependentBatch?: string | undefined;
|
|
@@ -1058,7 +1059,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1058
1059
|
scope: "run" | "attempt" | "global";
|
|
1059
1060
|
} | undefined;
|
|
1060
1061
|
metadataType?: string | undefined;
|
|
1061
|
-
test?: boolean | undefined;
|
|
1062
1062
|
bulkActionId?: string | undefined;
|
|
1063
1063
|
} | undefined;
|
|
1064
1064
|
payload?: any;
|
|
@@ -1183,6 +1183,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1183
1183
|
mode?: "leading" | "trailing" | undefined;
|
|
1184
1184
|
maxDelay?: string | undefined;
|
|
1185
1185
|
} | undefined;
|
|
1186
|
+
test?: boolean | undefined;
|
|
1186
1187
|
dependentAttempt?: string | undefined;
|
|
1187
1188
|
parentAttempt?: string | undefined;
|
|
1188
1189
|
dependentBatch?: string | undefined;
|
|
@@ -1195,7 +1196,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1195
1196
|
scope: "run" | "attempt" | "global";
|
|
1196
1197
|
} | undefined;
|
|
1197
1198
|
metadataType?: string | undefined;
|
|
1198
|
-
test?: boolean | undefined;
|
|
1199
1199
|
bulkActionId?: string | undefined;
|
|
1200
1200
|
}, {
|
|
1201
1201
|
metadata?: any;
|
|
@@ -1221,6 +1221,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1221
1221
|
mode?: "leading" | "trailing" | undefined;
|
|
1222
1222
|
maxDelay?: string | undefined;
|
|
1223
1223
|
} | undefined;
|
|
1224
|
+
test?: boolean | undefined;
|
|
1224
1225
|
dependentAttempt?: string | undefined;
|
|
1225
1226
|
parentAttempt?: string | undefined;
|
|
1226
1227
|
dependentBatch?: string | undefined;
|
|
@@ -1233,7 +1234,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1233
1234
|
scope: "run" | "attempt" | "global";
|
|
1234
1235
|
} | undefined;
|
|
1235
1236
|
metadataType?: string | undefined;
|
|
1236
|
-
test?: boolean | undefined;
|
|
1237
1237
|
bulkActionId?: string | undefined;
|
|
1238
1238
|
}>>;
|
|
1239
1239
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1261,6 +1261,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1261
1261
|
mode?: "leading" | "trailing" | undefined;
|
|
1262
1262
|
maxDelay?: string | undefined;
|
|
1263
1263
|
} | undefined;
|
|
1264
|
+
test?: boolean | undefined;
|
|
1264
1265
|
dependentAttempt?: string | undefined;
|
|
1265
1266
|
parentAttempt?: string | undefined;
|
|
1266
1267
|
dependentBatch?: string | undefined;
|
|
@@ -1273,7 +1274,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1273
1274
|
scope: "run" | "attempt" | "global";
|
|
1274
1275
|
} | undefined;
|
|
1275
1276
|
metadataType?: string | undefined;
|
|
1276
|
-
test?: boolean | undefined;
|
|
1277
1277
|
bulkActionId?: string | undefined;
|
|
1278
1278
|
} | undefined;
|
|
1279
1279
|
payload?: any;
|
|
@@ -1303,6 +1303,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1303
1303
|
mode?: "leading" | "trailing" | undefined;
|
|
1304
1304
|
maxDelay?: string | undefined;
|
|
1305
1305
|
} | undefined;
|
|
1306
|
+
test?: boolean | undefined;
|
|
1306
1307
|
dependentAttempt?: string | undefined;
|
|
1307
1308
|
parentAttempt?: string | undefined;
|
|
1308
1309
|
dependentBatch?: string | undefined;
|
|
@@ -1315,7 +1316,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1315
1316
|
scope: "run" | "attempt" | "global";
|
|
1316
1317
|
} | undefined;
|
|
1317
1318
|
metadataType?: string | undefined;
|
|
1318
|
-
test?: boolean | undefined;
|
|
1319
1319
|
bulkActionId?: string | undefined;
|
|
1320
1320
|
} | undefined;
|
|
1321
1321
|
payload?: any;
|
|
@@ -1348,6 +1348,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1348
1348
|
mode?: "leading" | "trailing" | undefined;
|
|
1349
1349
|
maxDelay?: string | undefined;
|
|
1350
1350
|
} | undefined;
|
|
1351
|
+
test?: boolean | undefined;
|
|
1351
1352
|
dependentAttempt?: string | undefined;
|
|
1352
1353
|
parentAttempt?: string | undefined;
|
|
1353
1354
|
dependentBatch?: string | undefined;
|
|
@@ -1360,7 +1361,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1360
1361
|
scope: "run" | "attempt" | "global";
|
|
1361
1362
|
} | undefined;
|
|
1362
1363
|
metadataType?: string | undefined;
|
|
1363
|
-
test?: boolean | undefined;
|
|
1364
1364
|
bulkActionId?: string | undefined;
|
|
1365
1365
|
} | undefined;
|
|
1366
1366
|
payload?: any;
|
|
@@ -1393,6 +1393,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1393
1393
|
mode?: "leading" | "trailing" | undefined;
|
|
1394
1394
|
maxDelay?: string | undefined;
|
|
1395
1395
|
} | undefined;
|
|
1396
|
+
test?: boolean | undefined;
|
|
1396
1397
|
dependentAttempt?: string | undefined;
|
|
1397
1398
|
parentAttempt?: string | undefined;
|
|
1398
1399
|
dependentBatch?: string | undefined;
|
|
@@ -1405,7 +1406,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1405
1406
|
scope: "run" | "attempt" | "global";
|
|
1406
1407
|
} | undefined;
|
|
1407
1408
|
metadataType?: string | undefined;
|
|
1408
|
-
test?: boolean | undefined;
|
|
1409
1409
|
bulkActionId?: string | undefined;
|
|
1410
1410
|
} | undefined;
|
|
1411
1411
|
payload?: any;
|
|
@@ -1493,6 +1493,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1493
1493
|
mode?: "leading" | "trailing" | undefined;
|
|
1494
1494
|
maxDelay?: string | undefined;
|
|
1495
1495
|
} | undefined;
|
|
1496
|
+
test?: boolean | undefined;
|
|
1496
1497
|
parentAttempt?: string | undefined;
|
|
1497
1498
|
lockToVersion?: string | undefined;
|
|
1498
1499
|
idempotencyKeyOptions?: {
|
|
@@ -1500,7 +1501,6 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1500
1501
|
scope: "run" | "attempt" | "global";
|
|
1501
1502
|
} | undefined;
|
|
1502
1503
|
metadataType?: string | undefined;
|
|
1503
|
-
test?: boolean | undefined;
|
|
1504
1504
|
}, {
|
|
1505
1505
|
metadata?: any;
|
|
1506
1506
|
payloadType?: string | undefined;
|
|
@@ -1524,6 +1524,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1524
1524
|
mode?: "leading" | "trailing" | undefined;
|
|
1525
1525
|
maxDelay?: string | undefined;
|
|
1526
1526
|
} | undefined;
|
|
1527
|
+
test?: boolean | undefined;
|
|
1527
1528
|
parentAttempt?: string | undefined;
|
|
1528
1529
|
lockToVersion?: string | undefined;
|
|
1529
1530
|
idempotencyKeyOptions?: {
|
|
@@ -1531,7 +1532,6 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1531
1532
|
scope: "run" | "attempt" | "global";
|
|
1532
1533
|
} | undefined;
|
|
1533
1534
|
metadataType?: string | undefined;
|
|
1534
|
-
test?: boolean | undefined;
|
|
1535
1535
|
}>>;
|
|
1536
1536
|
}, "strip", z.ZodTypeAny, {
|
|
1537
1537
|
task: string;
|
|
@@ -1558,6 +1558,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1558
1558
|
mode?: "leading" | "trailing" | undefined;
|
|
1559
1559
|
maxDelay?: string | undefined;
|
|
1560
1560
|
} | undefined;
|
|
1561
|
+
test?: boolean | undefined;
|
|
1561
1562
|
parentAttempt?: string | undefined;
|
|
1562
1563
|
lockToVersion?: string | undefined;
|
|
1563
1564
|
idempotencyKeyOptions?: {
|
|
@@ -1565,7 +1566,6 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1565
1566
|
scope: "run" | "attempt" | "global";
|
|
1566
1567
|
} | undefined;
|
|
1567
1568
|
metadataType?: string | undefined;
|
|
1568
|
-
test?: boolean | undefined;
|
|
1569
1569
|
} | undefined;
|
|
1570
1570
|
payload?: any;
|
|
1571
1571
|
context?: any;
|
|
@@ -1594,6 +1594,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1594
1594
|
mode?: "leading" | "trailing" | undefined;
|
|
1595
1595
|
maxDelay?: string | undefined;
|
|
1596
1596
|
} | undefined;
|
|
1597
|
+
test?: boolean | undefined;
|
|
1597
1598
|
parentAttempt?: string | undefined;
|
|
1598
1599
|
lockToVersion?: string | undefined;
|
|
1599
1600
|
idempotencyKeyOptions?: {
|
|
@@ -1601,7 +1602,6 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1601
1602
|
scope: "run" | "attempt" | "global";
|
|
1602
1603
|
} | undefined;
|
|
1603
1604
|
metadataType?: string | undefined;
|
|
1604
|
-
test?: boolean | undefined;
|
|
1605
1605
|
} | undefined;
|
|
1606
1606
|
payload?: any;
|
|
1607
1607
|
context?: any;
|
|
@@ -1687,6 +1687,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1687
1687
|
mode?: "leading" | "trailing" | undefined;
|
|
1688
1688
|
maxDelay?: string | undefined;
|
|
1689
1689
|
} | undefined;
|
|
1690
|
+
test?: boolean | undefined;
|
|
1690
1691
|
parentAttempt?: string | undefined;
|
|
1691
1692
|
lockToVersion?: string | undefined;
|
|
1692
1693
|
idempotencyKeyOptions?: {
|
|
@@ -1694,7 +1695,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1694
1695
|
scope: "run" | "attempt" | "global";
|
|
1695
1696
|
} | undefined;
|
|
1696
1697
|
metadataType?: string | undefined;
|
|
1697
|
-
test?: boolean | undefined;
|
|
1698
1698
|
}, {
|
|
1699
1699
|
metadata?: any;
|
|
1700
1700
|
payloadType?: string | undefined;
|
|
@@ -1718,6 +1718,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1718
1718
|
mode?: "leading" | "trailing" | undefined;
|
|
1719
1719
|
maxDelay?: string | undefined;
|
|
1720
1720
|
} | undefined;
|
|
1721
|
+
test?: boolean | undefined;
|
|
1721
1722
|
parentAttempt?: string | undefined;
|
|
1722
1723
|
lockToVersion?: string | undefined;
|
|
1723
1724
|
idempotencyKeyOptions?: {
|
|
@@ -1725,7 +1726,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1725
1726
|
scope: "run" | "attempt" | "global";
|
|
1726
1727
|
} | undefined;
|
|
1727
1728
|
metadataType?: string | undefined;
|
|
1728
|
-
test?: boolean | undefined;
|
|
1729
1729
|
}>>;
|
|
1730
1730
|
}, "strip", z.ZodTypeAny, {
|
|
1731
1731
|
task: string;
|
|
@@ -1752,6 +1752,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1752
1752
|
mode?: "leading" | "trailing" | undefined;
|
|
1753
1753
|
maxDelay?: string | undefined;
|
|
1754
1754
|
} | undefined;
|
|
1755
|
+
test?: boolean | undefined;
|
|
1755
1756
|
parentAttempt?: string | undefined;
|
|
1756
1757
|
lockToVersion?: string | undefined;
|
|
1757
1758
|
idempotencyKeyOptions?: {
|
|
@@ -1759,7 +1760,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1759
1760
|
scope: "run" | "attempt" | "global";
|
|
1760
1761
|
} | undefined;
|
|
1761
1762
|
metadataType?: string | undefined;
|
|
1762
|
-
test?: boolean | undefined;
|
|
1763
1763
|
} | undefined;
|
|
1764
1764
|
payload?: any;
|
|
1765
1765
|
context?: any;
|
|
@@ -1788,6 +1788,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1788
1788
|
mode?: "leading" | "trailing" | undefined;
|
|
1789
1789
|
maxDelay?: string | undefined;
|
|
1790
1790
|
} | undefined;
|
|
1791
|
+
test?: boolean | undefined;
|
|
1791
1792
|
parentAttempt?: string | undefined;
|
|
1792
1793
|
lockToVersion?: string | undefined;
|
|
1793
1794
|
idempotencyKeyOptions?: {
|
|
@@ -1795,7 +1796,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1795
1796
|
scope: "run" | "attempt" | "global";
|
|
1796
1797
|
} | undefined;
|
|
1797
1798
|
metadataType?: string | undefined;
|
|
1798
|
-
test?: boolean | undefined;
|
|
1799
1799
|
} | undefined;
|
|
1800
1800
|
payload?: any;
|
|
1801
1801
|
context?: any;
|
|
@@ -1838,6 +1838,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1838
1838
|
mode?: "leading" | "trailing" | undefined;
|
|
1839
1839
|
maxDelay?: string | undefined;
|
|
1840
1840
|
} | undefined;
|
|
1841
|
+
test?: boolean | undefined;
|
|
1841
1842
|
parentAttempt?: string | undefined;
|
|
1842
1843
|
lockToVersion?: string | undefined;
|
|
1843
1844
|
idempotencyKeyOptions?: {
|
|
@@ -1845,7 +1846,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1845
1846
|
scope: "run" | "attempt" | "global";
|
|
1846
1847
|
} | undefined;
|
|
1847
1848
|
metadataType?: string | undefined;
|
|
1848
|
-
test?: boolean | undefined;
|
|
1849
1849
|
} | undefined;
|
|
1850
1850
|
payload?: any;
|
|
1851
1851
|
context?: any;
|
|
@@ -1879,6 +1879,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1879
1879
|
mode?: "leading" | "trailing" | undefined;
|
|
1880
1880
|
maxDelay?: string | undefined;
|
|
1881
1881
|
} | undefined;
|
|
1882
|
+
test?: boolean | undefined;
|
|
1882
1883
|
parentAttempt?: string | undefined;
|
|
1883
1884
|
lockToVersion?: string | undefined;
|
|
1884
1885
|
idempotencyKeyOptions?: {
|
|
@@ -1886,7 +1887,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1886
1887
|
scope: "run" | "attempt" | "global";
|
|
1887
1888
|
} | undefined;
|
|
1888
1889
|
metadataType?: string | undefined;
|
|
1889
|
-
test?: boolean | undefined;
|
|
1890
1890
|
} | undefined;
|
|
1891
1891
|
payload?: any;
|
|
1892
1892
|
context?: any;
|
|
@@ -2018,6 +2018,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2018
2018
|
mode?: "leading" | "trailing" | undefined;
|
|
2019
2019
|
maxDelay?: string | undefined;
|
|
2020
2020
|
} | undefined;
|
|
2021
|
+
test?: boolean | undefined;
|
|
2021
2022
|
parentAttempt?: string | undefined;
|
|
2022
2023
|
lockToVersion?: string | undefined;
|
|
2023
2024
|
idempotencyKeyOptions?: {
|
|
@@ -2025,7 +2026,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2025
2026
|
scope: "run" | "attempt" | "global";
|
|
2026
2027
|
} | undefined;
|
|
2027
2028
|
metadataType?: string | undefined;
|
|
2028
|
-
test?: boolean | undefined;
|
|
2029
2029
|
}, {
|
|
2030
2030
|
metadata?: any;
|
|
2031
2031
|
payloadType?: string | undefined;
|
|
@@ -2049,6 +2049,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2049
2049
|
mode?: "leading" | "trailing" | undefined;
|
|
2050
2050
|
maxDelay?: string | undefined;
|
|
2051
2051
|
} | undefined;
|
|
2052
|
+
test?: boolean | undefined;
|
|
2052
2053
|
parentAttempt?: string | undefined;
|
|
2053
2054
|
lockToVersion?: string | undefined;
|
|
2054
2055
|
idempotencyKeyOptions?: {
|
|
@@ -2056,7 +2057,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2056
2057
|
scope: "run" | "attempt" | "global";
|
|
2057
2058
|
} | undefined;
|
|
2058
2059
|
metadataType?: string | undefined;
|
|
2059
|
-
test?: boolean | undefined;
|
|
2060
2060
|
}>>;
|
|
2061
2061
|
}, "strip", z.ZodTypeAny, {
|
|
2062
2062
|
task: string;
|
|
@@ -2083,6 +2083,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2083
2083
|
mode?: "leading" | "trailing" | undefined;
|
|
2084
2084
|
maxDelay?: string | undefined;
|
|
2085
2085
|
} | undefined;
|
|
2086
|
+
test?: boolean | undefined;
|
|
2086
2087
|
parentAttempt?: string | undefined;
|
|
2087
2088
|
lockToVersion?: string | undefined;
|
|
2088
2089
|
idempotencyKeyOptions?: {
|
|
@@ -2090,7 +2091,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2090
2091
|
scope: "run" | "attempt" | "global";
|
|
2091
2092
|
} | undefined;
|
|
2092
2093
|
metadataType?: string | undefined;
|
|
2093
|
-
test?: boolean | undefined;
|
|
2094
2094
|
} | undefined;
|
|
2095
2095
|
payload?: any;
|
|
2096
2096
|
context?: any;
|
|
@@ -2119,6 +2119,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2119
2119
|
mode?: "leading" | "trailing" | undefined;
|
|
2120
2120
|
maxDelay?: string | undefined;
|
|
2121
2121
|
} | undefined;
|
|
2122
|
+
test?: boolean | undefined;
|
|
2122
2123
|
parentAttempt?: string | undefined;
|
|
2123
2124
|
lockToVersion?: string | undefined;
|
|
2124
2125
|
idempotencyKeyOptions?: {
|
|
@@ -2126,7 +2127,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2126
2127
|
scope: "run" | "attempt" | "global";
|
|
2127
2128
|
} | undefined;
|
|
2128
2129
|
metadataType?: string | undefined;
|
|
2129
|
-
test?: boolean | undefined;
|
|
2130
2130
|
} | undefined;
|
|
2131
2131
|
payload?: any;
|
|
2132
2132
|
context?: any;
|
|
@@ -2167,6 +2167,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2167
2167
|
mode?: "leading" | "trailing" | undefined;
|
|
2168
2168
|
maxDelay?: string | undefined;
|
|
2169
2169
|
} | undefined;
|
|
2170
|
+
test?: boolean | undefined;
|
|
2170
2171
|
parentAttempt?: string | undefined;
|
|
2171
2172
|
lockToVersion?: string | undefined;
|
|
2172
2173
|
idempotencyKeyOptions?: {
|
|
@@ -2174,7 +2175,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2174
2175
|
scope: "run" | "attempt" | "global";
|
|
2175
2176
|
} | undefined;
|
|
2176
2177
|
metadataType?: string | undefined;
|
|
2177
|
-
test?: boolean | undefined;
|
|
2178
2178
|
} | undefined;
|
|
2179
2179
|
payload?: any;
|
|
2180
2180
|
context?: any;
|
|
@@ -2207,6 +2207,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2207
2207
|
mode?: "leading" | "trailing" | undefined;
|
|
2208
2208
|
maxDelay?: string | undefined;
|
|
2209
2209
|
} | undefined;
|
|
2210
|
+
test?: boolean | undefined;
|
|
2210
2211
|
parentAttempt?: string | undefined;
|
|
2211
2212
|
lockToVersion?: string | undefined;
|
|
2212
2213
|
idempotencyKeyOptions?: {
|
|
@@ -2214,7 +2215,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2214
2215
|
scope: "run" | "attempt" | "global";
|
|
2215
2216
|
} | undefined;
|
|
2216
2217
|
metadataType?: string | undefined;
|
|
2217
|
-
test?: boolean | undefined;
|
|
2218
2218
|
} | undefined;
|
|
2219
2219
|
payload?: any;
|
|
2220
2220
|
context?: any;
|
|
@@ -2921,7 +2921,7 @@ declare const InitializeDeploymentRequestBodyBase: z.ZodObject<{
|
|
|
2921
2921
|
} | undefined;
|
|
2922
2922
|
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
2923
2923
|
isLocalBuild?: boolean | undefined;
|
|
2924
|
-
triggeredVia?: (string & {}) | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" |
|
|
2924
|
+
triggeredVia?: (string & {}) | "dashboard" | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" | undefined;
|
|
2925
2925
|
}, {
|
|
2926
2926
|
contentHash: string;
|
|
2927
2927
|
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
@@ -2946,7 +2946,7 @@ declare const InitializeDeploymentRequestBodyBase: z.ZodObject<{
|
|
|
2946
2946
|
} | undefined;
|
|
2947
2947
|
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
2948
2948
|
isLocalBuild?: boolean | undefined;
|
|
2949
|
-
triggeredVia?: (string & {}) | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" |
|
|
2949
|
+
triggeredVia?: (string & {}) | "dashboard" | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" | undefined;
|
|
2950
2950
|
}>;
|
|
2951
2951
|
type BaseOutput = z.output<typeof InitializeDeploymentRequestBodyBase>;
|
|
2952
2952
|
type NativeBuildOutput = BaseOutput & {
|
|
@@ -3052,7 +3052,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodEffects<z.ZodObject<{
|
|
|
3052
3052
|
} | undefined;
|
|
3053
3053
|
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
3054
3054
|
isLocalBuild?: boolean | undefined;
|
|
3055
|
-
triggeredVia?: (string & {}) | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" |
|
|
3055
|
+
triggeredVia?: (string & {}) | "dashboard" | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" | undefined;
|
|
3056
3056
|
}, {
|
|
3057
3057
|
contentHash: string;
|
|
3058
3058
|
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
@@ -3082,7 +3082,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodEffects<z.ZodObject<{
|
|
|
3082
3082
|
} | undefined;
|
|
3083
3083
|
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
3084
3084
|
isLocalBuild?: boolean | undefined;
|
|
3085
|
-
triggeredVia?: (string & {}) | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" |
|
|
3085
|
+
triggeredVia?: (string & {}) | "dashboard" | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" | undefined;
|
|
3086
3086
|
}>, NativeBuildOutput | NonNativeBuildOutput, {
|
|
3087
3087
|
contentHash: string;
|
|
3088
3088
|
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
@@ -3112,7 +3112,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodEffects<z.ZodObject<{
|
|
|
3112
3112
|
} | undefined;
|
|
3113
3113
|
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
3114
3114
|
isLocalBuild?: boolean | undefined;
|
|
3115
|
-
triggeredVia?: (string & {}) | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" |
|
|
3115
|
+
triggeredVia?: (string & {}) | "dashboard" | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" | undefined;
|
|
3116
3116
|
}>;
|
|
3117
3117
|
export type InitializeDeploymentRequestBody = z.infer<typeof InitializeDeploymentRequestBody>;
|
|
3118
3118
|
export declare const RemoteBuildProviderStatusResponseBody: z.ZodObject<{
|
|
@@ -4006,6 +4006,22 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4006
4006
|
attemptNumber: z.ZodNumber;
|
|
4007
4007
|
masterQueue: z.ZodString;
|
|
4008
4008
|
traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4009
|
+
annotations: z.ZodOptional<z.ZodObject<{
|
|
4010
|
+
triggerSource: z.ZodUnion<[z.ZodEnum<["sdk", "api", "dashboard", "cli", "mcp", "schedule"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>;
|
|
4011
|
+
triggerAction: z.ZodUnion<[z.ZodEnum<["trigger", "replay", "test"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>;
|
|
4012
|
+
rootTriggerSource: z.ZodUnion<[z.ZodEnum<["sdk", "api", "dashboard", "cli", "mcp", "schedule"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>;
|
|
4013
|
+
rootScheduleId: z.ZodOptional<z.ZodString>;
|
|
4014
|
+
}, "strip", z.ZodTypeAny, {
|
|
4015
|
+
triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4016
|
+
triggerAction: "trigger" | (string & {}) | "replay" | "test";
|
|
4017
|
+
rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4018
|
+
rootScheduleId?: string | undefined;
|
|
4019
|
+
}, {
|
|
4020
|
+
triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4021
|
+
triggerAction: "trigger" | (string & {}) | "replay" | "test";
|
|
4022
|
+
rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4023
|
+
rootScheduleId?: string | undefined;
|
|
4024
|
+
}>>;
|
|
4009
4025
|
}, "strip", z.ZodTypeAny, {
|
|
4010
4026
|
id: string;
|
|
4011
4027
|
isTest: boolean;
|
|
@@ -4019,6 +4035,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4019
4035
|
friendlyId: string;
|
|
4020
4036
|
attemptNumber: number;
|
|
4021
4037
|
masterQueue: string;
|
|
4038
|
+
annotations?: {
|
|
4039
|
+
triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4040
|
+
triggerAction: "trigger" | (string & {}) | "replay" | "test";
|
|
4041
|
+
rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4042
|
+
rootScheduleId?: string | undefined;
|
|
4043
|
+
} | undefined;
|
|
4022
4044
|
}, {
|
|
4023
4045
|
id: string;
|
|
4024
4046
|
isTest: boolean;
|
|
@@ -4032,6 +4054,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4032
4054
|
friendlyId: string;
|
|
4033
4055
|
attemptNumber: number;
|
|
4034
4056
|
masterQueue: string;
|
|
4057
|
+
annotations?: {
|
|
4058
|
+
triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4059
|
+
triggerAction: "trigger" | (string & {}) | "replay" | "test";
|
|
4060
|
+
rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4061
|
+
rootScheduleId?: string | undefined;
|
|
4062
|
+
} | undefined;
|
|
4035
4063
|
}>;
|
|
4036
4064
|
environment: z.ZodObject<{
|
|
4037
4065
|
id: z.ZodString;
|
|
@@ -4081,6 +4109,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4081
4109
|
friendlyId: string;
|
|
4082
4110
|
attemptNumber: number;
|
|
4083
4111
|
masterQueue: string;
|
|
4112
|
+
annotations?: {
|
|
4113
|
+
triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4114
|
+
triggerAction: "trigger" | (string & {}) | "replay" | "test";
|
|
4115
|
+
rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4116
|
+
rootScheduleId?: string | undefined;
|
|
4117
|
+
} | undefined;
|
|
4084
4118
|
};
|
|
4085
4119
|
version: "1";
|
|
4086
4120
|
environment: {
|
|
@@ -4162,6 +4196,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4162
4196
|
friendlyId: string;
|
|
4163
4197
|
attemptNumber: number;
|
|
4164
4198
|
masterQueue: string;
|
|
4199
|
+
annotations?: {
|
|
4200
|
+
triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4201
|
+
triggerAction: "trigger" | (string & {}) | "replay" | "test";
|
|
4202
|
+
rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4203
|
+
rootScheduleId?: string | undefined;
|
|
4204
|
+
} | undefined;
|
|
4165
4205
|
};
|
|
4166
4206
|
version: "1";
|
|
4167
4207
|
environment: {
|
|
@@ -4245,6 +4285,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4245
4285
|
friendlyId: string;
|
|
4246
4286
|
attemptNumber: number;
|
|
4247
4287
|
masterQueue: string;
|
|
4288
|
+
annotations?: {
|
|
4289
|
+
triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4290
|
+
triggerAction: "trigger" | (string & {}) | "replay" | "test";
|
|
4291
|
+
rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4292
|
+
rootScheduleId?: string | undefined;
|
|
4293
|
+
} | undefined;
|
|
4248
4294
|
};
|
|
4249
4295
|
version: "1";
|
|
4250
4296
|
environment: {
|
|
@@ -4328,6 +4374,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
4328
4374
|
friendlyId: string;
|
|
4329
4375
|
attemptNumber: number;
|
|
4330
4376
|
masterQueue: string;
|
|
4377
|
+
annotations?: {
|
|
4378
|
+
triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4379
|
+
triggerAction: "trigger" | (string & {}) | "replay" | "test";
|
|
4380
|
+
rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
|
|
4381
|
+
rootScheduleId?: string | undefined;
|
|
4382
|
+
} | undefined;
|
|
4331
4383
|
};
|
|
4332
4384
|
version: "1";
|
|
4333
4385
|
environment: {
|
|
@@ -7560,6 +7612,166 @@ export declare const RetrieveRunTraceResponseBody: z.ZodObject<{
|
|
|
7560
7612
|
};
|
|
7561
7613
|
}>;
|
|
7562
7614
|
export type RetrieveRunTraceResponseBody = z.infer<typeof RetrieveRunTraceResponseBody>;
|
|
7615
|
+
export declare const RetrieveSpanDetailResponseBody: z.ZodObject<{
|
|
7616
|
+
spanId: z.ZodString;
|
|
7617
|
+
parentId: z.ZodNullable<z.ZodString>;
|
|
7618
|
+
runId: z.ZodString;
|
|
7619
|
+
message: z.ZodString;
|
|
7620
|
+
isError: z.ZodBoolean;
|
|
7621
|
+
isPartial: z.ZodBoolean;
|
|
7622
|
+
isCancelled: z.ZodBoolean;
|
|
7623
|
+
level: z.ZodString;
|
|
7624
|
+
startTime: z.ZodDate;
|
|
7625
|
+
durationMs: z.ZodNumber;
|
|
7626
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7627
|
+
events: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
7628
|
+
entityType: z.ZodOptional<z.ZodString>;
|
|
7629
|
+
ai: z.ZodOptional<z.ZodObject<{
|
|
7630
|
+
model: z.ZodString;
|
|
7631
|
+
provider: z.ZodString;
|
|
7632
|
+
operationName: z.ZodString;
|
|
7633
|
+
inputTokens: z.ZodNumber;
|
|
7634
|
+
outputTokens: z.ZodNumber;
|
|
7635
|
+
totalTokens: z.ZodNumber;
|
|
7636
|
+
cachedTokens: z.ZodOptional<z.ZodNumber>;
|
|
7637
|
+
reasoningTokens: z.ZodOptional<z.ZodNumber>;
|
|
7638
|
+
inputCost: z.ZodOptional<z.ZodNumber>;
|
|
7639
|
+
outputCost: z.ZodOptional<z.ZodNumber>;
|
|
7640
|
+
totalCost: z.ZodOptional<z.ZodNumber>;
|
|
7641
|
+
tokensPerSecond: z.ZodOptional<z.ZodNumber>;
|
|
7642
|
+
msToFirstChunk: z.ZodOptional<z.ZodNumber>;
|
|
7643
|
+
durationMs: z.ZodNumber;
|
|
7644
|
+
finishReason: z.ZodOptional<z.ZodString>;
|
|
7645
|
+
responseText: z.ZodOptional<z.ZodString>;
|
|
7646
|
+
}, "strip", z.ZodTypeAny, {
|
|
7647
|
+
durationMs: number;
|
|
7648
|
+
provider: string;
|
|
7649
|
+
model: string;
|
|
7650
|
+
operationName: string;
|
|
7651
|
+
inputTokens: number;
|
|
7652
|
+
outputTokens: number;
|
|
7653
|
+
totalTokens: number;
|
|
7654
|
+
cachedTokens?: number | undefined;
|
|
7655
|
+
reasoningTokens?: number | undefined;
|
|
7656
|
+
inputCost?: number | undefined;
|
|
7657
|
+
outputCost?: number | undefined;
|
|
7658
|
+
totalCost?: number | undefined;
|
|
7659
|
+
tokensPerSecond?: number | undefined;
|
|
7660
|
+
msToFirstChunk?: number | undefined;
|
|
7661
|
+
finishReason?: string | undefined;
|
|
7662
|
+
responseText?: string | undefined;
|
|
7663
|
+
}, {
|
|
7664
|
+
durationMs: number;
|
|
7665
|
+
provider: string;
|
|
7666
|
+
model: string;
|
|
7667
|
+
operationName: string;
|
|
7668
|
+
inputTokens: number;
|
|
7669
|
+
outputTokens: number;
|
|
7670
|
+
totalTokens: number;
|
|
7671
|
+
cachedTokens?: number | undefined;
|
|
7672
|
+
reasoningTokens?: number | undefined;
|
|
7673
|
+
inputCost?: number | undefined;
|
|
7674
|
+
outputCost?: number | undefined;
|
|
7675
|
+
totalCost?: number | undefined;
|
|
7676
|
+
tokensPerSecond?: number | undefined;
|
|
7677
|
+
msToFirstChunk?: number | undefined;
|
|
7678
|
+
finishReason?: string | undefined;
|
|
7679
|
+
responseText?: string | undefined;
|
|
7680
|
+
}>>;
|
|
7681
|
+
triggeredRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7682
|
+
runId: z.ZodString;
|
|
7683
|
+
taskIdentifier: z.ZodString;
|
|
7684
|
+
status: z.ZodString;
|
|
7685
|
+
createdAt: z.ZodDate;
|
|
7686
|
+
}, "strip", z.ZodTypeAny, {
|
|
7687
|
+
status: string;
|
|
7688
|
+
createdAt: Date;
|
|
7689
|
+
taskIdentifier: string;
|
|
7690
|
+
runId: string;
|
|
7691
|
+
}, {
|
|
7692
|
+
status: string;
|
|
7693
|
+
createdAt: Date;
|
|
7694
|
+
taskIdentifier: string;
|
|
7695
|
+
runId: string;
|
|
7696
|
+
}>, "many">>;
|
|
7697
|
+
}, "strip", z.ZodTypeAny, {
|
|
7698
|
+
message: string;
|
|
7699
|
+
durationMs: number;
|
|
7700
|
+
isCancelled: boolean;
|
|
7701
|
+
runId: string;
|
|
7702
|
+
level: string;
|
|
7703
|
+
parentId: string | null;
|
|
7704
|
+
startTime: Date;
|
|
7705
|
+
isError: boolean;
|
|
7706
|
+
isPartial: boolean;
|
|
7707
|
+
spanId: string;
|
|
7708
|
+
properties?: Record<string, any> | undefined;
|
|
7709
|
+
events?: any[] | undefined;
|
|
7710
|
+
entityType?: string | undefined;
|
|
7711
|
+
ai?: {
|
|
7712
|
+
durationMs: number;
|
|
7713
|
+
provider: string;
|
|
7714
|
+
model: string;
|
|
7715
|
+
operationName: string;
|
|
7716
|
+
inputTokens: number;
|
|
7717
|
+
outputTokens: number;
|
|
7718
|
+
totalTokens: number;
|
|
7719
|
+
cachedTokens?: number | undefined;
|
|
7720
|
+
reasoningTokens?: number | undefined;
|
|
7721
|
+
inputCost?: number | undefined;
|
|
7722
|
+
outputCost?: number | undefined;
|
|
7723
|
+
totalCost?: number | undefined;
|
|
7724
|
+
tokensPerSecond?: number | undefined;
|
|
7725
|
+
msToFirstChunk?: number | undefined;
|
|
7726
|
+
finishReason?: string | undefined;
|
|
7727
|
+
responseText?: string | undefined;
|
|
7728
|
+
} | undefined;
|
|
7729
|
+
triggeredRuns?: {
|
|
7730
|
+
status: string;
|
|
7731
|
+
createdAt: Date;
|
|
7732
|
+
taskIdentifier: string;
|
|
7733
|
+
runId: string;
|
|
7734
|
+
}[] | undefined;
|
|
7735
|
+
}, {
|
|
7736
|
+
message: string;
|
|
7737
|
+
durationMs: number;
|
|
7738
|
+
isCancelled: boolean;
|
|
7739
|
+
runId: string;
|
|
7740
|
+
level: string;
|
|
7741
|
+
parentId: string | null;
|
|
7742
|
+
startTime: Date;
|
|
7743
|
+
isError: boolean;
|
|
7744
|
+
isPartial: boolean;
|
|
7745
|
+
spanId: string;
|
|
7746
|
+
properties?: Record<string, any> | undefined;
|
|
7747
|
+
events?: any[] | undefined;
|
|
7748
|
+
entityType?: string | undefined;
|
|
7749
|
+
ai?: {
|
|
7750
|
+
durationMs: number;
|
|
7751
|
+
provider: string;
|
|
7752
|
+
model: string;
|
|
7753
|
+
operationName: string;
|
|
7754
|
+
inputTokens: number;
|
|
7755
|
+
outputTokens: number;
|
|
7756
|
+
totalTokens: number;
|
|
7757
|
+
cachedTokens?: number | undefined;
|
|
7758
|
+
reasoningTokens?: number | undefined;
|
|
7759
|
+
inputCost?: number | undefined;
|
|
7760
|
+
outputCost?: number | undefined;
|
|
7761
|
+
totalCost?: number | undefined;
|
|
7762
|
+
tokensPerSecond?: number | undefined;
|
|
7763
|
+
msToFirstChunk?: number | undefined;
|
|
7764
|
+
finishReason?: string | undefined;
|
|
7765
|
+
responseText?: string | undefined;
|
|
7766
|
+
} | undefined;
|
|
7767
|
+
triggeredRuns?: {
|
|
7768
|
+
status: string;
|
|
7769
|
+
createdAt: Date;
|
|
7770
|
+
taskIdentifier: string;
|
|
7771
|
+
runId: string;
|
|
7772
|
+
}[] | undefined;
|
|
7773
|
+
}>;
|
|
7774
|
+
export type RetrieveSpanDetailResponseBody = z.infer<typeof RetrieveSpanDetailResponseBody>;
|
|
7563
7775
|
export declare const CreateStreamResponseBody: z.ZodObject<{
|
|
7564
7776
|
version: z.ZodString;
|
|
7565
7777
|
}, "strip", z.ZodTypeAny, {
|