@camunda/camunda-api-zod-schemas 0.0.64 → 0.0.65

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.
@@ -61,6 +61,7 @@ declare const agentInstanceSchema: z.ZodObject<{
61
61
  creationDate: z.ZodString;
62
62
  lastUpdatedDate: z.ZodString;
63
63
  completionDate: z.ZodNullable<z.ZodString>;
64
+ elementInstanceKeys: z.ZodArray<z.ZodString>;
64
65
  }, z.core.$strip>;
65
66
  type AgentInstance = z.infer<typeof agentInstanceSchema>;
66
67
  declare const agentInstanceFilterSchema: z.ZodObject<{
@@ -172,6 +173,13 @@ declare const agentInstanceFilterSchema: z.ZodObject<{
172
173
  $lte: z.ZodOptional<z.ZodString>;
173
174
  $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
174
175
  }, z.core.$strip>]>>;
176
+ elementInstanceKeys: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
177
+ $eq: z.ZodOptional<z.ZodString>;
178
+ $neq: z.ZodOptional<z.ZodString>;
179
+ $exists: z.ZodOptional<z.ZodBoolean>;
180
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
181
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
182
+ }, z.core.$strip>, z.ZodString]>>>;
175
183
  }, z.core.$strip>;
176
184
  type AgentInstanceFilter = z.infer<typeof agentInstanceFilterSchema>;
177
185
  declare const queryAgentInstancesRequestBodySchema: z.ZodObject<{
@@ -302,6 +310,13 @@ declare const queryAgentInstancesRequestBodySchema: z.ZodObject<{
302
310
  $lte: z.ZodOptional<z.ZodString>;
303
311
  $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
304
312
  }, z.core.$strip>]>>;
313
+ elementInstanceKeys: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
314
+ $eq: z.ZodOptional<z.ZodString>;
315
+ $neq: z.ZodOptional<z.ZodString>;
316
+ $exists: z.ZodOptional<z.ZodBoolean>;
317
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
318
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
319
+ }, z.core.$strip>, z.ZodString]>>>;
305
320
  }, z.core.$strip>>;
306
321
  }, z.core.$strip>;
307
322
  type QueryAgentInstancesRequestBody = z.infer<typeof queryAgentInstancesRequestBodySchema>;
@@ -331,6 +346,7 @@ declare const queryAgentInstancesResponseBodySchema: z.ZodType<import('./common'
331
346
  creationDate: string;
332
347
  lastUpdatedDate: string;
333
348
  completionDate: string | null;
349
+ elementInstanceKeys: string[];
334
350
  }>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
335
351
  agentInstanceKey: string;
336
352
  status: "COMPLETED" | "IDLE" | "INITIALIZING" | "THINKING" | "TOOL_CALLING" | "TOOL_DISCOVERY";
@@ -357,6 +373,7 @@ declare const queryAgentInstancesResponseBodySchema: z.ZodType<import('./common'
357
373
  creationDate: string;
358
374
  lastUpdatedDate: string;
359
375
  completionDate: string | null;
376
+ elementInstanceKeys: string[];
360
377
  }>, unknown>>;
361
378
  type QueryAgentInstancesResponseBody = z.infer<typeof queryAgentInstancesResponseBodySchema>;
362
379
  declare const getAgentInstanceResponseBodySchema: z.ZodObject<{
@@ -392,6 +409,7 @@ declare const getAgentInstanceResponseBodySchema: z.ZodObject<{
392
409
  creationDate: z.ZodString;
393
410
  lastUpdatedDate: z.ZodString;
394
411
  completionDate: z.ZodNullable<z.ZodString>;
412
+ elementInstanceKeys: z.ZodArray<z.ZodString>;
395
413
  }, z.core.$strip>;
396
414
  type GetAgentInstanceResponseBody = z.infer<typeof getAgentInstanceResponseBodySchema>;
397
415
  declare const getAgentInstance: Endpoint<{
@@ -37,7 +37,8 @@ var agentInstanceSchema = z.object({
37
37
  tenantId: z.string(),
38
38
  creationDate: z.string(),
39
39
  lastUpdatedDate: z.string(),
40
- completionDate: z.string().nullable()
40
+ completionDate: z.string().nullable(),
41
+ elementInstanceKeys: z.array(z.string())
41
42
  });
42
43
  var agentInstanceFilterSchema = z.object({
43
44
  agentInstanceKey: basicStringFilterSchema,
@@ -48,7 +49,8 @@ var agentInstanceFilterSchema = z.object({
48
49
  tenantId: basicStringFilterSchema,
49
50
  creationDate: advancedDateTimeFilterSchema,
50
51
  lastUpdatedDate: advancedDateTimeFilterSchema,
51
- completionDate: advancedDateTimeFilterSchema
52
+ completionDate: advancedDateTimeFilterSchema,
53
+ elementInstanceKeys: z.array(basicStringFilterSchema)
52
54
  }).partial();
53
55
  var queryAgentInstancesRequestBodySchema = getQueryRequestBodySchema({
54
56
  sortFields: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/camunda-api-zod-schemas",
3
- "version": "0.0.64",
3
+ "version": "0.0.65",
4
4
  "license": "LicenseRef-Camunda-1.0",
5
5
  "description": "Zod schemas and TypeScript types for Camunda 8 unified API",
6
6
  "author": "Vinicius Goulart <vinicius.goulart@camunda.com>",