@trigger.dev/core 0.0.0-prerelease-20250213143202 → 0.0.0-python-preview-20250226140121

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 (151) hide show
  1. package/dist/commonjs/schemas/api.d.ts +1999 -1999
  2. package/dist/commonjs/schemas/events.d.ts +8 -8
  3. package/dist/commonjs/schemas/fetch.d.ts +54 -54
  4. package/dist/commonjs/schemas/integrations.d.ts +4 -4
  5. package/dist/commonjs/schemas/notifications.d.ts +80 -80
  6. package/dist/commonjs/schemas/properties.d.ts +4 -4
  7. package/dist/commonjs/schemas/request.d.ts +4 -4
  8. package/dist/commonjs/schemas/requestFilter.d.ts +2 -2
  9. package/dist/commonjs/schemas/runs.d.ts +39 -39
  10. package/dist/commonjs/schemas/schedules.d.ts +12 -12
  11. package/dist/commonjs/schemas/statuses.d.ts +24 -24
  12. package/dist/commonjs/schemas/tasks.d.ts +50 -50
  13. package/dist/commonjs/schemas/triggers.d.ts +36 -36
  14. package/dist/commonjs/v3/apiClient/index.d.ts +51 -51
  15. package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
  16. package/dist/commonjs/v3/apps/provider.d.ts +1 -0
  17. package/dist/commonjs/v3/apps/provider.js +1 -0
  18. package/dist/commonjs/v3/apps/provider.js.map +1 -1
  19. package/dist/commonjs/v3/errors.d.ts +1 -0
  20. package/dist/commonjs/v3/errors.js +31 -0
  21. package/dist/commonjs/v3/errors.js.map +1 -1
  22. package/dist/commonjs/v3/index.d.ts +1 -0
  23. package/dist/commonjs/v3/index.js +1 -0
  24. package/dist/commonjs/v3/index.js.map +1 -1
  25. package/dist/commonjs/v3/links.d.ts +3 -0
  26. package/dist/commonjs/v3/links.js +3 -0
  27. package/dist/commonjs/v3/links.js.map +1 -1
  28. package/dist/commonjs/v3/run-timeline-metrics-api.d.ts +2 -0
  29. package/dist/commonjs/v3/run-timeline-metrics-api.js +8 -0
  30. package/dist/commonjs/v3/run-timeline-metrics-api.js.map +1 -0
  31. package/dist/commonjs/v3/runTimelineMetrics/index.d.ts +23 -0
  32. package/dist/commonjs/v3/runTimelineMetrics/index.js +160 -0
  33. package/dist/commonjs/v3/runTimelineMetrics/index.js.map +1 -0
  34. package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.d.ts +13 -0
  35. package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js +52 -0
  36. package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -0
  37. package/dist/commonjs/v3/runTimelineMetrics/types.d.ts +11 -0
  38. package/dist/commonjs/v3/runTimelineMetrics/types.js +3 -0
  39. package/dist/commonjs/v3/runTimelineMetrics/types.js.map +1 -0
  40. package/dist/commonjs/v3/schemas/api.d.ts +293 -293
  41. package/dist/commonjs/v3/schemas/build.d.ts +196 -196
  42. package/dist/commonjs/v3/schemas/common.d.ts +24 -24
  43. package/dist/commonjs/v3/schemas/common.js +1 -0
  44. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  45. package/dist/commonjs/v3/schemas/fetch.d.ts +13 -13
  46. package/dist/commonjs/v3/schemas/messages.d.ts +6605 -4119
  47. package/dist/commonjs/v3/schemas/messages.js +22 -0
  48. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  49. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
  50. package/dist/commonjs/v3/schemas/resources.d.ts +52 -52
  51. package/dist/commonjs/v3/schemas/schemas.d.ts +485 -352
  52. package/dist/commonjs/v3/schemas/schemas.js +17 -1
  53. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  54. package/dist/commonjs/v3/schemas/webhooks.d.ts +238 -238
  55. package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
  56. package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
  57. package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
  58. package/dist/commonjs/v3/taskContext/index.js +1 -1
  59. package/dist/commonjs/v3/taskContext/index.js.map +1 -1
  60. package/dist/commonjs/v3/tracer.d.ts +10 -2
  61. package/dist/commonjs/v3/tracer.js +13 -4
  62. package/dist/commonjs/v3/tracer.js.map +1 -1
  63. package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
  64. package/dist/commonjs/v3/utils/globals.d.ts +2 -0
  65. package/dist/commonjs/v3/utils/globals.js.map +1 -1
  66. package/dist/commonjs/v3/workers/index.d.ts +1 -0
  67. package/dist/commonjs/v3/workers/index.js +3 -1
  68. package/dist/commonjs/v3/workers/index.js.map +1 -1
  69. package/dist/commonjs/v3/workers/taskExecutor.js +19 -9
  70. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  71. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -2
  72. package/dist/commonjs/v3/zodSocket.d.ts +2 -2
  73. package/dist/commonjs/v3/zodSocket.js +3 -2
  74. package/dist/commonjs/v3/zodSocket.js.map +1 -1
  75. package/dist/commonjs/version.js +1 -1
  76. package/dist/esm/schemas/api.d.ts +2001 -2001
  77. package/dist/esm/schemas/events.d.ts +8 -8
  78. package/dist/esm/schemas/fetch.d.ts +54 -54
  79. package/dist/esm/schemas/integrations.d.ts +4 -4
  80. package/dist/esm/schemas/notifications.d.ts +80 -80
  81. package/dist/esm/schemas/properties.d.ts +4 -4
  82. package/dist/esm/schemas/request.d.ts +4 -4
  83. package/dist/esm/schemas/requestFilter.d.ts +2 -2
  84. package/dist/esm/schemas/runs.d.ts +39 -39
  85. package/dist/esm/schemas/schedules.d.ts +12 -12
  86. package/dist/esm/schemas/statuses.d.ts +24 -24
  87. package/dist/esm/schemas/tasks.d.ts +50 -50
  88. package/dist/esm/schemas/triggers.d.ts +36 -36
  89. package/dist/esm/v3/apiClient/index.d.ts +51 -51
  90. package/dist/esm/v3/apiClientManager/index.d.ts +1 -1
  91. package/dist/esm/v3/apps/provider.d.ts +1 -0
  92. package/dist/esm/v3/apps/provider.js +1 -0
  93. package/dist/esm/v3/apps/provider.js.map +1 -1
  94. package/dist/esm/v3/errors.d.ts +1 -0
  95. package/dist/esm/v3/errors.js +30 -0
  96. package/dist/esm/v3/errors.js.map +1 -1
  97. package/dist/esm/v3/index.d.ts +1 -0
  98. package/dist/esm/v3/index.js +1 -0
  99. package/dist/esm/v3/index.js.map +1 -1
  100. package/dist/esm/v3/links.d.ts +3 -0
  101. package/dist/esm/v3/links.js +3 -0
  102. package/dist/esm/v3/links.js.map +1 -1
  103. package/dist/esm/v3/run-timeline-metrics-api.d.ts +2 -0
  104. package/dist/esm/v3/run-timeline-metrics-api.js +5 -0
  105. package/dist/esm/v3/run-timeline-metrics-api.js.map +1 -0
  106. package/dist/esm/v3/runTimelineMetrics/index.d.ts +23 -0
  107. package/dist/esm/v3/runTimelineMetrics/index.js +156 -0
  108. package/dist/esm/v3/runTimelineMetrics/index.js.map +1 -0
  109. package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.d.ts +13 -0
  110. package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.js +47 -0
  111. package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -0
  112. package/dist/esm/v3/runTimelineMetrics/types.d.ts +11 -0
  113. package/dist/esm/v3/runTimelineMetrics/types.js +2 -0
  114. package/dist/esm/v3/runTimelineMetrics/types.js.map +1 -0
  115. package/dist/esm/v3/schemas/api.d.ts +293 -293
  116. package/dist/esm/v3/schemas/build.d.ts +196 -196
  117. package/dist/esm/v3/schemas/common.d.ts +24 -24
  118. package/dist/esm/v3/schemas/common.js +1 -0
  119. package/dist/esm/v3/schemas/common.js.map +1 -1
  120. package/dist/esm/v3/schemas/fetch.d.ts +13 -13
  121. package/dist/esm/v3/schemas/messages.d.ts +6605 -4119
  122. package/dist/esm/v3/schemas/messages.js +23 -1
  123. package/dist/esm/v3/schemas/messages.js.map +1 -1
  124. package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
  125. package/dist/esm/v3/schemas/resources.d.ts +52 -52
  126. package/dist/esm/v3/schemas/schemas.d.ts +485 -352
  127. package/dist/esm/v3/schemas/schemas.js +16 -0
  128. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  129. package/dist/esm/v3/schemas/webhooks.d.ts +238 -238
  130. package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
  131. package/dist/esm/v3/semanticInternalAttributes.js +1 -0
  132. package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
  133. package/dist/esm/v3/taskContext/index.js +1 -1
  134. package/dist/esm/v3/taskContext/index.js.map +1 -1
  135. package/dist/esm/v3/tracer.d.ts +10 -2
  136. package/dist/esm/v3/tracer.js +13 -4
  137. package/dist/esm/v3/tracer.js.map +1 -1
  138. package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
  139. package/dist/esm/v3/utils/globals.d.ts +2 -0
  140. package/dist/esm/v3/utils/globals.js.map +1 -1
  141. package/dist/esm/v3/workers/index.d.ts +1 -0
  142. package/dist/esm/v3/workers/index.js +1 -0
  143. package/dist/esm/v3/workers/index.js.map +1 -1
  144. package/dist/esm/v3/workers/taskExecutor.js +20 -10
  145. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  146. package/dist/esm/v3/zodMessageHandler.d.ts +2 -2
  147. package/dist/esm/v3/zodSocket.d.ts +2 -2
  148. package/dist/esm/v3/zodSocket.js +3 -2
  149. package/dist/esm/v3/zodSocket.js.map +1 -1
  150. package/dist/esm/version.js +1 -1
  151. package/package.json +1 -1
@@ -17,13 +17,13 @@ export declare const TaskSchema: z.ZodObject<{
17
17
  url: z.ZodOptional<z.ZodString>;
18
18
  imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
19
19
  }, "strip", z.ZodTypeAny, {
20
- text: string;
21
20
  label: string;
21
+ text: string;
22
22
  url?: string | undefined;
23
23
  imageUrl?: string[] | undefined;
24
24
  }, {
25
- text: string;
26
25
  label: string;
26
+ text: string;
27
27
  url?: string | undefined;
28
28
  imageUrl?: string[] | undefined;
29
29
  }>, "many">>>;
@@ -33,13 +33,13 @@ export declare const TaskSchema: z.ZodObject<{
33
33
  url: z.ZodOptional<z.ZodString>;
34
34
  imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
35
35
  }, "strip", z.ZodTypeAny, {
36
- text: string;
37
36
  label: string;
37
+ text: string;
38
38
  url?: string | undefined;
39
39
  imageUrl?: string[] | undefined;
40
40
  }, {
41
- text: string;
42
41
  label: string;
42
+ text: string;
43
43
  url?: string | undefined;
44
44
  imageUrl?: string[] | undefined;
45
45
  }>, "many">>>;
@@ -62,69 +62,69 @@ export declare const TaskSchema: z.ZodObject<{
62
62
  callbackUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
63
63
  childExecutionMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SEQUENTIAL", "PARALLEL"]>>>;
64
64
  }, "strip", z.ZodTypeAny, {
65
- status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
65
+ status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
66
66
  name: string;
67
67
  id: string;
68
68
  noop: boolean;
69
69
  params?: import("./json.js").DeserializedJson | undefined;
70
70
  context?: import("./json.js").DeserializedJson | undefined;
71
- startedAt?: Date | null | undefined;
72
- error?: string | null | undefined;
73
- output?: import("./json.js").DeserializedJson | undefined;
74
- description?: string | null | undefined;
75
- completedAt?: Date | null | undefined;
76
- delayUntil?: Date | null | undefined;
77
71
  style?: {
78
72
  style: "normal" | "minimal";
79
73
  variant?: string | undefined;
80
74
  } | null | undefined;
81
75
  icon?: string | null | undefined;
76
+ startedAt?: Date | null | undefined;
77
+ completedAt?: Date | null | undefined;
78
+ delayUntil?: Date | null | undefined;
79
+ description?: string | null | undefined;
82
80
  properties?: {
83
- text: string;
84
81
  label: string;
82
+ text: string;
85
83
  url?: string | undefined;
86
84
  imageUrl?: string[] | undefined;
87
85
  }[] | null | undefined;
88
86
  outputProperties?: {
89
- text: string;
90
87
  label: string;
88
+ text: string;
91
89
  url?: string | undefined;
92
90
  imageUrl?: string[] | undefined;
93
91
  }[] | null | undefined;
92
+ output?: import("./json.js").DeserializedJson | undefined;
93
+ error?: string | null | undefined;
94
94
  parentId?: string | null | undefined;
95
95
  operation?: string | null | undefined;
96
96
  callbackUrl?: string | null | undefined;
97
97
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
98
98
  }, {
99
- status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
99
+ status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
100
100
  name: string;
101
101
  id: string;
102
102
  noop: boolean;
103
103
  params?: import("./json.js").DeserializedJson | undefined;
104
104
  context?: import("./json.js").DeserializedJson | undefined;
105
- startedAt?: Date | null | undefined;
106
- error?: string | null | undefined;
107
- output?: import("./json.js").DeserializedJson | undefined;
108
- description?: string | null | undefined;
109
- completedAt?: Date | null | undefined;
110
- delayUntil?: Date | null | undefined;
111
105
  style?: {
112
106
  style: "normal" | "minimal";
113
107
  variant?: string | undefined;
114
108
  } | null | undefined;
115
109
  icon?: string | null | undefined;
110
+ startedAt?: Date | null | undefined;
111
+ completedAt?: Date | null | undefined;
112
+ delayUntil?: Date | null | undefined;
113
+ description?: string | null | undefined;
116
114
  properties?: {
117
- text: string;
118
115
  label: string;
116
+ text: string;
119
117
  url?: string | undefined;
120
118
  imageUrl?: string[] | undefined;
121
119
  }[] | null | undefined;
122
120
  outputProperties?: {
123
- text: string;
124
121
  label: string;
122
+ text: string;
125
123
  url?: string | undefined;
126
124
  imageUrl?: string[] | undefined;
127
125
  }[] | null | undefined;
126
+ output?: import("./json.js").DeserializedJson | undefined;
127
+ error?: string | null | undefined;
128
128
  parentId?: string | null | undefined;
129
129
  operation?: string | null | undefined;
130
130
  callbackUrl?: string | null | undefined;
@@ -146,13 +146,13 @@ export declare const ServerTaskSchema: z.ZodObject<z.objectUtil.extendShape<{
146
146
  url: z.ZodOptional<z.ZodString>;
147
147
  imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
148
148
  }, "strip", z.ZodTypeAny, {
149
- text: string;
150
149
  label: string;
150
+ text: string;
151
151
  url?: string | undefined;
152
152
  imageUrl?: string[] | undefined;
153
153
  }, {
154
- text: string;
155
154
  label: string;
155
+ text: string;
156
156
  url?: string | undefined;
157
157
  imageUrl?: string[] | undefined;
158
158
  }>, "many">>>;
@@ -162,13 +162,13 @@ export declare const ServerTaskSchema: z.ZodObject<z.objectUtil.extendShape<{
162
162
  url: z.ZodOptional<z.ZodString>;
163
163
  imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
164
164
  }, "strip", z.ZodTypeAny, {
165
- text: string;
166
165
  label: string;
166
+ text: string;
167
167
  url?: string | undefined;
168
168
  imageUrl?: string[] | undefined;
169
169
  }, {
170
- text: string;
171
170
  label: string;
171
+ text: string;
172
172
  url?: string | undefined;
173
173
  imageUrl?: string[] | undefined;
174
174
  }>, "many">>>;
@@ -195,74 +195,74 @@ export declare const ServerTaskSchema: z.ZodObject<z.objectUtil.extendShape<{
195
195
  attempts: z.ZodNumber;
196
196
  forceYield: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
197
197
  }>, "strip", z.ZodTypeAny, {
198
- status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
198
+ status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
199
199
  name: string;
200
200
  id: string;
201
+ noop: boolean;
201
202
  idempotencyKey: string;
202
203
  attempts: number;
203
- noop: boolean;
204
204
  params?: import("./json.js").DeserializedJson | undefined;
205
205
  context?: import("./json.js").DeserializedJson | undefined;
206
- startedAt?: Date | null | undefined;
207
- error?: string | null | undefined;
208
- output?: import("./json.js").DeserializedJson | undefined;
209
- description?: string | null | undefined;
210
- completedAt?: Date | null | undefined;
211
- delayUntil?: Date | null | undefined;
212
206
  style?: {
213
207
  style: "normal" | "minimal";
214
208
  variant?: string | undefined;
215
209
  } | null | undefined;
216
210
  icon?: string | null | undefined;
211
+ startedAt?: Date | null | undefined;
212
+ completedAt?: Date | null | undefined;
213
+ delayUntil?: Date | null | undefined;
214
+ description?: string | null | undefined;
217
215
  properties?: {
218
- text: string;
219
216
  label: string;
217
+ text: string;
220
218
  url?: string | undefined;
221
219
  imageUrl?: string[] | undefined;
222
220
  }[] | null | undefined;
223
221
  outputProperties?: {
224
- text: string;
225
222
  label: string;
223
+ text: string;
226
224
  url?: string | undefined;
227
225
  imageUrl?: string[] | undefined;
228
226
  }[] | null | undefined;
227
+ output?: import("./json.js").DeserializedJson | undefined;
228
+ error?: string | null | undefined;
229
229
  parentId?: string | null | undefined;
230
230
  operation?: string | null | undefined;
231
231
  callbackUrl?: string | null | undefined;
232
232
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
233
233
  forceYield?: boolean | null | undefined;
234
234
  }, {
235
- status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
235
+ status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
236
236
  name: string;
237
237
  id: string;
238
+ noop: boolean;
238
239
  idempotencyKey: string;
239
240
  attempts: number;
240
- noop: boolean;
241
241
  params?: import("./json.js").DeserializedJson | undefined;
242
242
  context?: import("./json.js").DeserializedJson | undefined;
243
- startedAt?: Date | null | undefined;
244
- error?: string | null | undefined;
245
- output?: import("./json.js").DeserializedJson | undefined;
246
- description?: string | null | undefined;
247
- completedAt?: Date | null | undefined;
248
- delayUntil?: Date | null | undefined;
249
243
  style?: {
250
244
  style: "normal" | "minimal";
251
245
  variant?: string | undefined;
252
246
  } | null | undefined;
253
247
  icon?: string | null | undefined;
248
+ startedAt?: Date | null | undefined;
249
+ completedAt?: Date | null | undefined;
250
+ delayUntil?: Date | null | undefined;
251
+ description?: string | null | undefined;
254
252
  properties?: {
255
- text: string;
256
253
  label: string;
254
+ text: string;
257
255
  url?: string | undefined;
258
256
  imageUrl?: string[] | undefined;
259
257
  }[] | null | undefined;
260
258
  outputProperties?: {
261
- text: string;
262
259
  label: string;
260
+ text: string;
263
261
  url?: string | undefined;
264
262
  imageUrl?: string[] | undefined;
265
263
  }[] | null | undefined;
264
+ output?: import("./json.js").DeserializedJson | undefined;
265
+ error?: string | null | undefined;
266
266
  parentId?: string | null | undefined;
267
267
  operation?: string | null | undefined;
268
268
  callbackUrl?: string | null | undefined;
@@ -278,17 +278,17 @@ export declare const CachedTaskSchema: z.ZodObject<{
278
278
  output: z.ZodNullable<z.ZodOptional<z.ZodType<import("./json.js").DeserializedJson, z.ZodTypeDef, import("./json.js").DeserializedJson>>>;
279
279
  parentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
280
280
  }, "strip", z.ZodTypeAny, {
281
- status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
281
+ status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
282
282
  id: string;
283
- idempotencyKey: string;
284
283
  noop: boolean;
284
+ idempotencyKey: string;
285
285
  output?: import("./json.js").DeserializedJson | undefined;
286
286
  parentId?: string | null | undefined;
287
287
  }, {
288
- status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
288
+ status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
289
289
  id: string;
290
290
  idempotencyKey: string;
291
- output?: import("./json.js").DeserializedJson | undefined;
292
291
  noop?: boolean | undefined;
292
+ output?: import("./json.js").DeserializedJson | undefined;
293
293
  parentId?: string | null | undefined;
294
294
  }>;
@@ -28,13 +28,13 @@ export declare const EventSpecificationSchema: z.ZodObject<{
28
28
  url: z.ZodOptional<z.ZodString>;
29
29
  imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30
30
  }, "strip", z.ZodTypeAny, {
31
- text: string;
32
31
  label: string;
32
+ text: string;
33
33
  url?: string | undefined;
34
34
  imageUrl?: string[] | undefined;
35
35
  }, {
36
- text: string;
37
36
  label: string;
37
+ text: string;
38
38
  url?: string | undefined;
39
39
  imageUrl?: string[] | undefined;
40
40
  }>, "many">>;
@@ -56,14 +56,14 @@ export declare const EventSpecificationSchema: z.ZodObject<{
56
56
  icon?: string | undefined;
57
57
  }>, "many">>;
58
58
  }, "strip", z.ZodTypeAny, {
59
- name: string | string[];
60
- title: string;
61
59
  source: string;
60
+ name: string | string[];
62
61
  icon: string;
62
+ title: string;
63
63
  filter?: import("./eventFilter.js").EventFilter | undefined;
64
64
  properties?: {
65
- text: string;
66
65
  label: string;
66
+ text: string;
67
67
  url?: string | undefined;
68
68
  imageUrl?: string[] | undefined;
69
69
  }[] | undefined;
@@ -75,14 +75,14 @@ export declare const EventSpecificationSchema: z.ZodObject<{
75
75
  icon?: string | undefined;
76
76
  }[] | undefined;
77
77
  }, {
78
- name: string | string[];
79
- title: string;
80
78
  source: string;
79
+ name: string | string[];
81
80
  icon: string;
81
+ title: string;
82
82
  filter?: import("./eventFilter.js").EventFilter | undefined;
83
83
  properties?: {
84
- text: string;
85
84
  label: string;
85
+ text: string;
86
86
  url?: string | undefined;
87
87
  imageUrl?: string[] | undefined;
88
88
  }[] | undefined;
@@ -135,13 +135,13 @@ export declare const StaticTriggerMetadataSchema: z.ZodObject<{
135
135
  url: z.ZodOptional<z.ZodString>;
136
136
  imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
137
137
  }, "strip", z.ZodTypeAny, {
138
- text: string;
139
138
  label: string;
139
+ text: string;
140
140
  url?: string | undefined;
141
141
  imageUrl?: string[] | undefined;
142
142
  }, {
143
- text: string;
144
143
  label: string;
144
+ text: string;
145
145
  url?: string | undefined;
146
146
  imageUrl?: string[] | undefined;
147
147
  }>, "many">>;
@@ -193,13 +193,13 @@ export declare const StaticTriggerMetadataSchema: z.ZodObject<{
193
193
  payload?: import("./eventFilter.js").EventFilter | undefined;
194
194
  context?: import("./eventFilter.js").EventFilter | undefined;
195
195
  };
196
- link?: string | undefined;
197
196
  properties?: {
198
- text: string;
199
197
  label: string;
198
+ text: string;
200
199
  url?: string | undefined;
201
200
  imageUrl?: string[] | undefined;
202
201
  }[] | undefined;
202
+ link?: string | undefined;
203
203
  help?: {
204
204
  noRuns?: {
205
205
  text: string;
@@ -215,13 +215,13 @@ export declare const StaticTriggerMetadataSchema: z.ZodObject<{
215
215
  payload?: import("./eventFilter.js").EventFilter | undefined;
216
216
  context?: import("./eventFilter.js").EventFilter | undefined;
217
217
  };
218
- link?: string | undefined;
219
218
  properties?: {
220
- text: string;
221
219
  label: string;
220
+ text: string;
222
221
  url?: string | undefined;
223
222
  imageUrl?: string[] | undefined;
224
223
  }[] | undefined;
224
+ link?: string | undefined;
225
225
  help?: {
226
226
  noRuns?: {
227
227
  text: string;
@@ -250,17 +250,17 @@ export declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
250
250
  accountId: z.ZodOptional<z.ZodString>;
251
251
  metadata: z.ZodAny;
252
252
  }, "strip", z.ZodTypeAny, {
253
- type: "interval";
254
253
  options: {
255
254
  seconds: number;
256
255
  };
256
+ type: "interval";
257
257
  metadata?: any;
258
258
  accountId?: string | undefined;
259
259
  }, {
260
- type: "interval";
261
260
  options: {
262
261
  seconds: number;
263
262
  };
263
+ type: "interval";
264
264
  metadata?: any;
265
265
  accountId?: string | undefined;
266
266
  }>, z.ZodObject<{
@@ -275,51 +275,51 @@ export declare const ScheduledTriggerMetadataSchema: z.ZodObject<{
275
275
  accountId: z.ZodOptional<z.ZodString>;
276
276
  metadata: z.ZodAny;
277
277
  }, "strip", z.ZodTypeAny, {
278
- type: "cron";
279
278
  options: {
280
279
  cron: string;
281
280
  };
281
+ type: "cron";
282
282
  metadata?: any;
283
283
  accountId?: string | undefined;
284
284
  }, {
285
- type: "cron";
286
285
  options: {
287
286
  cron: string;
288
287
  };
288
+ type: "cron";
289
289
  metadata?: any;
290
290
  accountId?: string | undefined;
291
291
  }>]>;
292
292
  }, "strip", z.ZodTypeAny, {
293
293
  type: "scheduled";
294
294
  schedule: {
295
- type: "cron";
296
295
  options: {
297
296
  cron: string;
298
297
  };
298
+ type: "cron";
299
299
  metadata?: any;
300
300
  accountId?: string | undefined;
301
301
  } | {
302
- type: "interval";
303
302
  options: {
304
303
  seconds: number;
305
304
  };
305
+ type: "interval";
306
306
  metadata?: any;
307
307
  accountId?: string | undefined;
308
308
  };
309
309
  }, {
310
310
  type: "scheduled";
311
311
  schedule: {
312
- type: "cron";
313
312
  options: {
314
313
  cron: string;
315
314
  };
315
+ type: "cron";
316
316
  metadata?: any;
317
317
  accountId?: string | undefined;
318
318
  } | {
319
- type: "interval";
320
319
  options: {
321
320
  seconds: number;
322
321
  };
322
+ type: "interval";
323
323
  metadata?: any;
324
324
  accountId?: string | undefined;
325
325
  };
@@ -342,13 +342,13 @@ export declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
342
342
  url: z.ZodOptional<z.ZodString>;
343
343
  imageUrl: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
344
344
  }, "strip", z.ZodTypeAny, {
345
- text: string;
346
345
  label: string;
346
+ text: string;
347
347
  url?: string | undefined;
348
348
  imageUrl?: string[] | undefined;
349
349
  }, {
350
- text: string;
351
350
  label: string;
351
+ text: string;
352
352
  url?: string | undefined;
353
353
  imageUrl?: string[] | undefined;
354
354
  }>, "many">>;
@@ -400,13 +400,13 @@ export declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
400
400
  payload?: import("./eventFilter.js").EventFilter | undefined;
401
401
  context?: import("./eventFilter.js").EventFilter | undefined;
402
402
  };
403
- link?: string | undefined;
404
403
  properties?: {
405
- text: string;
406
404
  label: string;
405
+ text: string;
407
406
  url?: string | undefined;
408
407
  imageUrl?: string[] | undefined;
409
408
  }[] | undefined;
409
+ link?: string | undefined;
410
410
  help?: {
411
411
  noRuns?: {
412
412
  text: string;
@@ -422,13 +422,13 @@ export declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
422
422
  payload?: import("./eventFilter.js").EventFilter | undefined;
423
423
  context?: import("./eventFilter.js").EventFilter | undefined;
424
424
  };
425
- link?: string | undefined;
426
425
  properties?: {
427
- text: string;
428
426
  label: string;
427
+ text: string;
429
428
  url?: string | undefined;
430
429
  imageUrl?: string[] | undefined;
431
430
  }[] | undefined;
431
+ link?: string | undefined;
432
432
  help?: {
433
433
  noRuns?: {
434
434
  text: string;
@@ -449,17 +449,17 @@ export declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
449
449
  accountId: z.ZodOptional<z.ZodString>;
450
450
  metadata: z.ZodAny;
451
451
  }, "strip", z.ZodTypeAny, {
452
- type: "interval";
453
452
  options: {
454
453
  seconds: number;
455
454
  };
455
+ type: "interval";
456
456
  metadata?: any;
457
457
  accountId?: string | undefined;
458
458
  }, {
459
- type: "interval";
460
459
  options: {
461
460
  seconds: number;
462
461
  };
462
+ type: "interval";
463
463
  metadata?: any;
464
464
  accountId?: string | undefined;
465
465
  }>, z.ZodObject<{
@@ -474,51 +474,51 @@ export declare const TriggerMetadataSchema: z.ZodDiscriminatedUnion<"type", [z.Z
474
474
  accountId: z.ZodOptional<z.ZodString>;
475
475
  metadata: z.ZodAny;
476
476
  }, "strip", z.ZodTypeAny, {
477
- type: "cron";
478
477
  options: {
479
478
  cron: string;
480
479
  };
480
+ type: "cron";
481
481
  metadata?: any;
482
482
  accountId?: string | undefined;
483
483
  }, {
484
- type: "cron";
485
484
  options: {
486
485
  cron: string;
487
486
  };
487
+ type: "cron";
488
488
  metadata?: any;
489
489
  accountId?: string | undefined;
490
490
  }>]>;
491
491
  }, "strip", z.ZodTypeAny, {
492
492
  type: "scheduled";
493
493
  schedule: {
494
- type: "cron";
495
494
  options: {
496
495
  cron: string;
497
496
  };
497
+ type: "cron";
498
498
  metadata?: any;
499
499
  accountId?: string | undefined;
500
500
  } | {
501
- type: "interval";
502
501
  options: {
503
502
  seconds: number;
504
503
  };
504
+ type: "interval";
505
505
  metadata?: any;
506
506
  accountId?: string | undefined;
507
507
  };
508
508
  }, {
509
509
  type: "scheduled";
510
510
  schedule: {
511
- type: "cron";
512
511
  options: {
513
512
  cron: string;
514
513
  };
514
+ type: "cron";
515
515
  metadata?: any;
516
516
  accountId?: string | undefined;
517
517
  } | {
518
- type: "interval";
519
518
  options: {
520
519
  seconds: number;
521
520
  };
521
+ type: "interval";
522
522
  metadata?: any;
523
523
  accountId?: string | undefined;
524
524
  };