@inkeep/agents-core 0.59.1 → 0.59.2

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.
@@ -3,8 +3,8 @@ import { HTTPException } from "hono/http-exception";
3
3
 
4
4
  //#region src/utils/error.d.ts
5
5
  declare const ErrorCode: z.ZodEnum<{
6
- unauthorized: "unauthorized";
7
6
  bad_request: "bad_request";
7
+ unauthorized: "unauthorized";
8
8
  forbidden: "forbidden";
9
9
  not_found: "not_found";
10
10
  conflict: "conflict";
@@ -20,8 +20,8 @@ declare const problemDetailsSchema: z.ZodObject<{
20
20
  instance: z.ZodOptional<z.ZodString>;
21
21
  requestId: z.ZodOptional<z.ZodString>;
22
22
  code: z.ZodEnum<{
23
- unauthorized: "unauthorized";
24
23
  bad_request: "bad_request";
24
+ unauthorized: "unauthorized";
25
25
  forbidden: "forbidden";
26
26
  not_found: "not_found";
27
27
  conflict: "conflict";
@@ -35,8 +35,8 @@ type ErrorCodes = z.infer<typeof ErrorCode>;
35
35
  declare const errorResponseSchema: z.ZodObject<{
36
36
  error: z.ZodObject<{
37
37
  code: z.ZodEnum<{
38
- unauthorized: "unauthorized";
39
38
  bad_request: "bad_request";
39
+ unauthorized: "unauthorized";
40
40
  forbidden: "forbidden";
41
41
  not_found: "not_found";
42
42
  conflict: "conflict";
@@ -74,12 +74,12 @@ declare const errorSchemaFactory: (code: ErrorCodes, description: string) => {
74
74
  schema: z.ZodObject<{
75
75
  instance: z.ZodOptional<z.ZodString>;
76
76
  requestId: z.ZodOptional<z.ZodString>;
77
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
77
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
78
78
  detail: z.ZodString;
79
79
  title: z.ZodString;
80
80
  status: z.ZodNumber;
81
81
  error: z.ZodObject<{
82
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
82
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
83
83
  message: z.ZodString;
84
84
  }, z.core.$strip>;
85
85
  }, z.core.$strip>;
@@ -96,12 +96,12 @@ declare const commonCreateErrorResponses: {
96
96
  schema: z.ZodObject<{
97
97
  instance: z.ZodOptional<z.ZodString>;
98
98
  requestId: z.ZodOptional<z.ZodString>;
99
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
99
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
100
100
  detail: z.ZodString;
101
101
  title: z.ZodString;
102
102
  status: z.ZodNumber;
103
103
  error: z.ZodObject<{
104
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
104
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
105
105
  message: z.ZodString;
106
106
  }, z.core.$strip>;
107
107
  }, z.core.$strip>;
@@ -115,12 +115,12 @@ declare const commonCreateErrorResponses: {
115
115
  schema: z.ZodObject<{
116
116
  instance: z.ZodOptional<z.ZodString>;
117
117
  requestId: z.ZodOptional<z.ZodString>;
118
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
118
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
119
119
  detail: z.ZodString;
120
120
  title: z.ZodString;
121
121
  status: z.ZodNumber;
122
122
  error: z.ZodObject<{
123
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
123
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
124
124
  message: z.ZodString;
125
125
  }, z.core.$strip>;
126
126
  }, z.core.$strip>;
@@ -134,12 +134,12 @@ declare const commonCreateErrorResponses: {
134
134
  schema: z.ZodObject<{
135
135
  instance: z.ZodOptional<z.ZodString>;
136
136
  requestId: z.ZodOptional<z.ZodString>;
137
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
137
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
138
138
  detail: z.ZodString;
139
139
  title: z.ZodString;
140
140
  status: z.ZodNumber;
141
141
  error: z.ZodObject<{
142
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
142
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
143
143
  message: z.ZodString;
144
144
  }, z.core.$strip>;
145
145
  }, z.core.$strip>;
@@ -153,12 +153,12 @@ declare const commonCreateErrorResponses: {
153
153
  schema: z.ZodObject<{
154
154
  instance: z.ZodOptional<z.ZodString>;
155
155
  requestId: z.ZodOptional<z.ZodString>;
156
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
156
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
157
157
  detail: z.ZodString;
158
158
  title: z.ZodString;
159
159
  status: z.ZodNumber;
160
160
  error: z.ZodObject<{
161
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
161
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
162
162
  message: z.ZodString;
163
163
  }, z.core.$strip>;
164
164
  }, z.core.$strip>;
@@ -172,12 +172,12 @@ declare const commonCreateErrorResponses: {
172
172
  schema: z.ZodObject<{
173
173
  instance: z.ZodOptional<z.ZodString>;
174
174
  requestId: z.ZodOptional<z.ZodString>;
175
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
175
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
176
176
  detail: z.ZodString;
177
177
  title: z.ZodString;
178
178
  status: z.ZodNumber;
179
179
  error: z.ZodObject<{
180
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
180
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
181
181
  message: z.ZodString;
182
182
  }, z.core.$strip>;
183
183
  }, z.core.$strip>;
@@ -193,12 +193,12 @@ declare const commonUpdateErrorResponses: {
193
193
  schema: z.ZodObject<{
194
194
  instance: z.ZodOptional<z.ZodString>;
195
195
  requestId: z.ZodOptional<z.ZodString>;
196
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
196
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
197
197
  detail: z.ZodString;
198
198
  title: z.ZodString;
199
199
  status: z.ZodNumber;
200
200
  error: z.ZodObject<{
201
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
201
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
202
202
  message: z.ZodString;
203
203
  }, z.core.$strip>;
204
204
  }, z.core.$strip>;
@@ -212,12 +212,12 @@ declare const commonUpdateErrorResponses: {
212
212
  schema: z.ZodObject<{
213
213
  instance: z.ZodOptional<z.ZodString>;
214
214
  requestId: z.ZodOptional<z.ZodString>;
215
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
215
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
216
216
  detail: z.ZodString;
217
217
  title: z.ZodString;
218
218
  status: z.ZodNumber;
219
219
  error: z.ZodObject<{
220
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
220
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
221
221
  message: z.ZodString;
222
222
  }, z.core.$strip>;
223
223
  }, z.core.$strip>;
@@ -231,12 +231,12 @@ declare const commonUpdateErrorResponses: {
231
231
  schema: z.ZodObject<{
232
232
  instance: z.ZodOptional<z.ZodString>;
233
233
  requestId: z.ZodOptional<z.ZodString>;
234
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
234
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
235
235
  detail: z.ZodString;
236
236
  title: z.ZodString;
237
237
  status: z.ZodNumber;
238
238
  error: z.ZodObject<{
239
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
239
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
240
240
  message: z.ZodString;
241
241
  }, z.core.$strip>;
242
242
  }, z.core.$strip>;
@@ -250,12 +250,12 @@ declare const commonUpdateErrorResponses: {
250
250
  schema: z.ZodObject<{
251
251
  instance: z.ZodOptional<z.ZodString>;
252
252
  requestId: z.ZodOptional<z.ZodString>;
253
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
253
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
254
254
  detail: z.ZodString;
255
255
  title: z.ZodString;
256
256
  status: z.ZodNumber;
257
257
  error: z.ZodObject<{
258
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
258
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
259
259
  message: z.ZodString;
260
260
  }, z.core.$strip>;
261
261
  }, z.core.$strip>;
@@ -269,12 +269,12 @@ declare const commonUpdateErrorResponses: {
269
269
  schema: z.ZodObject<{
270
270
  instance: z.ZodOptional<z.ZodString>;
271
271
  requestId: z.ZodOptional<z.ZodString>;
272
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
272
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
273
273
  detail: z.ZodString;
274
274
  title: z.ZodString;
275
275
  status: z.ZodNumber;
276
276
  error: z.ZodObject<{
277
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
277
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
278
278
  message: z.ZodString;
279
279
  }, z.core.$strip>;
280
280
  }, z.core.$strip>;
@@ -288,12 +288,12 @@ declare const commonUpdateErrorResponses: {
288
288
  schema: z.ZodObject<{
289
289
  instance: z.ZodOptional<z.ZodString>;
290
290
  requestId: z.ZodOptional<z.ZodString>;
291
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
291
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
292
292
  detail: z.ZodString;
293
293
  title: z.ZodString;
294
294
  status: z.ZodNumber;
295
295
  error: z.ZodObject<{
296
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
296
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
297
297
  message: z.ZodString;
298
298
  }, z.core.$strip>;
299
299
  }, z.core.$strip>;
@@ -309,12 +309,12 @@ declare const commonGetErrorResponses: {
309
309
  schema: z.ZodObject<{
310
310
  instance: z.ZodOptional<z.ZodString>;
311
311
  requestId: z.ZodOptional<z.ZodString>;
312
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
312
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
313
313
  detail: z.ZodString;
314
314
  title: z.ZodString;
315
315
  status: z.ZodNumber;
316
316
  error: z.ZodObject<{
317
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
317
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
318
318
  message: z.ZodString;
319
319
  }, z.core.$strip>;
320
320
  }, z.core.$strip>;
@@ -328,12 +328,12 @@ declare const commonGetErrorResponses: {
328
328
  schema: z.ZodObject<{
329
329
  instance: z.ZodOptional<z.ZodString>;
330
330
  requestId: z.ZodOptional<z.ZodString>;
331
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
331
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
332
332
  detail: z.ZodString;
333
333
  title: z.ZodString;
334
334
  status: z.ZodNumber;
335
335
  error: z.ZodObject<{
336
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
336
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
337
337
  message: z.ZodString;
338
338
  }, z.core.$strip>;
339
339
  }, z.core.$strip>;
@@ -347,12 +347,12 @@ declare const commonGetErrorResponses: {
347
347
  schema: z.ZodObject<{
348
348
  instance: z.ZodOptional<z.ZodString>;
349
349
  requestId: z.ZodOptional<z.ZodString>;
350
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
350
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
351
351
  detail: z.ZodString;
352
352
  title: z.ZodString;
353
353
  status: z.ZodNumber;
354
354
  error: z.ZodObject<{
355
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
355
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
356
356
  message: z.ZodString;
357
357
  }, z.core.$strip>;
358
358
  }, z.core.$strip>;
@@ -366,12 +366,12 @@ declare const commonGetErrorResponses: {
366
366
  schema: z.ZodObject<{
367
367
  instance: z.ZodOptional<z.ZodString>;
368
368
  requestId: z.ZodOptional<z.ZodString>;
369
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
369
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
370
370
  detail: z.ZodString;
371
371
  title: z.ZodString;
372
372
  status: z.ZodNumber;
373
373
  error: z.ZodObject<{
374
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
374
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
375
375
  message: z.ZodString;
376
376
  }, z.core.$strip>;
377
377
  }, z.core.$strip>;
@@ -385,12 +385,12 @@ declare const commonGetErrorResponses: {
385
385
  schema: z.ZodObject<{
386
386
  instance: z.ZodOptional<z.ZodString>;
387
387
  requestId: z.ZodOptional<z.ZodString>;
388
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
388
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
389
389
  detail: z.ZodString;
390
390
  title: z.ZodString;
391
391
  status: z.ZodNumber;
392
392
  error: z.ZodObject<{
393
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
393
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
394
394
  message: z.ZodString;
395
395
  }, z.core.$strip>;
396
396
  }, z.core.$strip>;
@@ -404,12 +404,12 @@ declare const commonGetErrorResponses: {
404
404
  schema: z.ZodObject<{
405
405
  instance: z.ZodOptional<z.ZodString>;
406
406
  requestId: z.ZodOptional<z.ZodString>;
407
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
407
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
408
408
  detail: z.ZodString;
409
409
  title: z.ZodString;
410
410
  status: z.ZodNumber;
411
411
  error: z.ZodObject<{
412
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
412
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
413
413
  message: z.ZodString;
414
414
  }, z.core.$strip>;
415
415
  }, z.core.$strip>;
@@ -425,12 +425,12 @@ declare const commonDeleteErrorResponses: {
425
425
  schema: z.ZodObject<{
426
426
  instance: z.ZodOptional<z.ZodString>;
427
427
  requestId: z.ZodOptional<z.ZodString>;
428
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
428
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
429
429
  detail: z.ZodString;
430
430
  title: z.ZodString;
431
431
  status: z.ZodNumber;
432
432
  error: z.ZodObject<{
433
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
433
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
434
434
  message: z.ZodString;
435
435
  }, z.core.$strip>;
436
436
  }, z.core.$strip>;
@@ -444,12 +444,12 @@ declare const commonDeleteErrorResponses: {
444
444
  schema: z.ZodObject<{
445
445
  instance: z.ZodOptional<z.ZodString>;
446
446
  requestId: z.ZodOptional<z.ZodString>;
447
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
447
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
448
448
  detail: z.ZodString;
449
449
  title: z.ZodString;
450
450
  status: z.ZodNumber;
451
451
  error: z.ZodObject<{
452
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
452
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
453
453
  message: z.ZodString;
454
454
  }, z.core.$strip>;
455
455
  }, z.core.$strip>;
@@ -463,12 +463,12 @@ declare const commonDeleteErrorResponses: {
463
463
  schema: z.ZodObject<{
464
464
  instance: z.ZodOptional<z.ZodString>;
465
465
  requestId: z.ZodOptional<z.ZodString>;
466
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
466
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
467
467
  detail: z.ZodString;
468
468
  title: z.ZodString;
469
469
  status: z.ZodNumber;
470
470
  error: z.ZodObject<{
471
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
471
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
472
472
  message: z.ZodString;
473
473
  }, z.core.$strip>;
474
474
  }, z.core.$strip>;
@@ -482,12 +482,12 @@ declare const commonDeleteErrorResponses: {
482
482
  schema: z.ZodObject<{
483
483
  instance: z.ZodOptional<z.ZodString>;
484
484
  requestId: z.ZodOptional<z.ZodString>;
485
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
485
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
486
486
  detail: z.ZodString;
487
487
  title: z.ZodString;
488
488
  status: z.ZodNumber;
489
489
  error: z.ZodObject<{
490
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
490
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
491
491
  message: z.ZodString;
492
492
  }, z.core.$strip>;
493
493
  }, z.core.$strip>;
@@ -501,12 +501,12 @@ declare const commonDeleteErrorResponses: {
501
501
  schema: z.ZodObject<{
502
502
  instance: z.ZodOptional<z.ZodString>;
503
503
  requestId: z.ZodOptional<z.ZodString>;
504
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
504
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
505
505
  detail: z.ZodString;
506
506
  title: z.ZodString;
507
507
  status: z.ZodNumber;
508
508
  error: z.ZodObject<{
509
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
509
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
510
510
  message: z.ZodString;
511
511
  }, z.core.$strip>;
512
512
  }, z.core.$strip>;
@@ -520,12 +520,12 @@ declare const commonDeleteErrorResponses: {
520
520
  schema: z.ZodObject<{
521
521
  instance: z.ZodOptional<z.ZodString>;
522
522
  requestId: z.ZodOptional<z.ZodString>;
523
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
523
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
524
524
  detail: z.ZodString;
525
525
  title: z.ZodString;
526
526
  status: z.ZodNumber;
527
527
  error: z.ZodObject<{
528
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
528
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
529
529
  message: z.ZodString;
530
530
  }, z.core.$strip>;
531
531
  }, z.core.$strip>;
@@ -32,8 +32,8 @@ declare const BranchNameParamsSchema: z.ZodObject<{
32
32
  }, z.core.$strip>;
33
33
  declare const ResolvedRefSchema: z.ZodObject<{
34
34
  type: z.ZodEnum<{
35
- commit: "commit";
36
35
  tag: "tag";
36
+ commit: "commit";
37
37
  branch: "branch";
38
38
  }>;
39
39
  name: z.ZodString;