@domino-sdk/relay 1.9.0 → 1.10.1
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/{activity-CCe1e_7a.d.ts → activity-C0O3g7VJ.d.ts} +115 -115
- package/dist/authoring.d.ts +49 -49
- package/dist/authoring.js +3 -3
- package/dist/{automatic-outcomes-Dyk0VTUs.d.ts → automatic-outcomes-kPIDv6X_.d.ts} +1 -1
- package/dist/avatar.d.ts +2 -2
- package/dist/browser.d.ts +8 -8
- package/dist/browser.js +8 -7
- package/dist/{capability-error-Bv996M-h.d.ts → capability-error-ty3SqD_b.d.ts} +1 -1
- package/dist/chunk-2M3HLQFP.js +13 -0
- package/dist/{chunk-KGJSKGKI.js → chunk-5WK4EB5I.js} +1120 -910
- package/dist/{chunk-5ECM6AWV.js → chunk-A2KXEGGD.js} +3 -3
- package/dist/{chunk-L3QFIRGO.js → chunk-FH7ZFHDB.js} +2 -2
- package/dist/{chunk-FWSSMSIA.js → chunk-MDN5EJY2.js} +37 -8
- package/dist/{chunk-2V74CHDL.js → chunk-MJMFGTVV.js} +52 -37
- package/dist/{chunk-2N464DDE.js → chunk-NM2ZAWTF.js} +48 -37
- package/dist/{chunk-ETPL6AAJ.js → chunk-PFKV2M4B.js} +1 -1
- package/dist/{chunk-6ON4RMEN.js → chunk-PRLGLZM4.js} +1 -1
- package/dist/{chunk-JW4G3SY5.js → chunk-S4IHOJEP.js} +60 -47
- package/dist/{chunk-23QJ7WH4.js → chunk-WZJQ7XAT.js} +1 -1
- package/dist/{chunk-734LYHWP.js → chunk-XMZNIFXH.js} +232 -7
- package/dist/{client-CbASImpi.d.ts → client-Yq11HA_f.d.ts} +26 -11
- package/dist/{groups-Dvmd4CYk.d.ts → groups-BK8ts2yK.d.ts} +94 -6
- package/dist/{images-Dekv3DYF.d.ts → images-aw6W7vFZ.d.ts} +2 -2
- package/dist/index.d.ts +9 -9
- package/dist/index.js +7 -6
- package/dist/internal.d.ts +3 -3
- package/dist/internal.js +5 -5
- package/dist/{offers-BEGVSOTD.d.ts → offers-C2FANzrG.d.ts} +3 -3
- package/dist/{pages-HmS6eedC.d.ts → pages-D00JDZB-.d.ts} +33 -2
- package/dist/portal-proxy.js +8 -2
- package/dist/react/index.d.ts +14 -17
- package/dist/react/index.js +8 -7
- package/dist/{referral-reward-kinds-Flbb1D2q.d.ts → referral-reward-kinds-M3f0PdiR.d.ts} +2 -2
- package/dist/{schema-BCuiO7eD.d.ts → schema-DEM8y8Fm.d.ts} +1 -1
- package/dist/schema.d.ts +11239 -13
- package/dist/schema.js +38 -6
- package/dist/server/index.d.ts +43117 -22
- package/dist/server/index.js +303 -14
- package/dist/{sign-in-options-z3wsfizk.d.ts → sign-in-options-Coim0G1u.d.ts} +3 -3
- package/dist/{submission-input-Bs14jIsu.d.ts → submission-input-BbBJTVlT.d.ts} +3 -3
- package/dist/util.d-w9f9t3ua.d.ts +5 -0
- package/dist/{wallet-YssWxGg8.d.ts → wallet-CDyo-U4n.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/{profiles-D2aFcOxu.d.ts → profiles-BHMVj0kM.d.ts} +5 -5
|
@@ -1,38 +1,94 @@
|
|
|
1
1
|
import {
|
|
2
2
|
imageAssetArtifactSchema,
|
|
3
|
+
imageComparisonSchema,
|
|
4
|
+
imageExtractionSchema,
|
|
5
|
+
imageInspectionSchema,
|
|
6
|
+
imageSightingsSchema,
|
|
7
|
+
imageUploadsSchema,
|
|
3
8
|
publishedImageSchema
|
|
4
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-S4IHOJEP.js";
|
|
5
10
|
import {
|
|
6
11
|
catalogDeploymentSchema,
|
|
12
|
+
collectionPassSchema,
|
|
13
|
+
collectionViewSchema,
|
|
7
14
|
interactionSchema,
|
|
15
|
+
participantActivitySchema,
|
|
16
|
+
participantDeliveriesSchema,
|
|
17
|
+
participantEntitlementsSchema,
|
|
18
|
+
questCatalogSchema,
|
|
8
19
|
questCollectionSchema,
|
|
9
|
-
|
|
10
|
-
|
|
20
|
+
questEnrollmentSchema,
|
|
21
|
+
questExperienceSchema,
|
|
22
|
+
questOutcomePageSchema,
|
|
23
|
+
questOutcomeSchema,
|
|
24
|
+
questTypeVersionSchema,
|
|
25
|
+
questViewSchema,
|
|
26
|
+
rewardDeliveriesSchema
|
|
27
|
+
} from "./chunk-NM2ZAWTF.js";
|
|
11
28
|
import {
|
|
12
29
|
engagementArtifactSchema,
|
|
30
|
+
engagementBoundaryPageSchema,
|
|
13
31
|
engagementDeploymentEntrySchema,
|
|
32
|
+
engagementPageSchema,
|
|
14
33
|
leaderboardArtifactSchema,
|
|
34
|
+
leaderboardDefinitionSchema,
|
|
35
|
+
leaderboardPageSchema,
|
|
36
|
+
leaderboardPlacementSchema,
|
|
15
37
|
leaderboardPreviewSchema,
|
|
38
|
+
linkedWalletSchema,
|
|
16
39
|
offerArtifactSchema,
|
|
17
40
|
offerDefinitionSchema,
|
|
41
|
+
offerSchema,
|
|
42
|
+
ownProfileSchema,
|
|
43
|
+
pointBalancesSchema,
|
|
44
|
+
pointHistoryPageSchema,
|
|
18
45
|
pointLedgerArtifactSchema,
|
|
46
|
+
pointLedgerReferenceSchema,
|
|
19
47
|
pointLedgerSchema,
|
|
48
|
+
profileCompletionPageSchema,
|
|
49
|
+
profileReferralSchema,
|
|
50
|
+
profileSummarySchema,
|
|
20
51
|
publishedReferralSchema,
|
|
21
|
-
|
|
22
|
-
|
|
52
|
+
redemptionSchema,
|
|
53
|
+
referralArtifactSchema,
|
|
54
|
+
referralDefinitionSchema,
|
|
55
|
+
referralHistorySchema,
|
|
56
|
+
referralSummarySchema,
|
|
57
|
+
walletBalanceSchema,
|
|
58
|
+
walletMessageChallengeSchema,
|
|
59
|
+
walletSignInNetworksSchema
|
|
60
|
+
} from "./chunk-MJMFGTVV.js";
|
|
23
61
|
import {
|
|
62
|
+
exchangeResultSchema,
|
|
63
|
+
memberSummarySchema,
|
|
64
|
+
participantSessionSchema
|
|
65
|
+
} from "./chunk-PRLGLZM4.js";
|
|
66
|
+
import {
|
|
67
|
+
accountConnectionSchema,
|
|
24
68
|
attemptSchema,
|
|
69
|
+
authProviderSchema,
|
|
70
|
+
campaignEnrollmentSchema,
|
|
71
|
+
contentPerformancePageSchema,
|
|
72
|
+
contentQualificationPageSchema,
|
|
73
|
+
entitlementSchema,
|
|
74
|
+
evidenceSchema,
|
|
25
75
|
identifier,
|
|
76
|
+
knownResponse,
|
|
77
|
+
markResponseSchema,
|
|
78
|
+
memberProgressSchema,
|
|
26
79
|
pageCursorSchema,
|
|
27
80
|
projectCalendarDeclarationSchema,
|
|
28
81
|
publishedReleaseSchema,
|
|
29
82
|
publishedTrackerSchema,
|
|
30
83
|
questBudgetViewSchema,
|
|
31
84
|
releaseSchema,
|
|
85
|
+
responseListSchema,
|
|
86
|
+
responseSchema,
|
|
32
87
|
rewardSchema,
|
|
88
|
+
tieredRewardReferenceSchema,
|
|
33
89
|
timeZoneNameSchema,
|
|
34
90
|
trackerArtifactSchema
|
|
35
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-5WK4EB5I.js";
|
|
36
92
|
|
|
37
93
|
// src/deployments.ts
|
|
38
94
|
import { z } from "zod";
|
|
@@ -135,6 +191,26 @@ var repeatableDeploymentSchema = z.object({ actionId: z.string().uuid(), id: ide
|
|
|
135
191
|
var promoteDeploymentSchema = repeatableDeploymentSchema;
|
|
136
192
|
var rollbackDeploymentSchema = repeatableDeploymentSchema;
|
|
137
193
|
|
|
194
|
+
// src/capability-responses.ts
|
|
195
|
+
var capabilityResponseSchemas = {
|
|
196
|
+
imageInspectionSchema: knownResponse(imageInspectionSchema),
|
|
197
|
+
imageComparisonSchema: knownResponse(imageComparisonSchema),
|
|
198
|
+
imageExtractionSchema: knownResponse(imageExtractionSchema),
|
|
199
|
+
imageSightingsSchema: knownResponse(imageSightingsSchema),
|
|
200
|
+
imageUploadsSchema: knownResponse(imageUploadsSchema),
|
|
201
|
+
publishedImageSchema: knownResponse(publishedImageSchema),
|
|
202
|
+
walletBalanceSchema: knownResponse(walletBalanceSchema)
|
|
203
|
+
};
|
|
204
|
+
var capabilityResponses = {
|
|
205
|
+
imageInspectionSchema: responseSchema(imageInspectionSchema),
|
|
206
|
+
imageComparisonSchema: responseSchema(imageComparisonSchema),
|
|
207
|
+
imageExtractionSchema: responseSchema(imageExtractionSchema),
|
|
208
|
+
imageSightingsSchema: responseSchema(imageSightingsSchema),
|
|
209
|
+
imageUploadsSchema: responseSchema(imageUploadsSchema),
|
|
210
|
+
publishedImageSchema: responseSchema(publishedImageSchema),
|
|
211
|
+
walletBalanceSchema: responseSchema(walletBalanceSchema)
|
|
212
|
+
};
|
|
213
|
+
|
|
138
214
|
// src/activity.ts
|
|
139
215
|
import { z as z2 } from "zod";
|
|
140
216
|
var activityTypes = {
|
|
@@ -295,6 +371,143 @@ var automaticSchedulingRetrySchema = z3.strictObject({
|
|
|
295
371
|
reason: z3.string().trim().min(1).max(1e3)
|
|
296
372
|
});
|
|
297
373
|
|
|
374
|
+
// src/response-readers.ts
|
|
375
|
+
var participantResponseSchemas = {
|
|
376
|
+
accountConnectionSchema: knownResponse(accountConnectionSchema),
|
|
377
|
+
attemptSchema: knownResponse(attemptSchema),
|
|
378
|
+
authProviderSchema: knownResponse(authProviderSchema),
|
|
379
|
+
campaignEnrollmentSchema: knownResponse(campaignEnrollmentSchema),
|
|
380
|
+
collectionPassSchema: knownResponse(collectionPassSchema),
|
|
381
|
+
contentPerformancePageSchema: knownResponse(contentPerformancePageSchema),
|
|
382
|
+
contentQualificationPageSchema: knownResponse(contentQualificationPageSchema),
|
|
383
|
+
engagementBoundaryPageSchema: knownResponse(engagementBoundaryPageSchema),
|
|
384
|
+
engagementPageSchema: knownResponse(engagementPageSchema),
|
|
385
|
+
evidenceSchema: knownResponse(evidenceSchema),
|
|
386
|
+
exchangeResultSchema: knownResponse(exchangeResultSchema),
|
|
387
|
+
leaderboardDefinitionSchema: knownResponse(leaderboardDefinitionSchema),
|
|
388
|
+
leaderboardPageSchema: knownResponse(leaderboardPageSchema),
|
|
389
|
+
leaderboardPlacementSchema: knownResponse(leaderboardPlacementSchema),
|
|
390
|
+
linkedWalletSchema: knownResponse(linkedWalletSchema),
|
|
391
|
+
memberProgressSchema: knownResponse(memberProgressSchema),
|
|
392
|
+
memberSummarySchema: knownResponse(memberSummarySchema),
|
|
393
|
+
offerSchema: knownResponse(offerSchema),
|
|
394
|
+
ownProfileSchema: knownResponse(ownProfileSchema),
|
|
395
|
+
participantActivitySchema: knownResponse(participantActivitySchema),
|
|
396
|
+
participantDeliveriesSchema: knownResponse(participantDeliveriesSchema),
|
|
397
|
+
participantEntitlementsSchema: knownResponse(participantEntitlementsSchema),
|
|
398
|
+
participantSessionSchema: knownResponse(participantSessionSchema),
|
|
399
|
+
pointBalancesSchema: knownResponse(pointBalancesSchema),
|
|
400
|
+
pointHistoryPageSchema: knownResponse(pointHistoryPageSchema),
|
|
401
|
+
pointLedgerReferenceSchema: knownResponse(pointLedgerReferenceSchema),
|
|
402
|
+
profileCompletionPageSchema: knownResponse(profileCompletionPageSchema),
|
|
403
|
+
profileReferralSchema: knownResponse(profileReferralSchema),
|
|
404
|
+
profileSummarySchema: knownResponse(profileSummarySchema),
|
|
405
|
+
questEnrollmentSchema: knownResponse(questEnrollmentSchema),
|
|
406
|
+
questExperienceSchema: knownResponse(questExperienceSchema),
|
|
407
|
+
questOutcomePageSchema: knownResponse(questOutcomePageSchema),
|
|
408
|
+
questOutcomeSchema: knownResponse(questOutcomeSchema),
|
|
409
|
+
redemptionSchema: knownResponse(redemptionSchema),
|
|
410
|
+
referralDefinitionSchema: knownResponse(referralDefinitionSchema),
|
|
411
|
+
referralHistorySchema: knownResponse(referralHistorySchema),
|
|
412
|
+
referralSummarySchema: knownResponse(referralSummarySchema),
|
|
413
|
+
rewardDeliveriesSchema: knownResponse(rewardDeliveriesSchema),
|
|
414
|
+
tieredRewardReferenceSchema: knownResponse(tieredRewardReferenceSchema),
|
|
415
|
+
walletMessageChallengeSchema: knownResponse(walletMessageChallengeSchema),
|
|
416
|
+
walletSignInNetworksSchema: knownResponse(walletSignInNetworksSchema)
|
|
417
|
+
};
|
|
418
|
+
var participantResponses = {
|
|
419
|
+
accountConnectionSchema: responseSchema(accountConnectionSchema),
|
|
420
|
+
attemptSchema: responseSchema(attemptSchema),
|
|
421
|
+
authProviderSchema: responseSchema(authProviderSchema),
|
|
422
|
+
campaignEnrollmentSchema: responseSchema(campaignEnrollmentSchema),
|
|
423
|
+
collectionPassSchema: responseSchema(collectionPassSchema),
|
|
424
|
+
contentPerformancePageSchema: responseSchema(contentPerformancePageSchema),
|
|
425
|
+
contentQualificationPageSchema: responseSchema(
|
|
426
|
+
contentQualificationPageSchema
|
|
427
|
+
),
|
|
428
|
+
engagementBoundaryPageSchema: responseSchema(engagementBoundaryPageSchema),
|
|
429
|
+
engagementPageSchema: responseSchema(engagementPageSchema),
|
|
430
|
+
evidenceSchema: responseSchema(evidenceSchema),
|
|
431
|
+
exchangeResultSchema: responseSchema(exchangeResultSchema),
|
|
432
|
+
leaderboardDefinitionSchema: responseSchema(leaderboardDefinitionSchema),
|
|
433
|
+
leaderboardPageSchema: responseSchema(leaderboardPageSchema),
|
|
434
|
+
leaderboardPlacementSchema: responseSchema(leaderboardPlacementSchema),
|
|
435
|
+
linkedWalletSchema: responseSchema(linkedWalletSchema),
|
|
436
|
+
memberProgressSchema: responseSchema(memberProgressSchema),
|
|
437
|
+
memberSummarySchema: responseSchema(memberSummarySchema),
|
|
438
|
+
offerSchema: responseSchema(offerSchema),
|
|
439
|
+
ownProfileSchema: responseSchema(ownProfileSchema),
|
|
440
|
+
participantActivitySchema: responseSchema(participantActivitySchema),
|
|
441
|
+
participantDeliveriesSchema: responseSchema(participantDeliveriesSchema),
|
|
442
|
+
participantEntitlementsSchema: responseSchema(participantEntitlementsSchema),
|
|
443
|
+
participantSessionSchema: responseSchema(participantSessionSchema),
|
|
444
|
+
pointBalancesSchema: responseSchema(pointBalancesSchema),
|
|
445
|
+
pointHistoryPageSchema: responseSchema(pointHistoryPageSchema),
|
|
446
|
+
pointLedgerReferenceSchema: responseSchema(pointLedgerReferenceSchema),
|
|
447
|
+
profileCompletionPageSchema: responseSchema(profileCompletionPageSchema),
|
|
448
|
+
profileReferralSchema: responseSchema(profileReferralSchema),
|
|
449
|
+
profileSummarySchema: responseSchema(profileSummarySchema),
|
|
450
|
+
questEnrollmentSchema: responseSchema(questEnrollmentSchema),
|
|
451
|
+
questExperienceSchema: responseSchema(questExperienceSchema),
|
|
452
|
+
questOutcomePageSchema: responseSchema(questOutcomePageSchema),
|
|
453
|
+
questOutcomeSchema: responseSchema(questOutcomeSchema),
|
|
454
|
+
redemptionSchema: responseSchema(redemptionSchema),
|
|
455
|
+
referralDefinitionSchema: responseSchema(referralDefinitionSchema),
|
|
456
|
+
referralHistorySchema: responseSchema(referralHistorySchema),
|
|
457
|
+
referralSummarySchema: responseSchema(referralSummarySchema),
|
|
458
|
+
rewardDeliveriesSchema: responseSchema(rewardDeliveriesSchema),
|
|
459
|
+
tieredRewardReferenceSchema: responseSchema(tieredRewardReferenceSchema),
|
|
460
|
+
walletMessageChallengeSchema: responseSchema(walletMessageChallengeSchema),
|
|
461
|
+
walletSignInNetworksSchema: responseSchema(walletSignInNetworksSchema)
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
// src/evolving-responses.ts
|
|
465
|
+
import { z as z4 } from "zod";
|
|
466
|
+
var offerResponseSchema = responseSchema(offerSchema);
|
|
467
|
+
var offerListResponseSchema = responseListSchema(offerSchema);
|
|
468
|
+
var redemptionResponseSchema = responseSchema(redemptionSchema);
|
|
469
|
+
var redemptionListResponseSchema = responseListSchema(redemptionSchema);
|
|
470
|
+
var leaderboardListResponseSchema = responseListSchema(
|
|
471
|
+
leaderboardDefinitionSchema
|
|
472
|
+
);
|
|
473
|
+
var collectionResponseShape = collectionViewSchema.extend({
|
|
474
|
+
quests: responseListSchema(questViewSchema)
|
|
475
|
+
});
|
|
476
|
+
var questExperienceResponseSchema = markResponseSchema(
|
|
477
|
+
z4.object({
|
|
478
|
+
member: identifier,
|
|
479
|
+
quests: responseListSchema(questViewSchema),
|
|
480
|
+
collections: responseListSchema(collectionResponseShape),
|
|
481
|
+
entitlements: responseListSchema(entitlementSchema).default({
|
|
482
|
+
items: [],
|
|
483
|
+
unsupportedCount: 0
|
|
484
|
+
})
|
|
485
|
+
})
|
|
486
|
+
);
|
|
487
|
+
var memberProgressResponseSchema = markResponseSchema(
|
|
488
|
+
z4.object({
|
|
489
|
+
member: identifier,
|
|
490
|
+
quests: responseListSchema(memberProgressSchema.shape.quests.element),
|
|
491
|
+
entitlements: responseListSchema(entitlementSchema)
|
|
492
|
+
})
|
|
493
|
+
);
|
|
494
|
+
var questCatalogResponseSchema = markResponseSchema(
|
|
495
|
+
z4.object({
|
|
496
|
+
revision: questCatalogSchema.shape.revision,
|
|
497
|
+
types: responseListSchema(questCatalogSchema.shape.types.element),
|
|
498
|
+
collections: responseListSchema(
|
|
499
|
+
questCatalogSchema.shape.collections.element
|
|
500
|
+
),
|
|
501
|
+
quests: responseListSchema(questCatalogSchema.shape.quests.element),
|
|
502
|
+
drafts: responseListSchema(questCatalogSchema.shape.drafts.element),
|
|
503
|
+
releases: responseListSchema(publishedReleaseSchema).default({
|
|
504
|
+
items: [],
|
|
505
|
+
unsupportedCount: 0
|
|
506
|
+
}),
|
|
507
|
+
supportedInteractions: responseListSchema(interactionSchema)
|
|
508
|
+
})
|
|
509
|
+
);
|
|
510
|
+
|
|
298
511
|
export {
|
|
299
512
|
projectCatalogArtifactSchema,
|
|
300
513
|
projectDeploymentSchema,
|
|
@@ -309,6 +522,8 @@ export {
|
|
|
309
522
|
deploymentActionSchema,
|
|
310
523
|
promoteDeploymentSchema,
|
|
311
524
|
rollbackDeploymentSchema,
|
|
525
|
+
capabilityResponseSchemas,
|
|
526
|
+
capabilityResponses,
|
|
312
527
|
activityTypes,
|
|
313
528
|
activityTypeSchema,
|
|
314
529
|
automaticEventSchema,
|
|
@@ -323,5 +538,15 @@ export {
|
|
|
323
538
|
automaticSchedulingQuerySchema,
|
|
324
539
|
automaticSchedulingSchema,
|
|
325
540
|
automaticSchedulingPageSchema,
|
|
326
|
-
automaticSchedulingRetrySchema
|
|
541
|
+
automaticSchedulingRetrySchema,
|
|
542
|
+
participantResponseSchemas,
|
|
543
|
+
participantResponses,
|
|
544
|
+
offerResponseSchema,
|
|
545
|
+
offerListResponseSchema,
|
|
546
|
+
redemptionResponseSchema,
|
|
547
|
+
redemptionListResponseSchema,
|
|
548
|
+
leaderboardListResponseSchema,
|
|
549
|
+
questExperienceResponseSchema,
|
|
550
|
+
memberProgressResponseSchema,
|
|
551
|
+
questCatalogResponseSchema
|
|
327
552
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { j as QuestView, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery,
|
|
3
|
-
import { M as MissingPrerequisite, V as ValueEvidence, a as AuthProvider } from './submission-input-
|
|
1
|
+
import { aZ as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a6 as engagementPageQuerySchema } from './groups-BK8ts2yK.js';
|
|
2
|
+
import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, Y as questExperienceSchema, l as RewardDeliveryAction, E as contentQualificationQuerySchema } from './pages-D00JDZB-.js';
|
|
3
|
+
import { M as MissingPrerequisite, V as ValueEvidence, a as AuthProvider } from './submission-input-BbBJTVlT.js';
|
|
4
4
|
import { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind } from './request-error-D_dUPLwo.js';
|
|
5
|
-
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode,
|
|
5
|
+
import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode, c6 as submitSchema, b8 as contentPerformanceQuerySchema } from './schema-DEM8y8Fm.js';
|
|
6
6
|
import { b as ParticipantSession, d as exchangeSchema, R as RelayEvent, P as ParticipantActivity } from './participant-activity-DkL3nY5a.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { c as createRelayAction, O as OptionalActionId } from './action-9Xl0StBg.js';
|
|
9
|
-
import { F as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-
|
|
10
|
-
import { y as walletAddressInputSchema, I as walletSignatureSchema, L as LinkedWallet, f as WalletSigner } from './wallet-
|
|
9
|
+
import { F as profileUpdateSchema, c as ProfileCompletionQuery } from './profiles-BHMVj0kM.js';
|
|
10
|
+
import { y as walletAddressInputSchema, I as walletSignatureSchema, L as LinkedWallet, f as WalletSigner } from './wallet-CDyo-U4n.js';
|
|
11
11
|
|
|
12
12
|
/** What happened, as in every Domino client error (see `RequestError`). */
|
|
13
13
|
type RelayErrorKind = RequestErrorKind;
|
|
@@ -267,10 +267,25 @@ type RelayClientOptions = {
|
|
|
267
267
|
*/
|
|
268
268
|
timeout?: number;
|
|
269
269
|
};
|
|
270
|
+
/** @compat input */
|
|
271
|
+
type RelayResponseOptions = RelayRequestOptions & {
|
|
272
|
+
method?: "GET" | "POST";
|
|
273
|
+
input?: unknown;
|
|
274
|
+
/** Persist this identity before sending a write. */
|
|
275
|
+
operationId?: string;
|
|
276
|
+
/** Use only when the route records a receipt for the supplied operation identity. */
|
|
277
|
+
replaySafe?: boolean;
|
|
278
|
+
};
|
|
270
279
|
declare function createRelayClient(options: RelayClientOptions): RelayClient;
|
|
271
280
|
declare function relayClient(options: RelayClientOptions): {
|
|
272
281
|
/** Owns one action key across uncertain writes. Reuse the helper until a definite answer. */
|
|
273
282
|
action: typeof createRelayAction;
|
|
283
|
+
/** A JSON call using an explicit tolerant response schema from `@domino-sdk/relay/schema`. */
|
|
284
|
+
response: <T>(path: string, schema: ResponseSchema<T>, call?: RelayResponseOptions) => Promise<{
|
|
285
|
+
status: number;
|
|
286
|
+
operationId: string | undefined;
|
|
287
|
+
result: Awaited<T>;
|
|
288
|
+
}>;
|
|
274
289
|
offers: {
|
|
275
290
|
/** Offers available to this participant, including stock and per-member availability. */
|
|
276
291
|
list: (requestOptions?: RelayRequestOptions) => Promise<{
|
|
@@ -1063,7 +1078,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1063
1078
|
period: "day" | "week" | "month";
|
|
1064
1079
|
};
|
|
1065
1080
|
};
|
|
1066
|
-
access: "
|
|
1081
|
+
access: "public" | "participants";
|
|
1067
1082
|
key?: string | undefined;
|
|
1068
1083
|
group?: string | undefined;
|
|
1069
1084
|
settle?: {
|
|
@@ -1227,7 +1242,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1227
1242
|
avatarProvider: "discord" | "google" | "x" | null;
|
|
1228
1243
|
hidden: boolean;
|
|
1229
1244
|
locked: boolean;
|
|
1230
|
-
visibility: "
|
|
1245
|
+
visibility: "public" | "private" | "participants";
|
|
1231
1246
|
options: {
|
|
1232
1247
|
provider: "discord" | "google" | "x";
|
|
1233
1248
|
name: string | null;
|
|
@@ -1261,7 +1276,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1261
1276
|
avatarProvider: "discord" | "google" | "x" | null;
|
|
1262
1277
|
hidden: boolean;
|
|
1263
1278
|
locked: boolean;
|
|
1264
|
-
visibility: "
|
|
1279
|
+
visibility: "public" | "private" | "participants";
|
|
1265
1280
|
options: {
|
|
1266
1281
|
provider: "discord" | "google" | "x";
|
|
1267
1282
|
name: string | null;
|
|
@@ -1297,7 +1312,7 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
1297
1312
|
avatarProvider: "discord" | "google" | "x" | null;
|
|
1298
1313
|
hidden: boolean;
|
|
1299
1314
|
locked: boolean;
|
|
1300
|
-
visibility: "
|
|
1315
|
+
visibility: "public" | "private" | "participants";
|
|
1301
1316
|
options: {
|
|
1302
1317
|
provider: "discord" | "google" | "x";
|
|
1303
1318
|
name: string | null;
|
|
@@ -4323,4 +4338,4 @@ declare function relayClient(options: RelayClientOptions): {
|
|
|
4323
4338
|
interface RelayClient extends ReturnType<typeof relayClient> {
|
|
4324
4339
|
}
|
|
4325
4340
|
|
|
4326
|
-
export { type ClaimSubmission as C, type KnownRelayErrorCode as K, type PhotoSubmission as P, type QuestActionResult as Q, type RelayClient as R, type SubmissionDraft as S, type ValueSubmission as V, type ProgressObservation as a, type ProgressObserver as b, type QuestController as c, QuestUpdatedError as d, type QuizSubmission as e, type RelayClientOptions as f, RelayError as g, RelayErrorCode as h, type RelayErrorDetails as i, type RelayErrorKind as j, type RelayRequestOptions as k, type
|
|
4341
|
+
export { type ClaimSubmission as C, type KnownRelayErrorCode as K, type PhotoSubmission as P, type QuestActionResult as Q, type RelayClient as R, type SubmissionDraft as S, type ValueSubmission as V, type ProgressObservation as a, type ProgressObserver as b, type QuestController as c, QuestUpdatedError as d, type QuizSubmission as e, type RelayClientOptions as f, RelayError as g, RelayErrorCode as h, type RelayErrorDetails as i, type RelayErrorKind as j, type RelayRequestOptions as k, type RelayResponseOptions as l, type SubmissionStatus as m, type SubmissionStore as n, createRelayClient as o, isRelayError as p };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { n as ResourceHandle, G as GroupHandle } from './schema-DEM8y8Fm.js';
|
|
3
3
|
|
|
4
4
|
declare const pointLedgerPropertiesSchema: z.ZodObject<{
|
|
5
5
|
name: z.ZodString;
|
|
@@ -755,8 +755,96 @@ declare const leaderboardDefinitionSchema: z.ZodObject<{
|
|
|
755
755
|
}, z.core.$strip>], "kind">>;
|
|
756
756
|
}, z.core.$strict>], "kind">>;
|
|
757
757
|
access: z.ZodDefault<z.ZodEnum<{
|
|
758
|
+
public: "public";
|
|
758
759
|
participants: "participants";
|
|
760
|
+
}>>;
|
|
761
|
+
group: z.ZodOptional<z.ZodString>;
|
|
762
|
+
settle: z.ZodOptional<z.ZodObject<{
|
|
763
|
+
at: z.ZodLiteral<"window-end">;
|
|
764
|
+
ties: z.ZodEnum<{
|
|
765
|
+
shared: "shared";
|
|
766
|
+
earliest: "earliest";
|
|
767
|
+
}>;
|
|
768
|
+
prizes: z.ZodArray<z.ZodObject<{
|
|
769
|
+
ranks: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
770
|
+
rewards: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
771
|
+
kind: z.ZodDefault<z.ZodLiteral<"points">>;
|
|
772
|
+
balance: z.ZodString;
|
|
773
|
+
amount: z.ZodNumber;
|
|
774
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
775
|
+
kind: z.ZodLiteral<"tier">;
|
|
776
|
+
reward: z.ZodObject<{
|
|
777
|
+
id: z.ZodString;
|
|
778
|
+
title: z.ZodString;
|
|
779
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
780
|
+
id: z.ZodString;
|
|
781
|
+
title: z.ZodString;
|
|
782
|
+
}, z.core.$strict>>;
|
|
783
|
+
inventory: z.ZodObject<{
|
|
784
|
+
kind: z.ZodLiteral<"untracked">;
|
|
785
|
+
}, z.core.$strict>;
|
|
786
|
+
fulfillment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
787
|
+
kind: z.ZodLiteral<"staff-handover">;
|
|
788
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
789
|
+
kind: z.ZodLiteral<"automatic">;
|
|
790
|
+
}, z.core.$strict>], "kind">;
|
|
791
|
+
}, z.core.$strict>;
|
|
792
|
+
tier: z.ZodString;
|
|
793
|
+
}, z.core.$strict>]>>;
|
|
794
|
+
}, z.core.$strict>>;
|
|
795
|
+
}, z.core.$strict>>;
|
|
796
|
+
}, z.core.$strict>;
|
|
797
|
+
/** Known leaderboard data is read separately from its strict authoring definition. */
|
|
798
|
+
declare const leaderboardDefinitionResponseSchema: z.ZodObject<{
|
|
799
|
+
id: z.ZodString;
|
|
800
|
+
key: z.ZodOptional<z.ZodString>;
|
|
801
|
+
title: z.ZodString;
|
|
802
|
+
balance: z.ZodString;
|
|
803
|
+
score: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
804
|
+
kind: z.ZodLiteral<"balance">;
|
|
805
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
806
|
+
window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
807
|
+
kind: z.ZodLiteral<"all-time">;
|
|
808
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
809
|
+
kind: z.ZodLiteral<"fixed">;
|
|
810
|
+
start: z.ZodNumber;
|
|
811
|
+
end: z.ZodNumber;
|
|
812
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
813
|
+
kind: z.ZodLiteral<"rolling">;
|
|
814
|
+
days: z.ZodNumber;
|
|
815
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
816
|
+
kind: z.ZodLiteral<"calendar">;
|
|
817
|
+
period: z.ZodEnum<{
|
|
818
|
+
day: "day";
|
|
819
|
+
week: "week";
|
|
820
|
+
month: "month";
|
|
821
|
+
}>;
|
|
822
|
+
}, z.core.$strip>], "kind">>;
|
|
823
|
+
quests: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
824
|
+
kind: z.ZodLiteral<"earned">;
|
|
825
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
826
|
+
kind: z.ZodLiteral<"net">;
|
|
827
|
+
window: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
828
|
+
kind: z.ZodLiteral<"all-time">;
|
|
829
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
830
|
+
kind: z.ZodLiteral<"fixed">;
|
|
831
|
+
start: z.ZodNumber;
|
|
832
|
+
end: z.ZodNumber;
|
|
833
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
834
|
+
kind: z.ZodLiteral<"rolling">;
|
|
835
|
+
days: z.ZodNumber;
|
|
836
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
837
|
+
kind: z.ZodLiteral<"calendar">;
|
|
838
|
+
period: z.ZodEnum<{
|
|
839
|
+
day: "day";
|
|
840
|
+
week: "week";
|
|
841
|
+
month: "month";
|
|
842
|
+
}>;
|
|
843
|
+
}, z.core.$strip>], "kind">>;
|
|
844
|
+
}, z.core.$strict>], "kind">>;
|
|
845
|
+
access: z.ZodDefault<z.ZodEnum<{
|
|
759
846
|
public: "public";
|
|
847
|
+
participants: "participants";
|
|
760
848
|
}>>;
|
|
761
849
|
group: z.ZodOptional<z.ZodString>;
|
|
762
850
|
settle: z.ZodOptional<z.ZodObject<{
|
|
@@ -799,8 +887,8 @@ declare const leaderboardAuthoringSchema: z.ZodObject<{
|
|
|
799
887
|
title: z.ZodString;
|
|
800
888
|
balance: z.ZodString;
|
|
801
889
|
access: z.ZodDefault<z.ZodEnum<{
|
|
802
|
-
participants: "participants";
|
|
803
890
|
public: "public";
|
|
891
|
+
participants: "participants";
|
|
804
892
|
}>>;
|
|
805
893
|
settle: z.ZodOptional<z.ZodObject<{
|
|
806
894
|
at: z.ZodLiteral<"window-end">;
|
|
@@ -885,8 +973,8 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
885
973
|
title: z.ZodString;
|
|
886
974
|
balance: z.ZodString;
|
|
887
975
|
access: z.ZodDefault<z.ZodEnum<{
|
|
888
|
-
participants: "participants";
|
|
889
976
|
public: "public";
|
|
977
|
+
participants: "participants";
|
|
890
978
|
}>>;
|
|
891
979
|
settle: z.ZodOptional<z.ZodObject<{
|
|
892
980
|
at: z.ZodLiteral<"window-end">;
|
|
@@ -1020,8 +1108,8 @@ declare const publishedLeaderboardSchema: z.ZodObject<{
|
|
|
1020
1108
|
}, z.core.$strip>], "kind">>;
|
|
1021
1109
|
}, z.core.$strict>], "kind">>;
|
|
1022
1110
|
access: z.ZodDefault<z.ZodEnum<{
|
|
1023
|
-
participants: "participants";
|
|
1024
1111
|
public: "public";
|
|
1112
|
+
participants: "participants";
|
|
1025
1113
|
}>>;
|
|
1026
1114
|
group: z.ZodOptional<z.ZodString>;
|
|
1027
1115
|
settle: z.ZodOptional<z.ZodObject<{
|
|
@@ -1264,8 +1352,8 @@ declare const leaderboardPreviewSchema: z.ZodObject<{
|
|
|
1264
1352
|
}, z.core.$strip>], "kind">>;
|
|
1265
1353
|
}, z.core.$strict>], "kind">>;
|
|
1266
1354
|
access: z.ZodDefault<z.ZodEnum<{
|
|
1267
|
-
participants: "participants";
|
|
1268
1355
|
public: "public";
|
|
1356
|
+
participants: "participants";
|
|
1269
1357
|
}>>;
|
|
1270
1358
|
group: z.ZodOptional<z.ZodString>;
|
|
1271
1359
|
settle: z.ZodOptional<z.ZodObject<{
|
|
@@ -2618,4 +2706,4 @@ declare const groupMemberPageSchema: z.ZodObject<{
|
|
|
2618
2706
|
/** @compat output */
|
|
2619
2707
|
type GroupMemberPage = z.infer<typeof groupMemberPageSchema>;
|
|
2620
2708
|
|
|
2621
|
-
export {
|
|
2709
|
+
export { engagementBoundaryPageSchema as $, type AvailabilityWindow as A, type GroupPageQuery as B, type CampaignDefinition as C, type LeaderboardSettlement as D, type EngagementBudget as E, type LeaderboardSettlementPolicy as F, type GroupMember as G, type LeaderboardSettlementSummary as H, type ManagedGroup as I, type ManagedPointHistoryPage as J, type KnownPointEntryKind as K, type LeaderboardDefinition as L, type MemberCampaignEnrollmentInput as M, type ManagedPointLedger as N, type PointLedger as O, type PointBalance as P, addGroupMemberSchema as Q, type ReferralDefinition as R, availabilityWindowSchema as S, campaignDefinitionSchema as T, campaignEnrollmentInputSchema as U, campaignEnrollmentSchema as V, campaignViewSchema as W, campaignWithdrawalInputSchema as X, createGroupSchema as Y, createPointLedgerSchema as Z, engagementArtifactSchema as _, type CampaignEnrollment as a, referralArtifactSchema as a$, engagementBudgetSchema as a0, engagementChangePreviewInputSchema as a1, engagementChangePreviewSchema as a2, engagementChangeSchema as a3, engagementDefinitionSchema as a4, engagementDeploymentEntrySchema as a5, engagementPageQuerySchema as a6, engagementPageSchema as a7, engagementPublishSchema as a8, engagementRuleSchema as a9, leaderboardSettlementStatusSchema as aA, leaderboardSettlementSummarySchema as aB, leaderboardWindowSchema as aC, managedGroupSchema as aD, managedPointHistoryPageSchema as aE, managedPointLedgerSchema as aF, memberCampaignEnrollmentInputSchema as aG, memberCampaignWithdrawalInputSchema as aH, pointBalanceSchema as aI, pointBalancesSchema as aJ, pointEntrySchema as aK, pointHistoryPageSchema as aL, pointHistoryQuerySchema as aM, pointLedgerArtifactSchema as aN, pointLedgerPropertiesSchema as aO, pointLedgerReferenceSchema as aP, pointLedgerSchema as aQ, pointsAccountSchema as aR, pointsEntrySchema as aS, pointsMutationSchema as aT, pointsResultSchema as aU, projectGroupKey as aV, projectGroupSchema as aW, publishedLeaderboardSchema as aX, publishedReferralSchema as aY, referralAcceptSchema as aZ, referralAccountSchema as a_, engagementRuleVersionPageSchema as aa, engagementScoreInputSchema as ab, engagementScoreSchema as ac, engagementSettlementSchema as ad, engagementVersionPageSchema as ae, engagementVersionQuerySchema as af, groupMemberPageSchema as ag, groupMemberSchema as ah, groupPageQuerySchema as ai, groupPageSchema as aj, leaderboardArtifactSchema as ak, leaderboardAuthoringSchema as al, leaderboardDefinitionResponseSchema as am, leaderboardExclusionSchema as an, leaderboardGroupSchema as ao, leaderboardPageSchema as ap, leaderboardPlacementSchema as aq, leaderboardPreviewSchema as ar, leaderboardPrizeRewardSchema as as, leaderboardPrizeSchema as at, leaderboardQuerySchema as au, leaderboardRowSchema as av, leaderboardSettlementApprovalSchema as aw, leaderboardSettlementPolicySchema as ax, leaderboardSettlementRowSchema as ay, leaderboardSettlementSchema as az, type CampaignEnrollmentInput as b, referralControlSchema as b0, referralDefinitionSchema as b1, referralHistorySchema as b2, referralManagementSchema as b3, referralQualificationSchema as b4, referralRelationshipSchema as b5, referralRewardResolutionSchema as b6, referralSummarySchema as b7, referralSuspensionSchema as b8, removeGroupMemberSchema as b9, updateGroupSchema as ba, type CampaignView as c, type CampaignWithdrawalInput as d, type LeaderboardPage as e, type LeaderboardPlacement as f, type LeaderboardQuery as g, type MemberCampaignWithdrawalInput as h, type PointBalances as i, type PointEntry as j, PointEntryKind as k, type PointHistoryPage as l, type PointHistoryQuery as m, type PointLedgerReference as n, type ProjectGroup as o, type ProjectGroupReference as p, type AuthoringIdentity as q, leaderboardDefinitionSchema as r, pointLedgerDeclarationSchema as s, referralAuthoringSchema as t, defineCampaign as u, defineGroup as v, type EngagementDefinition as w, type EngagementRuleVersionPage as x, type GroupMemberPage as y, type GroupPage as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { P as PhotoResult } from './schema-
|
|
2
|
+
import { P as PhotoResult } from './schema-DEM8y8Fm.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Quest code names an image; the platform fetches, decodes and pins it. No bytes or URLs cross the
|
|
@@ -231,4 +231,4 @@ interface ImageReader {
|
|
|
231
231
|
}): Promise<ImageSightings>;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
export { type Extracted as E, type
|
|
234
|
+
export { type Extracted as E, type ImageReader as I, type PublishedImage as P, type ImageAssetArtifact as a, type ImageComparison as b, type ImageExtraction as c, type ImageFields as d, type ImageInspection as e, type ImageReference as f, type ImageRequest as g, type ImageSightings as h, imageAssetArtifactSchema as i, imageComparisonSchema as j, imageExtractionSchema as k, imageFieldSchema as l, imageFieldsSchema as m, imageInspectionSchema as n, imageReferenceSchema as o, imageRequestSchema as p, imageSightingsSchema as q, imageUploadRequestSchema as r, imageUploadsSchema as s, publishedImageSchema as t };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export { R as RelayAction, c as createRelayAction } from './action-9Xl0StBg.js';
|
|
2
|
-
export { C as ClaimSubmission, 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, S as SubmissionDraft,
|
|
2
|
+
export { C as ClaimSubmission, 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 SubmissionDraft, m as SubmissionStatus, n as SubmissionStore, V as ValueSubmission, o as createRelayClient, p as isRelayError } from './client-Yq11HA_f.js';
|
|
3
3
|
export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-D_dUPLwo.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-
|
|
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-DEM8y8Fm.js';
|
|
5
5
|
export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
|
|
6
|
-
export { A as AccountConnection, a as AuthProvider, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence } from './submission-input-
|
|
6
|
+
export { A as AccountConnection, a as AuthProvider, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence } from './submission-input-BbBJTVlT.js';
|
|
7
7
|
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-DkL3nY5a.js';
|
|
8
|
-
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 } from './pages-
|
|
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 LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p 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 { O as Offer, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption } from './offers-
|
|
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-
|
|
8
|
+
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 } from './pages-D00JDZB-.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 LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-BK8ts2yK.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-kPIDv6X_.js';
|
|
11
|
+
export { O as Offer, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption } from './offers-C2FANzrG.js';
|
|
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-BHMVj0kM.js';
|
|
13
13
|
export { Q as QuizContent, S as StreakProgress } from './streaks-CWyq8Px5.js';
|
|
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-
|
|
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-CDyo-U4n.js';
|
|
15
15
|
export { P as ParticipantDelivery } from './participant-rewards-3duLb8YJ.js';
|
|
16
16
|
import 'zod';
|
package/dist/index.js
CHANGED
|
@@ -5,30 +5,31 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
QuestUpdatedError,
|
|
7
7
|
createRelayClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MDN5EJY2.js";
|
|
9
9
|
import {
|
|
10
10
|
createRelayAction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PFKV2M4B.js";
|
|
12
12
|
import {
|
|
13
13
|
QuestOutcomeState
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NM2ZAWTF.js";
|
|
15
15
|
import {
|
|
16
16
|
PointEntryKind,
|
|
17
17
|
RelayError,
|
|
18
18
|
RelayErrorCode,
|
|
19
19
|
isRelayError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MJMFGTVV.js";
|
|
21
21
|
import "./chunk-6QJ3LADK.js";
|
|
22
22
|
import {
|
|
23
23
|
RequestError,
|
|
24
24
|
isRequestError
|
|
25
25
|
} from "./chunk-NPGENI7K.js";
|
|
26
|
+
import "./chunk-2M3HLQFP.js";
|
|
26
27
|
import {
|
|
27
28
|
sessionMember
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PRLGLZM4.js";
|
|
29
30
|
import {
|
|
30
31
|
AttemptStatus
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5WK4EB5I.js";
|
|
32
33
|
export {
|
|
33
34
|
AttemptStatus,
|
|
34
35
|
PointEntryKind,
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { I as IdentityKindClaim, 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, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, m as sourceRoles, v as validateQuestShape } from './referral-reward-kinds-
|
|
2
|
-
export { E as Extracted } from './images-
|
|
1
|
+
export { I as IdentityKindClaim, 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, p as parseImageExtraction, g as parseImageResult, h as participantExchangeSchema, j as participantRoutePattern, k as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, l as sourceDataSchema, m as sourceRoles, v as validateQuestShape } from './referral-reward-kinds-M3f0PdiR.js';
|
|
2
|
+
export { E as Extracted } from './images-aw6W7vFZ.js';
|
|
3
3
|
import { b as RequestErrorKind } from './request-error-D_dUPLwo.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-DEM8y8Fm.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
/** The management client's and the CLI's default deadline per call. */
|