@mastra/server 1.63.2 → 1.63.3-alpha.1

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 (141) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/_types/@internal_core/dist/storage/index.d.ts +401 -401
  3. package/dist/_types/@mastra_schema-compat/dist/schema-compatibility-v3.d.ts +5 -5
  4. package/dist/_types/@mastra_schema-compat/dist/schema-compatibility-v4.d.ts +5 -5
  5. package/dist/_types/@mastra_schema-compat/dist/standard-schema/standard-schema.d.ts +1 -1
  6. package/dist/docs/SKILL.md +8 -8
  7. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  8. package/dist/server/a2a/push-notification-sender.d.ts.map +1 -1
  9. package/dist/server/a2a/push-notification-store.d.ts.map +1 -1
  10. package/dist/server/a2a/store.d.ts.map +1 -1
  11. package/dist/server/auth/helpers.d.ts +1 -1
  12. package/dist/server/auth/helpers.d.ts.map +1 -1
  13. package/dist/server/browser-stream/viewer-registry.d.ts.map +1 -1
  14. package/dist/server/constants.d.ts +1 -1
  15. package/dist/server/constants.d.ts.map +1 -1
  16. package/dist/server/handlers/a2a.d.ts +60 -60
  17. package/dist/server/handlers/a2a.d.ts.map +1 -1
  18. package/dist/server/handlers/agent-builder.d.ts +110 -110
  19. package/dist/server/handlers/agent-controller.cjs +10 -4
  20. package/dist/server/handlers/agent-controller.cjs.map +1 -1
  21. package/dist/server/handlers/agent-controller.d.ts +110 -110
  22. package/dist/server/handlers/agent-controller.d.ts.map +1 -1
  23. package/dist/server/handlers/agent-controller.js +10 -4
  24. package/dist/server/handlers/agent-controller.js.map +1 -1
  25. package/dist/server/handlers/agent-versions.d.ts +5267 -5259
  26. package/dist/server/handlers/agent-versions.d.ts.map +1 -1
  27. package/dist/server/handlers/agents.d.ts +4355 -4355
  28. package/dist/server/handlers/agents.d.ts.map +1 -1
  29. package/dist/server/handlers/auth.d.ts +52 -52
  30. package/dist/server/handlers/background-tasks.d.ts +37 -37
  31. package/dist/server/handlers/builder-registry.d.ts +12 -12
  32. package/dist/server/handlers/channels.d.ts +10 -10
  33. package/dist/server/handlers/conversations.d.ts +13 -13
  34. package/dist/server/handlers/datasets.d.ts +396 -396
  35. package/dist/server/handlers/dynamic-workflows.d.ts +36 -36
  36. package/dist/server/handlers/editor-builder.d.ts +13 -13
  37. package/dist/server/handlers/gateway-memory-client.d.ts +4 -4
  38. package/dist/server/handlers/gateway-memory-client.d.ts.map +1 -1
  39. package/dist/server/handlers/logs.d.ts +40 -40
  40. package/dist/server/handlers/mcp-client-versions.d.ts +32 -32
  41. package/dist/server/handlers/mcp.d.ts +23 -23
  42. package/dist/server/handlers/memory.d.ts +138 -138
  43. package/dist/server/handlers/observability-list-query-schemas.d.ts +1 -1
  44. package/dist/server/handlers/observability-new-endpoints.d.ts +859 -859
  45. package/dist/server/handlers/observability-shared.d.ts +126 -126
  46. package/dist/server/handlers/observability-shared.d.ts.map +1 -1
  47. package/dist/server/handlers/observability.d.ts +17 -17
  48. package/dist/server/handlers/plans.d.ts +3 -3
  49. package/dist/server/handlers/processor-providers.d.ts +9 -9
  50. package/dist/server/handlers/processors.d.ts +31 -31
  51. package/dist/server/handlers/prompt-block-versions.d.ts +176 -176
  52. package/dist/server/handlers/responses.adapter.d.ts +3 -3
  53. package/dist/server/handlers/responses.adapter.d.ts.map +1 -1
  54. package/dist/server/handlers/responses.d.ts +17 -17
  55. package/dist/server/handlers/schedules.d.ts +242 -242
  56. package/dist/server/handlers/scorer-versions.d.ts +39 -39
  57. package/dist/server/handlers/scores.d.ts +20 -20
  58. package/dist/server/handlers/stored-agent-favorites.d.ts +4 -4
  59. package/dist/server/handlers/stored-agents.d.ts +5992 -5984
  60. package/dist/server/handlers/stored-agents.d.ts.map +1 -1
  61. package/dist/server/handlers/stored-mcp-clients.d.ts +46 -46
  62. package/dist/server/handlers/stored-prompt-blocks.d.ts +193 -193
  63. package/dist/server/handlers/stored-scorers.d.ts +56 -56
  64. package/dist/server/handlers/stored-skill-favorites.d.ts +4 -4
  65. package/dist/server/handlers/stored-skills.d.ts +70 -70
  66. package/dist/server/handlers/stored-workspaces.d.ts +36 -36
  67. package/dist/server/handlers/system.d.ts +19 -19
  68. package/dist/server/handlers/tool-providers.d.ts +49 -49
  69. package/dist/server/handlers/tools.d.ts +10 -10
  70. package/dist/server/handlers/vector.d.ts +18 -18
  71. package/dist/server/handlers/version-helpers.d.ts +1 -1
  72. package/dist/server/handlers/version-helpers.d.ts.map +1 -1
  73. package/dist/server/handlers/workflows.d.ts +167 -167
  74. package/dist/server/handlers/workspace.d.ts +370 -370
  75. package/dist/server/http-exception.d.ts.map +1 -1
  76. package/dist/server/schemas/a2a.d.ts +18 -18
  77. package/dist/server/schemas/agent-versions.d.ts +3948 -3948
  78. package/dist/server/schemas/agents.d.ts +172 -172
  79. package/dist/server/schemas/agents.d.ts.map +1 -1
  80. package/dist/server/schemas/auth.d.ts +5 -5
  81. package/dist/server/schemas/background-tasks.d.ts +22 -22
  82. package/dist/server/schemas/builder-registry.d.ts +1 -1
  83. package/dist/server/schemas/channels.d.ts +1 -1
  84. package/dist/server/schemas/common.d.ts +5 -5
  85. package/dist/server/schemas/common.d.ts.map +1 -1
  86. package/dist/server/schemas/conversations.d.ts +2 -2
  87. package/dist/server/schemas/datasets.d.ts +98 -98
  88. package/dist/server/schemas/dynamic-workflows.d.ts +7 -7
  89. package/dist/server/schemas/logs.d.ts +8 -8
  90. package/dist/server/schemas/mcp-client-versions.d.ts +2 -2
  91. package/dist/server/schemas/memory-config.d.ts +5 -5
  92. package/dist/server/schemas/memory.d.ts +20 -20
  93. package/dist/server/schemas/processor-providers.d.ts +2 -2
  94. package/dist/server/schemas/processors.d.ts +13 -13
  95. package/dist/server/schemas/prompt-block-versions.d.ts +149 -149
  96. package/dist/server/schemas/responses.d.ts +11 -11
  97. package/dist/server/schemas/rule-group.d.ts +28 -28
  98. package/dist/server/schemas/schedules.d.ts +120 -120
  99. package/dist/server/schemas/scorer-versions.d.ts +9 -9
  100. package/dist/server/schemas/scores.d.ts +2 -2
  101. package/dist/server/schemas/stored-agents.d.ts +9052 -9052
  102. package/dist/server/schemas/stored-mcp-clients.d.ts +9 -9
  103. package/dist/server/schemas/stored-prompt-blocks.d.ts +156 -156
  104. package/dist/server/schemas/stored-scorers.d.ts +16 -16
  105. package/dist/server/schemas/stored-skills.d.ts +22 -22
  106. package/dist/server/schemas/stored-workspaces.d.ts +6 -6
  107. package/dist/server/schemas/system.d.ts +12 -12
  108. package/dist/server/schemas/tool-providers.d.ts +20 -20
  109. package/dist/server/schemas/vectors.d.ts +1 -1
  110. package/dist/server/schemas/version-common.d.ts +2 -2
  111. package/dist/server/schemas/workflows.d.ts +57 -57
  112. package/dist/server/schemas/workspace.d.ts +17 -17
  113. package/dist/server/server-adapter/index.d.ts.map +1 -1
  114. package/dist/server/server-adapter/routes/a2a.d.ts +49 -49
  115. package/dist/server/server-adapter/routes/agent-builder.d.ts +110 -110
  116. package/dist/server/server-adapter/routes/channels.d.ts +10 -10
  117. package/dist/server/server-adapter/routes/conversations.d.ts +26 -26
  118. package/dist/server/server-adapter/routes/datasets.d.ts +394 -394
  119. package/dist/server/server-adapter/routes/editor-builder.d.ts +25 -25
  120. package/dist/server/server-adapter/routes/legacy.d.ts +157 -157
  121. package/dist/server/server-adapter/routes/logs.d.ts +40 -40
  122. package/dist/server/server-adapter/routes/mcp.d.ts +23 -23
  123. package/dist/server/server-adapter/routes/memory.d.ts +138 -138
  124. package/dist/server/server-adapter/routes/observability.d.ts +446 -446
  125. package/dist/server/server-adapter/routes/processor-providers.d.ts +9 -9
  126. package/dist/server/server-adapter/routes/processors.d.ts +31 -31
  127. package/dist/server/server-adapter/routes/responses.d.ts +17 -17
  128. package/dist/server/server-adapter/routes/scorers.d.ts +20 -20
  129. package/dist/server/server-adapter/routes/stored-mcp-clients.d.ts +78 -78
  130. package/dist/server/server-adapter/routes/stored-prompt-blocks.d.ts +369 -369
  131. package/dist/server/server-adapter/routes/stored-scorers.d.ts +95 -95
  132. package/dist/server/server-adapter/routes/stored-skills.d.ts +74 -74
  133. package/dist/server/server-adapter/routes/stored-workspaces.d.ts +36 -36
  134. package/dist/server/server-adapter/routes/system.d.ts +19 -19
  135. package/dist/server/server-adapter/routes/tool-providers.d.ts +49 -49
  136. package/dist/server/server-adapter/routes/tools.d.ts +6 -6
  137. package/dist/server/server-adapter/routes/vectors.d.ts +18 -18
  138. package/dist/server/server-adapter/routes/workflows.d.ts +163 -163
  139. package/dist/server/server-adapter/routes/workspace.d.ts +334 -334
  140. package/dist/server/utils.d.ts.map +1 -1
  141. package/package.json +8 -7
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod/v4';
2
2
  import { versionDiffEntrySchema } from './version-common.js';
3
3
  export declare const listPromptBlockVersionsQuerySchema: z.ZodObject<{
4
- perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
5
4
  page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
5
+ perPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6
6
  orderBy: z.ZodOptional<z.ZodObject<{
7
7
  field: z.ZodOptional<z.ZodEnum<{
8
8
  createdAt: "createdAt";
@@ -14,8 +14,8 @@ export declare const listPromptBlockVersionsQuerySchema: z.ZodObject<{
14
14
  }>>;
15
15
  }, z.core.$strip>>;
16
16
  }, z.core.$strip> | z.ZodObject<{
17
- perPage: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
18
17
  page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
18
+ perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
19
19
  orderBy: z.ZodOptional<z.ZodObject<{
20
20
  field: z.ZodOptional<z.ZodEnum<{
21
21
  createdAt: "createdAt";
@@ -56,18 +56,18 @@ export declare const promptBlockVersionSchema: z.ZodObject<{
56
56
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
57
57
  field: z.ZodString;
58
58
  operator: z.ZodEnum<{
59
- in: "in";
60
- equals: "equals";
61
- not_equals: "not_equals";
62
59
  contains: "contains";
63
- not_contains: "not_contains";
60
+ equals: "equals";
61
+ exists: "exists";
64
62
  greater_than: "greater_than";
65
- less_than: "less_than";
66
63
  greater_than_or_equal: "greater_than_or_equal";
64
+ in: "in";
65
+ less_than: "less_than";
67
66
  less_than_or_equal: "less_than_or_equal";
68
- not_in: "not_in";
69
- exists: "exists";
67
+ not_contains: "not_contains";
68
+ not_equals: "not_equals";
70
69
  not_exists: "not_exists";
70
+ not_in: "not_in";
71
71
  }>;
72
72
  value: z.ZodOptional<z.ZodUnknown>;
73
73
  }, z.core.$strip>, z.ZodObject<{
@@ -78,18 +78,18 @@ export declare const promptBlockVersionSchema: z.ZodObject<{
78
78
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
79
79
  field: z.ZodString;
80
80
  operator: z.ZodEnum<{
81
- in: "in";
82
- equals: "equals";
83
- not_equals: "not_equals";
84
81
  contains: "contains";
85
- not_contains: "not_contains";
82
+ equals: "equals";
83
+ exists: "exists";
86
84
  greater_than: "greater_than";
87
- less_than: "less_than";
88
85
  greater_than_or_equal: "greater_than_or_equal";
86
+ in: "in";
87
+ less_than: "less_than";
89
88
  less_than_or_equal: "less_than_or_equal";
90
- not_in: "not_in";
91
- exists: "exists";
89
+ not_contains: "not_contains";
90
+ not_equals: "not_equals";
92
91
  not_exists: "not_exists";
92
+ not_in: "not_in";
93
93
  }>;
94
94
  value: z.ZodOptional<z.ZodUnknown>;
95
95
  }, z.core.$strip>, z.ZodObject<{
@@ -100,18 +100,18 @@ export declare const promptBlockVersionSchema: z.ZodObject<{
100
100
  conditions: z.ZodArray<z.ZodObject<{
101
101
  field: z.ZodString;
102
102
  operator: z.ZodEnum<{
103
- in: "in";
104
- equals: "equals";
105
- not_equals: "not_equals";
106
103
  contains: "contains";
107
- not_contains: "not_contains";
104
+ equals: "equals";
105
+ exists: "exists";
108
106
  greater_than: "greater_than";
109
- less_than: "less_than";
110
107
  greater_than_or_equal: "greater_than_or_equal";
108
+ in: "in";
109
+ less_than: "less_than";
111
110
  less_than_or_equal: "less_than_or_equal";
112
- not_in: "not_in";
113
- exists: "exists";
111
+ not_contains: "not_contains";
112
+ not_equals: "not_equals";
114
113
  not_exists: "not_exists";
114
+ not_in: "not_in";
115
115
  }>;
116
116
  value: z.ZodOptional<z.ZodUnknown>;
117
117
  }, z.core.$strip>>;
@@ -143,18 +143,18 @@ export declare const listPromptBlockVersionsResponseSchema: z.ZodObject<{
143
143
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
144
144
  field: z.ZodString;
145
145
  operator: z.ZodEnum<{
146
- in: "in";
147
- equals: "equals";
148
- not_equals: "not_equals";
149
146
  contains: "contains";
150
- not_contains: "not_contains";
147
+ equals: "equals";
148
+ exists: "exists";
151
149
  greater_than: "greater_than";
152
- less_than: "less_than";
153
150
  greater_than_or_equal: "greater_than_or_equal";
151
+ in: "in";
152
+ less_than: "less_than";
154
153
  less_than_or_equal: "less_than_or_equal";
155
- not_in: "not_in";
156
- exists: "exists";
154
+ not_contains: "not_contains";
155
+ not_equals: "not_equals";
157
156
  not_exists: "not_exists";
157
+ not_in: "not_in";
158
158
  }>;
159
159
  value: z.ZodOptional<z.ZodUnknown>;
160
160
  }, z.core.$strip>, z.ZodObject<{
@@ -165,18 +165,18 @@ export declare const listPromptBlockVersionsResponseSchema: z.ZodObject<{
165
165
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
166
166
  field: z.ZodString;
167
167
  operator: z.ZodEnum<{
168
- in: "in";
169
- equals: "equals";
170
- not_equals: "not_equals";
171
168
  contains: "contains";
172
- not_contains: "not_contains";
169
+ equals: "equals";
170
+ exists: "exists";
173
171
  greater_than: "greater_than";
174
- less_than: "less_than";
175
172
  greater_than_or_equal: "greater_than_or_equal";
173
+ in: "in";
174
+ less_than: "less_than";
176
175
  less_than_or_equal: "less_than_or_equal";
177
- not_in: "not_in";
178
- exists: "exists";
176
+ not_contains: "not_contains";
177
+ not_equals: "not_equals";
179
178
  not_exists: "not_exists";
179
+ not_in: "not_in";
180
180
  }>;
181
181
  value: z.ZodOptional<z.ZodUnknown>;
182
182
  }, z.core.$strip>, z.ZodObject<{
@@ -187,18 +187,18 @@ export declare const listPromptBlockVersionsResponseSchema: z.ZodObject<{
187
187
  conditions: z.ZodArray<z.ZodObject<{
188
188
  field: z.ZodString;
189
189
  operator: z.ZodEnum<{
190
- in: "in";
191
- equals: "equals";
192
- not_equals: "not_equals";
193
190
  contains: "contains";
194
- not_contains: "not_contains";
191
+ equals: "equals";
192
+ exists: "exists";
195
193
  greater_than: "greater_than";
196
- less_than: "less_than";
197
194
  greater_than_or_equal: "greater_than_or_equal";
195
+ in: "in";
196
+ less_than: "less_than";
198
197
  less_than_or_equal: "less_than_or_equal";
199
- not_in: "not_in";
200
- exists: "exists";
198
+ not_contains: "not_contains";
199
+ not_equals: "not_equals";
201
200
  not_exists: "not_exists";
201
+ not_in: "not_in";
202
202
  }>;
203
203
  value: z.ZodOptional<z.ZodUnknown>;
204
204
  }, z.core.$strip>>;
@@ -226,18 +226,18 @@ export declare const getPromptBlockVersionResponseSchema: z.ZodObject<{
226
226
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
227
227
  field: z.ZodString;
228
228
  operator: z.ZodEnum<{
229
- in: "in";
230
- equals: "equals";
231
- not_equals: "not_equals";
232
229
  contains: "contains";
233
- not_contains: "not_contains";
230
+ equals: "equals";
231
+ exists: "exists";
234
232
  greater_than: "greater_than";
235
- less_than: "less_than";
236
233
  greater_than_or_equal: "greater_than_or_equal";
234
+ in: "in";
235
+ less_than: "less_than";
237
236
  less_than_or_equal: "less_than_or_equal";
238
- not_in: "not_in";
239
- exists: "exists";
237
+ not_contains: "not_contains";
238
+ not_equals: "not_equals";
240
239
  not_exists: "not_exists";
240
+ not_in: "not_in";
241
241
  }>;
242
242
  value: z.ZodOptional<z.ZodUnknown>;
243
243
  }, z.core.$strip>, z.ZodObject<{
@@ -248,18 +248,18 @@ export declare const getPromptBlockVersionResponseSchema: z.ZodObject<{
248
248
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
249
249
  field: z.ZodString;
250
250
  operator: z.ZodEnum<{
251
- in: "in";
252
- equals: "equals";
253
- not_equals: "not_equals";
254
251
  contains: "contains";
255
- not_contains: "not_contains";
252
+ equals: "equals";
253
+ exists: "exists";
256
254
  greater_than: "greater_than";
257
- less_than: "less_than";
258
255
  greater_than_or_equal: "greater_than_or_equal";
256
+ in: "in";
257
+ less_than: "less_than";
259
258
  less_than_or_equal: "less_than_or_equal";
260
- not_in: "not_in";
261
- exists: "exists";
259
+ not_contains: "not_contains";
260
+ not_equals: "not_equals";
262
261
  not_exists: "not_exists";
262
+ not_in: "not_in";
263
263
  }>;
264
264
  value: z.ZodOptional<z.ZodUnknown>;
265
265
  }, z.core.$strip>, z.ZodObject<{
@@ -270,18 +270,18 @@ export declare const getPromptBlockVersionResponseSchema: z.ZodObject<{
270
270
  conditions: z.ZodArray<z.ZodObject<{
271
271
  field: z.ZodString;
272
272
  operator: z.ZodEnum<{
273
- in: "in";
274
- equals: "equals";
275
- not_equals: "not_equals";
276
273
  contains: "contains";
277
- not_contains: "not_contains";
274
+ equals: "equals";
275
+ exists: "exists";
278
276
  greater_than: "greater_than";
279
- less_than: "less_than";
280
277
  greater_than_or_equal: "greater_than_or_equal";
278
+ in: "in";
279
+ less_than: "less_than";
281
280
  less_than_or_equal: "less_than_or_equal";
282
- not_in: "not_in";
283
- exists: "exists";
281
+ not_contains: "not_contains";
282
+ not_equals: "not_equals";
284
283
  not_exists: "not_exists";
284
+ not_in: "not_in";
285
285
  }>;
286
286
  value: z.ZodOptional<z.ZodUnknown>;
287
287
  }, z.core.$strip>>;
@@ -305,18 +305,18 @@ export declare const createPromptBlockVersionResponseSchema: z.ZodObject<{
305
305
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
306
306
  field: z.ZodString;
307
307
  operator: z.ZodEnum<{
308
- in: "in";
309
- equals: "equals";
310
- not_equals: "not_equals";
311
308
  contains: "contains";
312
- not_contains: "not_contains";
309
+ equals: "equals";
310
+ exists: "exists";
313
311
  greater_than: "greater_than";
314
- less_than: "less_than";
315
312
  greater_than_or_equal: "greater_than_or_equal";
313
+ in: "in";
314
+ less_than: "less_than";
316
315
  less_than_or_equal: "less_than_or_equal";
317
- not_in: "not_in";
318
- exists: "exists";
316
+ not_contains: "not_contains";
317
+ not_equals: "not_equals";
319
318
  not_exists: "not_exists";
319
+ not_in: "not_in";
320
320
  }>;
321
321
  value: z.ZodOptional<z.ZodUnknown>;
322
322
  }, z.core.$strip>, z.ZodObject<{
@@ -327,18 +327,18 @@ export declare const createPromptBlockVersionResponseSchema: z.ZodObject<{
327
327
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
328
328
  field: z.ZodString;
329
329
  operator: z.ZodEnum<{
330
- in: "in";
331
- equals: "equals";
332
- not_equals: "not_equals";
333
330
  contains: "contains";
334
- not_contains: "not_contains";
331
+ equals: "equals";
332
+ exists: "exists";
335
333
  greater_than: "greater_than";
336
- less_than: "less_than";
337
334
  greater_than_or_equal: "greater_than_or_equal";
335
+ in: "in";
336
+ less_than: "less_than";
338
337
  less_than_or_equal: "less_than_or_equal";
339
- not_in: "not_in";
340
- exists: "exists";
338
+ not_contains: "not_contains";
339
+ not_equals: "not_equals";
341
340
  not_exists: "not_exists";
341
+ not_in: "not_in";
342
342
  }>;
343
343
  value: z.ZodOptional<z.ZodUnknown>;
344
344
  }, z.core.$strip>, z.ZodObject<{
@@ -349,18 +349,18 @@ export declare const createPromptBlockVersionResponseSchema: z.ZodObject<{
349
349
  conditions: z.ZodArray<z.ZodObject<{
350
350
  field: z.ZodString;
351
351
  operator: z.ZodEnum<{
352
- in: "in";
353
- equals: "equals";
354
- not_equals: "not_equals";
355
352
  contains: "contains";
356
- not_contains: "not_contains";
353
+ equals: "equals";
354
+ exists: "exists";
357
355
  greater_than: "greater_than";
358
- less_than: "less_than";
359
356
  greater_than_or_equal: "greater_than_or_equal";
357
+ in: "in";
358
+ less_than: "less_than";
360
359
  less_than_or_equal: "less_than_or_equal";
361
- not_in: "not_in";
362
- exists: "exists";
360
+ not_contains: "not_contains";
361
+ not_equals: "not_equals";
363
362
  not_exists: "not_exists";
363
+ not_in: "not_in";
364
364
  }>;
365
365
  value: z.ZodOptional<z.ZodUnknown>;
366
366
  }, z.core.$strip>>;
@@ -395,18 +395,18 @@ export declare const restorePromptBlockVersionResponseSchema: z.ZodObject<{
395
395
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
396
396
  field: z.ZodString;
397
397
  operator: z.ZodEnum<{
398
- in: "in";
399
- equals: "equals";
400
- not_equals: "not_equals";
401
398
  contains: "contains";
402
- not_contains: "not_contains";
399
+ equals: "equals";
400
+ exists: "exists";
403
401
  greater_than: "greater_than";
404
- less_than: "less_than";
405
402
  greater_than_or_equal: "greater_than_or_equal";
403
+ in: "in";
404
+ less_than: "less_than";
406
405
  less_than_or_equal: "less_than_or_equal";
407
- not_in: "not_in";
408
- exists: "exists";
406
+ not_contains: "not_contains";
407
+ not_equals: "not_equals";
409
408
  not_exists: "not_exists";
409
+ not_in: "not_in";
410
410
  }>;
411
411
  value: z.ZodOptional<z.ZodUnknown>;
412
412
  }, z.core.$strip>, z.ZodObject<{
@@ -417,18 +417,18 @@ export declare const restorePromptBlockVersionResponseSchema: z.ZodObject<{
417
417
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
418
418
  field: z.ZodString;
419
419
  operator: z.ZodEnum<{
420
- in: "in";
421
- equals: "equals";
422
- not_equals: "not_equals";
423
420
  contains: "contains";
424
- not_contains: "not_contains";
421
+ equals: "equals";
422
+ exists: "exists";
425
423
  greater_than: "greater_than";
426
- less_than: "less_than";
427
424
  greater_than_or_equal: "greater_than_or_equal";
425
+ in: "in";
426
+ less_than: "less_than";
428
427
  less_than_or_equal: "less_than_or_equal";
429
- not_in: "not_in";
430
- exists: "exists";
428
+ not_contains: "not_contains";
429
+ not_equals: "not_equals";
431
430
  not_exists: "not_exists";
431
+ not_in: "not_in";
432
432
  }>;
433
433
  value: z.ZodOptional<z.ZodUnknown>;
434
434
  }, z.core.$strip>, z.ZodObject<{
@@ -439,18 +439,18 @@ export declare const restorePromptBlockVersionResponseSchema: z.ZodObject<{
439
439
  conditions: z.ZodArray<z.ZodObject<{
440
440
  field: z.ZodString;
441
441
  operator: z.ZodEnum<{
442
- in: "in";
443
- equals: "equals";
444
- not_equals: "not_equals";
445
442
  contains: "contains";
446
- not_contains: "not_contains";
443
+ equals: "equals";
444
+ exists: "exists";
447
445
  greater_than: "greater_than";
448
- less_than: "less_than";
449
446
  greater_than_or_equal: "greater_than_or_equal";
447
+ in: "in";
448
+ less_than: "less_than";
450
449
  less_than_or_equal: "less_than_or_equal";
451
- not_in: "not_in";
452
- exists: "exists";
450
+ not_contains: "not_contains";
451
+ not_equals: "not_equals";
453
452
  not_exists: "not_exists";
453
+ not_in: "not_in";
454
454
  }>;
455
455
  value: z.ZodOptional<z.ZodUnknown>;
456
456
  }, z.core.$strip>>;
@@ -487,18 +487,18 @@ export declare const comparePromptBlockVersionsResponseSchema: z.ZodObject<{
487
487
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
488
488
  field: z.ZodString;
489
489
  operator: z.ZodEnum<{
490
- in: "in";
491
- equals: "equals";
492
- not_equals: "not_equals";
493
490
  contains: "contains";
494
- not_contains: "not_contains";
491
+ equals: "equals";
492
+ exists: "exists";
495
493
  greater_than: "greater_than";
496
- less_than: "less_than";
497
494
  greater_than_or_equal: "greater_than_or_equal";
495
+ in: "in";
496
+ less_than: "less_than";
498
497
  less_than_or_equal: "less_than_or_equal";
499
- not_in: "not_in";
500
- exists: "exists";
498
+ not_contains: "not_contains";
499
+ not_equals: "not_equals";
501
500
  not_exists: "not_exists";
501
+ not_in: "not_in";
502
502
  }>;
503
503
  value: z.ZodOptional<z.ZodUnknown>;
504
504
  }, z.core.$strip>, z.ZodObject<{
@@ -509,18 +509,18 @@ export declare const comparePromptBlockVersionsResponseSchema: z.ZodObject<{
509
509
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
510
510
  field: z.ZodString;
511
511
  operator: z.ZodEnum<{
512
- in: "in";
513
- equals: "equals";
514
- not_equals: "not_equals";
515
512
  contains: "contains";
516
- not_contains: "not_contains";
513
+ equals: "equals";
514
+ exists: "exists";
517
515
  greater_than: "greater_than";
518
- less_than: "less_than";
519
516
  greater_than_or_equal: "greater_than_or_equal";
517
+ in: "in";
518
+ less_than: "less_than";
520
519
  less_than_or_equal: "less_than_or_equal";
521
- not_in: "not_in";
522
- exists: "exists";
520
+ not_contains: "not_contains";
521
+ not_equals: "not_equals";
523
522
  not_exists: "not_exists";
523
+ not_in: "not_in";
524
524
  }>;
525
525
  value: z.ZodOptional<z.ZodUnknown>;
526
526
  }, z.core.$strip>, z.ZodObject<{
@@ -531,18 +531,18 @@ export declare const comparePromptBlockVersionsResponseSchema: z.ZodObject<{
531
531
  conditions: z.ZodArray<z.ZodObject<{
532
532
  field: z.ZodString;
533
533
  operator: z.ZodEnum<{
534
- in: "in";
535
- equals: "equals";
536
- not_equals: "not_equals";
537
534
  contains: "contains";
538
- not_contains: "not_contains";
535
+ equals: "equals";
536
+ exists: "exists";
539
537
  greater_than: "greater_than";
540
- less_than: "less_than";
541
538
  greater_than_or_equal: "greater_than_or_equal";
539
+ in: "in";
540
+ less_than: "less_than";
542
541
  less_than_or_equal: "less_than_or_equal";
543
- not_in: "not_in";
544
- exists: "exists";
542
+ not_contains: "not_contains";
543
+ not_equals: "not_equals";
545
544
  not_exists: "not_exists";
545
+ not_in: "not_in";
546
546
  }>;
547
547
  value: z.ZodOptional<z.ZodUnknown>;
548
548
  }, z.core.$strip>>;
@@ -569,18 +569,18 @@ export declare const comparePromptBlockVersionsResponseSchema: z.ZodObject<{
569
569
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
570
570
  field: z.ZodString;
571
571
  operator: z.ZodEnum<{
572
- in: "in";
573
- equals: "equals";
574
- not_equals: "not_equals";
575
572
  contains: "contains";
576
- not_contains: "not_contains";
573
+ equals: "equals";
574
+ exists: "exists";
577
575
  greater_than: "greater_than";
578
- less_than: "less_than";
579
576
  greater_than_or_equal: "greater_than_or_equal";
577
+ in: "in";
578
+ less_than: "less_than";
580
579
  less_than_or_equal: "less_than_or_equal";
581
- not_in: "not_in";
582
- exists: "exists";
580
+ not_contains: "not_contains";
581
+ not_equals: "not_equals";
583
582
  not_exists: "not_exists";
583
+ not_in: "not_in";
584
584
  }>;
585
585
  value: z.ZodOptional<z.ZodUnknown>;
586
586
  }, z.core.$strip>, z.ZodObject<{
@@ -591,18 +591,18 @@ export declare const comparePromptBlockVersionsResponseSchema: z.ZodObject<{
591
591
  conditions: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
592
592
  field: z.ZodString;
593
593
  operator: z.ZodEnum<{
594
- in: "in";
595
- equals: "equals";
596
- not_equals: "not_equals";
597
594
  contains: "contains";
598
- not_contains: "not_contains";
595
+ equals: "equals";
596
+ exists: "exists";
599
597
  greater_than: "greater_than";
600
- less_than: "less_than";
601
598
  greater_than_or_equal: "greater_than_or_equal";
599
+ in: "in";
600
+ less_than: "less_than";
602
601
  less_than_or_equal: "less_than_or_equal";
603
- not_in: "not_in";
604
- exists: "exists";
602
+ not_contains: "not_contains";
603
+ not_equals: "not_equals";
605
604
  not_exists: "not_exists";
605
+ not_in: "not_in";
606
606
  }>;
607
607
  value: z.ZodOptional<z.ZodUnknown>;
608
608
  }, z.core.$strip>, z.ZodObject<{
@@ -613,18 +613,18 @@ export declare const comparePromptBlockVersionsResponseSchema: z.ZodObject<{
613
613
  conditions: z.ZodArray<z.ZodObject<{
614
614
  field: z.ZodString;
615
615
  operator: z.ZodEnum<{
616
- in: "in";
617
- equals: "equals";
618
- not_equals: "not_equals";
619
616
  contains: "contains";
620
- not_contains: "not_contains";
617
+ equals: "equals";
618
+ exists: "exists";
621
619
  greater_than: "greater_than";
622
- less_than: "less_than";
623
620
  greater_than_or_equal: "greater_than_or_equal";
621
+ in: "in";
622
+ less_than: "less_than";
624
623
  less_than_or_equal: "less_than_or_equal";
625
- not_in: "not_in";
626
- exists: "exists";
624
+ not_contains: "not_contains";
625
+ not_equals: "not_equals";
627
626
  not_exists: "not_exists";
627
+ not_in: "not_in";
628
628
  }>;
629
629
  value: z.ZodOptional<z.ZodUnknown>;
630
630
  }, z.core.$strip>>;
@@ -4,24 +4,24 @@ export declare const responseIdPathParams: z.ZodObject<{
4
4
  }, z.core.$strip>;
5
5
  export declare const responseInputTextPartSchema: z.ZodObject<{
6
6
  type: z.ZodEnum<{
7
- text: "text";
8
7
  input_text: "input_text";
9
8
  output_text: "output_text";
9
+ text: "text";
10
10
  }>;
11
11
  text: z.ZodString;
12
12
  }, z.core.$strip>;
13
13
  export declare const responseInputMessageSchema: z.ZodObject<{
14
14
  role: z.ZodEnum<{
15
- user: "user";
16
- system: "system";
17
15
  assistant: "assistant";
18
16
  developer: "developer";
17
+ system: "system";
18
+ user: "user";
19
19
  }>;
20
20
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
21
21
  type: z.ZodEnum<{
22
- text: "text";
23
22
  input_text: "input_text";
24
23
  output_text: "output_text";
24
+ text: "text";
25
25
  }>;
26
26
  text: z.ZodString;
27
27
  }, z.core.$strip>>]>;
@@ -54,16 +54,16 @@ export declare const createResponseBodySchema: z.ZodObject<{
54
54
  agent_id: z.ZodOptional<z.ZodString>;
55
55
  input: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
56
56
  role: z.ZodEnum<{
57
- user: "user";
58
- system: "system";
59
57
  assistant: "assistant";
60
58
  developer: "developer";
59
+ system: "system";
60
+ user: "user";
61
61
  }>;
62
62
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
63
63
  type: z.ZodEnum<{
64
- text: "text";
65
64
  input_text: "input_text";
66
65
  output_text: "output_text";
66
+ text: "text";
67
67
  }>;
68
68
  text: z.ZodString;
69
69
  }, z.core.$strip>>]>;
@@ -199,9 +199,9 @@ export declare const conversationItemMessageSchema: z.ZodObject<{
199
199
  id: z.ZodString;
200
200
  type: z.ZodLiteral<"message">;
201
201
  role: z.ZodEnum<{
202
- user: "user";
203
- system: "system";
204
202
  assistant: "assistant";
203
+ system: "system";
204
+ user: "user";
205
205
  }>;
206
206
  status: z.ZodLiteral<"completed">;
207
207
  content: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -218,9 +218,9 @@ export declare const conversationItemSchema: z.ZodUnion<readonly [z.ZodObject<{
218
218
  id: z.ZodString;
219
219
  type: z.ZodLiteral<"message">;
220
220
  role: z.ZodEnum<{
221
- user: "user";
222
- system: "system";
223
221
  assistant: "assistant";
222
+ system: "system";
223
+ user: "user";
224
224
  }>;
225
225
  status: z.ZodLiteral<"completed">;
226
226
  content: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{