@trigger.dev/core 4.4.2 → 4.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/commonjs/v3/apiClient/core.d.ts +3 -1
  2. package/dist/commonjs/v3/apiClient/core.js +1 -0
  3. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  4. package/dist/commonjs/v3/apiClient/index.d.ts +104 -7
  5. package/dist/commonjs/v3/apiClient/index.js +64 -3
  6. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  7. package/dist/commonjs/v3/config.d.ts +18 -0
  8. package/dist/commonjs/v3/isomorphic/friendlyId.d.ts +1 -0
  9. package/dist/commonjs/v3/isomorphic/friendlyId.js +2 -1
  10. package/dist/commonjs/v3/isomorphic/friendlyId.js.map +1 -1
  11. package/dist/commonjs/v3/resource-catalog/catalog.d.ts +6 -2
  12. package/dist/commonjs/v3/resource-catalog/index.d.ts +6 -2
  13. package/dist/commonjs/v3/resource-catalog/index.js +12 -0
  14. package/dist/commonjs/v3/resource-catalog/index.js.map +1 -1
  15. package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.d.ts +6 -2
  16. package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js +12 -0
  17. package/dist/commonjs/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
  18. package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.d.ts +10 -2
  19. package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +51 -0
  20. package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
  21. package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPool.js +2 -2
  22. package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPool.js.map +1 -1
  23. package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPool.test.js +1 -1
  24. package/dist/commonjs/v3/runEngineWorker/supervisor/consumerPool.test.js.map +1 -1
  25. package/dist/commonjs/v3/runEngineWorker/supervisor/events.d.ts +2 -0
  26. package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +14 -0
  27. package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.d.ts +5 -1
  28. package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js +6 -1
  29. package/dist/commonjs/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
  30. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +90 -0
  31. package/dist/commonjs/v3/runEngineWorker/supervisor/session.js +3 -1
  32. package/dist/commonjs/v3/runEngineWorker/supervisor/session.js.map +1 -1
  33. package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +7 -0
  34. package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +45 -0
  35. package/dist/commonjs/v3/schemas/api.d.ts +598 -37
  36. package/dist/commonjs/v3/schemas/api.js +122 -4
  37. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  38. package/dist/commonjs/v3/schemas/build.d.ts +196 -32
  39. package/dist/commonjs/v3/schemas/build.js +1 -0
  40. package/dist/commonjs/v3/schemas/build.js.map +1 -1
  41. package/dist/commonjs/v3/schemas/checkpoints.d.ts +45 -0
  42. package/dist/commonjs/v3/schemas/messages.d.ts +112 -6
  43. package/dist/commonjs/v3/schemas/query.d.ts +294 -0
  44. package/dist/commonjs/v3/schemas/query.js +56 -1
  45. package/dist/commonjs/v3/schemas/query.js.map +1 -1
  46. package/dist/commonjs/v3/schemas/resources.d.ts +93 -0
  47. package/dist/commonjs/v3/schemas/resources.js +17 -1
  48. package/dist/commonjs/v3/schemas/resources.js.map +1 -1
  49. package/dist/commonjs/v3/schemas/runEngine.d.ts +67 -0
  50. package/dist/commonjs/v3/schemas/runEngine.js +15 -1
  51. package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
  52. package/dist/commonjs/v3/schemas/schemas.d.ts +61 -0
  53. package/dist/commonjs/v3/schemas/schemas.js +15 -1
  54. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  55. package/dist/commonjs/v3/schemas/style.d.ts +20 -8
  56. package/dist/commonjs/v3/schemas/style.js +2 -1
  57. package/dist/commonjs/v3/schemas/style.js.map +1 -1
  58. package/dist/commonjs/v3/schemas/webhooks.d.ts +381 -0
  59. package/dist/commonjs/v3/schemas/webhooks.js +60 -1
  60. package/dist/commonjs/v3/schemas/webhooks.js.map +1 -1
  61. package/dist/commonjs/v3/taskContext/otelProcessors.js +5 -0
  62. package/dist/commonjs/v3/taskContext/otelProcessors.js.map +1 -1
  63. package/dist/commonjs/v3/types/tasks.d.ts +29 -1
  64. package/dist/commonjs/v3/types/tasks.js.map +1 -1
  65. package/dist/commonjs/v3/utils/ioSerialization.js +4 -1
  66. package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
  67. package/dist/commonjs/version.js +1 -1
  68. package/dist/esm/v3/apiClient/core.d.ts +3 -1
  69. package/dist/esm/v3/apiClient/core.js +1 -0
  70. package/dist/esm/v3/apiClient/core.js.map +1 -1
  71. package/dist/esm/v3/apiClient/index.d.ts +104 -7
  72. package/dist/esm/v3/apiClient/index.js +65 -4
  73. package/dist/esm/v3/apiClient/index.js.map +1 -1
  74. package/dist/esm/v3/config.d.ts +18 -0
  75. package/dist/esm/v3/isomorphic/friendlyId.d.ts +1 -0
  76. package/dist/esm/v3/isomorphic/friendlyId.js +1 -0
  77. package/dist/esm/v3/isomorphic/friendlyId.js.map +1 -1
  78. package/dist/esm/v3/resource-catalog/catalog.d.ts +6 -2
  79. package/dist/esm/v3/resource-catalog/index.d.ts +6 -2
  80. package/dist/esm/v3/resource-catalog/index.js +12 -0
  81. package/dist/esm/v3/resource-catalog/index.js.map +1 -1
  82. package/dist/esm/v3/resource-catalog/noopResourceCatalog.d.ts +6 -2
  83. package/dist/esm/v3/resource-catalog/noopResourceCatalog.js +12 -0
  84. package/dist/esm/v3/resource-catalog/noopResourceCatalog.js.map +1 -1
  85. package/dist/esm/v3/resource-catalog/standardResourceCatalog.d.ts +10 -2
  86. package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +51 -0
  87. package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
  88. package/dist/esm/v3/runEngineWorker/supervisor/consumerPool.js +2 -2
  89. package/dist/esm/v3/runEngineWorker/supervisor/consumerPool.js.map +1 -1
  90. package/dist/esm/v3/runEngineWorker/supervisor/consumerPool.test.js +1 -1
  91. package/dist/esm/v3/runEngineWorker/supervisor/consumerPool.test.js.map +1 -1
  92. package/dist/esm/v3/runEngineWorker/supervisor/events.d.ts +2 -0
  93. package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +14 -0
  94. package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.d.ts +5 -1
  95. package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js +6 -1
  96. package/dist/esm/v3/runEngineWorker/supervisor/queueConsumer.js.map +1 -1
  97. package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +90 -0
  98. package/dist/esm/v3/runEngineWorker/supervisor/session.js +3 -1
  99. package/dist/esm/v3/runEngineWorker/supervisor/session.js.map +1 -1
  100. package/dist/esm/v3/runEngineWorker/workload/http.d.ts +7 -0
  101. package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +45 -0
  102. package/dist/esm/v3/schemas/api.d.ts +598 -37
  103. package/dist/esm/v3/schemas/api.js +120 -2
  104. package/dist/esm/v3/schemas/api.js.map +1 -1
  105. package/dist/esm/v3/schemas/build.d.ts +196 -32
  106. package/dist/esm/v3/schemas/build.js +2 -1
  107. package/dist/esm/v3/schemas/build.js.map +1 -1
  108. package/dist/esm/v3/schemas/checkpoints.d.ts +45 -0
  109. package/dist/esm/v3/schemas/messages.d.ts +112 -6
  110. package/dist/esm/v3/schemas/query.d.ts +294 -0
  111. package/dist/esm/v3/schemas/query.js +55 -0
  112. package/dist/esm/v3/schemas/query.js.map +1 -1
  113. package/dist/esm/v3/schemas/resources.d.ts +93 -0
  114. package/dist/esm/v3/schemas/resources.js +16 -0
  115. package/dist/esm/v3/schemas/resources.js.map +1 -1
  116. package/dist/esm/v3/schemas/runEngine.d.ts +67 -0
  117. package/dist/esm/v3/schemas/runEngine.js +14 -0
  118. package/dist/esm/v3/schemas/runEngine.js.map +1 -1
  119. package/dist/esm/v3/schemas/schemas.d.ts +61 -0
  120. package/dist/esm/v3/schemas/schemas.js +14 -0
  121. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  122. package/dist/esm/v3/schemas/style.d.ts +20 -8
  123. package/dist/esm/v3/schemas/style.js +2 -1
  124. package/dist/esm/v3/schemas/style.js.map +1 -1
  125. package/dist/esm/v3/schemas/webhooks.d.ts +381 -0
  126. package/dist/esm/v3/schemas/webhooks.js +59 -0
  127. package/dist/esm/v3/schemas/webhooks.js.map +1 -1
  128. package/dist/esm/v3/taskContext/otelProcessors.js +5 -0
  129. package/dist/esm/v3/taskContext/otelProcessors.js.map +1 -1
  130. package/dist/esm/v3/types/tasks.d.ts +29 -1
  131. package/dist/esm/v3/types/tasks.js.map +1 -1
  132. package/dist/esm/v3/utils/ioSerialization.js +4 -1
  133. package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
  134. package/dist/esm/version.js +1 -1
  135. package/package.json +1 -1
@@ -413,6 +413,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
413
413
  environments?: ("PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW")[] | undefined;
414
414
  }>>;
415
415
  maxDuration: z.ZodOptional<z.ZodNumber>;
416
+ ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
416
417
  payloadSchema: z.ZodOptional<z.ZodUnknown>;
417
418
  }, "strip", z.ZodTypeAny, {
418
419
  id: string;
@@ -439,6 +440,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
439
440
  } | undefined;
440
441
  } | undefined;
441
442
  description?: string | undefined;
443
+ ttl?: string | number | undefined;
442
444
  triggerSource?: string | undefined;
443
445
  schedule?: {
444
446
  cron: string;
@@ -471,6 +473,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
471
473
  } | undefined;
472
474
  } | undefined;
473
475
  description?: string | undefined;
476
+ ttl?: string | number | undefined;
474
477
  triggerSource?: string | undefined;
475
478
  schedule?: {
476
479
  cron: string;
@@ -479,6 +482,34 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
479
482
  } | undefined;
480
483
  payloadSchema?: unknown;
481
484
  }>, "many">;
485
+ prompts: z.ZodOptional<z.ZodArray<z.ZodObject<{
486
+ id: z.ZodString;
487
+ description: z.ZodOptional<z.ZodString>;
488
+ filePath: z.ZodString;
489
+ exportName: z.ZodOptional<z.ZodString>;
490
+ content: z.ZodOptional<z.ZodString>;
491
+ model: z.ZodOptional<z.ZodString>;
492
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
493
+ variableSchema: z.ZodOptional<z.ZodUnknown>;
494
+ }, "strip", z.ZodTypeAny, {
495
+ id: string;
496
+ filePath: string;
497
+ exportName?: string | undefined;
498
+ description?: string | undefined;
499
+ content?: string | undefined;
500
+ model?: string | undefined;
501
+ config?: Record<string, unknown> | undefined;
502
+ variableSchema?: unknown;
503
+ }, {
504
+ id: string;
505
+ filePath: string;
506
+ exportName?: string | undefined;
507
+ description?: string | undefined;
508
+ content?: string | undefined;
509
+ model?: string | undefined;
510
+ config?: Record<string, unknown> | undefined;
511
+ variableSchema?: unknown;
512
+ }>, "many">>;
482
513
  queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
483
514
  name: z.ZodString;
484
515
  concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -535,6 +566,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
535
566
  } | undefined;
536
567
  } | undefined;
537
568
  description?: string | undefined;
569
+ ttl?: string | number | undefined;
538
570
  triggerSource?: string | undefined;
539
571
  schedule?: {
540
572
  cron: string;
@@ -550,6 +582,16 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
550
582
  concurrencyLimit?: number | null | undefined;
551
583
  }[] | undefined;
552
584
  cliPackageVersion?: string | undefined;
585
+ prompts?: {
586
+ id: string;
587
+ filePath: string;
588
+ exportName?: string | undefined;
589
+ description?: string | undefined;
590
+ content?: string | undefined;
591
+ model?: string | undefined;
592
+ config?: Record<string, unknown> | undefined;
593
+ variableSchema?: unknown;
594
+ }[] | undefined;
553
595
  sourceFiles?: {
554
596
  filePath: string;
555
597
  contentHash: string;
@@ -584,6 +626,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
584
626
  } | undefined;
585
627
  } | undefined;
586
628
  description?: string | undefined;
629
+ ttl?: string | number | undefined;
587
630
  triggerSource?: string | undefined;
588
631
  schedule?: {
589
632
  cron: string;
@@ -599,6 +642,16 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
599
642
  concurrencyLimit?: number | null | undefined;
600
643
  }[] | undefined;
601
644
  cliPackageVersion?: string | undefined;
645
+ prompts?: {
646
+ id: string;
647
+ filePath: string;
648
+ exportName?: string | undefined;
649
+ description?: string | undefined;
650
+ content?: string | undefined;
651
+ model?: string | undefined;
652
+ config?: Record<string, unknown> | undefined;
653
+ variableSchema?: unknown;
654
+ }[] | undefined;
602
655
  sourceFiles?: {
603
656
  filePath: string;
604
657
  contentHash: string;
@@ -639,6 +692,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
639
692
  } | undefined;
640
693
  } | undefined;
641
694
  description?: string | undefined;
695
+ ttl?: string | number | undefined;
642
696
  triggerSource?: string | undefined;
643
697
  schedule?: {
644
698
  cron: string;
@@ -654,6 +708,16 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
654
708
  concurrencyLimit?: number | null | undefined;
655
709
  }[] | undefined;
656
710
  cliPackageVersion?: string | undefined;
711
+ prompts?: {
712
+ id: string;
713
+ filePath: string;
714
+ exportName?: string | undefined;
715
+ description?: string | undefined;
716
+ content?: string | undefined;
717
+ model?: string | undefined;
718
+ config?: Record<string, unknown> | undefined;
719
+ variableSchema?: unknown;
720
+ }[] | undefined;
657
721
  sourceFiles?: {
658
722
  filePath: string;
659
723
  contentHash: string;
@@ -695,6 +759,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
695
759
  } | undefined;
696
760
  } | undefined;
697
761
  description?: string | undefined;
762
+ ttl?: string | number | undefined;
698
763
  triggerSource?: string | undefined;
699
764
  schedule?: {
700
765
  cron: string;
@@ -710,6 +775,16 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
710
775
  concurrencyLimit?: number | null | undefined;
711
776
  }[] | undefined;
712
777
  cliPackageVersion?: string | undefined;
778
+ prompts?: {
779
+ id: string;
780
+ filePath: string;
781
+ exportName?: string | undefined;
782
+ description?: string | undefined;
783
+ content?: string | undefined;
784
+ model?: string | undefined;
785
+ config?: Record<string, unknown> | undefined;
786
+ variableSchema?: unknown;
787
+ }[] | undefined;
713
788
  sourceFiles?: {
714
789
  filePath: string;
715
790
  contentHash: string;
@@ -858,6 +933,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
858
933
  mode?: "leading" | "trailing" | undefined;
859
934
  maxDelay?: string | undefined;
860
935
  } | undefined;
936
+ test?: boolean | undefined;
861
937
  dependentAttempt?: string | undefined;
862
938
  parentAttempt?: string | undefined;
863
939
  dependentBatch?: string | undefined;
@@ -870,7 +946,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
870
946
  scope: "run" | "attempt" | "global";
871
947
  } | undefined;
872
948
  metadataType?: string | undefined;
873
- test?: boolean | undefined;
874
949
  bulkActionId?: string | undefined;
875
950
  }, {
876
951
  metadata?: any;
@@ -896,6 +971,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
896
971
  mode?: "leading" | "trailing" | undefined;
897
972
  maxDelay?: string | undefined;
898
973
  } | undefined;
974
+ test?: boolean | undefined;
899
975
  dependentAttempt?: string | undefined;
900
976
  parentAttempt?: string | undefined;
901
977
  dependentBatch?: string | undefined;
@@ -908,7 +984,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
908
984
  scope: "run" | "attempt" | "global";
909
985
  } | undefined;
910
986
  metadataType?: string | undefined;
911
- test?: boolean | undefined;
912
987
  bulkActionId?: string | undefined;
913
988
  }>>;
914
989
  }, "strip", z.ZodTypeAny, {
@@ -936,6 +1011,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
936
1011
  mode?: "leading" | "trailing" | undefined;
937
1012
  maxDelay?: string | undefined;
938
1013
  } | undefined;
1014
+ test?: boolean | undefined;
939
1015
  dependentAttempt?: string | undefined;
940
1016
  parentAttempt?: string | undefined;
941
1017
  dependentBatch?: string | undefined;
@@ -948,7 +1024,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
948
1024
  scope: "run" | "attempt" | "global";
949
1025
  } | undefined;
950
1026
  metadataType?: string | undefined;
951
- test?: boolean | undefined;
952
1027
  bulkActionId?: string | undefined;
953
1028
  } | undefined;
954
1029
  payload?: any;
@@ -978,6 +1053,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
978
1053
  mode?: "leading" | "trailing" | undefined;
979
1054
  maxDelay?: string | undefined;
980
1055
  } | undefined;
1056
+ test?: boolean | undefined;
981
1057
  dependentAttempt?: string | undefined;
982
1058
  parentAttempt?: string | undefined;
983
1059
  dependentBatch?: string | undefined;
@@ -990,7 +1066,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
990
1066
  scope: "run" | "attempt" | "global";
991
1067
  } | undefined;
992
1068
  metadataType?: string | undefined;
993
- test?: boolean | undefined;
994
1069
  bulkActionId?: string | undefined;
995
1070
  } | undefined;
996
1071
  payload?: any;
@@ -1115,6 +1190,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1115
1190
  mode?: "leading" | "trailing" | undefined;
1116
1191
  maxDelay?: string | undefined;
1117
1192
  } | undefined;
1193
+ test?: boolean | undefined;
1118
1194
  dependentAttempt?: string | undefined;
1119
1195
  parentAttempt?: string | undefined;
1120
1196
  dependentBatch?: string | undefined;
@@ -1127,7 +1203,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1127
1203
  scope: "run" | "attempt" | "global";
1128
1204
  } | undefined;
1129
1205
  metadataType?: string | undefined;
1130
- test?: boolean | undefined;
1131
1206
  bulkActionId?: string | undefined;
1132
1207
  }, {
1133
1208
  metadata?: any;
@@ -1153,6 +1228,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1153
1228
  mode?: "leading" | "trailing" | undefined;
1154
1229
  maxDelay?: string | undefined;
1155
1230
  } | undefined;
1231
+ test?: boolean | undefined;
1156
1232
  dependentAttempt?: string | undefined;
1157
1233
  parentAttempt?: string | undefined;
1158
1234
  dependentBatch?: string | undefined;
@@ -1165,7 +1241,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1165
1241
  scope: "run" | "attempt" | "global";
1166
1242
  } | undefined;
1167
1243
  metadataType?: string | undefined;
1168
- test?: boolean | undefined;
1169
1244
  bulkActionId?: string | undefined;
1170
1245
  }>>;
1171
1246
  }, "strip", z.ZodTypeAny, {
@@ -1193,6 +1268,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1193
1268
  mode?: "leading" | "trailing" | undefined;
1194
1269
  maxDelay?: string | undefined;
1195
1270
  } | undefined;
1271
+ test?: boolean | undefined;
1196
1272
  dependentAttempt?: string | undefined;
1197
1273
  parentAttempt?: string | undefined;
1198
1274
  dependentBatch?: string | undefined;
@@ -1205,7 +1281,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1205
1281
  scope: "run" | "attempt" | "global";
1206
1282
  } | undefined;
1207
1283
  metadataType?: string | undefined;
1208
- test?: boolean | undefined;
1209
1284
  bulkActionId?: string | undefined;
1210
1285
  } | undefined;
1211
1286
  payload?: any;
@@ -1235,6 +1310,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1235
1310
  mode?: "leading" | "trailing" | undefined;
1236
1311
  maxDelay?: string | undefined;
1237
1312
  } | undefined;
1313
+ test?: boolean | undefined;
1238
1314
  dependentAttempt?: string | undefined;
1239
1315
  parentAttempt?: string | undefined;
1240
1316
  dependentBatch?: string | undefined;
@@ -1247,7 +1323,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1247
1323
  scope: "run" | "attempt" | "global";
1248
1324
  } | undefined;
1249
1325
  metadataType?: string | undefined;
1250
- test?: boolean | undefined;
1251
1326
  bulkActionId?: string | undefined;
1252
1327
  } | undefined;
1253
1328
  payload?: any;
@@ -1280,6 +1355,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1280
1355
  mode?: "leading" | "trailing" | undefined;
1281
1356
  maxDelay?: string | undefined;
1282
1357
  } | undefined;
1358
+ test?: boolean | undefined;
1283
1359
  dependentAttempt?: string | undefined;
1284
1360
  parentAttempt?: string | undefined;
1285
1361
  dependentBatch?: string | undefined;
@@ -1292,7 +1368,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1292
1368
  scope: "run" | "attempt" | "global";
1293
1369
  } | undefined;
1294
1370
  metadataType?: string | undefined;
1295
- test?: boolean | undefined;
1296
1371
  bulkActionId?: string | undefined;
1297
1372
  } | undefined;
1298
1373
  payload?: any;
@@ -1325,6 +1400,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1325
1400
  mode?: "leading" | "trailing" | undefined;
1326
1401
  maxDelay?: string | undefined;
1327
1402
  } | undefined;
1403
+ test?: boolean | undefined;
1328
1404
  dependentAttempt?: string | undefined;
1329
1405
  parentAttempt?: string | undefined;
1330
1406
  dependentBatch?: string | undefined;
@@ -1337,7 +1413,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1337
1413
  scope: "run" | "attempt" | "global";
1338
1414
  } | undefined;
1339
1415
  metadataType?: string | undefined;
1340
- test?: boolean | undefined;
1341
1416
  bulkActionId?: string | undefined;
1342
1417
  } | undefined;
1343
1418
  payload?: any;
@@ -1425,6 +1500,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
1425
1500
  mode?: "leading" | "trailing" | undefined;
1426
1501
  maxDelay?: string | undefined;
1427
1502
  } | undefined;
1503
+ test?: boolean | undefined;
1428
1504
  parentAttempt?: string | undefined;
1429
1505
  lockToVersion?: string | undefined;
1430
1506
  idempotencyKeyOptions?: {
@@ -1432,7 +1508,6 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
1432
1508
  scope: "run" | "attempt" | "global";
1433
1509
  } | undefined;
1434
1510
  metadataType?: string | undefined;
1435
- test?: boolean | undefined;
1436
1511
  }, {
1437
1512
  metadata?: any;
1438
1513
  payloadType?: string | undefined;
@@ -1456,6 +1531,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
1456
1531
  mode?: "leading" | "trailing" | undefined;
1457
1532
  maxDelay?: string | undefined;
1458
1533
  } | undefined;
1534
+ test?: boolean | undefined;
1459
1535
  parentAttempt?: string | undefined;
1460
1536
  lockToVersion?: string | undefined;
1461
1537
  idempotencyKeyOptions?: {
@@ -1463,7 +1539,6 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
1463
1539
  scope: "run" | "attempt" | "global";
1464
1540
  } | undefined;
1465
1541
  metadataType?: string | undefined;
1466
- test?: boolean | undefined;
1467
1542
  }>>;
1468
1543
  }, "strip", z.ZodTypeAny, {
1469
1544
  task: string;
@@ -1490,6 +1565,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
1490
1565
  mode?: "leading" | "trailing" | undefined;
1491
1566
  maxDelay?: string | undefined;
1492
1567
  } | undefined;
1568
+ test?: boolean | undefined;
1493
1569
  parentAttempt?: string | undefined;
1494
1570
  lockToVersion?: string | undefined;
1495
1571
  idempotencyKeyOptions?: {
@@ -1497,7 +1573,6 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
1497
1573
  scope: "run" | "attempt" | "global";
1498
1574
  } | undefined;
1499
1575
  metadataType?: string | undefined;
1500
- test?: boolean | undefined;
1501
1576
  } | undefined;
1502
1577
  payload?: any;
1503
1578
  context?: any;
@@ -1526,6 +1601,7 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
1526
1601
  mode?: "leading" | "trailing" | undefined;
1527
1602
  maxDelay?: string | undefined;
1528
1603
  } | undefined;
1604
+ test?: boolean | undefined;
1529
1605
  parentAttempt?: string | undefined;
1530
1606
  lockToVersion?: string | undefined;
1531
1607
  idempotencyKeyOptions?: {
@@ -1533,7 +1609,6 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
1533
1609
  scope: "run" | "attempt" | "global";
1534
1610
  } | undefined;
1535
1611
  metadataType?: string | undefined;
1536
- test?: boolean | undefined;
1537
1612
  } | undefined;
1538
1613
  payload?: any;
1539
1614
  context?: any;
@@ -1619,6 +1694,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1619
1694
  mode?: "leading" | "trailing" | undefined;
1620
1695
  maxDelay?: string | undefined;
1621
1696
  } | undefined;
1697
+ test?: boolean | undefined;
1622
1698
  parentAttempt?: string | undefined;
1623
1699
  lockToVersion?: string | undefined;
1624
1700
  idempotencyKeyOptions?: {
@@ -1626,7 +1702,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1626
1702
  scope: "run" | "attempt" | "global";
1627
1703
  } | undefined;
1628
1704
  metadataType?: string | undefined;
1629
- test?: boolean | undefined;
1630
1705
  }, {
1631
1706
  metadata?: any;
1632
1707
  payloadType?: string | undefined;
@@ -1650,6 +1725,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1650
1725
  mode?: "leading" | "trailing" | undefined;
1651
1726
  maxDelay?: string | undefined;
1652
1727
  } | undefined;
1728
+ test?: boolean | undefined;
1653
1729
  parentAttempt?: string | undefined;
1654
1730
  lockToVersion?: string | undefined;
1655
1731
  idempotencyKeyOptions?: {
@@ -1657,7 +1733,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1657
1733
  scope: "run" | "attempt" | "global";
1658
1734
  } | undefined;
1659
1735
  metadataType?: string | undefined;
1660
- test?: boolean | undefined;
1661
1736
  }>>;
1662
1737
  }, "strip", z.ZodTypeAny, {
1663
1738
  task: string;
@@ -1684,6 +1759,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1684
1759
  mode?: "leading" | "trailing" | undefined;
1685
1760
  maxDelay?: string | undefined;
1686
1761
  } | undefined;
1762
+ test?: boolean | undefined;
1687
1763
  parentAttempt?: string | undefined;
1688
1764
  lockToVersion?: string | undefined;
1689
1765
  idempotencyKeyOptions?: {
@@ -1691,7 +1767,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1691
1767
  scope: "run" | "attempt" | "global";
1692
1768
  } | undefined;
1693
1769
  metadataType?: string | undefined;
1694
- test?: boolean | undefined;
1695
1770
  } | undefined;
1696
1771
  payload?: any;
1697
1772
  context?: any;
@@ -1720,6 +1795,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1720
1795
  mode?: "leading" | "trailing" | undefined;
1721
1796
  maxDelay?: string | undefined;
1722
1797
  } | undefined;
1798
+ test?: boolean | undefined;
1723
1799
  parentAttempt?: string | undefined;
1724
1800
  lockToVersion?: string | undefined;
1725
1801
  idempotencyKeyOptions?: {
@@ -1727,7 +1803,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1727
1803
  scope: "run" | "attempt" | "global";
1728
1804
  } | undefined;
1729
1805
  metadataType?: string | undefined;
1730
- test?: boolean | undefined;
1731
1806
  } | undefined;
1732
1807
  payload?: any;
1733
1808
  context?: any;
@@ -1770,6 +1845,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1770
1845
  mode?: "leading" | "trailing" | undefined;
1771
1846
  maxDelay?: string | undefined;
1772
1847
  } | undefined;
1848
+ test?: boolean | undefined;
1773
1849
  parentAttempt?: string | undefined;
1774
1850
  lockToVersion?: string | undefined;
1775
1851
  idempotencyKeyOptions?: {
@@ -1777,7 +1853,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1777
1853
  scope: "run" | "attempt" | "global";
1778
1854
  } | undefined;
1779
1855
  metadataType?: string | undefined;
1780
- test?: boolean | undefined;
1781
1856
  } | undefined;
1782
1857
  payload?: any;
1783
1858
  context?: any;
@@ -1811,6 +1886,7 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1811
1886
  mode?: "leading" | "trailing" | undefined;
1812
1887
  maxDelay?: string | undefined;
1813
1888
  } | undefined;
1889
+ test?: boolean | undefined;
1814
1890
  parentAttempt?: string | undefined;
1815
1891
  lockToVersion?: string | undefined;
1816
1892
  idempotencyKeyOptions?: {
@@ -1818,7 +1894,6 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1818
1894
  scope: "run" | "attempt" | "global";
1819
1895
  } | undefined;
1820
1896
  metadataType?: string | undefined;
1821
- test?: boolean | undefined;
1822
1897
  } | undefined;
1823
1898
  payload?: any;
1824
1899
  context?: any;
@@ -1950,6 +2025,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
1950
2025
  mode?: "leading" | "trailing" | undefined;
1951
2026
  maxDelay?: string | undefined;
1952
2027
  } | undefined;
2028
+ test?: boolean | undefined;
1953
2029
  parentAttempt?: string | undefined;
1954
2030
  lockToVersion?: string | undefined;
1955
2031
  idempotencyKeyOptions?: {
@@ -1957,7 +2033,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
1957
2033
  scope: "run" | "attempt" | "global";
1958
2034
  } | undefined;
1959
2035
  metadataType?: string | undefined;
1960
- test?: boolean | undefined;
1961
2036
  }, {
1962
2037
  metadata?: any;
1963
2038
  payloadType?: string | undefined;
@@ -1981,6 +2056,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
1981
2056
  mode?: "leading" | "trailing" | undefined;
1982
2057
  maxDelay?: string | undefined;
1983
2058
  } | undefined;
2059
+ test?: boolean | undefined;
1984
2060
  parentAttempt?: string | undefined;
1985
2061
  lockToVersion?: string | undefined;
1986
2062
  idempotencyKeyOptions?: {
@@ -1988,7 +2064,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
1988
2064
  scope: "run" | "attempt" | "global";
1989
2065
  } | undefined;
1990
2066
  metadataType?: string | undefined;
1991
- test?: boolean | undefined;
1992
2067
  }>>;
1993
2068
  }, "strip", z.ZodTypeAny, {
1994
2069
  task: string;
@@ -2015,6 +2090,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
2015
2090
  mode?: "leading" | "trailing" | undefined;
2016
2091
  maxDelay?: string | undefined;
2017
2092
  } | undefined;
2093
+ test?: boolean | undefined;
2018
2094
  parentAttempt?: string | undefined;
2019
2095
  lockToVersion?: string | undefined;
2020
2096
  idempotencyKeyOptions?: {
@@ -2022,7 +2098,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
2022
2098
  scope: "run" | "attempt" | "global";
2023
2099
  } | undefined;
2024
2100
  metadataType?: string | undefined;
2025
- test?: boolean | undefined;
2026
2101
  } | undefined;
2027
2102
  payload?: any;
2028
2103
  context?: any;
@@ -2051,6 +2126,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
2051
2126
  mode?: "leading" | "trailing" | undefined;
2052
2127
  maxDelay?: string | undefined;
2053
2128
  } | undefined;
2129
+ test?: boolean | undefined;
2054
2130
  parentAttempt?: string | undefined;
2055
2131
  lockToVersion?: string | undefined;
2056
2132
  idempotencyKeyOptions?: {
@@ -2058,7 +2134,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
2058
2134
  scope: "run" | "attempt" | "global";
2059
2135
  } | undefined;
2060
2136
  metadataType?: string | undefined;
2061
- test?: boolean | undefined;
2062
2137
  } | undefined;
2063
2138
  payload?: any;
2064
2139
  context?: any;
@@ -2099,6 +2174,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
2099
2174
  mode?: "leading" | "trailing" | undefined;
2100
2175
  maxDelay?: string | undefined;
2101
2176
  } | undefined;
2177
+ test?: boolean | undefined;
2102
2178
  parentAttempt?: string | undefined;
2103
2179
  lockToVersion?: string | undefined;
2104
2180
  idempotencyKeyOptions?: {
@@ -2106,7 +2182,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
2106
2182
  scope: "run" | "attempt" | "global";
2107
2183
  } | undefined;
2108
2184
  metadataType?: string | undefined;
2109
- test?: boolean | undefined;
2110
2185
  } | undefined;
2111
2186
  payload?: any;
2112
2187
  context?: any;
@@ -2139,6 +2214,7 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
2139
2214
  mode?: "leading" | "trailing" | undefined;
2140
2215
  maxDelay?: string | undefined;
2141
2216
  } | undefined;
2217
+ test?: boolean | undefined;
2142
2218
  parentAttempt?: string | undefined;
2143
2219
  lockToVersion?: string | undefined;
2144
2220
  idempotencyKeyOptions?: {
@@ -2146,7 +2222,6 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
2146
2222
  scope: "run" | "attempt" | "global";
2147
2223
  } | undefined;
2148
2224
  metadataType?: string | undefined;
2149
- test?: boolean | undefined;
2150
2225
  } | undefined;
2151
2226
  payload?: any;
2152
2227
  context?: any;
@@ -2853,7 +2928,7 @@ declare const InitializeDeploymentRequestBodyBase: z.ZodObject<{
2853
2928
  } | undefined;
2854
2929
  initialStatus?: "PENDING" | "BUILDING" | undefined;
2855
2930
  isLocalBuild?: boolean | undefined;
2856
- 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;
2931
+ 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;
2857
2932
  }, {
2858
2933
  contentHash: string;
2859
2934
  type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
@@ -2878,7 +2953,7 @@ declare const InitializeDeploymentRequestBodyBase: z.ZodObject<{
2878
2953
  } | undefined;
2879
2954
  initialStatus?: "PENDING" | "BUILDING" | undefined;
2880
2955
  isLocalBuild?: boolean | undefined;
2881
- 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;
2956
+ 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;
2882
2957
  }>;
2883
2958
  type BaseOutput = z.output<typeof InitializeDeploymentRequestBodyBase>;
2884
2959
  type NativeBuildOutput = BaseOutput & {
@@ -2984,7 +3059,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodEffects<z.ZodObject<{
2984
3059
  } | undefined;
2985
3060
  initialStatus?: "PENDING" | "BUILDING" | undefined;
2986
3061
  isLocalBuild?: boolean | undefined;
2987
- 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;
3062
+ 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;
2988
3063
  }, {
2989
3064
  contentHash: string;
2990
3065
  type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
@@ -3014,7 +3089,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodEffects<z.ZodObject<{
3014
3089
  } | undefined;
3015
3090
  initialStatus?: "PENDING" | "BUILDING" | undefined;
3016
3091
  isLocalBuild?: boolean | undefined;
3017
- 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;
3092
+ 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;
3018
3093
  }>, NativeBuildOutput | NonNativeBuildOutput, {
3019
3094
  contentHash: string;
3020
3095
  type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
@@ -3044,7 +3119,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodEffects<z.ZodObject<{
3044
3119
  } | undefined;
3045
3120
  initialStatus?: "PENDING" | "BUILDING" | undefined;
3046
3121
  isLocalBuild?: boolean | undefined;
3047
- 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;
3122
+ 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;
3048
3123
  }>;
3049
3124
  export type InitializeDeploymentRequestBody = z.infer<typeof InitializeDeploymentRequestBody>;
3050
3125
  export declare const RemoteBuildProviderStatusResponseBody: z.ZodObject<{
@@ -3622,10 +3697,14 @@ export declare const DeploymentEventFromString: z.ZodPipeline<z.ZodEffects<z.Zod
3622
3697
  }>]>>;
3623
3698
  export declare const CreateUploadPayloadUrlResponseBody: z.ZodObject<{
3624
3699
  presignedUrl: z.ZodString;
3700
+ /** Present on `/api/v2/packets` PUT (upload handshake); omitted on v1 GET download presign. */
3701
+ storagePath: z.ZodOptional<z.ZodString>;
3625
3702
  }, "strip", z.ZodTypeAny, {
3626
3703
  presignedUrl: string;
3704
+ storagePath?: string | undefined;
3627
3705
  }, {
3628
3706
  presignedUrl: string;
3707
+ storagePath?: string | undefined;
3629
3708
  }>;
3630
3709
  export declare const WorkersListResponseBody: z.ZodArray<z.ZodObject<{
3631
3710
  type: z.ZodString;
@@ -3938,6 +4017,22 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
3938
4017
  attemptNumber: z.ZodNumber;
3939
4018
  masterQueue: z.ZodString;
3940
4019
  traceContext: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4020
+ annotations: z.ZodOptional<z.ZodObject<{
4021
+ triggerSource: z.ZodUnion<[z.ZodEnum<["sdk", "api", "dashboard", "cli", "mcp", "schedule"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>;
4022
+ triggerAction: z.ZodUnion<[z.ZodEnum<["trigger", "replay", "test"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>;
4023
+ rootTriggerSource: z.ZodUnion<[z.ZodEnum<["sdk", "api", "dashboard", "cli", "mcp", "schedule"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>;
4024
+ rootScheduleId: z.ZodOptional<z.ZodString>;
4025
+ }, "strip", z.ZodTypeAny, {
4026
+ triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4027
+ triggerAction: "trigger" | (string & {}) | "replay" | "test";
4028
+ rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4029
+ rootScheduleId?: string | undefined;
4030
+ }, {
4031
+ triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4032
+ triggerAction: "trigger" | (string & {}) | "replay" | "test";
4033
+ rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4034
+ rootScheduleId?: string | undefined;
4035
+ }>>;
3941
4036
  }, "strip", z.ZodTypeAny, {
3942
4037
  id: string;
3943
4038
  isTest: boolean;
@@ -3951,6 +4046,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
3951
4046
  friendlyId: string;
3952
4047
  attemptNumber: number;
3953
4048
  masterQueue: string;
4049
+ annotations?: {
4050
+ triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4051
+ triggerAction: "trigger" | (string & {}) | "replay" | "test";
4052
+ rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4053
+ rootScheduleId?: string | undefined;
4054
+ } | undefined;
3954
4055
  }, {
3955
4056
  id: string;
3956
4057
  isTest: boolean;
@@ -3964,6 +4065,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
3964
4065
  friendlyId: string;
3965
4066
  attemptNumber: number;
3966
4067
  masterQueue: string;
4068
+ annotations?: {
4069
+ triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4070
+ triggerAction: "trigger" | (string & {}) | "replay" | "test";
4071
+ rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4072
+ rootScheduleId?: string | undefined;
4073
+ } | undefined;
3967
4074
  }>;
3968
4075
  environment: z.ZodObject<{
3969
4076
  id: z.ZodString;
@@ -3977,10 +4084,13 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
3977
4084
  }>;
3978
4085
  organization: z.ZodObject<{
3979
4086
  id: z.ZodString;
4087
+ hasPrivateLink: z.ZodOptional<z.ZodBoolean>;
3980
4088
  }, "strip", z.ZodTypeAny, {
3981
4089
  id: string;
4090
+ hasPrivateLink?: boolean | undefined;
3982
4091
  }, {
3983
4092
  id: string;
4093
+ hasPrivateLink?: boolean | undefined;
3984
4094
  }>;
3985
4095
  project: z.ZodObject<{
3986
4096
  id: z.ZodString;
@@ -4013,6 +4123,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4013
4123
  friendlyId: string;
4014
4124
  attemptNumber: number;
4015
4125
  masterQueue: string;
4126
+ annotations?: {
4127
+ triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4128
+ triggerAction: "trigger" | (string & {}) | "replay" | "test";
4129
+ rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4130
+ rootScheduleId?: string | undefined;
4131
+ } | undefined;
4016
4132
  };
4017
4133
  version: "1";
4018
4134
  environment: {
@@ -4021,6 +4137,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4021
4137
  };
4022
4138
  organization: {
4023
4139
  id: string;
4140
+ hasPrivateLink?: boolean | undefined;
4024
4141
  };
4025
4142
  project: {
4026
4143
  id: string;
@@ -4094,6 +4211,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4094
4211
  friendlyId: string;
4095
4212
  attemptNumber: number;
4096
4213
  masterQueue: string;
4214
+ annotations?: {
4215
+ triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4216
+ triggerAction: "trigger" | (string & {}) | "replay" | "test";
4217
+ rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4218
+ rootScheduleId?: string | undefined;
4219
+ } | undefined;
4097
4220
  };
4098
4221
  version: "1";
4099
4222
  environment: {
@@ -4102,6 +4225,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4102
4225
  };
4103
4226
  organization: {
4104
4227
  id: string;
4228
+ hasPrivateLink?: boolean | undefined;
4105
4229
  };
4106
4230
  project: {
4107
4231
  id: string;
@@ -4177,6 +4301,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4177
4301
  friendlyId: string;
4178
4302
  attemptNumber: number;
4179
4303
  masterQueue: string;
4304
+ annotations?: {
4305
+ triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4306
+ triggerAction: "trigger" | (string & {}) | "replay" | "test";
4307
+ rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4308
+ rootScheduleId?: string | undefined;
4309
+ } | undefined;
4180
4310
  };
4181
4311
  version: "1";
4182
4312
  environment: {
@@ -4185,6 +4315,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4185
4315
  };
4186
4316
  organization: {
4187
4317
  id: string;
4318
+ hasPrivateLink?: boolean | undefined;
4188
4319
  };
4189
4320
  project: {
4190
4321
  id: string;
@@ -4260,6 +4391,12 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4260
4391
  friendlyId: string;
4261
4392
  attemptNumber: number;
4262
4393
  masterQueue: string;
4394
+ annotations?: {
4395
+ triggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4396
+ triggerAction: "trigger" | (string & {}) | "replay" | "test";
4397
+ rootTriggerSource: "schedule" | (string & {}) | "sdk" | "api" | "dashboard" | "cli" | "mcp";
4398
+ rootScheduleId?: string | undefined;
4399
+ } | undefined;
4263
4400
  };
4264
4401
  version: "1";
4265
4402
  environment: {
@@ -4268,6 +4405,7 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4268
4405
  };
4269
4406
  organization: {
4270
4407
  id: string;
4408
+ hasPrivateLink?: boolean | undefined;
4271
4409
  };
4272
4410
  project: {
4273
4411
  id: string;
@@ -4330,6 +4468,25 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
4330
4468
  }[];
4331
4469
  }>;
4332
4470
  export type DevDequeueResponseBody = z.infer<typeof DevDequeueResponseBody>;
4471
+ export declare const DevDisconnectRequestBody: z.ZodObject<{
4472
+ runFriendlyIds: z.ZodArray<z.ZodString, "many">;
4473
+ }, "strip", z.ZodTypeAny, {
4474
+ runFriendlyIds: string[];
4475
+ }, {
4476
+ runFriendlyIds: string[];
4477
+ }>;
4478
+ export type DevDisconnectRequestBody = z.infer<typeof DevDisconnectRequestBody>;
4479
+ export declare const DevDisconnectResponseBody: z.ZodObject<{
4480
+ cancelled: z.ZodNumber;
4481
+ bulkActionId: z.ZodOptional<z.ZodString>;
4482
+ }, "strip", z.ZodTypeAny, {
4483
+ cancelled: number;
4484
+ bulkActionId?: string | undefined;
4485
+ }, {
4486
+ cancelled: number;
4487
+ bulkActionId?: string | undefined;
4488
+ }>;
4489
+ export type DevDisconnectResponseBody = z.infer<typeof DevDisconnectResponseBody>;
4333
4490
  export type CreateUploadPayloadUrlResponseBody = z.infer<typeof CreateUploadPayloadUrlResponseBody>;
4334
4491
  export declare const ReplayRunResponse: z.ZodObject<{
4335
4492
  id: z.ZodString;
@@ -7160,8 +7317,8 @@ export declare const ApiDeploymentListResponseItem: z.ZodObject<{
7160
7317
  createdAt: z.ZodDate;
7161
7318
  shortCode: z.ZodString;
7162
7319
  version: z.ZodString;
7163
- runtime: z.ZodString;
7164
- runtimeVersion: z.ZodString;
7320
+ runtime: z.ZodNullable<z.ZodString>;
7321
+ runtimeVersion: z.ZodNullable<z.ZodString>;
7165
7322
  status: z.ZodEnum<["PENDING", "BUILDING", "DEPLOYING", "DEPLOYED", "FAILED", "CANCELED", "TIMED_OUT"]>;
7166
7323
  deployedAt: z.ZodOptional<z.ZodDate>;
7167
7324
  git: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
@@ -7187,8 +7344,8 @@ export declare const ApiDeploymentListResponseItem: z.ZodObject<{
7187
7344
  createdAt: Date;
7188
7345
  version: string;
7189
7346
  shortCode: string;
7190
- runtime: string;
7191
- runtimeVersion: string;
7347
+ runtime: string | null;
7348
+ runtimeVersion: string | null;
7192
7349
  error?: {
7193
7350
  message: string;
7194
7351
  name: string;
@@ -7203,8 +7360,8 @@ export declare const ApiDeploymentListResponseItem: z.ZodObject<{
7203
7360
  createdAt: Date;
7204
7361
  version: string;
7205
7362
  shortCode: string;
7206
- runtime: string;
7207
- runtimeVersion: string;
7363
+ runtime: string | null;
7364
+ runtimeVersion: string | null;
7208
7365
  error?: {
7209
7366
  message: string;
7210
7367
  name: string;
@@ -7473,6 +7630,166 @@ export declare const RetrieveRunTraceResponseBody: z.ZodObject<{
7473
7630
  };
7474
7631
  }>;
7475
7632
  export type RetrieveRunTraceResponseBody = z.infer<typeof RetrieveRunTraceResponseBody>;
7633
+ export declare const RetrieveSpanDetailResponseBody: z.ZodObject<{
7634
+ spanId: z.ZodString;
7635
+ parentId: z.ZodNullable<z.ZodString>;
7636
+ runId: z.ZodString;
7637
+ message: z.ZodString;
7638
+ isError: z.ZodBoolean;
7639
+ isPartial: z.ZodBoolean;
7640
+ isCancelled: z.ZodBoolean;
7641
+ level: z.ZodString;
7642
+ startTime: z.ZodDate;
7643
+ durationMs: z.ZodNumber;
7644
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7645
+ events: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
7646
+ entityType: z.ZodOptional<z.ZodString>;
7647
+ ai: z.ZodOptional<z.ZodObject<{
7648
+ model: z.ZodString;
7649
+ provider: z.ZodString;
7650
+ operationName: z.ZodString;
7651
+ inputTokens: z.ZodNumber;
7652
+ outputTokens: z.ZodNumber;
7653
+ totalTokens: z.ZodNumber;
7654
+ cachedTokens: z.ZodOptional<z.ZodNumber>;
7655
+ reasoningTokens: z.ZodOptional<z.ZodNumber>;
7656
+ inputCost: z.ZodOptional<z.ZodNumber>;
7657
+ outputCost: z.ZodOptional<z.ZodNumber>;
7658
+ totalCost: z.ZodOptional<z.ZodNumber>;
7659
+ tokensPerSecond: z.ZodOptional<z.ZodNumber>;
7660
+ msToFirstChunk: z.ZodOptional<z.ZodNumber>;
7661
+ durationMs: z.ZodNumber;
7662
+ finishReason: z.ZodOptional<z.ZodString>;
7663
+ responseText: z.ZodOptional<z.ZodString>;
7664
+ }, "strip", z.ZodTypeAny, {
7665
+ durationMs: number;
7666
+ provider: string;
7667
+ model: string;
7668
+ operationName: string;
7669
+ inputTokens: number;
7670
+ outputTokens: number;
7671
+ totalTokens: number;
7672
+ cachedTokens?: number | undefined;
7673
+ reasoningTokens?: number | undefined;
7674
+ inputCost?: number | undefined;
7675
+ outputCost?: number | undefined;
7676
+ totalCost?: number | undefined;
7677
+ tokensPerSecond?: number | undefined;
7678
+ msToFirstChunk?: number | undefined;
7679
+ finishReason?: string | undefined;
7680
+ responseText?: string | undefined;
7681
+ }, {
7682
+ durationMs: number;
7683
+ provider: string;
7684
+ model: string;
7685
+ operationName: string;
7686
+ inputTokens: number;
7687
+ outputTokens: number;
7688
+ totalTokens: number;
7689
+ cachedTokens?: number | undefined;
7690
+ reasoningTokens?: number | undefined;
7691
+ inputCost?: number | undefined;
7692
+ outputCost?: number | undefined;
7693
+ totalCost?: number | undefined;
7694
+ tokensPerSecond?: number | undefined;
7695
+ msToFirstChunk?: number | undefined;
7696
+ finishReason?: string | undefined;
7697
+ responseText?: string | undefined;
7698
+ }>>;
7699
+ triggeredRuns: z.ZodOptional<z.ZodArray<z.ZodObject<{
7700
+ runId: z.ZodString;
7701
+ taskIdentifier: z.ZodString;
7702
+ status: z.ZodString;
7703
+ createdAt: z.ZodDate;
7704
+ }, "strip", z.ZodTypeAny, {
7705
+ status: string;
7706
+ createdAt: Date;
7707
+ taskIdentifier: string;
7708
+ runId: string;
7709
+ }, {
7710
+ status: string;
7711
+ createdAt: Date;
7712
+ taskIdentifier: string;
7713
+ runId: string;
7714
+ }>, "many">>;
7715
+ }, "strip", z.ZodTypeAny, {
7716
+ message: string;
7717
+ durationMs: number;
7718
+ isCancelled: boolean;
7719
+ runId: string;
7720
+ level: string;
7721
+ parentId: string | null;
7722
+ startTime: Date;
7723
+ isError: boolean;
7724
+ isPartial: boolean;
7725
+ spanId: string;
7726
+ properties?: Record<string, any> | undefined;
7727
+ events?: any[] | undefined;
7728
+ entityType?: string | undefined;
7729
+ ai?: {
7730
+ durationMs: number;
7731
+ provider: string;
7732
+ model: string;
7733
+ operationName: string;
7734
+ inputTokens: number;
7735
+ outputTokens: number;
7736
+ totalTokens: number;
7737
+ cachedTokens?: number | undefined;
7738
+ reasoningTokens?: number | undefined;
7739
+ inputCost?: number | undefined;
7740
+ outputCost?: number | undefined;
7741
+ totalCost?: number | undefined;
7742
+ tokensPerSecond?: number | undefined;
7743
+ msToFirstChunk?: number | undefined;
7744
+ finishReason?: string | undefined;
7745
+ responseText?: string | undefined;
7746
+ } | undefined;
7747
+ triggeredRuns?: {
7748
+ status: string;
7749
+ createdAt: Date;
7750
+ taskIdentifier: string;
7751
+ runId: string;
7752
+ }[] | undefined;
7753
+ }, {
7754
+ message: string;
7755
+ durationMs: number;
7756
+ isCancelled: boolean;
7757
+ runId: string;
7758
+ level: string;
7759
+ parentId: string | null;
7760
+ startTime: Date;
7761
+ isError: boolean;
7762
+ isPartial: boolean;
7763
+ spanId: string;
7764
+ properties?: Record<string, any> | undefined;
7765
+ events?: any[] | undefined;
7766
+ entityType?: string | undefined;
7767
+ ai?: {
7768
+ durationMs: number;
7769
+ provider: string;
7770
+ model: string;
7771
+ operationName: string;
7772
+ inputTokens: number;
7773
+ outputTokens: number;
7774
+ totalTokens: number;
7775
+ cachedTokens?: number | undefined;
7776
+ reasoningTokens?: number | undefined;
7777
+ inputCost?: number | undefined;
7778
+ outputCost?: number | undefined;
7779
+ totalCost?: number | undefined;
7780
+ tokensPerSecond?: number | undefined;
7781
+ msToFirstChunk?: number | undefined;
7782
+ finishReason?: string | undefined;
7783
+ responseText?: string | undefined;
7784
+ } | undefined;
7785
+ triggeredRuns?: {
7786
+ status: string;
7787
+ createdAt: Date;
7788
+ taskIdentifier: string;
7789
+ runId: string;
7790
+ }[] | undefined;
7791
+ }>;
7792
+ export type RetrieveSpanDetailResponseBody = z.infer<typeof RetrieveSpanDetailResponseBody>;
7476
7793
  export declare const CreateStreamResponseBody: z.ZodObject<{
7477
7794
  version: z.ZodString;
7478
7795
  }, "strip", z.ZodTypeAny, {
@@ -7500,4 +7817,248 @@ export declare const SendInputStreamResponseBody: z.ZodObject<{
7500
7817
  ok: boolean;
7501
7818
  }>;
7502
7819
  export type SendInputStreamResponseBody = z.infer<typeof SendInputStreamResponseBody>;
7820
+ export declare const ResolvePromptRequestBody: z.ZodObject<{
7821
+ variables: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7822
+ label: z.ZodOptional<z.ZodString>;
7823
+ version: z.ZodOptional<z.ZodNumber>;
7824
+ }, "strip", z.ZodTypeAny, {
7825
+ variables: Record<string, unknown>;
7826
+ version?: number | undefined;
7827
+ label?: string | undefined;
7828
+ }, {
7829
+ version?: number | undefined;
7830
+ variables?: Record<string, unknown> | undefined;
7831
+ label?: string | undefined;
7832
+ }>;
7833
+ export type ResolvePromptRequestBody = z.infer<typeof ResolvePromptRequestBody>;
7834
+ export declare const ResolvePromptResponseBody: z.ZodObject<{
7835
+ data: z.ZodObject<{
7836
+ promptId: z.ZodString;
7837
+ slug: z.ZodString;
7838
+ version: z.ZodNumber;
7839
+ labels: z.ZodArray<z.ZodString, "many">;
7840
+ template: z.ZodOptional<z.ZodString>;
7841
+ text: z.ZodOptional<z.ZodString>;
7842
+ model: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7843
+ config: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
7844
+ }, "strip", z.ZodTypeAny, {
7845
+ version: number;
7846
+ slug: string;
7847
+ promptId: string;
7848
+ labels: string[];
7849
+ model?: string | null | undefined;
7850
+ config?: Record<string, unknown> | null | undefined;
7851
+ template?: string | undefined;
7852
+ text?: string | undefined;
7853
+ }, {
7854
+ version: number;
7855
+ slug: string;
7856
+ promptId: string;
7857
+ labels: string[];
7858
+ model?: string | null | undefined;
7859
+ config?: Record<string, unknown> | null | undefined;
7860
+ template?: string | undefined;
7861
+ text?: string | undefined;
7862
+ }>;
7863
+ }, "strip", z.ZodTypeAny, {
7864
+ data: {
7865
+ version: number;
7866
+ slug: string;
7867
+ promptId: string;
7868
+ labels: string[];
7869
+ model?: string | null | undefined;
7870
+ config?: Record<string, unknown> | null | undefined;
7871
+ template?: string | undefined;
7872
+ text?: string | undefined;
7873
+ };
7874
+ }, {
7875
+ data: {
7876
+ version: number;
7877
+ slug: string;
7878
+ promptId: string;
7879
+ labels: string[];
7880
+ model?: string | null | undefined;
7881
+ config?: Record<string, unknown> | null | undefined;
7882
+ template?: string | undefined;
7883
+ text?: string | undefined;
7884
+ };
7885
+ }>;
7886
+ export type ResolvePromptResponseBody = z.infer<typeof ResolvePromptResponseBody>;
7887
+ export declare const ListPromptsResponseBody: z.ZodObject<{
7888
+ data: z.ZodArray<z.ZodObject<{
7889
+ slug: z.ZodString;
7890
+ friendlyId: z.ZodString;
7891
+ description: z.ZodNullable<z.ZodString>;
7892
+ tags: z.ZodArray<z.ZodString, "many">;
7893
+ defaultModel: z.ZodNullable<z.ZodString>;
7894
+ currentVersion: z.ZodNullable<z.ZodNumber>;
7895
+ hasOverride: z.ZodBoolean;
7896
+ updatedAt: z.ZodString;
7897
+ }, "strip", z.ZodTypeAny, {
7898
+ tags: string[];
7899
+ slug: string;
7900
+ description: string | null;
7901
+ updatedAt: string;
7902
+ friendlyId: string;
7903
+ defaultModel: string | null;
7904
+ currentVersion: number | null;
7905
+ hasOverride: boolean;
7906
+ }, {
7907
+ tags: string[];
7908
+ slug: string;
7909
+ description: string | null;
7910
+ updatedAt: string;
7911
+ friendlyId: string;
7912
+ defaultModel: string | null;
7913
+ currentVersion: number | null;
7914
+ hasOverride: boolean;
7915
+ }>, "many">;
7916
+ }, "strip", z.ZodTypeAny, {
7917
+ data: {
7918
+ tags: string[];
7919
+ slug: string;
7920
+ description: string | null;
7921
+ updatedAt: string;
7922
+ friendlyId: string;
7923
+ defaultModel: string | null;
7924
+ currentVersion: number | null;
7925
+ hasOverride: boolean;
7926
+ }[];
7927
+ }, {
7928
+ data: {
7929
+ tags: string[];
7930
+ slug: string;
7931
+ description: string | null;
7932
+ updatedAt: string;
7933
+ friendlyId: string;
7934
+ defaultModel: string | null;
7935
+ currentVersion: number | null;
7936
+ hasOverride: boolean;
7937
+ }[];
7938
+ }>;
7939
+ export type ListPromptsResponseBody = z.infer<typeof ListPromptsResponseBody>;
7940
+ export declare const ListPromptVersionsResponseBody: z.ZodObject<{
7941
+ data: z.ZodArray<z.ZodObject<{
7942
+ id: z.ZodString;
7943
+ version: z.ZodNumber;
7944
+ labels: z.ZodArray<z.ZodString, "many">;
7945
+ source: z.ZodString;
7946
+ model: z.ZodNullable<z.ZodString>;
7947
+ textContent: z.ZodNullable<z.ZodString>;
7948
+ commitMessage: z.ZodNullable<z.ZodString>;
7949
+ contentHash: z.ZodString;
7950
+ createdAt: z.ZodString;
7951
+ }, "strip", z.ZodTypeAny, {
7952
+ source: string;
7953
+ id: string;
7954
+ createdAt: string;
7955
+ version: number;
7956
+ commitMessage: string | null;
7957
+ model: string | null;
7958
+ contentHash: string;
7959
+ labels: string[];
7960
+ textContent: string | null;
7961
+ }, {
7962
+ source: string;
7963
+ id: string;
7964
+ createdAt: string;
7965
+ version: number;
7966
+ commitMessage: string | null;
7967
+ model: string | null;
7968
+ contentHash: string;
7969
+ labels: string[];
7970
+ textContent: string | null;
7971
+ }>, "many">;
7972
+ }, "strip", z.ZodTypeAny, {
7973
+ data: {
7974
+ source: string;
7975
+ id: string;
7976
+ createdAt: string;
7977
+ version: number;
7978
+ commitMessage: string | null;
7979
+ model: string | null;
7980
+ contentHash: string;
7981
+ labels: string[];
7982
+ textContent: string | null;
7983
+ }[];
7984
+ }, {
7985
+ data: {
7986
+ source: string;
7987
+ id: string;
7988
+ createdAt: string;
7989
+ version: number;
7990
+ commitMessage: string | null;
7991
+ model: string | null;
7992
+ contentHash: string;
7993
+ labels: string[];
7994
+ textContent: string | null;
7995
+ }[];
7996
+ }>;
7997
+ export type ListPromptVersionsResponseBody = z.infer<typeof ListPromptVersionsResponseBody>;
7998
+ export declare const PromotePromptVersionRequestBody: z.ZodObject<{
7999
+ version: z.ZodNumber;
8000
+ }, "strip", z.ZodTypeAny, {
8001
+ version: number;
8002
+ }, {
8003
+ version: number;
8004
+ }>;
8005
+ export type PromotePromptVersionRequestBody = z.infer<typeof PromotePromptVersionRequestBody>;
8006
+ export declare const CreatePromptOverrideRequestBody: z.ZodObject<{
8007
+ textContent: z.ZodString;
8008
+ model: z.ZodOptional<z.ZodString>;
8009
+ commitMessage: z.ZodOptional<z.ZodString>;
8010
+ source: z.ZodOptional<z.ZodString>;
8011
+ }, "strip", z.ZodTypeAny, {
8012
+ textContent: string;
8013
+ source?: string | undefined;
8014
+ commitMessage?: string | undefined;
8015
+ model?: string | undefined;
8016
+ }, {
8017
+ textContent: string;
8018
+ source?: string | undefined;
8019
+ commitMessage?: string | undefined;
8020
+ model?: string | undefined;
8021
+ }>;
8022
+ export type CreatePromptOverrideRequestBody = z.infer<typeof CreatePromptOverrideRequestBody>;
8023
+ export declare const UpdatePromptOverrideRequestBody: z.ZodObject<{
8024
+ textContent: z.ZodOptional<z.ZodString>;
8025
+ model: z.ZodOptional<z.ZodString>;
8026
+ commitMessage: z.ZodOptional<z.ZodString>;
8027
+ }, "strip", z.ZodTypeAny, {
8028
+ commitMessage?: string | undefined;
8029
+ model?: string | undefined;
8030
+ textContent?: string | undefined;
8031
+ }, {
8032
+ commitMessage?: string | undefined;
8033
+ model?: string | undefined;
8034
+ textContent?: string | undefined;
8035
+ }>;
8036
+ export type UpdatePromptOverrideRequestBody = z.infer<typeof UpdatePromptOverrideRequestBody>;
8037
+ export declare const ReactivatePromptOverrideRequestBody: z.ZodObject<{
8038
+ version: z.ZodNumber;
8039
+ }, "strip", z.ZodTypeAny, {
8040
+ version: number;
8041
+ }, {
8042
+ version: number;
8043
+ }>;
8044
+ export type ReactivatePromptOverrideRequestBody = z.infer<typeof ReactivatePromptOverrideRequestBody>;
8045
+ export declare const PromptOkResponseBody: z.ZodObject<{
8046
+ ok: z.ZodBoolean;
8047
+ }, "strip", z.ZodTypeAny, {
8048
+ ok: boolean;
8049
+ }, {
8050
+ ok: boolean;
8051
+ }>;
8052
+ export type PromptOkResponseBody = z.infer<typeof PromptOkResponseBody>;
8053
+ export declare const PromptOverrideCreatedResponseBody: z.ZodObject<{
8054
+ ok: z.ZodBoolean;
8055
+ version: z.ZodNumber;
8056
+ }, "strip", z.ZodTypeAny, {
8057
+ ok: boolean;
8058
+ version: number;
8059
+ }, {
8060
+ ok: boolean;
8061
+ version: number;
8062
+ }>;
8063
+ export type PromptOverrideCreatedResponseBody = z.infer<typeof PromptOverrideCreatedResponseBody>;
7503
8064
  export {};