@trigger.dev/core 4.8.0-webhooks.20261015065339 → 4.8.0-webhooks.20261020092920

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 (109) hide show
  1. package/dist/commonjs/utils.js.map +1 -1
  2. package/dist/commonjs/v3/apiClient/core.d.ts +2 -0
  3. package/dist/commonjs/v3/apiClient/core.js +2 -0
  4. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  5. package/dist/commonjs/v3/apiClient/getBranch.js +2 -2
  6. package/dist/commonjs/v3/apiClient/getBranch.js.map +1 -1
  7. package/dist/commonjs/v3/apiClient/index.d.ts +355 -1
  8. package/dist/commonjs/v3/apiClient/index.js +59 -0
  9. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  10. package/dist/commonjs/v3/apiClient/runStream.js +35 -19
  11. package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
  12. package/dist/commonjs/v3/apiClient/stream.js +7 -1
  13. package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
  14. package/dist/commonjs/v3/config.d.ts +44 -1
  15. package/dist/commonjs/v3/otel/tracingSDK.d.ts +2 -0
  16. package/dist/commonjs/v3/otel/tracingSDK.js +2 -1
  17. package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
  18. package/dist/commonjs/v3/otel/userSpanProcessor.d.ts +20 -0
  19. package/dist/commonjs/v3/otel/userSpanProcessor.js +94 -0
  20. package/dist/commonjs/v3/otel/userSpanProcessor.js.map +1 -0
  21. package/dist/commonjs/v3/runEngineWorker/supervisor/continueRetry.d.ts +28 -0
  22. package/dist/commonjs/v3/runEngineWorker/supervisor/continueRetry.js +54 -0
  23. package/dist/commonjs/v3/runEngineWorker/supervisor/continueRetry.js.map +1 -0
  24. package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +7 -16
  25. package/dist/commonjs/v3/runEngineWorker/supervisor/http.js +21 -16
  26. package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
  27. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +1 -0
  28. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js +2 -0
  29. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
  30. package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +1 -0
  31. package/dist/commonjs/v3/schemas/api.d.ts +28 -0
  32. package/dist/commonjs/v3/schemas/api.js +4 -1
  33. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  34. package/dist/commonjs/v3/schemas/build.d.ts +80 -24
  35. package/dist/commonjs/v3/schemas/index.d.ts +1 -0
  36. package/dist/commonjs/v3/schemas/messages.d.ts +48 -20
  37. package/dist/commonjs/v3/schemas/query.d.ts +854 -0
  38. package/dist/commonjs/v3/schemas/query.js +156 -1
  39. package/dist/commonjs/v3/schemas/query.js.map +1 -1
  40. package/dist/commonjs/v3/schemas/resources.d.ts +80 -24
  41. package/dist/commonjs/v3/schemas/schemas.d.ts +56 -0
  42. package/dist/commonjs/v3/schemas/webhookConfig.d.ts +64 -0
  43. package/dist/commonjs/v3/schemas/webhookConfig.js +40 -5
  44. package/dist/commonjs/v3/schemas/webhookConfig.js.map +1 -1
  45. package/dist/commonjs/v3/schemas/webhookFilter.d.ts +5 -4
  46. package/dist/commonjs/v3/streams/asyncIterableStream.d.ts +1 -1
  47. package/dist/commonjs/v3/streams/asyncIterableStream.js +46 -12
  48. package/dist/commonjs/v3/streams/asyncIterableStream.js.map +1 -1
  49. package/dist/commonjs/v3/utils/structuredLogger.d.ts +6 -6
  50. package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
  51. package/dist/commonjs/v3/webhooks/index.d.ts +610 -5
  52. package/dist/commonjs/v3/webhooks/index.js +225 -14
  53. package/dist/commonjs/v3/webhooks/index.js.map +1 -1
  54. package/dist/commonjs/version.js +1 -1
  55. package/dist/esm/utils.js.map +1 -1
  56. package/dist/esm/v3/apiClient/core.d.ts +2 -0
  57. package/dist/esm/v3/apiClient/core.js +2 -0
  58. package/dist/esm/v3/apiClient/core.js.map +1 -1
  59. package/dist/esm/v3/apiClient/getBranch.js +2 -2
  60. package/dist/esm/v3/apiClient/getBranch.js.map +1 -1
  61. package/dist/esm/v3/apiClient/index.d.ts +355 -1
  62. package/dist/esm/v3/apiClient/index.js +60 -1
  63. package/dist/esm/v3/apiClient/index.js.map +1 -1
  64. package/dist/esm/v3/apiClient/runStream.js +35 -19
  65. package/dist/esm/v3/apiClient/runStream.js.map +1 -1
  66. package/dist/esm/v3/apiClient/stream.js +7 -1
  67. package/dist/esm/v3/apiClient/stream.js.map +1 -1
  68. package/dist/esm/v3/config.d.ts +44 -1
  69. package/dist/esm/v3/otel/tracingSDK.d.ts +2 -0
  70. package/dist/esm/v3/otel/tracingSDK.js +2 -1
  71. package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
  72. package/dist/esm/v3/otel/userSpanProcessor.d.ts +20 -0
  73. package/dist/esm/v3/otel/userSpanProcessor.js +90 -0
  74. package/dist/esm/v3/otel/userSpanProcessor.js.map +1 -0
  75. package/dist/esm/v3/runEngineWorker/supervisor/continueRetry.d.ts +28 -0
  76. package/dist/esm/v3/runEngineWorker/supervisor/continueRetry.js +51 -0
  77. package/dist/esm/v3/runEngineWorker/supervisor/continueRetry.js.map +1 -0
  78. package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +7 -16
  79. package/dist/esm/v3/runEngineWorker/supervisor/http.js +21 -16
  80. package/dist/esm/v3/runEngineWorker/supervisor/http.js.map +1 -1
  81. package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +1 -0
  82. package/dist/esm/v3/runEngineWorker/supervisor/schemas.js +2 -0
  83. package/dist/esm/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
  84. package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +1 -0
  85. package/dist/esm/v3/schemas/api.d.ts +28 -0
  86. package/dist/esm/v3/schemas/api.js +4 -1
  87. package/dist/esm/v3/schemas/api.js.map +1 -1
  88. package/dist/esm/v3/schemas/build.d.ts +80 -24
  89. package/dist/esm/v3/schemas/index.d.ts +1 -0
  90. package/dist/esm/v3/schemas/messages.d.ts +48 -20
  91. package/dist/esm/v3/schemas/query.d.ts +854 -0
  92. package/dist/esm/v3/schemas/query.js +155 -0
  93. package/dist/esm/v3/schemas/query.js.map +1 -1
  94. package/dist/esm/v3/schemas/resources.d.ts +80 -24
  95. package/dist/esm/v3/schemas/schemas.d.ts +56 -0
  96. package/dist/esm/v3/schemas/webhookConfig.d.ts +64 -0
  97. package/dist/esm/v3/schemas/webhookConfig.js +40 -5
  98. package/dist/esm/v3/schemas/webhookConfig.js.map +1 -1
  99. package/dist/esm/v3/schemas/webhookFilter.d.ts +5 -4
  100. package/dist/esm/v3/streams/asyncIterableStream.d.ts +1 -1
  101. package/dist/esm/v3/streams/asyncIterableStream.js +46 -12
  102. package/dist/esm/v3/streams/asyncIterableStream.js.map +1 -1
  103. package/dist/esm/v3/utils/structuredLogger.d.ts +6 -6
  104. package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
  105. package/dist/esm/v3/webhooks/index.d.ts +610 -5
  106. package/dist/esm/v3/webhooks/index.js +225 -14
  107. package/dist/esm/v3/webhooks/index.js.map +1 -1
  108. package/dist/esm/version.js +1 -1
  109. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.runFriendlyStatus = exports.ListDashboardsResponseBody = exports.DashboardSummary = exports.DashboardWidgetSummary = exports.QuerySchemaResponseBody = exports.QuerySchemaTable = exports.QuerySchemaColumn = exports.QueryExecuteResponseBody = exports.QueryExecuteCSVResponseBody = exports.QueryExecuteJSONResponseBody = exports.QueryExecuteRequestBody = void 0;
3
+ exports.runFriendlyStatus = exports.DeleteDashboardResponseBody = exports.AddDashboardWidgetResponseBody = exports.UpdateDashboardWidgetRequestBody = exports.AddDashboardWidgetRequestBody = exports.ReplaceDashboardRequestBody = exports.UpdateDashboardRequestBody = exports.CreateDashboardRequestBody = exports.DashboardWidgetInput = exports.DashboardObject = exports.DashboardWidget = exports.DashboardWidgetPosition = exports.DashboardDefinition = exports.DashboardStoredWidget = exports.DashboardLayoutItem = exports.DashboardWidgetDisplay = exports.DashboardBigNumberConfig = exports.DashboardChartConfig = exports.DashboardBigNumberAggregation = exports.DashboardChartAggregation = exports.DashboardSortDirection = exports.DashboardChartType = exports.ListDashboardsResponseBody = exports.DashboardSummary = exports.DashboardWidgetSummary = exports.QuerySchemaResponseBody = exports.QuerySchemaTable = exports.QuerySchemaColumn = exports.QueryExecuteResponseBody = exports.QueryExecuteCSVResponseBody = exports.QueryExecuteJSONResponseBody = exports.QueryExecuteRequestBody = void 0;
4
4
  const v4_1 = require("zod/v4");
5
5
  const zod_js_1 = require("../utils/zod.js");
6
6
  /**
@@ -79,6 +79,9 @@ exports.DashboardWidgetSummary = v4_1.z.object({
79
79
  exports.DashboardSummary = v4_1.z.object({
80
80
  key: v4_1.z.string(),
81
81
  title: v4_1.z.string(),
82
+ /** `builtIn` dashboards are read-only; `custom` dashboards can be edited through the API */
83
+ type: v4_1.z.enum(["builtIn", "custom"]).optional(),
84
+ description: v4_1.z.string().optional(),
82
85
  widgets: v4_1.z.array(exports.DashboardWidgetSummary),
83
86
  });
84
87
  /**
@@ -87,6 +90,158 @@ exports.DashboardSummary = v4_1.z.object({
87
90
  exports.ListDashboardsResponseBody = v4_1.z.object({
88
91
  dashboards: v4_1.z.array(exports.DashboardSummary),
89
92
  });
93
+ exports.DashboardChartType = v4_1.z.enum(["bar", "line"]);
94
+ exports.DashboardSortDirection = v4_1.z.enum(["asc", "desc"]);
95
+ exports.DashboardChartAggregation = v4_1.z.enum(["sum", "avg", "count", "min", "max"]);
96
+ exports.DashboardBigNumberAggregation = v4_1.z.enum([
97
+ "sum",
98
+ "avg",
99
+ "count",
100
+ "min",
101
+ "max",
102
+ "first",
103
+ "last",
104
+ ]);
105
+ exports.DashboardChartConfig = v4_1.z.object({
106
+ chartType: exports.DashboardChartType,
107
+ xAxisColumn: v4_1.z.string().nullable(),
108
+ yAxisColumns: v4_1.z.string().array(),
109
+ groupByColumn: v4_1.z.string().nullable(),
110
+ stacked: v4_1.z.boolean(),
111
+ sortByColumn: v4_1.z.string().nullable(),
112
+ sortDirection: exports.DashboardSortDirection,
113
+ aggregation: exports.DashboardChartAggregation,
114
+ seriesColors: v4_1.z.record(v4_1.z.string(), v4_1.z.string()).optional(),
115
+ });
116
+ exports.DashboardBigNumberConfig = v4_1.z.object({
117
+ column: v4_1.z.string(),
118
+ aggregation: exports.DashboardBigNumberAggregation,
119
+ sortDirection: exports.DashboardSortDirection.optional(),
120
+ abbreviate: v4_1.z.boolean().default(false),
121
+ prefix: v4_1.z.string().optional(),
122
+ suffix: v4_1.z.string().optional(),
123
+ });
124
+ /**
125
+ * How a dashboard widget renders its query results.
126
+ */
127
+ exports.DashboardWidgetDisplay = (0, zod_js_1.discriminatedUnion)("type", [
128
+ v4_1.z.object({
129
+ type: v4_1.z.literal("table"),
130
+ prettyFormatting: v4_1.z.boolean().default(true),
131
+ sorting: v4_1.z.array(v4_1.z.object({ desc: v4_1.z.boolean(), id: v4_1.z.string() })).default([]),
132
+ }),
133
+ exports.DashboardChartConfig.extend({ type: v4_1.z.literal("chart") }),
134
+ exports.DashboardBigNumberConfig.extend({ type: v4_1.z.literal("bignumber") }),
135
+ v4_1.z.object({ type: v4_1.z.literal("title") }),
136
+ ]);
137
+ /**
138
+ * A widget's position on the dashboard's 12-column grid.
139
+ */
140
+ exports.DashboardLayoutItem = v4_1.z.object({
141
+ i: v4_1.z.string(),
142
+ x: v4_1.z.number(),
143
+ y: v4_1.z.number(),
144
+ w: v4_1.z.number(),
145
+ h: v4_1.z.number(),
146
+ minH: v4_1.z.number().optional(),
147
+ maxH: v4_1.z.number().optional(),
148
+ });
149
+ exports.DashboardStoredWidget = v4_1.z.object({
150
+ title: v4_1.z.string(),
151
+ query: v4_1.z.string().default(""),
152
+ display: exports.DashboardWidgetDisplay,
153
+ /** Server-side gap fill: carry-forward for gauges, zero-fill for counters. */
154
+ fillGaps: v4_1.z.boolean().optional(),
155
+ });
156
+ /**
157
+ * The stored definition of a dashboard: every widget and its grid position.
158
+ */
159
+ exports.DashboardDefinition = (0, zod_js_1.discriminatedUnion)("version", [
160
+ v4_1.z.object({
161
+ version: v4_1.z.literal("1"),
162
+ layout: v4_1.z.array(exports.DashboardLayoutItem),
163
+ widgets: v4_1.z.record(v4_1.z.string(), exports.DashboardStoredWidget),
164
+ }),
165
+ ]);
166
+ exports.DashboardWidgetPosition = v4_1.z.object({
167
+ x: v4_1.z.number().int().min(0).max(11),
168
+ y: v4_1.z.number().int().min(0),
169
+ w: v4_1.z.number().int().min(1).max(12),
170
+ h: v4_1.z.number().int().min(1),
171
+ });
172
+ /**
173
+ * A widget as the dashboards API reads and writes it.
174
+ */
175
+ exports.DashboardWidget = v4_1.z.object({
176
+ id: v4_1.z.string(),
177
+ title: v4_1.z.string(),
178
+ query: v4_1.z.string(),
179
+ display: exports.DashboardWidgetDisplay,
180
+ fillGaps: v4_1.z.boolean().optional(),
181
+ position: exports.DashboardWidgetPosition,
182
+ });
183
+ /**
184
+ * A custom dashboard as the dashboards API returns it.
185
+ */
186
+ exports.DashboardObject = v4_1.z.object({
187
+ id: v4_1.z.string(),
188
+ title: v4_1.z.string(),
189
+ description: v4_1.z.string(),
190
+ /** Changes on every write. Send it back as `revision` to reject a write that would overwrite someone else's change. */
191
+ revision: v4_1.z.string(),
192
+ createdAt: v4_1.z.coerce.date(),
193
+ updatedAt: v4_1.z.coerce.date(),
194
+ widgets: v4_1.z.array(exports.DashboardWidget),
195
+ });
196
+ const DashboardWidgetTitle = v4_1.z.string().trim().min(1).max(200);
197
+ exports.DashboardWidgetInput = v4_1.z.strictObject({
198
+ /** Omit to generate one. Must be unique within the dashboard. */
199
+ id: v4_1.z
200
+ .string()
201
+ .regex(/^[A-Za-z0-9_-]{1,64}$/, "id may only contain letters, numbers, _ and -")
202
+ .optional(),
203
+ title: DashboardWidgetTitle,
204
+ /** A TRQL query. Required unless `display.type` is `title`. */
205
+ query: v4_1.z.string().default(""),
206
+ display: exports.DashboardWidgetDisplay,
207
+ fillGaps: v4_1.z.boolean().optional(),
208
+ /** Omit to place the widget full width below the existing widgets. */
209
+ position: exports.DashboardWidgetPosition.optional(),
210
+ });
211
+ const DashboardTitle = v4_1.z.string().trim().min(1).max(200);
212
+ const DashboardDescription = v4_1.z.string().max(2000);
213
+ exports.CreateDashboardRequestBody = v4_1.z.strictObject({
214
+ title: DashboardTitle,
215
+ description: DashboardDescription.optional(),
216
+ widgets: v4_1.z.array(exports.DashboardWidgetInput).optional(),
217
+ });
218
+ exports.UpdateDashboardRequestBody = v4_1.z.strictObject({
219
+ title: DashboardTitle.optional(),
220
+ description: DashboardDescription.optional(),
221
+ revision: v4_1.z.string().optional(),
222
+ });
223
+ exports.ReplaceDashboardRequestBody = v4_1.z.strictObject({
224
+ title: DashboardTitle.optional(),
225
+ description: DashboardDescription.optional(),
226
+ widgets: v4_1.z.array(exports.DashboardWidgetInput),
227
+ revision: v4_1.z.string().optional(),
228
+ });
229
+ exports.AddDashboardWidgetRequestBody = exports.DashboardWidgetInput.extend({
230
+ revision: v4_1.z.string().optional(),
231
+ });
232
+ exports.UpdateDashboardWidgetRequestBody = v4_1.z.strictObject({
233
+ title: DashboardWidgetTitle.optional(),
234
+ query: v4_1.z.string().optional(),
235
+ display: exports.DashboardWidgetDisplay.optional(),
236
+ fillGaps: v4_1.z.boolean().optional(),
237
+ position: exports.DashboardWidgetPosition.optional(),
238
+ revision: v4_1.z.string().optional(),
239
+ });
240
+ exports.AddDashboardWidgetResponseBody = v4_1.z.object({
241
+ widgetId: v4_1.z.string(),
242
+ dashboard: exports.DashboardObject,
243
+ });
244
+ exports.DeleteDashboardResponseBody = v4_1.z.object({ id: v4_1.z.string() });
90
245
  // ---------------------------------------------------------------------------
91
246
  // Query table row types
92
247
  // ---------------------------------------------------------------------------
@@ -1 +1 @@
1
- {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/v3/schemas/query.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAC3B,4CAAqD;AAIrD;;GAEG;AACU,QAAA,uBAAuB,GAAG,MAAC,CAAC,MAAM,CAAC;IAC9C,KAAK,EAAE,MAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,MAAC,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IAChF,MAAM,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC5B,IAAI,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC1B,EAAE,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IACxB,MAAM,EAAE,MAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC;CAChD,CAAC,CAAC;AAIH;;GAEG;AACU,QAAA,4BAA4B,GAAG,MAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,MAAC,CAAC,OAAO,CAAC,MAAM,CAAC;IACzB,OAAO,EAAE,MAAC,CAAC,KAAK,CAAC,MAAC,CAAC,MAAM,CAAC,MAAC,CAAC,MAAM,EAAE,EAAE,MAAC,CAAC,GAAG,EAAE,CAAC,CAAC;CAChD,CAAC,CAAC;AAIH;;GAEG;AACU,QAAA,2BAA2B,GAAG,MAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,MAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IACxB,OAAO,EAAE,MAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAC;AAIU,QAAA,wBAAwB,GAAG,IAAA,2BAAkB,EAAC,QAAQ,EAAE;IACnE,QAAA,4BAA4B;IAC5B,QAAA,2BAA2B;CAC5B,CAAC,CAAC;AA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oBAAoB,CAAC,MAAM,CAAC;IACvE,QAAQ,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAGU,QAAA,gCAAgC,GAAG,MAAC,CAAC,YAAY,CAAC;IAC7D,KAAK,EAAE,oBAAoB,CAAC,QAAQ,EAAE;IACtC,KAAK,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,OAAO,EAAE,QAAA,sBAAsB,CAAC,QAAQ,EAAE;IAC1C,QAAQ,EAAE,MAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,QAAA,uBAAuB,CAAC,QAAQ,EAAE;IAC5C,QAAQ,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC;AAGU,QAAA,8BAA8B,GAAG,MAAC,CAAC,MAAM,CAAC;IACrD,QAAQ,EAAE,MAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,QAAA,eAAe;CAC3B,CAAC,CAAC;AAGU,QAAA,2BAA2B,GAAG,MAAC,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,MAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAGxE,8EAA8E;AAC9E,wBAAwB;AACxB,8EAA8E;AAE9E;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,SAAS;IACT,QAAQ;IACR,iBAAiB;IACjB,UAAU;IACV,WAAW;IACX,SAAS;IACT,cAAc;IACd,QAAQ;IACR,UAAU;IACV,aAAa;IACb,WAAW;IACX,QAAQ;IACR,gBAAgB;IAChB,SAAS;IACT,SAAS;IACT,WAAW;CACH,CAAC"}
@@ -99,9 +99,9 @@ export declare const WebhookEndpointResource: z.ZodObject<{
99
99
  filePath: z.ZodString;
100
100
  exportName: z.ZodOptional<z.ZodString>;
101
101
  source: z.ZodString;
102
- verifierArtifact: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
102
+ verifierArtifact: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
103
103
  kind: z.ZodLiteral<"config">;
104
- config: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
104
+ config: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
105
105
  scheme: z.ZodLiteral<"hmac">;
106
106
  algorithm: z.ZodEnum<{
107
107
  sha1: "sha1";
@@ -119,9 +119,10 @@ export declare const WebhookEndpointResource: z.ZodObject<{
119
119
  trim: z.ZodOptional<z.ZodBoolean>;
120
120
  }, z.core.$strip>>;
121
121
  timestamp: z.ZodOptional<z.ZodObject<{
122
- source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
122
+ source: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
123
123
  from: z.ZodLiteral<"header">;
124
124
  name: z.ZodString;
125
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
125
126
  }, z.core.$strip>, z.ZodObject<{
126
127
  from: z.ZodLiteral<"signatureField">;
127
128
  field: z.ZodString;
@@ -138,13 +139,19 @@ export declare const WebhookEndpointResource: z.ZodObject<{
138
139
  milliseconds: "milliseconds";
139
140
  seconds: "seconds";
140
141
  }>>;
142
+ format: z.ZodOptional<z.ZodEnum<{
143
+ "http-date": "http-date";
144
+ iso8601: "iso8601";
145
+ unix: "unix";
146
+ }>>;
141
147
  toleranceSeconds: z.ZodOptional<z.ZodNumber>;
142
148
  }, z.core.$strip>>;
143
149
  signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
144
150
  template: z.ZodString;
145
- vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
151
+ vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
146
152
  from: z.ZodLiteral<"header">;
147
153
  name: z.ZodString;
154
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
148
155
  }, z.core.$strip>, z.ZodObject<{
149
156
  from: z.ZodLiteral<"signatureField">;
150
157
  field: z.ZodString;
@@ -224,9 +231,10 @@ export declare const WebhookEndpointResource: z.ZodObject<{
224
231
  trim: z.ZodOptional<z.ZodBoolean>;
225
232
  }, z.core.$strip>>;
226
233
  timestamp: z.ZodOptional<z.ZodObject<{
227
- source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
234
+ source: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
228
235
  from: z.ZodLiteral<"header">;
229
236
  name: z.ZodString;
237
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
230
238
  }, z.core.$strip>, z.ZodObject<{
231
239
  from: z.ZodLiteral<"signatureField">;
232
240
  field: z.ZodString;
@@ -243,13 +251,19 @@ export declare const WebhookEndpointResource: z.ZodObject<{
243
251
  milliseconds: "milliseconds";
244
252
  seconds: "seconds";
245
253
  }>>;
254
+ format: z.ZodOptional<z.ZodEnum<{
255
+ "http-date": "http-date";
256
+ iso8601: "iso8601";
257
+ unix: "unix";
258
+ }>>;
246
259
  toleranceSeconds: z.ZodOptional<z.ZodNumber>;
247
260
  }, z.core.$strip>>;
248
261
  signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
249
262
  template: z.ZodString;
250
- vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
263
+ vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
251
264
  from: z.ZodLiteral<"header">;
252
265
  name: z.ZodString;
266
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
253
267
  }, z.core.$strip>, z.ZodObject<{
254
268
  from: z.ZodLiteral<"signatureField">;
255
269
  field: z.ZodString;
@@ -300,7 +314,7 @@ export declare const WebhookEndpointResource: z.ZodObject<{
300
314
  }, z.core.$strip>, z.ZodObject<{
301
315
  kind: z.ZodLiteral<"preset">;
302
316
  preset: z.ZodString;
303
- config: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
317
+ config: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
304
318
  scheme: z.ZodLiteral<"hmac">;
305
319
  algorithm: z.ZodEnum<{
306
320
  sha1: "sha1";
@@ -318,9 +332,10 @@ export declare const WebhookEndpointResource: z.ZodObject<{
318
332
  trim: z.ZodOptional<z.ZodBoolean>;
319
333
  }, z.core.$strip>>;
320
334
  timestamp: z.ZodOptional<z.ZodObject<{
321
- source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
335
+ source: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
322
336
  from: z.ZodLiteral<"header">;
323
337
  name: z.ZodString;
338
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
324
339
  }, z.core.$strip>, z.ZodObject<{
325
340
  from: z.ZodLiteral<"signatureField">;
326
341
  field: z.ZodString;
@@ -337,13 +352,19 @@ export declare const WebhookEndpointResource: z.ZodObject<{
337
352
  milliseconds: "milliseconds";
338
353
  seconds: "seconds";
339
354
  }>>;
355
+ format: z.ZodOptional<z.ZodEnum<{
356
+ "http-date": "http-date";
357
+ iso8601: "iso8601";
358
+ unix: "unix";
359
+ }>>;
340
360
  toleranceSeconds: z.ZodOptional<z.ZodNumber>;
341
361
  }, z.core.$strip>>;
342
362
  signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
343
363
  template: z.ZodString;
344
- vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
364
+ vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
345
365
  from: z.ZodLiteral<"header">;
346
366
  name: z.ZodString;
367
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
347
368
  }, z.core.$strip>, z.ZodObject<{
348
369
  from: z.ZodLiteral<"signatureField">;
349
370
  field: z.ZodString;
@@ -423,9 +444,10 @@ export declare const WebhookEndpointResource: z.ZodObject<{
423
444
  trim: z.ZodOptional<z.ZodBoolean>;
424
445
  }, z.core.$strip>>;
425
446
  timestamp: z.ZodOptional<z.ZodObject<{
426
- source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
447
+ source: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
427
448
  from: z.ZodLiteral<"header">;
428
449
  name: z.ZodString;
450
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
429
451
  }, z.core.$strip>, z.ZodObject<{
430
452
  from: z.ZodLiteral<"signatureField">;
431
453
  field: z.ZodString;
@@ -442,13 +464,19 @@ export declare const WebhookEndpointResource: z.ZodObject<{
442
464
  milliseconds: "milliseconds";
443
465
  seconds: "seconds";
444
466
  }>>;
467
+ format: z.ZodOptional<z.ZodEnum<{
468
+ "http-date": "http-date";
469
+ iso8601: "iso8601";
470
+ unix: "unix";
471
+ }>>;
445
472
  toleranceSeconds: z.ZodOptional<z.ZodNumber>;
446
473
  }, z.core.$strip>>;
447
474
  signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
448
475
  template: z.ZodString;
449
- vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
476
+ vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
450
477
  from: z.ZodLiteral<"header">;
451
478
  name: z.ZodString;
479
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
452
480
  }, z.core.$strip>, z.ZodObject<{
453
481
  from: z.ZodLiteral<"signatureField">;
454
482
  field: z.ZodString;
@@ -512,7 +540,7 @@ export declare const WebhookEndpointResource: z.ZodObject<{
512
540
  export type WebhookEndpointResource = z.infer<typeof WebhookEndpointResource>;
513
541
  export declare const WebhookSubscriberResource: z.ZodObject<{
514
542
  endpointId: z.ZodString;
515
- target: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
543
+ target: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
516
544
  type: z.ZodLiteral<"task">;
517
545
  id: z.ZodString;
518
546
  taskId: z.ZodString;
@@ -625,9 +653,9 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
625
653
  filePath: z.ZodString;
626
654
  exportName: z.ZodOptional<z.ZodString>;
627
655
  source: z.ZodString;
628
- verifierArtifact: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
656
+ verifierArtifact: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
629
657
  kind: z.ZodLiteral<"config">;
630
- config: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
658
+ config: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
631
659
  scheme: z.ZodLiteral<"hmac">;
632
660
  algorithm: z.ZodEnum<{
633
661
  sha1: "sha1";
@@ -645,9 +673,10 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
645
673
  trim: z.ZodOptional<z.ZodBoolean>;
646
674
  }, z.core.$strip>>;
647
675
  timestamp: z.ZodOptional<z.ZodObject<{
648
- source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
676
+ source: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
649
677
  from: z.ZodLiteral<"header">;
650
678
  name: z.ZodString;
679
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
651
680
  }, z.core.$strip>, z.ZodObject<{
652
681
  from: z.ZodLiteral<"signatureField">;
653
682
  field: z.ZodString;
@@ -664,13 +693,19 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
664
693
  milliseconds: "milliseconds";
665
694
  seconds: "seconds";
666
695
  }>>;
696
+ format: z.ZodOptional<z.ZodEnum<{
697
+ "http-date": "http-date";
698
+ iso8601: "iso8601";
699
+ unix: "unix";
700
+ }>>;
667
701
  toleranceSeconds: z.ZodOptional<z.ZodNumber>;
668
702
  }, z.core.$strip>>;
669
703
  signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
670
704
  template: z.ZodString;
671
- vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
705
+ vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
672
706
  from: z.ZodLiteral<"header">;
673
707
  name: z.ZodString;
708
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
674
709
  }, z.core.$strip>, z.ZodObject<{
675
710
  from: z.ZodLiteral<"signatureField">;
676
711
  field: z.ZodString;
@@ -750,9 +785,10 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
750
785
  trim: z.ZodOptional<z.ZodBoolean>;
751
786
  }, z.core.$strip>>;
752
787
  timestamp: z.ZodOptional<z.ZodObject<{
753
- source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
788
+ source: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
754
789
  from: z.ZodLiteral<"header">;
755
790
  name: z.ZodString;
791
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
756
792
  }, z.core.$strip>, z.ZodObject<{
757
793
  from: z.ZodLiteral<"signatureField">;
758
794
  field: z.ZodString;
@@ -769,13 +805,19 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
769
805
  milliseconds: "milliseconds";
770
806
  seconds: "seconds";
771
807
  }>>;
808
+ format: z.ZodOptional<z.ZodEnum<{
809
+ "http-date": "http-date";
810
+ iso8601: "iso8601";
811
+ unix: "unix";
812
+ }>>;
772
813
  toleranceSeconds: z.ZodOptional<z.ZodNumber>;
773
814
  }, z.core.$strip>>;
774
815
  signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
775
816
  template: z.ZodString;
776
- vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
817
+ vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
777
818
  from: z.ZodLiteral<"header">;
778
819
  name: z.ZodString;
820
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
779
821
  }, z.core.$strip>, z.ZodObject<{
780
822
  from: z.ZodLiteral<"signatureField">;
781
823
  field: z.ZodString;
@@ -826,7 +868,7 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
826
868
  }, z.core.$strip>, z.ZodObject<{
827
869
  kind: z.ZodLiteral<"preset">;
828
870
  preset: z.ZodString;
829
- config: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
871
+ config: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
830
872
  scheme: z.ZodLiteral<"hmac">;
831
873
  algorithm: z.ZodEnum<{
832
874
  sha1: "sha1";
@@ -844,9 +886,10 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
844
886
  trim: z.ZodOptional<z.ZodBoolean>;
845
887
  }, z.core.$strip>>;
846
888
  timestamp: z.ZodOptional<z.ZodObject<{
847
- source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
889
+ source: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
848
890
  from: z.ZodLiteral<"header">;
849
891
  name: z.ZodString;
892
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
850
893
  }, z.core.$strip>, z.ZodObject<{
851
894
  from: z.ZodLiteral<"signatureField">;
852
895
  field: z.ZodString;
@@ -863,13 +906,19 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
863
906
  milliseconds: "milliseconds";
864
907
  seconds: "seconds";
865
908
  }>>;
909
+ format: z.ZodOptional<z.ZodEnum<{
910
+ "http-date": "http-date";
911
+ iso8601: "iso8601";
912
+ unix: "unix";
913
+ }>>;
866
914
  toleranceSeconds: z.ZodOptional<z.ZodNumber>;
867
915
  }, z.core.$strip>>;
868
916
  signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
869
917
  template: z.ZodString;
870
- vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
918
+ vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
871
919
  from: z.ZodLiteral<"header">;
872
920
  name: z.ZodString;
921
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
873
922
  }, z.core.$strip>, z.ZodObject<{
874
923
  from: z.ZodLiteral<"signatureField">;
875
924
  field: z.ZodString;
@@ -949,9 +998,10 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
949
998
  trim: z.ZodOptional<z.ZodBoolean>;
950
999
  }, z.core.$strip>>;
951
1000
  timestamp: z.ZodOptional<z.ZodObject<{
952
- source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
1001
+ source: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
953
1002
  from: z.ZodLiteral<"header">;
954
1003
  name: z.ZodString;
1004
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
955
1005
  }, z.core.$strip>, z.ZodObject<{
956
1006
  from: z.ZodLiteral<"signatureField">;
957
1007
  field: z.ZodString;
@@ -968,13 +1018,19 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
968
1018
  milliseconds: "milliseconds";
969
1019
  seconds: "seconds";
970
1020
  }>>;
1021
+ format: z.ZodOptional<z.ZodEnum<{
1022
+ "http-date": "http-date";
1023
+ iso8601: "iso8601";
1024
+ unix: "unix";
1025
+ }>>;
971
1026
  toleranceSeconds: z.ZodOptional<z.ZodNumber>;
972
1027
  }, z.core.$strip>>;
973
1028
  signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
974
1029
  template: z.ZodString;
975
- vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
1030
+ vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
976
1031
  from: z.ZodLiteral<"header">;
977
1032
  name: z.ZodString;
1033
+ fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
978
1034
  }, z.core.$strip>, z.ZodObject<{
979
1035
  from: z.ZodLiteral<"signatureField">;
980
1036
  field: z.ZodString;
@@ -1037,7 +1093,7 @@ export declare const BackgroundWorkerMetadata: z.ZodObject<{
1037
1093
  }, z.core.$strip>>>;
1038
1094
  webhookSubscribers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1039
1095
  endpointId: z.ZodString;
1040
- target: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
1096
+ target: import("./index.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
1041
1097
  type: z.ZodLiteral<"task">;
1042
1098
  id: z.ZodString;
1043
1099
  taskId: z.ZodString;