@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
@@ -3,15 +3,15 @@ import {
3
3
  deploymentResultSchema,
4
4
  projectDeploymentSchema,
5
5
  publishDeploymentSchema
6
- } from "../chunk-NZA2TLBF.js";
6
+ } from "../chunk-KS33GOUL.js";
7
7
  import {
8
8
  identityIntegrationInputSchema,
9
9
  identityIntegrationSchema,
10
10
  identityIntegrationSecretSchema
11
- } from "../chunk-UW5CQHPQ.js";
11
+ } from "../chunk-MNQI35OG.js";
12
12
  import {
13
13
  imageAssetArtifactSchema
14
- } from "../chunk-4LBUTHD6.js";
14
+ } from "../chunk-II7DRZSL.js";
15
15
  import "../chunk-6A2V4L3T.js";
16
16
  import {
17
17
  allocateQuestSchema,
@@ -30,7 +30,7 @@ import {
30
30
  rewardDeliveriesSchema,
31
31
  rewardDeliverySchema,
32
32
  saveQuestDraftSchema
33
- } from "../chunk-LY7SXUNW.js";
33
+ } from "../chunk-M64XHC42.js";
34
34
  import {
35
35
  RequestError,
36
36
  engagementBoundaryPageSchema,
@@ -69,8 +69,8 @@ import {
69
69
  walletConnectionSchema,
70
70
  walletSignInNetworksSchema,
71
71
  walletUnlinkInputSchema
72
- } from "../chunk-5L7XZA4Y.js";
73
- import "../chunk-7Q4BGGT6.js";
72
+ } from "../chunk-OA2KMQVZ.js";
73
+ import "../chunk-FXYJ4OMX.js";
74
74
  import {
75
75
  attemptSchema,
76
76
  authProviderSchema,
@@ -95,6 +95,8 @@ import {
95
95
  observationReceiptSchema,
96
96
  pickupAvailabilitySchema,
97
97
  pickupCatalogSchema,
98
+ projectCalendarInputSchema,
99
+ projectCalendarSchema,
98
100
  publishedReleaseSchema,
99
101
  questSettingsInputSchema,
100
102
  snapshotSchema,
@@ -116,7 +118,7 @@ import {
116
118
  trackerQuerySchema,
117
119
  trackerStatusSchema,
118
120
  trackerSummarySchema
119
- } from "../chunk-YYD4QUBO.js";
121
+ } from "../chunk-CRNQP7NV.js";
120
122
 
121
123
  // src/server/index.ts
122
124
  import { z as z5 } from "zod";
@@ -1685,6 +1687,28 @@ function createManagementClient(options) {
1685
1687
  * names; requires `read` permission. Any other chain fails the evaluation.
1686
1688
  */
1687
1689
  walletBalanceChains: (call) => get("/wallet-balance-chains", walletBalanceChainsSchema, call),
1690
+ /**
1691
+ * The project calendar in this environment: the timezone that sets where days, weeks and months
1692
+ * begin for budgets, streaks and leaderboards.
1693
+ */
1694
+ calendar: {
1695
+ /**
1696
+ * The timezone in effect, today's date, when today ends, any pending change, and a stored
1697
+ * timezone the calendar no longer accepts (`unsupported`, read as UTC).
1698
+ */
1699
+ read: (call) => get("/calendar", projectCalendarSchema, call),
1700
+ /**
1701
+ * Changes the project timezone from the next day boundary, with a reason; requires `publish`
1702
+ * permission. The current timezone cancels a pending change; a call that changes nothing
1703
+ * records nothing. In live, only a person in Console can change it, not an API key.
1704
+ */
1705
+ configure: (input, call) => post(
1706
+ "/calendar",
1707
+ projectCalendarSchema,
1708
+ projectCalendarInputSchema.parse(withActionId(input)),
1709
+ call
1710
+ )
1711
+ },
1688
1712
  /** Participant profiles in this project and environment. */
1689
1713
  profiles: {
1690
1714
  /** Who sees profiles, and which accounts supply default names and pictures, in order. */
@@ -31,12 +31,10 @@ declare const quizContentSchema: z.ZodArray<z.ZodObject<{
31
31
  }, z.core.$strict>>;
32
32
  type QuizContent = z.infer<typeof quizContentSchema>;
33
33
 
34
- declare const communityTimeZoneSchema: z.ZodString;
35
34
  declare const streakPolicySchema: z.ZodObject<{
36
35
  kind: z.ZodLiteral<"streak">;
37
36
  days: z.ZodNumber;
38
- timeZone: z.ZodString;
39
- }, z.core.$strict>;
37
+ }, z.core.$strip>;
40
38
  type StreakPolicy = z.infer<typeof streakPolicySchema>;
41
39
  declare const streakProgressSchema: z.ZodObject<{
42
40
  goal: z.ZodNumber;
@@ -70,4 +68,4 @@ declare const streakProgressSchema: z.ZodObject<{
70
68
  }, z.core.$strip>;
71
69
  type StreakProgress = z.infer<typeof streakProgressSchema>;
72
70
 
73
- export { type QuizContent as Q, type StreakProgress as S, type StreakPolicy as a, quizContentSchema as b, communityTimeZoneSchema as c, quizQuestionSchema as d, quizQuestionsSchema as e, streakProgressSchema as f, quizChoiceSchema as q, streakPolicySchema as s };
71
+ export { type QuizContent as Q, type StreakProgress as S, type StreakPolicy as a, quizContentSchema as b, quizQuestionSchema as c, quizQuestionsSchema as d, streakProgressSchema as e, quizChoiceSchema as q, streakPolicySchema as s };
@@ -1330,4 +1330,4 @@ type TrackerReader = {
1330
1330
  }, query?: TrackerQuery): Promise<z.infer<typeof trackerSummarySchema>>;
1331
1331
  };
1332
1332
 
1333
- export { trackerDataMaxEntries as $, type AccountRole as A, type Bound as B, type Condition as C, type DataLeaves as D, type WhereSetting as E, type WithRecordData as F, accountRoleSchema as G, beneficiaryRole as H, type IdentityKind as I, customSourceSchema as J, defaultTriggerMode as K, identityKindSchema as L, publishedTrackerSchema as M, sourceIdentities as N, trackerAccountSchema as O, trackerArtifactSchema as P, trackerAttributionSchema as Q, trackerBoundSchema as R, trackerConditionSchema as S, type TrackerDataSchema as T, trackerContentQuerySchema as U, trackerContentReadSchema as V, type Where as W, type XTweet as X, trackerContentSchema as Y, trackerControlSchema as Z, trackerDataMaxBranches as _, type Tracker as a, trackerDataSchemaSchema as a0, trackerDefinitionSchema as a1, trackerEvidenceSchema as a2, trackerIngestResultSchema as a3, trackerIngestSchema as a4, trackerOutcomePageSchema as a5, trackerOutcomeQuerySchema as a6, trackerOutcomeRetrySchema as a7, trackerOutcomeSchema as a8, trackerPageSchema as a9, trackerDataIssue as aA, trackerDataIssues as aB, trackerDataPathTypes as aC, trackerDataRecordSteps as aD, whereSchemaIssue as aE, trackerPreviewInputSchema as aa, trackerPreviewLimits as ab, trackerPreviewSchema as ac, trackerQuerySchema as ad, trackerRecordInputSchema as ae, trackerRecordSchema as af, trackerSkipCodes as ag, trackerSourceSchema as ah, trackerStatusSchema as ai, trackerSummarySchema as aj, trackerTriggerContextSchema as ak, trackerTriggerModeSchema as al, trackerTriggerPolicySchema as am, trackerTriggerRecordSchema as an, trackerWhereSchema as ao, triggerMode as ap, whereConditions as aq, whereSettings as ar, xAccountRoles as as, xContentBodySchema as at, xSearchSourceSchema as au, xTweetSchema as av, trackerDataSchema as aw, type TrackerDataBudget as ax, schemaCheckedReader as ay, trackerDataBatchSteps as az, type TrackerAccount as b, type TrackerAttribution as c, type TrackerBound as d, type TrackerCondition as e, type TrackerContent as f, type TrackerContentQuery as g, type TrackerData as h, type TrackerDataIssue as i, type TrackerDefinition as j, type TrackerOutcome as k, type TrackerOutcomeQuery as l, type TrackerPage as m, type TrackerPreview as n, type TrackerPreviewInput as o, type TrackerQuery as p, type TrackerReader as q, type TrackerRecord as r, type TrackerSkipCode as s, type TrackerSource as t, type TrackerStatus as u, type TrackerTriggerContext as v, type TrackerTriggerMode as w, type TrackerTriggerPolicy as x, type TrackerWhere as y, type TypedTrackerRecord as z };
1333
+ export { trackerDataMaxEntries as $, type AccountRole as A, type Bound as B, type Condition as C, type DataLeaves as D, type WhereSetting as E, type WithRecordData as F, accountRoleSchema as G, beneficiaryRole as H, type IdentityKind as I, customSourceSchema as J, defaultTriggerMode as K, identityKindSchema as L, publishedTrackerSchema as M, sourceIdentities as N, trackerAccountSchema as O, trackerArtifactSchema as P, trackerAttributionSchema as Q, trackerBoundSchema as R, trackerConditionSchema as S, type Tracker as T, trackerContentQuerySchema as U, trackerContentReadSchema as V, type Where as W, type XTweet as X, trackerContentSchema as Y, trackerControlSchema as Z, trackerDataMaxBranches as _, type TrackerAccount as a, trackerDataSchemaSchema as a0, trackerDefinitionSchema as a1, trackerEvidenceSchema as a2, trackerIngestResultSchema as a3, trackerIngestSchema as a4, trackerOutcomePageSchema as a5, trackerOutcomeQuerySchema as a6, trackerOutcomeRetrySchema as a7, trackerOutcomeSchema as a8, trackerPageSchema as a9, trackerDataIssue as aA, trackerDataIssues as aB, trackerDataPathTypes as aC, trackerDataRecordSteps as aD, whereSchemaIssue as aE, trackerPreviewInputSchema as aa, trackerPreviewLimits as ab, trackerPreviewSchema as ac, trackerQuerySchema as ad, trackerRecordInputSchema as ae, trackerRecordSchema as af, trackerSkipCodes as ag, trackerSourceSchema as ah, trackerStatusSchema as ai, trackerSummarySchema as aj, trackerTriggerContextSchema as ak, trackerTriggerModeSchema as al, trackerTriggerPolicySchema as am, trackerTriggerRecordSchema as an, trackerWhereSchema as ao, triggerMode as ap, whereConditions as aq, whereSettings as ar, xAccountRoles as as, xContentBodySchema as at, xSearchSourceSchema as au, xTweetSchema as av, trackerDataSchema as aw, type TrackerDataBudget as ax, schemaCheckedReader as ay, trackerDataBatchSteps as az, type TrackerAttribution as b, type TrackerBound as c, type TrackerCondition as d, type TrackerContent as e, type TrackerContentQuery as f, type TrackerData as g, type TrackerDataIssue as h, type TrackerDataSchema as i, type TrackerDefinition as j, type TrackerOutcome as k, type TrackerOutcomeQuery as l, type TrackerPage as m, type TrackerPreview as n, type TrackerPreviewInput as o, type TrackerQuery as p, type TrackerReader as q, type TrackerRecord as r, type TrackerSkipCode as s, type TrackerSource as t, type TrackerStatus as u, type TrackerTriggerContext as v, type TrackerTriggerMode as w, type TrackerTriggerPolicy as x, type TrackerWhere as y, type TypedTrackerRecord as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domino-sdk/relay",
3
- "version": "1.0.0-next.12",
3
+ "version": "1.0.0-next.13",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {