@domino-sdk/relay 1.16.0 → 1.18.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.
Files changed (50) hide show
  1. package/dist/{attempt-captures-DHwIVoRP.d.ts → attempt-captures-ByzZyggX.d.ts} +5 -1
  2. package/dist/authoring.d.ts +82 -9
  3. package/dist/authoring.js +14 -9
  4. package/dist/{automatic-outcomes-BcEn_L46.d.ts → automatic-outcomes-BBSdMf0R.d.ts} +2 -1
  5. package/dist/avatar.d.ts +1 -1
  6. package/dist/browser.d.ts +7 -7
  7. package/dist/browser.js +9 -11
  8. package/dist/{chunk-3YCCHTCU.js → chunk-3IX2IYMQ.js} +2 -2
  9. package/dist/{chunk-6QJ3LADK.js → chunk-5P5PTZ3T.js} +1 -1
  10. package/dist/{chunk-W335CWYJ.js → chunk-CVQG2AZZ.js} +2 -2
  11. package/dist/{chunk-46C33ASD.js → chunk-EMLDFUTV.js} +1314 -908
  12. package/dist/{chunk-4OLQYRSA.js → chunk-GMKJPHN4.js} +1 -1
  13. package/dist/{chunk-YT3QKV2L.js → chunk-GTM3XNMQ.js} +1 -1
  14. package/dist/{chunk-LLMJ2SUT.js → chunk-IE4QOQUI.js} +21 -4
  15. package/dist/{chunk-ZGH6NEG6.js → chunk-JIQHUDVZ.js} +1 -1
  16. package/dist/{chunk-ZLYBUM7K.js → chunk-NBYS3NQT.js} +29 -17
  17. package/dist/{chunk-NIYCAW2I.js → chunk-NGP2NMZ4.js} +1 -1
  18. package/dist/{chunk-XMBM2XD5.js → chunk-T47OFHHX.js} +2 -4
  19. package/dist/{chunk-NM3IYYPG.js → chunk-UEPEKXOC.js} +6 -8
  20. package/dist/{chunk-AXRMT33W.js → chunk-UIHPWC4C.js} +3 -0
  21. package/dist/{chunk-UJACD6K2.js → chunk-XSLRNFIY.js} +346 -304
  22. package/dist/{chunk-Y6SRF54G.js → chunk-YGWB6GH3.js} +32 -25
  23. package/dist/{chunk-PT5STHFH.js → chunk-YXAK2637.js} +1 -1
  24. package/dist/{client-DFSCmf3H.d.ts → client-93pUw04R.d.ts} +182 -14
  25. package/dist/{deployments-DIbKJO_Y.d.ts → deployments-Cz-tNK7Z.d.ts} +832 -16
  26. package/dist/{groups-Bi7lc54m.d.ts → groups-jLLG7MML.d.ts} +27 -2
  27. package/dist/{images-Cb8QHGjn.d.ts → images-BPiPqVKn.d.ts} +1 -1
  28. package/dist/index.d.ts +8 -8
  29. package/dist/index.js +12 -16
  30. package/dist/internal.d.ts +10 -10
  31. package/dist/internal.js +9 -10
  32. package/dist/{offers-Catj06u7.d.ts → offers-CPqiF3dZ.d.ts} +92 -3
  33. package/dist/{pages-CpYt56Km.d.ts → pages-1h1387a3.d.ts} +757 -3
  34. package/dist/portal-proxy.js +4 -4
  35. package/dist/react/index.d.ts +47 -19
  36. package/dist/react/index.js +361 -340
  37. package/dist/{schema-BaVl2VBS.d.ts → schema-Br3c1GOu.d.ts} +508 -2
  38. package/dist/schema.d.ts +565 -24
  39. package/dist/schema.js +61 -32
  40. package/dist/server/index.d.ts +10 -10
  41. package/dist/server/index.js +82 -24
  42. package/dist/{sign-in-options-CU1ND6-y.d.ts → sign-in-options--25uHySG.d.ts} +1 -1
  43. package/dist/{submission-input-Bi4HipqI.d.ts → submission-input-BEJ9qENg.d.ts} +2 -2
  44. package/dist/testing.d.ts +3 -3
  45. package/dist/testing.js +10 -13
  46. package/dist/{transport-BdrcbKi_.d.ts → transport-CVac_nGZ.d.ts} +6411 -72
  47. package/package.json +1 -1
  48. package/dist/chunk-2UAVZCMH.js +0 -314
  49. package/dist/chunk-NPGENI7K.js +0 -37
  50. package/dist/{profiles-BHMVj0kM.d.ts → profiles-D29SS12z.d.ts} +1 -1
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { n as ResourceHandle, G as GroupHandle } from './schema-BaVl2VBS.js';
2
+ import { q as ResourceHandle, G as GroupHandle } from './schema-Br3c1GOu.js';
3
3
 
4
4
  declare const pointLedgerPropertiesSchema: z.ZodObject<{
5
5
  name: z.ZodString;
@@ -628,6 +628,7 @@ declare const leaderboardPrizeRewardSchema: z.ZodUnion<readonly [z.ZodObject<{
628
628
  }, z.core.$strict>, z.ZodObject<{
629
629
  kind: z.ZodLiteral<"tier">;
630
630
  reward: z.ZodObject<{
631
+ badge: z.ZodOptional<z.ZodString>;
631
632
  id: z.ZodString;
632
633
  title: z.ZodString;
633
634
  tiers: z.ZodArray<z.ZodObject<{
@@ -654,6 +655,7 @@ declare const leaderboardPrizeSchema: z.ZodObject<{
654
655
  }, z.core.$strict>, z.ZodObject<{
655
656
  kind: z.ZodLiteral<"tier">;
656
657
  reward: z.ZodObject<{
658
+ badge: z.ZodOptional<z.ZodString>;
657
659
  id: z.ZodString;
658
660
  title: z.ZodString;
659
661
  tiers: z.ZodArray<z.ZodObject<{
@@ -687,6 +689,7 @@ declare const leaderboardSettlementPolicySchema: z.ZodObject<{
687
689
  }, z.core.$strict>, z.ZodObject<{
688
690
  kind: z.ZodLiteral<"tier">;
689
691
  reward: z.ZodObject<{
692
+ badge: z.ZodOptional<z.ZodString>;
690
693
  id: z.ZodString;
691
694
  title: z.ZodString;
692
695
  tiers: z.ZodArray<z.ZodObject<{
@@ -774,6 +777,7 @@ declare const leaderboardDefinitionSchema: z.ZodObject<{
774
777
  }, z.core.$strict>, z.ZodObject<{
775
778
  kind: z.ZodLiteral<"tier">;
776
779
  reward: z.ZodObject<{
780
+ badge: z.ZodOptional<z.ZodString>;
777
781
  id: z.ZodString;
778
782
  title: z.ZodString;
779
783
  tiers: z.ZodArray<z.ZodObject<{
@@ -862,6 +866,7 @@ declare const leaderboardDefinitionResponseSchema: z.ZodObject<{
862
866
  }, z.core.$strict>, z.ZodObject<{
863
867
  kind: z.ZodLiteral<"tier">;
864
868
  reward: z.ZodObject<{
869
+ badge: z.ZodOptional<z.ZodString>;
865
870
  id: z.ZodString;
866
871
  title: z.ZodString;
867
872
  tiers: z.ZodArray<z.ZodObject<{
@@ -905,6 +910,7 @@ declare const leaderboardAuthoringSchema: z.ZodObject<{
905
910
  }, z.core.$strict>, z.ZodObject<{
906
911
  kind: z.ZodLiteral<"tier">;
907
912
  reward: z.ZodObject<{
913
+ badge: z.ZodOptional<z.ZodString>;
908
914
  id: z.ZodString;
909
915
  title: z.ZodString;
910
916
  tiers: z.ZodArray<z.ZodObject<{
@@ -991,6 +997,7 @@ declare const leaderboardArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
991
997
  }, z.core.$strict>, z.ZodObject<{
992
998
  kind: z.ZodLiteral<"tier">;
993
999
  reward: z.ZodObject<{
1000
+ badge: z.ZodOptional<z.ZodString>;
994
1001
  id: z.ZodString;
995
1002
  title: z.ZodString;
996
1003
  tiers: z.ZodArray<z.ZodObject<{
@@ -1127,6 +1134,7 @@ declare const publishedLeaderboardSchema: z.ZodObject<{
1127
1134
  }, z.core.$strict>, z.ZodObject<{
1128
1135
  kind: z.ZodLiteral<"tier">;
1129
1136
  reward: z.ZodObject<{
1137
+ badge: z.ZodOptional<z.ZodString>;
1130
1138
  id: z.ZodString;
1131
1139
  title: z.ZodString;
1132
1140
  tiers: z.ZodArray<z.ZodObject<{
@@ -1371,6 +1379,7 @@ declare const leaderboardPreviewSchema: z.ZodObject<{
1371
1379
  }, z.core.$strict>, z.ZodObject<{
1372
1380
  kind: z.ZodLiteral<"tier">;
1373
1381
  reward: z.ZodObject<{
1382
+ badge: z.ZodOptional<z.ZodString>;
1374
1383
  id: z.ZodString;
1375
1384
  title: z.ZodString;
1376
1385
  tiers: z.ZodArray<z.ZodObject<{
@@ -1809,6 +1818,7 @@ declare const leaderboardSettlementSchema: z.ZodObject<{
1809
1818
  }, z.core.$strict>, z.ZodObject<{
1810
1819
  kind: z.ZodLiteral<"tier">;
1811
1820
  reward: z.ZodObject<{
1821
+ badge: z.ZodOptional<z.ZodString>;
1812
1822
  id: z.ZodString;
1813
1823
  title: z.ZodString;
1814
1824
  tiers: z.ZodArray<z.ZodObject<{
@@ -1867,6 +1877,7 @@ declare const referralDefinitionSchema: z.ZodObject<{
1867
1877
  }, z.core.$strict>, z.ZodObject<{
1868
1878
  kind: z.ZodLiteral<"tier">;
1869
1879
  reward: z.ZodObject<{
1880
+ badge: z.ZodOptional<z.ZodString>;
1870
1881
  id: z.ZodString;
1871
1882
  title: z.ZodString;
1872
1883
  tiers: z.ZodArray<z.ZodObject<{
@@ -1891,6 +1902,7 @@ declare const referralDefinitionSchema: z.ZodObject<{
1891
1902
  }, z.core.$strict>, z.ZodObject<{
1892
1903
  kind: z.ZodLiteral<"tier">;
1893
1904
  reward: z.ZodObject<{
1905
+ badge: z.ZodOptional<z.ZodString>;
1894
1906
  id: z.ZodString;
1895
1907
  title: z.ZodString;
1896
1908
  tiers: z.ZodArray<z.ZodObject<{
@@ -1919,6 +1931,7 @@ declare const referralDefinitionSchema: z.ZodObject<{
1919
1931
  }, z.core.$strict>, z.ZodObject<{
1920
1932
  kind: z.ZodLiteral<"tier">;
1921
1933
  reward: z.ZodObject<{
1934
+ badge: z.ZodOptional<z.ZodString>;
1922
1935
  id: z.ZodString;
1923
1936
  title: z.ZodString;
1924
1937
  tiers: z.ZodArray<z.ZodObject<{
@@ -1958,6 +1971,7 @@ declare const referralAuthoringSchema: z.ZodObject<{
1958
1971
  }, z.core.$strict>, z.ZodObject<{
1959
1972
  kind: z.ZodLiteral<"tier">;
1960
1973
  reward: z.ZodObject<{
1974
+ badge: z.ZodOptional<z.ZodString>;
1961
1975
  id: z.ZodString;
1962
1976
  title: z.ZodString;
1963
1977
  tiers: z.ZodArray<z.ZodObject<{
@@ -1982,6 +1996,7 @@ declare const referralAuthoringSchema: z.ZodObject<{
1982
1996
  }, z.core.$strict>, z.ZodObject<{
1983
1997
  kind: z.ZodLiteral<"tier">;
1984
1998
  reward: z.ZodObject<{
1999
+ badge: z.ZodOptional<z.ZodString>;
1985
2000
  id: z.ZodString;
1986
2001
  title: z.ZodString;
1987
2002
  tiers: z.ZodArray<z.ZodObject<{
@@ -2018,6 +2033,7 @@ declare const referralAuthoringSchema: z.ZodObject<{
2018
2033
  }, z.core.$strict>, z.ZodObject<{
2019
2034
  kind: z.ZodLiteral<"tier">;
2020
2035
  reward: z.ZodObject<{
2036
+ badge: z.ZodOptional<z.ZodString>;
2021
2037
  id: z.ZodString;
2022
2038
  title: z.ZodString;
2023
2039
  tiers: z.ZodArray<z.ZodObject<{
@@ -2059,6 +2075,7 @@ declare const referralArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
2059
2075
  }, z.core.$strict>, z.ZodObject<{
2060
2076
  kind: z.ZodLiteral<"tier">;
2061
2077
  reward: z.ZodObject<{
2078
+ badge: z.ZodOptional<z.ZodString>;
2062
2079
  id: z.ZodString;
2063
2080
  title: z.ZodString;
2064
2081
  tiers: z.ZodArray<z.ZodObject<{
@@ -2083,6 +2100,7 @@ declare const referralArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
2083
2100
  }, z.core.$strict>, z.ZodObject<{
2084
2101
  kind: z.ZodLiteral<"tier">;
2085
2102
  reward: z.ZodObject<{
2103
+ badge: z.ZodOptional<z.ZodString>;
2086
2104
  id: z.ZodString;
2087
2105
  title: z.ZodString;
2088
2106
  tiers: z.ZodArray<z.ZodObject<{
@@ -2119,6 +2137,7 @@ declare const referralArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
2119
2137
  }, z.core.$strict>, z.ZodObject<{
2120
2138
  kind: z.ZodLiteral<"tier">;
2121
2139
  reward: z.ZodObject<{
2140
+ badge: z.ZodOptional<z.ZodString>;
2122
2141
  id: z.ZodString;
2123
2142
  title: z.ZodString;
2124
2143
  tiers: z.ZodArray<z.ZodObject<{
@@ -2177,6 +2196,7 @@ declare const publishedReferralSchema: z.ZodObject<{
2177
2196
  }, z.core.$strict>, z.ZodObject<{
2178
2197
  kind: z.ZodLiteral<"tier">;
2179
2198
  reward: z.ZodObject<{
2199
+ badge: z.ZodOptional<z.ZodString>;
2180
2200
  id: z.ZodString;
2181
2201
  title: z.ZodString;
2182
2202
  tiers: z.ZodArray<z.ZodObject<{
@@ -2201,6 +2221,7 @@ declare const publishedReferralSchema: z.ZodObject<{
2201
2221
  }, z.core.$strict>, z.ZodObject<{
2202
2222
  kind: z.ZodLiteral<"tier">;
2203
2223
  reward: z.ZodObject<{
2224
+ badge: z.ZodOptional<z.ZodString>;
2204
2225
  id: z.ZodString;
2205
2226
  title: z.ZodString;
2206
2227
  tiers: z.ZodArray<z.ZodObject<{
@@ -2229,6 +2250,7 @@ declare const publishedReferralSchema: z.ZodObject<{
2229
2250
  }, z.core.$strict>, z.ZodObject<{
2230
2251
  kind: z.ZodLiteral<"tier">;
2231
2252
  reward: z.ZodObject<{
2253
+ badge: z.ZodOptional<z.ZodString>;
2232
2254
  id: z.ZodString;
2233
2255
  title: z.ZodString;
2234
2256
  tiers: z.ZodArray<z.ZodObject<{
@@ -2349,6 +2371,7 @@ declare const referralSummarySchema: z.ZodObject<{
2349
2371
  }, z.core.$strict>, z.ZodObject<{
2350
2372
  kind: z.ZodLiteral<"tier">;
2351
2373
  reward: z.ZodObject<{
2374
+ badge: z.ZodOptional<z.ZodString>;
2352
2375
  id: z.ZodString;
2353
2376
  title: z.ZodString;
2354
2377
  tiers: z.ZodArray<z.ZodObject<{
@@ -2373,6 +2396,7 @@ declare const referralSummarySchema: z.ZodObject<{
2373
2396
  }, z.core.$strict>, z.ZodObject<{
2374
2397
  kind: z.ZodLiteral<"tier">;
2375
2398
  reward: z.ZodObject<{
2399
+ badge: z.ZodOptional<z.ZodString>;
2376
2400
  id: z.ZodString;
2377
2401
  title: z.ZodString;
2378
2402
  tiers: z.ZodArray<z.ZodObject<{
@@ -2401,6 +2425,7 @@ declare const referralSummarySchema: z.ZodObject<{
2401
2425
  }, z.core.$strict>, z.ZodObject<{
2402
2426
  kind: z.ZodLiteral<"tier">;
2403
2427
  reward: z.ZodObject<{
2428
+ badge: z.ZodOptional<z.ZodString>;
2404
2429
  id: z.ZodString;
2405
2430
  title: z.ZodString;
2406
2431
  tiers: z.ZodArray<z.ZodObject<{
@@ -2706,4 +2731,4 @@ declare const groupMemberPageSchema: z.ZodObject<{
2706
2731
  /** @compat output */
2707
2732
  type GroupMemberPage = z.infer<typeof groupMemberPageSchema>;
2708
2733
 
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 };
2734
+ 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, leaderboardDefinitionSchema as q, type AuthoringIdentity 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-BaVl2VBS.js';
2
+ import { P as PhotoResult } from './schema-Br3c1GOu.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
package/dist/index.d.ts CHANGED
@@ -1,15 +1,15 @@
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-CPqiF3dZ.js';
1
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';
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-DFSCmf3H.js';
3
- 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-BaVl2VBS.js';
3
+ 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-93pUw04R.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-Br3c1GOu.js';
4
5
  export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
5
6
  export { A as AccountConnection, a as AuthProvider } from './accounts-5ciAkCMP.js';
6
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-DYdUUhw2.js';
7
- 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-CpYt56Km.js';
8
- 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-Bi7lc54m.js';
9
- 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-BcEn_L46.js';
10
- export { O as Offer, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption } from './offers-Catj06u7.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-Bi4HipqI.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';
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-1h1387a3.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-jLLG7MML.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-BBSdMf0R.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-BEJ9qENg.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-D29SS12z.js';
13
13
  export { Q as QuizContent, S as StreakProgress } from './streaks-CWyq8Px5.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-CDyo-U4n.js';
15
15
  export { P as ParticipantDelivery } from './participant-rewards-3duLb8YJ.js';
package/dist/index.js CHANGED
@@ -5,33 +5,29 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-Y6SRF54G.js";
8
+ } from "./chunk-YGWB6GH3.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-XMBM2XD5.js";
11
+ } from "./chunk-T47OFHHX.js";
12
12
  import {
13
13
  QuestOutcomeState
14
- } from "./chunk-LLMJ2SUT.js";
14
+ } from "./chunk-IE4QOQUI.js";
15
15
  import {
16
16
  PointEntryKind
17
- } from "./chunk-UJACD6K2.js";
17
+ } from "./chunk-XSLRNFIY.js";
18
+ import "./chunk-5P5PTZ3T.js";
19
+ import "./chunk-GTM3XNMQ.js";
18
20
  import {
21
+ sessionMember
22
+ } from "./chunk-YXAK2637.js";
23
+ import {
24
+ AttemptStatus,
19
25
  RelayError,
20
26
  RelayErrorCode,
21
- isRelayError
22
- } from "./chunk-2UAVZCMH.js";
23
- import "./chunk-6QJ3LADK.js";
24
- import {
25
27
  RequestError,
28
+ isRelayError,
26
29
  isRequestError
27
- } from "./chunk-NPGENI7K.js";
28
- import "./chunk-YT3QKV2L.js";
29
- import {
30
- sessionMember
31
- } from "./chunk-PT5STHFH.js";
32
- import {
33
- AttemptStatus
34
- } from "./chunk-46C33ASD.js";
30
+ } from "./chunk-EMLDFUTV.js";
35
31
  export {
36
32
  AttemptStatus,
37
33
  PointEntryKind,
@@ -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-BdrcbKi_.js';
2
- export { E as Extracted } from './images-Cb8QHGjn.js';
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-CVac_nGZ.js';
2
+ export { E as Extracted } from './images-BPiPqVKn.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-BaVl2VBS.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-Br3c1GOu.js';
5
5
  import 'zod';
6
- import './pages-CpYt56Km.js';
7
- import './groups-Bi7lc54m.js';
8
- import './profiles-BHMVj0kM.js';
9
- import './automatic-outcomes-BcEn_L46.js';
10
- import './offers-Catj06u7.js';
11
- import './attempt-captures-DHwIVoRP.js';
12
- import './deployments-DIbKJO_Y.js';
6
+ import './pages-1h1387a3.js';
7
+ import './offers-CPqiF3dZ.js';
8
+ import './groups-jLLG7MML.js';
9
+ import './profiles-D29SS12z.js';
10
+ import './automatic-outcomes-BBSdMf0R.js';
11
+ import './attempt-captures-ByzZyggX.js';
12
+ import './deployments-Cz-tNK7Z.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,32 +9,31 @@ import {
9
9
  participantExchangeSchema,
10
10
  questConfiguration,
11
11
  sequenceCursorSchema
12
- } from "./chunk-NM3IYYPG.js";
12
+ } from "./chunk-UEPEKXOC.js";
13
13
  import {
14
14
  parseImageExtraction,
15
15
  parseImageResult
16
- } from "./chunk-W335CWYJ.js";
17
- import "./chunk-ZGH6NEG6.js";
16
+ } from "./chunk-CVQG2AZZ.js";
17
+ import "./chunk-JIQHUDVZ.js";
18
18
  import {
19
19
  sourceDataSchema,
20
20
  sourceRoles,
21
21
  validateQuestShape
22
- } from "./chunk-4OLQYRSA.js";
22
+ } from "./chunk-GMKJPHN4.js";
23
23
  import {
24
24
  isIntegrationParticipantPath,
25
25
  isParticipantRoute,
26
26
  participantRoutePattern,
27
27
  participantRoutes
28
- } from "./chunk-AXRMT33W.js";
28
+ } from "./chunk-UIHPWC4C.js";
29
29
  import {
30
30
  MANAGEMENT_TIMEOUT,
31
31
  lifetime,
32
32
  retryAfter,
33
33
  retrying
34
- } from "./chunk-6QJ3LADK.js";
35
- import "./chunk-NPGENI7K.js";
36
- import "./chunk-YT3QKV2L.js";
37
- import "./chunk-PT5STHFH.js";
34
+ } from "./chunk-5P5PTZ3T.js";
35
+ import "./chunk-GTM3XNMQ.js";
36
+ import "./chunk-YXAK2637.js";
38
37
  import {
39
38
  schemaCheckedReader,
40
39
  trackerDataBatchSteps,
@@ -43,7 +42,7 @@ import {
43
42
  trackerDataPathTypes,
44
43
  trackerDataRecordSteps,
45
44
  whereSchemaIssue
46
- } from "./chunk-46C33ASD.js";
45
+ } from "./chunk-EMLDFUTV.js";
47
46
  export {
48
47
  MANAGEMENT_TIMEOUT,
49
48
  REFERRAL_INTEGRATION_REWARD_ERROR,
@@ -1,6 +1,84 @@
1
- import { n as ResourceHandle } from './schema-BaVl2VBS.js';
2
- import { q as AuthoringIdentity } from './groups-Bi7lc54m.js';
3
1
  import { z } from 'zod';
2
+ import { q as ResourceHandle } from './schema-Br3c1GOu.js';
3
+ import { r as AuthoringIdentity } from './groups-jLLG7MML.js';
4
+
5
+ declare const badgePropertiesSchema: z.ZodObject<{
6
+ name: z.ZodString;
7
+ description: z.ZodDefault<z.ZodString>;
8
+ image: z.ZodString;
9
+ }, z.core.$strict>;
10
+ declare const badgeDeclarationSchema: z.ZodObject<{
11
+ name: z.ZodString;
12
+ description: z.ZodDefault<z.ZodString>;
13
+ image: z.ZodString;
14
+ key: z.ZodString;
15
+ }, z.core.$strict>;
16
+ declare const badgeSchema: z.ZodObject<{
17
+ name: z.ZodString;
18
+ description: z.ZodDefault<z.ZodString>;
19
+ image: z.ZodString;
20
+ id: z.ZodString;
21
+ key: z.ZodNullable<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ declare const managedBadgeSchema: z.ZodObject<{
24
+ name: z.ZodString;
25
+ description: z.ZodDefault<z.ZodString>;
26
+ image: z.ZodString;
27
+ id: z.ZodString;
28
+ key: z.ZodNullable<z.ZodString>;
29
+ archivedAt: z.ZodNullable<z.ZodNumber>;
30
+ }, z.core.$strip>;
31
+ declare const createBadgeSchema: z.ZodObject<{
32
+ name: z.ZodString;
33
+ description: z.ZodDefault<z.ZodString>;
34
+ image: z.ZodString;
35
+ key: z.ZodString;
36
+ actionId: z.ZodString;
37
+ }, z.core.$strict>;
38
+ declare const badgeArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
39
+ name: z.ZodString;
40
+ description: z.ZodDefault<z.ZodString>;
41
+ image: z.ZodString;
42
+ key: z.ZodString;
43
+ }, z.core.$strict>, z.ZodObject<{
44
+ code: z.ZodString;
45
+ }, z.core.$strict>]>;
46
+ declare const memberBadgeSchema: z.ZodObject<{
47
+ badge: z.ZodObject<{
48
+ name: z.ZodString;
49
+ description: z.ZodDefault<z.ZodString>;
50
+ image: z.ZodString;
51
+ id: z.ZodString;
52
+ key: z.ZodNullable<z.ZodString>;
53
+ }, z.core.$strip>;
54
+ awardedAt: z.ZodNumber;
55
+ }, z.core.$strip>;
56
+ declare const memberBadgesSchema: z.ZodObject<{
57
+ items: z.ZodArray<z.ZodObject<{
58
+ badge: z.ZodObject<{
59
+ name: z.ZodString;
60
+ description: z.ZodDefault<z.ZodString>;
61
+ image: z.ZodString;
62
+ id: z.ZodString;
63
+ key: z.ZodNullable<z.ZodString>;
64
+ }, z.core.$strip>;
65
+ awardedAt: z.ZodNumber;
66
+ }, z.core.$strip>>;
67
+ }, z.core.$strip>;
68
+ declare const badgeMutationSchema: z.ZodObject<{
69
+ actionId: z.ZodString;
70
+ reason: z.ZodString;
71
+ }, z.core.$strict>;
72
+ declare const badgeMutationResultSchema: z.ZodObject<{
73
+ badge: z.ZodString;
74
+ member: z.ZodString;
75
+ awarded: z.ZodBoolean;
76
+ changed: z.ZodBoolean;
77
+ }, z.core.$strip>;
78
+ type Badge = z.infer<typeof badgeSchema>;
79
+ type ManagedBadge = z.infer<typeof managedBadgeSchema>;
80
+ type MemberBadge = z.infer<typeof memberBadgeSchema>;
81
+ type MemberBadges = z.infer<typeof memberBadgesSchema>;
4
82
 
5
83
  declare const offerPriceSchema: z.ZodObject<{
6
84
  kind: z.ZodDefault<z.ZodLiteral<"points">>;
@@ -23,6 +101,7 @@ declare const offerDefinitionSchema: z.ZodObject<{
23
101
  reward: z.ZodObject<{
24
102
  kind: z.ZodLiteral<"tier">;
25
103
  reward: z.ZodObject<{
104
+ badge: z.ZodOptional<z.ZodString>;
26
105
  id: z.ZodString;
27
106
  title: z.ZodString;
28
107
  tiers: z.ZodArray<z.ZodObject<{
@@ -54,6 +133,7 @@ declare const offerAuthoringSchema: z.ZodPipe<z.ZodObject<{
54
133
  reward: z.ZodObject<{
55
134
  kind: z.ZodLiteral<"tier">;
56
135
  reward: z.ZodObject<{
136
+ badge: z.ZodOptional<z.ZodString>;
57
137
  id: z.ZodString;
58
138
  title: z.ZodString;
59
139
  tiers: z.ZodArray<z.ZodObject<{
@@ -102,6 +182,7 @@ declare const offerAuthoringSchema: z.ZodPipe<z.ZodObject<{
102
182
  } | {
103
183
  kind: "automatic";
104
184
  };
185
+ badge?: string | undefined;
105
186
  };
106
187
  tier: string;
107
188
  };
@@ -133,6 +214,7 @@ declare const offerAuthoringSchema: z.ZodPipe<z.ZodObject<{
133
214
  } | {
134
215
  kind: "automatic";
135
216
  };
217
+ badge?: string | undefined;
136
218
  };
137
219
  tier: string;
138
220
  };
@@ -153,6 +235,7 @@ declare const offerArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
153
235
  reward: z.ZodObject<{
154
236
  kind: z.ZodLiteral<"tier">;
155
237
  reward: z.ZodObject<{
238
+ badge: z.ZodOptional<z.ZodString>;
156
239
  id: z.ZodString;
157
240
  title: z.ZodString;
158
241
  tiers: z.ZodArray<z.ZodObject<{
@@ -201,6 +284,7 @@ declare const offerArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
201
284
  } | {
202
285
  kind: "automatic";
203
286
  };
287
+ badge?: string | undefined;
204
288
  };
205
289
  tier: string;
206
290
  };
@@ -232,6 +316,7 @@ declare const offerArtifactSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
232
316
  } | {
233
317
  kind: "automatic";
234
318
  };
319
+ badge?: string | undefined;
235
320
  };
236
321
  tier: string;
237
322
  };
@@ -268,6 +353,7 @@ declare const offerSchema: z.ZodObject<{
268
353
  reward: z.ZodObject<{
269
354
  kind: z.ZodLiteral<"tier">;
270
355
  reward: z.ZodObject<{
356
+ badge: z.ZodOptional<z.ZodString>;
271
357
  id: z.ZodString;
272
358
  title: z.ZodString;
273
359
  tiers: z.ZodArray<z.ZodObject<{
@@ -324,6 +410,7 @@ declare const redemptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
324
410
  reward: z.ZodObject<{
325
411
  kind: z.ZodLiteral<"tier">;
326
412
  reward: z.ZodObject<{
413
+ badge: z.ZodOptional<z.ZodString>;
327
414
  id: z.ZodString;
328
415
  title: z.ZodString;
329
416
  tiers: z.ZodArray<z.ZodObject<{
@@ -360,6 +447,7 @@ declare const redemptionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
360
447
  reward: z.ZodObject<{
361
448
  kind: z.ZodLiteral<"tier">;
362
449
  reward: z.ZodObject<{
450
+ badge: z.ZodOptional<z.ZodString>;
363
451
  id: z.ZodString;
364
452
  title: z.ZodString;
365
453
  tiers: z.ZodArray<z.ZodObject<{
@@ -417,6 +505,7 @@ declare function defineOffer(input: OfferAuthoring & AuthoringIdentity): {
417
505
  } | {
418
506
  kind: "automatic";
419
507
  };
508
+ badge?: string | undefined;
420
509
  };
421
510
  tier: string;
422
511
  };
@@ -429,4 +518,4 @@ declare function defineOffer(input: OfferAuthoring & AuthoringIdentity): {
429
518
  key: string;
430
519
  } & ResourceHandle<"offer">;
431
520
 
432
- export { type Offer as O, type RedeemOfferInput as R, type OfferDefinition as a, type OfferPrice as b, type Redemption as c, defineOffer as d, type OfferAuthoring as e, offerAuthoringSchema as f, offerAvailabilitySchema as g, offerControlSchema as h, offerDefinitionSchema as i, offerLimitSchema as j, offerPriceSchema as k, offerSchema as l, redemptionCancellationSchema as m, redemptionSchema as n, offerArtifactSchema as o, redeemOfferSchema as r };
521
+ export { redemptionCancellationSchema as A, type Badge as B, redemptionSchema as C, type ManagedBadge as M, type Offer as O, type RedeemOfferInput as R, type MemberBadge as a, type MemberBadges as b, type OfferDefinition as c, type OfferPrice as d, type Redemption as e, badgeDeclarationSchema as f, defineOffer as g, type OfferAuthoring as h, badgeArtifactSchema as i, badgeMutationResultSchema as j, badgeMutationSchema as k, badgePropertiesSchema as l, badgeSchema as m, createBadgeSchema as n, managedBadgeSchema as o, memberBadgeSchema as p, memberBadgesSchema as q, offerArtifactSchema as r, offerAuthoringSchema as s, offerAvailabilitySchema as t, offerControlSchema as u, offerDefinitionSchema as v, offerLimitSchema as w, offerPriceSchema as x, offerSchema as y, redeemOfferSchema as z };