@domino-sdk/relay-cli 0.3.0 → 0.5.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,6 +1,37 @@
1
- import { projectDeploymentSchema, publishDeploymentSchema, catalogDeploymentSchema, saveQuestDraftSchema, publishQuestDraftSchema, collectionBeginSchema, configurePickupSchema } from '@domino-sdk/relay';
1
+ import { pointsMutationSchema, referralControlSchema, leaderboardQuerySchema, leaderboardExclusionSchema, leaderboardGroupSchema, projectDeploymentSchema, publishDeploymentSchema, catalogDeploymentSchema, saveQuestDraftSchema, publishQuestDraftSchema, collectionBeginSchema, configurePickupSchema } from '@domino-sdk/relay';
2
2
  import { z } from 'zod';
3
3
 
4
+ declare const appRoutingSchema: z.ZodDefault<z.ZodEnum<{
5
+ legacy: "legacy";
6
+ transparent: "transparent";
7
+ }>>;
8
+ declare const hostedAppSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
9
+ routing: z.ZodDefault<z.ZodEnum<{
10
+ legacy: "legacy";
11
+ transparent: "transparent";
12
+ }>>;
13
+ devScript: z.ZodString;
14
+ checkScript: z.ZodString;
15
+ buildScript: z.ZodString;
16
+ kind: z.ZodLiteral<"static">;
17
+ directory: z.ZodString;
18
+ }, z.core.$strict>, z.ZodObject<{
19
+ runWorkerFirst: z.ZodDefault<z.ZodBoolean>;
20
+ main: z.ZodString;
21
+ compatibilityDate: z.ZodString;
22
+ compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
23
+ vars: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
24
+ routing: z.ZodDefault<z.ZodEnum<{
25
+ legacy: "legacy";
26
+ transparent: "transparent";
27
+ }>>;
28
+ devScript: z.ZodString;
29
+ checkScript: z.ZodString;
30
+ buildScript: z.ZodString;
31
+ kind: z.ZodLiteral<"worker">;
32
+ directory: z.ZodString;
33
+ assetsDirectory: z.ZodOptional<z.ZodString>;
34
+ }, z.core.$strict>], "kind">;
4
35
  declare const repositorySchema: z.ZodObject<{
5
36
  id: z.ZodString;
6
37
  organization: z.ZodString;
@@ -32,6 +63,11 @@ declare const stageRequestSchema: z.ZodObject<{
32
63
  requestId: z.ZodString;
33
64
  }, z.core.$strict>;
34
65
  declare const buildIdentitySchema: z.ZodObject<{
66
+ routing: z.ZodDefault<z.ZodEnum<{
67
+ legacy: "legacy";
68
+ transparent: "transparent";
69
+ }>>;
70
+ slug: z.ZodOptional<z.ZodString>;
35
71
  runtime: z.ZodDefault<z.ZodEnum<{
36
72
  simulation: "simulation";
37
73
  "hosted-test": "hosted-test";
@@ -43,6 +79,7 @@ declare const buildIdentitySchema: z.ZodObject<{
43
79
  commit: z.ZodString;
44
80
  createdAt: z.ZodNumber;
45
81
  actor: z.ZodString;
82
+ commitMessage: z.ZodOptional<z.ZodString>;
46
83
  }, z.core.$strip>;
47
84
  type BuildIdentity = z.infer<typeof buildIdentitySchema>;
48
85
  declare const buildPhaseSchema: z.ZodEnum<{
@@ -66,13 +103,225 @@ declare const buildStatusSchema: z.ZodObject<{
66
103
  build: "build";
67
104
  deploy: "deploy";
68
105
  }>;
106
+ failedPhase: z.ZodOptional<z.ZodEnum<{
107
+ check: "check";
108
+ failed: "failed";
109
+ ready: "ready";
110
+ queued: "queued";
111
+ source: "source";
112
+ install: "install";
113
+ build: "build";
114
+ deploy: "deploy";
115
+ }>>;
69
116
  updatedAt: z.ZodNumber;
70
117
  message: z.ZodString;
71
118
  }, z.core.$strip>;
72
119
  type BuildStatus = z.infer<typeof buildStatusSchema>;
120
+ declare const hostedBuildSchema: z.ZodObject<{
121
+ routing: z.ZodDefault<z.ZodEnum<{
122
+ legacy: "legacy";
123
+ transparent: "transparent";
124
+ }>>;
125
+ slug: z.ZodOptional<z.ZodString>;
126
+ runtime: z.ZodDefault<z.ZodEnum<{
127
+ simulation: "simulation";
128
+ "hosted-test": "hosted-test";
129
+ }>>;
130
+ id: z.ZodString;
131
+ repository: z.ZodString;
132
+ organization: z.ZodString;
133
+ project: z.ZodString;
134
+ commit: z.ZodString;
135
+ createdAt: z.ZodNumber;
136
+ actor: z.ZodString;
137
+ commitMessage: z.ZodOptional<z.ZodString>;
138
+ finished: z.ZodBoolean;
139
+ current: z.ZodBoolean;
140
+ stagingUrl: z.ZodString;
141
+ phase: z.ZodEnum<{
142
+ check: "check";
143
+ failed: "failed";
144
+ ready: "ready";
145
+ queued: "queued";
146
+ source: "source";
147
+ install: "install";
148
+ build: "build";
149
+ deploy: "deploy";
150
+ }>;
151
+ failedPhase: z.ZodOptional<z.ZodEnum<{
152
+ check: "check";
153
+ failed: "failed";
154
+ ready: "ready";
155
+ queued: "queued";
156
+ source: "source";
157
+ install: "install";
158
+ build: "build";
159
+ deploy: "deploy";
160
+ }>>;
161
+ updatedAt: z.ZodNumber;
162
+ message: z.ZodString;
163
+ }, z.core.$strip>;
164
+ type HostedBuild = z.infer<typeof hostedBuildSchema>;
165
+ declare const buildSnapshotSchema: z.ZodObject<{
166
+ builds: z.ZodArray<z.ZodObject<{
167
+ routing: z.ZodDefault<z.ZodEnum<{
168
+ legacy: "legacy";
169
+ transparent: "transparent";
170
+ }>>;
171
+ slug: z.ZodOptional<z.ZodString>;
172
+ runtime: z.ZodDefault<z.ZodEnum<{
173
+ simulation: "simulation";
174
+ "hosted-test": "hosted-test";
175
+ }>>;
176
+ id: z.ZodString;
177
+ repository: z.ZodString;
178
+ organization: z.ZodString;
179
+ project: z.ZodString;
180
+ commit: z.ZodString;
181
+ createdAt: z.ZodNumber;
182
+ actor: z.ZodString;
183
+ commitMessage: z.ZodOptional<z.ZodString>;
184
+ finished: z.ZodBoolean;
185
+ current: z.ZodBoolean;
186
+ stagingUrl: z.ZodString;
187
+ phase: z.ZodEnum<{
188
+ check: "check";
189
+ failed: "failed";
190
+ ready: "ready";
191
+ queued: "queued";
192
+ source: "source";
193
+ install: "install";
194
+ build: "build";
195
+ deploy: "deploy";
196
+ }>;
197
+ failedPhase: z.ZodOptional<z.ZodEnum<{
198
+ check: "check";
199
+ failed: "failed";
200
+ ready: "ready";
201
+ queued: "queued";
202
+ source: "source";
203
+ install: "install";
204
+ build: "build";
205
+ deploy: "deploy";
206
+ }>>;
207
+ updatedAt: z.ZodNumber;
208
+ message: z.ZodString;
209
+ }, z.core.$strip>>;
210
+ current: z.ZodNullable<z.ZodObject<{
211
+ routing: z.ZodDefault<z.ZodEnum<{
212
+ legacy: "legacy";
213
+ transparent: "transparent";
214
+ }>>;
215
+ slug: z.ZodOptional<z.ZodString>;
216
+ runtime: z.ZodDefault<z.ZodEnum<{
217
+ simulation: "simulation";
218
+ "hosted-test": "hosted-test";
219
+ }>>;
220
+ id: z.ZodString;
221
+ repository: z.ZodString;
222
+ organization: z.ZodString;
223
+ project: z.ZodString;
224
+ commit: z.ZodString;
225
+ createdAt: z.ZodNumber;
226
+ actor: z.ZodString;
227
+ commitMessage: z.ZodOptional<z.ZodString>;
228
+ finished: z.ZodBoolean;
229
+ current: z.ZodBoolean;
230
+ stagingUrl: z.ZodString;
231
+ phase: z.ZodEnum<{
232
+ check: "check";
233
+ failed: "failed";
234
+ ready: "ready";
235
+ queued: "queued";
236
+ source: "source";
237
+ install: "install";
238
+ build: "build";
239
+ deploy: "deploy";
240
+ }>;
241
+ failedPhase: z.ZodOptional<z.ZodEnum<{
242
+ check: "check";
243
+ failed: "failed";
244
+ ready: "ready";
245
+ queued: "queued";
246
+ source: "source";
247
+ install: "install";
248
+ build: "build";
249
+ deploy: "deploy";
250
+ }>>;
251
+ updatedAt: z.ZodNumber;
252
+ message: z.ZodString;
253
+ }, z.core.$strip>>;
254
+ selected: z.ZodNullable<z.ZodObject<{
255
+ routing: z.ZodDefault<z.ZodEnum<{
256
+ legacy: "legacy";
257
+ transparent: "transparent";
258
+ }>>;
259
+ slug: z.ZodOptional<z.ZodString>;
260
+ runtime: z.ZodDefault<z.ZodEnum<{
261
+ simulation: "simulation";
262
+ "hosted-test": "hosted-test";
263
+ }>>;
264
+ id: z.ZodString;
265
+ repository: z.ZodString;
266
+ organization: z.ZodString;
267
+ project: z.ZodString;
268
+ commit: z.ZodString;
269
+ createdAt: z.ZodNumber;
270
+ actor: z.ZodString;
271
+ commitMessage: z.ZodOptional<z.ZodString>;
272
+ finished: z.ZodBoolean;
273
+ current: z.ZodBoolean;
274
+ stagingUrl: z.ZodString;
275
+ phase: z.ZodEnum<{
276
+ check: "check";
277
+ failed: "failed";
278
+ ready: "ready";
279
+ queued: "queued";
280
+ source: "source";
281
+ install: "install";
282
+ build: "build";
283
+ deploy: "deploy";
284
+ }>;
285
+ failedPhase: z.ZodOptional<z.ZodEnum<{
286
+ check: "check";
287
+ failed: "failed";
288
+ ready: "ready";
289
+ queued: "queued";
290
+ source: "source";
291
+ install: "install";
292
+ build: "build";
293
+ deploy: "deploy";
294
+ }>>;
295
+ updatedAt: z.ZodNumber;
296
+ message: z.ZodString;
297
+ }, z.core.$strip>>;
298
+ logs: z.ZodString;
299
+ }, z.core.$strip>;
300
+ type BuildSnapshot = z.infer<typeof buildSnapshotSchema>;
73
301
  declare const assetPathSchema: z.ZodString;
74
302
  declare const buildArtifactsSchema: z.ZodObject<{
75
303
  format: z.ZodLiteral<1>;
304
+ routing: z.ZodDefault<z.ZodEnum<{
305
+ legacy: "legacy";
306
+ transparent: "transparent";
307
+ }>>;
308
+ worker: z.ZodOptional<z.ZodObject<{
309
+ modules: z.ZodArray<z.ZodObject<{
310
+ path: z.ZodString;
311
+ type: z.ZodEnum<{
312
+ "application/javascript+module": "application/javascript+module";
313
+ "application/wasm": "application/wasm";
314
+ "text/plain": "text/plain";
315
+ "application/octet-stream": "application/octet-stream";
316
+ }>;
317
+ content: z.ZodString;
318
+ }, z.core.$strict>>;
319
+ runWorkerFirst: z.ZodDefault<z.ZodBoolean>;
320
+ main: z.ZodString;
321
+ compatibilityDate: z.ZodString;
322
+ compatibilityFlags: z.ZodDefault<z.ZodArray<z.ZodString>>;
323
+ vars: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
324
+ }, z.core.$strict>>;
76
325
  assets: z.ZodArray<z.ZodObject<{
77
326
  path: z.ZodString;
78
327
  content: z.ZodString;
@@ -135,6 +384,7 @@ declare const permissionSchema: z.ZodEnum<{
135
384
  handover: "handover";
136
385
  inventory: "inventory";
137
386
  access: "access";
387
+ points: "points";
138
388
  }>;
139
389
  type Permission = z.infer<typeof permissionSchema>;
140
390
  declare const rolePermissions: Record<z.infer<typeof roleSchema>, Permission[]>;
@@ -146,6 +396,7 @@ declare const projectSetupSchema: z.ZodObject<{
146
396
  brief: z.ZodString;
147
397
  }, z.core.$strict>;
148
398
  declare const projectSchema: z.ZodObject<{
399
+ slug: z.ZodString;
149
400
  setup: z.ZodOptional<z.ZodObject<{
150
401
  mode: z.ZodEnum<{
151
402
  new: "new";
@@ -168,6 +419,7 @@ declare const projectSchema: z.ZodObject<{
168
419
  handover: "handover";
169
420
  inventory: "inventory";
170
421
  access: "access";
422
+ points: "points";
171
423
  }>>;
172
424
  environments: z.ZodArray<z.ZodEnum<{
173
425
  test: "test";
@@ -204,6 +456,7 @@ declare const accessSchema: z.ZodObject<{
204
456
  admin: z.ZodBoolean;
205
457
  local: z.ZodBoolean;
206
458
  projects: z.ZodArray<z.ZodObject<{
459
+ slug: z.ZodString;
207
460
  setup: z.ZodOptional<z.ZodObject<{
208
461
  mode: z.ZodEnum<{
209
462
  new: "new";
@@ -226,6 +479,7 @@ declare const accessSchema: z.ZodObject<{
226
479
  handover: "handover";
227
480
  inventory: "inventory";
228
481
  access: "access";
482
+ points: "points";
229
483
  }>>;
230
484
  environments: z.ZodArray<z.ZodEnum<{
231
485
  test: "test";
@@ -352,6 +606,9 @@ declare const pageSchema: z.ZodObject<{
352
606
  }, z.core.$strict>>;
353
607
  }, z.core.$strict>>;
354
608
  }, z.core.$strict>>;
609
+ integrations: z.ZodDefault<z.ZodArray<z.ZodEnum<{
610
+ discord: "discord";
611
+ }>>>;
355
612
  fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
356
613
  kind: z.ZodLiteral<"quiz">;
357
614
  default: z.ZodArray<z.ZodObject<{
@@ -546,6 +803,7 @@ declare const pageSchema: z.ZodObject<{
546
803
  } | undefined;
547
804
  } | undefined;
548
805
  };
806
+ integrations: "discord"[];
549
807
  fields: Record<string, {
550
808
  kind: "quiz";
551
809
  default: {
@@ -922,6 +1180,9 @@ declare const memberDetailSchema: z.ZodObject<{
922
1180
  }, z.core.$strict>>;
923
1181
  }, z.core.$strict>>;
924
1182
  }, z.core.$strict>>;
1183
+ integrations: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1184
+ discord: "discord";
1185
+ }>>>;
925
1186
  fields: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
926
1187
  kind: z.ZodLiteral<"quiz">;
927
1188
  default: z.ZodArray<z.ZodObject<{
@@ -1116,6 +1377,7 @@ declare const memberDetailSchema: z.ZodObject<{
1116
1377
  } | undefined;
1117
1378
  } | undefined;
1118
1379
  };
1380
+ integrations: "discord"[];
1119
1381
  fields: Record<string, {
1120
1382
  kind: "quiz";
1121
1383
  default: {
@@ -1455,6 +1717,12 @@ declare const memberDetailSchema: z.ZodObject<{
1455
1717
  }, z.core.$strict>>;
1456
1718
  }, z.core.$strict>>;
1457
1719
  }, z.core.$strict>>;
1720
+ connections: z.ZodDefault<z.ZodArray<z.ZodEnum<{
1721
+ discord: "discord";
1722
+ google: "google";
1723
+ apple: "apple";
1724
+ x: "x";
1725
+ }>>>;
1458
1726
  trigger: z.ZodUnion<readonly [z.ZodObject<{
1459
1727
  kind: z.ZodLiteral<"manual">;
1460
1728
  input: z.ZodEnum<{
@@ -1676,6 +1944,7 @@ declare const tokenInputSchema: z.ZodObject<{
1676
1944
  handover: "handover";
1677
1945
  inventory: "inventory";
1678
1946
  access: "access";
1947
+ points: "points";
1679
1948
  }>>;
1680
1949
  days: z.ZodDefault<z.ZodNumber>;
1681
1950
  }, z.core.$strict>;
@@ -1695,6 +1964,7 @@ declare const tokenSchema: z.ZodObject<{
1695
1964
  handover: "handover";
1696
1965
  inventory: "inventory";
1697
1966
  access: "access";
1967
+ points: "points";
1698
1968
  }>>;
1699
1969
  expiresAt: z.ZodNumber;
1700
1970
  }, z.core.$strip>;
@@ -1707,6 +1977,338 @@ declare function createManagementClient(options: {
1707
1977
  }): {
1708
1978
  raw: (path: string, init?: RequestInit) => Promise<Response>;
1709
1979
  request: <T>(path: string, schema: z.ZodType<T>, input?: unknown, method?: string) => Promise<T>;
1980
+ points: {
1981
+ update: (input: z.input<typeof pointsMutationSchema>) => Promise<{
1982
+ entry: {
1983
+ id: string;
1984
+ completion: string | null;
1985
+ member: string;
1986
+ balance: string;
1987
+ amount: number;
1988
+ kind: "award" | "spend" | "adjust" | "reverse";
1989
+ effectiveAt: number;
1990
+ receivedAt: number;
1991
+ quest: string | null;
1992
+ original: string | null;
1993
+ reason: string;
1994
+ actor: string | null;
1995
+ };
1996
+ total: number;
1997
+ }>;
1998
+ balance: (member: string, balance: string) => Promise<{
1999
+ member: string;
2000
+ balance: string;
2001
+ total: number;
2002
+ held: number;
2003
+ }>;
2004
+ history: (member: string, balance: string, before?: number) => Promise<{
2005
+ items: {
2006
+ id: string;
2007
+ completion: string | null;
2008
+ member: string;
2009
+ balance: string;
2010
+ amount: number;
2011
+ kind: "award" | "spend" | "adjust" | "reverse";
2012
+ effectiveAt: number;
2013
+ receivedAt: number;
2014
+ quest: string | null;
2015
+ original: string | null;
2016
+ reason: string;
2017
+ actor: string | null;
2018
+ }[];
2019
+ next: number | null;
2020
+ }>;
2021
+ };
2022
+ referrals: {
2023
+ history: (member: string, before?: number) => Promise<{
2024
+ items: {
2025
+ id: number;
2026
+ program: string;
2027
+ balance: string;
2028
+ amount: number;
2029
+ at: number;
2030
+ reason: string;
2031
+ }[];
2032
+ next: number | null;
2033
+ }>;
2034
+ list: () => Promise<{
2035
+ version: string;
2036
+ definition: {
2037
+ id: string;
2038
+ title: string;
2039
+ enabled: boolean;
2040
+ qualification: {
2041
+ kind: "signup";
2042
+ } | {
2043
+ kind: "quest";
2044
+ quest: string;
2045
+ } | {
2046
+ kind: "external";
2047
+ };
2048
+ rewards: {
2049
+ inviter: ({
2050
+ kind: "points";
2051
+ balance: string;
2052
+ amount: number;
2053
+ } | {
2054
+ kind: "tier";
2055
+ reward: {
2056
+ id: string;
2057
+ title: string;
2058
+ tiers: {
2059
+ id: string;
2060
+ title: string;
2061
+ }[];
2062
+ inventory: {
2063
+ kind: "untracked";
2064
+ };
2065
+ fulfillment: {
2066
+ kind: "staff-handover";
2067
+ };
2068
+ };
2069
+ tier: string;
2070
+ })[];
2071
+ invitee: ({
2072
+ kind: "points";
2073
+ balance: string;
2074
+ amount: number;
2075
+ } | {
2076
+ kind: "tier";
2077
+ reward: {
2078
+ id: string;
2079
+ title: string;
2080
+ tiers: {
2081
+ id: string;
2082
+ title: string;
2083
+ }[];
2084
+ inventory: {
2085
+ kind: "untracked";
2086
+ };
2087
+ fulfillment: {
2088
+ kind: "staff-handover";
2089
+ };
2090
+ };
2091
+ tier: string;
2092
+ })[];
2093
+ };
2094
+ milestones: {
2095
+ id: string;
2096
+ count: number;
2097
+ rewards: ({
2098
+ kind: "points";
2099
+ balance: string;
2100
+ amount: number;
2101
+ } | {
2102
+ kind: "tier";
2103
+ reward: {
2104
+ id: string;
2105
+ title: string;
2106
+ tiers: {
2107
+ id: string;
2108
+ title: string;
2109
+ }[];
2110
+ inventory: {
2111
+ kind: "untracked";
2112
+ };
2113
+ fulfillment: {
2114
+ kind: "staff-handover";
2115
+ };
2116
+ };
2117
+ tier: string;
2118
+ })[];
2119
+ }[];
2120
+ bonuses: {
2121
+ id: string;
2122
+ balance: string;
2123
+ basisPoints: number;
2124
+ external: boolean;
2125
+ quests?: string[] | undefined;
2126
+ durationDays?: number | undefined;
2127
+ maxPoints?: number | undefined;
2128
+ }[];
2129
+ inviterGroup?: string | undefined;
2130
+ };
2131
+ publishedAt: number;
2132
+ actor: string | null;
2133
+ }[]>;
2134
+ participants: (before?: number) => Promise<{
2135
+ relationships: {
2136
+ member: string;
2137
+ inviter: string;
2138
+ acceptedAt: number;
2139
+ suspended: boolean;
2140
+ }[];
2141
+ qualifications: {
2142
+ member: string;
2143
+ program: string;
2144
+ qualified: boolean;
2145
+ qualifiedAt: number;
2146
+ }[];
2147
+ accounts: {
2148
+ id: string;
2149
+ program: string;
2150
+ kind: "fixed" | "bonus" | "milestone";
2151
+ balance: string;
2152
+ earned: number;
2153
+ settled: number;
2154
+ outstanding: number;
2155
+ member: string;
2156
+ invitee: string;
2157
+ }[];
2158
+ reviews: {
2159
+ entitlement: string;
2160
+ member: string;
2161
+ program: string;
2162
+ reason: string;
2163
+ }[];
2164
+ next: number | null;
2165
+ }>;
2166
+ control: (input: z.input<typeof referralControlSchema>) => Promise<{
2167
+ ok: true;
2168
+ }>;
2169
+ };
2170
+ leaderboards: {
2171
+ list: () => Promise<{
2172
+ version: string;
2173
+ definition: {
2174
+ id: string;
2175
+ title: string;
2176
+ balance: string;
2177
+ score: {
2178
+ kind: "balance";
2179
+ } | {
2180
+ window: {
2181
+ kind: "all-time";
2182
+ } | {
2183
+ kind: "fixed";
2184
+ start: number;
2185
+ end: number;
2186
+ } | {
2187
+ kind: "rolling";
2188
+ days: number;
2189
+ } | {
2190
+ kind: "calendar";
2191
+ period: "day" | "week" | "month";
2192
+ timeZone: string;
2193
+ };
2194
+ kind: "earned";
2195
+ quests?: string[] | undefined;
2196
+ } | {
2197
+ kind: "net";
2198
+ window: {
2199
+ kind: "all-time";
2200
+ } | {
2201
+ kind: "fixed";
2202
+ start: number;
2203
+ end: number;
2204
+ } | {
2205
+ kind: "rolling";
2206
+ days: number;
2207
+ } | {
2208
+ kind: "calendar";
2209
+ period: "day" | "week" | "month";
2210
+ timeZone: string;
2211
+ };
2212
+ };
2213
+ access: "participants" | "public";
2214
+ group?: string | undefined;
2215
+ };
2216
+ publishedAt: number;
2217
+ actor: string | null;
2218
+ }[]>;
2219
+ standings: (board: string, input?: z.input<typeof leaderboardQuerySchema>) => Promise<{
2220
+ leaderboard: string;
2221
+ title: string;
2222
+ version: string;
2223
+ calculation: "balance" | "earned" | "net";
2224
+ period: {
2225
+ start: number | null;
2226
+ end: number | null;
2227
+ };
2228
+ calculatedAt: number;
2229
+ lastEntryAt: number | null;
2230
+ total: number;
2231
+ items: {
2232
+ participant: string;
2233
+ name: string;
2234
+ score: number;
2235
+ rank: number;
2236
+ member?: string | undefined;
2237
+ }[];
2238
+ me: {
2239
+ participant: string;
2240
+ name: string;
2241
+ score: number;
2242
+ rank: number;
2243
+ member?: string | undefined;
2244
+ } | null;
2245
+ nearby: {
2246
+ participant: string;
2247
+ name: string;
2248
+ score: number;
2249
+ rank: number;
2250
+ member?: string | undefined;
2251
+ }[];
2252
+ nextCursor: string | null;
2253
+ }>;
2254
+ history: (board: string) => Promise<{
2255
+ version: string;
2256
+ definition: {
2257
+ id: string;
2258
+ title: string;
2259
+ balance: string;
2260
+ score: {
2261
+ kind: "balance";
2262
+ } | {
2263
+ window: {
2264
+ kind: "all-time";
2265
+ } | {
2266
+ kind: "fixed";
2267
+ start: number;
2268
+ end: number;
2269
+ } | {
2270
+ kind: "rolling";
2271
+ days: number;
2272
+ } | {
2273
+ kind: "calendar";
2274
+ period: "day" | "week" | "month";
2275
+ timeZone: string;
2276
+ };
2277
+ kind: "earned";
2278
+ quests?: string[] | undefined;
2279
+ } | {
2280
+ kind: "net";
2281
+ window: {
2282
+ kind: "all-time";
2283
+ } | {
2284
+ kind: "fixed";
2285
+ start: number;
2286
+ end: number;
2287
+ } | {
2288
+ kind: "rolling";
2289
+ days: number;
2290
+ } | {
2291
+ kind: "calendar";
2292
+ period: "day" | "week" | "month";
2293
+ timeZone: string;
2294
+ };
2295
+ };
2296
+ access: "participants" | "public";
2297
+ group?: string | undefined;
2298
+ };
2299
+ publishedAt: number;
2300
+ actor: string | null;
2301
+ }[]>;
2302
+ exclusions: (board: string) => Promise<{
2303
+ member: string;
2304
+ }[]>;
2305
+ exclude: (board: string, input: z.input<typeof leaderboardExclusionSchema>) => Promise<{
2306
+ ok: true;
2307
+ }>;
2308
+ group: (group: string, input: z.input<typeof leaderboardGroupSchema>) => Promise<{
2309
+ ok: true;
2310
+ }>;
2311
+ };
1710
2312
  deployments: {
1711
2313
  preview: (input: z.input<typeof projectDeploymentSchema>) => Promise<{
1712
2314
  id: string;
@@ -1735,6 +2337,7 @@ declare function createManagementClient(options: {
1735
2337
  } | undefined;
1736
2338
  } | undefined;
1737
2339
  };
2340
+ integrations: "discord"[];
1738
2341
  fields: Record<string, {
1739
2342
  kind: "quiz";
1740
2343
  default: {
@@ -1875,6 +2478,7 @@ declare function createManagementClient(options: {
1875
2478
  } | undefined;
1876
2479
  } | undefined;
1877
2480
  };
2481
+ integrations: "discord"[];
1878
2482
  fields: Record<string, {
1879
2483
  kind: "quiz";
1880
2484
  default: {
@@ -2020,6 +2624,7 @@ declare function createManagementClient(options: {
2020
2624
  } | undefined;
2021
2625
  } | undefined;
2022
2626
  };
2627
+ integrations: "discord"[];
2023
2628
  fields: Record<string, {
2024
2629
  kind: "quiz";
2025
2630
  default: {
@@ -2116,6 +2721,226 @@ declare function createManagementClient(options: {
2116
2721
  quests: string[];
2117
2722
  }[];
2118
2723
  supportedInteractions: ("staff" | "quiz" | "photo" | "automatic" | "claim")[];
2724
+ referrals: {
2725
+ version: string;
2726
+ definition: {
2727
+ id: string;
2728
+ title: string;
2729
+ enabled: boolean;
2730
+ qualification: {
2731
+ kind: "signup";
2732
+ } | {
2733
+ kind: "quest";
2734
+ quest: string;
2735
+ } | {
2736
+ kind: "external";
2737
+ };
2738
+ rewards: {
2739
+ inviter: ({
2740
+ kind: "points";
2741
+ balance: string;
2742
+ amount: number;
2743
+ } | {
2744
+ kind: "tier";
2745
+ reward: {
2746
+ id: string;
2747
+ title: string;
2748
+ tiers: {
2749
+ id: string;
2750
+ title: string;
2751
+ }[];
2752
+ inventory: {
2753
+ kind: "untracked";
2754
+ };
2755
+ fulfillment: {
2756
+ kind: "staff-handover";
2757
+ };
2758
+ };
2759
+ tier: string;
2760
+ })[];
2761
+ invitee: ({
2762
+ kind: "points";
2763
+ balance: string;
2764
+ amount: number;
2765
+ } | {
2766
+ kind: "tier";
2767
+ reward: {
2768
+ id: string;
2769
+ title: string;
2770
+ tiers: {
2771
+ id: string;
2772
+ title: string;
2773
+ }[];
2774
+ inventory: {
2775
+ kind: "untracked";
2776
+ };
2777
+ fulfillment: {
2778
+ kind: "staff-handover";
2779
+ };
2780
+ };
2781
+ tier: string;
2782
+ })[];
2783
+ };
2784
+ milestones: {
2785
+ id: string;
2786
+ count: number;
2787
+ rewards: ({
2788
+ kind: "points";
2789
+ balance: string;
2790
+ amount: number;
2791
+ } | {
2792
+ kind: "tier";
2793
+ reward: {
2794
+ id: string;
2795
+ title: string;
2796
+ tiers: {
2797
+ id: string;
2798
+ title: string;
2799
+ }[];
2800
+ inventory: {
2801
+ kind: "untracked";
2802
+ };
2803
+ fulfillment: {
2804
+ kind: "staff-handover";
2805
+ };
2806
+ };
2807
+ tier: string;
2808
+ })[];
2809
+ }[];
2810
+ bonuses: {
2811
+ id: string;
2812
+ balance: string;
2813
+ basisPoints: number;
2814
+ external: boolean;
2815
+ quests?: string[] | undefined;
2816
+ durationDays?: number | undefined;
2817
+ maxPoints?: number | undefined;
2818
+ }[];
2819
+ inviterGroup?: string | undefined;
2820
+ };
2821
+ publishedAt: number;
2822
+ actor: string | null;
2823
+ }[];
2824
+ leaderboards: {
2825
+ published: {
2826
+ version: string;
2827
+ definition: {
2828
+ id: string;
2829
+ title: string;
2830
+ balance: string;
2831
+ score: {
2832
+ kind: "balance";
2833
+ } | {
2834
+ window: {
2835
+ kind: "all-time";
2836
+ } | {
2837
+ kind: "fixed";
2838
+ start: number;
2839
+ end: number;
2840
+ } | {
2841
+ kind: "rolling";
2842
+ days: number;
2843
+ } | {
2844
+ kind: "calendar";
2845
+ period: "day" | "week" | "month";
2846
+ timeZone: string;
2847
+ };
2848
+ kind: "earned";
2849
+ quests?: string[] | undefined;
2850
+ } | {
2851
+ kind: "net";
2852
+ window: {
2853
+ kind: "all-time";
2854
+ } | {
2855
+ kind: "fixed";
2856
+ start: number;
2857
+ end: number;
2858
+ } | {
2859
+ kind: "rolling";
2860
+ days: number;
2861
+ } | {
2862
+ kind: "calendar";
2863
+ period: "day" | "week" | "month";
2864
+ timeZone: string;
2865
+ };
2866
+ };
2867
+ access: "participants" | "public";
2868
+ group?: string | undefined;
2869
+ };
2870
+ publishedAt: number;
2871
+ actor: string | null;
2872
+ };
2873
+ before: {
2874
+ leaderboard: string;
2875
+ title: string;
2876
+ version: string;
2877
+ calculation: "balance" | "earned" | "net";
2878
+ period: {
2879
+ start: number | null;
2880
+ end: number | null;
2881
+ };
2882
+ calculatedAt: number;
2883
+ lastEntryAt: number | null;
2884
+ total: number;
2885
+ items: {
2886
+ participant: string;
2887
+ name: string;
2888
+ score: number;
2889
+ rank: number;
2890
+ member?: string | undefined;
2891
+ }[];
2892
+ me: {
2893
+ participant: string;
2894
+ name: string;
2895
+ score: number;
2896
+ rank: number;
2897
+ member?: string | undefined;
2898
+ } | null;
2899
+ nearby: {
2900
+ participant: string;
2901
+ name: string;
2902
+ score: number;
2903
+ rank: number;
2904
+ member?: string | undefined;
2905
+ }[];
2906
+ nextCursor: string | null;
2907
+ } | null;
2908
+ after: {
2909
+ leaderboard: string;
2910
+ title: string;
2911
+ version: string;
2912
+ calculation: "balance" | "earned" | "net";
2913
+ period: {
2914
+ start: number | null;
2915
+ end: number | null;
2916
+ };
2917
+ calculatedAt: number;
2918
+ lastEntryAt: number | null;
2919
+ total: number;
2920
+ items: {
2921
+ participant: string;
2922
+ name: string;
2923
+ score: number;
2924
+ rank: number;
2925
+ member?: string | undefined;
2926
+ }[];
2927
+ me: {
2928
+ participant: string;
2929
+ name: string;
2930
+ score: number;
2931
+ rank: number;
2932
+ member?: string | undefined;
2933
+ } | null;
2934
+ nearby: {
2935
+ participant: string;
2936
+ name: string;
2937
+ score: number;
2938
+ rank: number;
2939
+ member?: string | undefined;
2940
+ }[];
2941
+ nextCursor: string | null;
2942
+ };
2943
+ }[];
2119
2944
  }>;
2120
2945
  publish: (input: z.input<typeof publishDeploymentSchema>) => Promise<{
2121
2946
  id: string;
@@ -2144,6 +2969,7 @@ declare function createManagementClient(options: {
2144
2969
  } | undefined;
2145
2970
  } | undefined;
2146
2971
  };
2972
+ integrations: "discord"[];
2147
2973
  fields: Record<string, {
2148
2974
  kind: "quiz";
2149
2975
  default: {
@@ -2284,6 +3110,7 @@ declare function createManagementClient(options: {
2284
3110
  } | undefined;
2285
3111
  } | undefined;
2286
3112
  };
3113
+ integrations: "discord"[];
2287
3114
  fields: Record<string, {
2288
3115
  kind: "quiz";
2289
3116
  default: {
@@ -2429,6 +3256,7 @@ declare function createManagementClient(options: {
2429
3256
  } | undefined;
2430
3257
  } | undefined;
2431
3258
  };
3259
+ integrations: "discord"[];
2432
3260
  fields: Record<string, {
2433
3261
  kind: "quiz";
2434
3262
  default: {
@@ -2525,6 +3353,226 @@ declare function createManagementClient(options: {
2525
3353
  quests: string[];
2526
3354
  }[];
2527
3355
  supportedInteractions: ("staff" | "quiz" | "photo" | "automatic" | "claim")[];
3356
+ referrals: {
3357
+ version: string;
3358
+ definition: {
3359
+ id: string;
3360
+ title: string;
3361
+ enabled: boolean;
3362
+ qualification: {
3363
+ kind: "signup";
3364
+ } | {
3365
+ kind: "quest";
3366
+ quest: string;
3367
+ } | {
3368
+ kind: "external";
3369
+ };
3370
+ rewards: {
3371
+ inviter: ({
3372
+ kind: "points";
3373
+ balance: string;
3374
+ amount: number;
3375
+ } | {
3376
+ kind: "tier";
3377
+ reward: {
3378
+ id: string;
3379
+ title: string;
3380
+ tiers: {
3381
+ id: string;
3382
+ title: string;
3383
+ }[];
3384
+ inventory: {
3385
+ kind: "untracked";
3386
+ };
3387
+ fulfillment: {
3388
+ kind: "staff-handover";
3389
+ };
3390
+ };
3391
+ tier: string;
3392
+ })[];
3393
+ invitee: ({
3394
+ kind: "points";
3395
+ balance: string;
3396
+ amount: number;
3397
+ } | {
3398
+ kind: "tier";
3399
+ reward: {
3400
+ id: string;
3401
+ title: string;
3402
+ tiers: {
3403
+ id: string;
3404
+ title: string;
3405
+ }[];
3406
+ inventory: {
3407
+ kind: "untracked";
3408
+ };
3409
+ fulfillment: {
3410
+ kind: "staff-handover";
3411
+ };
3412
+ };
3413
+ tier: string;
3414
+ })[];
3415
+ };
3416
+ milestones: {
3417
+ id: string;
3418
+ count: number;
3419
+ rewards: ({
3420
+ kind: "points";
3421
+ balance: string;
3422
+ amount: number;
3423
+ } | {
3424
+ kind: "tier";
3425
+ reward: {
3426
+ id: string;
3427
+ title: string;
3428
+ tiers: {
3429
+ id: string;
3430
+ title: string;
3431
+ }[];
3432
+ inventory: {
3433
+ kind: "untracked";
3434
+ };
3435
+ fulfillment: {
3436
+ kind: "staff-handover";
3437
+ };
3438
+ };
3439
+ tier: string;
3440
+ })[];
3441
+ }[];
3442
+ bonuses: {
3443
+ id: string;
3444
+ balance: string;
3445
+ basisPoints: number;
3446
+ external: boolean;
3447
+ quests?: string[] | undefined;
3448
+ durationDays?: number | undefined;
3449
+ maxPoints?: number | undefined;
3450
+ }[];
3451
+ inviterGroup?: string | undefined;
3452
+ };
3453
+ publishedAt: number;
3454
+ actor: string | null;
3455
+ }[];
3456
+ leaderboards: {
3457
+ published: {
3458
+ version: string;
3459
+ definition: {
3460
+ id: string;
3461
+ title: string;
3462
+ balance: string;
3463
+ score: {
3464
+ kind: "balance";
3465
+ } | {
3466
+ window: {
3467
+ kind: "all-time";
3468
+ } | {
3469
+ kind: "fixed";
3470
+ start: number;
3471
+ end: number;
3472
+ } | {
3473
+ kind: "rolling";
3474
+ days: number;
3475
+ } | {
3476
+ kind: "calendar";
3477
+ period: "day" | "week" | "month";
3478
+ timeZone: string;
3479
+ };
3480
+ kind: "earned";
3481
+ quests?: string[] | undefined;
3482
+ } | {
3483
+ kind: "net";
3484
+ window: {
3485
+ kind: "all-time";
3486
+ } | {
3487
+ kind: "fixed";
3488
+ start: number;
3489
+ end: number;
3490
+ } | {
3491
+ kind: "rolling";
3492
+ days: number;
3493
+ } | {
3494
+ kind: "calendar";
3495
+ period: "day" | "week" | "month";
3496
+ timeZone: string;
3497
+ };
3498
+ };
3499
+ access: "participants" | "public";
3500
+ group?: string | undefined;
3501
+ };
3502
+ publishedAt: number;
3503
+ actor: string | null;
3504
+ };
3505
+ before: {
3506
+ leaderboard: string;
3507
+ title: string;
3508
+ version: string;
3509
+ calculation: "balance" | "earned" | "net";
3510
+ period: {
3511
+ start: number | null;
3512
+ end: number | null;
3513
+ };
3514
+ calculatedAt: number;
3515
+ lastEntryAt: number | null;
3516
+ total: number;
3517
+ items: {
3518
+ participant: string;
3519
+ name: string;
3520
+ score: number;
3521
+ rank: number;
3522
+ member?: string | undefined;
3523
+ }[];
3524
+ me: {
3525
+ participant: string;
3526
+ name: string;
3527
+ score: number;
3528
+ rank: number;
3529
+ member?: string | undefined;
3530
+ } | null;
3531
+ nearby: {
3532
+ participant: string;
3533
+ name: string;
3534
+ score: number;
3535
+ rank: number;
3536
+ member?: string | undefined;
3537
+ }[];
3538
+ nextCursor: string | null;
3539
+ } | null;
3540
+ after: {
3541
+ leaderboard: string;
3542
+ title: string;
3543
+ version: string;
3544
+ calculation: "balance" | "earned" | "net";
3545
+ period: {
3546
+ start: number | null;
3547
+ end: number | null;
3548
+ };
3549
+ calculatedAt: number;
3550
+ lastEntryAt: number | null;
3551
+ total: number;
3552
+ items: {
3553
+ participant: string;
3554
+ name: string;
3555
+ score: number;
3556
+ rank: number;
3557
+ member?: string | undefined;
3558
+ }[];
3559
+ me: {
3560
+ participant: string;
3561
+ name: string;
3562
+ score: number;
3563
+ rank: number;
3564
+ member?: string | undefined;
3565
+ } | null;
3566
+ nearby: {
3567
+ participant: string;
3568
+ name: string;
3569
+ score: number;
3570
+ rank: number;
3571
+ member?: string | undefined;
3572
+ }[];
3573
+ nextCursor: string | null;
3574
+ };
3575
+ }[];
2528
3576
  revision: number;
2529
3577
  }>;
2530
3578
  };
@@ -2559,6 +3607,7 @@ declare function createManagementClient(options: {
2559
3607
  } | undefined;
2560
3608
  } | undefined;
2561
3609
  };
3610
+ integrations: "discord"[];
2562
3611
  fields: Record<string, {
2563
3612
  kind: "quiz";
2564
3613
  default: {
@@ -2754,6 +3803,7 @@ declare function createManagementClient(options: {
2754
3803
  } | undefined;
2755
3804
  } | undefined;
2756
3805
  };
3806
+ integrations: "discord"[];
2757
3807
  fields: Record<string, {
2758
3808
  kind: "quiz";
2759
3809
  default: {
@@ -2894,6 +3944,7 @@ declare function createManagementClient(options: {
2894
3944
  } | undefined;
2895
3945
  } | undefined;
2896
3946
  };
3947
+ integrations: "discord"[];
2897
3948
  fields: Record<string, {
2898
3949
  kind: "quiz";
2899
3950
  default: {
@@ -3043,6 +4094,7 @@ declare function createManagementClient(options: {
3043
4094
  } | undefined;
3044
4095
  } | undefined;
3045
4096
  };
4097
+ integrations: "discord"[];
3046
4098
  fields: Record<string, {
3047
4099
  kind: "quiz";
3048
4100
  default: {
@@ -3169,6 +4221,7 @@ declare function createManagementClient(options: {
3169
4221
  } | undefined;
3170
4222
  } | undefined;
3171
4223
  };
4224
+ integrations: "discord"[];
3172
4225
  fields: Record<string, {
3173
4226
  kind: "quiz";
3174
4227
  default: {
@@ -3364,6 +4417,7 @@ declare function createManagementClient(options: {
3364
4417
  } | undefined;
3365
4418
  } | undefined;
3366
4419
  };
4420
+ integrations: "discord"[];
3367
4421
  fields: Record<string, {
3368
4422
  kind: "quiz";
3369
4423
  default: {
@@ -3504,6 +4558,7 @@ declare function createManagementClient(options: {
3504
4558
  } | undefined;
3505
4559
  } | undefined;
3506
4560
  };
4561
+ integrations: "discord"[];
3507
4562
  fields: Record<string, {
3508
4563
  kind: "quiz";
3509
4564
  default: {
@@ -3768,6 +4823,7 @@ declare function createManagementClient(options: {
3768
4823
  } | undefined;
3769
4824
  } | undefined;
3770
4825
  };
4826
+ integrations: "discord"[];
3771
4827
  fields: Record<string, {
3772
4828
  kind: "quiz";
3773
4829
  default: {
@@ -3908,6 +4964,7 @@ declare function createManagementClient(options: {
3908
4964
  } | undefined;
3909
4965
  } | undefined;
3910
4966
  };
4967
+ integrations: "discord"[];
3911
4968
  fields: Record<string, {
3912
4969
  kind: "quiz";
3913
4970
  default: {
@@ -4116,6 +5173,7 @@ declare function createManagementClient(options: {
4116
5173
  } | undefined;
4117
5174
  } | undefined;
4118
5175
  };
5176
+ integrations: "discord"[];
4119
5177
  fields: Record<string, {
4120
5178
  kind: "quiz";
4121
5179
  default: {
@@ -4256,6 +5314,7 @@ declare function createManagementClient(options: {
4256
5314
  } | undefined;
4257
5315
  } | undefined;
4258
5316
  };
5317
+ integrations: "discord"[];
4259
5318
  fields: Record<string, {
4260
5319
  kind: "quiz";
4261
5320
  default: {
@@ -4635,6 +5694,7 @@ declare function createManagementClient(options: {
4635
5694
  admin: boolean;
4636
5695
  local: boolean;
4637
5696
  projects: {
5697
+ slug: string;
4638
5698
  id: string;
4639
5699
  organization: string;
4640
5700
  project: string;
@@ -4642,7 +5702,7 @@ declare function createManagementClient(options: {
4642
5702
  subtitle: string;
4643
5703
  initials: string;
4644
5704
  color: string;
4645
- permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access")[];
5705
+ permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points")[];
4646
5706
  environments: ("test" | "live")[];
4647
5707
  setup?: {
4648
5708
  mode: "new" | "existing";
@@ -4651,6 +5711,7 @@ declare function createManagementClient(options: {
4651
5711
  }[];
4652
5712
  }>;
4653
5713
  createProject: (input: z.infer<typeof projectInputSchema>) => Promise<{
5714
+ slug: string;
4654
5715
  id: string;
4655
5716
  organization: string;
4656
5717
  project: string;
@@ -4658,7 +5719,7 @@ declare function createManagementClient(options: {
4658
5719
  subtitle: string;
4659
5720
  initials: string;
4660
5721
  color: string;
4661
- permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access")[];
5722
+ permissions: ("read" | "publish" | "review" | "confirm" | "handover" | "inventory" | "access" | "points")[];
4662
5723
  environments: ("test" | "live")[];
4663
5724
  setup?: {
4664
5725
  mode: "new" | "existing";
@@ -4693,6 +5754,7 @@ declare function createManagementClient(options: {
4693
5754
  } | undefined;
4694
5755
  } | undefined;
4695
5756
  };
5757
+ integrations: "discord"[];
4696
5758
  fields: Record<string, {
4697
5759
  kind: "quiz";
4698
5760
  default: {
@@ -4833,6 +5895,7 @@ declare function createManagementClient(options: {
4833
5895
  } | undefined;
4834
5896
  } | undefined;
4835
5897
  };
5898
+ integrations: "discord"[];
4836
5899
  fields: Record<string, {
4837
5900
  kind: "quiz";
4838
5901
  default: {
@@ -5170,6 +6233,7 @@ declare function createManagementClient(options: {
5170
6233
  } | undefined;
5171
6234
  } | undefined;
5172
6235
  };
6236
+ integrations: "discord"[];
5173
6237
  fields: Record<string, {
5174
6238
  kind: "quiz";
5175
6239
  default: {
@@ -5310,6 +6374,7 @@ declare function createManagementClient(options: {
5310
6374
  } | undefined;
5311
6375
  } | undefined;
5312
6376
  };
6377
+ integrations: "discord"[];
5313
6378
  fields: Record<string, {
5314
6379
  kind: "quiz";
5315
6380
  default: {
@@ -5610,6 +6675,7 @@ declare function createManagementClient(options: {
5610
6675
  } | undefined;
5611
6676
  } | undefined;
5612
6677
  };
6678
+ connections: ("discord" | "google" | "apple" | "x")[];
5613
6679
  trigger: {
5614
6680
  kind: "manual";
5615
6681
  input: "quiz" | "photo" | "none";
@@ -5796,4 +6862,4 @@ declare function createManagementClient(options: {
5796
6862
  }>;
5797
6863
  };
5798
6864
 
5799
- export { type Access, type AuditRecord, type BuildArtifacts, type BuildIdentity, type BuildStatus, type ListQuery, type ManagementPage, type Permission, type Project, accessSchema, accountProfileSchema, assetPathSchema, auditRecordSchema, buildArtifactsSchema, buildIdentitySchema, buildPhaseSchema, buildStatusSchema, commitSchema, createManagementClient, createRepositorySchema, developmentPreflightSchema, deviceApproveSchema, deviceRedeemSchema, deviceStartSchema, environmentSchema, grantSchema, inventorySchema, memberAccountSchema, memberDetailSchema, memberSchema, metricsSchema, operationInputSchema, operationSchema, pageSchema, permissionSchema, projectInputSchema, projectSchema, projectSetupSchema, querySchema, readinessSchema, repositorySchema, rolePermissions, roleSchema, stageRequestSchema, stockInputSchema, tokenInputSchema, tokenSchema };
6865
+ export { type Access, type AuditRecord, type BuildArtifacts, type BuildIdentity, type BuildSnapshot, type BuildStatus, type HostedBuild, type ListQuery, type ManagementPage, type Permission, 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, projectInputSchema, projectSchema, projectSetupSchema, querySchema, readinessSchema, repositorySchema, rolePermissions, roleSchema, stageRequestSchema, stockInputSchema, tokenInputSchema, tokenSchema };