@greatwait/contracts 0.2.2 → 0.3.0

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 (79) hide show
  1. package/dist/attempt-search.d.ts +235 -0
  2. package/dist/attempt-search.js +98 -0
  3. package/dist/billing.d.ts +4 -4
  4. package/dist/bulk-operations.d.ts +1832 -0
  5. package/dist/bulk-operations.js +610 -0
  6. package/dist/configuration-bounds.d.ts +12 -0
  7. package/dist/configuration-bounds.js +12 -0
  8. package/dist/configuration.d.ts +71 -0
  9. package/dist/configuration.js +204 -0
  10. package/dist/data-export.d.ts +3 -3
  11. package/dist/effective-limits.d.ts +4 -4
  12. package/dist/execution-selection.d.ts +48 -0
  13. package/dist/execution-selection.js +21 -0
  14. package/dist/http-request.d.ts +1 -1
  15. package/dist/identifiers.d.ts +2 -0
  16. package/dist/identifiers.js +2 -0
  17. package/dist/identity.d.ts +3 -3
  18. package/dist/index.d.ts +5 -0
  19. package/dist/index.js +5 -0
  20. package/dist/occurrence-states.d.ts +14 -0
  21. package/dist/occurrence-states.js +13 -0
  22. package/dist/operations.d.ts +573 -89
  23. package/dist/operations.js +67 -0
  24. package/dist/protocol.d.ts +19 -5
  25. package/dist/protocol.js +14 -7
  26. package/dist/schedule-selection.d.ts +28 -0
  27. package/dist/schedule-selection.js +48 -0
  28. package/dist/scheduling-records.d.ts +20 -20
  29. package/dist/scheduling.d.ts +64 -63
  30. package/dist/scheduling.js +10 -37
  31. package/dist/test-sink.d.ts +6 -6
  32. package/dist/usage.d.ts +3 -3
  33. package/generated/v1/examples/attempts.search.response.json +42 -0
  34. package/generated/v1/examples/bulk.cancel.request.json +3 -0
  35. package/generated/v1/examples/bulk.cancel.response.json +59 -0
  36. package/generated/v1/examples/bulk.confirm.request.json +5 -0
  37. package/generated/v1/examples/bulk.confirm.response.json +59 -0
  38. package/generated/v1/examples/bulk.items.response.json +3 -0
  39. package/generated/v1/examples/bulk.list.response.json +63 -0
  40. package/generated/v1/examples/bulk.pause.request.json +3 -0
  41. package/generated/v1/examples/bulk.pause.response.json +59 -0
  42. package/generated/v1/examples/bulk.preview.request.json +12 -0
  43. package/generated/v1/examples/bulk.preview.response.json +59 -0
  44. package/generated/v1/examples/bulk.read.response.json +59 -0
  45. package/generated/v1/examples/bulk.resume.request.json +3 -0
  46. package/generated/v1/examples/bulk.resume.response.json +59 -0
  47. package/generated/v1/manifest.json +243 -1
  48. package/generated/v1/openapi.json +21569 -2418
  49. package/generated/v1/policy-matrix.json +63 -0
  50. package/generated/v1/schemas/attempts.search.query.json +96 -0
  51. package/generated/v1/schemas/attempts.search.response.json +271 -0
  52. package/generated/v1/schemas/bulk.cancel.request.json +13 -0
  53. package/generated/v1/schemas/bulk.cancel.response.json +1717 -0
  54. package/generated/v1/schemas/bulk.confirm.request-headers.json +13 -0
  55. package/generated/v1/schemas/bulk.confirm.request.json +19 -0
  56. package/generated/v1/schemas/bulk.confirm.response.json +1717 -0
  57. package/generated/v1/schemas/bulk.items.query.json +29 -0
  58. package/generated/v1/schemas/bulk.items.response.json +194 -0
  59. package/generated/v1/schemas/bulk.list.query.json +32 -0
  60. package/generated/v1/schemas/bulk.list.response.json +1789 -0
  61. package/generated/v1/schemas/bulk.pause.request.json +13 -0
  62. package/generated/v1/schemas/bulk.pause.response.json +1717 -0
  63. package/generated/v1/schemas/bulk.preview.request.json +1218 -0
  64. package/generated/v1/schemas/bulk.preview.response.json +1717 -0
  65. package/generated/v1/schemas/bulk.read.response.json +1717 -0
  66. package/generated/v1/schemas/bulk.resume.request.json +13 -0
  67. package/generated/v1/schemas/bulk.resume.response.json +1717 -0
  68. package/generated/v1/schemas/executions.list.query.json +33 -12
  69. package/generated/v1/schemas/schedules.list.query.json +32 -3
  70. package/generated/v1/snippets/attempts.search.json +6 -0
  71. package/generated/v1/snippets/bulk.cancel.json +6 -0
  72. package/generated/v1/snippets/bulk.confirm.json +6 -0
  73. package/generated/v1/snippets/bulk.items.json +6 -0
  74. package/generated/v1/snippets/bulk.list.json +6 -0
  75. package/generated/v1/snippets/bulk.pause.json +6 -0
  76. package/generated/v1/snippets/bulk.preview.json +6 -0
  77. package/generated/v1/snippets/bulk.read.json +6 -0
  78. package/generated/v1/snippets/bulk.resume.json +6 -0
  79. package/package.json +1 -1
@@ -0,0 +1,1832 @@
1
+ import { z } from "./zod.js";
2
+ export declare const BULK_OPERATIONS: readonly ["retry", "cancel", "reschedule", "pause", "resume"];
3
+ export declare const bulkOperationSchema: import("zod").ZodEnum<{
4
+ resume: "resume";
5
+ cancel: "cancel";
6
+ pause: "pause";
7
+ retry: "retry";
8
+ reschedule: "reschedule";
9
+ }>;
10
+ export type BulkOperation = z.infer<typeof bulkOperationSchema>;
11
+ export declare const bulkTargetSchema: import("zod").ZodEnum<{
12
+ schedules: "schedules";
13
+ parent_schedules: "parent_schedules";
14
+ occurrences: "occurrences";
15
+ }>;
16
+ export type BulkTarget = z.infer<typeof bulkTargetSchema>;
17
+ /** The action registry owns targets, permissions and one canonical effect path. */
18
+ export declare const BULK_OPERATION_REGISTRY: Readonly<{
19
+ readonly retry: {
20
+ readonly targets: readonly ["occurrences"];
21
+ readonly scopes: readonly ["occurrences:read", "occurrences:redeliver"];
22
+ readonly effect: "occurrences.redeliver";
23
+ readonly duplicateEffectAcknowledgment: true;
24
+ };
25
+ readonly cancel: {
26
+ readonly targets: readonly ["schedules", "parent_schedules"];
27
+ readonly scopes: readonly ["schedules:read", "schedules:write"];
28
+ readonly effect: "schedules.cancel";
29
+ readonly duplicateEffectAcknowledgment: false;
30
+ };
31
+ readonly reschedule: {
32
+ readonly targets: readonly ["schedules", "parent_schedules"];
33
+ readonly scopes: readonly ["schedules:read", "schedules:write"];
34
+ readonly effect: "schedules.replace";
35
+ readonly duplicateEffectAcknowledgment: false;
36
+ };
37
+ readonly pause: {
38
+ readonly targets: readonly ["schedules", "parent_schedules"];
39
+ readonly scopes: readonly ["schedules:read", "schedules:write"];
40
+ readonly effect: "schedules.pause";
41
+ readonly duplicateEffectAcknowledgment: false;
42
+ };
43
+ readonly resume: {
44
+ readonly targets: readonly ["schedules", "parent_schedules"];
45
+ readonly scopes: readonly ["schedules:read", "schedules:write"];
46
+ readonly effect: "schedules.resume";
47
+ readonly duplicateEffectAcknowledgment: false;
48
+ };
49
+ }>;
50
+ export declare const bulkSelectionSchema: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
51
+ kind: import("zod").ZodLiteral<"ids">;
52
+ resource: import("zod").ZodLiteral<"schedules">;
53
+ ids: import("zod").ZodArray<import("zod").ZodString>;
54
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
55
+ kind: import("zod").ZodLiteral<"ids">;
56
+ resource: import("zod").ZodLiteral<"executions">;
57
+ ids: import("zod").ZodArray<import("zod").ZodString>;
58
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
59
+ kind: import("zod").ZodLiteral<"all_matching">;
60
+ resource: import("zod").ZodLiteral<"schedules">;
61
+ filter: import("zod").ZodObject<{
62
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
63
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
64
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
65
+ cancelled: "cancelled";
66
+ active: "active";
67
+ paused: "paused";
68
+ completed: "completed";
69
+ }>>;
70
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
71
+ at: "at";
72
+ every: "every";
73
+ cron: "cron";
74
+ }>>;
75
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
76
+ text: import("zod").ZodOptional<import("zod").ZodString>;
77
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
78
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
79
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
80
+ }, import("zod/v4/core").$strict>;
81
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
82
+ kind: import("zod").ZodLiteral<"all_matching">;
83
+ resource: import("zod").ZodLiteral<"executions">;
84
+ filter: import("zod").ZodObject<{
85
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
86
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
87
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
88
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
89
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
90
+ cancelled: "cancelled";
91
+ active: "active";
92
+ paused: "paused";
93
+ completed: "completed";
94
+ }>>;
95
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
96
+ at: "at";
97
+ every: "every";
98
+ cron: "cron";
99
+ }>>;
100
+ text: import("zod").ZodOptional<import("zod").ZodString>;
101
+ from: import("zod").ZodOptional<import("zod").ZodString>;
102
+ to: import("zod").ZodOptional<import("zod").ZodString>;
103
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
104
+ planned: "planned";
105
+ due: "due";
106
+ dispatching: "dispatching";
107
+ retry_wait: "retry_wait";
108
+ ambiguous: "ambiguous";
109
+ succeeded: "succeeded";
110
+ terminal_failed: "terminal_failed";
111
+ cancelled: "cancelled";
112
+ skipped_stale: "skipped_stale";
113
+ }>>;
114
+ }, import("zod/v4/core").$strict>;
115
+ }, import("zod/v4/core").$strict>]>;
116
+ export type BulkSelection = z.infer<typeof bulkSelectionSchema>;
117
+ export declare function normalizeBulkSelection(selection: BulkSelection): BulkSelection;
118
+ export declare const bulkRescheduleParametersSchema: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
119
+ mode: import("zod").ZodLiteral<"absolute">;
120
+ at: import("zod").ZodString;
121
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
122
+ mode: import("zod").ZodLiteral<"shift_existing">;
123
+ seconds: import("zod").ZodNumber;
124
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
125
+ mode: import("zod").ZodLiteral<"delay_from_reference">;
126
+ seconds: import("zod").ZodNumber;
127
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
128
+ mode: import("zod").ZodLiteral<"definition">;
129
+ definition: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
130
+ everySeconds: import("zod").ZodNumber;
131
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
132
+ cron: import("zod").ZodString;
133
+ timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
134
+ }, import("zod/v4/core").$strict>]>;
135
+ }, import("zod/v4/core").$strict>], "mode">;
136
+ export declare const bulkPreviewRequestSchema: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
137
+ operation: import("zod").ZodLiteral<"retry">;
138
+ parameters: import("zod").ZodObject<{
139
+ includeSucceeded: import("zod").ZodOptional<import("zod").ZodBoolean>;
140
+ }, import("zod/v4/core").$strict>;
141
+ target: import("zod").ZodEnum<{
142
+ schedules: "schedules";
143
+ parent_schedules: "parent_schedules";
144
+ occurrences: "occurrences";
145
+ }>;
146
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
147
+ kind: import("zod").ZodLiteral<"ids">;
148
+ resource: import("zod").ZodLiteral<"schedules">;
149
+ ids: import("zod").ZodArray<import("zod").ZodString>;
150
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
151
+ kind: import("zod").ZodLiteral<"ids">;
152
+ resource: import("zod").ZodLiteral<"executions">;
153
+ ids: import("zod").ZodArray<import("zod").ZodString>;
154
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
155
+ kind: import("zod").ZodLiteral<"all_matching">;
156
+ resource: import("zod").ZodLiteral<"schedules">;
157
+ filter: import("zod").ZodObject<{
158
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
159
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
160
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
161
+ cancelled: "cancelled";
162
+ active: "active";
163
+ paused: "paused";
164
+ completed: "completed";
165
+ }>>;
166
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
167
+ at: "at";
168
+ every: "every";
169
+ cron: "cron";
170
+ }>>;
171
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
172
+ text: import("zod").ZodOptional<import("zod").ZodString>;
173
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
174
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
175
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
176
+ }, import("zod/v4/core").$strict>;
177
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
178
+ kind: import("zod").ZodLiteral<"all_matching">;
179
+ resource: import("zod").ZodLiteral<"executions">;
180
+ filter: import("zod").ZodObject<{
181
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
182
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
183
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
184
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
185
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
186
+ cancelled: "cancelled";
187
+ active: "active";
188
+ paused: "paused";
189
+ completed: "completed";
190
+ }>>;
191
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
192
+ at: "at";
193
+ every: "every";
194
+ cron: "cron";
195
+ }>>;
196
+ text: import("zod").ZodOptional<import("zod").ZodString>;
197
+ from: import("zod").ZodOptional<import("zod").ZodString>;
198
+ to: import("zod").ZodOptional<import("zod").ZodString>;
199
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
200
+ planned: "planned";
201
+ due: "due";
202
+ dispatching: "dispatching";
203
+ retry_wait: "retry_wait";
204
+ ambiguous: "ambiguous";
205
+ succeeded: "succeeded";
206
+ terminal_failed: "terminal_failed";
207
+ cancelled: "cancelled";
208
+ skipped_stale: "skipped_stale";
209
+ }>>;
210
+ }, import("zod/v4/core").$strict>;
211
+ }, import("zod/v4/core").$strict>]>;
212
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
213
+ operation: import("zod").ZodLiteral<"reschedule">;
214
+ parameters: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
215
+ mode: import("zod").ZodLiteral<"absolute">;
216
+ at: import("zod").ZodString;
217
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
218
+ mode: import("zod").ZodLiteral<"shift_existing">;
219
+ seconds: import("zod").ZodNumber;
220
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
221
+ mode: import("zod").ZodLiteral<"delay_from_reference">;
222
+ seconds: import("zod").ZodNumber;
223
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
224
+ mode: import("zod").ZodLiteral<"definition">;
225
+ definition: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
226
+ everySeconds: import("zod").ZodNumber;
227
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
228
+ cron: import("zod").ZodString;
229
+ timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
230
+ }, import("zod/v4/core").$strict>]>;
231
+ }, import("zod/v4/core").$strict>], "mode">;
232
+ target: import("zod").ZodEnum<{
233
+ schedules: "schedules";
234
+ parent_schedules: "parent_schedules";
235
+ occurrences: "occurrences";
236
+ }>;
237
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
238
+ kind: import("zod").ZodLiteral<"ids">;
239
+ resource: import("zod").ZodLiteral<"schedules">;
240
+ ids: import("zod").ZodArray<import("zod").ZodString>;
241
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
242
+ kind: import("zod").ZodLiteral<"ids">;
243
+ resource: import("zod").ZodLiteral<"executions">;
244
+ ids: import("zod").ZodArray<import("zod").ZodString>;
245
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
246
+ kind: import("zod").ZodLiteral<"all_matching">;
247
+ resource: import("zod").ZodLiteral<"schedules">;
248
+ filter: import("zod").ZodObject<{
249
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
250
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
251
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
252
+ cancelled: "cancelled";
253
+ active: "active";
254
+ paused: "paused";
255
+ completed: "completed";
256
+ }>>;
257
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
258
+ at: "at";
259
+ every: "every";
260
+ cron: "cron";
261
+ }>>;
262
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
263
+ text: import("zod").ZodOptional<import("zod").ZodString>;
264
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
265
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
266
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
267
+ }, import("zod/v4/core").$strict>;
268
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
269
+ kind: import("zod").ZodLiteral<"all_matching">;
270
+ resource: import("zod").ZodLiteral<"executions">;
271
+ filter: import("zod").ZodObject<{
272
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
273
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
274
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
275
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
276
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
277
+ cancelled: "cancelled";
278
+ active: "active";
279
+ paused: "paused";
280
+ completed: "completed";
281
+ }>>;
282
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
283
+ at: "at";
284
+ every: "every";
285
+ cron: "cron";
286
+ }>>;
287
+ text: import("zod").ZodOptional<import("zod").ZodString>;
288
+ from: import("zod").ZodOptional<import("zod").ZodString>;
289
+ to: import("zod").ZodOptional<import("zod").ZodString>;
290
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
291
+ planned: "planned";
292
+ due: "due";
293
+ dispatching: "dispatching";
294
+ retry_wait: "retry_wait";
295
+ ambiguous: "ambiguous";
296
+ succeeded: "succeeded";
297
+ terminal_failed: "terminal_failed";
298
+ cancelled: "cancelled";
299
+ skipped_stale: "skipped_stale";
300
+ }>>;
301
+ }, import("zod/v4/core").$strict>;
302
+ }, import("zod/v4/core").$strict>]>;
303
+ }, import("zod/v4/core").$strict>, ...import("zod").ZodObject<{
304
+ operation: import("zod").ZodLiteral<"resume" | "cancel" | "pause">;
305
+ parameters: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
306
+ target: import("zod").ZodEnum<{
307
+ schedules: "schedules";
308
+ parent_schedules: "parent_schedules";
309
+ occurrences: "occurrences";
310
+ }>;
311
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
312
+ kind: import("zod").ZodLiteral<"ids">;
313
+ resource: import("zod").ZodLiteral<"schedules">;
314
+ ids: import("zod").ZodArray<import("zod").ZodString>;
315
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
316
+ kind: import("zod").ZodLiteral<"ids">;
317
+ resource: import("zod").ZodLiteral<"executions">;
318
+ ids: import("zod").ZodArray<import("zod").ZodString>;
319
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
320
+ kind: import("zod").ZodLiteral<"all_matching">;
321
+ resource: import("zod").ZodLiteral<"schedules">;
322
+ filter: import("zod").ZodObject<{
323
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
324
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
325
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
326
+ cancelled: "cancelled";
327
+ active: "active";
328
+ paused: "paused";
329
+ completed: "completed";
330
+ }>>;
331
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
332
+ at: "at";
333
+ every: "every";
334
+ cron: "cron";
335
+ }>>;
336
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
337
+ text: import("zod").ZodOptional<import("zod").ZodString>;
338
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
339
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
340
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
341
+ }, import("zod/v4/core").$strict>;
342
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
343
+ kind: import("zod").ZodLiteral<"all_matching">;
344
+ resource: import("zod").ZodLiteral<"executions">;
345
+ filter: import("zod").ZodObject<{
346
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
347
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
348
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
349
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
350
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
351
+ cancelled: "cancelled";
352
+ active: "active";
353
+ paused: "paused";
354
+ completed: "completed";
355
+ }>>;
356
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
357
+ at: "at";
358
+ every: "every";
359
+ cron: "cron";
360
+ }>>;
361
+ text: import("zod").ZodOptional<import("zod").ZodString>;
362
+ from: import("zod").ZodOptional<import("zod").ZodString>;
363
+ to: import("zod").ZodOptional<import("zod").ZodString>;
364
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
365
+ planned: "planned";
366
+ due: "due";
367
+ dispatching: "dispatching";
368
+ retry_wait: "retry_wait";
369
+ ambiguous: "ambiguous";
370
+ succeeded: "succeeded";
371
+ terminal_failed: "terminal_failed";
372
+ cancelled: "cancelled";
373
+ skipped_stale: "skipped_stale";
374
+ }>>;
375
+ }, import("zod/v4/core").$strict>;
376
+ }, import("zod/v4/core").$strict>]>;
377
+ }, import("zod/v4/core").$strict>[]], "operation">;
378
+ export type BulkPreviewRequest = z.infer<typeof bulkPreviewRequestSchema>;
379
+ export type BulkRescheduleParameters = z.infer<typeof bulkRescheduleParametersSchema>;
380
+ export declare const bulkConfirmRequestSchema: import("zod").ZodObject<{
381
+ intentDigest: import("zod").ZodString;
382
+ confirmed: import("zod").ZodLiteral<true>;
383
+ acknowledgeDuplicateEffects: import("zod").ZodBoolean;
384
+ }, import("zod/v4/core").$strict>;
385
+ export type BulkConfirmRequest = z.infer<typeof bulkConfirmRequestSchema>;
386
+ export declare const BULK_JOB_STATES: readonly ["preparing", "awaiting_confirmation", "queued", "running", "paused", "blocked", "completed", "completed_with_failures", "cancelled", "expired", "refused"];
387
+ export declare const bulkJobStateSchema: import("zod").ZodEnum<{
388
+ cancelled: "cancelled";
389
+ paused: "paused";
390
+ completed: "completed";
391
+ expired: "expired";
392
+ blocked: "blocked";
393
+ refused: "refused";
394
+ preparing: "preparing";
395
+ awaiting_confirmation: "awaiting_confirmation";
396
+ queued: "queued";
397
+ running: "running";
398
+ completed_with_failures: "completed_with_failures";
399
+ }>;
400
+ export declare const BULK_ITEM_STATES: readonly ["pending", "running", "succeeded", "no_op", "skipped", "conflicted", "failed", "cancelled"];
401
+ export declare const bulkItemStateSchema: import("zod").ZodEnum<{
402
+ succeeded: "succeeded";
403
+ cancelled: "cancelled";
404
+ failed: "failed";
405
+ pending: "pending";
406
+ skipped: "skipped";
407
+ running: "running";
408
+ conflicted: "conflicted";
409
+ no_op: "no_op";
410
+ }>;
411
+ export declare const BULK_REASON_CODES: readonly ["eligible", "already_active", "already_paused", "already_cancelled", "invalid_state", "unsupported_target", "expired_input", "unauthorized", "concurrently_changed", "past_time", "attempt_limit", "operation_failed", "transient_failure", "selection_too_large", "preparation_incomplete", "preview_expired", "job_expired", "job_cancelled", "quota_exceeded", "spending_limit", "in_flight"];
412
+ export declare const bulkReasonSchema: import("zod").ZodEnum<{
413
+ eligible: "eligible";
414
+ in_flight: "in_flight";
415
+ unauthorized: "unauthorized";
416
+ already_active: "already_active";
417
+ already_paused: "already_paused";
418
+ already_cancelled: "already_cancelled";
419
+ invalid_state: "invalid_state";
420
+ unsupported_target: "unsupported_target";
421
+ expired_input: "expired_input";
422
+ concurrently_changed: "concurrently_changed";
423
+ past_time: "past_time";
424
+ attempt_limit: "attempt_limit";
425
+ operation_failed: "operation_failed";
426
+ transient_failure: "transient_failure";
427
+ selection_too_large: "selection_too_large";
428
+ preparation_incomplete: "preparation_incomplete";
429
+ preview_expired: "preview_expired";
430
+ job_expired: "job_expired";
431
+ job_cancelled: "job_cancelled";
432
+ quota_exceeded: "quota_exceeded";
433
+ spending_limit: "spending_limit";
434
+ }>;
435
+ export declare const bulkCountsSchema: import("zod").ZodObject<{
436
+ matched: import("zod").ZodNumber;
437
+ eligible: import("zod").ZodNumber;
438
+ ineligible: import("zod").ZodNumber;
439
+ pending: import("zod").ZodNumber;
440
+ running: import("zod").ZodNumber;
441
+ succeeded: import("zod").ZodNumber;
442
+ noOp: import("zod").ZodNumber;
443
+ skipped: import("zod").ZodNumber;
444
+ conflicted: import("zod").ZodNumber;
445
+ failed: import("zod").ZodNumber;
446
+ cancelled: import("zod").ZodNumber;
447
+ }, import("zod/v4/core").$strip>;
448
+ export declare const bulkReadbackSchema: import("zod").ZodObject<{
449
+ status: import("zod").ZodOptional<import("zod").ZodString>;
450
+ plannedFor: import("zod").ZodOptional<import("zod").ZodString>;
451
+ recurrence: import("zod").ZodOptional<import("zod").ZodString>;
452
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
453
+ affectedFutureRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
454
+ latenessPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
455
+ skipAhead: "skipAhead";
456
+ catchUp: "catchUp";
457
+ }>>;
458
+ maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
459
+ overlapPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
460
+ skip: "skip";
461
+ queue: "queue";
462
+ }>>;
463
+ nextRunNote: import("zod").ZodOptional<import("zod").ZodString>;
464
+ }, import("zod/v4/core").$strict>;
465
+ export declare const bulkItemSchema: import("zod").ZodObject<{
466
+ id: import("zod").ZodString;
467
+ jobId: import("zod").ZodString;
468
+ scheduleId: import("zod").ZodString;
469
+ occurrenceId: import("zod").ZodOptional<import("zod").ZodString>;
470
+ state: import("zod").ZodEnum<{
471
+ succeeded: "succeeded";
472
+ cancelled: "cancelled";
473
+ failed: "failed";
474
+ pending: "pending";
475
+ skipped: "skipped";
476
+ running: "running";
477
+ conflicted: "conflicted";
478
+ no_op: "no_op";
479
+ }>;
480
+ reason: import("zod").ZodEnum<{
481
+ eligible: "eligible";
482
+ in_flight: "in_flight";
483
+ unauthorized: "unauthorized";
484
+ already_active: "already_active";
485
+ already_paused: "already_paused";
486
+ already_cancelled: "already_cancelled";
487
+ invalid_state: "invalid_state";
488
+ unsupported_target: "unsupported_target";
489
+ expired_input: "expired_input";
490
+ concurrently_changed: "concurrently_changed";
491
+ past_time: "past_time";
492
+ attempt_limit: "attempt_limit";
493
+ operation_failed: "operation_failed";
494
+ transient_failure: "transient_failure";
495
+ selection_too_large: "selection_too_large";
496
+ preparation_incomplete: "preparation_incomplete";
497
+ preview_expired: "preview_expired";
498
+ job_expired: "job_expired";
499
+ job_cancelled: "job_cancelled";
500
+ quota_exceeded: "quota_exceeded";
501
+ spending_limit: "spending_limit";
502
+ }>;
503
+ eligible: import("zod").ZodBoolean;
504
+ retryable: import("zod").ZodBoolean;
505
+ fence: import("zod").ZodString;
506
+ before: import("zod").ZodObject<{
507
+ status: import("zod").ZodOptional<import("zod").ZodString>;
508
+ plannedFor: import("zod").ZodOptional<import("zod").ZodString>;
509
+ recurrence: import("zod").ZodOptional<import("zod").ZodString>;
510
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
511
+ affectedFutureRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
512
+ latenessPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
513
+ skipAhead: "skipAhead";
514
+ catchUp: "catchUp";
515
+ }>>;
516
+ maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
517
+ overlapPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
518
+ skip: "skip";
519
+ queue: "queue";
520
+ }>>;
521
+ nextRunNote: import("zod").ZodOptional<import("zod").ZodString>;
522
+ }, import("zod/v4/core").$strict>;
523
+ after: import("zod").ZodOptional<import("zod").ZodObject<{
524
+ status: import("zod").ZodOptional<import("zod").ZodString>;
525
+ plannedFor: import("zod").ZodOptional<import("zod").ZodString>;
526
+ recurrence: import("zod").ZodOptional<import("zod").ZodString>;
527
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
528
+ affectedFutureRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
529
+ latenessPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
530
+ skipAhead: "skipAhead";
531
+ catchUp: "catchUp";
532
+ }>>;
533
+ maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
534
+ overlapPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
535
+ skip: "skip";
536
+ queue: "queue";
537
+ }>>;
538
+ nextRunNote: import("zod").ZodOptional<import("zod").ZodString>;
539
+ }, import("zod/v4/core").$strict>>;
540
+ attemptId: import("zod").ZodOptional<import("zod").ZodString>;
541
+ actionId: import("zod").ZodOptional<import("zod").ZodString>;
542
+ updatedAt: import("zod").ZodString;
543
+ expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
544
+ }, import("zod/v4/core").$strict>;
545
+ export type BulkItem = z.infer<typeof bulkItemSchema>;
546
+ export declare const bulkJobSchema: import("zod").ZodObject<{
547
+ id: import("zod").ZodString;
548
+ authority: import("zod").ZodObject<{
549
+ environment: import("zod").ZodString;
550
+ environmentKind: import("zod").ZodEnum<{
551
+ test: "test";
552
+ live: "live";
553
+ }>;
554
+ organization: import("zod").ZodString;
555
+ project: import("zod").ZodString;
556
+ }, import("zod/v4/core").$strip>;
557
+ intent: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
558
+ operation: import("zod").ZodLiteral<"retry">;
559
+ parameters: import("zod").ZodObject<{
560
+ includeSucceeded: import("zod").ZodOptional<import("zod").ZodBoolean>;
561
+ }, import("zod/v4/core").$strict>;
562
+ target: import("zod").ZodEnum<{
563
+ schedules: "schedules";
564
+ parent_schedules: "parent_schedules";
565
+ occurrences: "occurrences";
566
+ }>;
567
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
568
+ kind: import("zod").ZodLiteral<"ids">;
569
+ resource: import("zod").ZodLiteral<"schedules">;
570
+ ids: import("zod").ZodArray<import("zod").ZodString>;
571
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
572
+ kind: import("zod").ZodLiteral<"ids">;
573
+ resource: import("zod").ZodLiteral<"executions">;
574
+ ids: import("zod").ZodArray<import("zod").ZodString>;
575
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
576
+ kind: import("zod").ZodLiteral<"all_matching">;
577
+ resource: import("zod").ZodLiteral<"schedules">;
578
+ filter: import("zod").ZodObject<{
579
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
580
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
581
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
582
+ cancelled: "cancelled";
583
+ active: "active";
584
+ paused: "paused";
585
+ completed: "completed";
586
+ }>>;
587
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
588
+ at: "at";
589
+ every: "every";
590
+ cron: "cron";
591
+ }>>;
592
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
593
+ text: import("zod").ZodOptional<import("zod").ZodString>;
594
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
595
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
596
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
597
+ }, import("zod/v4/core").$strict>;
598
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
599
+ kind: import("zod").ZodLiteral<"all_matching">;
600
+ resource: import("zod").ZodLiteral<"executions">;
601
+ filter: import("zod").ZodObject<{
602
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
603
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
604
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
605
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
606
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
607
+ cancelled: "cancelled";
608
+ active: "active";
609
+ paused: "paused";
610
+ completed: "completed";
611
+ }>>;
612
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
613
+ at: "at";
614
+ every: "every";
615
+ cron: "cron";
616
+ }>>;
617
+ text: import("zod").ZodOptional<import("zod").ZodString>;
618
+ from: import("zod").ZodOptional<import("zod").ZodString>;
619
+ to: import("zod").ZodOptional<import("zod").ZodString>;
620
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
621
+ planned: "planned";
622
+ due: "due";
623
+ dispatching: "dispatching";
624
+ retry_wait: "retry_wait";
625
+ ambiguous: "ambiguous";
626
+ succeeded: "succeeded";
627
+ terminal_failed: "terminal_failed";
628
+ cancelled: "cancelled";
629
+ skipped_stale: "skipped_stale";
630
+ }>>;
631
+ }, import("zod/v4/core").$strict>;
632
+ }, import("zod/v4/core").$strict>]>;
633
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
634
+ operation: import("zod").ZodLiteral<"reschedule">;
635
+ parameters: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
636
+ mode: import("zod").ZodLiteral<"absolute">;
637
+ at: import("zod").ZodString;
638
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
639
+ mode: import("zod").ZodLiteral<"shift_existing">;
640
+ seconds: import("zod").ZodNumber;
641
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
642
+ mode: import("zod").ZodLiteral<"delay_from_reference">;
643
+ seconds: import("zod").ZodNumber;
644
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
645
+ mode: import("zod").ZodLiteral<"definition">;
646
+ definition: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
647
+ everySeconds: import("zod").ZodNumber;
648
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
649
+ cron: import("zod").ZodString;
650
+ timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
651
+ }, import("zod/v4/core").$strict>]>;
652
+ }, import("zod/v4/core").$strict>], "mode">;
653
+ target: import("zod").ZodEnum<{
654
+ schedules: "schedules";
655
+ parent_schedules: "parent_schedules";
656
+ occurrences: "occurrences";
657
+ }>;
658
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
659
+ kind: import("zod").ZodLiteral<"ids">;
660
+ resource: import("zod").ZodLiteral<"schedules">;
661
+ ids: import("zod").ZodArray<import("zod").ZodString>;
662
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
663
+ kind: import("zod").ZodLiteral<"ids">;
664
+ resource: import("zod").ZodLiteral<"executions">;
665
+ ids: import("zod").ZodArray<import("zod").ZodString>;
666
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
667
+ kind: import("zod").ZodLiteral<"all_matching">;
668
+ resource: import("zod").ZodLiteral<"schedules">;
669
+ filter: import("zod").ZodObject<{
670
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
671
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
672
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
673
+ cancelled: "cancelled";
674
+ active: "active";
675
+ paused: "paused";
676
+ completed: "completed";
677
+ }>>;
678
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
679
+ at: "at";
680
+ every: "every";
681
+ cron: "cron";
682
+ }>>;
683
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
684
+ text: import("zod").ZodOptional<import("zod").ZodString>;
685
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
686
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
687
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
688
+ }, import("zod/v4/core").$strict>;
689
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
690
+ kind: import("zod").ZodLiteral<"all_matching">;
691
+ resource: import("zod").ZodLiteral<"executions">;
692
+ filter: import("zod").ZodObject<{
693
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
694
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
695
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
696
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
697
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
698
+ cancelled: "cancelled";
699
+ active: "active";
700
+ paused: "paused";
701
+ completed: "completed";
702
+ }>>;
703
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
704
+ at: "at";
705
+ every: "every";
706
+ cron: "cron";
707
+ }>>;
708
+ text: import("zod").ZodOptional<import("zod").ZodString>;
709
+ from: import("zod").ZodOptional<import("zod").ZodString>;
710
+ to: import("zod").ZodOptional<import("zod").ZodString>;
711
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
712
+ planned: "planned";
713
+ due: "due";
714
+ dispatching: "dispatching";
715
+ retry_wait: "retry_wait";
716
+ ambiguous: "ambiguous";
717
+ succeeded: "succeeded";
718
+ terminal_failed: "terminal_failed";
719
+ cancelled: "cancelled";
720
+ skipped_stale: "skipped_stale";
721
+ }>>;
722
+ }, import("zod/v4/core").$strict>;
723
+ }, import("zod/v4/core").$strict>]>;
724
+ }, import("zod/v4/core").$strict>, ...import("zod").ZodObject<{
725
+ operation: import("zod").ZodLiteral<"resume" | "cancel" | "pause">;
726
+ parameters: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
727
+ target: import("zod").ZodEnum<{
728
+ schedules: "schedules";
729
+ parent_schedules: "parent_schedules";
730
+ occurrences: "occurrences";
731
+ }>;
732
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
733
+ kind: import("zod").ZodLiteral<"ids">;
734
+ resource: import("zod").ZodLiteral<"schedules">;
735
+ ids: import("zod").ZodArray<import("zod").ZodString>;
736
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
737
+ kind: import("zod").ZodLiteral<"ids">;
738
+ resource: import("zod").ZodLiteral<"executions">;
739
+ ids: import("zod").ZodArray<import("zod").ZodString>;
740
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
741
+ kind: import("zod").ZodLiteral<"all_matching">;
742
+ resource: import("zod").ZodLiteral<"schedules">;
743
+ filter: import("zod").ZodObject<{
744
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
745
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
746
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
747
+ cancelled: "cancelled";
748
+ active: "active";
749
+ paused: "paused";
750
+ completed: "completed";
751
+ }>>;
752
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
753
+ at: "at";
754
+ every: "every";
755
+ cron: "cron";
756
+ }>>;
757
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
758
+ text: import("zod").ZodOptional<import("zod").ZodString>;
759
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
760
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
761
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
762
+ }, import("zod/v4/core").$strict>;
763
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
764
+ kind: import("zod").ZodLiteral<"all_matching">;
765
+ resource: import("zod").ZodLiteral<"executions">;
766
+ filter: import("zod").ZodObject<{
767
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
768
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
769
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
770
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
771
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
772
+ cancelled: "cancelled";
773
+ active: "active";
774
+ paused: "paused";
775
+ completed: "completed";
776
+ }>>;
777
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
778
+ at: "at";
779
+ every: "every";
780
+ cron: "cron";
781
+ }>>;
782
+ text: import("zod").ZodOptional<import("zod").ZodString>;
783
+ from: import("zod").ZodOptional<import("zod").ZodString>;
784
+ to: import("zod").ZodOptional<import("zod").ZodString>;
785
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
786
+ planned: "planned";
787
+ due: "due";
788
+ dispatching: "dispatching";
789
+ retry_wait: "retry_wait";
790
+ ambiguous: "ambiguous";
791
+ succeeded: "succeeded";
792
+ terminal_failed: "terminal_failed";
793
+ cancelled: "cancelled";
794
+ skipped_stale: "skipped_stale";
795
+ }>>;
796
+ }, import("zod/v4/core").$strict>;
797
+ }, import("zod/v4/core").$strict>]>;
798
+ }, import("zod/v4/core").$strict>[]], "operation">;
799
+ state: import("zod").ZodEnum<{
800
+ cancelled: "cancelled";
801
+ paused: "paused";
802
+ completed: "completed";
803
+ expired: "expired";
804
+ blocked: "blocked";
805
+ refused: "refused";
806
+ preparing: "preparing";
807
+ awaiting_confirmation: "awaiting_confirmation";
808
+ queued: "queued";
809
+ running: "running";
810
+ completed_with_failures: "completed_with_failures";
811
+ }>;
812
+ version: import("zod").ZodNumber;
813
+ createdAt: import("zod").ZodString;
814
+ updatedAt: import("zod").ZodString;
815
+ referenceAt: import("zod").ZodString;
816
+ preparationExpiresAt: import("zod").ZodString;
817
+ previewExpiresAt: import("zod").ZodOptional<import("zod").ZodString>;
818
+ executionExpiresAt: import("zod").ZodOptional<import("zod").ZodString>;
819
+ resultsExpireAt: import("zod").ZodOptional<import("zod").ZodString>;
820
+ intentDigest: import("zod").ZodOptional<import("zod").ZodString>;
821
+ complete: import("zod").ZodBoolean;
822
+ counts: import("zod").ZodObject<{
823
+ matched: import("zod").ZodNumber;
824
+ eligible: import("zod").ZodNumber;
825
+ ineligible: import("zod").ZodNumber;
826
+ pending: import("zod").ZodNumber;
827
+ running: import("zod").ZodNumber;
828
+ succeeded: import("zod").ZodNumber;
829
+ noOp: import("zod").ZodNumber;
830
+ skipped: import("zod").ZodNumber;
831
+ conflicted: import("zod").ZodNumber;
832
+ failed: import("zod").ZodNumber;
833
+ cancelled: import("zod").ZodNumber;
834
+ }, import("zod/v4/core").$strip>;
835
+ reasons: import("zod").ZodArray<import("zod").ZodObject<{
836
+ reason: import("zod").ZodEnum<{
837
+ eligible: "eligible";
838
+ in_flight: "in_flight";
839
+ unauthorized: "unauthorized";
840
+ already_active: "already_active";
841
+ already_paused: "already_paused";
842
+ already_cancelled: "already_cancelled";
843
+ invalid_state: "invalid_state";
844
+ unsupported_target: "unsupported_target";
845
+ expired_input: "expired_input";
846
+ concurrently_changed: "concurrently_changed";
847
+ past_time: "past_time";
848
+ attempt_limit: "attempt_limit";
849
+ operation_failed: "operation_failed";
850
+ transient_failure: "transient_failure";
851
+ selection_too_large: "selection_too_large";
852
+ preparation_incomplete: "preparation_incomplete";
853
+ preview_expired: "preview_expired";
854
+ job_expired: "job_expired";
855
+ job_cancelled: "job_cancelled";
856
+ quota_exceeded: "quota_exceeded";
857
+ spending_limit: "spending_limit";
858
+ }>;
859
+ count: import("zod").ZodNumber;
860
+ }, import("zod/v4/core").$strip>>;
861
+ warnings: import("zod").ZodArray<import("zod").ZodString>;
862
+ samples: import("zod").ZodArray<import("zod").ZodObject<{
863
+ id: import("zod").ZodString;
864
+ jobId: import("zod").ZodString;
865
+ scheduleId: import("zod").ZodString;
866
+ occurrenceId: import("zod").ZodOptional<import("zod").ZodString>;
867
+ state: import("zod").ZodEnum<{
868
+ succeeded: "succeeded";
869
+ cancelled: "cancelled";
870
+ failed: "failed";
871
+ pending: "pending";
872
+ skipped: "skipped";
873
+ running: "running";
874
+ conflicted: "conflicted";
875
+ no_op: "no_op";
876
+ }>;
877
+ reason: import("zod").ZodEnum<{
878
+ eligible: "eligible";
879
+ in_flight: "in_flight";
880
+ unauthorized: "unauthorized";
881
+ already_active: "already_active";
882
+ already_paused: "already_paused";
883
+ already_cancelled: "already_cancelled";
884
+ invalid_state: "invalid_state";
885
+ unsupported_target: "unsupported_target";
886
+ expired_input: "expired_input";
887
+ concurrently_changed: "concurrently_changed";
888
+ past_time: "past_time";
889
+ attempt_limit: "attempt_limit";
890
+ operation_failed: "operation_failed";
891
+ transient_failure: "transient_failure";
892
+ selection_too_large: "selection_too_large";
893
+ preparation_incomplete: "preparation_incomplete";
894
+ preview_expired: "preview_expired";
895
+ job_expired: "job_expired";
896
+ job_cancelled: "job_cancelled";
897
+ quota_exceeded: "quota_exceeded";
898
+ spending_limit: "spending_limit";
899
+ }>;
900
+ eligible: import("zod").ZodBoolean;
901
+ retryable: import("zod").ZodBoolean;
902
+ fence: import("zod").ZodString;
903
+ before: import("zod").ZodObject<{
904
+ status: import("zod").ZodOptional<import("zod").ZodString>;
905
+ plannedFor: import("zod").ZodOptional<import("zod").ZodString>;
906
+ recurrence: import("zod").ZodOptional<import("zod").ZodString>;
907
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
908
+ affectedFutureRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
909
+ latenessPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
910
+ skipAhead: "skipAhead";
911
+ catchUp: "catchUp";
912
+ }>>;
913
+ maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
914
+ overlapPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
915
+ skip: "skip";
916
+ queue: "queue";
917
+ }>>;
918
+ nextRunNote: import("zod").ZodOptional<import("zod").ZodString>;
919
+ }, import("zod/v4/core").$strict>;
920
+ after: import("zod").ZodOptional<import("zod").ZodObject<{
921
+ status: import("zod").ZodOptional<import("zod").ZodString>;
922
+ plannedFor: import("zod").ZodOptional<import("zod").ZodString>;
923
+ recurrence: import("zod").ZodOptional<import("zod").ZodString>;
924
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
925
+ affectedFutureRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
926
+ latenessPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
927
+ skipAhead: "skipAhead";
928
+ catchUp: "catchUp";
929
+ }>>;
930
+ maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
931
+ overlapPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
932
+ skip: "skip";
933
+ queue: "queue";
934
+ }>>;
935
+ nextRunNote: import("zod").ZodOptional<import("zod").ZodString>;
936
+ }, import("zod/v4/core").$strict>>;
937
+ attemptId: import("zod").ZodOptional<import("zod").ZodString>;
938
+ actionId: import("zod").ZodOptional<import("zod").ZodString>;
939
+ updatedAt: import("zod").ZodString;
940
+ expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
941
+ }, import("zod/v4/core").$strict>>;
942
+ limits: import("zod").ZodObject<{
943
+ maxTargets: import("zod").ZodNumber;
944
+ executionLifetimeSeconds: import("zod").ZodNumber;
945
+ previewLifetimeSeconds: import("zod").ZodNumber;
946
+ resultRetentionSeconds: import("zod").ZodNumber;
947
+ batchSize: import("zod").ZodNumber;
948
+ workerConcurrency: import("zod").ZodNumber;
949
+ }, import("zod/v4/core").$strip>;
950
+ billing: import("zod").ZodObject<{
951
+ additionalAttemptsMinimum: import("zod").ZodNumber;
952
+ additionalAttemptsMaximum: import("zod").ZodOptional<import("zod").ZodNumber>;
953
+ currentLimits: import("zod").ZodOptional<import("zod").ZodObject<{
954
+ capturedAt: import("zod").ZodString;
955
+ billingMode: import("zod").ZodEnum<{
956
+ disabled: "disabled";
957
+ shadow: "shadow";
958
+ enforced: "enforced";
959
+ }>;
960
+ attemptsPerOccurrence: import("zod").ZodNumber;
961
+ dailyAttemptQuota: import("zod").ZodLiteral<"none">;
962
+ availableCreditMicrodollars: import("zod").ZodOptional<import("zod").ZodString>;
963
+ spendingCapMicrodollars: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
964
+ remainingToSpendingCapMicrodollars: import("zod").ZodOptional<import("zod").ZodString>;
965
+ }, import("zod/v4/core").$strict>>;
966
+ exactChargeKnown: import("zod").ZodLiteral<false>;
967
+ note: import("zod").ZodString;
968
+ }, import("zod/v4/core").$strip>;
969
+ reason: import("zod").ZodOptional<import("zod").ZodEnum<{
970
+ eligible: "eligible";
971
+ in_flight: "in_flight";
972
+ unauthorized: "unauthorized";
973
+ already_active: "already_active";
974
+ already_paused: "already_paused";
975
+ already_cancelled: "already_cancelled";
976
+ invalid_state: "invalid_state";
977
+ unsupported_target: "unsupported_target";
978
+ expired_input: "expired_input";
979
+ concurrently_changed: "concurrently_changed";
980
+ past_time: "past_time";
981
+ attempt_limit: "attempt_limit";
982
+ operation_failed: "operation_failed";
983
+ transient_failure: "transient_failure";
984
+ selection_too_large: "selection_too_large";
985
+ preparation_incomplete: "preparation_incomplete";
986
+ preview_expired: "preview_expired";
987
+ job_expired: "job_expired";
988
+ job_cancelled: "job_cancelled";
989
+ quota_exceeded: "quota_exceeded";
990
+ spending_limit: "spending_limit";
991
+ }>>;
992
+ }, import("zod/v4/core").$strict>;
993
+ export type BulkJob = z.infer<typeof bulkJobSchema>;
994
+ export type BulkJobState = z.infer<typeof bulkJobStateSchema>;
995
+ export type BulkItemState = z.infer<typeof bulkItemStateSchema>;
996
+ export type BulkReason = z.infer<typeof bulkReasonSchema>;
997
+ export type BulkCounts = z.infer<typeof bulkCountsSchema>;
998
+ export declare const bulkJobPageSchema: import("zod").ZodObject<{
999
+ data: import("zod").ZodArray<import("zod").ZodObject<{
1000
+ id: import("zod").ZodString;
1001
+ authority: import("zod").ZodObject<{
1002
+ environment: import("zod").ZodString;
1003
+ environmentKind: import("zod").ZodEnum<{
1004
+ test: "test";
1005
+ live: "live";
1006
+ }>;
1007
+ organization: import("zod").ZodString;
1008
+ project: import("zod").ZodString;
1009
+ }, import("zod/v4/core").$strip>;
1010
+ intent: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
1011
+ operation: import("zod").ZodLiteral<"retry">;
1012
+ parameters: import("zod").ZodObject<{
1013
+ includeSucceeded: import("zod").ZodOptional<import("zod").ZodBoolean>;
1014
+ }, import("zod/v4/core").$strict>;
1015
+ target: import("zod").ZodEnum<{
1016
+ schedules: "schedules";
1017
+ parent_schedules: "parent_schedules";
1018
+ occurrences: "occurrences";
1019
+ }>;
1020
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
1021
+ kind: import("zod").ZodLiteral<"ids">;
1022
+ resource: import("zod").ZodLiteral<"schedules">;
1023
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1024
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1025
+ kind: import("zod").ZodLiteral<"ids">;
1026
+ resource: import("zod").ZodLiteral<"executions">;
1027
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1028
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1029
+ kind: import("zod").ZodLiteral<"all_matching">;
1030
+ resource: import("zod").ZodLiteral<"schedules">;
1031
+ filter: import("zod").ZodObject<{
1032
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1033
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1034
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1035
+ cancelled: "cancelled";
1036
+ active: "active";
1037
+ paused: "paused";
1038
+ completed: "completed";
1039
+ }>>;
1040
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1041
+ at: "at";
1042
+ every: "every";
1043
+ cron: "cron";
1044
+ }>>;
1045
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1046
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1047
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1048
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
1049
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
1050
+ }, import("zod/v4/core").$strict>;
1051
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1052
+ kind: import("zod").ZodLiteral<"all_matching">;
1053
+ resource: import("zod").ZodLiteral<"executions">;
1054
+ filter: import("zod").ZodObject<{
1055
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1056
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1057
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1058
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1059
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1060
+ cancelled: "cancelled";
1061
+ active: "active";
1062
+ paused: "paused";
1063
+ completed: "completed";
1064
+ }>>;
1065
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1066
+ at: "at";
1067
+ every: "every";
1068
+ cron: "cron";
1069
+ }>>;
1070
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1071
+ from: import("zod").ZodOptional<import("zod").ZodString>;
1072
+ to: import("zod").ZodOptional<import("zod").ZodString>;
1073
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
1074
+ planned: "planned";
1075
+ due: "due";
1076
+ dispatching: "dispatching";
1077
+ retry_wait: "retry_wait";
1078
+ ambiguous: "ambiguous";
1079
+ succeeded: "succeeded";
1080
+ terminal_failed: "terminal_failed";
1081
+ cancelled: "cancelled";
1082
+ skipped_stale: "skipped_stale";
1083
+ }>>;
1084
+ }, import("zod/v4/core").$strict>;
1085
+ }, import("zod/v4/core").$strict>]>;
1086
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1087
+ operation: import("zod").ZodLiteral<"reschedule">;
1088
+ parameters: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
1089
+ mode: import("zod").ZodLiteral<"absolute">;
1090
+ at: import("zod").ZodString;
1091
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1092
+ mode: import("zod").ZodLiteral<"shift_existing">;
1093
+ seconds: import("zod").ZodNumber;
1094
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1095
+ mode: import("zod").ZodLiteral<"delay_from_reference">;
1096
+ seconds: import("zod").ZodNumber;
1097
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1098
+ mode: import("zod").ZodLiteral<"definition">;
1099
+ definition: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
1100
+ everySeconds: import("zod").ZodNumber;
1101
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1102
+ cron: import("zod").ZodString;
1103
+ timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
1104
+ }, import("zod/v4/core").$strict>]>;
1105
+ }, import("zod/v4/core").$strict>], "mode">;
1106
+ target: import("zod").ZodEnum<{
1107
+ schedules: "schedules";
1108
+ parent_schedules: "parent_schedules";
1109
+ occurrences: "occurrences";
1110
+ }>;
1111
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
1112
+ kind: import("zod").ZodLiteral<"ids">;
1113
+ resource: import("zod").ZodLiteral<"schedules">;
1114
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1115
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1116
+ kind: import("zod").ZodLiteral<"ids">;
1117
+ resource: import("zod").ZodLiteral<"executions">;
1118
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1119
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1120
+ kind: import("zod").ZodLiteral<"all_matching">;
1121
+ resource: import("zod").ZodLiteral<"schedules">;
1122
+ filter: import("zod").ZodObject<{
1123
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1124
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1125
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1126
+ cancelled: "cancelled";
1127
+ active: "active";
1128
+ paused: "paused";
1129
+ completed: "completed";
1130
+ }>>;
1131
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1132
+ at: "at";
1133
+ every: "every";
1134
+ cron: "cron";
1135
+ }>>;
1136
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1137
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1138
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1139
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
1140
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
1141
+ }, import("zod/v4/core").$strict>;
1142
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1143
+ kind: import("zod").ZodLiteral<"all_matching">;
1144
+ resource: import("zod").ZodLiteral<"executions">;
1145
+ filter: import("zod").ZodObject<{
1146
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1147
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1148
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1149
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1150
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1151
+ cancelled: "cancelled";
1152
+ active: "active";
1153
+ paused: "paused";
1154
+ completed: "completed";
1155
+ }>>;
1156
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1157
+ at: "at";
1158
+ every: "every";
1159
+ cron: "cron";
1160
+ }>>;
1161
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1162
+ from: import("zod").ZodOptional<import("zod").ZodString>;
1163
+ to: import("zod").ZodOptional<import("zod").ZodString>;
1164
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
1165
+ planned: "planned";
1166
+ due: "due";
1167
+ dispatching: "dispatching";
1168
+ retry_wait: "retry_wait";
1169
+ ambiguous: "ambiguous";
1170
+ succeeded: "succeeded";
1171
+ terminal_failed: "terminal_failed";
1172
+ cancelled: "cancelled";
1173
+ skipped_stale: "skipped_stale";
1174
+ }>>;
1175
+ }, import("zod/v4/core").$strict>;
1176
+ }, import("zod/v4/core").$strict>]>;
1177
+ }, import("zod/v4/core").$strict>, ...import("zod").ZodObject<{
1178
+ operation: import("zod").ZodLiteral<"resume" | "cancel" | "pause">;
1179
+ parameters: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
1180
+ target: import("zod").ZodEnum<{
1181
+ schedules: "schedules";
1182
+ parent_schedules: "parent_schedules";
1183
+ occurrences: "occurrences";
1184
+ }>;
1185
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
1186
+ kind: import("zod").ZodLiteral<"ids">;
1187
+ resource: import("zod").ZodLiteral<"schedules">;
1188
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1189
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1190
+ kind: import("zod").ZodLiteral<"ids">;
1191
+ resource: import("zod").ZodLiteral<"executions">;
1192
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1193
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1194
+ kind: import("zod").ZodLiteral<"all_matching">;
1195
+ resource: import("zod").ZodLiteral<"schedules">;
1196
+ filter: import("zod").ZodObject<{
1197
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1198
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1199
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1200
+ cancelled: "cancelled";
1201
+ active: "active";
1202
+ paused: "paused";
1203
+ completed: "completed";
1204
+ }>>;
1205
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1206
+ at: "at";
1207
+ every: "every";
1208
+ cron: "cron";
1209
+ }>>;
1210
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1211
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1212
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1213
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
1214
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
1215
+ }, import("zod/v4/core").$strict>;
1216
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1217
+ kind: import("zod").ZodLiteral<"all_matching">;
1218
+ resource: import("zod").ZodLiteral<"executions">;
1219
+ filter: import("zod").ZodObject<{
1220
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1221
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1222
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1223
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1224
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1225
+ cancelled: "cancelled";
1226
+ active: "active";
1227
+ paused: "paused";
1228
+ completed: "completed";
1229
+ }>>;
1230
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1231
+ at: "at";
1232
+ every: "every";
1233
+ cron: "cron";
1234
+ }>>;
1235
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1236
+ from: import("zod").ZodOptional<import("zod").ZodString>;
1237
+ to: import("zod").ZodOptional<import("zod").ZodString>;
1238
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
1239
+ planned: "planned";
1240
+ due: "due";
1241
+ dispatching: "dispatching";
1242
+ retry_wait: "retry_wait";
1243
+ ambiguous: "ambiguous";
1244
+ succeeded: "succeeded";
1245
+ terminal_failed: "terminal_failed";
1246
+ cancelled: "cancelled";
1247
+ skipped_stale: "skipped_stale";
1248
+ }>>;
1249
+ }, import("zod/v4/core").$strict>;
1250
+ }, import("zod/v4/core").$strict>]>;
1251
+ }, import("zod/v4/core").$strict>[]], "operation">;
1252
+ state: import("zod").ZodEnum<{
1253
+ cancelled: "cancelled";
1254
+ paused: "paused";
1255
+ completed: "completed";
1256
+ expired: "expired";
1257
+ blocked: "blocked";
1258
+ refused: "refused";
1259
+ preparing: "preparing";
1260
+ awaiting_confirmation: "awaiting_confirmation";
1261
+ queued: "queued";
1262
+ running: "running";
1263
+ completed_with_failures: "completed_with_failures";
1264
+ }>;
1265
+ version: import("zod").ZodNumber;
1266
+ createdAt: import("zod").ZodString;
1267
+ updatedAt: import("zod").ZodString;
1268
+ referenceAt: import("zod").ZodString;
1269
+ preparationExpiresAt: import("zod").ZodString;
1270
+ previewExpiresAt: import("zod").ZodOptional<import("zod").ZodString>;
1271
+ executionExpiresAt: import("zod").ZodOptional<import("zod").ZodString>;
1272
+ resultsExpireAt: import("zod").ZodOptional<import("zod").ZodString>;
1273
+ intentDigest: import("zod").ZodOptional<import("zod").ZodString>;
1274
+ complete: import("zod").ZodBoolean;
1275
+ counts: import("zod").ZodObject<{
1276
+ matched: import("zod").ZodNumber;
1277
+ eligible: import("zod").ZodNumber;
1278
+ ineligible: import("zod").ZodNumber;
1279
+ pending: import("zod").ZodNumber;
1280
+ running: import("zod").ZodNumber;
1281
+ succeeded: import("zod").ZodNumber;
1282
+ noOp: import("zod").ZodNumber;
1283
+ skipped: import("zod").ZodNumber;
1284
+ conflicted: import("zod").ZodNumber;
1285
+ failed: import("zod").ZodNumber;
1286
+ cancelled: import("zod").ZodNumber;
1287
+ }, import("zod/v4/core").$strip>;
1288
+ reasons: import("zod").ZodArray<import("zod").ZodObject<{
1289
+ reason: import("zod").ZodEnum<{
1290
+ eligible: "eligible";
1291
+ in_flight: "in_flight";
1292
+ unauthorized: "unauthorized";
1293
+ already_active: "already_active";
1294
+ already_paused: "already_paused";
1295
+ already_cancelled: "already_cancelled";
1296
+ invalid_state: "invalid_state";
1297
+ unsupported_target: "unsupported_target";
1298
+ expired_input: "expired_input";
1299
+ concurrently_changed: "concurrently_changed";
1300
+ past_time: "past_time";
1301
+ attempt_limit: "attempt_limit";
1302
+ operation_failed: "operation_failed";
1303
+ transient_failure: "transient_failure";
1304
+ selection_too_large: "selection_too_large";
1305
+ preparation_incomplete: "preparation_incomplete";
1306
+ preview_expired: "preview_expired";
1307
+ job_expired: "job_expired";
1308
+ job_cancelled: "job_cancelled";
1309
+ quota_exceeded: "quota_exceeded";
1310
+ spending_limit: "spending_limit";
1311
+ }>;
1312
+ count: import("zod").ZodNumber;
1313
+ }, import("zod/v4/core").$strip>>;
1314
+ warnings: import("zod").ZodArray<import("zod").ZodString>;
1315
+ samples: import("zod").ZodArray<import("zod").ZodObject<{
1316
+ id: import("zod").ZodString;
1317
+ jobId: import("zod").ZodString;
1318
+ scheduleId: import("zod").ZodString;
1319
+ occurrenceId: import("zod").ZodOptional<import("zod").ZodString>;
1320
+ state: import("zod").ZodEnum<{
1321
+ succeeded: "succeeded";
1322
+ cancelled: "cancelled";
1323
+ failed: "failed";
1324
+ pending: "pending";
1325
+ skipped: "skipped";
1326
+ running: "running";
1327
+ conflicted: "conflicted";
1328
+ no_op: "no_op";
1329
+ }>;
1330
+ reason: import("zod").ZodEnum<{
1331
+ eligible: "eligible";
1332
+ in_flight: "in_flight";
1333
+ unauthorized: "unauthorized";
1334
+ already_active: "already_active";
1335
+ already_paused: "already_paused";
1336
+ already_cancelled: "already_cancelled";
1337
+ invalid_state: "invalid_state";
1338
+ unsupported_target: "unsupported_target";
1339
+ expired_input: "expired_input";
1340
+ concurrently_changed: "concurrently_changed";
1341
+ past_time: "past_time";
1342
+ attempt_limit: "attempt_limit";
1343
+ operation_failed: "operation_failed";
1344
+ transient_failure: "transient_failure";
1345
+ selection_too_large: "selection_too_large";
1346
+ preparation_incomplete: "preparation_incomplete";
1347
+ preview_expired: "preview_expired";
1348
+ job_expired: "job_expired";
1349
+ job_cancelled: "job_cancelled";
1350
+ quota_exceeded: "quota_exceeded";
1351
+ spending_limit: "spending_limit";
1352
+ }>;
1353
+ eligible: import("zod").ZodBoolean;
1354
+ retryable: import("zod").ZodBoolean;
1355
+ fence: import("zod").ZodString;
1356
+ before: import("zod").ZodObject<{
1357
+ status: import("zod").ZodOptional<import("zod").ZodString>;
1358
+ plannedFor: import("zod").ZodOptional<import("zod").ZodString>;
1359
+ recurrence: import("zod").ZodOptional<import("zod").ZodString>;
1360
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
1361
+ affectedFutureRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
1362
+ latenessPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
1363
+ skipAhead: "skipAhead";
1364
+ catchUp: "catchUp";
1365
+ }>>;
1366
+ maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
1367
+ overlapPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
1368
+ skip: "skip";
1369
+ queue: "queue";
1370
+ }>>;
1371
+ nextRunNote: import("zod").ZodOptional<import("zod").ZodString>;
1372
+ }, import("zod/v4/core").$strict>;
1373
+ after: import("zod").ZodOptional<import("zod").ZodObject<{
1374
+ status: import("zod").ZodOptional<import("zod").ZodString>;
1375
+ plannedFor: import("zod").ZodOptional<import("zod").ZodString>;
1376
+ recurrence: import("zod").ZodOptional<import("zod").ZodString>;
1377
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
1378
+ affectedFutureRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
1379
+ latenessPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
1380
+ skipAhead: "skipAhead";
1381
+ catchUp: "catchUp";
1382
+ }>>;
1383
+ maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
1384
+ overlapPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
1385
+ skip: "skip";
1386
+ queue: "queue";
1387
+ }>>;
1388
+ nextRunNote: import("zod").ZodOptional<import("zod").ZodString>;
1389
+ }, import("zod/v4/core").$strict>>;
1390
+ attemptId: import("zod").ZodOptional<import("zod").ZodString>;
1391
+ actionId: import("zod").ZodOptional<import("zod").ZodString>;
1392
+ updatedAt: import("zod").ZodString;
1393
+ expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
1394
+ }, import("zod/v4/core").$strict>>;
1395
+ limits: import("zod").ZodObject<{
1396
+ maxTargets: import("zod").ZodNumber;
1397
+ executionLifetimeSeconds: import("zod").ZodNumber;
1398
+ previewLifetimeSeconds: import("zod").ZodNumber;
1399
+ resultRetentionSeconds: import("zod").ZodNumber;
1400
+ batchSize: import("zod").ZodNumber;
1401
+ workerConcurrency: import("zod").ZodNumber;
1402
+ }, import("zod/v4/core").$strip>;
1403
+ billing: import("zod").ZodObject<{
1404
+ additionalAttemptsMinimum: import("zod").ZodNumber;
1405
+ additionalAttemptsMaximum: import("zod").ZodOptional<import("zod").ZodNumber>;
1406
+ currentLimits: import("zod").ZodOptional<import("zod").ZodObject<{
1407
+ capturedAt: import("zod").ZodString;
1408
+ billingMode: import("zod").ZodEnum<{
1409
+ disabled: "disabled";
1410
+ shadow: "shadow";
1411
+ enforced: "enforced";
1412
+ }>;
1413
+ attemptsPerOccurrence: import("zod").ZodNumber;
1414
+ dailyAttemptQuota: import("zod").ZodLiteral<"none">;
1415
+ availableCreditMicrodollars: import("zod").ZodOptional<import("zod").ZodString>;
1416
+ spendingCapMicrodollars: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1417
+ remainingToSpendingCapMicrodollars: import("zod").ZodOptional<import("zod").ZodString>;
1418
+ }, import("zod/v4/core").$strict>>;
1419
+ exactChargeKnown: import("zod").ZodLiteral<false>;
1420
+ note: import("zod").ZodString;
1421
+ }, import("zod/v4/core").$strip>;
1422
+ reason: import("zod").ZodOptional<import("zod").ZodEnum<{
1423
+ eligible: "eligible";
1424
+ in_flight: "in_flight";
1425
+ unauthorized: "unauthorized";
1426
+ already_active: "already_active";
1427
+ already_paused: "already_paused";
1428
+ already_cancelled: "already_cancelled";
1429
+ invalid_state: "invalid_state";
1430
+ unsupported_target: "unsupported_target";
1431
+ expired_input: "expired_input";
1432
+ concurrently_changed: "concurrently_changed";
1433
+ past_time: "past_time";
1434
+ attempt_limit: "attempt_limit";
1435
+ operation_failed: "operation_failed";
1436
+ transient_failure: "transient_failure";
1437
+ selection_too_large: "selection_too_large";
1438
+ preparation_incomplete: "preparation_incomplete";
1439
+ preview_expired: "preview_expired";
1440
+ job_expired: "job_expired";
1441
+ job_cancelled: "job_cancelled";
1442
+ quota_exceeded: "quota_exceeded";
1443
+ spending_limit: "spending_limit";
1444
+ }>>;
1445
+ }, import("zod/v4/core").$strict>>;
1446
+ nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
1447
+ }, import("zod/v4/core").$strip>;
1448
+ export declare const bulkItemPageSchema: import("zod").ZodObject<{
1449
+ data: import("zod").ZodArray<import("zod").ZodObject<{
1450
+ id: import("zod").ZodString;
1451
+ jobId: import("zod").ZodString;
1452
+ scheduleId: import("zod").ZodString;
1453
+ occurrenceId: import("zod").ZodOptional<import("zod").ZodString>;
1454
+ state: import("zod").ZodEnum<{
1455
+ succeeded: "succeeded";
1456
+ cancelled: "cancelled";
1457
+ failed: "failed";
1458
+ pending: "pending";
1459
+ skipped: "skipped";
1460
+ running: "running";
1461
+ conflicted: "conflicted";
1462
+ no_op: "no_op";
1463
+ }>;
1464
+ reason: import("zod").ZodEnum<{
1465
+ eligible: "eligible";
1466
+ in_flight: "in_flight";
1467
+ unauthorized: "unauthorized";
1468
+ already_active: "already_active";
1469
+ already_paused: "already_paused";
1470
+ already_cancelled: "already_cancelled";
1471
+ invalid_state: "invalid_state";
1472
+ unsupported_target: "unsupported_target";
1473
+ expired_input: "expired_input";
1474
+ concurrently_changed: "concurrently_changed";
1475
+ past_time: "past_time";
1476
+ attempt_limit: "attempt_limit";
1477
+ operation_failed: "operation_failed";
1478
+ transient_failure: "transient_failure";
1479
+ selection_too_large: "selection_too_large";
1480
+ preparation_incomplete: "preparation_incomplete";
1481
+ preview_expired: "preview_expired";
1482
+ job_expired: "job_expired";
1483
+ job_cancelled: "job_cancelled";
1484
+ quota_exceeded: "quota_exceeded";
1485
+ spending_limit: "spending_limit";
1486
+ }>;
1487
+ eligible: import("zod").ZodBoolean;
1488
+ retryable: import("zod").ZodBoolean;
1489
+ fence: import("zod").ZodString;
1490
+ before: import("zod").ZodObject<{
1491
+ status: import("zod").ZodOptional<import("zod").ZodString>;
1492
+ plannedFor: import("zod").ZodOptional<import("zod").ZodString>;
1493
+ recurrence: import("zod").ZodOptional<import("zod").ZodString>;
1494
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
1495
+ affectedFutureRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
1496
+ latenessPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
1497
+ skipAhead: "skipAhead";
1498
+ catchUp: "catchUp";
1499
+ }>>;
1500
+ maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
1501
+ overlapPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
1502
+ skip: "skip";
1503
+ queue: "queue";
1504
+ }>>;
1505
+ nextRunNote: import("zod").ZodOptional<import("zod").ZodString>;
1506
+ }, import("zod/v4/core").$strict>;
1507
+ after: import("zod").ZodOptional<import("zod").ZodObject<{
1508
+ status: import("zod").ZodOptional<import("zod").ZodString>;
1509
+ plannedFor: import("zod").ZodOptional<import("zod").ZodString>;
1510
+ recurrence: import("zod").ZodOptional<import("zod").ZodString>;
1511
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
1512
+ affectedFutureRuns: import("zod").ZodOptional<import("zod").ZodNumber>;
1513
+ latenessPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
1514
+ skipAhead: "skipAhead";
1515
+ catchUp: "catchUp";
1516
+ }>>;
1517
+ maxStalenessSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
1518
+ overlapPolicy: import("zod").ZodOptional<import("zod").ZodEnum<{
1519
+ skip: "skip";
1520
+ queue: "queue";
1521
+ }>>;
1522
+ nextRunNote: import("zod").ZodOptional<import("zod").ZodString>;
1523
+ }, import("zod/v4/core").$strict>>;
1524
+ attemptId: import("zod").ZodOptional<import("zod").ZodString>;
1525
+ actionId: import("zod").ZodOptional<import("zod").ZodString>;
1526
+ updatedAt: import("zod").ZodString;
1527
+ expiresAt: import("zod").ZodOptional<import("zod").ZodString>;
1528
+ }, import("zod/v4/core").$strict>>;
1529
+ nextCursor: import("zod").ZodOptional<import("zod").ZodString>;
1530
+ }, import("zod/v4/core").$strip>;
1531
+ export declare const bulkListRequestSchema: import("zod").ZodObject<{
1532
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
1533
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
1534
+ state: import("zod").ZodOptional<import("zod").ZodEnum<{
1535
+ cancelled: "cancelled";
1536
+ paused: "paused";
1537
+ completed: "completed";
1538
+ expired: "expired";
1539
+ blocked: "blocked";
1540
+ refused: "refused";
1541
+ preparing: "preparing";
1542
+ awaiting_confirmation: "awaiting_confirmation";
1543
+ queued: "queued";
1544
+ running: "running";
1545
+ completed_with_failures: "completed_with_failures";
1546
+ }>>;
1547
+ }, import("zod/v4/core").$strip>;
1548
+ export declare const bulkItemListRequestSchema: import("zod").ZodObject<{
1549
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
1550
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
1551
+ state: import("zod").ZodOptional<import("zod").ZodEnum<{
1552
+ succeeded: "succeeded";
1553
+ cancelled: "cancelled";
1554
+ failed: "failed";
1555
+ pending: "pending";
1556
+ skipped: "skipped";
1557
+ running: "running";
1558
+ conflicted: "conflicted";
1559
+ no_op: "no_op";
1560
+ }>>;
1561
+ }, import("zod/v4/core").$strip>;
1562
+ export declare const bulkControlRequestSchema: import("zod").ZodObject<{
1563
+ expectedVersion: import("zod").ZodNumber;
1564
+ }, import("zod/v4/core").$strict>;
1565
+ export type BulkControlRequest = z.infer<typeof bulkControlRequestSchema>;
1566
+ /** Resolved action scopes from BULK_OPERATION_REGISTRY are mandatory on every endpoint. */
1567
+ export declare const BULK_API_OPERATIONS: readonly [import("./operations.js").OperationDefinition & {
1568
+ readonly id: "bulk.preview";
1569
+ } & {
1570
+ readonly request: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
1571
+ operation: import("zod").ZodLiteral<"retry">;
1572
+ parameters: import("zod").ZodObject<{
1573
+ includeSucceeded: import("zod").ZodOptional<import("zod").ZodBoolean>;
1574
+ }, import("zod/v4/core").$strict>;
1575
+ target: import("zod").ZodEnum<{
1576
+ schedules: "schedules";
1577
+ parent_schedules: "parent_schedules";
1578
+ occurrences: "occurrences";
1579
+ }>;
1580
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
1581
+ kind: import("zod").ZodLiteral<"ids">;
1582
+ resource: import("zod").ZodLiteral<"schedules">;
1583
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1584
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1585
+ kind: import("zod").ZodLiteral<"ids">;
1586
+ resource: import("zod").ZodLiteral<"executions">;
1587
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1588
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1589
+ kind: import("zod").ZodLiteral<"all_matching">;
1590
+ resource: import("zod").ZodLiteral<"schedules">;
1591
+ filter: import("zod").ZodObject<{
1592
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1593
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1594
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1595
+ cancelled: "cancelled";
1596
+ active: "active";
1597
+ paused: "paused";
1598
+ completed: "completed";
1599
+ }>>;
1600
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1601
+ at: "at";
1602
+ every: "every";
1603
+ cron: "cron";
1604
+ }>>;
1605
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1606
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1607
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1608
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
1609
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
1610
+ }, import("zod/v4/core").$strict>;
1611
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1612
+ kind: import("zod").ZodLiteral<"all_matching">;
1613
+ resource: import("zod").ZodLiteral<"executions">;
1614
+ filter: import("zod").ZodObject<{
1615
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1616
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1617
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1618
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1619
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1620
+ cancelled: "cancelled";
1621
+ active: "active";
1622
+ paused: "paused";
1623
+ completed: "completed";
1624
+ }>>;
1625
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1626
+ at: "at";
1627
+ every: "every";
1628
+ cron: "cron";
1629
+ }>>;
1630
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1631
+ from: import("zod").ZodOptional<import("zod").ZodString>;
1632
+ to: import("zod").ZodOptional<import("zod").ZodString>;
1633
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
1634
+ planned: "planned";
1635
+ due: "due";
1636
+ dispatching: "dispatching";
1637
+ retry_wait: "retry_wait";
1638
+ ambiguous: "ambiguous";
1639
+ succeeded: "succeeded";
1640
+ terminal_failed: "terminal_failed";
1641
+ cancelled: "cancelled";
1642
+ skipped_stale: "skipped_stale";
1643
+ }>>;
1644
+ }, import("zod/v4/core").$strict>;
1645
+ }, import("zod/v4/core").$strict>]>;
1646
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1647
+ operation: import("zod").ZodLiteral<"reschedule">;
1648
+ parameters: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
1649
+ mode: import("zod").ZodLiteral<"absolute">;
1650
+ at: import("zod").ZodString;
1651
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1652
+ mode: import("zod").ZodLiteral<"shift_existing">;
1653
+ seconds: import("zod").ZodNumber;
1654
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1655
+ mode: import("zod").ZodLiteral<"delay_from_reference">;
1656
+ seconds: import("zod").ZodNumber;
1657
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1658
+ mode: import("zod").ZodLiteral<"definition">;
1659
+ definition: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
1660
+ everySeconds: import("zod").ZodNumber;
1661
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1662
+ cron: import("zod").ZodString;
1663
+ timeZone: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
1664
+ }, import("zod/v4/core").$strict>]>;
1665
+ }, import("zod/v4/core").$strict>], "mode">;
1666
+ target: import("zod").ZodEnum<{
1667
+ schedules: "schedules";
1668
+ parent_schedules: "parent_schedules";
1669
+ occurrences: "occurrences";
1670
+ }>;
1671
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
1672
+ kind: import("zod").ZodLiteral<"ids">;
1673
+ resource: import("zod").ZodLiteral<"schedules">;
1674
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1675
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1676
+ kind: import("zod").ZodLiteral<"ids">;
1677
+ resource: import("zod").ZodLiteral<"executions">;
1678
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1679
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1680
+ kind: import("zod").ZodLiteral<"all_matching">;
1681
+ resource: import("zod").ZodLiteral<"schedules">;
1682
+ filter: import("zod").ZodObject<{
1683
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1684
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1685
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1686
+ cancelled: "cancelled";
1687
+ active: "active";
1688
+ paused: "paused";
1689
+ completed: "completed";
1690
+ }>>;
1691
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1692
+ at: "at";
1693
+ every: "every";
1694
+ cron: "cron";
1695
+ }>>;
1696
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1697
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1698
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1699
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
1700
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
1701
+ }, import("zod/v4/core").$strict>;
1702
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1703
+ kind: import("zod").ZodLiteral<"all_matching">;
1704
+ resource: import("zod").ZodLiteral<"executions">;
1705
+ filter: import("zod").ZodObject<{
1706
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1707
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1708
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1709
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1710
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1711
+ cancelled: "cancelled";
1712
+ active: "active";
1713
+ paused: "paused";
1714
+ completed: "completed";
1715
+ }>>;
1716
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1717
+ at: "at";
1718
+ every: "every";
1719
+ cron: "cron";
1720
+ }>>;
1721
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1722
+ from: import("zod").ZodOptional<import("zod").ZodString>;
1723
+ to: import("zod").ZodOptional<import("zod").ZodString>;
1724
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
1725
+ planned: "planned";
1726
+ due: "due";
1727
+ dispatching: "dispatching";
1728
+ retry_wait: "retry_wait";
1729
+ ambiguous: "ambiguous";
1730
+ succeeded: "succeeded";
1731
+ terminal_failed: "terminal_failed";
1732
+ cancelled: "cancelled";
1733
+ skipped_stale: "skipped_stale";
1734
+ }>>;
1735
+ }, import("zod/v4/core").$strict>;
1736
+ }, import("zod/v4/core").$strict>]>;
1737
+ }, import("zod/v4/core").$strict>, ...import("zod").ZodObject<{
1738
+ operation: import("zod").ZodLiteral<"resume" | "cancel" | "pause">;
1739
+ parameters: import("zod").ZodObject<{}, import("zod/v4/core").$strict>;
1740
+ target: import("zod").ZodEnum<{
1741
+ schedules: "schedules";
1742
+ parent_schedules: "parent_schedules";
1743
+ occurrences: "occurrences";
1744
+ }>;
1745
+ selection: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
1746
+ kind: import("zod").ZodLiteral<"ids">;
1747
+ resource: import("zod").ZodLiteral<"schedules">;
1748
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1749
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1750
+ kind: import("zod").ZodLiteral<"ids">;
1751
+ resource: import("zod").ZodLiteral<"executions">;
1752
+ ids: import("zod").ZodArray<import("zod").ZodString>;
1753
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1754
+ kind: import("zod").ZodLiteral<"all_matching">;
1755
+ resource: import("zod").ZodLiteral<"schedules">;
1756
+ filter: import("zod").ZodObject<{
1757
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1758
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1759
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1760
+ cancelled: "cancelled";
1761
+ active: "active";
1762
+ paused: "paused";
1763
+ completed: "completed";
1764
+ }>>;
1765
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1766
+ at: "at";
1767
+ every: "every";
1768
+ cron: "cron";
1769
+ }>>;
1770
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1771
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1772
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1773
+ dueAfter: import("zod").ZodOptional<import("zod").ZodString>;
1774
+ dueBefore: import("zod").ZodOptional<import("zod").ZodString>;
1775
+ }, import("zod/v4/core").$strict>;
1776
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1777
+ kind: import("zod").ZodLiteral<"all_matching">;
1778
+ resource: import("zod").ZodLiteral<"executions">;
1779
+ filter: import("zod").ZodObject<{
1780
+ endpoint: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodLiteral<"none">]>>;
1781
+ schedule: import("zod").ZodOptional<import("zod").ZodString>;
1782
+ external_identifier: import("zod").ZodOptional<import("zod").ZodString>;
1783
+ tag: import("zod").ZodOptional<import("zod").ZodString>;
1784
+ status: import("zod").ZodOptional<import("zod").ZodEnum<{
1785
+ cancelled: "cancelled";
1786
+ active: "active";
1787
+ paused: "paused";
1788
+ completed: "completed";
1789
+ }>>;
1790
+ recurrence: import("zod").ZodOptional<import("zod").ZodEnum<{
1791
+ at: "at";
1792
+ every: "every";
1793
+ cron: "cron";
1794
+ }>>;
1795
+ text: import("zod").ZodOptional<import("zod").ZodString>;
1796
+ from: import("zod").ZodOptional<import("zod").ZodString>;
1797
+ to: import("zod").ZodOptional<import("zod").ZodString>;
1798
+ outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
1799
+ planned: "planned";
1800
+ due: "due";
1801
+ dispatching: "dispatching";
1802
+ retry_wait: "retry_wait";
1803
+ ambiguous: "ambiguous";
1804
+ succeeded: "succeeded";
1805
+ terminal_failed: "terminal_failed";
1806
+ cancelled: "cancelled";
1807
+ skipped_stale: "skipped_stale";
1808
+ }>>;
1809
+ }, import("zod/v4/core").$strict>;
1810
+ }, import("zod/v4/core").$strict>]>;
1811
+ }, import("zod/v4/core").$strict>[]], "operation">;
1812
+ }, import("./operations.js").OperationDefinition & {
1813
+ readonly id: "bulk.confirm";
1814
+ } & {
1815
+ readonly request: import("zod").ZodObject<{
1816
+ intentDigest: import("zod").ZodString;
1817
+ confirmed: import("zod").ZodLiteral<true>;
1818
+ acknowledgeDuplicateEffects: import("zod").ZodBoolean;
1819
+ }, import("zod/v4/core").$strict>;
1820
+ }, import("./operations.js").OperationDefinition & {
1821
+ readonly id: "bulk.read";
1822
+ }, import("./operations.js").OperationDefinition & {
1823
+ readonly id: "bulk.list";
1824
+ }, import("./operations.js").OperationDefinition & {
1825
+ readonly id: "bulk.items";
1826
+ }, ...(import("./operations.js").OperationDefinition & {
1827
+ readonly id: "bulk.resume" | "bulk.cancel" | "bulk.pause";
1828
+ } & {
1829
+ readonly request: import("zod").ZodObject<{
1830
+ expectedVersion: import("zod").ZodNumber;
1831
+ }, import("zod/v4/core").$strict>;
1832
+ })[]];