@trigger.dev/platform 1.0.13 → 1.0.14

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.
@@ -289,11 +289,11 @@ declare const ActiveSubscriptionSchema: z.ZodObject<{
289
289
  runs: z.ZodOptional<z.ZodNumber>;
290
290
  concurrentRuns: z.ZodOptional<z.ZodNumber>;
291
291
  }, "strip", z.ZodTypeAny, {
292
- runs?: number | undefined;
293
292
  concurrentRuns?: number | undefined;
294
- }, {
295
293
  runs?: number | undefined;
294
+ }, {
296
295
  concurrentRuns?: number | undefined;
296
+ runs?: number | undefined;
297
297
  }>;
298
298
  canceledAt: z.ZodOptional<z.ZodString>;
299
299
  }, "strip", z.ZodTypeAny, {
@@ -317,8 +317,8 @@ declare const ActiveSubscriptionSchema: z.ZodObject<{
317
317
  } | undefined;
318
318
  };
319
319
  limits: {
320
- runs?: number | undefined;
321
320
  concurrentRuns?: number | undefined;
321
+ runs?: number | undefined;
322
322
  };
323
323
  canceledAt?: string | undefined;
324
324
  }, {
@@ -342,8 +342,8 @@ declare const ActiveSubscriptionSchema: z.ZodObject<{
342
342
  } | undefined;
343
343
  };
344
344
  limits: {
345
- runs?: number | undefined;
346
345
  concurrentRuns?: number | undefined;
346
+ runs?: number | undefined;
347
347
  };
348
348
  canceledAt?: string | undefined;
349
349
  }>;
@@ -443,11 +443,11 @@ declare const CurrentPlanSchema: z.ZodObject<{
443
443
  runs: z.ZodOptional<z.ZodNumber>;
444
444
  concurrentRuns: z.ZodOptional<z.ZodNumber>;
445
445
  }, "strip", z.ZodTypeAny, {
446
- runs?: number | undefined;
447
446
  concurrentRuns?: number | undefined;
448
- }, {
449
447
  runs?: number | undefined;
448
+ }, {
450
449
  concurrentRuns?: number | undefined;
450
+ runs?: number | undefined;
451
451
  }>;
452
452
  canceledAt: z.ZodOptional<z.ZodString>;
453
453
  }, "strip", z.ZodTypeAny, {
@@ -471,8 +471,8 @@ declare const CurrentPlanSchema: z.ZodObject<{
471
471
  } | undefined;
472
472
  };
473
473
  limits: {
474
- runs?: number | undefined;
475
474
  concurrentRuns?: number | undefined;
475
+ runs?: number | undefined;
476
476
  };
477
477
  canceledAt?: string | undefined;
478
478
  }, {
@@ -496,8 +496,8 @@ declare const CurrentPlanSchema: z.ZodObject<{
496
496
  } | undefined;
497
497
  };
498
498
  limits: {
499
- runs?: number | undefined;
500
499
  concurrentRuns?: number | undefined;
500
+ runs?: number | undefined;
501
501
  };
502
502
  canceledAt?: string | undefined;
503
503
  }>>;
@@ -523,8 +523,8 @@ declare const CurrentPlanSchema: z.ZodObject<{
523
523
  } | undefined;
524
524
  };
525
525
  limits: {
526
- runs?: number | undefined;
527
526
  concurrentRuns?: number | undefined;
527
+ runs?: number | undefined;
528
528
  };
529
529
  canceledAt?: string | undefined;
530
530
  } | undefined;
@@ -550,8 +550,8 @@ declare const CurrentPlanSchema: z.ZodObject<{
550
550
  } | undefined;
551
551
  };
552
552
  limits: {
553
- runs?: number | undefined;
554
553
  concurrentRuns?: number | undefined;
554
+ runs?: number | undefined;
555
555
  };
556
556
  canceledAt?: string | undefined;
557
557
  } | undefined;
@@ -289,11 +289,11 @@ declare const ActiveSubscriptionSchema: z.ZodObject<{
289
289
  runs: z.ZodOptional<z.ZodNumber>;
290
290
  concurrentRuns: z.ZodOptional<z.ZodNumber>;
291
291
  }, "strip", z.ZodTypeAny, {
292
- runs?: number | undefined;
293
292
  concurrentRuns?: number | undefined;
294
- }, {
295
293
  runs?: number | undefined;
294
+ }, {
296
295
  concurrentRuns?: number | undefined;
296
+ runs?: number | undefined;
297
297
  }>;
298
298
  canceledAt: z.ZodOptional<z.ZodString>;
299
299
  }, "strip", z.ZodTypeAny, {
@@ -317,8 +317,8 @@ declare const ActiveSubscriptionSchema: z.ZodObject<{
317
317
  } | undefined;
318
318
  };
319
319
  limits: {
320
- runs?: number | undefined;
321
320
  concurrentRuns?: number | undefined;
321
+ runs?: number | undefined;
322
322
  };
323
323
  canceledAt?: string | undefined;
324
324
  }, {
@@ -342,8 +342,8 @@ declare const ActiveSubscriptionSchema: z.ZodObject<{
342
342
  } | undefined;
343
343
  };
344
344
  limits: {
345
- runs?: number | undefined;
346
345
  concurrentRuns?: number | undefined;
346
+ runs?: number | undefined;
347
347
  };
348
348
  canceledAt?: string | undefined;
349
349
  }>;
@@ -443,11 +443,11 @@ declare const CurrentPlanSchema: z.ZodObject<{
443
443
  runs: z.ZodOptional<z.ZodNumber>;
444
444
  concurrentRuns: z.ZodOptional<z.ZodNumber>;
445
445
  }, "strip", z.ZodTypeAny, {
446
- runs?: number | undefined;
447
446
  concurrentRuns?: number | undefined;
448
- }, {
449
447
  runs?: number | undefined;
448
+ }, {
450
449
  concurrentRuns?: number | undefined;
450
+ runs?: number | undefined;
451
451
  }>;
452
452
  canceledAt: z.ZodOptional<z.ZodString>;
453
453
  }, "strip", z.ZodTypeAny, {
@@ -471,8 +471,8 @@ declare const CurrentPlanSchema: z.ZodObject<{
471
471
  } | undefined;
472
472
  };
473
473
  limits: {
474
- runs?: number | undefined;
475
474
  concurrentRuns?: number | undefined;
475
+ runs?: number | undefined;
476
476
  };
477
477
  canceledAt?: string | undefined;
478
478
  }, {
@@ -496,8 +496,8 @@ declare const CurrentPlanSchema: z.ZodObject<{
496
496
  } | undefined;
497
497
  };
498
498
  limits: {
499
- runs?: number | undefined;
500
499
  concurrentRuns?: number | undefined;
500
+ runs?: number | undefined;
501
501
  };
502
502
  canceledAt?: string | undefined;
503
503
  }>>;
@@ -523,8 +523,8 @@ declare const CurrentPlanSchema: z.ZodObject<{
523
523
  } | undefined;
524
524
  };
525
525
  limits: {
526
- runs?: number | undefined;
527
526
  concurrentRuns?: number | undefined;
527
+ runs?: number | undefined;
528
528
  };
529
529
  canceledAt?: string | undefined;
530
530
  } | undefined;
@@ -550,8 +550,8 @@ declare const CurrentPlanSchema: z.ZodObject<{
550
550
  } | undefined;
551
551
  };
552
552
  limits: {
553
- runs?: number | undefined;
554
553
  concurrentRuns?: number | undefined;
554
+ runs?: number | undefined;
555
555
  };
556
556
  canceledAt?: string | undefined;
557
557
  } | undefined;
@@ -4580,7 +4580,6 @@ declare const SubscriptionResult: z.ZodObject<{
4580
4580
  }, "strip", z.ZodTypeAny, {
4581
4581
  isPaying: boolean;
4582
4582
  freeTierStatus: "requires_connect" | "approved" | "rejected";
4583
- canceledAt?: string | undefined;
4584
4583
  plan?: {
4585
4584
  code: string;
4586
4585
  type: "free";
@@ -4687,10 +4686,10 @@ declare const SubscriptionResult: z.ZodObject<{
4687
4686
  };
4688
4687
  title: string;
4689
4688
  } | undefined;
4689
+ canceledAt?: string | undefined;
4690
4690
  }, {
4691
4691
  isPaying: boolean;
4692
4692
  freeTierStatus: "requires_connect" | "approved" | "rejected";
4693
- canceledAt?: string | undefined;
4694
4693
  plan?: {
4695
4694
  code: string;
4696
4695
  type: "free";
@@ -4797,6 +4796,7 @@ declare const SubscriptionResult: z.ZodObject<{
4797
4796
  };
4798
4797
  title: string;
4799
4798
  } | undefined;
4799
+ canceledAt?: string | undefined;
4800
4800
  }>;
4801
4801
  type SubscriptionResult = z.infer<typeof SubscriptionResult>;
4802
4802
  declare const CurrentPlan: z.ZodObject<{
@@ -4894,17 +4894,17 @@ declare const CurrentPlan: z.ZodObject<{
4894
4894
  runs: z.ZodOptional<z.ZodNumber>;
4895
4895
  concurrentRuns: z.ZodOptional<z.ZodNumber>;
4896
4896
  }, "strip", z.ZodTypeAny, {
4897
- runs?: number | undefined;
4898
4897
  concurrentRuns?: number | undefined;
4899
- }, {
4900
4898
  runs?: number | undefined;
4899
+ }, {
4901
4900
  concurrentRuns?: number | undefined;
4901
+ runs?: number | undefined;
4902
4902
  }>;
4903
4903
  canceledAt: z.ZodOptional<z.ZodString>;
4904
4904
  }, "strip", z.ZodTypeAny, {
4905
4905
  limits: {
4906
- runs?: number | undefined;
4907
4906
  concurrentRuns?: number | undefined;
4907
+ runs?: number | undefined;
4908
4908
  };
4909
4909
  isPaying: boolean;
4910
4910
  plan: {
@@ -4928,8 +4928,8 @@ declare const CurrentPlan: z.ZodObject<{
4928
4928
  canceledAt?: string | undefined;
4929
4929
  }, {
4930
4930
  limits: {
4931
- runs?: number | undefined;
4932
4931
  concurrentRuns?: number | undefined;
4932
+ runs?: number | undefined;
4933
4933
  };
4934
4934
  isPaying: boolean;
4935
4935
  plan: {
@@ -5559,7 +5559,6 @@ declare const CurrentPlan: z.ZodObject<{
5559
5559
  }, "strip", z.ZodTypeAny, {
5560
5560
  isPaying: boolean;
5561
5561
  freeTierStatus: "requires_connect" | "approved" | "rejected";
5562
- canceledAt?: string | undefined;
5563
5562
  plan?: {
5564
5563
  code: string;
5565
5564
  type: "free";
@@ -5666,10 +5665,10 @@ declare const CurrentPlan: z.ZodObject<{
5666
5665
  };
5667
5666
  title: string;
5668
5667
  } | undefined;
5668
+ canceledAt?: string | undefined;
5669
5669
  }, {
5670
5670
  isPaying: boolean;
5671
5671
  freeTierStatus: "requires_connect" | "approved" | "rejected";
5672
- canceledAt?: string | undefined;
5673
5672
  plan?: {
5674
5673
  code: string;
5675
5674
  type: "free";
@@ -5776,12 +5775,13 @@ declare const CurrentPlan: z.ZodObject<{
5776
5775
  };
5777
5776
  title: string;
5778
5777
  } | undefined;
5778
+ canceledAt?: string | undefined;
5779
5779
  }>;
5780
5780
  }, "strip", z.ZodTypeAny, {
5781
5781
  subscription: {
5782
5782
  limits: {
5783
- runs?: number | undefined;
5784
5783
  concurrentRuns?: number | undefined;
5784
+ runs?: number | undefined;
5785
5785
  };
5786
5786
  isPaying: boolean;
5787
5787
  plan: {
@@ -5807,7 +5807,6 @@ declare const CurrentPlan: z.ZodObject<{
5807
5807
  v3Subscription: {
5808
5808
  isPaying: boolean;
5809
5809
  freeTierStatus: "requires_connect" | "approved" | "rejected";
5810
- canceledAt?: string | undefined;
5811
5810
  plan?: {
5812
5811
  code: string;
5813
5812
  type: "free";
@@ -5914,12 +5913,13 @@ declare const CurrentPlan: z.ZodObject<{
5914
5913
  };
5915
5914
  title: string;
5916
5915
  } | undefined;
5916
+ canceledAt?: string | undefined;
5917
5917
  };
5918
5918
  }, {
5919
5919
  subscription: {
5920
5920
  limits: {
5921
- runs?: number | undefined;
5922
5921
  concurrentRuns?: number | undefined;
5922
+ runs?: number | undefined;
5923
5923
  };
5924
5924
  isPaying: boolean;
5925
5925
  plan: {
@@ -5945,7 +5945,6 @@ declare const CurrentPlan: z.ZodObject<{
5945
5945
  v3Subscription: {
5946
5946
  isPaying: boolean;
5947
5947
  freeTierStatus: "requires_connect" | "approved" | "rejected";
5948
- canceledAt?: string | undefined;
5949
5948
  plan?: {
5950
5949
  code: string;
5951
5950
  type: "free";
@@ -6052,6 +6051,7 @@ declare const CurrentPlan: z.ZodObject<{
6052
6051
  };
6053
6052
  title: string;
6054
6053
  } | undefined;
6054
+ canceledAt?: string | undefined;
6055
6055
  };
6056
6056
  }>;
6057
6057
  type CurrentPlan = z.infer<typeof CurrentPlan>;
@@ -6303,22 +6303,22 @@ declare const UsageSeriesResult: z.ZodObject<{
6303
6303
  windowEnd: string;
6304
6304
  }>, "many">;
6305
6305
  }, "strip", z.ZodTypeAny, {
6306
+ from: string;
6307
+ to: string;
6306
6308
  data: {
6307
6309
  value: number;
6308
6310
  windowStart: string;
6309
6311
  windowEnd: string;
6310
6312
  }[];
6311
- from: string;
6312
- to: string;
6313
6313
  window?: "MINUTE" | "HOUR" | "DAY" | undefined;
6314
6314
  }, {
6315
+ from: string;
6316
+ to: string;
6315
6317
  data: {
6316
6318
  value: number;
6317
6319
  windowStart: string;
6318
6320
  windowEnd: string;
6319
6321
  }[];
6320
- from: string;
6321
- to: string;
6322
6322
  window?: "MINUTE" | "HOUR" | "DAY" | undefined;
6323
6323
  }>;
6324
6324
  type UsageSeriesResult = z.infer<typeof UsageSeriesResult>;
@@ -4580,7 +4580,6 @@ declare const SubscriptionResult: z.ZodObject<{
4580
4580
  }, "strip", z.ZodTypeAny, {
4581
4581
  isPaying: boolean;
4582
4582
  freeTierStatus: "requires_connect" | "approved" | "rejected";
4583
- canceledAt?: string | undefined;
4584
4583
  plan?: {
4585
4584
  code: string;
4586
4585
  type: "free";
@@ -4687,10 +4686,10 @@ declare const SubscriptionResult: z.ZodObject<{
4687
4686
  };
4688
4687
  title: string;
4689
4688
  } | undefined;
4689
+ canceledAt?: string | undefined;
4690
4690
  }, {
4691
4691
  isPaying: boolean;
4692
4692
  freeTierStatus: "requires_connect" | "approved" | "rejected";
4693
- canceledAt?: string | undefined;
4694
4693
  plan?: {
4695
4694
  code: string;
4696
4695
  type: "free";
@@ -4797,6 +4796,7 @@ declare const SubscriptionResult: z.ZodObject<{
4797
4796
  };
4798
4797
  title: string;
4799
4798
  } | undefined;
4799
+ canceledAt?: string | undefined;
4800
4800
  }>;
4801
4801
  type SubscriptionResult = z.infer<typeof SubscriptionResult>;
4802
4802
  declare const CurrentPlan: z.ZodObject<{
@@ -4894,17 +4894,17 @@ declare const CurrentPlan: z.ZodObject<{
4894
4894
  runs: z.ZodOptional<z.ZodNumber>;
4895
4895
  concurrentRuns: z.ZodOptional<z.ZodNumber>;
4896
4896
  }, "strip", z.ZodTypeAny, {
4897
- runs?: number | undefined;
4898
4897
  concurrentRuns?: number | undefined;
4899
- }, {
4900
4898
  runs?: number | undefined;
4899
+ }, {
4901
4900
  concurrentRuns?: number | undefined;
4901
+ runs?: number | undefined;
4902
4902
  }>;
4903
4903
  canceledAt: z.ZodOptional<z.ZodString>;
4904
4904
  }, "strip", z.ZodTypeAny, {
4905
4905
  limits: {
4906
- runs?: number | undefined;
4907
4906
  concurrentRuns?: number | undefined;
4907
+ runs?: number | undefined;
4908
4908
  };
4909
4909
  isPaying: boolean;
4910
4910
  plan: {
@@ -4928,8 +4928,8 @@ declare const CurrentPlan: z.ZodObject<{
4928
4928
  canceledAt?: string | undefined;
4929
4929
  }, {
4930
4930
  limits: {
4931
- runs?: number | undefined;
4932
4931
  concurrentRuns?: number | undefined;
4932
+ runs?: number | undefined;
4933
4933
  };
4934
4934
  isPaying: boolean;
4935
4935
  plan: {
@@ -5559,7 +5559,6 @@ declare const CurrentPlan: z.ZodObject<{
5559
5559
  }, "strip", z.ZodTypeAny, {
5560
5560
  isPaying: boolean;
5561
5561
  freeTierStatus: "requires_connect" | "approved" | "rejected";
5562
- canceledAt?: string | undefined;
5563
5562
  plan?: {
5564
5563
  code: string;
5565
5564
  type: "free";
@@ -5666,10 +5665,10 @@ declare const CurrentPlan: z.ZodObject<{
5666
5665
  };
5667
5666
  title: string;
5668
5667
  } | undefined;
5668
+ canceledAt?: string | undefined;
5669
5669
  }, {
5670
5670
  isPaying: boolean;
5671
5671
  freeTierStatus: "requires_connect" | "approved" | "rejected";
5672
- canceledAt?: string | undefined;
5673
5672
  plan?: {
5674
5673
  code: string;
5675
5674
  type: "free";
@@ -5776,12 +5775,13 @@ declare const CurrentPlan: z.ZodObject<{
5776
5775
  };
5777
5776
  title: string;
5778
5777
  } | undefined;
5778
+ canceledAt?: string | undefined;
5779
5779
  }>;
5780
5780
  }, "strip", z.ZodTypeAny, {
5781
5781
  subscription: {
5782
5782
  limits: {
5783
- runs?: number | undefined;
5784
5783
  concurrentRuns?: number | undefined;
5784
+ runs?: number | undefined;
5785
5785
  };
5786
5786
  isPaying: boolean;
5787
5787
  plan: {
@@ -5807,7 +5807,6 @@ declare const CurrentPlan: z.ZodObject<{
5807
5807
  v3Subscription: {
5808
5808
  isPaying: boolean;
5809
5809
  freeTierStatus: "requires_connect" | "approved" | "rejected";
5810
- canceledAt?: string | undefined;
5811
5810
  plan?: {
5812
5811
  code: string;
5813
5812
  type: "free";
@@ -5914,12 +5913,13 @@ declare const CurrentPlan: z.ZodObject<{
5914
5913
  };
5915
5914
  title: string;
5916
5915
  } | undefined;
5916
+ canceledAt?: string | undefined;
5917
5917
  };
5918
5918
  }, {
5919
5919
  subscription: {
5920
5920
  limits: {
5921
- runs?: number | undefined;
5922
5921
  concurrentRuns?: number | undefined;
5922
+ runs?: number | undefined;
5923
5923
  };
5924
5924
  isPaying: boolean;
5925
5925
  plan: {
@@ -5945,7 +5945,6 @@ declare const CurrentPlan: z.ZodObject<{
5945
5945
  v3Subscription: {
5946
5946
  isPaying: boolean;
5947
5947
  freeTierStatus: "requires_connect" | "approved" | "rejected";
5948
- canceledAt?: string | undefined;
5949
5948
  plan?: {
5950
5949
  code: string;
5951
5950
  type: "free";
@@ -6052,6 +6051,7 @@ declare const CurrentPlan: z.ZodObject<{
6052
6051
  };
6053
6052
  title: string;
6054
6053
  } | undefined;
6054
+ canceledAt?: string | undefined;
6055
6055
  };
6056
6056
  }>;
6057
6057
  type CurrentPlan = z.infer<typeof CurrentPlan>;
@@ -6303,22 +6303,22 @@ declare const UsageSeriesResult: z.ZodObject<{
6303
6303
  windowEnd: string;
6304
6304
  }>, "many">;
6305
6305
  }, "strip", z.ZodTypeAny, {
6306
+ from: string;
6307
+ to: string;
6306
6308
  data: {
6307
6309
  value: number;
6308
6310
  windowStart: string;
6309
6311
  windowEnd: string;
6310
6312
  }[];
6311
- from: string;
6312
- to: string;
6313
6313
  window?: "MINUTE" | "HOUR" | "DAY" | undefined;
6314
6314
  }, {
6315
+ from: string;
6316
+ to: string;
6315
6317
  data: {
6316
6318
  value: number;
6317
6319
  windowStart: string;
6318
6320
  windowEnd: string;
6319
6321
  }[];
6320
- from: string;
6321
- to: string;
6322
6322
  window?: "MINUTE" | "HOUR" | "DAY" | undefined;
6323
6323
  }>;
6324
6324
  type UsageSeriesResult = z.infer<typeof UsageSeriesResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trigger.dev/platform",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Used to communicate with the Trigger.dev platform. This is not a package you should use directly.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -40,7 +40,7 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "zod": "3.22.3"
43
+ "zod": "3.23.8"
44
44
  },
45
45
  "devDependencies": {
46
46
  "rimraf": "^3.0.2",