@domino-sdk/relay 1.45.0 → 1.49.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.
- package/dist/{attempt-captures-p7JPb7Xi.d.ts → attempt-captures-DF--rIgJ.d.ts} +5 -1
- package/dist/authoring.d.ts +48 -10
- package/dist/authoring.js +7 -4
- package/dist/{automatic-outcomes-YkGhnxsc.d.ts → automatic-outcomes-C7f5-N0M.d.ts} +2 -1
- package/dist/browser.d.ts +6 -6
- package/dist/browser.js +10 -10
- package/dist/{chunk-ILH73K3H.js → chunk-3LK6JIBY.js} +1 -1
- package/dist/{chunk-TEPZZXDI.js → chunk-4Y5AYL3C.js} +10 -7
- package/dist/{chunk-TFQNNOFR.js → chunk-6ESBL7FU.js} +1 -1
- package/dist/{chunk-K3PLZ4CR.js → chunk-7OHIJVN5.js} +4 -4
- package/dist/{chunk-YBMCF54E.js → chunk-7WVTYMFA.js} +13 -9
- package/dist/{chunk-LXHO3LYB.js → chunk-C4DEBCSQ.js} +8 -8
- package/dist/{chunk-HO4FZJSH.js → chunk-CHURQQBP.js} +2 -2
- package/dist/{chunk-Q5PX3GDA.js → chunk-DP7FGRUW.js} +1 -1
- package/dist/{chunk-W5UBRNDT.js → chunk-GYXYZL5E.js} +1 -1
- package/dist/{chunk-ZTPILNSV.js → chunk-LFOBANCS.js} +2 -2
- package/dist/{chunk-J7YJHMF7.js → chunk-MMR6CZEJ.js} +1 -1
- package/dist/{chunk-UOHYYB7V.js → chunk-NAEVXBSF.js} +1 -1
- package/dist/{chunk-ZY4RI4DJ.js → chunk-O5WR2JT4.js} +1 -1
- package/dist/{chunk-WSOUOG6S.js → chunk-SGWAVIEP.js} +1 -1
- package/dist/{chunk-PMSCHJKX.js → chunk-VTD4YDEO.js} +45 -3
- package/dist/{chunk-NNGGEUMQ.js → chunk-W3SQLZRA.js} +1 -1
- package/dist/{client-CVG_MoXx.d.ts → client-C5sCO45H.d.ts} +37 -4
- package/dist/{deployments-BWav9s6t.d.ts → deployments-DLVhetCw.d.ts} +120 -5
- package/dist/{groups-CMZROR9a.d.ts → groups-DG7_3ipk.d.ts} +26 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +9 -9
- package/dist/internal.js +8 -8
- package/dist/{offers-Cvk4uBjo.d.ts → offers-yZTUWHSp.d.ts} +15 -2
- package/dist/{pages-BXZP4o-w.d.ts → pages-DLFRK5l7.d.ts} +30 -1
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +13 -8
- package/dist/react/index.js +10 -10
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/4O3MZT45.js +1 -0
- package/dist/runtime/manifest.json +3 -3
- package/dist/runtime/schema.js +1 -1
- package/dist/{schema-BgjSnV9D.d.ts → schema-6uU1s4if.d.ts} +116 -1
- package/dist/schema.d.ts +104 -12
- package/dist/schema.js +13 -7
- package/dist/server/index.d.ts +9 -9
- package/dist/server/index.js +33 -14
- package/dist/{submission-input-CD59rLYk.d.ts → submission-input-DtNMoL30.d.ts} +2 -2
- package/dist/{telegram-browser-bnRKW9KG.d.ts → telegram-browser-DE9d1M-g.d.ts} +1 -1
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +5 -5
- package/dist/{transport-DzRDaPXc.d.ts → transport-ud83MHKQ.d.ts} +640 -10
- package/dist/{x-B_7RCkOo.d.ts → x-B6mbKgoQ.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/runtime/chunks/DALOQGNI.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { q as ResourceHandle, G as GroupHandle } from './schema-
|
|
2
|
+
import { q as ResourceHandle, G as GroupHandle } from './schema-6uU1s4if.js';
|
|
3
3
|
|
|
4
4
|
declare const pointLedgerPropertiesSchema: z.ZodObject<{
|
|
5
5
|
name: z.ZodString;
|
|
@@ -631,6 +631,7 @@ declare const leaderboardPrizeRewardSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
631
631
|
kind: z.ZodLiteral<"tier">;
|
|
632
632
|
reward: z.ZodObject<{
|
|
633
633
|
badge: z.ZodOptional<z.ZodString>;
|
|
634
|
+
group: z.ZodOptional<z.ZodString>;
|
|
634
635
|
id: z.ZodString;
|
|
635
636
|
title: z.ZodString;
|
|
636
637
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -658,6 +659,7 @@ declare const leaderboardPrizeSchema: z.ZodObject<{
|
|
|
658
659
|
kind: z.ZodLiteral<"tier">;
|
|
659
660
|
reward: z.ZodObject<{
|
|
660
661
|
badge: z.ZodOptional<z.ZodString>;
|
|
662
|
+
group: z.ZodOptional<z.ZodString>;
|
|
661
663
|
id: z.ZodString;
|
|
662
664
|
title: z.ZodString;
|
|
663
665
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -692,6 +694,7 @@ declare const leaderboardSettlementPolicySchema: z.ZodObject<{
|
|
|
692
694
|
kind: z.ZodLiteral<"tier">;
|
|
693
695
|
reward: z.ZodObject<{
|
|
694
696
|
badge: z.ZodOptional<z.ZodString>;
|
|
697
|
+
group: z.ZodOptional<z.ZodString>;
|
|
695
698
|
id: z.ZodString;
|
|
696
699
|
title: z.ZodString;
|
|
697
700
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -781,6 +784,7 @@ declare const leaderboardDefinitionSchema: z.ZodObject<{
|
|
|
781
784
|
kind: z.ZodLiteral<"tier">;
|
|
782
785
|
reward: z.ZodObject<{
|
|
783
786
|
badge: z.ZodOptional<z.ZodString>;
|
|
787
|
+
group: z.ZodOptional<z.ZodString>;
|
|
784
788
|
id: z.ZodString;
|
|
785
789
|
title: z.ZodString;
|
|
786
790
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -871,6 +875,7 @@ declare const leaderboardDefinitionResponseSchema: z.ZodObject<{
|
|
|
871
875
|
kind: z.ZodLiteral<"tier">;
|
|
872
876
|
reward: z.ZodObject<{
|
|
873
877
|
badge: z.ZodOptional<z.ZodString>;
|
|
878
|
+
group: z.ZodOptional<z.ZodString>;
|
|
874
879
|
id: z.ZodString;
|
|
875
880
|
title: z.ZodString;
|
|
876
881
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -916,6 +921,7 @@ declare const leaderboardAuthoringSchema: z.ZodObject<{
|
|
|
916
921
|
kind: z.ZodLiteral<"tier">;
|
|
917
922
|
reward: z.ZodObject<{
|
|
918
923
|
badge: z.ZodOptional<z.ZodString>;
|
|
924
|
+
group: z.ZodOptional<z.ZodString>;
|
|
919
925
|
id: z.ZodString;
|
|
920
926
|
title: z.ZodString;
|
|
921
927
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1004,6 +1010,7 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1004
1010
|
kind: z.ZodLiteral<"tier">;
|
|
1005
1011
|
reward: z.ZodObject<{
|
|
1006
1012
|
badge: z.ZodOptional<z.ZodString>;
|
|
1013
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1007
1014
|
id: z.ZodString;
|
|
1008
1015
|
title: z.ZodString;
|
|
1009
1016
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1142,6 +1149,7 @@ declare const publishedLeaderboardSchema: z.ZodObject<{
|
|
|
1142
1149
|
kind: z.ZodLiteral<"tier">;
|
|
1143
1150
|
reward: z.ZodObject<{
|
|
1144
1151
|
badge: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1145
1153
|
id: z.ZodString;
|
|
1146
1154
|
title: z.ZodString;
|
|
1147
1155
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1419,6 +1427,7 @@ declare const leaderboardPreviewSchema: z.ZodObject<{
|
|
|
1419
1427
|
kind: z.ZodLiteral<"tier">;
|
|
1420
1428
|
reward: z.ZodObject<{
|
|
1421
1429
|
badge: z.ZodOptional<z.ZodString>;
|
|
1430
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1422
1431
|
id: z.ZodString;
|
|
1423
1432
|
title: z.ZodString;
|
|
1424
1433
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1884,6 +1893,7 @@ declare const leaderboardSettlementSchema: z.ZodObject<{
|
|
|
1884
1893
|
kind: z.ZodLiteral<"tier">;
|
|
1885
1894
|
reward: z.ZodObject<{
|
|
1886
1895
|
badge: z.ZodOptional<z.ZodString>;
|
|
1896
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1887
1897
|
id: z.ZodString;
|
|
1888
1898
|
title: z.ZodString;
|
|
1889
1899
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1943,6 +1953,7 @@ declare const referralDefinitionSchema: z.ZodObject<{
|
|
|
1943
1953
|
kind: z.ZodLiteral<"tier">;
|
|
1944
1954
|
reward: z.ZodObject<{
|
|
1945
1955
|
badge: z.ZodOptional<z.ZodString>;
|
|
1956
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1946
1957
|
id: z.ZodString;
|
|
1947
1958
|
title: z.ZodString;
|
|
1948
1959
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1968,6 +1979,7 @@ declare const referralDefinitionSchema: z.ZodObject<{
|
|
|
1968
1979
|
kind: z.ZodLiteral<"tier">;
|
|
1969
1980
|
reward: z.ZodObject<{
|
|
1970
1981
|
badge: z.ZodOptional<z.ZodString>;
|
|
1982
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1971
1983
|
id: z.ZodString;
|
|
1972
1984
|
title: z.ZodString;
|
|
1973
1985
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1997,6 +2009,7 @@ declare const referralDefinitionSchema: z.ZodObject<{
|
|
|
1997
2009
|
kind: z.ZodLiteral<"tier">;
|
|
1998
2010
|
reward: z.ZodObject<{
|
|
1999
2011
|
badge: z.ZodOptional<z.ZodString>;
|
|
2012
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2000
2013
|
id: z.ZodString;
|
|
2001
2014
|
title: z.ZodString;
|
|
2002
2015
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2037,6 +2050,7 @@ declare const referralAuthoringSchema: z.ZodObject<{
|
|
|
2037
2050
|
kind: z.ZodLiteral<"tier">;
|
|
2038
2051
|
reward: z.ZodObject<{
|
|
2039
2052
|
badge: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2040
2054
|
id: z.ZodString;
|
|
2041
2055
|
title: z.ZodString;
|
|
2042
2056
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2062,6 +2076,7 @@ declare const referralAuthoringSchema: z.ZodObject<{
|
|
|
2062
2076
|
kind: z.ZodLiteral<"tier">;
|
|
2063
2077
|
reward: z.ZodObject<{
|
|
2064
2078
|
badge: z.ZodOptional<z.ZodString>;
|
|
2079
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2065
2080
|
id: z.ZodString;
|
|
2066
2081
|
title: z.ZodString;
|
|
2067
2082
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2099,6 +2114,7 @@ declare const referralAuthoringSchema: z.ZodObject<{
|
|
|
2099
2114
|
kind: z.ZodLiteral<"tier">;
|
|
2100
2115
|
reward: z.ZodObject<{
|
|
2101
2116
|
badge: z.ZodOptional<z.ZodString>;
|
|
2117
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2102
2118
|
id: z.ZodString;
|
|
2103
2119
|
title: z.ZodString;
|
|
2104
2120
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2141,6 +2157,7 @@ declare const referralArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2141
2157
|
kind: z.ZodLiteral<"tier">;
|
|
2142
2158
|
reward: z.ZodObject<{
|
|
2143
2159
|
badge: z.ZodOptional<z.ZodString>;
|
|
2160
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2144
2161
|
id: z.ZodString;
|
|
2145
2162
|
title: z.ZodString;
|
|
2146
2163
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2166,6 +2183,7 @@ declare const referralArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2166
2183
|
kind: z.ZodLiteral<"tier">;
|
|
2167
2184
|
reward: z.ZodObject<{
|
|
2168
2185
|
badge: z.ZodOptional<z.ZodString>;
|
|
2186
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2169
2187
|
id: z.ZodString;
|
|
2170
2188
|
title: z.ZodString;
|
|
2171
2189
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2203,6 +2221,7 @@ declare const referralArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2203
2221
|
kind: z.ZodLiteral<"tier">;
|
|
2204
2222
|
reward: z.ZodObject<{
|
|
2205
2223
|
badge: z.ZodOptional<z.ZodString>;
|
|
2224
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2206
2225
|
id: z.ZodString;
|
|
2207
2226
|
title: z.ZodString;
|
|
2208
2227
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2262,6 +2281,7 @@ declare const publishedReferralSchema: z.ZodObject<{
|
|
|
2262
2281
|
kind: z.ZodLiteral<"tier">;
|
|
2263
2282
|
reward: z.ZodObject<{
|
|
2264
2283
|
badge: z.ZodOptional<z.ZodString>;
|
|
2284
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2265
2285
|
id: z.ZodString;
|
|
2266
2286
|
title: z.ZodString;
|
|
2267
2287
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2287,6 +2307,7 @@ declare const publishedReferralSchema: z.ZodObject<{
|
|
|
2287
2307
|
kind: z.ZodLiteral<"tier">;
|
|
2288
2308
|
reward: z.ZodObject<{
|
|
2289
2309
|
badge: z.ZodOptional<z.ZodString>;
|
|
2310
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2290
2311
|
id: z.ZodString;
|
|
2291
2312
|
title: z.ZodString;
|
|
2292
2313
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2316,6 +2337,7 @@ declare const publishedReferralSchema: z.ZodObject<{
|
|
|
2316
2337
|
kind: z.ZodLiteral<"tier">;
|
|
2317
2338
|
reward: z.ZodObject<{
|
|
2318
2339
|
badge: z.ZodOptional<z.ZodString>;
|
|
2340
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2319
2341
|
id: z.ZodString;
|
|
2320
2342
|
title: z.ZodString;
|
|
2321
2343
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2437,6 +2459,7 @@ declare const referralSummarySchema: z.ZodObject<{
|
|
|
2437
2459
|
kind: z.ZodLiteral<"tier">;
|
|
2438
2460
|
reward: z.ZodObject<{
|
|
2439
2461
|
badge: z.ZodOptional<z.ZodString>;
|
|
2462
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2440
2463
|
id: z.ZodString;
|
|
2441
2464
|
title: z.ZodString;
|
|
2442
2465
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2462,6 +2485,7 @@ declare const referralSummarySchema: z.ZodObject<{
|
|
|
2462
2485
|
kind: z.ZodLiteral<"tier">;
|
|
2463
2486
|
reward: z.ZodObject<{
|
|
2464
2487
|
badge: z.ZodOptional<z.ZodString>;
|
|
2488
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2465
2489
|
id: z.ZodString;
|
|
2466
2490
|
title: z.ZodString;
|
|
2467
2491
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2491,6 +2515,7 @@ declare const referralSummarySchema: z.ZodObject<{
|
|
|
2491
2515
|
kind: z.ZodLiteral<"tier">;
|
|
2492
2516
|
reward: z.ZodObject<{
|
|
2493
2517
|
badge: z.ZodOptional<z.ZodString>;
|
|
2518
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2494
2519
|
id: z.ZodString;
|
|
2495
2520
|
title: z.ZodString;
|
|
2496
2521
|
tiers: z.ZodArray<z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption } from './offers-
|
|
1
|
+
export { B as Badge, M as ManagedBadge, a as MemberBadge, b as MemberBadges, O as Offer, c as OfferDefinition, d as OfferPrice, R as RedeemOfferInput, e as Redemption } from './offers-yZTUWHSp.js';
|
|
2
2
|
export { R as RelayAction, a as RequestError, b as RequestErrorDetails, c as RequestErrorKind, d as RequestRecovery, e as createRelayAction, i as isRequestError } from './action-DBzILFx9.js';
|
|
3
|
-
export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-
|
|
4
|
-
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-
|
|
3
|
+
export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-C5sCO45H.js';
|
|
4
|
+
export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-6uU1s4if.js';
|
|
5
5
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
6
|
-
export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-
|
|
6
|
+
export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-DLFRK5l7.js';
|
|
7
7
|
export { A as AccountConnection, a as AuthProvider, T as TelegramAccountConnection, b as TelegramSignInMethods } from './accounts-DRPENuZe.js';
|
|
8
8
|
export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, s as sessionMember } from './participant-activity-iciCEs_8.js';
|
|
9
|
-
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardHistoryPage, f as LeaderboardHistoryQuery, g as LeaderboardPage, h as LeaderboardPlacement, i as LeaderboardQuery, M as MemberCampaignEnrollmentInput, j as MemberCampaignWithdrawalInput, P as PointBalance, k as PointBalances, l as PointEntry, m as PointEntryKind, n as PointHistoryPage, o as PointHistoryQuery, p as PointLedgerReference, q as ProjectGroup, r as ProjectGroupReference, R as ReferralDefinition } from './groups-
|
|
10
|
-
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-
|
|
11
|
-
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-
|
|
9
|
+
export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardHistoryPage, f as LeaderboardHistoryQuery, g as LeaderboardPage, h as LeaderboardPlacement, i as LeaderboardQuery, M as MemberCampaignEnrollmentInput, j as MemberCampaignWithdrawalInput, P as PointBalance, k as PointBalances, l as PointEntry, m as PointEntryKind, n as PointHistoryPage, o as PointHistoryQuery, p as PointLedgerReference, q as ProjectGroup, r as ProjectGroupReference, R as ReferralDefinition } from './groups-DG7_3ipk.js';
|
|
10
|
+
export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-C7f5-N0M.js';
|
|
11
|
+
export { M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, a as TextOptions, U as UrlEvidence, b as UrlOptions, V as ValueEvidence } from './submission-input-DtNMoL30.js';
|
|
12
12
|
export { A as AvatarProvider, O as OwnProfile, P as ProfileAvatar, a as ProfileCompletion, b as ProfileCompletionPage, c as ProfileCompletionQuery, d as ProfileReferral, e as ProfileSummary, f as ProfileUpdate, g as ProfileVisibility } from './profiles-Cdv4BSd_.js';
|
|
13
13
|
export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
|
|
14
14
|
export { C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, W as WalletAddressInput, b as WalletChain, c as WalletMessageChallenge, d as WalletSignInNetwork, e as WalletSignature, f as WalletSigner, g as WalletUnlinkInput } from './wallet-Ac7OFpOr.js';
|
package/dist/index.js
CHANGED
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-C4DEBCSQ.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NAEVXBSF.js";
|
|
12
12
|
import {
|
|
13
13
|
QuestOutcomeState
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4Y5AYL3C.js";
|
|
15
15
|
import {
|
|
16
16
|
PointEntryKind
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-SGWAVIEP.js";
|
|
18
|
+
import "./chunk-MMR6CZEJ.js";
|
|
19
|
+
import "./chunk-W3SQLZRA.js";
|
|
20
|
+
import "./chunk-6ESBL7FU.js";
|
|
21
21
|
import {
|
|
22
22
|
sessionMember
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DP7FGRUW.js";
|
|
24
24
|
import {
|
|
25
25
|
AttemptStatus,
|
|
26
26
|
RelayError,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
isRelayError,
|
|
30
30
|
isRequestError,
|
|
31
31
|
paginate
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VTD4YDEO.js";
|
|
33
33
|
export {
|
|
34
34
|
AttemptStatus,
|
|
35
35
|
PointEntryKind,
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-
|
|
2
|
-
export { E as Extracted } from './x-
|
|
1
|
+
export { I as IdentityKindClaim, M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as identityIntegrationInputSchema, a as identityIntegrationSchema, b as identityIntegrationSecretSchema, d as identityKindClaimSchema, e as isIntegrationParticipantPath, f as isParticipantRoute, m as managementTransport, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, n as sourceRoles, v as validateQuestShape } from './transport-ud83MHKQ.js';
|
|
2
|
+
export { E as Extracted } from './x-B6mbKgoQ.js';
|
|
3
3
|
import { c as RequestErrorKind } from './action-DBzILFx9.js';
|
|
4
|
-
export { i as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, j as trackerDataIssue, k as trackerDataIssues, l as trackerDataPathTypes, m as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-
|
|
4
|
+
export { i as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, j as trackerDataIssue, k as trackerDataIssues, l as trackerDataPathTypes, m as trackerDataRecordSteps, w as whereSchemaIssue } from './schema-6uU1s4if.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './pages-
|
|
7
|
-
import './offers-
|
|
8
|
-
import './groups-
|
|
6
|
+
import './pages-DLFRK5l7.js';
|
|
7
|
+
import './offers-yZTUWHSp.js';
|
|
8
|
+
import './groups-DG7_3ipk.js';
|
|
9
9
|
import './profiles-Cdv4BSd_.js';
|
|
10
|
-
import './automatic-outcomes-
|
|
11
|
-
import './attempt-captures-
|
|
12
|
-
import './deployments-
|
|
10
|
+
import './automatic-outcomes-C7f5-N0M.js';
|
|
11
|
+
import './attempt-captures-DF--rIgJ.js';
|
|
12
|
+
import './deployments-DLVhetCw.js';
|
|
13
13
|
|
|
14
14
|
/** The management client's and the CLI's default deadline per call. */
|
|
15
15
|
declare const MANAGEMENT_TIMEOUT = 30000;
|
package/dist/internal.js
CHANGED
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
participantExchangeSchema,
|
|
10
10
|
questConfiguration,
|
|
11
11
|
sequenceCursorSchema
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7OHIJVN5.js";
|
|
13
13
|
import {
|
|
14
14
|
parseImageExtraction,
|
|
15
15
|
parseImageResult
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-CHURQQBP.js";
|
|
17
|
+
import "./chunk-3LK6JIBY.js";
|
|
18
18
|
import {
|
|
19
19
|
sourceDataSchema,
|
|
20
20
|
sourceRoles,
|
|
21
21
|
validateQuestShape
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-O5WR2JT4.js";
|
|
23
23
|
import {
|
|
24
24
|
isIntegrationParticipantPath,
|
|
25
25
|
isParticipantRoute,
|
|
@@ -31,9 +31,9 @@ import {
|
|
|
31
31
|
lifetime,
|
|
32
32
|
retryAfter,
|
|
33
33
|
retrying
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-W3SQLZRA.js";
|
|
35
|
+
import "./chunk-6ESBL7FU.js";
|
|
36
|
+
import "./chunk-DP7FGRUW.js";
|
|
37
37
|
import {
|
|
38
38
|
schemaCheckedReader,
|
|
39
39
|
trackerDataBatchSteps,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
trackerDataPathTypes,
|
|
43
43
|
trackerDataRecordSteps,
|
|
44
44
|
whereSchemaIssue
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VTD4YDEO.js";
|
|
46
46
|
export {
|
|
47
47
|
MANAGEMENT_TIMEOUT,
|
|
48
48
|
REFERRAL_INTEGRATION_REWARD_ERROR,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { q as ResourceHandle } from './schema-
|
|
3
|
-
import { t as AuthoringIdentity } from './groups-
|
|
2
|
+
import { q as ResourceHandle } from './schema-6uU1s4if.js';
|
|
3
|
+
import { t as AuthoringIdentity } from './groups-DG7_3ipk.js';
|
|
4
4
|
|
|
5
5
|
declare const badgePropertiesSchema: z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
|
@@ -102,6 +102,7 @@ declare const offerDefinitionSchema: z.ZodObject<{
|
|
|
102
102
|
kind: z.ZodLiteral<"tier">;
|
|
103
103
|
reward: z.ZodObject<{
|
|
104
104
|
badge: z.ZodOptional<z.ZodString>;
|
|
105
|
+
group: z.ZodOptional<z.ZodString>;
|
|
105
106
|
id: z.ZodString;
|
|
106
107
|
title: z.ZodString;
|
|
107
108
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -134,6 +135,7 @@ declare const offerAuthoringSchema: z.ZodPipe<z.ZodObject<{
|
|
|
134
135
|
kind: z.ZodLiteral<"tier">;
|
|
135
136
|
reward: z.ZodObject<{
|
|
136
137
|
badge: z.ZodOptional<z.ZodString>;
|
|
138
|
+
group: z.ZodOptional<z.ZodString>;
|
|
137
139
|
id: z.ZodString;
|
|
138
140
|
title: z.ZodString;
|
|
139
141
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -183,6 +185,7 @@ declare const offerAuthoringSchema: z.ZodPipe<z.ZodObject<{
|
|
|
183
185
|
kind: "automatic";
|
|
184
186
|
};
|
|
185
187
|
badge?: string | undefined;
|
|
188
|
+
group?: string | undefined;
|
|
186
189
|
};
|
|
187
190
|
tier: string;
|
|
188
191
|
};
|
|
@@ -215,6 +218,7 @@ declare const offerAuthoringSchema: z.ZodPipe<z.ZodObject<{
|
|
|
215
218
|
kind: "automatic";
|
|
216
219
|
};
|
|
217
220
|
badge?: string | undefined;
|
|
221
|
+
group?: string | undefined;
|
|
218
222
|
};
|
|
219
223
|
tier: string;
|
|
220
224
|
};
|
|
@@ -236,6 +240,7 @@ declare const offerArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
236
240
|
kind: z.ZodLiteral<"tier">;
|
|
237
241
|
reward: z.ZodObject<{
|
|
238
242
|
badge: z.ZodOptional<z.ZodString>;
|
|
243
|
+
group: z.ZodOptional<z.ZodString>;
|
|
239
244
|
id: z.ZodString;
|
|
240
245
|
title: z.ZodString;
|
|
241
246
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -285,6 +290,7 @@ declare const offerArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
285
290
|
kind: "automatic";
|
|
286
291
|
};
|
|
287
292
|
badge?: string | undefined;
|
|
293
|
+
group?: string | undefined;
|
|
288
294
|
};
|
|
289
295
|
tier: string;
|
|
290
296
|
};
|
|
@@ -317,6 +323,7 @@ declare const offerArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
|
|
|
317
323
|
kind: "automatic";
|
|
318
324
|
};
|
|
319
325
|
badge?: string | undefined;
|
|
326
|
+
group?: string | undefined;
|
|
320
327
|
};
|
|
321
328
|
tier: string;
|
|
322
329
|
};
|
|
@@ -354,6 +361,7 @@ declare const offerSchema: z.ZodObject<{
|
|
|
354
361
|
kind: z.ZodLiteral<"tier">;
|
|
355
362
|
reward: z.ZodObject<{
|
|
356
363
|
badge: z.ZodOptional<z.ZodString>;
|
|
364
|
+
group: z.ZodOptional<z.ZodString>;
|
|
357
365
|
id: z.ZodString;
|
|
358
366
|
title: z.ZodString;
|
|
359
367
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -411,6 +419,7 @@ declare const redemptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
411
419
|
kind: z.ZodLiteral<"tier">;
|
|
412
420
|
reward: z.ZodObject<{
|
|
413
421
|
badge: z.ZodOptional<z.ZodString>;
|
|
422
|
+
group: z.ZodOptional<z.ZodString>;
|
|
414
423
|
id: z.ZodString;
|
|
415
424
|
title: z.ZodString;
|
|
416
425
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -448,6 +457,7 @@ declare const redemptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
448
457
|
kind: z.ZodLiteral<"tier">;
|
|
449
458
|
reward: z.ZodObject<{
|
|
450
459
|
badge: z.ZodOptional<z.ZodString>;
|
|
460
|
+
group: z.ZodOptional<z.ZodString>;
|
|
451
461
|
id: z.ZodString;
|
|
452
462
|
title: z.ZodString;
|
|
453
463
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -497,6 +507,7 @@ declare const redemptionPageSchema: z.ZodObject<{
|
|
|
497
507
|
kind: z.ZodLiteral<"tier">;
|
|
498
508
|
reward: z.ZodObject<{
|
|
499
509
|
badge: z.ZodOptional<z.ZodString>;
|
|
510
|
+
group: z.ZodOptional<z.ZodString>;
|
|
500
511
|
id: z.ZodString;
|
|
501
512
|
title: z.ZodString;
|
|
502
513
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -534,6 +545,7 @@ declare const redemptionPageSchema: z.ZodObject<{
|
|
|
534
545
|
kind: z.ZodLiteral<"tier">;
|
|
535
546
|
reward: z.ZodObject<{
|
|
536
547
|
badge: z.ZodOptional<z.ZodString>;
|
|
548
|
+
group: z.ZodOptional<z.ZodString>;
|
|
537
549
|
id: z.ZodString;
|
|
538
550
|
title: z.ZodString;
|
|
539
551
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -595,6 +607,7 @@ declare function defineOffer(input: OfferAuthoring & AuthoringIdentity): {
|
|
|
595
607
|
kind: "automatic";
|
|
596
608
|
};
|
|
597
609
|
badge?: string | undefined;
|
|
610
|
+
group?: string | undefined;
|
|
598
611
|
};
|
|
599
612
|
tier: string;
|
|
600
613
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { a as AttemptStatus,
|
|
2
|
+
import { a as AttemptStatus, b$ as questDescriptionSchema, h as TrackerSkipCode } from './schema-6uU1s4if.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The delivery actions this SDK knows. `RewardDelivery.action` is an open string: Relay can add
|
|
@@ -369,6 +369,7 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
369
369
|
kind: z.ZodLiteral<"tier">;
|
|
370
370
|
reward: z.ZodObject<{
|
|
371
371
|
badge: z.ZodOptional<z.ZodString>;
|
|
372
|
+
group: z.ZodOptional<z.ZodString>;
|
|
372
373
|
id: z.ZodString;
|
|
373
374
|
title: z.ZodString;
|
|
374
375
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1115,6 +1116,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1115
1116
|
kind: z.ZodLiteral<"tier">;
|
|
1116
1117
|
reward: z.ZodObject<{
|
|
1117
1118
|
badge: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1118
1120
|
id: z.ZodString;
|
|
1119
1121
|
title: z.ZodString;
|
|
1120
1122
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -1749,6 +1751,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1749
1751
|
kind: z.ZodLiteral<"tier">;
|
|
1750
1752
|
reward: z.ZodObject<{
|
|
1751
1753
|
badge: z.ZodOptional<z.ZodString>;
|
|
1754
|
+
group: z.ZodOptional<z.ZodString>;
|
|
1752
1755
|
id: z.ZodString;
|
|
1753
1756
|
title: z.ZodString;
|
|
1754
1757
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2265,6 +2268,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
2265
2268
|
kind: z.ZodLiteral<"tier">;
|
|
2266
2269
|
reward: z.ZodObject<{
|
|
2267
2270
|
badge: z.ZodOptional<z.ZodString>;
|
|
2271
|
+
group: z.ZodOptional<z.ZodString>;
|
|
2268
2272
|
id: z.ZodString;
|
|
2269
2273
|
title: z.ZodString;
|
|
2270
2274
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -2634,6 +2638,10 @@ declare const questRewardViewSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2634
2638
|
id: z.ZodString;
|
|
2635
2639
|
key: z.ZodNullable<z.ZodString>;
|
|
2636
2640
|
}, z.core.$strip>>;
|
|
2641
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
2642
|
+
key: z.ZodString;
|
|
2643
|
+
title: z.ZodString;
|
|
2644
|
+
}, z.core.$strip>>;
|
|
2637
2645
|
}, z.core.$strip>;
|
|
2638
2646
|
tier: z.ZodString;
|
|
2639
2647
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3067,6 +3075,7 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
3067
3075
|
kind: z.ZodLiteral<"tier">;
|
|
3068
3076
|
reward: z.ZodObject<{
|
|
3069
3077
|
badge: z.ZodOptional<z.ZodString>;
|
|
3078
|
+
group: z.ZodOptional<z.ZodString>;
|
|
3070
3079
|
id: z.ZodString;
|
|
3071
3080
|
title: z.ZodString;
|
|
3072
3081
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -3140,6 +3149,10 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
3140
3149
|
id: z.ZodString;
|
|
3141
3150
|
key: z.ZodNullable<z.ZodString>;
|
|
3142
3151
|
}, z.core.$strip>>;
|
|
3152
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
3153
|
+
key: z.ZodString;
|
|
3154
|
+
title: z.ZodString;
|
|
3155
|
+
}, z.core.$strip>>;
|
|
3143
3156
|
}, z.core.$strip>;
|
|
3144
3157
|
tier: z.ZodString;
|
|
3145
3158
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3581,6 +3594,7 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
3581
3594
|
kind: z.ZodLiteral<"tier">;
|
|
3582
3595
|
reward: z.ZodObject<{
|
|
3583
3596
|
badge: z.ZodOptional<z.ZodString>;
|
|
3597
|
+
group: z.ZodOptional<z.ZodString>;
|
|
3584
3598
|
id: z.ZodString;
|
|
3585
3599
|
title: z.ZodString;
|
|
3586
3600
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -3654,6 +3668,10 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
3654
3668
|
id: z.ZodString;
|
|
3655
3669
|
key: z.ZodNullable<z.ZodString>;
|
|
3656
3670
|
}, z.core.$strip>>;
|
|
3671
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
3672
|
+
key: z.ZodString;
|
|
3673
|
+
title: z.ZodString;
|
|
3674
|
+
}, z.core.$strip>>;
|
|
3657
3675
|
}, z.core.$strip>;
|
|
3658
3676
|
tier: z.ZodString;
|
|
3659
3677
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4269,6 +4287,7 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
4269
4287
|
kind: z.ZodLiteral<"tier">;
|
|
4270
4288
|
reward: z.ZodObject<{
|
|
4271
4289
|
badge: z.ZodOptional<z.ZodString>;
|
|
4290
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4272
4291
|
id: z.ZodString;
|
|
4273
4292
|
title: z.ZodString;
|
|
4274
4293
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -4342,6 +4361,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
4342
4361
|
id: z.ZodString;
|
|
4343
4362
|
key: z.ZodNullable<z.ZodString>;
|
|
4344
4363
|
}, z.core.$strip>>;
|
|
4364
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
4365
|
+
key: z.ZodString;
|
|
4366
|
+
title: z.ZodString;
|
|
4367
|
+
}, z.core.$strip>>;
|
|
4345
4368
|
}, z.core.$strip>;
|
|
4346
4369
|
tier: z.ZodString;
|
|
4347
4370
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4783,6 +4806,7 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
4783
4806
|
kind: z.ZodLiteral<"tier">;
|
|
4784
4807
|
reward: z.ZodObject<{
|
|
4785
4808
|
badge: z.ZodOptional<z.ZodString>;
|
|
4809
|
+
group: z.ZodOptional<z.ZodString>;
|
|
4786
4810
|
id: z.ZodString;
|
|
4787
4811
|
title: z.ZodString;
|
|
4788
4812
|
tiers: z.ZodArray<z.ZodObject<{
|
|
@@ -4856,6 +4880,10 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
4856
4880
|
id: z.ZodString;
|
|
4857
4881
|
key: z.ZodNullable<z.ZodString>;
|
|
4858
4882
|
}, z.core.$strip>>;
|
|
4883
|
+
group: z.ZodOptional<z.ZodObject<{
|
|
4884
|
+
key: z.ZodString;
|
|
4885
|
+
title: z.ZodString;
|
|
4886
|
+
}, z.core.$strip>>;
|
|
4859
4887
|
}, z.core.$strip>;
|
|
4860
4888
|
tier: z.ZodString;
|
|
4861
4889
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -5195,6 +5223,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
5195
5223
|
kind: z.ZodLiteral<"tier">;
|
|
5196
5224
|
reward: z.ZodObject<{
|
|
5197
5225
|
badge: z.ZodOptional<z.ZodString>;
|
|
5226
|
+
group: z.ZodOptional<z.ZodString>;
|
|
5198
5227
|
id: z.ZodString;
|
|
5199
5228
|
title: z.ZodString;
|
|
5200
5229
|
tiers: z.ZodArray<z.ZodObject<{
|
package/dist/portal-proxy.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk-MLIXJPKL.js";
|
|
4
4
|
import {
|
|
5
5
|
clientIdentity
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6ESBL7FU.js";
|
|
7
7
|
import {
|
|
8
8
|
exchangeResultSchema
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-DP7FGRUW.js";
|
|
10
|
+
import "./chunk-VTD4YDEO.js";
|
|
11
11
|
|
|
12
12
|
// src/portal-proxy.ts
|
|
13
13
|
var statusCode = (status) => ({
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-
|
|
1
|
+
import { B as Badge, b as MemberBadges, O as Offer, e as Redemption } from '../offers-yZTUWHSp.js';
|
|
2
2
|
import { b as ParticipantSession, R as RelayEvent, P as ParticipantActivity, M as MemberSummary } from '../participant-activity-iciCEs_8.js';
|
|
3
|
-
import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-
|
|
4
|
-
import { P as Page, D as collectionViewSchema, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-
|
|
3
|
+
import { g as RelayError, R as RelayClient, m as SubmissionDraft } from '../client-C5sCO45H.js';
|
|
4
|
+
import { P as Page, D as collectionViewSchema, j as QuestView, g as QuestOutcomeQuery, e as QuestOutcome } from '../pages-DLFRK5l7.js';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import { ReactNode } from 'react';
|
|
7
7
|
import { J as JSONType } from '../util.d-w9f9t3ua.js';
|
|
8
8
|
import { z } from 'zod';
|
|
9
|
-
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema-
|
|
9
|
+
import { E as Entitlement, a as AttemptStatus, T as TieredRewardReference } from '../schema-6uU1s4if.js';
|
|
10
10
|
import { a as AuthProvider, A as AccountConnection } from '../accounts-DRPENuZe.js';
|
|
11
11
|
export { T as TelegramAccountConnection, b as TelegramSignInMethods } from '../accounts-DRPENuZe.js';
|
|
12
|
-
import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-
|
|
13
|
-
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-
|
|
12
|
+
import { c as SignInMethods, C as CosmosChains, d as SignInOption, f as SignInUnavailable, T as TelegramSignInOption, g as SignInWallet, D as DiscoveredWallet } from '../telegram-browser-DE9d1M-g.js';
|
|
13
|
+
export { a as EmailSignInOption, O as OAuthSignInOption, b as SignInIcon, W as WalletSignInOption, t as telegramMiniAppInitData } from '../telegram-browser-DE9d1M-g.js';
|
|
14
14
|
import { f as WalletSigner, d as WalletSignInNetwork, L as LinkedWallet } from '../wallet-Ac7OFpOr.js';
|
|
15
|
-
import { h as LeaderboardPlacement, be as referralSummarySchema, g as LeaderboardPage, l as PointEntry, k as PointBalances, p as PointLedgerReference } from '../groups-
|
|
15
|
+
import { h as LeaderboardPlacement, be as referralSummarySchema, g as LeaderboardPage, l as PointEntry, k as PointBalances, p as PointLedgerReference } from '../groups-DG7_3ipk.js';
|
|
16
16
|
import { f as ProfileUpdate, e as ProfileSummary, a as ProfileCompletion, d as ProfileReferral } from '../profiles-Cdv4BSd_.js';
|
|
17
|
-
import '../submission-input-
|
|
17
|
+
import '../submission-input-DtNMoL30.js';
|
|
18
18
|
import '../action-DBzILFx9.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -1100,6 +1100,7 @@ declare function useQuest(observed: QuestView): {
|
|
|
1100
1100
|
kind: "automatic";
|
|
1101
1101
|
};
|
|
1102
1102
|
badge?: string | undefined;
|
|
1103
|
+
group?: string | undefined;
|
|
1103
1104
|
};
|
|
1104
1105
|
tier: string;
|
|
1105
1106
|
} | {
|
|
@@ -1164,6 +1165,10 @@ declare function useQuest(observed: QuestView): {
|
|
|
1164
1165
|
id: string;
|
|
1165
1166
|
key: string | null;
|
|
1166
1167
|
} | undefined;
|
|
1168
|
+
group?: {
|
|
1169
|
+
key: string;
|
|
1170
|
+
title: string;
|
|
1171
|
+
} | undefined;
|
|
1167
1172
|
};
|
|
1168
1173
|
tier: string;
|
|
1169
1174
|
} | {
|