@intutic/shared-types 3.0.5 → 3.0.8

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 (89) hide show
  1. package/README.md +1 -1
  2. package/dist/api-contracts.d.ts +85 -116
  3. package/dist/api-contracts.d.ts.map +1 -1
  4. package/dist/api-contracts.js +5 -5
  5. package/dist/api-contracts.js.map +1 -1
  6. package/dist/apiKeyScopes.d.ts +1 -1
  7. package/dist/apiKeyScopes.js +1 -1
  8. package/dist/attenuation.d.ts +4 -22
  9. package/dist/attenuation.d.ts.map +1 -1
  10. package/dist/auth.d.ts +44 -226
  11. package/dist/auth.d.ts.map +1 -1
  12. package/dist/auth.js +3 -3
  13. package/dist/auth.js.map +1 -1
  14. package/dist/chaos.d.ts +168 -1778
  15. package/dist/chaos.d.ts.map +1 -1
  16. package/dist/enums.d.ts +1 -1
  17. package/dist/enums.js +1 -1
  18. package/dist/governanceCoverage.d.ts +4 -4
  19. package/dist/governanceCoverage.js +3 -3
  20. package/dist/guardrailIr.d.ts +98 -421
  21. package/dist/guardrailIr.d.ts.map +1 -1
  22. package/dist/guardrailIr.js +2 -2
  23. package/dist/identity.d.ts +16 -29
  24. package/dist/identity.d.ts.map +1 -1
  25. package/dist/mcpBudgets.d.ts +14 -82
  26. package/dist/mcpBudgets.d.ts.map +1 -1
  27. package/dist/mcpToolRisk.d.ts +1 -1
  28. package/dist/mcpToolRisk.js +1 -1
  29. package/dist/modelCatalog.generated.d.ts +404 -66
  30. package/dist/modelCatalog.generated.d.ts.map +1 -1
  31. package/dist/modelCatalog.generated.js +62 -36
  32. package/dist/modelCatalog.generated.js.map +1 -1
  33. package/dist/piiDetectors.d.ts +11 -1
  34. package/dist/piiDetectors.d.ts.map +1 -1
  35. package/dist/piiDetectors.js +1 -1
  36. package/dist/piiDetectors.js.map +1 -1
  37. package/dist/policyGuardrails.d.ts +6 -30
  38. package/dist/policyGuardrails.d.ts.map +1 -1
  39. package/dist/policyGuardrails.js +1 -1
  40. package/dist/policyGuardrails.js.map +1 -1
  41. package/dist/providerVerification.d.ts +2 -2
  42. package/dist/providerVerification.js +2 -2
  43. package/dist/providers.d.ts +2 -2
  44. package/dist/providers.js +2 -2
  45. package/dist/responses/common.d.ts +8 -14
  46. package/dist/responses/common.d.ts.map +1 -1
  47. package/dist/responses/common.js +1 -1
  48. package/dist/responses/decide.d.ts +115 -1514
  49. package/dist/responses/decide.d.ts.map +1 -1
  50. package/dist/responses/decide.js +9 -9
  51. package/dist/responses/decide.js.map +1 -1
  52. package/dist/responses/gateways.d.ts +883 -5211
  53. package/dist/responses/gateways.d.ts.map +1 -1
  54. package/dist/responses/gateways.js +8 -8
  55. package/dist/responses/gateways.js.map +1 -1
  56. package/dist/responses/guardrails.d.ts +600 -5829
  57. package/dist/responses/guardrails.d.ts.map +1 -1
  58. package/dist/responses/guardrails.js +3 -3
  59. package/dist/responses/guardrails.js.map +1 -1
  60. package/dist/responses/identity.d.ts +217 -1296
  61. package/dist/responses/identity.d.ts.map +1 -1
  62. package/dist/responses/identity.js +1 -1
  63. package/dist/responses/identity.js.map +1 -1
  64. package/dist/responses/integrations.d.ts +717 -3709
  65. package/dist/responses/integrations.d.ts.map +1 -1
  66. package/dist/responses/integrations.js +6 -6
  67. package/dist/responses/integrations.js.map +1 -1
  68. package/dist/responses/observability.d.ts +386 -2597
  69. package/dist/responses/observability.d.ts.map +1 -1
  70. package/dist/responses/observability.js +5 -5
  71. package/dist/responses/observability.js.map +1 -1
  72. package/dist/responses/orgSops.d.ts +15 -79
  73. package/dist/responses/orgSops.d.ts.map +1 -1
  74. package/dist/responses/rules.d.ts +449 -2386
  75. package/dist/responses/rules.d.ts.map +1 -1
  76. package/dist/responses/rules.js +8 -8
  77. package/dist/responses/rules.js.map +1 -1
  78. package/dist/spendBudgets.d.ts +20 -38
  79. package/dist/spendBudgets.d.ts.map +1 -1
  80. package/dist/ssoGroupClearance.d.ts +4 -12
  81. package/dist/ssoGroupClearance.d.ts.map +1 -1
  82. package/dist/sync.d.ts +25 -124
  83. package/dist/sync.d.ts.map +1 -1
  84. package/dist/toon.d.ts +1 -1
  85. package/dist/toon.js +1 -1
  86. package/dist/upstreamRetry.d.ts +32 -61
  87. package/dist/upstreamRetry.d.ts.map +1 -1
  88. package/dist/workspaceSettings.d.ts +5 -5
  89. package/package.json +4 -4
@@ -13,40 +13,8 @@ export declare const TraceSigningJwksResponse: z.ZodObject<{
13
13
  use: z.ZodLiteral<"sig">;
14
14
  alg: z.ZodLiteral<"EdDSA">;
15
15
  kid: z.ZodString;
16
- }, "strip", z.ZodTypeAny, {
17
- x: string;
18
- kid: string;
19
- kty: string;
20
- crv: string;
21
- use: "sig";
22
- alg: "EdDSA";
23
- }, {
24
- x: string;
25
- kid: string;
26
- kty: string;
27
- crv: string;
28
- use: "sig";
29
- alg: "EdDSA";
30
- }>, "many">;
31
- }, "strip", z.ZodTypeAny, {
32
- keys: {
33
- x: string;
34
- kid: string;
35
- kty: string;
36
- crv: string;
37
- use: "sig";
38
- alg: "EdDSA";
39
- }[];
40
- }, {
41
- keys: {
42
- x: string;
43
- kid: string;
44
- kty: string;
45
- crv: string;
46
- use: "sig";
47
- alg: "EdDSA";
48
- }[];
49
- }>;
16
+ }, z.core.$strip>>;
17
+ }, z.core.$strip>;
50
18
  export type TraceSigningJwksResponse = z.infer<typeof TraceSigningJwksResponse>;
51
19
  /** A workspace member without credentials (`toMemberInfo` in `authService.ts` / `memberService.ts`). */
52
20
  export declare const MemberInfoResponse: z.ZodObject<{
@@ -54,29 +22,17 @@ export declare const MemberInfoResponse: z.ZodObject<{
54
22
  workspaceId: z.ZodString;
55
23
  email: z.ZodString;
56
24
  displayName: z.ZodString;
57
- role: z.ZodEnum<["OWNER", "ADMIN", "EM", "DEVELOPER", "VIEWER"]>;
25
+ role: z.ZodEnum<{
26
+ OWNER: "OWNER";
27
+ ADMIN: "ADMIN";
28
+ EM: "EM";
29
+ DEVELOPER: "DEVELOPER";
30
+ VIEWER: "VIEWER";
31
+ }>;
58
32
  isActive: z.ZodBoolean;
59
33
  lastLoginAt: z.ZodNullable<z.ZodString>;
60
34
  createdAt: z.ZodString;
61
- }, "strip", z.ZodTypeAny, {
62
- workspaceId: string;
63
- email: string;
64
- displayName: string;
65
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
66
- memberId: string;
67
- isActive: boolean;
68
- createdAt: string;
69
- lastLoginAt: string | null;
70
- }, {
71
- workspaceId: string;
72
- email: string;
73
- displayName: string;
74
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
75
- memberId: string;
76
- isActive: boolean;
77
- createdAt: string;
78
- lastLoginAt: string | null;
79
- }>;
35
+ }, z.core.$strip>;
80
36
  export type MemberInfoResponse = z.infer<typeof MemberInfoResponse>;
81
37
  /** `GET /api/v1/auth/me`: the caller's member row and its workspace's org. */
82
38
  export declare const AuthMeResponse: z.ZodObject<{
@@ -84,33 +40,18 @@ export declare const AuthMeResponse: z.ZodObject<{
84
40
  workspaceId: z.ZodString;
85
41
  email: z.ZodString;
86
42
  displayName: z.ZodString;
87
- role: z.ZodEnum<["OWNER", "ADMIN", "EM", "DEVELOPER", "VIEWER"]>;
43
+ role: z.ZodEnum<{
44
+ OWNER: "OWNER";
45
+ ADMIN: "ADMIN";
46
+ EM: "EM";
47
+ DEVELOPER: "DEVELOPER";
48
+ VIEWER: "VIEWER";
49
+ }>;
88
50
  isActive: z.ZodBoolean;
89
51
  lastLoginAt: z.ZodNullable<z.ZodString>;
90
52
  createdAt: z.ZodString;
91
- } & {
92
53
  orgId: z.ZodString;
93
- }, "strip", z.ZodTypeAny, {
94
- workspaceId: string;
95
- email: string;
96
- displayName: string;
97
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
98
- memberId: string;
99
- orgId: string;
100
- isActive: boolean;
101
- createdAt: string;
102
- lastLoginAt: string | null;
103
- }, {
104
- workspaceId: string;
105
- email: string;
106
- displayName: string;
107
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
108
- memberId: string;
109
- orgId: string;
110
- isActive: boolean;
111
- createdAt: string;
112
- lastLoginAt: string | null;
113
- }>;
54
+ }, z.core.$strip>;
114
55
  export type AuthMeResponse = z.infer<typeof AuthMeResponse>;
115
56
  /**
116
57
  * A session as a client that reads tokens from the body receives it. A
@@ -126,61 +67,21 @@ export declare const LoginTokensResponse: z.ZodObject<{
126
67
  workspaceId: z.ZodString;
127
68
  email: z.ZodString;
128
69
  displayName: z.ZodString;
129
- role: z.ZodEnum<["OWNER", "ADMIN", "EM", "DEVELOPER", "VIEWER"]>;
70
+ role: z.ZodEnum<{
71
+ OWNER: "OWNER";
72
+ ADMIN: "ADMIN";
73
+ EM: "EM";
74
+ DEVELOPER: "DEVELOPER";
75
+ VIEWER: "VIEWER";
76
+ }>;
130
77
  isActive: z.ZodBoolean;
131
78
  lastLoginAt: z.ZodNullable<z.ZodString>;
132
79
  createdAt: z.ZodString;
133
- }, "strip", z.ZodTypeAny, {
134
- workspaceId: string;
135
- email: string;
136
- displayName: string;
137
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
138
- memberId: string;
139
- isActive: boolean;
140
- createdAt: string;
141
- lastLoginAt: string | null;
142
- }, {
143
- workspaceId: string;
144
- email: string;
145
- displayName: string;
146
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
147
- memberId: string;
148
- isActive: boolean;
149
- createdAt: string;
150
- lastLoginAt: string | null;
151
- }>;
152
- }, "strip", z.ZodTypeAny, {
153
- member: {
154
- workspaceId: string;
155
- email: string;
156
- displayName: string;
157
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
158
- memberId: string;
159
- isActive: boolean;
160
- createdAt: string;
161
- lastLoginAt: string | null;
162
- };
163
- refreshToken: string;
164
- accessToken: string;
165
- expiresIn: number;
166
- }, {
167
- member: {
168
- workspaceId: string;
169
- email: string;
170
- displayName: string;
171
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
172
- memberId: string;
173
- isActive: boolean;
174
- createdAt: string;
175
- lastLoginAt: string | null;
176
- };
177
- refreshToken: string;
178
- accessToken: string;
179
- expiresIn: number;
180
- }>;
80
+ }, z.core.$strip>;
81
+ }, z.core.$strip>;
181
82
  export type LoginTokensResponse = z.infer<typeof LoginTokensResponse>;
182
83
  /** `POST /api/v1/auth/login`: `LoginTokensResponse`, without `refreshToken` for a cookie client. */
183
- export declare const LoginResponse: z.ZodUnion<[z.ZodObject<{
84
+ export declare const LoginResponse: z.ZodUnion<readonly [z.ZodObject<{
184
85
  accessToken: z.ZodString;
185
86
  refreshToken: z.ZodString;
186
87
  expiresIn: z.ZodNumber;
@@ -189,156 +90,54 @@ export declare const LoginResponse: z.ZodUnion<[z.ZodObject<{
189
90
  workspaceId: z.ZodString;
190
91
  email: z.ZodString;
191
92
  displayName: z.ZodString;
192
- role: z.ZodEnum<["OWNER", "ADMIN", "EM", "DEVELOPER", "VIEWER"]>;
93
+ role: z.ZodEnum<{
94
+ OWNER: "OWNER";
95
+ ADMIN: "ADMIN";
96
+ EM: "EM";
97
+ DEVELOPER: "DEVELOPER";
98
+ VIEWER: "VIEWER";
99
+ }>;
193
100
  isActive: z.ZodBoolean;
194
101
  lastLoginAt: z.ZodNullable<z.ZodString>;
195
102
  createdAt: z.ZodString;
196
- }, "strip", z.ZodTypeAny, {
197
- workspaceId: string;
198
- email: string;
199
- displayName: string;
200
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
201
- memberId: string;
202
- isActive: boolean;
203
- createdAt: string;
204
- lastLoginAt: string | null;
205
- }, {
206
- workspaceId: string;
207
- email: string;
208
- displayName: string;
209
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
210
- memberId: string;
211
- isActive: boolean;
212
- createdAt: string;
213
- lastLoginAt: string | null;
214
- }>;
215
- }, "strip", z.ZodTypeAny, {
216
- member: {
217
- workspaceId: string;
218
- email: string;
219
- displayName: string;
220
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
221
- memberId: string;
222
- isActive: boolean;
223
- createdAt: string;
224
- lastLoginAt: string | null;
225
- };
226
- refreshToken: string;
227
- accessToken: string;
228
- expiresIn: number;
229
- }, {
230
- member: {
231
- workspaceId: string;
232
- email: string;
233
- displayName: string;
234
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
235
- memberId: string;
236
- isActive: boolean;
237
- createdAt: string;
238
- lastLoginAt: string | null;
239
- };
240
- refreshToken: string;
241
- accessToken: string;
242
- expiresIn: number;
243
- }>, z.ZodObject<Omit<{
244
- accessToken: z.ZodString;
245
- refreshToken: z.ZodString;
246
- expiresIn: z.ZodNumber;
103
+ }, z.core.$strip>;
104
+ }, z.core.$strip>, z.ZodObject<{
247
105
  member: z.ZodObject<{
248
106
  memberId: z.ZodString;
249
107
  workspaceId: z.ZodString;
250
108
  email: z.ZodString;
251
109
  displayName: z.ZodString;
252
- role: z.ZodEnum<["OWNER", "ADMIN", "EM", "DEVELOPER", "VIEWER"]>;
110
+ role: z.ZodEnum<{
111
+ OWNER: "OWNER";
112
+ ADMIN: "ADMIN";
113
+ EM: "EM";
114
+ DEVELOPER: "DEVELOPER";
115
+ VIEWER: "VIEWER";
116
+ }>;
253
117
  isActive: z.ZodBoolean;
254
118
  lastLoginAt: z.ZodNullable<z.ZodString>;
255
119
  createdAt: z.ZodString;
256
- }, "strip", z.ZodTypeAny, {
257
- workspaceId: string;
258
- email: string;
259
- displayName: string;
260
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
261
- memberId: string;
262
- isActive: boolean;
263
- createdAt: string;
264
- lastLoginAt: string | null;
265
- }, {
266
- workspaceId: string;
267
- email: string;
268
- displayName: string;
269
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
270
- memberId: string;
271
- isActive: boolean;
272
- createdAt: string;
273
- lastLoginAt: string | null;
274
- }>;
275
- }, "refreshToken">, "strip", z.ZodTypeAny, {
276
- member: {
277
- workspaceId: string;
278
- email: string;
279
- displayName: string;
280
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
281
- memberId: string;
282
- isActive: boolean;
283
- createdAt: string;
284
- lastLoginAt: string | null;
285
- };
286
- accessToken: string;
287
- expiresIn: number;
288
- }, {
289
- member: {
290
- workspaceId: string;
291
- email: string;
292
- displayName: string;
293
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
294
- memberId: string;
295
- isActive: boolean;
296
- createdAt: string;
297
- lastLoginAt: string | null;
298
- };
299
- accessToken: string;
300
- expiresIn: number;
301
- }>]>;
120
+ }, z.core.$strip>;
121
+ accessToken: z.ZodString;
122
+ expiresIn: z.ZodNumber;
123
+ }, z.core.$strip>]>;
302
124
  export type LoginResponse = z.infer<typeof LoginResponse>;
303
125
  /** A rotated token pair, as a client that reads tokens from the body receives it. */
304
126
  export declare const RefreshTokensResponse: z.ZodObject<{
305
127
  accessToken: z.ZodString;
306
128
  refreshToken: z.ZodString;
307
129
  expiresIn: z.ZodNumber;
308
- }, "strip", z.ZodTypeAny, {
309
- refreshToken: string;
310
- accessToken: string;
311
- expiresIn: number;
312
- }, {
313
- refreshToken: string;
314
- accessToken: string;
315
- expiresIn: number;
316
- }>;
130
+ }, z.core.$strip>;
317
131
  export type RefreshTokensResponse = z.infer<typeof RefreshTokensResponse>;
318
132
  /** `POST /api/v1/auth/refresh`: `RefreshTokensResponse`, without `refreshToken` for a cookie client. */
319
- export declare const RefreshResponse: z.ZodUnion<[z.ZodObject<{
133
+ export declare const RefreshResponse: z.ZodUnion<readonly [z.ZodObject<{
320
134
  accessToken: z.ZodString;
321
135
  refreshToken: z.ZodString;
322
136
  expiresIn: z.ZodNumber;
323
- }, "strip", z.ZodTypeAny, {
324
- refreshToken: string;
325
- accessToken: string;
326
- expiresIn: number;
327
- }, {
328
- refreshToken: string;
329
- accessToken: string;
330
- expiresIn: number;
331
- }>, z.ZodObject<Omit<{
137
+ }, z.core.$strip>, z.ZodObject<{
332
138
  accessToken: z.ZodString;
333
- refreshToken: z.ZodString;
334
139
  expiresIn: z.ZodNumber;
335
- }, "refreshToken">, "strip", z.ZodTypeAny, {
336
- accessToken: string;
337
- expiresIn: number;
338
- }, {
339
- accessToken: string;
340
- expiresIn: number;
341
- }>]>;
140
+ }, z.core.$strip>]>;
342
141
  export type RefreshResponse = z.infer<typeof RefreshResponse>;
343
142
  /** An org signup as a client that reads tokens from the body receives it (`signupService.ts` `signupOrg`). */
344
143
  export declare const OrgSignupTokensResponse: z.ZodObject<{
@@ -347,320 +146,87 @@ export declare const OrgSignupTokensResponse: z.ZodObject<{
347
146
  email: z.ZodString;
348
147
  name: z.ZodString;
349
148
  emailVerified: z.ZodBoolean;
350
- }, "strip", z.ZodTypeAny, {
351
- email: string;
352
- name: string;
353
- id: string;
354
- emailVerified: boolean;
355
- }, {
356
- email: string;
357
- name: string;
358
- id: string;
359
- emailVerified: boolean;
360
- }>;
149
+ }, z.core.$strip>;
361
150
  org: z.ZodObject<{
362
151
  id: z.ZodString;
363
152
  name: z.ZodString;
364
153
  planTier: z.ZodString;
365
154
  trialExpiresAt: z.ZodString;
366
- }, "strip", z.ZodTypeAny, {
367
- name: string;
368
- id: string;
369
- planTier: string;
370
- trialExpiresAt: string;
371
- }, {
372
- name: string;
373
- id: string;
374
- planTier: string;
375
- trialExpiresAt: string;
376
- }>;
155
+ }, z.core.$strip>;
377
156
  workspace: z.ZodObject<{
378
157
  id: z.ZodString;
379
158
  name: z.ZodString;
380
159
  planTier: z.ZodString;
381
160
  trialExpiresAt: z.ZodString;
382
- }, "strip", z.ZodTypeAny, {
383
- name: string;
384
- id: string;
385
- planTier: string;
386
- trialExpiresAt: string;
387
- }, {
388
- name: string;
389
- id: string;
390
- planTier: string;
391
- trialExpiresAt: string;
392
- }>;
161
+ }, z.core.$strip>;
393
162
  accessToken: z.ZodString;
394
163
  refreshToken: z.ZodString;
395
164
  cliInstall: z.ZodString;
396
165
  isNewUser: z.ZodBoolean;
397
- }, "strip", z.ZodTypeAny, {
398
- workspace: {
399
- name: string;
400
- id: string;
401
- planTier: string;
402
- trialExpiresAt: string;
403
- };
404
- refreshToken: string;
405
- user: {
406
- email: string;
407
- name: string;
408
- id: string;
409
- emailVerified: boolean;
410
- };
411
- org: {
412
- name: string;
413
- id: string;
414
- planTier: string;
415
- trialExpiresAt: string;
416
- };
417
- accessToken: string;
418
- cliInstall: string;
419
- isNewUser: boolean;
420
- }, {
421
- workspace: {
422
- name: string;
423
- id: string;
424
- planTier: string;
425
- trialExpiresAt: string;
426
- };
427
- refreshToken: string;
428
- user: {
429
- email: string;
430
- name: string;
431
- id: string;
432
- emailVerified: boolean;
433
- };
434
- org: {
435
- name: string;
436
- id: string;
437
- planTier: string;
438
- trialExpiresAt: string;
439
- };
440
- accessToken: string;
441
- cliInstall: string;
442
- isNewUser: boolean;
443
- }>;
166
+ }, z.core.$strip>;
444
167
  export type OrgSignupTokensResponse = z.infer<typeof OrgSignupTokensResponse>;
445
168
  /** `POST /api/v1/auth/signup/org`: `OrgSignupTokensResponse`, without `refreshToken` for a cookie client. */
446
- export declare const OrgSignupResponse: z.ZodUnion<[z.ZodObject<{
169
+ export declare const OrgSignupResponse: z.ZodUnion<readonly [z.ZodObject<{
447
170
  user: z.ZodObject<{
448
171
  id: z.ZodString;
449
172
  email: z.ZodString;
450
173
  name: z.ZodString;
451
174
  emailVerified: z.ZodBoolean;
452
- }, "strip", z.ZodTypeAny, {
453
- email: string;
454
- name: string;
455
- id: string;
456
- emailVerified: boolean;
457
- }, {
458
- email: string;
459
- name: string;
460
- id: string;
461
- emailVerified: boolean;
462
- }>;
175
+ }, z.core.$strip>;
463
176
  org: z.ZodObject<{
464
177
  id: z.ZodString;
465
178
  name: z.ZodString;
466
179
  planTier: z.ZodString;
467
180
  trialExpiresAt: z.ZodString;
468
- }, "strip", z.ZodTypeAny, {
469
- name: string;
470
- id: string;
471
- planTier: string;
472
- trialExpiresAt: string;
473
- }, {
474
- name: string;
475
- id: string;
476
- planTier: string;
477
- trialExpiresAt: string;
478
- }>;
181
+ }, z.core.$strip>;
479
182
  workspace: z.ZodObject<{
480
183
  id: z.ZodString;
481
184
  name: z.ZodString;
482
185
  planTier: z.ZodString;
483
186
  trialExpiresAt: z.ZodString;
484
- }, "strip", z.ZodTypeAny, {
485
- name: string;
486
- id: string;
487
- planTier: string;
488
- trialExpiresAt: string;
489
- }, {
490
- name: string;
491
- id: string;
492
- planTier: string;
493
- trialExpiresAt: string;
494
- }>;
187
+ }, z.core.$strip>;
495
188
  accessToken: z.ZodString;
496
189
  refreshToken: z.ZodString;
497
190
  cliInstall: z.ZodString;
498
191
  isNewUser: z.ZodBoolean;
499
- }, "strip", z.ZodTypeAny, {
500
- workspace: {
501
- name: string;
502
- id: string;
503
- planTier: string;
504
- trialExpiresAt: string;
505
- };
506
- refreshToken: string;
507
- user: {
508
- email: string;
509
- name: string;
510
- id: string;
511
- emailVerified: boolean;
512
- };
513
- org: {
514
- name: string;
515
- id: string;
516
- planTier: string;
517
- trialExpiresAt: string;
518
- };
519
- accessToken: string;
520
- cliInstall: string;
521
- isNewUser: boolean;
522
- }, {
523
- workspace: {
524
- name: string;
525
- id: string;
526
- planTier: string;
527
- trialExpiresAt: string;
528
- };
529
- refreshToken: string;
530
- user: {
531
- email: string;
532
- name: string;
533
- id: string;
534
- emailVerified: boolean;
535
- };
536
- org: {
537
- name: string;
538
- id: string;
539
- planTier: string;
540
- trialExpiresAt: string;
541
- };
542
- accessToken: string;
543
- cliInstall: string;
544
- isNewUser: boolean;
545
- }>, z.ZodObject<Omit<{
192
+ }, z.core.$strip>, z.ZodObject<{
193
+ workspace: z.ZodObject<{
194
+ id: z.ZodString;
195
+ name: z.ZodString;
196
+ planTier: z.ZodString;
197
+ trialExpiresAt: z.ZodString;
198
+ }, z.core.$strip>;
546
199
  user: z.ZodObject<{
547
200
  id: z.ZodString;
548
201
  email: z.ZodString;
549
202
  name: z.ZodString;
550
203
  emailVerified: z.ZodBoolean;
551
- }, "strip", z.ZodTypeAny, {
552
- email: string;
553
- name: string;
554
- id: string;
555
- emailVerified: boolean;
556
- }, {
557
- email: string;
558
- name: string;
559
- id: string;
560
- emailVerified: boolean;
561
- }>;
204
+ }, z.core.$strip>;
562
205
  org: z.ZodObject<{
563
206
  id: z.ZodString;
564
207
  name: z.ZodString;
565
208
  planTier: z.ZodString;
566
209
  trialExpiresAt: z.ZodString;
567
- }, "strip", z.ZodTypeAny, {
568
- name: string;
569
- id: string;
570
- planTier: string;
571
- trialExpiresAt: string;
572
- }, {
573
- name: string;
574
- id: string;
575
- planTier: string;
576
- trialExpiresAt: string;
577
- }>;
578
- workspace: z.ZodObject<{
579
- id: z.ZodString;
580
- name: z.ZodString;
581
- planTier: z.ZodString;
582
- trialExpiresAt: z.ZodString;
583
- }, "strip", z.ZodTypeAny, {
584
- name: string;
585
- id: string;
586
- planTier: string;
587
- trialExpiresAt: string;
588
- }, {
589
- name: string;
590
- id: string;
591
- planTier: string;
592
- trialExpiresAt: string;
593
- }>;
210
+ }, z.core.$strip>;
594
211
  accessToken: z.ZodString;
595
- refreshToken: z.ZodString;
596
212
  cliInstall: z.ZodString;
597
213
  isNewUser: z.ZodBoolean;
598
- }, "refreshToken">, "strip", z.ZodTypeAny, {
599
- workspace: {
600
- name: string;
601
- id: string;
602
- planTier: string;
603
- trialExpiresAt: string;
604
- };
605
- user: {
606
- email: string;
607
- name: string;
608
- id: string;
609
- emailVerified: boolean;
610
- };
611
- org: {
612
- name: string;
613
- id: string;
614
- planTier: string;
615
- trialExpiresAt: string;
616
- };
617
- accessToken: string;
618
- cliInstall: string;
619
- isNewUser: boolean;
620
- }, {
621
- workspace: {
622
- name: string;
623
- id: string;
624
- planTier: string;
625
- trialExpiresAt: string;
626
- };
627
- user: {
628
- email: string;
629
- name: string;
630
- id: string;
631
- emailVerified: boolean;
632
- };
633
- org: {
634
- name: string;
635
- id: string;
636
- planTier: string;
637
- trialExpiresAt: string;
638
- };
639
- accessToken: string;
640
- cliInstall: string;
641
- isNewUser: boolean;
642
- }>]>;
214
+ }, z.core.$strip>]>;
643
215
  export type OrgSignupResponse = z.infer<typeof OrgSignupResponse>;
644
216
  /** `GET /api/v1/auth/session`: who the session is, on which workspace. */
645
217
  export declare const AuthSessionResponse: z.ZodObject<{
646
218
  memberId: z.ZodString;
647
219
  workspaceId: z.ZodString;
648
220
  email: z.ZodString;
649
- role: z.ZodEnum<["OWNER", "ADMIN", "EM", "DEVELOPER", "VIEWER"]>;
221
+ role: z.ZodEnum<{
222
+ OWNER: "OWNER";
223
+ ADMIN: "ADMIN";
224
+ EM: "EM";
225
+ DEVELOPER: "DEVELOPER";
226
+ VIEWER: "VIEWER";
227
+ }>;
650
228
  refreshToken: z.ZodOptional<z.ZodString>;
651
- }, "strip", z.ZodTypeAny, {
652
- workspaceId: string;
653
- email: string;
654
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
655
- memberId: string;
656
- refreshToken?: string | undefined;
657
- }, {
658
- workspaceId: string;
659
- email: string;
660
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
661
- memberId: string;
662
- refreshToken?: string | undefined;
663
- }>;
229
+ }, z.core.$strip>;
664
230
  export type AuthSessionResponse = z.infer<typeof AuthSessionResponse>;
665
231
  /** `POST /api/v1/domain-verification/start`: the TXT record to publish (`domainVerificationService.ts`). */
666
232
  export declare const DomainVerificationStartResponse: z.ZodObject<{
@@ -669,43 +235,22 @@ export declare const DomainVerificationStartResponse: z.ZodObject<{
669
235
  txtRecordName: z.ZodString;
670
236
  txtRecordValue: z.ZodString;
671
237
  expiresAt: z.ZodString;
672
- }, "strip", z.ZodTypeAny, {
673
- verificationId: string;
674
- domain: string;
675
- txtRecordName: string;
676
- txtRecordValue: string;
677
- expiresAt: string;
678
- }, {
679
- verificationId: string;
680
- domain: string;
681
- txtRecordName: string;
682
- txtRecordValue: string;
683
- expiresAt: string;
684
- }>;
238
+ }, z.core.$strip>;
685
239
  export type DomainVerificationStartResponse = z.infer<typeof DomainVerificationStartResponse>;
686
240
  /** `GET /api/v1/domain-verification/:id`: the verification after a fresh DNS check. */
687
241
  export declare const DomainVerificationResponse: z.ZodObject<{
688
242
  verificationId: z.ZodString;
689
243
  domain: z.ZodString;
690
- status: z.ZodEnum<["pending", "verified", "consumed", "expired"]>;
244
+ status: z.ZodEnum<{
245
+ pending: "pending";
246
+ verified: "verified";
247
+ consumed: "consumed";
248
+ expired: "expired";
249
+ }>;
691
250
  txtRecordName: z.ZodString;
692
251
  txtRecordValue: z.ZodString;
693
252
  verifiedAt: z.ZodNullable<z.ZodString>;
694
- }, "strip", z.ZodTypeAny, {
695
- status: "pending" | "verified" | "consumed" | "expired";
696
- verificationId: string;
697
- domain: string;
698
- txtRecordName: string;
699
- txtRecordValue: string;
700
- verifiedAt: string | null;
701
- }, {
702
- status: "pending" | "verified" | "consumed" | "expired";
703
- verificationId: string;
704
- domain: string;
705
- txtRecordName: string;
706
- txtRecordValue: string;
707
- verifiedAt: string | null;
708
- }>;
253
+ }, z.core.$strip>;
709
254
  export type DomainVerificationResponse = z.infer<typeof DomainVerificationResponse>;
710
255
  /** `POST /api/v1/orgs`: the org created, with its default team and workspace. */
711
256
  export declare const OrgCreateResponse: z.ZodObject<{
@@ -715,33 +260,13 @@ export declare const OrgCreateResponse: z.ZodObject<{
715
260
  name: z.ZodString;
716
261
  planTier: z.ZodString;
717
262
  region: z.ZodString;
718
- }, "strip", z.ZodTypeAny, {
719
- workspaceId: string;
720
- name: string;
721
- orgId: string;
722
- planTier: string;
723
- teamId: string;
724
- region: string;
725
- }, {
726
- workspaceId: string;
727
- name: string;
728
- orgId: string;
729
- planTier: string;
730
- teamId: string;
731
- region: string;
732
- }>;
263
+ }, z.core.$strip>;
733
264
  export type OrgCreateResponse = z.infer<typeof OrgCreateResponse>;
734
265
  /** `PATCH /api/v1/orgs/:orgId/gateway`: the org's default gateway; `null` when cleared. */
735
266
  export declare const OrgGatewayResponse: z.ZodObject<{
736
267
  orgId: z.ZodString;
737
268
  gatewayId: z.ZodNullable<z.ZodString>;
738
- }, "strip", z.ZodTypeAny, {
739
- orgId: string;
740
- gatewayId: string | null;
741
- }, {
742
- orgId: string;
743
- gatewayId: string | null;
744
- }>;
269
+ }, z.core.$strip>;
745
270
  export type OrgGatewayResponse = z.infer<typeof OrgGatewayResponse>;
746
271
  /** `GET /api/v1/orgs/:orgId/teams`: the org's teams, oldest first. */
747
272
  export declare const TeamListResponse: z.ZodObject<{
@@ -752,55 +277,15 @@ export declare const TeamListResponse: z.ZodObject<{
752
277
  slug: z.ZodString;
753
278
  createdAt: z.ZodString;
754
279
  updatedAt: z.ZodString;
755
- }, "strip", z.ZodTypeAny, {
756
- name: string;
757
- orgId: string;
758
- createdAt: string;
759
- updatedAt: string;
760
- teamId: string;
761
- slug: string;
762
- }, {
763
- name: string;
764
- orgId: string;
765
- createdAt: string;
766
- updatedAt: string;
767
- teamId: string;
768
- slug: string;
769
- }>, "many">;
770
- }, "strip", z.ZodTypeAny, {
771
- data: {
772
- name: string;
773
- orgId: string;
774
- createdAt: string;
775
- updatedAt: string;
776
- teamId: string;
777
- slug: string;
778
- }[];
779
- }, {
780
- data: {
781
- name: string;
782
- orgId: string;
783
- createdAt: string;
784
- updatedAt: string;
785
- teamId: string;
786
- slug: string;
787
- }[];
788
- }>;
280
+ }, z.core.$strip>>;
281
+ }, z.core.$strip>;
789
282
  export type TeamListResponse = z.infer<typeof TeamListResponse>;
790
283
  /** `POST /api/v1/orgs/:orgId/teams`: the team created. */
791
284
  export declare const TeamCreateResponse: z.ZodObject<{
792
285
  teamId: z.ZodString;
793
286
  orgId: z.ZodString;
794
287
  name: z.ZodString;
795
- }, "strip", z.ZodTypeAny, {
796
- name: string;
797
- orgId: string;
798
- teamId: string;
799
- }, {
800
- name: string;
801
- orgId: string;
802
- teamId: string;
803
- }>;
288
+ }, z.core.$strip>;
804
289
  export type TeamCreateResponse = z.infer<typeof TeamCreateResponse>;
805
290
  /** `GET /api/v1/teams/:teamId/workspaces`: the team's workspaces, oldest first. */
806
291
  export declare const TeamWorkspaceListResponse: z.ZodObject<{
@@ -810,36 +295,8 @@ export declare const TeamWorkspaceListResponse: z.ZodObject<{
810
295
  slug: z.ZodString;
811
296
  planTier: z.ZodString;
812
297
  createdAt: z.ZodString;
813
- }, "strip", z.ZodTypeAny, {
814
- workspaceId: string;
815
- name: string;
816
- createdAt: string;
817
- planTier: string;
818
- slug: string;
819
- }, {
820
- workspaceId: string;
821
- name: string;
822
- createdAt: string;
823
- planTier: string;
824
- slug: string;
825
- }>, "many">;
826
- }, "strip", z.ZodTypeAny, {
827
- data: {
828
- workspaceId: string;
829
- name: string;
830
- createdAt: string;
831
- planTier: string;
832
- slug: string;
833
- }[];
834
- }, {
835
- data: {
836
- workspaceId: string;
837
- name: string;
838
- createdAt: string;
839
- planTier: string;
840
- slug: string;
841
- }[];
842
- }>;
298
+ }, z.core.$strip>>;
299
+ }, z.core.$strip>;
843
300
  export type TeamWorkspaceListResponse = z.infer<typeof TeamWorkspaceListResponse>;
844
301
  /** `POST /api/v1/teams/:teamId/workspaces`: the workspace created; the caller is its OWNER. */
845
302
  export declare const TeamWorkspaceCreateResponse: z.ZodObject<{
@@ -847,78 +304,29 @@ export declare const TeamWorkspaceCreateResponse: z.ZodObject<{
847
304
  teamId: z.ZodString;
848
305
  orgId: z.ZodString;
849
306
  name: z.ZodString;
850
- }, "strip", z.ZodTypeAny, {
851
- workspaceId: string;
852
- name: string;
853
- orgId: string;
854
- teamId: string;
855
- }, {
856
- workspaceId: string;
857
- name: string;
858
- orgId: string;
859
- teamId: string;
860
- }>;
307
+ }, z.core.$strip>;
861
308
  export type TeamWorkspaceCreateResponse = z.infer<typeof TeamWorkspaceCreateResponse>;
862
309
  /** `GET /api/v1/members`: every member of the workspace, deactivated ones included. */
863
310
  export declare const MemberListResponse: z.ZodObject<{
864
311
  listProperty: z.ZodLiteral<"data">;
865
312
  rowCase: z.ZodLiteral<"camel">;
866
- } & {
867
313
  data: z.ZodArray<z.ZodObject<{
868
314
  memberId: z.ZodString;
869
315
  workspaceId: z.ZodString;
870
316
  email: z.ZodString;
871
317
  displayName: z.ZodString;
872
- role: z.ZodEnum<["OWNER", "ADMIN", "EM", "DEVELOPER", "VIEWER"]>;
318
+ role: z.ZodEnum<{
319
+ OWNER: "OWNER";
320
+ ADMIN: "ADMIN";
321
+ EM: "EM";
322
+ DEVELOPER: "DEVELOPER";
323
+ VIEWER: "VIEWER";
324
+ }>;
873
325
  isActive: z.ZodBoolean;
874
326
  lastLoginAt: z.ZodNullable<z.ZodString>;
875
327
  createdAt: z.ZodString;
876
- }, "strip", z.ZodTypeAny, {
877
- workspaceId: string;
878
- email: string;
879
- displayName: string;
880
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
881
- memberId: string;
882
- isActive: boolean;
883
- createdAt: string;
884
- lastLoginAt: string | null;
885
- }, {
886
- workspaceId: string;
887
- email: string;
888
- displayName: string;
889
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
890
- memberId: string;
891
- isActive: boolean;
892
- createdAt: string;
893
- lastLoginAt: string | null;
894
- }>, "many">;
895
- }, "strip", z.ZodTypeAny, {
896
- data: {
897
- workspaceId: string;
898
- email: string;
899
- displayName: string;
900
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
901
- memberId: string;
902
- isActive: boolean;
903
- createdAt: string;
904
- lastLoginAt: string | null;
905
- }[];
906
- listProperty: "data";
907
- rowCase: "camel";
908
- }, {
909
- data: {
910
- workspaceId: string;
911
- email: string;
912
- displayName: string;
913
- role: "OWNER" | "ADMIN" | "EM" | "DEVELOPER" | "VIEWER";
914
- memberId: string;
915
- isActive: boolean;
916
- createdAt: string;
917
- lastLoginAt: string | null;
918
- }[];
919
- listProperty: "data";
920
- rowCase: "camel";
921
- }>;
328
+ }, z.core.$strip>>;
329
+ }, z.core.$strip>;
922
330
  export type MemberListResponse = z.infer<typeof MemberListResponse>;
923
331
  /** `GET /api/v1/trial/status`: the workspace's plan, trial and billing term. */
924
332
  export declare const TrialStatusResponse: z.ZodObject<{
@@ -931,97 +339,25 @@ export declare const TrialStatusResponse: z.ZodObject<{
931
339
  limits: z.ZodObject<{
932
340
  maxTokensPerDay: z.ZodNumber;
933
341
  maxSessionsPerDay: z.ZodNumber;
934
- }, "strip", z.ZodTypeAny, {
935
- maxTokensPerDay: number;
936
- maxSessionsPerDay: number;
937
- }, {
938
- maxTokensPerDay: number;
939
- maxSessionsPerDay: number;
940
- }>;
342
+ }, z.core.$strip>;
941
343
  billing: z.ZodNullable<z.ZodObject<{
942
- interval: z.ZodEnum<["month", "year"]>;
344
+ interval: z.ZodEnum<{
345
+ month: "month";
346
+ year: "year";
347
+ }>;
943
348
  termEndsAt: z.ZodNullable<z.ZodString>;
944
349
  bookedChange: z.ZodNullable<z.ZodObject<{
945
350
  tier: z.ZodString;
946
351
  planName: z.ZodString;
947
- interval: z.ZodEnum<["month", "year"]>;
352
+ interval: z.ZodEnum<{
353
+ month: "month";
354
+ year: "year";
355
+ }>;
948
356
  effectiveAt: z.ZodString;
949
- }, "strip", z.ZodTypeAny, {
950
- tier: string;
951
- planName: string;
952
- interval: "month" | "year";
953
- effectiveAt: string;
954
- }, {
955
- tier: string;
956
- planName: string;
957
- interval: "month" | "year";
958
- effectiveAt: string;
959
- }>>;
960
- }, "strip", z.ZodTypeAny, {
961
- interval: "month" | "year";
962
- termEndsAt: string | null;
963
- bookedChange: {
964
- tier: string;
965
- planName: string;
966
- interval: "month" | "year";
967
- effectiveAt: string;
968
- } | null;
969
- }, {
970
- interval: "month" | "year";
971
- termEndsAt: string | null;
972
- bookedChange: {
973
- tier: string;
974
- planName: string;
975
- interval: "month" | "year";
976
- effectiveAt: string;
977
- } | null;
978
- }>>;
357
+ }, z.core.$strip>>;
358
+ }, z.core.$strip>>;
979
359
  checkoutOpen: z.ZodBoolean;
980
- }, "strip", z.ZodTypeAny, {
981
- billing: {
982
- interval: "month" | "year";
983
- termEndsAt: string | null;
984
- bookedChange: {
985
- tier: string;
986
- planName: string;
987
- interval: "month" | "year";
988
- effectiveAt: string;
989
- } | null;
990
- } | null;
991
- trialExpiresAt: string | null;
992
- tier: string;
993
- planName: string;
994
- daysRemaining: number;
995
- isTrialActive: boolean;
996
- features: Record<string, boolean>;
997
- limits: {
998
- maxTokensPerDay: number;
999
- maxSessionsPerDay: number;
1000
- };
1001
- checkoutOpen: boolean;
1002
- }, {
1003
- billing: {
1004
- interval: "month" | "year";
1005
- termEndsAt: string | null;
1006
- bookedChange: {
1007
- tier: string;
1008
- planName: string;
1009
- interval: "month" | "year";
1010
- effectiveAt: string;
1011
- } | null;
1012
- } | null;
1013
- trialExpiresAt: string | null;
1014
- tier: string;
1015
- planName: string;
1016
- daysRemaining: number;
1017
- isTrialActive: boolean;
1018
- features: Record<string, boolean>;
1019
- limits: {
1020
- maxTokensPerDay: number;
1021
- maxSessionsPerDay: number;
1022
- };
1023
- checkoutOpen: boolean;
1024
- }>;
360
+ }, z.core.$strip>;
1025
361
  export type TrialStatusResponse = z.infer<typeof TrialStatusResponse>;
1026
362
  /** `POST /api/v1/keys`: the key created, with its plaintext — returned once, never again. */
1027
363
  export declare const ApiKeyCreateResponse: z.ZodObject<{
@@ -1029,286 +365,93 @@ export declare const ApiKeyCreateResponse: z.ZodObject<{
1029
365
  key: z.ZodString;
1030
366
  keyPrefix: z.ZodString;
1031
367
  label: z.ZodString;
1032
- scopes: z.ZodArray<z.ZodString, "many">;
1033
- allowedModels: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
368
+ scopes: z.ZodArray<z.ZodString>;
369
+ allowedModels: z.ZodNullable<z.ZodArray<z.ZodString>>;
1034
370
  expiresAt: z.ZodNullable<z.ZodString>;
1035
371
  createdAt: z.ZodString;
1036
372
  budgets: z.ZodArray<z.ZodObject<{
1037
- period: z.ZodEnum<["day", "month"]>;
373
+ period: z.ZodEnum<{
374
+ day: "day";
375
+ month: "month";
376
+ }>;
1038
377
  limitUsd: z.ZodNumber;
1039
- enforcement: z.ZodEnum<["hard", "soft"]>;
1040
- }, "strip", z.ZodTypeAny, {
1041
- period: "day" | "month";
1042
- limitUsd: number;
1043
- enforcement: "hard" | "soft";
1044
- }, {
1045
- period: "day" | "month";
1046
- limitUsd: number;
1047
- enforcement: "hard" | "soft";
1048
- }>, "many">;
378
+ enforcement: z.ZodEnum<{
379
+ hard: "hard";
380
+ soft: "soft";
381
+ }>;
382
+ }, z.core.$strip>>;
1049
383
  rateLimit: z.ZodObject<{
1050
384
  rpm: z.ZodNullable<z.ZodNumber>;
1051
385
  tpm: z.ZodNullable<z.ZodNumber>;
1052
- }, "strip", z.ZodTypeAny, {
1053
- rpm: number | null;
1054
- tpm: number | null;
1055
- }, {
1056
- rpm: number | null;
1057
- tpm: number | null;
1058
- }>;
1059
- }, "strip", z.ZodTypeAny, {
1060
- key: string;
1061
- label: string;
1062
- scopes: string[];
1063
- allowedModels: string[] | null;
1064
- budgets: {
1065
- period: "day" | "month";
1066
- limitUsd: number;
1067
- enforcement: "hard" | "soft";
1068
- }[];
1069
- rateLimit: {
1070
- rpm: number | null;
1071
- tpm: number | null;
1072
- };
1073
- createdAt: string;
1074
- expiresAt: string | null;
1075
- keyId: string;
1076
- keyPrefix: string;
1077
- }, {
1078
- key: string;
1079
- label: string;
1080
- scopes: string[];
1081
- allowedModels: string[] | null;
1082
- budgets: {
1083
- period: "day" | "month";
1084
- limitUsd: number;
1085
- enforcement: "hard" | "soft";
1086
- }[];
1087
- rateLimit: {
1088
- rpm: number | null;
1089
- tpm: number | null;
1090
- };
1091
- createdAt: string;
1092
- expiresAt: string | null;
1093
- keyId: string;
1094
- keyPrefix: string;
1095
- }>;
386
+ }, z.core.$strip>;
387
+ }, z.core.$strip>;
1096
388
  export type ApiKeyCreateResponse = z.infer<typeof ApiKeyCreateResponse>;
1097
389
  /** An API key without its secret (`apiKeyService.ts` `toApiKeyInfo`). */
1098
390
  export declare const ApiKeyResponse: z.ZodObject<{
1099
391
  keyId: z.ZodString;
1100
392
  keyPrefix: z.ZodString;
1101
393
  label: z.ZodString;
1102
- scopes: z.ZodArray<z.ZodString, "many">;
1103
- allowedModels: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
394
+ scopes: z.ZodArray<z.ZodString>;
395
+ allowedModels: z.ZodNullable<z.ZodArray<z.ZodString>>;
1104
396
  expiresAt: z.ZodNullable<z.ZodString>;
1105
397
  lastUsedAt: z.ZodNullable<z.ZodString>;
1106
398
  revokedAt: z.ZodNullable<z.ZodString>;
1107
399
  createdAt: z.ZodString;
1108
400
  isServiceAccount: z.ZodBoolean;
1109
401
  budgets: z.ZodArray<z.ZodObject<{
1110
- period: z.ZodEnum<["day", "month"]>;
402
+ period: z.ZodEnum<{
403
+ day: "day";
404
+ month: "month";
405
+ }>;
1111
406
  limitUsd: z.ZodNumber;
1112
- enforcement: z.ZodEnum<["hard", "soft"]>;
1113
- }, "strip", z.ZodTypeAny, {
1114
- period: "day" | "month";
1115
- limitUsd: number;
1116
- enforcement: "hard" | "soft";
1117
- }, {
1118
- period: "day" | "month";
1119
- limitUsd: number;
1120
- enforcement: "hard" | "soft";
1121
- }>, "many">;
407
+ enforcement: z.ZodEnum<{
408
+ hard: "hard";
409
+ soft: "soft";
410
+ }>;
411
+ }, z.core.$strip>>;
1122
412
  rateLimit: z.ZodObject<{
1123
413
  rpm: z.ZodNullable<z.ZodNumber>;
1124
414
  tpm: z.ZodNullable<z.ZodNumber>;
1125
- }, "strip", z.ZodTypeAny, {
1126
- rpm: number | null;
1127
- tpm: number | null;
1128
- }, {
1129
- rpm: number | null;
1130
- tpm: number | null;
1131
- }>;
1132
- }, "strip", z.ZodTypeAny, {
1133
- label: string;
1134
- scopes: string[];
1135
- allowedModels: string[] | null;
1136
- isServiceAccount: boolean;
1137
- budgets: {
1138
- period: "day" | "month";
1139
- limitUsd: number;
1140
- enforcement: "hard" | "soft";
1141
- }[];
1142
- rateLimit: {
1143
- rpm: number | null;
1144
- tpm: number | null;
1145
- };
1146
- createdAt: string;
1147
- expiresAt: string | null;
1148
- keyId: string;
1149
- keyPrefix: string;
1150
- lastUsedAt: string | null;
1151
- revokedAt: string | null;
1152
- }, {
1153
- label: string;
1154
- scopes: string[];
1155
- allowedModels: string[] | null;
1156
- isServiceAccount: boolean;
1157
- budgets: {
1158
- period: "day" | "month";
1159
- limitUsd: number;
1160
- enforcement: "hard" | "soft";
1161
- }[];
1162
- rateLimit: {
1163
- rpm: number | null;
1164
- tpm: number | null;
1165
- };
1166
- createdAt: string;
1167
- expiresAt: string | null;
1168
- keyId: string;
1169
- keyPrefix: string;
1170
- lastUsedAt: string | null;
1171
- revokedAt: string | null;
1172
- }>;
415
+ }, z.core.$strip>;
416
+ }, z.core.$strip>;
1173
417
  export type ApiKeyResponse = z.infer<typeof ApiKeyResponse>;
1174
418
  /** `GET /api/v1/keys`: the caller's own keys in the workspace, revoked ones included. */
1175
419
  export declare const ApiKeyListResponse: z.ZodObject<{
1176
420
  listProperty: z.ZodLiteral<"data">;
1177
421
  rowCase: z.ZodLiteral<"camel">;
1178
- } & {
1179
422
  data: z.ZodArray<z.ZodObject<{
1180
423
  keyId: z.ZodString;
1181
424
  keyPrefix: z.ZodString;
1182
425
  label: z.ZodString;
1183
- scopes: z.ZodArray<z.ZodString, "many">;
1184
- allowedModels: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
426
+ scopes: z.ZodArray<z.ZodString>;
427
+ allowedModels: z.ZodNullable<z.ZodArray<z.ZodString>>;
1185
428
  expiresAt: z.ZodNullable<z.ZodString>;
1186
429
  lastUsedAt: z.ZodNullable<z.ZodString>;
1187
430
  revokedAt: z.ZodNullable<z.ZodString>;
1188
431
  createdAt: z.ZodString;
1189
432
  isServiceAccount: z.ZodBoolean;
1190
433
  budgets: z.ZodArray<z.ZodObject<{
1191
- period: z.ZodEnum<["day", "month"]>;
434
+ period: z.ZodEnum<{
435
+ day: "day";
436
+ month: "month";
437
+ }>;
1192
438
  limitUsd: z.ZodNumber;
1193
- enforcement: z.ZodEnum<["hard", "soft"]>;
1194
- }, "strip", z.ZodTypeAny, {
1195
- period: "day" | "month";
1196
- limitUsd: number;
1197
- enforcement: "hard" | "soft";
1198
- }, {
1199
- period: "day" | "month";
1200
- limitUsd: number;
1201
- enforcement: "hard" | "soft";
1202
- }>, "many">;
439
+ enforcement: z.ZodEnum<{
440
+ hard: "hard";
441
+ soft: "soft";
442
+ }>;
443
+ }, z.core.$strip>>;
1203
444
  rateLimit: z.ZodObject<{
1204
445
  rpm: z.ZodNullable<z.ZodNumber>;
1205
446
  tpm: z.ZodNullable<z.ZodNumber>;
1206
- }, "strip", z.ZodTypeAny, {
1207
- rpm: number | null;
1208
- tpm: number | null;
1209
- }, {
1210
- rpm: number | null;
1211
- tpm: number | null;
1212
- }>;
1213
- }, "strip", z.ZodTypeAny, {
1214
- label: string;
1215
- scopes: string[];
1216
- allowedModels: string[] | null;
1217
- isServiceAccount: boolean;
1218
- budgets: {
1219
- period: "day" | "month";
1220
- limitUsd: number;
1221
- enforcement: "hard" | "soft";
1222
- }[];
1223
- rateLimit: {
1224
- rpm: number | null;
1225
- tpm: number | null;
1226
- };
1227
- createdAt: string;
1228
- expiresAt: string | null;
1229
- keyId: string;
1230
- keyPrefix: string;
1231
- lastUsedAt: string | null;
1232
- revokedAt: string | null;
1233
- }, {
1234
- label: string;
1235
- scopes: string[];
1236
- allowedModels: string[] | null;
1237
- isServiceAccount: boolean;
1238
- budgets: {
1239
- period: "day" | "month";
1240
- limitUsd: number;
1241
- enforcement: "hard" | "soft";
1242
- }[];
1243
- rateLimit: {
1244
- rpm: number | null;
1245
- tpm: number | null;
1246
- };
1247
- createdAt: string;
1248
- expiresAt: string | null;
1249
- keyId: string;
1250
- keyPrefix: string;
1251
- lastUsedAt: string | null;
1252
- revokedAt: string | null;
1253
- }>, "many">;
1254
- }, "strip", z.ZodTypeAny, {
1255
- data: {
1256
- label: string;
1257
- scopes: string[];
1258
- allowedModels: string[] | null;
1259
- isServiceAccount: boolean;
1260
- budgets: {
1261
- period: "day" | "month";
1262
- limitUsd: number;
1263
- enforcement: "hard" | "soft";
1264
- }[];
1265
- rateLimit: {
1266
- rpm: number | null;
1267
- tpm: number | null;
1268
- };
1269
- createdAt: string;
1270
- expiresAt: string | null;
1271
- keyId: string;
1272
- keyPrefix: string;
1273
- lastUsedAt: string | null;
1274
- revokedAt: string | null;
1275
- }[];
1276
- listProperty: "data";
1277
- rowCase: "camel";
1278
- }, {
1279
- data: {
1280
- label: string;
1281
- scopes: string[];
1282
- allowedModels: string[] | null;
1283
- isServiceAccount: boolean;
1284
- budgets: {
1285
- period: "day" | "month";
1286
- limitUsd: number;
1287
- enforcement: "hard" | "soft";
1288
- }[];
1289
- rateLimit: {
1290
- rpm: number | null;
1291
- tpm: number | null;
1292
- };
1293
- createdAt: string;
1294
- expiresAt: string | null;
1295
- keyId: string;
1296
- keyPrefix: string;
1297
- lastUsedAt: string | null;
1298
- revokedAt: string | null;
1299
- }[];
1300
- listProperty: "data";
1301
- rowCase: "camel";
1302
- }>;
447
+ }, z.core.$strip>;
448
+ }, z.core.$strip>>;
449
+ }, z.core.$strip>;
1303
450
  export type ApiKeyListResponse = z.infer<typeof ApiKeyListResponse>;
1304
451
  /** `DELETE /api/v1/keys/:id`: always `{ revoked: true }`, also when the caller had no such live key. */
1305
452
  export declare const ApiKeyRevokeResponse: z.ZodObject<{
1306
453
  revoked: z.ZodLiteral<true>;
1307
- }, "strip", z.ZodTypeAny, {
1308
- revoked: true;
1309
- }, {
1310
- revoked: true;
1311
- }>;
454
+ }, z.core.$strip>;
1312
455
  export type ApiKeyRevokeResponse = z.infer<typeof ApiKeyRevokeResponse>;
1313
456
  /** `GET /api/v1/budget`: the workspace's caps and its spend against them. */
1314
457
  export declare const BudgetStatusResponse: z.ZodObject<{
@@ -1321,57 +464,28 @@ export declare const BudgetStatusResponse: z.ZodObject<{
1321
464
  pct_monthly_used: z.ZodNumber;
1322
465
  pct_daily_used: z.ZodNumber;
1323
466
  alert_threshold_pct: z.ZodNumber;
1324
- daily_enforcement: z.ZodEnum<["hard", "soft"]>;
1325
- monthly_enforcement: z.ZodEnum<["hard", "soft"]>;
467
+ daily_enforcement: z.ZodEnum<{
468
+ hard: "hard";
469
+ soft: "soft";
470
+ }>;
471
+ monthly_enforcement: z.ZodEnum<{
472
+ hard: "hard";
473
+ soft: "soft";
474
+ }>;
1326
475
  alert_triggered: z.ZodBoolean;
1327
476
  budget_remaining_usd: z.ZodNumber;
1328
- }, "strip", z.ZodTypeAny, {
1329
- budget_remaining_usd: number;
1330
- workspace_id: string;
1331
- monthly_budget_usd: number;
1332
- monthly_spend_usd: number;
1333
- daily_budget_usd: number;
1334
- daily_budget_is_default: boolean;
1335
- daily_spend_usd: number;
1336
- pct_monthly_used: number;
1337
- pct_daily_used: number;
1338
- alert_threshold_pct: number;
1339
- daily_enforcement: "hard" | "soft";
1340
- monthly_enforcement: "hard" | "soft";
1341
- alert_triggered: boolean;
1342
- }, {
1343
- budget_remaining_usd: number;
1344
- workspace_id: string;
1345
- monthly_budget_usd: number;
1346
- monthly_spend_usd: number;
1347
- daily_budget_usd: number;
1348
- daily_budget_is_default: boolean;
1349
- daily_spend_usd: number;
1350
- pct_monthly_used: number;
1351
- pct_daily_used: number;
1352
- alert_threshold_pct: number;
1353
- daily_enforcement: "hard" | "soft";
1354
- monthly_enforcement: "hard" | "soft";
1355
- alert_triggered: boolean;
1356
- }>;
477
+ }, z.core.$strip>;
1357
478
  export type BudgetStatusResponse = z.infer<typeof BudgetStatusResponse>;
1358
479
  /** `PUT /api/v1/budget`. */
1359
480
  export declare const BudgetUpdateResponse: z.ZodObject<{
1360
481
  updated: z.ZodLiteral<true>;
1361
482
  workspace_id: z.ZodString;
1362
- }, "strip", z.ZodTypeAny, {
1363
- workspace_id: string;
1364
- updated: true;
1365
- }, {
1366
- workspace_id: string;
1367
- updated: true;
1368
- }>;
483
+ }, z.core.$strip>;
1369
484
  export type BudgetUpdateResponse = z.infer<typeof BudgetUpdateResponse>;
1370
485
  /** `GET /api/v1/budget/keys`: each live key's budgets, rate limit and spend. */
1371
486
  export declare const BudgetKeysResponse: z.ZodObject<{
1372
487
  listProperty: z.ZodLiteral<"keys">;
1373
488
  rowCase: z.ZodLiteral<"camel">;
1374
- } & {
1375
489
  keys: z.ZodArray<z.ZodObject<{
1376
490
  keyId: z.ZodString;
1377
491
  keyPrefix: z.ZodString;
@@ -1379,281 +493,88 @@ export declare const BudgetKeysResponse: z.ZodObject<{
1379
493
  memberId: z.ZodString;
1380
494
  memberEmail: z.ZodString;
1381
495
  budgets: z.ZodArray<z.ZodObject<{
1382
- period: z.ZodEnum<["day", "month"]>;
496
+ period: z.ZodEnum<{
497
+ day: "day";
498
+ month: "month";
499
+ }>;
1383
500
  limitUsd: z.ZodNumber;
1384
- enforcement: z.ZodEnum<["hard", "soft"]>;
1385
- }, "strip", z.ZodTypeAny, {
1386
- period: "day" | "month";
1387
- limitUsd: number;
1388
- enforcement: "hard" | "soft";
1389
- }, {
1390
- period: "day" | "month";
1391
- limitUsd: number;
1392
- enforcement: "hard" | "soft";
1393
- }>, "many">;
501
+ enforcement: z.ZodEnum<{
502
+ hard: "hard";
503
+ soft: "soft";
504
+ }>;
505
+ }, z.core.$strip>>;
1394
506
  rateLimit: z.ZodObject<{
1395
507
  rpm: z.ZodNullable<z.ZodNumber>;
1396
508
  tpm: z.ZodNullable<z.ZodNumber>;
1397
- }, "strip", z.ZodTypeAny, {
1398
- rpm: number | null;
1399
- tpm: number | null;
1400
- }, {
1401
- rpm: number | null;
1402
- tpm: number | null;
1403
- }>;
509
+ }, z.core.$strip>;
1404
510
  spendTodayUsd: z.ZodNumber;
1405
511
  spendThisMonthUsd: z.ZodNumber;
1406
- }, "strip", z.ZodTypeAny, {
1407
- label: string;
1408
- budgets: {
1409
- period: "day" | "month";
1410
- limitUsd: number;
1411
- enforcement: "hard" | "soft";
1412
- }[];
1413
- rateLimit: {
1414
- rpm: number | null;
1415
- tpm: number | null;
1416
- };
1417
- memberId: string;
1418
- keyId: string;
1419
- keyPrefix: string;
1420
- memberEmail: string;
1421
- spendTodayUsd: number;
1422
- spendThisMonthUsd: number;
1423
- }, {
1424
- label: string;
1425
- budgets: {
1426
- period: "day" | "month";
1427
- limitUsd: number;
1428
- enforcement: "hard" | "soft";
1429
- }[];
1430
- rateLimit: {
1431
- rpm: number | null;
1432
- tpm: number | null;
1433
- };
1434
- memberId: string;
1435
- keyId: string;
1436
- keyPrefix: string;
1437
- memberEmail: string;
1438
- spendTodayUsd: number;
1439
- spendThisMonthUsd: number;
1440
- }>, "many">;
512
+ }, z.core.$strip>>;
1441
513
  dayResetsAt: z.ZodString;
1442
514
  monthResetsAt: z.ZodString;
1443
- }, "strip", z.ZodTypeAny, {
1444
- keys: {
1445
- label: string;
1446
- budgets: {
1447
- period: "day" | "month";
1448
- limitUsd: number;
1449
- enforcement: "hard" | "soft";
1450
- }[];
1451
- rateLimit: {
1452
- rpm: number | null;
1453
- tpm: number | null;
1454
- };
1455
- memberId: string;
1456
- keyId: string;
1457
- keyPrefix: string;
1458
- memberEmail: string;
1459
- spendTodayUsd: number;
1460
- spendThisMonthUsd: number;
1461
- }[];
1462
- listProperty: "keys";
1463
- rowCase: "camel";
1464
- dayResetsAt: string;
1465
- monthResetsAt: string;
1466
- }, {
1467
- keys: {
1468
- label: string;
1469
- budgets: {
1470
- period: "day" | "month";
1471
- limitUsd: number;
1472
- enforcement: "hard" | "soft";
1473
- }[];
1474
- rateLimit: {
1475
- rpm: number | null;
1476
- tpm: number | null;
1477
- };
1478
- memberId: string;
1479
- keyId: string;
1480
- keyPrefix: string;
1481
- memberEmail: string;
1482
- spendTodayUsd: number;
1483
- spendThisMonthUsd: number;
1484
- }[];
1485
- listProperty: "keys";
1486
- rowCase: "camel";
1487
- dayResetsAt: string;
1488
- monthResetsAt: string;
1489
- }>;
515
+ }, z.core.$strip>;
1490
516
  export type BudgetKeysResponse = z.infer<typeof BudgetKeysResponse>;
1491
517
  /** `GET /api/v1/budget/members`: the default member budget and each active member's budgets and spend. */
1492
518
  export declare const BudgetMembersResponse: z.ZodObject<{
1493
519
  listProperty: z.ZodLiteral<"members">;
1494
520
  rowCase: z.ZodLiteral<"camel">;
1495
- } & {
1496
521
  defaultBudgets: z.ZodArray<z.ZodObject<{
1497
- period: z.ZodEnum<["day", "month"]>;
522
+ period: z.ZodEnum<{
523
+ day: "day";
524
+ month: "month";
525
+ }>;
1498
526
  limitUsd: z.ZodNumber;
1499
- enforcement: z.ZodEnum<["hard", "soft"]>;
1500
- }, "strip", z.ZodTypeAny, {
1501
- period: "day" | "month";
1502
- limitUsd: number;
1503
- enforcement: "hard" | "soft";
1504
- }, {
1505
- period: "day" | "month";
1506
- limitUsd: number;
1507
- enforcement: "hard" | "soft";
1508
- }>, "many">;
527
+ enforcement: z.ZodEnum<{
528
+ hard: "hard";
529
+ soft: "soft";
530
+ }>;
531
+ }, z.core.$strip>>;
1509
532
  members: z.ZodArray<z.ZodObject<{
1510
533
  memberId: z.ZodString;
1511
534
  email: z.ZodString;
1512
535
  budgets: z.ZodArray<z.ZodObject<{
1513
- period: z.ZodEnum<["day", "month"]>;
536
+ period: z.ZodEnum<{
537
+ day: "day";
538
+ month: "month";
539
+ }>;
1514
540
  limitUsd: z.ZodNumber;
1515
- enforcement: z.ZodEnum<["hard", "soft"]>;
1516
- }, "strip", z.ZodTypeAny, {
1517
- period: "day" | "month";
1518
- limitUsd: number;
1519
- enforcement: "hard" | "soft";
1520
- }, {
1521
- period: "day" | "month";
1522
- limitUsd: number;
1523
- enforcement: "hard" | "soft";
1524
- }>, "many">;
541
+ enforcement: z.ZodEnum<{
542
+ hard: "hard";
543
+ soft: "soft";
544
+ }>;
545
+ }, z.core.$strip>>;
1525
546
  effectiveBudgets: z.ZodArray<z.ZodObject<{
1526
- period: z.ZodEnum<["day", "month"]>;
547
+ period: z.ZodEnum<{
548
+ day: "day";
549
+ month: "month";
550
+ }>;
1527
551
  limitUsd: z.ZodNumber;
1528
- enforcement: z.ZodEnum<["hard", "soft"]>;
1529
- }, "strip", z.ZodTypeAny, {
1530
- period: "day" | "month";
1531
- limitUsd: number;
1532
- enforcement: "hard" | "soft";
1533
- }, {
1534
- period: "day" | "month";
1535
- limitUsd: number;
1536
- enforcement: "hard" | "soft";
1537
- }>, "many">;
552
+ enforcement: z.ZodEnum<{
553
+ hard: "hard";
554
+ soft: "soft";
555
+ }>;
556
+ }, z.core.$strip>>;
1538
557
  spendTodayUsd: z.ZodNumber;
1539
558
  spendThisMonthUsd: z.ZodNumber;
1540
- }, "strip", z.ZodTypeAny, {
1541
- email: string;
1542
- budgets: {
1543
- period: "day" | "month";
1544
- limitUsd: number;
1545
- enforcement: "hard" | "soft";
1546
- }[];
1547
- memberId: string;
1548
- spendTodayUsd: number;
1549
- spendThisMonthUsd: number;
1550
- effectiveBudgets: {
1551
- period: "day" | "month";
1552
- limitUsd: number;
1553
- enforcement: "hard" | "soft";
1554
- }[];
1555
- }, {
1556
- email: string;
1557
- budgets: {
1558
- period: "day" | "month";
1559
- limitUsd: number;
1560
- enforcement: "hard" | "soft";
1561
- }[];
1562
- memberId: string;
1563
- spendTodayUsd: number;
1564
- spendThisMonthUsd: number;
1565
- effectiveBudgets: {
1566
- period: "day" | "month";
1567
- limitUsd: number;
1568
- enforcement: "hard" | "soft";
1569
- }[];
1570
- }>, "many">;
559
+ }, z.core.$strip>>;
1571
560
  dayResetsAt: z.ZodString;
1572
561
  monthResetsAt: z.ZodString;
1573
- }, "strip", z.ZodTypeAny, {
1574
- members: {
1575
- email: string;
1576
- budgets: {
1577
- period: "day" | "month";
1578
- limitUsd: number;
1579
- enforcement: "hard" | "soft";
1580
- }[];
1581
- memberId: string;
1582
- spendTodayUsd: number;
1583
- spendThisMonthUsd: number;
1584
- effectiveBudgets: {
1585
- period: "day" | "month";
1586
- limitUsd: number;
1587
- enforcement: "hard" | "soft";
1588
- }[];
1589
- }[];
1590
- listProperty: "members";
1591
- rowCase: "camel";
1592
- dayResetsAt: string;
1593
- monthResetsAt: string;
1594
- defaultBudgets: {
1595
- period: "day" | "month";
1596
- limitUsd: number;
1597
- enforcement: "hard" | "soft";
1598
- }[];
1599
- }, {
1600
- members: {
1601
- email: string;
1602
- budgets: {
1603
- period: "day" | "month";
1604
- limitUsd: number;
1605
- enforcement: "hard" | "soft";
1606
- }[];
1607
- memberId: string;
1608
- spendTodayUsd: number;
1609
- spendThisMonthUsd: number;
1610
- effectiveBudgets: {
1611
- period: "day" | "month";
1612
- limitUsd: number;
1613
- enforcement: "hard" | "soft";
1614
- }[];
1615
- }[];
1616
- listProperty: "members";
1617
- rowCase: "camel";
1618
- dayResetsAt: string;
1619
- monthResetsAt: string;
1620
- defaultBudgets: {
1621
- period: "day" | "month";
1622
- limitUsd: number;
1623
- enforcement: "hard" | "soft";
1624
- }[];
1625
- }>;
562
+ }, z.core.$strip>;
1626
563
  export type BudgetMembersResponse = z.infer<typeof BudgetMembersResponse>;
1627
564
  /** `PUT` and `DELETE /api/v1/budget/members/:memberId`: the member's (or `default`'s) budgets now; empty after a delete. */
1628
565
  export declare const MemberBudgetsResponse: z.ZodObject<{
1629
566
  memberId: z.ZodString;
1630
567
  budgets: z.ZodArray<z.ZodObject<{
1631
- period: z.ZodEnum<["day", "month"]>;
568
+ period: z.ZodEnum<{
569
+ day: "day";
570
+ month: "month";
571
+ }>;
1632
572
  limitUsd: z.ZodNumber;
1633
- enforcement: z.ZodEnum<["hard", "soft"]>;
1634
- }, "strip", z.ZodTypeAny, {
1635
- period: "day" | "month";
1636
- limitUsd: number;
1637
- enforcement: "hard" | "soft";
1638
- }, {
1639
- period: "day" | "month";
1640
- limitUsd: number;
1641
- enforcement: "hard" | "soft";
1642
- }>, "many">;
1643
- }, "strip", z.ZodTypeAny, {
1644
- budgets: {
1645
- period: "day" | "month";
1646
- limitUsd: number;
1647
- enforcement: "hard" | "soft";
1648
- }[];
1649
- memberId: string;
1650
- }, {
1651
- budgets: {
1652
- period: "day" | "month";
1653
- limitUsd: number;
1654
- enforcement: "hard" | "soft";
1655
- }[];
1656
- memberId: string;
1657
- }>;
573
+ enforcement: z.ZodEnum<{
574
+ hard: "hard";
575
+ soft: "soft";
576
+ }>;
577
+ }, z.core.$strip>>;
578
+ }, z.core.$strip>;
1658
579
  export type MemberBudgetsResponse = z.infer<typeof MemberBudgetsResponse>;
1659
580
  //# sourceMappingURL=identity.d.ts.map