@trigger.dev/core 0.0.0-v3-prerelease-20240717092755 → 0.0.0-v3-prerelease-20240730135037

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 (47) hide show
  1. package/dist/{catalog-U7_q4XsM.d.mts → catalog-H7yFiZ60.d.mts} +1 -1
  2. package/dist/{catalog-bSnBE19I.d.ts → catalog-h79CG5Wy.d.ts} +1 -1
  3. package/dist/index.d.mts +1 -1
  4. package/dist/index.d.ts +1 -1
  5. package/dist/{messages-CHPNqMXf.d.mts → messages-mhHZiNGN.d.mts} +202 -9
  6. package/dist/{messages-CHPNqMXf.d.ts → messages-mhHZiNGN.d.ts} +202 -9
  7. package/dist/retry.d.mts +1 -1
  8. package/dist/retry.d.ts +1 -1
  9. package/dist/schemas/index.d.mts +6 -6
  10. package/dist/schemas/index.d.ts +6 -6
  11. package/dist/{schemas-WHkFakb3.d.mts → schemas-C9ssfehv.d.mts} +47 -1
  12. package/dist/{schemas-WHkFakb3.d.ts → schemas-C9ssfehv.d.ts} +47 -1
  13. package/dist/v3/index.d.mts +49 -29
  14. package/dist/v3/index.d.ts +49 -29
  15. package/dist/v3/index.js +65 -9
  16. package/dist/v3/index.js.map +1 -1
  17. package/dist/v3/index.mjs +62 -10
  18. package/dist/v3/index.mjs.map +1 -1
  19. package/dist/v3/otel/index.js +1 -1
  20. package/dist/v3/otel/index.js.map +1 -1
  21. package/dist/v3/otel/index.mjs +1 -1
  22. package/dist/v3/otel/index.mjs.map +1 -1
  23. package/dist/v3/prod/index.d.mts +1 -1
  24. package/dist/v3/prod/index.d.ts +1 -1
  25. package/dist/v3/schemas/index.d.mts +166 -4
  26. package/dist/v3/schemas/index.d.ts +166 -4
  27. package/dist/v3/schemas/index.js +52 -8
  28. package/dist/v3/schemas/index.js.map +1 -1
  29. package/dist/v3/schemas/index.mjs +49 -9
  30. package/dist/v3/schemas/index.mjs.map +1 -1
  31. package/dist/v3/utils/ioSerialization.js +48 -4
  32. package/dist/v3/utils/ioSerialization.js.map +1 -1
  33. package/dist/v3/utils/ioSerialization.mjs +48 -4
  34. package/dist/v3/utils/ioSerialization.mjs.map +1 -1
  35. package/dist/v3/utils/retries.d.mts +1 -1
  36. package/dist/v3/utils/retries.d.ts +1 -1
  37. package/dist/v3/workers/index.d.mts +4 -4
  38. package/dist/v3/workers/index.d.ts +4 -4
  39. package/dist/v3/workers/index.js +48 -4
  40. package/dist/v3/workers/index.js.map +1 -1
  41. package/dist/v3/workers/index.mjs +48 -4
  42. package/dist/v3/workers/index.mjs.map +1 -1
  43. package/dist/v3/zodfetch.d.mts +1 -1
  44. package/dist/v3/zodfetch.d.ts +1 -1
  45. package/package.json +1 -1
  46. package/dist/{api-a39zAY3E.d.mts → api-Pl9fxB8v.d.mts} +153 -153
  47. package/dist/{api--StDLb4h.d.ts → api-sNoooMbT.d.ts} +153 -153
@@ -5774,6 +5774,16 @@ declare const childToWorkerMessages: {
5774
5774
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
5775
5775
  }>>;
5776
5776
  triggerSource: z.ZodOptional<z.ZodString>;
5777
+ schedule: z.ZodOptional<z.ZodObject<{
5778
+ cron: z.ZodString;
5779
+ timezone: z.ZodString;
5780
+ }, "strip", z.ZodTypeAny, {
5781
+ cron: string;
5782
+ timezone: string;
5783
+ }, {
5784
+ cron: string;
5785
+ timezone: string;
5786
+ }>>;
5777
5787
  filePath: z.ZodString;
5778
5788
  exportName: z.ZodString;
5779
5789
  }, "strip", z.ZodTypeAny, {
@@ -5831,6 +5841,10 @@ declare const childToWorkerMessages: {
5831
5841
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
5832
5842
  } | undefined;
5833
5843
  triggerSource?: string | undefined;
5844
+ schedule?: {
5845
+ cron: string;
5846
+ timezone: string;
5847
+ } | undefined;
5834
5848
  }, {
5835
5849
  id: string;
5836
5850
  filePath: string;
@@ -5886,6 +5900,10 @@ declare const childToWorkerMessages: {
5886
5900
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
5887
5901
  } | undefined;
5888
5902
  triggerSource?: string | undefined;
5903
+ schedule?: {
5904
+ cron: string;
5905
+ timezone: string;
5906
+ } | undefined;
5889
5907
  }>, "many">;
5890
5908
  }, "strip", z.ZodTypeAny, {
5891
5909
  version: "v1";
@@ -5944,6 +5962,10 @@ declare const childToWorkerMessages: {
5944
5962
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
5945
5963
  } | undefined;
5946
5964
  triggerSource?: string | undefined;
5965
+ schedule?: {
5966
+ cron: string;
5967
+ timezone: string;
5968
+ } | undefined;
5947
5969
  }[];
5948
5970
  }, {
5949
5971
  tasks: {
@@ -6001,6 +6023,10 @@ declare const childToWorkerMessages: {
6001
6023
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
6002
6024
  } | undefined;
6003
6025
  triggerSource?: string | undefined;
6026
+ schedule?: {
6027
+ cron: string;
6028
+ timezone: string;
6029
+ } | undefined;
6004
6030
  }[];
6005
6031
  version?: "v1" | undefined;
6006
6032
  }>;
@@ -6964,6 +6990,16 @@ declare const ProdChildToWorkerMessages: {
6964
6990
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
6965
6991
  }>>;
6966
6992
  triggerSource: z.ZodOptional<z.ZodString>;
6993
+ schedule: z.ZodOptional<z.ZodObject<{
6994
+ cron: z.ZodString;
6995
+ timezone: z.ZodString;
6996
+ }, "strip", z.ZodTypeAny, {
6997
+ cron: string;
6998
+ timezone: string;
6999
+ }, {
7000
+ cron: string;
7001
+ timezone: string;
7002
+ }>>;
6967
7003
  filePath: z.ZodString;
6968
7004
  exportName: z.ZodString;
6969
7005
  }, "strip", z.ZodTypeAny, {
@@ -7021,6 +7057,10 @@ declare const ProdChildToWorkerMessages: {
7021
7057
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
7022
7058
  } | undefined;
7023
7059
  triggerSource?: string | undefined;
7060
+ schedule?: {
7061
+ cron: string;
7062
+ timezone: string;
7063
+ } | undefined;
7024
7064
  }, {
7025
7065
  id: string;
7026
7066
  filePath: string;
@@ -7076,6 +7116,10 @@ declare const ProdChildToWorkerMessages: {
7076
7116
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
7077
7117
  } | undefined;
7078
7118
  triggerSource?: string | undefined;
7119
+ schedule?: {
7120
+ cron: string;
7121
+ timezone: string;
7122
+ } | undefined;
7079
7123
  }>, "many">;
7080
7124
  }, "strip", z.ZodTypeAny, {
7081
7125
  version: "v1";
@@ -7134,6 +7178,10 @@ declare const ProdChildToWorkerMessages: {
7134
7178
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
7135
7179
  } | undefined;
7136
7180
  triggerSource?: string | undefined;
7181
+ schedule?: {
7182
+ cron: string;
7183
+ timezone: string;
7184
+ } | undefined;
7137
7185
  }[];
7138
7186
  }, {
7139
7187
  tasks: {
@@ -7191,6 +7239,10 @@ declare const ProdChildToWorkerMessages: {
7191
7239
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
7192
7240
  } | undefined;
7193
7241
  triggerSource?: string | undefined;
7242
+ schedule?: {
7243
+ cron: string;
7244
+ timezone: string;
7245
+ } | undefined;
7194
7246
  }[];
7195
7247
  version?: "v1" | undefined;
7196
7248
  }>;
@@ -8881,6 +8933,36 @@ declare const PlatformToProviderMessages: {
8881
8933
  reason?: string | undefined;
8882
8934
  }>;
8883
8935
  };
8936
+ PRE_PULL_DEPLOYMENT: {
8937
+ message: z.ZodObject<{
8938
+ version: z.ZodDefault<z.ZodLiteral<"v1">>;
8939
+ imageRef: z.ZodString;
8940
+ shortCode: z.ZodString;
8941
+ envId: z.ZodString;
8942
+ envType: z.ZodEnum<["PRODUCTION", "STAGING", "DEVELOPMENT", "PREVIEW"]>;
8943
+ orgId: z.ZodString;
8944
+ projectId: z.ZodString;
8945
+ deploymentId: z.ZodString;
8946
+ }, "strip", z.ZodTypeAny, {
8947
+ version: "v1";
8948
+ projectId: string;
8949
+ shortCode: string;
8950
+ envId: string;
8951
+ envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
8952
+ orgId: string;
8953
+ deploymentId: string;
8954
+ imageRef: string;
8955
+ }, {
8956
+ projectId: string;
8957
+ shortCode: string;
8958
+ envId: string;
8959
+ envType: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
8960
+ orgId: string;
8961
+ deploymentId: string;
8962
+ imageRef: string;
8963
+ version?: "v1" | undefined;
8964
+ }>;
8965
+ };
8884
8966
  };
8885
8967
  declare const CoordinatorToPlatformMessages: {
8886
8968
  LOG: {
@@ -9126,6 +9208,16 @@ declare const CoordinatorToPlatformMessages: {
9126
9208
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9127
9209
  }>>;
9128
9210
  triggerSource: z.ZodOptional<z.ZodString>;
9211
+ schedule: z.ZodOptional<z.ZodObject<{
9212
+ cron: z.ZodString;
9213
+ timezone: z.ZodString;
9214
+ }, "strip", z.ZodTypeAny, {
9215
+ cron: string;
9216
+ timezone: string;
9217
+ }, {
9218
+ cron: string;
9219
+ timezone: string;
9220
+ }>>;
9129
9221
  }, "strip", z.ZodTypeAny, {
9130
9222
  id: string;
9131
9223
  filePath: string;
@@ -9180,6 +9272,10 @@ declare const CoordinatorToPlatformMessages: {
9180
9272
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9181
9273
  } | undefined;
9182
9274
  triggerSource?: string | undefined;
9275
+ schedule?: {
9276
+ cron: string;
9277
+ timezone: string;
9278
+ } | undefined;
9183
9279
  }, {
9184
9280
  id: string;
9185
9281
  filePath: string;
@@ -9234,6 +9330,10 @@ declare const CoordinatorToPlatformMessages: {
9234
9330
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9235
9331
  } | undefined;
9236
9332
  triggerSource?: string | undefined;
9333
+ schedule?: {
9334
+ cron: string;
9335
+ timezone: string;
9336
+ } | undefined;
9237
9337
  }>, "many">;
9238
9338
  }, "strip", z.ZodTypeAny, {
9239
9339
  contentHash: string;
@@ -9291,6 +9391,10 @@ declare const CoordinatorToPlatformMessages: {
9291
9391
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9292
9392
  } | undefined;
9293
9393
  triggerSource?: string | undefined;
9394
+ schedule?: {
9395
+ cron: string;
9396
+ timezone: string;
9397
+ } | undefined;
9294
9398
  }[];
9295
9399
  packageVersion: string;
9296
9400
  cliPackageVersion?: string | undefined;
@@ -9350,6 +9454,10 @@ declare const CoordinatorToPlatformMessages: {
9350
9454
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9351
9455
  } | undefined;
9352
9456
  triggerSource?: string | undefined;
9457
+ schedule?: {
9458
+ cron: string;
9459
+ timezone: string;
9460
+ } | undefined;
9353
9461
  }[];
9354
9462
  packageVersion: string;
9355
9463
  cliPackageVersion?: string | undefined;
@@ -9416,6 +9524,10 @@ declare const CoordinatorToPlatformMessages: {
9416
9524
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9417
9525
  } | undefined;
9418
9526
  triggerSource?: string | undefined;
9527
+ schedule?: {
9528
+ cron: string;
9529
+ timezone: string;
9530
+ } | undefined;
9419
9531
  }[];
9420
9532
  packageVersion: string;
9421
9533
  cliPackageVersion?: string | undefined;
@@ -9481,6 +9593,10 @@ declare const CoordinatorToPlatformMessages: {
9481
9593
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9482
9594
  } | undefined;
9483
9595
  triggerSource?: string | undefined;
9596
+ schedule?: {
9597
+ cron: string;
9598
+ timezone: string;
9599
+ } | undefined;
9484
9600
  }[];
9485
9601
  packageVersion: string;
9486
9602
  cliPackageVersion?: string | undefined;
@@ -9715,6 +9831,16 @@ declare const CoordinatorToPlatformMessages: {
9715
9831
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9716
9832
  }>>;
9717
9833
  triggerSource: z.ZodOptional<z.ZodString>;
9834
+ schedule: z.ZodOptional<z.ZodObject<{
9835
+ cron: z.ZodString;
9836
+ timezone: z.ZodString;
9837
+ }, "strip", z.ZodTypeAny, {
9838
+ cron: string;
9839
+ timezone: string;
9840
+ }, {
9841
+ cron: string;
9842
+ timezone: string;
9843
+ }>>;
9718
9844
  }, "strip", z.ZodTypeAny, {
9719
9845
  id: string;
9720
9846
  filePath: string;
@@ -9769,6 +9895,10 @@ declare const CoordinatorToPlatformMessages: {
9769
9895
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9770
9896
  } | undefined;
9771
9897
  triggerSource?: string | undefined;
9898
+ schedule?: {
9899
+ cron: string;
9900
+ timezone: string;
9901
+ } | undefined;
9772
9902
  }, {
9773
9903
  id: string;
9774
9904
  filePath: string;
@@ -9823,6 +9953,10 @@ declare const CoordinatorToPlatformMessages: {
9823
9953
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9824
9954
  } | undefined;
9825
9955
  triggerSource?: string | undefined;
9956
+ schedule?: {
9957
+ cron: string;
9958
+ timezone: string;
9959
+ } | undefined;
9826
9960
  }>, "many">;
9827
9961
  }, "strip", z.ZodTypeAny, {
9828
9962
  contentHash: string;
@@ -9880,6 +10014,10 @@ declare const CoordinatorToPlatformMessages: {
9880
10014
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9881
10015
  } | undefined;
9882
10016
  triggerSource?: string | undefined;
10017
+ schedule?: {
10018
+ cron: string;
10019
+ timezone: string;
10020
+ } | undefined;
9883
10021
  }[];
9884
10022
  packageVersion: string;
9885
10023
  cliPackageVersion?: string | undefined;
@@ -9939,6 +10077,10 @@ declare const CoordinatorToPlatformMessages: {
9939
10077
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9940
10078
  } | undefined;
9941
10079
  triggerSource?: string | undefined;
10080
+ schedule?: {
10081
+ cron: string;
10082
+ timezone: string;
10083
+ } | undefined;
9942
10084
  }[];
9943
10085
  packageVersion: string;
9944
10086
  cliPackageVersion?: string | undefined;
@@ -10006,6 +10148,10 @@ declare const CoordinatorToPlatformMessages: {
10006
10148
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
10007
10149
  } | undefined;
10008
10150
  triggerSource?: string | undefined;
10151
+ schedule?: {
10152
+ cron: string;
10153
+ timezone: string;
10154
+ } | undefined;
10009
10155
  }[];
10010
10156
  packageVersion: string;
10011
10157
  cliPackageVersion?: string | undefined;
@@ -10072,6 +10218,10 @@ declare const CoordinatorToPlatformMessages: {
10072
10218
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
10073
10219
  } | undefined;
10074
10220
  triggerSource?: string | undefined;
10221
+ schedule?: {
10222
+ cron: string;
10223
+ timezone: string;
10224
+ } | undefined;
10075
10225
  }[];
10076
10226
  packageVersion: string;
10077
10227
  cliPackageVersion?: string | undefined;
@@ -14359,15 +14509,6 @@ declare const ClientToSharedQueueMessages: {
14359
14509
  version?: "v1" | undefined;
14360
14510
  }>;
14361
14511
  };
14362
- PING: {
14363
- message: z.ZodObject<{
14364
- version: z.ZodDefault<z.ZodLiteral<"v1">>;
14365
- }, "strip", z.ZodTypeAny, {
14366
- version: "v1";
14367
- }, {
14368
- version?: "v1" | undefined;
14369
- }>;
14370
- };
14371
14512
  };
14372
14513
  declare const SharedQueueToClientMessages: {
14373
14514
  SERVER_READY: {
@@ -15468,6 +15609,16 @@ declare const ProdWorkerToCoordinatorMessages: {
15468
15609
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15469
15610
  }>>;
15470
15611
  triggerSource: z.ZodOptional<z.ZodString>;
15612
+ schedule: z.ZodOptional<z.ZodObject<{
15613
+ cron: z.ZodString;
15614
+ timezone: z.ZodString;
15615
+ }, "strip", z.ZodTypeAny, {
15616
+ cron: string;
15617
+ timezone: string;
15618
+ }, {
15619
+ cron: string;
15620
+ timezone: string;
15621
+ }>>;
15471
15622
  }, "strip", z.ZodTypeAny, {
15472
15623
  id: string;
15473
15624
  filePath: string;
@@ -15522,6 +15673,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15522
15673
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15523
15674
  } | undefined;
15524
15675
  triggerSource?: string | undefined;
15676
+ schedule?: {
15677
+ cron: string;
15678
+ timezone: string;
15679
+ } | undefined;
15525
15680
  }, {
15526
15681
  id: string;
15527
15682
  filePath: string;
@@ -15576,6 +15731,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15576
15731
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15577
15732
  } | undefined;
15578
15733
  triggerSource?: string | undefined;
15734
+ schedule?: {
15735
+ cron: string;
15736
+ timezone: string;
15737
+ } | undefined;
15579
15738
  }>, "many">;
15580
15739
  packageVersion: z.ZodString;
15581
15740
  deploymentId: z.ZodString;
@@ -15636,6 +15795,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15636
15795
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15637
15796
  } | undefined;
15638
15797
  triggerSource?: string | undefined;
15798
+ schedule?: {
15799
+ cron: string;
15800
+ timezone: string;
15801
+ } | undefined;
15639
15802
  }[];
15640
15803
  packageVersion: string;
15641
15804
  deploymentId: string;
@@ -15695,6 +15858,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15695
15858
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15696
15859
  } | undefined;
15697
15860
  triggerSource?: string | undefined;
15861
+ schedule?: {
15862
+ cron: string;
15863
+ timezone: string;
15864
+ } | undefined;
15698
15865
  }[];
15699
15866
  packageVersion: string;
15700
15867
  deploymentId: string;
@@ -15921,6 +16088,16 @@ declare const ProdWorkerToCoordinatorMessages: {
15921
16088
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15922
16089
  }>>;
15923
16090
  triggerSource: z.ZodOptional<z.ZodString>;
16091
+ schedule: z.ZodOptional<z.ZodObject<{
16092
+ cron: z.ZodString;
16093
+ timezone: z.ZodString;
16094
+ }, "strip", z.ZodTypeAny, {
16095
+ cron: string;
16096
+ timezone: string;
16097
+ }, {
16098
+ cron: string;
16099
+ timezone: string;
16100
+ }>>;
15924
16101
  }, "strip", z.ZodTypeAny, {
15925
16102
  id: string;
15926
16103
  filePath: string;
@@ -15975,6 +16152,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15975
16152
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15976
16153
  } | undefined;
15977
16154
  triggerSource?: string | undefined;
16155
+ schedule?: {
16156
+ cron: string;
16157
+ timezone: string;
16158
+ } | undefined;
15978
16159
  }, {
15979
16160
  id: string;
15980
16161
  filePath: string;
@@ -16029,6 +16210,10 @@ declare const ProdWorkerToCoordinatorMessages: {
16029
16210
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
16030
16211
  } | undefined;
16031
16212
  triggerSource?: string | undefined;
16213
+ schedule?: {
16214
+ cron: string;
16215
+ timezone: string;
16216
+ } | undefined;
16032
16217
  }>, "many">;
16033
16218
  packageVersion: z.ZodString;
16034
16219
  deploymentId: z.ZodString;
@@ -16090,6 +16275,10 @@ declare const ProdWorkerToCoordinatorMessages: {
16090
16275
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
16091
16276
  } | undefined;
16092
16277
  triggerSource?: string | undefined;
16278
+ schedule?: {
16279
+ cron: string;
16280
+ timezone: string;
16281
+ } | undefined;
16093
16282
  }[];
16094
16283
  packageVersion: string;
16095
16284
  supportsLazyAttempts: boolean;
@@ -16150,6 +16339,10 @@ declare const ProdWorkerToCoordinatorMessages: {
16150
16339
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
16151
16340
  } | undefined;
16152
16341
  triggerSource?: string | undefined;
16342
+ schedule?: {
16343
+ cron: string;
16344
+ timezone: string;
16345
+ } | undefined;
16153
16346
  }[];
16154
16347
  packageVersion: string;
16155
16348
  supportsLazyAttempts: boolean;
package/dist/retry.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { bh as RetryOptions } from './api-a39zAY3E.mjs';
1
+ import { bh as RetryOptions } from './api-Pl9fxB8v.mjs';
2
2
  import './eventFilter-66NaBAMi.mjs';
3
3
  import 'zod';
4
4
  import './json-DBPEJQRe.mjs';
package/dist/retry.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { bh as RetryOptions } from './api--StDLb4h.js';
1
+ import { bh as RetryOptions } from './api-sNoooMbT.js';
2
2
  import './eventFilter-66NaBAMi.js';
3
3
  import 'zod';
4
4
  import './json-DBPEJQRe.js';
@@ -1,5 +1,5 @@
1
- import { au as RuntimeEnvironmentType } from '../api-a39zAY3E.mjs';
2
- export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api-a39zAY3E.mjs';
1
+ import { au as RuntimeEnvironmentType } from '../api-Pl9fxB8v.mjs';
2
+ export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api-Pl9fxB8v.mjs';
3
3
  import { S as SerializableJson } from '../json-DBPEJQRe.mjs';
4
4
  export { D as DeserializedJson, a as DeserializedJsonSchema, b as SerializableJsonSchema } from '../json-DBPEJQRe.mjs';
5
5
  import { E as EventFilter } from '../eventFilter-66NaBAMi.mjs';
@@ -558,11 +558,11 @@ declare const SchemaErrorSchema: z.ZodObject<{
558
558
  path: z.ZodArray<z.ZodString, "many">;
559
559
  message: z.ZodString;
560
560
  }, "strip", z.ZodTypeAny, {
561
- path: string[];
562
561
  message: string;
563
- }, {
564
562
  path: string[];
563
+ }, {
565
564
  message: string;
565
+ path: string[];
566
566
  }>;
567
567
  type SchemaError = z.infer<typeof SchemaErrorSchema>;
568
568
 
@@ -2273,16 +2273,16 @@ declare const RunTaskSchema: z.ZodObject<{
2273
2273
  /** When the task completed */
2274
2274
  completedAt: z.ZodNullable<z.ZodDate>;
2275
2275
  }, "strip", z.ZodTypeAny, {
2276
- status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
2277
2276
  name: string;
2277
+ status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
2278
2278
  id: string;
2279
2279
  icon: string | null;
2280
2280
  startedAt: Date | null;
2281
2281
  completedAt: Date | null;
2282
2282
  displayKey: string | null;
2283
2283
  }, {
2284
- status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
2285
2284
  name: string;
2285
+ status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
2286
2286
  id: string;
2287
2287
  icon: string | null;
2288
2288
  startedAt: Date | null;
@@ -1,5 +1,5 @@
1
- import { au as RuntimeEnvironmentType } from '../api--StDLb4h.js';
2
- export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api--StDLb4h.js';
1
+ import { au as RuntimeEnvironmentType } from '../api-sNoooMbT.js';
2
+ export { al as ApiEventLog, ak as ApiEventLogSchema, ay as AutoYieldConfig, ax as AutoYieldConfigSchema, aG as AutoYieldMetadata, aF as AutoYieldMetadataSchema, be as CachedTask, cb as CachedTaskSchema, bd as ClientTask, bs as CompleteTaskBodyInput, br as CompleteTaskBodyInputSchema, bt as CompleteTaskBodyOutput, bv as CompleteTaskBodyV2Input, bu as CompleteTaskBodyV2InputSchema, N as ConcurrencyLimitOptionsSchema, bU as CreateExternalConnectionBody, bT as CreateExternalConnectionBodySchema, b8 as CreateRunResponseBody, b7 as CreateRunResponseBodySchema, D as DELIVER_WEBHOOK_REQUEST, as as DeliverEventResponse, ar as DeliverEventResponseSchema, a4 as DynamicTriggerEndpointMetadata, a3 as DynamicTriggerEndpointMetadataSchema, ae as EndpointHeadersSchema, a9 as EndpointIndexError, a8 as EndpointIndexErrorSchema, c1 as EphemeralEventDispatcherRequestBody, c0 as EphemeralEventDispatcherRequestBodySchema, c3 as EphemeralEventDispatcherResponseBody, c2 as EphemeralEventDispatcherResponseBodySchema, ag as ExecuteJobHeadersSchema, af as ExecuteJobRunMetadataSchema, bx as FailTaskBodyInput, bw as FailTaskBodyInputSchema, ad as GetEndpointIndexResponse, ac as GetEndpointIndexResponseSchema, bW as GetRunStatuses, bV as GetRunStatusesSchema, y as HandleTriggerSource, x as HandleTriggerSourceSchema, a5 as HttpEndpointMetadata, C as HttpEndpointRequestHeadersSchema, B as HttpSourceRequestHeaders, A as HttpSourceRequestHeadersSchema, H as HttpSourceResponseMetadata, bC as HttpSourceResponseSchema, a7 as IndexEndpointResponse, a6 as IndexEndpointResponseSchema, aa as IndexEndpointStats, bN as InitializeCronScheduleBodySchema, bK as InitializeTriggerBody, bJ as InitializeTriggerBodySchema, bZ as InvokeJobRequestBody, bY as InvokeJobRequestBodySchema, bX as InvokeJobResponseSchema, b$ as InvokeOptions, b_ as InvokeOptionsSchema, X as JobMetadata, O as JobMetadataSchema, c5 as KeyValueStoreResponseBody, c4 as KeyValueStoreResponseBodySchema, bc as LogMessage, bb as LogMessageSchema, bz as NormalizedRequest, by as NormalizedRequestSchema, bB as NormalizedResponse, bA as NormalizedResponseSchema, bk as OverridableRunTaskOptions, F as PongErrorResponseSchema, I as PongResponse, G as PongResponseSchema, P as PongSuccessResponseSchema, b4 as PreprocessRunBody, b3 as PreprocessRunBodySchema, b6 as PreprocessRunResponse, b5 as PreprocessRunResponseSchema, M as QueueOptions, Q as QueueOptionsSchema, n as REGISTER_SOURCE_EVENT_V1, o as REGISTER_SOURCE_EVENT_V2, i as REGISTER_WEBHOOK, ai as RawEvent, ah as RawEventSchema, bf as RedactSchema, ba as RedactString, b9 as RedactStringSchema, bO as RegisterCronScheduleBody, R as RegisterHTTPTriggerSourceBodySchema, bM as RegisterIntervalScheduleBody, bL as RegisterIntervalScheduleBodySchema, f as RegisterSMTPTriggerSourceBodySchema, g as RegisterSQSTriggerSourceBodySchema, bQ as RegisterScheduleBody, bP as RegisterScheduleBodySchema, bS as RegisterScheduleResponseBody, bR as RegisterScheduleResponseBodySchema, h as RegisterSourceChannelBodySchema, u as RegisterSourceEventOptions, r as RegisterSourceEventSchemaV1, v as RegisterSourceEventSchemaV2, s as RegisterSourceEventV1, w as RegisterSourceEventV2, bF as RegisterTriggerBodySchemaV1, bH as RegisterTriggerBodySchemaV2, bG as RegisterTriggerBodyV1, bI as RegisterTriggerBodyV2, q as RegisterTriggerSource, p as RegisterTriggerSourceSchema, m as RegisterWebhookPayload, l as RegisterWebhookPayloadSchema, k as RegisterWebhookSource, j as RegisterWebhookSourceSchema, t as RegisteredOptionsDiff, bh as RetryOptions, bg as RetryOptionsSchema, aI as RunJobAutoYieldExecutionError, aH as RunJobAutoYieldExecutionErrorSchema, aM as RunJobAutoYieldRateLimitError, aL as RunJobAutoYieldRateLimitErrorSchema, aK as RunJobAutoYieldWithCompletedTaskExecutionError, aJ as RunJobAutoYieldWithCompletedTaskExecutionErrorSchema, aA as RunJobBody, az as RunJobBodySchema, aW as RunJobCanceledWithTask, aV as RunJobCanceledWithTaskSchema, aC as RunJobError, a_ as RunJobErrorResponse, aZ as RunJobErrorResponseSchema, aB as RunJobErrorSchema, aO as RunJobInvalidPayloadError, aN as RunJobInvalidPayloadErrorSchema, b2 as RunJobResponse, b1 as RunJobResponseSchema, b0 as RunJobResumeWithParallelTask, a$ as RunJobResumeWithParallelTaskSchema, aS as RunJobResumeWithTask, aR as RunJobResumeWithTaskSchema, aU as RunJobRetryWithTask, aT as RunJobRetryWithTaskSchema, aY as RunJobSuccess, aX as RunJobSuccessSchema, aQ as RunJobUnresolvedAuthError, aP as RunJobUnresolvedAuthErrorSchema, aE as RunJobYieldExecutionError, aD as RunJobYieldExecutionErrorSchema, aw as RunSourceContext, av as RunSourceContextSchema, bm as RunTaskBodyInput, bl as RunTaskBodyInputSchema, bo as RunTaskBodyOutput, bn as RunTaskBodyOutputSchema, bj as RunTaskOptions, bi as RunTaskOptionsSchema, bq as RunTaskResponseWithCachedTasksBody, bp as RunTaskResponseWithCachedTasksBodySchema, at as RuntimeEnvironmentTypeSchema, ao as SendBulkEventsBodySchema, aj as SendEvent, ap as SendEventBody, an as SendEventBodySchema, aq as SendEventOptions, am as SendEventOptionsSchema, ca as ServerTask, c9 as ServerTaskSchema, S as SourceEventOption, Y as SourceMetadataV1, _ as SourceMetadataV2, Z as SourceMetadataV2Schema, c8 as TaskSchema, c7 as TaskStatus, c6 as TaskStatusSchema, z as TriggerSource, T as TriggerSourceSchema, a as UpdateTriggerSourceBodyV1, U as UpdateTriggerSourceBodyV1Schema, c as UpdateTriggerSourceBodyV2, b as UpdateTriggerSourceBodyV2Schema, e as UpdateWebhookBody, d as UpdateWebhookBodySchema, J as ValidateErrorResponseSchema, L as ValidateResponse, K as ValidateResponseSchema, V as ValidateSuccessResponseSchema, a2 as WebhookContextMetadata, a1 as WebhookContextMetadataSchema, bE as WebhookDeliveryResponse, bD as WebhookDeliveryResponseSchema, a0 as WebhookMetadata, $ as WebhookMetadataSchema, E as WebhookSourceRequestHeaders, W as WebhookSourceRequestHeadersSchema, ab as parseEndpointIndexStats } from '../api-sNoooMbT.js';
3
3
  import { S as SerializableJson } from '../json-DBPEJQRe.js';
4
4
  export { D as DeserializedJson, a as DeserializedJsonSchema, b as SerializableJsonSchema } from '../json-DBPEJQRe.js';
5
5
  import { E as EventFilter } from '../eventFilter-66NaBAMi.js';
@@ -558,11 +558,11 @@ declare const SchemaErrorSchema: z.ZodObject<{
558
558
  path: z.ZodArray<z.ZodString, "many">;
559
559
  message: z.ZodString;
560
560
  }, "strip", z.ZodTypeAny, {
561
- path: string[];
562
561
  message: string;
563
- }, {
564
562
  path: string[];
563
+ }, {
565
564
  message: string;
565
+ path: string[];
566
566
  }>;
567
567
  type SchemaError = z.infer<typeof SchemaErrorSchema>;
568
568
 
@@ -2273,16 +2273,16 @@ declare const RunTaskSchema: z.ZodObject<{
2273
2273
  /** When the task completed */
2274
2274
  completedAt: z.ZodNullable<z.ZodDate>;
2275
2275
  }, "strip", z.ZodTypeAny, {
2276
- status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
2277
2276
  name: string;
2277
+ status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
2278
2278
  id: string;
2279
2279
  icon: string | null;
2280
2280
  startedAt: Date | null;
2281
2281
  completedAt: Date | null;
2282
2282
  displayKey: string | null;
2283
2283
  }, {
2284
- status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
2285
2284
  name: string;
2285
+ status: "PENDING" | "WAITING" | "RUNNING" | "COMPLETED" | "ERRORED" | "CANCELED";
2286
2286
  id: string;
2287
2287
  icon: string | null;
2288
2288
  startedAt: Date | null;