@camunda/camunda-api-zod-schemas 0.0.81 → 0.0.83
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/agent-instance.d.ts +15 -15
- package/dist/8.10/agent-instance.js +3 -3
- package/dist/8.10/authorization.d.ts +25 -4
- package/dist/8.10/authorization.js +5 -1
- package/dist/8.10/index.d.ts +20 -10
- package/dist/8.10/process-definition.d.ts +24 -0
- package/dist/8.10/process-instance-commands.d.ts +4 -2
- package/dist/8.10/process-instance.d.ts +213 -10
- package/dist/8.10/process-instance.js +2 -0
- package/dist/8.10/processes.d.ts +3 -0
- package/dist/8.10/processes.js +2 -0
- package/package.json +5 -5
|
@@ -608,9 +608,9 @@ declare const agentInstanceToolCallSchema: z.ZodObject<{
|
|
|
608
608
|
}, z.core.$strip>;
|
|
609
609
|
type AgentInstanceToolCall = z.infer<typeof agentInstanceToolCallSchema>;
|
|
610
610
|
declare const agentInstanceHistoryItemMetricsSchema: z.ZodObject<{
|
|
611
|
-
inputTokens: z.ZodNumber
|
|
612
|
-
outputTokens: z.ZodNumber
|
|
613
|
-
durationMs: z.ZodNumber
|
|
611
|
+
inputTokens: z.ZodNullable<z.ZodNumber>;
|
|
612
|
+
outputTokens: z.ZodNullable<z.ZodNumber>;
|
|
613
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
614
614
|
}, z.core.$strip>;
|
|
615
615
|
type AgentInstanceHistoryItemMetrics = z.infer<typeof agentInstanceHistoryItemMetricsSchema>;
|
|
616
616
|
declare const agentInstanceHistoryItemSchema: z.ZodObject<{
|
|
@@ -656,9 +656,9 @@ declare const agentInstanceHistoryItemSchema: z.ZodObject<{
|
|
|
656
656
|
arguments: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
657
657
|
}, z.core.$strip>>;
|
|
658
658
|
metrics: z.ZodNullable<z.ZodObject<{
|
|
659
|
-
inputTokens: z.ZodNumber
|
|
660
|
-
outputTokens: z.ZodNumber
|
|
661
|
-
durationMs: z.ZodNumber
|
|
659
|
+
inputTokens: z.ZodNullable<z.ZodNumber>;
|
|
660
|
+
outputTokens: z.ZodNullable<z.ZodNumber>;
|
|
661
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
662
662
|
}, z.core.$strip>>;
|
|
663
663
|
commitStatus: z.ZodEnum<{
|
|
664
664
|
PENDING: "PENDING";
|
|
@@ -809,9 +809,9 @@ declare const createAgentInstanceHistoryItemRequestBodySchema: z.ZodObject<{
|
|
|
809
809
|
arguments: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
810
810
|
}, z.core.$strip>>>>;
|
|
811
811
|
metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
812
|
-
inputTokens: z.ZodNumber
|
|
813
|
-
outputTokens: z.ZodNumber
|
|
814
|
-
durationMs: z.ZodNumber
|
|
812
|
+
inputTokens: z.ZodNullable<z.ZodNumber>;
|
|
813
|
+
outputTokens: z.ZodNullable<z.ZodNumber>;
|
|
814
|
+
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
815
815
|
}, z.core.$strip>>>;
|
|
816
816
|
producedAt: z.ZodString;
|
|
817
817
|
}, z.core.$strip>;
|
|
@@ -978,9 +978,9 @@ declare const queryAgentInstanceHistoryResponseBodySchema: z.ZodType<import('./c
|
|
|
978
978
|
arguments: Record<string, unknown> | null;
|
|
979
979
|
}[];
|
|
980
980
|
metrics: {
|
|
981
|
-
inputTokens: number;
|
|
982
|
-
outputTokens: number;
|
|
983
|
-
durationMs: number;
|
|
981
|
+
inputTokens: number | null;
|
|
982
|
+
outputTokens: number | null;
|
|
983
|
+
durationMs: number | null;
|
|
984
984
|
} | null;
|
|
985
985
|
commitStatus: "PENDING" | "COMMITTED" | "DISCARDED";
|
|
986
986
|
producedAt: string;
|
|
@@ -1023,9 +1023,9 @@ declare const queryAgentInstanceHistoryResponseBodySchema: z.ZodType<import('./c
|
|
|
1023
1023
|
arguments: Record<string, unknown> | null;
|
|
1024
1024
|
}[];
|
|
1025
1025
|
metrics: {
|
|
1026
|
-
inputTokens: number;
|
|
1027
|
-
outputTokens: number;
|
|
1028
|
-
durationMs: number;
|
|
1026
|
+
inputTokens: number | null;
|
|
1027
|
+
outputTokens: number | null;
|
|
1028
|
+
durationMs: number | null;
|
|
1029
1029
|
} | null;
|
|
1030
1030
|
commitStatus: "PENDING" | "COMMITTED" | "DISCARDED";
|
|
1031
1031
|
producedAt: string;
|
|
@@ -119,9 +119,9 @@ var agentInstanceToolCallSchema = z.object({
|
|
|
119
119
|
arguments: z.record(z.string(), z.unknown()).nullable()
|
|
120
120
|
});
|
|
121
121
|
var agentInstanceHistoryItemMetricsSchema = z.object({
|
|
122
|
-
inputTokens: z.number(),
|
|
123
|
-
outputTokens: z.number(),
|
|
124
|
-
durationMs: z.number()
|
|
122
|
+
inputTokens: z.number().nullable(),
|
|
123
|
+
outputTokens: z.number().nullable(),
|
|
124
|
+
durationMs: z.number().nullable()
|
|
125
125
|
});
|
|
126
126
|
var agentInstanceHistoryItemSchema = z.object({
|
|
127
127
|
historyItemKey: z.string(),
|
|
@@ -41,6 +41,9 @@ declare const permissionTypeSchema: z.ZodEnum<{
|
|
|
41
41
|
EVALUATE: "EVALUATE";
|
|
42
42
|
CLAIM_USER_TASK: "CLAIM_USER_TASK";
|
|
43
43
|
COMPLETE_USER_TASK: "COMPLETE_USER_TASK";
|
|
44
|
+
CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE: "CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE";
|
|
45
|
+
SUSPEND_PROCESS_INSTANCE: "SUSPEND_PROCESS_INSTANCE";
|
|
46
|
+
REVEAL: "REVEAL";
|
|
44
47
|
}>;
|
|
45
48
|
type PermissionType = z.infer<typeof permissionTypeSchema>;
|
|
46
49
|
declare const resourceTypeSchema: z.ZodEnum<{
|
|
@@ -64,6 +67,7 @@ declare const resourceTypeSchema: z.ZodEnum<{
|
|
|
64
67
|
DOCUMENT: "DOCUMENT";
|
|
65
68
|
EXPRESSION: "EXPRESSION";
|
|
66
69
|
GLOBAL_LISTENER: "GLOBAL_LISTENER";
|
|
70
|
+
SECRET: "SECRET";
|
|
67
71
|
}>;
|
|
68
72
|
type ResourceType = z.infer<typeof resourceTypeSchema>;
|
|
69
73
|
declare const ownerTypeSchema: z.ZodEnum<{
|
|
@@ -106,6 +110,7 @@ declare const authorizationSchema: z.ZodObject<{
|
|
|
106
110
|
DOCUMENT: "DOCUMENT";
|
|
107
111
|
EXPRESSION: "EXPRESSION";
|
|
108
112
|
GLOBAL_LISTENER: "GLOBAL_LISTENER";
|
|
113
|
+
SECRET: "SECRET";
|
|
109
114
|
}>;
|
|
110
115
|
resourceId: z.ZodNullable<z.ZodString>;
|
|
111
116
|
resourcePropertyName: z.ZodNullable<z.ZodString>;
|
|
@@ -151,6 +156,9 @@ declare const authorizationSchema: z.ZodObject<{
|
|
|
151
156
|
EVALUATE: "EVALUATE";
|
|
152
157
|
CLAIM_USER_TASK: "CLAIM_USER_TASK";
|
|
153
158
|
COMPLETE_USER_TASK: "COMPLETE_USER_TASK";
|
|
159
|
+
CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE: "CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE";
|
|
160
|
+
SUSPEND_PROCESS_INSTANCE: "SUSPEND_PROCESS_INSTANCE";
|
|
161
|
+
REVEAL: "REVEAL";
|
|
154
162
|
}>>;
|
|
155
163
|
authorizationKey: z.ZodString;
|
|
156
164
|
}, z.core.$strip>;
|
|
@@ -185,6 +193,7 @@ declare const createAuthorizationRequestBodySchema: z.ZodObject<{
|
|
|
185
193
|
DOCUMENT: "DOCUMENT";
|
|
186
194
|
EXPRESSION: "EXPRESSION";
|
|
187
195
|
GLOBAL_LISTENER: "GLOBAL_LISTENER";
|
|
196
|
+
SECRET: "SECRET";
|
|
188
197
|
}>;
|
|
189
198
|
ownerId: z.ZodString;
|
|
190
199
|
resourceId: z.ZodNullable<z.ZodString>;
|
|
@@ -230,6 +239,9 @@ declare const createAuthorizationRequestBodySchema: z.ZodObject<{
|
|
|
230
239
|
EVALUATE: "EVALUATE";
|
|
231
240
|
CLAIM_USER_TASK: "CLAIM_USER_TASK";
|
|
232
241
|
COMPLETE_USER_TASK: "COMPLETE_USER_TASK";
|
|
242
|
+
CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE: "CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE";
|
|
243
|
+
SUSPEND_PROCESS_INSTANCE: "SUSPEND_PROCESS_INSTANCE";
|
|
244
|
+
REVEAL: "REVEAL";
|
|
233
245
|
}>>;
|
|
234
246
|
}, z.core.$strip>;
|
|
235
247
|
type CreateAuthorizationRequestBody = z.infer<typeof createAuthorizationRequestBodySchema>;
|
|
@@ -267,6 +279,7 @@ declare const updateAuthorizationRequestBodySchema: z.ZodObject<{
|
|
|
267
279
|
DOCUMENT: "DOCUMENT";
|
|
268
280
|
EXPRESSION: "EXPRESSION";
|
|
269
281
|
GLOBAL_LISTENER: "GLOBAL_LISTENER";
|
|
282
|
+
SECRET: "SECRET";
|
|
270
283
|
}>>;
|
|
271
284
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
272
285
|
resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -312,6 +325,9 @@ declare const updateAuthorizationRequestBodySchema: z.ZodObject<{
|
|
|
312
325
|
EVALUATE: "EVALUATE";
|
|
313
326
|
CLAIM_USER_TASK: "CLAIM_USER_TASK";
|
|
314
327
|
COMPLETE_USER_TASK: "COMPLETE_USER_TASK";
|
|
328
|
+
CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE: "CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE";
|
|
329
|
+
SUSPEND_PROCESS_INSTANCE: "SUSPEND_PROCESS_INSTANCE";
|
|
330
|
+
REVEAL: "REVEAL";
|
|
315
331
|
}>>>;
|
|
316
332
|
}, z.core.$strip>;
|
|
317
333
|
type UpdateAuthorizationRequestBody = z.infer<typeof updateAuthorizationRequestBodySchema>;
|
|
@@ -364,6 +380,7 @@ declare const queryAuthorizationsRequestBodySchema: z.ZodObject<{
|
|
|
364
380
|
DOCUMENT: "DOCUMENT";
|
|
365
381
|
EXPRESSION: "EXPRESSION";
|
|
366
382
|
GLOBAL_LISTENER: "GLOBAL_LISTENER";
|
|
383
|
+
SECRET: "SECRET";
|
|
367
384
|
}>>;
|
|
368
385
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
369
386
|
resourceId: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -401,6 +418,7 @@ declare const getAuthorizationResponseBodySchema: z.ZodObject<{
|
|
|
401
418
|
DOCUMENT: "DOCUMENT";
|
|
402
419
|
EXPRESSION: "EXPRESSION";
|
|
403
420
|
GLOBAL_LISTENER: "GLOBAL_LISTENER";
|
|
421
|
+
SECRET: "SECRET";
|
|
404
422
|
}>;
|
|
405
423
|
resourceId: z.ZodNullable<z.ZodString>;
|
|
406
424
|
resourcePropertyName: z.ZodNullable<z.ZodString>;
|
|
@@ -446,6 +464,9 @@ declare const getAuthorizationResponseBodySchema: z.ZodObject<{
|
|
|
446
464
|
EVALUATE: "EVALUATE";
|
|
447
465
|
CLAIM_USER_TASK: "CLAIM_USER_TASK";
|
|
448
466
|
COMPLETE_USER_TASK: "COMPLETE_USER_TASK";
|
|
467
|
+
CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE: "CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE";
|
|
468
|
+
SUSPEND_PROCESS_INSTANCE: "SUSPEND_PROCESS_INSTANCE";
|
|
469
|
+
REVEAL: "REVEAL";
|
|
449
470
|
}>>;
|
|
450
471
|
authorizationKey: z.ZodString;
|
|
451
472
|
}, z.core.$strip>;
|
|
@@ -453,18 +474,18 @@ type GetAuthorizationResponseBody = z.infer<typeof getAuthorizationResponseBodyS
|
|
|
453
474
|
declare const queryAuthorizationsResponseBodySchema: z.ZodType<import('./common').QueryResponseBody<{
|
|
454
475
|
ownerId: string;
|
|
455
476
|
ownerType: "UNSPECIFIED" | "MAPPING_RULE" | "GROUP" | "USER" | "ROLE" | "CLIENT";
|
|
456
|
-
resourceType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "MESSAGE" | "BATCH" | "SYSTEM" | "TENANT" | "RESOURCE" | "PROCESS_DEFINITION" | "DECISION_REQUIREMENTS_DEFINITION" | "DECISION_DEFINITION" | "GROUP" | "USER" | "ROLE" | "AUDIT_LOG" | "CLUSTER_VARIABLE" | "COMPONENT" | "DOCUMENT" | "EXPRESSION" | "GLOBAL_LISTENER";
|
|
477
|
+
resourceType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "MESSAGE" | "BATCH" | "SYSTEM" | "TENANT" | "RESOURCE" | "PROCESS_DEFINITION" | "DECISION_REQUIREMENTS_DEFINITION" | "DECISION_DEFINITION" | "GROUP" | "USER" | "ROLE" | "AUDIT_LOG" | "CLUSTER_VARIABLE" | "COMPONENT" | "DOCUMENT" | "EXPRESSION" | "GLOBAL_LISTENER" | "SECRET";
|
|
457
478
|
resourceId: string | null;
|
|
458
479
|
resourcePropertyName: string | null;
|
|
459
|
-
permissionTypes: ("ACCESS" | "CREATE" | "CREATE_BATCH_OPERATION_CANCEL_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_DELETE_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_MIGRATE_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_MODIFY_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_RESOLVE_INCIDENT" | "CREATE_BATCH_OPERATION_DELETE_DECISION_INSTANCE" | "CREATE_BATCH_OPERATION_DELETE_DECISION_DEFINITION" | "CREATE_BATCH_OPERATION_DELETE_PROCESS_DEFINITION" | "CREATE_PROCESS_INSTANCE" | "CREATE_DECISION_INSTANCE" | "READ" | "READ_PROCESS_INSTANCE" | "READ_USER_TASK" | "READ_DECISION_INSTANCE" | "READ_PROCESS_DEFINITION" | "READ_DECISION_DEFINITION" | "UPDATE" | "UPDATE_PROCESS_INSTANCE" | "UPDATE_USER_TASK" | "DELETE" | "DELETE_PROCESS" | "DELETE_DRD" | "DELETE_FORM" | "DELETE_RESOURCE" | "DELETE_PROCESS_INSTANCE" | "DELETE_DECISION_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "CLAIM" | "COMPLETE" | "CREATE_TASK_LISTENER" | "READ_JOB_METRIC" | "READ_TASK_LISTENER" | "READ_USAGE_METRIC" | "UPDATE_TASK_LISTENER" | "DELETE_TASK_LISTENER" | "EVALUATE" | "CLAIM_USER_TASK" | "COMPLETE_USER_TASK")[];
|
|
480
|
+
permissionTypes: ("ACCESS" | "CREATE" | "CREATE_BATCH_OPERATION_CANCEL_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_DELETE_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_MIGRATE_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_MODIFY_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_RESOLVE_INCIDENT" | "CREATE_BATCH_OPERATION_DELETE_DECISION_INSTANCE" | "CREATE_BATCH_OPERATION_DELETE_DECISION_DEFINITION" | "CREATE_BATCH_OPERATION_DELETE_PROCESS_DEFINITION" | "CREATE_PROCESS_INSTANCE" | "CREATE_DECISION_INSTANCE" | "READ" | "READ_PROCESS_INSTANCE" | "READ_USER_TASK" | "READ_DECISION_INSTANCE" | "READ_PROCESS_DEFINITION" | "READ_DECISION_DEFINITION" | "UPDATE" | "UPDATE_PROCESS_INSTANCE" | "UPDATE_USER_TASK" | "DELETE" | "DELETE_PROCESS" | "DELETE_DRD" | "DELETE_FORM" | "DELETE_RESOURCE" | "DELETE_PROCESS_INSTANCE" | "DELETE_DECISION_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "CLAIM" | "COMPLETE" | "CREATE_TASK_LISTENER" | "READ_JOB_METRIC" | "READ_TASK_LISTENER" | "READ_USAGE_METRIC" | "UPDATE_TASK_LISTENER" | "DELETE_TASK_LISTENER" | "EVALUATE" | "CLAIM_USER_TASK" | "COMPLETE_USER_TASK" | "CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE" | "SUSPEND_PROCESS_INSTANCE" | "REVEAL")[];
|
|
460
481
|
authorizationKey: string;
|
|
461
482
|
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
462
483
|
ownerId: string;
|
|
463
484
|
ownerType: "UNSPECIFIED" | "MAPPING_RULE" | "GROUP" | "USER" | "ROLE" | "CLIENT";
|
|
464
|
-
resourceType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "MESSAGE" | "BATCH" | "SYSTEM" | "TENANT" | "RESOURCE" | "PROCESS_DEFINITION" | "DECISION_REQUIREMENTS_DEFINITION" | "DECISION_DEFINITION" | "GROUP" | "USER" | "ROLE" | "AUDIT_LOG" | "CLUSTER_VARIABLE" | "COMPONENT" | "DOCUMENT" | "EXPRESSION" | "GLOBAL_LISTENER";
|
|
485
|
+
resourceType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "MESSAGE" | "BATCH" | "SYSTEM" | "TENANT" | "RESOURCE" | "PROCESS_DEFINITION" | "DECISION_REQUIREMENTS_DEFINITION" | "DECISION_DEFINITION" | "GROUP" | "USER" | "ROLE" | "AUDIT_LOG" | "CLUSTER_VARIABLE" | "COMPONENT" | "DOCUMENT" | "EXPRESSION" | "GLOBAL_LISTENER" | "SECRET";
|
|
465
486
|
resourceId: string | null;
|
|
466
487
|
resourcePropertyName: string | null;
|
|
467
|
-
permissionTypes: ("ACCESS" | "CREATE" | "CREATE_BATCH_OPERATION_CANCEL_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_DELETE_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_MIGRATE_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_MODIFY_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_RESOLVE_INCIDENT" | "CREATE_BATCH_OPERATION_DELETE_DECISION_INSTANCE" | "CREATE_BATCH_OPERATION_DELETE_DECISION_DEFINITION" | "CREATE_BATCH_OPERATION_DELETE_PROCESS_DEFINITION" | "CREATE_PROCESS_INSTANCE" | "CREATE_DECISION_INSTANCE" | "READ" | "READ_PROCESS_INSTANCE" | "READ_USER_TASK" | "READ_DECISION_INSTANCE" | "READ_PROCESS_DEFINITION" | "READ_DECISION_DEFINITION" | "UPDATE" | "UPDATE_PROCESS_INSTANCE" | "UPDATE_USER_TASK" | "DELETE" | "DELETE_PROCESS" | "DELETE_DRD" | "DELETE_FORM" | "DELETE_RESOURCE" | "DELETE_PROCESS_INSTANCE" | "DELETE_DECISION_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "CLAIM" | "COMPLETE" | "CREATE_TASK_LISTENER" | "READ_JOB_METRIC" | "READ_TASK_LISTENER" | "READ_USAGE_METRIC" | "UPDATE_TASK_LISTENER" | "DELETE_TASK_LISTENER" | "EVALUATE" | "CLAIM_USER_TASK" | "COMPLETE_USER_TASK")[];
|
|
488
|
+
permissionTypes: ("ACCESS" | "CREATE" | "CREATE_BATCH_OPERATION_CANCEL_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_DELETE_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_MIGRATE_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_MODIFY_PROCESS_INSTANCE" | "CREATE_BATCH_OPERATION_RESOLVE_INCIDENT" | "CREATE_BATCH_OPERATION_DELETE_DECISION_INSTANCE" | "CREATE_BATCH_OPERATION_DELETE_DECISION_DEFINITION" | "CREATE_BATCH_OPERATION_DELETE_PROCESS_DEFINITION" | "CREATE_PROCESS_INSTANCE" | "CREATE_DECISION_INSTANCE" | "READ" | "READ_PROCESS_INSTANCE" | "READ_USER_TASK" | "READ_DECISION_INSTANCE" | "READ_PROCESS_DEFINITION" | "READ_DECISION_DEFINITION" | "UPDATE" | "UPDATE_PROCESS_INSTANCE" | "UPDATE_USER_TASK" | "DELETE" | "DELETE_PROCESS" | "DELETE_DRD" | "DELETE_FORM" | "DELETE_RESOURCE" | "DELETE_PROCESS_INSTANCE" | "DELETE_DECISION_INSTANCE" | "CANCEL_PROCESS_INSTANCE" | "MODIFY_PROCESS_INSTANCE" | "CLAIM" | "COMPLETE" | "CREATE_TASK_LISTENER" | "READ_JOB_METRIC" | "READ_TASK_LISTENER" | "READ_USAGE_METRIC" | "UPDATE_TASK_LISTENER" | "DELETE_TASK_LISTENER" | "EVALUATE" | "CLAIM_USER_TASK" | "COMPLETE_USER_TASK" | "CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE" | "SUSPEND_PROCESS_INSTANCE" | "REVEAL")[];
|
|
468
489
|
authorizationKey: string;
|
|
469
490
|
}>, unknown>>;
|
|
470
491
|
type QueryAuthorizationsResponseBody = z.infer<typeof queryAuthorizationsResponseBodySchema>;
|
|
@@ -15,6 +15,7 @@ var permissionTypeSchema = z.enum([
|
|
|
15
15
|
"CREATE_BATCH_OPERATION_DELETE_DECISION_INSTANCE",
|
|
16
16
|
"CREATE_BATCH_OPERATION_DELETE_DECISION_DEFINITION",
|
|
17
17
|
"CREATE_BATCH_OPERATION_DELETE_PROCESS_DEFINITION",
|
|
18
|
+
"CREATE_BATCH_OPERATION_SUSPEND_PROCESS_INSTANCE",
|
|
18
19
|
"CREATE_PROCESS_INSTANCE",
|
|
19
20
|
"CREATE_DECISION_INSTANCE",
|
|
20
21
|
"CREATE_TASK_LISTENER",
|
|
@@ -41,8 +42,10 @@ var permissionTypeSchema = z.enum([
|
|
|
41
42
|
"DELETE_TASK_LISTENER",
|
|
42
43
|
"EVALUATE",
|
|
43
44
|
"MODIFY_PROCESS_INSTANCE",
|
|
45
|
+
"SUSPEND_PROCESS_INSTANCE",
|
|
44
46
|
"CLAIM_USER_TASK",
|
|
45
|
-
"COMPLETE_USER_TASK"
|
|
47
|
+
"COMPLETE_USER_TASK",
|
|
48
|
+
"REVEAL"
|
|
46
49
|
]);
|
|
47
50
|
var resourceTypeSchema = z.enum([
|
|
48
51
|
"AUDIT_LOG",
|
|
@@ -61,6 +64,7 @@ var resourceTypeSchema = z.enum([
|
|
|
61
64
|
"PROCESS_DEFINITION",
|
|
62
65
|
"RESOURCE",
|
|
63
66
|
"ROLE",
|
|
67
|
+
"SECRET",
|
|
64
68
|
"SYSTEM",
|
|
65
69
|
"TENANT",
|
|
66
70
|
"USER",
|
package/dist/8.10/index.d.ts
CHANGED
|
@@ -980,7 +980,8 @@ declare const endpoints: {
|
|
|
980
980
|
processDefinitionVersionTag: string | null;
|
|
981
981
|
startDate: string;
|
|
982
982
|
endDate: string | null;
|
|
983
|
-
|
|
983
|
+
suspendedDate: string | null;
|
|
984
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
984
985
|
hasIncident: boolean;
|
|
985
986
|
tenantId: string;
|
|
986
987
|
processInstanceKey: string;
|
|
@@ -1005,7 +1006,8 @@ declare const endpoints: {
|
|
|
1005
1006
|
processDefinitionVersionTag: string | null;
|
|
1006
1007
|
startDate: string;
|
|
1007
1008
|
endDate: string | null;
|
|
1008
|
-
|
|
1009
|
+
suspendedDate: string | null;
|
|
1010
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
1009
1011
|
hasIncident: boolean;
|
|
1010
1012
|
tenantId: string;
|
|
1011
1013
|
processInstanceKey: string;
|
|
@@ -1026,7 +1028,8 @@ declare const endpoints: {
|
|
|
1026
1028
|
processDefinitionVersionTag: string | null;
|
|
1027
1029
|
startDate: string;
|
|
1028
1030
|
endDate: string | null;
|
|
1029
|
-
|
|
1031
|
+
suspendedDate: string | null;
|
|
1032
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
1030
1033
|
hasIncident: boolean;
|
|
1031
1034
|
tenantId: string;
|
|
1032
1035
|
processInstanceKey: string;
|
|
@@ -1047,7 +1050,8 @@ declare const endpoints: {
|
|
|
1047
1050
|
processDefinitionVersionTag: string | null;
|
|
1048
1051
|
startDate: string;
|
|
1049
1052
|
endDate: string | null;
|
|
1050
|
-
|
|
1053
|
+
suspendedDate: string | null;
|
|
1054
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
1051
1055
|
hasIncident: boolean;
|
|
1052
1056
|
tenantId: string;
|
|
1053
1057
|
processInstanceKey: string;
|
|
@@ -1068,7 +1072,8 @@ declare const endpoints: {
|
|
|
1068
1072
|
processDefinitionVersionTag: string | null;
|
|
1069
1073
|
startDate: string;
|
|
1070
1074
|
endDate: string | null;
|
|
1071
|
-
|
|
1075
|
+
suspendedDate: string | null;
|
|
1076
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
1072
1077
|
hasIncident: boolean;
|
|
1073
1078
|
tenantId: string;
|
|
1074
1079
|
processInstanceKey: string;
|
|
@@ -1091,7 +1096,8 @@ declare const endpoints: {
|
|
|
1091
1096
|
processDefinitionVersionTag: string | null;
|
|
1092
1097
|
startDate: string;
|
|
1093
1098
|
endDate: string | null;
|
|
1094
|
-
|
|
1099
|
+
suspendedDate: string | null;
|
|
1100
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
1095
1101
|
hasIncident: boolean;
|
|
1096
1102
|
tenantId: string;
|
|
1097
1103
|
processInstanceKey: string;
|
|
@@ -1112,7 +1118,8 @@ declare const endpoints: {
|
|
|
1112
1118
|
processDefinitionVersionTag: string | null;
|
|
1113
1119
|
startDate: string;
|
|
1114
1120
|
endDate: string | null;
|
|
1115
|
-
|
|
1121
|
+
suspendedDate: string | null;
|
|
1122
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
1116
1123
|
hasIncident: boolean;
|
|
1117
1124
|
tenantId: string;
|
|
1118
1125
|
processInstanceKey: string;
|
|
@@ -1559,7 +1566,8 @@ declare const endpoints: {
|
|
|
1559
1566
|
processDefinitionVersionTag: string | null;
|
|
1560
1567
|
startDate: string;
|
|
1561
1568
|
endDate: string | null;
|
|
1562
|
-
|
|
1569
|
+
suspendedDate: string | null;
|
|
1570
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
1563
1571
|
hasIncident: boolean;
|
|
1564
1572
|
tenantId: string;
|
|
1565
1573
|
processInstanceKey: string;
|
|
@@ -1580,7 +1588,8 @@ declare const endpoints: {
|
|
|
1580
1588
|
processDefinitionVersionTag: string | null;
|
|
1581
1589
|
startDate: string;
|
|
1582
1590
|
endDate: string | null;
|
|
1583
|
-
|
|
1591
|
+
suspendedDate: string | null;
|
|
1592
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
1584
1593
|
hasIncident: boolean;
|
|
1585
1594
|
tenantId: string;
|
|
1586
1595
|
processInstanceKey: string;
|
|
@@ -1601,7 +1610,8 @@ declare const endpoints: {
|
|
|
1601
1610
|
processDefinitionVersionTag: string | null;
|
|
1602
1611
|
startDate: string;
|
|
1603
1612
|
endDate: string | null;
|
|
1604
|
-
|
|
1613
|
+
suspendedDate: string | null;
|
|
1614
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
1605
1615
|
hasIncident: boolean;
|
|
1606
1616
|
tenantId: string;
|
|
1607
1617
|
processInstanceKey: string;
|
|
@@ -99,17 +99,20 @@ declare const getProcessDefinitionStatisticsRequestBodySchema: z.ZodObject<{
|
|
|
99
99
|
state: z.ZodOptional<z.ZodObject<{
|
|
100
100
|
$eq: z.ZodOptional<z.ZodEnum<{
|
|
101
101
|
ACTIVE: "ACTIVE";
|
|
102
|
+
SUSPENDED: "SUSPENDED";
|
|
102
103
|
COMPLETED: "COMPLETED";
|
|
103
104
|
TERMINATED: "TERMINATED";
|
|
104
105
|
}>>;
|
|
105
106
|
$neq: z.ZodOptional<z.ZodEnum<{
|
|
106
107
|
ACTIVE: "ACTIVE";
|
|
108
|
+
SUSPENDED: "SUSPENDED";
|
|
107
109
|
COMPLETED: "COMPLETED";
|
|
108
110
|
TERMINATED: "TERMINATED";
|
|
109
111
|
}>>;
|
|
110
112
|
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
111
113
|
$in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
112
114
|
ACTIVE: "ACTIVE";
|
|
115
|
+
SUSPENDED: "SUSPENDED";
|
|
113
116
|
COMPLETED: "COMPLETED";
|
|
114
117
|
TERMINATED: "TERMINATED";
|
|
115
118
|
}>>>;
|
|
@@ -184,17 +187,20 @@ declare const getProcessDefinitionStatisticsRequestBodySchema: z.ZodObject<{
|
|
|
184
187
|
elementInstanceState: z.ZodOptional<z.ZodObject<{
|
|
185
188
|
$eq: z.ZodOptional<z.ZodEnum<{
|
|
186
189
|
ACTIVE: "ACTIVE";
|
|
190
|
+
SUSPENDED: "SUSPENDED";
|
|
187
191
|
COMPLETED: "COMPLETED";
|
|
188
192
|
TERMINATED: "TERMINATED";
|
|
189
193
|
}>>;
|
|
190
194
|
$neq: z.ZodOptional<z.ZodEnum<{
|
|
191
195
|
ACTIVE: "ACTIVE";
|
|
196
|
+
SUSPENDED: "SUSPENDED";
|
|
192
197
|
COMPLETED: "COMPLETED";
|
|
193
198
|
TERMINATED: "TERMINATED";
|
|
194
199
|
}>>;
|
|
195
200
|
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
196
201
|
$in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
197
202
|
ACTIVE: "ACTIVE";
|
|
203
|
+
SUSPENDED: "SUSPENDED";
|
|
198
204
|
COMPLETED: "COMPLETED";
|
|
199
205
|
TERMINATED: "TERMINATED";
|
|
200
206
|
}>>>;
|
|
@@ -243,17 +249,20 @@ declare const getProcessDefinitionStatisticsRequestBodySchema: z.ZodObject<{
|
|
|
243
249
|
state: z.ZodOptional<z.ZodObject<{
|
|
244
250
|
$eq: z.ZodOptional<z.ZodEnum<{
|
|
245
251
|
ACTIVE: "ACTIVE";
|
|
252
|
+
SUSPENDED: "SUSPENDED";
|
|
246
253
|
COMPLETED: "COMPLETED";
|
|
247
254
|
TERMINATED: "TERMINATED";
|
|
248
255
|
}>>;
|
|
249
256
|
$neq: z.ZodOptional<z.ZodEnum<{
|
|
250
257
|
ACTIVE: "ACTIVE";
|
|
258
|
+
SUSPENDED: "SUSPENDED";
|
|
251
259
|
COMPLETED: "COMPLETED";
|
|
252
260
|
TERMINATED: "TERMINATED";
|
|
253
261
|
}>>;
|
|
254
262
|
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
255
263
|
$in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
256
264
|
ACTIVE: "ACTIVE";
|
|
265
|
+
SUSPENDED: "SUSPENDED";
|
|
257
266
|
COMPLETED: "COMPLETED";
|
|
258
267
|
TERMINATED: "TERMINATED";
|
|
259
268
|
}>>>;
|
|
@@ -328,17 +337,20 @@ declare const getProcessDefinitionStatisticsRequestBodySchema: z.ZodObject<{
|
|
|
328
337
|
elementInstanceState: z.ZodOptional<z.ZodObject<{
|
|
329
338
|
$eq: z.ZodOptional<z.ZodEnum<{
|
|
330
339
|
ACTIVE: "ACTIVE";
|
|
340
|
+
SUSPENDED: "SUSPENDED";
|
|
331
341
|
COMPLETED: "COMPLETED";
|
|
332
342
|
TERMINATED: "TERMINATED";
|
|
333
343
|
}>>;
|
|
334
344
|
$neq: z.ZodOptional<z.ZodEnum<{
|
|
335
345
|
ACTIVE: "ACTIVE";
|
|
346
|
+
SUSPENDED: "SUSPENDED";
|
|
336
347
|
COMPLETED: "COMPLETED";
|
|
337
348
|
TERMINATED: "TERMINATED";
|
|
338
349
|
}>>;
|
|
339
350
|
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
340
351
|
$in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
341
352
|
ACTIVE: "ACTIVE";
|
|
353
|
+
SUSPENDED: "SUSPENDED";
|
|
342
354
|
COMPLETED: "COMPLETED";
|
|
343
355
|
TERMINATED: "TERMINATED";
|
|
344
356
|
}>>>;
|
|
@@ -516,17 +528,20 @@ declare const getProcessDefinitionInstanceStatisticsRequestBodySchema: z.ZodObje
|
|
|
516
528
|
state: z.ZodOptional<z.ZodObject<{
|
|
517
529
|
$eq: z.ZodOptional<z.ZodEnum<{
|
|
518
530
|
ACTIVE: "ACTIVE";
|
|
531
|
+
SUSPENDED: "SUSPENDED";
|
|
519
532
|
COMPLETED: "COMPLETED";
|
|
520
533
|
TERMINATED: "TERMINATED";
|
|
521
534
|
}>>;
|
|
522
535
|
$neq: z.ZodOptional<z.ZodEnum<{
|
|
523
536
|
ACTIVE: "ACTIVE";
|
|
537
|
+
SUSPENDED: "SUSPENDED";
|
|
524
538
|
COMPLETED: "COMPLETED";
|
|
525
539
|
TERMINATED: "TERMINATED";
|
|
526
540
|
}>>;
|
|
527
541
|
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
528
542
|
$in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
529
543
|
ACTIVE: "ACTIVE";
|
|
544
|
+
SUSPENDED: "SUSPENDED";
|
|
530
545
|
COMPLETED: "COMPLETED";
|
|
531
546
|
TERMINATED: "TERMINATED";
|
|
532
547
|
}>>>;
|
|
@@ -601,17 +616,20 @@ declare const getProcessDefinitionInstanceStatisticsRequestBodySchema: z.ZodObje
|
|
|
601
616
|
elementInstanceState: z.ZodOptional<z.ZodObject<{
|
|
602
617
|
$eq: z.ZodOptional<z.ZodEnum<{
|
|
603
618
|
ACTIVE: "ACTIVE";
|
|
619
|
+
SUSPENDED: "SUSPENDED";
|
|
604
620
|
COMPLETED: "COMPLETED";
|
|
605
621
|
TERMINATED: "TERMINATED";
|
|
606
622
|
}>>;
|
|
607
623
|
$neq: z.ZodOptional<z.ZodEnum<{
|
|
608
624
|
ACTIVE: "ACTIVE";
|
|
625
|
+
SUSPENDED: "SUSPENDED";
|
|
609
626
|
COMPLETED: "COMPLETED";
|
|
610
627
|
TERMINATED: "TERMINATED";
|
|
611
628
|
}>>;
|
|
612
629
|
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
613
630
|
$in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
614
631
|
ACTIVE: "ACTIVE";
|
|
632
|
+
SUSPENDED: "SUSPENDED";
|
|
615
633
|
COMPLETED: "COMPLETED";
|
|
616
634
|
TERMINATED: "TERMINATED";
|
|
617
635
|
}>>>;
|
|
@@ -660,17 +678,20 @@ declare const getProcessDefinitionInstanceStatisticsRequestBodySchema: z.ZodObje
|
|
|
660
678
|
state: z.ZodOptional<z.ZodObject<{
|
|
661
679
|
$eq: z.ZodOptional<z.ZodEnum<{
|
|
662
680
|
ACTIVE: "ACTIVE";
|
|
681
|
+
SUSPENDED: "SUSPENDED";
|
|
663
682
|
COMPLETED: "COMPLETED";
|
|
664
683
|
TERMINATED: "TERMINATED";
|
|
665
684
|
}>>;
|
|
666
685
|
$neq: z.ZodOptional<z.ZodEnum<{
|
|
667
686
|
ACTIVE: "ACTIVE";
|
|
687
|
+
SUSPENDED: "SUSPENDED";
|
|
668
688
|
COMPLETED: "COMPLETED";
|
|
669
689
|
TERMINATED: "TERMINATED";
|
|
670
690
|
}>>;
|
|
671
691
|
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
672
692
|
$in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
673
693
|
ACTIVE: "ACTIVE";
|
|
694
|
+
SUSPENDED: "SUSPENDED";
|
|
674
695
|
COMPLETED: "COMPLETED";
|
|
675
696
|
TERMINATED: "TERMINATED";
|
|
676
697
|
}>>>;
|
|
@@ -745,17 +766,20 @@ declare const getProcessDefinitionInstanceStatisticsRequestBodySchema: z.ZodObje
|
|
|
745
766
|
elementInstanceState: z.ZodOptional<z.ZodObject<{
|
|
746
767
|
$eq: z.ZodOptional<z.ZodEnum<{
|
|
747
768
|
ACTIVE: "ACTIVE";
|
|
769
|
+
SUSPENDED: "SUSPENDED";
|
|
748
770
|
COMPLETED: "COMPLETED";
|
|
749
771
|
TERMINATED: "TERMINATED";
|
|
750
772
|
}>>;
|
|
751
773
|
$neq: z.ZodOptional<z.ZodEnum<{
|
|
752
774
|
ACTIVE: "ACTIVE";
|
|
775
|
+
SUSPENDED: "SUSPENDED";
|
|
753
776
|
COMPLETED: "COMPLETED";
|
|
754
777
|
TERMINATED: "TERMINATED";
|
|
755
778
|
}>>;
|
|
756
779
|
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
757
780
|
$in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
758
781
|
ACTIVE: "ACTIVE";
|
|
782
|
+
SUSPENDED: "SUSPENDED";
|
|
759
783
|
COMPLETED: "COMPLETED";
|
|
760
784
|
TERMINATED: "TERMINATED";
|
|
761
785
|
}>>>;
|
|
@@ -12,7 +12,8 @@ declare const deleteProcessInstance: {
|
|
|
12
12
|
processDefinitionVersionTag: string | null;
|
|
13
13
|
startDate: string;
|
|
14
14
|
endDate: string | null;
|
|
15
|
-
|
|
15
|
+
suspendedDate: string | null;
|
|
16
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
16
17
|
hasIncident: boolean;
|
|
17
18
|
tenantId: string;
|
|
18
19
|
processInstanceKey: string;
|
|
@@ -72,7 +73,8 @@ declare const modifyProcessInstance: {
|
|
|
72
73
|
processDefinitionVersionTag: string | null;
|
|
73
74
|
startDate: string;
|
|
74
75
|
endDate: string | null;
|
|
75
|
-
|
|
76
|
+
suspendedDate: string | null;
|
|
77
|
+
state: "ACTIVE" | "SUSPENDED" | "COMPLETED" | "TERMINATED";
|
|
76
78
|
hasIncident: boolean;
|
|
77
79
|
tenantId: string;
|
|
78
80
|
processInstanceKey: string;
|