@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
@@ -1,11 +1,11 @@
1
- import { T as TrackerDataSchema, p as TrackerQuery, V as trackerContentReadSchema, Z as trackerControlSchema, a4 as trackerIngestSchema, l as TrackerOutcomeQuery, a7 as trackerOutcomeRetrySchema, o as TrackerPreviewInput } from '../trackers-BsUh5Ky0.js';
2
- import { x as contentPerformanceQuerySchema, u as configurePickupSchema, a5 as questSettingsInputSchema, an as submitSchema, ai as staffDecisionSchema, s as beginHandoverSchema, v as confirmHandoverSchema, z as createStockItemSchema } from '../schema-ZfjL-d1N.js';
1
+ import { i as TrackerDataSchema, p as TrackerQuery, V as trackerContentReadSchema, Z as trackerControlSchema, a4 as trackerIngestSchema, l as TrackerOutcomeQuery, a7 as trackerOutcomeRetrySchema, o as TrackerPreviewInput } from '../trackers-W7nRdRr7.js';
2
+ import { x as contentPerformanceQuerySchema, u as configurePickupSchema, a5 as questSettingsInputSchema, ao as submitSchema, ai as staffDecisionSchema, s as beginHandoverSchema, v as confirmHandoverSchema, z as createStockItemSchema } from '../schema-BF_TQsmT.js';
3
3
  import { z } from 'zod';
4
- import { D as pointLedgerSchema, p as catalogDeploymentSchema, T as saveQuestDraftSchema, E as publishQuestDraftSchema, t as createPointLedgerSchema, m as allocateQuestSchema } from '../catalog-qrYne8qV.js';
4
+ import { i as projectDeploymentSchema, j as publishDeploymentSchema, f as projectCalendarInputSchema } from '../deployments-CNCP0JnD.js';
5
+ import { D as pointLedgerSchema, p as catalogDeploymentSchema, T as saveQuestDraftSchema, E as publishQuestDraftSchema, t as createPointLedgerSchema, m as allocateQuestSchema } from '../catalog-C85V1NgW.js';
5
6
  import { c as collectionBeginSchema } from '../collection-BGneJ6Bk.js';
6
- import { w as engagementChangePreviewInputSchema, y as engagementChangeSchema, N as engagementVersionQuerySchema, D as engagementPageQuerySchema, G as engagementPublishSchema, r as contentQualificationQuerySchema, h as contentAdmissionQuerySchema, j as contentEnrollmentInputSchema, t as contentReleaseInputSchema, a0 as pointsMutationSchema, a8 as referralControlSchema, X as leaderboardQuerySchema, S as leaderboardExclusionSchema, T as leaderboardGroupSchema } from '../referrals-CvSmxvjm.js';
7
- import { b as projectDeploymentSchema, c as publishDeploymentSchema } from '../deployments-Bc0dPSXN.js';
8
- import { o as observationInputSchema } from '../observations-bFY4yv2K.js';
7
+ import { y as engagementChangePreviewInputSchema, B as engagementChangeSchema, P as engagementVersionQuerySchema, G as engagementPageQuerySchema, I as engagementPublishSchema, s as contentQualificationQuerySchema, i as contentAdmissionQuerySchema, k as contentEnrollmentInputSchema, u as contentReleaseInputSchema, a2 as pointsMutationSchema, aa as referralControlSchema, Z as leaderboardQuerySchema, U as leaderboardExclusionSchema, V as leaderboardGroupSchema } from '../referrals-KQfP4pBf.js';
8
+ import { o as observationInputSchema } from '../observations-CQ6IcNuQ.js';
9
9
  import { C as profileSettingsInputSchema, z as profileModerationSchema } from '../profiles-BtOXMGcC.js';
10
10
  import { i as identityIntegrationInputSchema } from '../identity-integration-CBR8l3ju.js';
11
11
  import { R as RequestError, b as RequestErrorKind } from '../request-error-VnTiMXc3.js';
@@ -1121,11 +1121,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1121
1121
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1122
1122
  baseline: "historical";
1123
1123
  maxAgeMs: number;
1124
- budget: {
1125
- projectDaily?: number | undefined;
1126
- memberDaily?: number | undefined;
1127
- projectLifetime?: number | undefined;
1128
- };
1124
+ budgets: {
1125
+ scope: "project" | "member";
1126
+ period: "lifetime" | "day" | "week" | "month";
1127
+ limit: number;
1128
+ }[];
1129
1129
  };
1130
1130
  boundary: "available-eligible-observation";
1131
1131
  settlement: "deferred";
@@ -1149,11 +1149,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1149
1149
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1150
1150
  baseline: "historical";
1151
1151
  maxAgeMs: number;
1152
- budget: {
1153
- projectDaily?: number | undefined;
1154
- memberDaily?: number | undefined;
1155
- projectLifetime?: number | undefined;
1156
- };
1152
+ budgets: {
1153
+ scope: "project" | "member";
1154
+ period: "lifetime" | "day" | "week" | "month";
1155
+ limit: number;
1156
+ }[];
1157
1157
  };
1158
1158
  publishedAt: number;
1159
1159
  }>;
@@ -1167,11 +1167,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1167
1167
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1168
1168
  baseline: "historical";
1169
1169
  maxAgeMs: number;
1170
- budget: {
1171
- projectDaily?: number | undefined;
1172
- memberDaily?: number | undefined;
1173
- projectLifetime?: number | undefined;
1174
- };
1170
+ budgets: {
1171
+ scope: "project" | "member";
1172
+ period: "lifetime" | "day" | "week" | "month";
1173
+ limit: number;
1174
+ }[];
1175
1175
  };
1176
1176
  publishedAt: number;
1177
1177
  previousVersion: string | null;
@@ -1188,11 +1188,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1188
1188
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1189
1189
  baseline: "historical";
1190
1190
  maxAgeMs: number;
1191
- budget: {
1192
- projectDaily?: number | undefined;
1193
- memberDaily?: number | undefined;
1194
- projectLifetime?: number | undefined;
1195
- };
1191
+ budgets: {
1192
+ scope: "project" | "member";
1193
+ period: "lifetime" | "day" | "week" | "month";
1194
+ limit: number;
1195
+ }[];
1196
1196
  };
1197
1197
  publishedAt: number;
1198
1198
  } | null;
@@ -1205,11 +1205,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1205
1205
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1206
1206
  baseline: "historical";
1207
1207
  maxAgeMs: number;
1208
- budget: {
1209
- projectDaily?: number | undefined;
1210
- memberDaily?: number | undefined;
1211
- projectLifetime?: number | undefined;
1212
- };
1208
+ budgets: {
1209
+ scope: "project" | "member";
1210
+ period: "lifetime" | "day" | "week" | "month";
1211
+ limit: number;
1212
+ }[];
1213
1213
  };
1214
1214
  publishedAt: number;
1215
1215
  };
@@ -1242,11 +1242,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1242
1242
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1243
1243
  baseline: "historical";
1244
1244
  maxAgeMs: number;
1245
- budget: {
1246
- projectDaily?: number | undefined;
1247
- memberDaily?: number | undefined;
1248
- projectLifetime?: number | undefined;
1249
- };
1245
+ budgets: {
1246
+ scope: "project" | "member";
1247
+ period: "lifetime" | "day" | "week" | "month";
1248
+ limit: number;
1249
+ }[];
1250
1250
  };
1251
1251
  publishedAt: number;
1252
1252
  }>;
@@ -1259,11 +1259,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1259
1259
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1260
1260
  baseline: "historical";
1261
1261
  maxAgeMs: number;
1262
- budget: {
1263
- projectDaily?: number | undefined;
1264
- memberDaily?: number | undefined;
1265
- projectLifetime?: number | undefined;
1266
- };
1262
+ budgets: {
1263
+ scope: "project" | "member";
1264
+ period: "lifetime" | "day" | "week" | "month";
1265
+ limit: number;
1266
+ }[];
1267
1267
  };
1268
1268
  publishedAt: number;
1269
1269
  }[]>;
@@ -1277,11 +1277,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1277
1277
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1278
1278
  baseline: "historical";
1279
1279
  maxAgeMs: number;
1280
- budget: {
1281
- projectDaily?: number | undefined;
1282
- memberDaily?: number | undefined;
1283
- projectLifetime?: number | undefined;
1284
- };
1280
+ budgets: {
1281
+ scope: "project" | "member";
1282
+ period: "lifetime" | "day" | "week" | "month";
1283
+ limit: number;
1284
+ }[];
1285
1285
  };
1286
1286
  publishedAt: number;
1287
1287
  };
@@ -1634,7 +1634,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1634
1634
  } | {
1635
1635
  kind: "calendar";
1636
1636
  period: "day" | "week" | "month";
1637
- timeZone: string;
1638
1637
  };
1639
1638
  kind: "earned";
1640
1639
  quests?: string[] | undefined;
@@ -1652,7 +1651,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1652
1651
  } | {
1653
1652
  kind: "calendar";
1654
1653
  period: "day" | "week" | "month";
1655
- timeZone: string;
1656
1654
  };
1657
1655
  };
1658
1656
  access: "participants" | "public";
@@ -1769,7 +1767,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1769
1767
  } | {
1770
1768
  kind: "calendar";
1771
1769
  period: "day" | "week" | "month";
1772
- timeZone: string;
1773
1770
  };
1774
1771
  kind: "earned";
1775
1772
  quests?: string[] | undefined;
@@ -1787,7 +1784,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1787
1784
  } | {
1788
1785
  kind: "calendar";
1789
1786
  period: "day" | "week" | "month";
1790
- timeZone: string;
1791
1787
  };
1792
1788
  };
1793
1789
  access: "participants" | "public";
@@ -1821,11 +1817,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1821
1817
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1822
1818
  baseline: "historical";
1823
1819
  maxAgeMs: number;
1824
- budget: {
1825
- projectDaily?: number | undefined;
1826
- memberDaily?: number | undefined;
1827
- projectLifetime?: number | undefined;
1828
- };
1820
+ budgets: {
1821
+ scope: "project" | "member";
1822
+ period: "lifetime" | "day" | "week" | "month";
1823
+ limit: number;
1824
+ }[];
1829
1825
  };
1830
1826
  publishedAt: number;
1831
1827
  };
@@ -1841,11 +1837,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1841
1837
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1842
1838
  baseline: "historical";
1843
1839
  maxAgeMs: number;
1844
- budget: {
1845
- projectDaily?: number | undefined;
1846
- memberDaily?: number | undefined;
1847
- projectLifetime?: number | undefined;
1848
- };
1840
+ budgets: {
1841
+ scope: "project" | "member";
1842
+ period: "lifetime" | "day" | "week" | "month";
1843
+ limit: number;
1844
+ }[];
1849
1845
  };
1850
1846
  publishedAt: number;
1851
1847
  };
@@ -1861,11 +1857,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1861
1857
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1862
1858
  baseline: "historical";
1863
1859
  maxAgeMs: number;
1864
- budget: {
1865
- projectDaily?: number | undefined;
1866
- memberDaily?: number | undefined;
1867
- projectLifetime?: number | undefined;
1868
- };
1860
+ budgets: {
1861
+ scope: "project" | "member";
1862
+ period: "lifetime" | "day" | "week" | "month";
1863
+ limit: number;
1864
+ }[];
1869
1865
  };
1870
1866
  publishedAt: number;
1871
1867
  };
@@ -1882,11 +1878,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1882
1878
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
1883
1879
  baseline: "historical";
1884
1880
  maxAgeMs: number;
1885
- budget: {
1886
- projectDaily?: number | undefined;
1887
- memberDaily?: number | undefined;
1888
- projectLifetime?: number | undefined;
1889
- };
1881
+ budgets: {
1882
+ scope: "project" | "member";
1883
+ period: "lifetime" | "day" | "week" | "month";
1884
+ limit: number;
1885
+ }[];
1890
1886
  };
1891
1887
  boundary: "available-eligible-observation";
1892
1888
  settlement: "deferred";
@@ -2146,25 +2142,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2146
2142
  requires: {
2147
2143
  quest: string;
2148
2144
  }[];
2149
- completion: {
2150
- kind: "streak";
2151
- days: number;
2152
- timeZone: string;
2153
- } | {
2154
- kind: "once";
2155
- } | {
2156
- kind: "keyed";
2157
- };
2158
2145
  visibility: "visible" | "hidden";
2159
2146
  budgets: {
2160
2147
  id: string;
2161
2148
  scope: "project" | "member";
2162
- period: "lifetime" | "day" | "week";
2149
+ period: "lifetime" | "day" | "week" | "month";
2163
2150
  limit: number;
2164
2151
  cost: number | {
2165
2152
  balance: string;
2166
2153
  };
2167
2154
  }[];
2155
+ completion: {
2156
+ kind: "streak";
2157
+ days: number;
2158
+ } | {
2159
+ kind: "once";
2160
+ } | {
2161
+ kind: "keyed";
2162
+ };
2168
2163
  code: string;
2169
2164
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
2170
2165
  id: string;
@@ -2419,25 +2414,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2419
2414
  requires: {
2420
2415
  quest: string;
2421
2416
  }[];
2422
- completion: {
2423
- kind: "streak";
2424
- days: number;
2425
- timeZone: string;
2426
- } | {
2427
- kind: "once";
2428
- } | {
2429
- kind: "keyed";
2430
- };
2431
2417
  visibility: "visible" | "hidden";
2432
2418
  budgets: {
2433
2419
  id: string;
2434
2420
  scope: "project" | "member";
2435
- period: "lifetime" | "day" | "week";
2421
+ period: "lifetime" | "day" | "week" | "month";
2436
2422
  limit: number;
2437
2423
  cost: number | {
2438
2424
  balance: string;
2439
2425
  };
2440
2426
  }[];
2427
+ completion: {
2428
+ kind: "streak";
2429
+ days: number;
2430
+ } | {
2431
+ kind: "once";
2432
+ } | {
2433
+ kind: "keyed";
2434
+ };
2441
2435
  performance?: {
2442
2436
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
2443
2437
  maxAgeMs: number;
@@ -2580,7 +2574,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2580
2574
  } | {
2581
2575
  kind: "calendar";
2582
2576
  period: "day" | "week" | "month";
2583
- timeZone: string;
2584
2577
  };
2585
2578
  kind: "earned";
2586
2579
  quests?: string[] | undefined;
@@ -2598,7 +2591,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2598
2591
  } | {
2599
2592
  kind: "calendar";
2600
2593
  period: "day" | "week" | "month";
2601
- timeZone: string;
2602
2594
  };
2603
2595
  };
2604
2596
  access: "participants" | "public";
@@ -2789,6 +2781,10 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2789
2781
  width: number;
2790
2782
  height: number;
2791
2783
  }[];
2784
+ calendar: {
2785
+ timeZone: string;
2786
+ effectiveAt: number | null;
2787
+ } | null;
2792
2788
  }>;
2793
2789
  publish: (input: z.input<typeof publishDeploymentSchema>, call?: ManagementCallOptions) => Promise<{
2794
2790
  id: string;
@@ -2803,11 +2799,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2803
2799
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
2804
2800
  baseline: "historical";
2805
2801
  maxAgeMs: number;
2806
- budget: {
2807
- projectDaily?: number | undefined;
2808
- memberDaily?: number | undefined;
2809
- projectLifetime?: number | undefined;
2810
- };
2802
+ budgets: {
2803
+ scope: "project" | "member";
2804
+ period: "lifetime" | "day" | "week" | "month";
2805
+ limit: number;
2806
+ }[];
2811
2807
  };
2812
2808
  publishedAt: number;
2813
2809
  };
@@ -2823,11 +2819,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2823
2819
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
2824
2820
  baseline: "historical";
2825
2821
  maxAgeMs: number;
2826
- budget: {
2827
- projectDaily?: number | undefined;
2828
- memberDaily?: number | undefined;
2829
- projectLifetime?: number | undefined;
2830
- };
2822
+ budgets: {
2823
+ scope: "project" | "member";
2824
+ period: "lifetime" | "day" | "week" | "month";
2825
+ limit: number;
2826
+ }[];
2831
2827
  };
2832
2828
  publishedAt: number;
2833
2829
  };
@@ -2843,11 +2839,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2843
2839
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
2844
2840
  baseline: "historical";
2845
2841
  maxAgeMs: number;
2846
- budget: {
2847
- projectDaily?: number | undefined;
2848
- memberDaily?: number | undefined;
2849
- projectLifetime?: number | undefined;
2850
- };
2842
+ budgets: {
2843
+ scope: "project" | "member";
2844
+ period: "lifetime" | "day" | "week" | "month";
2845
+ limit: number;
2846
+ }[];
2851
2847
  };
2852
2848
  publishedAt: number;
2853
2849
  };
@@ -2864,11 +2860,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2864
2860
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
2865
2861
  baseline: "historical";
2866
2862
  maxAgeMs: number;
2867
- budget: {
2868
- projectDaily?: number | undefined;
2869
- memberDaily?: number | undefined;
2870
- projectLifetime?: number | undefined;
2871
- };
2863
+ budgets: {
2864
+ scope: "project" | "member";
2865
+ period: "lifetime" | "day" | "week" | "month";
2866
+ limit: number;
2867
+ }[];
2872
2868
  };
2873
2869
  boundary: "available-eligible-observation";
2874
2870
  settlement: "deferred";
@@ -3128,25 +3124,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3128
3124
  requires: {
3129
3125
  quest: string;
3130
3126
  }[];
3131
- completion: {
3132
- kind: "streak";
3133
- days: number;
3134
- timeZone: string;
3135
- } | {
3136
- kind: "once";
3137
- } | {
3138
- kind: "keyed";
3139
- };
3140
3127
  visibility: "visible" | "hidden";
3141
3128
  budgets: {
3142
3129
  id: string;
3143
3130
  scope: "project" | "member";
3144
- period: "lifetime" | "day" | "week";
3131
+ period: "lifetime" | "day" | "week" | "month";
3145
3132
  limit: number;
3146
3133
  cost: number | {
3147
3134
  balance: string;
3148
3135
  };
3149
3136
  }[];
3137
+ completion: {
3138
+ kind: "streak";
3139
+ days: number;
3140
+ } | {
3141
+ kind: "once";
3142
+ } | {
3143
+ kind: "keyed";
3144
+ };
3150
3145
  code: string;
3151
3146
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
3152
3147
  id: string;
@@ -3401,25 +3396,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3401
3396
  requires: {
3402
3397
  quest: string;
3403
3398
  }[];
3404
- completion: {
3405
- kind: "streak";
3406
- days: number;
3407
- timeZone: string;
3408
- } | {
3409
- kind: "once";
3410
- } | {
3411
- kind: "keyed";
3412
- };
3413
3399
  visibility: "visible" | "hidden";
3414
3400
  budgets: {
3415
3401
  id: string;
3416
3402
  scope: "project" | "member";
3417
- period: "lifetime" | "day" | "week";
3403
+ period: "lifetime" | "day" | "week" | "month";
3418
3404
  limit: number;
3419
3405
  cost: number | {
3420
3406
  balance: string;
3421
3407
  };
3422
3408
  }[];
3409
+ completion: {
3410
+ kind: "streak";
3411
+ days: number;
3412
+ } | {
3413
+ kind: "once";
3414
+ } | {
3415
+ kind: "keyed";
3416
+ };
3423
3417
  performance?: {
3424
3418
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
3425
3419
  maxAgeMs: number;
@@ -3562,7 +3556,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3562
3556
  } | {
3563
3557
  kind: "calendar";
3564
3558
  period: "day" | "week" | "month";
3565
- timeZone: string;
3566
3559
  };
3567
3560
  kind: "earned";
3568
3561
  quests?: string[] | undefined;
@@ -3580,7 +3573,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3580
3573
  } | {
3581
3574
  kind: "calendar";
3582
3575
  period: "day" | "week" | "month";
3583
- timeZone: string;
3584
3576
  };
3585
3577
  };
3586
3578
  access: "participants" | "public";
@@ -3771,6 +3763,10 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3771
3763
  width: number;
3772
3764
  height: number;
3773
3765
  }[];
3766
+ calendar: {
3767
+ timeZone: string;
3768
+ effectiveAt: number | null;
3769
+ } | null;
3774
3770
  revision: number;
3775
3771
  }>;
3776
3772
  };
@@ -3999,25 +3995,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3999
3995
  requires: {
4000
3996
  quest: string;
4001
3997
  }[];
4002
- completion: {
4003
- kind: "streak";
4004
- days: number;
4005
- timeZone: string;
4006
- } | {
4007
- kind: "once";
4008
- } | {
4009
- kind: "keyed";
4010
- };
4011
3998
  visibility: "visible" | "hidden";
4012
3999
  budgets: {
4013
4000
  id: string;
4014
4001
  scope: "project" | "member";
4015
- period: "lifetime" | "day" | "week";
4002
+ period: "lifetime" | "day" | "week" | "month";
4016
4003
  limit: number;
4017
4004
  cost: number | {
4018
4005
  balance: string;
4019
4006
  };
4020
4007
  }[];
4008
+ completion: {
4009
+ kind: "streak";
4010
+ days: number;
4011
+ } | {
4012
+ kind: "once";
4013
+ } | {
4014
+ kind: "keyed";
4015
+ };
4021
4016
  performance?: {
4022
4017
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
4023
4018
  maxAgeMs: number;
@@ -4325,25 +4320,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
4325
4320
  requires: {
4326
4321
  quest: string;
4327
4322
  }[];
4328
- completion: {
4329
- kind: "streak";
4330
- days: number;
4331
- timeZone: string;
4332
- } | {
4333
- kind: "once";
4334
- } | {
4335
- kind: "keyed";
4336
- };
4337
4323
  visibility: "visible" | "hidden";
4338
4324
  budgets: {
4339
4325
  id: string;
4340
4326
  scope: "project" | "member";
4341
- period: "lifetime" | "day" | "week";
4327
+ period: "lifetime" | "day" | "week" | "month";
4342
4328
  limit: number;
4343
4329
  cost: number | {
4344
4330
  balance: string;
4345
4331
  };
4346
4332
  }[];
4333
+ completion: {
4334
+ kind: "streak";
4335
+ days: number;
4336
+ } | {
4337
+ kind: "once";
4338
+ } | {
4339
+ kind: "keyed";
4340
+ };
4347
4341
  code: string;
4348
4342
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
4349
4343
  id: string;
@@ -4602,25 +4596,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
4602
4596
  requires: {
4603
4597
  quest: string;
4604
4598
  }[];
4605
- completion: {
4606
- kind: "streak";
4607
- days: number;
4608
- timeZone: string;
4609
- } | {
4610
- kind: "once";
4611
- } | {
4612
- kind: "keyed";
4613
- };
4614
4599
  visibility: "visible" | "hidden";
4615
4600
  budgets: {
4616
4601
  id: string;
4617
4602
  scope: "project" | "member";
4618
- period: "lifetime" | "day" | "week";
4603
+ period: "lifetime" | "day" | "week" | "month";
4619
4604
  limit: number;
4620
4605
  cost: number | {
4621
4606
  balance: string;
4622
4607
  };
4623
4608
  }[];
4609
+ completion: {
4610
+ kind: "streak";
4611
+ days: number;
4612
+ } | {
4613
+ kind: "once";
4614
+ } | {
4615
+ kind: "keyed";
4616
+ };
4624
4617
  performance?: {
4625
4618
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
4626
4619
  maxAgeMs: number;
@@ -4857,25 +4850,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
4857
4850
  requires: {
4858
4851
  quest: string;
4859
4852
  }[];
4860
- completion: {
4861
- kind: "streak";
4862
- days: number;
4863
- timeZone: string;
4864
- } | {
4865
- kind: "once";
4866
- } | {
4867
- kind: "keyed";
4868
- };
4869
4853
  visibility: "visible" | "hidden";
4870
4854
  budgets: {
4871
4855
  id: string;
4872
4856
  scope: "project" | "member";
4873
- period: "lifetime" | "day" | "week";
4857
+ period: "lifetime" | "day" | "week" | "month";
4874
4858
  limit: number;
4875
4859
  cost: number | {
4876
4860
  balance: string;
4877
4861
  };
4878
4862
  }[];
4863
+ completion: {
4864
+ kind: "streak";
4865
+ days: number;
4866
+ } | {
4867
+ kind: "once";
4868
+ } | {
4869
+ kind: "keyed";
4870
+ };
4879
4871
  performance?: {
4880
4872
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
4881
4873
  maxAgeMs: number;
@@ -5183,25 +5175,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
5183
5175
  requires: {
5184
5176
  quest: string;
5185
5177
  }[];
5186
- completion: {
5187
- kind: "streak";
5188
- days: number;
5189
- timeZone: string;
5190
- } | {
5191
- kind: "once";
5192
- } | {
5193
- kind: "keyed";
5194
- };
5195
5178
  visibility: "visible" | "hidden";
5196
5179
  budgets: {
5197
5180
  id: string;
5198
5181
  scope: "project" | "member";
5199
- period: "lifetime" | "day" | "week";
5182
+ period: "lifetime" | "day" | "week" | "month";
5200
5183
  limit: number;
5201
5184
  cost: number | {
5202
5185
  balance: string;
5203
5186
  };
5204
5187
  }[];
5188
+ completion: {
5189
+ kind: "streak";
5190
+ days: number;
5191
+ } | {
5192
+ kind: "once";
5193
+ } | {
5194
+ kind: "keyed";
5195
+ };
5205
5196
  code: string;
5206
5197
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
5207
5198
  id: string;
@@ -5579,25 +5570,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
5579
5570
  requires: {
5580
5571
  quest: string;
5581
5572
  }[];
5582
- completion: {
5583
- kind: "streak";
5584
- days: number;
5585
- timeZone: string;
5586
- } | {
5587
- kind: "once";
5588
- } | {
5589
- kind: "keyed";
5590
- };
5591
5573
  visibility: "visible" | "hidden";
5592
5574
  budgets: {
5593
5575
  id: string;
5594
5576
  scope: "project" | "member";
5595
- period: "lifetime" | "day" | "week";
5577
+ period: "lifetime" | "day" | "week" | "month";
5596
5578
  limit: number;
5597
5579
  cost: number | {
5598
5580
  balance: string;
5599
5581
  };
5600
5582
  }[];
5583
+ completion: {
5584
+ kind: "streak";
5585
+ days: number;
5586
+ } | {
5587
+ kind: "once";
5588
+ } | {
5589
+ kind: "keyed";
5590
+ };
5601
5591
  code: string;
5602
5592
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
5603
5593
  id: string;
@@ -5918,25 +5908,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
5918
5908
  requires: {
5919
5909
  quest: string;
5920
5910
  }[];
5921
- completion: {
5922
- kind: "streak";
5923
- days: number;
5924
- timeZone: string;
5925
- } | {
5926
- kind: "once";
5927
- } | {
5928
- kind: "keyed";
5929
- };
5930
5911
  visibility: "visible" | "hidden";
5931
5912
  budgets: {
5932
5913
  id: string;
5933
5914
  scope: "project" | "member";
5934
- period: "lifetime" | "day" | "week";
5915
+ period: "lifetime" | "day" | "week" | "month";
5935
5916
  limit: number;
5936
5917
  cost: number | {
5937
5918
  balance: string;
5938
5919
  };
5939
5920
  }[];
5921
+ completion: {
5922
+ kind: "streak";
5923
+ days: number;
5924
+ } | {
5925
+ kind: "once";
5926
+ } | {
5927
+ kind: "keyed";
5928
+ };
5940
5929
  code: string;
5941
5930
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
5942
5931
  id: string;
@@ -7033,25 +7022,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
7033
7022
  requires: {
7034
7023
  quest: string;
7035
7024
  }[];
7036
- completion: {
7037
- kind: "streak";
7038
- days: number;
7039
- timeZone: string;
7040
- } | {
7041
- kind: "once";
7042
- } | {
7043
- kind: "keyed";
7044
- };
7045
7025
  visibility: "visible" | "hidden";
7046
7026
  budgets: {
7047
7027
  id: string;
7048
7028
  scope: "project" | "member";
7049
- period: "lifetime" | "day" | "week";
7029
+ period: "lifetime" | "day" | "week" | "month";
7050
7030
  limit: number;
7051
7031
  cost: number | {
7052
7032
  balance: string;
7053
7033
  };
7054
7034
  }[];
7035
+ completion: {
7036
+ kind: "streak";
7037
+ days: number;
7038
+ } | {
7039
+ kind: "once";
7040
+ } | {
7041
+ kind: "keyed";
7042
+ };
7055
7043
  code: string;
7056
7044
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
7057
7045
  id: string;
@@ -7563,25 +7551,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
7563
7551
  requires: {
7564
7552
  quest: string;
7565
7553
  }[];
7566
- completion: {
7567
- kind: "streak";
7568
- days: number;
7569
- timeZone: string;
7570
- } | {
7571
- kind: "once";
7572
- } | {
7573
- kind: "keyed";
7574
- };
7575
7554
  visibility: "visible" | "hidden";
7576
7555
  budgets: {
7577
7556
  id: string;
7578
7557
  scope: "project" | "member";
7579
- period: "lifetime" | "day" | "week";
7558
+ period: "lifetime" | "day" | "week" | "month";
7580
7559
  limit: number;
7581
7560
  cost: number | {
7582
7561
  balance: string;
7583
7562
  };
7584
7563
  }[];
7564
+ completion: {
7565
+ kind: "streak";
7566
+ days: number;
7567
+ } | {
7568
+ kind: "once";
7569
+ } | {
7570
+ kind: "keyed";
7571
+ };
7585
7572
  code: string;
7586
7573
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
7587
7574
  id: string;
@@ -7932,7 +7919,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
7932
7919
  completion: {
7933
7920
  kind: "streak";
7934
7921
  days: number;
7935
- timeZone: string;
7936
7922
  } | {
7937
7923
  kind: "once";
7938
7924
  } | {
@@ -8267,6 +8253,36 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
8267
8253
  testnet: boolean;
8268
8254
  }[];
8269
8255
  }>;
8256
+ calendar: {
8257
+ read: (call?: ManagementCallOptions) => Promise<{
8258
+ timeZone: string;
8259
+ today: string;
8260
+ nextBoundary: number;
8261
+ pending: {
8262
+ timeZone: string;
8263
+ effectiveAt: number;
8264
+ } | null;
8265
+ declared: string | null;
8266
+ unsupported: string | null;
8267
+ }>;
8268
+ configure: (input: Omit<{
8269
+ actionId: string;
8270
+ timeZone: string;
8271
+ reason: string;
8272
+ }, "actionId"> & {
8273
+ actionId?: string;
8274
+ }, call?: ManagementCallOptions) => Promise<{
8275
+ timeZone: string;
8276
+ today: string;
8277
+ nextBoundary: number;
8278
+ pending: {
8279
+ timeZone: string;
8280
+ effectiveAt: number;
8281
+ } | null;
8282
+ declared: string | null;
8283
+ unsupported: string | null;
8284
+ }>;
8285
+ };
8270
8286
  profiles: {
8271
8287
  settings: (call?: ManagementCallOptions) => Promise<{
8272
8288
  visibility: "private" | "participants" | "public";
@@ -8559,25 +8575,24 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
8559
8575
  requires: {
8560
8576
  quest: string;
8561
8577
  }[];
8562
- completion: {
8563
- kind: "streak";
8564
- days: number;
8565
- timeZone: string;
8566
- } | {
8567
- kind: "once";
8568
- } | {
8569
- kind: "keyed";
8570
- };
8571
8578
  visibility: "visible" | "hidden";
8572
8579
  budgets: {
8573
8580
  id: string;
8574
8581
  scope: "project" | "member";
8575
- period: "lifetime" | "day" | "week";
8582
+ period: "lifetime" | "day" | "week" | "month";
8576
8583
  limit: number;
8577
8584
  cost: number | {
8578
8585
  balance: string;
8579
8586
  };
8580
8587
  }[];
8588
+ completion: {
8589
+ kind: "streak";
8590
+ days: number;
8591
+ } | {
8592
+ kind: "once";
8593
+ } | {
8594
+ kind: "keyed";
8595
+ };
8581
8596
  code: string;
8582
8597
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
8583
8598
  id: string;
@@ -9290,15 +9305,6 @@ declare const pageSchema: z.ZodObject<{
9290
9305
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
9291
9306
  quest: z.ZodString;
9292
9307
  }, z.core.$strip>>>;
9293
- completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
9294
- kind: z.ZodLiteral<"streak">;
9295
- days: z.ZodNumber;
9296
- timeZone: z.ZodString;
9297
- }, z.core.$strict>, z.ZodObject<{
9298
- kind: z.ZodLiteral<"once">;
9299
- }, z.core.$strict>, z.ZodObject<{
9300
- kind: z.ZodLiteral<"keyed">;
9301
- }, z.core.$strict>], "kind">;
9302
9308
  visibility: z.ZodDefault<z.ZodEnum<{
9303
9309
  visible: "visible";
9304
9310
  hidden: "hidden";
@@ -9316,12 +9322,21 @@ declare const pageSchema: z.ZodObject<{
9316
9322
  lifetime: "lifetime";
9317
9323
  day: "day";
9318
9324
  week: "week";
9325
+ month: "month";
9319
9326
  }>;
9320
9327
  limit: z.ZodNumber;
9321
9328
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
9322
9329
  balance: z.ZodString;
9323
9330
  }, z.core.$strict>]>;
9324
9331
  }, z.core.$strict>>>;
9332
+ completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
9333
+ kind: z.ZodLiteral<"streak">;
9334
+ days: z.ZodNumber;
9335
+ }, z.core.$strip>, z.ZodObject<{
9336
+ kind: z.ZodLiteral<"once">;
9337
+ }, z.core.$strict>, z.ZodObject<{
9338
+ kind: z.ZodLiteral<"keyed">;
9339
+ }, z.core.$strict>], "kind">;
9325
9340
  key: z.ZodOptional<z.ZodString>;
9326
9341
  code: z.ZodString;
9327
9342
  provider: z.ZodEnum<{
@@ -9616,25 +9631,24 @@ declare const pageSchema: z.ZodObject<{
9616
9631
  requires: {
9617
9632
  quest: string;
9618
9633
  }[];
9619
- completion: {
9620
- kind: "streak";
9621
- days: number;
9622
- timeZone: string;
9623
- } | {
9624
- kind: "once";
9625
- } | {
9626
- kind: "keyed";
9627
- };
9628
9634
  visibility: "visible" | "hidden";
9629
9635
  budgets: {
9630
9636
  id: string;
9631
9637
  scope: "project" | "member";
9632
- period: "lifetime" | "day" | "week";
9638
+ period: "lifetime" | "day" | "week" | "month";
9633
9639
  limit: number;
9634
9640
  cost: number | {
9635
9641
  balance: string;
9636
9642
  };
9637
9643
  }[];
9644
+ completion: {
9645
+ kind: "streak";
9646
+ days: number;
9647
+ } | {
9648
+ kind: "once";
9649
+ } | {
9650
+ kind: "keyed";
9651
+ };
9638
9652
  code: string;
9639
9653
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
9640
9654
  id: string;
@@ -10318,15 +10332,6 @@ declare const memberDetailSchema: z.ZodObject<{
10318
10332
  requires: z.ZodDefault<z.ZodArray<z.ZodObject<{
10319
10333
  quest: z.ZodString;
10320
10334
  }, z.core.$strip>>>;
10321
- completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
10322
- kind: z.ZodLiteral<"streak">;
10323
- days: z.ZodNumber;
10324
- timeZone: z.ZodString;
10325
- }, z.core.$strict>, z.ZodObject<{
10326
- kind: z.ZodLiteral<"once">;
10327
- }, z.core.$strict>, z.ZodObject<{
10328
- kind: z.ZodLiteral<"keyed">;
10329
- }, z.core.$strict>], "kind">;
10330
10335
  visibility: z.ZodDefault<z.ZodEnum<{
10331
10336
  visible: "visible";
10332
10337
  hidden: "hidden";
@@ -10344,12 +10349,21 @@ declare const memberDetailSchema: z.ZodObject<{
10344
10349
  lifetime: "lifetime";
10345
10350
  day: "day";
10346
10351
  week: "week";
10352
+ month: "month";
10347
10353
  }>;
10348
10354
  limit: z.ZodNumber;
10349
10355
  cost: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
10350
10356
  balance: z.ZodString;
10351
10357
  }, z.core.$strict>]>;
10352
10358
  }, z.core.$strict>>>;
10359
+ completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
10360
+ kind: z.ZodLiteral<"streak">;
10361
+ days: z.ZodNumber;
10362
+ }, z.core.$strip>, z.ZodObject<{
10363
+ kind: z.ZodLiteral<"once">;
10364
+ }, z.core.$strict>, z.ZodObject<{
10365
+ kind: z.ZodLiteral<"keyed">;
10366
+ }, z.core.$strict>], "kind">;
10353
10367
  key: z.ZodOptional<z.ZodString>;
10354
10368
  code: z.ZodString;
10355
10369
  provider: z.ZodEnum<{
@@ -10644,25 +10658,24 @@ declare const memberDetailSchema: z.ZodObject<{
10644
10658
  requires: {
10645
10659
  quest: string;
10646
10660
  }[];
10647
- completion: {
10648
- kind: "streak";
10649
- days: number;
10650
- timeZone: string;
10651
- } | {
10652
- kind: "once";
10653
- } | {
10654
- kind: "keyed";
10655
- };
10656
10661
  visibility: "visible" | "hidden";
10657
10662
  budgets: {
10658
10663
  id: string;
10659
10664
  scope: "project" | "member";
10660
- period: "lifetime" | "day" | "week";
10665
+ period: "lifetime" | "day" | "week" | "month";
10661
10666
  limit: number;
10662
10667
  cost: number | {
10663
10668
  balance: string;
10664
10669
  };
10665
10670
  }[];
10671
+ completion: {
10672
+ kind: "streak";
10673
+ days: number;
10674
+ } | {
10675
+ kind: "once";
10676
+ } | {
10677
+ kind: "keyed";
10678
+ };
10666
10679
  code: string;
10667
10680
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
10668
10681
  id: string;
@@ -11103,8 +11116,7 @@ declare const memberDetailSchema: z.ZodObject<{
11103
11116
  completion: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
11104
11117
  kind: z.ZodLiteral<"streak">;
11105
11118
  days: z.ZodNumber;
11106
- timeZone: z.ZodString;
11107
- }, z.core.$strict>, z.ZodObject<{
11119
+ }, z.core.$strip>, z.ZodObject<{
11108
11120
  kind: z.ZodLiteral<"once">;
11109
11121
  }, z.core.$strict>, z.ZodObject<{
11110
11122
  kind: z.ZodLiteral<"keyed">;
@@ -11890,11 +11902,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
11890
11902
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11891
11903
  baseline: "historical";
11892
11904
  maxAgeMs: number;
11893
- budget: {
11894
- projectDaily?: number | undefined;
11895
- memberDaily?: number | undefined;
11896
- projectLifetime?: number | undefined;
11897
- };
11905
+ budgets: {
11906
+ scope: "project" | "member";
11907
+ period: "lifetime" | "day" | "week" | "month";
11908
+ limit: number;
11909
+ }[];
11898
11910
  };
11899
11911
  boundary: "available-eligible-observation";
11900
11912
  settlement: "deferred";
@@ -11918,11 +11930,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
11918
11930
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11919
11931
  baseline: "historical";
11920
11932
  maxAgeMs: number;
11921
- budget: {
11922
- projectDaily?: number | undefined;
11923
- memberDaily?: number | undefined;
11924
- projectLifetime?: number | undefined;
11925
- };
11933
+ budgets: {
11934
+ scope: "project" | "member";
11935
+ period: "lifetime" | "day" | "week" | "month";
11936
+ limit: number;
11937
+ }[];
11926
11938
  };
11927
11939
  publishedAt: number;
11928
11940
  }>;
@@ -11936,11 +11948,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
11936
11948
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11937
11949
  baseline: "historical";
11938
11950
  maxAgeMs: number;
11939
- budget: {
11940
- projectDaily?: number | undefined;
11941
- memberDaily?: number | undefined;
11942
- projectLifetime?: number | undefined;
11943
- };
11951
+ budgets: {
11952
+ scope: "project" | "member";
11953
+ period: "lifetime" | "day" | "week" | "month";
11954
+ limit: number;
11955
+ }[];
11944
11956
  };
11945
11957
  publishedAt: number;
11946
11958
  previousVersion: string | null;
@@ -11957,11 +11969,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
11957
11969
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11958
11970
  baseline: "historical";
11959
11971
  maxAgeMs: number;
11960
- budget: {
11961
- projectDaily?: number | undefined;
11962
- memberDaily?: number | undefined;
11963
- projectLifetime?: number | undefined;
11964
- };
11972
+ budgets: {
11973
+ scope: "project" | "member";
11974
+ period: "lifetime" | "day" | "week" | "month";
11975
+ limit: number;
11976
+ }[];
11965
11977
  };
11966
11978
  publishedAt: number;
11967
11979
  } | null;
@@ -11974,11 +11986,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
11974
11986
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
11975
11987
  baseline: "historical";
11976
11988
  maxAgeMs: number;
11977
- budget: {
11978
- projectDaily?: number | undefined;
11979
- memberDaily?: number | undefined;
11980
- projectLifetime?: number | undefined;
11981
- };
11989
+ budgets: {
11990
+ scope: "project" | "member";
11991
+ period: "lifetime" | "day" | "week" | "month";
11992
+ limit: number;
11993
+ }[];
11982
11994
  };
11983
11995
  publishedAt: number;
11984
11996
  };
@@ -12011,11 +12023,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
12011
12023
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12012
12024
  baseline: "historical";
12013
12025
  maxAgeMs: number;
12014
- budget: {
12015
- projectDaily?: number | undefined;
12016
- memberDaily?: number | undefined;
12017
- projectLifetime?: number | undefined;
12018
- };
12026
+ budgets: {
12027
+ scope: "project" | "member";
12028
+ period: "lifetime" | "day" | "week" | "month";
12029
+ limit: number;
12030
+ }[];
12019
12031
  };
12020
12032
  publishedAt: number;
12021
12033
  }>;
@@ -12028,11 +12040,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
12028
12040
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12029
12041
  baseline: "historical";
12030
12042
  maxAgeMs: number;
12031
- budget: {
12032
- projectDaily?: number | undefined;
12033
- memberDaily?: number | undefined;
12034
- projectLifetime?: number | undefined;
12035
- };
12043
+ budgets: {
12044
+ scope: "project" | "member";
12045
+ period: "lifetime" | "day" | "week" | "month";
12046
+ limit: number;
12047
+ }[];
12036
12048
  };
12037
12049
  publishedAt: number;
12038
12050
  }[]>;
@@ -12046,11 +12058,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
12046
12058
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12047
12059
  baseline: "historical";
12048
12060
  maxAgeMs: number;
12049
- budget: {
12050
- projectDaily?: number | undefined;
12051
- memberDaily?: number | undefined;
12052
- projectLifetime?: number | undefined;
12053
- };
12061
+ budgets: {
12062
+ scope: "project" | "member";
12063
+ period: "lifetime" | "day" | "week" | "month";
12064
+ limit: number;
12065
+ }[];
12054
12066
  };
12055
12067
  publishedAt: number;
12056
12068
  };
@@ -12397,7 +12409,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
12397
12409
  } | {
12398
12410
  kind: "calendar";
12399
12411
  period: "day" | "week" | "month";
12400
- timeZone: string;
12401
12412
  };
12402
12413
  kind: "earned";
12403
12414
  quests?: string[] | undefined;
@@ -12415,7 +12426,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
12415
12426
  } | {
12416
12427
  kind: "calendar";
12417
12428
  period: "day" | "week" | "month";
12418
- timeZone: string;
12419
12429
  };
12420
12430
  };
12421
12431
  access: "participants" | "public";
@@ -12532,7 +12542,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
12532
12542
  } | {
12533
12543
  kind: "calendar";
12534
12544
  period: "day" | "week" | "month";
12535
- timeZone: string;
12536
12545
  };
12537
12546
  kind: "earned";
12538
12547
  quests?: string[] | undefined;
@@ -12550,7 +12559,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
12550
12559
  } | {
12551
12560
  kind: "calendar";
12552
12561
  period: "day" | "week" | "month";
12553
- timeZone: string;
12554
12562
  };
12555
12563
  };
12556
12564
  access: "participants" | "public";
@@ -12584,11 +12592,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
12584
12592
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12585
12593
  baseline: "historical";
12586
12594
  maxAgeMs: number;
12587
- budget: {
12588
- projectDaily?: number | undefined;
12589
- memberDaily?: number | undefined;
12590
- projectLifetime?: number | undefined;
12591
- };
12595
+ budgets: {
12596
+ scope: "project" | "member";
12597
+ period: "lifetime" | "day" | "week" | "month";
12598
+ limit: number;
12599
+ }[];
12592
12600
  };
12593
12601
  publishedAt: number;
12594
12602
  };
@@ -12604,11 +12612,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
12604
12612
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12605
12613
  baseline: "historical";
12606
12614
  maxAgeMs: number;
12607
- budget: {
12608
- projectDaily?: number | undefined;
12609
- memberDaily?: number | undefined;
12610
- projectLifetime?: number | undefined;
12611
- };
12615
+ budgets: {
12616
+ scope: "project" | "member";
12617
+ period: "lifetime" | "day" | "week" | "month";
12618
+ limit: number;
12619
+ }[];
12612
12620
  };
12613
12621
  publishedAt: number;
12614
12622
  };
@@ -12624,11 +12632,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
12624
12632
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12625
12633
  baseline: "historical";
12626
12634
  maxAgeMs: number;
12627
- budget: {
12628
- projectDaily?: number | undefined;
12629
- memberDaily?: number | undefined;
12630
- projectLifetime?: number | undefined;
12631
- };
12635
+ budgets: {
12636
+ scope: "project" | "member";
12637
+ period: "lifetime" | "day" | "week" | "month";
12638
+ limit: number;
12639
+ }[];
12632
12640
  };
12633
12641
  publishedAt: number;
12634
12642
  };
@@ -12645,11 +12653,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
12645
12653
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
12646
12654
  baseline: "historical";
12647
12655
  maxAgeMs: number;
12648
- budget: {
12649
- projectDaily?: number | undefined;
12650
- memberDaily?: number | undefined;
12651
- projectLifetime?: number | undefined;
12652
- };
12656
+ budgets: {
12657
+ scope: "project" | "member";
12658
+ period: "lifetime" | "day" | "week" | "month";
12659
+ limit: number;
12660
+ }[];
12653
12661
  };
12654
12662
  boundary: "available-eligible-observation";
12655
12663
  settlement: "deferred";
@@ -12904,30 +12912,29 @@ declare function createManagementClient(options: ManagementClientOptions): {
12904
12912
  } | {
12905
12913
  kind: "manual";
12906
12914
  input: "quiz" | "photo" | "none";
12907
- actor?: "staff" | "member" | undefined;
12908
- };
12909
- requires: {
12910
- quest: string;
12911
- }[];
12912
- completion: {
12913
- kind: "streak";
12914
- days: number;
12915
- timeZone: string;
12916
- } | {
12917
- kind: "once";
12918
- } | {
12919
- kind: "keyed";
12915
+ actor?: "staff" | "member" | undefined;
12920
12916
  };
12917
+ requires: {
12918
+ quest: string;
12919
+ }[];
12921
12920
  visibility: "visible" | "hidden";
12922
12921
  budgets: {
12923
12922
  id: string;
12924
12923
  scope: "project" | "member";
12925
- period: "lifetime" | "day" | "week";
12924
+ period: "lifetime" | "day" | "week" | "month";
12926
12925
  limit: number;
12927
12926
  cost: number | {
12928
12927
  balance: string;
12929
12928
  };
12930
12929
  }[];
12930
+ completion: {
12931
+ kind: "streak";
12932
+ days: number;
12933
+ } | {
12934
+ kind: "once";
12935
+ } | {
12936
+ kind: "keyed";
12937
+ };
12931
12938
  code: string;
12932
12939
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
12933
12940
  id: string;
@@ -13182,25 +13189,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
13182
13189
  requires: {
13183
13190
  quest: string;
13184
13191
  }[];
13185
- completion: {
13186
- kind: "streak";
13187
- days: number;
13188
- timeZone: string;
13189
- } | {
13190
- kind: "once";
13191
- } | {
13192
- kind: "keyed";
13193
- };
13194
13192
  visibility: "visible" | "hidden";
13195
13193
  budgets: {
13196
13194
  id: string;
13197
13195
  scope: "project" | "member";
13198
- period: "lifetime" | "day" | "week";
13196
+ period: "lifetime" | "day" | "week" | "month";
13199
13197
  limit: number;
13200
13198
  cost: number | {
13201
13199
  balance: string;
13202
13200
  };
13203
13201
  }[];
13202
+ completion: {
13203
+ kind: "streak";
13204
+ days: number;
13205
+ } | {
13206
+ kind: "once";
13207
+ } | {
13208
+ kind: "keyed";
13209
+ };
13204
13210
  performance?: {
13205
13211
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
13206
13212
  maxAgeMs: number;
@@ -13343,7 +13349,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
13343
13349
  } | {
13344
13350
  kind: "calendar";
13345
13351
  period: "day" | "week" | "month";
13346
- timeZone: string;
13347
13352
  };
13348
13353
  kind: "earned";
13349
13354
  quests?: string[] | undefined;
@@ -13361,7 +13366,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
13361
13366
  } | {
13362
13367
  kind: "calendar";
13363
13368
  period: "day" | "week" | "month";
13364
- timeZone: string;
13365
13369
  };
13366
13370
  };
13367
13371
  access: "participants" | "public";
@@ -13552,6 +13556,10 @@ declare function createManagementClient(options: ManagementClientOptions): {
13552
13556
  width: number;
13553
13557
  height: number;
13554
13558
  }[];
13559
+ calendar: {
13560
+ timeZone: string;
13561
+ effectiveAt: number | null;
13562
+ } | null;
13555
13563
  }>;
13556
13564
  publish: (input: z.input<typeof publishDeploymentSchema>, call?: ManagementCallOptions) => Promise<{
13557
13565
  id: string;
@@ -13566,11 +13574,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
13566
13574
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
13567
13575
  baseline: "historical";
13568
13576
  maxAgeMs: number;
13569
- budget: {
13570
- projectDaily?: number | undefined;
13571
- memberDaily?: number | undefined;
13572
- projectLifetime?: number | undefined;
13573
- };
13577
+ budgets: {
13578
+ scope: "project" | "member";
13579
+ period: "lifetime" | "day" | "week" | "month";
13580
+ limit: number;
13581
+ }[];
13574
13582
  };
13575
13583
  publishedAt: number;
13576
13584
  };
@@ -13586,11 +13594,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
13586
13594
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
13587
13595
  baseline: "historical";
13588
13596
  maxAgeMs: number;
13589
- budget: {
13590
- projectDaily?: number | undefined;
13591
- memberDaily?: number | undefined;
13592
- projectLifetime?: number | undefined;
13593
- };
13597
+ budgets: {
13598
+ scope: "project" | "member";
13599
+ period: "lifetime" | "day" | "week" | "month";
13600
+ limit: number;
13601
+ }[];
13594
13602
  };
13595
13603
  publishedAt: number;
13596
13604
  };
@@ -13606,11 +13614,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
13606
13614
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
13607
13615
  baseline: "historical";
13608
13616
  maxAgeMs: number;
13609
- budget: {
13610
- projectDaily?: number | undefined;
13611
- memberDaily?: number | undefined;
13612
- projectLifetime?: number | undefined;
13613
- };
13617
+ budgets: {
13618
+ scope: "project" | "member";
13619
+ period: "lifetime" | "day" | "week" | "month";
13620
+ limit: number;
13621
+ }[];
13614
13622
  };
13615
13623
  publishedAt: number;
13616
13624
  };
@@ -13627,11 +13635,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
13627
13635
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
13628
13636
  baseline: "historical";
13629
13637
  maxAgeMs: number;
13630
- budget: {
13631
- projectDaily?: number | undefined;
13632
- memberDaily?: number | undefined;
13633
- projectLifetime?: number | undefined;
13634
- };
13638
+ budgets: {
13639
+ scope: "project" | "member";
13640
+ period: "lifetime" | "day" | "week" | "month";
13641
+ limit: number;
13642
+ }[];
13635
13643
  };
13636
13644
  boundary: "available-eligible-observation";
13637
13645
  settlement: "deferred";
@@ -13891,25 +13899,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
13891
13899
  requires: {
13892
13900
  quest: string;
13893
13901
  }[];
13894
- completion: {
13895
- kind: "streak";
13896
- days: number;
13897
- timeZone: string;
13898
- } | {
13899
- kind: "once";
13900
- } | {
13901
- kind: "keyed";
13902
- };
13903
13902
  visibility: "visible" | "hidden";
13904
13903
  budgets: {
13905
13904
  id: string;
13906
13905
  scope: "project" | "member";
13907
- period: "lifetime" | "day" | "week";
13906
+ period: "lifetime" | "day" | "week" | "month";
13908
13907
  limit: number;
13909
13908
  cost: number | {
13910
13909
  balance: string;
13911
13910
  };
13912
13911
  }[];
13912
+ completion: {
13913
+ kind: "streak";
13914
+ days: number;
13915
+ } | {
13916
+ kind: "once";
13917
+ } | {
13918
+ kind: "keyed";
13919
+ };
13913
13920
  code: string;
13914
13921
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
13915
13922
  id: string;
@@ -14164,25 +14171,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
14164
14171
  requires: {
14165
14172
  quest: string;
14166
14173
  }[];
14167
- completion: {
14168
- kind: "streak";
14169
- days: number;
14170
- timeZone: string;
14171
- } | {
14172
- kind: "once";
14173
- } | {
14174
- kind: "keyed";
14175
- };
14176
14174
  visibility: "visible" | "hidden";
14177
14175
  budgets: {
14178
14176
  id: string;
14179
14177
  scope: "project" | "member";
14180
- period: "lifetime" | "day" | "week";
14178
+ period: "lifetime" | "day" | "week" | "month";
14181
14179
  limit: number;
14182
14180
  cost: number | {
14183
14181
  balance: string;
14184
14182
  };
14185
14183
  }[];
14184
+ completion: {
14185
+ kind: "streak";
14186
+ days: number;
14187
+ } | {
14188
+ kind: "once";
14189
+ } | {
14190
+ kind: "keyed";
14191
+ };
14186
14192
  performance?: {
14187
14193
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
14188
14194
  maxAgeMs: number;
@@ -14325,7 +14331,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
14325
14331
  } | {
14326
14332
  kind: "calendar";
14327
14333
  period: "day" | "week" | "month";
14328
- timeZone: string;
14329
14334
  };
14330
14335
  kind: "earned";
14331
14336
  quests?: string[] | undefined;
@@ -14343,7 +14348,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
14343
14348
  } | {
14344
14349
  kind: "calendar";
14345
14350
  period: "day" | "week" | "month";
14346
- timeZone: string;
14347
14351
  };
14348
14352
  };
14349
14353
  access: "participants" | "public";
@@ -14534,6 +14538,10 @@ declare function createManagementClient(options: ManagementClientOptions): {
14534
14538
  width: number;
14535
14539
  height: number;
14536
14540
  }[];
14541
+ calendar: {
14542
+ timeZone: string;
14543
+ effectiveAt: number | null;
14544
+ } | null;
14537
14545
  revision: number;
14538
14546
  }>;
14539
14547
  };
@@ -14758,25 +14766,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
14758
14766
  requires: {
14759
14767
  quest: string;
14760
14768
  }[];
14761
- completion: {
14762
- kind: "streak";
14763
- days: number;
14764
- timeZone: string;
14765
- } | {
14766
- kind: "once";
14767
- } | {
14768
- kind: "keyed";
14769
- };
14770
14769
  visibility: "visible" | "hidden";
14771
14770
  budgets: {
14772
14771
  id: string;
14773
14772
  scope: "project" | "member";
14774
- period: "lifetime" | "day" | "week";
14773
+ period: "lifetime" | "day" | "week" | "month";
14775
14774
  limit: number;
14776
14775
  cost: number | {
14777
14776
  balance: string;
14778
14777
  };
14779
14778
  }[];
14779
+ completion: {
14780
+ kind: "streak";
14781
+ days: number;
14782
+ } | {
14783
+ kind: "once";
14784
+ } | {
14785
+ kind: "keyed";
14786
+ };
14780
14787
  performance?: {
14781
14788
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
14782
14789
  maxAgeMs: number;
@@ -15084,25 +15091,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
15084
15091
  requires: {
15085
15092
  quest: string;
15086
15093
  }[];
15087
- completion: {
15088
- kind: "streak";
15089
- days: number;
15090
- timeZone: string;
15091
- } | {
15092
- kind: "once";
15093
- } | {
15094
- kind: "keyed";
15095
- };
15096
15094
  visibility: "visible" | "hidden";
15097
15095
  budgets: {
15098
15096
  id: string;
15099
15097
  scope: "project" | "member";
15100
- period: "lifetime" | "day" | "week";
15098
+ period: "lifetime" | "day" | "week" | "month";
15101
15099
  limit: number;
15102
15100
  cost: number | {
15103
15101
  balance: string;
15104
15102
  };
15105
15103
  }[];
15104
+ completion: {
15105
+ kind: "streak";
15106
+ days: number;
15107
+ } | {
15108
+ kind: "once";
15109
+ } | {
15110
+ kind: "keyed";
15111
+ };
15106
15112
  code: string;
15107
15113
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
15108
15114
  id: string;
@@ -15361,25 +15367,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
15361
15367
  requires: {
15362
15368
  quest: string;
15363
15369
  }[];
15364
- completion: {
15365
- kind: "streak";
15366
- days: number;
15367
- timeZone: string;
15368
- } | {
15369
- kind: "once";
15370
- } | {
15371
- kind: "keyed";
15372
- };
15373
15370
  visibility: "visible" | "hidden";
15374
15371
  budgets: {
15375
15372
  id: string;
15376
15373
  scope: "project" | "member";
15377
- period: "lifetime" | "day" | "week";
15374
+ period: "lifetime" | "day" | "week" | "month";
15378
15375
  limit: number;
15379
15376
  cost: number | {
15380
15377
  balance: string;
15381
15378
  };
15382
15379
  }[];
15380
+ completion: {
15381
+ kind: "streak";
15382
+ days: number;
15383
+ } | {
15384
+ kind: "once";
15385
+ } | {
15386
+ kind: "keyed";
15387
+ };
15383
15388
  performance?: {
15384
15389
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
15385
15390
  maxAgeMs: number;
@@ -15616,25 +15621,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
15616
15621
  requires: {
15617
15622
  quest: string;
15618
15623
  }[];
15619
- completion: {
15620
- kind: "streak";
15621
- days: number;
15622
- timeZone: string;
15623
- } | {
15624
- kind: "once";
15625
- } | {
15626
- kind: "keyed";
15627
- };
15628
15624
  visibility: "visible" | "hidden";
15629
15625
  budgets: {
15630
15626
  id: string;
15631
15627
  scope: "project" | "member";
15632
- period: "lifetime" | "day" | "week";
15628
+ period: "lifetime" | "day" | "week" | "month";
15633
15629
  limit: number;
15634
15630
  cost: number | {
15635
15631
  balance: string;
15636
15632
  };
15637
15633
  }[];
15634
+ completion: {
15635
+ kind: "streak";
15636
+ days: number;
15637
+ } | {
15638
+ kind: "once";
15639
+ } | {
15640
+ kind: "keyed";
15641
+ };
15638
15642
  performance?: {
15639
15643
  metrics: ("likes" | "replies" | "reposts" | "quotes" | "views" | "bookmarks")[];
15640
15644
  maxAgeMs: number;
@@ -15942,25 +15946,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
15942
15946
  requires: {
15943
15947
  quest: string;
15944
15948
  }[];
15945
- completion: {
15946
- kind: "streak";
15947
- days: number;
15948
- timeZone: string;
15949
- } | {
15950
- kind: "once";
15951
- } | {
15952
- kind: "keyed";
15953
- };
15954
15949
  visibility: "visible" | "hidden";
15955
15950
  budgets: {
15956
15951
  id: string;
15957
15952
  scope: "project" | "member";
15958
- period: "lifetime" | "day" | "week";
15953
+ period: "lifetime" | "day" | "week" | "month";
15959
15954
  limit: number;
15960
15955
  cost: number | {
15961
15956
  balance: string;
15962
15957
  };
15963
15958
  }[];
15959
+ completion: {
15960
+ kind: "streak";
15961
+ days: number;
15962
+ } | {
15963
+ kind: "once";
15964
+ } | {
15965
+ kind: "keyed";
15966
+ };
15964
15967
  code: string;
15965
15968
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
15966
15969
  id: string;
@@ -16338,25 +16341,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
16338
16341
  requires: {
16339
16342
  quest: string;
16340
16343
  }[];
16341
- completion: {
16342
- kind: "streak";
16343
- days: number;
16344
- timeZone: string;
16345
- } | {
16346
- kind: "once";
16347
- } | {
16348
- kind: "keyed";
16349
- };
16350
16344
  visibility: "visible" | "hidden";
16351
16345
  budgets: {
16352
16346
  id: string;
16353
16347
  scope: "project" | "member";
16354
- period: "lifetime" | "day" | "week";
16348
+ period: "lifetime" | "day" | "week" | "month";
16355
16349
  limit: number;
16356
16350
  cost: number | {
16357
16351
  balance: string;
16358
16352
  };
16359
16353
  }[];
16354
+ completion: {
16355
+ kind: "streak";
16356
+ days: number;
16357
+ } | {
16358
+ kind: "once";
16359
+ } | {
16360
+ kind: "keyed";
16361
+ };
16360
16362
  code: string;
16361
16363
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
16362
16364
  id: string;
@@ -16677,25 +16679,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
16677
16679
  requires: {
16678
16680
  quest: string;
16679
16681
  }[];
16680
- completion: {
16681
- kind: "streak";
16682
- days: number;
16683
- timeZone: string;
16684
- } | {
16685
- kind: "once";
16686
- } | {
16687
- kind: "keyed";
16688
- };
16689
16682
  visibility: "visible" | "hidden";
16690
16683
  budgets: {
16691
16684
  id: string;
16692
16685
  scope: "project" | "member";
16693
- period: "lifetime" | "day" | "week";
16686
+ period: "lifetime" | "day" | "week" | "month";
16694
16687
  limit: number;
16695
16688
  cost: number | {
16696
16689
  balance: string;
16697
16690
  };
16698
16691
  }[];
16692
+ completion: {
16693
+ kind: "streak";
16694
+ days: number;
16695
+ } | {
16696
+ kind: "once";
16697
+ } | {
16698
+ kind: "keyed";
16699
+ };
16699
16700
  code: string;
16700
16701
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
16701
16702
  id: string;
@@ -17766,25 +17767,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
17766
17767
  requires: {
17767
17768
  quest: string;
17768
17769
  }[];
17769
- completion: {
17770
- kind: "streak";
17771
- days: number;
17772
- timeZone: string;
17773
- } | {
17774
- kind: "once";
17775
- } | {
17776
- kind: "keyed";
17777
- };
17778
17770
  visibility: "visible" | "hidden";
17779
17771
  budgets: {
17780
17772
  id: string;
17781
17773
  scope: "project" | "member";
17782
- period: "lifetime" | "day" | "week";
17774
+ period: "lifetime" | "day" | "week" | "month";
17783
17775
  limit: number;
17784
17776
  cost: number | {
17785
17777
  balance: string;
17786
17778
  };
17787
17779
  }[];
17780
+ completion: {
17781
+ kind: "streak";
17782
+ days: number;
17783
+ } | {
17784
+ kind: "once";
17785
+ } | {
17786
+ kind: "keyed";
17787
+ };
17788
17788
  code: string;
17789
17789
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
17790
17790
  id: string;
@@ -18299,25 +18299,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
18299
18299
  requires: {
18300
18300
  quest: string;
18301
18301
  }[];
18302
- completion: {
18303
- kind: "streak";
18304
- days: number;
18305
- timeZone: string;
18306
- } | {
18307
- kind: "once";
18308
- } | {
18309
- kind: "keyed";
18310
- };
18311
18302
  visibility: "visible" | "hidden";
18312
18303
  budgets: {
18313
18304
  id: string;
18314
18305
  scope: "project" | "member";
18315
- period: "lifetime" | "day" | "week";
18306
+ period: "lifetime" | "day" | "week" | "month";
18316
18307
  limit: number;
18317
18308
  cost: number | {
18318
18309
  balance: string;
18319
18310
  };
18320
18311
  }[];
18312
+ completion: {
18313
+ kind: "streak";
18314
+ days: number;
18315
+ } | {
18316
+ kind: "once";
18317
+ } | {
18318
+ kind: "keyed";
18319
+ };
18321
18320
  code: string;
18322
18321
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
18323
18322
  id: string;
@@ -18668,7 +18667,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
18668
18667
  completion: {
18669
18668
  kind: "streak";
18670
18669
  days: number;
18671
- timeZone: string;
18672
18670
  } | {
18673
18671
  kind: "once";
18674
18672
  } | {
@@ -19020,6 +19018,43 @@ declare function createManagementClient(options: ManagementClientOptions): {
19020
19018
  testnet: boolean;
19021
19019
  }[];
19022
19020
  }>;
19021
+ /**
19022
+ * The project calendar in this environment: the timezone that sets where days, weeks and months
19023
+ * begin for budgets, streaks and leaderboards.
19024
+ */
19025
+ calendar: {
19026
+ /**
19027
+ * The timezone in effect, today's date, when today ends, any pending change, and a stored
19028
+ * timezone the calendar no longer accepts (`unsupported`, read as UTC).
19029
+ */
19030
+ read: (call?: ManagementCallOptions) => Promise<{
19031
+ timeZone: string;
19032
+ today: string;
19033
+ nextBoundary: number;
19034
+ pending: {
19035
+ timeZone: string;
19036
+ effectiveAt: number;
19037
+ } | null;
19038
+ declared: string | null;
19039
+ unsupported: string | null;
19040
+ }>;
19041
+ /**
19042
+ * Changes the project timezone from the next day boundary, with a reason; requires `publish`
19043
+ * permission. The current timezone cancels a pending change; a call that changes nothing
19044
+ * records nothing. In live, only a person in Console can change it, not an API key.
19045
+ */
19046
+ configure: (input: CreationInput<z.input<typeof projectCalendarInputSchema>>, call?: ManagementCallOptions) => Promise<{
19047
+ timeZone: string;
19048
+ today: string;
19049
+ nextBoundary: number;
19050
+ pending: {
19051
+ timeZone: string;
19052
+ effectiveAt: number;
19053
+ } | null;
19054
+ declared: string | null;
19055
+ unsupported: string | null;
19056
+ }>;
19057
+ };
19023
19058
  /** Participant profiles in this project and environment. */
19024
19059
  profiles: {
19025
19060
  /** Who sees profiles, and which accounts supply default names and pictures, in order. */
@@ -19323,25 +19358,24 @@ declare function createManagementClient(options: ManagementClientOptions): {
19323
19358
  requires: {
19324
19359
  quest: string;
19325
19360
  }[];
19326
- completion: {
19327
- kind: "streak";
19328
- days: number;
19329
- timeZone: string;
19330
- } | {
19331
- kind: "once";
19332
- } | {
19333
- kind: "keyed";
19334
- };
19335
19361
  visibility: "visible" | "hidden";
19336
19362
  budgets: {
19337
19363
  id: string;
19338
19364
  scope: "project" | "member";
19339
- period: "lifetime" | "day" | "week";
19365
+ period: "lifetime" | "day" | "week" | "month";
19340
19366
  limit: number;
19341
19367
  cost: number | {
19342
19368
  balance: string;
19343
19369
  };
19344
19370
  }[];
19371
+ completion: {
19372
+ kind: "streak";
19373
+ days: number;
19374
+ } | {
19375
+ kind: "once";
19376
+ } | {
19377
+ kind: "keyed";
19378
+ };
19345
19379
  code: string;
19346
19380
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
19347
19381
  id: string;