@camunda/camunda-api-zod-schemas 0.0.76 → 0.0.78
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/dist/8.10/audit-log.d.ts +42 -0
- package/dist/8.10/audit-log.js +8 -2
- package/dist/8.10/decision-instance.d.ts +29 -0
- package/dist/8.10/decision-instance.js +6 -3
- package/dist/8.10/index.d.ts +9 -0
- package/dist/8.10/user-task-audit-log.d.ts +4 -0
- package/dist/8.10/user-task.d.ts +12 -0
- package/dist/8.10/user-task.js +5 -2
- package/package.json +1 -1
package/dist/8.10/audit-log.d.ts
CHANGED
|
@@ -155,6 +155,8 @@ declare const auditLogSchema: z.ZodObject<{
|
|
|
155
155
|
}>>;
|
|
156
156
|
entityDescription: z.ZodNullable<z.ZodString>;
|
|
157
157
|
agentElementId: z.ZodNullable<z.ZodString>;
|
|
158
|
+
inboundChannelType: z.ZodNullable<z.ZodString>;
|
|
159
|
+
inboundChannelToolName: z.ZodNullable<z.ZodString>;
|
|
158
160
|
}, z.core.$strip>;
|
|
159
161
|
type AuditLog = z.infer<typeof auditLogSchema>;
|
|
160
162
|
declare const auditLogFilterSchema: z.ZodObject<{
|
|
@@ -607,6 +609,22 @@ declare const auditLogFilterSchema: z.ZodObject<{
|
|
|
607
609
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
608
610
|
$like: z.ZodOptional<z.ZodString>;
|
|
609
611
|
}, z.core.$strip>, z.ZodString]>>>;
|
|
612
|
+
inboundChannelType: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
613
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
614
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
615
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
616
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
617
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
618
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
619
|
+
}, z.core.$strip>, z.ZodString]>>>;
|
|
620
|
+
inboundChannelToolName: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
621
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
622
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
623
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
624
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
625
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
626
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strip>, z.ZodString]>>>;
|
|
610
628
|
}, z.core.$strip>;
|
|
611
629
|
declare const auditLogSortFieldEnum: z.ZodEnum<{
|
|
612
630
|
tenantId: "tenantId";
|
|
@@ -632,6 +650,8 @@ declare const auditLogSortFieldEnum: z.ZodEnum<{
|
|
|
632
650
|
category: "category";
|
|
633
651
|
auditLogKey: "auditLogKey";
|
|
634
652
|
entityKey: "entityKey";
|
|
653
|
+
inboundChannelType: "inboundChannelType";
|
|
654
|
+
inboundChannelToolName: "inboundChannelToolName";
|
|
635
655
|
}>;
|
|
636
656
|
type AuditLogSortField = z.infer<typeof auditLogSortFieldEnum>;
|
|
637
657
|
declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
|
|
@@ -1100,6 +1120,22 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
|
|
|
1100
1120
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1101
1121
|
$like: z.ZodOptional<z.ZodString>;
|
|
1102
1122
|
}, z.core.$strip>, z.ZodString]>>>;
|
|
1123
|
+
inboundChannelType: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1124
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
1127
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1128
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1129
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
}, z.core.$strip>, z.ZodString]>>>;
|
|
1131
|
+
inboundChannelToolName: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1132
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
1135
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1136
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
}, z.core.$strip>, z.ZodString]>>>;
|
|
1103
1139
|
}, z.core.$strip>>;
|
|
1104
1140
|
}, z.core.$strip>;
|
|
1105
1141
|
type QueryAuditLogsRequestBody = z.infer<typeof queryAuditLogsRequestBodySchema>;
|
|
@@ -1135,6 +1171,8 @@ declare const queryAuditLogsResponseBodySchema: z.ZodType<import('./common').Que
|
|
|
1135
1171
|
relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
|
|
1136
1172
|
entityDescription: string | null;
|
|
1137
1173
|
agentElementId: string | null;
|
|
1174
|
+
inboundChannelType: string | null;
|
|
1175
|
+
inboundChannelToolName: string | null;
|
|
1138
1176
|
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
1139
1177
|
auditLogKey: string;
|
|
1140
1178
|
entityKey: string;
|
|
@@ -1167,6 +1205,8 @@ declare const queryAuditLogsResponseBodySchema: z.ZodType<import('./common').Que
|
|
|
1167
1205
|
relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
|
|
1168
1206
|
entityDescription: string | null;
|
|
1169
1207
|
agentElementId: string | null;
|
|
1208
|
+
inboundChannelType: string | null;
|
|
1209
|
+
inboundChannelToolName: string | null;
|
|
1170
1210
|
}>, unknown>>;
|
|
1171
1211
|
type QueryAuditLogsResponseBody = z.infer<typeof queryAuditLogsResponseBodySchema>;
|
|
1172
1212
|
declare const queryAuditLogs: Endpoint;
|
|
@@ -1275,6 +1315,8 @@ declare const getAuditLogResponseBodySchema: z.ZodObject<{
|
|
|
1275
1315
|
}>>;
|
|
1276
1316
|
entityDescription: z.ZodNullable<z.ZodString>;
|
|
1277
1317
|
agentElementId: z.ZodNullable<z.ZodString>;
|
|
1318
|
+
inboundChannelType: z.ZodNullable<z.ZodString>;
|
|
1319
|
+
inboundChannelToolName: z.ZodNullable<z.ZodString>;
|
|
1278
1320
|
}, z.core.$strip>;
|
|
1279
1321
|
type GetAuditLogResponseBody = z.infer<typeof getAuditLogResponseBodySchema>;
|
|
1280
1322
|
export { auditLogEntityTypeSchema, auditLogOperationTypeSchema, auditLogActorTypeSchema, auditLogResultSchema, auditLogCategorySchema, auditLogSchema, auditLogFilterSchema, auditLogSortFieldEnum, queryAuditLogsRequestBodySchema, queryAuditLogsResponseBodySchema, getAuditLogResponseBodySchema, queryAuditLogs, getAuditLog, };
|
package/dist/8.10/audit-log.js
CHANGED
|
@@ -89,7 +89,9 @@ var auditLogSchema = z.object({
|
|
|
89
89
|
relatedEntityKey: z.string().nullable(),
|
|
90
90
|
relatedEntityType: auditLogEntityTypeSchema.nullable(),
|
|
91
91
|
entityDescription: z.string().nullable(),
|
|
92
|
-
agentElementId: z.string().nullable()
|
|
92
|
+
agentElementId: z.string().nullable(),
|
|
93
|
+
inboundChannelType: z.string().nullable(),
|
|
94
|
+
inboundChannelToolName: z.string().nullable()
|
|
93
95
|
});
|
|
94
96
|
var auditLogFilterSchema = z.object({
|
|
95
97
|
auditLogKey: advancedStringFilterSchema.optional(),
|
|
@@ -110,7 +112,9 @@ var auditLogFilterSchema = z.object({
|
|
|
110
112
|
resourceKey: advancedStringFilterSchema.optional(),
|
|
111
113
|
relatedEntityType: getEnumFilterSchema(auditLogEntityTypeSchema).optional(),
|
|
112
114
|
relatedEntityKey: advancedStringFilterSchema.optional(),
|
|
113
|
-
entityDescription: advancedStringFilterSchema.optional()
|
|
115
|
+
entityDescription: advancedStringFilterSchema.optional(),
|
|
116
|
+
inboundChannelType: advancedStringFilterSchema.optional(),
|
|
117
|
+
inboundChannelToolName: advancedStringFilterSchema.optional()
|
|
114
118
|
}).partial();
|
|
115
119
|
var auditLogSortFieldEnum = z.enum([
|
|
116
120
|
"actorId",
|
|
@@ -132,6 +136,8 @@ var auditLogSortFieldEnum = z.enum([
|
|
|
132
136
|
"processDefinitionId",
|
|
133
137
|
"processDefinitionKey",
|
|
134
138
|
"processInstanceKey",
|
|
139
|
+
"inboundChannelType",
|
|
140
|
+
"inboundChannelToolName",
|
|
135
141
|
"result",
|
|
136
142
|
"tenantId",
|
|
137
143
|
"timestamp",
|
|
@@ -42,6 +42,7 @@ declare const decisionInstanceSchema: z.ZodObject<{
|
|
|
42
42
|
decisionDefinitionKey: z.ZodString;
|
|
43
43
|
elementInstanceKey: z.ZodString;
|
|
44
44
|
rootDecisionDefinitionKey: z.ZodString;
|
|
45
|
+
businessId: z.ZodNullable<z.ZodString>;
|
|
45
46
|
}, z.core.$strip>;
|
|
46
47
|
type DecisionInstance = z.infer<typeof decisionInstanceSchema>;
|
|
47
48
|
declare const queryDecisionInstancesFilterSchema: z.ZodObject<{
|
|
@@ -137,6 +138,14 @@ declare const queryDecisionInstancesFilterSchema: z.ZodObject<{
|
|
|
137
138
|
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
139
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
140
|
}, z.core.$strip>, z.ZodString]>>;
|
|
141
|
+
businessId: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
142
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
143
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
144
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
146
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
148
|
+
}, z.core.$strip>, z.ZodString]>>;
|
|
140
149
|
}, z.core.$strip>;
|
|
141
150
|
type QueryDecisionInstancesFilter = z.infer<typeof queryDecisionInstancesFilterSchema>;
|
|
142
151
|
declare const queryDecisionInstancesRequestBodySchema: z.ZodObject<{
|
|
@@ -157,6 +166,7 @@ declare const queryDecisionInstancesRequestBodySchema: z.ZodObject<{
|
|
|
157
166
|
decisionEvaluationKey: "decisionEvaluationKey";
|
|
158
167
|
elementInstanceKey: "elementInstanceKey";
|
|
159
168
|
rootDecisionDefinitionKey: "rootDecisionDefinitionKey";
|
|
169
|
+
businessId: "businessId";
|
|
160
170
|
}>;
|
|
161
171
|
order: z.ZodOptional<z.ZodEnum<{
|
|
162
172
|
asc: "asc";
|
|
@@ -262,6 +272,14 @@ declare const queryDecisionInstancesRequestBodySchema: z.ZodObject<{
|
|
|
262
272
|
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
263
273
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
264
274
|
}, z.core.$strip>, z.ZodString]>>;
|
|
275
|
+
businessId: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
276
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
277
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
278
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
279
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
280
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
281
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
282
|
+
}, z.core.$strip>, z.ZodString]>>;
|
|
265
283
|
}, z.core.$strip>>;
|
|
266
284
|
}, z.core.$strip>;
|
|
267
285
|
type QueryDecisionInstancesRequestBody = z.infer<typeof queryDecisionInstancesRequestBodySchema>;
|
|
@@ -283,6 +301,7 @@ declare const queryDecisionInstancesResponseBodySchema: z.ZodType<import('./comm
|
|
|
283
301
|
decisionDefinitionKey: string;
|
|
284
302
|
elementInstanceKey: string;
|
|
285
303
|
rootDecisionDefinitionKey: string;
|
|
304
|
+
businessId: string | null;
|
|
286
305
|
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
287
306
|
decisionEvaluationInstanceKey: string;
|
|
288
307
|
state: "UNSPECIFIED" | "UNKNOWN" | "FAILED" | "EVALUATED";
|
|
@@ -301,6 +320,7 @@ declare const queryDecisionInstancesResponseBodySchema: z.ZodType<import('./comm
|
|
|
301
320
|
decisionDefinitionKey: string;
|
|
302
321
|
elementInstanceKey: string;
|
|
303
322
|
rootDecisionDefinitionKey: string;
|
|
323
|
+
businessId: string | null;
|
|
304
324
|
}>, unknown>>;
|
|
305
325
|
type QueryDecisionInstancesResponseBody = z.infer<typeof queryDecisionInstancesResponseBodySchema>;
|
|
306
326
|
declare const getDecisionInstanceResponseBodySchema: z.ZodObject<{
|
|
@@ -331,6 +351,7 @@ declare const getDecisionInstanceResponseBodySchema: z.ZodObject<{
|
|
|
331
351
|
decisionDefinitionKey: z.ZodString;
|
|
332
352
|
elementInstanceKey: z.ZodString;
|
|
333
353
|
rootDecisionDefinitionKey: z.ZodString;
|
|
354
|
+
businessId: z.ZodNullable<z.ZodString>;
|
|
334
355
|
evaluatedInputs: z.ZodArray<z.ZodObject<{
|
|
335
356
|
inputId: z.ZodString;
|
|
336
357
|
inputName: z.ZodString;
|
|
@@ -445,6 +466,14 @@ declare const createDecisionInstancesDeletionBatchOperationRequestBodySchema: z.
|
|
|
445
466
|
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
446
467
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
447
468
|
}, z.core.$strip>, z.ZodString]>>;
|
|
469
|
+
businessId: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
470
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
471
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
472
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
473
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
474
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
475
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
476
|
+
}, z.core.$strip>, z.ZodString]>>;
|
|
448
477
|
}, z.core.$strip>;
|
|
449
478
|
}, z.core.$strip>;
|
|
450
479
|
type CreateDecisionInstancesDeletionBatchOperationRequestBody = z.infer<typeof createDecisionInstancesDeletionBatchOperationRequestBodySchema>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { advancedDateTimeFilterSchema, basicStringFilterSchema, getEnumFilterSchema, getQueryRequestBodySchema, getQueryResponseBodySchema } from "./common.js";
|
|
1
|
+
import { advancedDateTimeFilterSchema, advancedStringFilterSchema, basicStringFilterSchema, getEnumFilterSchema, getQueryRequestBodySchema, getQueryResponseBodySchema } from "./common.js";
|
|
2
2
|
import { batchOperationTypeSchema } from "./batch-operation.js";
|
|
3
3
|
import { evaluatedDecisionInputItemSchema, matchedDecisionRuleItemSchema } from "./decision-definition.js";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -32,7 +32,8 @@ var decisionInstanceSchema = z.object({
|
|
|
32
32
|
rootProcessInstanceKey: z.string().nullable(),
|
|
33
33
|
decisionDefinitionKey: z.string(),
|
|
34
34
|
elementInstanceKey: z.string(),
|
|
35
|
-
rootDecisionDefinitionKey: z.string()
|
|
35
|
+
rootDecisionDefinitionKey: z.string(),
|
|
36
|
+
businessId: z.string().nullable()
|
|
36
37
|
});
|
|
37
38
|
var queryDecisionInstancesFilterSchema = z.object({
|
|
38
39
|
decisionEvaluationInstanceKey: basicStringFilterSchema,
|
|
@@ -42,6 +43,7 @@ var queryDecisionInstancesFilterSchema = z.object({
|
|
|
42
43
|
elementInstanceKey: basicStringFilterSchema,
|
|
43
44
|
rootDecisionDefinitionKey: basicStringFilterSchema,
|
|
44
45
|
decisionRequirementsKey: basicStringFilterSchema,
|
|
46
|
+
businessId: advancedStringFilterSchema,
|
|
45
47
|
...decisionInstanceSchema.pick({
|
|
46
48
|
evaluationFailure: true,
|
|
47
49
|
decisionDefinitionId: true,
|
|
@@ -70,7 +72,8 @@ var queryDecisionInstancesRequestBodySchema = getQueryRequestBodySchema({
|
|
|
70
72
|
"decisionDefinitionType",
|
|
71
73
|
"tenantId",
|
|
72
74
|
"elementInstanceKey",
|
|
73
|
-
"rootDecisionDefinitionKey"
|
|
75
|
+
"rootDecisionDefinitionKey",
|
|
76
|
+
"businessId"
|
|
74
77
|
],
|
|
75
78
|
filter: queryDecisionInstancesFilterSchema
|
|
76
79
|
});
|
package/dist/8.10/index.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ declare const endpoints: {
|
|
|
68
68
|
decisionDefinitionKey: string;
|
|
69
69
|
elementInstanceKey: string;
|
|
70
70
|
rootDecisionDefinitionKey: string;
|
|
71
|
+
businessId: string | null;
|
|
71
72
|
}, "decisionEvaluationInstanceKey">>;
|
|
72
73
|
readonly createDecisionInstancesDeletionBatchOperation: import('./common').Endpoint<undefined>;
|
|
73
74
|
readonly queryDecisionRequirements: import('./common').Endpoint<undefined>;
|
|
@@ -324,6 +325,7 @@ declare const endpoints: {
|
|
|
324
325
|
externalFormReference: string | null;
|
|
325
326
|
tags: string[];
|
|
326
327
|
priority: number;
|
|
328
|
+
businessId: string | null;
|
|
327
329
|
}, "userTaskKey">>;
|
|
328
330
|
readonly queryUserTasks: import('./common').Endpoint<undefined>;
|
|
329
331
|
readonly getUserTaskForm: import('./common').Endpoint<Pick<{
|
|
@@ -351,6 +353,7 @@ declare const endpoints: {
|
|
|
351
353
|
externalFormReference: string | null;
|
|
352
354
|
tags: string[];
|
|
353
355
|
priority: number;
|
|
356
|
+
businessId: string | null;
|
|
354
357
|
}, "userTaskKey">>;
|
|
355
358
|
readonly getTask: import('./common').Endpoint<Pick<{
|
|
356
359
|
state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "CREATING";
|
|
@@ -377,6 +380,7 @@ declare const endpoints: {
|
|
|
377
380
|
externalFormReference: string | null;
|
|
378
381
|
tags: string[];
|
|
379
382
|
priority: number;
|
|
383
|
+
businessId: string | null;
|
|
380
384
|
}, "userTaskKey">>;
|
|
381
385
|
readonly assignTask: import('./common').Endpoint<Pick<{
|
|
382
386
|
state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "CREATING";
|
|
@@ -403,6 +407,7 @@ declare const endpoints: {
|
|
|
403
407
|
externalFormReference: string | null;
|
|
404
408
|
tags: string[];
|
|
405
409
|
priority: number;
|
|
410
|
+
businessId: string | null;
|
|
406
411
|
}, "userTaskKey">>;
|
|
407
412
|
readonly unassignTask: import('./common').Endpoint<Pick<{
|
|
408
413
|
state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "CREATING";
|
|
@@ -429,6 +434,7 @@ declare const endpoints: {
|
|
|
429
434
|
externalFormReference: string | null;
|
|
430
435
|
tags: string[];
|
|
431
436
|
priority: number;
|
|
437
|
+
businessId: string | null;
|
|
432
438
|
}, "userTaskKey">>;
|
|
433
439
|
readonly completeTask: import('./common').Endpoint<Pick<{
|
|
434
440
|
state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "CREATING";
|
|
@@ -455,6 +461,7 @@ declare const endpoints: {
|
|
|
455
461
|
externalFormReference: string | null;
|
|
456
462
|
tags: string[];
|
|
457
463
|
priority: number;
|
|
464
|
+
businessId: string | null;
|
|
458
465
|
}, "userTaskKey">>;
|
|
459
466
|
readonly queryVariablesByUserTask: import('./common').Endpoint<Pick<{
|
|
460
467
|
state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "CREATING";
|
|
@@ -481,6 +488,7 @@ declare const endpoints: {
|
|
|
481
488
|
externalFormReference: string | null;
|
|
482
489
|
tags: string[];
|
|
483
490
|
priority: number;
|
|
491
|
+
businessId: string | null;
|
|
484
492
|
}, "userTaskKey"> & {
|
|
485
493
|
truncateValues?: boolean;
|
|
486
494
|
}>;
|
|
@@ -509,6 +517,7 @@ declare const endpoints: {
|
|
|
509
517
|
externalFormReference: string | null;
|
|
510
518
|
tags: string[];
|
|
511
519
|
priority: number;
|
|
520
|
+
businessId: string | null;
|
|
512
521
|
}, "userTaskKey">>;
|
|
513
522
|
readonly createProcessInstance: import('./common').Endpoint<undefined>;
|
|
514
523
|
readonly getVariable: import('./common').Endpoint<Pick<{
|
|
@@ -369,6 +369,8 @@ declare const queryUserTaskAuditLogsResponseBodySchema: z.ZodType<import('./comm
|
|
|
369
369
|
relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
|
|
370
370
|
entityDescription: string | null;
|
|
371
371
|
agentElementId: string | null;
|
|
372
|
+
inboundChannelType: string | null;
|
|
373
|
+
inboundChannelToolName: string | null;
|
|
372
374
|
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
373
375
|
auditLogKey: string;
|
|
374
376
|
entityKey: string;
|
|
@@ -401,6 +403,8 @@ declare const queryUserTaskAuditLogsResponseBodySchema: z.ZodType<import('./comm
|
|
|
401
403
|
relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
|
|
402
404
|
entityDescription: string | null;
|
|
403
405
|
agentElementId: string | null;
|
|
406
|
+
inboundChannelType: string | null;
|
|
407
|
+
inboundChannelToolName: string | null;
|
|
404
408
|
}>, unknown>>;
|
|
405
409
|
type QueryUserTaskAuditLogsResponseBody = z.infer<typeof queryUserTaskAuditLogsResponseBodySchema>;
|
|
406
410
|
declare const queryUserTaskAuditLogs: Endpoint<{
|
package/dist/8.10/user-task.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ declare const userTaskSchema: z.ZodObject<{
|
|
|
47
47
|
externalFormReference: z.ZodNullable<z.ZodString>;
|
|
48
48
|
tags: z.ZodArray<z.ZodString>;
|
|
49
49
|
priority: z.ZodNumber;
|
|
50
|
+
businessId: z.ZodNullable<z.ZodString>;
|
|
50
51
|
}, z.core.$strip>;
|
|
51
52
|
type UserTask = z.infer<typeof userTaskSchema>;
|
|
52
53
|
declare const getUserTask: Endpoint<Pick<UserTask, 'userTaskKey'>>;
|
|
@@ -58,6 +59,7 @@ declare const queryUserTasksRequestBodySchema: z.ZodObject<{
|
|
|
58
59
|
creationDate: "creationDate";
|
|
59
60
|
completionDate: "completionDate";
|
|
60
61
|
priority: "priority";
|
|
62
|
+
businessId: "businessId";
|
|
61
63
|
}>;
|
|
62
64
|
order: z.ZodOptional<z.ZodEnum<{
|
|
63
65
|
asc: "asc";
|
|
@@ -86,6 +88,14 @@ declare const queryUserTasksRequestBodySchema: z.ZodObject<{
|
|
|
86
88
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
89
|
$like: z.ZodOptional<z.ZodString>;
|
|
88
90
|
}, z.core.$strip>, z.ZodString]>>;
|
|
91
|
+
businessId: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
92
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
93
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
94
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
96
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
97
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>, z.ZodString]>>;
|
|
89
99
|
priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
90
100
|
$eq: z.ZodOptional<z.ZodNumber>;
|
|
91
101
|
$neq: z.ZodOptional<z.ZodNumber>;
|
|
@@ -246,6 +256,7 @@ declare const queryUserTasksResponseBodySchema: z.ZodType<import('./common').Que
|
|
|
246
256
|
externalFormReference: string | null;
|
|
247
257
|
tags: string[];
|
|
248
258
|
priority: number;
|
|
259
|
+
businessId: string | null;
|
|
249
260
|
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
250
261
|
state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "CREATING";
|
|
251
262
|
processDefinitionVersion: number;
|
|
@@ -271,6 +282,7 @@ declare const queryUserTasksResponseBodySchema: z.ZodType<import('./common').Que
|
|
|
271
282
|
externalFormReference: string | null;
|
|
272
283
|
tags: string[];
|
|
273
284
|
priority: number;
|
|
285
|
+
businessId: string | null;
|
|
274
286
|
}>, unknown>>;
|
|
275
287
|
type QueryUserTasksResponseBody = z.infer<typeof queryUserTasksResponseBodySchema>;
|
|
276
288
|
declare const queryUserTasks: Endpoint;
|
package/dist/8.10/user-task.js
CHANGED
|
@@ -41,7 +41,8 @@ var userTaskSchema = z.object({
|
|
|
41
41
|
formKey: z.string().nullable(),
|
|
42
42
|
externalFormReference: z.string().nullable(),
|
|
43
43
|
tags: z.array(z.string()),
|
|
44
|
-
priority: z.number().int().min(0).max(100)
|
|
44
|
+
priority: z.number().int().min(0).max(100),
|
|
45
|
+
businessId: z.string().nullable()
|
|
45
46
|
});
|
|
46
47
|
var getUserTask = {
|
|
47
48
|
method: "GET",
|
|
@@ -53,7 +54,8 @@ var queryUserTasksRequestBodySchema = getQueryRequestBodySchema({
|
|
|
53
54
|
"completionDate",
|
|
54
55
|
"followUpDate",
|
|
55
56
|
"dueDate",
|
|
56
|
-
"priority"
|
|
57
|
+
"priority",
|
|
58
|
+
"businessId"
|
|
57
59
|
],
|
|
58
60
|
filter: userTaskSchema.pick({
|
|
59
61
|
state: true,
|
|
@@ -66,6 +68,7 @@ var queryUserTasksRequestBodySchema = getQueryRequestBodySchema({
|
|
|
66
68
|
elementInstanceKey: true
|
|
67
69
|
}).extend({
|
|
68
70
|
assignee: advancedStringFilterSchema,
|
|
71
|
+
businessId: advancedStringFilterSchema,
|
|
69
72
|
priority: advancedIntegerFilterSchema,
|
|
70
73
|
candidateGroup: advancedStringFilterSchema,
|
|
71
74
|
candidateUser: advancedStringFilterSchema,
|
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.78",
|
|
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>",
|