@domino-sdk/relay 1.63.0 → 1.65.0

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 (69) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/{accounts-nz3mzfRQ.d.ts → accounts-_lNsiR2k.d.ts} +22 -2
  3. package/dist/{attempt-captures-DMi8oR9T.d.ts → attempt-captures-BqPggxTU.d.ts} +1 -1
  4. package/dist/authoring.d.ts +11 -11
  5. package/dist/authoring.js +15 -20
  6. package/dist/{automatic-outcomes-C_LLQU1p.d.ts → automatic-outcomes-BzAvfcpd.d.ts} +2 -2
  7. package/dist/browser.d.ts +9 -9
  8. package/dist/browser.js +11 -14
  9. package/dist/{catalog-BaTOKpNw.d.ts → catalog-ByZMRS7I.d.ts} +1 -1
  10. package/dist/{chunk-VWQGWGCH.js → chunk-4NIV4NPV.js} +1 -1
  11. package/dist/{chunk-ICXZZNPS.js → chunk-7H4MRVQF.js} +1 -1
  12. package/dist/{chunk-NQDEWJWE.js → chunk-CVQZ2YP7.js} +6 -232
  13. package/dist/{chunk-3RFP6GT5.js → chunk-DLABJSBO.js} +2 -2
  14. package/dist/{chunk-AQOL3SK5.js → chunk-E22XSC4L.js} +1 -1
  15. package/dist/{chunk-N4LNEGQX.js → chunk-EDNKKVGU.js} +2 -2
  16. package/dist/{chunk-GLH6MEI2.js → chunk-EOUEAOWJ.js} +28 -2
  17. package/dist/{chunk-MTKRIQEU.js → chunk-EUEW2APU.js} +1 -1
  18. package/dist/{chunk-ID3BZXFZ.js → chunk-HNR6G3GV.js} +1939 -1211
  19. package/dist/{chunk-5XLZ34PV.js → chunk-KCUUHT2V.js} +3 -3
  20. package/dist/{chunk-EHUSD3O2.js → chunk-MPTE7EIV.js} +2 -4
  21. package/dist/{chunk-QR6HH4DI.js → chunk-NG4GZ54I.js} +4 -4
  22. package/dist/chunk-R2KZFX6E.js +405 -0
  23. package/dist/{chunk-4GQW43UU.js → chunk-RD3XJ4DH.js} +26 -30
  24. package/dist/{chunk-7Z4SZ6YM.js → chunk-SE7XHQFP.js} +1 -1
  25. package/dist/{chunk-LZWXCBUB.js → chunk-VBYOAT46.js} +41 -45
  26. package/dist/{chunk-7X67QLPB.js → chunk-XVZ4YOF2.js} +1 -1
  27. package/dist/{chunk-FU5CGNTR.js → chunk-ZQ3IPCI6.js} +44 -5
  28. package/dist/chunk-ZXGBDLVB.js +1510 -0
  29. package/dist/{client-DHmG7rn6.d.ts → client-D7IiwEq2.d.ts} +12 -7
  30. package/dist/{dashboards-CLemT6kj.d.ts → dashboards-pVfclkyh.d.ts} +2 -2
  31. package/dist/{deployments-DTULi7dF.d.ts → deployments-Cr1tfqrr.d.ts} +2 -2
  32. package/dist/{identity-integration-DOeNZaxF.d.ts → identity-integration-Ci2vGKtX.d.ts} +37 -2
  33. package/dist/index.d.ts +10 -10
  34. package/dist/index.js +11 -15
  35. package/dist/internal.d.ts +12 -12
  36. package/dist/internal.js +21 -16
  37. package/dist/{limits-kNzYdZ00.d.ts → limits-pE04y9O2.d.ts} +8 -1
  38. package/dist/{offers-CYeN_I0Y.d.ts → offers-Hw2P6tcK.d.ts} +2 -2
  39. package/dist/{participant-activity-D-Drp24G.d.ts → participant-activity-DXRq4s6K.d.ts} +1 -0
  40. package/dist/portal-proxy.d.ts +4 -2
  41. package/dist/portal-proxy.js +13 -5
  42. package/dist/react/index.d.ts +20 -13
  43. package/dist/react/index.js +11 -14
  44. package/dist/{reward-deliveries-drp-x1G-.d.ts → reward-deliveries-BCV8hznc.d.ts} +1 -1
  45. package/dist/runtime/authoring.js +1 -1
  46. package/dist/runtime/chunks/6EBN6IZU.js +1 -0
  47. package/dist/runtime/manifest.json +3 -3
  48. package/dist/runtime/schema.js +1 -1
  49. package/dist/schema.d.ts +19 -16
  50. package/dist/schema.js +109 -112
  51. package/dist/server/index.d.ts +11 -11
  52. package/dist/server/index.js +775 -1037
  53. package/dist/{sign-in-providers-B1Q9eDRm.d.ts → sign-in-providers-BAkGjSXo.d.ts} +2 -2
  54. package/dist/{submission-input-DZCbjQUH.d.ts → submission-input-ChL1aYNH.d.ts} +2 -2
  55. package/dist/{telegram-browser-NL0Asmsi.d.ts → telegram-browser-K27t4TwM.d.ts} +4 -4
  56. package/dist/telegram.d.ts +8 -8
  57. package/dist/telegram.js +2 -2
  58. package/dist/testing.d.ts +10 -10
  59. package/dist/testing.js +19 -23
  60. package/dist/{tracker-data-esm3WG8R.d.ts → tracker-data-Bl-qPIvZ.d.ts} +3 -1
  61. package/dist/{transport-Czht_irp.d.ts → transport-DC1m73Tp.d.ts} +1065 -14
  62. package/package.json +1 -1
  63. package/dist/chunk-4NOFSGAL.js +0 -320
  64. package/dist/chunk-FO2LCZTL.js +0 -19
  65. package/dist/chunk-KP2MCX3R.js +0 -587
  66. package/dist/chunk-N4BDKS6Y.js +0 -87
  67. package/dist/chunk-TLSQETTY.js +0 -41
  68. package/dist/chunk-W7YSMSGC.js +0 -725
  69. package/dist/runtime/chunks/UGDV5W4N.js +0 -1
@@ -1,10 +1,21 @@
1
1
  import {
2
2
  createRelayAction,
3
3
  withActionId
4
- } from "./chunk-AQOL3SK5.js";
4
+ } from "./chunk-E22XSC4L.js";
5
5
  import {
6
6
  setPluginTransport
7
- } from "./chunk-MTKRIQEU.js";
7
+ } from "./chunk-EUEW2APU.js";
8
+ import {
9
+ createHttpExchange,
10
+ untilAborted,
11
+ withQuery
12
+ } from "./chunk-7H4MRVQF.js";
13
+ import {
14
+ PARTICIPANT_TIMEOUT,
15
+ lifetime,
16
+ retrying,
17
+ validTimeout
18
+ } from "./chunk-DLABJSBO.js";
8
19
  import {
9
20
  authProvidersSchema,
10
21
  collectionPassSchema,
@@ -23,12 +34,17 @@ import {
23
34
  questOutcomeSchema,
24
35
  rewardDeliveriesSchema,
25
36
  rewardDeliveryQuerySchema
26
- } from "./chunk-EHUSD3O2.js";
37
+ } from "./chunk-MPTE7EIV.js";
27
38
  import {
39
+ exchangeResultSchema,
40
+ exchangeSchema,
41
+ memberSummarySchema,
28
42
  participantActivityQuerySchema,
29
43
  participantActivitySchema,
30
- questExperienceSchema
31
- } from "./chunk-4NOFSGAL.js";
44
+ participantSessionSchema,
45
+ questExperienceSchema,
46
+ sessionMember
47
+ } from "./chunk-R2KZFX6E.js";
32
48
  import {
33
49
  engagementBoundaryPageSchema,
34
50
  engagementPageQuerySchema,
@@ -39,20 +55,36 @@ import {
39
55
  referralDefinitionSchema,
40
56
  referralHistorySchema,
41
57
  referralSummarySchema
42
- } from "./chunk-QR6HH4DI.js";
58
+ } from "./chunk-NG4GZ54I.js";
43
59
  import {
44
60
  AVATAR_UPLOAD_LIMIT,
61
+ accountConnectionSchema,
62
+ attemptSchema,
45
63
  avatarUploadTypes,
46
64
  badgeCatalogSchema,
47
65
  badgeSchema,
66
+ campaignEnrollmentInputSchema,
67
+ campaignEnrollmentSchema,
68
+ campaignWithdrawalInputSchema,
69
+ contentPerformancePageSchema,
70
+ contentPerformanceQuerySchema,
71
+ contentQualificationPageSchema,
72
+ contentQualificationQuerySchema,
73
+ evidenceSchema,
74
+ identifier,
75
+ knownResponse,
48
76
  leaderboardDefinitionResponseSchema,
49
77
  leaderboardHistoryPageSchema,
50
78
  leaderboardHistoryQuerySchema,
51
79
  leaderboardPageSchema,
52
80
  leaderboardPlacementSchema,
53
81
  leaderboardQuerySchema,
82
+ linkedWalletSchema,
54
83
  memberBadgesSchema,
84
+ memberProgressSchema,
85
+ missingPrerequisiteSchema,
55
86
  ownProfileSchema,
87
+ pageQuerySchema,
56
88
  pointBalancesSchema,
57
89
  pointHistoryPageSchema,
58
90
  pointHistoryQuerySchema,
@@ -61,43 +93,7 @@ import {
61
93
  profileCompletionQuerySchema,
62
94
  profileReferralSchema,
63
95
  profileSummarySchema,
64
- profileUpdateSchema
65
- } from "./chunk-W7YSMSGC.js";
66
- import {
67
- createHttpExchange,
68
- untilAborted,
69
- withQuery
70
- } from "./chunk-ICXZZNPS.js";
71
- import {
72
- PARTICIPANT_TIMEOUT,
73
- lifetime,
74
- retrying,
75
- validTimeout
76
- } from "./chunk-3RFP6GT5.js";
77
- import {
78
- exchangeResultSchema,
79
- exchangeSchema,
80
- memberSummarySchema,
81
- participantSessionSchema,
82
- sessionMember
83
- } from "./chunk-N4BDKS6Y.js";
84
- import {
85
- accountConnectionSchema,
86
- attemptSchema,
87
- campaignEnrollmentInputSchema,
88
- campaignEnrollmentSchema,
89
- campaignWithdrawalInputSchema,
90
- contentPerformancePageSchema,
91
- contentPerformanceQuerySchema,
92
- contentQualificationPageSchema,
93
- contentQualificationQuerySchema,
94
- evidenceSchema,
95
- identifier,
96
- knownResponse,
97
- linkedWalletSchema,
98
- memberProgressSchema,
99
- missingPrerequisiteSchema,
100
- pageQuerySchema,
96
+ profileUpdateSchema,
101
97
  questSubmissionResultSchema,
102
98
  questSubmissionSchema,
103
99
  quizEvidenceSchema,
@@ -115,7 +111,7 @@ import {
115
111
  walletMessageChallengeSchema,
116
112
  walletSignatureSchema,
117
113
  walletUnlinkInputSchema
118
- } from "./chunk-ID3BZXFZ.js";
114
+ } from "./chunk-HNR6G3GV.js";
119
115
  import {
120
116
  RelayError,
121
117
  RelayErrorCode,
@@ -123,7 +119,7 @@ import {
123
119
  isRelayError,
124
120
  isRequestError,
125
121
  parseInput
126
- } from "./chunk-GLH6MEI2.js";
122
+ } from "./chunk-EOUEAOWJ.js";
127
123
 
128
124
  // src/legacy-submissions.ts
129
125
  import * as z from "zod";
@@ -2,7 +2,7 @@ import {
2
2
  identifier,
3
3
  responseShape,
4
4
  xTweetSchema
5
- } from "./chunk-ID3BZXFZ.js";
5
+ } from "./chunk-HNR6G3GV.js";
6
6
 
7
7
  // src/x.ts
8
8
  import * as z from "zod";
@@ -1,12 +1,12 @@
1
- import {
2
- parseDefinition
3
- } from "./chunk-FO2LCZTL.js";
4
1
  import {
5
2
  identifier,
6
3
  limits,
7
4
  resourceHandle,
8
5
  responseShape
9
- } from "./chunk-ID3BZXFZ.js";
6
+ } from "./chunk-HNR6G3GV.js";
7
+ import {
8
+ parseDefinition
9
+ } from "./chunk-EOUEAOWJ.js";
10
10
 
11
11
  // src/server/analytics.ts
12
12
  import * as z from "zod";
@@ -664,6 +664,41 @@ function defineDashboard(input) {
664
664
  return resourceHandle("dashboard", authored);
665
665
  }
666
666
 
667
+ // src/youtube.ts
668
+ import * as z3 from "zod";
669
+ var youtubeShortBodySchema = /* @__PURE__ */ (() => z3.object({
670
+ title: z3.string(),
671
+ description: z3.string(),
672
+ tags: z3.array(z3.string()),
673
+ durationSeconds: z3.number().int().nonnegative(),
674
+ /** When the video was published, epoch milliseconds. */
675
+ publishedAt: z3.number().int().nonnegative()
676
+ }))();
677
+ var youtubeShortMetrics = ["views", "likes", "comments"];
678
+
679
+ // src/tiktok.ts
680
+ import * as z4 from "zod";
681
+ var tiktokVideoBodySchema = /* @__PURE__ */ (() => z4.object({
682
+ title: z4.string(),
683
+ /** The creator's caption, `video_description` in TikTok's API. */
684
+ description: z4.string(),
685
+ durationSeconds: z4.number().int().nonnegative(),
686
+ width: z4.number().int().nonnegative(),
687
+ height: z4.number().int().nonnegative(),
688
+ /** When the video was posted, epoch milliseconds. */
689
+ createdAt: z4.number().int().nonnegative(),
690
+ /** TikTok's shareable link to the video. */
691
+ shareUrl: z4.string(),
692
+ /** Whether the creator labelled the video as AI-generated content. */
693
+ isAigc: z4.boolean()
694
+ }))();
695
+ var tiktokVideoMetrics = [
696
+ "views",
697
+ "likes",
698
+ "comments",
699
+ "shares"
700
+ ];
701
+
667
702
  export {
668
703
  analyticsRanges,
669
704
  analyticsQuerySchema,
@@ -687,5 +722,9 @@ export {
687
722
  dashboardPanels,
688
723
  dashboardIssue,
689
724
  dashboardPreviewSchema,
690
- defineDashboard
725
+ defineDashboard,
726
+ youtubeShortBodySchema,
727
+ youtubeShortMetrics,
728
+ tiktokVideoBodySchema,
729
+ tiktokVideoMetrics
691
730
  };