@domino-sdk/relay 1.0.0-next.12 → 1.0.0-next.13

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 (34) hide show
  1. package/dist/authoring.d.ts +25 -25
  2. package/dist/authoring.js +10 -3
  3. package/dist/browser.d.ts +19 -26
  4. package/dist/browser.js +6 -6
  5. package/dist/{catalog-qrYne8qV.d.ts → catalog-C85V1NgW.d.ts} +73 -79
  6. package/dist/{chunk-YYD4QUBO.js → chunk-CRNQP7NV.js} +550 -470
  7. package/dist/{chunk-22J4K7ED.js → chunk-EZWNGI5B.js} +4 -4
  8. package/dist/{chunk-7Q4BGGT6.js → chunk-FXYJ4OMX.js} +1 -1
  9. package/dist/{chunk-4LBUTHD6.js → chunk-II7DRZSL.js} +1 -1
  10. package/dist/{chunk-NZA2TLBF.js → chunk-KS33GOUL.js} +23 -8
  11. package/dist/{chunk-LY7SXUNW.js → chunk-M64XHC42.js} +4 -4
  12. package/dist/{chunk-UW5CQHPQ.js → chunk-MNQI35OG.js} +3 -3
  13. package/dist/{chunk-5L7XZA4Y.js → chunk-OA2KMQVZ.js} +31 -25
  14. package/dist/{chunk-EWFB35JW.js → chunk-WQ24ILGO.js} +2 -2
  15. package/dist/{client-CW72TaAs.d.ts → client-Bf9PNUIi.d.ts} +18 -25
  16. package/dist/{deployments-Bc0dPSXN.d.ts → deployments-CNCP0JnD.d.ts} +269 -138
  17. package/dist/{images-D0Txfte6.d.ts → images-BG4pdO4y.d.ts} +1 -1
  18. package/dist/index.d.ts +5 -5
  19. package/dist/index.js +5 -5
  20. package/dist/internal.d.ts +3 -3
  21. package/dist/internal.js +4 -4
  22. package/dist/{observations-bFY4yv2K.d.ts → observations-CQ6IcNuQ.d.ts} +3 -3
  23. package/dist/portal-proxy.js +2 -2
  24. package/dist/react/index.d.ts +19 -27
  25. package/dist/react/index.js +7 -7
  26. package/dist/{referrals-CvSmxvjm.d.ts → referrals-KQfP4pBf.d.ts} +189 -102
  27. package/dist/{schema-ZfjL-d1N.d.ts → schema-BF_TQsmT.d.ts} +338 -47
  28. package/dist/schema.d.ts +8 -8
  29. package/dist/schema.js +28 -8
  30. package/dist/server/index.d.ts +542 -508
  31. package/dist/server/index.js +31 -7
  32. package/dist/{streaks-CwGReWGt.d.ts → streaks-CWyq8Px5.d.ts} +2 -4
  33. package/dist/{trackers-BsUh5Ky0.d.ts → trackers-W7nRdRr7.d.ts} +1 -1
  34. package/package.json +1 -1
@@ -222,6 +222,24 @@ declare const contentPerformancePolicySchema: z.ZodObject<{
222
222
  }, z.core.$strict>;
223
223
  type ContentPerformancePolicy = z.infer<typeof contentPerformancePolicySchema>;
224
224
 
225
+ /**
226
+ * A cap on the points one rule pays per bucket: for the whole project or for each member, per day,
227
+ * week or month of the project calendar at settlement time, or over the rule's lifetime.
228
+ */
229
+ declare const engagementBudgetSchema: z.ZodObject<{
230
+ scope: z.ZodEnum<{
231
+ member: "member";
232
+ project: "project";
233
+ }>;
234
+ period: z.ZodEnum<{
235
+ lifetime: "lifetime";
236
+ day: "day";
237
+ week: "week";
238
+ month: "month";
239
+ }>;
240
+ limit: z.ZodNumber;
241
+ }, z.core.$strict>;
242
+ type EngagementBudget = z.infer<typeof engagementBudgetSchema>;
225
243
  declare const engagementDefinitionSchema: z.ZodObject<{
226
244
  key: z.ZodString;
227
245
  qualifiedBy: z.ZodString;
@@ -236,11 +254,19 @@ declare const engagementDefinitionSchema: z.ZodObject<{
236
254
  }>>;
237
255
  baseline: z.ZodLiteral<"historical">;
238
256
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
239
- budget: z.ZodDefault<z.ZodObject<{
240
- projectDaily: z.ZodOptional<z.ZodNumber>;
241
- memberDaily: z.ZodOptional<z.ZodNumber>;
242
- projectLifetime: z.ZodOptional<z.ZodNumber>;
243
- }, z.core.$strict>>;
257
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
258
+ scope: z.ZodEnum<{
259
+ member: "member";
260
+ project: "project";
261
+ }>;
262
+ period: z.ZodEnum<{
263
+ lifetime: "lifetime";
264
+ day: "day";
265
+ week: "week";
266
+ month: "month";
267
+ }>;
268
+ limit: z.ZodNumber;
269
+ }, z.core.$strict>>>;
244
270
  }, z.core.$strict>;
245
271
  type EngagementDefinition = z.infer<typeof engagementDefinitionSchema>;
246
272
  declare const engagementScoreInputSchema: z.ZodObject<{
@@ -285,11 +311,19 @@ declare const engagementRuleSchema: z.ZodObject<{
285
311
  }>>;
286
312
  baseline: z.ZodLiteral<"historical">;
287
313
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
288
- budget: z.ZodDefault<z.ZodObject<{
289
- projectDaily: z.ZodOptional<z.ZodNumber>;
290
- memberDaily: z.ZodOptional<z.ZodNumber>;
291
- projectLifetime: z.ZodOptional<z.ZodNumber>;
292
- }, z.core.$strict>>;
314
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
315
+ scope: z.ZodEnum<{
316
+ member: "member";
317
+ project: "project";
318
+ }>;
319
+ period: z.ZodEnum<{
320
+ lifetime: "lifetime";
321
+ day: "day";
322
+ week: "week";
323
+ month: "month";
324
+ }>;
325
+ limit: z.ZodNumber;
326
+ }, z.core.$strict>>>;
293
327
  }, z.core.$strict>;
294
328
  publishedAt: z.ZodNumber;
295
329
  }, z.core.$strict>;
@@ -328,11 +362,19 @@ declare const engagementPageSchema: z.ZodObject<{
328
362
  }>>;
329
363
  baseline: z.ZodLiteral<"historical">;
330
364
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
331
- budget: z.ZodDefault<z.ZodObject<{
332
- projectDaily: z.ZodOptional<z.ZodNumber>;
333
- memberDaily: z.ZodOptional<z.ZodNumber>;
334
- projectLifetime: z.ZodOptional<z.ZodNumber>;
335
- }, z.core.$strict>>;
365
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
366
+ scope: z.ZodEnum<{
367
+ member: "member";
368
+ project: "project";
369
+ }>;
370
+ period: z.ZodEnum<{
371
+ lifetime: "lifetime";
372
+ day: "day";
373
+ week: "week";
374
+ month: "month";
375
+ }>;
376
+ limit: z.ZodNumber;
377
+ }, z.core.$strict>>>;
336
378
  }, z.core.$strict>;
337
379
  publishedAt: z.ZodNumber;
338
380
  }, z.core.$strict>;
@@ -405,11 +447,19 @@ declare const engagementChangePreviewSchema: z.ZodObject<{
405
447
  }>>;
406
448
  baseline: z.ZodLiteral<"historical">;
407
449
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
408
- budget: z.ZodDefault<z.ZodObject<{
409
- projectDaily: z.ZodOptional<z.ZodNumber>;
410
- memberDaily: z.ZodOptional<z.ZodNumber>;
411
- projectLifetime: z.ZodOptional<z.ZodNumber>;
412
- }, z.core.$strict>>;
450
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
451
+ scope: z.ZodEnum<{
452
+ member: "member";
453
+ project: "project";
454
+ }>;
455
+ period: z.ZodEnum<{
456
+ lifetime: "lifetime";
457
+ day: "day";
458
+ week: "week";
459
+ month: "month";
460
+ }>;
461
+ limit: z.ZodNumber;
462
+ }, z.core.$strict>>>;
413
463
  }, z.core.$strict>;
414
464
  boundary: z.ZodLiteral<"available-eligible-observation">;
415
465
  settlement: z.ZodLiteral<"deferred">;
@@ -441,11 +491,19 @@ declare const engagementVersionPageSchema: z.ZodObject<{
441
491
  }>>;
442
492
  baseline: z.ZodLiteral<"historical">;
443
493
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
444
- budget: z.ZodDefault<z.ZodObject<{
445
- projectDaily: z.ZodOptional<z.ZodNumber>;
446
- memberDaily: z.ZodOptional<z.ZodNumber>;
447
- projectLifetime: z.ZodOptional<z.ZodNumber>;
448
- }, z.core.$strict>>;
494
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
495
+ scope: z.ZodEnum<{
496
+ member: "member";
497
+ project: "project";
498
+ }>;
499
+ period: z.ZodEnum<{
500
+ lifetime: "lifetime";
501
+ day: "day";
502
+ week: "week";
503
+ month: "month";
504
+ }>;
505
+ limit: z.ZodNumber;
506
+ }, z.core.$strict>>>;
449
507
  }, z.core.$strict>;
450
508
  publishedAt: z.ZodNumber;
451
509
  previousVersion: z.ZodNullable<z.ZodString>;
@@ -473,11 +531,19 @@ declare const engagementBoundaryPageSchema: z.ZodObject<{
473
531
  }>>;
474
532
  baseline: z.ZodLiteral<"historical">;
475
533
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
476
- budget: z.ZodDefault<z.ZodObject<{
477
- projectDaily: z.ZodOptional<z.ZodNumber>;
478
- memberDaily: z.ZodOptional<z.ZodNumber>;
479
- projectLifetime: z.ZodOptional<z.ZodNumber>;
480
- }, z.core.$strict>>;
534
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
535
+ scope: z.ZodEnum<{
536
+ member: "member";
537
+ project: "project";
538
+ }>;
539
+ period: z.ZodEnum<{
540
+ lifetime: "lifetime";
541
+ day: "day";
542
+ week: "week";
543
+ month: "month";
544
+ }>;
545
+ limit: z.ZodNumber;
546
+ }, z.core.$strict>>>;
481
547
  }, z.core.$strict>;
482
548
  publishedAt: z.ZodNumber;
483
549
  }, z.core.$strict>>;
@@ -497,11 +563,19 @@ declare const engagementBoundaryPageSchema: z.ZodObject<{
497
563
  }>>;
498
564
  baseline: z.ZodLiteral<"historical">;
499
565
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
500
- budget: z.ZodDefault<z.ZodObject<{
501
- projectDaily: z.ZodOptional<z.ZodNumber>;
502
- memberDaily: z.ZodOptional<z.ZodNumber>;
503
- projectLifetime: z.ZodOptional<z.ZodNumber>;
504
- }, z.core.$strict>>;
566
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
567
+ scope: z.ZodEnum<{
568
+ member: "member";
569
+ project: "project";
570
+ }>;
571
+ period: z.ZodEnum<{
572
+ lifetime: "lifetime";
573
+ day: "day";
574
+ week: "week";
575
+ month: "month";
576
+ }>;
577
+ limit: z.ZodNumber;
578
+ }, z.core.$strict>>>;
505
579
  }, z.core.$strict>;
506
580
  publishedAt: z.ZodNumber;
507
581
  }, z.core.$strict>;
@@ -554,11 +628,19 @@ declare const engagementDeploymentEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObj
554
628
  }>>;
555
629
  baseline: z.ZodLiteral<"historical">;
556
630
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
557
- budget: z.ZodDefault<z.ZodObject<{
558
- projectDaily: z.ZodOptional<z.ZodNumber>;
559
- memberDaily: z.ZodOptional<z.ZodNumber>;
560
- projectLifetime: z.ZodOptional<z.ZodNumber>;
561
- }, z.core.$strict>>;
631
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
632
+ scope: z.ZodEnum<{
633
+ member: "member";
634
+ project: "project";
635
+ }>;
636
+ period: z.ZodEnum<{
637
+ lifetime: "lifetime";
638
+ day: "day";
639
+ week: "week";
640
+ month: "month";
641
+ }>;
642
+ limit: z.ZodNumber;
643
+ }, z.core.$strict>>>;
562
644
  }, z.core.$strict>;
563
645
  publishedAt: z.ZodNumber;
564
646
  }, z.core.$strict>;
@@ -581,11 +663,19 @@ declare const engagementDeploymentEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObj
581
663
  }>>;
582
664
  baseline: z.ZodLiteral<"historical">;
583
665
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
584
- budget: z.ZodDefault<z.ZodObject<{
585
- projectDaily: z.ZodOptional<z.ZodNumber>;
586
- memberDaily: z.ZodOptional<z.ZodNumber>;
587
- projectLifetime: z.ZodOptional<z.ZodNumber>;
588
- }, z.core.$strict>>;
666
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
667
+ scope: z.ZodEnum<{
668
+ member: "member";
669
+ project: "project";
670
+ }>;
671
+ period: z.ZodEnum<{
672
+ lifetime: "lifetime";
673
+ day: "day";
674
+ week: "week";
675
+ month: "month";
676
+ }>;
677
+ limit: z.ZodNumber;
678
+ }, z.core.$strict>>>;
589
679
  }, z.core.$strict>;
590
680
  publishedAt: z.ZodNumber;
591
681
  }, z.core.$strict>;
@@ -608,11 +698,19 @@ declare const engagementDeploymentEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObj
608
698
  }>>;
609
699
  baseline: z.ZodLiteral<"historical">;
610
700
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
611
- budget: z.ZodDefault<z.ZodObject<{
612
- projectDaily: z.ZodOptional<z.ZodNumber>;
613
- memberDaily: z.ZodOptional<z.ZodNumber>;
614
- projectLifetime: z.ZodOptional<z.ZodNumber>;
615
- }, z.core.$strict>>;
701
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
702
+ scope: z.ZodEnum<{
703
+ member: "member";
704
+ project: "project";
705
+ }>;
706
+ period: z.ZodEnum<{
707
+ lifetime: "lifetime";
708
+ day: "day";
709
+ week: "week";
710
+ month: "month";
711
+ }>;
712
+ limit: z.ZodNumber;
713
+ }, z.core.$strict>>>;
616
714
  }, z.core.$strict>;
617
715
  publishedAt: z.ZodNumber;
618
716
  }, z.core.$strict>;
@@ -636,11 +734,19 @@ declare const engagementDeploymentEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObj
636
734
  }>>;
637
735
  baseline: z.ZodLiteral<"historical">;
638
736
  maxAgeMs: z.ZodDefault<z.ZodNumber>;
639
- budget: z.ZodDefault<z.ZodObject<{
640
- projectDaily: z.ZodOptional<z.ZodNumber>;
641
- memberDaily: z.ZodOptional<z.ZodNumber>;
642
- projectLifetime: z.ZodOptional<z.ZodNumber>;
643
- }, z.core.$strict>>;
737
+ budgets: z.ZodDefault<z.ZodArray<z.ZodObject<{
738
+ scope: z.ZodEnum<{
739
+ member: "member";
740
+ project: "project";
741
+ }>;
742
+ period: z.ZodEnum<{
743
+ lifetime: "lifetime";
744
+ day: "day";
745
+ week: "week";
746
+ month: "month";
747
+ }>;
748
+ limit: z.ZodNumber;
749
+ }, z.core.$strict>>>;
644
750
  }, z.core.$strict>;
645
751
  boundary: z.ZodLiteral<"available-eligible-observation">;
646
752
  settlement: z.ZodLiteral<"deferred">;
@@ -673,8 +779,7 @@ declare const leaderboardWindowSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
673
779
  week: "week";
674
780
  month: "month";
675
781
  }>;
676
- timeZone: z.ZodString;
677
- }, z.core.$strict>], "kind">;
782
+ }, z.core.$strip>], "kind">;
678
783
  declare const leaderboardDefinitionSchema: z.ZodObject<{
679
784
  id: z.ZodString;
680
785
  key: z.ZodOptional<z.ZodString>;
@@ -699,8 +804,7 @@ declare const leaderboardDefinitionSchema: z.ZodObject<{
699
804
  week: "week";
700
805
  month: "month";
701
806
  }>;
702
- timeZone: z.ZodString;
703
- }, z.core.$strict>], "kind">>;
807
+ }, z.core.$strip>], "kind">>;
704
808
  quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
705
809
  kind: z.ZodLiteral<"earned">;
706
810
  }, z.core.$strict>, z.ZodObject<{
@@ -721,8 +825,7 @@ declare const leaderboardDefinitionSchema: z.ZodObject<{
721
825
  week: "week";
722
826
  month: "month";
723
827
  }>;
724
- timeZone: z.ZodString;
725
- }, z.core.$strict>], "kind">>;
828
+ }, z.core.$strip>], "kind">>;
726
829
  }, z.core.$strict>], "kind">>;
727
830
  access: z.ZodDefault<z.ZodEnum<{
728
831
  participants: "participants";
@@ -735,7 +838,11 @@ declare const leaderboardAuthoringSchema: z.ZodPipe<z.ZodObject<{
735
838
  title: z.ZodString;
736
839
  balance: z.ZodString;
737
840
  group: z.ZodOptional<z.ZodString>;
738
- score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
841
+ access: z.ZodDefault<z.ZodEnum<{
842
+ participants: "participants";
843
+ public: "public";
844
+ }>>;
845
+ score: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
739
846
  kind: z.ZodLiteral<"balance">;
740
847
  }, z.core.$strict>, z.ZodObject<{
741
848
  window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -754,8 +861,7 @@ declare const leaderboardAuthoringSchema: z.ZodPipe<z.ZodObject<{
754
861
  week: "week";
755
862
  month: "month";
756
863
  }>;
757
- timeZone: z.ZodString;
758
- }, z.core.$strict>], "kind">>;
864
+ }, z.core.$strip>], "kind">>;
759
865
  quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
760
866
  kind: z.ZodLiteral<"earned">;
761
867
  }, z.core.$strict>, z.ZodObject<{
@@ -776,18 +882,14 @@ declare const leaderboardAuthoringSchema: z.ZodPipe<z.ZodObject<{
776
882
  week: "week";
777
883
  month: "month";
778
884
  }>;
779
- timeZone: z.ZodString;
780
- }, z.core.$strict>], "kind">>;
781
- }, z.core.$strict>], "kind">>;
782
- access: z.ZodDefault<z.ZodEnum<{
783
- participants: "participants";
784
- public: "public";
785
- }>>;
885
+ }, z.core.$strip>], "kind">>;
886
+ }, z.core.$strict>], "kind">>>;
786
887
  key: z.ZodOptional<z.ZodString>;
787
888
  id: z.ZodOptional<z.ZodString>;
788
889
  }, z.core.$strict>, z.ZodTransform<Omit<{
789
890
  title: string;
790
891
  balance: string;
892
+ access: "participants" | "public";
791
893
  score: {
792
894
  kind: "balance";
793
895
  } | {
@@ -803,7 +905,6 @@ declare const leaderboardAuthoringSchema: z.ZodPipe<z.ZodObject<{
803
905
  } | {
804
906
  kind: "calendar";
805
907
  period: "day" | "week" | "month";
806
- timeZone: string;
807
908
  };
808
909
  kind: "earned";
809
910
  quests?: string[] | undefined;
@@ -821,10 +922,8 @@ declare const leaderboardAuthoringSchema: z.ZodPipe<z.ZodObject<{
821
922
  } | {
822
923
  kind: "calendar";
823
924
  period: "day" | "week" | "month";
824
- timeZone: string;
825
925
  };
826
926
  };
827
- access: "participants" | "public";
828
927
  group?: string | undefined;
829
928
  key?: string | undefined;
830
929
  id?: string | undefined;
@@ -833,6 +932,7 @@ declare const leaderboardAuthoringSchema: z.ZodPipe<z.ZodObject<{
833
932
  }, {
834
933
  title: string;
835
934
  balance: string;
935
+ access: "participants" | "public";
836
936
  score: {
837
937
  kind: "balance";
838
938
  } | {
@@ -848,7 +948,6 @@ declare const leaderboardAuthoringSchema: z.ZodPipe<z.ZodObject<{
848
948
  } | {
849
949
  kind: "calendar";
850
950
  period: "day" | "week" | "month";
851
- timeZone: string;
852
951
  };
853
952
  kind: "earned";
854
953
  quests?: string[] | undefined;
@@ -866,10 +965,8 @@ declare const leaderboardAuthoringSchema: z.ZodPipe<z.ZodObject<{
866
965
  } | {
867
966
  kind: "calendar";
868
967
  period: "day" | "week" | "month";
869
- timeZone: string;
870
968
  };
871
969
  };
872
- access: "participants" | "public";
873
970
  group?: string | undefined;
874
971
  key?: string | undefined;
875
972
  id?: string | undefined;
@@ -878,7 +975,11 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObj
878
975
  title: z.ZodString;
879
976
  balance: z.ZodString;
880
977
  group: z.ZodOptional<z.ZodString>;
881
- score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
978
+ access: z.ZodDefault<z.ZodEnum<{
979
+ participants: "participants";
980
+ public: "public";
981
+ }>>;
982
+ score: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
882
983
  kind: z.ZodLiteral<"balance">;
883
984
  }, z.core.$strict>, z.ZodObject<{
884
985
  window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -897,8 +998,7 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObj
897
998
  week: "week";
898
999
  month: "month";
899
1000
  }>;
900
- timeZone: z.ZodString;
901
- }, z.core.$strict>], "kind">>;
1001
+ }, z.core.$strip>], "kind">>;
902
1002
  quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
903
1003
  kind: z.ZodLiteral<"earned">;
904
1004
  }, z.core.$strict>, z.ZodObject<{
@@ -919,18 +1019,14 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObj
919
1019
  week: "week";
920
1020
  month: "month";
921
1021
  }>;
922
- timeZone: z.ZodString;
923
- }, z.core.$strict>], "kind">>;
924
- }, z.core.$strict>], "kind">>;
925
- access: z.ZodDefault<z.ZodEnum<{
926
- participants: "participants";
927
- public: "public";
928
- }>>;
1022
+ }, z.core.$strip>], "kind">>;
1023
+ }, z.core.$strict>], "kind">>>;
929
1024
  key: z.ZodOptional<z.ZodString>;
930
1025
  id: z.ZodOptional<z.ZodString>;
931
1026
  }, z.core.$strict>, z.ZodTransform<Omit<{
932
1027
  title: string;
933
1028
  balance: string;
1029
+ access: "participants" | "public";
934
1030
  score: {
935
1031
  kind: "balance";
936
1032
  } | {
@@ -946,7 +1042,6 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObj
946
1042
  } | {
947
1043
  kind: "calendar";
948
1044
  period: "day" | "week" | "month";
949
- timeZone: string;
950
1045
  };
951
1046
  kind: "earned";
952
1047
  quests?: string[] | undefined;
@@ -964,10 +1059,8 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObj
964
1059
  } | {
965
1060
  kind: "calendar";
966
1061
  period: "day" | "week" | "month";
967
- timeZone: string;
968
1062
  };
969
1063
  };
970
- access: "participants" | "public";
971
1064
  group?: string | undefined;
972
1065
  key?: string | undefined;
973
1066
  id?: string | undefined;
@@ -976,6 +1069,7 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObj
976
1069
  }, {
977
1070
  title: string;
978
1071
  balance: string;
1072
+ access: "participants" | "public";
979
1073
  score: {
980
1074
  kind: "balance";
981
1075
  } | {
@@ -991,7 +1085,6 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObj
991
1085
  } | {
992
1086
  kind: "calendar";
993
1087
  period: "day" | "week" | "month";
994
- timeZone: string;
995
1088
  };
996
1089
  kind: "earned";
997
1090
  quests?: string[] | undefined;
@@ -1009,10 +1102,8 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObj
1009
1102
  } | {
1010
1103
  kind: "calendar";
1011
1104
  period: "day" | "week" | "month";
1012
- timeZone: string;
1013
1105
  };
1014
1106
  };
1015
- access: "participants" | "public";
1016
1107
  group?: string | undefined;
1017
1108
  key?: string | undefined;
1018
1109
  id?: string | undefined;
@@ -1045,8 +1136,7 @@ declare const publishedLeaderboardSchema: z.ZodObject<{
1045
1136
  week: "week";
1046
1137
  month: "month";
1047
1138
  }>;
1048
- timeZone: z.ZodString;
1049
- }, z.core.$strict>], "kind">>;
1139
+ }, z.core.$strip>], "kind">>;
1050
1140
  quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
1051
1141
  kind: z.ZodLiteral<"earned">;
1052
1142
  }, z.core.$strict>, z.ZodObject<{
@@ -1067,8 +1157,7 @@ declare const publishedLeaderboardSchema: z.ZodObject<{
1067
1157
  week: "week";
1068
1158
  month: "month";
1069
1159
  }>;
1070
- timeZone: z.ZodString;
1071
- }, z.core.$strict>], "kind">>;
1160
+ }, z.core.$strip>], "kind">>;
1072
1161
  }, z.core.$strict>], "kind">>;
1073
1162
  access: z.ZodDefault<z.ZodEnum<{
1074
1163
  participants: "participants";
@@ -1256,8 +1345,7 @@ declare const leaderboardPreviewSchema: z.ZodObject<{
1256
1345
  week: "week";
1257
1346
  month: "month";
1258
1347
  }>;
1259
- timeZone: z.ZodString;
1260
- }, z.core.$strict>], "kind">>;
1348
+ }, z.core.$strip>], "kind">>;
1261
1349
  quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
1262
1350
  kind: z.ZodLiteral<"earned">;
1263
1351
  }, z.core.$strict>, z.ZodObject<{
@@ -1278,8 +1366,7 @@ declare const leaderboardPreviewSchema: z.ZodObject<{
1278
1366
  week: "week";
1279
1367
  month: "month";
1280
1368
  }>;
1281
- timeZone: z.ZodString;
1282
- }, z.core.$strict>], "kind">>;
1369
+ }, z.core.$strip>], "kind">>;
1283
1370
  }, z.core.$strict>], "kind">>;
1284
1371
  access: z.ZodDefault<z.ZodEnum<{
1285
1372
  participants: "participants";
@@ -2589,4 +2676,4 @@ declare const referralManagementSchema: z.ZodObject<{
2589
2676
  next: z.ZodNullable<z.ZodNumber>;
2590
2677
  }, z.core.$strip>;
2591
2678
 
2592
- export { pointsEntrySchema as $, type AdmittedContent as A, engagementDeploymentEntrySchema as B, type ContentMetric as C, engagementPageQuerySchema as D, type EngagementDefinition as E, engagementPageSchema as F, engagementPublishSchema as G, engagementRuleSchema as H, engagementScoreInputSchema as I, engagementScoreSchema as J, engagementSettlementSchema as K, type LeaderboardDefinition as L, engagementVersionPageSchema as M, engagementVersionQuerySchema as N, leaderboardArtifactSchema as O, leaderboardAuthoringSchema as P, leaderboardDefinitionSchema as Q, type ReferralDefinition as R, leaderboardExclusionSchema as S, leaderboardGroupSchema as T, leaderboardPageSchema as U, leaderboardPlacementSchema as V, leaderboardPreviewSchema as W, leaderboardQuerySchema as X, leaderboardRowSchema as Y, leaderboardWindowSchema as Z, pointsAccountSchema as _, type LeaderboardPage as a, pointsMutationSchema as a0, pointsResultSchema as a1, publishedLeaderboardSchema as a2, publishedReferralSchema as a3, referralAcceptSchema as a4, referralAccountSchema as a5, referralArtifactSchema as a6, referralAuthoringSchema as a7, referralControlSchema as a8, referralDefinitionSchema as a9, referralHistorySchema as aa, referralManagementSchema as ab, referralRelationshipSchema as ac, referralSummarySchema as ad, type LeaderboardPlacement as b, type LeaderboardQuery as c, type ContentPerformancePolicy as d, type ContentPolicy as e, admittedContentSchema as f, contentAdmissionPageSchema as g, contentAdmissionQuerySchema as h, contentAdmissionSchema as i, contentEnrollmentInputSchema as j, contentEnrollmentSchema as k, contentMetricSchema as l, contentMetricsSchema as m, contentPerformancePolicySchema as n, contentPolicySchema as o, contentQualificationDecisionSchema as p, contentQualificationPageSchema as q, contentQualificationQuerySchema as r, contentQualificationSchema as s, contentReleaseInputSchema as t, engagementArtifactSchema as u, engagementBoundaryPageSchema as v, engagementChangePreviewInputSchema as w, engagementChangePreviewSchema as x, engagementChangeSchema as y, engagementDefinitionSchema as z };
2679
+ export { leaderboardWindowSchema as $, type AdmittedContent as A, engagementChangeSchema as B, type ContentMetric as C, engagementDefinitionSchema as D, type EngagementBudget as E, engagementDeploymentEntrySchema as F, engagementPageQuerySchema as G, engagementPageSchema as H, engagementPublishSchema as I, engagementRuleSchema as J, engagementScoreInputSchema as K, type LeaderboardDefinition as L, engagementScoreSchema as M, engagementSettlementSchema as N, engagementVersionPageSchema as O, engagementVersionQuerySchema as P, leaderboardArtifactSchema as Q, type ReferralDefinition as R, leaderboardAuthoringSchema as S, leaderboardDefinitionSchema as T, leaderboardExclusionSchema as U, leaderboardGroupSchema as V, leaderboardPageSchema as W, leaderboardPlacementSchema as X, leaderboardPreviewSchema as Y, leaderboardQuerySchema as Z, leaderboardRowSchema as _, type LeaderboardPage as a, pointsAccountSchema as a0, pointsEntrySchema as a1, pointsMutationSchema as a2, pointsResultSchema as a3, publishedLeaderboardSchema as a4, publishedReferralSchema as a5, referralAcceptSchema as a6, referralAccountSchema as a7, referralArtifactSchema as a8, referralAuthoringSchema as a9, referralControlSchema as aa, referralDefinitionSchema as ab, referralHistorySchema as ac, referralManagementSchema as ad, referralRelationshipSchema as ae, referralSummarySchema as af, type LeaderboardPlacement as b, type LeaderboardQuery as c, type ContentPerformancePolicy as d, type ContentPolicy as e, type EngagementDefinition as f, admittedContentSchema as g, contentAdmissionPageSchema as h, contentAdmissionQuerySchema as i, contentAdmissionSchema as j, contentEnrollmentInputSchema as k, contentEnrollmentSchema as l, contentMetricSchema as m, contentMetricsSchema as n, contentPerformancePolicySchema as o, contentPolicySchema as p, contentQualificationDecisionSchema as q, contentQualificationPageSchema as r, contentQualificationQuerySchema as s, contentQualificationSchema as t, contentReleaseInputSchema as u, engagementArtifactSchema as v, engagementBoundaryPageSchema as w, engagementBudgetSchema as x, engagementChangePreviewInputSchema as y, engagementChangePreviewSchema as z };