@camunda/camunda-api-zod-schemas 0.0.44 → 0.0.45

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.
@@ -632,7 +632,7 @@ declare const queryElementInstanceIncidentsResponseBodySchema: z.ZodType<import(
632
632
  processInstanceKey: string;
633
633
  rootProcessInstanceKey: string | null;
634
634
  elementInstanceKey: string;
635
- jobKey: string;
635
+ jobKey: string | null;
636
636
  }>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
637
637
  processDefinitionId: string;
638
638
  errorType: "UNSPECIFIED" | "UNKNOWN" | "IO_MAPPING_ERROR" | "JOB_NO_RETRIES" | "EXECUTION_LISTENER_NO_RETRIES" | "TASK_LISTENER_NO_RETRIES" | "CONDITION_ERROR" | "EXTRACT_VALUE_ERROR" | "CALLED_ELEMENT_ERROR" | "UNHANDLED_ERROR_EVENT" | "MESSAGE_SIZE_EXCEEDED" | "CALLED_DECISION_ERROR" | "DECISION_EVALUATION_ERROR" | "FORM_NOT_FOUND" | "RESOURCE_NOT_FOUND" | "AD_HOC_SUB_PROCESS_NO_RETRIES";
@@ -646,7 +646,7 @@ declare const queryElementInstanceIncidentsResponseBodySchema: z.ZodType<import(
646
646
  processInstanceKey: string;
647
647
  rootProcessInstanceKey: string | null;
648
648
  elementInstanceKey: string;
649
- jobKey: string;
649
+ jobKey: string | null;
650
650
  }>, unknown>>;
651
651
  type QueryElementInstanceIncidentsResponseBody = z.infer<typeof queryElementInstanceIncidentsResponseBodySchema>;
652
652
  declare const queryElementInstanceIncidents: Endpoint<Pick<ElementInstance, 'elementInstanceKey'>>;
@@ -61,7 +61,7 @@ declare const incidentSchema: z.ZodObject<{
61
61
  processInstanceKey: z.ZodString;
62
62
  rootProcessInstanceKey: z.ZodNullable<z.ZodString>;
63
63
  elementInstanceKey: z.ZodString;
64
- jobKey: z.ZodString;
64
+ jobKey: z.ZodNullable<z.ZodString>;
65
65
  }, z.core.$strip>;
66
66
  type Incident = z.infer<typeof incidentSchema>;
67
67
  declare const resolveIncident: Endpoint<Pick<Incident, 'incidentKey'>>;
@@ -101,7 +101,7 @@ declare const getIncidentResponseBodySchema: z.ZodObject<{
101
101
  processInstanceKey: z.ZodString;
102
102
  rootProcessInstanceKey: z.ZodNullable<z.ZodString>;
103
103
  elementInstanceKey: z.ZodString;
104
- jobKey: z.ZodString;
104
+ jobKey: z.ZodNullable<z.ZodString>;
105
105
  }, z.core.$strip>;
106
106
  type GetIncidentResponseBody = z.infer<typeof getIncidentResponseBodySchema>;
107
107
  declare const queryIncidentsRequestBodySchema: z.ZodObject<{
@@ -349,7 +349,7 @@ declare const queryIncidentsResponseBodySchema: z.ZodType<import('./common').Que
349
349
  processInstanceKey: string;
350
350
  rootProcessInstanceKey: string | null;
351
351
  elementInstanceKey: string;
352
- jobKey: string;
352
+ jobKey: string | null;
353
353
  }>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
354
354
  processDefinitionId: string;
355
355
  errorType: "UNSPECIFIED" | "UNKNOWN" | "IO_MAPPING_ERROR" | "JOB_NO_RETRIES" | "EXECUTION_LISTENER_NO_RETRIES" | "TASK_LISTENER_NO_RETRIES" | "CONDITION_ERROR" | "EXTRACT_VALUE_ERROR" | "CALLED_ELEMENT_ERROR" | "UNHANDLED_ERROR_EVENT" | "MESSAGE_SIZE_EXCEEDED" | "CALLED_DECISION_ERROR" | "DECISION_EVALUATION_ERROR" | "FORM_NOT_FOUND" | "RESOURCE_NOT_FOUND" | "AD_HOC_SUB_PROCESS_NO_RETRIES";
@@ -363,7 +363,7 @@ declare const queryIncidentsResponseBodySchema: z.ZodType<import('./common').Que
363
363
  processInstanceKey: string;
364
364
  rootProcessInstanceKey: string | null;
365
365
  elementInstanceKey: string;
366
- jobKey: string;
366
+ jobKey: string | null;
367
367
  }>, unknown>>;
368
368
  type QueryIncidentsResponseBody = z.infer<typeof queryIncidentsResponseBodySchema>;
369
369
  declare const queryIncidents: Endpoint;
@@ -32,7 +32,7 @@ const incidentSchema = z.object({
32
32
  processInstanceKey: z.string(),
33
33
  rootProcessInstanceKey: z.string().nullable(),
34
34
  elementInstanceKey: z.string(),
35
- jobKey: z.string()
35
+ jobKey: z.string().nullable()
36
36
  });
37
37
  const resolveIncident = {
38
38
  method: "POST",
@@ -244,7 +244,7 @@ declare const endpoints: {
244
244
  processInstanceKey: string;
245
245
  rootProcessInstanceKey: string | null;
246
246
  elementInstanceKey: string;
247
- jobKey: string;
247
+ jobKey: string | null;
248
248
  }, "incidentKey">>;
249
249
  readonly getIncident: import('./common').Endpoint<Pick<{
250
250
  processDefinitionId: string;
@@ -259,7 +259,7 @@ declare const endpoints: {
259
259
  processInstanceKey: string;
260
260
  rootProcessInstanceKey: string | null;
261
261
  elementInstanceKey: string;
262
- jobKey: string;
262
+ jobKey: string | null;
263
263
  }, "incidentKey">>;
264
264
  readonly queryIncidents: import('./common').Endpoint<undefined>;
265
265
  readonly getLicense: import('./common').Endpoint<undefined>;
@@ -716,7 +716,7 @@ declare const queryProcessInstanceIncidentsResponseBodySchema: z.ZodType<import(
716
716
  processInstanceKey: string;
717
717
  rootProcessInstanceKey: string | null;
718
718
  elementInstanceKey: string;
719
- jobKey: string;
719
+ jobKey: string | null;
720
720
  }>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
721
721
  processDefinitionId: string;
722
722
  errorType: "UNSPECIFIED" | "UNKNOWN" | "IO_MAPPING_ERROR" | "JOB_NO_RETRIES" | "EXECUTION_LISTENER_NO_RETRIES" | "TASK_LISTENER_NO_RETRIES" | "CONDITION_ERROR" | "EXTRACT_VALUE_ERROR" | "CALLED_ELEMENT_ERROR" | "UNHANDLED_ERROR_EVENT" | "MESSAGE_SIZE_EXCEEDED" | "CALLED_DECISION_ERROR" | "DECISION_EVALUATION_ERROR" | "FORM_NOT_FOUND" | "RESOURCE_NOT_FOUND" | "AD_HOC_SUB_PROCESS_NO_RETRIES";
@@ -730,7 +730,7 @@ declare const queryProcessInstanceIncidentsResponseBodySchema: z.ZodType<import(
730
730
  processInstanceKey: string;
731
731
  rootProcessInstanceKey: string | null;
732
732
  elementInstanceKey: string;
733
- jobKey: string;
733
+ jobKey: string | null;
734
734
  }>, unknown>>;
735
735
  type QueryProcessInstanceIncidentsResponseBody = z.infer<typeof queryProcessInstanceIncidentsResponseBodySchema>;
736
736
  declare const queryProcessInstanceIncidents: Endpoint<Pick<ProcessInstance, 'processInstanceKey'>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/camunda-api-zod-schemas",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
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>",