@trigger.dev/core 3.0.0-beta.48 → 3.0.0-beta.49

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-U7_q4XsM.d.mts} +12 -34
  4. package/dist/{catalog-N-X0Te3W.d.mts → catalog-bSnBE19I.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/replacements.d.mts +22 -0
  26. package/dist/replacements.d.ts +22 -0
  27. package/dist/replacements.js +33 -0
  28. package/dist/replacements.js.map +1 -0
  29. package/dist/replacements.mjs +28 -0
  30. package/dist/replacements.mjs.map +1 -0
  31. package/dist/requestFilter-HNZQEpQb.d.ts +180 -0
  32. package/dist/requestFilter-b5W2_1oP.d.mts +180 -0
  33. package/dist/requestFilterMatches.d.mts +13 -0
  34. package/dist/requestFilterMatches.d.ts +13 -0
  35. package/dist/requestFilterMatches.js +238 -0
  36. package/dist/requestFilterMatches.js.map +1 -0
  37. package/dist/requestFilterMatches.mjs +235 -0
  38. package/dist/requestFilterMatches.mjs.map +1 -0
  39. package/dist/retry.d.mts +10 -0
  40. package/dist/retry.d.ts +10 -0
  41. package/dist/retry.js +100 -0
  42. package/dist/retry.js.map +1 -0
  43. package/dist/retry.mjs +97 -0
  44. package/dist/retry.mjs.map +1 -0
  45. package/dist/schemas/index.d.mts +2611 -0
  46. package/dist/schemas/index.d.ts +2611 -0
  47. package/dist/schemas/index.js +1630 -0
  48. package/dist/schemas/index.js.map +1 -0
  49. package/dist/schemas/index.mjs +1463 -0
  50. package/dist/schemas/index.mjs.map +1 -0
  51. package/dist/{schemas-Zy7mGFgD.d.mts → schemas-WHkFakb3.d.mts} +4 -1
  52. package/dist/{schemas-Zy7mGFgD.d.ts → schemas-WHkFakb3.d.ts} +4 -1
  53. package/dist/taskLogger-CzADe4je.d.ts +33 -0
  54. package/dist/taskLogger-r_AFTX45.d.mts +33 -0
  55. package/dist/types.d.mts +11 -0
  56. package/dist/types.d.ts +11 -0
  57. package/dist/types.js +4 -0
  58. package/dist/types.js.map +1 -0
  59. package/dist/types.mjs +3 -0
  60. package/dist/types.mjs.map +1 -0
  61. package/dist/utils.d.mts +7 -0
  62. package/dist/utils.d.ts +7 -0
  63. package/dist/utils.js +33 -0
  64. package/dist/utils.js.map +1 -0
  65. package/dist/utils.mjs +30 -0
  66. package/dist/utils.mjs.map +1 -0
  67. package/dist/v3/dev/index.d.mts +2 -2
  68. package/dist/v3/dev/index.d.ts +2 -2
  69. package/dist/v3/errors.d.mts +39 -0
  70. package/dist/v3/errors.d.ts +39 -0
  71. package/dist/v3/errors.js +204 -0
  72. package/dist/v3/errors.js.map +1 -0
  73. package/dist/v3/errors.mjs +195 -0
  74. package/dist/v3/errors.mjs.map +1 -0
  75. package/dist/v3/index.d.mts +46 -211
  76. package/dist/v3/index.d.ts +46 -211
  77. package/dist/v3/index.js +3 -2
  78. package/dist/v3/index.js.map +1 -1
  79. package/dist/v3/index.mjs +3 -2
  80. package/dist/v3/index.mjs.map +1 -1
  81. package/dist/v3/logger-api.d.mts +24 -0
  82. package/dist/v3/logger-api.d.ts +24 -0
  83. package/dist/v3/logger-api.js +118 -0
  84. package/dist/v3/logger-api.js.map +1 -0
  85. package/dist/v3/logger-api.mjs +116 -0
  86. package/dist/v3/logger-api.mjs.map +1 -0
  87. package/dist/v3/otel/index.js +1 -1
  88. package/dist/v3/otel/index.js.map +1 -1
  89. package/dist/v3/otel/index.mjs +1 -1
  90. package/dist/v3/otel/index.mjs.map +1 -1
  91. package/dist/v3/prod/index.d.mts +3 -3
  92. package/dist/v3/prod/index.d.ts +3 -3
  93. package/dist/v3/schemas/index.d.mts +110 -110
  94. package/dist/v3/schemas/index.d.ts +110 -110
  95. package/dist/v3/schemas/index.js +2 -1
  96. package/dist/v3/schemas/index.js.map +1 -1
  97. package/dist/v3/schemas/index.mjs +2 -1
  98. package/dist/v3/schemas/index.mjs.map +1 -1
  99. package/dist/v3/semanticInternalAttributes.d.mts +56 -0
  100. package/dist/v3/semanticInternalAttributes.d.ts +56 -0
  101. package/dist/v3/semanticInternalAttributes.js +61 -0
  102. package/dist/v3/semanticInternalAttributes.js.map +1 -0
  103. package/dist/v3/semanticInternalAttributes.mjs +59 -0
  104. package/dist/v3/semanticInternalAttributes.mjs.map +1 -0
  105. package/dist/v3/utils/flattenAttributes.d.mts +8 -0
  106. package/dist/v3/utils/flattenAttributes.d.ts +8 -0
  107. package/dist/v3/utils/flattenAttributes.js +131 -0
  108. package/dist/v3/utils/flattenAttributes.js.map +1 -0
  109. package/dist/v3/utils/flattenAttributes.mjs +126 -0
  110. package/dist/v3/utils/flattenAttributes.mjs.map +1 -0
  111. package/dist/v3/utils/ioSerialization.d.mts +21 -0
  112. package/dist/v3/utils/ioSerialization.d.ts +21 -0
  113. package/dist/v3/utils/ioSerialization.js +2348 -0
  114. package/dist/v3/utils/ioSerialization.js.map +1 -0
  115. package/dist/v3/utils/ioSerialization.mjs +2339 -0
  116. package/dist/v3/utils/ioSerialization.mjs.map +1 -0
  117. package/dist/v3/utils/omit.d.mts +3 -0
  118. package/dist/v3/utils/omit.d.ts +3 -0
  119. package/dist/v3/utils/omit.js +20 -0
  120. package/dist/v3/utils/omit.js.map +1 -0
  121. package/dist/v3/utils/omit.mjs +18 -0
  122. package/dist/v3/utils/omit.mjs.map +1 -0
  123. package/dist/v3/utils/retries.d.mts +46 -0
  124. package/dist/v3/utils/retries.d.ts +46 -0
  125. package/dist/v3/utils/retries.js +118 -0
  126. package/dist/v3/utils/retries.js.map +1 -0
  127. package/dist/v3/utils/retries.mjs +113 -0
  128. package/dist/v3/utils/retries.mjs.map +1 -0
  129. package/dist/v3/workers/index.d.mts +7 -6
  130. package/dist/v3/workers/index.d.ts +7 -6
  131. package/dist/v3/workers/index.js +3 -2
  132. package/dist/v3/workers/index.js.map +1 -1
  133. package/dist/v3/workers/index.mjs +3 -2
  134. package/dist/v3/workers/index.mjs.map +1 -1
  135. package/dist/v3/zodIpc.js.map +1 -1
  136. package/dist/v3/zodIpc.mjs.map +1 -1
  137. package/dist/v3/zodMessageHandler.d.mts +16 -3
  138. package/dist/v3/zodMessageHandler.d.ts +16 -3
  139. package/dist/v3/zodMessageHandler.js +59 -13
  140. package/dist/v3/zodMessageHandler.js.map +1 -1
  141. package/dist/v3/zodMessageHandler.mjs +59 -13
  142. package/dist/v3/zodMessageHandler.mjs.map +1 -1
  143. package/dist/v3/zodNamespace.js.map +1 -1
  144. package/dist/v3/zodNamespace.mjs.map +1 -1
  145. package/dist/v3/zodfetch.d.mts +1 -1
  146. package/dist/v3/zodfetch.d.ts +1 -1
  147. package/dist/versions.d.mts +11 -0
  148. package/dist/versions.d.ts +11 -0
  149. package/dist/versions.js +31 -0
  150. package/dist/versions.js.map +1 -0
  151. package/dist/versions.mjs +27 -0
  152. package/dist/versions.mjs.map +1 -0
  153. package/package.json +137 -17
  154. package/dist/{messages-Sggr4tid.d.mts → messages-I-h-zZN9.d.mts} +32 -32
  155. package/dist/{messages-Sggr4tid.d.ts → messages-I-h-zZN9.d.ts} +32 -32
@@ -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.js';
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.js';
4
- import { P as Prettify } from '../../schemas-Zy7mGFgD.js';
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.js';
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.js';
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-I-h-zZN9.js';
4
+ import { P as Prettify } from '../../schemas-WHkFakb3.js';
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, a as TaskFileMetadata, T as TaskMetadata, b as TaskMetadataWithFilePath, j as TaskRunExecutionLazyAttemptPayload, c as TaskRunExecutionPayload, W as WaitReason } from '../../schemas-WHkFakb3.js';
6
6
 
7
7
  declare const CreateAuthorizationCodeResponseSchema: z.ZodObject<{
8
8
  url: z.ZodString;
@@ -509,7 +509,6 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
509
509
  triggerSource?: string | undefined;
510
510
  }>, "many">;
511
511
  }, "strip", z.ZodTypeAny, {
512
- packageVersion: string;
513
512
  contentHash: string;
514
513
  tasks: {
515
514
  id: string;
@@ -566,9 +565,9 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
566
565
  } | undefined;
567
566
  triggerSource?: string | undefined;
568
567
  }[];
568
+ packageVersion: string;
569
569
  cliPackageVersion?: string | undefined;
570
570
  }, {
571
- packageVersion: string;
572
571
  contentHash: string;
573
572
  tasks: {
574
573
  id: string;
@@ -625,13 +624,12 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
625
624
  } | undefined;
626
625
  triggerSource?: string | undefined;
627
626
  }[];
627
+ packageVersion: string;
628
628
  cliPackageVersion?: string | undefined;
629
629
  }>;
630
630
  supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
631
631
  }, "strip", z.ZodTypeAny, {
632
- localOnly: boolean;
633
632
  metadata: {
634
- packageVersion: string;
635
633
  contentHash: string;
636
634
  tasks: {
637
635
  id: string;
@@ -688,13 +686,13 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
688
686
  } | undefined;
689
687
  triggerSource?: string | undefined;
690
688
  }[];
689
+ packageVersion: string;
691
690
  cliPackageVersion?: string | undefined;
692
691
  };
692
+ localOnly: boolean;
693
693
  supportsLazyAttempts?: boolean | undefined;
694
694
  }, {
695
- localOnly: boolean;
696
695
  metadata: {
697
- packageVersion: string;
698
696
  contentHash: string;
699
697
  tasks: {
700
698
  id: string;
@@ -751,8 +749,10 @@ declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
751
749
  } | undefined;
752
750
  triggerSource?: string | undefined;
753
751
  }[];
752
+ packageVersion: string;
754
753
  cliPackageVersion?: string | undefined;
755
754
  };
755
+ localOnly: boolean;
756
756
  supportsLazyAttempts?: boolean | undefined;
757
757
  }>;
758
758
  type CreateBackgroundWorkerRequestBody = z.infer<typeof CreateBackgroundWorkerRequestBody>;
@@ -1699,11 +1699,11 @@ declare const BatchTriggerTaskResponse: z.ZodObject<{
1699
1699
  batchId: z.ZodString;
1700
1700
  runs: z.ZodArray<z.ZodString, "many">;
1701
1701
  }, "strip", z.ZodTypeAny, {
1702
- batchId: string;
1703
1702
  runs: string[];
1704
- }, {
1705
1703
  batchId: string;
1704
+ }, {
1706
1705
  runs: string[];
1706
+ batchId: string;
1707
1707
  }>;
1708
1708
  type BatchTriggerTaskResponse = z.infer<typeof BatchTriggerTaskResponse>;
1709
1709
  declare const GetBatchResponseBody: z.ZodObject<{
@@ -1713,25 +1713,25 @@ declare const GetBatchResponseBody: z.ZodObject<{
1713
1713
  taskRunId: z.ZodString;
1714
1714
  status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
1715
1715
  }, "strip", z.ZodTypeAny, {
1716
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1716
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1717
1717
  id: string;
1718
1718
  taskRunId: string;
1719
1719
  }, {
1720
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1720
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1721
1721
  id: string;
1722
1722
  taskRunId: string;
1723
1723
  }>, "many">;
1724
1724
  }, "strip", z.ZodTypeAny, {
1725
1725
  id: string;
1726
1726
  items: {
1727
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1727
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1728
1728
  id: string;
1729
1729
  taskRunId: string;
1730
1730
  }[];
1731
1731
  }, {
1732
1732
  id: string;
1733
1733
  items: {
1734
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1734
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1735
1735
  id: string;
1736
1736
  taskRunId: string;
1737
1737
  }[];
@@ -1924,7 +1924,7 @@ declare const GetDeploymentResponseBody: z.ZodObject<{
1924
1924
  }[];
1925
1925
  }>>;
1926
1926
  }, "strip", z.ZodTypeAny, {
1927
- status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
1927
+ status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1928
1928
  id: string;
1929
1929
  version: string;
1930
1930
  contentHash: string;
@@ -1947,7 +1947,7 @@ declare const GetDeploymentResponseBody: z.ZodObject<{
1947
1947
  }[];
1948
1948
  } | undefined;
1949
1949
  }, {
1950
- status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
1950
+ status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1951
1951
  id: string;
1952
1952
  version: string;
1953
1953
  contentHash: string;
@@ -2024,15 +2024,15 @@ declare const ScheduledTaskPayload: z.ZodObject<{
2024
2024
  upcoming: z.ZodArray<z.ZodDate, "many">;
2025
2025
  }, "strip", z.ZodTypeAny, {
2026
2026
  timestamp: Date;
2027
- scheduleId: string;
2028
2027
  timezone: string;
2028
+ scheduleId: string;
2029
2029
  upcoming: Date[];
2030
2030
  lastTimestamp?: Date | undefined;
2031
2031
  externalId?: string | undefined;
2032
2032
  }, {
2033
2033
  timestamp: Date;
2034
- scheduleId: string;
2035
2034
  timezone: string;
2035
+ scheduleId: string;
2036
2036
  upcoming: Date[];
2037
2037
  lastTimestamp?: Date | undefined;
2038
2038
  externalId?: string | undefined;
@@ -2150,12 +2150,12 @@ declare const ScheduleGenerator: z.ZodObject<{
2150
2150
  description: z.ZodString;
2151
2151
  }, "strip", z.ZodTypeAny, {
2152
2152
  type: "CRON";
2153
- expression: string;
2154
2153
  description: string;
2154
+ expression: string;
2155
2155
  }, {
2156
2156
  type: "CRON";
2157
- expression: string;
2158
2157
  description: string;
2158
+ expression: string;
2159
2159
  }>;
2160
2160
  type ScheduleGenerator = z.infer<typeof ScheduleGenerator>;
2161
2161
  declare const ScheduleObject: z.ZodObject<{
@@ -2170,12 +2170,12 @@ declare const ScheduleObject: z.ZodObject<{
2170
2170
  description: z.ZodString;
2171
2171
  }, "strip", z.ZodTypeAny, {
2172
2172
  type: "CRON";
2173
- expression: string;
2174
2173
  description: string;
2174
+ expression: string;
2175
2175
  }, {
2176
2176
  type: "CRON";
2177
- expression: string;
2178
2177
  description: string;
2178
+ expression: string;
2179
2179
  }>;
2180
2180
  timezone: z.ZodString;
2181
2181
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2195,13 +2195,13 @@ declare const ScheduleObject: z.ZodObject<{
2195
2195
  }, "strip", z.ZodTypeAny, {
2196
2196
  id: string;
2197
2197
  task: string;
2198
- timezone: string;
2199
2198
  active: boolean;
2200
2199
  generator: {
2201
2200
  type: "CRON";
2202
- expression: string;
2203
2201
  description: string;
2202
+ expression: string;
2204
2203
  };
2204
+ timezone: string;
2205
2205
  environments: {
2206
2206
  type: string;
2207
2207
  id: string;
@@ -2213,13 +2213,13 @@ declare const ScheduleObject: z.ZodObject<{
2213
2213
  }, {
2214
2214
  id: string;
2215
2215
  task: string;
2216
- timezone: string;
2217
2216
  active: boolean;
2218
2217
  generator: {
2219
2218
  type: "CRON";
2220
- expression: string;
2221
2219
  description: string;
2220
+ expression: string;
2222
2221
  };
2222
+ timezone: string;
2223
2223
  environments: {
2224
2224
  type: string;
2225
2225
  id: string;
@@ -2251,12 +2251,12 @@ declare const ListSchedulesResult: z.ZodObject<{
2251
2251
  description: z.ZodString;
2252
2252
  }, "strip", z.ZodTypeAny, {
2253
2253
  type: "CRON";
2254
- expression: string;
2255
2254
  description: string;
2255
+ expression: string;
2256
2256
  }, {
2257
2257
  type: "CRON";
2258
- expression: string;
2259
2258
  description: string;
2259
+ expression: string;
2260
2260
  }>;
2261
2261
  timezone: z.ZodString;
2262
2262
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2276,13 +2276,13 @@ declare const ListSchedulesResult: z.ZodObject<{
2276
2276
  }, "strip", z.ZodTypeAny, {
2277
2277
  id: string;
2278
2278
  task: string;
2279
- timezone: string;
2280
2279
  active: boolean;
2281
2280
  generator: {
2282
2281
  type: "CRON";
2283
- expression: string;
2284
2282
  description: string;
2283
+ expression: string;
2285
2284
  };
2285
+ timezone: string;
2286
2286
  environments: {
2287
2287
  type: string;
2288
2288
  id: string;
@@ -2294,13 +2294,13 @@ declare const ListSchedulesResult: z.ZodObject<{
2294
2294
  }, {
2295
2295
  id: string;
2296
2296
  task: string;
2297
- timezone: string;
2298
2297
  active: boolean;
2299
2298
  generator: {
2300
2299
  type: "CRON";
2301
- expression: string;
2302
2300
  description: string;
2301
+ expression: string;
2303
2302
  };
2303
+ timezone: string;
2304
2304
  environments: {
2305
2305
  type: string;
2306
2306
  id: string;
@@ -2327,13 +2327,13 @@ declare const ListSchedulesResult: z.ZodObject<{
2327
2327
  data: {
2328
2328
  id: string;
2329
2329
  task: string;
2330
- timezone: string;
2331
2330
  active: boolean;
2332
2331
  generator: {
2333
2332
  type: "CRON";
2334
- expression: string;
2335
2333
  description: string;
2334
+ expression: string;
2336
2335
  };
2336
+ timezone: string;
2337
2337
  environments: {
2338
2338
  type: string;
2339
2339
  id: string;
@@ -2352,13 +2352,13 @@ declare const ListSchedulesResult: z.ZodObject<{
2352
2352
  data: {
2353
2353
  id: string;
2354
2354
  task: string;
2355
- timezone: string;
2356
2355
  active: boolean;
2357
2356
  generator: {
2358
2357
  type: "CRON";
2359
- expression: string;
2360
2358
  description: string;
2359
+ expression: string;
2361
2360
  };
2361
+ timezone: string;
2362
2362
  environments: {
2363
2363
  type: string;
2364
2364
  id: string;
@@ -2422,19 +2422,19 @@ declare const RunScheduleDetails: z.ZodObject<{
2422
2422
  description: z.ZodString;
2423
2423
  }, "strip", z.ZodTypeAny, {
2424
2424
  type: "CRON";
2425
- expression: string;
2426
2425
  description: string;
2426
+ expression: string;
2427
2427
  }, {
2428
2428
  type: "CRON";
2429
- expression: string;
2430
2429
  description: string;
2430
+ expression: string;
2431
2431
  }>;
2432
2432
  }, "strip", z.ZodTypeAny, {
2433
2433
  id: string;
2434
2434
  generator: {
2435
2435
  type: "CRON";
2436
- expression: string;
2437
2436
  description: string;
2437
+ expression: string;
2438
2438
  };
2439
2439
  externalId?: string | undefined;
2440
2440
  deduplicationKey?: string | undefined;
@@ -2442,8 +2442,8 @@ declare const RunScheduleDetails: z.ZodObject<{
2442
2442
  id: string;
2443
2443
  generator: {
2444
2444
  type: "CRON";
2445
- expression: string;
2446
2445
  description: string;
2446
+ expression: string;
2447
2447
  };
2448
2448
  externalId?: string | undefined;
2449
2449
  deduplicationKey?: string | undefined;
@@ -2464,19 +2464,19 @@ declare const RetrieveRunResponse: z.ZodObject<{
2464
2464
  description: z.ZodString;
2465
2465
  }, "strip", z.ZodTypeAny, {
2466
2466
  type: "CRON";
2467
- expression: string;
2468
2467
  description: string;
2468
+ expression: string;
2469
2469
  }, {
2470
2470
  type: "CRON";
2471
- expression: string;
2472
2471
  description: string;
2472
+ expression: string;
2473
2473
  }>;
2474
2474
  }, "strip", z.ZodTypeAny, {
2475
2475
  id: string;
2476
2476
  generator: {
2477
2477
  type: "CRON";
2478
- expression: string;
2479
2478
  description: string;
2479
+ expression: string;
2480
2480
  };
2481
2481
  externalId?: string | undefined;
2482
2482
  deduplicationKey?: string | undefined;
@@ -2484,8 +2484,8 @@ declare const RetrieveRunResponse: z.ZodObject<{
2484
2484
  id: string;
2485
2485
  generator: {
2486
2486
  type: "CRON";
2487
- expression: string;
2488
2487
  description: string;
2488
+ expression: string;
2489
2489
  };
2490
2490
  externalId?: string | undefined;
2491
2491
  deduplicationKey?: string | undefined;
@@ -2511,7 +2511,7 @@ declare const RetrieveRunResponse: z.ZodObject<{
2511
2511
  stackTrace?: string | undefined;
2512
2512
  }>>;
2513
2513
  }, "strip", z.ZodTypeAny, {
2514
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2514
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2515
2515
  id: string;
2516
2516
  createdAt: Date;
2517
2517
  updatedAt: Date;
@@ -2523,7 +2523,7 @@ declare const RetrieveRunResponse: z.ZodObject<{
2523
2523
  stackTrace?: string | undefined;
2524
2524
  } | undefined;
2525
2525
  }, {
2526
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2526
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2527
2527
  id: string;
2528
2528
  createdAt: Date;
2529
2529
  updatedAt: Date;
@@ -2555,12 +2555,12 @@ declare const RetrieveRunResponse: z.ZodObject<{
2555
2555
  ttl: z.ZodOptional<z.ZodString>;
2556
2556
  expiredAt: z.ZodOptional<z.ZodDate>;
2557
2557
  }, "strip", z.ZodTypeAny, {
2558
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2558
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2559
2559
  id: string;
2560
2560
  isTest: boolean;
2561
2561
  createdAt: Date;
2562
2562
  attempts: ({
2563
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2563
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2564
2564
  id: string;
2565
2565
  createdAt: Date;
2566
2566
  updatedAt: Date;
@@ -2588,8 +2588,8 @@ declare const RetrieveRunResponse: z.ZodObject<{
2588
2588
  id: string;
2589
2589
  generator: {
2590
2590
  type: "CRON";
2591
- expression: string;
2592
2591
  description: string;
2592
+ expression: string;
2593
2593
  };
2594
2594
  externalId?: string | undefined;
2595
2595
  deduplicationKey?: string | undefined;
@@ -2602,12 +2602,12 @@ declare const RetrieveRunResponse: z.ZodObject<{
2602
2602
  ttl?: string | undefined;
2603
2603
  expiredAt?: Date | undefined;
2604
2604
  }, {
2605
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2605
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2606
2606
  id: string;
2607
2607
  isTest: boolean;
2608
2608
  createdAt: Date;
2609
2609
  attempts: ({
2610
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2610
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2611
2611
  id: string;
2612
2612
  createdAt: Date;
2613
2613
  updatedAt: Date;
@@ -2635,8 +2635,8 @@ declare const RetrieveRunResponse: z.ZodObject<{
2635
2635
  id: string;
2636
2636
  generator: {
2637
2637
  type: "CRON";
2638
- expression: string;
2639
2638
  description: string;
2639
+ expression: string;
2640
2640
  };
2641
2641
  externalId?: string | undefined;
2642
2642
  deduplicationKey?: string | undefined;
@@ -2684,23 +2684,23 @@ declare const ListRunResponseItem: z.ZodObject<{
2684
2684
  ttl: z.ZodOptional<z.ZodString>;
2685
2685
  expiredAt: z.ZodOptional<z.ZodDate>;
2686
2686
  }, "strip", z.ZodTypeAny, {
2687
- 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";
2688
2688
  id: string;
2689
2689
  isTest: boolean;
2690
2690
  createdAt: Date;
2691
2691
  updatedAt: Date;
2692
2692
  taskIdentifier: string;
2693
+ env: {
2694
+ id: string;
2695
+ name: string;
2696
+ user?: string | undefined;
2697
+ };
2693
2698
  isQueued: boolean;
2694
2699
  isExecuting: boolean;
2695
2700
  isCompleted: boolean;
2696
2701
  isSuccess: boolean;
2697
2702
  isFailed: boolean;
2698
2703
  isCancelled: boolean;
2699
- env: {
2700
- id: string;
2701
- name: string;
2702
- user?: string | undefined;
2703
- };
2704
2704
  idempotencyKey?: string | undefined;
2705
2705
  version?: string | undefined;
2706
2706
  startedAt?: Date | undefined;
@@ -2709,23 +2709,23 @@ declare const ListRunResponseItem: z.ZodObject<{
2709
2709
  ttl?: string | undefined;
2710
2710
  expiredAt?: Date | undefined;
2711
2711
  }, {
2712
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2712
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2713
2713
  id: string;
2714
2714
  isTest: boolean;
2715
2715
  createdAt: Date;
2716
2716
  updatedAt: Date;
2717
2717
  taskIdentifier: string;
2718
+ env: {
2719
+ id: string;
2720
+ name: string;
2721
+ user?: string | undefined;
2722
+ };
2718
2723
  isQueued: boolean;
2719
2724
  isExecuting: boolean;
2720
2725
  isCompleted: boolean;
2721
2726
  isSuccess: boolean;
2722
2727
  isFailed: boolean;
2723
2728
  isCancelled: boolean;
2724
- env: {
2725
- id: string;
2726
- name: string;
2727
- user?: string | undefined;
2728
- };
2729
2729
  idempotencyKey?: string | undefined;
2730
2730
  version?: string | undefined;
2731
2731
  startedAt?: Date | undefined;
@@ -2770,23 +2770,23 @@ declare const ListRunResponse: z.ZodObject<{
2770
2770
  ttl: z.ZodOptional<z.ZodString>;
2771
2771
  expiredAt: z.ZodOptional<z.ZodDate>;
2772
2772
  }, "strip", z.ZodTypeAny, {
2773
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2773
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2774
2774
  id: string;
2775
2775
  isTest: boolean;
2776
2776
  createdAt: Date;
2777
2777
  updatedAt: Date;
2778
2778
  taskIdentifier: string;
2779
+ env: {
2780
+ id: string;
2781
+ name: string;
2782
+ user?: string | undefined;
2783
+ };
2779
2784
  isQueued: boolean;
2780
2785
  isExecuting: boolean;
2781
2786
  isCompleted: boolean;
2782
2787
  isSuccess: boolean;
2783
2788
  isFailed: boolean;
2784
2789
  isCancelled: boolean;
2785
- env: {
2786
- id: string;
2787
- name: string;
2788
- user?: string | undefined;
2789
- };
2790
2790
  idempotencyKey?: string | undefined;
2791
2791
  version?: string | undefined;
2792
2792
  startedAt?: Date | undefined;
@@ -2795,23 +2795,23 @@ declare const ListRunResponse: z.ZodObject<{
2795
2795
  ttl?: string | undefined;
2796
2796
  expiredAt?: Date | undefined;
2797
2797
  }, {
2798
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2798
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2799
2799
  id: string;
2800
2800
  isTest: boolean;
2801
2801
  createdAt: Date;
2802
2802
  updatedAt: Date;
2803
2803
  taskIdentifier: string;
2804
+ env: {
2805
+ id: string;
2806
+ name: string;
2807
+ user?: string | undefined;
2808
+ };
2804
2809
  isQueued: boolean;
2805
2810
  isExecuting: boolean;
2806
2811
  isCompleted: boolean;
2807
2812
  isSuccess: boolean;
2808
2813
  isFailed: boolean;
2809
2814
  isCancelled: boolean;
2810
- env: {
2811
- id: string;
2812
- name: string;
2813
- user?: string | undefined;
2814
- };
2815
2815
  idempotencyKey?: string | undefined;
2816
2816
  version?: string | undefined;
2817
2817
  startedAt?: Date | undefined;
@@ -2832,23 +2832,23 @@ declare const ListRunResponse: z.ZodObject<{
2832
2832
  }>;
2833
2833
  }, "strip", z.ZodTypeAny, {
2834
2834
  data: {
2835
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2835
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2836
2836
  id: string;
2837
2837
  isTest: boolean;
2838
2838
  createdAt: Date;
2839
2839
  updatedAt: Date;
2840
2840
  taskIdentifier: string;
2841
+ env: {
2842
+ id: string;
2843
+ name: string;
2844
+ user?: string | undefined;
2845
+ };
2841
2846
  isQueued: boolean;
2842
2847
  isExecuting: boolean;
2843
2848
  isCompleted: boolean;
2844
2849
  isSuccess: boolean;
2845
2850
  isFailed: boolean;
2846
2851
  isCancelled: boolean;
2847
- env: {
2848
- id: string;
2849
- name: string;
2850
- user?: string | undefined;
2851
- };
2852
2852
  idempotencyKey?: string | undefined;
2853
2853
  version?: string | undefined;
2854
2854
  startedAt?: Date | undefined;
@@ -2863,23 +2863,23 @@ declare const ListRunResponse: z.ZodObject<{
2863
2863
  };
2864
2864
  }, {
2865
2865
  data: {
2866
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2866
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2867
2867
  id: string;
2868
2868
  isTest: boolean;
2869
2869
  createdAt: Date;
2870
2870
  updatedAt: Date;
2871
2871
  taskIdentifier: string;
2872
+ env: {
2873
+ id: string;
2874
+ name: string;
2875
+ user?: string | undefined;
2876
+ };
2872
2877
  isQueued: boolean;
2873
2878
  isExecuting: boolean;
2874
2879
  isCompleted: boolean;
2875
2880
  isSuccess: boolean;
2876
2881
  isFailed: boolean;
2877
2882
  isCancelled: boolean;
2878
- env: {
2879
- id: string;
2880
- name: string;
2881
- user?: string | undefined;
2882
- };
2883
2883
  idempotencyKey?: string | undefined;
2884
2884
  version?: string | undefined;
2885
2885
  startedAt?: Date | undefined;
@@ -3630,7 +3630,6 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3630
3630
  triggerSource?: string | undefined;
3631
3631
  }>, "many">;
3632
3632
  }, "strip", z.ZodTypeAny, {
3633
- packageVersion: string;
3634
3633
  contentHash: string;
3635
3634
  tasks: {
3636
3635
  id: string;
@@ -3687,9 +3686,9 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3687
3686
  } | undefined;
3688
3687
  triggerSource?: string | undefined;
3689
3688
  }[];
3689
+ packageVersion: string;
3690
3690
  cliPackageVersion?: string | undefined;
3691
3691
  }, {
3692
- packageVersion: string;
3693
3692
  contentHash: string;
3694
3693
  tasks: {
3695
3694
  id: string;
@@ -3746,6 +3745,7 @@ declare const BackgroundWorkerMetadata: z.ZodObject<{
3746
3745
  } | undefined;
3747
3746
  triggerSource?: string | undefined;
3748
3747
  }[];
3748
+ packageVersion: string;
3749
3749
  cliPackageVersion?: string | undefined;
3750
3750
  }>;
3751
3751
  type BackgroundWorkerMetadata = z.infer<typeof BackgroundWorkerMetadata>;
@@ -4389,7 +4389,6 @@ declare const ExceptionSpanEvent: z.ZodObject<{
4389
4389
  }>;
4390
4390
  }, "strip", z.ZodTypeAny, {
4391
4391
  name: "exception";
4392
- time: Date;
4393
4392
  properties: {
4394
4393
  exception: {
4395
4394
  type?: string | undefined;
@@ -4397,9 +4396,9 @@ declare const ExceptionSpanEvent: z.ZodObject<{
4397
4396
  stacktrace?: string | undefined;
4398
4397
  };
4399
4398
  };
4399
+ time: Date;
4400
4400
  }, {
4401
4401
  name: "exception";
4402
- time: Date;
4403
4402
  properties: {
4404
4403
  exception: {
4405
4404
  type?: string | undefined;
@@ -4407,6 +4406,7 @@ declare const ExceptionSpanEvent: z.ZodObject<{
4407
4406
  stacktrace?: string | undefined;
4408
4407
  };
4409
4408
  };
4409
+ time: Date;
4410
4410
  }>;
4411
4411
  type ExceptionSpanEvent = z.infer<typeof ExceptionSpanEvent>;
4412
4412
  declare const CancellationSpanEvent: z.ZodObject<{
@@ -4421,16 +4421,16 @@ declare const CancellationSpanEvent: z.ZodObject<{
4421
4421
  }>;
4422
4422
  }, "strip", z.ZodTypeAny, {
4423
4423
  name: "cancellation";
4424
- time: Date;
4425
4424
  properties: {
4426
4425
  reason: string;
4427
4426
  };
4427
+ time: Date;
4428
4428
  }, {
4429
4429
  name: "cancellation";
4430
- time: Date;
4431
4430
  properties: {
4432
4431
  reason: string;
4433
4432
  };
4433
+ time: Date;
4434
4434
  }>;
4435
4435
  type CancellationSpanEvent = z.infer<typeof CancellationSpanEvent>;
4436
4436
  declare const OtherSpanEvent: z.ZodObject<{
@@ -4439,12 +4439,12 @@ declare const OtherSpanEvent: z.ZodObject<{
4439
4439
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4440
4440
  }, "strip", z.ZodTypeAny, {
4441
4441
  name: string;
4442
- time: Date;
4443
4442
  properties: Record<string, unknown>;
4443
+ time: Date;
4444
4444
  }, {
4445
4445
  name: string;
4446
- time: Date;
4447
4446
  properties: Record<string, unknown>;
4447
+ time: Date;
4448
4448
  }>;
4449
4449
  type OtherSpanEvent = z.infer<typeof OtherSpanEvent>;
4450
4450
  declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
@@ -4479,7 +4479,6 @@ declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
4479
4479
  }>;
4480
4480
  }, "strip", z.ZodTypeAny, {
4481
4481
  name: "exception";
4482
- time: Date;
4483
4482
  properties: {
4484
4483
  exception: {
4485
4484
  type?: string | undefined;
@@ -4487,9 +4486,9 @@ declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
4487
4486
  stacktrace?: string | undefined;
4488
4487
  };
4489
4488
  };
4489
+ time: Date;
4490
4490
  }, {
4491
4491
  name: "exception";
4492
- time: Date;
4493
4492
  properties: {
4494
4493
  exception: {
4495
4494
  type?: string | undefined;
@@ -4497,6 +4496,7 @@ declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
4497
4496
  stacktrace?: string | undefined;
4498
4497
  };
4499
4498
  };
4499
+ time: Date;
4500
4500
  }>, z.ZodObject<{
4501
4501
  name: z.ZodLiteral<"cancellation">;
4502
4502
  time: z.ZodDate;
@@ -4509,28 +4509,28 @@ declare const SpanEvent: z.ZodUnion<[z.ZodObject<{
4509
4509
  }>;
4510
4510
  }, "strip", z.ZodTypeAny, {
4511
4511
  name: "cancellation";
4512
- time: Date;
4513
4512
  properties: {
4514
4513
  reason: string;
4515
4514
  };
4515
+ time: Date;
4516
4516
  }, {
4517
4517
  name: "cancellation";
4518
- time: Date;
4519
4518
  properties: {
4520
4519
  reason: string;
4521
4520
  };
4521
+ time: Date;
4522
4522
  }>, z.ZodObject<{
4523
4523
  name: z.ZodString;
4524
4524
  time: z.ZodDate;
4525
4525
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4526
4526
  }, "strip", z.ZodTypeAny, {
4527
4527
  name: string;
4528
- time: Date;
4529
4528
  properties: Record<string, unknown>;
4529
+ time: Date;
4530
4530
  }, {
4531
4531
  name: string;
4532
- time: Date;
4533
4532
  properties: Record<string, unknown>;
4533
+ time: Date;
4534
4534
  }>]>;
4535
4535
  type SpanEvent = z.infer<typeof SpanEvent>;
4536
4536
  declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -4565,7 +4565,6 @@ declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4565
4565
  }>;
4566
4566
  }, "strip", z.ZodTypeAny, {
4567
4567
  name: "exception";
4568
- time: Date;
4569
4568
  properties: {
4570
4569
  exception: {
4571
4570
  type?: string | undefined;
@@ -4573,9 +4572,9 @@ declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4573
4572
  stacktrace?: string | undefined;
4574
4573
  };
4575
4574
  };
4575
+ time: Date;
4576
4576
  }, {
4577
4577
  name: "exception";
4578
- time: Date;
4579
4578
  properties: {
4580
4579
  exception: {
4581
4580
  type?: string | undefined;
@@ -4583,6 +4582,7 @@ declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4583
4582
  stacktrace?: string | undefined;
4584
4583
  };
4585
4584
  };
4585
+ time: Date;
4586
4586
  }>, z.ZodObject<{
4587
4587
  name: z.ZodLiteral<"cancellation">;
4588
4588
  time: z.ZodDate;
@@ -4595,28 +4595,28 @@ declare const SpanEvents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4595
4595
  }>;
4596
4596
  }, "strip", z.ZodTypeAny, {
4597
4597
  name: "cancellation";
4598
- time: Date;
4599
4598
  properties: {
4600
4599
  reason: string;
4601
4600
  };
4601
+ time: Date;
4602
4602
  }, {
4603
4603
  name: "cancellation";
4604
- time: Date;
4605
4604
  properties: {
4606
4605
  reason: string;
4607
4606
  };
4607
+ time: Date;
4608
4608
  }>, z.ZodObject<{
4609
4609
  name: z.ZodString;
4610
4610
  time: z.ZodDate;
4611
4611
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4612
4612
  }, "strip", z.ZodTypeAny, {
4613
4613
  name: string;
4614
- time: Date;
4615
4614
  properties: Record<string, unknown>;
4615
+ time: Date;
4616
4616
  }, {
4617
4617
  name: string;
4618
- time: Date;
4619
4618
  properties: Record<string, unknown>;
4619
+ time: Date;
4620
4620
  }>]>, "many">;
4621
4621
  type SpanEvents = z.infer<typeof SpanEvents>;
4622
4622
  declare function isExceptionSpanEvent(event: SpanEvent): event is ExceptionSpanEvent;