@trigger.dev/core 0.0.0-prerelease-20260121150532 → 0.0.0-prerelease-20260217172521
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/index.d.ts +8 -1
- package/dist/commonjs/v3/apiClient/index.js +15 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +6 -0
- package/dist/commonjs/v3/imports/superjson-cjs.cjs.map +1 -1
- package/dist/commonjs/v3/imports/superjson.js +5 -3
- package/dist/commonjs/v3/index.d.ts +1 -0
- package/dist/commonjs/v3/index.js +4 -1
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/duration.d.ts +11 -0
- package/dist/commonjs/v3/isomorphic/duration.js +18 -6
- package/dist/commonjs/v3/isomorphic/duration.js.map +1 -1
- package/dist/commonjs/v3/otel/diskIoMetrics.d.ts +2 -0
- package/dist/commonjs/v3/otel/diskIoMetrics.js +94 -0
- package/dist/commonjs/v3/otel/diskIoMetrics.js.map +1 -0
- package/dist/commonjs/v3/otel/filesystemMetrics.d.ts +2 -0
- package/dist/commonjs/v3/otel/filesystemMetrics.js +137 -0
- package/dist/commonjs/v3/otel/filesystemMetrics.js.map +1 -0
- package/dist/commonjs/v3/otel/machineId.d.ts +1 -0
- package/dist/commonjs/v3/otel/machineId.js +7 -0
- package/dist/commonjs/v3/otel/machineId.js.map +1 -0
- package/dist/commonjs/v3/otel/nodejsRuntimeMetrics.d.ts +2 -0
- package/dist/commonjs/v3/otel/nodejsRuntimeMetrics.js +69 -0
- package/dist/commonjs/v3/otel/nodejsRuntimeMetrics.js.map +1 -0
- package/dist/commonjs/v3/otel/tracingSDK.d.ts +15 -0
- package/dist/commonjs/v3/otel/tracingSDK.js +70 -6
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/schemas/api-type.test.d.ts +1 -0
- package/dist/commonjs/v3/schemas/api-type.test.js +127 -0
- package/dist/commonjs/v3/schemas/api-type.test.js.map +1 -0
- package/dist/commonjs/v3/schemas/api.d.ts +368 -46
- package/dist/commonjs/v3/schemas/api.js +44 -28
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/index.d.ts +1 -0
- package/dist/commonjs/v3/schemas/index.js +1 -0
- package/dist/commonjs/v3/schemas/index.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +3 -0
- package/dist/commonjs/v3/schemas/messages.js +1 -0
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/query.d.ts +215 -0
- package/dist/commonjs/v3/schemas/query.js +58 -0
- package/dist/commonjs/v3/schemas/query.js.map +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.d.ts +2 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js +2 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/commonjs/v3/taskContext/index.d.ts +2 -0
- package/dist/commonjs/v3/taskContext/index.js +7 -2
- package/dist/commonjs/v3/taskContext/index.js.map +1 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.d.ts +24 -0
- package/dist/commonjs/v3/taskContext/otelProcessors.js +173 -1
- package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/commonjs/v3/types/tasks.d.ts +16 -0
- package/dist/commonjs/v3/utils/ioSerialization.d.ts +1 -1
- package/dist/commonjs/v3/vendor/superjson.cjs +833 -0
- package/dist/commonjs/v3/workers/index.d.ts +1 -1
- package/dist/commonjs/v3/workers/index.js +2 -1
- package/dist/commonjs/v3/workers/index.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +8 -1
- package/dist/esm/v3/apiClient/index.js +16 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/config.d.ts +6 -0
- package/dist/esm/v3/imports/superjson.d.ts +1 -1
- package/dist/esm/v3/imports/superjson.js +3 -1
- package/dist/esm/v3/imports/superjson.js.map +1 -1
- package/dist/esm/v3/index.d.ts +1 -0
- package/dist/esm/v3/index.js +1 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/isomorphic/duration.d.ts +11 -0
- package/dist/esm/v3/isomorphic/duration.js +17 -6
- package/dist/esm/v3/isomorphic/duration.js.map +1 -1
- package/dist/esm/v3/otel/diskIoMetrics.d.ts +2 -0
- package/dist/esm/v3/otel/diskIoMetrics.js +68 -0
- package/dist/esm/v3/otel/diskIoMetrics.js.map +1 -0
- package/dist/esm/v3/otel/filesystemMetrics.d.ts +2 -0
- package/dist/esm/v3/otel/filesystemMetrics.js +111 -0
- package/dist/esm/v3/otel/filesystemMetrics.js.map +1 -0
- package/dist/esm/v3/otel/machineId.d.ts +1 -0
- package/dist/esm/v3/otel/machineId.js +4 -0
- package/dist/esm/v3/otel/machineId.js.map +1 -0
- package/dist/esm/v3/otel/nodejsRuntimeMetrics.d.ts +2 -0
- package/dist/esm/v3/otel/nodejsRuntimeMetrics.js +66 -0
- package/dist/esm/v3/otel/nodejsRuntimeMetrics.js.map +1 -0
- package/dist/esm/v3/otel/tracingSDK.d.ts +15 -0
- package/dist/esm/v3/otel/tracingSDK.js +72 -8
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/schemas/api-type.test.d.ts +1 -0
- package/dist/esm/v3/schemas/api-type.test.js +125 -0
- package/dist/esm/v3/schemas/api-type.test.js.map +1 -0
- package/dist/esm/v3/schemas/api.d.ts +368 -46
- package/dist/esm/v3/schemas/api.js +43 -27
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/index.d.ts +1 -0
- package/dist/esm/v3/schemas/index.js +1 -0
- package/dist/esm/v3/schemas/index.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +3 -0
- package/dist/esm/v3/schemas/messages.js +1 -0
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/query.d.ts +215 -0
- package/dist/esm/v3/schemas/query.js +55 -0
- package/dist/esm/v3/schemas/query.js.map +1 -0
- package/dist/esm/v3/semanticInternalAttributes.d.ts +2 -0
- package/dist/esm/v3/semanticInternalAttributes.js +2 -0
- package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/esm/v3/taskContext/index.d.ts +2 -0
- package/dist/esm/v3/taskContext/index.js +8 -3
- package/dist/esm/v3/taskContext/index.js.map +1 -1
- package/dist/esm/v3/taskContext/otelProcessors.d.ts +24 -0
- package/dist/esm/v3/taskContext/otelProcessors.js +170 -0
- package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
- package/dist/esm/v3/types/tasks.d.ts +16 -0
- package/dist/esm/v3/utils/ioSerialization.d.ts +1 -1
- package/dist/esm/v3/vendor/superjson.mjs +800 -0
- package/dist/esm/v3/workers/index.d.ts +1 -1
- package/dist/esm/v3/workers/index.js +1 -1
- package/dist/esm/v3/workers/index.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +11 -6
|
@@ -822,14 +822,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
822
822
|
key: z.ZodString;
|
|
823
823
|
delay: z.ZodString;
|
|
824
824
|
mode: z.ZodOptional<z.ZodEnum<["leading", "trailing"]>>;
|
|
825
|
+
maxDelay: z.ZodOptional<z.ZodString>;
|
|
825
826
|
}, "strip", z.ZodTypeAny, {
|
|
826
827
|
key: string;
|
|
827
828
|
delay: string;
|
|
828
829
|
mode?: "leading" | "trailing" | undefined;
|
|
830
|
+
maxDelay?: string | undefined;
|
|
829
831
|
}, {
|
|
830
832
|
key: string;
|
|
831
833
|
delay: string;
|
|
832
834
|
mode?: "leading" | "trailing" | undefined;
|
|
835
|
+
maxDelay?: string | undefined;
|
|
833
836
|
}>>;
|
|
834
837
|
}, "strip", z.ZodTypeAny, {
|
|
835
838
|
metadata?: any;
|
|
@@ -853,6 +856,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
853
856
|
key: string;
|
|
854
857
|
delay: string;
|
|
855
858
|
mode?: "leading" | "trailing" | undefined;
|
|
859
|
+
maxDelay?: string | undefined;
|
|
856
860
|
} | undefined;
|
|
857
861
|
dependentAttempt?: string | undefined;
|
|
858
862
|
parentAttempt?: string | undefined;
|
|
@@ -890,6 +894,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
890
894
|
key: string;
|
|
891
895
|
delay: string;
|
|
892
896
|
mode?: "leading" | "trailing" | undefined;
|
|
897
|
+
maxDelay?: string | undefined;
|
|
893
898
|
} | undefined;
|
|
894
899
|
dependentAttempt?: string | undefined;
|
|
895
900
|
parentAttempt?: string | undefined;
|
|
@@ -929,6 +934,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
929
934
|
key: string;
|
|
930
935
|
delay: string;
|
|
931
936
|
mode?: "leading" | "trailing" | undefined;
|
|
937
|
+
maxDelay?: string | undefined;
|
|
932
938
|
} | undefined;
|
|
933
939
|
dependentAttempt?: string | undefined;
|
|
934
940
|
parentAttempt?: string | undefined;
|
|
@@ -970,6 +976,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
970
976
|
key: string;
|
|
971
977
|
delay: string;
|
|
972
978
|
mode?: "leading" | "trailing" | undefined;
|
|
979
|
+
maxDelay?: string | undefined;
|
|
973
980
|
} | undefined;
|
|
974
981
|
dependentAttempt?: string | undefined;
|
|
975
982
|
parentAttempt?: string | undefined;
|
|
@@ -1072,14 +1079,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1072
1079
|
key: z.ZodString;
|
|
1073
1080
|
delay: z.ZodString;
|
|
1074
1081
|
mode: z.ZodOptional<z.ZodEnum<["leading", "trailing"]>>;
|
|
1082
|
+
maxDelay: z.ZodOptional<z.ZodString>;
|
|
1075
1083
|
}, "strip", z.ZodTypeAny, {
|
|
1076
1084
|
key: string;
|
|
1077
1085
|
delay: string;
|
|
1078
1086
|
mode?: "leading" | "trailing" | undefined;
|
|
1087
|
+
maxDelay?: string | undefined;
|
|
1079
1088
|
}, {
|
|
1080
1089
|
key: string;
|
|
1081
1090
|
delay: string;
|
|
1082
1091
|
mode?: "leading" | "trailing" | undefined;
|
|
1092
|
+
maxDelay?: string | undefined;
|
|
1083
1093
|
}>>;
|
|
1084
1094
|
}, "strip", z.ZodTypeAny, {
|
|
1085
1095
|
metadata?: any;
|
|
@@ -1103,6 +1113,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1103
1113
|
key: string;
|
|
1104
1114
|
delay: string;
|
|
1105
1115
|
mode?: "leading" | "trailing" | undefined;
|
|
1116
|
+
maxDelay?: string | undefined;
|
|
1106
1117
|
} | undefined;
|
|
1107
1118
|
dependentAttempt?: string | undefined;
|
|
1108
1119
|
parentAttempt?: string | undefined;
|
|
@@ -1140,6 +1151,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1140
1151
|
key: string;
|
|
1141
1152
|
delay: string;
|
|
1142
1153
|
mode?: "leading" | "trailing" | undefined;
|
|
1154
|
+
maxDelay?: string | undefined;
|
|
1143
1155
|
} | undefined;
|
|
1144
1156
|
dependentAttempt?: string | undefined;
|
|
1145
1157
|
parentAttempt?: string | undefined;
|
|
@@ -1179,6 +1191,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1179
1191
|
key: string;
|
|
1180
1192
|
delay: string;
|
|
1181
1193
|
mode?: "leading" | "trailing" | undefined;
|
|
1194
|
+
maxDelay?: string | undefined;
|
|
1182
1195
|
} | undefined;
|
|
1183
1196
|
dependentAttempt?: string | undefined;
|
|
1184
1197
|
parentAttempt?: string | undefined;
|
|
@@ -1220,6 +1233,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1220
1233
|
key: string;
|
|
1221
1234
|
delay: string;
|
|
1222
1235
|
mode?: "leading" | "trailing" | undefined;
|
|
1236
|
+
maxDelay?: string | undefined;
|
|
1223
1237
|
} | undefined;
|
|
1224
1238
|
dependentAttempt?: string | undefined;
|
|
1225
1239
|
parentAttempt?: string | undefined;
|
|
@@ -1264,6 +1278,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1264
1278
|
key: string;
|
|
1265
1279
|
delay: string;
|
|
1266
1280
|
mode?: "leading" | "trailing" | undefined;
|
|
1281
|
+
maxDelay?: string | undefined;
|
|
1267
1282
|
} | undefined;
|
|
1268
1283
|
dependentAttempt?: string | undefined;
|
|
1269
1284
|
parentAttempt?: string | undefined;
|
|
@@ -1308,6 +1323,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1308
1323
|
key: string;
|
|
1309
1324
|
delay: string;
|
|
1310
1325
|
mode?: "leading" | "trailing" | undefined;
|
|
1326
|
+
maxDelay?: string | undefined;
|
|
1311
1327
|
} | undefined;
|
|
1312
1328
|
dependentAttempt?: string | undefined;
|
|
1313
1329
|
parentAttempt?: string | undefined;
|
|
@@ -1374,14 +1390,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1374
1390
|
key: z.ZodString;
|
|
1375
1391
|
delay: z.ZodString;
|
|
1376
1392
|
mode: z.ZodOptional<z.ZodEnum<["leading", "trailing"]>>;
|
|
1393
|
+
maxDelay: z.ZodOptional<z.ZodString>;
|
|
1377
1394
|
}, "strip", z.ZodTypeAny, {
|
|
1378
1395
|
key: string;
|
|
1379
1396
|
delay: string;
|
|
1380
1397
|
mode?: "leading" | "trailing" | undefined;
|
|
1398
|
+
maxDelay?: string | undefined;
|
|
1381
1399
|
}, {
|
|
1382
1400
|
key: string;
|
|
1383
1401
|
delay: string;
|
|
1384
1402
|
mode?: "leading" | "trailing" | undefined;
|
|
1403
|
+
maxDelay?: string | undefined;
|
|
1385
1404
|
}>>;
|
|
1386
1405
|
}, "strip", z.ZodTypeAny, {
|
|
1387
1406
|
metadata?: any;
|
|
@@ -1404,6 +1423,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1404
1423
|
key: string;
|
|
1405
1424
|
delay: string;
|
|
1406
1425
|
mode?: "leading" | "trailing" | undefined;
|
|
1426
|
+
maxDelay?: string | undefined;
|
|
1407
1427
|
} | undefined;
|
|
1408
1428
|
parentAttempt?: string | undefined;
|
|
1409
1429
|
lockToVersion?: string | undefined;
|
|
@@ -1434,6 +1454,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1434
1454
|
key: string;
|
|
1435
1455
|
delay: string;
|
|
1436
1456
|
mode?: "leading" | "trailing" | undefined;
|
|
1457
|
+
maxDelay?: string | undefined;
|
|
1437
1458
|
} | undefined;
|
|
1438
1459
|
parentAttempt?: string | undefined;
|
|
1439
1460
|
lockToVersion?: string | undefined;
|
|
@@ -1467,6 +1488,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1467
1488
|
key: string;
|
|
1468
1489
|
delay: string;
|
|
1469
1490
|
mode?: "leading" | "trailing" | undefined;
|
|
1491
|
+
maxDelay?: string | undefined;
|
|
1470
1492
|
} | undefined;
|
|
1471
1493
|
parentAttempt?: string | undefined;
|
|
1472
1494
|
lockToVersion?: string | undefined;
|
|
@@ -1502,6 +1524,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1502
1524
|
key: string;
|
|
1503
1525
|
delay: string;
|
|
1504
1526
|
mode?: "leading" | "trailing" | undefined;
|
|
1527
|
+
maxDelay?: string | undefined;
|
|
1505
1528
|
} | undefined;
|
|
1506
1529
|
parentAttempt?: string | undefined;
|
|
1507
1530
|
lockToVersion?: string | undefined;
|
|
@@ -1561,14 +1584,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1561
1584
|
key: z.ZodString;
|
|
1562
1585
|
delay: z.ZodString;
|
|
1563
1586
|
mode: z.ZodOptional<z.ZodEnum<["leading", "trailing"]>>;
|
|
1587
|
+
maxDelay: z.ZodOptional<z.ZodString>;
|
|
1564
1588
|
}, "strip", z.ZodTypeAny, {
|
|
1565
1589
|
key: string;
|
|
1566
1590
|
delay: string;
|
|
1567
1591
|
mode?: "leading" | "trailing" | undefined;
|
|
1592
|
+
maxDelay?: string | undefined;
|
|
1568
1593
|
}, {
|
|
1569
1594
|
key: string;
|
|
1570
1595
|
delay: string;
|
|
1571
1596
|
mode?: "leading" | "trailing" | undefined;
|
|
1597
|
+
maxDelay?: string | undefined;
|
|
1572
1598
|
}>>;
|
|
1573
1599
|
}, "strip", z.ZodTypeAny, {
|
|
1574
1600
|
metadata?: any;
|
|
@@ -1591,6 +1617,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1591
1617
|
key: string;
|
|
1592
1618
|
delay: string;
|
|
1593
1619
|
mode?: "leading" | "trailing" | undefined;
|
|
1620
|
+
maxDelay?: string | undefined;
|
|
1594
1621
|
} | undefined;
|
|
1595
1622
|
parentAttempt?: string | undefined;
|
|
1596
1623
|
lockToVersion?: string | undefined;
|
|
@@ -1621,6 +1648,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1621
1648
|
key: string;
|
|
1622
1649
|
delay: string;
|
|
1623
1650
|
mode?: "leading" | "trailing" | undefined;
|
|
1651
|
+
maxDelay?: string | undefined;
|
|
1624
1652
|
} | undefined;
|
|
1625
1653
|
parentAttempt?: string | undefined;
|
|
1626
1654
|
lockToVersion?: string | undefined;
|
|
@@ -1654,6 +1682,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1654
1682
|
key: string;
|
|
1655
1683
|
delay: string;
|
|
1656
1684
|
mode?: "leading" | "trailing" | undefined;
|
|
1685
|
+
maxDelay?: string | undefined;
|
|
1657
1686
|
} | undefined;
|
|
1658
1687
|
parentAttempt?: string | undefined;
|
|
1659
1688
|
lockToVersion?: string | undefined;
|
|
@@ -1689,6 +1718,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1689
1718
|
key: string;
|
|
1690
1719
|
delay: string;
|
|
1691
1720
|
mode?: "leading" | "trailing" | undefined;
|
|
1721
|
+
maxDelay?: string | undefined;
|
|
1692
1722
|
} | undefined;
|
|
1693
1723
|
parentAttempt?: string | undefined;
|
|
1694
1724
|
lockToVersion?: string | undefined;
|
|
@@ -1738,6 +1768,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1738
1768
|
key: string;
|
|
1739
1769
|
delay: string;
|
|
1740
1770
|
mode?: "leading" | "trailing" | undefined;
|
|
1771
|
+
maxDelay?: string | undefined;
|
|
1741
1772
|
} | undefined;
|
|
1742
1773
|
parentAttempt?: string | undefined;
|
|
1743
1774
|
lockToVersion?: string | undefined;
|
|
@@ -1778,6 +1809,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1778
1809
|
key: string;
|
|
1779
1810
|
delay: string;
|
|
1780
1811
|
mode?: "leading" | "trailing" | undefined;
|
|
1812
|
+
maxDelay?: string | undefined;
|
|
1781
1813
|
} | undefined;
|
|
1782
1814
|
parentAttempt?: string | undefined;
|
|
1783
1815
|
lockToVersion?: string | undefined;
|
|
@@ -1883,14 +1915,17 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1883
1915
|
key: z.ZodString;
|
|
1884
1916
|
delay: z.ZodString;
|
|
1885
1917
|
mode: z.ZodOptional<z.ZodEnum<["leading", "trailing"]>>;
|
|
1918
|
+
maxDelay: z.ZodOptional<z.ZodString>;
|
|
1886
1919
|
}, "strip", z.ZodTypeAny, {
|
|
1887
1920
|
key: string;
|
|
1888
1921
|
delay: string;
|
|
1889
1922
|
mode?: "leading" | "trailing" | undefined;
|
|
1923
|
+
maxDelay?: string | undefined;
|
|
1890
1924
|
}, {
|
|
1891
1925
|
key: string;
|
|
1892
1926
|
delay: string;
|
|
1893
1927
|
mode?: "leading" | "trailing" | undefined;
|
|
1928
|
+
maxDelay?: string | undefined;
|
|
1894
1929
|
}>>;
|
|
1895
1930
|
}, "strip", z.ZodTypeAny, {
|
|
1896
1931
|
metadata?: any;
|
|
@@ -1913,6 +1948,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1913
1948
|
key: string;
|
|
1914
1949
|
delay: string;
|
|
1915
1950
|
mode?: "leading" | "trailing" | undefined;
|
|
1951
|
+
maxDelay?: string | undefined;
|
|
1916
1952
|
} | undefined;
|
|
1917
1953
|
parentAttempt?: string | undefined;
|
|
1918
1954
|
lockToVersion?: string | undefined;
|
|
@@ -1943,6 +1979,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1943
1979
|
key: string;
|
|
1944
1980
|
delay: string;
|
|
1945
1981
|
mode?: "leading" | "trailing" | undefined;
|
|
1982
|
+
maxDelay?: string | undefined;
|
|
1946
1983
|
} | undefined;
|
|
1947
1984
|
parentAttempt?: string | undefined;
|
|
1948
1985
|
lockToVersion?: string | undefined;
|
|
@@ -1976,6 +2013,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1976
2013
|
key: string;
|
|
1977
2014
|
delay: string;
|
|
1978
2015
|
mode?: "leading" | "trailing" | undefined;
|
|
2016
|
+
maxDelay?: string | undefined;
|
|
1979
2017
|
} | undefined;
|
|
1980
2018
|
parentAttempt?: string | undefined;
|
|
1981
2019
|
lockToVersion?: string | undefined;
|
|
@@ -2011,6 +2049,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2011
2049
|
key: string;
|
|
2012
2050
|
delay: string;
|
|
2013
2051
|
mode?: "leading" | "trailing" | undefined;
|
|
2052
|
+
maxDelay?: string | undefined;
|
|
2014
2053
|
} | undefined;
|
|
2015
2054
|
parentAttempt?: string | undefined;
|
|
2016
2055
|
lockToVersion?: string | undefined;
|
|
@@ -2058,6 +2097,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2058
2097
|
key: string;
|
|
2059
2098
|
delay: string;
|
|
2060
2099
|
mode?: "leading" | "trailing" | undefined;
|
|
2100
|
+
maxDelay?: string | undefined;
|
|
2061
2101
|
} | undefined;
|
|
2062
2102
|
parentAttempt?: string | undefined;
|
|
2063
2103
|
lockToVersion?: string | undefined;
|
|
@@ -2097,6 +2137,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
2097
2137
|
key: string;
|
|
2098
2138
|
delay: string;
|
|
2099
2139
|
mode?: "leading" | "trailing" | undefined;
|
|
2140
|
+
maxDelay?: string | undefined;
|
|
2100
2141
|
} | undefined;
|
|
2101
2142
|
parentAttempt?: string | undefined;
|
|
2102
2143
|
lockToVersion?: string | undefined;
|
|
@@ -2355,6 +2396,29 @@ export declare const FinalizeDeploymentRequestBody: z.ZodObject<{
|
|
|
2355
2396
|
skipPushToRegistry?: boolean | undefined;
|
|
2356
2397
|
}>;
|
|
2357
2398
|
export type FinalizeDeploymentRequestBody = z.infer<typeof FinalizeDeploymentRequestBody>;
|
|
2399
|
+
export declare const BuildServerMetadata: z.ZodObject<{
|
|
2400
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
2401
|
+
isNativeBuild: z.ZodOptional<z.ZodBoolean>;
|
|
2402
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
2403
|
+
skipPromotion: z.ZodOptional<z.ZodBoolean>;
|
|
2404
|
+
configFilePath: z.ZodOptional<z.ZodString>;
|
|
2405
|
+
skipEnqueue: z.ZodOptional<z.ZodBoolean>;
|
|
2406
|
+
}, "strip", z.ZodTypeAny, {
|
|
2407
|
+
skipPromotion?: boolean | undefined;
|
|
2408
|
+
buildId?: string | undefined;
|
|
2409
|
+
isNativeBuild?: boolean | undefined;
|
|
2410
|
+
artifactKey?: string | undefined;
|
|
2411
|
+
configFilePath?: string | undefined;
|
|
2412
|
+
skipEnqueue?: boolean | undefined;
|
|
2413
|
+
}, {
|
|
2414
|
+
skipPromotion?: boolean | undefined;
|
|
2415
|
+
buildId?: string | undefined;
|
|
2416
|
+
isNativeBuild?: boolean | undefined;
|
|
2417
|
+
artifactKey?: string | undefined;
|
|
2418
|
+
configFilePath?: string | undefined;
|
|
2419
|
+
skipEnqueue?: boolean | undefined;
|
|
2420
|
+
}>;
|
|
2421
|
+
export type BuildServerMetadata = z.infer<typeof BuildServerMetadata>;
|
|
2358
2422
|
export declare const ProgressDeploymentRequestBody: z.ZodObject<{
|
|
2359
2423
|
contentHash: z.ZodOptional<z.ZodString>;
|
|
2360
2424
|
gitMeta: z.ZodOptional<z.ZodObject<{
|
|
@@ -2401,6 +2465,28 @@ export declare const ProgressDeploymentRequestBody: z.ZodObject<{
|
|
|
2401
2465
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2402
2466
|
}>>;
|
|
2403
2467
|
runtime: z.ZodOptional<z.ZodString>;
|
|
2468
|
+
buildServerMetadata: z.ZodOptional<z.ZodObject<{
|
|
2469
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
2470
|
+
isNativeBuild: z.ZodOptional<z.ZodBoolean>;
|
|
2471
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
2472
|
+
skipPromotion: z.ZodOptional<z.ZodBoolean>;
|
|
2473
|
+
configFilePath: z.ZodOptional<z.ZodString>;
|
|
2474
|
+
skipEnqueue: z.ZodOptional<z.ZodBoolean>;
|
|
2475
|
+
}, "strip", z.ZodTypeAny, {
|
|
2476
|
+
skipPromotion?: boolean | undefined;
|
|
2477
|
+
buildId?: string | undefined;
|
|
2478
|
+
isNativeBuild?: boolean | undefined;
|
|
2479
|
+
artifactKey?: string | undefined;
|
|
2480
|
+
configFilePath?: string | undefined;
|
|
2481
|
+
skipEnqueue?: boolean | undefined;
|
|
2482
|
+
}, {
|
|
2483
|
+
skipPromotion?: boolean | undefined;
|
|
2484
|
+
buildId?: string | undefined;
|
|
2485
|
+
isNativeBuild?: boolean | undefined;
|
|
2486
|
+
artifactKey?: string | undefined;
|
|
2487
|
+
configFilePath?: string | undefined;
|
|
2488
|
+
skipEnqueue?: boolean | undefined;
|
|
2489
|
+
}>>;
|
|
2404
2490
|
}, "strip", z.ZodTypeAny, {
|
|
2405
2491
|
runtime?: string | undefined;
|
|
2406
2492
|
contentHash?: string | undefined;
|
|
@@ -2419,6 +2505,14 @@ export declare const ProgressDeploymentRequestBody: z.ZodObject<{
|
|
|
2419
2505
|
pullRequestTitle?: string | undefined;
|
|
2420
2506
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2421
2507
|
} | undefined;
|
|
2508
|
+
buildServerMetadata?: {
|
|
2509
|
+
skipPromotion?: boolean | undefined;
|
|
2510
|
+
buildId?: string | undefined;
|
|
2511
|
+
isNativeBuild?: boolean | undefined;
|
|
2512
|
+
artifactKey?: string | undefined;
|
|
2513
|
+
configFilePath?: string | undefined;
|
|
2514
|
+
skipEnqueue?: boolean | undefined;
|
|
2515
|
+
} | undefined;
|
|
2422
2516
|
}, {
|
|
2423
2517
|
runtime?: string | undefined;
|
|
2424
2518
|
contentHash?: string | undefined;
|
|
@@ -2437,6 +2531,14 @@ export declare const ProgressDeploymentRequestBody: z.ZodObject<{
|
|
|
2437
2531
|
pullRequestTitle?: string | undefined;
|
|
2438
2532
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2439
2533
|
} | undefined;
|
|
2534
|
+
buildServerMetadata?: {
|
|
2535
|
+
skipPromotion?: boolean | undefined;
|
|
2536
|
+
buildId?: string | undefined;
|
|
2537
|
+
isNativeBuild?: boolean | undefined;
|
|
2538
|
+
artifactKey?: string | undefined;
|
|
2539
|
+
configFilePath?: string | undefined;
|
|
2540
|
+
skipEnqueue?: boolean | undefined;
|
|
2541
|
+
} | undefined;
|
|
2440
2542
|
}>;
|
|
2441
2543
|
export type ProgressDeploymentRequestBody = z.infer<typeof ProgressDeploymentRequestBody>;
|
|
2442
2544
|
export declare const CancelDeploymentRequestBody: z.ZodObject<{
|
|
@@ -2463,26 +2565,6 @@ export declare const ExternalBuildData: z.ZodObject<{
|
|
|
2463
2565
|
export type ExternalBuildData = z.infer<typeof ExternalBuildData>;
|
|
2464
2566
|
export declare const DeploymentTriggeredVia: z.ZodUnion<[z.ZodEnum<["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", "dashboard"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>;
|
|
2465
2567
|
export type DeploymentTriggeredVia = z.infer<typeof DeploymentTriggeredVia>;
|
|
2466
|
-
export declare const BuildServerMetadata: z.ZodObject<{
|
|
2467
|
-
buildId: z.ZodOptional<z.ZodString>;
|
|
2468
|
-
isNativeBuild: z.ZodOptional<z.ZodBoolean>;
|
|
2469
|
-
artifactKey: z.ZodOptional<z.ZodString>;
|
|
2470
|
-
skipPromotion: z.ZodOptional<z.ZodBoolean>;
|
|
2471
|
-
configFilePath: z.ZodOptional<z.ZodString>;
|
|
2472
|
-
}, "strip", z.ZodTypeAny, {
|
|
2473
|
-
skipPromotion?: boolean | undefined;
|
|
2474
|
-
buildId?: string | undefined;
|
|
2475
|
-
isNativeBuild?: boolean | undefined;
|
|
2476
|
-
artifactKey?: string | undefined;
|
|
2477
|
-
configFilePath?: string | undefined;
|
|
2478
|
-
}, {
|
|
2479
|
-
skipPromotion?: boolean | undefined;
|
|
2480
|
-
buildId?: string | undefined;
|
|
2481
|
-
isNativeBuild?: boolean | undefined;
|
|
2482
|
-
artifactKey?: string | undefined;
|
|
2483
|
-
configFilePath?: string | undefined;
|
|
2484
|
-
}>;
|
|
2485
|
-
export type BuildServerMetadata = z.infer<typeof BuildServerMetadata>;
|
|
2486
2568
|
export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
2487
2569
|
git: z.ZodOptional<z.ZodObject<{
|
|
2488
2570
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -2693,7 +2775,7 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
2693
2775
|
} | undefined;
|
|
2694
2776
|
}>;
|
|
2695
2777
|
export type InitializeDeploymentResponseBody = z.infer<typeof InitializeDeploymentResponseBody>;
|
|
2696
|
-
|
|
2778
|
+
declare const InitializeDeploymentRequestBodyBase: z.ZodObject<{
|
|
2697
2779
|
contentHash: z.ZodString;
|
|
2698
2780
|
userId: z.ZodOptional<z.ZodString>;
|
|
2699
2781
|
/** @deprecated This is now determined by the webapp. This is only used to warn users with old CLI versions. */
|
|
@@ -2752,6 +2834,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodIntersection<z.ZodObj
|
|
|
2752
2834
|
runtime?: string | undefined;
|
|
2753
2835
|
userId?: string | undefined;
|
|
2754
2836
|
selfHosted?: boolean | undefined;
|
|
2837
|
+
buildId?: string | undefined;
|
|
2755
2838
|
gitMeta?: {
|
|
2756
2839
|
dirty?: boolean | undefined;
|
|
2757
2840
|
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
@@ -2767,7 +2850,6 @@ export declare const InitializeDeploymentRequestBody: z.ZodIntersection<z.ZodObj
|
|
|
2767
2850
|
pullRequestTitle?: string | undefined;
|
|
2768
2851
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2769
2852
|
} | undefined;
|
|
2770
|
-
buildId?: string | undefined;
|
|
2771
2853
|
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
2772
2854
|
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" | "dashboard" | undefined;
|
|
2773
2855
|
}, {
|
|
@@ -2776,6 +2858,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodIntersection<z.ZodObj
|
|
|
2776
2858
|
runtime?: string | undefined;
|
|
2777
2859
|
userId?: string | undefined;
|
|
2778
2860
|
selfHosted?: boolean | undefined;
|
|
2861
|
+
buildId?: string | undefined;
|
|
2779
2862
|
gitMeta?: {
|
|
2780
2863
|
dirty?: boolean | undefined;
|
|
2781
2864
|
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
@@ -2791,38 +2874,171 @@ export declare const InitializeDeploymentRequestBody: z.ZodIntersection<z.ZodObj
|
|
|
2791
2874
|
pullRequestTitle?: string | undefined;
|
|
2792
2875
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2793
2876
|
} | undefined;
|
|
2794
|
-
buildId?: string | undefined;
|
|
2795
2877
|
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
2796
2878
|
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" | "dashboard" | undefined;
|
|
2797
|
-
}
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2879
|
+
}>;
|
|
2880
|
+
type BaseOutput = z.output<typeof InitializeDeploymentRequestBodyBase>;
|
|
2881
|
+
type NativeBuildOutput = BaseOutput & {
|
|
2882
|
+
isNativeBuild: true;
|
|
2883
|
+
skipPromotion?: boolean;
|
|
2884
|
+
artifactKey?: string;
|
|
2885
|
+
configFilePath?: string;
|
|
2886
|
+
skipEnqueue?: boolean;
|
|
2887
|
+
};
|
|
2888
|
+
type NonNativeBuildOutput = BaseOutput & {
|
|
2889
|
+
isNativeBuild: false;
|
|
2890
|
+
skipPromotion?: never;
|
|
2891
|
+
artifactKey?: never;
|
|
2892
|
+
configFilePath?: never;
|
|
2893
|
+
skipEnqueue?: never;
|
|
2894
|
+
};
|
|
2895
|
+
export declare const InitializeDeploymentRequestBody: z.ZodEffects<z.ZodObject<{
|
|
2896
|
+
contentHash: z.ZodString;
|
|
2897
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2898
|
+
/** @deprecated This is now determined by the webapp. This is only used to warn users with old CLI versions. */
|
|
2899
|
+
selfHosted: z.ZodOptional<z.ZodBoolean>;
|
|
2900
|
+
gitMeta: z.ZodOptional<z.ZodObject<{
|
|
2901
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2902
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
2903
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
2904
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
2905
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
2906
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
2907
|
+
commitRef: z.ZodOptional<z.ZodString>;
|
|
2908
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
2909
|
+
dirty: z.ZodOptional<z.ZodBoolean>;
|
|
2910
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
2911
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
2912
|
+
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
2913
|
+
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
2914
|
+
}, "strip", z.ZodTypeAny, {
|
|
2915
|
+
dirty?: boolean | undefined;
|
|
2916
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2917
|
+
provider?: string | undefined;
|
|
2918
|
+
ghUsername?: string | undefined;
|
|
2919
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2920
|
+
commitAuthorName?: string | undefined;
|
|
2921
|
+
commitMessage?: string | undefined;
|
|
2922
|
+
commitRef?: string | undefined;
|
|
2923
|
+
commitSha?: string | undefined;
|
|
2924
|
+
remoteUrl?: string | undefined;
|
|
2925
|
+
pullRequestNumber?: number | undefined;
|
|
2926
|
+
pullRequestTitle?: string | undefined;
|
|
2927
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2928
|
+
}, {
|
|
2929
|
+
dirty?: boolean | undefined;
|
|
2930
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2931
|
+
provider?: string | undefined;
|
|
2932
|
+
ghUsername?: string | undefined;
|
|
2933
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2934
|
+
commitAuthorName?: string | undefined;
|
|
2935
|
+
commitMessage?: string | undefined;
|
|
2936
|
+
commitRef?: string | undefined;
|
|
2937
|
+
commitSha?: string | undefined;
|
|
2938
|
+
remoteUrl?: string | undefined;
|
|
2939
|
+
pullRequestNumber?: number | undefined;
|
|
2940
|
+
pullRequestTitle?: string | undefined;
|
|
2941
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2942
|
+
}>>;
|
|
2943
|
+
type: z.ZodOptional<z.ZodEnum<["MANAGED", "UNMANAGED", "V1"]>>;
|
|
2944
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
2945
|
+
initialStatus: z.ZodOptional<z.ZodEnum<["PENDING", "BUILDING"]>>;
|
|
2946
|
+
triggeredVia: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["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", "dashboard"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>>;
|
|
2947
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
2948
|
+
} & {
|
|
2949
|
+
isNativeBuild: z.ZodDefault<z.ZodBoolean>;
|
|
2950
|
+
skipPromotion: z.ZodOptional<z.ZodBoolean>;
|
|
2951
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
2801
2952
|
configFilePath: z.ZodOptional<z.ZodString>;
|
|
2953
|
+
skipEnqueue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2802
2954
|
}, "strip", z.ZodTypeAny, {
|
|
2803
|
-
|
|
2804
|
-
isNativeBuild:
|
|
2805
|
-
|
|
2955
|
+
contentHash: string;
|
|
2956
|
+
isNativeBuild: boolean;
|
|
2957
|
+
skipEnqueue: boolean;
|
|
2958
|
+
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
2959
|
+
runtime?: string | undefined;
|
|
2960
|
+
userId?: string | undefined;
|
|
2961
|
+
selfHosted?: boolean | undefined;
|
|
2962
|
+
skipPromotion?: boolean | undefined;
|
|
2963
|
+
buildId?: string | undefined;
|
|
2964
|
+
artifactKey?: string | undefined;
|
|
2806
2965
|
configFilePath?: string | undefined;
|
|
2966
|
+
gitMeta?: {
|
|
2967
|
+
dirty?: boolean | undefined;
|
|
2968
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2969
|
+
provider?: string | undefined;
|
|
2970
|
+
ghUsername?: string | undefined;
|
|
2971
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2972
|
+
commitAuthorName?: string | undefined;
|
|
2973
|
+
commitMessage?: string | undefined;
|
|
2974
|
+
commitRef?: string | undefined;
|
|
2975
|
+
commitSha?: string | undefined;
|
|
2976
|
+
remoteUrl?: string | undefined;
|
|
2977
|
+
pullRequestNumber?: number | undefined;
|
|
2978
|
+
pullRequestTitle?: string | undefined;
|
|
2979
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2980
|
+
} | undefined;
|
|
2981
|
+
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
2982
|
+
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" | "dashboard" | undefined;
|
|
2807
2983
|
}, {
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2984
|
+
contentHash: string;
|
|
2985
|
+
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
2986
|
+
runtime?: string | undefined;
|
|
2987
|
+
userId?: string | undefined;
|
|
2988
|
+
selfHosted?: boolean | undefined;
|
|
2989
|
+
skipPromotion?: boolean | undefined;
|
|
2990
|
+
buildId?: string | undefined;
|
|
2991
|
+
isNativeBuild?: boolean | undefined;
|
|
2992
|
+
artifactKey?: string | undefined;
|
|
2811
2993
|
configFilePath?: string | undefined;
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2994
|
+
skipEnqueue?: boolean | undefined;
|
|
2995
|
+
gitMeta?: {
|
|
2996
|
+
dirty?: boolean | undefined;
|
|
2997
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2998
|
+
provider?: string | undefined;
|
|
2999
|
+
ghUsername?: string | undefined;
|
|
3000
|
+
ghUserAvatarUrl?: string | undefined;
|
|
3001
|
+
commitAuthorName?: string | undefined;
|
|
3002
|
+
commitMessage?: string | undefined;
|
|
3003
|
+
commitRef?: string | undefined;
|
|
3004
|
+
commitSha?: string | undefined;
|
|
3005
|
+
remoteUrl?: string | undefined;
|
|
3006
|
+
pullRequestNumber?: number | undefined;
|
|
3007
|
+
pullRequestTitle?: string | undefined;
|
|
3008
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
3009
|
+
} | undefined;
|
|
3010
|
+
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
3011
|
+
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" | "dashboard" | undefined;
|
|
3012
|
+
}>, NativeBuildOutput | NonNativeBuildOutput, {
|
|
3013
|
+
contentHash: string;
|
|
3014
|
+
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
3015
|
+
runtime?: string | undefined;
|
|
3016
|
+
userId?: string | undefined;
|
|
3017
|
+
selfHosted?: boolean | undefined;
|
|
3018
|
+
skipPromotion?: boolean | undefined;
|
|
3019
|
+
buildId?: string | undefined;
|
|
3020
|
+
isNativeBuild?: boolean | undefined;
|
|
3021
|
+
artifactKey?: string | undefined;
|
|
2822
3022
|
configFilePath?: string | undefined;
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
3023
|
+
skipEnqueue?: boolean | undefined;
|
|
3024
|
+
gitMeta?: {
|
|
3025
|
+
dirty?: boolean | undefined;
|
|
3026
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
3027
|
+
provider?: string | undefined;
|
|
3028
|
+
ghUsername?: string | undefined;
|
|
3029
|
+
ghUserAvatarUrl?: string | undefined;
|
|
3030
|
+
commitAuthorName?: string | undefined;
|
|
3031
|
+
commitMessage?: string | undefined;
|
|
3032
|
+
commitRef?: string | undefined;
|
|
3033
|
+
commitSha?: string | undefined;
|
|
3034
|
+
remoteUrl?: string | undefined;
|
|
3035
|
+
pullRequestNumber?: number | undefined;
|
|
3036
|
+
pullRequestTitle?: string | undefined;
|
|
3037
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
3038
|
+
} | undefined;
|
|
3039
|
+
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
3040
|
+
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" | "dashboard" | undefined;
|
|
3041
|
+
}>;
|
|
2826
3042
|
export type InitializeDeploymentRequestBody = z.infer<typeof InitializeDeploymentRequestBody>;
|
|
2827
3043
|
export declare const RemoteBuildProviderStatusResponseBody: z.ZodObject<{
|
|
2828
3044
|
status: z.ZodEnum<["operational", "degraded", "unknown"]>;
|
|
@@ -2932,6 +3148,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2932
3148
|
version: z.ZodString;
|
|
2933
3149
|
imageReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2934
3150
|
imagePlatform: z.ZodString;
|
|
3151
|
+
commitSHA: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2935
3152
|
externalBuildData: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2936
3153
|
buildId: z.ZodString;
|
|
2937
3154
|
buildToken: z.ZodString;
|
|
@@ -2999,6 +3216,25 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2999
3216
|
exportName?: string | undefined;
|
|
3000
3217
|
}[];
|
|
3001
3218
|
}>>;
|
|
3219
|
+
integrationDeployments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3220
|
+
id: z.ZodString;
|
|
3221
|
+
integrationName: z.ZodString;
|
|
3222
|
+
integrationDeploymentId: z.ZodString;
|
|
3223
|
+
commitSHA: z.ZodString;
|
|
3224
|
+
createdAt: z.ZodDate;
|
|
3225
|
+
}, "strip", z.ZodTypeAny, {
|
|
3226
|
+
id: string;
|
|
3227
|
+
createdAt: Date;
|
|
3228
|
+
commitSHA: string;
|
|
3229
|
+
integrationName: string;
|
|
3230
|
+
integrationDeploymentId: string;
|
|
3231
|
+
}, {
|
|
3232
|
+
id: string;
|
|
3233
|
+
createdAt: Date;
|
|
3234
|
+
commitSHA: string;
|
|
3235
|
+
integrationName: string;
|
|
3236
|
+
integrationDeploymentId: string;
|
|
3237
|
+
}>, "many">>>;
|
|
3002
3238
|
}, "strip", z.ZodTypeAny, {
|
|
3003
3239
|
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
3004
3240
|
id: string;
|
|
@@ -3022,12 +3258,20 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
3022
3258
|
buildId: string;
|
|
3023
3259
|
buildToken: string;
|
|
3024
3260
|
} | null | undefined;
|
|
3261
|
+
commitSHA?: string | null | undefined;
|
|
3025
3262
|
errorData?: {
|
|
3026
3263
|
message: string;
|
|
3027
3264
|
name: string;
|
|
3028
3265
|
stack?: string | undefined;
|
|
3029
3266
|
stderr?: string | undefined;
|
|
3030
3267
|
} | null | undefined;
|
|
3268
|
+
integrationDeployments?: {
|
|
3269
|
+
id: string;
|
|
3270
|
+
createdAt: Date;
|
|
3271
|
+
commitSHA: string;
|
|
3272
|
+
integrationName: string;
|
|
3273
|
+
integrationDeploymentId: string;
|
|
3274
|
+
}[] | null | undefined;
|
|
3031
3275
|
}, {
|
|
3032
3276
|
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
3033
3277
|
id: string;
|
|
@@ -3051,12 +3295,20 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
3051
3295
|
buildId: string;
|
|
3052
3296
|
buildToken: string;
|
|
3053
3297
|
} | null | undefined;
|
|
3298
|
+
commitSHA?: string | null | undefined;
|
|
3054
3299
|
errorData?: {
|
|
3055
3300
|
message: string;
|
|
3056
3301
|
name: string;
|
|
3057
3302
|
stack?: string | undefined;
|
|
3058
3303
|
stderr?: string | undefined;
|
|
3059
3304
|
} | null | undefined;
|
|
3305
|
+
integrationDeployments?: {
|
|
3306
|
+
id: string;
|
|
3307
|
+
createdAt: Date;
|
|
3308
|
+
commitSHA: string;
|
|
3309
|
+
integrationName: string;
|
|
3310
|
+
integrationDeploymentId: string;
|
|
3311
|
+
}[] | null | undefined;
|
|
3060
3312
|
}>;
|
|
3061
3313
|
export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
|
|
3062
3314
|
export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
@@ -3067,6 +3319,7 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
3067
3319
|
version: z.ZodString;
|
|
3068
3320
|
imageReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3069
3321
|
imagePlatform: z.ZodString;
|
|
3322
|
+
commitSHA: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3070
3323
|
externalBuildData: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3071
3324
|
buildId: z.ZodString;
|
|
3072
3325
|
buildToken: z.ZodString;
|
|
@@ -3134,6 +3387,25 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
3134
3387
|
exportName?: string | undefined;
|
|
3135
3388
|
}[];
|
|
3136
3389
|
}>>;
|
|
3390
|
+
integrationDeployments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3391
|
+
id: z.ZodString;
|
|
3392
|
+
integrationName: z.ZodString;
|
|
3393
|
+
integrationDeploymentId: z.ZodString;
|
|
3394
|
+
commitSHA: z.ZodString;
|
|
3395
|
+
createdAt: z.ZodDate;
|
|
3396
|
+
}, "strip", z.ZodTypeAny, {
|
|
3397
|
+
id: string;
|
|
3398
|
+
createdAt: Date;
|
|
3399
|
+
commitSHA: string;
|
|
3400
|
+
integrationName: string;
|
|
3401
|
+
integrationDeploymentId: string;
|
|
3402
|
+
}, {
|
|
3403
|
+
id: string;
|
|
3404
|
+
createdAt: Date;
|
|
3405
|
+
commitSHA: string;
|
|
3406
|
+
integrationName: string;
|
|
3407
|
+
integrationDeploymentId: string;
|
|
3408
|
+
}>, "many">>>;
|
|
3137
3409
|
}, "worker">, "strip", z.ZodTypeAny, {
|
|
3138
3410
|
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
3139
3411
|
id: string;
|
|
@@ -3147,12 +3419,20 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
3147
3419
|
buildId: string;
|
|
3148
3420
|
buildToken: string;
|
|
3149
3421
|
} | null | undefined;
|
|
3422
|
+
commitSHA?: string | null | undefined;
|
|
3150
3423
|
errorData?: {
|
|
3151
3424
|
message: string;
|
|
3152
3425
|
name: string;
|
|
3153
3426
|
stack?: string | undefined;
|
|
3154
3427
|
stderr?: string | undefined;
|
|
3155
3428
|
} | null | undefined;
|
|
3429
|
+
integrationDeployments?: {
|
|
3430
|
+
id: string;
|
|
3431
|
+
createdAt: Date;
|
|
3432
|
+
commitSHA: string;
|
|
3433
|
+
integrationName: string;
|
|
3434
|
+
integrationDeploymentId: string;
|
|
3435
|
+
}[] | null | undefined;
|
|
3156
3436
|
}, {
|
|
3157
3437
|
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
3158
3438
|
id: string;
|
|
@@ -3166,12 +3446,20 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
3166
3446
|
buildId: string;
|
|
3167
3447
|
buildToken: string;
|
|
3168
3448
|
} | null | undefined;
|
|
3449
|
+
commitSHA?: string | null | undefined;
|
|
3169
3450
|
errorData?: {
|
|
3170
3451
|
message: string;
|
|
3171
3452
|
name: string;
|
|
3172
3453
|
stack?: string | undefined;
|
|
3173
3454
|
stderr?: string | undefined;
|
|
3174
3455
|
} | null | undefined;
|
|
3456
|
+
integrationDeployments?: {
|
|
3457
|
+
id: string;
|
|
3458
|
+
createdAt: Date;
|
|
3459
|
+
commitSHA: string;
|
|
3460
|
+
integrationName: string;
|
|
3461
|
+
integrationDeploymentId: string;
|
|
3462
|
+
}[] | null | undefined;
|
|
3175
3463
|
}>;
|
|
3176
3464
|
export type GetLatestDeploymentResponseBody = z.infer<typeof GetLatestDeploymentResponseBody>;
|
|
3177
3465
|
export declare const DeploymentLogEvent: z.ZodObject<{
|
|
@@ -5752,12 +6040,45 @@ export declare const ImportEnvironmentVariablesRequestBody: z.ZodObject<{
|
|
|
5752
6040
|
variables: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5753
6041
|
parentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5754
6042
|
override: z.ZodOptional<z.ZodBoolean>;
|
|
6043
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6044
|
+
type: z.ZodLiteral<"user">;
|
|
6045
|
+
userId: z.ZodString;
|
|
6046
|
+
}, "strip", z.ZodTypeAny, {
|
|
6047
|
+
type: "user";
|
|
6048
|
+
userId: string;
|
|
6049
|
+
}, {
|
|
6050
|
+
type: "user";
|
|
6051
|
+
userId: string;
|
|
6052
|
+
}>, z.ZodObject<{
|
|
6053
|
+
type: z.ZodLiteral<"integration">;
|
|
6054
|
+
integration: z.ZodString;
|
|
6055
|
+
}, "strip", z.ZodTypeAny, {
|
|
6056
|
+
type: "integration";
|
|
6057
|
+
integration: string;
|
|
6058
|
+
}, {
|
|
6059
|
+
type: "integration";
|
|
6060
|
+
integration: string;
|
|
6061
|
+
}>]>>;
|
|
5755
6062
|
}, "strip", z.ZodTypeAny, {
|
|
5756
6063
|
variables: Record<string, string>;
|
|
6064
|
+
source?: {
|
|
6065
|
+
type: "user";
|
|
6066
|
+
userId: string;
|
|
6067
|
+
} | {
|
|
6068
|
+
type: "integration";
|
|
6069
|
+
integration: string;
|
|
6070
|
+
} | undefined;
|
|
5757
6071
|
parentVariables?: Record<string, string> | undefined;
|
|
5758
6072
|
override?: boolean | undefined;
|
|
5759
6073
|
}, {
|
|
5760
6074
|
variables: Record<string, string>;
|
|
6075
|
+
source?: {
|
|
6076
|
+
type: "user";
|
|
6077
|
+
userId: string;
|
|
6078
|
+
} | {
|
|
6079
|
+
type: "integration";
|
|
6080
|
+
integration: string;
|
|
6081
|
+
} | undefined;
|
|
5761
6082
|
parentVariables?: Record<string, string> | undefined;
|
|
5762
6083
|
override?: boolean | undefined;
|
|
5763
6084
|
}>;
|
|
@@ -7125,3 +7446,4 @@ export declare const AppendToStreamResponseBody: z.ZodObject<{
|
|
|
7125
7446
|
message?: string | undefined;
|
|
7126
7447
|
}>;
|
|
7127
7448
|
export type AppendToStreamResponseBody = z.infer<typeof AppendToStreamResponseBody>;
|
|
7449
|
+
export {};
|