@shipeasy/openapi 1.6.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/README.md +37 -0
  2. package/dist/chunk-EPLLHLZN.js +1616 -0
  3. package/dist/chunk-EPLLHLZN.js.map +1 -0
  4. package/dist/chunk-SPH5HWCD.js +3326 -0
  5. package/dist/chunk-SPH5HWCD.js.map +1 -0
  6. package/dist/client-pVkoo3Bf.d.ts +11186 -0
  7. package/dist/client.d.ts +1 -0
  8. package/dist/client.js +215 -0
  9. package/dist/client.js.map +1 -0
  10. package/dist/custom.d.ts +64 -0
  11. package/dist/custom.js +292 -0
  12. package/dist/custom.js.map +1 -0
  13. package/dist/index.d.ts +29 -41
  14. package/dist/index.js +258 -4375
  15. package/dist/index.js.map +1 -0
  16. package/dist/node-context.d.ts +81 -33
  17. package/dist/node-context.js +98 -44
  18. package/dist/node-context.js.map +1 -0
  19. package/dist/schemas.d.ts +7920 -0
  20. package/dist/schemas.js +1083 -0
  21. package/dist/schemas.js.map +1 -0
  22. package/openapi.json +15297 -3044
  23. package/openapi.yaml +13979 -0
  24. package/package.json +33 -26
  25. package/spec/components/errors.yaml +53 -0
  26. package/spec/components/parameters.yaml +24 -0
  27. package/spec/components/responses.yaml +107 -0
  28. package/spec/components/schemas/alert-rules.yaml +175 -0
  29. package/spec/components/schemas/attributes.yaml +157 -0
  30. package/spec/components/schemas/common.yaml +87 -0
  31. package/spec/components/schemas/configs.yaml +371 -0
  32. package/spec/components/schemas/connectors.yaml +593 -0
  33. package/spec/components/schemas/errors-api.yaml +209 -0
  34. package/spec/components/schemas/events.yaml +321 -0
  35. package/spec/components/schemas/experiments.yaml +865 -0
  36. package/spec/components/schemas/gate-templates.yaml +198 -0
  37. package/spec/components/schemas/gates.yaml +890 -0
  38. package/spec/components/schemas/i18n.yaml +478 -0
  39. package/spec/components/schemas/keys.yaml +186 -0
  40. package/spec/components/schemas/killswitches.yaml +309 -0
  41. package/spec/components/schemas/metrics.yaml +547 -0
  42. package/spec/components/schemas/ops.yaml +1011 -0
  43. package/spec/components/schemas/projects.yaml +222 -0
  44. package/spec/components/schemas/search.yaml +46 -0
  45. package/spec/components/schemas/universes.yaml +127 -0
  46. package/spec/openapi.yaml +348 -0
  47. package/spec/paths/alert-rules.yaml +250 -0
  48. package/spec/paths/attributes.yaml +261 -0
  49. package/spec/paths/configs.yaml +744 -0
  50. package/spec/paths/connectors.yaml +748 -0
  51. package/spec/paths/errors.yaml +382 -0
  52. package/spec/paths/events.yaml +366 -0
  53. package/spec/paths/experiments.yaml +777 -0
  54. package/spec/paths/gate-templates.yaml +263 -0
  55. package/spec/paths/gates.yaml +451 -0
  56. package/spec/paths/i18n.yaml +544 -0
  57. package/spec/paths/keys.yaml +181 -0
  58. package/spec/paths/killswitches.yaml +557 -0
  59. package/spec/paths/metrics.yaml +302 -0
  60. package/spec/paths/ops.yaml +446 -0
  61. package/spec/paths/projects.yaml +210 -0
  62. package/spec/paths/search.yaml +62 -0
  63. package/spec/paths/universes.yaml +247 -0
  64. package/dist/operations/attributes.d.ts +0 -33
  65. package/dist/operations/attributes.js +0 -16
  66. package/dist/operations/cli-adapter.d.ts +0 -35
  67. package/dist/operations/cli-adapter.js +0 -91
  68. package/dist/operations/coerce.d.ts +0 -32
  69. package/dist/operations/coerce.js +0 -53
  70. package/dist/operations/configs.d.ts +0 -28
  71. package/dist/operations/configs.js +0 -119
  72. package/dist/operations/docs.d.ts +0 -37
  73. package/dist/operations/docs.js +0 -39
  74. package/dist/operations/events.d.ts +0 -28
  75. package/dist/operations/events.js +0 -121
  76. package/dist/operations/experiments.d.ts +0 -28
  77. package/dist/operations/experiments.js +0 -280
  78. package/dist/operations/gates.d.ts +0 -28
  79. package/dist/operations/gates.js +0 -132
  80. package/dist/operations/i18n.d.ts +0 -28
  81. package/dist/operations/i18n.js +0 -121
  82. package/dist/operations/index.d.ts +0 -63
  83. package/dist/operations/index.js +0 -1751
  84. package/dist/operations/killswitches.d.ts +0 -28
  85. package/dist/operations/killswitches.js +0 -126
  86. package/dist/operations/mcp-adapter.d.ts +0 -35
  87. package/dist/operations/mcp-adapter.js +0 -94
  88. package/dist/operations/metrics.d.ts +0 -30
  89. package/dist/operations/metrics.js +0 -114
  90. package/dist/operations/ops.d.ts +0 -28
  91. package/dist/operations/ops.js +0 -313
  92. package/dist/operations/projects.d.ts +0 -28
  93. package/dist/operations/projects.js +0 -36
  94. package/dist/operations/sdk-docs.d.ts +0 -28
  95. package/dist/operations/sdk-docs.js +0 -160
  96. package/dist/operations/types.d.ts +0 -138
  97. package/dist/operations/types.js +0 -9
  98. package/dist/operations/universes.d.ts +0 -28
  99. package/dist/operations/universes.js +0 -93
  100. package/dist/operations/util.d.ts +0 -33
  101. package/dist/operations/util.js +0 -9
  102. package/dist/resources/alert-rules.d.ts +0 -50
  103. package/dist/resources/alert-rules.js +0 -75
  104. package/dist/resources/attributes.d.ts +0 -19
  105. package/dist/resources/attributes.js +0 -10
  106. package/dist/resources/configs.d.ts +0 -681
  107. package/dist/resources/configs.js +0 -509
  108. package/dist/resources/events.d.ts +0 -61
  109. package/dist/resources/events.js +0 -42
  110. package/dist/resources/experiments.d.ts +0 -849
  111. package/dist/resources/experiments.js +0 -707
  112. package/dist/resources/gates.d.ts +0 -808
  113. package/dist/resources/gates.js +0 -522
  114. package/dist/resources/i18n.d.ts +0 -84
  115. package/dist/resources/i18n.js +0 -60
  116. package/dist/resources/index.d.ts +0 -2767
  117. package/dist/resources/index.js +0 -2563
  118. package/dist/resources/killswitches.d.ts +0 -436
  119. package/dist/resources/killswitches.js +0 -514
  120. package/dist/resources/metrics.d.ts +0 -54
  121. package/dist/resources/metrics.js +0 -40
  122. package/dist/resources/ops.d.ts +0 -88
  123. package/dist/resources/ops.js +0 -36
  124. package/dist/resources/projects.d.ts +0 -54
  125. package/dist/resources/projects.js +0 -14
  126. package/dist/resources/universes.d.ts +0 -185
  127. package/dist/resources/universes.js +0 -234
  128. package/dist/schemas/alert-rules.d.ts +0 -65
  129. package/dist/schemas/alert-rules.js +0 -37
  130. package/dist/schemas/configs.d.ts +0 -154
  131. package/dist/schemas/configs.js +0 -134
  132. package/dist/schemas/constants.d.ts +0 -6
  133. package/dist/schemas/constants.js +0 -7
  134. package/dist/schemas/experiments.d.ts +0 -229
  135. package/dist/schemas/experiments.js +0 -221
  136. package/dist/schemas/folder.d.ts +0 -10
  137. package/dist/schemas/folder.js +0 -8
  138. package/dist/schemas/gates.d.ts +0 -386
  139. package/dist/schemas/gates.js +0 -190
  140. package/dist/schemas/index.d.ts +0 -11
  141. package/dist/schemas/index.js +0 -762
  142. package/dist/schemas/killswitches.d.ts +0 -110
  143. package/dist/schemas/killswitches.js +0 -226
  144. package/dist/schemas/metric-name.d.ts +0 -5
  145. package/dist/schemas/metric-name.js +0 -6
  146. package/dist/schemas/pagination.d.ts +0 -37
  147. package/dist/schemas/pagination.js +0 -44
  148. package/dist/schemas/universes.d.ts +0 -35
  149. package/dist/schemas/universes.js +0 -55
  150. package/dist/transport.d.ts +0 -30
  151. package/dist/transport.js +0 -44
@@ -0,0 +1,3326 @@
1
+ // src/generated/zod.gen.ts
2
+ import * as z from "zod";
3
+ var zListGatesResponse = z.object({
4
+ data: z.array(z.object({
5
+ id: z.string(),
6
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
7
+ enabled: z.union([
8
+ z.boolean(),
9
+ z.int().gte(0).lte(1)
10
+ ]),
11
+ rolloutPct: z.int().gte(0).lte(1e4),
12
+ rules: z.array(z.object({
13
+ attr: z.string().min(1),
14
+ op: z.enum([
15
+ "eq",
16
+ "neq",
17
+ "in",
18
+ "not_in",
19
+ "gt",
20
+ "gte",
21
+ "lt",
22
+ "lte",
23
+ "contains",
24
+ "regex",
25
+ "semver_gt",
26
+ "semver_gte",
27
+ "semver_lt",
28
+ "semver_lte",
29
+ "gate_pass",
30
+ "exp_in"
31
+ ]),
32
+ value: z.unknown()
33
+ })).optional(),
34
+ salt: z.string().optional(),
35
+ title: z.string().nullish(),
36
+ description: z.string().nullish(),
37
+ folder: z.string().nullish(),
38
+ groupName: z.string().nullish(),
39
+ ownerEmail: z.string().nullish(),
40
+ stack: z.array(z.union([z.object({
41
+ id: z.string().min(1),
42
+ type: z.literal("condition"),
43
+ name: z.string().optional(),
44
+ fromTemplate: z.string().nullish(),
45
+ pass: z.enum(["all", "any"]).optional(),
46
+ rules: z.array(z.object({
47
+ attr: z.string().min(1),
48
+ op: z.enum([
49
+ "eq",
50
+ "neq",
51
+ "in",
52
+ "not_in",
53
+ "gt",
54
+ "gte",
55
+ "lt",
56
+ "lte",
57
+ "contains",
58
+ "regex",
59
+ "semver_gt",
60
+ "semver_gte",
61
+ "semver_lt",
62
+ "semver_lte",
63
+ "gate_pass",
64
+ "exp_in"
65
+ ]),
66
+ value: z.unknown()
67
+ })).optional().default([]),
68
+ rolloutPct: z.int().gte(0).lte(1e4).optional(),
69
+ bucketBy: z.string().optional(),
70
+ salt: z.string().optional(),
71
+ ramp: z.object({
72
+ from: z.int().gte(0).lte(1e4),
73
+ to: z.int().gte(0).lte(1e4),
74
+ startAt: z.int().gte(0).lte(9007199254740991),
75
+ durationMs: z.int().gt(0).lte(9007199254740991)
76
+ }).optional(),
77
+ locked: z.boolean().optional()
78
+ }), z.object({
79
+ id: z.string().min(1),
80
+ type: z.literal("rollout"),
81
+ name: z.string().optional(),
82
+ fromTemplate: z.string().nullish(),
83
+ rolloutPct: z.int().gte(0).lte(1e4),
84
+ bucketBy: z.string().optional(),
85
+ salt: z.string().optional(),
86
+ ramp: z.object({
87
+ from: z.int().gte(0).lte(1e4),
88
+ to: z.int().gte(0).lte(1e4),
89
+ startAt: z.int().gte(0).lte(9007199254740991),
90
+ durationMs: z.int().gt(0).lte(9007199254740991)
91
+ }).optional(),
92
+ locked: z.boolean().optional()
93
+ })])).nullish(),
94
+ updatedAt: z.string()
95
+ })),
96
+ next_cursor: z.string().nullable()
97
+ });
98
+ var zErrorCode = z.enum([
99
+ "BAD_REQUEST",
100
+ "UNAUTHORIZED",
101
+ "FORBIDDEN",
102
+ "PLAN_REQUIRED",
103
+ "NOT_FOUND",
104
+ "ALREADY_EXISTS",
105
+ "INVALID_TRANSITION",
106
+ "IMMUTABLE_FIELD",
107
+ "READ_ONLY",
108
+ "REFERENCED_IN_USE",
109
+ "VALIDATION",
110
+ "REFERENCED_NOT_FOUND",
111
+ "GROUPS_WEIGHT_SUM",
112
+ "EVENT_PENDING",
113
+ "INTERNAL"
114
+ ]);
115
+ var zError = z.object({
116
+ error: z.string(),
117
+ code: zErrorCode.optional(),
118
+ detail: z.string().optional(),
119
+ instructions: z.string().optional()
120
+ });
121
+ var zFolder = z.string().max(256).regex(/^[a-zA-Z0-9_-]+$/).nullable();
122
+ var zCreateGateRequest = z.object({
123
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
124
+ enabled: z.boolean().optional().default(true),
125
+ rollout_pct: z.int().gte(0).lte(1e4).optional().default(0),
126
+ rollout_percent: z.number().gte(0).lte(100).optional(),
127
+ rules: z.array(z.object({
128
+ attr: z.string().min(1),
129
+ op: z.enum([
130
+ "eq",
131
+ "neq",
132
+ "in",
133
+ "not_in",
134
+ "gt",
135
+ "gte",
136
+ "lt",
137
+ "lte",
138
+ "contains",
139
+ "regex",
140
+ "semver_gt",
141
+ "semver_gte",
142
+ "semver_lt",
143
+ "semver_lte",
144
+ "gate_pass",
145
+ "exp_in"
146
+ ]),
147
+ value: z.unknown()
148
+ })).optional().default([]),
149
+ salt: z.string().min(1).max(64).optional(),
150
+ stack: z.array(z.union([z.object({
151
+ id: z.string().min(1),
152
+ type: z.literal("condition"),
153
+ name: z.string().optional(),
154
+ fromTemplate: z.string().nullish(),
155
+ pass: z.enum(["all", "any"]).optional(),
156
+ rules: z.array(z.object({
157
+ attr: z.string().min(1),
158
+ op: z.enum([
159
+ "eq",
160
+ "neq",
161
+ "in",
162
+ "not_in",
163
+ "gt",
164
+ "gte",
165
+ "lt",
166
+ "lte",
167
+ "contains",
168
+ "regex",
169
+ "semver_gt",
170
+ "semver_gte",
171
+ "semver_lt",
172
+ "semver_lte",
173
+ "gate_pass",
174
+ "exp_in"
175
+ ]),
176
+ value: z.unknown()
177
+ })).optional().default([]),
178
+ rolloutPct: z.int().gte(0).lte(1e4).optional(),
179
+ bucketBy: z.string().optional(),
180
+ salt: z.string().optional(),
181
+ ramp: z.object({
182
+ from: z.int().gte(0).lte(1e4),
183
+ to: z.int().gte(0).lte(1e4),
184
+ startAt: z.int().gte(0).lte(9007199254740991),
185
+ durationMs: z.int().gt(0).lte(9007199254740991)
186
+ }).optional(),
187
+ locked: z.boolean().optional()
188
+ }), z.object({
189
+ id: z.string().min(1),
190
+ type: z.literal("rollout"),
191
+ name: z.string().optional(),
192
+ fromTemplate: z.string().nullish(),
193
+ rolloutPct: z.int().gte(0).lte(1e4),
194
+ bucketBy: z.string().optional(),
195
+ salt: z.string().optional(),
196
+ ramp: z.object({
197
+ from: z.int().gte(0).lte(1e4),
198
+ to: z.int().gte(0).lte(1e4),
199
+ startAt: z.int().gte(0).lte(9007199254740991),
200
+ durationMs: z.int().gt(0).lte(9007199254740991)
201
+ }).optional(),
202
+ locked: z.boolean().optional()
203
+ })])).nullish(),
204
+ title: z.string().max(140).optional(),
205
+ description: z.string().max(2e3).optional(),
206
+ folder: zFolder.optional(),
207
+ group: z.string().max(64).optional(),
208
+ owner_email: z.string().max(190).optional()
209
+ });
210
+ var zCreateGateResponse = z.object({
211
+ id: z.string(),
212
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/)
213
+ });
214
+ var zDeleteGateResponse = z.object({
215
+ ok: z.literal(true)
216
+ });
217
+ var zUpdateGateRequest = z.object({
218
+ rollout_pct: z.int().gte(0).lte(1e4).optional(),
219
+ rollout_percent: z.number().gte(0).lte(100).optional(),
220
+ rules: z.array(z.object({
221
+ attr: z.string().min(1),
222
+ op: z.enum([
223
+ "eq",
224
+ "neq",
225
+ "in",
226
+ "not_in",
227
+ "gt",
228
+ "gte",
229
+ "lt",
230
+ "lte",
231
+ "contains",
232
+ "regex",
233
+ "semver_gt",
234
+ "semver_gte",
235
+ "semver_lt",
236
+ "semver_lte",
237
+ "gate_pass",
238
+ "exp_in"
239
+ ]),
240
+ value: z.unknown()
241
+ })).optional(),
242
+ enabled: z.boolean().optional(),
243
+ stack: z.array(z.union([z.object({
244
+ id: z.string().min(1),
245
+ type: z.literal("condition"),
246
+ name: z.string().optional(),
247
+ fromTemplate: z.string().nullish(),
248
+ pass: z.enum(["all", "any"]).optional(),
249
+ rules: z.array(z.object({
250
+ attr: z.string().min(1),
251
+ op: z.enum([
252
+ "eq",
253
+ "neq",
254
+ "in",
255
+ "not_in",
256
+ "gt",
257
+ "gte",
258
+ "lt",
259
+ "lte",
260
+ "contains",
261
+ "regex",
262
+ "semver_gt",
263
+ "semver_gte",
264
+ "semver_lt",
265
+ "semver_lte",
266
+ "gate_pass",
267
+ "exp_in"
268
+ ]),
269
+ value: z.unknown()
270
+ })).optional().default([]),
271
+ rolloutPct: z.int().gte(0).lte(1e4).optional(),
272
+ bucketBy: z.string().optional(),
273
+ salt: z.string().optional(),
274
+ ramp: z.object({
275
+ from: z.int().gte(0).lte(1e4),
276
+ to: z.int().gte(0).lte(1e4),
277
+ startAt: z.int().gte(0).lte(9007199254740991),
278
+ durationMs: z.int().gt(0).lte(9007199254740991)
279
+ }).optional(),
280
+ locked: z.boolean().optional()
281
+ }), z.object({
282
+ id: z.string().min(1),
283
+ type: z.literal("rollout"),
284
+ name: z.string().optional(),
285
+ fromTemplate: z.string().nullish(),
286
+ rolloutPct: z.int().gte(0).lte(1e4),
287
+ bucketBy: z.string().optional(),
288
+ salt: z.string().optional(),
289
+ ramp: z.object({
290
+ from: z.int().gte(0).lte(1e4),
291
+ to: z.int().gte(0).lte(1e4),
292
+ startAt: z.int().gte(0).lte(9007199254740991),
293
+ durationMs: z.int().gt(0).lte(9007199254740991)
294
+ }).optional(),
295
+ locked: z.boolean().optional()
296
+ })])).nullish(),
297
+ title: z.string().max(140).optional(),
298
+ description: z.string().max(2e3).optional(),
299
+ folder: zFolder.optional(),
300
+ group: z.string().max(64).optional(),
301
+ owner_email: z.string().max(190).optional()
302
+ });
303
+ var zUpdateGateResponse = z.object({
304
+ id: z.string()
305
+ });
306
+ var zEnableGateResponse = z.object({
307
+ id: z.string(),
308
+ enabled: z.boolean()
309
+ });
310
+ var zDisableGateResponse = z.object({
311
+ id: z.string(),
312
+ enabled: z.boolean()
313
+ });
314
+ var zListExperimentsResponse = z.object({
315
+ data: z.array(z.object({
316
+ id: z.string(),
317
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
318
+ description: z.string().nullable(),
319
+ hypothesis: z.string().nullable(),
320
+ tag: z.string().nullable(),
321
+ ownerEmail: z.string().nullable(),
322
+ audience: z.string().nullable(),
323
+ bucketBy: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/).nullable(),
324
+ folder: z.string().nullable(),
325
+ status: z.enum([
326
+ "draft",
327
+ "running",
328
+ "stopped",
329
+ "archived"
330
+ ]),
331
+ universe: z.string(),
332
+ targetingGate: z.string().nullable(),
333
+ allocationPct: z.int().gte(-9007199254740991).lte(9007199254740991),
334
+ salt: z.string(),
335
+ params: z.record(z.string(), z.enum([
336
+ "string",
337
+ "bool",
338
+ "number"
339
+ ])),
340
+ groups: z.array(z.object({
341
+ name: z.string().min(1).max(64),
342
+ weight: z.int().gte(0).lte(1e4),
343
+ params: z.record(z.string(), z.unknown()).optional().default({})
344
+ })),
345
+ significanceThreshold: z.number(),
346
+ minRuntimeDays: z.int().gte(-9007199254740991).lte(9007199254740991),
347
+ minSampleSize: z.int().gte(-9007199254740991).lte(9007199254740991),
348
+ sequentialTesting: z.boolean(),
349
+ startedAt: z.string().nullable(),
350
+ stoppedAt: z.string().nullish(),
351
+ updatedAt: z.string()
352
+ })),
353
+ next_cursor: z.string().nullable()
354
+ });
355
+ var zMetricName = z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/);
356
+ var zExperimentInlineMetric = z.object({
357
+ name: zMetricName.optional(),
358
+ query: z.string().min(1).max(4096).optional(),
359
+ event: z.string().min(1).max(256).optional(),
360
+ aggregation: z.enum([
361
+ "count_users",
362
+ "count_events",
363
+ "retention_7d",
364
+ "retention_30d",
365
+ "sum",
366
+ "avg"
367
+ ]).optional(),
368
+ value: z.string().min(1).max(256).optional()
369
+ });
370
+ var zCreateExperimentRequest = z.object({
371
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
372
+ description: z.string().max(2e3).nullish().default(null),
373
+ hypothesis: z.string().max(4e3).nullish().default(null),
374
+ tag: z.string().max(64).nullish().default(null),
375
+ owner_email: z.string().max(254).nullish().default(null),
376
+ audience: z.string().max(256).nullish().default(null),
377
+ bucket_by: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/).nullish().default(null),
378
+ folder: zFolder.optional(),
379
+ universe: z.string().min(1),
380
+ targeting_gate: z.string().nullish().default(null),
381
+ allocation_pct: z.int().gte(0).lte(1e4).optional().default(0),
382
+ allocation_percent: z.number().gte(0).lte(100).optional(),
383
+ salt: z.string().min(1).max(64).optional(),
384
+ params: z.record(z.string(), z.enum([
385
+ "string",
386
+ "bool",
387
+ "number"
388
+ ])).optional().default({}),
389
+ groups: z.array(z.object({
390
+ name: z.string().min(1).max(64),
391
+ weight: z.int().gte(0).lte(1e4),
392
+ params: z.record(z.string(), z.unknown()).optional().default({})
393
+ })).min(2),
394
+ significance_threshold: z.number().gte(1e-4).lte(0.5).optional().default(0.05),
395
+ min_runtime_days: z.int().gte(0).lte(365).optional().default(0),
396
+ min_sample_size: z.int().gte(1).lte(9007199254740991).optional().default(100),
397
+ sequential_testing: z.boolean().optional().default(false),
398
+ goal_metric: zExperimentInlineMetric.optional(),
399
+ guardrail_metrics: z.array(zExperimentInlineMetric).max(10).optional().default([])
400
+ });
401
+ var zCreateExperimentResponse = z.object({
402
+ id: z.string(),
403
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/)
404
+ });
405
+ var zGetExperimentResponse = z.object({
406
+ id: z.string(),
407
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
408
+ description: z.string().nullable(),
409
+ hypothesis: z.string().nullable(),
410
+ tag: z.string().nullable(),
411
+ ownerEmail: z.string().nullable(),
412
+ audience: z.string().nullable(),
413
+ bucketBy: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/).nullable(),
414
+ folder: z.string().nullable(),
415
+ status: z.enum([
416
+ "draft",
417
+ "running",
418
+ "stopped",
419
+ "archived"
420
+ ]),
421
+ universe: z.string(),
422
+ targetingGate: z.string().nullable(),
423
+ allocationPct: z.int().gte(-9007199254740991).lte(9007199254740991),
424
+ salt: z.string(),
425
+ params: z.record(z.string(), z.enum([
426
+ "string",
427
+ "bool",
428
+ "number"
429
+ ])),
430
+ groups: z.array(z.object({
431
+ name: z.string().min(1).max(64),
432
+ weight: z.int().gte(0).lte(1e4),
433
+ params: z.record(z.string(), z.unknown()).optional().default({})
434
+ })),
435
+ significanceThreshold: z.number(),
436
+ minRuntimeDays: z.int().gte(-9007199254740991).lte(9007199254740991),
437
+ minSampleSize: z.int().gte(-9007199254740991).lte(9007199254740991),
438
+ sequentialTesting: z.boolean(),
439
+ startedAt: z.string().nullable(),
440
+ stoppedAt: z.string().nullish(),
441
+ updatedAt: z.string()
442
+ });
443
+ var zDeleteExperimentResponse = z.object({
444
+ ok: z.literal(true)
445
+ });
446
+ var zUpdateExperimentRequest = z.object({
447
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/).optional(),
448
+ description: z.string().max(2e3).nullish(),
449
+ hypothesis: z.string().max(4e3).nullish(),
450
+ tag: z.string().max(64).nullish(),
451
+ owner_email: z.string().max(254).nullish(),
452
+ audience: z.string().max(256).nullish(),
453
+ bucket_by: z.string().min(1).max(128).regex(/^[a-zA-Z_][a-zA-Z0-9_]*$/).nullish(),
454
+ folder: zFolder.optional(),
455
+ targeting_gate: z.string().nullish(),
456
+ allocation_pct: z.int().gte(0).lte(1e4).optional(),
457
+ allocation_percent: z.number().gte(0).lte(100).optional(),
458
+ salt: z.string().min(1).max(64).optional(),
459
+ universe: z.string().optional(),
460
+ params: z.record(z.string(), z.enum([
461
+ "string",
462
+ "bool",
463
+ "number"
464
+ ])).optional(),
465
+ groups: z.array(z.object({
466
+ name: z.string().min(1).max(64),
467
+ weight: z.int().gte(0).lte(1e4),
468
+ params: z.record(z.string(), z.unknown()).optional().default({})
469
+ })).min(2).optional(),
470
+ significance_threshold: z.number().gte(1e-4).lte(0.5).optional(),
471
+ min_runtime_days: z.int().gte(0).lte(365).optional(),
472
+ min_sample_size: z.int().gte(1).lte(9007199254740991).optional(),
473
+ sequential_testing: z.boolean().optional(),
474
+ goal_metric: zExperimentInlineMetric.optional(),
475
+ guardrail_metrics: z.array(zExperimentInlineMetric).max(10).optional()
476
+ });
477
+ var zUpdateExperimentResponse = z.object({
478
+ id: z.string()
479
+ });
480
+ var zSetExperimentStatusRequest = z.object({
481
+ status: z.enum([
482
+ "draft",
483
+ "running",
484
+ "stopped",
485
+ "archived"
486
+ ])
487
+ });
488
+ var zSetExperimentStatusResponse = z.object({
489
+ id: z.string(),
490
+ status: z.enum([
491
+ "draft",
492
+ "running",
493
+ "stopped",
494
+ "archived"
495
+ ])
496
+ });
497
+ var zSetExperimentMetricsRequest = z.object({
498
+ metrics: z.array(z.object({
499
+ metric_id: z.string(),
500
+ role: z.enum([
501
+ "goal",
502
+ "guardrail",
503
+ "secondary"
504
+ ])
505
+ }))
506
+ });
507
+ var zSetExperimentMetricsResponse = z.object({
508
+ id: z.string(),
509
+ metrics: z.array(z.object({
510
+ metric_id: z.string(),
511
+ role: z.enum([
512
+ "goal",
513
+ "guardrail",
514
+ "secondary"
515
+ ])
516
+ }))
517
+ });
518
+ var zGetExperimentResultsResponse = z.object({
519
+ experiment: z.object({
520
+ id: z.string(),
521
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
522
+ status: z.enum([
523
+ "draft",
524
+ "running",
525
+ "stopped",
526
+ "archived"
527
+ ])
528
+ }),
529
+ results: z.array(z.object({
530
+ metric: z.string(),
531
+ group_name: z.string(),
532
+ ds: z.string(),
533
+ n: z.number().nullable(),
534
+ mean: z.number().nullable(),
535
+ delta_pct: z.number().nullable(),
536
+ p_value: z.number().nullable(),
537
+ srm_detected: z.number().nullable()
538
+ })),
539
+ verdict: z.enum([
540
+ "ship",
541
+ "hold",
542
+ "wait",
543
+ "invalid",
544
+ "draft"
545
+ ])
546
+ });
547
+ var zGetExperimentTimeseriesResponse = z.object({
548
+ experiment: z.object({
549
+ id: z.string(),
550
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
551
+ status: z.enum([
552
+ "draft",
553
+ "running",
554
+ "stopped",
555
+ "archived"
556
+ ])
557
+ }),
558
+ series: z.array(z.object({
559
+ metric: z.string(),
560
+ group_name: z.string(),
561
+ ds: z.string(),
562
+ n: z.number().nullable(),
563
+ mean: z.number().nullable(),
564
+ delta_pct: z.number().nullable(),
565
+ p_value: z.number().nullable(),
566
+ srm_detected: z.number().nullable()
567
+ }))
568
+ });
569
+ var zReanalyzeExperimentResponse = z.object({
570
+ id: z.string(),
571
+ queued: z.literal(true)
572
+ });
573
+ var zListConfigsResponse = z.object({
574
+ data: z.array(z.object({
575
+ id: z.string(),
576
+ name: z.string().max(128),
577
+ description: z.string().nullable(),
578
+ schema: z.record(z.string(), z.unknown()),
579
+ updatedAt: z.string(),
580
+ envs: z.record(z.string(), z.object({
581
+ version: z.int().gte(-9007199254740991).lte(9007199254740991),
582
+ publishedAt: z.string(),
583
+ publishedBy: z.string()
584
+ })),
585
+ drafts: z.record(z.string(), z.object({
586
+ updatedAt: z.string(),
587
+ authorEmail: z.string(),
588
+ baseVersion: z.int().gte(-9007199254740991).lte(9007199254740991)
589
+ })),
590
+ values: z.record(z.string(), z.unknown()).optional(),
591
+ draftValues: z.record(z.string(), z.unknown()).optional()
592
+ })),
593
+ next_cursor: z.string().nullable()
594
+ });
595
+ var zConfigName = z.string().max(128).regex(/^(?:_default|[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?$/);
596
+ var zCreateConfigRequest = z.object({
597
+ name: zConfigName,
598
+ description: z.string().max(512).optional(),
599
+ folder: zFolder.optional(),
600
+ schema: z.record(z.string(), z.unknown()),
601
+ value: z.unknown().optional()
602
+ });
603
+ var zCreateConfigResponse = z.object({
604
+ id: z.string(),
605
+ name: z.string().max(128)
606
+ });
607
+ var zGetConfigResponse = z.object({
608
+ id: z.string(),
609
+ name: z.string().max(128),
610
+ description: z.string().nullable(),
611
+ schema: z.record(z.string(), z.unknown()),
612
+ updatedAt: z.string(),
613
+ envs: z.record(z.string(), z.object({
614
+ version: z.int().gte(-9007199254740991).lte(9007199254740991),
615
+ publishedAt: z.string(),
616
+ publishedBy: z.string()
617
+ })),
618
+ drafts: z.record(z.string(), z.object({
619
+ updatedAt: z.string(),
620
+ authorEmail: z.string(),
621
+ baseVersion: z.int().gte(-9007199254740991).lte(9007199254740991)
622
+ })),
623
+ values: z.record(z.string(), z.unknown()).optional(),
624
+ draftValues: z.record(z.string(), z.unknown()).optional()
625
+ });
626
+ var zDeleteConfigResponse = z.object({
627
+ ok: z.literal(true)
628
+ });
629
+ var zUpdateConfigRequest = z.object({
630
+ schema: z.record(z.string(), z.unknown()).optional(),
631
+ value: z.unknown().optional(),
632
+ folder: zFolder.optional()
633
+ });
634
+ var zUpdateConfigResponse = z.object({
635
+ id: z.string()
636
+ });
637
+ var zEnv = z.enum([
638
+ "dev",
639
+ "staging",
640
+ "prod"
641
+ ]);
642
+ var zSaveConfigDraftRequest = z.object({
643
+ env: zEnv,
644
+ value: z.unknown()
645
+ });
646
+ var zSaveConfigDraftResponse = z.object({
647
+ id: z.string(),
648
+ env: zEnv,
649
+ baseVersion: z.int().gte(-9007199254740991).lte(9007199254740991),
650
+ updatedAt: z.string()
651
+ });
652
+ var zDiscardConfigDraftRequest = z.object({
653
+ env: zEnv
654
+ });
655
+ var zDiscardConfigDraftResponse = z.object({
656
+ ok: z.literal(true)
657
+ });
658
+ var zPublishConfigDraftRequest = z.object({
659
+ env: zEnv
660
+ });
661
+ var zPublishConfigDraftResponse = z.object({
662
+ id: z.string(),
663
+ env: zEnv,
664
+ version: z.int().gte(-9007199254740991).lte(9007199254740991)
665
+ });
666
+ var zListConfigActivityResponse = z.array(z.object({
667
+ id: z.string(),
668
+ action: z.string(),
669
+ actorEmail: z.string(),
670
+ actorType: z.enum([
671
+ "user",
672
+ "cli",
673
+ "system"
674
+ ]),
675
+ payload: z.unknown(),
676
+ createdAt: z.string()
677
+ }));
678
+ var zUpdateConfigSchemaRequest = z.object({
679
+ schema: z.record(z.string(), z.unknown())
680
+ });
681
+ var zUpdateConfigSchemaResponse = z.object({
682
+ id: z.string()
683
+ });
684
+ var zListKillswitchesResponse = z.object({
685
+ data: z.array(z.object({
686
+ id: z.string(),
687
+ name: z.string().max(128),
688
+ description: z.string().nullable(),
689
+ updatedAt: z.string(),
690
+ envs: z.record(z.string(), z.object({
691
+ value: z.boolean(),
692
+ switches: z.record(z.string(), z.boolean()).optional(),
693
+ version: z.int().gte(-9007199254740991).lte(9007199254740991),
694
+ publishedAt: z.string(),
695
+ publishedBy: z.string().nullish()
696
+ }))
697
+ })),
698
+ next_cursor: z.string().nullable()
699
+ });
700
+ var zCreateKillswitchRequest = z.object({
701
+ name: zConfigName,
702
+ description: z.string().max(512).optional(),
703
+ folder: zFolder.optional(),
704
+ value: z.boolean().optional(),
705
+ switches: z.record(z.string(), z.boolean()).optional()
706
+ });
707
+ var zCreateKillswitchResponse = z.object({
708
+ id: z.string(),
709
+ name: z.string().max(128)
710
+ });
711
+ var zGetKillswitchResponse = z.object({
712
+ id: z.string(),
713
+ name: z.string().max(128),
714
+ description: z.string().nullable(),
715
+ updatedAt: z.string(),
716
+ envs: z.record(z.string(), z.object({
717
+ value: z.boolean(),
718
+ switches: z.record(z.string(), z.boolean()).optional(),
719
+ version: z.int().gte(-9007199254740991).lte(9007199254740991),
720
+ publishedAt: z.string(),
721
+ publishedBy: z.string().nullish()
722
+ }))
723
+ });
724
+ var zDeleteKillswitchResponse = z.object({
725
+ ok: z.literal(true)
726
+ });
727
+ var zUpdateKillswitchRequest = z.object({
728
+ description: z.string().max(512).nullish(),
729
+ folder: zFolder.optional(),
730
+ value: z.boolean().optional(),
731
+ switches: z.record(z.string(), z.boolean()).optional()
732
+ });
733
+ var zUpdateKillswitchResponse = z.object({
734
+ id: z.string()
735
+ });
736
+ var zSetKillswitchSwitchRequest = z.object({
737
+ env: zEnv,
738
+ switchKey: z.string().max(64).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?$/),
739
+ value: z.boolean()
740
+ });
741
+ var zSetKillswitchSwitchResponse = z.object({
742
+ id: z.string(),
743
+ env: zEnv,
744
+ switchKey: z.string().max(64).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?$/),
745
+ value: z.boolean()
746
+ });
747
+ var zUnsetKillswitchSwitchRequest = z.object({
748
+ env: zEnv,
749
+ switchKey: z.string().max(64).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?$/)
750
+ });
751
+ var zUnsetKillswitchSwitchResponse = z.object({
752
+ id: z.string(),
753
+ env: zEnv,
754
+ switchKey: z.string().max(64).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?$/),
755
+ removed: z.boolean()
756
+ });
757
+ var zSetKillswitchValueRequest = z.object({
758
+ env: zEnv,
759
+ value: z.boolean()
760
+ });
761
+ var zKillswitchValue = z.object({
762
+ value: z.boolean(),
763
+ switches: z.record(z.string(), z.boolean()).optional()
764
+ });
765
+ var zSetKillswitchValueResponse = z.object({
766
+ id: z.string(),
767
+ env: zEnv,
768
+ version: z.int().gte(-9007199254740991).lte(9007199254740991),
769
+ published: zKillswitchValue
770
+ });
771
+ var zListUniversesResponse = z.object({
772
+ data: z.array(z.object({
773
+ id: z.string(),
774
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
775
+ unitType: z.string(),
776
+ holdoutRange: z.tuple([z.number(), z.number()]).nullable(),
777
+ createdAt: z.string()
778
+ })),
779
+ next_cursor: z.string().nullable()
780
+ });
781
+ var zCreateUniverseRequest = z.object({
782
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/),
783
+ folder: zFolder.optional(),
784
+ unit_type: z.string().optional().default("user_id"),
785
+ holdout_range: z.tuple([z.int().gte(0).lte(9999), z.int().gte(0).lte(9999)]).nullish().default(null)
786
+ });
787
+ var zCreateUniverseResponse = z.object({
788
+ id: z.string(),
789
+ name: z.string().max(128).regex(/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)?$/)
790
+ });
791
+ var zDeleteUniverseResponse = z.object({
792
+ ok: z.literal(true)
793
+ });
794
+ var zUpdateUniverseRequest = z.object({
795
+ folder: zFolder.optional(),
796
+ holdout_range: z.tuple([z.int().gte(0).lte(9999), z.int().gte(0).lte(9999)]).nullish()
797
+ });
798
+ var zUpdateUniverseResponse = z.object({
799
+ id: z.string()
800
+ });
801
+ var zGateTemplateRule = z.object({
802
+ attr: z.string(),
803
+ op: z.enum([
804
+ "eq",
805
+ "neq",
806
+ "in",
807
+ "not_in",
808
+ "gt",
809
+ "gte",
810
+ "lt",
811
+ "lte",
812
+ "contains",
813
+ "regex",
814
+ "semver_gt",
815
+ "semver_gte",
816
+ "semver_lt",
817
+ "semver_lte",
818
+ "gate_pass",
819
+ "exp_in"
820
+ ]),
821
+ value: z.unknown()
822
+ });
823
+ var zGateTemplate = z.object({
824
+ id: z.string(),
825
+ name: z.string(),
826
+ description: z.string(),
827
+ category: z.enum(["condition", "rollout"]),
828
+ auto: z.boolean(),
829
+ builtin: z.boolean(),
830
+ iconKey: z.string().nullish(),
831
+ rules: z.array(zGateTemplateRule),
832
+ createdAt: z.string().nullish(),
833
+ updatedAt: z.string().nullish()
834
+ });
835
+ var zListGateTemplatesResponse = z.object({
836
+ data: z.array(zGateTemplate),
837
+ next_cursor: z.string().nullable()
838
+ });
839
+ var zCreateGateTemplateRequest = z.object({
840
+ name: z.string().min(1).max(140),
841
+ description: z.string().max(2e3).optional().default(""),
842
+ category: z.enum(["condition", "rollout"]).optional().default("condition"),
843
+ icon_key: z.string().max(64).optional(),
844
+ auto: z.boolean().optional().default(false),
845
+ rules: z.array(zGateTemplateRule).min(1)
846
+ });
847
+ var zCreateGateTemplateResponse = z.object({
848
+ id: z.string(),
849
+ name: z.string()
850
+ });
851
+ var zDeleteGateTemplateResponse = z.object({
852
+ ok: z.literal(true)
853
+ });
854
+ var zUpdateGateTemplateRequest = z.object({
855
+ name: z.string().min(1).max(140).optional(),
856
+ description: z.string().max(2e3).optional(),
857
+ category: z.enum(["condition", "rollout"]).optional(),
858
+ icon_key: z.string().nullish(),
859
+ auto: z.boolean().optional(),
860
+ rules: z.array(zGateTemplateRule).min(1).optional()
861
+ });
862
+ var zUpdateGateTemplateResponse = z.object({
863
+ id: z.string()
864
+ });
865
+ var zListAttributesResponse = z.array(z.object({
866
+ name: z.string(),
867
+ type: z.string().optional()
868
+ }));
869
+ var zAttributeType = z.enum([
870
+ "string",
871
+ "number",
872
+ "boolean",
873
+ "enum",
874
+ "date"
875
+ ]);
876
+ var zCreateAttributeRequest = z.object({
877
+ name: z.string().regex(/^[a-z0-9][a-z0-9_-]{0,63}$/),
878
+ type: zAttributeType,
879
+ enum_values: z.array(z.string()).nullish().default(null),
880
+ required: z.boolean().optional().default(false),
881
+ description: z.string().optional(),
882
+ sdk_path: z.string().optional()
883
+ });
884
+ var zCreateAttributeResponse = z.object({
885
+ id: z.string(),
886
+ name: z.string()
887
+ });
888
+ var zGetAttributeResponse = z.object({
889
+ id: z.string(),
890
+ name: z.string(),
891
+ type: zAttributeType,
892
+ enumValues: z.array(z.string()).nullish(),
893
+ required: z.union([z.literal(0), z.literal(1)]).optional(),
894
+ description: z.string().nullish(),
895
+ sdkPath: z.string().nullish(),
896
+ createdAt: z.string().optional()
897
+ });
898
+ var zDeleteAttributeResponse = z.object({
899
+ ok: z.boolean()
900
+ });
901
+ var zUpdateAttributeRequest = z.object({
902
+ type: zAttributeType.optional(),
903
+ enum_values: z.array(z.string()).nullish(),
904
+ required: z.boolean().optional(),
905
+ description: z.string().optional(),
906
+ sdk_path: z.string().optional()
907
+ });
908
+ var zUpdateAttributeResponse = z.object({
909
+ id: z.string()
910
+ });
911
+ var zQueryIr = z.object({
912
+ agg: z.union([
913
+ z.object({
914
+ kind: z.literal("count_users")
915
+ }),
916
+ z.object({
917
+ kind: z.literal("count_events")
918
+ }),
919
+ z.object({
920
+ kind: z.literal("sum")
921
+ }),
922
+ z.object({
923
+ kind: z.literal("avg")
924
+ }),
925
+ z.object({
926
+ kind: z.literal("min")
927
+ }),
928
+ z.object({
929
+ kind: z.literal("max")
930
+ }),
931
+ z.object({
932
+ kind: z.literal("unique")
933
+ }),
934
+ z.object({
935
+ kind: z.literal("quantile"),
936
+ p: z.union([
937
+ z.literal(0.5),
938
+ z.literal(0.75),
939
+ z.literal(0.9),
940
+ z.literal(0.95),
941
+ z.literal(0.99),
942
+ z.literal(0.999)
943
+ ])
944
+ }),
945
+ z.object({
946
+ kind: z.literal("retention_Nd"),
947
+ n: z.int().gte(1).lte(90)
948
+ }),
949
+ z.object({
950
+ kind: z.literal("ratio"),
951
+ numerator: z.object({
952
+ agg: z.enum(["count_users", "count_events"]),
953
+ metric: z.string().min(1).max(128),
954
+ filters: z.array(z.object({
955
+ label: z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/),
956
+ op: z.enum([
957
+ "=",
958
+ "!=",
959
+ "=~",
960
+ "!~"
961
+ ]),
962
+ value: z.string().max(512)
963
+ })).max(16).optional()
964
+ }),
965
+ denominator: z.object({
966
+ agg: z.enum(["count_users", "count_events"]),
967
+ metric: z.string().min(1).max(128),
968
+ filters: z.array(z.object({
969
+ label: z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/),
970
+ op: z.enum([
971
+ "=",
972
+ "!=",
973
+ "=~",
974
+ "!~"
975
+ ]),
976
+ value: z.string().max(512)
977
+ })).max(16).optional()
978
+ })
979
+ })
980
+ ]),
981
+ metric: z.string().min(1).max(128),
982
+ valueLabel: z.string().min(1).max(128).optional(),
983
+ filters: z.array(z.object({
984
+ label: z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/),
985
+ op: z.enum([
986
+ "=",
987
+ "!=",
988
+ "=~",
989
+ "!~"
990
+ ]),
991
+ value: z.string().max(512)
992
+ })).max(16).optional().default([]),
993
+ groupBy: z.object({
994
+ op: z.enum(["by", "without"]),
995
+ labels: z.array(z.string().regex(/^[a-z_][a-z0-9_]{0,63}$/)).max(5)
996
+ }).optional()
997
+ });
998
+ var zListMetricsResponse = z.array(z.object({
999
+ id: z.string(),
1000
+ name: z.string(),
1001
+ folder: z.string().nullable(),
1002
+ eventName: z.string(),
1003
+ query: z.string().nullable(),
1004
+ queryIr: zQueryIr,
1005
+ direction: z.enum([
1006
+ "higher_better",
1007
+ "lower_better",
1008
+ "neutral"
1009
+ ]).optional(),
1010
+ winsorizePct: z.number().optional(),
1011
+ minDetectableEffect: z.number().nullish(),
1012
+ createdAt: z.string().optional(),
1013
+ updatedAt: z.string().optional()
1014
+ }));
1015
+ var zMetricEventName = z.string().min(1);
1016
+ var zMetricQueryDsl = z.string().min(1).max(4096);
1017
+ var zMetricWinsorizePct = z.int().gte(1).lte(99).default(99);
1018
+ var zMetricMinDetectableEffect = z.number().nullable().default(null);
1019
+ var zMetricDirection = z.enum([
1020
+ "higher_better",
1021
+ "lower_better",
1022
+ "neutral"
1023
+ ]).default("higher_better");
1024
+ var zCreateMetricWithQuery = z.object({
1025
+ name: zMetricName,
1026
+ folder: zFolder.optional(),
1027
+ event_name: zMetricEventName,
1028
+ query: zMetricQueryDsl,
1029
+ winsorize_pct: zMetricWinsorizePct.optional(),
1030
+ min_detectable_effect: zMetricMinDetectableEffect.optional(),
1031
+ direction: zMetricDirection.optional()
1032
+ });
1033
+ var zCreateMetricWithQueryIr = z.object({
1034
+ name: zMetricName,
1035
+ folder: zFolder.optional(),
1036
+ event_name: zMetricEventName,
1037
+ query_ir: zQueryIr,
1038
+ winsorize_pct: zMetricWinsorizePct.optional(),
1039
+ min_detectable_effect: zMetricMinDetectableEffect.optional(),
1040
+ direction: zMetricDirection.optional()
1041
+ });
1042
+ var zCreateMetricRequest = z.union([
1043
+ zCreateMetricWithQuery,
1044
+ zCreateMetricWithQueryIr
1045
+ ]);
1046
+ var zCreateMetricResponse = z.object({
1047
+ id: z.string(),
1048
+ name: z.string()
1049
+ });
1050
+ var zGetMetricResponse = z.object({
1051
+ id: z.string(),
1052
+ name: z.string(),
1053
+ folder: z.string().nullable(),
1054
+ eventName: z.string(),
1055
+ query: z.string().nullable(),
1056
+ queryIr: zQueryIr,
1057
+ direction: z.enum([
1058
+ "higher_better",
1059
+ "lower_better",
1060
+ "neutral"
1061
+ ]).optional(),
1062
+ winsorizePct: z.number().optional(),
1063
+ minDetectableEffect: z.number().nullish(),
1064
+ createdAt: z.string().optional(),
1065
+ updatedAt: z.string().optional()
1066
+ });
1067
+ var zDeleteMetricResponse = z.object({
1068
+ ok: z.literal(true)
1069
+ });
1070
+ var zUpdateMetricWithQuery = z.object({
1071
+ folder: zFolder.optional(),
1072
+ event_name: zMetricEventName.optional(),
1073
+ query: zMetricQueryDsl,
1074
+ winsorize_pct: zMetricWinsorizePct.optional(),
1075
+ min_detectable_effect: zMetricMinDetectableEffect.optional(),
1076
+ direction: zMetricDirection.optional()
1077
+ });
1078
+ var zUpdateMetricWithQueryIr = z.object({
1079
+ folder: zFolder.optional(),
1080
+ event_name: zMetricEventName.optional(),
1081
+ query_ir: zQueryIr,
1082
+ winsorize_pct: zMetricWinsorizePct.optional(),
1083
+ min_detectable_effect: zMetricMinDetectableEffect.optional(),
1084
+ direction: zMetricDirection.optional()
1085
+ });
1086
+ var zUpdateMetricFields = z.object({
1087
+ folder: zFolder.optional(),
1088
+ event_name: zMetricEventName.optional(),
1089
+ winsorize_pct: zMetricWinsorizePct.optional(),
1090
+ min_detectable_effect: zMetricMinDetectableEffect.optional(),
1091
+ direction: zMetricDirection.optional()
1092
+ });
1093
+ var zUpdateMetricRequest = z.union([
1094
+ zUpdateMetricWithQuery,
1095
+ zUpdateMetricWithQueryIr,
1096
+ zUpdateMetricFields
1097
+ ]);
1098
+ var zListEventsResponse = z.array(z.object({
1099
+ id: z.string(),
1100
+ name: z.string(),
1101
+ folder: z.string().max(256).regex(/^[a-zA-Z0-9_-]+$/).nullish(),
1102
+ description: z.string().nullable(),
1103
+ properties: z.array(z.object({
1104
+ name: z.string().min(1).max(64),
1105
+ type: z.enum([
1106
+ "string",
1107
+ "number",
1108
+ "boolean"
1109
+ ]),
1110
+ required: z.boolean().optional().default(false),
1111
+ description: z.string().optional().default("")
1112
+ })),
1113
+ pending: z.int().gte(-9007199254740991).lte(9007199254740991),
1114
+ createdAt: z.string()
1115
+ }));
1116
+ var zCreateEventRequest = z.object({
1117
+ name: z.string().regex(/^[a-zA-Z0-9_][a-zA-Z0-9_\-.]{0,127}$/),
1118
+ folder: zFolder.optional(),
1119
+ description: z.string().optional(),
1120
+ properties: z.array(z.object({
1121
+ name: z.string().min(1).max(64),
1122
+ type: z.enum([
1123
+ "string",
1124
+ "number",
1125
+ "boolean"
1126
+ ]),
1127
+ required: z.boolean().optional().default(false),
1128
+ description: z.string().optional().default("")
1129
+ })).optional().default([])
1130
+ });
1131
+ var zCreateEventResponse = z.object({
1132
+ id: z.string(),
1133
+ name: z.string()
1134
+ });
1135
+ var zGetEventResponse = z.object({
1136
+ id: z.string(),
1137
+ name: z.string(),
1138
+ folder: z.string().max(256).regex(/^[a-zA-Z0-9_-]+$/).nullish(),
1139
+ description: z.string().nullable(),
1140
+ properties: z.array(z.object({
1141
+ name: z.string().min(1).max(64),
1142
+ type: z.enum([
1143
+ "string",
1144
+ "number",
1145
+ "boolean"
1146
+ ]),
1147
+ required: z.boolean().optional().default(false),
1148
+ description: z.string().optional().default("")
1149
+ })),
1150
+ pending: z.int().gte(-9007199254740991).lte(9007199254740991),
1151
+ createdAt: z.string()
1152
+ });
1153
+ var zDeleteEventResponse = z.object({
1154
+ ok: z.literal(true)
1155
+ });
1156
+ var zUpdateEventRequest = z.object({
1157
+ folder: zFolder.optional(),
1158
+ description: z.string().optional(),
1159
+ properties: z.array(z.object({
1160
+ name: z.string().min(1).max(64),
1161
+ type: z.enum([
1162
+ "string",
1163
+ "number",
1164
+ "boolean"
1165
+ ]),
1166
+ required: z.boolean().optional().default(false),
1167
+ description: z.string().optional().default("")
1168
+ })).optional()
1169
+ });
1170
+ var zUpdateEventResponse = z.object({
1171
+ id: z.string()
1172
+ });
1173
+ var zApproveEventRequest = z.object({
1174
+ folder: zFolder.optional(),
1175
+ description: z.string().optional(),
1176
+ properties: z.array(z.object({
1177
+ name: z.string().min(1).max(64),
1178
+ type: z.enum([
1179
+ "string",
1180
+ "number",
1181
+ "boolean"
1182
+ ]),
1183
+ required: z.boolean().optional().default(false),
1184
+ description: z.string().optional().default("")
1185
+ })).optional()
1186
+ });
1187
+ var zApproveEventResponse = z.object({
1188
+ id: z.string()
1189
+ });
1190
+ var zOpsItemStatus = z.enum([
1191
+ "open",
1192
+ "pending_approval",
1193
+ "triage",
1194
+ "triaged",
1195
+ "in_progress",
1196
+ "ready_for_qa",
1197
+ "resolved",
1198
+ "wont_fix"
1199
+ ]);
1200
+ var zOpsItemPriority = z.enum([
1201
+ "nice_to_have",
1202
+ "medium",
1203
+ "high",
1204
+ "critical"
1205
+ ]);
1206
+ var zListOpsItemsResponse = z.array(z.object({
1207
+ id: z.string(),
1208
+ number: z.number().nullable(),
1209
+ type: z.enum([
1210
+ "bug",
1211
+ "feature_request",
1212
+ "error",
1213
+ "alert",
1214
+ "measure_plan"
1215
+ ]),
1216
+ title: z.string(),
1217
+ status: zOpsItemStatus,
1218
+ priority: zOpsItemPriority.nullable(),
1219
+ sourceRef: z.string().nullish(),
1220
+ createdAt: z.string()
1221
+ }));
1222
+ var zNotificationTarget = z.object({
1223
+ slackChannel: z.object({
1224
+ id: z.string().min(1),
1225
+ name: z.string().min(1)
1226
+ }).nullish(),
1227
+ email: z.email().nullish()
1228
+ }).nullable();
1229
+ var zCreateBugRequest = z.object({
1230
+ type: z.enum(["bug"]),
1231
+ title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
1232
+ stepsToReproduce: z.string().max(8e3).optional().default(""),
1233
+ actualResult: z.string().max(8e3).optional().default(""),
1234
+ expectedResult: z.string().max(8e3).optional().default(""),
1235
+ priority: zOpsItemPriority.nullish(),
1236
+ reporterEmail: z.email().nullish(),
1237
+ pageUrl: z.url().nullish(),
1238
+ userAgent: z.string().max(500).nullish(),
1239
+ viewport: z.string().max(40).nullish(),
1240
+ context: z.record(z.string(), z.unknown()).nullish(),
1241
+ notify: zNotificationTarget.nullish()
1242
+ });
1243
+ var zCreateFeatureRequestRequest = z.object({
1244
+ type: z.enum(["feature_request"]),
1245
+ title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/),
1246
+ description: z.string().max(8e3).optional().default(""),
1247
+ useCase: z.string().max(8e3).optional().default(""),
1248
+ priority: zOpsItemPriority.nullish(),
1249
+ reporterEmail: z.email().nullish(),
1250
+ pageUrl: z.url().nullish(),
1251
+ userAgent: z.string().max(500).nullish(),
1252
+ context: z.record(z.string(), z.unknown()).nullish(),
1253
+ notify: zNotificationTarget.nullish()
1254
+ });
1255
+ var zCreateOpsItemRequest = z.discriminatedUnion("type", [
1256
+ zCreateBugRequest.extend({ type: z.literal("bug") }),
1257
+ zCreateFeatureRequestRequest.extend({ type: z.literal("feature_request") })
1258
+ ]);
1259
+ var zCreateOpsItemResponse = z.object({
1260
+ id: z.string(),
1261
+ number: z.number().nullish()
1262
+ });
1263
+ var zOpsBrowserContext = z.object({
1264
+ pageUrl: z.string().nullish(),
1265
+ userAgent: z.string().nullish(),
1266
+ viewport: z.string().nullish()
1267
+ });
1268
+ var zOpsErrorContext = z.object({
1269
+ id: z.string(),
1270
+ fingerprint: z.string(),
1271
+ causedByFingerprint: z.string().nullish(),
1272
+ errorType: z.string().nullish(),
1273
+ message: z.string(),
1274
+ subject: z.string().nullish(),
1275
+ outcome: z.string().nullish(),
1276
+ kind: z.string().nullish(),
1277
+ side: z.string().nullish(),
1278
+ env: z.string().nullish(),
1279
+ count: z.number(),
1280
+ firstSeenAt: z.string(),
1281
+ lastSeenAt: z.string(),
1282
+ seenUrls: z.array(z.string()),
1283
+ sdkVersion: z.string().nullish()
1284
+ });
1285
+ var zOpsAlertRuleSummary = z.object({
1286
+ id: z.string(),
1287
+ name: z.string(),
1288
+ comparator: z.enum([
1289
+ "gt",
1290
+ "gte",
1291
+ "lt",
1292
+ "lte"
1293
+ ]),
1294
+ threshold: z.number(),
1295
+ windowHours: z.number()
1296
+ });
1297
+ var zOpsAlertMetricSummary = z.object({
1298
+ id: z.string(),
1299
+ name: z.string(),
1300
+ events: z.array(z.string())
1301
+ });
1302
+ var zOpsAlertContext = z.object({
1303
+ source: z.enum([
1304
+ "metric_rule",
1305
+ "experiment_srm",
1306
+ "experiment_peek",
1307
+ "guardrail"
1308
+ ]),
1309
+ dedupeKey: z.string(),
1310
+ severity: z.enum([
1311
+ "danger",
1312
+ "warn",
1313
+ "info"
1314
+ ]),
1315
+ observedValue: z.number().nullish(),
1316
+ href: z.string().nullish(),
1317
+ status: z.enum([
1318
+ "active",
1319
+ "resolved",
1320
+ "dismissed"
1321
+ ]).nullish(),
1322
+ activeSince: z.string().nullish(),
1323
+ resolvedAt: z.string().nullish(),
1324
+ rule: zOpsAlertRuleSummary.nullish(),
1325
+ metric: zOpsAlertMetricSummary.nullish()
1326
+ });
1327
+ var zMeasurePlanResource = z.object({
1328
+ kind: z.enum([
1329
+ "metric",
1330
+ "experiment",
1331
+ "alert_rule",
1332
+ "event"
1333
+ ]),
1334
+ id: z.string().nullish(),
1335
+ name: z.string()
1336
+ });
1337
+ var zMeasurePlanStep = z.object({
1338
+ event: z.string().nullish(),
1339
+ attribute: z.string().nullish(),
1340
+ label: z.string(),
1341
+ description: z.string().nullish(),
1342
+ properties: z.array(z.string()).optional()
1343
+ });
1344
+ var zOpsMeasurePlanContext = z.object({
1345
+ created: z.array(zMeasurePlanResource),
1346
+ pending: z.array(zMeasurePlanResource).optional(),
1347
+ instrumentation: z.array(zMeasurePlanStep)
1348
+ });
1349
+ var zOpsItemContext = z.object({
1350
+ browser: zOpsBrowserContext.optional(),
1351
+ error: zOpsErrorContext.optional(),
1352
+ alert: zOpsAlertContext.optional(),
1353
+ measurePlan: zOpsMeasurePlanContext.optional()
1354
+ });
1355
+ var zOpsItemAttachment = z.object({
1356
+ id: z.string(),
1357
+ kind: z.string(),
1358
+ filename: z.string(),
1359
+ mimeType: z.string(),
1360
+ sizeBytes: z.number(),
1361
+ fetchUrl: z.string()
1362
+ });
1363
+ var zOpsItemRelated = z.object({
1364
+ dashboard: z.string().optional(),
1365
+ error: z.string().optional(),
1366
+ alertRule: z.string().optional(),
1367
+ metric: z.string().optional(),
1368
+ githubIssue: z.string().optional(),
1369
+ githubPr: z.string().optional()
1370
+ });
1371
+ var zGithubConnectorData = z.object({
1372
+ issue: z.object({
1373
+ number: z.number(),
1374
+ url: z.string(),
1375
+ owner: z.string(),
1376
+ repo: z.string(),
1377
+ createdAt: z.string().optional()
1378
+ }).optional(),
1379
+ pr: z.object({
1380
+ number: z.number(),
1381
+ url: z.string(),
1382
+ linkedAt: z.string().optional(),
1383
+ connectedToIssue: z.boolean().optional(),
1384
+ method: z.enum(["closes", "comment"]).optional()
1385
+ }).optional()
1386
+ });
1387
+ var zSlackConnectorData = z.object({
1388
+ message: z.object({
1389
+ channel: z.string(),
1390
+ ts: z.string(),
1391
+ postedAt: z.string().optional()
1392
+ }).optional()
1393
+ });
1394
+ var zConnectorData = z.object({
1395
+ github: zGithubConnectorData.optional(),
1396
+ slack: zSlackConnectorData.optional()
1397
+ });
1398
+ var zGetOpsItemResponse = z.object({
1399
+ id: z.string(),
1400
+ number: z.number().nullable(),
1401
+ type: z.enum([
1402
+ "bug",
1403
+ "feature_request",
1404
+ "error",
1405
+ "alert",
1406
+ "measure_plan"
1407
+ ]),
1408
+ title: z.string(),
1409
+ status: zOpsItemStatus,
1410
+ priority: zOpsItemPriority.nullable(),
1411
+ source: z.enum(["team", "system"]).optional(),
1412
+ sourceRef: z.string().nullish(),
1413
+ reporterEmail: z.string().nullish(),
1414
+ stepsToReproduce: z.string().optional(),
1415
+ actualResult: z.string().optional(),
1416
+ expectedResult: z.string().optional(),
1417
+ description: z.string().optional(),
1418
+ useCase: z.string().optional(),
1419
+ context: zOpsItemContext.nullable(),
1420
+ attachments: z.array(zOpsItemAttachment),
1421
+ related: zOpsItemRelated,
1422
+ connectorData: zConnectorData.nullish(),
1423
+ notify: zNotificationTarget.nullish(),
1424
+ createdAt: z.string(),
1425
+ updatedAt: z.string().optional()
1426
+ });
1427
+ var zOpsItemPriorityOrNull = zOpsItemPriority.nullable();
1428
+ var zOpsItemNotifyOrNull = zNotificationTarget.nullable();
1429
+ var zUpdateBugRequest = z.object({
1430
+ title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/).optional(),
1431
+ stepsToReproduce: z.string().max(8e3).optional(),
1432
+ actualResult: z.string().max(8e3).optional(),
1433
+ expectedResult: z.string().max(8e3).optional(),
1434
+ status: zOpsItemStatus.optional(),
1435
+ priority: zOpsItemPriorityOrNull.optional(),
1436
+ githubPrNumber: z.int().gte(1).nullish(),
1437
+ notify: zOpsItemNotifyOrNull.optional()
1438
+ });
1439
+ var zUpdateFeatureRequestRequest = z.object({
1440
+ title: z.string().min(1).max(200).regex(/^\S(.*\S)?$/).optional(),
1441
+ description: z.string().max(8e3).optional(),
1442
+ useCase: z.string().max(8e3).optional(),
1443
+ status: zOpsItemStatus.optional(),
1444
+ priority: zOpsItemPriorityOrNull.optional(),
1445
+ githubPrNumber: z.int().gte(1).nullish(),
1446
+ notify: zOpsItemNotifyOrNull.optional()
1447
+ });
1448
+ var zUpdateOpsItemStatusRequest = z.object({
1449
+ status: zOpsItemStatus.optional(),
1450
+ priority: zOpsItemPriorityOrNull.optional(),
1451
+ notify: zOpsItemNotifyOrNull.optional()
1452
+ });
1453
+ var zUpdateOpsItemRequest = z.union([
1454
+ zUpdateBugRequest,
1455
+ zUpdateFeatureRequestRequest,
1456
+ zUpdateOpsItemStatusRequest
1457
+ ]);
1458
+ var zUpdateOpsItemResponse = z.object({
1459
+ id: z.string()
1460
+ });
1461
+ var zLinkPrToOpsItemRequest = z.object({
1462
+ prNumber: z.int().gt(0).lte(9007199254740991).nullable(),
1463
+ prUrl: z.url().optional()
1464
+ });
1465
+ var zLinkPrToOpsItemResponse = z.object({
1466
+ id: z.string()
1467
+ });
1468
+ var zNotifyOpsRequest = z.object({
1469
+ title: z.string().min(1).max(200),
1470
+ summary: z.string().min(1).max(280),
1471
+ steps: z.array(z.string()).optional(),
1472
+ href: z.string().optional(),
1473
+ dedupeKey: z.string().optional()
1474
+ });
1475
+ var zNotifyOpsResponse = z.object({
1476
+ dedupeKey: z.string(),
1477
+ dispatched: z.boolean()
1478
+ });
1479
+ var zListSlackChannelsResponse = z.object({
1480
+ connected: z.boolean(),
1481
+ channels: z.array(z.object({
1482
+ id: z.string(),
1483
+ name: z.string(),
1484
+ isPrivate: z.boolean().optional()
1485
+ }))
1486
+ });
1487
+ var zListAlertRulesResponse = z.array(z.object({
1488
+ id: z.string(),
1489
+ name: z.string(),
1490
+ metricId: z.string(),
1491
+ metricName: z.string().nullable(),
1492
+ comparator: z.enum([
1493
+ "gt",
1494
+ "gte",
1495
+ "lt",
1496
+ "lte"
1497
+ ]),
1498
+ threshold: z.number(),
1499
+ windowHours: z.int().gte(-9007199254740991).lte(9007199254740991),
1500
+ severity: z.enum([
1501
+ "danger",
1502
+ "warn",
1503
+ "info"
1504
+ ]),
1505
+ enabled: z.boolean(),
1506
+ notify: zNotificationTarget,
1507
+ createdAt: z.string(),
1508
+ updatedAt: z.string()
1509
+ }));
1510
+ var zCreateAlertRuleRequest = z.object({
1511
+ name: z.string().min(1).max(120),
1512
+ metricId: z.string().min(1),
1513
+ comparator: z.enum([
1514
+ "gt",
1515
+ "gte",
1516
+ "lt",
1517
+ "lte"
1518
+ ]),
1519
+ threshold: z.number(),
1520
+ windowHours: z.int().gte(1).lte(720).optional().default(24),
1521
+ severity: z.enum([
1522
+ "danger",
1523
+ "warn",
1524
+ "info"
1525
+ ]).optional().default("warn"),
1526
+ enabled: z.boolean().optional().default(true),
1527
+ notify: zNotificationTarget.optional()
1528
+ });
1529
+ var zCreateAlertRuleResponse = z.object({
1530
+ id: z.string()
1531
+ });
1532
+ var zDeleteAlertRuleResponse = z.object({
1533
+ ok: z.literal(true)
1534
+ });
1535
+ var zUpdateAlertRuleRequest = z.object({
1536
+ name: z.string().min(1).max(120).optional(),
1537
+ comparator: z.enum([
1538
+ "gt",
1539
+ "gte",
1540
+ "lt",
1541
+ "lte"
1542
+ ]).optional(),
1543
+ threshold: z.number().optional(),
1544
+ windowHours: z.int().gte(1).lte(720).optional(),
1545
+ severity: z.enum([
1546
+ "danger",
1547
+ "warn",
1548
+ "info"
1549
+ ]).optional(),
1550
+ enabled: z.boolean().optional(),
1551
+ notify: zNotificationTarget.optional()
1552
+ });
1553
+ var zUpdateAlertRuleResponse = z.object({
1554
+ id: z.string()
1555
+ });
1556
+ var zGetCurrentProjectResponse = z.object({
1557
+ id: z.string(),
1558
+ name: z.string(),
1559
+ domain: z.string().nullable(),
1560
+ ownerEmail: z.string(),
1561
+ plan: z.enum(["free", "paid"]),
1562
+ status: z.enum(["active", "inactive"]),
1563
+ subscriptionStatus: z.string(),
1564
+ billingInterval: z.enum(["monthly", "annual"]),
1565
+ currentPeriodEnd: z.string().nullable(),
1566
+ trialEndsAt: z.string().nullable(),
1567
+ cancelAtPeriodEnd: z.number(),
1568
+ moduleTranslations: z.union([
1569
+ z.boolean(),
1570
+ z.number()
1571
+ ]),
1572
+ moduleConfigs: z.union([
1573
+ z.boolean(),
1574
+ z.number()
1575
+ ]),
1576
+ moduleGates: z.union([
1577
+ z.boolean(),
1578
+ z.number()
1579
+ ]),
1580
+ moduleExperiments: z.union([
1581
+ z.boolean(),
1582
+ z.number()
1583
+ ]),
1584
+ moduleFeedback: z.union([
1585
+ z.boolean(),
1586
+ z.number()
1587
+ ]),
1588
+ createdAt: z.string(),
1589
+ updatedAt: z.string()
1590
+ });
1591
+ var zUpsertProjectRequest = z.object({
1592
+ domain: z.string().min(1).max(2048).regex(/^(\*|(\*\.)?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?(\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)+)$/),
1593
+ name: z.string().min(1).max(100).optional()
1594
+ });
1595
+ var zUpsertProjectResponse = z.object({
1596
+ id: z.string(),
1597
+ name: z.string(),
1598
+ domain: z.string().nullable(),
1599
+ owner_email: z.string(),
1600
+ created: z.boolean()
1601
+ });
1602
+ var zDomain = z.string().min(1).max(2048).regex(/^(\*|(\*\.)?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?(\.[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)+)$/);
1603
+ var zUpdateProjectRequest = z.object({
1604
+ name: z.string().min(1).max(120).optional(),
1605
+ domain: zDomain.optional(),
1606
+ slug: z.string().min(2).max(48).regex(/^[a-z0-9](?:[a-z0-9-]{0,46}[a-z0-9])?$/).optional(),
1607
+ defaultEnv: z.enum([
1608
+ "dev",
1609
+ "staging",
1610
+ "prod"
1611
+ ]).optional(),
1612
+ timezone: z.string().min(1).max(64).optional(),
1613
+ statMethod: z.enum([
1614
+ "sequential",
1615
+ "fixed",
1616
+ "bayesian"
1617
+ ]).optional(),
1618
+ sigThreshold: z.enum([
1619
+ "0.01",
1620
+ "0.05",
1621
+ "0.10"
1622
+ ]).optional(),
1623
+ autoRollback: z.boolean().optional(),
1624
+ minSampleDays: z.int().gte(1).lte(365).optional(),
1625
+ moduleTranslations: z.boolean().optional(),
1626
+ moduleConfigs: z.boolean().optional(),
1627
+ moduleGates: z.boolean().optional(),
1628
+ moduleExperiments: z.boolean().optional(),
1629
+ moduleFeedback: z.boolean().optional(),
1630
+ moduleUser: z.boolean().optional(),
1631
+ moduleEvents: z.boolean().optional()
1632
+ });
1633
+ var zListI18nProfilesResponse = z.array(z.object({
1634
+ id: z.string(),
1635
+ name: z.string(),
1636
+ isDefault: z.number().optional(),
1637
+ createdAt: z.string().optional(),
1638
+ deletedAt: z.string().nullish()
1639
+ }));
1640
+ var zCreateI18nProfileRequest = z.object({
1641
+ name: z.string().min(1).max(64).regex(/^[a-z0-9][a-z0-9_:.-]*$/)
1642
+ });
1643
+ var zCreateI18nProfileResponse = z.object({
1644
+ id: z.string(),
1645
+ name: z.string()
1646
+ });
1647
+ var zListI18nKeysResponse = z.object({
1648
+ keys: z.array(z.object({
1649
+ id: z.string(),
1650
+ key: z.string(),
1651
+ value: z.string(),
1652
+ description: z.string().nullish(),
1653
+ variables: z.array(z.string()).nullish(),
1654
+ profileId: z.string().optional(),
1655
+ chunkId: z.string().optional(),
1656
+ updatedAt: z.string().optional(),
1657
+ updatedBy: z.string().optional()
1658
+ })),
1659
+ total: z.number()
1660
+ });
1661
+ var zPushI18nKeysRequest = z.object({
1662
+ profile_id: z.uuid(),
1663
+ chunk: z.string().min(1).max(64).optional().default("default"),
1664
+ keys: z.array(z.object({
1665
+ key: z.string().min(1).max(256),
1666
+ value: z.string(),
1667
+ description: z.string().optional(),
1668
+ variables: z.array(z.string().min(1).max(64)).max(32).optional()
1669
+ })).min(1).max(5e3)
1670
+ });
1671
+ var zPushI18nKeysResponse = z.object({
1672
+ added: z.array(z.string()),
1673
+ skipped: z.array(z.string()),
1674
+ pushed_count: z.number(),
1675
+ skipped_count: z.number(),
1676
+ chunk: z.string().optional()
1677
+ });
1678
+ var zUpdateI18nKeyRequest = z.object({
1679
+ value: z.string(),
1680
+ description: z.string().optional(),
1681
+ variables: z.array(z.string().min(1).max(64)).max(32).optional()
1682
+ });
1683
+ var zUpdateI18nKeyResponse = z.object({
1684
+ id: z.string()
1685
+ });
1686
+ var zListI18nDraftsResponse = z.array(z.object({
1687
+ id: z.string(),
1688
+ name: z.string().optional(),
1689
+ profileId: z.string().optional(),
1690
+ sourceProfileId: z.string().nullish(),
1691
+ status: z.enum([
1692
+ "open",
1693
+ "merged",
1694
+ "abandoned"
1695
+ ]).optional(),
1696
+ createdBy: z.string().optional(),
1697
+ createdAt: z.string().optional(),
1698
+ publishedAt: z.string().nullish()
1699
+ }));
1700
+ var zCreateI18nDraftRequest = z.object({
1701
+ name: z.string().min(1).max(64),
1702
+ profile_id: z.uuid(),
1703
+ source_profile_id: z.uuid().optional()
1704
+ });
1705
+ var zI18nDraft = z.object({
1706
+ id: z.string(),
1707
+ name: z.string().optional(),
1708
+ profileId: z.string().optional(),
1709
+ sourceProfileId: z.string().nullish(),
1710
+ status: z.enum([
1711
+ "open",
1712
+ "merged",
1713
+ "abandoned"
1714
+ ]).optional(),
1715
+ createdBy: z.string().optional(),
1716
+ createdAt: z.string().optional(),
1717
+ publishedAt: z.string().nullish()
1718
+ });
1719
+ var zUpdateI18nDraftRequest = z.object({
1720
+ status: z.enum([
1721
+ "open",
1722
+ "merged",
1723
+ "abandoned"
1724
+ ]).optional()
1725
+ });
1726
+ var zPublishI18nProfileRequest = z.object({
1727
+ chunk: z.string().optional()
1728
+ });
1729
+ var zPublishI18nProfileResponse = z.object({
1730
+ ok: z.literal(true),
1731
+ profile_id: z.string(),
1732
+ chunk: z.string().nullable(),
1733
+ published_at: z.string(),
1734
+ version: z.string(),
1735
+ key_count: z.number(),
1736
+ changed: z.boolean(),
1737
+ purged: z.enum([
1738
+ "purged",
1739
+ "skipped",
1740
+ "failed"
1741
+ ]),
1742
+ kv_verified: z.boolean(),
1743
+ warning: z.string().optional()
1744
+ });
1745
+ var zSetI18nLabelRequest = z.object({
1746
+ key: z.string().min(1).max(256),
1747
+ value: z.string(),
1748
+ profile: z.string().min(1).max(64).optional(),
1749
+ description: z.string().optional()
1750
+ });
1751
+ var zSetI18nLabelResponse = z.object({
1752
+ ok: z.literal(true),
1753
+ profile: z.string(),
1754
+ profile_id: z.string(),
1755
+ key: z.string(),
1756
+ value: z.string(),
1757
+ published_at: z.string(),
1758
+ version: z.string(),
1759
+ key_count: z.number(),
1760
+ changed: z.boolean(),
1761
+ purged: z.enum([
1762
+ "purged",
1763
+ "skipped",
1764
+ "failed"
1765
+ ]),
1766
+ kv_verified: z.boolean(),
1767
+ warning: z.string().optional()
1768
+ });
1769
+ var zErrorRecord = z.object({
1770
+ id: z.string(),
1771
+ projectId: z.string(),
1772
+ fingerprint: z.string(),
1773
+ causedByFingerprint: z.string().nullish(),
1774
+ message: z.string(),
1775
+ errorType: z.string().nullish(),
1776
+ stack: z.string().nullish(),
1777
+ source: z.string().nullish(),
1778
+ url: z.string().nullish(),
1779
+ seenUrls: z.string().nullish(),
1780
+ subject: z.string().nullish(),
1781
+ outcome: z.string().nullish(),
1782
+ side: z.string().nullish(),
1783
+ env: z.string().nullish(),
1784
+ kind: z.enum([
1785
+ "caught",
1786
+ "uncaught",
1787
+ "unhandled_rejection",
1788
+ "network",
1789
+ "violation"
1790
+ ]).nullish(),
1791
+ lastExtrasJson: z.string().nullish(),
1792
+ sdkVersion: z.string().nullish(),
1793
+ count: z.int().gte(1),
1794
+ status: z.enum([
1795
+ "open",
1796
+ "resolved",
1797
+ "ignored"
1798
+ ]),
1799
+ firstSeenAt: z.string(),
1800
+ lastSeenAt: z.string(),
1801
+ createdAt: z.string(),
1802
+ updatedAt: z.string()
1803
+ });
1804
+ var zListErrorsResponse = z.array(zErrorRecord);
1805
+ var zUpdateErrorStatusRequest = z.object({
1806
+ status: z.enum([
1807
+ "open",
1808
+ "resolved",
1809
+ "ignored"
1810
+ ])
1811
+ });
1812
+ var zFileErrorTicketResponse = z.object({
1813
+ id: z.string(),
1814
+ number: z.int()
1815
+ });
1816
+ var zErrorSeriesRequest = z.object({
1817
+ from: z.int().gte(0),
1818
+ to: z.int().gte(0),
1819
+ bucket: z.int().gte(60).lte(86400).optional().default(3600)
1820
+ });
1821
+ var zErrorSeriesResponse = z.object({
1822
+ sql: z.string(),
1823
+ rows: z.array(z.object({
1824
+ t: z.int(),
1825
+ v: z.number()
1826
+ }))
1827
+ });
1828
+ var zConnectorProvider = z.enum([
1829
+ "google_sheets",
1830
+ "github",
1831
+ "slack",
1832
+ "claude_trigger",
1833
+ "cursor_trigger",
1834
+ "copilot_trigger",
1835
+ "jules_trigger"
1836
+ ]);
1837
+ var zConnectorEvent = z.enum(["bug.created", "feature_request.created"]);
1838
+ var zConnectorRecord = z.object({
1839
+ id: z.string(),
1840
+ projectId: z.string(),
1841
+ provider: zConnectorProvider,
1842
+ name: z.string().max(80),
1843
+ enabled: z.boolean(),
1844
+ events: z.array(zConnectorEvent),
1845
+ config: z.record(z.string(), z.unknown()),
1846
+ accountLabel: z.string().nullable(),
1847
+ lastError: z.string().nullable(),
1848
+ lastAttemptAt: z.string().nullable(),
1849
+ lastSuccessAt: z.string().nullable(),
1850
+ createdAt: z.string(),
1851
+ updatedAt: z.string()
1852
+ });
1853
+ var zListConnectorsResponse = z.array(zConnectorRecord);
1854
+ var zCreateOAuthConnectorRequest = z.object({
1855
+ provider: z.enum([
1856
+ "google_sheets",
1857
+ "github",
1858
+ "slack"
1859
+ ]),
1860
+ name: z.string().min(1).max(80),
1861
+ events: z.array(zConnectorEvent).min(1)
1862
+ });
1863
+ var zClaudeTriggerConfig = z.object({
1864
+ routineId: z.string().min(1),
1865
+ fireText: z.string().min(1).optional()
1866
+ });
1867
+ var zCreateClaudeTriggerRequest = z.object({
1868
+ provider: z.enum(["claude_trigger"]),
1869
+ name: z.string().min(1).max(80).optional().default("Claude trigger"),
1870
+ events: z.array(zConnectorEvent).optional().default([]),
1871
+ config: zClaudeTriggerConfig,
1872
+ token: z.string().min(1).optional(),
1873
+ enabled: z.boolean().optional().default(true)
1874
+ });
1875
+ var zCursorTriggerConfig = z.object({
1876
+ repoUrl: z.url(),
1877
+ startingRef: z.string().min(1).optional(),
1878
+ projectId: z.string().min(1)
1879
+ });
1880
+ var zCreateCursorTriggerRequest = z.object({
1881
+ provider: z.enum(["cursor_trigger"]),
1882
+ name: z.string().min(1).max(80).optional().default("Cursor trigger"),
1883
+ events: z.array(zConnectorEvent).optional().default([]),
1884
+ config: zCursorTriggerConfig,
1885
+ apiKey: z.string().min(1),
1886
+ opsKey: z.string().min(1),
1887
+ enabled: z.boolean().optional().default(true)
1888
+ });
1889
+ var zCopilotTriggerConfig = z.object({
1890
+ owner: z.string().min(1),
1891
+ repo: z.string().min(1),
1892
+ baseRef: z.string().min(1).optional(),
1893
+ projectId: z.string().min(1)
1894
+ });
1895
+ var zCreateCopilotTriggerRequest = z.object({
1896
+ provider: z.enum(["copilot_trigger"]),
1897
+ name: z.string().min(1).max(80).optional().default("Copilot trigger"),
1898
+ events: z.array(zConnectorEvent).optional().default([]),
1899
+ config: zCopilotTriggerConfig,
1900
+ token: z.string().min(1),
1901
+ enabled: z.boolean().optional().default(true)
1902
+ });
1903
+ var zJulesTriggerConfig = z.object({
1904
+ source: z.string().min(1),
1905
+ startingBranch: z.string().min(1).optional(),
1906
+ projectId: z.string().min(1)
1907
+ });
1908
+ var zCreateJulesTriggerRequest = z.object({
1909
+ provider: z.enum(["jules_trigger"]),
1910
+ name: z.string().min(1).max(80).optional().default("Jules trigger"),
1911
+ events: z.array(zConnectorEvent).optional().default([]),
1912
+ config: zJulesTriggerConfig,
1913
+ apiKey: z.string().min(1),
1914
+ opsKey: z.string().min(1),
1915
+ enabled: z.boolean().optional().default(true)
1916
+ });
1917
+ var zCreateConnectorRequest = z.discriminatedUnion("provider", [
1918
+ zCreateOAuthConnectorRequest.extend({ provider: z.literal("google_sheets") }),
1919
+ zCreateOAuthConnectorRequest.extend({ provider: z.literal("github") }),
1920
+ zCreateOAuthConnectorRequest.extend({ provider: z.literal("slack") }),
1921
+ zCreateClaudeTriggerRequest.extend({ provider: z.literal("claude_trigger") }),
1922
+ zCreateCursorTriggerRequest.extend({ provider: z.literal("cursor_trigger") }),
1923
+ zCreateCopilotTriggerRequest.extend({ provider: z.literal("copilot_trigger") }),
1924
+ zCreateJulesTriggerRequest.extend({ provider: z.literal("jules_trigger") })
1925
+ ]);
1926
+ var zCreateConnectorResponse = z.object({
1927
+ id: z.string()
1928
+ });
1929
+ var zDeleteConnectorResponse = z.object({
1930
+ ok: z.literal(true)
1931
+ });
1932
+ var zUpdateConnectorRequest = z.object({
1933
+ name: z.string().min(1).max(80).optional(),
1934
+ enabled: z.boolean().optional(),
1935
+ events: z.array(zConnectorEvent).optional(),
1936
+ config: z.record(z.string(), z.unknown()).optional()
1937
+ });
1938
+ var zUpdateConnectorResponse = z.object({
1939
+ id: z.string()
1940
+ });
1941
+ var zFireConnectorRequest = z.object({
1942
+ text: z.string().optional()
1943
+ });
1944
+ var zFireConnectorResponse = z.object({
1945
+ ok: z.boolean(),
1946
+ error: z.string().optional()
1947
+ });
1948
+ var zTestConnectorResponse = z.object({
1949
+ ok: z.boolean(),
1950
+ issueUrl: z.string().nullable(),
1951
+ error: z.string().optional()
1952
+ });
1953
+ var zUpdateClaudeTriggerRequest = z.object({
1954
+ provider: z.enum(["claude_trigger"]),
1955
+ name: z.string().min(1).max(80).optional(),
1956
+ config: zClaudeTriggerConfig,
1957
+ token: z.string().min(1).optional()
1958
+ });
1959
+ var zUpdateCursorTriggerRequest = z.object({
1960
+ provider: z.enum(["cursor_trigger"]),
1961
+ name: z.string().min(1).max(80).optional(),
1962
+ config: zCursorTriggerConfig,
1963
+ apiKey: z.string().min(1).optional(),
1964
+ opsKey: z.string().min(1).optional()
1965
+ });
1966
+ var zUpdateCopilotTriggerRequest = z.object({
1967
+ provider: z.enum(["copilot_trigger"]),
1968
+ name: z.string().min(1).max(80).optional(),
1969
+ config: zCopilotTriggerConfig,
1970
+ token: z.string().min(1).optional()
1971
+ });
1972
+ var zUpdateJulesTriggerRequest = z.object({
1973
+ provider: z.enum(["jules_trigger"]),
1974
+ name: z.string().min(1).max(80).optional(),
1975
+ config: zJulesTriggerConfig,
1976
+ apiKey: z.string().min(1).optional(),
1977
+ opsKey: z.string().min(1).optional()
1978
+ });
1979
+ var zUpdateTriggerConnectorRequest = z.discriminatedUnion("provider", [
1980
+ zUpdateClaudeTriggerRequest.extend({ provider: z.literal("claude_trigger") }),
1981
+ zUpdateCursorTriggerRequest.extend({ provider: z.literal("cursor_trigger") }),
1982
+ zUpdateCopilotTriggerRequest.extend({ provider: z.literal("copilot_trigger") }),
1983
+ zUpdateJulesTriggerRequest.extend({ provider: z.literal("jules_trigger") })
1984
+ ]);
1985
+ var zCreateTriggerConnectorRequest = z.discriminatedUnion("provider", [
1986
+ zCreateClaudeTriggerRequest.extend({ provider: z.literal("claude_trigger") }),
1987
+ zCreateCursorTriggerRequest.extend({ provider: z.literal("cursor_trigger") }),
1988
+ zCreateCopilotTriggerRequest.extend({ provider: z.literal("copilot_trigger") }),
1989
+ zCreateJulesTriggerRequest.extend({ provider: z.literal("jules_trigger") })
1990
+ ]);
1991
+ var zKeyRecord = z.object({
1992
+ id: z.string(),
1993
+ type: z.enum([
1994
+ "server",
1995
+ "client",
1996
+ "admin",
1997
+ "ops"
1998
+ ]),
1999
+ env: z.enum([
2000
+ "dev",
2001
+ "staging",
2002
+ "prod"
2003
+ ]),
2004
+ created_at: z.string(),
2005
+ revoked_at: z.string().nullable(),
2006
+ expires_at: z.string().nullable(),
2007
+ created_by_email: z.string().nullable(),
2008
+ name: z.string().nullable(),
2009
+ scopes: z.array(z.string()).nullable(),
2010
+ last4: z.string().nullable()
2011
+ });
2012
+ var zListKeysResponse = z.object({
2013
+ data: z.array(zKeyRecord),
2014
+ next_cursor: z.string().nullable()
2015
+ });
2016
+ var zCreateKeyRequest = z.object({
2017
+ type: z.enum([
2018
+ "server",
2019
+ "client",
2020
+ "admin",
2021
+ "ops"
2022
+ ]),
2023
+ name: z.string().min(1).max(80).optional(),
2024
+ scopes: z.array(z.enum([
2025
+ "experiments:read",
2026
+ "gates:evaluate",
2027
+ "events:write",
2028
+ "configs:write",
2029
+ "experiments:write"
2030
+ ])).optional(),
2031
+ expiresInDays: z.int().gte(1).lte(3650).nullish(),
2032
+ env: z.enum([
2033
+ "dev",
2034
+ "staging",
2035
+ "prod"
2036
+ ])
2037
+ });
2038
+ var zCreateKeyResponse = z.object({
2039
+ id: z.string(),
2040
+ type: z.enum([
2041
+ "server",
2042
+ "client",
2043
+ "admin",
2044
+ "ops"
2045
+ ]),
2046
+ env: z.enum([
2047
+ "dev",
2048
+ "staging",
2049
+ "prod"
2050
+ ]),
2051
+ key: z.string(),
2052
+ expires_at: z.string().nullable()
2053
+ });
2054
+ var zRevokeKeyResponse = z.object({
2055
+ id: z.string(),
2056
+ revoked: z.literal(true)
2057
+ });
2058
+ var zSearchHit = z.object({
2059
+ type: z.enum([
2060
+ "member",
2061
+ "gate",
2062
+ "experiment",
2063
+ "config",
2064
+ "killswitch",
2065
+ "metric"
2066
+ ]),
2067
+ id: z.string(),
2068
+ name: z.string(),
2069
+ title: z.string().nullable(),
2070
+ href: z.string()
2071
+ });
2072
+ var zSearchResponse = z.object({
2073
+ hits: z.array(zSearchHit)
2074
+ });
2075
+ var zProjectId = z.string();
2076
+ var zPaginationLimit = z.coerce.number().int().gte(1).lte(500).default(100);
2077
+ var zPaginationCursor = z.string();
2078
+ var zListGatesHeaders = z.object({
2079
+ "X-Project-Id": z.string().optional()
2080
+ });
2081
+ var zListGatesQuery = z.object({
2082
+ limit: z.int().gte(1).lte(500).optional().default(100),
2083
+ cursor: z.string().optional()
2084
+ });
2085
+ var zListGatesResponse2 = zListGatesResponse;
2086
+ var zCreateGateBody = zCreateGateRequest;
2087
+ var zCreateGateHeaders = z.object({
2088
+ "X-Project-Id": z.string().optional()
2089
+ });
2090
+ var zCreateGateResponse2 = zCreateGateResponse;
2091
+ var zDeleteGateHeaders = z.object({
2092
+ "X-Project-Id": z.string().optional()
2093
+ });
2094
+ var zDeleteGatePath = z.object({
2095
+ id: z.string()
2096
+ });
2097
+ var zDeleteGateResponse2 = zDeleteGateResponse;
2098
+ var zUpdateGateBody = zUpdateGateRequest;
2099
+ var zUpdateGateHeaders = z.object({
2100
+ "X-Project-Id": z.string().optional()
2101
+ });
2102
+ var zUpdateGatePath = z.object({
2103
+ id: z.string()
2104
+ });
2105
+ var zUpdateGateResponse2 = zUpdateGateResponse;
2106
+ var zEnableGateHeaders = z.object({
2107
+ "X-Project-Id": z.string().optional()
2108
+ });
2109
+ var zEnableGatePath = z.object({
2110
+ id: z.string()
2111
+ });
2112
+ var zEnableGateResponse2 = zEnableGateResponse;
2113
+ var zDisableGateHeaders = z.object({
2114
+ "X-Project-Id": z.string().optional()
2115
+ });
2116
+ var zDisableGatePath = z.object({
2117
+ id: z.string()
2118
+ });
2119
+ var zDisableGateResponse2 = zDisableGateResponse;
2120
+ var zListExperimentsHeaders = z.object({
2121
+ "X-Project-Id": z.string().optional()
2122
+ });
2123
+ var zListExperimentsQuery = z.object({
2124
+ limit: z.int().gte(1).lte(500).optional().default(100),
2125
+ cursor: z.string().optional()
2126
+ });
2127
+ var zListExperimentsResponse2 = zListExperimentsResponse;
2128
+ var zCreateExperimentBody = zCreateExperimentRequest;
2129
+ var zCreateExperimentHeaders = z.object({
2130
+ "X-Project-Id": z.string().optional()
2131
+ });
2132
+ var zCreateExperimentResponse2 = zCreateExperimentResponse;
2133
+ var zDeleteExperimentHeaders = z.object({
2134
+ "X-Project-Id": z.string().optional()
2135
+ });
2136
+ var zDeleteExperimentPath = z.object({
2137
+ id: z.string()
2138
+ });
2139
+ var zDeleteExperimentResponse2 = zDeleteExperimentResponse;
2140
+ var zGetExperimentHeaders = z.object({
2141
+ "X-Project-Id": z.string().optional()
2142
+ });
2143
+ var zGetExperimentPath = z.object({
2144
+ id: z.string()
2145
+ });
2146
+ var zGetExperimentResponse2 = zGetExperimentResponse;
2147
+ var zUpdateExperimentBody = zUpdateExperimentRequest;
2148
+ var zUpdateExperimentHeaders = z.object({
2149
+ "X-Project-Id": z.string().optional()
2150
+ });
2151
+ var zUpdateExperimentPath = z.object({
2152
+ id: z.string()
2153
+ });
2154
+ var zUpdateExperimentResponse2 = zUpdateExperimentResponse;
2155
+ var zSetExperimentStatusBody = zSetExperimentStatusRequest;
2156
+ var zSetExperimentStatusHeaders = z.object({
2157
+ "X-Project-Id": z.string().optional()
2158
+ });
2159
+ var zSetExperimentStatusPath = z.object({
2160
+ id: z.string()
2161
+ });
2162
+ var zSetExperimentStatusResponse2 = zSetExperimentStatusResponse;
2163
+ var zSetExperimentMetricsBody = zSetExperimentMetricsRequest;
2164
+ var zSetExperimentMetricsHeaders = z.object({
2165
+ "X-Project-Id": z.string().optional()
2166
+ });
2167
+ var zSetExperimentMetricsPath = z.object({
2168
+ id: z.string()
2169
+ });
2170
+ var zSetExperimentMetricsResponse2 = zSetExperimentMetricsResponse;
2171
+ var zGetExperimentResultsHeaders = z.object({
2172
+ "X-Project-Id": z.string().optional()
2173
+ });
2174
+ var zGetExperimentResultsPath = z.object({
2175
+ id: z.string()
2176
+ });
2177
+ var zGetExperimentResultsResponse2 = zGetExperimentResultsResponse;
2178
+ var zGetExperimentTimeseriesHeaders = z.object({
2179
+ "X-Project-Id": z.string().optional()
2180
+ });
2181
+ var zGetExperimentTimeseriesPath = z.object({
2182
+ id: z.string()
2183
+ });
2184
+ var zGetExperimentTimeseriesQuery = z.object({
2185
+ metric: z.string().optional()
2186
+ });
2187
+ var zGetExperimentTimeseriesResponse2 = zGetExperimentTimeseriesResponse;
2188
+ var zReanalyzeExperimentHeaders = z.object({
2189
+ "X-Project-Id": z.string().optional()
2190
+ });
2191
+ var zReanalyzeExperimentPath = z.object({
2192
+ id: z.string()
2193
+ });
2194
+ var zReanalyzeExperimentResponse2 = zReanalyzeExperimentResponse;
2195
+ var zListConfigsHeaders = z.object({
2196
+ "X-Project-Id": z.string().optional()
2197
+ });
2198
+ var zListConfigsQuery = z.object({
2199
+ limit: z.int().gte(1).lte(500).optional().default(100),
2200
+ cursor: z.string().optional()
2201
+ });
2202
+ var zListConfigsResponse2 = zListConfigsResponse;
2203
+ var zCreateConfigBody = zCreateConfigRequest;
2204
+ var zCreateConfigHeaders = z.object({
2205
+ "X-Project-Id": z.string().optional()
2206
+ });
2207
+ var zCreateConfigResponse2 = zCreateConfigResponse;
2208
+ var zDeleteConfigHeaders = z.object({
2209
+ "X-Project-Id": z.string().optional()
2210
+ });
2211
+ var zDeleteConfigPath = z.object({
2212
+ id: z.string()
2213
+ });
2214
+ var zDeleteConfigResponse2 = zDeleteConfigResponse;
2215
+ var zGetConfigHeaders = z.object({
2216
+ "X-Project-Id": z.string().optional()
2217
+ });
2218
+ var zGetConfigPath = z.object({
2219
+ id: z.string()
2220
+ });
2221
+ var zGetConfigResponse2 = zGetConfigResponse;
2222
+ var zUpdateConfigBody = zUpdateConfigRequest;
2223
+ var zUpdateConfigHeaders = z.object({
2224
+ "X-Project-Id": z.string().optional()
2225
+ });
2226
+ var zUpdateConfigPath = z.object({
2227
+ id: z.string()
2228
+ });
2229
+ var zUpdateConfigResponse2 = zUpdateConfigResponse;
2230
+ var zDiscardConfigDraftBody = zDiscardConfigDraftRequest;
2231
+ var zDiscardConfigDraftHeaders = z.object({
2232
+ "X-Project-Id": z.string().optional()
2233
+ });
2234
+ var zDiscardConfigDraftPath = z.object({
2235
+ id: z.string()
2236
+ });
2237
+ var zDiscardConfigDraftResponse2 = zDiscardConfigDraftResponse;
2238
+ var zSaveConfigDraftBody = zSaveConfigDraftRequest;
2239
+ var zSaveConfigDraftHeaders = z.object({
2240
+ "X-Project-Id": z.string().optional()
2241
+ });
2242
+ var zSaveConfigDraftPath = z.object({
2243
+ id: z.string()
2244
+ });
2245
+ var zSaveConfigDraftResponse2 = zSaveConfigDraftResponse;
2246
+ var zPublishConfigDraftBody = zPublishConfigDraftRequest;
2247
+ var zPublishConfigDraftHeaders = z.object({
2248
+ "X-Project-Id": z.string().optional()
2249
+ });
2250
+ var zPublishConfigDraftPath = z.object({
2251
+ id: z.string()
2252
+ });
2253
+ var zPublishConfigDraftResponse2 = zPublishConfigDraftResponse;
2254
+ var zListConfigActivityHeaders = z.object({
2255
+ "X-Project-Id": z.string().optional()
2256
+ });
2257
+ var zListConfigActivityPath = z.object({
2258
+ id: z.string()
2259
+ });
2260
+ var zListConfigActivityQuery = z.object({
2261
+ limit: z.int().gte(1).lte(100).optional().default(20)
2262
+ });
2263
+ var zListConfigActivityResponse2 = zListConfigActivityResponse;
2264
+ var zUpdateConfigSchemaBody = zUpdateConfigSchemaRequest;
2265
+ var zUpdateConfigSchemaHeaders = z.object({
2266
+ "X-Project-Id": z.string().optional()
2267
+ });
2268
+ var zUpdateConfigSchemaPath = z.object({
2269
+ id: z.string()
2270
+ });
2271
+ var zUpdateConfigSchemaResponse2 = zUpdateConfigSchemaResponse;
2272
+ var zListKillswitchesHeaders = z.object({
2273
+ "X-Project-Id": z.string().optional()
2274
+ });
2275
+ var zListKillswitchesQuery = z.object({
2276
+ limit: z.int().gte(1).lte(500).optional().default(100),
2277
+ cursor: z.string().optional()
2278
+ });
2279
+ var zListKillswitchesResponse2 = zListKillswitchesResponse;
2280
+ var zCreateKillswitchBody = zCreateKillswitchRequest;
2281
+ var zCreateKillswitchHeaders = z.object({
2282
+ "X-Project-Id": z.string().optional()
2283
+ });
2284
+ var zCreateKillswitchResponse2 = zCreateKillswitchResponse;
2285
+ var zDeleteKillswitchHeaders = z.object({
2286
+ "X-Project-Id": z.string().optional()
2287
+ });
2288
+ var zDeleteKillswitchPath = z.object({
2289
+ id: z.string()
2290
+ });
2291
+ var zDeleteKillswitchResponse2 = zDeleteKillswitchResponse;
2292
+ var zGetKillswitchHeaders = z.object({
2293
+ "X-Project-Id": z.string().optional()
2294
+ });
2295
+ var zGetKillswitchPath = z.object({
2296
+ id: z.string()
2297
+ });
2298
+ var zGetKillswitchResponse2 = zGetKillswitchResponse;
2299
+ var zUpdateKillswitchBody = zUpdateKillswitchRequest;
2300
+ var zUpdateKillswitchHeaders = z.object({
2301
+ "X-Project-Id": z.string().optional()
2302
+ });
2303
+ var zUpdateKillswitchPath = z.object({
2304
+ id: z.string()
2305
+ });
2306
+ var zUpdateKillswitchResponse2 = zUpdateKillswitchResponse;
2307
+ var zUnsetKillswitchSwitchBody = zUnsetKillswitchSwitchRequest;
2308
+ var zUnsetKillswitchSwitchHeaders = z.object({
2309
+ "X-Project-Id": z.string().optional()
2310
+ });
2311
+ var zUnsetKillswitchSwitchPath = z.object({
2312
+ id: z.string()
2313
+ });
2314
+ var zUnsetKillswitchSwitchResponse2 = zUnsetKillswitchSwitchResponse;
2315
+ var zSetKillswitchSwitchBody = zSetKillswitchSwitchRequest;
2316
+ var zSetKillswitchSwitchHeaders = z.object({
2317
+ "X-Project-Id": z.string().optional()
2318
+ });
2319
+ var zSetKillswitchSwitchPath = z.object({
2320
+ id: z.string()
2321
+ });
2322
+ var zSetKillswitchSwitchResponse2 = zSetKillswitchSwitchResponse;
2323
+ var zSetKillswitchValueBody = zSetKillswitchValueRequest;
2324
+ var zSetKillswitchValueHeaders = z.object({
2325
+ "X-Project-Id": z.string().optional()
2326
+ });
2327
+ var zSetKillswitchValuePath = z.object({
2328
+ id: z.string()
2329
+ });
2330
+ var zSetKillswitchValueResponse2 = zSetKillswitchValueResponse;
2331
+ var zListUniversesHeaders = z.object({
2332
+ "X-Project-Id": z.string().optional()
2333
+ });
2334
+ var zListUniversesQuery = z.object({
2335
+ limit: z.int().gte(1).lte(500).optional().default(100),
2336
+ cursor: z.string().optional()
2337
+ });
2338
+ var zListUniversesResponse2 = zListUniversesResponse;
2339
+ var zCreateUniverseBody = zCreateUniverseRequest;
2340
+ var zCreateUniverseHeaders = z.object({
2341
+ "X-Project-Id": z.string().optional()
2342
+ });
2343
+ var zCreateUniverseResponse2 = zCreateUniverseResponse;
2344
+ var zDeleteUniverseHeaders = z.object({
2345
+ "X-Project-Id": z.string().optional()
2346
+ });
2347
+ var zDeleteUniversePath = z.object({
2348
+ id: z.string()
2349
+ });
2350
+ var zDeleteUniverseResponse2 = zDeleteUniverseResponse;
2351
+ var zUpdateUniverseBody = zUpdateUniverseRequest;
2352
+ var zUpdateUniverseHeaders = z.object({
2353
+ "X-Project-Id": z.string().optional()
2354
+ });
2355
+ var zUpdateUniversePath = z.object({
2356
+ id: z.string()
2357
+ });
2358
+ var zUpdateUniverseResponse2 = zUpdateUniverseResponse;
2359
+ var zListGateTemplatesHeaders = z.object({
2360
+ "X-Project-Id": z.string().optional()
2361
+ });
2362
+ var zListGateTemplatesQuery = z.object({
2363
+ query: z.string().optional()
2364
+ });
2365
+ var zListGateTemplatesResponse2 = zListGateTemplatesResponse;
2366
+ var zCreateGateTemplateBody = zCreateGateTemplateRequest;
2367
+ var zCreateGateTemplateHeaders = z.object({
2368
+ "X-Project-Id": z.string().optional()
2369
+ });
2370
+ var zCreateGateTemplateResponse2 = zCreateGateTemplateResponse;
2371
+ var zDeleteGateTemplateHeaders = z.object({
2372
+ "X-Project-Id": z.string().optional()
2373
+ });
2374
+ var zDeleteGateTemplatePath = z.object({
2375
+ id: z.string()
2376
+ });
2377
+ var zDeleteGateTemplateResponse2 = zDeleteGateTemplateResponse;
2378
+ var zGetGateTemplateHeaders = z.object({
2379
+ "X-Project-Id": z.string().optional()
2380
+ });
2381
+ var zGetGateTemplatePath = z.object({
2382
+ id: z.string()
2383
+ });
2384
+ var zGetGateTemplateResponse = zGateTemplate;
2385
+ var zUpdateGateTemplateBody = zUpdateGateTemplateRequest;
2386
+ var zUpdateGateTemplateHeaders = z.object({
2387
+ "X-Project-Id": z.string().optional()
2388
+ });
2389
+ var zUpdateGateTemplatePath = z.object({
2390
+ id: z.string()
2391
+ });
2392
+ var zUpdateGateTemplateResponse2 = zUpdateGateTemplateResponse;
2393
+ var zListAttributesHeaders = z.object({
2394
+ "X-Project-Id": z.string().optional()
2395
+ });
2396
+ var zListAttributesResponse2 = zListAttributesResponse;
2397
+ var zCreateAttributeBody = zCreateAttributeRequest;
2398
+ var zCreateAttributeHeaders = z.object({
2399
+ "X-Project-Id": z.string().optional()
2400
+ });
2401
+ var zCreateAttributeResponse2 = zCreateAttributeResponse;
2402
+ var zDeleteAttributeHeaders = z.object({
2403
+ "X-Project-Id": z.string().optional()
2404
+ });
2405
+ var zDeleteAttributePath = z.object({
2406
+ id: z.string()
2407
+ });
2408
+ var zDeleteAttributeResponse2 = zDeleteAttributeResponse;
2409
+ var zGetAttributeHeaders = z.object({
2410
+ "X-Project-Id": z.string().optional()
2411
+ });
2412
+ var zGetAttributePath = z.object({
2413
+ id: z.string()
2414
+ });
2415
+ var zGetAttributeResponse2 = zGetAttributeResponse;
2416
+ var zUpdateAttributeBody = zUpdateAttributeRequest;
2417
+ var zUpdateAttributeHeaders = z.object({
2418
+ "X-Project-Id": z.string().optional()
2419
+ });
2420
+ var zUpdateAttributePath = z.object({
2421
+ id: z.string()
2422
+ });
2423
+ var zUpdateAttributeResponse2 = zUpdateAttributeResponse;
2424
+ var zListMetricsHeaders = z.object({
2425
+ "X-Project-Id": z.string().optional()
2426
+ });
2427
+ var zListMetricsResponse2 = zListMetricsResponse;
2428
+ var zCreateMetricBody = zCreateMetricRequest;
2429
+ var zCreateMetricHeaders = z.object({
2430
+ "X-Project-Id": z.string().optional()
2431
+ });
2432
+ var zCreateMetricResponse2 = zCreateMetricResponse;
2433
+ var zDeleteMetricHeaders = z.object({
2434
+ "X-Project-Id": z.string().optional()
2435
+ });
2436
+ var zDeleteMetricPath = z.object({
2437
+ id: z.string()
2438
+ });
2439
+ var zDeleteMetricResponse2 = zDeleteMetricResponse;
2440
+ var zGetMetricHeaders = z.object({
2441
+ "X-Project-Id": z.string().optional()
2442
+ });
2443
+ var zGetMetricPath = z.object({
2444
+ id: z.string()
2445
+ });
2446
+ var zGetMetricResponse2 = zGetMetricResponse;
2447
+ var zUpdateMetricBody = zUpdateMetricRequest;
2448
+ var zUpdateMetricHeaders = z.object({
2449
+ "X-Project-Id": z.string().optional()
2450
+ });
2451
+ var zUpdateMetricPath = z.object({
2452
+ id: z.string()
2453
+ });
2454
+ var zUpdateMetricResponse = zGetMetricResponse;
2455
+ var zListEventsHeaders = z.object({
2456
+ "X-Project-Id": z.string().optional()
2457
+ });
2458
+ var zListEventsResponse2 = zListEventsResponse;
2459
+ var zCreateEventBody = zCreateEventRequest;
2460
+ var zCreateEventHeaders = z.object({
2461
+ "X-Project-Id": z.string().optional()
2462
+ });
2463
+ var zCreateEventResponse2 = zCreateEventResponse;
2464
+ var zDeleteEventHeaders = z.object({
2465
+ "X-Project-Id": z.string().optional()
2466
+ });
2467
+ var zDeleteEventPath = z.object({
2468
+ id: z.string()
2469
+ });
2470
+ var zDeleteEventResponse2 = zDeleteEventResponse;
2471
+ var zGetEventHeaders = z.object({
2472
+ "X-Project-Id": z.string().optional()
2473
+ });
2474
+ var zGetEventPath = z.object({
2475
+ id: z.string()
2476
+ });
2477
+ var zGetEventResponse2 = zGetEventResponse;
2478
+ var zUpdateEventBody = zUpdateEventRequest;
2479
+ var zUpdateEventHeaders = z.object({
2480
+ "X-Project-Id": z.string().optional()
2481
+ });
2482
+ var zUpdateEventPath = z.object({
2483
+ id: z.string()
2484
+ });
2485
+ var zUpdateEventResponse2 = zUpdateEventResponse;
2486
+ var zApproveEventBody = zApproveEventRequest;
2487
+ var zApproveEventHeaders = z.object({
2488
+ "X-Project-Id": z.string().optional()
2489
+ });
2490
+ var zApproveEventPath = z.object({
2491
+ id: z.string()
2492
+ });
2493
+ var zApproveEventResponse2 = zApproveEventResponse;
2494
+ var zListOpsItemsHeaders = z.object({
2495
+ "X-Project-Id": z.string().optional()
2496
+ });
2497
+ var zListOpsItemsQuery = z.object({
2498
+ type: z.union([
2499
+ z.enum([
2500
+ "bug",
2501
+ "feature_request",
2502
+ "error",
2503
+ "alert"
2504
+ ]),
2505
+ z.literal("all")
2506
+ ]).optional(),
2507
+ status: z.union([
2508
+ zOpsItemStatus,
2509
+ z.literal("all")
2510
+ ]).optional(),
2511
+ limit: z.int().gte(1).lte(500).optional()
2512
+ });
2513
+ var zListOpsItemsResponse2 = zListOpsItemsResponse;
2514
+ var zCreateOpsItemBody = zCreateOpsItemRequest;
2515
+ var zCreateOpsItemHeaders = z.object({
2516
+ "X-Project-Id": z.string().optional()
2517
+ });
2518
+ var zCreateOpsItemResponse2 = zCreateOpsItemResponse;
2519
+ var zGetOpsItemHeaders = z.object({
2520
+ "X-Project-Id": z.string().optional()
2521
+ });
2522
+ var zGetOpsItemPath = z.object({
2523
+ handle: z.string()
2524
+ });
2525
+ var zGetOpsItemResponse2 = zGetOpsItemResponse;
2526
+ var zUpdateOpsItemBody = zUpdateOpsItemRequest;
2527
+ var zUpdateOpsItemHeaders = z.object({
2528
+ "X-Project-Id": z.string().optional()
2529
+ });
2530
+ var zUpdateOpsItemPath = z.object({
2531
+ handle: z.string()
2532
+ });
2533
+ var zUpdateOpsItemResponse2 = zUpdateOpsItemResponse;
2534
+ var zLinkPrToOpsItemBody = zLinkPrToOpsItemRequest;
2535
+ var zLinkPrToOpsItemHeaders = z.object({
2536
+ "X-Project-Id": z.string().optional()
2537
+ });
2538
+ var zLinkPrToOpsItemPath = z.object({
2539
+ handle: z.string()
2540
+ });
2541
+ var zLinkPrToOpsItemResponse2 = zLinkPrToOpsItemResponse;
2542
+ var zNotifyOpsBody = zNotifyOpsRequest;
2543
+ var zNotifyOpsHeaders = z.object({
2544
+ "X-Project-Id": z.string().optional()
2545
+ });
2546
+ var zNotifyOpsResponse2 = zNotifyOpsResponse;
2547
+ var zListSlackChannelsHeaders = z.object({
2548
+ "X-Project-Id": z.string().optional()
2549
+ });
2550
+ var zListSlackChannelsResponse2 = zListSlackChannelsResponse;
2551
+ var zListAlertRulesHeaders = z.object({
2552
+ "X-Project-Id": z.string().optional()
2553
+ });
2554
+ var zListAlertRulesResponse2 = zListAlertRulesResponse;
2555
+ var zCreateAlertRuleBody = zCreateAlertRuleRequest;
2556
+ var zCreateAlertRuleHeaders = z.object({
2557
+ "X-Project-Id": z.string().optional()
2558
+ });
2559
+ var zCreateAlertRuleResponse2 = zCreateAlertRuleResponse;
2560
+ var zDeleteAlertRuleHeaders = z.object({
2561
+ "X-Project-Id": z.string().optional()
2562
+ });
2563
+ var zDeleteAlertRulePath = z.object({
2564
+ id: z.string()
2565
+ });
2566
+ var zDeleteAlertRuleResponse2 = zDeleteAlertRuleResponse;
2567
+ var zUpdateAlertRuleBody = zUpdateAlertRuleRequest;
2568
+ var zUpdateAlertRuleHeaders = z.object({
2569
+ "X-Project-Id": z.string().optional()
2570
+ });
2571
+ var zUpdateAlertRulePath = z.object({
2572
+ id: z.string()
2573
+ });
2574
+ var zUpdateAlertRuleResponse2 = zUpdateAlertRuleResponse;
2575
+ var zGetCurrentProjectHeaders = z.object({
2576
+ "X-Project-Id": z.string().optional()
2577
+ });
2578
+ var zGetCurrentProjectResponse2 = zGetCurrentProjectResponse;
2579
+ var zUpsertProjectBody = zUpsertProjectRequest;
2580
+ var zUpsertProjectHeaders = z.object({
2581
+ "X-Project-Id": z.string().optional()
2582
+ });
2583
+ var zUpsertProjectResponse2 = zUpsertProjectResponse;
2584
+ var zUpdateProjectBody = zUpdateProjectRequest;
2585
+ var zUpdateProjectHeaders = z.object({
2586
+ "X-Project-Id": z.string().optional()
2587
+ });
2588
+ var zUpdateProjectPath = z.object({
2589
+ id: z.string()
2590
+ });
2591
+ var zUpdateProjectResponse = zGetCurrentProjectResponse;
2592
+ var zListI18nProfilesHeaders = z.object({
2593
+ "X-Project-Id": z.string().optional()
2594
+ });
2595
+ var zListI18nProfilesResponse2 = zListI18nProfilesResponse;
2596
+ var zCreateI18nProfileBody = zCreateI18nProfileRequest;
2597
+ var zCreateI18nProfileHeaders = z.object({
2598
+ "X-Project-Id": z.string().optional()
2599
+ });
2600
+ var zCreateI18nProfileResponse2 = zCreateI18nProfileResponse;
2601
+ var zListI18nKeysHeaders = z.object({
2602
+ "X-Project-Id": z.string().optional()
2603
+ });
2604
+ var zListI18nKeysQuery = z.object({
2605
+ profile_id: z.string().optional(),
2606
+ prefix: z.string().optional(),
2607
+ q: z.string().optional(),
2608
+ limit: z.int().gte(1).lte(500).optional()
2609
+ });
2610
+ var zListI18nKeysResponse2 = zListI18nKeysResponse;
2611
+ var zPushI18nKeysBody = zPushI18nKeysRequest;
2612
+ var zPushI18nKeysHeaders = z.object({
2613
+ "X-Project-Id": z.string().optional()
2614
+ });
2615
+ var zPushI18nKeysResponse2 = zPushI18nKeysResponse;
2616
+ var zUpdateI18nKeyBody = zUpdateI18nKeyRequest;
2617
+ var zUpdateI18nKeyHeaders = z.object({
2618
+ "X-Project-Id": z.string().optional()
2619
+ });
2620
+ var zUpdateI18nKeyPath = z.object({
2621
+ id: z.string()
2622
+ });
2623
+ var zUpdateI18nKeyResponse2 = zUpdateI18nKeyResponse;
2624
+ var zListI18nDraftsHeaders = z.object({
2625
+ "X-Project-Id": z.string().optional()
2626
+ });
2627
+ var zListI18nDraftsResponse2 = zListI18nDraftsResponse;
2628
+ var zCreateI18nDraftBody = zCreateI18nDraftRequest;
2629
+ var zCreateI18nDraftHeaders = z.object({
2630
+ "X-Project-Id": z.string().optional()
2631
+ });
2632
+ var zCreateI18nDraftResponse = zI18nDraft;
2633
+ var zUpdateI18nDraftBody = zUpdateI18nDraftRequest;
2634
+ var zUpdateI18nDraftHeaders = z.object({
2635
+ "X-Project-Id": z.string().optional()
2636
+ });
2637
+ var zUpdateI18nDraftPath = z.object({
2638
+ draftId: z.string()
2639
+ });
2640
+ var zUpdateI18nDraftResponse = zI18nDraft;
2641
+ var zPublishI18nProfileBody = zPublishI18nProfileRequest;
2642
+ var zPublishI18nProfileHeaders = z.object({
2643
+ "X-Project-Id": z.string().optional()
2644
+ });
2645
+ var zPublishI18nProfilePath = z.object({
2646
+ profileId: z.string()
2647
+ });
2648
+ var zPublishI18nProfileResponse2 = zPublishI18nProfileResponse;
2649
+ var zSetI18nLabelBody = zSetI18nLabelRequest;
2650
+ var zSetI18nLabelHeaders = z.object({
2651
+ "X-Project-Id": z.string().optional()
2652
+ });
2653
+ var zSetI18nLabelResponse2 = zSetI18nLabelResponse;
2654
+ var zListErrorsHeaders = z.object({
2655
+ "X-Project-Id": z.string().optional()
2656
+ });
2657
+ var zListErrorsQuery = z.object({
2658
+ status: z.enum([
2659
+ "open",
2660
+ "resolved",
2661
+ "ignored",
2662
+ "all"
2663
+ ]).optional().default("all"),
2664
+ q: z.string().max(200).optional(),
2665
+ limit: z.int().gte(1).lte(500).optional().default(200)
2666
+ });
2667
+ var zListErrorsResponse2 = zListErrorsResponse;
2668
+ var zGetErrorHeaders = z.object({
2669
+ "X-Project-Id": z.string().optional()
2670
+ });
2671
+ var zGetErrorPath = z.object({
2672
+ id: z.string()
2673
+ });
2674
+ var zGetErrorResponse = zErrorRecord;
2675
+ var zUpdateErrorStatusBody = zUpdateErrorStatusRequest;
2676
+ var zUpdateErrorStatusHeaders = z.object({
2677
+ "X-Project-Id": z.string().optional()
2678
+ });
2679
+ var zUpdateErrorStatusPath = z.object({
2680
+ id: z.string()
2681
+ });
2682
+ var zUpdateErrorStatusResponse = zErrorRecord;
2683
+ var zFileErrorTicketHeaders = z.object({
2684
+ "X-Project-Id": z.string().optional()
2685
+ });
2686
+ var zFileErrorTicketPath = z.object({
2687
+ id: z.string()
2688
+ });
2689
+ var zFileErrorTicketResponse2 = zFileErrorTicketResponse;
2690
+ var zGetErrorSeriesBody = zErrorSeriesRequest;
2691
+ var zGetErrorSeriesHeaders = z.object({
2692
+ "X-Project-Id": z.string().optional()
2693
+ });
2694
+ var zGetErrorSeriesPath = z.object({
2695
+ id: z.string()
2696
+ });
2697
+ var zGetErrorSeriesResponse = zErrorSeriesResponse;
2698
+ var zListConnectorsHeaders = z.object({
2699
+ "X-Project-Id": z.string().optional()
2700
+ });
2701
+ var zListConnectorsResponse2 = zListConnectorsResponse;
2702
+ var zCreateConnectorBody = zCreateConnectorRequest;
2703
+ var zCreateConnectorHeaders = z.object({
2704
+ "X-Project-Id": z.string().optional()
2705
+ });
2706
+ var zCreateConnectorResponse2 = zCreateConnectorResponse;
2707
+ var zDeleteConnectorHeaders = z.object({
2708
+ "X-Project-Id": z.string().optional()
2709
+ });
2710
+ var zDeleteConnectorPath = z.object({
2711
+ id: z.string()
2712
+ });
2713
+ var zDeleteConnectorResponse2 = zDeleteConnectorResponse;
2714
+ var zGetConnectorHeaders = z.object({
2715
+ "X-Project-Id": z.string().optional()
2716
+ });
2717
+ var zGetConnectorPath = z.object({
2718
+ id: z.string()
2719
+ });
2720
+ var zGetConnectorResponse = zConnectorRecord;
2721
+ var zUpdateConnectorBody = zUpdateConnectorRequest;
2722
+ var zUpdateConnectorHeaders = z.object({
2723
+ "X-Project-Id": z.string().optional()
2724
+ });
2725
+ var zUpdateConnectorPath = z.object({
2726
+ id: z.string()
2727
+ });
2728
+ var zUpdateConnectorResponse2 = zUpdateConnectorResponse;
2729
+ var zFireConnectorBody = zFireConnectorRequest;
2730
+ var zFireConnectorHeaders = z.object({
2731
+ "X-Project-Id": z.string().optional()
2732
+ });
2733
+ var zFireConnectorPath = z.object({
2734
+ id: z.string()
2735
+ });
2736
+ var zFireConnectorResponse2 = zFireConnectorResponse;
2737
+ var zTestConnectorHeaders = z.object({
2738
+ "X-Project-Id": z.string().optional()
2739
+ });
2740
+ var zTestConnectorPath = z.object({
2741
+ id: z.string()
2742
+ });
2743
+ var zTestConnectorResponse2 = zTestConnectorResponse;
2744
+ var zUpdateTriggerConnectorBody = zUpdateTriggerConnectorRequest;
2745
+ var zUpdateTriggerConnectorHeaders = z.object({
2746
+ "X-Project-Id": z.string().optional()
2747
+ });
2748
+ var zUpdateTriggerConnectorPath = z.object({
2749
+ id: z.string()
2750
+ });
2751
+ var zUpdateTriggerConnectorResponse = zUpdateConnectorResponse;
2752
+ var zCreateTriggerConnectorBody = zCreateTriggerConnectorRequest;
2753
+ var zCreateTriggerConnectorHeaders = z.object({
2754
+ "X-Project-Id": z.string().optional()
2755
+ });
2756
+ var zCreateTriggerConnectorResponse = zCreateConnectorResponse;
2757
+ var zListKeysHeaders = z.object({
2758
+ "X-Project-Id": z.string().optional()
2759
+ });
2760
+ var zListKeysQuery = z.object({
2761
+ limit: z.int().gte(1).lte(500).optional().default(100),
2762
+ cursor: z.string().optional()
2763
+ });
2764
+ var zListKeysResponse2 = zListKeysResponse;
2765
+ var zCreateKeyBody = zCreateKeyRequest;
2766
+ var zCreateKeyHeaders = z.object({
2767
+ "X-Project-Id": z.string().optional()
2768
+ });
2769
+ var zCreateKeyResponse2 = zCreateKeyResponse;
2770
+ var zRevokeKeyHeaders = z.object({
2771
+ "X-Project-Id": z.string().optional()
2772
+ });
2773
+ var zRevokeKeyPath = z.object({
2774
+ id: z.string()
2775
+ });
2776
+ var zRevokeKeyResponse2 = zRevokeKeyResponse;
2777
+ var zSearchResourcesHeaders = z.object({
2778
+ "X-Project-Id": z.string().optional()
2779
+ });
2780
+ var zSearchResourcesQuery = z.object({
2781
+ q: z.string().optional()
2782
+ });
2783
+ var zSearchResourcesResponse = zSearchResponse;
2784
+
2785
+ export {
2786
+ zListGatesResponse,
2787
+ zErrorCode,
2788
+ zError,
2789
+ zFolder,
2790
+ zCreateGateRequest,
2791
+ zCreateGateResponse,
2792
+ zDeleteGateResponse,
2793
+ zUpdateGateRequest,
2794
+ zUpdateGateResponse,
2795
+ zEnableGateResponse,
2796
+ zDisableGateResponse,
2797
+ zListExperimentsResponse,
2798
+ zMetricName,
2799
+ zExperimentInlineMetric,
2800
+ zCreateExperimentRequest,
2801
+ zCreateExperimentResponse,
2802
+ zGetExperimentResponse,
2803
+ zDeleteExperimentResponse,
2804
+ zUpdateExperimentRequest,
2805
+ zUpdateExperimentResponse,
2806
+ zSetExperimentStatusRequest,
2807
+ zSetExperimentStatusResponse,
2808
+ zSetExperimentMetricsRequest,
2809
+ zSetExperimentMetricsResponse,
2810
+ zGetExperimentResultsResponse,
2811
+ zGetExperimentTimeseriesResponse,
2812
+ zReanalyzeExperimentResponse,
2813
+ zListConfigsResponse,
2814
+ zConfigName,
2815
+ zCreateConfigRequest,
2816
+ zCreateConfigResponse,
2817
+ zGetConfigResponse,
2818
+ zDeleteConfigResponse,
2819
+ zUpdateConfigRequest,
2820
+ zUpdateConfigResponse,
2821
+ zEnv,
2822
+ zSaveConfigDraftRequest,
2823
+ zSaveConfigDraftResponse,
2824
+ zDiscardConfigDraftRequest,
2825
+ zDiscardConfigDraftResponse,
2826
+ zPublishConfigDraftRequest,
2827
+ zPublishConfigDraftResponse,
2828
+ zListConfigActivityResponse,
2829
+ zUpdateConfigSchemaRequest,
2830
+ zUpdateConfigSchemaResponse,
2831
+ zListKillswitchesResponse,
2832
+ zCreateKillswitchRequest,
2833
+ zCreateKillswitchResponse,
2834
+ zGetKillswitchResponse,
2835
+ zDeleteKillswitchResponse,
2836
+ zUpdateKillswitchRequest,
2837
+ zUpdateKillswitchResponse,
2838
+ zSetKillswitchSwitchRequest,
2839
+ zSetKillswitchSwitchResponse,
2840
+ zUnsetKillswitchSwitchRequest,
2841
+ zUnsetKillswitchSwitchResponse,
2842
+ zSetKillswitchValueRequest,
2843
+ zKillswitchValue,
2844
+ zSetKillswitchValueResponse,
2845
+ zListUniversesResponse,
2846
+ zCreateUniverseRequest,
2847
+ zCreateUniverseResponse,
2848
+ zDeleteUniverseResponse,
2849
+ zUpdateUniverseRequest,
2850
+ zUpdateUniverseResponse,
2851
+ zGateTemplateRule,
2852
+ zGateTemplate,
2853
+ zListGateTemplatesResponse,
2854
+ zCreateGateTemplateRequest,
2855
+ zCreateGateTemplateResponse,
2856
+ zDeleteGateTemplateResponse,
2857
+ zUpdateGateTemplateRequest,
2858
+ zUpdateGateTemplateResponse,
2859
+ zListAttributesResponse,
2860
+ zAttributeType,
2861
+ zCreateAttributeRequest,
2862
+ zCreateAttributeResponse,
2863
+ zGetAttributeResponse,
2864
+ zDeleteAttributeResponse,
2865
+ zUpdateAttributeRequest,
2866
+ zUpdateAttributeResponse,
2867
+ zQueryIr,
2868
+ zListMetricsResponse,
2869
+ zMetricEventName,
2870
+ zMetricQueryDsl,
2871
+ zMetricWinsorizePct,
2872
+ zMetricMinDetectableEffect,
2873
+ zMetricDirection,
2874
+ zCreateMetricWithQuery,
2875
+ zCreateMetricWithQueryIr,
2876
+ zCreateMetricRequest,
2877
+ zCreateMetricResponse,
2878
+ zGetMetricResponse,
2879
+ zDeleteMetricResponse,
2880
+ zUpdateMetricWithQuery,
2881
+ zUpdateMetricWithQueryIr,
2882
+ zUpdateMetricFields,
2883
+ zUpdateMetricRequest,
2884
+ zListEventsResponse,
2885
+ zCreateEventRequest,
2886
+ zCreateEventResponse,
2887
+ zGetEventResponse,
2888
+ zDeleteEventResponse,
2889
+ zUpdateEventRequest,
2890
+ zUpdateEventResponse,
2891
+ zApproveEventRequest,
2892
+ zApproveEventResponse,
2893
+ zOpsItemStatus,
2894
+ zOpsItemPriority,
2895
+ zListOpsItemsResponse,
2896
+ zNotificationTarget,
2897
+ zCreateBugRequest,
2898
+ zCreateFeatureRequestRequest,
2899
+ zCreateOpsItemRequest,
2900
+ zCreateOpsItemResponse,
2901
+ zOpsBrowserContext,
2902
+ zOpsErrorContext,
2903
+ zOpsAlertRuleSummary,
2904
+ zOpsAlertMetricSummary,
2905
+ zOpsAlertContext,
2906
+ zMeasurePlanResource,
2907
+ zMeasurePlanStep,
2908
+ zOpsMeasurePlanContext,
2909
+ zOpsItemContext,
2910
+ zOpsItemAttachment,
2911
+ zOpsItemRelated,
2912
+ zGithubConnectorData,
2913
+ zSlackConnectorData,
2914
+ zConnectorData,
2915
+ zGetOpsItemResponse,
2916
+ zOpsItemPriorityOrNull,
2917
+ zOpsItemNotifyOrNull,
2918
+ zUpdateBugRequest,
2919
+ zUpdateFeatureRequestRequest,
2920
+ zUpdateOpsItemStatusRequest,
2921
+ zUpdateOpsItemRequest,
2922
+ zUpdateOpsItemResponse,
2923
+ zLinkPrToOpsItemRequest,
2924
+ zLinkPrToOpsItemResponse,
2925
+ zNotifyOpsRequest,
2926
+ zNotifyOpsResponse,
2927
+ zListSlackChannelsResponse,
2928
+ zListAlertRulesResponse,
2929
+ zCreateAlertRuleRequest,
2930
+ zCreateAlertRuleResponse,
2931
+ zDeleteAlertRuleResponse,
2932
+ zUpdateAlertRuleRequest,
2933
+ zUpdateAlertRuleResponse,
2934
+ zGetCurrentProjectResponse,
2935
+ zUpsertProjectRequest,
2936
+ zUpsertProjectResponse,
2937
+ zDomain,
2938
+ zUpdateProjectRequest,
2939
+ zListI18nProfilesResponse,
2940
+ zCreateI18nProfileRequest,
2941
+ zCreateI18nProfileResponse,
2942
+ zListI18nKeysResponse,
2943
+ zPushI18nKeysRequest,
2944
+ zPushI18nKeysResponse,
2945
+ zUpdateI18nKeyRequest,
2946
+ zUpdateI18nKeyResponse,
2947
+ zListI18nDraftsResponse,
2948
+ zCreateI18nDraftRequest,
2949
+ zI18nDraft,
2950
+ zUpdateI18nDraftRequest,
2951
+ zPublishI18nProfileRequest,
2952
+ zPublishI18nProfileResponse,
2953
+ zSetI18nLabelRequest,
2954
+ zSetI18nLabelResponse,
2955
+ zErrorRecord,
2956
+ zListErrorsResponse,
2957
+ zUpdateErrorStatusRequest,
2958
+ zFileErrorTicketResponse,
2959
+ zErrorSeriesRequest,
2960
+ zErrorSeriesResponse,
2961
+ zConnectorProvider,
2962
+ zConnectorEvent,
2963
+ zConnectorRecord,
2964
+ zListConnectorsResponse,
2965
+ zCreateOAuthConnectorRequest,
2966
+ zClaudeTriggerConfig,
2967
+ zCreateClaudeTriggerRequest,
2968
+ zCursorTriggerConfig,
2969
+ zCreateCursorTriggerRequest,
2970
+ zCopilotTriggerConfig,
2971
+ zCreateCopilotTriggerRequest,
2972
+ zJulesTriggerConfig,
2973
+ zCreateJulesTriggerRequest,
2974
+ zCreateConnectorRequest,
2975
+ zCreateConnectorResponse,
2976
+ zDeleteConnectorResponse,
2977
+ zUpdateConnectorRequest,
2978
+ zUpdateConnectorResponse,
2979
+ zFireConnectorRequest,
2980
+ zFireConnectorResponse,
2981
+ zTestConnectorResponse,
2982
+ zUpdateClaudeTriggerRequest,
2983
+ zUpdateCursorTriggerRequest,
2984
+ zUpdateCopilotTriggerRequest,
2985
+ zUpdateJulesTriggerRequest,
2986
+ zUpdateTriggerConnectorRequest,
2987
+ zCreateTriggerConnectorRequest,
2988
+ zKeyRecord,
2989
+ zListKeysResponse,
2990
+ zCreateKeyRequest,
2991
+ zCreateKeyResponse,
2992
+ zRevokeKeyResponse,
2993
+ zSearchHit,
2994
+ zSearchResponse,
2995
+ zProjectId,
2996
+ zPaginationLimit,
2997
+ zPaginationCursor,
2998
+ zListGatesHeaders,
2999
+ zListGatesQuery,
3000
+ zListGatesResponse2,
3001
+ zCreateGateBody,
3002
+ zCreateGateHeaders,
3003
+ zCreateGateResponse2,
3004
+ zDeleteGateHeaders,
3005
+ zDeleteGatePath,
3006
+ zDeleteGateResponse2,
3007
+ zUpdateGateBody,
3008
+ zUpdateGateHeaders,
3009
+ zUpdateGatePath,
3010
+ zUpdateGateResponse2,
3011
+ zEnableGateHeaders,
3012
+ zEnableGatePath,
3013
+ zEnableGateResponse2,
3014
+ zDisableGateHeaders,
3015
+ zDisableGatePath,
3016
+ zDisableGateResponse2,
3017
+ zListExperimentsHeaders,
3018
+ zListExperimentsQuery,
3019
+ zListExperimentsResponse2,
3020
+ zCreateExperimentBody,
3021
+ zCreateExperimentHeaders,
3022
+ zCreateExperimentResponse2,
3023
+ zDeleteExperimentHeaders,
3024
+ zDeleteExperimentPath,
3025
+ zDeleteExperimentResponse2,
3026
+ zGetExperimentHeaders,
3027
+ zGetExperimentPath,
3028
+ zGetExperimentResponse2,
3029
+ zUpdateExperimentBody,
3030
+ zUpdateExperimentHeaders,
3031
+ zUpdateExperimentPath,
3032
+ zUpdateExperimentResponse2,
3033
+ zSetExperimentStatusBody,
3034
+ zSetExperimentStatusHeaders,
3035
+ zSetExperimentStatusPath,
3036
+ zSetExperimentStatusResponse2,
3037
+ zSetExperimentMetricsBody,
3038
+ zSetExperimentMetricsHeaders,
3039
+ zSetExperimentMetricsPath,
3040
+ zSetExperimentMetricsResponse2,
3041
+ zGetExperimentResultsHeaders,
3042
+ zGetExperimentResultsPath,
3043
+ zGetExperimentResultsResponse2,
3044
+ zGetExperimentTimeseriesHeaders,
3045
+ zGetExperimentTimeseriesPath,
3046
+ zGetExperimentTimeseriesQuery,
3047
+ zGetExperimentTimeseriesResponse2,
3048
+ zReanalyzeExperimentHeaders,
3049
+ zReanalyzeExperimentPath,
3050
+ zReanalyzeExperimentResponse2,
3051
+ zListConfigsHeaders,
3052
+ zListConfigsQuery,
3053
+ zListConfigsResponse2,
3054
+ zCreateConfigBody,
3055
+ zCreateConfigHeaders,
3056
+ zCreateConfigResponse2,
3057
+ zDeleteConfigHeaders,
3058
+ zDeleteConfigPath,
3059
+ zDeleteConfigResponse2,
3060
+ zGetConfigHeaders,
3061
+ zGetConfigPath,
3062
+ zGetConfigResponse2,
3063
+ zUpdateConfigBody,
3064
+ zUpdateConfigHeaders,
3065
+ zUpdateConfigPath,
3066
+ zUpdateConfigResponse2,
3067
+ zDiscardConfigDraftBody,
3068
+ zDiscardConfigDraftHeaders,
3069
+ zDiscardConfigDraftPath,
3070
+ zDiscardConfigDraftResponse2,
3071
+ zSaveConfigDraftBody,
3072
+ zSaveConfigDraftHeaders,
3073
+ zSaveConfigDraftPath,
3074
+ zSaveConfigDraftResponse2,
3075
+ zPublishConfigDraftBody,
3076
+ zPublishConfigDraftHeaders,
3077
+ zPublishConfigDraftPath,
3078
+ zPublishConfigDraftResponse2,
3079
+ zListConfigActivityHeaders,
3080
+ zListConfigActivityPath,
3081
+ zListConfigActivityQuery,
3082
+ zListConfigActivityResponse2,
3083
+ zUpdateConfigSchemaBody,
3084
+ zUpdateConfigSchemaHeaders,
3085
+ zUpdateConfigSchemaPath,
3086
+ zUpdateConfigSchemaResponse2,
3087
+ zListKillswitchesHeaders,
3088
+ zListKillswitchesQuery,
3089
+ zListKillswitchesResponse2,
3090
+ zCreateKillswitchBody,
3091
+ zCreateKillswitchHeaders,
3092
+ zCreateKillswitchResponse2,
3093
+ zDeleteKillswitchHeaders,
3094
+ zDeleteKillswitchPath,
3095
+ zDeleteKillswitchResponse2,
3096
+ zGetKillswitchHeaders,
3097
+ zGetKillswitchPath,
3098
+ zGetKillswitchResponse2,
3099
+ zUpdateKillswitchBody,
3100
+ zUpdateKillswitchHeaders,
3101
+ zUpdateKillswitchPath,
3102
+ zUpdateKillswitchResponse2,
3103
+ zUnsetKillswitchSwitchBody,
3104
+ zUnsetKillswitchSwitchHeaders,
3105
+ zUnsetKillswitchSwitchPath,
3106
+ zUnsetKillswitchSwitchResponse2,
3107
+ zSetKillswitchSwitchBody,
3108
+ zSetKillswitchSwitchHeaders,
3109
+ zSetKillswitchSwitchPath,
3110
+ zSetKillswitchSwitchResponse2,
3111
+ zSetKillswitchValueBody,
3112
+ zSetKillswitchValueHeaders,
3113
+ zSetKillswitchValuePath,
3114
+ zSetKillswitchValueResponse2,
3115
+ zListUniversesHeaders,
3116
+ zListUniversesQuery,
3117
+ zListUniversesResponse2,
3118
+ zCreateUniverseBody,
3119
+ zCreateUniverseHeaders,
3120
+ zCreateUniverseResponse2,
3121
+ zDeleteUniverseHeaders,
3122
+ zDeleteUniversePath,
3123
+ zDeleteUniverseResponse2,
3124
+ zUpdateUniverseBody,
3125
+ zUpdateUniverseHeaders,
3126
+ zUpdateUniversePath,
3127
+ zUpdateUniverseResponse2,
3128
+ zListGateTemplatesHeaders,
3129
+ zListGateTemplatesQuery,
3130
+ zListGateTemplatesResponse2,
3131
+ zCreateGateTemplateBody,
3132
+ zCreateGateTemplateHeaders,
3133
+ zCreateGateTemplateResponse2,
3134
+ zDeleteGateTemplateHeaders,
3135
+ zDeleteGateTemplatePath,
3136
+ zDeleteGateTemplateResponse2,
3137
+ zGetGateTemplateHeaders,
3138
+ zGetGateTemplatePath,
3139
+ zGetGateTemplateResponse,
3140
+ zUpdateGateTemplateBody,
3141
+ zUpdateGateTemplateHeaders,
3142
+ zUpdateGateTemplatePath,
3143
+ zUpdateGateTemplateResponse2,
3144
+ zListAttributesHeaders,
3145
+ zListAttributesResponse2,
3146
+ zCreateAttributeBody,
3147
+ zCreateAttributeHeaders,
3148
+ zCreateAttributeResponse2,
3149
+ zDeleteAttributeHeaders,
3150
+ zDeleteAttributePath,
3151
+ zDeleteAttributeResponse2,
3152
+ zGetAttributeHeaders,
3153
+ zGetAttributePath,
3154
+ zGetAttributeResponse2,
3155
+ zUpdateAttributeBody,
3156
+ zUpdateAttributeHeaders,
3157
+ zUpdateAttributePath,
3158
+ zUpdateAttributeResponse2,
3159
+ zListMetricsHeaders,
3160
+ zListMetricsResponse2,
3161
+ zCreateMetricBody,
3162
+ zCreateMetricHeaders,
3163
+ zCreateMetricResponse2,
3164
+ zDeleteMetricHeaders,
3165
+ zDeleteMetricPath,
3166
+ zDeleteMetricResponse2,
3167
+ zGetMetricHeaders,
3168
+ zGetMetricPath,
3169
+ zGetMetricResponse2,
3170
+ zUpdateMetricBody,
3171
+ zUpdateMetricHeaders,
3172
+ zUpdateMetricPath,
3173
+ zUpdateMetricResponse,
3174
+ zListEventsHeaders,
3175
+ zListEventsResponse2,
3176
+ zCreateEventBody,
3177
+ zCreateEventHeaders,
3178
+ zCreateEventResponse2,
3179
+ zDeleteEventHeaders,
3180
+ zDeleteEventPath,
3181
+ zDeleteEventResponse2,
3182
+ zGetEventHeaders,
3183
+ zGetEventPath,
3184
+ zGetEventResponse2,
3185
+ zUpdateEventBody,
3186
+ zUpdateEventHeaders,
3187
+ zUpdateEventPath,
3188
+ zUpdateEventResponse2,
3189
+ zApproveEventBody,
3190
+ zApproveEventHeaders,
3191
+ zApproveEventPath,
3192
+ zApproveEventResponse2,
3193
+ zListOpsItemsHeaders,
3194
+ zListOpsItemsQuery,
3195
+ zListOpsItemsResponse2,
3196
+ zCreateOpsItemBody,
3197
+ zCreateOpsItemHeaders,
3198
+ zCreateOpsItemResponse2,
3199
+ zGetOpsItemHeaders,
3200
+ zGetOpsItemPath,
3201
+ zGetOpsItemResponse2,
3202
+ zUpdateOpsItemBody,
3203
+ zUpdateOpsItemHeaders,
3204
+ zUpdateOpsItemPath,
3205
+ zUpdateOpsItemResponse2,
3206
+ zLinkPrToOpsItemBody,
3207
+ zLinkPrToOpsItemHeaders,
3208
+ zLinkPrToOpsItemPath,
3209
+ zLinkPrToOpsItemResponse2,
3210
+ zNotifyOpsBody,
3211
+ zNotifyOpsHeaders,
3212
+ zNotifyOpsResponse2,
3213
+ zListSlackChannelsHeaders,
3214
+ zListSlackChannelsResponse2,
3215
+ zListAlertRulesHeaders,
3216
+ zListAlertRulesResponse2,
3217
+ zCreateAlertRuleBody,
3218
+ zCreateAlertRuleHeaders,
3219
+ zCreateAlertRuleResponse2,
3220
+ zDeleteAlertRuleHeaders,
3221
+ zDeleteAlertRulePath,
3222
+ zDeleteAlertRuleResponse2,
3223
+ zUpdateAlertRuleBody,
3224
+ zUpdateAlertRuleHeaders,
3225
+ zUpdateAlertRulePath,
3226
+ zUpdateAlertRuleResponse2,
3227
+ zGetCurrentProjectHeaders,
3228
+ zGetCurrentProjectResponse2,
3229
+ zUpsertProjectBody,
3230
+ zUpsertProjectHeaders,
3231
+ zUpsertProjectResponse2,
3232
+ zUpdateProjectBody,
3233
+ zUpdateProjectHeaders,
3234
+ zUpdateProjectPath,
3235
+ zUpdateProjectResponse,
3236
+ zListI18nProfilesHeaders,
3237
+ zListI18nProfilesResponse2,
3238
+ zCreateI18nProfileBody,
3239
+ zCreateI18nProfileHeaders,
3240
+ zCreateI18nProfileResponse2,
3241
+ zListI18nKeysHeaders,
3242
+ zListI18nKeysQuery,
3243
+ zListI18nKeysResponse2,
3244
+ zPushI18nKeysBody,
3245
+ zPushI18nKeysHeaders,
3246
+ zPushI18nKeysResponse2,
3247
+ zUpdateI18nKeyBody,
3248
+ zUpdateI18nKeyHeaders,
3249
+ zUpdateI18nKeyPath,
3250
+ zUpdateI18nKeyResponse2,
3251
+ zListI18nDraftsHeaders,
3252
+ zListI18nDraftsResponse2,
3253
+ zCreateI18nDraftBody,
3254
+ zCreateI18nDraftHeaders,
3255
+ zCreateI18nDraftResponse,
3256
+ zUpdateI18nDraftBody,
3257
+ zUpdateI18nDraftHeaders,
3258
+ zUpdateI18nDraftPath,
3259
+ zUpdateI18nDraftResponse,
3260
+ zPublishI18nProfileBody,
3261
+ zPublishI18nProfileHeaders,
3262
+ zPublishI18nProfilePath,
3263
+ zPublishI18nProfileResponse2,
3264
+ zSetI18nLabelBody,
3265
+ zSetI18nLabelHeaders,
3266
+ zSetI18nLabelResponse2,
3267
+ zListErrorsHeaders,
3268
+ zListErrorsQuery,
3269
+ zListErrorsResponse2,
3270
+ zGetErrorHeaders,
3271
+ zGetErrorPath,
3272
+ zGetErrorResponse,
3273
+ zUpdateErrorStatusBody,
3274
+ zUpdateErrorStatusHeaders,
3275
+ zUpdateErrorStatusPath,
3276
+ zUpdateErrorStatusResponse,
3277
+ zFileErrorTicketHeaders,
3278
+ zFileErrorTicketPath,
3279
+ zFileErrorTicketResponse2,
3280
+ zGetErrorSeriesBody,
3281
+ zGetErrorSeriesHeaders,
3282
+ zGetErrorSeriesPath,
3283
+ zGetErrorSeriesResponse,
3284
+ zListConnectorsHeaders,
3285
+ zListConnectorsResponse2,
3286
+ zCreateConnectorBody,
3287
+ zCreateConnectorHeaders,
3288
+ zCreateConnectorResponse2,
3289
+ zDeleteConnectorHeaders,
3290
+ zDeleteConnectorPath,
3291
+ zDeleteConnectorResponse2,
3292
+ zGetConnectorHeaders,
3293
+ zGetConnectorPath,
3294
+ zGetConnectorResponse,
3295
+ zUpdateConnectorBody,
3296
+ zUpdateConnectorHeaders,
3297
+ zUpdateConnectorPath,
3298
+ zUpdateConnectorResponse2,
3299
+ zFireConnectorBody,
3300
+ zFireConnectorHeaders,
3301
+ zFireConnectorPath,
3302
+ zFireConnectorResponse2,
3303
+ zTestConnectorHeaders,
3304
+ zTestConnectorPath,
3305
+ zTestConnectorResponse2,
3306
+ zUpdateTriggerConnectorBody,
3307
+ zUpdateTriggerConnectorHeaders,
3308
+ zUpdateTriggerConnectorPath,
3309
+ zUpdateTriggerConnectorResponse,
3310
+ zCreateTriggerConnectorBody,
3311
+ zCreateTriggerConnectorHeaders,
3312
+ zCreateTriggerConnectorResponse,
3313
+ zListKeysHeaders,
3314
+ zListKeysQuery,
3315
+ zListKeysResponse2,
3316
+ zCreateKeyBody,
3317
+ zCreateKeyHeaders,
3318
+ zCreateKeyResponse2,
3319
+ zRevokeKeyHeaders,
3320
+ zRevokeKeyPath,
3321
+ zRevokeKeyResponse2,
3322
+ zSearchResourcesHeaders,
3323
+ zSearchResourcesQuery,
3324
+ zSearchResourcesResponse
3325
+ };
3326
+ //# sourceMappingURL=chunk-SPH5HWCD.js.map