@inkeep/agents-core 0.0.0-dev-20260401215620 → 0.0.0-dev-20260402150502

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.
@@ -5,7 +5,6 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
5
5
 
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
- type: AppType;
9
8
  id: string;
10
9
  name: string;
11
10
  createdAt: string;
@@ -14,6 +13,7 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
14
13
  enabled: boolean;
15
14
  tenantId: string | null;
16
15
  projectId: string | null;
16
+ type: AppType;
17
17
  prompt: string | null;
18
18
  config: {
19
19
  type: "web_client";
@@ -61,7 +61,6 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
61
61
  };
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
- type: AppType;
65
64
  id: string;
66
65
  name: string;
67
66
  createdAt: string;
@@ -70,6 +69,7 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
70
69
  enabled: boolean;
71
70
  tenantId: string | null;
72
71
  projectId: string | null;
72
+ type: AppType;
73
73
  prompt: string | null;
74
74
  config: {
75
75
  type: "web_client";
@@ -27,8 +27,8 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
27
27
  metadata: ConversationMetadata | null;
28
28
  tenantId: string;
29
29
  projectId: string;
30
- title: string | null;
31
30
  agentId: string | null;
31
+ title: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -96,8 +96,8 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
96
96
  metadata: ConversationMetadata | null;
97
97
  tenantId: string;
98
98
  projectId: string;
99
- title: string | null;
100
99
  agentId: string | null;
100
+ title: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -132,8 +132,8 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
132
132
  metadata: ConversationMetadata | null;
133
133
  tenantId: string;
134
134
  projectId: string;
135
- title: string | null;
136
135
  agentId: string | null;
136
+ title: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -164,8 +164,8 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
164
164
  metadata: ConversationMetadata | null;
165
165
  tenantId: string;
166
166
  projectId: string;
167
- title: string | null;
168
167
  agentId: string | null;
168
+ title: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -18,18 +18,18 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
18
18
  tenantId: string;
19
19
  projectId: string;
20
20
  content: MessageContent;
21
- conversationId: string;
22
21
  fromSubAgentId: string | null;
23
22
  toSubAgentId: string | null;
24
23
  fromExternalAgentId: string | null;
25
24
  toExternalAgentId: string | null;
25
+ taskId: string | null;
26
+ a2aTaskId: string | null;
27
+ visibility: string;
28
+ conversationId: string;
26
29
  fromTeamAgentId: string | null;
27
30
  toTeamAgentId: string | null;
28
- visibility: string;
29
31
  messageType: string;
30
- taskId: string | null;
31
32
  parentMessageId: string | null;
32
- a2aTaskId: string | null;
33
33
  a2aSessionId: string | null;
34
34
  } | undefined>;
35
35
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -152,18 +152,18 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
152
152
  tenantId: string;
153
153
  projectId: string;
154
154
  content: MessageContent;
155
- conversationId: string;
156
155
  fromSubAgentId: string | null;
157
156
  toSubAgentId: string | null;
158
157
  fromExternalAgentId: string | null;
159
158
  toExternalAgentId: string | null;
159
+ taskId: string | null;
160
+ a2aTaskId: string | null;
161
+ visibility: string;
162
+ conversationId: string;
160
163
  fromTeamAgentId: string | null;
161
164
  toTeamAgentId: string | null;
162
- visibility: string;
163
165
  messageType: string;
164
- taskId: string | null;
165
166
  parentMessageId: string | null;
166
- a2aTaskId: string | null;
167
167
  a2aSessionId: string | null;
168
168
  }>;
169
169
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -205,18 +205,18 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
205
205
  tenantId: string;
206
206
  projectId: string;
207
207
  content: MessageContent;
208
- conversationId: string;
209
208
  fromSubAgentId: string | null;
210
209
  toSubAgentId: string | null;
211
210
  fromExternalAgentId: string | null;
212
211
  toExternalAgentId: string | null;
212
+ taskId: string | null;
213
+ a2aTaskId: string | null;
214
+ visibility: string;
215
+ conversationId: string;
213
216
  fromTeamAgentId: string | null;
214
217
  toTeamAgentId: string | null;
215
- visibility: string;
216
218
  messageType: string;
217
- taskId: string | null;
218
219
  parentMessageId: string | null;
219
- a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
43
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
43
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
44
44
  scheduledFor: string;
45
45
  startedAt: string | null;
46
46
  completedAt: string | null;
@@ -194,7 +194,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
194
194
  name: string;
195
195
  hash: string;
196
196
  } | null;
197
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
197
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
198
198
  scheduledFor: string;
199
199
  startedAt: string | null;
200
200
  completedAt: string | null;
@@ -233,7 +233,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
233
233
  name: string;
234
234
  hash: string;
235
235
  } | null;
236
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
236
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
237
237
  scheduledFor: string;
238
238
  startedAt: string | null;
239
239
  completedAt: string | null;
@@ -285,7 +285,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
285
285
  name: string;
286
286
  hash: string;
287
287
  } | null;
288
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
288
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
289
289
  scheduledFor: string;
290
290
  startedAt: string | null;
291
291
  completedAt: string | null;
@@ -858,13 +858,13 @@ declare const triggers: drizzle_orm_pg_core1458.PgTableWithColumns<{
858
858
  algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
859
859
  encoding: "base64" | "hex";
860
860
  signature: {
861
- source: "query" | "body" | "header";
861
+ source: "query" | "header" | "body";
862
862
  key: string;
863
863
  prefix?: string | undefined;
864
864
  regex?: string | undefined;
865
865
  };
866
866
  signedComponents: {
867
- source: "literal" | "body" | "header";
867
+ source: "literal" | "header" | "body";
868
868
  required: boolean;
869
869
  key?: string | undefined;
870
870
  value?: string | undefined;
@@ -895,13 +895,13 @@ declare const triggers: drizzle_orm_pg_core1458.PgTableWithColumns<{
895
895
  algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
896
896
  encoding: "base64" | "hex";
897
897
  signature: {
898
- source: "query" | "body" | "header";
898
+ source: "query" | "header" | "body";
899
899
  key: string;
900
900
  prefix?: string | undefined;
901
901
  regex?: string | undefined;
902
902
  };
903
903
  signedComponents: {
904
- source: "literal" | "body" | "header";
904
+ source: "literal" | "header" | "body";
905
905
  required: boolean;
906
906
  key?: string | undefined;
907
907
  value?: string | undefined;
@@ -2772,7 +2772,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1807.PgTableWithCo
2772
2772
  tableName: "scheduled_trigger_invocations";
2773
2773
  dataType: "string";
2774
2774
  columnType: "PgVarchar";
2775
- data: "pending" | "failed" | "running" | "completed" | "cancelled";
2775
+ data: "pending" | "running" | "completed" | "failed" | "cancelled";
2776
2776
  driverParam: string;
2777
2777
  notNull: true;
2778
2778
  hasDefault: false;
@@ -2785,7 +2785,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1807.PgTableWithCo
2785
2785
  generated: undefined;
2786
2786
  }, {}, {
2787
2787
  length: 50;
2788
- $type: "pending" | "failed" | "running" | "completed" | "cancelled";
2788
+ $type: "pending" | "running" | "completed" | "failed" | "cancelled";
2789
2789
  }>;
2790
2790
  scheduledFor: drizzle_orm_pg_core1807.PgColumn<{
2791
2791
  name: "scheduled_for";
@@ -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
  payment_required: "payment_required";
9
9
  forbidden: "forbidden";
10
10
  not_found: "not_found";
@@ -21,8 +21,8 @@ declare const problemDetailsSchema: z.ZodObject<{
21
21
  instance: z.ZodOptional<z.ZodString>;
22
22
  requestId: z.ZodOptional<z.ZodString>;
23
23
  code: z.ZodEnum<{
24
- unauthorized: "unauthorized";
25
24
  bad_request: "bad_request";
25
+ unauthorized: "unauthorized";
26
26
  payment_required: "payment_required";
27
27
  forbidden: "forbidden";
28
28
  not_found: "not_found";
@@ -37,8 +37,8 @@ type ErrorCodes = z.infer<typeof ErrorCode>;
37
37
  declare const errorResponseSchema: z.ZodObject<{
38
38
  error: z.ZodObject<{
39
39
  code: z.ZodEnum<{
40
- unauthorized: "unauthorized";
41
40
  bad_request: "bad_request";
41
+ unauthorized: "unauthorized";
42
42
  payment_required: "payment_required";
43
43
  forbidden: "forbidden";
44
44
  not_found: "not_found";
@@ -77,12 +77,12 @@ declare const errorSchemaFactory: (code: ErrorCodes, description: string) => {
77
77
  schema: z.ZodObject<{
78
78
  instance: z.ZodOptional<z.ZodString>;
79
79
  requestId: z.ZodOptional<z.ZodString>;
80
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
80
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
81
81
  detail: z.ZodString;
82
82
  title: z.ZodString;
83
83
  status: z.ZodNumber;
84
84
  error: z.ZodObject<{
85
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
85
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
86
86
  message: z.ZodString;
87
87
  }, z.core.$strip>;
88
88
  }, z.core.$strip>;
@@ -99,12 +99,12 @@ declare const commonCreateErrorResponses: {
99
99
  schema: z.ZodObject<{
100
100
  instance: z.ZodOptional<z.ZodString>;
101
101
  requestId: z.ZodOptional<z.ZodString>;
102
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
102
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
103
103
  detail: z.ZodString;
104
104
  title: z.ZodString;
105
105
  status: z.ZodNumber;
106
106
  error: z.ZodObject<{
107
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
107
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
108
108
  message: z.ZodString;
109
109
  }, z.core.$strip>;
110
110
  }, z.core.$strip>;
@@ -118,12 +118,12 @@ declare const commonCreateErrorResponses: {
118
118
  schema: z.ZodObject<{
119
119
  instance: z.ZodOptional<z.ZodString>;
120
120
  requestId: z.ZodOptional<z.ZodString>;
121
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
121
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
122
122
  detail: z.ZodString;
123
123
  title: z.ZodString;
124
124
  status: z.ZodNumber;
125
125
  error: z.ZodObject<{
126
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
126
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
127
127
  message: z.ZodString;
128
128
  }, z.core.$strip>;
129
129
  }, z.core.$strip>;
@@ -137,12 +137,12 @@ declare const commonCreateErrorResponses: {
137
137
  schema: z.ZodObject<{
138
138
  instance: z.ZodOptional<z.ZodString>;
139
139
  requestId: z.ZodOptional<z.ZodString>;
140
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
140
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
141
141
  detail: z.ZodString;
142
142
  title: z.ZodString;
143
143
  status: z.ZodNumber;
144
144
  error: z.ZodObject<{
145
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
145
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
146
146
  message: z.ZodString;
147
147
  }, z.core.$strip>;
148
148
  }, z.core.$strip>;
@@ -156,12 +156,12 @@ declare const commonCreateErrorResponses: {
156
156
  schema: z.ZodObject<{
157
157
  instance: z.ZodOptional<z.ZodString>;
158
158
  requestId: z.ZodOptional<z.ZodString>;
159
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
159
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
160
160
  detail: z.ZodString;
161
161
  title: z.ZodString;
162
162
  status: z.ZodNumber;
163
163
  error: z.ZodObject<{
164
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
164
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
165
165
  message: z.ZodString;
166
166
  }, z.core.$strip>;
167
167
  }, z.core.$strip>;
@@ -175,12 +175,12 @@ declare const commonCreateErrorResponses: {
175
175
  schema: z.ZodObject<{
176
176
  instance: z.ZodOptional<z.ZodString>;
177
177
  requestId: z.ZodOptional<z.ZodString>;
178
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
178
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
179
179
  detail: z.ZodString;
180
180
  title: z.ZodString;
181
181
  status: z.ZodNumber;
182
182
  error: z.ZodObject<{
183
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
183
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
184
184
  message: z.ZodString;
185
185
  }, z.core.$strip>;
186
186
  }, z.core.$strip>;
@@ -196,12 +196,12 @@ declare const commonUpdateErrorResponses: {
196
196
  schema: z.ZodObject<{
197
197
  instance: z.ZodOptional<z.ZodString>;
198
198
  requestId: z.ZodOptional<z.ZodString>;
199
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
199
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
200
200
  detail: z.ZodString;
201
201
  title: z.ZodString;
202
202
  status: z.ZodNumber;
203
203
  error: z.ZodObject<{
204
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
204
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
205
205
  message: z.ZodString;
206
206
  }, z.core.$strip>;
207
207
  }, z.core.$strip>;
@@ -215,12 +215,12 @@ declare const commonUpdateErrorResponses: {
215
215
  schema: z.ZodObject<{
216
216
  instance: z.ZodOptional<z.ZodString>;
217
217
  requestId: z.ZodOptional<z.ZodString>;
218
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
218
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
219
219
  detail: z.ZodString;
220
220
  title: z.ZodString;
221
221
  status: z.ZodNumber;
222
222
  error: z.ZodObject<{
223
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
223
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
224
224
  message: z.ZodString;
225
225
  }, z.core.$strip>;
226
226
  }, z.core.$strip>;
@@ -234,12 +234,12 @@ declare const commonUpdateErrorResponses: {
234
234
  schema: z.ZodObject<{
235
235
  instance: z.ZodOptional<z.ZodString>;
236
236
  requestId: z.ZodOptional<z.ZodString>;
237
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
237
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
238
238
  detail: z.ZodString;
239
239
  title: z.ZodString;
240
240
  status: z.ZodNumber;
241
241
  error: z.ZodObject<{
242
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
242
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
243
243
  message: z.ZodString;
244
244
  }, z.core.$strip>;
245
245
  }, z.core.$strip>;
@@ -253,12 +253,12 @@ declare const commonUpdateErrorResponses: {
253
253
  schema: z.ZodObject<{
254
254
  instance: z.ZodOptional<z.ZodString>;
255
255
  requestId: z.ZodOptional<z.ZodString>;
256
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
256
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
257
257
  detail: z.ZodString;
258
258
  title: z.ZodString;
259
259
  status: z.ZodNumber;
260
260
  error: z.ZodObject<{
261
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
261
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
262
262
  message: z.ZodString;
263
263
  }, z.core.$strip>;
264
264
  }, z.core.$strip>;
@@ -272,12 +272,12 @@ declare const commonUpdateErrorResponses: {
272
272
  schema: z.ZodObject<{
273
273
  instance: z.ZodOptional<z.ZodString>;
274
274
  requestId: z.ZodOptional<z.ZodString>;
275
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
275
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
276
276
  detail: z.ZodString;
277
277
  title: z.ZodString;
278
278
  status: z.ZodNumber;
279
279
  error: z.ZodObject<{
280
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
280
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
281
281
  message: z.ZodString;
282
282
  }, z.core.$strip>;
283
283
  }, z.core.$strip>;
@@ -291,12 +291,12 @@ declare const commonUpdateErrorResponses: {
291
291
  schema: z.ZodObject<{
292
292
  instance: z.ZodOptional<z.ZodString>;
293
293
  requestId: z.ZodOptional<z.ZodString>;
294
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
294
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
295
295
  detail: z.ZodString;
296
296
  title: z.ZodString;
297
297
  status: z.ZodNumber;
298
298
  error: z.ZodObject<{
299
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
299
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
300
300
  message: z.ZodString;
301
301
  }, z.core.$strip>;
302
302
  }, z.core.$strip>;
@@ -312,12 +312,12 @@ declare const commonGetErrorResponses: {
312
312
  schema: z.ZodObject<{
313
313
  instance: z.ZodOptional<z.ZodString>;
314
314
  requestId: z.ZodOptional<z.ZodString>;
315
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
315
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
316
316
  detail: z.ZodString;
317
317
  title: z.ZodString;
318
318
  status: z.ZodNumber;
319
319
  error: z.ZodObject<{
320
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
320
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
321
321
  message: z.ZodString;
322
322
  }, z.core.$strip>;
323
323
  }, z.core.$strip>;
@@ -331,12 +331,12 @@ declare const commonGetErrorResponses: {
331
331
  schema: z.ZodObject<{
332
332
  instance: z.ZodOptional<z.ZodString>;
333
333
  requestId: z.ZodOptional<z.ZodString>;
334
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
334
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
335
335
  detail: z.ZodString;
336
336
  title: z.ZodString;
337
337
  status: z.ZodNumber;
338
338
  error: z.ZodObject<{
339
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
339
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
340
340
  message: z.ZodString;
341
341
  }, z.core.$strip>;
342
342
  }, z.core.$strip>;
@@ -350,12 +350,12 @@ declare const commonGetErrorResponses: {
350
350
  schema: z.ZodObject<{
351
351
  instance: z.ZodOptional<z.ZodString>;
352
352
  requestId: z.ZodOptional<z.ZodString>;
353
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
353
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
354
354
  detail: z.ZodString;
355
355
  title: z.ZodString;
356
356
  status: z.ZodNumber;
357
357
  error: z.ZodObject<{
358
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
358
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
359
359
  message: z.ZodString;
360
360
  }, z.core.$strip>;
361
361
  }, z.core.$strip>;
@@ -369,12 +369,12 @@ declare const commonGetErrorResponses: {
369
369
  schema: z.ZodObject<{
370
370
  instance: z.ZodOptional<z.ZodString>;
371
371
  requestId: z.ZodOptional<z.ZodString>;
372
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
372
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
373
373
  detail: z.ZodString;
374
374
  title: z.ZodString;
375
375
  status: z.ZodNumber;
376
376
  error: z.ZodObject<{
377
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
377
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
378
378
  message: z.ZodString;
379
379
  }, z.core.$strip>;
380
380
  }, z.core.$strip>;
@@ -388,12 +388,12 @@ declare const commonGetErrorResponses: {
388
388
  schema: z.ZodObject<{
389
389
  instance: z.ZodOptional<z.ZodString>;
390
390
  requestId: z.ZodOptional<z.ZodString>;
391
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
391
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
392
392
  detail: z.ZodString;
393
393
  title: z.ZodString;
394
394
  status: z.ZodNumber;
395
395
  error: z.ZodObject<{
396
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
396
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
397
397
  message: z.ZodString;
398
398
  }, z.core.$strip>;
399
399
  }, z.core.$strip>;
@@ -407,12 +407,12 @@ declare const commonGetErrorResponses: {
407
407
  schema: z.ZodObject<{
408
408
  instance: z.ZodOptional<z.ZodString>;
409
409
  requestId: z.ZodOptional<z.ZodString>;
410
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
410
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
411
411
  detail: z.ZodString;
412
412
  title: z.ZodString;
413
413
  status: z.ZodNumber;
414
414
  error: z.ZodObject<{
415
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
415
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
416
416
  message: z.ZodString;
417
417
  }, z.core.$strip>;
418
418
  }, z.core.$strip>;
@@ -428,12 +428,12 @@ declare const commonDeleteErrorResponses: {
428
428
  schema: z.ZodObject<{
429
429
  instance: z.ZodOptional<z.ZodString>;
430
430
  requestId: z.ZodOptional<z.ZodString>;
431
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
431
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
432
432
  detail: z.ZodString;
433
433
  title: z.ZodString;
434
434
  status: z.ZodNumber;
435
435
  error: z.ZodObject<{
436
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
436
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
437
437
  message: z.ZodString;
438
438
  }, z.core.$strip>;
439
439
  }, z.core.$strip>;
@@ -447,12 +447,12 @@ declare const commonDeleteErrorResponses: {
447
447
  schema: z.ZodObject<{
448
448
  instance: z.ZodOptional<z.ZodString>;
449
449
  requestId: z.ZodOptional<z.ZodString>;
450
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
450
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
451
451
  detail: z.ZodString;
452
452
  title: z.ZodString;
453
453
  status: z.ZodNumber;
454
454
  error: z.ZodObject<{
455
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
455
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
456
456
  message: z.ZodString;
457
457
  }, z.core.$strip>;
458
458
  }, z.core.$strip>;
@@ -466,12 +466,12 @@ declare const commonDeleteErrorResponses: {
466
466
  schema: z.ZodObject<{
467
467
  instance: z.ZodOptional<z.ZodString>;
468
468
  requestId: z.ZodOptional<z.ZodString>;
469
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
469
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
470
470
  detail: z.ZodString;
471
471
  title: z.ZodString;
472
472
  status: z.ZodNumber;
473
473
  error: z.ZodObject<{
474
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
474
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
475
475
  message: z.ZodString;
476
476
  }, z.core.$strip>;
477
477
  }, z.core.$strip>;
@@ -485,12 +485,12 @@ declare const commonDeleteErrorResponses: {
485
485
  schema: z.ZodObject<{
486
486
  instance: z.ZodOptional<z.ZodString>;
487
487
  requestId: z.ZodOptional<z.ZodString>;
488
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
488
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
489
489
  detail: z.ZodString;
490
490
  title: z.ZodString;
491
491
  status: z.ZodNumber;
492
492
  error: z.ZodObject<{
493
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
493
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
494
494
  message: z.ZodString;
495
495
  }, z.core.$strip>;
496
496
  }, z.core.$strip>;
@@ -504,12 +504,12 @@ declare const commonDeleteErrorResponses: {
504
504
  schema: z.ZodObject<{
505
505
  instance: z.ZodOptional<z.ZodString>;
506
506
  requestId: z.ZodOptional<z.ZodString>;
507
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
507
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
508
508
  detail: z.ZodString;
509
509
  title: z.ZodString;
510
510
  status: z.ZodNumber;
511
511
  error: z.ZodObject<{
512
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
512
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
513
513
  message: z.ZodString;
514
514
  }, z.core.$strip>;
515
515
  }, z.core.$strip>;
@@ -523,12 +523,12 @@ declare const commonDeleteErrorResponses: {
523
523
  schema: z.ZodObject<{
524
524
  instance: z.ZodOptional<z.ZodString>;
525
525
  requestId: z.ZodOptional<z.ZodString>;
526
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
526
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
527
527
  detail: z.ZodString;
528
528
  title: z.ZodString;
529
529
  status: z.ZodNumber;
530
530
  error: z.ZodObject<{
531
- code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
531
+ code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
532
532
  message: z.ZodString;
533
533
  }, z.core.$strip>;
534
534
  }, z.core.$strip>;