@domino-sdk/relay-cli 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { observationInputSchema, pointsMutationSchema, referralControlSchema, leaderboardQuerySchema, leaderboardExclusionSchema, leaderboardGroupSchema, projectDeploymentSchema, publishDeploymentSchema, catalogDeploymentSchema, saveQuestDraftSchema, publishQuestDraftSchema, collectionBeginSchema, configurePickupSchema } from '@domino-sdk/relay';
1
+ import { observationInputSchema, pointLedgerSchema, createPointLedgerSchema, pointsMutationSchema, referralControlSchema, leaderboardQuerySchema, leaderboardExclusionSchema, leaderboardGroupSchema, projectDeploymentSchema, publishDeploymentSchema, allocateQuestSchema, catalogDeploymentSchema, saveQuestDraftSchema, publishQuestDraftSchema, collectionBeginSchema, createStockItemSchema, configurePickupSchema } from '@domino-sdk/relay';
2
2
  import { z } from 'zod';
3
3
 
4
4
  declare const appRoutingSchema: z.ZodDefault<z.ZodEnum<{
@@ -430,7 +430,7 @@ declare const projectSchema: z.ZodObject<{
430
430
  }, z.core.$strip>;
431
431
  type Project = z.infer<typeof projectSchema>;
432
432
  declare const projectInputSchema: z.ZodObject<{
433
- project: z.ZodString;
433
+ actionId: z.ZodString;
434
434
  name: z.ZodString;
435
435
  setup: z.ZodOptional<z.ZodObject<{
436
436
  mode: z.ZodEnum<{
@@ -586,6 +586,7 @@ declare const readinessSchema: z.ZodObject<{
586
586
  }, z.core.$strip>;
587
587
  declare const inventorySchema: z.ZodObject<{
588
588
  item: z.ZodString;
589
+ name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
589
590
  available: z.ZodNumber;
590
591
  reserved: z.ZodNumber;
591
592
  allocated: z.ZodDefault<z.ZodNumber>;
@@ -629,6 +630,11 @@ declare const pageSchema: z.ZodObject<{
629
630
  discord: "discord";
630
631
  }>>>;
631
632
  fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
633
+ kind: z.ZodLiteral<"point-ledger">;
634
+ default: z.ZodString;
635
+ label: z.ZodString;
636
+ description: z.ZodOptional<z.ZodString>;
637
+ }, z.core.$strict>, z.ZodObject<{
632
638
  kind: z.ZodLiteral<"datetime">;
633
639
  default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
634
640
  label: z.ZodString;
@@ -637,6 +643,9 @@ declare const pageSchema: z.ZodObject<{
637
643
  kind: z.ZodLiteral<"resource">;
638
644
  default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
639
645
  source: z.ZodUnion<readonly [z.ZodObject<{
646
+ provider: z.ZodLiteral<"domino">;
647
+ resource: z.ZodLiteral<"point-ledger">;
648
+ }, z.core.$strict>, z.ZodObject<{
640
649
  provider: z.ZodLiteral<"discord">;
641
650
  resource: z.ZodLiteral<"channel">;
642
651
  types: z.ZodArray<z.ZodEnum<{
@@ -773,6 +782,7 @@ declare const pageSchema: z.ZodObject<{
773
782
  balance: z.ZodString;
774
783
  }, z.core.$strict>]>;
775
784
  }, z.core.$strict>>>;
785
+ key: z.ZodOptional<z.ZodString>;
776
786
  code: z.ZodString;
777
787
  provider: z.ZodEnum<{
778
788
  "fixture-pass": "fixture-pass";
@@ -881,6 +891,11 @@ declare const pageSchema: z.ZodObject<{
881
891
  };
882
892
  integrations: "discord"[];
883
893
  fields: Record<string, {
894
+ kind: "point-ledger";
895
+ default: string;
896
+ label: string;
897
+ description?: string | undefined;
898
+ } | {
884
899
  kind: "datetime";
885
900
  default: string;
886
901
  label: string;
@@ -889,6 +904,9 @@ declare const pageSchema: z.ZodObject<{
889
904
  kind: "resource";
890
905
  default: string;
891
906
  source: {
907
+ provider: "domino";
908
+ resource: "point-ledger";
909
+ } | {
892
910
  provider: "discord";
893
911
  resource: "channel";
894
912
  types: ("text" | "announcement")[];
@@ -1012,6 +1030,7 @@ declare const pageSchema: z.ZodObject<{
1012
1030
  createdAt: number;
1013
1031
  legacy: boolean;
1014
1032
  lifecycle: "active" | "paused" | "archived";
1033
+ key?: string | undefined;
1015
1034
  origin?: {
1016
1035
  typeVersion: string;
1017
1036
  } | undefined;
@@ -1272,6 +1291,7 @@ declare const pageSchema: z.ZodObject<{
1272
1291
  limit: z.ZodNumber;
1273
1292
  inventory: z.ZodArray<z.ZodObject<{
1274
1293
  item: z.ZodString;
1294
+ name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
1275
1295
  available: z.ZodNumber;
1276
1296
  reserved: z.ZodNumber;
1277
1297
  allocated: z.ZodDefault<z.ZodNumber>;
@@ -1325,6 +1345,11 @@ declare const memberDetailSchema: z.ZodObject<{
1325
1345
  discord: "discord";
1326
1346
  }>>>;
1327
1347
  fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
1348
+ kind: z.ZodLiteral<"point-ledger">;
1349
+ default: z.ZodString;
1350
+ label: z.ZodString;
1351
+ description: z.ZodOptional<z.ZodString>;
1352
+ }, z.core.$strict>, z.ZodObject<{
1328
1353
  kind: z.ZodLiteral<"datetime">;
1329
1354
  default: z.ZodPipe<z.ZodISODateTime, z.ZodTransform<string, string>>;
1330
1355
  label: z.ZodString;
@@ -1333,6 +1358,9 @@ declare const memberDetailSchema: z.ZodObject<{
1333
1358
  kind: z.ZodLiteral<"resource">;
1334
1359
  default: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
1335
1360
  source: z.ZodUnion<readonly [z.ZodObject<{
1361
+ provider: z.ZodLiteral<"domino">;
1362
+ resource: z.ZodLiteral<"point-ledger">;
1363
+ }, z.core.$strict>, z.ZodObject<{
1336
1364
  provider: z.ZodLiteral<"discord">;
1337
1365
  resource: z.ZodLiteral<"channel">;
1338
1366
  types: z.ZodArray<z.ZodEnum<{
@@ -1469,6 +1497,7 @@ declare const memberDetailSchema: z.ZodObject<{
1469
1497
  balance: z.ZodString;
1470
1498
  }, z.core.$strict>]>;
1471
1499
  }, z.core.$strict>>>;
1500
+ key: z.ZodOptional<z.ZodString>;
1472
1501
  code: z.ZodString;
1473
1502
  provider: z.ZodEnum<{
1474
1503
  "fixture-pass": "fixture-pass";
@@ -1577,6 +1606,11 @@ declare const memberDetailSchema: z.ZodObject<{
1577
1606
  };
1578
1607
  integrations: "discord"[];
1579
1608
  fields: Record<string, {
1609
+ kind: "point-ledger";
1610
+ default: string;
1611
+ label: string;
1612
+ description?: string | undefined;
1613
+ } | {
1580
1614
  kind: "datetime";
1581
1615
  default: string;
1582
1616
  label: string;
@@ -1585,6 +1619,9 @@ declare const memberDetailSchema: z.ZodObject<{
1585
1619
  kind: "resource";
1586
1620
  default: string;
1587
1621
  source: {
1622
+ provider: "domino";
1623
+ resource: "point-ledger";
1624
+ } | {
1588
1625
  provider: "discord";
1589
1626
  resource: "channel";
1590
1627
  types: ("text" | "announcement")[];
@@ -1708,6 +1745,7 @@ declare const memberDetailSchema: z.ZodObject<{
1708
1745
  createdAt: number;
1709
1746
  legacy: boolean;
1710
1747
  lifecycle: "active" | "paused" | "archived";
1748
+ key?: string | undefined;
1711
1749
  origin?: {
1712
1750
  typeVersion: string;
1713
1751
  } | undefined;
@@ -1944,6 +1982,7 @@ declare const memberDetailSchema: z.ZodObject<{
1944
1982
  member: z.ZodString;
1945
1983
  quests: z.ZodArray<z.ZodObject<{
1946
1984
  quest: z.ZodString;
1985
+ key: z.ZodOptional<z.ZodString>;
1947
1986
  release: z.ZodOptional<z.ZodString>;
1948
1987
  title: z.ZodString;
1949
1988
  presentation: z.ZodDefault<z.ZodObject<{
@@ -2242,6 +2281,16 @@ declare const tokenSchema: z.ZodObject<{
2242
2281
  }>>;
2243
2282
  expiresAt: z.ZodNumber;
2244
2283
  }, z.core.$strip>;
2284
+ type CreationInput<T extends {
2285
+ actionId: string;
2286
+ }> = Omit<T, "actionId"> & {
2287
+ actionId?: string;
2288
+ };
2289
+ /** Reuse actionId with the same input to recover an uncertain creation result. */
2290
+ declare class CreationError extends Error {
2291
+ readonly actionId: string;
2292
+ constructor(message: string, actionId: string, cause: unknown);
2293
+ }
2245
2294
  declare function createManagementClient(options: {
2246
2295
  baseUrl: string;
2247
2296
  getToken?: () => Promise<string | null>;
@@ -2259,7 +2308,29 @@ declare function createManagementClient(options: {
2259
2308
  receivedAt: number;
2260
2309
  }>;
2261
2310
  };
2311
+ pointLedgers: {
2312
+ list: () => Promise<{
2313
+ name: string;
2314
+ description: string;
2315
+ id: string;
2316
+ }[]>;
2317
+ save: (input: z.input<typeof pointLedgerSchema>) => Promise<{
2318
+ name: string;
2319
+ description: string;
2320
+ id: string;
2321
+ }>;
2322
+ };
2262
2323
  points: {
2324
+ ledgers: () => Promise<{
2325
+ name: string;
2326
+ description: string;
2327
+ id: string;
2328
+ }[]>;
2329
+ createLedger: (input: CreationInput<z.input<typeof createPointLedgerSchema>>) => Promise<{
2330
+ name: string;
2331
+ description: string;
2332
+ id: string;
2333
+ }>;
2263
2334
  update: (input: z.input<typeof pointsMutationSchema>) => Promise<{
2264
2335
  entry: {
2265
2336
  id: string;
@@ -2408,6 +2479,7 @@ declare function createManagementClient(options: {
2408
2479
  durationDays?: number | undefined;
2409
2480
  maxPoints?: number | undefined;
2410
2481
  }[];
2482
+ key?: string | undefined;
2411
2483
  inviterGroup?: string | undefined;
2412
2484
  };
2413
2485
  publishedAt: number;
@@ -2493,6 +2565,7 @@ declare function createManagementClient(options: {
2493
2565
  };
2494
2566
  };
2495
2567
  access: "participants" | "public";
2568
+ key?: string | undefined;
2496
2569
  group?: string | undefined;
2497
2570
  };
2498
2571
  publishedAt: number;
@@ -2576,6 +2649,7 @@ declare function createManagementClient(options: {
2576
2649
  };
2577
2650
  };
2578
2651
  access: "participants" | "public";
2652
+ key?: string | undefined;
2579
2653
  group?: string | undefined;
2580
2654
  };
2581
2655
  publishedAt: number;
@@ -2595,9 +2669,14 @@ declare function createManagementClient(options: {
2595
2669
  preview: (input: z.input<typeof projectDeploymentSchema>) => Promise<{
2596
2670
  id: string;
2597
2671
  baseRevision: number;
2672
+ pointLedgers: {
2673
+ name: string;
2674
+ description: string;
2675
+ id: string;
2676
+ }[];
2598
2677
  releases: ({
2599
2678
  quest: string;
2600
- runtimeVersion: 1 | 2;
2679
+ runtimeVersion: 2 | 1;
2601
2680
  title: string;
2602
2681
  presentation: {
2603
2682
  quiz?: {
@@ -2621,6 +2700,11 @@ declare function createManagementClient(options: {
2621
2700
  };
2622
2701
  integrations: "discord"[];
2623
2702
  fields: Record<string, {
2703
+ kind: "point-ledger";
2704
+ default: string;
2705
+ label: string;
2706
+ description?: string | undefined;
2707
+ } | {
2624
2708
  kind: "datetime";
2625
2709
  default: string;
2626
2710
  label: string;
@@ -2632,6 +2716,9 @@ declare function createManagementClient(options: {
2632
2716
  provider: "discord";
2633
2717
  resource: "channel";
2634
2718
  types: ("text" | "announcement")[];
2719
+ } | {
2720
+ provider: "domino";
2721
+ resource: "point-ledger";
2635
2722
  } | {
2636
2723
  provider: "discord";
2637
2724
  resource: "role";
@@ -2739,7 +2826,7 @@ declare function createManagementClient(options: {
2739
2826
  visibility: "visible" | "hidden";
2740
2827
  budgets: {
2741
2828
  id: string;
2742
- scope: "member" | "project";
2829
+ scope: "project" | "member";
2743
2830
  period: "lifetime" | "day";
2744
2831
  limit: number;
2745
2832
  cost: number | {
@@ -2752,6 +2839,7 @@ declare function createManagementClient(options: {
2752
2839
  createdAt: number;
2753
2840
  legacy: boolean;
2754
2841
  lifecycle: "active" | "paused" | "archived";
2842
+ key?: string | undefined;
2755
2843
  origin?: {
2756
2844
  typeVersion: string;
2757
2845
  } | undefined;
@@ -2802,6 +2890,11 @@ declare function createManagementClient(options: {
2802
2890
  };
2803
2891
  integrations: "discord"[];
2804
2892
  fields: Record<string, {
2893
+ kind: "point-ledger";
2894
+ default: string;
2895
+ label: string;
2896
+ description?: string | undefined;
2897
+ } | {
2805
2898
  kind: "datetime";
2806
2899
  default: string;
2807
2900
  label: string;
@@ -2810,6 +2903,9 @@ declare function createManagementClient(options: {
2810
2903
  kind: "resource";
2811
2904
  default: string;
2812
2905
  source: {
2906
+ provider: "domino";
2907
+ resource: "point-ledger";
2908
+ } | {
2813
2909
  provider: "discord";
2814
2910
  resource: "channel";
2815
2911
  types: ("text" | "announcement")[];
@@ -2933,6 +3029,7 @@ declare function createManagementClient(options: {
2933
3029
  createdAt: number;
2934
3030
  legacy: boolean;
2935
3031
  lifecycle: "paused" | "active" | "archived";
3032
+ key?: string | undefined;
2936
3033
  origin?: {
2937
3034
  typeVersion: string;
2938
3035
  } | undefined;
@@ -2988,6 +3085,11 @@ declare function createManagementClient(options: {
2988
3085
  };
2989
3086
  integrations: "discord"[];
2990
3087
  fields: Record<string, {
3088
+ kind: "point-ledger";
3089
+ default: string;
3090
+ label: string;
3091
+ description?: string | undefined;
3092
+ } | {
2991
3093
  kind: "datetime";
2992
3094
  default: string;
2993
3095
  label: string;
@@ -2996,6 +3098,9 @@ declare function createManagementClient(options: {
2996
3098
  kind: "resource";
2997
3099
  default: string;
2998
3100
  source: {
3101
+ provider: "domino";
3102
+ resource: "point-ledger";
3103
+ } | {
2999
3104
  provider: "discord";
3000
3105
  resource: "channel";
3001
3106
  types: ("text" | "announcement")[];
@@ -3116,11 +3221,13 @@ declare function createManagementClient(options: {
3116
3221
  };
3117
3222
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
3118
3223
  createdAt: number;
3224
+ key?: string | undefined;
3119
3225
  }[];
3120
3226
  collections: {
3121
3227
  id: string;
3122
3228
  title: string;
3123
3229
  quests: string[];
3230
+ key?: string | undefined;
3124
3231
  }[];
3125
3232
  supportedInteractions: ("staff" | "quiz" | "photo" | "automatic" | "claim")[];
3126
3233
  referrals: {
@@ -3218,6 +3325,7 @@ declare function createManagementClient(options: {
3218
3325
  durationDays?: number | undefined;
3219
3326
  maxPoints?: number | undefined;
3220
3327
  }[];
3328
+ key?: string | undefined;
3221
3329
  inviterGroup?: string | undefined;
3222
3330
  };
3223
3331
  publishedAt: number;
@@ -3267,6 +3375,7 @@ declare function createManagementClient(options: {
3267
3375
  };
3268
3376
  };
3269
3377
  access: "participants" | "public";
3378
+ key?: string | undefined;
3270
3379
  group?: string | undefined;
3271
3380
  };
3272
3381
  publishedAt: number;
@@ -3347,9 +3456,14 @@ declare function createManagementClient(options: {
3347
3456
  publish: (input: z.input<typeof publishDeploymentSchema>) => Promise<{
3348
3457
  id: string;
3349
3458
  baseRevision: number;
3459
+ pointLedgers: {
3460
+ name: string;
3461
+ description: string;
3462
+ id: string;
3463
+ }[];
3350
3464
  releases: ({
3351
3465
  quest: string;
3352
- runtimeVersion: 1 | 2;
3466
+ runtimeVersion: 2 | 1;
3353
3467
  title: string;
3354
3468
  presentation: {
3355
3469
  quiz?: {
@@ -3373,6 +3487,11 @@ declare function createManagementClient(options: {
3373
3487
  };
3374
3488
  integrations: "discord"[];
3375
3489
  fields: Record<string, {
3490
+ kind: "point-ledger";
3491
+ default: string;
3492
+ label: string;
3493
+ description?: string | undefined;
3494
+ } | {
3376
3495
  kind: "datetime";
3377
3496
  default: string;
3378
3497
  label: string;
@@ -3384,6 +3503,9 @@ declare function createManagementClient(options: {
3384
3503
  provider: "discord";
3385
3504
  resource: "channel";
3386
3505
  types: ("text" | "announcement")[];
3506
+ } | {
3507
+ provider: "domino";
3508
+ resource: "point-ledger";
3387
3509
  } | {
3388
3510
  provider: "discord";
3389
3511
  resource: "role";
@@ -3491,7 +3613,7 @@ declare function createManagementClient(options: {
3491
3613
  visibility: "visible" | "hidden";
3492
3614
  budgets: {
3493
3615
  id: string;
3494
- scope: "member" | "project";
3616
+ scope: "project" | "member";
3495
3617
  period: "lifetime" | "day";
3496
3618
  limit: number;
3497
3619
  cost: number | {
@@ -3504,6 +3626,7 @@ declare function createManagementClient(options: {
3504
3626
  createdAt: number;
3505
3627
  legacy: boolean;
3506
3628
  lifecycle: "active" | "paused" | "archived";
3629
+ key?: string | undefined;
3507
3630
  origin?: {
3508
3631
  typeVersion: string;
3509
3632
  } | undefined;
@@ -3554,6 +3677,11 @@ declare function createManagementClient(options: {
3554
3677
  };
3555
3678
  integrations: "discord"[];
3556
3679
  fields: Record<string, {
3680
+ kind: "point-ledger";
3681
+ default: string;
3682
+ label: string;
3683
+ description?: string | undefined;
3684
+ } | {
3557
3685
  kind: "datetime";
3558
3686
  default: string;
3559
3687
  label: string;
@@ -3562,6 +3690,9 @@ declare function createManagementClient(options: {
3562
3690
  kind: "resource";
3563
3691
  default: string;
3564
3692
  source: {
3693
+ provider: "domino";
3694
+ resource: "point-ledger";
3695
+ } | {
3565
3696
  provider: "discord";
3566
3697
  resource: "channel";
3567
3698
  types: ("text" | "announcement")[];
@@ -3685,6 +3816,7 @@ declare function createManagementClient(options: {
3685
3816
  createdAt: number;
3686
3817
  legacy: boolean;
3687
3818
  lifecycle: "paused" | "active" | "archived";
3819
+ key?: string | undefined;
3688
3820
  origin?: {
3689
3821
  typeVersion: string;
3690
3822
  } | undefined;
@@ -3740,6 +3872,11 @@ declare function createManagementClient(options: {
3740
3872
  };
3741
3873
  integrations: "discord"[];
3742
3874
  fields: Record<string, {
3875
+ kind: "point-ledger";
3876
+ default: string;
3877
+ label: string;
3878
+ description?: string | undefined;
3879
+ } | {
3743
3880
  kind: "datetime";
3744
3881
  default: string;
3745
3882
  label: string;
@@ -3748,6 +3885,9 @@ declare function createManagementClient(options: {
3748
3885
  kind: "resource";
3749
3886
  default: string;
3750
3887
  source: {
3888
+ provider: "domino";
3889
+ resource: "point-ledger";
3890
+ } | {
3751
3891
  provider: "discord";
3752
3892
  resource: "channel";
3753
3893
  types: ("text" | "announcement")[];
@@ -3868,11 +4008,13 @@ declare function createManagementClient(options: {
3868
4008
  };
3869
4009
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
3870
4010
  createdAt: number;
4011
+ key?: string | undefined;
3871
4012
  }[];
3872
4013
  collections: {
3873
4014
  id: string;
3874
4015
  title: string;
3875
4016
  quests: string[];
4017
+ key?: string | undefined;
3876
4018
  }[];
3877
4019
  supportedInteractions: ("staff" | "quiz" | "photo" | "automatic" | "claim")[];
3878
4020
  referrals: {
@@ -3970,6 +4112,7 @@ declare function createManagementClient(options: {
3970
4112
  durationDays?: number | undefined;
3971
4113
  maxPoints?: number | undefined;
3972
4114
  }[];
4115
+ key?: string | undefined;
3973
4116
  inviterGroup?: string | undefined;
3974
4117
  };
3975
4118
  publishedAt: number;
@@ -4019,6 +4162,7 @@ declare function createManagementClient(options: {
4019
4162
  };
4020
4163
  };
4021
4164
  access: "participants" | "public";
4165
+ key?: string | undefined;
4022
4166
  group?: string | undefined;
4023
4167
  };
4024
4168
  publishedAt: number;
@@ -4099,6 +4243,9 @@ declare function createManagementClient(options: {
4099
4243
  }>;
4100
4244
  };
4101
4245
  catalog: {
4246
+ allocateQuest: (input?: CreationInput<z.input<typeof allocateQuestSchema>>) => Promise<{
4247
+ id: string;
4248
+ }>;
4102
4249
  read: () => Promise<{
4103
4250
  revision: number;
4104
4251
  types: {
@@ -4131,6 +4278,11 @@ declare function createManagementClient(options: {
4131
4278
  };
4132
4279
  integrations: "discord"[];
4133
4280
  fields: Record<string, {
4281
+ kind: "point-ledger";
4282
+ default: string;
4283
+ label: string;
4284
+ description?: string | undefined;
4285
+ } | {
4134
4286
  kind: "datetime";
4135
4287
  default: string;
4136
4288
  label: string;
@@ -4139,6 +4291,9 @@ declare function createManagementClient(options: {
4139
4291
  kind: "resource";
4140
4292
  default: string;
4141
4293
  source: {
4294
+ provider: "domino";
4295
+ resource: "point-ledger";
4296
+ } | {
4142
4297
  provider: "discord";
4143
4298
  resource: "channel";
4144
4299
  types: ("text" | "announcement")[];
@@ -4259,11 +4414,13 @@ declare function createManagementClient(options: {
4259
4414
  };
4260
4415
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
4261
4416
  createdAt: number;
4417
+ key?: string | undefined;
4262
4418
  }[];
4263
4419
  collections: {
4264
4420
  id: string;
4265
4421
  title: string;
4266
4422
  quests: string[];
4423
+ key?: string | undefined;
4267
4424
  }[];
4268
4425
  quests: {
4269
4426
  id: string;
@@ -4307,6 +4464,7 @@ declare function createManagementClient(options: {
4307
4464
  id: string;
4308
4465
  title: string;
4309
4466
  quests: string[];
4467
+ key?: string | undefined;
4310
4468
  }[];
4311
4469
  };
4312
4470
  status: "draft";
@@ -4336,6 +4494,7 @@ declare function createManagementClient(options: {
4336
4494
  id: string;
4337
4495
  title: string;
4338
4496
  quests: string[];
4497
+ key?: string | undefined;
4339
4498
  }[];
4340
4499
  };
4341
4500
  status: "published";
@@ -4343,7 +4502,7 @@ declare function createManagementClient(options: {
4343
4502
  })[];
4344
4503
  releases: ({
4345
4504
  quest: string;
4346
- runtimeVersion: 1 | 2;
4505
+ runtimeVersion: 2 | 1;
4347
4506
  title: string;
4348
4507
  presentation: {
4349
4508
  quiz?: {
@@ -4367,6 +4526,11 @@ declare function createManagementClient(options: {
4367
4526
  };
4368
4527
  integrations: "discord"[];
4369
4528
  fields: Record<string, {
4529
+ kind: "point-ledger";
4530
+ default: string;
4531
+ label: string;
4532
+ description?: string | undefined;
4533
+ } | {
4370
4534
  kind: "datetime";
4371
4535
  default: string;
4372
4536
  label: string;
@@ -4378,6 +4542,9 @@ declare function createManagementClient(options: {
4378
4542
  provider: "discord";
4379
4543
  resource: "channel";
4380
4544
  types: ("text" | "announcement")[];
4545
+ } | {
4546
+ provider: "domino";
4547
+ resource: "point-ledger";
4381
4548
  } | {
4382
4549
  provider: "discord";
4383
4550
  resource: "role";
@@ -4485,7 +4652,7 @@ declare function createManagementClient(options: {
4485
4652
  visibility: "visible" | "hidden";
4486
4653
  budgets: {
4487
4654
  id: string;
4488
- scope: "member" | "project";
4655
+ scope: "project" | "member";
4489
4656
  period: "lifetime" | "day";
4490
4657
  limit: number;
4491
4658
  cost: number | {
@@ -4498,6 +4665,7 @@ declare function createManagementClient(options: {
4498
4665
  createdAt: number;
4499
4666
  legacy: boolean;
4500
4667
  lifecycle: "active" | "paused" | "archived";
4668
+ key?: string | undefined;
4501
4669
  origin?: {
4502
4670
  typeVersion: string;
4503
4671
  } | undefined;
@@ -4548,6 +4716,11 @@ declare function createManagementClient(options: {
4548
4716
  };
4549
4717
  integrations: "discord"[];
4550
4718
  fields: Record<string, {
4719
+ kind: "point-ledger";
4720
+ default: string;
4721
+ label: string;
4722
+ description?: string | undefined;
4723
+ } | {
4551
4724
  kind: "datetime";
4552
4725
  default: string;
4553
4726
  label: string;
@@ -4556,6 +4729,9 @@ declare function createManagementClient(options: {
4556
4729
  kind: "resource";
4557
4730
  default: string;
4558
4731
  source: {
4732
+ provider: "domino";
4733
+ resource: "point-ledger";
4734
+ } | {
4559
4735
  provider: "discord";
4560
4736
  resource: "channel";
4561
4737
  types: ("text" | "announcement")[];
@@ -4679,6 +4855,7 @@ declare function createManagementClient(options: {
4679
4855
  createdAt: number;
4680
4856
  legacy: boolean;
4681
4857
  lifecycle: "paused" | "active" | "archived";
4858
+ key?: string | undefined;
4682
4859
  origin?: {
4683
4860
  typeVersion: string;
4684
4861
  } | undefined;
@@ -4738,6 +4915,11 @@ declare function createManagementClient(options: {
4738
4915
  };
4739
4916
  integrations: "discord"[];
4740
4917
  fields: Record<string, {
4918
+ kind: "point-ledger";
4919
+ default: string;
4920
+ label: string;
4921
+ description?: string | undefined;
4922
+ } | {
4741
4923
  kind: "datetime";
4742
4924
  default: string;
4743
4925
  label: string;
@@ -4746,6 +4928,9 @@ declare function createManagementClient(options: {
4746
4928
  kind: "resource";
4747
4929
  default: string;
4748
4930
  source: {
4931
+ provider: "domino";
4932
+ resource: "point-ledger";
4933
+ } | {
4749
4934
  provider: "discord";
4750
4935
  resource: "channel";
4751
4936
  types: ("text" | "announcement")[];
@@ -4866,10 +5051,12 @@ declare function createManagementClient(options: {
4866
5051
  };
4867
5052
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
4868
5053
  createdAt: number;
5054
+ key?: string | undefined;
4869
5055
  }[];
4870
5056
  collections: {
4871
5057
  id: string;
4872
5058
  title: string;
5059
+ key?: string | undefined;
4873
5060
  }[];
4874
5061
  supportedInteractions: ("staff" | "quiz" | "photo" | "automatic" | "claim")[];
4875
5062
  }>;
@@ -4905,6 +5092,11 @@ declare function createManagementClient(options: {
4905
5092
  };
4906
5093
  integrations: "discord"[];
4907
5094
  fields: Record<string, {
5095
+ kind: "point-ledger";
5096
+ default: string;
5097
+ label: string;
5098
+ description?: string | undefined;
5099
+ } | {
4908
5100
  kind: "datetime";
4909
5101
  default: string;
4910
5102
  label: string;
@@ -4913,6 +5105,9 @@ declare function createManagementClient(options: {
4913
5105
  kind: "resource";
4914
5106
  default: string;
4915
5107
  source: {
5108
+ provider: "domino";
5109
+ resource: "point-ledger";
5110
+ } | {
4916
5111
  provider: "discord";
4917
5112
  resource: "channel";
4918
5113
  types: ("text" | "announcement")[];
@@ -5033,11 +5228,13 @@ declare function createManagementClient(options: {
5033
5228
  };
5034
5229
  provider: "fixture-pass" | "fixture-fail" | "fixture-unclear" | "fixture-error" | "workers-ai";
5035
5230
  createdAt: number;
5231
+ key?: string | undefined;
5036
5232
  }[];
5037
5233
  collections: {
5038
5234
  id: string;
5039
5235
  title: string;
5040
5236
  quests: string[];
5237
+ key?: string | undefined;
5041
5238
  }[];
5042
5239
  quests: {
5043
5240
  id: string;
@@ -5081,6 +5278,7 @@ declare function createManagementClient(options: {
5081
5278
  id: string;
5082
5279
  title: string;
5083
5280
  quests: string[];
5281
+ key?: string | undefined;
5084
5282
  }[];
5085
5283
  };
5086
5284
  status: "draft";
@@ -5110,6 +5308,7 @@ declare function createManagementClient(options: {
5110
5308
  id: string;
5111
5309
  title: string;
5112
5310
  quests: string[];
5311
+ key?: string | undefined;
5113
5312
  }[];
5114
5313
  };
5115
5314
  status: "published";
@@ -5117,7 +5316,7 @@ declare function createManagementClient(options: {
5117
5316
  })[];
5118
5317
  releases: ({
5119
5318
  quest: string;
5120
- runtimeVersion: 1 | 2;
5319
+ runtimeVersion: 2 | 1;
5121
5320
  title: string;
5122
5321
  presentation: {
5123
5322
  quiz?: {
@@ -5141,6 +5340,11 @@ declare function createManagementClient(options: {
5141
5340
  };
5142
5341
  integrations: "discord"[];
5143
5342
  fields: Record<string, {
5343
+ kind: "point-ledger";
5344
+ default: string;
5345
+ label: string;
5346
+ description?: string | undefined;
5347
+ } | {
5144
5348
  kind: "datetime";
5145
5349
  default: string;
5146
5350
  label: string;
@@ -5152,6 +5356,9 @@ declare function createManagementClient(options: {
5152
5356
  provider: "discord";
5153
5357
  resource: "channel";
5154
5358
  types: ("text" | "announcement")[];
5359
+ } | {
5360
+ provider: "domino";
5361
+ resource: "point-ledger";
5155
5362
  } | {
5156
5363
  provider: "discord";
5157
5364
  resource: "role";
@@ -5259,7 +5466,7 @@ declare function createManagementClient(options: {
5259
5466
  visibility: "visible" | "hidden";
5260
5467
  budgets: {
5261
5468
  id: string;
5262
- scope: "member" | "project";
5469
+ scope: "project" | "member";
5263
5470
  period: "lifetime" | "day";
5264
5471
  limit: number;
5265
5472
  cost: number | {
@@ -5272,6 +5479,7 @@ declare function createManagementClient(options: {
5272
5479
  createdAt: number;
5273
5480
  legacy: boolean;
5274
5481
  lifecycle: "active" | "paused" | "archived";
5482
+ key?: string | undefined;
5275
5483
  origin?: {
5276
5484
  typeVersion: string;
5277
5485
  } | undefined;
@@ -5322,6 +5530,11 @@ declare function createManagementClient(options: {
5322
5530
  };
5323
5531
  integrations: "discord"[];
5324
5532
  fields: Record<string, {
5533
+ kind: "point-ledger";
5534
+ default: string;
5535
+ label: string;
5536
+ description?: string | undefined;
5537
+ } | {
5325
5538
  kind: "datetime";
5326
5539
  default: string;
5327
5540
  label: string;
@@ -5330,6 +5543,9 @@ declare function createManagementClient(options: {
5330
5543
  kind: "resource";
5331
5544
  default: string;
5332
5545
  source: {
5546
+ provider: "domino";
5547
+ resource: "point-ledger";
5548
+ } | {
5333
5549
  provider: "discord";
5334
5550
  resource: "channel";
5335
5551
  types: ("text" | "announcement")[];
@@ -5453,6 +5669,7 @@ declare function createManagementClient(options: {
5453
5669
  createdAt: number;
5454
5670
  legacy: boolean;
5455
5671
  lifecycle: "paused" | "active" | "archived";
5672
+ key?: string | undefined;
5456
5673
  origin?: {
5457
5674
  typeVersion: string;
5458
5675
  } | undefined;
@@ -5506,6 +5723,7 @@ declare function createManagementClient(options: {
5506
5723
  id: string;
5507
5724
  title: string;
5508
5725
  quests: string[];
5726
+ key?: string | undefined;
5509
5727
  }[];
5510
5728
  };
5511
5729
  status: "draft";
@@ -5535,6 +5753,7 @@ declare function createManagementClient(options: {
5535
5753
  id: string;
5536
5754
  title: string;
5537
5755
  quests: string[];
5756
+ key?: string | undefined;
5538
5757
  }[];
5539
5758
  };
5540
5759
  status: "published";
@@ -5567,6 +5786,7 @@ declare function createManagementClient(options: {
5567
5786
  id: string;
5568
5787
  title: string;
5569
5788
  quests: string[];
5789
+ key?: string | undefined;
5570
5790
  }[];
5571
5791
  };
5572
5792
  status: "draft";
@@ -5596,6 +5816,7 @@ declare function createManagementClient(options: {
5596
5816
  id: string;
5597
5817
  title: string;
5598
5818
  quests: string[];
5819
+ key?: string | undefined;
5599
5820
  }[];
5600
5821
  };
5601
5822
  status: "published";
@@ -5603,7 +5824,7 @@ declare function createManagementClient(options: {
5603
5824
  };
5604
5825
  releases: ({
5605
5826
  quest: string;
5606
- runtimeVersion: 1 | 2;
5827
+ runtimeVersion: 2 | 1;
5607
5828
  title: string;
5608
5829
  presentation: {
5609
5830
  quiz?: {
@@ -5627,6 +5848,11 @@ declare function createManagementClient(options: {
5627
5848
  };
5628
5849
  integrations: "discord"[];
5629
5850
  fields: Record<string, {
5851
+ kind: "point-ledger";
5852
+ default: string;
5853
+ label: string;
5854
+ description?: string | undefined;
5855
+ } | {
5630
5856
  kind: "datetime";
5631
5857
  default: string;
5632
5858
  label: string;
@@ -5638,6 +5864,9 @@ declare function createManagementClient(options: {
5638
5864
  provider: "discord";
5639
5865
  resource: "channel";
5640
5866
  types: ("text" | "announcement")[];
5867
+ } | {
5868
+ provider: "domino";
5869
+ resource: "point-ledger";
5641
5870
  } | {
5642
5871
  provider: "discord";
5643
5872
  resource: "role";
@@ -5745,7 +5974,7 @@ declare function createManagementClient(options: {
5745
5974
  visibility: "visible" | "hidden";
5746
5975
  budgets: {
5747
5976
  id: string;
5748
- scope: "member" | "project";
5977
+ scope: "project" | "member";
5749
5978
  period: "lifetime" | "day";
5750
5979
  limit: number;
5751
5980
  cost: number | {
@@ -5758,6 +5987,7 @@ declare function createManagementClient(options: {
5758
5987
  createdAt: number;
5759
5988
  legacy: boolean;
5760
5989
  lifecycle: "active" | "paused" | "archived";
5990
+ key?: string | undefined;
5761
5991
  origin?: {
5762
5992
  typeVersion: string;
5763
5993
  } | undefined;
@@ -5808,6 +6038,11 @@ declare function createManagementClient(options: {
5808
6038
  };
5809
6039
  integrations: "discord"[];
5810
6040
  fields: Record<string, {
6041
+ kind: "point-ledger";
6042
+ default: string;
6043
+ label: string;
6044
+ description?: string | undefined;
6045
+ } | {
5811
6046
  kind: "datetime";
5812
6047
  default: string;
5813
6048
  label: string;
@@ -5816,6 +6051,9 @@ declare function createManagementClient(options: {
5816
6051
  kind: "resource";
5817
6052
  default: string;
5818
6053
  source: {
6054
+ provider: "domino";
6055
+ resource: "point-ledger";
6056
+ } | {
5819
6057
  provider: "discord";
5820
6058
  resource: "channel";
5821
6059
  types: ("text" | "announcement")[];
@@ -5939,6 +6177,7 @@ declare function createManagementClient(options: {
5939
6177
  createdAt: number;
5940
6178
  legacy: boolean;
5941
6179
  lifecycle: "paused" | "active" | "archived";
6180
+ key?: string | undefined;
5942
6181
  origin?: {
5943
6182
  typeVersion: string;
5944
6183
  } | undefined;
@@ -5968,6 +6207,7 @@ declare function createManagementClient(options: {
5968
6207
  id: string;
5969
6208
  title: string;
5970
6209
  quests: string[];
6210
+ key?: string | undefined;
5971
6211
  }[];
5972
6212
  }>;
5973
6213
  publish: (input: z.input<typeof publishQuestDraftSchema>) => Promise<{
@@ -5997,6 +6237,7 @@ declare function createManagementClient(options: {
5997
6237
  id: string;
5998
6238
  title: string;
5999
6239
  quests: string[];
6240
+ key?: string | undefined;
6000
6241
  }[];
6001
6242
  };
6002
6243
  status: "draft";
@@ -6026,6 +6267,7 @@ declare function createManagementClient(options: {
6026
6267
  id: string;
6027
6268
  title: string;
6028
6269
  quests: string[];
6270
+ key?: string | undefined;
6029
6271
  }[];
6030
6272
  };
6031
6273
  status: "published";
@@ -6033,7 +6275,7 @@ declare function createManagementClient(options: {
6033
6275
  };
6034
6276
  releases: ({
6035
6277
  quest: string;
6036
- runtimeVersion: 1 | 2;
6278
+ runtimeVersion: 2 | 1;
6037
6279
  title: string;
6038
6280
  presentation: {
6039
6281
  quiz?: {
@@ -6057,6 +6299,11 @@ declare function createManagementClient(options: {
6057
6299
  };
6058
6300
  integrations: "discord"[];
6059
6301
  fields: Record<string, {
6302
+ kind: "point-ledger";
6303
+ default: string;
6304
+ label: string;
6305
+ description?: string | undefined;
6306
+ } | {
6060
6307
  kind: "datetime";
6061
6308
  default: string;
6062
6309
  label: string;
@@ -6068,6 +6315,9 @@ declare function createManagementClient(options: {
6068
6315
  provider: "discord";
6069
6316
  resource: "channel";
6070
6317
  types: ("text" | "announcement")[];
6318
+ } | {
6319
+ provider: "domino";
6320
+ resource: "point-ledger";
6071
6321
  } | {
6072
6322
  provider: "discord";
6073
6323
  resource: "role";
@@ -6175,7 +6425,7 @@ declare function createManagementClient(options: {
6175
6425
  visibility: "visible" | "hidden";
6176
6426
  budgets: {
6177
6427
  id: string;
6178
- scope: "member" | "project";
6428
+ scope: "project" | "member";
6179
6429
  period: "lifetime" | "day";
6180
6430
  limit: number;
6181
6431
  cost: number | {
@@ -6188,6 +6438,7 @@ declare function createManagementClient(options: {
6188
6438
  createdAt: number;
6189
6439
  legacy: boolean;
6190
6440
  lifecycle: "active" | "paused" | "archived";
6441
+ key?: string | undefined;
6191
6442
  origin?: {
6192
6443
  typeVersion: string;
6193
6444
  } | undefined;
@@ -6238,6 +6489,11 @@ declare function createManagementClient(options: {
6238
6489
  };
6239
6490
  integrations: "discord"[];
6240
6491
  fields: Record<string, {
6492
+ kind: "point-ledger";
6493
+ default: string;
6494
+ label: string;
6495
+ description?: string | undefined;
6496
+ } | {
6241
6497
  kind: "datetime";
6242
6498
  default: string;
6243
6499
  label: string;
@@ -6246,6 +6502,9 @@ declare function createManagementClient(options: {
6246
6502
  kind: "resource";
6247
6503
  default: string;
6248
6504
  source: {
6505
+ provider: "domino";
6506
+ resource: "point-ledger";
6507
+ } | {
6249
6508
  provider: "discord";
6250
6509
  resource: "channel";
6251
6510
  types: ("text" | "announcement")[];
@@ -6369,6 +6628,7 @@ declare function createManagementClient(options: {
6369
6628
  createdAt: number;
6370
6629
  legacy: boolean;
6371
6630
  lifecycle: "paused" | "active" | "archived";
6631
+ key?: string | undefined;
6372
6632
  origin?: {
6373
6633
  typeVersion: string;
6374
6634
  } | undefined;
@@ -6398,6 +6658,7 @@ declare function createManagementClient(options: {
6398
6658
  id: string;
6399
6659
  title: string;
6400
6660
  quests: string[];
6661
+ key?: string | undefined;
6401
6662
  }[];
6402
6663
  }>;
6403
6664
  };
@@ -6572,6 +6833,10 @@ declare function createManagementClient(options: {
6572
6833
  }>;
6573
6834
  };
6574
6835
  inventory: {
6836
+ createItem: (input: CreationInput<z.input<typeof createStockItemSchema>>) => Promise<{
6837
+ id: string;
6838
+ name: string;
6839
+ }>;
6575
6840
  catalog: () => Promise<{
6576
6841
  reward: {
6577
6842
  id: string;
@@ -6672,7 +6937,7 @@ declare function createManagementClient(options: {
6672
6937
  } | undefined;
6673
6938
  }[];
6674
6939
  }>;
6675
- createProject: (input: z.infer<typeof projectInputSchema>) => Promise<{
6940
+ createProject: (input: CreationInput<z.input<typeof projectInputSchema>>) => Promise<{
6676
6941
  slug: string;
6677
6942
  id: string;
6678
6943
  organization: string;
@@ -6732,6 +6997,11 @@ declare function createManagementClient(options: {
6732
6997
  };
6733
6998
  integrations: "discord"[];
6734
6999
  fields: Record<string, {
7000
+ kind: "point-ledger";
7001
+ default: string;
7002
+ label: string;
7003
+ description?: string | undefined;
7004
+ } | {
6735
7005
  kind: "datetime";
6736
7006
  default: string;
6737
7007
  label: string;
@@ -6740,6 +7010,9 @@ declare function createManagementClient(options: {
6740
7010
  kind: "resource";
6741
7011
  default: string;
6742
7012
  source: {
7013
+ provider: "domino";
7014
+ resource: "point-ledger";
7015
+ } | {
6743
7016
  provider: "discord";
6744
7017
  resource: "channel";
6745
7018
  types: ("text" | "announcement")[];
@@ -6863,6 +7136,7 @@ declare function createManagementClient(options: {
6863
7136
  createdAt: number;
6864
7137
  legacy: boolean;
6865
7138
  lifecycle: "active" | "paused" | "archived";
7139
+ key?: string | undefined;
6866
7140
  origin?: {
6867
7141
  typeVersion: string;
6868
7142
  } | undefined;
@@ -6913,6 +7187,11 @@ declare function createManagementClient(options: {
6913
7187
  };
6914
7188
  integrations: "discord"[];
6915
7189
  fields: Record<string, {
7190
+ kind: "point-ledger";
7191
+ default: string;
7192
+ label: string;
7193
+ description?: string | undefined;
7194
+ } | {
6916
7195
  kind: "datetime";
6917
7196
  default: string;
6918
7197
  label: string;
@@ -6921,6 +7200,9 @@ declare function createManagementClient(options: {
6921
7200
  kind: "resource";
6922
7201
  default: string;
6923
7202
  source: {
7203
+ provider: "domino";
7204
+ resource: "point-ledger";
7205
+ } | {
6924
7206
  provider: "discord";
6925
7207
  resource: "channel";
6926
7208
  types: ("text" | "announcement")[];
@@ -7044,6 +7326,7 @@ declare function createManagementClient(options: {
7044
7326
  createdAt: number;
7045
7327
  legacy: boolean;
7046
7328
  lifecycle: "paused" | "active" | "archived";
7329
+ key?: string | undefined;
7047
7330
  origin?: {
7048
7331
  typeVersion: string;
7049
7332
  } | undefined;
@@ -7261,6 +7544,7 @@ declare function createManagementClient(options: {
7261
7544
  limit: number;
7262
7545
  inventory: {
7263
7546
  item: string;
7547
+ name: string | null;
7264
7548
  available: number;
7265
7549
  reserved: number;
7266
7550
  allocated: number;
@@ -7328,6 +7612,11 @@ declare function createManagementClient(options: {
7328
7612
  };
7329
7613
  integrations: "discord"[];
7330
7614
  fields: Record<string, {
7615
+ kind: "point-ledger";
7616
+ default: string;
7617
+ label: string;
7618
+ description?: string | undefined;
7619
+ } | {
7331
7620
  kind: "datetime";
7332
7621
  default: string;
7333
7622
  label: string;
@@ -7336,6 +7625,9 @@ declare function createManagementClient(options: {
7336
7625
  kind: "resource";
7337
7626
  default: string;
7338
7627
  source: {
7628
+ provider: "domino";
7629
+ resource: "point-ledger";
7630
+ } | {
7339
7631
  provider: "discord";
7340
7632
  resource: "channel";
7341
7633
  types: ("text" | "announcement")[];
@@ -7459,6 +7751,7 @@ declare function createManagementClient(options: {
7459
7751
  createdAt: number;
7460
7752
  legacy: boolean;
7461
7753
  lifecycle: "active" | "paused" | "archived";
7754
+ key?: string | undefined;
7462
7755
  origin?: {
7463
7756
  typeVersion: string;
7464
7757
  } | undefined;
@@ -7509,6 +7802,11 @@ declare function createManagementClient(options: {
7509
7802
  };
7510
7803
  integrations: "discord"[];
7511
7804
  fields: Record<string, {
7805
+ kind: "point-ledger";
7806
+ default: string;
7807
+ label: string;
7808
+ description?: string | undefined;
7809
+ } | {
7512
7810
  kind: "datetime";
7513
7811
  default: string;
7514
7812
  label: string;
@@ -7517,6 +7815,9 @@ declare function createManagementClient(options: {
7517
7815
  kind: "resource";
7518
7816
  default: string;
7519
7817
  source: {
7818
+ provider: "domino";
7819
+ resource: "point-ledger";
7820
+ } | {
7520
7821
  provider: "discord";
7521
7822
  resource: "channel";
7522
7823
  types: ("text" | "announcement")[];
@@ -7640,6 +7941,7 @@ declare function createManagementClient(options: {
7640
7941
  createdAt: number;
7641
7942
  legacy: boolean;
7642
7943
  lifecycle: "paused" | "active" | "archived";
7944
+ key?: string | undefined;
7643
7945
  origin?: {
7644
7946
  typeVersion: string;
7645
7947
  } | undefined;
@@ -7954,6 +8256,7 @@ declare function createManagementClient(options: {
7954
8256
  release?: string | undefined;
7955
8257
  } | undefined;
7956
8258
  } | null;
8259
+ key?: string | undefined;
7957
8260
  release?: string | undefined;
7958
8261
  }[];
7959
8262
  entitlements: ({
@@ -8061,4 +8364,4 @@ declare function createManagementClient(options: {
8061
8364
  }>;
8062
8365
  };
8063
8366
 
8064
- export { type Access, type AuditRecord, type BuildArtifacts, type BuildIdentity, type BuildSnapshot, type BuildStatus, type HostedBuild, type ListQuery, type ManagementPage, type Permission, type Person, type Project, accessSchema, accountProfileSchema, appRoutingSchema, assetPathSchema, auditRecordSchema, buildArtifactsSchema, buildIdentitySchema, buildPhaseSchema, buildSnapshotSchema, buildStatusSchema, commitSchema, createManagementClient, createRepositorySchema, developmentPreflightSchema, deviceApproveSchema, deviceRedeemSchema, deviceStartSchema, environmentSchema, grantSchema, hostedAppSchema, hostedBuildSchema, inventorySchema, memberAccountSchema, memberDetailSchema, memberSchema, metricsSchema, operationInputSchema, operationSchema, pageSchema, permissionSchema, personSchema, projectInputSchema, projectSchema, projectSetupSchema, querySchema, readinessSchema, repositorySchema, rolePermissions, roleSchema, stageRequestSchema, stockInputSchema, tokenInputSchema, tokenSchema };
8367
+ export { type Access, type AuditRecord, type BuildArtifacts, type BuildIdentity, type BuildSnapshot, type BuildStatus, CreationError, type HostedBuild, type ListQuery, type ManagementPage, type Permission, type Person, type Project, accessSchema, accountProfileSchema, appRoutingSchema, assetPathSchema, auditRecordSchema, buildArtifactsSchema, buildIdentitySchema, buildPhaseSchema, buildSnapshotSchema, buildStatusSchema, commitSchema, createManagementClient, createRepositorySchema, developmentPreflightSchema, deviceApproveSchema, deviceRedeemSchema, deviceStartSchema, environmentSchema, grantSchema, hostedAppSchema, hostedBuildSchema, inventorySchema, memberAccountSchema, memberDetailSchema, memberSchema, metricsSchema, operationInputSchema, operationSchema, pageSchema, permissionSchema, personSchema, projectInputSchema, projectSchema, projectSetupSchema, querySchema, readinessSchema, repositorySchema, rolePermissions, roleSchema, stageRequestSchema, stockInputSchema, tokenInputSchema, tokenSchema };