@trigger.dev/core 3.0.0-beta.49 → 3.0.0-beta.50

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 (39) 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/{messages-I-h-zZN9.d.mts → messages-JvHJ83wv.d.mts} +172 -0
  4. package/dist/{messages-I-h-zZN9.d.ts → messages-JvHJ83wv.d.ts} +172 -0
  5. package/dist/{schemas-WHkFakb3.d.mts → schemas-C9ssfehv.d.mts} +47 -1
  6. package/dist/{schemas-WHkFakb3.d.ts → schemas-C9ssfehv.d.ts} +47 -1
  7. package/dist/v3/index.d.mts +15 -7
  8. package/dist/v3/index.d.ts +15 -7
  9. package/dist/v3/index.js +24 -3
  10. package/dist/v3/index.js.map +1 -1
  11. package/dist/v3/index.mjs +23 -4
  12. package/dist/v3/index.mjs.map +1 -1
  13. package/dist/v3/otel/index.js +1 -1
  14. package/dist/v3/otel/index.js.map +1 -1
  15. package/dist/v3/otel/index.mjs +1 -1
  16. package/dist/v3/otel/index.mjs.map +1 -1
  17. package/dist/v3/prod/index.d.mts +1 -1
  18. package/dist/v3/prod/index.d.ts +1 -1
  19. package/dist/v3/schemas/index.d.mts +100 -4
  20. package/dist/v3/schemas/index.d.ts +100 -4
  21. package/dist/v3/schemas/index.js +23 -2
  22. package/dist/v3/schemas/index.js.map +1 -1
  23. package/dist/v3/schemas/index.mjs +22 -3
  24. package/dist/v3/schemas/index.mjs.map +1 -1
  25. package/dist/v3/utils/ioSerialization.js +22 -3
  26. package/dist/v3/utils/ioSerialization.js.map +1 -1
  27. package/dist/v3/utils/ioSerialization.mjs +22 -3
  28. package/dist/v3/utils/ioSerialization.mjs.map +1 -1
  29. package/dist/v3/utils/retries.d.mts +1 -1
  30. package/dist/v3/utils/retries.d.ts +1 -1
  31. package/dist/v3/workers/index.d.mts +4 -4
  32. package/dist/v3/workers/index.d.ts +4 -4
  33. package/dist/v3/workers/index.js +22 -3
  34. package/dist/v3/workers/index.js.map +1 -1
  35. package/dist/v3/workers/index.mjs +22 -3
  36. package/dist/v3/workers/index.mjs.map +1 -1
  37. package/dist/v3/zodfetch.d.mts +1 -1
  38. package/dist/v3/zodfetch.d.ts +1 -1
  39. package/package.json +1 -1
@@ -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
  }>;
@@ -9126,6 +9178,16 @@ declare const CoordinatorToPlatformMessages: {
9126
9178
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9127
9179
  }>>;
9128
9180
  triggerSource: z.ZodOptional<z.ZodString>;
9181
+ schedule: z.ZodOptional<z.ZodObject<{
9182
+ cron: z.ZodString;
9183
+ timezone: z.ZodString;
9184
+ }, "strip", z.ZodTypeAny, {
9185
+ cron: string;
9186
+ timezone: string;
9187
+ }, {
9188
+ cron: string;
9189
+ timezone: string;
9190
+ }>>;
9129
9191
  }, "strip", z.ZodTypeAny, {
9130
9192
  id: string;
9131
9193
  filePath: string;
@@ -9180,6 +9242,10 @@ declare const CoordinatorToPlatformMessages: {
9180
9242
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9181
9243
  } | undefined;
9182
9244
  triggerSource?: string | undefined;
9245
+ schedule?: {
9246
+ cron: string;
9247
+ timezone: string;
9248
+ } | undefined;
9183
9249
  }, {
9184
9250
  id: string;
9185
9251
  filePath: string;
@@ -9234,6 +9300,10 @@ declare const CoordinatorToPlatformMessages: {
9234
9300
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9235
9301
  } | undefined;
9236
9302
  triggerSource?: string | undefined;
9303
+ schedule?: {
9304
+ cron: string;
9305
+ timezone: string;
9306
+ } | undefined;
9237
9307
  }>, "many">;
9238
9308
  }, "strip", z.ZodTypeAny, {
9239
9309
  contentHash: string;
@@ -9291,6 +9361,10 @@ declare const CoordinatorToPlatformMessages: {
9291
9361
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9292
9362
  } | undefined;
9293
9363
  triggerSource?: string | undefined;
9364
+ schedule?: {
9365
+ cron: string;
9366
+ timezone: string;
9367
+ } | undefined;
9294
9368
  }[];
9295
9369
  packageVersion: string;
9296
9370
  cliPackageVersion?: string | undefined;
@@ -9350,6 +9424,10 @@ declare const CoordinatorToPlatformMessages: {
9350
9424
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9351
9425
  } | undefined;
9352
9426
  triggerSource?: string | undefined;
9427
+ schedule?: {
9428
+ cron: string;
9429
+ timezone: string;
9430
+ } | undefined;
9353
9431
  }[];
9354
9432
  packageVersion: string;
9355
9433
  cliPackageVersion?: string | undefined;
@@ -9416,6 +9494,10 @@ declare const CoordinatorToPlatformMessages: {
9416
9494
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9417
9495
  } | undefined;
9418
9496
  triggerSource?: string | undefined;
9497
+ schedule?: {
9498
+ cron: string;
9499
+ timezone: string;
9500
+ } | undefined;
9419
9501
  }[];
9420
9502
  packageVersion: string;
9421
9503
  cliPackageVersion?: string | undefined;
@@ -9481,6 +9563,10 @@ declare const CoordinatorToPlatformMessages: {
9481
9563
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9482
9564
  } | undefined;
9483
9565
  triggerSource?: string | undefined;
9566
+ schedule?: {
9567
+ cron: string;
9568
+ timezone: string;
9569
+ } | undefined;
9484
9570
  }[];
9485
9571
  packageVersion: string;
9486
9572
  cliPackageVersion?: string | undefined;
@@ -9715,6 +9801,16 @@ declare const CoordinatorToPlatformMessages: {
9715
9801
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9716
9802
  }>>;
9717
9803
  triggerSource: z.ZodOptional<z.ZodString>;
9804
+ schedule: z.ZodOptional<z.ZodObject<{
9805
+ cron: z.ZodString;
9806
+ timezone: z.ZodString;
9807
+ }, "strip", z.ZodTypeAny, {
9808
+ cron: string;
9809
+ timezone: string;
9810
+ }, {
9811
+ cron: string;
9812
+ timezone: string;
9813
+ }>>;
9718
9814
  }, "strip", z.ZodTypeAny, {
9719
9815
  id: string;
9720
9816
  filePath: string;
@@ -9769,6 +9865,10 @@ declare const CoordinatorToPlatformMessages: {
9769
9865
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9770
9866
  } | undefined;
9771
9867
  triggerSource?: string | undefined;
9868
+ schedule?: {
9869
+ cron: string;
9870
+ timezone: string;
9871
+ } | undefined;
9772
9872
  }, {
9773
9873
  id: string;
9774
9874
  filePath: string;
@@ -9823,6 +9923,10 @@ declare const CoordinatorToPlatformMessages: {
9823
9923
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9824
9924
  } | undefined;
9825
9925
  triggerSource?: string | undefined;
9926
+ schedule?: {
9927
+ cron: string;
9928
+ timezone: string;
9929
+ } | undefined;
9826
9930
  }>, "many">;
9827
9931
  }, "strip", z.ZodTypeAny, {
9828
9932
  contentHash: string;
@@ -9880,6 +9984,10 @@ declare const CoordinatorToPlatformMessages: {
9880
9984
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9881
9985
  } | undefined;
9882
9986
  triggerSource?: string | undefined;
9987
+ schedule?: {
9988
+ cron: string;
9989
+ timezone: string;
9990
+ } | undefined;
9883
9991
  }[];
9884
9992
  packageVersion: string;
9885
9993
  cliPackageVersion?: string | undefined;
@@ -9939,6 +10047,10 @@ declare const CoordinatorToPlatformMessages: {
9939
10047
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
9940
10048
  } | undefined;
9941
10049
  triggerSource?: string | undefined;
10050
+ schedule?: {
10051
+ cron: string;
10052
+ timezone: string;
10053
+ } | undefined;
9942
10054
  }[];
9943
10055
  packageVersion: string;
9944
10056
  cliPackageVersion?: string | undefined;
@@ -10006,6 +10118,10 @@ declare const CoordinatorToPlatformMessages: {
10006
10118
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
10007
10119
  } | undefined;
10008
10120
  triggerSource?: string | undefined;
10121
+ schedule?: {
10122
+ cron: string;
10123
+ timezone: string;
10124
+ } | undefined;
10009
10125
  }[];
10010
10126
  packageVersion: string;
10011
10127
  cliPackageVersion?: string | undefined;
@@ -10072,6 +10188,10 @@ declare const CoordinatorToPlatformMessages: {
10072
10188
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
10073
10189
  } | undefined;
10074
10190
  triggerSource?: string | undefined;
10191
+ schedule?: {
10192
+ cron: string;
10193
+ timezone: string;
10194
+ } | undefined;
10075
10195
  }[];
10076
10196
  packageVersion: string;
10077
10197
  cliPackageVersion?: string | undefined;
@@ -15459,6 +15579,16 @@ declare const ProdWorkerToCoordinatorMessages: {
15459
15579
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15460
15580
  }>>;
15461
15581
  triggerSource: z.ZodOptional<z.ZodString>;
15582
+ schedule: z.ZodOptional<z.ZodObject<{
15583
+ cron: z.ZodString;
15584
+ timezone: z.ZodString;
15585
+ }, "strip", z.ZodTypeAny, {
15586
+ cron: string;
15587
+ timezone: string;
15588
+ }, {
15589
+ cron: string;
15590
+ timezone: string;
15591
+ }>>;
15462
15592
  }, "strip", z.ZodTypeAny, {
15463
15593
  id: string;
15464
15594
  filePath: string;
@@ -15513,6 +15643,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15513
15643
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15514
15644
  } | undefined;
15515
15645
  triggerSource?: string | undefined;
15646
+ schedule?: {
15647
+ cron: string;
15648
+ timezone: string;
15649
+ } | undefined;
15516
15650
  }, {
15517
15651
  id: string;
15518
15652
  filePath: string;
@@ -15567,6 +15701,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15567
15701
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15568
15702
  } | undefined;
15569
15703
  triggerSource?: string | undefined;
15704
+ schedule?: {
15705
+ cron: string;
15706
+ timezone: string;
15707
+ } | undefined;
15570
15708
  }>, "many">;
15571
15709
  packageVersion: z.ZodString;
15572
15710
  deploymentId: z.ZodString;
@@ -15627,6 +15765,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15627
15765
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15628
15766
  } | undefined;
15629
15767
  triggerSource?: string | undefined;
15768
+ schedule?: {
15769
+ cron: string;
15770
+ timezone: string;
15771
+ } | undefined;
15630
15772
  }[];
15631
15773
  packageVersion: string;
15632
15774
  deploymentId: string;
@@ -15686,6 +15828,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15686
15828
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15687
15829
  } | undefined;
15688
15830
  triggerSource?: string | undefined;
15831
+ schedule?: {
15832
+ cron: string;
15833
+ timezone: string;
15834
+ } | undefined;
15689
15835
  }[];
15690
15836
  packageVersion: string;
15691
15837
  deploymentId: string;
@@ -15912,6 +16058,16 @@ declare const ProdWorkerToCoordinatorMessages: {
15912
16058
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15913
16059
  }>>;
15914
16060
  triggerSource: z.ZodOptional<z.ZodString>;
16061
+ schedule: z.ZodOptional<z.ZodObject<{
16062
+ cron: z.ZodString;
16063
+ timezone: z.ZodString;
16064
+ }, "strip", z.ZodTypeAny, {
16065
+ cron: string;
16066
+ timezone: string;
16067
+ }, {
16068
+ cron: string;
16069
+ timezone: string;
16070
+ }>>;
15915
16071
  }, "strip", z.ZodTypeAny, {
15916
16072
  id: string;
15917
16073
  filePath: string;
@@ -15966,6 +16122,10 @@ declare const ProdWorkerToCoordinatorMessages: {
15966
16122
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
15967
16123
  } | undefined;
15968
16124
  triggerSource?: string | undefined;
16125
+ schedule?: {
16126
+ cron: string;
16127
+ timezone: string;
16128
+ } | undefined;
15969
16129
  }, {
15970
16130
  id: string;
15971
16131
  filePath: string;
@@ -16020,6 +16180,10 @@ declare const ProdWorkerToCoordinatorMessages: {
16020
16180
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
16021
16181
  } | undefined;
16022
16182
  triggerSource?: string | undefined;
16183
+ schedule?: {
16184
+ cron: string;
16185
+ timezone: string;
16186
+ } | undefined;
16023
16187
  }>, "many">;
16024
16188
  packageVersion: z.ZodString;
16025
16189
  deploymentId: z.ZodString;
@@ -16081,6 +16245,10 @@ declare const ProdWorkerToCoordinatorMessages: {
16081
16245
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
16082
16246
  } | undefined;
16083
16247
  triggerSource?: string | undefined;
16248
+ schedule?: {
16249
+ cron: string;
16250
+ timezone: string;
16251
+ } | undefined;
16084
16252
  }[];
16085
16253
  packageVersion: string;
16086
16254
  supportsLazyAttempts: boolean;
@@ -16141,6 +16309,10 @@ declare const ProdWorkerToCoordinatorMessages: {
16141
16309
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
16142
16310
  } | undefined;
16143
16311
  triggerSource?: string | undefined;
16312
+ schedule?: {
16313
+ cron: string;
16314
+ timezone: string;
16315
+ } | undefined;
16144
16316
  }[];
16145
16317
  packageVersion: string;
16146
16318
  supportsLazyAttempts: boolean;
@@ -1609,6 +1609,16 @@ declare const QueueOptions: z.ZodObject<{
1609
1609
  } | undefined;
1610
1610
  }>;
1611
1611
  type QueueOptions = z.infer<typeof QueueOptions>;
1612
+ declare const ScheduleMetadata: z.ZodObject<{
1613
+ cron: z.ZodString;
1614
+ timezone: z.ZodString;
1615
+ }, "strip", z.ZodTypeAny, {
1616
+ cron: string;
1617
+ timezone: string;
1618
+ }, {
1619
+ cron: string;
1620
+ timezone: string;
1621
+ }>;
1612
1622
  declare const TaskMetadata: z.ZodObject<{
1613
1623
  id: z.ZodString;
1614
1624
  packageVersion: z.ZodString;
@@ -1876,6 +1886,16 @@ declare const TaskMetadata: z.ZodObject<{
1876
1886
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1877
1887
  }>>;
1878
1888
  triggerSource: z.ZodOptional<z.ZodString>;
1889
+ schedule: z.ZodOptional<z.ZodObject<{
1890
+ cron: z.ZodString;
1891
+ timezone: z.ZodString;
1892
+ }, "strip", z.ZodTypeAny, {
1893
+ cron: string;
1894
+ timezone: string;
1895
+ }, {
1896
+ cron: string;
1897
+ timezone: string;
1898
+ }>>;
1879
1899
  }, "strip", z.ZodTypeAny, {
1880
1900
  id: string;
1881
1901
  packageVersion: string;
@@ -1929,6 +1949,10 @@ declare const TaskMetadata: z.ZodObject<{
1929
1949
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1930
1950
  } | undefined;
1931
1951
  triggerSource?: string | undefined;
1952
+ schedule?: {
1953
+ cron: string;
1954
+ timezone: string;
1955
+ } | undefined;
1932
1956
  }, {
1933
1957
  id: string;
1934
1958
  packageVersion: string;
@@ -1982,6 +2006,10 @@ declare const TaskMetadata: z.ZodObject<{
1982
2006
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1983
2007
  } | undefined;
1984
2008
  triggerSource?: string | undefined;
2009
+ schedule?: {
2010
+ cron: string;
2011
+ timezone: string;
2012
+ } | undefined;
1985
2013
  }>;
1986
2014
  type TaskMetadata = z.infer<typeof TaskMetadata>;
1987
2015
  declare const TaskFileMetadata: z.ZodObject<{
@@ -2262,6 +2290,16 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
2262
2290
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2263
2291
  }>>;
2264
2292
  triggerSource: z.ZodOptional<z.ZodString>;
2293
+ schedule: z.ZodOptional<z.ZodObject<{
2294
+ cron: z.ZodString;
2295
+ timezone: z.ZodString;
2296
+ }, "strip", z.ZodTypeAny, {
2297
+ cron: string;
2298
+ timezone: string;
2299
+ }, {
2300
+ cron: string;
2301
+ timezone: string;
2302
+ }>>;
2265
2303
  filePath: z.ZodString;
2266
2304
  exportName: z.ZodString;
2267
2305
  }, "strip", z.ZodTypeAny, {
@@ -2319,6 +2357,10 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
2319
2357
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2320
2358
  } | undefined;
2321
2359
  triggerSource?: string | undefined;
2360
+ schedule?: {
2361
+ cron: string;
2362
+ timezone: string;
2363
+ } | undefined;
2322
2364
  }, {
2323
2365
  id: string;
2324
2366
  filePath: string;
@@ -2374,6 +2416,10 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
2374
2416
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2375
2417
  } | undefined;
2376
2418
  triggerSource?: string | undefined;
2419
+ schedule?: {
2420
+ cron: string;
2421
+ timezone: string;
2422
+ } | undefined;
2377
2423
  }>;
2378
2424
  type TaskMetadataWithFilePath = z.infer<typeof TaskMetadataWithFilePath>;
2379
2425
  declare const PostStartCauses: z.ZodEnum<["index", "create", "restore"]>;
@@ -2519,4 +2565,4 @@ declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
2519
2565
  }>;
2520
2566
  type TaskRunExecutionLazyAttemptPayload = z.infer<typeof TaskRunExecutionLazyAttemptPayload>;
2521
2567
 
2522
- export { Config as C, EnvironmentType as E, FixedWindowRateLimit as F, type Prettify as P, QueueOptions as Q, RetryOptions as R, SlidingWindowRateLimit as S, TaskMetadata as T, WaitReason as W, TaskFileMetadata as a, TaskMetadataWithFilePath as b, TaskRunExecutionPayload as c, ProdTaskRunExecution as d, ProdTaskRunExecutionPayload as e, RateLimitOptions as f, PostStartCauses as g, PreStopCauses as h, type ResolvedConfig as i, TaskRunExecutionLazyAttemptPayload as j, type RequireKeys as k };
2568
+ export { Config as C, EnvironmentType as E, FixedWindowRateLimit as F, type Prettify as P, QueueOptions as Q, RetryOptions as R, SlidingWindowRateLimit as S, TaskMetadata as T, WaitReason as W, TaskFileMetadata as a, TaskMetadataWithFilePath as b, TaskRunExecutionPayload as c, ProdTaskRunExecution as d, ProdTaskRunExecutionPayload as e, RateLimitOptions as f, ScheduleMetadata as g, PostStartCauses as h, PreStopCauses as i, type ResolvedConfig as j, TaskRunExecutionLazyAttemptPayload as k, type RequireKeys as l };
@@ -1609,6 +1609,16 @@ declare const QueueOptions: z.ZodObject<{
1609
1609
  } | undefined;
1610
1610
  }>;
1611
1611
  type QueueOptions = z.infer<typeof QueueOptions>;
1612
+ declare const ScheduleMetadata: z.ZodObject<{
1613
+ cron: z.ZodString;
1614
+ timezone: z.ZodString;
1615
+ }, "strip", z.ZodTypeAny, {
1616
+ cron: string;
1617
+ timezone: string;
1618
+ }, {
1619
+ cron: string;
1620
+ timezone: string;
1621
+ }>;
1612
1622
  declare const TaskMetadata: z.ZodObject<{
1613
1623
  id: z.ZodString;
1614
1624
  packageVersion: z.ZodString;
@@ -1876,6 +1886,16 @@ declare const TaskMetadata: z.ZodObject<{
1876
1886
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1877
1887
  }>>;
1878
1888
  triggerSource: z.ZodOptional<z.ZodString>;
1889
+ schedule: z.ZodOptional<z.ZodObject<{
1890
+ cron: z.ZodString;
1891
+ timezone: z.ZodString;
1892
+ }, "strip", z.ZodTypeAny, {
1893
+ cron: string;
1894
+ timezone: string;
1895
+ }, {
1896
+ cron: string;
1897
+ timezone: string;
1898
+ }>>;
1879
1899
  }, "strip", z.ZodTypeAny, {
1880
1900
  id: string;
1881
1901
  packageVersion: string;
@@ -1929,6 +1949,10 @@ declare const TaskMetadata: z.ZodObject<{
1929
1949
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1930
1950
  } | undefined;
1931
1951
  triggerSource?: string | undefined;
1952
+ schedule?: {
1953
+ cron: string;
1954
+ timezone: string;
1955
+ } | undefined;
1932
1956
  }, {
1933
1957
  id: string;
1934
1958
  packageVersion: string;
@@ -1982,6 +2006,10 @@ declare const TaskMetadata: z.ZodObject<{
1982
2006
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1983
2007
  } | undefined;
1984
2008
  triggerSource?: string | undefined;
2009
+ schedule?: {
2010
+ cron: string;
2011
+ timezone: string;
2012
+ } | undefined;
1985
2013
  }>;
1986
2014
  type TaskMetadata = z.infer<typeof TaskMetadata>;
1987
2015
  declare const TaskFileMetadata: z.ZodObject<{
@@ -2262,6 +2290,16 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
2262
2290
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2263
2291
  }>>;
2264
2292
  triggerSource: z.ZodOptional<z.ZodString>;
2293
+ schedule: z.ZodOptional<z.ZodObject<{
2294
+ cron: z.ZodString;
2295
+ timezone: z.ZodString;
2296
+ }, "strip", z.ZodTypeAny, {
2297
+ cron: string;
2298
+ timezone: string;
2299
+ }, {
2300
+ cron: string;
2301
+ timezone: string;
2302
+ }>>;
2265
2303
  filePath: z.ZodString;
2266
2304
  exportName: z.ZodString;
2267
2305
  }, "strip", z.ZodTypeAny, {
@@ -2319,6 +2357,10 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
2319
2357
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2320
2358
  } | undefined;
2321
2359
  triggerSource?: string | undefined;
2360
+ schedule?: {
2361
+ cron: string;
2362
+ timezone: string;
2363
+ } | undefined;
2322
2364
  }, {
2323
2365
  id: string;
2324
2366
  filePath: string;
@@ -2374,6 +2416,10 @@ declare const TaskMetadataWithFilePath: z.ZodObject<{
2374
2416
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
2375
2417
  } | undefined;
2376
2418
  triggerSource?: string | undefined;
2419
+ schedule?: {
2420
+ cron: string;
2421
+ timezone: string;
2422
+ } | undefined;
2377
2423
  }>;
2378
2424
  type TaskMetadataWithFilePath = z.infer<typeof TaskMetadataWithFilePath>;
2379
2425
  declare const PostStartCauses: z.ZodEnum<["index", "create", "restore"]>;
@@ -2519,4 +2565,4 @@ declare const TaskRunExecutionLazyAttemptPayload: z.ZodObject<{
2519
2565
  }>;
2520
2566
  type TaskRunExecutionLazyAttemptPayload = z.infer<typeof TaskRunExecutionLazyAttemptPayload>;
2521
2567
 
2522
- export { Config as C, EnvironmentType as E, FixedWindowRateLimit as F, type Prettify as P, QueueOptions as Q, RetryOptions as R, SlidingWindowRateLimit as S, TaskMetadata as T, WaitReason as W, TaskFileMetadata as a, TaskMetadataWithFilePath as b, TaskRunExecutionPayload as c, ProdTaskRunExecution as d, ProdTaskRunExecutionPayload as e, RateLimitOptions as f, PostStartCauses as g, PreStopCauses as h, type ResolvedConfig as i, TaskRunExecutionLazyAttemptPayload as j, type RequireKeys as k };
2568
+ export { Config as C, EnvironmentType as E, FixedWindowRateLimit as F, type Prettify as P, QueueOptions as Q, RetryOptions as R, SlidingWindowRateLimit as S, TaskMetadata as T, WaitReason as W, TaskFileMetadata as a, TaskMetadataWithFilePath as b, TaskRunExecutionPayload as c, ProdTaskRunExecution as d, ProdTaskRunExecutionPayload as e, RateLimitOptions as f, ScheduleMetadata as g, PostStartCauses as h, PreStopCauses as i, type ResolvedConfig as j, TaskRunExecutionLazyAttemptPayload as k, type RequireKeys as l };