@trigger.dev/core 0.0.0-prerelease-20250110154019 → 0.0.0-prerelease-20250116162419

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 (131) hide show
  1. package/dist/commonjs/schemas/api.d.ts +2137 -2137
  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 +54 -54
  13. package/dist/commonjs/schemas/triggers.d.ts +36 -36
  14. package/dist/commonjs/v3/apiClient/index.d.ts +114 -111
  15. package/dist/commonjs/v3/apiClient/index.js +3 -0
  16. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  17. package/dist/commonjs/v3/apiClient/runStream.d.ts +1 -0
  18. package/dist/commonjs/v3/apiClient/runStream.js +3 -0
  19. package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
  20. package/dist/commonjs/v3/apiClient/stream.d.ts +1 -0
  21. package/dist/commonjs/v3/apiClient/stream.js +3 -0
  22. package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
  23. package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
  24. package/dist/commonjs/v3/config.d.ts +17 -0
  25. package/dist/commonjs/v3/errors.d.ts +14 -1
  26. package/dist/commonjs/v3/errors.js +35 -1
  27. package/dist/commonjs/v3/errors.js.map +1 -1
  28. package/dist/commonjs/v3/links.d.ts +3 -0
  29. package/dist/commonjs/v3/links.js +3 -0
  30. package/dist/commonjs/v3/links.js.map +1 -1
  31. package/dist/commonjs/v3/otel/tracingSDK.d.ts +2 -0
  32. package/dist/commonjs/v3/otel/tracingSDK.js +51 -0
  33. package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
  34. package/dist/commonjs/v3/runtime/devRuntimeManager.d.ts +1 -0
  35. package/dist/commonjs/v3/runtime/devRuntimeManager.js +36 -30
  36. package/dist/commonjs/v3/runtime/devRuntimeManager.js.map +1 -1
  37. package/dist/commonjs/v3/runtime/index.d.ts +4 -0
  38. package/dist/commonjs/v3/runtime/index.js +4 -0
  39. package/dist/commonjs/v3/runtime/index.js.map +1 -1
  40. package/dist/commonjs/v3/runtime/preventMultipleWaits.js +31 -0
  41. package/dist/commonjs/v3/runtime/preventMultipleWaits.js.map +1 -0
  42. package/dist/commonjs/v3/runtime/prodRuntimeManager.d.ts +1 -0
  43. package/dist/commonjs/v3/runtime/prodRuntimeManager.js +41 -33
  44. package/dist/commonjs/v3/runtime/prodRuntimeManager.js.map +1 -1
  45. package/dist/commonjs/v3/schemas/api.d.ts +541 -517
  46. package/dist/commonjs/v3/schemas/api.js +2 -0
  47. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  48. package/dist/commonjs/v3/schemas/build.d.ts +346 -346
  49. package/dist/commonjs/v3/schemas/common.d.ts +166 -165
  50. package/dist/commonjs/v3/schemas/common.js +1 -0
  51. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  52. package/dist/commonjs/v3/schemas/fetch.d.ts +31 -31
  53. package/dist/commonjs/v3/schemas/messages.d.ts +4610 -4610
  54. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
  55. package/dist/commonjs/v3/schemas/resources.d.ts +84 -84
  56. package/dist/commonjs/v3/schemas/schemas.d.ts +457 -457
  57. package/dist/commonjs/v3/schemas/style.d.ts +10 -10
  58. package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
  59. package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
  60. package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
  61. package/dist/commonjs/v3/types/tasks.d.ts +7 -3
  62. package/dist/commonjs/v3/types/tasks.js.map +1 -1
  63. package/dist/commonjs/v3/workers/taskExecutor.js +5 -2
  64. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  65. package/dist/commonjs/version.js +1 -1
  66. package/dist/esm/schemas/api.d.ts +2137 -2137
  67. package/dist/esm/schemas/events.d.ts +8 -8
  68. package/dist/esm/schemas/fetch.d.ts +54 -54
  69. package/dist/esm/schemas/integrations.d.ts +4 -4
  70. package/dist/esm/schemas/notifications.d.ts +80 -80
  71. package/dist/esm/schemas/properties.d.ts +4 -4
  72. package/dist/esm/schemas/request.d.ts +4 -4
  73. package/dist/esm/schemas/requestFilter.d.ts +2 -2
  74. package/dist/esm/schemas/runs.d.ts +39 -39
  75. package/dist/esm/schemas/schedules.d.ts +12 -12
  76. package/dist/esm/schemas/statuses.d.ts +24 -24
  77. package/dist/esm/schemas/tasks.d.ts +54 -54
  78. package/dist/esm/schemas/triggers.d.ts +36 -36
  79. package/dist/esm/v3/apiClient/index.d.ts +28 -25
  80. package/dist/esm/v3/apiClient/index.js +3 -0
  81. package/dist/esm/v3/apiClient/index.js.map +1 -1
  82. package/dist/esm/v3/apiClient/runStream.d.ts +1 -0
  83. package/dist/esm/v3/apiClient/runStream.js +3 -0
  84. package/dist/esm/v3/apiClient/runStream.js.map +1 -1
  85. package/dist/esm/v3/apiClient/stream.d.ts +1 -0
  86. package/dist/esm/v3/apiClient/stream.js +3 -0
  87. package/dist/esm/v3/apiClient/stream.js.map +1 -1
  88. package/dist/esm/v3/config.d.ts +17 -0
  89. package/dist/esm/v3/errors.d.ts +14 -1
  90. package/dist/esm/v3/errors.js +33 -0
  91. package/dist/esm/v3/errors.js.map +1 -1
  92. package/dist/esm/v3/links.d.ts +3 -0
  93. package/dist/esm/v3/links.js +3 -0
  94. package/dist/esm/v3/links.js.map +1 -1
  95. package/dist/esm/v3/otel/tracingSDK.d.ts +2 -0
  96. package/dist/esm/v3/otel/tracingSDK.js +51 -0
  97. package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
  98. package/dist/esm/v3/runtime/devRuntimeManager.d.ts +1 -0
  99. package/dist/esm/v3/runtime/devRuntimeManager.js +36 -30
  100. package/dist/esm/v3/runtime/devRuntimeManager.js.map +1 -1
  101. package/dist/esm/v3/runtime/index.d.ts +4 -0
  102. package/dist/esm/v3/runtime/index.js +4 -0
  103. package/dist/esm/v3/runtime/index.js.map +1 -1
  104. package/dist/esm/v3/runtime/preventMultipleWaits.d.ts +1 -0
  105. package/dist/esm/v3/runtime/preventMultipleWaits.js +28 -0
  106. package/dist/esm/v3/runtime/preventMultipleWaits.js.map +1 -0
  107. package/dist/esm/v3/runtime/prodRuntimeManager.d.ts +1 -0
  108. package/dist/esm/v3/runtime/prodRuntimeManager.js +41 -33
  109. package/dist/esm/v3/runtime/prodRuntimeManager.js.map +1 -1
  110. package/dist/esm/v3/schemas/api.d.ts +161 -137
  111. package/dist/esm/v3/schemas/api.js +3 -1
  112. package/dist/esm/v3/schemas/api.js.map +1 -1
  113. package/dist/esm/v3/schemas/build.d.ts +88 -88
  114. package/dist/esm/v3/schemas/common.d.ts +166 -165
  115. package/dist/esm/v3/schemas/common.js +1 -0
  116. package/dist/esm/v3/schemas/common.js.map +1 -1
  117. package/dist/esm/v3/schemas/fetch.d.ts +10 -10
  118. package/dist/esm/v3/schemas/messages.d.ts +1676 -1676
  119. package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
  120. package/dist/esm/v3/schemas/resources.d.ts +4 -4
  121. package/dist/esm/v3/schemas/schemas.d.ts +52 -52
  122. package/dist/esm/v3/schemas/style.d.ts +10 -10
  123. package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
  124. package/dist/esm/v3/semanticInternalAttributes.js +1 -0
  125. package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
  126. package/dist/esm/v3/types/tasks.d.ts +7 -3
  127. package/dist/esm/v3/types/tasks.js.map +1 -1
  128. package/dist/esm/v3/workers/taskExecutor.js +6 -3
  129. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  130. package/dist/esm/version.js +1 -1
  131. 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
- label: string;
21
20
  text: string;
21
+ label: string;
22
22
  url?: string | undefined;
23
23
  imageUrl?: string[] | undefined;
24
24
  }, {
25
- label: string;
26
25
  text: string;
26
+ label: 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
- label: string;
37
36
  text: string;
37
+ label: string;
38
38
  url?: string | undefined;
39
39
  imageUrl?: string[] | undefined;
40
40
  }, {
41
- label: string;
42
41
  text: string;
42
+ label: string;
43
43
  url?: string | undefined;
44
44
  imageUrl?: string[] | undefined;
45
45
  }>, "many">>>;
@@ -62,71 +62,71 @@ 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" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
65
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
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
+ operation?: string | null | undefined;
71
78
  style?: {
72
79
  style: "normal" | "minimal";
73
80
  variant?: string | undefined;
74
81
  } | null | undefined;
75
82
  icon?: string | null | undefined;
76
- startedAt?: Date | null | undefined;
77
- completedAt?: Date | null | undefined;
78
- delayUntil?: Date | null | undefined;
79
- description?: string | null | undefined;
80
83
  properties?: {
81
- label: string;
82
84
  text: string;
85
+ label: string;
83
86
  url?: string | undefined;
84
87
  imageUrl?: string[] | undefined;
85
88
  }[] | null | undefined;
86
89
  outputProperties?: {
87
- label: string;
88
90
  text: string;
91
+ label: string;
89
92
  url?: string | undefined;
90
93
  imageUrl?: string[] | undefined;
91
94
  }[] | null | undefined;
92
- output?: import("./json.js").DeserializedJson | undefined;
93
- error?: string | null | undefined;
94
95
  parentId?: string | null | undefined;
95
- operation?: string | null | undefined;
96
96
  callbackUrl?: string | null | undefined;
97
97
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
98
98
  }, {
99
- status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
99
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
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
+ operation?: string | null | undefined;
105
112
  style?: {
106
113
  style: "normal" | "minimal";
107
114
  variant?: string | undefined;
108
115
  } | null | undefined;
109
116
  icon?: string | null | undefined;
110
- startedAt?: Date | null | undefined;
111
- completedAt?: Date | null | undefined;
112
- delayUntil?: Date | null | undefined;
113
- description?: string | null | undefined;
114
117
  properties?: {
115
- label: string;
116
118
  text: string;
119
+ label: string;
117
120
  url?: string | undefined;
118
121
  imageUrl?: string[] | undefined;
119
122
  }[] | null | undefined;
120
123
  outputProperties?: {
121
- label: string;
122
124
  text: string;
125
+ label: string;
123
126
  url?: string | undefined;
124
127
  imageUrl?: string[] | undefined;
125
128
  }[] | null | undefined;
126
- output?: import("./json.js").DeserializedJson | undefined;
127
- error?: string | null | undefined;
128
129
  parentId?: string | null | undefined;
129
- operation?: string | null | undefined;
130
130
  callbackUrl?: string | null | undefined;
131
131
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
132
132
  }>;
@@ -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
- label: string;
150
149
  text: string;
150
+ label: string;
151
151
  url?: string | undefined;
152
152
  imageUrl?: string[] | undefined;
153
153
  }, {
154
- label: string;
155
154
  text: string;
155
+ label: 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
- label: string;
166
165
  text: string;
166
+ label: string;
167
167
  url?: string | undefined;
168
168
  imageUrl?: string[] | undefined;
169
169
  }, {
170
- label: string;
171
170
  text: string;
171
+ label: string;
172
172
  url?: string | undefined;
173
173
  imageUrl?: string[] | undefined;
174
174
  }>, "many">>>;
@@ -195,76 +195,76 @@ 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" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
198
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
199
199
  name: string;
200
200
  id: string;
201
- noop: boolean;
202
201
  idempotencyKey: string;
203
202
  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
+ operation?: string | null | undefined;
206
213
  style?: {
207
214
  style: "normal" | "minimal";
208
215
  variant?: string | undefined;
209
216
  } | null | undefined;
210
217
  icon?: string | null | undefined;
211
- startedAt?: Date | null | undefined;
212
- completedAt?: Date | null | undefined;
213
- delayUntil?: Date | null | undefined;
214
- description?: string | null | undefined;
215
218
  properties?: {
216
- label: string;
217
219
  text: string;
220
+ label: string;
218
221
  url?: string | undefined;
219
222
  imageUrl?: string[] | undefined;
220
223
  }[] | null | undefined;
221
224
  outputProperties?: {
222
- label: string;
223
225
  text: string;
226
+ label: string;
224
227
  url?: string | undefined;
225
228
  imageUrl?: string[] | undefined;
226
229
  }[] | null | undefined;
227
- output?: import("./json.js").DeserializedJson | undefined;
228
- error?: string | null | undefined;
229
230
  parentId?: string | null | undefined;
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" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
235
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
236
236
  name: string;
237
237
  id: string;
238
- noop: boolean;
239
238
  idempotencyKey: string;
240
239
  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
+ operation?: string | null | undefined;
243
250
  style?: {
244
251
  style: "normal" | "minimal";
245
252
  variant?: string | undefined;
246
253
  } | null | undefined;
247
254
  icon?: string | null | undefined;
248
- startedAt?: Date | null | undefined;
249
- completedAt?: Date | null | undefined;
250
- delayUntil?: Date | null | undefined;
251
- description?: string | null | undefined;
252
255
  properties?: {
253
- label: string;
254
256
  text: string;
257
+ label: string;
255
258
  url?: string | undefined;
256
259
  imageUrl?: string[] | undefined;
257
260
  }[] | null | undefined;
258
261
  outputProperties?: {
259
- label: string;
260
262
  text: string;
263
+ label: string;
261
264
  url?: string | undefined;
262
265
  imageUrl?: string[] | undefined;
263
266
  }[] | null | undefined;
264
- output?: import("./json.js").DeserializedJson | undefined;
265
- error?: string | null | undefined;
266
267
  parentId?: string | null | undefined;
267
- operation?: string | null | undefined;
268
268
  callbackUrl?: string | null | undefined;
269
269
  childExecutionMode?: "SEQUENTIAL" | "PARALLEL" | null | undefined;
270
270
  forceYield?: boolean | 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" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
281
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
282
282
  id: string;
283
- noop: boolean;
284
283
  idempotencyKey: string;
284
+ noop: boolean;
285
285
  output?: import("./json.js").DeserializedJson | undefined;
286
286
  parentId?: string | null | undefined;
287
287
  }, {
288
- status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
288
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "WAITING" | "RUNNING" | "ERRORED";
289
289
  id: string;
290
290
  idempotencyKey: string;
291
- noop?: boolean | undefined;
292
291
  output?: import("./json.js").DeserializedJson | undefined;
292
+ noop?: boolean | 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
- label: string;
32
31
  text: string;
32
+ label: string;
33
33
  url?: string | undefined;
34
34
  imageUrl?: string[] | undefined;
35
35
  }, {
36
- label: string;
37
36
  text: string;
37
+ label: 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
- source: string;
60
59
  name: string | string[];
61
- icon: string;
62
60
  title: string;
61
+ source: string;
62
+ icon: string;
63
63
  filter?: import("./eventFilter.js").EventFilter | undefined;
64
64
  properties?: {
65
- label: string;
66
65
  text: string;
66
+ label: 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
- source: string;
79
78
  name: string | string[];
80
- icon: string;
81
79
  title: string;
80
+ source: string;
81
+ icon: string;
82
82
  filter?: import("./eventFilter.js").EventFilter | undefined;
83
83
  properties?: {
84
- label: string;
85
84
  text: string;
85
+ label: 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
- label: string;
139
138
  text: string;
139
+ label: string;
140
140
  url?: string | undefined;
141
141
  imageUrl?: string[] | undefined;
142
142
  }, {
143
- label: string;
144
143
  text: string;
144
+ label: 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;
196
197
  properties?: {
197
- label: string;
198
198
  text: string;
199
+ label: string;
199
200
  url?: string | undefined;
200
201
  imageUrl?: string[] | undefined;
201
202
  }[] | 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;
218
219
  properties?: {
219
- label: string;
220
220
  text: string;
221
+ label: string;
221
222
  url?: string | undefined;
222
223
  imageUrl?: string[] | undefined;
223
224
  }[] | 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";
253
254
  options: {
254
255
  seconds: number;
255
256
  };
256
- type: "interval";
257
257
  metadata?: any;
258
258
  accountId?: string | undefined;
259
259
  }, {
260
+ type: "interval";
260
261
  options: {
261
262
  seconds: number;
262
263
  };
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";
278
279
  options: {
279
280
  cron: string;
280
281
  };
281
- type: "cron";
282
282
  metadata?: any;
283
283
  accountId?: string | undefined;
284
284
  }, {
285
+ type: "cron";
285
286
  options: {
286
287
  cron: string;
287
288
  };
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";
295
296
  options: {
296
297
  cron: string;
297
298
  };
298
- type: "cron";
299
299
  metadata?: any;
300
300
  accountId?: string | undefined;
301
301
  } | {
302
+ type: "interval";
302
303
  options: {
303
304
  seconds: number;
304
305
  };
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";
312
313
  options: {
313
314
  cron: string;
314
315
  };
315
- type: "cron";
316
316
  metadata?: any;
317
317
  accountId?: string | undefined;
318
318
  } | {
319
+ type: "interval";
319
320
  options: {
320
321
  seconds: number;
321
322
  };
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
- label: string;
346
345
  text: string;
346
+ label: string;
347
347
  url?: string | undefined;
348
348
  imageUrl?: string[] | undefined;
349
349
  }, {
350
- label: string;
351
350
  text: string;
351
+ label: 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;
403
404
  properties?: {
404
- label: string;
405
405
  text: string;
406
+ label: string;
406
407
  url?: string | undefined;
407
408
  imageUrl?: string[] | undefined;
408
409
  }[] | 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;
425
426
  properties?: {
426
- label: string;
427
427
  text: string;
428
+ label: string;
428
429
  url?: string | undefined;
429
430
  imageUrl?: string[] | undefined;
430
431
  }[] | 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";
452
453
  options: {
453
454
  seconds: number;
454
455
  };
455
- type: "interval";
456
456
  metadata?: any;
457
457
  accountId?: string | undefined;
458
458
  }, {
459
+ type: "interval";
459
460
  options: {
460
461
  seconds: number;
461
462
  };
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";
477
478
  options: {
478
479
  cron: string;
479
480
  };
480
- type: "cron";
481
481
  metadata?: any;
482
482
  accountId?: string | undefined;
483
483
  }, {
484
+ type: "cron";
484
485
  options: {
485
486
  cron: string;
486
487
  };
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";
494
495
  options: {
495
496
  cron: string;
496
497
  };
497
- type: "cron";
498
498
  metadata?: any;
499
499
  accountId?: string | undefined;
500
500
  } | {
501
+ type: "interval";
501
502
  options: {
502
503
  seconds: number;
503
504
  };
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";
511
512
  options: {
512
513
  cron: string;
513
514
  };
514
- type: "cron";
515
515
  metadata?: any;
516
516
  accountId?: string | undefined;
517
517
  } | {
518
+ type: "interval";
518
519
  options: {
519
520
  seconds: number;
520
521
  };
521
- type: "interval";
522
522
  metadata?: any;
523
523
  accountId?: string | undefined;
524
524
  };