@trigger.dev/core 0.0.0-v3-prerelease-20240708183321 → 0.0.0-v3-prerelease-20240730135037

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 (155) hide show
  1. package/dist/api-Pl9fxB8v.d.mts +13879 -0
  2. package/dist/api-sNoooMbT.d.ts +13879 -0
  3. package/dist/{catalog-NxVZnWZh.d.ts → catalog-H7yFiZ60.d.mts} +12 -34
  4. package/dist/{catalog-N-X0Te3W.d.mts → catalog-h79CG5Wy.d.ts} +12 -34
  5. package/dist/{common-fIyU5pmz.d.mts → common-CLW82lkt.d.mts} +1 -1
  6. package/dist/{common-fIyU5pmz.d.ts → common-CLW82lkt.d.ts} +1 -1
  7. package/dist/{eventFilterMatches-2kHImluE.d.mts → eventFilter-66NaBAMi.d.mts} +1 -3
  8. package/dist/{eventFilterMatches-2kHImluE.d.ts → eventFilter-66NaBAMi.d.ts} +1 -3
  9. package/dist/eventFilterMatches.d.mts +6 -0
  10. package/dist/eventFilterMatches.d.ts +6 -0
  11. package/dist/eventFilterMatches.js +165 -0
  12. package/dist/eventFilterMatches.js.map +1 -0
  13. package/dist/eventFilterMatches.mjs +163 -0
  14. package/dist/eventFilterMatches.mjs.map +1 -0
  15. package/dist/index.d.mts +14 -16716
  16. package/dist/index.d.ts +14 -16716
  17. package/dist/index.js +1 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.mjs +1 -1
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/json-DBPEJQRe.d.mts +16 -0
  22. package/dist/json-DBPEJQRe.d.ts +16 -0
  23. package/dist/{manager-X_HrWQ7_.d.mts → manager-KvCabW1a.d.mts} +1 -1
  24. package/dist/{manager-2ZQ3_twq.d.ts → manager-OBA35PzR.d.ts} +1 -1
  25. package/dist/{messages-Sggr4tid.d.mts → messages-mhHZiNGN.d.mts} +234 -32
  26. package/dist/{messages-Sggr4tid.d.ts → messages-mhHZiNGN.d.ts} +234 -32
  27. package/dist/replacements.d.mts +22 -0
  28. package/dist/replacements.d.ts +22 -0
  29. package/dist/replacements.js +33 -0
  30. package/dist/replacements.js.map +1 -0
  31. package/dist/replacements.mjs +28 -0
  32. package/dist/replacements.mjs.map +1 -0
  33. package/dist/requestFilter-HNZQEpQb.d.ts +180 -0
  34. package/dist/requestFilter-b5W2_1oP.d.mts +180 -0
  35. package/dist/requestFilterMatches.d.mts +13 -0
  36. package/dist/requestFilterMatches.d.ts +13 -0
  37. package/dist/requestFilterMatches.js +238 -0
  38. package/dist/requestFilterMatches.js.map +1 -0
  39. package/dist/requestFilterMatches.mjs +235 -0
  40. package/dist/requestFilterMatches.mjs.map +1 -0
  41. package/dist/retry.d.mts +10 -0
  42. package/dist/retry.d.ts +10 -0
  43. package/dist/retry.js +100 -0
  44. package/dist/retry.js.map +1 -0
  45. package/dist/retry.mjs +97 -0
  46. package/dist/retry.mjs.map +1 -0
  47. package/dist/schemas/index.d.mts +2611 -0
  48. package/dist/schemas/index.d.ts +2611 -0
  49. package/dist/schemas/index.js +1630 -0
  50. package/dist/schemas/index.js.map +1 -0
  51. package/dist/schemas/index.mjs +1463 -0
  52. package/dist/schemas/index.mjs.map +1 -0
  53. package/dist/{schemas-Zy7mGFgD.d.mts → schemas-C9ssfehv.d.mts} +50 -1
  54. package/dist/{schemas-Zy7mGFgD.d.ts → schemas-C9ssfehv.d.ts} +50 -1
  55. package/dist/taskLogger-CzADe4je.d.ts +33 -0
  56. package/dist/taskLogger-r_AFTX45.d.mts +33 -0
  57. package/dist/types.d.mts +11 -0
  58. package/dist/types.d.ts +11 -0
  59. package/dist/types.js +4 -0
  60. package/dist/types.js.map +1 -0
  61. package/dist/types.mjs +3 -0
  62. package/dist/types.mjs.map +1 -0
  63. package/dist/utils.d.mts +7 -0
  64. package/dist/utils.d.ts +7 -0
  65. package/dist/utils.js +33 -0
  66. package/dist/utils.js.map +1 -0
  67. package/dist/utils.mjs +30 -0
  68. package/dist/utils.mjs.map +1 -0
  69. package/dist/v3/dev/index.d.mts +2 -2
  70. package/dist/v3/dev/index.d.ts +2 -2
  71. package/dist/v3/errors.d.mts +39 -0
  72. package/dist/v3/errors.d.ts +39 -0
  73. package/dist/v3/errors.js +204 -0
  74. package/dist/v3/errors.js.map +1 -0
  75. package/dist/v3/errors.mjs +195 -0
  76. package/dist/v3/errors.mjs.map +1 -0
  77. package/dist/v3/index.d.mts +88 -233
  78. package/dist/v3/index.d.ts +88 -233
  79. package/dist/v3/index.js +67 -5
  80. package/dist/v3/index.js.map +1 -1
  81. package/dist/v3/index.mjs +64 -6
  82. package/dist/v3/index.mjs.map +1 -1
  83. package/dist/v3/logger-api.d.mts +24 -0
  84. package/dist/v3/logger-api.d.ts +24 -0
  85. package/dist/v3/logger-api.js +118 -0
  86. package/dist/v3/logger-api.js.map +1 -0
  87. package/dist/v3/logger-api.mjs +116 -0
  88. package/dist/v3/logger-api.mjs.map +1 -0
  89. package/dist/v3/otel/index.js +1 -1
  90. package/dist/v3/otel/index.js.map +1 -1
  91. package/dist/v3/otel/index.mjs +1 -1
  92. package/dist/v3/otel/index.mjs.map +1 -1
  93. package/dist/v3/prod/index.d.mts +3 -3
  94. package/dist/v3/prod/index.d.ts +3 -3
  95. package/dist/v3/schemas/index.d.mts +273 -111
  96. package/dist/v3/schemas/index.d.ts +273 -111
  97. package/dist/v3/schemas/index.js +54 -4
  98. package/dist/v3/schemas/index.js.map +1 -1
  99. package/dist/v3/schemas/index.mjs +51 -5
  100. package/dist/v3/schemas/index.mjs.map +1 -1
  101. package/dist/v3/semanticInternalAttributes.d.mts +56 -0
  102. package/dist/v3/semanticInternalAttributes.d.ts +56 -0
  103. package/dist/v3/semanticInternalAttributes.js +61 -0
  104. package/dist/v3/semanticInternalAttributes.js.map +1 -0
  105. package/dist/v3/semanticInternalAttributes.mjs +59 -0
  106. package/dist/v3/semanticInternalAttributes.mjs.map +1 -0
  107. package/dist/v3/utils/flattenAttributes.d.mts +8 -0
  108. package/dist/v3/utils/flattenAttributes.d.ts +8 -0
  109. package/dist/v3/utils/flattenAttributes.js +131 -0
  110. package/dist/v3/utils/flattenAttributes.js.map +1 -0
  111. package/dist/v3/utils/flattenAttributes.mjs +126 -0
  112. package/dist/v3/utils/flattenAttributes.mjs.map +1 -0
  113. package/dist/v3/utils/ioSerialization.d.mts +21 -0
  114. package/dist/v3/utils/ioSerialization.d.ts +21 -0
  115. package/dist/v3/utils/ioSerialization.js +2392 -0
  116. package/dist/v3/utils/ioSerialization.js.map +1 -0
  117. package/dist/v3/utils/ioSerialization.mjs +2383 -0
  118. package/dist/v3/utils/ioSerialization.mjs.map +1 -0
  119. package/dist/v3/utils/omit.d.mts +3 -0
  120. package/dist/v3/utils/omit.d.ts +3 -0
  121. package/dist/v3/utils/omit.js +20 -0
  122. package/dist/v3/utils/omit.js.map +1 -0
  123. package/dist/v3/utils/omit.mjs +18 -0
  124. package/dist/v3/utils/omit.mjs.map +1 -0
  125. package/dist/v3/utils/retries.d.mts +46 -0
  126. package/dist/v3/utils/retries.d.ts +46 -0
  127. package/dist/v3/utils/retries.js +118 -0
  128. package/dist/v3/utils/retries.js.map +1 -0
  129. package/dist/v3/utils/retries.mjs +113 -0
  130. package/dist/v3/utils/retries.mjs.map +1 -0
  131. package/dist/v3/workers/index.d.mts +7 -6
  132. package/dist/v3/workers/index.d.ts +7 -6
  133. package/dist/v3/workers/index.js +50 -5
  134. package/dist/v3/workers/index.js.map +1 -1
  135. package/dist/v3/workers/index.mjs +50 -5
  136. package/dist/v3/workers/index.mjs.map +1 -1
  137. package/dist/v3/zodIpc.js.map +1 -1
  138. package/dist/v3/zodIpc.mjs.map +1 -1
  139. package/dist/v3/zodMessageHandler.d.mts +15 -2
  140. package/dist/v3/zodMessageHandler.d.ts +15 -2
  141. package/dist/v3/zodMessageHandler.js +59 -13
  142. package/dist/v3/zodMessageHandler.js.map +1 -1
  143. package/dist/v3/zodMessageHandler.mjs +59 -13
  144. package/dist/v3/zodMessageHandler.mjs.map +1 -1
  145. package/dist/v3/zodNamespace.js.map +1 -1
  146. package/dist/v3/zodNamespace.mjs.map +1 -1
  147. package/dist/v3/zodfetch.d.mts +1 -1
  148. package/dist/v3/zodfetch.d.ts +1 -1
  149. package/dist/versions.d.mts +11 -0
  150. package/dist/versions.d.ts +11 -0
  151. package/dist/versions.js +31 -0
  152. package/dist/versions.js.map +1 -0
  153. package/dist/versions.mjs +27 -0
  154. package/dist/versions.mjs.map +1 -0
  155. package/package.json +139 -19
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- export { B as BatchTaskRunExecutionResult, f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, a as TaskRunContext, i as TaskRunCustomErrorObject, c as TaskRunError, k as TaskRunErrorCodes, b as TaskRunExecution, o as TaskRunExecutionAttempt, t as TaskRunExecutionBatch, p as TaskRunExecutionEnvironment, q as TaskRunExecutionOrganization, r as TaskRunExecutionProject, s as TaskRunExecutionQueue, T as TaskRunExecutionResult, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../../common-fIyU5pmz.mjs';
3
- export { c as BackgroundWorkerClientMessages, B as BackgroundWorkerProperties, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, m as CoordinatorSocketData, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../../messages-Sggr4tid.mjs';
4
- import { P as Prettify } from '../../schemas-Zy7mGFgD.mjs';
5
- export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, g as PostStartCauses, h as PreStopCauses, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, i as ResolvedConfig, R as RetryOptions, S as SlidingWindowRateLimit, T as TaskFileMetadata, b as TaskMetadata, a as TaskMetadataWithFilePath, j as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../../schemas-Zy7mGFgD.mjs';
2
+ export { B as BatchTaskRunExecutionResult, f as MachineConfig, d as MachineCpu, e as MachineMemory, g as MachinePreset, M as MachinePresetName, m as TaskRun, h as TaskRunBuiltInError, a as TaskRunContext, i as TaskRunCustomErrorObject, b as TaskRunError, k as TaskRunErrorCodes, c as TaskRunExecution, o as TaskRunExecutionAttempt, t as TaskRunExecutionBatch, p as TaskRunExecutionEnvironment, q as TaskRunExecutionOrganization, r as TaskRunExecutionProject, s as TaskRunExecutionQueue, T as TaskRunExecutionResult, u as TaskRunExecutionRetry, n as TaskRunExecutionTask, v as TaskRunExecutionUsage, w as TaskRunFailedExecutionResult, l as TaskRunInternalError, j as TaskRunStringError, x as TaskRunSuccessfulExecutionResult } from '../../common-CLW82lkt.mjs';
3
+ export { c as BackgroundWorkerClientMessages, B as BackgroundWorkerProperties, b as BackgroundWorkerServerMessages, i as ClientToSharedQueueMessages, m as CoordinatorSocketData, C as CoordinatorToPlatformMessages, k as CoordinatorToProdWorkerMessages, h as PlatformToCoordinatorMessages, g as PlatformToProviderMessages, a as ProdChildToWorkerMessages, l as ProdWorkerSocketData, P as ProdWorkerToChildMessages, j as ProdWorkerToCoordinatorMessages, f as ProviderToPlatformMessages, S as SharedQueueToClientMessages, T as TaskMetadataFailedToParseData, U as UncaughtExceptionMessage, e as childToWorkerMessages, d as clientWebsocketMessages, s as serverWebsocketMessages, w as workerToChildMessages } from '../../messages-mhHZiNGN.mjs';
4
+ import { P as Prettify } from '../../schemas-C9ssfehv.mjs';
5
+ export { C as Config, E as EnvironmentType, F as FixedWindowRateLimit, h as PostStartCauses, i as PreStopCauses, d as ProdTaskRunExecution, e as ProdTaskRunExecutionPayload, Q as QueueOptions, f as RateLimitOptions, j as ResolvedConfig, R as RetryOptions, g as ScheduleMetadata, S as SlidingWindowRateLimit, a as TaskFileMetadata, T as TaskMetadata, b as TaskMetadataWithFilePath, k as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../../schemas-C9ssfehv.mjs';
6
6
 
7
7
  declare const CreateAuthorizationCodeResponseSchema: z.ZodObject<{
8
8
  url: z.ZodString;
@@ -399,6 +399,16 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
399
399
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
400
400
  }>>;
401
401
  triggerSource: z.ZodOptional<z.ZodString>;
402
+ schedule: z.ZodOptional<z.ZodObject<{
403
+ cron: z.ZodString;
404
+ timezone: z.ZodString;
405
+ }, "strip", z.ZodTypeAny, {
406
+ cron: string;
407
+ timezone: string;
408
+ }, {
409
+ cron: string;
410
+ timezone: string;
411
+ }>>;
402
412
  }, "strip", z.ZodTypeAny, {
403
413
  id: string;
404
414
  filePath: string;
@@ -453,6 +463,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
453
463
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
454
464
  } | undefined;
455
465
  triggerSource?: string | undefined;
466
+ schedule?: {
467
+ cron: string;
468
+ timezone: string;
469
+ } | undefined;
456
470
  }, {
457
471
  id: string;
458
472
  filePath: string;
@@ -507,9 +521,12 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
507
521
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
508
522
  } | undefined;
509
523
  triggerSource?: string | undefined;
524
+ schedule?: {
525
+ cron: string;
526
+ timezone: string;
527
+ } | undefined;
510
528
  }>, "many">;
511
529
  }, "strip", z.ZodTypeAny, {
512
- packageVersion: string;
513
530
  contentHash: string;
514
531
  tasks: {
515
532
  id: string;
@@ -565,10 +582,14 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
565
582
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
566
583
  } | undefined;
567
584
  triggerSource?: string | undefined;
585
+ schedule?: {
586
+ cron: string;
587
+ timezone: string;
588
+ } | undefined;
568
589
  }[];
590
+ packageVersion: string;
569
591
  cliPackageVersion?: string | undefined;
570
592
  }, {
571
- packageVersion: string;
572
593
  contentHash: string;
573
594
  tasks: {
574
595
  id: string;
@@ -624,14 +645,17 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
624
645
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
625
646
  } | undefined;
626
647
  triggerSource?: string | undefined;
648
+ schedule?: {
649
+ cron: string;
650
+ timezone: string;
651
+ } | undefined;
627
652
  }[];
653
+ packageVersion: string;
628
654
  cliPackageVersion?: string | undefined;
629
655
  }>;
630
656
  supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
631
657
  }, "strip", z.ZodTypeAny, {
632
- localOnly: boolean;
633
658
  metadata: {
634
- packageVersion: string;
635
659
  contentHash: string;
636
660
  tasks: {
637
661
  id: string;
@@ -687,14 +711,18 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
687
711
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
688
712
  } | undefined;
689
713
  triggerSource?: string | undefined;
714
+ schedule?: {
715
+ cron: string;
716
+ timezone: string;
717
+ } | undefined;
690
718
  }[];
719
+ packageVersion: string;
691
720
  cliPackageVersion?: string | undefined;
692
721
  };
722
+ localOnly: boolean;
693
723
  supportsLazyAttempts?: boolean | undefined;
694
724
  }, {
695
- localOnly: boolean;
696
725
  metadata: {
697
- packageVersion: string;
698
726
  contentHash: string;
699
727
  tasks: {
700
728
  id: string;
@@ -750,9 +778,15 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
750
778
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
751
779
  } | undefined;
752
780
  triggerSource?: string | undefined;
781
+ schedule?: {
782
+ cron: string;
783
+ timezone: string;
784
+ } | undefined;
753
785
  }[];
786
+ packageVersion: string;
754
787
  cliPackageVersion?: string | undefined;
755
788
  };
789
+ localOnly: boolean;
756
790
  supportsLazyAttempts?: boolean | undefined;
757
791
  }>;
758
792
  type CreateBackgroundWorkerRequestBody = z.infer<typeof CreateBackgroundWorkerRequestBody>;
@@ -770,6 +804,8 @@ declare const CreateBackgroundWorkerResponse: z.ZodObject<{
770
804
  contentHash: string;
771
805
  }>;
772
806
  type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
807
+ declare const RunTags: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
808
+ type RunTags = z.infer<typeof RunTags>;
773
809
  declare const TriggerTaskRequestBody: z.ZodObject<{
774
810
  payload: z.ZodAny;
775
811
  context: z.ZodAny;
@@ -968,6 +1004,7 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
968
1004
  payloadType: z.ZodOptional<z.ZodString>;
969
1005
  delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
970
1006
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1007
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
971
1008
  maxAttempts: z.ZodOptional<z.ZodNumber>;
972
1009
  }, "strip", z.ZodTypeAny, {
973
1010
  dependentAttempt?: string | undefined;
@@ -1016,6 +1053,7 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
1016
1053
  payloadType?: string | undefined;
1017
1054
  delay?: string | Date | undefined;
1018
1055
  ttl?: string | number | undefined;
1056
+ tags?: string | string[] | undefined;
1019
1057
  maxAttempts?: number | undefined;
1020
1058
  }, {
1021
1059
  dependentAttempt?: string | undefined;
@@ -1064,6 +1102,7 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
1064
1102
  payloadType?: string | undefined;
1065
1103
  delay?: string | Date | undefined;
1066
1104
  ttl?: string | number | undefined;
1105
+ tags?: string | string[] | undefined;
1067
1106
  maxAttempts?: number | undefined;
1068
1107
  }>>;
1069
1108
  }, "strip", z.ZodTypeAny, {
@@ -1116,6 +1155,7 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
1116
1155
  payloadType?: string | undefined;
1117
1156
  delay?: string | Date | undefined;
1118
1157
  ttl?: string | number | undefined;
1158
+ tags?: string | string[] | undefined;
1119
1159
  maxAttempts?: number | undefined;
1120
1160
  } | undefined;
1121
1161
  }, {
@@ -1168,6 +1208,7 @@ declare const TriggerTaskRequestBody: z.ZodObject<{
1168
1208
  payloadType?: string | undefined;
1169
1209
  delay?: string | Date | undefined;
1170
1210
  ttl?: string | number | undefined;
1211
+ tags?: string | string[] | undefined;
1171
1212
  maxAttempts?: number | undefined;
1172
1213
  } | undefined;
1173
1214
  }>;
@@ -1379,6 +1420,7 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1379
1420
  payloadType: z.ZodOptional<z.ZodString>;
1380
1421
  delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1381
1422
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
1423
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1382
1424
  maxAttempts: z.ZodOptional<z.ZodNumber>;
1383
1425
  }, "strip", z.ZodTypeAny, {
1384
1426
  dependentAttempt?: string | undefined;
@@ -1427,6 +1469,7 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1427
1469
  payloadType?: string | undefined;
1428
1470
  delay?: string | Date | undefined;
1429
1471
  ttl?: string | number | undefined;
1472
+ tags?: string | string[] | undefined;
1430
1473
  maxAttempts?: number | undefined;
1431
1474
  }, {
1432
1475
  dependentAttempt?: string | undefined;
@@ -1475,6 +1518,7 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1475
1518
  payloadType?: string | undefined;
1476
1519
  delay?: string | Date | undefined;
1477
1520
  ttl?: string | number | undefined;
1521
+ tags?: string | string[] | undefined;
1478
1522
  maxAttempts?: number | undefined;
1479
1523
  }>>;
1480
1524
  }, "strip", z.ZodTypeAny, {
@@ -1527,6 +1571,7 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1527
1571
  payloadType?: string | undefined;
1528
1572
  delay?: string | Date | undefined;
1529
1573
  ttl?: string | number | undefined;
1574
+ tags?: string | string[] | undefined;
1530
1575
  maxAttempts?: number | undefined;
1531
1576
  } | undefined;
1532
1577
  }, {
@@ -1579,6 +1624,7 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1579
1624
  payloadType?: string | undefined;
1580
1625
  delay?: string | Date | undefined;
1581
1626
  ttl?: string | number | undefined;
1627
+ tags?: string | string[] | undefined;
1582
1628
  maxAttempts?: number | undefined;
1583
1629
  } | undefined;
1584
1630
  }>, "many">;
@@ -1634,6 +1680,7 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1634
1680
  payloadType?: string | undefined;
1635
1681
  delay?: string | Date | undefined;
1636
1682
  ttl?: string | number | undefined;
1683
+ tags?: string | string[] | undefined;
1637
1684
  maxAttempts?: number | undefined;
1638
1685
  } | undefined;
1639
1686
  }[];
@@ -1689,6 +1736,7 @@ declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1689
1736
  payloadType?: string | undefined;
1690
1737
  delay?: string | Date | undefined;
1691
1738
  ttl?: string | number | undefined;
1739
+ tags?: string | string[] | undefined;
1692
1740
  maxAttempts?: number | undefined;
1693
1741
  } | undefined;
1694
1742
  }[];
@@ -1699,11 +1747,11 @@ declare const BatchTriggerTaskResponse: z.ZodObject<{
1699
1747
  batchId: z.ZodString;
1700
1748
  runs: z.ZodArray<z.ZodString, "many">;
1701
1749
  }, "strip", z.ZodTypeAny, {
1702
- batchId: string;
1703
1750
  runs: string[];
1704
- }, {
1705
1751
  batchId: string;
1752
+ }, {
1706
1753
  runs: string[];
1754
+ batchId: string;
1707
1755
  }>;
1708
1756
  type BatchTriggerTaskResponse = z.infer<typeof BatchTriggerTaskResponse>;
1709
1757
  declare const GetBatchResponseBody: z.ZodObject<{
@@ -1713,30 +1761,38 @@ declare const GetBatchResponseBody: z.ZodObject<{
1713
1761
  taskRunId: z.ZodString;
1714
1762
  status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
1715
1763
  }, "strip", z.ZodTypeAny, {
1716
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1764
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1717
1765
  id: string;
1718
1766
  taskRunId: string;
1719
1767
  }, {
1720
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1768
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1721
1769
  id: string;
1722
1770
  taskRunId: string;
1723
1771
  }>, "many">;
1724
1772
  }, "strip", z.ZodTypeAny, {
1725
1773
  id: string;
1726
1774
  items: {
1727
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1775
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1728
1776
  id: string;
1729
1777
  taskRunId: string;
1730
1778
  }[];
1731
1779
  }, {
1732
1780
  id: string;
1733
1781
  items: {
1734
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1782
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1735
1783
  id: string;
1736
1784
  taskRunId: string;
1737
1785
  }[];
1738
1786
  }>;
1739
1787
  type GetBatchResponseBody = z.infer<typeof GetBatchResponseBody>;
1788
+ declare const AddTagsRequestBody: z.ZodObject<{
1789
+ tags: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ tags: (string | string[]) & (string | string[] | undefined);
1792
+ }, {
1793
+ tags: (string | string[]) & (string | string[] | undefined);
1794
+ }>;
1795
+ type AddTagsRequestBody = z.infer<typeof AddTagsRequestBody>;
1740
1796
  declare const RescheduleRunRequestBody: z.ZodObject<{
1741
1797
  delay: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1742
1798
  }, "strip", z.ZodTypeAny, {
@@ -1924,7 +1980,7 @@ declare const GetDeploymentResponseBody: z.ZodObject<{
1924
1980
  }[];
1925
1981
  }>>;
1926
1982
  }, "strip", z.ZodTypeAny, {
1927
- status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
1983
+ status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1928
1984
  id: string;
1929
1985
  version: string;
1930
1986
  contentHash: string;
@@ -1947,7 +2003,7 @@ declare const GetDeploymentResponseBody: z.ZodObject<{
1947
2003
  }[];
1948
2004
  } | undefined;
1949
2005
  }, {
1950
- status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2006
+ status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1951
2007
  id: string;
1952
2008
  version: string;
1953
2009
  contentHash: string;
@@ -1995,10 +2051,18 @@ declare const CanceledRunResponse: z.ZodObject<{
1995
2051
  id: string;
1996
2052
  }>;
1997
2053
  type CanceledRunResponse = z.infer<typeof CanceledRunResponse>;
2054
+ declare const ScheduleType: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
1998
2055
  declare const ScheduledTaskPayload: z.ZodObject<{
1999
2056
  /** The schedule id associated with this run (you can have many schedules for the same task).
2000
2057
  You can use this to remove the schedule, update it, etc */
2001
2058
  scheduleId: z.ZodString;
2059
+ /** The type of schedule – `"DECLARATIVE"` or `"IMPERATIVE"`.
2060
+ *
2061
+ * **DECLARATIVE** – defined inline on your `schedules.task` using the `cron` property. They can only be created, updated or deleted by modifying the `cron` property on your task.
2062
+ *
2063
+ * **IMPERATIVE** – created using the `schedules.create` functions or in the dashboard.
2064
+ */
2065
+ type: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
2002
2066
  /** When the task was scheduled to run.
2003
2067
  * Note this will be slightly different from `new Date()` because it takes a few ms to run the task.
2004
2068
  *
@@ -2023,16 +2087,18 @@ declare const ScheduledTaskPayload: z.ZodObject<{
2023
2087
  /** The next 5 dates this task is scheduled to run */
2024
2088
  upcoming: z.ZodArray<z.ZodDate, "many">;
2025
2089
  }, "strip", z.ZodTypeAny, {
2090
+ type: "DECLARATIVE" | "IMPERATIVE";
2026
2091
  timestamp: Date;
2027
- scheduleId: string;
2028
2092
  timezone: string;
2093
+ scheduleId: string;
2029
2094
  upcoming: Date[];
2030
2095
  lastTimestamp?: Date | undefined;
2031
2096
  externalId?: string | undefined;
2032
2097
  }, {
2098
+ type: "DECLARATIVE" | "IMPERATIVE";
2033
2099
  timestamp: Date;
2034
- scheduleId: string;
2035
2100
  timezone: string;
2101
+ scheduleId: string;
2036
2102
  upcoming: Date[];
2037
2103
  lastTimestamp?: Date | undefined;
2038
2104
  externalId?: string | undefined;
@@ -2150,16 +2216,17 @@ declare const ScheduleGenerator: z.ZodObject<{
2150
2216
  description: z.ZodString;
2151
2217
  }, "strip", z.ZodTypeAny, {
2152
2218
  type: "CRON";
2153
- expression: string;
2154
2219
  description: string;
2220
+ expression: string;
2155
2221
  }, {
2156
2222
  type: "CRON";
2157
- expression: string;
2158
2223
  description: string;
2224
+ expression: string;
2159
2225
  }>;
2160
2226
  type ScheduleGenerator = z.infer<typeof ScheduleGenerator>;
2161
2227
  declare const ScheduleObject: z.ZodObject<{
2162
2228
  id: z.ZodString;
2229
+ type: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
2163
2230
  task: z.ZodString;
2164
2231
  active: z.ZodBoolean;
2165
2232
  deduplicationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2170,12 +2237,12 @@ declare const ScheduleObject: z.ZodObject<{
2170
2237
  description: z.ZodString;
2171
2238
  }, "strip", z.ZodTypeAny, {
2172
2239
  type: "CRON";
2173
- expression: string;
2174
2240
  description: string;
2241
+ expression: string;
2175
2242
  }, {
2176
2243
  type: "CRON";
2177
- expression: string;
2178
2244
  description: string;
2245
+ expression: string;
2179
2246
  }>;
2180
2247
  timezone: z.ZodString;
2181
2248
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2193,15 +2260,16 @@ declare const ScheduleObject: z.ZodObject<{
2193
2260
  userName?: string | null | undefined;
2194
2261
  }>, "many">;
2195
2262
  }, "strip", z.ZodTypeAny, {
2263
+ type: "DECLARATIVE" | "IMPERATIVE";
2196
2264
  id: string;
2197
2265
  task: string;
2198
- timezone: string;
2199
2266
  active: boolean;
2200
2267
  generator: {
2201
2268
  type: "CRON";
2202
- expression: string;
2203
2269
  description: string;
2270
+ expression: string;
2204
2271
  };
2272
+ timezone: string;
2205
2273
  environments: {
2206
2274
  type: string;
2207
2275
  id: string;
@@ -2211,15 +2279,16 @@ declare const ScheduleObject: z.ZodObject<{
2211
2279
  externalId?: string | null | undefined;
2212
2280
  nextRun?: Date | null | undefined;
2213
2281
  }, {
2282
+ type: "DECLARATIVE" | "IMPERATIVE";
2214
2283
  id: string;
2215
2284
  task: string;
2216
- timezone: string;
2217
2285
  active: boolean;
2218
2286
  generator: {
2219
2287
  type: "CRON";
2220
- expression: string;
2221
2288
  description: string;
2289
+ expression: string;
2222
2290
  };
2291
+ timezone: string;
2223
2292
  environments: {
2224
2293
  type: string;
2225
2294
  id: string;
@@ -2241,6 +2310,7 @@ type DeletedScheduleObject = z.infer<typeof DeletedScheduleObject>;
2241
2310
  declare const ListSchedulesResult: z.ZodObject<{
2242
2311
  data: z.ZodArray<z.ZodObject<{
2243
2312
  id: z.ZodString;
2313
+ type: z.ZodUnion<[z.ZodLiteral<"DECLARATIVE">, z.ZodLiteral<"IMPERATIVE">]>;
2244
2314
  task: z.ZodString;
2245
2315
  active: z.ZodBoolean;
2246
2316
  deduplicationKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2251,12 +2321,12 @@ declare const ListSchedulesResult: z.ZodObject<{
2251
2321
  description: z.ZodString;
2252
2322
  }, "strip", z.ZodTypeAny, {
2253
2323
  type: "CRON";
2254
- expression: string;
2255
2324
  description: string;
2325
+ expression: string;
2256
2326
  }, {
2257
2327
  type: "CRON";
2258
- expression: string;
2259
2328
  description: string;
2329
+ expression: string;
2260
2330
  }>;
2261
2331
  timezone: z.ZodString;
2262
2332
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2274,15 +2344,16 @@ declare const ListSchedulesResult: z.ZodObject<{
2274
2344
  userName?: string | null | undefined;
2275
2345
  }>, "many">;
2276
2346
  }, "strip", z.ZodTypeAny, {
2347
+ type: "DECLARATIVE" | "IMPERATIVE";
2277
2348
  id: string;
2278
2349
  task: string;
2279
- timezone: string;
2280
2350
  active: boolean;
2281
2351
  generator: {
2282
2352
  type: "CRON";
2283
- expression: string;
2284
2353
  description: string;
2354
+ expression: string;
2285
2355
  };
2356
+ timezone: string;
2286
2357
  environments: {
2287
2358
  type: string;
2288
2359
  id: string;
@@ -2292,15 +2363,16 @@ declare const ListSchedulesResult: z.ZodObject<{
2292
2363
  externalId?: string | null | undefined;
2293
2364
  nextRun?: Date | null | undefined;
2294
2365
  }, {
2366
+ type: "DECLARATIVE" | "IMPERATIVE";
2295
2367
  id: string;
2296
2368
  task: string;
2297
- timezone: string;
2298
2369
  active: boolean;
2299
2370
  generator: {
2300
2371
  type: "CRON";
2301
- expression: string;
2302
2372
  description: string;
2373
+ expression: string;
2303
2374
  };
2375
+ timezone: string;
2304
2376
  environments: {
2305
2377
  type: string;
2306
2378
  id: string;
@@ -2325,15 +2397,16 @@ declare const ListSchedulesResult: z.ZodObject<{
2325
2397
  }>;
2326
2398
  }, "strip", z.ZodTypeAny, {
2327
2399
  data: {
2400
+ type: "DECLARATIVE" | "IMPERATIVE";
2328
2401
  id: string;
2329
2402
  task: string;
2330
- timezone: string;
2331
2403
  active: boolean;
2332
2404
  generator: {
2333
2405
  type: "CRON";
2334
- expression: string;
2335
2406
  description: string;
2407
+ expression: string;
2336
2408
  };
2409
+ timezone: string;
2337
2410
  environments: {
2338
2411
  type: string;
2339
2412
  id: string;
@@ -2350,15 +2423,16 @@ declare const ListSchedulesResult: z.ZodObject<{
2350
2423
  };
2351
2424
  }, {
2352
2425
  data: {
2426
+ type: "DECLARATIVE" | "IMPERATIVE";
2353
2427
  id: string;
2354
2428
  task: string;
2355
- timezone: string;
2356
2429
  active: boolean;
2357
2430
  generator: {
2358
2431
  type: "CRON";
2359
- expression: string;
2360
2432
  description: string;
2433
+ expression: string;
2361
2434
  };
2435
+ timezone: string;
2362
2436
  environments: {
2363
2437
  type: string;
2364
2438
  id: string;
@@ -2422,19 +2496,19 @@ declare const RunScheduleDetails: z.ZodObject<{
2422
2496
  description: z.ZodString;
2423
2497
  }, "strip", z.ZodTypeAny, {
2424
2498
  type: "CRON";
2425
- expression: string;
2426
2499
  description: string;
2500
+ expression: string;
2427
2501
  }, {
2428
2502
  type: "CRON";
2429
- expression: string;
2430
2503
  description: string;
2504
+ expression: string;
2431
2505
  }>;
2432
2506
  }, "strip", z.ZodTypeAny, {
2433
2507
  id: string;
2434
2508
  generator: {
2435
2509
  type: "CRON";
2436
- expression: string;
2437
2510
  description: string;
2511
+ expression: string;
2438
2512
  };
2439
2513
  externalId?: string | undefined;
2440
2514
  deduplicationKey?: string | undefined;
@@ -2442,8 +2516,8 @@ declare const RunScheduleDetails: z.ZodObject<{
2442
2516
  id: string;
2443
2517
  generator: {
2444
2518
  type: "CRON";
2445
- expression: string;
2446
2519
  description: string;
2520
+ expression: string;
2447
2521
  };
2448
2522
  externalId?: string | undefined;
2449
2523
  deduplicationKey?: string | undefined;
@@ -2464,19 +2538,19 @@ declare const RetrieveRunResponse: z.ZodObject<{
2464
2538
  description: z.ZodString;
2465
2539
  }, "strip", z.ZodTypeAny, {
2466
2540
  type: "CRON";
2467
- expression: string;
2468
2541
  description: string;
2542
+ expression: string;
2469
2543
  }, {
2470
2544
  type: "CRON";
2471
- expression: string;
2472
2545
  description: string;
2546
+ expression: string;
2473
2547
  }>;
2474
2548
  }, "strip", z.ZodTypeAny, {
2475
2549
  id: string;
2476
2550
  generator: {
2477
2551
  type: "CRON";
2478
- expression: string;
2479
2552
  description: string;
2553
+ expression: string;
2480
2554
  };
2481
2555
  externalId?: string | undefined;
2482
2556
  deduplicationKey?: string | undefined;
@@ -2484,8 +2558,8 @@ declare const RetrieveRunResponse: z.ZodObject<{
2484
2558
  id: string;
2485
2559
  generator: {
2486
2560
  type: "CRON";
2487
- expression: string;
2488
2561
  description: string;
2562
+ expression: string;
2489
2563
  };
2490
2564
  externalId?: string | undefined;
2491
2565
  deduplicationKey?: string | undefined;
@@ -2511,7 +2585,7 @@ declare const RetrieveRunResponse: z.ZodObject<{
2511
2585
  stackTrace?: string | undefined;
2512
2586
  }>>;
2513
2587
  }, "strip", z.ZodTypeAny, {
2514
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2588
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2515
2589
  id: string;
2516
2590
  createdAt: Date;
2517
2591
  updatedAt: Date;
@@ -2523,7 +2597,7 @@ declare const RetrieveRunResponse: z.ZodObject<{
2523
2597
  stackTrace?: string | undefined;
2524
2598
  } | undefined;
2525
2599
  }, {
2526
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2600
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2527
2601
  id: string;
2528
2602
  createdAt: Date;
2529
2603
  updatedAt: Date;
@@ -2554,13 +2628,21 @@ declare const RetrieveRunResponse: z.ZodObject<{
2554
2628
  delayedUntil: z.ZodOptional<z.ZodDate>;
2555
2629
  ttl: z.ZodOptional<z.ZodString>;
2556
2630
  expiredAt: z.ZodOptional<z.ZodDate>;
2631
+ tags: z.ZodArray<z.ZodString, "many">;
2632
+ costInCents: z.ZodNumber;
2633
+ baseCostInCents: z.ZodNumber;
2634
+ durationMs: z.ZodNumber;
2557
2635
  }, "strip", z.ZodTypeAny, {
2558
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2636
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2559
2637
  id: string;
2638
+ tags: string[];
2560
2639
  isTest: boolean;
2561
2640
  createdAt: Date;
2641
+ durationMs: number;
2642
+ costInCents: number;
2643
+ baseCostInCents: number;
2562
2644
  attempts: ({
2563
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2645
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2564
2646
  id: string;
2565
2647
  createdAt: Date;
2566
2648
  updatedAt: Date;
@@ -2588,8 +2670,8 @@ declare const RetrieveRunResponse: z.ZodObject<{
2588
2670
  id: string;
2589
2671
  generator: {
2590
2672
  type: "CRON";
2591
- expression: string;
2592
2673
  description: string;
2674
+ expression: string;
2593
2675
  };
2594
2676
  externalId?: string | undefined;
2595
2677
  deduplicationKey?: string | undefined;
@@ -2602,12 +2684,16 @@ declare const RetrieveRunResponse: z.ZodObject<{
2602
2684
  ttl?: string | undefined;
2603
2685
  expiredAt?: Date | undefined;
2604
2686
  }, {
2605
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2687
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2606
2688
  id: string;
2689
+ tags: string[];
2607
2690
  isTest: boolean;
2608
2691
  createdAt: Date;
2692
+ durationMs: number;
2693
+ costInCents: number;
2694
+ baseCostInCents: number;
2609
2695
  attempts: ({
2610
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2696
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2611
2697
  id: string;
2612
2698
  createdAt: Date;
2613
2699
  updatedAt: Date;
@@ -2635,8 +2721,8 @@ declare const RetrieveRunResponse: z.ZodObject<{
2635
2721
  id: string;
2636
2722
  generator: {
2637
2723
  type: "CRON";
2638
- expression: string;
2639
2724
  description: string;
2725
+ expression: string;
2640
2726
  };
2641
2727
  externalId?: string | undefined;
2642
2728
  deduplicationKey?: string | undefined;
@@ -2683,24 +2769,32 @@ declare const ListRunResponseItem: z.ZodObject<{
2683
2769
  delayedUntil: z.ZodOptional<z.ZodDate>;
2684
2770
  ttl: z.ZodOptional<z.ZodString>;
2685
2771
  expiredAt: z.ZodOptional<z.ZodDate>;
2772
+ tags: z.ZodArray<z.ZodString, "many">;
2773
+ costInCents: z.ZodNumber;
2774
+ baseCostInCents: z.ZodNumber;
2775
+ durationMs: z.ZodNumber;
2686
2776
  }, "strip", z.ZodTypeAny, {
2687
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2777
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2688
2778
  id: string;
2779
+ tags: string[];
2689
2780
  isTest: boolean;
2690
2781
  createdAt: Date;
2782
+ durationMs: number;
2783
+ costInCents: number;
2784
+ baseCostInCents: number;
2691
2785
  updatedAt: Date;
2692
2786
  taskIdentifier: string;
2787
+ env: {
2788
+ id: string;
2789
+ name: string;
2790
+ user?: string | undefined;
2791
+ };
2693
2792
  isQueued: boolean;
2694
2793
  isExecuting: boolean;
2695
2794
  isCompleted: boolean;
2696
2795
  isSuccess: boolean;
2697
2796
  isFailed: boolean;
2698
2797
  isCancelled: boolean;
2699
- env: {
2700
- id: string;
2701
- name: string;
2702
- user?: string | undefined;
2703
- };
2704
2798
  idempotencyKey?: string | undefined;
2705
2799
  version?: string | undefined;
2706
2800
  startedAt?: Date | undefined;
@@ -2709,23 +2803,27 @@ declare const ListRunResponseItem: z.ZodObject<{
2709
2803
  ttl?: string | undefined;
2710
2804
  expiredAt?: Date | undefined;
2711
2805
  }, {
2712
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2806
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2713
2807
  id: string;
2808
+ tags: string[];
2714
2809
  isTest: boolean;
2715
2810
  createdAt: Date;
2811
+ durationMs: number;
2812
+ costInCents: number;
2813
+ baseCostInCents: number;
2716
2814
  updatedAt: Date;
2717
2815
  taskIdentifier: string;
2816
+ env: {
2817
+ id: string;
2818
+ name: string;
2819
+ user?: string | undefined;
2820
+ };
2718
2821
  isQueued: boolean;
2719
2822
  isExecuting: boolean;
2720
2823
  isCompleted: boolean;
2721
2824
  isSuccess: boolean;
2722
2825
  isFailed: boolean;
2723
2826
  isCancelled: boolean;
2724
- env: {
2725
- id: string;
2726
- name: string;
2727
- user?: string | undefined;
2728
- };
2729
2827
  idempotencyKey?: string | undefined;
2730
2828
  version?: string | undefined;
2731
2829
  startedAt?: Date | undefined;
@@ -2769,24 +2867,32 @@ declare const ListRunResponse: z.ZodObject<{
2769
2867
  delayedUntil: z.ZodOptional<z.ZodDate>;
2770
2868
  ttl: z.ZodOptional<z.ZodString>;
2771
2869
  expiredAt: z.ZodOptional<z.ZodDate>;
2870
+ tags: z.ZodArray<z.ZodString, "many">;
2871
+ costInCents: z.ZodNumber;
2872
+ baseCostInCents: z.ZodNumber;
2873
+ durationMs: z.ZodNumber;
2772
2874
  }, "strip", z.ZodTypeAny, {
2773
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2875
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2774
2876
  id: string;
2877
+ tags: string[];
2775
2878
  isTest: boolean;
2776
2879
  createdAt: Date;
2880
+ durationMs: number;
2881
+ costInCents: number;
2882
+ baseCostInCents: number;
2777
2883
  updatedAt: Date;
2778
2884
  taskIdentifier: string;
2885
+ env: {
2886
+ id: string;
2887
+ name: string;
2888
+ user?: string | undefined;
2889
+ };
2779
2890
  isQueued: boolean;
2780
2891
  isExecuting: boolean;
2781
2892
  isCompleted: boolean;
2782
2893
  isSuccess: boolean;
2783
2894
  isFailed: boolean;
2784
2895
  isCancelled: boolean;
2785
- env: {
2786
- id: string;
2787
- name: string;
2788
- user?: string | undefined;
2789
- };
2790
2896
  idempotencyKey?: string | undefined;
2791
2897
  version?: string | undefined;
2792
2898
  startedAt?: Date | undefined;
@@ -2795,23 +2901,27 @@ declare const ListRunResponse: z.ZodObject<{
2795
2901
  ttl?: string | undefined;
2796
2902
  expiredAt?: Date | undefined;
2797
2903
  }, {
2798
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2904
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2799
2905
  id: string;
2906
+ tags: string[];
2800
2907
  isTest: boolean;
2801
2908
  createdAt: Date;
2909
+ durationMs: number;
2910
+ costInCents: number;
2911
+ baseCostInCents: number;
2802
2912
  updatedAt: Date;
2803
2913
  taskIdentifier: string;
2914
+ env: {
2915
+ id: string;
2916
+ name: string;
2917
+ user?: string | undefined;
2918
+ };
2804
2919
  isQueued: boolean;
2805
2920
  isExecuting: boolean;
2806
2921
  isCompleted: boolean;
2807
2922
  isSuccess: boolean;
2808
2923
  isFailed: boolean;
2809
2924
  isCancelled: boolean;
2810
- env: {
2811
- id: string;
2812
- name: string;
2813
- user?: string | undefined;
2814
- };
2815
2925
  idempotencyKey?: string | undefined;
2816
2926
  version?: string | undefined;
2817
2927
  startedAt?: Date | undefined;
@@ -2832,23 +2942,27 @@ declare const ListRunResponse: z.ZodObject<{
2832
2942
  }>;
2833
2943
  }, "strip", z.ZodTypeAny, {
2834
2944
  data: {
2835
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2945
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2836
2946
  id: string;
2947
+ tags: string[];
2837
2948
  isTest: boolean;
2838
2949
  createdAt: Date;
2950
+ durationMs: number;
2951
+ costInCents: number;
2952
+ baseCostInCents: number;
2839
2953
  updatedAt: Date;
2840
2954
  taskIdentifier: string;
2955
+ env: {
2956
+ id: string;
2957
+ name: string;
2958
+ user?: string | undefined;
2959
+ };
2841
2960
  isQueued: boolean;
2842
2961
  isExecuting: boolean;
2843
2962
  isCompleted: boolean;
2844
2963
  isSuccess: boolean;
2845
2964
  isFailed: boolean;
2846
2965
  isCancelled: boolean;
2847
- env: {
2848
- id: string;
2849
- name: string;
2850
- user?: string | undefined;
2851
- };
2852
2966
  idempotencyKey?: string | undefined;
2853
2967
  version?: string | undefined;
2854
2968
  startedAt?: Date | undefined;
@@ -2863,23 +2977,27 @@ declare const ListRunResponse: z.ZodObject<{
2863
2977
  };
2864
2978
  }, {
2865
2979
  data: {
2866
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2980
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2867
2981
  id: string;
2982
+ tags: string[];
2868
2983
  isTest: boolean;
2869
2984
  createdAt: Date;
2985
+ durationMs: number;
2986
+ costInCents: number;
2987
+ baseCostInCents: number;
2870
2988
  updatedAt: Date;
2871
2989
  taskIdentifier: string;
2990
+ env: {
2991
+ id: string;
2992
+ name: string;
2993
+ user?: string | undefined;
2994
+ };
2872
2995
  isQueued: boolean;
2873
2996
  isExecuting: boolean;
2874
2997
  isCompleted: boolean;
2875
2998
  isSuccess: boolean;
2876
2999
  isFailed: boolean;
2877
3000
  isCancelled: boolean;
2878
- env: {
2879
- id: string;
2880
- name: string;
2881
- user?: string | undefined;
2882
- };
2883
3001
  idempotencyKey?: string | undefined;
2884
3002
  version?: string | undefined;
2885
3003
  startedAt?: Date | undefined;
@@ -3184,6 +3302,16 @@ declare const TaskResource: z.ZodObject<{
3184
3302
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3185
3303
  }>>;
3186
3304
  triggerSource: z.ZodOptional<z.ZodString>;
3305
+ schedule: z.ZodOptional<z.ZodObject<{
3306
+ cron: z.ZodString;
3307
+ timezone: z.ZodString;
3308
+ }, "strip", z.ZodTypeAny, {
3309
+ cron: string;
3310
+ timezone: string;
3311
+ }, {
3312
+ cron: string;
3313
+ timezone: string;
3314
+ }>>;
3187
3315
  }, "strip", z.ZodTypeAny, {
3188
3316
  id: string;
3189
3317
  filePath: string;
@@ -3238,6 +3366,10 @@ declare const TaskResource: z.ZodObject<{
3238
3366
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3239
3367
  } | undefined;
3240
3368
  triggerSource?: string | undefined;
3369
+ schedule?: {
3370
+ cron: string;
3371
+ timezone: string;
3372
+ } | undefined;
3241
3373
  }, {
3242
3374
  id: string;
3243
3375
  filePath: string;
@@ -3292,6 +3424,10 @@ declare const TaskResource: z.ZodObject<{
3292
3424
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3293
3425
  } | undefined;
3294
3426
  triggerSource?: string | undefined;
3427
+ schedule?: {
3428
+ cron: string;
3429
+ timezone: string;
3430
+ } | undefined;
3295
3431
  }>;
3296
3432
  type TaskResource = z.infer<typeof TaskResource>;
3297
3433
  declare const BackgroundWorkerMetadata: z.ZodObject<{
@@ -3520,6 +3656,16 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3520
3656
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3521
3657
  }>>;
3522
3658
  triggerSource: z.ZodOptional<z.ZodString>;
3659
+ schedule: z.ZodOptional<z.ZodObject<{
3660
+ cron: z.ZodString;
3661
+ timezone: z.ZodString;
3662
+ }, "strip", z.ZodTypeAny, {
3663
+ cron: string;
3664
+ timezone: string;
3665
+ }, {
3666
+ cron: string;
3667
+ timezone: string;
3668
+ }>>;
3523
3669
  }, "strip", z.ZodTypeAny, {
3524
3670
  id: string;
3525
3671
  filePath: string;
@@ -3574,6 +3720,10 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3574
3720
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3575
3721
  } | undefined;
3576
3722
  triggerSource?: string | undefined;
3723
+ schedule?: {
3724
+ cron: string;
3725
+ timezone: string;
3726
+ } | undefined;
3577
3727
  }, {
3578
3728
  id: string;
3579
3729
  filePath: string;
@@ -3628,9 +3778,12 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3628
3778
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3629
3779
  } | undefined;
3630
3780
  triggerSource?: string | undefined;
3781
+ schedule?: {
3782
+ cron: string;
3783
+ timezone: string;
3784
+ } | undefined;
3631
3785
  }>, "many">;
3632
3786
  }, "strip", z.ZodTypeAny, {
3633
- packageVersion: string;
3634
3787
  contentHash: string;
3635
3788
  tasks: {
3636
3789
  id: string;
@@ -3686,10 +3839,14 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3686
3839
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3687
3840
  } | undefined;
3688
3841
  triggerSource?: string | undefined;
3842
+ schedule?: {
3843
+ cron: string;
3844
+ timezone: string;
3845
+ } | undefined;
3689
3846
  }[];
3847
+ packageVersion: string;
3690
3848
  cliPackageVersion?: string | undefined;
3691
3849
  }, {
3692
- packageVersion: string;
3693
3850
  contentHash: string;
3694
3851
  tasks: {
3695
3852
  id: string;
@@ -3745,7 +3902,12 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3745
3902
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
3746
3903
  } | undefined;
3747
3904
  triggerSource?: string | undefined;
3905
+ schedule?: {
3906
+ cron: string;
3907
+ timezone: string;
3908
+ } | undefined;
3748
3909
  }[];
3910
+ packageVersion: string;
3749
3911
  cliPackageVersion?: string | undefined;
3750
3912
  }>;
3751
3913
  type BackgroundWorkerMetadata = z.infer<typeof BackgroundWorkerMetadata>;
@@ -4389,7 +4551,6 @@ declare const ExceptionSpanEvent: z.ZodObject<{
4389
4551
  }>;
4390
4552
  }, "strip", z.ZodTypeAny, {
4391
4553
  name: "exception";
4392
- time: Date;
4393
4554
  properties: {
4394
4555
  exception: {
4395
4556
  type?: string | undefined;
@@ -4397,9 +4558,9 @@ declare const ExceptionSpanEvent: z.ZodObject<{
4397
4558
  stacktrace?: string | undefined;
4398
4559
  };
4399
4560
  };
4561
+ time: Date;
4400
4562
  }, {
4401
4563
  name: "exception";
4402
- time: Date;
4403
4564
  properties: {
4404
4565
  exception: {
4405
4566
  type?: string | undefined;
@@ -4407,6 +4568,7 @@ declare const ExceptionSpanEvent: z.ZodObject<{
4407
4568
  stacktrace?: string | undefined;
4408
4569
  };
4409
4570
  };
4571
+ time: Date;
4410
4572
  }>;
4411
4573
  type ExceptionSpanEvent = z.infer<typeof ExceptionSpanEvent>;
4412
4574
  declare const CancellationSpanEvent: z.ZodObject<{
@@ -4421,16 +4583,16 @@ declare const CancellationSpanEvent: z.ZodObject<{
4421
4583
  }>;
4422
4584
  }, "strip", z.ZodTypeAny, {
4423
4585
  name: "cancellation";
4424
- time: Date;
4425
4586
  properties: {
4426
4587
  reason: string;
4427
4588
  };
4589
+ time: Date;
4428
4590
  }, {
4429
4591
  name: "cancellation";
4430
- time: Date;
4431
4592
  properties: {
4432
4593
  reason: string;
4433
4594
  };
4595
+ time: Date;
4434
4596
  }>;
4435
4597
  type CancellationSpanEvent = z.infer<typeof CancellationSpanEvent>;
4436
4598
  declare const OtherSpanEvent: z.ZodObject<{
@@ -4439,12 +4601,12 @@ declare const OtherSpanEvent: z.ZodObject<{
4439
4601
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4440
4602
  }, "strip", z.ZodTypeAny, {
4441
4603
  name: string;
4442
- time: Date;
4443
4604
  properties: Record<string, unknown>;
4605
+ time: Date;
4444
4606
  }, {
4445
4607
  name: string;
4446
- time: Date;
4447
4608
  properties: Record<string, unknown>;
4609
+ time: Date;
4448
4610
  }>;
4449
4611
  type OtherSpanEvent = z.infer<typeof OtherSpanEvent>;
4450
4612
  declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
@@ -4479,7 +4641,6 @@ declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
4479
4641
  }>;
4480
4642
  }, "strip", z.ZodTypeAny, {
4481
4643
  name: "exception";
4482
- time: Date;
4483
4644
  properties: {
4484
4645
  exception: {
4485
4646
  type?: string | undefined;
@@ -4487,9 +4648,9 @@ declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
4487
4648
  stacktrace?: string | undefined;
4488
4649
  };
4489
4650
  };
4651
+ time: Date;
4490
4652
  }, {
4491
4653
  name: "exception";
4492
- time: Date;
4493
4654
  properties: {
4494
4655
  exception: {
4495
4656
  type?: string | undefined;
@@ -4497,6 +4658,7 @@ declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
4497
4658
  stacktrace?: string | undefined;
4498
4659
  };
4499
4660
  };
4661
+ time: Date;
4500
4662
  }>, z.ZodObject<{
4501
4663
  name: z.ZodLiteral<"cancellation">;
4502
4664
  time: z.ZodDate;
@@ -4509,28 +4671,28 @@ declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
4509
4671
  }>;
4510
4672
  }, "strip", z.ZodTypeAny, {
4511
4673
  name: "cancellation";
4512
- time: Date;
4513
4674
  properties: {
4514
4675
  reason: string;
4515
4676
  };
4677
+ time: Date;
4516
4678
  }, {
4517
4679
  name: "cancellation";
4518
- time: Date;
4519
4680
  properties: {
4520
4681
  reason: string;
4521
4682
  };
4683
+ time: Date;
4522
4684
  }>, z.ZodObject<{
4523
4685
  name: z.ZodString;
4524
4686
  time: z.ZodDate;
4525
4687
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4526
4688
  }, "strip", z.ZodTypeAny, {
4527
4689
  name: string;
4528
- time: Date;
4529
4690
  properties: Record<string, unknown>;
4691
+ time: Date;
4530
4692
  }, {
4531
4693
  name: string;
4532
- time: Date;
4533
4694
  properties: Record<string, unknown>;
4695
+ time: Date;
4534
4696
  }>]>;
4535
4697
  type SpanEvent = z.infer<typeof SpanEvent>;
4536
4698
  declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -4565,7 +4727,6 @@ declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4565
4727
  }>;
4566
4728
  }, "strip", z.ZodTypeAny, {
4567
4729
  name: "exception";
4568
- time: Date;
4569
4730
  properties: {
4570
4731
  exception: {
4571
4732
  type?: string | undefined;
@@ -4573,9 +4734,9 @@ declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4573
4734
  stacktrace?: string | undefined;
4574
4735
  };
4575
4736
  };
4737
+ time: Date;
4576
4738
  }, {
4577
4739
  name: "exception";
4578
- time: Date;
4579
4740
  properties: {
4580
4741
  exception: {
4581
4742
  type?: string | undefined;
@@ -4583,6 +4744,7 @@ declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4583
4744
  stacktrace?: string | undefined;
4584
4745
  };
4585
4746
  };
4747
+ time: Date;
4586
4748
  }>, z.ZodObject<{
4587
4749
  name: z.ZodLiteral<"cancellation">;
4588
4750
  time: z.ZodDate;
@@ -4595,28 +4757,28 @@ declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4595
4757
  }>;
4596
4758
  }, "strip", z.ZodTypeAny, {
4597
4759
  name: "cancellation";
4598
- time: Date;
4599
4760
  properties: {
4600
4761
  reason: string;
4601
4762
  };
4763
+ time: Date;
4602
4764
  }, {
4603
4765
  name: "cancellation";
4604
- time: Date;
4605
4766
  properties: {
4606
4767
  reason: string;
4607
4768
  };
4769
+ time: Date;
4608
4770
  }>, z.ZodObject<{
4609
4771
  name: z.ZodString;
4610
4772
  time: z.ZodDate;
4611
4773
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4612
4774
  }, "strip", z.ZodTypeAny, {
4613
4775
  name: string;
4614
- time: Date;
4615
4776
  properties: Record<string, unknown>;
4777
+ time: Date;
4616
4778
  }, {
4617
4779
  name: string;
4618
- time: Date;
4619
4780
  properties: Record<string, unknown>;
4781
+ time: Date;
4620
4782
  }>]>, "many">;
4621
4783
  type SpanEvents = z.infer<typeof SpanEvents>;
4622
4784
  declare function isExceptionSpanEvent(event: SpanEvent): event is ExceptionSpanEvent;
@@ -4642,4 +4804,4 @@ declare const SpanMessagingEvent: z.ZodObject<{
4642
4804
  }>;
4643
4805
  type SpanMessagingEvent = z.infer<typeof SpanMessagingEvent>;
4644
4806
 
4645
- export { Accessory, AttemptStatus, BackgroundWorkerMetadata, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, EnvironmentVariable, EnvironmentVariableResponseBody, EnvironmentVariableValue, EnvironmentVariables, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, type GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, type GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, ImageDetailsMetadata, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, ListRunResponse, ListRunResponseItem, ListScheduleOptions, ListSchedulesResult, OtherSpanEvent, PRIMARY_VARIANT, ReplayRunResponse, RescheduleRunRequestBody, RetrieveRunResponse, RunEnvironmentDetails, RunScheduleDetails, RunStatus, ScheduleGenerator, ScheduleObject, ScheduledTaskPayload, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskResource, TimezonesResult, TriggerTaskRequestBody, TriggerTaskResponse, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, Variant, type WhoAmIResponse, WhoAmIResponseSchema, isCancellationSpanEvent, isExceptionSpanEvent, stringPatternMatchers };
4807
+ export { Accessory, AddTagsRequestBody, AttemptStatus, BackgroundWorkerMetadata, BatchTriggerTaskRequestBody, BatchTriggerTaskResponse, CanceledRunResponse, CancellationSpanEvent, type CreateAuthorizationCodeResponse, CreateAuthorizationCodeResponseSchema, CreateBackgroundWorkerRequestBody, CreateBackgroundWorkerResponse, CreateEnvironmentVariableRequestBody, CreateScheduleOptions, CreateUploadPayloadUrlResponseBody, DeletedScheduleObject, DeploymentErrorData, EnvironmentVariable, EnvironmentVariableResponseBody, EnvironmentVariableValue, EnvironmentVariables, EventFilter, ExceptionEventProperties, ExceptionSpanEvent, ExternalBuildData, FetchRetryBackoffStrategy, FetchRetryByStatusOptions, FetchRetryHeadersStrategy, FetchRetryOptions, FetchRetryStrategy, FetchTimeoutOptions, GetBatchResponseBody, GetDeploymentResponseBody, GetEnvironmentVariablesResponseBody, type GetPersonalAccessTokenRequest, GetPersonalAccessTokenRequestSchema, type GetPersonalAccessTokenResponse, GetPersonalAccessTokenResponseSchema, GetProjectEnvResponse, GetProjectResponseBody, GetProjectsResponseBody, ImageDetailsMetadata, ImportEnvironmentVariablesRequestBody, InitializeDeploymentRequestBody, InitializeDeploymentResponseBody, ListRunResponse, ListRunResponseItem, ListScheduleOptions, ListSchedulesResult, OtherSpanEvent, PRIMARY_VARIANT, ReplayRunResponse, RescheduleRunRequestBody, RetrieveRunResponse, RunEnvironmentDetails, RunScheduleDetails, RunStatus, RunTags, ScheduleGenerator, ScheduleObject, ScheduleType, ScheduledTaskPayload, SpanEvent, SpanEvents, SpanMessagingEvent, StartDeploymentIndexingRequestBody, StartDeploymentIndexingResponseBody, TaskEventStyle, TaskResource, TimezonesResult, TriggerTaskRequestBody, TriggerTaskResponse, UpdateEnvironmentVariableRequestBody, UpdateScheduleOptions, Variant, type WhoAmIResponse, WhoAmIResponseSchema, isCancellationSpanEvent, isExceptionSpanEvent, stringPatternMatchers };