@domino-sdk/relay 1.0.0-next.13 → 1.0.0-next.15

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 (35) hide show
  1. package/README.md +1 -1
  2. package/dist/authoring.d.ts +58 -44
  3. package/dist/authoring.js +58 -45
  4. package/dist/browser.d.ts +111 -151
  5. package/dist/browser.js +6 -6
  6. package/dist/{catalog-C85V1NgW.d.ts → catalog-CVXUHxiO.d.ts} +12 -99
  7. package/dist/{chunk-M64XHC42.js → chunk-76F4LSFP.js} +2 -2
  8. package/dist/{chunk-II7DRZSL.js → chunk-CYD6QMHU.js} +1 -1
  9. package/dist/{chunk-KS33GOUL.js → chunk-EJWDAF7I.js} +4 -4
  10. package/dist/chunk-FJ6O44NE.js +51 -0
  11. package/dist/{chunk-WQ24ILGO.js → chunk-G3YSBMJH.js} +7 -3
  12. package/dist/{chunk-MNQI35OG.js → chunk-HWRBLM7E.js} +3 -3
  13. package/dist/{chunk-CRNQP7NV.js → chunk-J4OYDYJE.js} +693 -676
  14. package/dist/{chunk-OA2KMQVZ.js → chunk-J52HD4AA.js} +11 -1
  15. package/dist/{chunk-EZWNGI5B.js → chunk-RCBJBFLC.js} +4 -4
  16. package/dist/{chunk-FXYJ4OMX.js → chunk-WMTROSYF.js} +1 -1
  17. package/dist/{client-Bf9PNUIi.d.ts → client-dfXT6hhq.d.ts} +7 -47
  18. package/dist/{deployments-CNCP0JnD.d.ts → deployments-C9wkQ06n.d.ts} +109 -125
  19. package/dist/{images-BG4pdO4y.d.ts → images-CRxHUuG5.d.ts} +1 -1
  20. package/dist/index.d.ts +3 -3
  21. package/dist/index.js +5 -5
  22. package/dist/{integrations-EjQzIApL.d.ts → integrations-C1vB6Ry6.d.ts} +93 -1
  23. package/dist/internal.d.ts +13 -4
  24. package/dist/internal.js +10 -4
  25. package/dist/portal-proxy.js +2 -2
  26. package/dist/react/index.d.ts +441 -655
  27. package/dist/react/index.js +1190 -810
  28. package/dist/{schema-BF_TQsmT.d.ts → schema-C4F2K9cm.d.ts} +9 -74
  29. package/dist/schema.d.ts +6 -7
  30. package/dist/schema.js +18 -16
  31. package/dist/server/index.d.ts +125 -233
  32. package/dist/server/index.js +16 -22
  33. package/dist/{trackers-W7nRdRr7.d.ts → trackers-7lxSWp2g.d.ts} +56 -14
  34. package/package.json +4 -2
  35. package/dist/observations-CQ6IcNuQ.d.ts +0 -90
@@ -1,11 +1,10 @@
1
- import { i as TrackerDataSchema, p as TrackerQuery, V as trackerContentReadSchema, Z as trackerControlSchema, a4 as trackerIngestSchema, l as TrackerOutcomeQuery, a7 as trackerOutcomeRetrySchema, o as TrackerPreviewInput } from '../trackers-W7nRdRr7.js';
2
- import { x as contentPerformanceQuerySchema, u as configurePickupSchema, a5 as questSettingsInputSchema, ao as submitSchema, ai as staffDecisionSchema, s as beginHandoverSchema, v as confirmHandoverSchema, z as createStockItemSchema } from '../schema-BF_TQsmT.js';
1
+ import { i as TrackerDataSchema, p as TrackerQuery, Y as trackerContentReadSchema, _ as trackerControlSchema, a5 as trackerIngestSchema, l as TrackerOutcomeQuery, a8 as trackerOutcomeRetrySchema, o as TrackerPreviewInput } from '../trackers-7lxSWp2g.js';
2
+ import { x as contentPerformanceQuerySchema, u as configurePickupSchema, a5 as questSettingsInputSchema, ao as submitSchema, ai as staffDecisionSchema, s as beginHandoverSchema, v as confirmHandoverSchema, z as createStockItemSchema } from '../schema-C4F2K9cm.js';
3
3
  import { z } from 'zod';
4
- import { i as projectDeploymentSchema, j as publishDeploymentSchema, f as projectCalendarInputSchema } from '../deployments-CNCP0JnD.js';
5
- import { D as pointLedgerSchema, p as catalogDeploymentSchema, T as saveQuestDraftSchema, E as publishQuestDraftSchema, t as createPointLedgerSchema, m as allocateQuestSchema } from '../catalog-C85V1NgW.js';
4
+ import { i as projectDeploymentSchema, j as publishDeploymentSchema, f as projectCalendarInputSchema } from '../deployments-C9wkQ06n.js';
5
+ import { D as pointLedgerSchema, p as catalogDeploymentSchema, T as saveQuestDraftSchema, E as publishQuestDraftSchema, t as createPointLedgerSchema, m as allocateQuestSchema } from '../catalog-CVXUHxiO.js';
6
6
  import { c as collectionBeginSchema } from '../collection-BGneJ6Bk.js';
7
7
  import { y as engagementChangePreviewInputSchema, B as engagementChangeSchema, P as engagementVersionQuerySchema, G as engagementPageQuerySchema, I as engagementPublishSchema, s as contentQualificationQuerySchema, i as contentAdmissionQuerySchema, k as contentEnrollmentInputSchema, u as contentReleaseInputSchema, a2 as pointsMutationSchema, aa as referralControlSchema, Z as leaderboardQuerySchema, U as leaderboardExclusionSchema, V as leaderboardGroupSchema } from '../referrals-KQfP4pBf.js';
8
- import { o as observationInputSchema } from '../observations-CQ6IcNuQ.js';
9
8
  import { C as profileSettingsInputSchema, z as profileModerationSchema } from '../profiles-BtOXMGcC.js';
10
9
  import { i as identityIntegrationInputSchema } from '../identity-integration-CBR8l3ju.js';
11
10
  import { R as RequestError, b as RequestErrorKind } from '../request-error-VnTiMXc3.js';
@@ -677,8 +676,8 @@ declare const developmentPreflightSchema: z.ZodObject<{
677
676
 
678
677
  /**
679
678
  * What a hosted-app management key may do, and nothing else: read project data, change points,
680
- * and send records to custom trackers. It can never publish, edit, review, hand over, report
681
- * observations, or administer access.
679
+ * and send records to custom trackers. It can never publish, edit, review, hand over, enroll
680
+ * members, or administer access.
682
681
  */
683
682
  declare const hostedKeyPermissions: readonly ["read", "points", "ingest"];
684
683
  type HostedKeyPermission = (typeof hostedKeyPermissions)[number];
@@ -742,6 +741,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
742
741
  } | {
743
742
  kind: "x-search";
744
743
  query: string;
744
+ } | {
745
+ kind: "discord-messages";
746
+ text?: boolean | undefined;
747
+ } | {
748
+ kind: "discord-reactions";
745
749
  };
746
750
  window: {
747
751
  start: number;
@@ -779,6 +783,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
779
783
  } | {
780
784
  kind: "x-search";
781
785
  query: string;
786
+ } | {
787
+ kind: "discord-messages";
788
+ text?: boolean | undefined;
789
+ } | {
790
+ kind: "discord-reactions";
782
791
  };
783
792
  window: {
784
793
  start: number;
@@ -842,6 +851,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
842
851
  } | {
843
852
  kind: "x-search";
844
853
  query: string;
854
+ } | {
855
+ kind: "discord-messages";
856
+ text?: boolean | undefined;
857
+ } | {
858
+ kind: "discord-reactions";
845
859
  };
846
860
  window: {
847
861
  start: number;
@@ -892,6 +906,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
892
906
  } | {
893
907
  kind: "x-search";
894
908
  query: string;
909
+ } | {
910
+ kind: "discord-messages";
911
+ text?: boolean | undefined;
912
+ } | {
913
+ kind: "discord-reactions";
895
914
  };
896
915
  window: {
897
916
  start: number;
@@ -984,6 +1003,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
984
1003
  } | {
985
1004
  kind: "x-search";
986
1005
  query: string;
1006
+ } | {
1007
+ kind: "discord-messages";
1008
+ text?: boolean | undefined;
1009
+ } | {
1010
+ kind: "discord-reactions";
987
1011
  };
988
1012
  window: {
989
1013
  start: number;
@@ -1382,14 +1406,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1382
1406
  attempt: string | null;
1383
1407
  }>;
1384
1408
  };
1385
- observations: {
1386
- submit: (input: z.input<typeof observationInputSchema>, call?: ManagementCallOptions) => Promise<{
1387
- id: string;
1388
- source: string;
1389
- attempts: string[];
1390
- receivedAt: number;
1391
- }>;
1392
- };
1393
1409
  pointLedgers: {
1394
1410
  list: (call?: ManagementCallOptions) => Promise<{
1395
1411
  name: string;
@@ -1914,6 +1930,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
1914
1930
  } | {
1915
1931
  kind: "x-search";
1916
1932
  query: string;
1933
+ } | {
1934
+ kind: "discord-messages";
1935
+ text?: boolean | undefined;
1936
+ } | {
1937
+ kind: "discord-reactions";
1917
1938
  };
1918
1939
  window: {
1919
1940
  start: number;
@@ -2062,10 +2083,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2062
2083
  humanReview: boolean;
2063
2084
  trigger: {
2064
2085
  kind: "automatic";
2065
- observation?: {
2066
- source: string;
2067
- type: string;
2068
- } | undefined;
2069
2086
  content?: {
2070
2087
  tracker: string;
2071
2088
  window: {
@@ -2078,7 +2095,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2078
2095
  } | undefined;
2079
2096
  tracker?: {
2080
2097
  tracker: string;
2081
- source: "custom" | "x-search";
2098
+ source: string;
2082
2099
  beneficiary: string;
2083
2100
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
2084
2101
  where?: {
@@ -2334,10 +2351,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2334
2351
  humanReview: boolean;
2335
2352
  trigger: {
2336
2353
  kind: "automatic";
2337
- observation?: {
2338
- source: string;
2339
- type: string;
2340
- } | undefined;
2341
2354
  content?: {
2342
2355
  tracker: string;
2343
2356
  window: {
@@ -2350,7 +2363,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2350
2363
  } | undefined;
2351
2364
  tracker?: {
2352
2365
  tracker: string;
2353
- source: "custom" | "x-search";
2366
+ source: string;
2354
2367
  beneficiary: string;
2355
2368
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
2356
2369
  where?: {
@@ -2896,6 +2909,11 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
2896
2909
  } | {
2897
2910
  kind: "x-search";
2898
2911
  query: string;
2912
+ } | {
2913
+ kind: "discord-messages";
2914
+ text?: boolean | undefined;
2915
+ } | {
2916
+ kind: "discord-reactions";
2899
2917
  };
2900
2918
  window: {
2901
2919
  start: number;
@@ -3044,10 +3062,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3044
3062
  humanReview: boolean;
3045
3063
  trigger: {
3046
3064
  kind: "automatic";
3047
- observation?: {
3048
- source: string;
3049
- type: string;
3050
- } | undefined;
3051
3065
  content?: {
3052
3066
  tracker: string;
3053
3067
  window: {
@@ -3060,7 +3074,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3060
3074
  } | undefined;
3061
3075
  tracker?: {
3062
3076
  tracker: string;
3063
- source: "custom" | "x-search";
3077
+ source: string;
3064
3078
  beneficiary: string;
3065
3079
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
3066
3080
  where?: {
@@ -3316,10 +3330,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3316
3330
  humanReview: boolean;
3317
3331
  trigger: {
3318
3332
  kind: "automatic";
3319
- observation?: {
3320
- source: string;
3321
- type: string;
3322
- } | undefined;
3323
3333
  content?: {
3324
3334
  tracker: string;
3325
3335
  window: {
@@ -3332,7 +3342,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3332
3342
  } | undefined;
3333
3343
  tracker?: {
3334
3344
  tracker: string;
3335
- source: "custom" | "x-search";
3345
+ source: string;
3336
3346
  beneficiary: string;
3337
3347
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
3338
3348
  where?: {
@@ -3915,10 +3925,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3915
3925
  humanReview: boolean;
3916
3926
  trigger: {
3917
3927
  kind: "automatic";
3918
- observation?: {
3919
- source: string;
3920
- type: string;
3921
- } | undefined;
3922
3928
  content?: {
3923
3929
  tracker: string;
3924
3930
  window: {
@@ -3931,7 +3937,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
3931
3937
  } | undefined;
3932
3938
  tracker?: {
3933
3939
  tracker: string;
3934
- source: "custom" | "x-search";
3940
+ source: string;
3935
3941
  beneficiary: string;
3936
3942
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
3937
3943
  where?: {
@@ -4240,10 +4246,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
4240
4246
  humanReview: boolean;
4241
4247
  trigger: {
4242
4248
  kind: "automatic";
4243
- observation?: {
4244
- source: string;
4245
- type: string;
4246
- } | undefined;
4247
4249
  content?: {
4248
4250
  tracker: string;
4249
4251
  window: {
@@ -4256,7 +4258,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
4256
4258
  } | undefined;
4257
4259
  tracker?: {
4258
4260
  tracker: string;
4259
- source: "custom" | "x-search";
4261
+ source: string;
4260
4262
  beneficiary: string;
4261
4263
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
4262
4264
  where?: {
@@ -4516,10 +4518,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
4516
4518
  humanReview: boolean;
4517
4519
  trigger: {
4518
4520
  kind: "automatic";
4519
- observation?: {
4520
- source: string;
4521
- type: string;
4522
- } | undefined;
4523
4521
  content?: {
4524
4522
  tracker: string;
4525
4523
  window: {
@@ -4532,7 +4530,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
4532
4530
  } | undefined;
4533
4531
  tracker?: {
4534
4532
  tracker: string;
4535
- source: "custom" | "x-search";
4533
+ source: string;
4536
4534
  beneficiary: string;
4537
4535
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
4538
4536
  where?: {
@@ -4770,10 +4768,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
4770
4768
  humanReview: boolean;
4771
4769
  trigger: {
4772
4770
  kind: "automatic";
4773
- observation?: {
4774
- source: string;
4775
- type: string;
4776
- } | undefined;
4777
4771
  content?: {
4778
4772
  tracker: string;
4779
4773
  window: {
@@ -4786,7 +4780,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
4786
4780
  } | undefined;
4787
4781
  tracker?: {
4788
4782
  tracker: string;
4789
- source: "custom" | "x-search";
4783
+ source: string;
4790
4784
  beneficiary: string;
4791
4785
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
4792
4786
  where?: {
@@ -5095,10 +5089,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
5095
5089
  humanReview: boolean;
5096
5090
  trigger: {
5097
5091
  kind: "automatic";
5098
- observation?: {
5099
- source: string;
5100
- type: string;
5101
- } | undefined;
5102
5092
  content?: {
5103
5093
  tracker: string;
5104
5094
  window: {
@@ -5111,7 +5101,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
5111
5101
  } | undefined;
5112
5102
  tracker?: {
5113
5103
  tracker: string;
5114
- source: "custom" | "x-search";
5104
+ source: string;
5115
5105
  beneficiary: string;
5116
5106
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
5117
5107
  where?: {
@@ -5490,10 +5480,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
5490
5480
  humanReview: boolean;
5491
5481
  trigger: {
5492
5482
  kind: "automatic";
5493
- observation?: {
5494
- source: string;
5495
- type: string;
5496
- } | undefined;
5497
5483
  content?: {
5498
5484
  tracker: string;
5499
5485
  window: {
@@ -5506,7 +5492,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
5506
5492
  } | undefined;
5507
5493
  tracker?: {
5508
5494
  tracker: string;
5509
- source: "custom" | "x-search";
5495
+ source: string;
5510
5496
  beneficiary: string;
5511
5497
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
5512
5498
  where?: {
@@ -5828,10 +5814,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
5828
5814
  humanReview: boolean;
5829
5815
  trigger: {
5830
5816
  kind: "automatic";
5831
- observation?: {
5832
- source: string;
5833
- type: string;
5834
- } | undefined;
5835
5817
  content?: {
5836
5818
  tracker: string;
5837
5819
  window: {
@@ -5844,7 +5826,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
5844
5826
  } | undefined;
5845
5827
  tracker?: {
5846
5828
  tracker: string;
5847
- source: "custom" | "x-search";
5829
+ source: string;
5848
5830
  beneficiary: string;
5849
5831
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
5850
5832
  where?: {
@@ -6691,7 +6673,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
6691
6673
  subtitle: string;
6692
6674
  initials: string;
6693
6675
  color: string;
6694
- permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[];
6676
+ permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[];
6695
6677
  environments: ("test" | "live")[];
6696
6678
  setup?: {
6697
6679
  mode: "new" | "existing";
@@ -6719,7 +6701,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
6719
6701
  subtitle: string;
6720
6702
  initials: string;
6721
6703
  color: string;
6722
- permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[];
6704
+ permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[];
6723
6705
  environments: ("test" | "live")[];
6724
6706
  setup?: {
6725
6707
  mode: "new" | "existing";
@@ -6741,7 +6723,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
6741
6723
  name: string;
6742
6724
  project: string;
6743
6725
  environment: "test" | "live";
6744
- permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[];
6726
+ permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[];
6745
6727
  expiresAt: number;
6746
6728
  }[]>;
6747
6729
  create: (input: z.input<typeof tokenInputSchema>, call?: ManagementCallOptions) => Promise<{
@@ -6749,7 +6731,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
6749
6731
  name: string;
6750
6732
  project: string;
6751
6733
  environment: "test" | "live";
6752
- permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[];
6734
+ permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[];
6753
6735
  expiresAt: number;
6754
6736
  token: string;
6755
6737
  }>;
@@ -6942,10 +6924,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
6942
6924
  humanReview: boolean;
6943
6925
  trigger: {
6944
6926
  kind: "automatic";
6945
- observation?: {
6946
- source: string;
6947
- type: string;
6948
- } | undefined;
6949
6927
  content?: {
6950
6928
  tracker: string;
6951
6929
  window: {
@@ -6958,7 +6936,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
6958
6936
  } | undefined;
6959
6937
  tracker?: {
6960
6938
  tracker: string;
6961
- source: "custom" | "x-search";
6939
+ source: string;
6962
6940
  beneficiary: string;
6963
6941
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
6964
6942
  where?: {
@@ -7471,10 +7449,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
7471
7449
  humanReview: boolean;
7472
7450
  trigger: {
7473
7451
  kind: "automatic";
7474
- observation?: {
7475
- source: string;
7476
- type: string;
7477
- } | undefined;
7478
7452
  content?: {
7479
7453
  tracker: string;
7480
7454
  window: {
@@ -7487,7 +7461,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
7487
7461
  } | undefined;
7488
7462
  tracker?: {
7489
7463
  tracker: string;
7490
- source: "custom" | "x-search";
7464
+ source: string;
7491
7465
  beneficiary: string;
7492
7466
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
7493
7467
  where?: {
@@ -7809,10 +7783,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
7809
7783
  connections: ("discord" | "x" | "google" | "apple")[];
7810
7784
  trigger: {
7811
7785
  kind: "automatic";
7812
- observation?: {
7813
- source: string;
7814
- type: string;
7815
- } | undefined;
7816
7786
  content?: {
7817
7787
  tracker: string;
7818
7788
  window: {
@@ -7825,7 +7795,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
7825
7795
  } | undefined;
7826
7796
  tracker?: {
7827
7797
  tracker: string;
7828
- source: "custom" | "x-search";
7798
+ source: string;
7829
7799
  beneficiary: string;
7830
7800
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
7831
7801
  where?: {
@@ -7901,10 +7871,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
7901
7871
  kind: "staff-required";
7902
7872
  } | {
7903
7873
  kind: "automatic";
7904
- observation?: {
7905
- source: string;
7906
- type: string;
7907
- } | undefined;
7908
7874
  } | {
7909
7875
  kind: "checking";
7910
7876
  attempt: string;
@@ -8495,10 +8461,6 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
8495
8461
  humanReview: boolean;
8496
8462
  trigger: {
8497
8463
  kind: "automatic";
8498
- observation?: {
8499
- source: string;
8500
- type: string;
8501
- } | undefined;
8502
8464
  content?: {
8503
8465
  tracker: string;
8504
8466
  window: {
@@ -8511,7 +8473,7 @@ declare function hostedManagementClient(env: HostedManagementEnv): {
8511
8473
  } | undefined;
8512
8474
  tracker?: {
8513
8475
  tracker: string;
8514
- source: "custom" | "x-search";
8476
+ source: string;
8515
8477
  beneficiary: string;
8516
8478
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
8517
8479
  where?: {
@@ -8675,8 +8637,8 @@ declare const permissionSchema: z.ZodEnum<{
8675
8637
  inventory: "inventory";
8676
8638
  access: "access";
8677
8639
  points: "points";
8678
- observe: "observe";
8679
8640
  ingest: "ingest";
8641
+ enroll: "enroll";
8680
8642
  }>;
8681
8643
  type Permission = z.infer<typeof permissionSchema>;
8682
8644
  declare const rolePermissions: Record<z.infer<typeof roleSchema>, Permission[]>;
@@ -8704,7 +8666,7 @@ declare const projectSchema: z.ZodObject<{
8704
8666
  subtitle: z.ZodString;
8705
8667
  initials: z.ZodString;
8706
8668
  color: z.ZodString;
8707
- permissions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[], string[]>>;
8669
+ permissions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[], string[]>>;
8708
8670
  environments: z.ZodArray<z.ZodEnum<{
8709
8671
  test: "test";
8710
8672
  live: "live";
@@ -8883,7 +8845,7 @@ declare const accessSchema: z.ZodObject<{
8883
8845
  subtitle: z.ZodString;
8884
8846
  initials: z.ZodString;
8885
8847
  color: z.ZodString;
8886
- permissions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[], string[]>>;
8848
+ permissions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[], string[]>>;
8887
8849
  environments: z.ZodArray<z.ZodEnum<{
8888
8850
  test: "test";
8889
8851
  live: "live";
@@ -9218,10 +9180,6 @@ declare const pageSchema: z.ZodObject<{
9218
9180
  }>>;
9219
9181
  }, z.core.$strict>, z.ZodObject<{
9220
9182
  kind: z.ZodLiteral<"automatic">;
9221
- observation: z.ZodOptional<z.ZodObject<{
9222
- source: z.ZodString;
9223
- type: z.ZodString;
9224
- }, z.core.$strict>>;
9225
9183
  content: z.ZodOptional<z.ZodObject<{
9226
9184
  tracker: z.ZodString;
9227
9185
  window: z.ZodObject<{
@@ -9244,10 +9202,7 @@ declare const pageSchema: z.ZodObject<{
9244
9202
  }, z.core.$strict>>;
9245
9203
  tracker: z.ZodOptional<z.ZodObject<{
9246
9204
  tracker: z.ZodString;
9247
- source: z.ZodEnum<{
9248
- custom: "custom";
9249
- "x-search": "x-search";
9250
- }>;
9205
+ source: z.ZodString;
9251
9206
  on: z.ZodOptional<z.ZodEnum<{
9252
9207
  "new-record": "new-record";
9253
9208
  "new-observation": "new-observation";
@@ -9551,10 +9506,6 @@ declare const pageSchema: z.ZodObject<{
9551
9506
  humanReview: boolean;
9552
9507
  trigger: {
9553
9508
  kind: "automatic";
9554
- observation?: {
9555
- source: string;
9556
- type: string;
9557
- } | undefined;
9558
9509
  content?: {
9559
9510
  tracker: string;
9560
9511
  window: {
@@ -9567,7 +9518,7 @@ declare const pageSchema: z.ZodObject<{
9567
9518
  } | undefined;
9568
9519
  tracker?: {
9569
9520
  tracker: string;
9570
- source: "custom" | "x-search";
9521
+ source: string;
9571
9522
  beneficiary: string;
9572
9523
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
9573
9524
  where?: {
@@ -10245,10 +10196,6 @@ declare const memberDetailSchema: z.ZodObject<{
10245
10196
  }>>;
10246
10197
  }, z.core.$strict>, z.ZodObject<{
10247
10198
  kind: z.ZodLiteral<"automatic">;
10248
- observation: z.ZodOptional<z.ZodObject<{
10249
- source: z.ZodString;
10250
- type: z.ZodString;
10251
- }, z.core.$strict>>;
10252
10199
  content: z.ZodOptional<z.ZodObject<{
10253
10200
  tracker: z.ZodString;
10254
10201
  window: z.ZodObject<{
@@ -10271,10 +10218,7 @@ declare const memberDetailSchema: z.ZodObject<{
10271
10218
  }, z.core.$strict>>;
10272
10219
  tracker: z.ZodOptional<z.ZodObject<{
10273
10220
  tracker: z.ZodString;
10274
- source: z.ZodEnum<{
10275
- custom: "custom";
10276
- "x-search": "x-search";
10277
- }>;
10221
+ source: z.ZodString;
10278
10222
  on: z.ZodOptional<z.ZodEnum<{
10279
10223
  "new-record": "new-record";
10280
10224
  "new-observation": "new-observation";
@@ -10578,10 +10522,6 @@ declare const memberDetailSchema: z.ZodObject<{
10578
10522
  humanReview: boolean;
10579
10523
  trigger: {
10580
10524
  kind: "automatic";
10581
- observation?: {
10582
- source: string;
10583
- type: string;
10584
- } | undefined;
10585
10525
  content?: {
10586
10526
  tracker: string;
10587
10527
  window: {
@@ -10594,7 +10534,7 @@ declare const memberDetailSchema: z.ZodObject<{
10594
10534
  } | undefined;
10595
10535
  tracker?: {
10596
10536
  tracker: string;
10597
- source: "custom" | "x-search";
10537
+ source: string;
10598
10538
  beneficiary: string;
10599
10539
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
10600
10540
  where?: {
@@ -11004,10 +10944,6 @@ declare const memberDetailSchema: z.ZodObject<{
11004
10944
  }>>;
11005
10945
  }, z.core.$strict>, z.ZodObject<{
11006
10946
  kind: z.ZodLiteral<"automatic">;
11007
- observation: z.ZodOptional<z.ZodObject<{
11008
- source: z.ZodString;
11009
- type: z.ZodString;
11010
- }, z.core.$strict>>;
11011
10947
  content: z.ZodOptional<z.ZodObject<{
11012
10948
  tracker: z.ZodString;
11013
10949
  window: z.ZodObject<{
@@ -11030,10 +10966,7 @@ declare const memberDetailSchema: z.ZodObject<{
11030
10966
  }, z.core.$strict>>;
11031
10967
  tracker: z.ZodOptional<z.ZodObject<{
11032
10968
  tracker: z.ZodString;
11033
- source: z.ZodEnum<{
11034
- custom: "custom";
11035
- "x-search": "x-search";
11036
- }>;
10969
+ source: z.ZodString;
11037
10970
  on: z.ZodOptional<z.ZodEnum<{
11038
10971
  "new-record": "new-record";
11039
10972
  "new-observation": "new-observation";
@@ -11098,10 +11031,6 @@ declare const memberDetailSchema: z.ZodObject<{
11098
11031
  kind: z.ZodLiteral<"staff-required">;
11099
11032
  }, z.core.$strict>, z.ZodObject<{
11100
11033
  kind: z.ZodLiteral<"automatic">;
11101
- observation: z.ZodOptional<z.ZodObject<{
11102
- source: z.ZodString;
11103
- type: z.ZodString;
11104
- }, z.core.$strict>>;
11105
11034
  }, z.core.$strict>, z.ZodObject<{
11106
11035
  kind: z.ZodLiteral<"checking">;
11107
11036
  attempt: z.ZodString;
@@ -11422,8 +11351,8 @@ declare const tokenInputSchema: z.ZodObject<{
11422
11351
  inventory: "inventory";
11423
11352
  access: "access";
11424
11353
  points: "points";
11425
- observe: "observe";
11426
11354
  ingest: "ingest";
11355
+ enroll: "enroll";
11427
11356
  }>>;
11428
11357
  days: z.ZodDefault<z.ZodNumber>;
11429
11358
  }, z.core.$strict>;
@@ -11435,7 +11364,7 @@ declare const tokenSchema: z.ZodObject<{
11435
11364
  test: "test";
11436
11365
  live: "live";
11437
11366
  }>;
11438
- permissions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[], string[]>>;
11367
+ permissions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[], string[]>>;
11439
11368
  expiresAt: z.ZodNumber;
11440
11369
  }, z.core.$strip>;
11441
11370
  /** A newly issued personal API key; `token` is the secret, shown only in this response. */
@@ -11447,7 +11376,7 @@ declare const issuedTokenSchema: z.ZodObject<{
11447
11376
  test: "test";
11448
11377
  live: "live";
11449
11378
  }>;
11450
- permissions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[], string[]>>;
11379
+ permissions: z.ZodPipe<z.ZodArray<z.ZodString>, z.ZodTransform<("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[], string[]>>;
11451
11380
  expiresAt: z.ZodNumber;
11452
11381
  token: z.ZodString;
11453
11382
  }, z.core.$strip>;
@@ -11516,6 +11445,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
11516
11445
  } | {
11517
11446
  kind: "x-search";
11518
11447
  query: string;
11448
+ } | {
11449
+ kind: "discord-messages";
11450
+ text?: boolean | undefined;
11451
+ } | {
11452
+ kind: "discord-reactions";
11519
11453
  };
11520
11454
  window: {
11521
11455
  start: number;
@@ -11553,6 +11487,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
11553
11487
  } | {
11554
11488
  kind: "x-search";
11555
11489
  query: string;
11490
+ } | {
11491
+ kind: "discord-messages";
11492
+ text?: boolean | undefined;
11493
+ } | {
11494
+ kind: "discord-reactions";
11556
11495
  };
11557
11496
  window: {
11558
11497
  start: number;
@@ -11616,6 +11555,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
11616
11555
  } | {
11617
11556
  kind: "x-search";
11618
11557
  query: string;
11558
+ } | {
11559
+ kind: "discord-messages";
11560
+ text?: boolean | undefined;
11561
+ } | {
11562
+ kind: "discord-reactions";
11619
11563
  };
11620
11564
  window: {
11621
11565
  start: number;
@@ -11666,6 +11610,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
11666
11610
  } | {
11667
11611
  kind: "x-search";
11668
11612
  query: string;
11613
+ } | {
11614
+ kind: "discord-messages";
11615
+ text?: boolean | undefined;
11616
+ } | {
11617
+ kind: "discord-reactions";
11669
11618
  };
11670
11619
  window: {
11671
11620
  start: number;
@@ -11758,6 +11707,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
11758
11707
  } | {
11759
11708
  kind: "x-search";
11760
11709
  query: string;
11710
+ } | {
11711
+ kind: "discord-messages";
11712
+ text?: boolean | undefined;
11713
+ } | {
11714
+ kind: "discord-reactions";
11761
11715
  };
11762
11716
  window: {
11763
11717
  start: number;
@@ -12163,14 +12117,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
12163
12117
  attempt: string | null;
12164
12118
  }>;
12165
12119
  };
12166
- observations: {
12167
- submit: (input: z.input<typeof observationInputSchema>, call?: ManagementCallOptions) => Promise<{
12168
- id: string;
12169
- source: string;
12170
- attempts: string[];
12171
- receivedAt: number;
12172
- }>;
12173
- };
12174
12120
  pointLedgers: {
12175
12121
  list: (call?: ManagementCallOptions) => Promise<{
12176
12122
  name: string;
@@ -12689,6 +12635,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
12689
12635
  } | {
12690
12636
  kind: "x-search";
12691
12637
  query: string;
12638
+ } | {
12639
+ kind: "discord-messages";
12640
+ text?: boolean | undefined;
12641
+ } | {
12642
+ kind: "discord-reactions";
12692
12643
  };
12693
12644
  window: {
12694
12645
  start: number;
@@ -12837,10 +12788,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
12837
12788
  humanReview: boolean;
12838
12789
  trigger: {
12839
12790
  kind: "automatic";
12840
- observation?: {
12841
- source: string;
12842
- type: string;
12843
- } | undefined;
12844
12791
  content?: {
12845
12792
  tracker: string;
12846
12793
  window: {
@@ -12853,7 +12800,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
12853
12800
  } | undefined;
12854
12801
  tracker?: {
12855
12802
  tracker: string;
12856
- source: "custom" | "x-search";
12803
+ source: string;
12857
12804
  beneficiary: string;
12858
12805
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
12859
12806
  where?: {
@@ -13109,10 +13056,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
13109
13056
  humanReview: boolean;
13110
13057
  trigger: {
13111
13058
  kind: "automatic";
13112
- observation?: {
13113
- source: string;
13114
- type: string;
13115
- } | undefined;
13116
13059
  content?: {
13117
13060
  tracker: string;
13118
13061
  window: {
@@ -13125,7 +13068,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
13125
13068
  } | undefined;
13126
13069
  tracker?: {
13127
13070
  tracker: string;
13128
- source: "custom" | "x-search";
13071
+ source: string;
13129
13072
  beneficiary: string;
13130
13073
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
13131
13074
  where?: {
@@ -13671,6 +13614,11 @@ declare function createManagementClient(options: ManagementClientOptions): {
13671
13614
  } | {
13672
13615
  kind: "x-search";
13673
13616
  query: string;
13617
+ } | {
13618
+ kind: "discord-messages";
13619
+ text?: boolean | undefined;
13620
+ } | {
13621
+ kind: "discord-reactions";
13674
13622
  };
13675
13623
  window: {
13676
13624
  start: number;
@@ -13819,10 +13767,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
13819
13767
  humanReview: boolean;
13820
13768
  trigger: {
13821
13769
  kind: "automatic";
13822
- observation?: {
13823
- source: string;
13824
- type: string;
13825
- } | undefined;
13826
13770
  content?: {
13827
13771
  tracker: string;
13828
13772
  window: {
@@ -13835,7 +13779,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
13835
13779
  } | undefined;
13836
13780
  tracker?: {
13837
13781
  tracker: string;
13838
- source: "custom" | "x-search";
13782
+ source: string;
13839
13783
  beneficiary: string;
13840
13784
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
13841
13785
  where?: {
@@ -14091,10 +14035,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
14091
14035
  humanReview: boolean;
14092
14036
  trigger: {
14093
14037
  kind: "automatic";
14094
- observation?: {
14095
- source: string;
14096
- type: string;
14097
- } | undefined;
14098
14038
  content?: {
14099
14039
  tracker: string;
14100
14040
  window: {
@@ -14107,7 +14047,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
14107
14047
  } | undefined;
14108
14048
  tracker?: {
14109
14049
  tracker: string;
14110
- source: "custom" | "x-search";
14050
+ source: string;
14111
14051
  beneficiary: string;
14112
14052
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
14113
14053
  where?: {
@@ -14686,10 +14626,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
14686
14626
  humanReview: boolean;
14687
14627
  trigger: {
14688
14628
  kind: "automatic";
14689
- observation?: {
14690
- source: string;
14691
- type: string;
14692
- } | undefined;
14693
14629
  content?: {
14694
14630
  tracker: string;
14695
14631
  window: {
@@ -14702,7 +14638,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
14702
14638
  } | undefined;
14703
14639
  tracker?: {
14704
14640
  tracker: string;
14705
- source: "custom" | "x-search";
14641
+ source: string;
14706
14642
  beneficiary: string;
14707
14643
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
14708
14644
  where?: {
@@ -15011,10 +14947,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
15011
14947
  humanReview: boolean;
15012
14948
  trigger: {
15013
14949
  kind: "automatic";
15014
- observation?: {
15015
- source: string;
15016
- type: string;
15017
- } | undefined;
15018
14950
  content?: {
15019
14951
  tracker: string;
15020
14952
  window: {
@@ -15027,7 +14959,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
15027
14959
  } | undefined;
15028
14960
  tracker?: {
15029
14961
  tracker: string;
15030
- source: "custom" | "x-search";
14962
+ source: string;
15031
14963
  beneficiary: string;
15032
14964
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
15033
14965
  where?: {
@@ -15287,10 +15219,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
15287
15219
  humanReview: boolean;
15288
15220
  trigger: {
15289
15221
  kind: "automatic";
15290
- observation?: {
15291
- source: string;
15292
- type: string;
15293
- } | undefined;
15294
15222
  content?: {
15295
15223
  tracker: string;
15296
15224
  window: {
@@ -15303,7 +15231,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
15303
15231
  } | undefined;
15304
15232
  tracker?: {
15305
15233
  tracker: string;
15306
- source: "custom" | "x-search";
15234
+ source: string;
15307
15235
  beneficiary: string;
15308
15236
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
15309
15237
  where?: {
@@ -15541,10 +15469,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
15541
15469
  humanReview: boolean;
15542
15470
  trigger: {
15543
15471
  kind: "automatic";
15544
- observation?: {
15545
- source: string;
15546
- type: string;
15547
- } | undefined;
15548
15472
  content?: {
15549
15473
  tracker: string;
15550
15474
  window: {
@@ -15557,7 +15481,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
15557
15481
  } | undefined;
15558
15482
  tracker?: {
15559
15483
  tracker: string;
15560
- source: "custom" | "x-search";
15484
+ source: string;
15561
15485
  beneficiary: string;
15562
15486
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
15563
15487
  where?: {
@@ -15866,10 +15790,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
15866
15790
  humanReview: boolean;
15867
15791
  trigger: {
15868
15792
  kind: "automatic";
15869
- observation?: {
15870
- source: string;
15871
- type: string;
15872
- } | undefined;
15873
15793
  content?: {
15874
15794
  tracker: string;
15875
15795
  window: {
@@ -15882,7 +15802,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
15882
15802
  } | undefined;
15883
15803
  tracker?: {
15884
15804
  tracker: string;
15885
- source: "custom" | "x-search";
15805
+ source: string;
15886
15806
  beneficiary: string;
15887
15807
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
15888
15808
  where?: {
@@ -16261,10 +16181,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
16261
16181
  humanReview: boolean;
16262
16182
  trigger: {
16263
16183
  kind: "automatic";
16264
- observation?: {
16265
- source: string;
16266
- type: string;
16267
- } | undefined;
16268
16184
  content?: {
16269
16185
  tracker: string;
16270
16186
  window: {
@@ -16277,7 +16193,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
16277
16193
  } | undefined;
16278
16194
  tracker?: {
16279
16195
  tracker: string;
16280
- source: "custom" | "x-search";
16196
+ source: string;
16281
16197
  beneficiary: string;
16282
16198
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
16283
16199
  where?: {
@@ -16599,10 +16515,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
16599
16515
  humanReview: boolean;
16600
16516
  trigger: {
16601
16517
  kind: "automatic";
16602
- observation?: {
16603
- source: string;
16604
- type: string;
16605
- } | undefined;
16606
16518
  content?: {
16607
16519
  tracker: string;
16608
16520
  window: {
@@ -16615,7 +16527,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
16615
16527
  } | undefined;
16616
16528
  tracker?: {
16617
16529
  tracker: string;
16618
- source: "custom" | "x-search";
16530
+ source: string;
16619
16531
  beneficiary: string;
16620
16532
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
16621
16533
  where?: {
@@ -17426,7 +17338,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
17426
17338
  subtitle: string;
17427
17339
  initials: string;
17428
17340
  color: string;
17429
- permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[];
17341
+ permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[];
17430
17342
  environments: ("test" | "live")[];
17431
17343
  setup?: {
17432
17344
  mode: "new" | "existing";
@@ -17444,7 +17356,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
17444
17356
  subtitle: string;
17445
17357
  initials: string;
17446
17358
  color: string;
17447
- permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[];
17359
+ permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[];
17448
17360
  environments: ("test" | "live")[];
17449
17361
  setup?: {
17450
17362
  mode: "new" | "existing";
@@ -17472,7 +17384,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
17472
17384
  name: string;
17473
17385
  project: string;
17474
17386
  environment: "test" | "live";
17475
- permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[];
17387
+ permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[];
17476
17388
  expiresAt: number;
17477
17389
  }[]>;
17478
17390
  /**
@@ -17484,7 +17396,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
17484
17396
  name: string;
17485
17397
  project: string;
17486
17398
  environment: "test" | "live";
17487
- permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "observe" | "ingest")[];
17399
+ permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points" | "ingest" | "enroll")[];
17488
17400
  expiresAt: number;
17489
17401
  token: string;
17490
17402
  }>;
@@ -17687,10 +17599,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
17687
17599
  humanReview: boolean;
17688
17600
  trigger: {
17689
17601
  kind: "automatic";
17690
- observation?: {
17691
- source: string;
17692
- type: string;
17693
- } | undefined;
17694
17602
  content?: {
17695
17603
  tracker: string;
17696
17604
  window: {
@@ -17703,7 +17611,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
17703
17611
  } | undefined;
17704
17612
  tracker?: {
17705
17613
  tracker: string;
17706
- source: "custom" | "x-search";
17614
+ source: string;
17707
17615
  beneficiary: string;
17708
17616
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
17709
17617
  where?: {
@@ -18219,10 +18127,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
18219
18127
  humanReview: boolean;
18220
18128
  trigger: {
18221
18129
  kind: "automatic";
18222
- observation?: {
18223
- source: string;
18224
- type: string;
18225
- } | undefined;
18226
18130
  content?: {
18227
18131
  tracker: string;
18228
18132
  window: {
@@ -18235,7 +18139,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
18235
18139
  } | undefined;
18236
18140
  tracker?: {
18237
18141
  tracker: string;
18238
- source: "custom" | "x-search";
18142
+ source: string;
18239
18143
  beneficiary: string;
18240
18144
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
18241
18145
  where?: {
@@ -18557,10 +18461,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
18557
18461
  connections: ("discord" | "x" | "google" | "apple")[];
18558
18462
  trigger: {
18559
18463
  kind: "automatic";
18560
- observation?: {
18561
- source: string;
18562
- type: string;
18563
- } | undefined;
18564
18464
  content?: {
18565
18465
  tracker: string;
18566
18466
  window: {
@@ -18573,7 +18473,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
18573
18473
  } | undefined;
18574
18474
  tracker?: {
18575
18475
  tracker: string;
18576
- source: "custom" | "x-search";
18476
+ source: string;
18577
18477
  beneficiary: string;
18578
18478
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
18579
18479
  where?: {
@@ -18649,10 +18549,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
18649
18549
  kind: "staff-required";
18650
18550
  } | {
18651
18551
  kind: "automatic";
18652
- observation?: {
18653
- source: string;
18654
- type: string;
18655
- } | undefined;
18656
18552
  } | {
18657
18553
  kind: "checking";
18658
18554
  attempt: string;
@@ -19278,10 +19174,6 @@ declare function createManagementClient(options: ManagementClientOptions): {
19278
19174
  humanReview: boolean;
19279
19175
  trigger: {
19280
19176
  kind: "automatic";
19281
- observation?: {
19282
- source: string;
19283
- type: string;
19284
- } | undefined;
19285
19177
  content?: {
19286
19178
  tracker: string;
19287
19179
  window: {
@@ -19294,7 +19186,7 @@ declare function createManagementClient(options: ManagementClientOptions): {
19294
19186
  } | undefined;
19295
19187
  tracker?: {
19296
19188
  tracker: string;
19297
- source: "custom" | "x-search";
19189
+ source: string;
19298
19190
  beneficiary: string;
19299
19191
  on?: "new-record" | "new-observation" | "data-changed" | undefined;
19300
19192
  where?: {