@domino-sdk/relay 1.62.0 → 1.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/CHANGELOG.md +145 -0
  2. package/dist/{accounts-CCqCKCVx.d.ts → accounts-_lNsiR2k.d.ts} +42 -4
  3. package/dist/{attempt-captures-Cm-5G0PC.d.ts → attempt-captures-BqPggxTU.d.ts} +1 -1
  4. package/dist/authoring.d.ts +54 -20
  5. package/dist/authoring.js +60 -31
  6. package/dist/{automatic-outcomes-pAsOyIVp.d.ts → automatic-outcomes-BzAvfcpd.d.ts} +11 -1
  7. package/dist/avatar.d.ts +1 -1
  8. package/dist/browser.d.ts +10 -10
  9. package/dist/browser.js +12 -13
  10. package/dist/capability-error-CuI_F7yM.d.ts +296 -0
  11. package/dist/{catalog--ZIlskAo.d.ts → catalog-ByZMRS7I.d.ts} +21 -10
  12. package/dist/{chunk-XNKSSE32.js → chunk-4NIV4NPV.js} +7 -7
  13. package/dist/chunk-7H4MRVQF.js +199 -0
  14. package/dist/{chunk-UPQPUJOU.js → chunk-CVQZ2YP7.js} +73 -202
  15. package/dist/{chunk-3PYYGFSB.js → chunk-DLABJSBO.js} +3 -3
  16. package/dist/{chunk-Y322OTCH.js → chunk-E22XSC4L.js} +1 -1
  17. package/dist/{chunk-E6IKQHTX.js → chunk-EDNKKVGU.js} +2 -2
  18. package/dist/{chunk-K2KS3JLY.js → chunk-EOUEAOWJ.js} +35 -4
  19. package/dist/{chunk-6WCIWXUV.js → chunk-EUEW2APU.js} +2 -2
  20. package/dist/{chunk-MK425RXJ.js → chunk-HNR6G3GV.js} +2335 -1538
  21. package/dist/{chunk-UW5232GG.js → chunk-KCUUHT2V.js} +5 -5
  22. package/dist/{chunk-CICDIBOF.js → chunk-MPTE7EIV.js} +76 -74
  23. package/dist/{chunk-4OC7REYX.js → chunk-MWMCQLCG.js} +3 -3
  24. package/dist/{chunk-GTDW453U.js → chunk-NG4GZ54I.js} +100 -114
  25. package/dist/chunk-R2KZFX6E.js +405 -0
  26. package/dist/{chunk-HTZHBTIL.js → chunk-RD3XJ4DH.js} +208 -376
  27. package/dist/{chunk-5TEYFX6X.js → chunk-SE7XHQFP.js} +2 -2
  28. package/dist/{chunk-CZFXGGEK.js → chunk-U66GUVSG.js} +2 -2
  29. package/dist/{chunk-KDR2VAJP.js → chunk-UYVJZR33.js} +2 -2
  30. package/dist/chunk-UZ765UGH.js +18 -0
  31. package/dist/{chunk-GKIFABGN.js → chunk-VBYOAT46.js} +100 -277
  32. package/dist/{chunk-QYPMPWVX.js → chunk-XVZ4YOF2.js} +43 -43
  33. package/dist/{chunk-3KLC4AMA.js → chunk-ZQ3IPCI6.js} +177 -176
  34. package/dist/chunk-ZXGBDLVB.js +1510 -0
  35. package/dist/{client-B-hbHX30.d.ts → client-D7IiwEq2.d.ts} +31 -62
  36. package/dist/{capability-error-DFMwSuSf.d.ts → dashboards-pVfclkyh.d.ts} +14 -294
  37. package/dist/{deployments-M4OHn7G3.d.ts → deployments-Cr1tfqrr.d.ts} +46 -3
  38. package/dist/{identity-integration-3mX6b5iH.d.ts → identity-integration-Ci2vGKtX.d.ts} +67 -2
  39. package/dist/index.d.ts +11 -11
  40. package/dist/index.js +11 -13
  41. package/dist/internal.d.ts +27 -13
  42. package/dist/internal.js +46 -13
  43. package/dist/{analytics-BwAKLi7O.d.ts → limits-pE04y9O2.d.ts} +131 -3
  44. package/dist/{offers-DhAtss4_.d.ts → offers-Hw2P6tcK.d.ts} +3 -2
  45. package/dist/{participant-activity-D-Drp24G.d.ts → participant-activity-DXRq4s6K.d.ts} +1 -0
  46. package/dist/portal-proxy.d.ts +21 -3
  47. package/dist/portal-proxy.js +72 -22
  48. package/dist/react/index.d.ts +29 -15
  49. package/dist/react/index.js +52 -29
  50. package/dist/{pages-B8q8Y_dQ.d.ts → reward-deliveries-BCV8hznc.d.ts} +300 -233
  51. package/dist/runtime/authoring.js +1 -1
  52. package/dist/runtime/chunks/6EBN6IZU.js +1 -0
  53. package/dist/runtime/manifest.json +3 -3
  54. package/dist/runtime/schema.js +1 -1
  55. package/dist/schema.d.ts +197 -19
  56. package/dist/schema.js +126 -124
  57. package/dist/server/index.d.ts +13 -13
  58. package/dist/server/index.js +5701 -6302
  59. package/dist/{sign-in-providers-BkjcDsFF.d.ts → sign-in-providers-BAkGjSXo.d.ts} +7 -2
  60. package/dist/{submission-input-DHGKhXfp.d.ts → submission-input-ChL1aYNH.d.ts} +3 -2
  61. package/dist/{telegram-browser-BCE7zdOb.d.ts → telegram-browser-K27t4TwM.d.ts} +5 -5
  62. package/dist/telegram.d.ts +9 -9
  63. package/dist/telegram.js +2 -2
  64. package/dist/testing.d.ts +229 -27
  65. package/dist/testing.js +146 -105
  66. package/dist/{tracker-data-Hb1uQnk5.d.ts → tracker-data-Bl-qPIvZ.d.ts} +37 -9
  67. package/dist/{transport-DkhX2Cbs.d.ts → transport-DC1m73Tp.d.ts} +40211 -37736
  68. package/dist/{wallet-DTO7SXj7.d.ts → wallet-B7e06v4m.d.ts} +14 -4
  69. package/package.json +1 -1
  70. package/dist/chunk-D26YNACF.js +0 -320
  71. package/dist/chunk-UAKYDVT3.js +0 -565
  72. package/dist/chunk-WSBYWVTZ.js +0 -717
  73. package/dist/chunk-XJFYAXET.js +0 -87
  74. package/dist/runtime/chunks/Y4OAVXFR.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import * as z from 'zod';
2
- import { S as SolanaIdlSource } from './wallet-DTO7SXj7.js';
3
- import { W as IntegrationModuleProvider, X as RewardType } from './accounts-CCqCKCVx.js';
4
- import { O as OpenIdentityKind, f as TrackerDataSchema } from './tracker-data-Hb1uQnk5.js';
2
+ import { S as SolanaIdlSource } from './wallet-B7e06v4m.js';
3
+ import { W as IntegrationModuleProvider, X as RewardType } from './accounts-_lNsiR2k.js';
4
+ import { O as OpenIdentityKind, i as TrackerDataSchema } from './tracker-data-Bl-qPIvZ.js';
5
5
 
6
6
  /** Shared with participant activity. Types remain open to future event kinds. */
7
7
  declare const activityTypes: {
@@ -1181,6 +1181,7 @@ declare const deploymentQuestChangeSchema: z.ZodObject<{
1181
1181
  createdAt: z.ZodNumber;
1182
1182
  }, z.core.$strip>>;
1183
1183
  }, z.core.$strip>;
1184
+ /** What a deployment does to one of its quests: `created`, `updated` or `unchanged`. */
1184
1185
  type DeploymentQuestChange = z.infer<typeof deploymentQuestChangeSchema>;
1185
1186
  declare const deploymentPreviewSchema: z.ZodObject<{
1186
1187
  id: z.ZodString;
@@ -1529,6 +1530,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1529
1530
  multiline: z.ZodBoolean;
1530
1531
  picker: z.ZodOptional<z.ZodString>;
1531
1532
  decimals: z.ZodOptional<z.ZodNumber>;
1533
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
1532
1534
  label: z.ZodString;
1533
1535
  description: z.ZodOptional<z.ZodString>;
1534
1536
  }, z.core.$strict>, z.ZodObject<{
@@ -1927,6 +1929,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
1927
1929
  source: z.ZodType<SolanaIdlSource>;
1928
1930
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1929
1931
  }, z.core.$strict>>>;
1932
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1930
1933
  }, z.core.$strict>>;
1931
1934
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1932
1935
  quest: z.ZodString;
@@ -2059,6 +2062,7 @@ declare const deploymentPreviewSchema: z.ZodObject<{
2059
2062
  multiline: z.ZodBoolean;
2060
2063
  picker: z.ZodOptional<z.ZodString>;
2061
2064
  decimals: z.ZodOptional<z.ZodNumber>;
2065
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
2062
2066
  label: z.ZodString;
2063
2067
  description: z.ZodOptional<z.ZodString>;
2064
2068
  }, z.core.$strict>, z.ZodObject<{
@@ -3221,6 +3225,7 @@ declare const deploymentResultSchema: z.ZodObject<{
3221
3225
  multiline: z.ZodBoolean;
3222
3226
  picker: z.ZodOptional<z.ZodString>;
3223
3227
  decimals: z.ZodOptional<z.ZodNumber>;
3228
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
3224
3229
  label: z.ZodString;
3225
3230
  description: z.ZodOptional<z.ZodString>;
3226
3231
  }, z.core.$strict>, z.ZodObject<{
@@ -3619,6 +3624,7 @@ declare const deploymentResultSchema: z.ZodObject<{
3619
3624
  source: z.ZodType<SolanaIdlSource>;
3620
3625
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
3621
3626
  }, z.core.$strict>>>;
3627
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
3622
3628
  }, z.core.$strict>>;
3623
3629
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
3624
3630
  quest: z.ZodString;
@@ -3751,6 +3757,7 @@ declare const deploymentResultSchema: z.ZodObject<{
3751
3757
  multiline: z.ZodBoolean;
3752
3758
  picker: z.ZodOptional<z.ZodString>;
3753
3759
  decimals: z.ZodOptional<z.ZodNumber>;
3760
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
3754
3761
  label: z.ZodString;
3755
3762
  description: z.ZodOptional<z.ZodString>;
3756
3763
  }, z.core.$strict>, z.ZodObject<{
@@ -4916,6 +4923,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4916
4923
  multiline: z.ZodBoolean;
4917
4924
  picker: z.ZodOptional<z.ZodString>;
4918
4925
  decimals: z.ZodOptional<z.ZodNumber>;
4926
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
4919
4927
  label: z.ZodString;
4920
4928
  description: z.ZodOptional<z.ZodString>;
4921
4929
  }, z.core.$strict>, z.ZodObject<{
@@ -5314,6 +5322,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5314
5322
  source: z.ZodType<SolanaIdlSource>;
5315
5323
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
5316
5324
  }, z.core.$strict>>>;
5325
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
5317
5326
  }, z.core.$strict>>;
5318
5327
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
5319
5328
  quest: z.ZodString;
@@ -5446,6 +5455,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5446
5455
  multiline: z.ZodBoolean;
5447
5456
  picker: z.ZodOptional<z.ZodString>;
5448
5457
  decimals: z.ZodOptional<z.ZodNumber>;
5458
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
5449
5459
  label: z.ZodString;
5450
5460
  description: z.ZodOptional<z.ZodString>;
5451
5461
  }, z.core.$strict>, z.ZodObject<{
@@ -6612,6 +6622,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6612
6622
  multiline: z.ZodBoolean;
6613
6623
  picker: z.ZodOptional<z.ZodString>;
6614
6624
  decimals: z.ZodOptional<z.ZodNumber>;
6625
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
6615
6626
  label: z.ZodString;
6616
6627
  description: z.ZodOptional<z.ZodString>;
6617
6628
  }, z.core.$strict>, z.ZodObject<{
@@ -7010,6 +7021,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7010
7021
  source: z.ZodType<SolanaIdlSource>;
7011
7022
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
7012
7023
  }, z.core.$strict>>>;
7024
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
7013
7025
  }, z.core.$strict>>;
7014
7026
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
7015
7027
  quest: z.ZodString;
@@ -7142,6 +7154,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7142
7154
  multiline: z.ZodBoolean;
7143
7155
  picker: z.ZodOptional<z.ZodString>;
7144
7156
  decimals: z.ZodOptional<z.ZodNumber>;
7157
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
7145
7158
  label: z.ZodString;
7146
7159
  description: z.ZodOptional<z.ZodString>;
7147
7160
  }, z.core.$strict>, z.ZodObject<{
@@ -8310,6 +8323,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8310
8323
  multiline: z.ZodBoolean;
8311
8324
  picker: z.ZodOptional<z.ZodString>;
8312
8325
  decimals: z.ZodOptional<z.ZodNumber>;
8326
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
8313
8327
  label: z.ZodString;
8314
8328
  description: z.ZodOptional<z.ZodString>;
8315
8329
  }, z.core.$strict>, z.ZodObject<{
@@ -8708,6 +8722,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8708
8722
  source: z.ZodType<SolanaIdlSource>;
8709
8723
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
8710
8724
  }, z.core.$strict>>>;
8725
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
8711
8726
  }, z.core.$strict>>;
8712
8727
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
8713
8728
  quest: z.ZodString;
@@ -8840,6 +8855,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8840
8855
  multiline: z.ZodBoolean;
8841
8856
  picker: z.ZodOptional<z.ZodString>;
8842
8857
  decimals: z.ZodOptional<z.ZodNumber>;
8858
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
8843
8859
  label: z.ZodString;
8844
8860
  description: z.ZodOptional<z.ZodString>;
8845
8861
  }, z.core.$strict>, z.ZodObject<{
@@ -10011,6 +10027,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10011
10027
  multiline: z.ZodBoolean;
10012
10028
  picker: z.ZodOptional<z.ZodString>;
10013
10029
  decimals: z.ZodOptional<z.ZodNumber>;
10030
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
10014
10031
  label: z.ZodString;
10015
10032
  description: z.ZodOptional<z.ZodString>;
10016
10033
  }, z.core.$strict>, z.ZodObject<{
@@ -10409,6 +10426,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10409
10426
  source: z.ZodType<SolanaIdlSource>;
10410
10427
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
10411
10428
  }, z.core.$strict>>>;
10429
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
10412
10430
  }, z.core.$strict>>;
10413
10431
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
10414
10432
  quest: z.ZodString;
@@ -10541,6 +10559,7 @@ declare const deploymentRecordSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10541
10559
  multiline: z.ZodBoolean;
10542
10560
  picker: z.ZodOptional<z.ZodString>;
10543
10561
  decimals: z.ZodOptional<z.ZodNumber>;
10562
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
10544
10563
  label: z.ZodString;
10545
10564
  description: z.ZodOptional<z.ZodString>;
10546
10565
  }, z.core.$strict>, z.ZodObject<{
@@ -11725,6 +11744,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
11725
11744
  multiline: z.ZodBoolean;
11726
11745
  picker: z.ZodOptional<z.ZodString>;
11727
11746
  decimals: z.ZodOptional<z.ZodNumber>;
11747
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
11728
11748
  label: z.ZodString;
11729
11749
  description: z.ZodOptional<z.ZodString>;
11730
11750
  }, z.core.$strict>, z.ZodObject<{
@@ -12123,6 +12143,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
12123
12143
  source: z.ZodType<SolanaIdlSource>;
12124
12144
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
12125
12145
  }, z.core.$strict>>>;
12146
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
12126
12147
  }, z.core.$strict>>;
12127
12148
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
12128
12149
  quest: z.ZodString;
@@ -12255,6 +12276,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
12255
12276
  multiline: z.ZodBoolean;
12256
12277
  picker: z.ZodOptional<z.ZodString>;
12257
12278
  decimals: z.ZodOptional<z.ZodNumber>;
12279
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
12258
12280
  label: z.ZodString;
12259
12281
  description: z.ZodOptional<z.ZodString>;
12260
12282
  }, z.core.$strict>, z.ZodObject<{
@@ -13421,6 +13443,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
13421
13443
  multiline: z.ZodBoolean;
13422
13444
  picker: z.ZodOptional<z.ZodString>;
13423
13445
  decimals: z.ZodOptional<z.ZodNumber>;
13446
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
13424
13447
  label: z.ZodString;
13425
13448
  description: z.ZodOptional<z.ZodString>;
13426
13449
  }, z.core.$strict>, z.ZodObject<{
@@ -13819,6 +13842,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
13819
13842
  source: z.ZodType<SolanaIdlSource>;
13820
13843
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
13821
13844
  }, z.core.$strict>>>;
13845
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
13822
13846
  }, z.core.$strict>>;
13823
13847
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
13824
13848
  quest: z.ZodString;
@@ -13951,6 +13975,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
13951
13975
  multiline: z.ZodBoolean;
13952
13976
  picker: z.ZodOptional<z.ZodString>;
13953
13977
  decimals: z.ZodOptional<z.ZodNumber>;
13978
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
13954
13979
  label: z.ZodString;
13955
13980
  description: z.ZodOptional<z.ZodString>;
13956
13981
  }, z.core.$strict>, z.ZodObject<{
@@ -15119,6 +15144,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
15119
15144
  multiline: z.ZodBoolean;
15120
15145
  picker: z.ZodOptional<z.ZodString>;
15121
15146
  decimals: z.ZodOptional<z.ZodNumber>;
15147
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
15122
15148
  label: z.ZodString;
15123
15149
  description: z.ZodOptional<z.ZodString>;
15124
15150
  }, z.core.$strict>, z.ZodObject<{
@@ -15517,6 +15543,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
15517
15543
  source: z.ZodType<SolanaIdlSource>;
15518
15544
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
15519
15545
  }, z.core.$strict>>>;
15546
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
15520
15547
  }, z.core.$strict>>;
15521
15548
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
15522
15549
  quest: z.ZodString;
@@ -15649,6 +15676,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
15649
15676
  multiline: z.ZodBoolean;
15650
15677
  picker: z.ZodOptional<z.ZodString>;
15651
15678
  decimals: z.ZodOptional<z.ZodNumber>;
15679
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
15652
15680
  label: z.ZodString;
15653
15681
  description: z.ZodOptional<z.ZodString>;
15654
15682
  }, z.core.$strict>, z.ZodObject<{
@@ -16820,6 +16848,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
16820
16848
  multiline: z.ZodBoolean;
16821
16849
  picker: z.ZodOptional<z.ZodString>;
16822
16850
  decimals: z.ZodOptional<z.ZodNumber>;
16851
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
16823
16852
  label: z.ZodString;
16824
16853
  description: z.ZodOptional<z.ZodString>;
16825
16854
  }, z.core.$strict>, z.ZodObject<{
@@ -17218,6 +17247,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
17218
17247
  source: z.ZodType<SolanaIdlSource>;
17219
17248
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
17220
17249
  }, z.core.$strict>>>;
17250
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
17221
17251
  }, z.core.$strict>>;
17222
17252
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
17223
17253
  quest: z.ZodString;
@@ -17350,6 +17380,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
17350
17380
  multiline: z.ZodBoolean;
17351
17381
  picker: z.ZodOptional<z.ZodString>;
17352
17382
  decimals: z.ZodOptional<z.ZodNumber>;
17383
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
17353
17384
  label: z.ZodString;
17354
17385
  description: z.ZodOptional<z.ZodString>;
17355
17386
  }, z.core.$strict>, z.ZodObject<{
@@ -18522,6 +18553,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
18522
18553
  multiline: z.ZodBoolean;
18523
18554
  picker: z.ZodOptional<z.ZodString>;
18524
18555
  decimals: z.ZodOptional<z.ZodNumber>;
18556
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
18525
18557
  label: z.ZodString;
18526
18558
  description: z.ZodOptional<z.ZodString>;
18527
18559
  }, z.core.$strict>, z.ZodObject<{
@@ -18920,6 +18952,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
18920
18952
  source: z.ZodType<SolanaIdlSource>;
18921
18953
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
18922
18954
  }, z.core.$strict>>>;
18955
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
18923
18956
  }, z.core.$strict>>;
18924
18957
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
18925
18958
  quest: z.ZodString;
@@ -19052,6 +19085,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
19052
19085
  multiline: z.ZodBoolean;
19053
19086
  picker: z.ZodOptional<z.ZodString>;
19054
19087
  decimals: z.ZodOptional<z.ZodNumber>;
19088
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
19055
19089
  label: z.ZodString;
19056
19090
  description: z.ZodOptional<z.ZodString>;
19057
19091
  }, z.core.$strict>, z.ZodObject<{
@@ -20218,6 +20252,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
20218
20252
  multiline: z.ZodBoolean;
20219
20253
  picker: z.ZodOptional<z.ZodString>;
20220
20254
  decimals: z.ZodOptional<z.ZodNumber>;
20255
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
20221
20256
  label: z.ZodString;
20222
20257
  description: z.ZodOptional<z.ZodString>;
20223
20258
  }, z.core.$strict>, z.ZodObject<{
@@ -20616,6 +20651,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
20616
20651
  source: z.ZodType<SolanaIdlSource>;
20617
20652
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
20618
20653
  }, z.core.$strict>>>;
20654
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
20619
20655
  }, z.core.$strict>>;
20620
20656
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
20621
20657
  quest: z.ZodString;
@@ -20748,6 +20784,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
20748
20784
  multiline: z.ZodBoolean;
20749
20785
  picker: z.ZodOptional<z.ZodString>;
20750
20786
  decimals: z.ZodOptional<z.ZodNumber>;
20787
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
20751
20788
  label: z.ZodString;
20752
20789
  description: z.ZodOptional<z.ZodString>;
20753
20790
  }, z.core.$strict>, z.ZodObject<{
@@ -21916,6 +21953,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
21916
21953
  multiline: z.ZodBoolean;
21917
21954
  picker: z.ZodOptional<z.ZodString>;
21918
21955
  decimals: z.ZodOptional<z.ZodNumber>;
21956
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
21919
21957
  label: z.ZodString;
21920
21958
  description: z.ZodOptional<z.ZodString>;
21921
21959
  }, z.core.$strict>, z.ZodObject<{
@@ -22314,6 +22352,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
22314
22352
  source: z.ZodType<SolanaIdlSource>;
22315
22353
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
22316
22354
  }, z.core.$strict>>>;
22355
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
22317
22356
  }, z.core.$strict>>;
22318
22357
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
22319
22358
  quest: z.ZodString;
@@ -22446,6 +22485,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
22446
22485
  multiline: z.ZodBoolean;
22447
22486
  picker: z.ZodOptional<z.ZodString>;
22448
22487
  decimals: z.ZodOptional<z.ZodNumber>;
22488
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
22449
22489
  label: z.ZodString;
22450
22490
  description: z.ZodOptional<z.ZodString>;
22451
22491
  }, z.core.$strict>, z.ZodObject<{
@@ -23617,6 +23657,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
23617
23657
  multiline: z.ZodBoolean;
23618
23658
  picker: z.ZodOptional<z.ZodString>;
23619
23659
  decimals: z.ZodOptional<z.ZodNumber>;
23660
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
23620
23661
  label: z.ZodString;
23621
23662
  description: z.ZodOptional<z.ZodString>;
23622
23663
  }, z.core.$strict>, z.ZodObject<{
@@ -24015,6 +24056,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
24015
24056
  source: z.ZodType<SolanaIdlSource>;
24016
24057
  idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
24017
24058
  }, z.core.$strict>>>;
24059
+ withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
24018
24060
  }, z.core.$strict>>;
24019
24061
  questChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
24020
24062
  quest: z.ZodString;
@@ -24147,6 +24189,7 @@ declare const deploymentHistoryPageSchema: z.ZodObject<{
24147
24189
  multiline: z.ZodBoolean;
24148
24190
  picker: z.ZodOptional<z.ZodString>;
24149
24191
  decimals: z.ZodOptional<z.ZodNumber>;
24192
+ secret: z.ZodOptional<z.ZodLiteral<true>>;
24150
24193
  label: z.ZodString;
24151
24194
  description: z.ZodOptional<z.ZodString>;
24152
24195
  }, z.core.$strict>, z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { O as OpenIdentityKind } from './tracker-data-Hb1uQnk5.js';
1
+ import { O as OpenIdentityKind } from './tracker-data-Bl-qPIvZ.js';
2
2
  import * as z from 'zod';
3
3
 
4
4
  /**
@@ -576,6 +576,8 @@ declare const MemberImportRefusalCode: {
576
576
  readonly AccountLinkedElsewhere: "account-linked-elsewhere";
577
577
  /** An operator unlinked the row's app identity. */
578
578
  readonly IdentityUnlinked: "identity-unlinked";
579
+ /** The row's identity names a member an operator banned (`members.ban`). */
580
+ readonly MemberBanned: "member-banned";
579
581
  /** An earlier row of the import names the same account. */
580
582
  readonly DuplicateAccount: "duplicate-account";
581
583
  /** The row names two X accounts, or the member already has another X account selected. */
@@ -727,6 +729,7 @@ type MemberImportSummary = z.infer<typeof memberImportSummarySchema>;
727
729
  declare const memberImportCommandSchema: z.ZodObject<{
728
730
  actionId: z.ZodOptional<z.ZodString>;
729
731
  }, z.core.$strict>;
732
+ /** Checking, applying, cancelling or stopping an import, with an optional `actionId` for retries. */
730
733
  type MemberImportCommandInput = z.input<typeof memberImportCommandSchema>;
731
734
  /** Reverting an import: why, for the audit log and the reversing point entries. */
732
735
  declare const memberImportRevertInputSchema: z.ZodObject<{
@@ -1036,6 +1039,7 @@ declare const identityIntegrationSchema: z.ZodObject<{
1036
1039
  live: "live";
1037
1040
  }>;
1038
1041
  }, z.core.$strip>;
1042
+ /** An identity integration as responses return it. */
1039
1043
  type IdentityIntegration = z.infer<typeof identityIntegrationSchema>;
1040
1044
  declare const identityIntegrationSecretSchema: z.ZodObject<{
1041
1045
  id: z.ZodString;
@@ -1060,6 +1064,39 @@ declare const identityIntegrationSecretSchema: z.ZodObject<{
1060
1064
  }>;
1061
1065
  token: z.ZodString;
1062
1066
  }, z.core.$strip>;
1067
+ /**
1068
+ * An integration whose new secret was stored as a hosted app secret (`appSecret`) instead of
1069
+ * answered: no response ever carries that secret.
1070
+ */
1071
+ declare const identityIntegrationAppSecretSchema: z.ZodObject<{
1072
+ id: z.ZodString;
1073
+ name: z.ZodString;
1074
+ origin: z.ZodString;
1075
+ expiresAt: z.ZodNumber;
1076
+ secrets: z.ZodDefault<z.ZodArray<z.ZodObject<{
1077
+ id: z.ZodString;
1078
+ hint: z.ZodNullable<z.ZodString>;
1079
+ createdAt: z.ZodNumber;
1080
+ expiresAt: z.ZodNullable<z.ZodNumber>;
1081
+ lastUsedAt: z.ZodNullable<z.ZodNumber>;
1082
+ }, z.core.$strip>>>;
1083
+ lastUsedAt: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1084
+ identityKind: z.ZodDefault<z.ZodNullable<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
1085
+ vouchesAccounts: z.ZodDefault<z.ZodBoolean>;
1086
+ organization: z.ZodString;
1087
+ project: z.ZodString;
1088
+ environment: z.ZodEnum<{
1089
+ test: "test";
1090
+ live: "live";
1091
+ }>;
1092
+ appSecret: z.ZodObject<{
1093
+ name: z.ZodString;
1094
+ updatedAt: z.ZodNumber;
1095
+ updatedBy: z.ZodString;
1096
+ }, z.core.$strip>;
1097
+ }, z.core.$strip>;
1098
+ /** An identity integration whose new secret was stored as a hosted app secret. */
1099
+ type IdentityIntegrationAppSecret = z.infer<typeof identityIntegrationAppSecretSchema>;
1063
1100
  /**
1064
1101
  * An `app:<name>` kind claimed in the project and environment, and the integration that owns its
1065
1102
  * identities: the live one, or the disconnected one a new integration would adopt them from.
@@ -1083,6 +1120,7 @@ declare const identityIntegrationAccountVouchingInputSchema: z.ZodObject<{
1083
1120
  reason: z.ZodString;
1084
1121
  actionId: z.ZodOptional<z.ZodString>;
1085
1122
  }, z.core.$strict>;
1123
+ /** Turns account vouching on or off for an integration, with the reason the audit log keeps. */
1086
1124
  type IdentityIntegrationAccountVouchingInput = z.input<typeof identityIntegrationAccountVouchingInputSchema>;
1087
1125
  /**
1088
1126
  * The accounts an app's server vouches for when it signs a member in, as a member import's row
@@ -1138,6 +1176,7 @@ declare const participantExchangeSchema: z.ZodObject<{
1138
1176
  subject: z.ZodString;
1139
1177
  }, z.core.$strict>]>>>;
1140
1178
  }, z.core.$strict>;
1179
+ /** What an app's server sends to exchange its signed-in user for a Relay member session. */
1141
1180
  type ParticipantExchangeInput = z.input<typeof participantExchangeSchema>;
1142
1181
  /**
1143
1182
  * What the exchange did with one vouched account: `attached` it, found it `already-linked` to the
@@ -1172,6 +1211,7 @@ declare const participantExchangeAccountResultSchema: z.ZodObject<{
1172
1211
  code: z.ZodOptional<z.ZodType<MemberImportRefusalCode, unknown, z.core.$ZodTypeInternals<MemberImportRefusalCode, unknown>>>;
1173
1212
  message: z.ZodOptional<z.ZodString>;
1174
1213
  }, z.core.$strip>;
1214
+ /** What the exchange did with one vouched account: `attached`, `already-linked` or `refused`. */
1175
1215
  type ParticipantExchangeAccountResult = z.infer<typeof participantExchangeAccountResultSchema>;
1176
1216
  /**
1177
1217
  * An exchange's answer: the member's session token and session, and, when the request vouched for
@@ -1228,7 +1268,31 @@ declare const participantExchangeResultSchema: z.ZodObject<{
1228
1268
  message: z.ZodOptional<z.ZodString>;
1229
1269
  }, z.core.$strip>>>;
1230
1270
  }, z.core.$strip>;
1271
+ /** An exchange's answer: the member's session, and what happened to each vouched account. */
1231
1272
  type ParticipantExchangeResult = z.infer<typeof participantExchangeResultSchema>;
1273
+ /** The environments an app login key can belong to. @compat open */
1274
+ type KnownIdentityIntegrationEnvironment = "test" | "live";
1275
+ /**
1276
+ * What `GET /v1/auth/integration` answers for a working app login key (`di_…`): the integration it
1277
+ * belongs to, never a secret. `secretExpiresAt` is when the key presented expires, null when it
1278
+ * never does. `appOrigins` are the origins Domino serves the project's app from in the key's
1279
+ * environment: the staging host in test, the live host and any active custom domain in live; empty
1280
+ * where this Relay hosts no apps. Fields a newer Relay adds are ignored.
1281
+ */
1282
+ declare const identityIntegrationKeySchema: z.ZodObject<{
1283
+ id: z.ZodString;
1284
+ name: z.ZodString;
1285
+ organization: z.ZodString;
1286
+ project: z.ZodString;
1287
+ environment: z.ZodType<KnownIdentityIntegrationEnvironment | (string & {})>;
1288
+ origin: z.ZodString;
1289
+ identityKind: z.ZodDefault<z.ZodNullable<z.ZodType<OpenIdentityKind, unknown, z.core.$ZodTypeInternals<OpenIdentityKind, unknown>>>>;
1290
+ vouchesAccounts: z.ZodDefault<z.ZodBoolean>;
1291
+ secretExpiresAt: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1292
+ appOrigins: z.ZodDefault<z.ZodArray<z.ZodString>>;
1293
+ }, z.core.$strip>;
1294
+ /** The integration an app login key belongs to, as `inspectIntegrationKey` returns it. */
1295
+ type IdentityIntegrationKey = z.infer<typeof identityIntegrationKeySchema>;
1232
1296
  /**
1233
1297
  * The app login whose server vouched for an account when it signed the member in.
1234
1298
  */
@@ -1236,6 +1300,7 @@ declare const accountVouchedBySchema: z.ZodObject<{
1236
1300
  integration: z.ZodString;
1237
1301
  integrationName: z.ZodString;
1238
1302
  }, z.core.$strip>;
1303
+ /** The app login whose server vouched for an account when it signed the member in. */
1239
1304
  type AccountVouchedBy = z.infer<typeof accountVouchedBySchema>;
1240
1305
 
1241
- export { memberImportListQuerySchema as $, type AccountVouchedBy as A, type MemberImportConsent as B, type MemberImportFullRow as C, type MemberImportFullRowsInput as D, type MemberImportIdentity as E, type MemberImportReferral as F, type MemberImportRefusal as G, type MemberImportRevert as H, type IdentityIntegration as I, type MemberImportRevertOutcome as J, type KnownMemberImportRefusalCode as K, type MemberImportRow as L, type MemberImportVouchedAccount as M, type MemberImportRowInput as N, type MemberImportRowResult as O, type ParticipantExchangeAccountResult as P, type MemberImportRowsInput as Q, type MemberImportSummary as R, identityReferenceSchema as S, memberImportAccountSchema as T, memberImportActionSchema as U, memberImportCommandSchema as V, memberImportConsentSchema as W, memberImportCreateSchema as X, memberImportFullRowSchema as Y, memberImportFullRowsInputSchema as Z, memberImportIdentitySchema as _, type IdentityIntegrationAccountVouchingInput as a, memberImportPageSchema as a0, memberImportReferralSchema as a1, memberImportRefusalSchema as a2, memberImportRevertInputSchema as a3, memberImportRevertOutcomeSchema as a4, memberImportRevertSchema as a5, memberImportRowPageSchema as a6, memberImportRowQuerySchema as a7, memberImportRowResultSchema as a8, memberImportRowSchema as a9, memberImportRowsInputSchema as aa, memberImportSchema as ab, memberImportSummarySchema as ac, memberImportVouchedAccountSchema as ad, type IdentityKindClaim as b, type ParticipantExchangeInput as c, type ParticipantExchangeResult as d, accountVouchedBySchema as e, identityIntegrationInputSchema as f, identityIntegrationSchema as g, identityIntegrationSecretSchema as h, identityIntegrationAccountVouchingInputSchema as i, identityKindClaimSchema as j, participantExchangeAccountsSchema as k, participantExchangeResultSchema as l, participantExchangeSchema as m, type MemberImportCreateInput as n, MemberImportRefusalCode as o, participantExchangeAccountResultSchema as p, MemberImportState as q, type MemberImportListQuery as r, type MemberImportRowQuery as s, type MemberImportFullRowInput as t, type MemberImportRevertInput as u, type IdentityReference as v, type KnownMemberImportState as w, type MemberImport as x, type MemberImportAccount as y, type MemberImportCommandInput as z };
1306
+ export { memberImportConsentSchema as $, type AccountVouchedBy as A, type KnownMemberImportRefusalCode as B, type KnownMemberImportState as C, type MemberImport as D, type MemberImportAccount as E, type MemberImportCommandInput as F, type MemberImportConsent as G, type MemberImportFullRow as H, type IdentityIntegrationKey as I, type MemberImportFullRowsInput as J, type KnownIdentityIntegrationEnvironment as K, type MemberImportIdentity as L, type MemberImportVouchedAccount as M, type MemberImportReferral as N, type MemberImportRefusal as O, type ParticipantExchangeAccountResult as P, type MemberImportRevert as Q, type MemberImportRevertOutcome as R, type MemberImportRow as S, type MemberImportRowInput as T, type MemberImportRowResult as U, type MemberImportRowsInput as V, type MemberImportSummary as W, identityReferenceSchema as X, memberImportAccountSchema as Y, memberImportActionSchema as Z, memberImportCommandSchema as _, type ParticipantExchangeResult as a, memberImportCreateSchema as a0, memberImportFullRowSchema as a1, memberImportFullRowsInputSchema as a2, memberImportIdentitySchema as a3, memberImportListQuerySchema as a4, memberImportPageSchema as a5, memberImportReferralSchema as a6, memberImportRefusalSchema as a7, memberImportRevertInputSchema as a8, memberImportRevertOutcomeSchema as a9, memberImportRevertSchema as aa, memberImportRowPageSchema as ab, memberImportRowQuerySchema as ac, memberImportRowResultSchema as ad, memberImportRowSchema as ae, memberImportRowsInputSchema as af, memberImportSchema as ag, memberImportSummarySchema as ah, memberImportVouchedAccountSchema as ai, type IdentityIntegration as b, type IdentityIntegrationAccountVouchingInput as c, type IdentityIntegrationAppSecret as d, type IdentityKindClaim as e, type ParticipantExchangeInput as f, accountVouchedBySchema as g, identityIntegrationAppSecretSchema as h, identityIntegrationAccountVouchingInputSchema as i, identityIntegrationInputSchema as j, identityIntegrationKeySchema as k, identityIntegrationSchema as l, identityIntegrationSecretSchema as m, identityKindClaimSchema as n, participantExchangeAccountsSchema as o, participantExchangeAccountResultSchema as p, participantExchangeResultSchema as q, participantExchangeSchema as r, type MemberImportCreateInput as s, MemberImportRefusalCode as t, MemberImportState as u, type MemberImportListQuery as v, type MemberImportRowQuery as w, type MemberImportFullRowInput as x, type MemberImportRevertInput as y, type IdentityReference as z };
package/dist/index.d.ts CHANGED
@@ -1,17 +1,17 @@
1
- export { B as Badge, a as BadgeCatalog, M as ManagedBadge, b as MemberBadge, c as MemberBadges, O as Offer, d as OfferDefinition, e as OfferPrice, R as RedeemOfferInput, f as Redemption } from './offers-DhAtss4_.js';
1
+ export { B as Badge, a as BadgeCatalog, M as ManagedBadge, b as MemberBadge, c as MemberBadges, O as Offer, d as OfferDefinition, e as OfferPrice, R as RedeemOfferInput, f as Redemption } from './offers-Hw2P6tcK.js';
2
2
  export { R as RelayAction, c as createRelayAction } from './action-9Xl0StBg.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-B-hbHX30.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-D7IiwEq2.js';
4
4
  export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-D_dUPLwo.js';
5
- export { A as AccountConnection, a as Attempt, b as AttemptStatus, c as AuthProvider, d as AvailabilityWindow, C as CampaignDefinition, e as CampaignEnrollment, f as CampaignEnrollmentInput, g as CampaignView, h as CampaignWithdrawalInput, E as Entitlement, i as EvaluatorProgress, K as KnownAttemptStatus, j as KnownPointEntryKind, k as KnownSignInAccountStatus, l as KnownSignInProvider, L as LeaderboardDefinition, m as LeaderboardHistoryPage, n as LeaderboardHistoryQuery, o as LeaderboardPage, p as LeaderboardPlacement, q as LeaderboardQuery, M as MemberCampaignEnrollmentInput, r as MemberCampaignWithdrawalInput, s as MemberProgress, P as PointBalance, t as PointBalances, u as PointEntry, v as PointEntryKind, w as PointHistoryPage, x as PointHistoryQuery, y as PointLedgerReference, z as ProjectGroup, B as ProjectGroupReference, Q as QuestBudgetView, D as QuestPresentation, F as QuestProfile, G as QuizEvidence, R as ReferralDefinition, H as Reward, S as SignInAccount, I as SignInAccountStatus, J as SignInProvider, N as SignInProviderOption, O as SubmissionEvidence, T as SubmitInput, U as TieredRewardReference } from './accounts-CCqCKCVx.js';
5
+ export { A as AccountConnection, a as Attempt, b as AttemptStatus, c as AuthProvider, d as AvailabilityWindow, C as CampaignDefinition, e as CampaignEnrollment, f as CampaignEnrollmentInput, g as CampaignView, h as CampaignWithdrawalInput, E as Entitlement, i as EvaluatorProgress, K as KnownAttemptStatus, j as KnownPointEntryKind, k as KnownSignInAccountStatus, l as KnownSignInProvider, L as LeaderboardDefinition, m as LeaderboardHistoryPage, n as LeaderboardHistoryQuery, o as LeaderboardPage, p as LeaderboardPlacement, q as LeaderboardQuery, M as MemberCampaignEnrollmentInput, r as MemberCampaignWithdrawalInput, s as MemberProgress, P as PointBalance, t as PointBalances, u as PointEntry, v as PointEntryKind, w as PointHistoryPage, x as PointHistoryQuery, y as PointLedgerReference, z as ProjectGroup, B as ProjectGroupReference, Q as QuestBudgetView, D as QuestPresentation, F as QuestProfile, G as QuizEvidence, R as ReferralDefinition, H as Reward, S as SignInAccount, I as SignInAccountStatus, J as SignInProvider, N as SignInProviderOption, O as SubmissionEvidence, T as SubmitInput, U as TieredRewardReference } from './accounts-_lNsiR2k.js';
6
6
  export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
7
- export { C as ConsentChannel, a as ConsentInput, b as ConsentSource, c as ConsentState, d as CreatorAccount, e as CreatorAccountProvider, f as CreatorAccounts, K as KnownConsentChannel, g as KnownConsentSource, h as KnownConsentState, M as MemberConsent, P as Page, i as PageQuery, Q as QuestClaimInput, j as QuestEnrollment, k as QuestEnrollmentInput, l as QuestOutcome, m as QuestOutcomePage, n as QuestOutcomeQuery, o as QuestOutcomeState, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './pages-B8q8Y_dQ.js';
8
- export { M as MissingPrerequisite, P as Prerequisite, T as TelegramAccountConnection, a as TelegramSignInMethods, b as TextEvidence, c as TextOptions, U as UrlEvidence, d as UrlOptions, V as ValueEvidence } from './submission-input-DHGKhXfp.js';
9
- 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-D-Drp24G.js';
10
- export { Q as QuestInteraction, a as QuestRewardView, b as QuestView } from './catalog--ZIlskAo.js';
11
- 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-pAsOyIVp.js';
12
- export { K as KnownTrackerSkipCode, T as TrackerSkipCode } from './tracker-data-Hb1uQnk5.js';
13
- export { A as AvatarProvider, C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, O as OwnProfile, P as ProfileAvatar, b as ProfileCompletion, c as ProfileCompletionPage, d as ProfileCompletionQuery, e as ProfileReferral, f as ProfileSummary, g as ProfileUpdate, h as ProfileVisibility, W as WalletAddressInput, i as WalletChain, j as WalletMessageChallenge, k as WalletSignInNetwork, l as WalletSignature, m as WalletSigner, n as WalletUnlinkInput } from './wallet-DTO7SXj7.js';
7
+ export { C as ConsentChannel, a as ConsentInput, b as ConsentSource, c as ConsentState, d as CreatorAccount, e as CreatorAccountProvider, f as CreatorAccounts, K as KnownConsentChannel, g as KnownConsentSource, h as KnownConsentState, M as MemberConsent, P as Page, i as PageQuery, Q as QuestClaimInput, j as QuestEnrollment, k as QuestEnrollmentInput, l as QuestOutcome, m as QuestOutcomePage, n as QuestOutcomeQuery, o as QuestOutcomeState, R as ResponseResult, U as UnsupportedResponse, p as paginate } from './reward-deliveries-BCV8hznc.js';
8
+ export { M as MissingPrerequisite, P as Prerequisite, T as TelegramAccountConnection, a as TelegramSignInMethods, b as TextEvidence, c as TextOptions, U as UrlEvidence, d as UrlOptions, V as ValueEvidence } from './submission-input-ChL1aYNH.js';
9
+ 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-DXRq4s6K.js';
10
+ export { Q as QuestInteraction, a as QuestRewardView, b as QuestView } from './catalog-ByZMRS7I.js';
11
+ 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-BzAvfcpd.js';
12
+ export { K as KnownSkipEnrollment, a as KnownTrackerSkipCode, S as SkipEnrollment, T as TrackerSkipCode } from './tracker-data-Bl-qPIvZ.js';
13
+ export { A as AvatarProvider, C as CosmosChain, a as CosmosNetwork, L as LinkedWallet, O as OwnProfile, P as ProfileAvatar, b as ProfileCompletion, c as ProfileCompletionPage, d as ProfileCompletionQuery, e as ProfileReferral, f as ProfileSummary, g as ProfileUpdate, h as ProfileVisibility, W as WalletAddressInput, i as WalletChain, j as WalletMessageChallenge, k as WalletSignInNetwork, l as WalletSignature, m as WalletSigner, n as WalletUnlinkInput } from './wallet-B7e06v4m.js';
14
14
  export { Q as QuizContent, S as StreakProgress } from './streaks-0YuipsUQ.js';
15
15
  export { P as ParticipantDelivery } from './participant-rewards-BcWkBRn_.js';
16
16
  import 'zod';
17
- import './sign-in-providers-BkjcDsFF.js';
17
+ import './sign-in-providers-BAkGjSXo.js';
package/dist/index.js CHANGED
@@ -5,34 +5,32 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-GKIFABGN.js";
8
+ } from "./chunk-VBYOAT46.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-Y322OTCH.js";
12
- import "./chunk-6WCIWXUV.js";
11
+ } from "./chunk-E22XSC4L.js";
12
+ import "./chunk-EUEW2APU.js";
13
+ import "./chunk-7H4MRVQF.js";
14
+ import "./chunk-DLABJSBO.js";
13
15
  import {
14
16
  QuestOutcomeState
15
- } from "./chunk-CICDIBOF.js";
16
- import "./chunk-D26YNACF.js";
17
- import "./chunk-GTDW453U.js";
18
- import {
19
- PointEntryKind
20
- } from "./chunk-WSBYWVTZ.js";
21
- import "./chunk-3PYYGFSB.js";
17
+ } from "./chunk-MPTE7EIV.js";
22
18
  import {
23
19
  sessionMember
24
- } from "./chunk-XJFYAXET.js";
20
+ } from "./chunk-R2KZFX6E.js";
21
+ import "./chunk-NG4GZ54I.js";
25
22
  import {
26
23
  AttemptStatus,
24
+ PointEntryKind,
27
25
  paginate
28
- } from "./chunk-MK425RXJ.js";
26
+ } from "./chunk-HNR6G3GV.js";
29
27
  import {
30
28
  RelayError,
31
29
  RelayErrorCode,
32
30
  RequestError,
33
31
  isRelayError,
34
32
  isRequestError
35
- } from "./chunk-K2KS3JLY.js";
33
+ } from "./chunk-EOUEAOWJ.js";
36
34
  export {
37
35
  AttemptStatus,
38
36
  PointEntryKind,
@@ -1,19 +1,33 @@
1
- export { M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as isIntegrationParticipantPath, a as isParticipantRoute, m as managementTransport, p as parseImageExtraction, b as parseImageResult, d as participantRoutePattern, e as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, f as sourceDataSchema, g as sourceRoles, v as validateQuestShape } from './transport-DkhX2Cbs.js';
2
- export { A as AccountVouchedBy, I as IdentityIntegration, a as IdentityIntegrationAccountVouchingInput, b as IdentityKindClaim, P as ParticipantExchangeAccountResult, c as ParticipantExchangeInput, d as ParticipantExchangeResult, e as accountVouchedBySchema, i as identityIntegrationAccountVouchingInputSchema, f as identityIntegrationInputSchema, g as identityIntegrationSchema, h as identityIntegrationSecretSchema, j as identityKindClaimSchema, p as participantExchangeAccountResultSchema, k as participantExchangeAccountsSchema, l as participantExchangeResultSchema, m as participantExchangeSchema } from './identity-integration-3mX6b5iH.js';
3
- export { E as Extracted } from './analytics-BwAKLi7O.js';
1
+ export { M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as isIntegrationParticipantPath, a as isParticipantRoute, m as managementTransport, n as nextScheduleRun, p as parseImageExtraction, b as parseImageResult, d as participantRoutePattern, e as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, f as sourceDataSchema, g as sourceRoles, v as validateQuestShape } from './transport-DC1m73Tp.js';
2
+ export { A as AccountVouchedBy, b as IdentityIntegration, c as IdentityIntegrationAccountVouchingInput, d as IdentityIntegrationAppSecret, I as IdentityIntegrationKey, e as IdentityKindClaim, K as KnownIdentityIntegrationEnvironment, P as ParticipantExchangeAccountResult, f as ParticipantExchangeInput, a as ParticipantExchangeResult, g as accountVouchedBySchema, i as identityIntegrationAccountVouchingInputSchema, h as identityIntegrationAppSecretSchema, j as identityIntegrationInputSchema, k as identityIntegrationKeySchema, l as identityIntegrationSchema, m as identityIntegrationSecretSchema, n as identityKindClaimSchema, p as participantExchangeAccountResultSchema, o as participantExchangeAccountsSchema, q as participantExchangeResultSchema, r as participantExchangeSchema } from './identity-integration-Ci2vGKtX.js';
3
+ export { E as Extracted } from './limits-pE04y9O2.js';
4
4
  import { b as RequestErrorKind } from './request-error-D_dUPLwo.js';
5
- export { a as TrackerDataBudget, s as schemaCheckedReader, t as trackerDataBatchSteps, b as trackerDataIssue, c as trackerDataIssues, d as trackerDataPathTypes, e as trackerDataRecordSteps, w as whereSchemaIssue } from './tracker-data-Hb1uQnk5.js';
5
+ export { b as TrackerDataBudget, s as schemaCheckedReader, c as sourceContent, t as trackerDataBatchSteps, d as trackerDataIssue, e as trackerDataIssues, f as trackerDataPathTypes, g as trackerDataRecordSteps, w as whereSchemaIssue, h as whereSettings } from './tracker-data-Bl-qPIvZ.js';
6
6
  export { H as HostEnvironment, h as hostEnvironmentPath, a as hostEnvironmentSchema } from './host-environment-FN4zg3hw.js';
7
+ export { c as compatibleSettingKinds, d as dashboardIssue, i as isBoundSetting, n as normalizeDashboard } from './dashboards-pVfclkyh.js';
7
8
  import 'zod';
8
- import './accounts-CCqCKCVx.js';
9
- import './wallet-DTO7SXj7.js';
10
- import './pages-B8q8Y_dQ.js';
11
- import './offers-DhAtss4_.js';
9
+ import './accounts-_lNsiR2k.js';
10
+ import './wallet-B7e06v4m.js';
11
+ import './reward-deliveries-BCV8hznc.js';
12
12
  import './action-9Xl0StBg.js';
13
- import './catalog--ZIlskAo.js';
14
- import './automatic-outcomes-pAsOyIVp.js';
15
- import './attempt-captures-Cm-5G0PC.js';
16
- import './deployments-M4OHn7G3.js';
13
+ import './automatic-outcomes-BzAvfcpd.js';
14
+ import './deployments-Cr1tfqrr.js';
15
+ import './offers-Hw2P6tcK.js';
16
+ import './catalog-ByZMRS7I.js';
17
+ import './attempt-captures-BqPggxTU.js';
18
+
19
+ /** The hosts a developer machine serves over plain HTTP: browser tests, `vite` dev and the local stack. */
20
+ declare const loopbackHosts: readonly string[];
21
+ /**
22
+ * Whether `url` may be reached without TLS's protection: HTTPS anywhere, or plain HTTP on a
23
+ * loopback host. `localHosts` adds hosts that also exist only on a developer machine, such as
24
+ * `host.docker.internal`. Callers refuse with their own error.
25
+ */
26
+ declare function secureOrLoopbackOrigin(url: URL, options?: {
27
+ localHosts?: readonly string[];
28
+ }): boolean;
29
+ /** Whether `url` is an origin and nothing more: no credentials, path, query or fragment. */
30
+ declare function bareOrigin(url: URL): boolean;
17
31
 
18
32
  /** The management client's and the CLI's default deadline per call. */
19
33
  declare const MANAGEMENT_TIMEOUT = 30000;
@@ -60,4 +74,4 @@ type Rules = {
60
74
  */
61
75
  declare function retrying<T>(life: Lifetime, rules: Rules, attempt: () => Promise<T>): Promise<T>;
62
76
 
63
- export { type AttemptFailure, type Lifetime, MANAGEMENT_TIMEOUT, lifetime, retryAfter, retrying };
77
+ export { type AttemptFailure, type Lifetime, MANAGEMENT_TIMEOUT, bareOrigin, lifetime, loopbackHosts, retryAfter, retrying, secureOrLoopbackOrigin };