@camunda/camunda-api-zod-schemas 0.0.41 → 0.0.43
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.
- package/README.md +7 -0
- package/dist/8.8/batch-operation.d.ts +17 -4
- package/dist/8.8/batch-operation.js +1 -0
- package/dist/8.8/process-instance.d.ts +5 -0
- package/dist/8.9/audit-log.d.ts +20 -20
- package/dist/8.9/audit-log.js +5 -5
- package/dist/8.9/user-task-audit-log.d.ts +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,3 +26,10 @@ yarn add @camunda/camunda-api-zod-schemas
|
|
|
26
26
|
The library exports modules that correspond to the different parts of the Camunda API. You can import the schemas and types you need from the main package or specific version sub-modules like `@camunda/camunda-api-zod-schemas/8.8`.
|
|
27
27
|
|
|
28
28
|
Refer to the exported members from `lib/8.8/index.ts` and other files in the `lib` directory for available schemas and types.
|
|
29
|
+
|
|
30
|
+
## Publishing a new version
|
|
31
|
+
|
|
32
|
+
1. Increment the version in `package.json` and push changes to `main`.
|
|
33
|
+
2. Run the [Publish Zod Schemas to npm](https://github.com/camunda/camunda/actions/workflows/publish-zod-schemas.yml) GitHub action.
|
|
34
|
+
- By default, the dry-run option is enabled. Uncheck it to publish the new version.
|
|
35
|
+
3. Update the `@camunda/camunda-api-zod-schemas` package versions in Operate, Admin and Tasklist.
|
|
@@ -2,6 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
import { Endpoint } from '../common';
|
|
3
3
|
declare const batchOperationTypeSchema: z.ZodEnum<{
|
|
4
4
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
5
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
5
6
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
6
7
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
7
8
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -42,6 +43,7 @@ declare const batchOperationSchema: z.ZodObject<{
|
|
|
42
43
|
}>;
|
|
43
44
|
batchOperationType: z.ZodEnum<{
|
|
44
45
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
46
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
45
47
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
46
48
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
47
49
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -74,6 +76,7 @@ declare const batchOperationItemSchema: z.ZodObject<{
|
|
|
74
76
|
errorMessage: z.ZodOptional<z.ZodString>;
|
|
75
77
|
operationType: z.ZodEnum<{
|
|
76
78
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
79
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
77
80
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
78
81
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
79
82
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -116,6 +119,7 @@ declare const queryBatchOperationsRequestBodySchema: z.ZodObject<{
|
|
|
116
119
|
}, z.core.$strip>, z.ZodString]>>;
|
|
117
120
|
operationType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
118
121
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
122
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
119
123
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
120
124
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
121
125
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -127,6 +131,7 @@ declare const queryBatchOperationsRequestBodySchema: z.ZodObject<{
|
|
|
127
131
|
}>, z.ZodObject<{
|
|
128
132
|
$eq: z.ZodOptional<z.ZodEnum<{
|
|
129
133
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
134
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
130
135
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
131
136
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
132
137
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -138,6 +143,7 @@ declare const queryBatchOperationsRequestBodySchema: z.ZodObject<{
|
|
|
138
143
|
}>>;
|
|
139
144
|
$neq: z.ZodOptional<z.ZodEnum<{
|
|
140
145
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
146
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
141
147
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
142
148
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
143
149
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -150,6 +156,7 @@ declare const queryBatchOperationsRequestBodySchema: z.ZodObject<{
|
|
|
150
156
|
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
151
157
|
$in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
152
158
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
159
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
153
160
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
154
161
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
155
162
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -161,6 +168,7 @@ declare const queryBatchOperationsRequestBodySchema: z.ZodObject<{
|
|
|
161
168
|
}>>>;
|
|
162
169
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
163
170
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
171
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
164
172
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
165
173
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
166
174
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -224,7 +232,7 @@ type QueryBatchOperationsRequestBody = z.infer<typeof queryBatchOperationsReques
|
|
|
224
232
|
declare const queryBatchOperationsResponseBodySchema: z.ZodType<import('../common').QueryResponseBody<{
|
|
225
233
|
batchOperationKey: string;
|
|
226
234
|
state: "CREATED" | "ACTIVE" | "SUSPENDED" | "COMPLETED" | "PARTIALLY_COMPLETED" | "CANCELED" | "FAILED";
|
|
227
|
-
batchOperationType: "DELETE_PROCESS_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "RESOLVE_INCIDENT" | "MIGRATE_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "DELETE_DECISION_DEFINITION" | "DELETE_PROCESS_DEFINITION" | "ADD_VARIABLE" | "UPDATE_VARIABLE";
|
|
235
|
+
batchOperationType: "DELETE_PROCESS_INSTANCE" | "DELETE_DECISION_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "RESOLVE_INCIDENT" | "MIGRATE_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "DELETE_DECISION_DEFINITION" | "DELETE_PROCESS_DEFINITION" | "ADD_VARIABLE" | "UPDATE_VARIABLE";
|
|
228
236
|
operationsTotalCount: number;
|
|
229
237
|
operationsFailedCount: number;
|
|
230
238
|
operationsCompletedCount: number;
|
|
@@ -235,7 +243,7 @@ declare const queryBatchOperationsResponseBodySchema: z.ZodType<import('../commo
|
|
|
235
243
|
}>, unknown, z.core.$ZodTypeInternals<import('../common').QueryResponseBody<{
|
|
236
244
|
batchOperationKey: string;
|
|
237
245
|
state: "CREATED" | "ACTIVE" | "SUSPENDED" | "COMPLETED" | "PARTIALLY_COMPLETED" | "CANCELED" | "FAILED";
|
|
238
|
-
batchOperationType: "DELETE_PROCESS_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "RESOLVE_INCIDENT" | "MIGRATE_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "DELETE_DECISION_DEFINITION" | "DELETE_PROCESS_DEFINITION" | "ADD_VARIABLE" | "UPDATE_VARIABLE";
|
|
246
|
+
batchOperationType: "DELETE_PROCESS_INSTANCE" | "DELETE_DECISION_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "RESOLVE_INCIDENT" | "MIGRATE_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "DELETE_DECISION_DEFINITION" | "DELETE_PROCESS_DEFINITION" | "ADD_VARIABLE" | "UPDATE_VARIABLE";
|
|
239
247
|
operationsTotalCount: number;
|
|
240
248
|
operationsFailedCount: number;
|
|
241
249
|
operationsCompletedCount: number;
|
|
@@ -321,6 +329,7 @@ declare const queryBatchOperationItemsRequestBodySchema: z.ZodObject<{
|
|
|
321
329
|
}, z.core.$strip>]>>;
|
|
322
330
|
operationType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
323
331
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
332
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
324
333
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
325
334
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
326
335
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -332,6 +341,7 @@ declare const queryBatchOperationItemsRequestBodySchema: z.ZodObject<{
|
|
|
332
341
|
}>, z.ZodObject<{
|
|
333
342
|
$eq: z.ZodOptional<z.ZodEnum<{
|
|
334
343
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
344
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
335
345
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
336
346
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
337
347
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -343,6 +353,7 @@ declare const queryBatchOperationItemsRequestBodySchema: z.ZodObject<{
|
|
|
343
353
|
}>>;
|
|
344
354
|
$neq: z.ZodOptional<z.ZodEnum<{
|
|
345
355
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
356
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
346
357
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
347
358
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
348
359
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -355,6 +366,7 @@ declare const queryBatchOperationItemsRequestBodySchema: z.ZodObject<{
|
|
|
355
366
|
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
356
367
|
$in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
357
368
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
369
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
358
370
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
359
371
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
360
372
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -366,6 +378,7 @@ declare const queryBatchOperationItemsRequestBodySchema: z.ZodObject<{
|
|
|
366
378
|
}>>>;
|
|
367
379
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
368
380
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
381
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
369
382
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
370
383
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
371
384
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -384,7 +397,7 @@ declare const queryBatchOperationItemsResponseBodySchema: z.ZodType<import('../c
|
|
|
384
397
|
itemKey: string;
|
|
385
398
|
processInstanceKey: string;
|
|
386
399
|
state: "ACTIVE" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
387
|
-
operationType: "DELETE_PROCESS_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "RESOLVE_INCIDENT" | "MIGRATE_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "DELETE_DECISION_DEFINITION" | "DELETE_PROCESS_DEFINITION" | "ADD_VARIABLE" | "UPDATE_VARIABLE";
|
|
400
|
+
operationType: "DELETE_PROCESS_INSTANCE" | "DELETE_DECISION_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "RESOLVE_INCIDENT" | "MIGRATE_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "DELETE_DECISION_DEFINITION" | "DELETE_PROCESS_DEFINITION" | "ADD_VARIABLE" | "UPDATE_VARIABLE";
|
|
388
401
|
processedDate?: string | undefined;
|
|
389
402
|
errorMessage?: string | undefined;
|
|
390
403
|
}>, unknown, z.core.$ZodTypeInternals<import('../common').QueryResponseBody<{
|
|
@@ -392,7 +405,7 @@ declare const queryBatchOperationItemsResponseBodySchema: z.ZodType<import('../c
|
|
|
392
405
|
itemKey: string;
|
|
393
406
|
processInstanceKey: string;
|
|
394
407
|
state: "ACTIVE" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
395
|
-
operationType: "DELETE_PROCESS_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "RESOLVE_INCIDENT" | "MIGRATE_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "DELETE_DECISION_DEFINITION" | "DELETE_PROCESS_DEFINITION" | "ADD_VARIABLE" | "UPDATE_VARIABLE";
|
|
408
|
+
operationType: "DELETE_PROCESS_INSTANCE" | "DELETE_DECISION_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "RESOLVE_INCIDENT" | "MIGRATE_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "DELETE_DECISION_DEFINITION" | "DELETE_PROCESS_DEFINITION" | "ADD_VARIABLE" | "UPDATE_VARIABLE";
|
|
396
409
|
processedDate?: string | undefined;
|
|
397
410
|
errorMessage?: string | undefined;
|
|
398
411
|
}>, unknown>>;
|
|
@@ -1093,6 +1093,7 @@ declare const createIncidentResolutionBatchOperationResponseBodySchema: z.ZodObj
|
|
|
1093
1093
|
batchOperationKey: z.ZodString;
|
|
1094
1094
|
batchOperationType: z.ZodEnum<{
|
|
1095
1095
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
1096
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
1096
1097
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
1097
1098
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
1098
1099
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -1470,6 +1471,7 @@ declare const createCancellationBatchOperationResponseBodySchema: z.ZodObject<{
|
|
|
1470
1471
|
batchOperationKey: z.ZodString;
|
|
1471
1472
|
batchOperationType: z.ZodEnum<{
|
|
1472
1473
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
1474
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
1473
1475
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
1474
1476
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
1475
1477
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -1854,6 +1856,7 @@ declare const createMigrationBatchOperationResponseBodySchema: z.ZodObject<{
|
|
|
1854
1856
|
batchOperationKey: z.ZodString;
|
|
1855
1857
|
batchOperationType: z.ZodEnum<{
|
|
1856
1858
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
1859
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
1857
1860
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
1858
1861
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
1859
1862
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -2235,6 +2238,7 @@ declare const createModificationBatchOperationResponseBodySchema: z.ZodObject<{
|
|
|
2235
2238
|
batchOperationKey: z.ZodString;
|
|
2236
2239
|
batchOperationType: z.ZodEnum<{
|
|
2237
2240
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
2241
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
2238
2242
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
2239
2243
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
2240
2244
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
|
@@ -2267,6 +2271,7 @@ declare const resolveProcessInstanceIncidentsResponseBodySchema: z.ZodObject<{
|
|
|
2267
2271
|
batchOperationKey: z.ZodString;
|
|
2268
2272
|
batchOperationType: z.ZodEnum<{
|
|
2269
2273
|
DELETE_PROCESS_INSTANCE: "DELETE_PROCESS_INSTANCE";
|
|
2274
|
+
DELETE_DECISION_INSTANCE: "DELETE_DECISION_INSTANCE";
|
|
2270
2275
|
CANCEL_PROCESS_INSTANCE: "CANCEL_PROCESS_INSTANCE";
|
|
2271
2276
|
RESOLVE_INCIDENT: "RESOLVE_INCIDENT";
|
|
2272
2277
|
MIGRATE_PROCESS_INSTANCE: "MIGRATE_PROCESS_INSTANCE";
|
package/dist/8.9/audit-log.d.ts
CHANGED
|
@@ -120,17 +120,17 @@ declare const auditLogSchema: z.ZodObject<{
|
|
|
120
120
|
ADMIN: "ADMIN";
|
|
121
121
|
}>;
|
|
122
122
|
processDefinitionId: z.ZodNullable<z.ZodString>;
|
|
123
|
-
processDefinitionKey: z.ZodString
|
|
124
|
-
processInstanceKey: z.ZodString
|
|
123
|
+
processDefinitionKey: z.ZodNullable<z.ZodString>;
|
|
124
|
+
processInstanceKey: z.ZodNullable<z.ZodString>;
|
|
125
125
|
rootProcessInstanceKey: z.ZodNullable<z.ZodString>;
|
|
126
|
-
elementInstanceKey: z.ZodString
|
|
126
|
+
elementInstanceKey: z.ZodNullable<z.ZodString>;
|
|
127
127
|
jobKey: z.ZodNullable<z.ZodString>;
|
|
128
128
|
userTaskKey: z.ZodNullable<z.ZodString>;
|
|
129
129
|
decisionRequirementsId: z.ZodNullable<z.ZodString>;
|
|
130
130
|
decisionRequirementsKey: z.ZodNullable<z.ZodString>;
|
|
131
131
|
decisionDefinitionId: z.ZodNullable<z.ZodString>;
|
|
132
|
-
decisionDefinitionKey: z.ZodString
|
|
133
|
-
decisionEvaluationKey: z.ZodString
|
|
132
|
+
decisionDefinitionKey: z.ZodNullable<z.ZodString>;
|
|
133
|
+
decisionEvaluationKey: z.ZodNullable<z.ZodString>;
|
|
134
134
|
deploymentKey: z.ZodNullable<z.ZodString>;
|
|
135
135
|
formKey: z.ZodNullable<z.ZodString>;
|
|
136
136
|
resourceKey: z.ZodNullable<z.ZodString>;
|
|
@@ -1053,17 +1053,17 @@ declare const queryAuditLogsResponseBodySchema: z.ZodType<import('./common').Que
|
|
|
1053
1053
|
annotation: string | null;
|
|
1054
1054
|
category: "DEPLOYED_RESOURCES" | "USER_TASKS" | "ADMIN";
|
|
1055
1055
|
processDefinitionId: string | null;
|
|
1056
|
-
processDefinitionKey: string;
|
|
1057
|
-
processInstanceKey: string;
|
|
1056
|
+
processDefinitionKey: string | null;
|
|
1057
|
+
processInstanceKey: string | null;
|
|
1058
1058
|
rootProcessInstanceKey: string | null;
|
|
1059
|
-
elementInstanceKey: string;
|
|
1059
|
+
elementInstanceKey: string | null;
|
|
1060
1060
|
jobKey: string | null;
|
|
1061
1061
|
userTaskKey: string | null;
|
|
1062
1062
|
decisionRequirementsId: string | null;
|
|
1063
1063
|
decisionRequirementsKey: string | null;
|
|
1064
1064
|
decisionDefinitionId: string | null;
|
|
1065
|
-
decisionDefinitionKey: string;
|
|
1066
|
-
decisionEvaluationKey: string;
|
|
1065
|
+
decisionDefinitionKey: string | null;
|
|
1066
|
+
decisionEvaluationKey: string | null;
|
|
1067
1067
|
deploymentKey: string | null;
|
|
1068
1068
|
formKey: string | null;
|
|
1069
1069
|
resourceKey: string | null;
|
|
@@ -1086,17 +1086,17 @@ declare const queryAuditLogsResponseBodySchema: z.ZodType<import('./common').Que
|
|
|
1086
1086
|
annotation: string | null;
|
|
1087
1087
|
category: "DEPLOYED_RESOURCES" | "USER_TASKS" | "ADMIN";
|
|
1088
1088
|
processDefinitionId: string | null;
|
|
1089
|
-
processDefinitionKey: string;
|
|
1090
|
-
processInstanceKey: string;
|
|
1089
|
+
processDefinitionKey: string | null;
|
|
1090
|
+
processInstanceKey: string | null;
|
|
1091
1091
|
rootProcessInstanceKey: string | null;
|
|
1092
|
-
elementInstanceKey: string;
|
|
1092
|
+
elementInstanceKey: string | null;
|
|
1093
1093
|
jobKey: string | null;
|
|
1094
1094
|
userTaskKey: string | null;
|
|
1095
1095
|
decisionRequirementsId: string | null;
|
|
1096
1096
|
decisionRequirementsKey: string | null;
|
|
1097
1097
|
decisionDefinitionId: string | null;
|
|
1098
|
-
decisionDefinitionKey: string;
|
|
1099
|
-
decisionEvaluationKey: string;
|
|
1098
|
+
decisionDefinitionKey: string | null;
|
|
1099
|
+
decisionEvaluationKey: string | null;
|
|
1100
1100
|
deploymentKey: string | null;
|
|
1101
1101
|
formKey: string | null;
|
|
1102
1102
|
resourceKey: string | null;
|
|
@@ -1178,17 +1178,17 @@ declare const getAuditLogResponseBodySchema: z.ZodObject<{
|
|
|
1178
1178
|
ADMIN: "ADMIN";
|
|
1179
1179
|
}>;
|
|
1180
1180
|
processDefinitionId: z.ZodNullable<z.ZodString>;
|
|
1181
|
-
processDefinitionKey: z.ZodString
|
|
1182
|
-
processInstanceKey: z.ZodString
|
|
1181
|
+
processDefinitionKey: z.ZodNullable<z.ZodString>;
|
|
1182
|
+
processInstanceKey: z.ZodNullable<z.ZodString>;
|
|
1183
1183
|
rootProcessInstanceKey: z.ZodNullable<z.ZodString>;
|
|
1184
|
-
elementInstanceKey: z.ZodString
|
|
1184
|
+
elementInstanceKey: z.ZodNullable<z.ZodString>;
|
|
1185
1185
|
jobKey: z.ZodNullable<z.ZodString>;
|
|
1186
1186
|
userTaskKey: z.ZodNullable<z.ZodString>;
|
|
1187
1187
|
decisionRequirementsId: z.ZodNullable<z.ZodString>;
|
|
1188
1188
|
decisionRequirementsKey: z.ZodNullable<z.ZodString>;
|
|
1189
1189
|
decisionDefinitionId: z.ZodNullable<z.ZodString>;
|
|
1190
|
-
decisionDefinitionKey: z.ZodString
|
|
1191
|
-
decisionEvaluationKey: z.ZodString
|
|
1190
|
+
decisionDefinitionKey: z.ZodNullable<z.ZodString>;
|
|
1191
|
+
decisionEvaluationKey: z.ZodNullable<z.ZodString>;
|
|
1192
1192
|
deploymentKey: z.ZodNullable<z.ZodString>;
|
|
1193
1193
|
formKey: z.ZodNullable<z.ZodString>;
|
|
1194
1194
|
resourceKey: z.ZodNullable<z.ZodString>;
|
package/dist/8.9/audit-log.js
CHANGED
|
@@ -62,17 +62,17 @@ const auditLogSchema = z.object({
|
|
|
62
62
|
annotation: z.string().nullable(),
|
|
63
63
|
category: auditLogCategorySchema,
|
|
64
64
|
processDefinitionId: z.string().nullable(),
|
|
65
|
-
processDefinitionKey: z.string(),
|
|
66
|
-
processInstanceKey: z.string(),
|
|
65
|
+
processDefinitionKey: z.string().nullable(),
|
|
66
|
+
processInstanceKey: z.string().nullable(),
|
|
67
67
|
rootProcessInstanceKey: z.string().nullable(),
|
|
68
|
-
elementInstanceKey: z.string(),
|
|
68
|
+
elementInstanceKey: z.string().nullable(),
|
|
69
69
|
jobKey: z.string().nullable(),
|
|
70
70
|
userTaskKey: z.string().nullable(),
|
|
71
71
|
decisionRequirementsId: z.string().nullable(),
|
|
72
72
|
decisionRequirementsKey: z.string().nullable(),
|
|
73
73
|
decisionDefinitionId: z.string().nullable(),
|
|
74
|
-
decisionDefinitionKey: z.string(),
|
|
75
|
-
decisionEvaluationKey: z.string(),
|
|
74
|
+
decisionDefinitionKey: z.string().nullable(),
|
|
75
|
+
decisionEvaluationKey: z.string().nullable(),
|
|
76
76
|
deploymentKey: z.string().nullable(),
|
|
77
77
|
formKey: z.string().nullable(),
|
|
78
78
|
resourceKey: z.string().nullable(),
|
|
@@ -346,17 +346,17 @@ declare const queryUserTaskAuditLogsResponseBodySchema: z.ZodType<import('./comm
|
|
|
346
346
|
annotation: string | null;
|
|
347
347
|
category: "DEPLOYED_RESOURCES" | "USER_TASKS" | "ADMIN";
|
|
348
348
|
processDefinitionId: string | null;
|
|
349
|
-
processDefinitionKey: string;
|
|
350
|
-
processInstanceKey: string;
|
|
349
|
+
processDefinitionKey: string | null;
|
|
350
|
+
processInstanceKey: string | null;
|
|
351
351
|
rootProcessInstanceKey: string | null;
|
|
352
|
-
elementInstanceKey: string;
|
|
352
|
+
elementInstanceKey: string | null;
|
|
353
353
|
jobKey: string | null;
|
|
354
354
|
userTaskKey: string | null;
|
|
355
355
|
decisionRequirementsId: string | null;
|
|
356
356
|
decisionRequirementsKey: string | null;
|
|
357
357
|
decisionDefinitionId: string | null;
|
|
358
|
-
decisionDefinitionKey: string;
|
|
359
|
-
decisionEvaluationKey: string;
|
|
358
|
+
decisionDefinitionKey: string | null;
|
|
359
|
+
decisionEvaluationKey: string | null;
|
|
360
360
|
deploymentKey: string | null;
|
|
361
361
|
formKey: string | null;
|
|
362
362
|
resourceKey: string | null;
|
|
@@ -379,17 +379,17 @@ declare const queryUserTaskAuditLogsResponseBodySchema: z.ZodType<import('./comm
|
|
|
379
379
|
annotation: string | null;
|
|
380
380
|
category: "DEPLOYED_RESOURCES" | "USER_TASKS" | "ADMIN";
|
|
381
381
|
processDefinitionId: string | null;
|
|
382
|
-
processDefinitionKey: string;
|
|
383
|
-
processInstanceKey: string;
|
|
382
|
+
processDefinitionKey: string | null;
|
|
383
|
+
processInstanceKey: string | null;
|
|
384
384
|
rootProcessInstanceKey: string | null;
|
|
385
|
-
elementInstanceKey: string;
|
|
385
|
+
elementInstanceKey: string | null;
|
|
386
386
|
jobKey: string | null;
|
|
387
387
|
userTaskKey: string | null;
|
|
388
388
|
decisionRequirementsId: string | null;
|
|
389
389
|
decisionRequirementsKey: string | null;
|
|
390
390
|
decisionDefinitionId: string | null;
|
|
391
|
-
decisionDefinitionKey: string;
|
|
392
|
-
decisionEvaluationKey: string;
|
|
391
|
+
decisionDefinitionKey: string | null;
|
|
392
|
+
decisionEvaluationKey: string | null;
|
|
393
393
|
deploymentKey: string | null;
|
|
394
394
|
formKey: string | null;
|
|
395
395
|
resourceKey: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/camunda-api-zod-schemas",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.43",
|
|
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>",
|