@trigger.dev/core 0.0.0-prerelease-20250116195421 → 0.0.0-prerelease-20250210232715

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 (62) hide show
  1. package/dist/commonjs/logger.js +38 -0
  2. package/dist/commonjs/logger.js.map +1 -1
  3. package/dist/commonjs/schemas/api.d.ts +121 -121
  4. package/dist/commonjs/schemas/tasks.d.ts +4 -4
  5. package/dist/commonjs/v3/apiClient/core.d.ts +26 -2
  6. package/dist/commonjs/v3/apiClient/core.js +51 -1
  7. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  8. package/dist/commonjs/v3/apiClient/index.d.ts +67 -67
  9. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  10. package/dist/commonjs/v3/apiClient/runStream.js +2 -2
  11. package/dist/commonjs/v3/build/runtime.js +15 -1
  12. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  13. package/dist/commonjs/v3/runtime/preventMultipleWaits.d.ts +1 -0
  14. package/dist/commonjs/v3/schemas/api.d.ts +549 -515
  15. package/dist/commonjs/v3/schemas/api.js +22 -21
  16. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  17. package/dist/commonjs/v3/schemas/build.d.ts +264 -202
  18. package/dist/commonjs/v3/schemas/fetch.d.ts +115 -0
  19. package/dist/commonjs/v3/schemas/messages.d.ts +3906 -3721
  20. package/dist/commonjs/v3/schemas/messages.js +4 -4
  21. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  22. package/dist/commonjs/v3/schemas/resources.d.ts +108 -64
  23. package/dist/commonjs/v3/schemas/schemas.d.ts +354 -262
  24. package/dist/commonjs/v3/schemas/schemas.js +11 -2
  25. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  26. package/dist/commonjs/v3/schemas/style.d.ts +10 -10
  27. package/dist/commonjs/v3/types/tasks.d.ts +2 -5
  28. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -0
  29. package/dist/commonjs/v3/zodMessageHandler.js +8 -0
  30. package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
  31. package/dist/commonjs/version.js +1 -1
  32. package/dist/esm/logger.js +38 -0
  33. package/dist/esm/logger.js.map +1 -1
  34. package/dist/esm/schemas/api.d.ts +121 -121
  35. package/dist/esm/schemas/tasks.d.ts +4 -4
  36. package/dist/esm/v3/apiClient/core.d.ts +26 -2
  37. package/dist/esm/v3/apiClient/core.js +48 -0
  38. package/dist/esm/v3/apiClient/core.js.map +1 -1
  39. package/dist/esm/v3/apiClient/index.d.ts +67 -67
  40. package/dist/esm/v3/apiClient/index.js.map +1 -1
  41. package/dist/esm/v3/apiClient/runStream.js +2 -2
  42. package/dist/esm/v3/build/runtime.js +15 -1
  43. package/dist/esm/v3/build/runtime.js.map +1 -1
  44. package/dist/esm/v3/schemas/api.d.ts +549 -515
  45. package/dist/esm/v3/schemas/api.js +22 -21
  46. package/dist/esm/v3/schemas/api.js.map +1 -1
  47. package/dist/esm/v3/schemas/build.d.ts +264 -202
  48. package/dist/esm/v3/schemas/fetch.d.ts +115 -0
  49. package/dist/esm/v3/schemas/messages.d.ts +3906 -3721
  50. package/dist/esm/v3/schemas/messages.js +3 -3
  51. package/dist/esm/v3/schemas/messages.js.map +1 -1
  52. package/dist/esm/v3/schemas/resources.d.ts +108 -64
  53. package/dist/esm/v3/schemas/schemas.d.ts +354 -262
  54. package/dist/esm/v3/schemas/schemas.js +12 -3
  55. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  56. package/dist/esm/v3/schemas/style.d.ts +10 -10
  57. package/dist/esm/v3/types/tasks.d.ts +2 -5
  58. package/dist/esm/v3/zodMessageHandler.d.ts +2 -0
  59. package/dist/esm/v3/zodMessageHandler.js +8 -0
  60. package/dist/esm/v3/zodMessageHandler.js.map +1 -1
  61. package/dist/esm/version.js +1 -1
  62. package/package.json +2 -1
@@ -36,6 +36,13 @@ export declare const FetchRetryBackoffStrategy: z.ZodObject<z.objectUtil.extendS
36
36
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
37
37
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
38
38
  randomize: z.ZodOptional<z.ZodBoolean>;
39
+ outOfMemory: z.ZodOptional<z.ZodObject<{
40
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
43
+ }, {
44
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
45
+ }>>;
39
46
  }, {
40
47
  /** The `backoff` strategy retries the request with an exponential backoff. */
41
48
  strategy: z.ZodLiteral<"backoff">;
@@ -48,6 +55,9 @@ export declare const FetchRetryBackoffStrategy: z.ZodObject<z.objectUtil.extendS
48
55
  minTimeoutInMs?: number | undefined;
49
56
  maxTimeoutInMs?: number | undefined;
50
57
  randomize?: boolean | undefined;
58
+ outOfMemory?: {
59
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
60
+ } | undefined;
51
61
  bodyFilter?: EventFilter | undefined;
52
62
  }, {
53
63
  strategy: "backoff";
@@ -56,6 +66,9 @@ export declare const FetchRetryBackoffStrategy: z.ZodObject<z.objectUtil.extendS
56
66
  minTimeoutInMs?: number | undefined;
57
67
  maxTimeoutInMs?: number | undefined;
58
68
  randomize?: boolean | undefined;
69
+ outOfMemory?: {
70
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
71
+ } | undefined;
59
72
  bodyFilter?: EventFilter | undefined;
60
73
  }>;
61
74
  /** The `backoff` strategy retries the request with an exponential backoff. */
@@ -93,6 +106,13 @@ export declare const FetchRetryStrategy: z.ZodDiscriminatedUnion<"strategy", [z.
93
106
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
94
107
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
95
108
  randomize: z.ZodOptional<z.ZodBoolean>;
109
+ outOfMemory: z.ZodOptional<z.ZodObject<{
110
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
113
+ }, {
114
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
115
+ }>>;
96
116
  }, {
97
117
  /** The `backoff` strategy retries the request with an exponential backoff. */
98
118
  strategy: z.ZodLiteral<"backoff">;
@@ -105,6 +125,9 @@ export declare const FetchRetryStrategy: z.ZodDiscriminatedUnion<"strategy", [z.
105
125
  minTimeoutInMs?: number | undefined;
106
126
  maxTimeoutInMs?: number | undefined;
107
127
  randomize?: boolean | undefined;
128
+ outOfMemory?: {
129
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
130
+ } | undefined;
108
131
  bodyFilter?: EventFilter | undefined;
109
132
  }, {
110
133
  strategy: "backoff";
@@ -113,6 +136,9 @@ export declare const FetchRetryStrategy: z.ZodDiscriminatedUnion<"strategy", [z.
113
136
  minTimeoutInMs?: number | undefined;
114
137
  maxTimeoutInMs?: number | undefined;
115
138
  randomize?: boolean | undefined;
139
+ outOfMemory?: {
140
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
141
+ } | undefined;
116
142
  bodyFilter?: EventFilter | undefined;
117
143
  }>]>;
118
144
  export type FetchRetryStrategy = z.infer<typeof FetchRetryStrategy>;
@@ -149,6 +175,13 @@ export declare const FetchRetryByStatusOptions: z.ZodRecord<z.ZodString, z.ZodDi
149
175
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
150
176
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
151
177
  randomize: z.ZodOptional<z.ZodBoolean>;
178
+ outOfMemory: z.ZodOptional<z.ZodObject<{
179
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
180
+ }, "strip", z.ZodTypeAny, {
181
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
182
+ }, {
183
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
184
+ }>>;
152
185
  }, {
153
186
  /** The `backoff` strategy retries the request with an exponential backoff. */
154
187
  strategy: z.ZodLiteral<"backoff">;
@@ -161,6 +194,9 @@ export declare const FetchRetryByStatusOptions: z.ZodRecord<z.ZodString, z.ZodDi
161
194
  minTimeoutInMs?: number | undefined;
162
195
  maxTimeoutInMs?: number | undefined;
163
196
  randomize?: boolean | undefined;
197
+ outOfMemory?: {
198
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
199
+ } | undefined;
164
200
  bodyFilter?: EventFilter | undefined;
165
201
  }, {
166
202
  strategy: "backoff";
@@ -169,6 +205,9 @@ export declare const FetchRetryByStatusOptions: z.ZodRecord<z.ZodString, z.ZodDi
169
205
  minTimeoutInMs?: number | undefined;
170
206
  maxTimeoutInMs?: number | undefined;
171
207
  randomize?: boolean | undefined;
208
+ outOfMemory?: {
209
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
210
+ } | undefined;
172
211
  bodyFilter?: EventFilter | undefined;
173
212
  }>]>>;
174
213
  /** An object where the key is a status code pattern and the value is a retrying strategy. Supported patterns are:
@@ -186,18 +225,31 @@ export declare const FetchTimeoutOptions: z.ZodObject<{
186
225
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
187
226
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
188
227
  randomize: z.ZodOptional<z.ZodBoolean>;
228
+ outOfMemory: z.ZodOptional<z.ZodObject<{
229
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
232
+ }, {
233
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
234
+ }>>;
189
235
  }, "strip", z.ZodTypeAny, {
190
236
  maxAttempts?: number | undefined;
191
237
  factor?: number | undefined;
192
238
  minTimeoutInMs?: number | undefined;
193
239
  maxTimeoutInMs?: number | undefined;
194
240
  randomize?: boolean | undefined;
241
+ outOfMemory?: {
242
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
243
+ } | undefined;
195
244
  }, {
196
245
  maxAttempts?: number | undefined;
197
246
  factor?: number | undefined;
198
247
  minTimeoutInMs?: number | undefined;
199
248
  maxTimeoutInMs?: number | undefined;
200
249
  randomize?: boolean | undefined;
250
+ outOfMemory?: {
251
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
252
+ } | undefined;
201
253
  }>>;
202
254
  }, "strip", z.ZodTypeAny, {
203
255
  retry?: {
@@ -206,6 +258,9 @@ export declare const FetchTimeoutOptions: z.ZodObject<{
206
258
  minTimeoutInMs?: number | undefined;
207
259
  maxTimeoutInMs?: number | undefined;
208
260
  randomize?: boolean | undefined;
261
+ outOfMemory?: {
262
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
263
+ } | undefined;
209
264
  } | undefined;
210
265
  durationInMs?: number | undefined;
211
266
  }, {
@@ -215,6 +270,9 @@ export declare const FetchTimeoutOptions: z.ZodObject<{
215
270
  minTimeoutInMs?: number | undefined;
216
271
  maxTimeoutInMs?: number | undefined;
217
272
  randomize?: boolean | undefined;
273
+ outOfMemory?: {
274
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
275
+ } | undefined;
218
276
  } | undefined;
219
277
  durationInMs?: number | undefined;
220
278
  }>;
@@ -254,6 +312,13 @@ export declare const FetchRetryOptions: z.ZodObject<{
254
312
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
255
313
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
256
314
  randomize: z.ZodOptional<z.ZodBoolean>;
315
+ outOfMemory: z.ZodOptional<z.ZodObject<{
316
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
319
+ }, {
320
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
321
+ }>>;
257
322
  }, {
258
323
  /** The `backoff` strategy retries the request with an exponential backoff. */
259
324
  strategy: z.ZodLiteral<"backoff">;
@@ -266,6 +331,9 @@ export declare const FetchRetryOptions: z.ZodObject<{
266
331
  minTimeoutInMs?: number | undefined;
267
332
  maxTimeoutInMs?: number | undefined;
268
333
  randomize?: boolean | undefined;
334
+ outOfMemory?: {
335
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
336
+ } | undefined;
269
337
  bodyFilter?: EventFilter | undefined;
270
338
  }, {
271
339
  strategy: "backoff";
@@ -274,6 +342,9 @@ export declare const FetchRetryOptions: z.ZodObject<{
274
342
  minTimeoutInMs?: number | undefined;
275
343
  maxTimeoutInMs?: number | undefined;
276
344
  randomize?: boolean | undefined;
345
+ outOfMemory?: {
346
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
347
+ } | undefined;
277
348
  bodyFilter?: EventFilter | undefined;
278
349
  }>]>>>;
279
350
  /** The timeout options for the request. */
@@ -283,18 +354,31 @@ export declare const FetchRetryOptions: z.ZodObject<{
283
354
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
284
355
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
285
356
  randomize: z.ZodOptional<z.ZodBoolean>;
357
+ outOfMemory: z.ZodOptional<z.ZodObject<{
358
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
361
+ }, {
362
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
363
+ }>>;
286
364
  }, "strip", z.ZodTypeAny, {
287
365
  maxAttempts?: number | undefined;
288
366
  factor?: number | undefined;
289
367
  minTimeoutInMs?: number | undefined;
290
368
  maxTimeoutInMs?: number | undefined;
291
369
  randomize?: boolean | undefined;
370
+ outOfMemory?: {
371
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
372
+ } | undefined;
292
373
  }, {
293
374
  maxAttempts?: number | undefined;
294
375
  factor?: number | undefined;
295
376
  minTimeoutInMs?: number | undefined;
296
377
  maxTimeoutInMs?: number | undefined;
297
378
  randomize?: boolean | undefined;
379
+ outOfMemory?: {
380
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
381
+ } | undefined;
298
382
  }>>;
299
383
  /**
300
384
  * The retrying strategy for connection errors.
@@ -305,18 +389,31 @@ export declare const FetchRetryOptions: z.ZodObject<{
305
389
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
306
390
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
307
391
  randomize: z.ZodOptional<z.ZodBoolean>;
392
+ outOfMemory: z.ZodOptional<z.ZodObject<{
393
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
396
+ }, {
397
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
398
+ }>>;
308
399
  }, "strip", z.ZodTypeAny, {
309
400
  maxAttempts?: number | undefined;
310
401
  factor?: number | undefined;
311
402
  minTimeoutInMs?: number | undefined;
312
403
  maxTimeoutInMs?: number | undefined;
313
404
  randomize?: boolean | undefined;
405
+ outOfMemory?: {
406
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
407
+ } | undefined;
314
408
  }, {
315
409
  maxAttempts?: number | undefined;
316
410
  factor?: number | undefined;
317
411
  minTimeoutInMs?: number | undefined;
318
412
  maxTimeoutInMs?: number | undefined;
319
413
  randomize?: boolean | undefined;
414
+ outOfMemory?: {
415
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
416
+ } | undefined;
320
417
  }>>;
321
418
  }, "strip", z.ZodTypeAny, {
322
419
  byStatus?: Record<string, {
@@ -333,6 +430,9 @@ export declare const FetchRetryOptions: z.ZodObject<{
333
430
  minTimeoutInMs?: number | undefined;
334
431
  maxTimeoutInMs?: number | undefined;
335
432
  randomize?: boolean | undefined;
433
+ outOfMemory?: {
434
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
435
+ } | undefined;
336
436
  bodyFilter?: EventFilter | undefined;
337
437
  }> | undefined;
338
438
  timeout?: {
@@ -341,6 +441,9 @@ export declare const FetchRetryOptions: z.ZodObject<{
341
441
  minTimeoutInMs?: number | undefined;
342
442
  maxTimeoutInMs?: number | undefined;
343
443
  randomize?: boolean | undefined;
444
+ outOfMemory?: {
445
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
446
+ } | undefined;
344
447
  } | undefined;
345
448
  connectionError?: {
346
449
  maxAttempts?: number | undefined;
@@ -348,6 +451,9 @@ export declare const FetchRetryOptions: z.ZodObject<{
348
451
  minTimeoutInMs?: number | undefined;
349
452
  maxTimeoutInMs?: number | undefined;
350
453
  randomize?: boolean | undefined;
454
+ outOfMemory?: {
455
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
456
+ } | undefined;
351
457
  } | undefined;
352
458
  }, {
353
459
  byStatus?: Record<string, {
@@ -364,6 +470,9 @@ export declare const FetchRetryOptions: z.ZodObject<{
364
470
  minTimeoutInMs?: number | undefined;
365
471
  maxTimeoutInMs?: number | undefined;
366
472
  randomize?: boolean | undefined;
473
+ outOfMemory?: {
474
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
475
+ } | undefined;
367
476
  bodyFilter?: EventFilter | undefined;
368
477
  }> | undefined;
369
478
  timeout?: {
@@ -372,6 +481,9 @@ export declare const FetchRetryOptions: z.ZodObject<{
372
481
  minTimeoutInMs?: number | undefined;
373
482
  maxTimeoutInMs?: number | undefined;
374
483
  randomize?: boolean | undefined;
484
+ outOfMemory?: {
485
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
486
+ } | undefined;
375
487
  } | undefined;
376
488
  connectionError?: {
377
489
  maxAttempts?: number | undefined;
@@ -379,6 +491,9 @@ export declare const FetchRetryOptions: z.ZodObject<{
379
491
  minTimeoutInMs?: number | undefined;
380
492
  maxTimeoutInMs?: number | undefined;
381
493
  randomize?: boolean | undefined;
494
+ outOfMemory?: {
495
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
496
+ } | undefined;
382
497
  } | undefined;
383
498
  }>;
384
499
  export type FetchRetryOptions = Prettify<z.infer<typeof FetchRetryOptions>>;