@inkeep/agents-core 0.65.1 → 0.66.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 (112) hide show
  1. package/dist/_virtual/rolldown_runtime.js +25 -1
  2. package/dist/auth/permissions.d.ts +9 -9
  3. package/dist/constants/index.d.ts +14 -0
  4. package/dist/constants/index.js +15 -0
  5. package/dist/constants/relation-types.d.ts +5 -0
  6. package/dist/constants/relation-types.js +6 -0
  7. package/dist/constants/session-events.d.ts +13 -0
  8. package/dist/constants/session-events.js +14 -0
  9. package/dist/constants/tool-names.d.ts +7 -0
  10. package/dist/constants/tool-names.js +8 -0
  11. package/dist/constants/workflow.d.ts +7 -0
  12. package/dist/constants/workflow.js +8 -0
  13. package/dist/data-access/index.d.ts +3 -3
  14. package/dist/data-access/manage/agentFull.d.ts +7 -10
  15. package/dist/data-access/manage/agentFull.js +26 -28
  16. package/dist/data-access/manage/agents.d.ts +47 -47
  17. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  18. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  19. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  20. package/dist/data-access/manage/dataComponents.js +1 -1
  21. package/dist/data-access/manage/functionTools.d.ts +16 -16
  22. package/dist/data-access/manage/projectFull.d.ts +6 -8
  23. package/dist/data-access/manage/projectFull.js +18 -18
  24. package/dist/data-access/manage/skills.d.ts +12 -12
  25. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  26. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  27. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  28. package/dist/data-access/manage/subAgents.d.ts +21 -21
  29. package/dist/data-access/manage/tools.d.ts +24 -24
  30. package/dist/data-access/manage/triggers.d.ts +4 -4
  31. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  32. package/dist/data-access/runtime/apps.d.ts +10 -10
  33. package/dist/data-access/runtime/conversations.d.ts +24 -24
  34. package/dist/data-access/runtime/feedback.d.ts +4 -4
  35. package/dist/data-access/runtime/messages.d.ts +12 -12
  36. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  37. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  38. package/dist/data-access/runtime/tasks.d.ts +5 -5
  39. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  40. package/dist/db/manage/manage-client.js +15 -3
  41. package/dist/db/manage/manage-schema.d.ts +358 -358
  42. package/dist/db/runtime/runtime-client.js +7 -1
  43. package/dist/db/runtime/runtime-schema.d.ts +373 -373
  44. package/dist/dolt/merge.js +7 -9
  45. package/dist/dolt/ref-middleware.js +2 -2
  46. package/dist/dolt/ref-scope.js +9 -3
  47. package/dist/index.d.ts +9 -5
  48. package/dist/index.js +7 -3
  49. package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +77 -0
  50. package/dist/node_modules/.pnpm/@vitest_expect@3.2.4/node_modules/@vitest/expect/dist/index.js +1356 -0
  51. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js +1119 -0
  52. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js +982 -0
  53. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/index.js +4 -0
  54. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/utils.js +3 -0
  55. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +1821 -0
  56. package/dist/node_modules/.pnpm/@vitest_spy@3.2.4/node_modules/@vitest/spy/dist/index.js +171 -0
  57. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +124 -0
  58. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/diff.js +1334 -0
  59. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/error.js +105 -0
  60. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js +118 -0
  61. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js +455 -0
  62. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js +168 -0
  63. package/dist/node_modules/.pnpm/chai@5.3.3/node_modules/chai/index.js +3087 -0
  64. package/dist/node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js +384 -0
  65. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js +11 -0
  66. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js +16 -0
  67. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js +11 -0
  68. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js +15 -0
  69. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js +13 -0
  70. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js +34 -0
  71. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js +12 -0
  72. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js +122 -0
  73. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js +39 -0
  74. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js +99 -0
  75. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js +25 -0
  76. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js +14 -0
  77. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js +21 -0
  78. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js +6 -0
  79. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js +12 -0
  80. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js +18 -0
  81. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js +25 -0
  82. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js +8 -0
  83. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js +30 -0
  84. package/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.js +939 -0
  85. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js +81 -0
  86. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.js +51 -0
  87. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js +81 -0
  88. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js +9 -0
  89. package/dist/node_modules/.pnpm/tinyspy@4.0.4/node_modules/tinyspy/dist/index.js +125 -0
  90. package/dist/node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_93023d256ff9ed909ae8f0d436c922a0/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +8 -0
  91. package/dist/node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_93023d256ff9ed909ae8f0d436c922a0/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +50 -0
  92. package/dist/node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_93023d256ff9ed909ae8f0d436c922a0/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +48 -0
  93. package/dist/node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_93023d256ff9ed909ae8f0d436c922a0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +2613 -0
  94. package/dist/test-utils/index.d.ts +2 -0
  95. package/dist/test-utils/index.js +3 -0
  96. package/dist/test-utils/mocks/index.d.ts +2 -0
  97. package/dist/test-utils/mocks/index.js +3 -0
  98. package/dist/test-utils/mocks/logger.d.ts +27 -0
  99. package/dist/test-utils/mocks/logger.js +48 -0
  100. package/dist/utils/error.d.ts +58 -52
  101. package/dist/utils/error.js +63 -21
  102. package/dist/utils/index.d.ts +3 -3
  103. package/dist/utils/index.js +3 -3
  104. package/dist/utils/jwt-helpers.js +1 -1
  105. package/dist/utils/logger.d.ts +21 -2
  106. package/dist/utils/logger.js +67 -11
  107. package/dist/utils/third-party-mcp-servers/composio-client.js +10 -10
  108. package/dist/utils/tracer-factory.js +1 -1
  109. package/dist/validation/schemas/skills.d.ts +45 -45
  110. package/dist/validation/schemas.d.ts +2289 -2289
  111. package/drizzle/runtime/meta/_journal.json +2 -2
  112. package/package.json +5 -1
@@ -0,0 +1,2 @@
1
+ import { MockLogger, MockLoggerModule, MockLoggerResult, createMockLogger, createMockLoggerModule } from "./mocks/logger.js";
2
+ export { MockLogger, MockLoggerModule, MockLoggerResult, createMockLogger, createMockLoggerModule };
@@ -0,0 +1,3 @@
1
+ import { createMockLogger, createMockLoggerModule } from "./mocks/logger.js";
2
+
3
+ export { createMockLogger, createMockLoggerModule };
@@ -0,0 +1,2 @@
1
+ import { MockLogger, MockLoggerModule, MockLoggerResult, createMockLogger, createMockLoggerModule } from "./logger.js";
2
+ export { type MockLogger, type MockLoggerModule, type MockLoggerResult, createMockLogger, createMockLoggerModule };
@@ -0,0 +1,3 @@
1
+ import { createMockLogger, createMockLoggerModule } from "./logger.js";
2
+
3
+ export { createMockLogger, createMockLoggerModule };
@@ -0,0 +1,27 @@
1
+ import { vi } from "vitest";
2
+
3
+ //#region src/test-utils/mocks/logger.d.ts
4
+
5
+ interface MockLogger {
6
+ info: ReturnType<typeof vi.fn>;
7
+ warn: ReturnType<typeof vi.fn>;
8
+ error: ReturnType<typeof vi.fn>;
9
+ debug: ReturnType<typeof vi.fn>;
10
+ child: ReturnType<typeof vi.fn>;
11
+ with: ReturnType<typeof vi.fn>;
12
+ getPinoInstance: ReturnType<typeof vi.fn>;
13
+ }
14
+ interface MockLoggerModule {
15
+ getLogger: ReturnType<typeof vi.fn>;
16
+ runWithLogContext: ReturnType<typeof vi.fn>;
17
+ }
18
+ interface MockLoggerResult {
19
+ mockLogger: MockLogger;
20
+ module: MockLoggerModule;
21
+ /** Clear all mock call data. Use in beforeEach when asserting on logger calls. */
22
+ clearAll: () => void;
23
+ }
24
+ declare function createMockLogger(): MockLogger;
25
+ declare function createMockLoggerModule(): MockLoggerResult;
26
+ //#endregion
27
+ export { MockLogger, MockLoggerModule, MockLoggerResult, createMockLogger, createMockLoggerModule };
@@ -0,0 +1,48 @@
1
+ import { vi } from "../../node_modules/.pnpm/vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_93023d256ff9ed909ae8f0d436c922a0/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js";
2
+
3
+ //#region src/test-utils/mocks/logger.ts
4
+ /**
5
+ * Shared mock factories for the logger module.
6
+ *
7
+ * These utilities require `vitest` in the consumer's environment — they
8
+ * import `vi` from `vitest` to create mock functions. Only use in test files
9
+ * where vitest is already available as a devDependency.
10
+ */
11
+ function createMockLogger() {
12
+ const mockLogger = {
13
+ info: vi.fn(),
14
+ warn: vi.fn(),
15
+ error: vi.fn(),
16
+ debug: vi.fn(),
17
+ child: vi.fn(),
18
+ with: vi.fn(),
19
+ getPinoInstance: vi.fn().mockReturnValue({
20
+ info: vi.fn(),
21
+ warn: vi.fn(),
22
+ error: vi.fn(),
23
+ debug: vi.fn(),
24
+ child: vi.fn().mockReturnThis()
25
+ })
26
+ };
27
+ mockLogger.child.mockReturnValue(mockLogger);
28
+ mockLogger.with.mockReturnValue(mockLogger);
29
+ return mockLogger;
30
+ }
31
+ function createMockLoggerModule() {
32
+ const mockLogger = createMockLogger();
33
+ const module = {
34
+ getLogger: vi.fn(() => mockLogger),
35
+ runWithLogContext: vi.fn((_bindings, fn) => fn())
36
+ };
37
+ return {
38
+ mockLogger,
39
+ module,
40
+ clearAll: () => {
41
+ for (const fn of Object.values(mockLogger)) if (typeof fn === "function" && "mockClear" in fn) fn.mockClear();
42
+ for (const fn of Object.values(module)) if (typeof fn === "function" && "mockClear" in fn) fn.mockClear();
43
+ }
44
+ };
45
+ }
46
+
47
+ //#endregion
48
+ export { createMockLogger, createMockLoggerModule };
@@ -2,9 +2,15 @@ import { z } from "@hono/zod-openapi";
2
2
  import { HTTPException } from "hono/http-exception";
3
3
 
4
4
  //#region src/utils/error.d.ts
5
+
6
+ /**
7
+ * Builds structured fields from an error chain (Drizzle → pg DatabaseError / Doltgres).
8
+ * Outer wrappers often omit SQLSTATE and server detail; those live on nested `.cause`.
9
+ */
10
+ declare function getDatabaseErrorLogContext(error: unknown): Record<string, unknown>;
5
11
  declare const ErrorCode: z.ZodEnum<{
6
- bad_request: "bad_request";
7
12
  unauthorized: "unauthorized";
13
+ bad_request: "bad_request";
8
14
  payment_required: "payment_required";
9
15
  forbidden: "forbidden";
10
16
  not_found: "not_found";
@@ -21,8 +27,8 @@ declare const problemDetailsSchema: z.ZodObject<{
21
27
  instance: z.ZodOptional<z.ZodString>;
22
28
  requestId: z.ZodOptional<z.ZodString>;
23
29
  code: z.ZodEnum<{
24
- bad_request: "bad_request";
25
30
  unauthorized: "unauthorized";
31
+ bad_request: "bad_request";
26
32
  payment_required: "payment_required";
27
33
  forbidden: "forbidden";
28
34
  not_found: "not_found";
@@ -37,8 +43,8 @@ type ErrorCodes = z.infer<typeof ErrorCode>;
37
43
  declare const errorResponseSchema: z.ZodObject<{
38
44
  error: z.ZodObject<{
39
45
  code: z.ZodEnum<{
40
- bad_request: "bad_request";
41
46
  unauthorized: "unauthorized";
47
+ bad_request: "bad_request";
42
48
  payment_required: "payment_required";
43
49
  forbidden: "forbidden";
44
50
  not_found: "not_found";
@@ -77,12 +83,12 @@ declare const errorSchemaFactory: (code: ErrorCodes, description: string) => {
77
83
  schema: z.ZodObject<{
78
84
  instance: z.ZodOptional<z.ZodString>;
79
85
  requestId: z.ZodOptional<z.ZodString>;
80
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
86
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
81
87
  detail: z.ZodString;
82
88
  title: z.ZodString;
83
89
  status: z.ZodNumber;
84
90
  error: z.ZodObject<{
85
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
91
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
86
92
  message: z.ZodString;
87
93
  }, z.core.$strip>;
88
94
  }, z.core.$strip>;
@@ -99,12 +105,12 @@ declare const commonCreateErrorResponses: {
99
105
  schema: z.ZodObject<{
100
106
  instance: z.ZodOptional<z.ZodString>;
101
107
  requestId: z.ZodOptional<z.ZodString>;
102
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
108
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
103
109
  detail: z.ZodString;
104
110
  title: z.ZodString;
105
111
  status: z.ZodNumber;
106
112
  error: z.ZodObject<{
107
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
113
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
108
114
  message: z.ZodString;
109
115
  }, z.core.$strip>;
110
116
  }, z.core.$strip>;
@@ -118,12 +124,12 @@ declare const commonCreateErrorResponses: {
118
124
  schema: z.ZodObject<{
119
125
  instance: z.ZodOptional<z.ZodString>;
120
126
  requestId: z.ZodOptional<z.ZodString>;
121
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
127
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
122
128
  detail: z.ZodString;
123
129
  title: z.ZodString;
124
130
  status: z.ZodNumber;
125
131
  error: z.ZodObject<{
126
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
132
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
127
133
  message: z.ZodString;
128
134
  }, z.core.$strip>;
129
135
  }, z.core.$strip>;
@@ -137,12 +143,12 @@ declare const commonCreateErrorResponses: {
137
143
  schema: z.ZodObject<{
138
144
  instance: z.ZodOptional<z.ZodString>;
139
145
  requestId: z.ZodOptional<z.ZodString>;
140
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
146
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
141
147
  detail: z.ZodString;
142
148
  title: z.ZodString;
143
149
  status: z.ZodNumber;
144
150
  error: z.ZodObject<{
145
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
151
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
146
152
  message: z.ZodString;
147
153
  }, z.core.$strip>;
148
154
  }, z.core.$strip>;
@@ -156,12 +162,12 @@ declare const commonCreateErrorResponses: {
156
162
  schema: z.ZodObject<{
157
163
  instance: z.ZodOptional<z.ZodString>;
158
164
  requestId: z.ZodOptional<z.ZodString>;
159
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
165
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
160
166
  detail: z.ZodString;
161
167
  title: z.ZodString;
162
168
  status: z.ZodNumber;
163
169
  error: z.ZodObject<{
164
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
170
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
165
171
  message: z.ZodString;
166
172
  }, z.core.$strip>;
167
173
  }, z.core.$strip>;
@@ -175,12 +181,12 @@ declare const commonCreateErrorResponses: {
175
181
  schema: z.ZodObject<{
176
182
  instance: z.ZodOptional<z.ZodString>;
177
183
  requestId: z.ZodOptional<z.ZodString>;
178
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
184
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
179
185
  detail: z.ZodString;
180
186
  title: z.ZodString;
181
187
  status: z.ZodNumber;
182
188
  error: z.ZodObject<{
183
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
189
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
184
190
  message: z.ZodString;
185
191
  }, z.core.$strip>;
186
192
  }, z.core.$strip>;
@@ -196,12 +202,12 @@ declare const commonUpdateErrorResponses: {
196
202
  schema: z.ZodObject<{
197
203
  instance: z.ZodOptional<z.ZodString>;
198
204
  requestId: z.ZodOptional<z.ZodString>;
199
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
205
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
200
206
  detail: z.ZodString;
201
207
  title: z.ZodString;
202
208
  status: z.ZodNumber;
203
209
  error: z.ZodObject<{
204
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
210
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
205
211
  message: z.ZodString;
206
212
  }, z.core.$strip>;
207
213
  }, z.core.$strip>;
@@ -215,12 +221,12 @@ declare const commonUpdateErrorResponses: {
215
221
  schema: z.ZodObject<{
216
222
  instance: z.ZodOptional<z.ZodString>;
217
223
  requestId: z.ZodOptional<z.ZodString>;
218
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
224
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
219
225
  detail: z.ZodString;
220
226
  title: z.ZodString;
221
227
  status: z.ZodNumber;
222
228
  error: z.ZodObject<{
223
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
229
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
224
230
  message: z.ZodString;
225
231
  }, z.core.$strip>;
226
232
  }, z.core.$strip>;
@@ -234,12 +240,12 @@ declare const commonUpdateErrorResponses: {
234
240
  schema: z.ZodObject<{
235
241
  instance: z.ZodOptional<z.ZodString>;
236
242
  requestId: z.ZodOptional<z.ZodString>;
237
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
243
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
238
244
  detail: z.ZodString;
239
245
  title: z.ZodString;
240
246
  status: z.ZodNumber;
241
247
  error: z.ZodObject<{
242
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
248
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
243
249
  message: z.ZodString;
244
250
  }, z.core.$strip>;
245
251
  }, z.core.$strip>;
@@ -253,12 +259,12 @@ declare const commonUpdateErrorResponses: {
253
259
  schema: z.ZodObject<{
254
260
  instance: z.ZodOptional<z.ZodString>;
255
261
  requestId: z.ZodOptional<z.ZodString>;
256
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
262
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
257
263
  detail: z.ZodString;
258
264
  title: z.ZodString;
259
265
  status: z.ZodNumber;
260
266
  error: z.ZodObject<{
261
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
267
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
262
268
  message: z.ZodString;
263
269
  }, z.core.$strip>;
264
270
  }, z.core.$strip>;
@@ -272,12 +278,12 @@ declare const commonUpdateErrorResponses: {
272
278
  schema: z.ZodObject<{
273
279
  instance: z.ZodOptional<z.ZodString>;
274
280
  requestId: z.ZodOptional<z.ZodString>;
275
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
281
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
276
282
  detail: z.ZodString;
277
283
  title: z.ZodString;
278
284
  status: z.ZodNumber;
279
285
  error: z.ZodObject<{
280
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
286
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
281
287
  message: z.ZodString;
282
288
  }, z.core.$strip>;
283
289
  }, z.core.$strip>;
@@ -291,12 +297,12 @@ declare const commonUpdateErrorResponses: {
291
297
  schema: z.ZodObject<{
292
298
  instance: z.ZodOptional<z.ZodString>;
293
299
  requestId: z.ZodOptional<z.ZodString>;
294
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
300
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
295
301
  detail: z.ZodString;
296
302
  title: z.ZodString;
297
303
  status: z.ZodNumber;
298
304
  error: z.ZodObject<{
299
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
305
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
300
306
  message: z.ZodString;
301
307
  }, z.core.$strip>;
302
308
  }, z.core.$strip>;
@@ -312,12 +318,12 @@ declare const commonGetErrorResponses: {
312
318
  schema: z.ZodObject<{
313
319
  instance: z.ZodOptional<z.ZodString>;
314
320
  requestId: z.ZodOptional<z.ZodString>;
315
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
321
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
316
322
  detail: z.ZodString;
317
323
  title: z.ZodString;
318
324
  status: z.ZodNumber;
319
325
  error: z.ZodObject<{
320
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
326
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
321
327
  message: z.ZodString;
322
328
  }, z.core.$strip>;
323
329
  }, z.core.$strip>;
@@ -331,12 +337,12 @@ declare const commonGetErrorResponses: {
331
337
  schema: z.ZodObject<{
332
338
  instance: z.ZodOptional<z.ZodString>;
333
339
  requestId: z.ZodOptional<z.ZodString>;
334
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
340
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
335
341
  detail: z.ZodString;
336
342
  title: z.ZodString;
337
343
  status: z.ZodNumber;
338
344
  error: z.ZodObject<{
339
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
345
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
340
346
  message: z.ZodString;
341
347
  }, z.core.$strip>;
342
348
  }, z.core.$strip>;
@@ -350,12 +356,12 @@ declare const commonGetErrorResponses: {
350
356
  schema: z.ZodObject<{
351
357
  instance: z.ZodOptional<z.ZodString>;
352
358
  requestId: z.ZodOptional<z.ZodString>;
353
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
359
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
354
360
  detail: z.ZodString;
355
361
  title: z.ZodString;
356
362
  status: z.ZodNumber;
357
363
  error: z.ZodObject<{
358
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
364
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
359
365
  message: z.ZodString;
360
366
  }, z.core.$strip>;
361
367
  }, z.core.$strip>;
@@ -369,12 +375,12 @@ declare const commonGetErrorResponses: {
369
375
  schema: z.ZodObject<{
370
376
  instance: z.ZodOptional<z.ZodString>;
371
377
  requestId: z.ZodOptional<z.ZodString>;
372
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
378
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
373
379
  detail: z.ZodString;
374
380
  title: z.ZodString;
375
381
  status: z.ZodNumber;
376
382
  error: z.ZodObject<{
377
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
383
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
378
384
  message: z.ZodString;
379
385
  }, z.core.$strip>;
380
386
  }, z.core.$strip>;
@@ -388,12 +394,12 @@ declare const commonGetErrorResponses: {
388
394
  schema: z.ZodObject<{
389
395
  instance: z.ZodOptional<z.ZodString>;
390
396
  requestId: z.ZodOptional<z.ZodString>;
391
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
397
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
392
398
  detail: z.ZodString;
393
399
  title: z.ZodString;
394
400
  status: z.ZodNumber;
395
401
  error: z.ZodObject<{
396
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
402
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
397
403
  message: z.ZodString;
398
404
  }, z.core.$strip>;
399
405
  }, z.core.$strip>;
@@ -407,12 +413,12 @@ declare const commonGetErrorResponses: {
407
413
  schema: z.ZodObject<{
408
414
  instance: z.ZodOptional<z.ZodString>;
409
415
  requestId: z.ZodOptional<z.ZodString>;
410
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
416
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
411
417
  detail: z.ZodString;
412
418
  title: z.ZodString;
413
419
  status: z.ZodNumber;
414
420
  error: z.ZodObject<{
415
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
421
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
416
422
  message: z.ZodString;
417
423
  }, z.core.$strip>;
418
424
  }, z.core.$strip>;
@@ -428,12 +434,12 @@ declare const commonDeleteErrorResponses: {
428
434
  schema: z.ZodObject<{
429
435
  instance: z.ZodOptional<z.ZodString>;
430
436
  requestId: z.ZodOptional<z.ZodString>;
431
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
437
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
432
438
  detail: z.ZodString;
433
439
  title: z.ZodString;
434
440
  status: z.ZodNumber;
435
441
  error: z.ZodObject<{
436
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
442
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
437
443
  message: z.ZodString;
438
444
  }, z.core.$strip>;
439
445
  }, z.core.$strip>;
@@ -447,12 +453,12 @@ declare const commonDeleteErrorResponses: {
447
453
  schema: z.ZodObject<{
448
454
  instance: z.ZodOptional<z.ZodString>;
449
455
  requestId: z.ZodOptional<z.ZodString>;
450
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
456
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
451
457
  detail: z.ZodString;
452
458
  title: z.ZodString;
453
459
  status: z.ZodNumber;
454
460
  error: z.ZodObject<{
455
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
461
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
456
462
  message: z.ZodString;
457
463
  }, z.core.$strip>;
458
464
  }, z.core.$strip>;
@@ -466,12 +472,12 @@ declare const commonDeleteErrorResponses: {
466
472
  schema: z.ZodObject<{
467
473
  instance: z.ZodOptional<z.ZodString>;
468
474
  requestId: z.ZodOptional<z.ZodString>;
469
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
475
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
470
476
  detail: z.ZodString;
471
477
  title: z.ZodString;
472
478
  status: z.ZodNumber;
473
479
  error: z.ZodObject<{
474
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
480
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
475
481
  message: z.ZodString;
476
482
  }, z.core.$strip>;
477
483
  }, z.core.$strip>;
@@ -485,12 +491,12 @@ declare const commonDeleteErrorResponses: {
485
491
  schema: z.ZodObject<{
486
492
  instance: z.ZodOptional<z.ZodString>;
487
493
  requestId: z.ZodOptional<z.ZodString>;
488
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
494
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
489
495
  detail: z.ZodString;
490
496
  title: z.ZodString;
491
497
  status: z.ZodNumber;
492
498
  error: z.ZodObject<{
493
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
499
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
494
500
  message: z.ZodString;
495
501
  }, z.core.$strip>;
496
502
  }, z.core.$strip>;
@@ -504,12 +510,12 @@ declare const commonDeleteErrorResponses: {
504
510
  schema: z.ZodObject<{
505
511
  instance: z.ZodOptional<z.ZodString>;
506
512
  requestId: z.ZodOptional<z.ZodString>;
507
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
513
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
508
514
  detail: z.ZodString;
509
515
  title: z.ZodString;
510
516
  status: z.ZodNumber;
511
517
  error: z.ZodObject<{
512
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
518
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
513
519
  message: z.ZodString;
514
520
  }, z.core.$strip>;
515
521
  }, z.core.$strip>;
@@ -523,12 +529,12 @@ declare const commonDeleteErrorResponses: {
523
529
  schema: z.ZodObject<{
524
530
  instance: z.ZodOptional<z.ZodString>;
525
531
  requestId: z.ZodOptional<z.ZodString>;
526
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
532
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
527
533
  detail: z.ZodString;
528
534
  title: z.ZodString;
529
535
  status: z.ZodNumber;
530
536
  error: z.ZodObject<{
531
- code: z.ZodLiteral<"bad_request" | "unauthorized" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
537
+ code: z.ZodLiteral<"unauthorized" | "bad_request" | "payment_required" | "forbidden" | "not_found" | "conflict" | "too_many_requests" | "internal_server_error" | "unprocessable_entity">;
532
538
  message: z.ZodString;
533
539
  }, z.core.$strip>;
534
540
  }, z.core.$strip>;
@@ -541,4 +547,4 @@ type CommonUpdateErrorResponses = typeof commonUpdateErrorResponses;
541
547
  type CommonGetErrorResponses = typeof commonGetErrorResponses;
542
548
  type CommonDeleteErrorResponses = typeof commonDeleteErrorResponses;
543
549
  //#endregion
544
- export { CommonCreateErrorResponses, CommonDeleteErrorResponses, CommonGetErrorResponses, CommonUpdateErrorResponses, ERROR_DOCS_BASE_URL, ErrorCode, ErrorCodes, ErrorResponse, ProblemDetails, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, createApiError, errorResponseSchema, errorSchemaFactory, handleApiError, isUniqueConstraintError, problemDetailsSchema, throwIfUniqueConstraintError };
550
+ export { CommonCreateErrorResponses, CommonDeleteErrorResponses, CommonGetErrorResponses, CommonUpdateErrorResponses, ERROR_DOCS_BASE_URL, ErrorCode, ErrorCodes, ErrorResponse, ProblemDetails, commonCreateErrorResponses, commonDeleteErrorResponses, commonGetErrorResponses, commonUpdateErrorResponses, createApiError, errorResponseSchema, errorSchemaFactory, getDatabaseErrorLogContext, handleApiError, isUniqueConstraintError, problemDetailsSchema, throwIfUniqueConstraintError };