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

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.
@@ -13,6 +13,7 @@ declare const auditLogEntityTypeSchema: z.ZodEnum<{
13
13
  CLIENT: "CLIENT";
14
14
  DECISION: "DECISION";
15
15
  INCIDENT: "INCIDENT";
16
+ JOB: "JOB";
16
17
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
17
18
  VARIABLE: "VARIABLE";
18
19
  }>;
@@ -68,6 +69,7 @@ declare const auditLogSchema: z.ZodObject<{
68
69
  CLIENT: "CLIENT";
69
70
  DECISION: "DECISION";
70
71
  INCIDENT: "INCIDENT";
72
+ JOB: "JOB";
71
73
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
72
74
  VARIABLE: "VARIABLE";
73
75
  }>;
@@ -148,6 +150,7 @@ declare const auditLogSchema: z.ZodObject<{
148
150
  CLIENT: "CLIENT";
149
151
  DECISION: "DECISION";
150
152
  INCIDENT: "INCIDENT";
153
+ JOB: "JOB";
151
154
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
152
155
  VARIABLE: "VARIABLE";
153
156
  }>>;
@@ -355,6 +358,7 @@ declare const auditLogFilterSchema: z.ZodObject<{
355
358
  CLIENT: "CLIENT";
356
359
  DECISION: "DECISION";
357
360
  INCIDENT: "INCIDENT";
361
+ JOB: "JOB";
358
362
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
359
363
  VARIABLE: "VARIABLE";
360
364
  }>, z.ZodObject<{
@@ -371,6 +375,7 @@ declare const auditLogFilterSchema: z.ZodObject<{
371
375
  CLIENT: "CLIENT";
372
376
  DECISION: "DECISION";
373
377
  INCIDENT: "INCIDENT";
378
+ JOB: "JOB";
374
379
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
375
380
  VARIABLE: "VARIABLE";
376
381
  }>>;
@@ -387,6 +392,7 @@ declare const auditLogFilterSchema: z.ZodObject<{
387
392
  CLIENT: "CLIENT";
388
393
  DECISION: "DECISION";
389
394
  INCIDENT: "INCIDENT";
395
+ JOB: "JOB";
390
396
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
391
397
  VARIABLE: "VARIABLE";
392
398
  }>>;
@@ -404,6 +410,7 @@ declare const auditLogFilterSchema: z.ZodObject<{
404
410
  CLIENT: "CLIENT";
405
411
  DECISION: "DECISION";
406
412
  INCIDENT: "INCIDENT";
413
+ JOB: "JOB";
407
414
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
408
415
  VARIABLE: "VARIABLE";
409
416
  }>>>;
@@ -420,6 +427,7 @@ declare const auditLogFilterSchema: z.ZodObject<{
420
427
  CLIENT: "CLIENT";
421
428
  DECISION: "DECISION";
422
429
  INCIDENT: "INCIDENT";
430
+ JOB: "JOB";
423
431
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
424
432
  VARIABLE: "VARIABLE";
425
433
  }>>>;
@@ -496,6 +504,7 @@ declare const auditLogFilterSchema: z.ZodObject<{
496
504
  CLIENT: "CLIENT";
497
505
  DECISION: "DECISION";
498
506
  INCIDENT: "INCIDENT";
507
+ JOB: "JOB";
499
508
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
500
509
  VARIABLE: "VARIABLE";
501
510
  }>, z.ZodObject<{
@@ -512,6 +521,7 @@ declare const auditLogFilterSchema: z.ZodObject<{
512
521
  CLIENT: "CLIENT";
513
522
  DECISION: "DECISION";
514
523
  INCIDENT: "INCIDENT";
524
+ JOB: "JOB";
515
525
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
516
526
  VARIABLE: "VARIABLE";
517
527
  }>>;
@@ -528,6 +538,7 @@ declare const auditLogFilterSchema: z.ZodObject<{
528
538
  CLIENT: "CLIENT";
529
539
  DECISION: "DECISION";
530
540
  INCIDENT: "INCIDENT";
541
+ JOB: "JOB";
531
542
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
532
543
  VARIABLE: "VARIABLE";
533
544
  }>>;
@@ -545,6 +556,7 @@ declare const auditLogFilterSchema: z.ZodObject<{
545
556
  CLIENT: "CLIENT";
546
557
  DECISION: "DECISION";
547
558
  INCIDENT: "INCIDENT";
559
+ JOB: "JOB";
548
560
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
549
561
  VARIABLE: "VARIABLE";
550
562
  }>>>;
@@ -561,10 +573,19 @@ declare const auditLogFilterSchema: z.ZodObject<{
561
573
  CLIENT: "CLIENT";
562
574
  DECISION: "DECISION";
563
575
  INCIDENT: "INCIDENT";
576
+ JOB: "JOB";
564
577
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
565
578
  VARIABLE: "VARIABLE";
566
579
  }>>>;
567
580
  }, z.core.$strip>]>>>;
581
+ relatedEntityKey: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
582
+ $eq: z.ZodOptional<z.ZodString>;
583
+ $neq: z.ZodOptional<z.ZodString>;
584
+ $exists: z.ZodOptional<z.ZodBoolean>;
585
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
586
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
587
+ $like: z.ZodOptional<z.ZodString>;
588
+ }, z.core.$strip>, z.ZodString]>>>;
568
589
  entityDescription: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
569
590
  $eq: z.ZodOptional<z.ZodString>;
570
591
  $neq: z.ZodOptional<z.ZodString>;
@@ -817,6 +838,7 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
817
838
  CLIENT: "CLIENT";
818
839
  DECISION: "DECISION";
819
840
  INCIDENT: "INCIDENT";
841
+ JOB: "JOB";
820
842
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
821
843
  VARIABLE: "VARIABLE";
822
844
  }>, z.ZodObject<{
@@ -833,6 +855,7 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
833
855
  CLIENT: "CLIENT";
834
856
  DECISION: "DECISION";
835
857
  INCIDENT: "INCIDENT";
858
+ JOB: "JOB";
836
859
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
837
860
  VARIABLE: "VARIABLE";
838
861
  }>>;
@@ -849,6 +872,7 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
849
872
  CLIENT: "CLIENT";
850
873
  DECISION: "DECISION";
851
874
  INCIDENT: "INCIDENT";
875
+ JOB: "JOB";
852
876
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
853
877
  VARIABLE: "VARIABLE";
854
878
  }>>;
@@ -866,6 +890,7 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
866
890
  CLIENT: "CLIENT";
867
891
  DECISION: "DECISION";
868
892
  INCIDENT: "INCIDENT";
893
+ JOB: "JOB";
869
894
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
870
895
  VARIABLE: "VARIABLE";
871
896
  }>>>;
@@ -882,6 +907,7 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
882
907
  CLIENT: "CLIENT";
883
908
  DECISION: "DECISION";
884
909
  INCIDENT: "INCIDENT";
910
+ JOB: "JOB";
885
911
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
886
912
  VARIABLE: "VARIABLE";
887
913
  }>>>;
@@ -958,6 +984,7 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
958
984
  CLIENT: "CLIENT";
959
985
  DECISION: "DECISION";
960
986
  INCIDENT: "INCIDENT";
987
+ JOB: "JOB";
961
988
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
962
989
  VARIABLE: "VARIABLE";
963
990
  }>, z.ZodObject<{
@@ -974,6 +1001,7 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
974
1001
  CLIENT: "CLIENT";
975
1002
  DECISION: "DECISION";
976
1003
  INCIDENT: "INCIDENT";
1004
+ JOB: "JOB";
977
1005
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
978
1006
  VARIABLE: "VARIABLE";
979
1007
  }>>;
@@ -990,6 +1018,7 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
990
1018
  CLIENT: "CLIENT";
991
1019
  DECISION: "DECISION";
992
1020
  INCIDENT: "INCIDENT";
1021
+ JOB: "JOB";
993
1022
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
994
1023
  VARIABLE: "VARIABLE";
995
1024
  }>>;
@@ -1007,6 +1036,7 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
1007
1036
  CLIENT: "CLIENT";
1008
1037
  DECISION: "DECISION";
1009
1038
  INCIDENT: "INCIDENT";
1039
+ JOB: "JOB";
1010
1040
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
1011
1041
  VARIABLE: "VARIABLE";
1012
1042
  }>>>;
@@ -1023,10 +1053,19 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
1023
1053
  CLIENT: "CLIENT";
1024
1054
  DECISION: "DECISION";
1025
1055
  INCIDENT: "INCIDENT";
1056
+ JOB: "JOB";
1026
1057
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
1027
1058
  VARIABLE: "VARIABLE";
1028
1059
  }>>>;
1029
1060
  }, z.core.$strip>]>>>;
1061
+ relatedEntityKey: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1062
+ $eq: z.ZodOptional<z.ZodString>;
1063
+ $neq: z.ZodOptional<z.ZodString>;
1064
+ $exists: z.ZodOptional<z.ZodBoolean>;
1065
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
1066
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
1067
+ $like: z.ZodOptional<z.ZodString>;
1068
+ }, z.core.$strip>, z.ZodString]>>>;
1030
1069
  entityDescription: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1031
1070
  $eq: z.ZodOptional<z.ZodString>;
1032
1071
  $neq: z.ZodOptional<z.ZodString>;
@@ -1041,7 +1080,7 @@ type QueryAuditLogsRequestBody = z.infer<typeof queryAuditLogsRequestBodySchema>
1041
1080
  declare const queryAuditLogsResponseBodySchema: z.ZodType<import('./common').QueryResponseBody<{
1042
1081
  auditLogKey: string;
1043
1082
  entityKey: string;
1044
- entityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "PROCESS_INSTANCE" | "VARIABLE";
1083
+ entityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE";
1045
1084
  operationType: "UNKNOWN" | "CREATE" | "UPDATE" | "DELETE" | "COMPLETE" | "EVALUATE" | "ASSIGN" | "CANCEL" | "MIGRATE" | "MODIFY" | "RESOLVE" | "RESUME" | "SUSPEND" | "UNASSIGN";
1046
1085
  batchOperationKey: string | null;
1047
1086
  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" | null;
@@ -1068,13 +1107,13 @@ declare const queryAuditLogsResponseBodySchema: z.ZodType<import('./common').Que
1068
1107
  formKey: string | null;
1069
1108
  resourceKey: string | null;
1070
1109
  relatedEntityKey: string | null;
1071
- relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "PROCESS_INSTANCE" | "VARIABLE" | null;
1110
+ relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
1072
1111
  entityDescription: string | null;
1073
1112
  agentElementId: string | null;
1074
1113
  }>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
1075
1114
  auditLogKey: string;
1076
1115
  entityKey: string;
1077
- entityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "PROCESS_INSTANCE" | "VARIABLE";
1116
+ entityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE";
1078
1117
  operationType: "UNKNOWN" | "CREATE" | "UPDATE" | "DELETE" | "COMPLETE" | "EVALUATE" | "ASSIGN" | "CANCEL" | "MIGRATE" | "MODIFY" | "RESOLVE" | "RESUME" | "SUSPEND" | "UNASSIGN";
1079
1118
  batchOperationKey: string | null;
1080
1119
  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" | null;
@@ -1101,7 +1140,7 @@ declare const queryAuditLogsResponseBodySchema: z.ZodType<import('./common').Que
1101
1140
  formKey: string | null;
1102
1141
  resourceKey: string | null;
1103
1142
  relatedEntityKey: string | null;
1104
- relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "PROCESS_INSTANCE" | "VARIABLE" | null;
1143
+ relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
1105
1144
  entityDescription: string | null;
1106
1145
  agentElementId: string | null;
1107
1146
  }>, unknown>>;
@@ -1126,6 +1165,7 @@ declare const getAuditLogResponseBodySchema: z.ZodObject<{
1126
1165
  CLIENT: "CLIENT";
1127
1166
  DECISION: "DECISION";
1128
1167
  INCIDENT: "INCIDENT";
1168
+ JOB: "JOB";
1129
1169
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
1130
1170
  VARIABLE: "VARIABLE";
1131
1171
  }>;
@@ -1206,6 +1246,7 @@ declare const getAuditLogResponseBodySchema: z.ZodObject<{
1206
1246
  CLIENT: "CLIENT";
1207
1247
  DECISION: "DECISION";
1208
1248
  INCIDENT: "INCIDENT";
1249
+ JOB: "JOB";
1209
1250
  PROCESS_INSTANCE: "PROCESS_INSTANCE";
1210
1251
  VARIABLE: "VARIABLE";
1211
1252
  }>>;
@@ -6,6 +6,7 @@ const auditLogEntityTypeSchema = z.enum([
6
6
  "DECISION",
7
7
  "GROUP",
8
8
  "INCIDENT",
9
+ "JOB",
9
10
  "MAPPING_RULE",
10
11
  "PROCESS_INSTANCE",
11
12
  "ROLE",
@@ -98,6 +99,7 @@ const auditLogFilterSchema = z.object({
98
99
  formKey: advancedStringFilterSchema.optional(),
99
100
  resourceKey: advancedStringFilterSchema.optional(),
100
101
  relatedEntityType: getEnumFilterSchema(auditLogEntityTypeSchema).optional(),
102
+ relatedEntityKey: advancedStringFilterSchema.optional(),
101
103
  entityDescription: advancedStringFilterSchema.optional()
102
104
  }).partial();
103
105
  const auditLogSortFieldEnum = z.enum([
@@ -0,0 +1,151 @@
1
+ import { z } from 'zod';
2
+ import { Endpoint } from './common';
3
+ declare const clusterVariableScopeSchema: z.ZodEnum<{
4
+ TENANT: "TENANT";
5
+ GLOBAL: "GLOBAL";
6
+ }>;
7
+ type ClusterVariableScope = z.infer<typeof clusterVariableScopeSchema>;
8
+ declare const clusterVariableSchema: z.ZodObject<{
9
+ name: z.ZodString;
10
+ scope: z.ZodEnum<{
11
+ TENANT: "TENANT";
12
+ GLOBAL: "GLOBAL";
13
+ }>;
14
+ tenantId: z.ZodNullable<z.ZodString>;
15
+ value: z.ZodString;
16
+ }, z.core.$strip>;
17
+ type ClusterVariable = z.infer<typeof clusterVariableSchema>;
18
+ declare const clusterVariableSearchResultSchema: z.ZodObject<{
19
+ name: z.ZodString;
20
+ scope: z.ZodEnum<{
21
+ TENANT: "TENANT";
22
+ GLOBAL: "GLOBAL";
23
+ }>;
24
+ tenantId: z.ZodNullable<z.ZodString>;
25
+ value: z.ZodString;
26
+ isTruncated: z.ZodBoolean;
27
+ }, z.core.$strip>;
28
+ type ClusterVariableSearchResult = z.infer<typeof clusterVariableSearchResultSchema>;
29
+ declare const createClusterVariableRequestBodySchema: z.ZodObject<{
30
+ name: z.ZodString;
31
+ value: z.ZodUnknown;
32
+ }, z.core.$strip>;
33
+ type CreateClusterVariableRequestBody = z.infer<typeof createClusterVariableRequestBodySchema>;
34
+ declare const updateClusterVariableRequestBodySchema: z.ZodObject<{
35
+ value: z.ZodUnknown;
36
+ }, z.core.$strip>;
37
+ type UpdateClusterVariableRequestBody = z.infer<typeof updateClusterVariableRequestBodySchema>;
38
+ declare const queryClusterVariablesRequestBodySchema: z.ZodObject<{
39
+ sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
40
+ field: z.ZodEnum<{
41
+ value: "value";
42
+ tenantId: "tenantId";
43
+ name: "name";
44
+ scope: "scope";
45
+ }>;
46
+ order: z.ZodOptional<z.ZodEnum<{
47
+ asc: "asc";
48
+ desc: "desc";
49
+ }>>;
50
+ }, z.core.$strip>>>;
51
+ page: z.ZodOptional<z.ZodObject<{
52
+ from: z.ZodOptional<z.ZodNumber>;
53
+ limit: z.ZodOptional<z.ZodNumber>;
54
+ before: z.ZodOptional<z.ZodOptional<z.ZodString>>;
55
+ after: z.ZodOptional<z.ZodOptional<z.ZodString>>;
56
+ }, z.core.$strip>>;
57
+ filter: z.ZodOptional<z.ZodObject<{
58
+ name: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
59
+ $eq: z.ZodOptional<z.ZodString>;
60
+ $neq: z.ZodOptional<z.ZodString>;
61
+ $exists: z.ZodOptional<z.ZodBoolean>;
62
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
64
+ $like: z.ZodOptional<z.ZodString>;
65
+ }, z.core.$strip>, z.ZodString]>>;
66
+ value: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
67
+ $eq: z.ZodOptional<z.ZodString>;
68
+ $neq: z.ZodOptional<z.ZodString>;
69
+ $exists: z.ZodOptional<z.ZodBoolean>;
70
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
+ $like: z.ZodOptional<z.ZodString>;
73
+ }, z.core.$strip>, z.ZodString]>>;
74
+ scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
75
+ TENANT: "TENANT";
76
+ GLOBAL: "GLOBAL";
77
+ }>, z.ZodObject<{
78
+ $eq: z.ZodOptional<z.ZodEnum<{
79
+ TENANT: "TENANT";
80
+ GLOBAL: "GLOBAL";
81
+ }>>;
82
+ $neq: z.ZodOptional<z.ZodEnum<{
83
+ TENANT: "TENANT";
84
+ GLOBAL: "GLOBAL";
85
+ }>>;
86
+ $exists: z.ZodOptional<z.ZodBoolean>;
87
+ $in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
88
+ TENANT: "TENANT";
89
+ GLOBAL: "GLOBAL";
90
+ }>>>;
91
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
92
+ TENANT: "TENANT";
93
+ GLOBAL: "GLOBAL";
94
+ }>>>;
95
+ }, z.core.$strip>]>>;
96
+ tenantId: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
97
+ $eq: z.ZodOptional<z.ZodString>;
98
+ $neq: z.ZodOptional<z.ZodString>;
99
+ $exists: z.ZodOptional<z.ZodBoolean>;
100
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
102
+ $like: z.ZodOptional<z.ZodString>;
103
+ }, z.core.$strip>, z.ZodString]>>;
104
+ isTruncated: z.ZodOptional<z.ZodBoolean>;
105
+ }, z.core.$strip>>;
106
+ }, z.core.$strip>;
107
+ type QueryClusterVariablesRequestBody = z.infer<typeof queryClusterVariablesRequestBodySchema>;
108
+ declare const queryClusterVariablesResponseBodySchema: z.ZodType<import('./common').QueryResponseBody<{
109
+ name: string;
110
+ scope: "TENANT" | "GLOBAL";
111
+ tenantId: string | null;
112
+ value: string;
113
+ isTruncated: boolean;
114
+ }>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
115
+ name: string;
116
+ scope: "TENANT" | "GLOBAL";
117
+ tenantId: string | null;
118
+ value: string;
119
+ isTruncated: boolean;
120
+ }>, unknown>>;
121
+ type QueryClusterVariablesResponseBody = z.infer<typeof queryClusterVariablesResponseBodySchema>;
122
+ declare const searchClusterVariables: Endpoint<{
123
+ truncateValues?: boolean;
124
+ }>;
125
+ declare const createGlobalClusterVariable: Endpoint;
126
+ declare const createTenantClusterVariable: Endpoint<{
127
+ tenantId: string;
128
+ }>;
129
+ declare const getGlobalClusterVariable: Endpoint<{
130
+ name: string;
131
+ }>;
132
+ declare const getTenantClusterVariable: Endpoint<{
133
+ tenantId: string;
134
+ name: string;
135
+ }>;
136
+ declare const updateGlobalClusterVariable: Endpoint<{
137
+ name: string;
138
+ }>;
139
+ declare const updateTenantClusterVariable: Endpoint<{
140
+ tenantId: string;
141
+ name: string;
142
+ }>;
143
+ declare const deleteGlobalClusterVariable: Endpoint<{
144
+ name: string;
145
+ }>;
146
+ declare const deleteTenantClusterVariable: Endpoint<{
147
+ tenantId: string;
148
+ name: string;
149
+ }>;
150
+ export { clusterVariableScopeSchema, clusterVariableSchema, clusterVariableSearchResultSchema, createClusterVariableRequestBodySchema, updateClusterVariableRequestBodySchema, queryClusterVariablesRequestBodySchema, queryClusterVariablesResponseBodySchema, searchClusterVariables, createGlobalClusterVariable, createTenantClusterVariable, getGlobalClusterVariable, getTenantClusterVariable, updateGlobalClusterVariable, updateTenantClusterVariable, deleteGlobalClusterVariable, deleteTenantClusterVariable, };
151
+ export type { ClusterVariableScope, ClusterVariable, ClusterVariableSearchResult, CreateClusterVariableRequestBody, UpdateClusterVariableRequestBody, QueryClusterVariablesRequestBody, QueryClusterVariablesResponseBody, };
@@ -0,0 +1,84 @@
1
+ import { z } from "zod";
2
+ import { getQueryRequestBodySchema, advancedStringFilterSchema, getEnumFilterSchema, getQueryResponseBodySchema, API_VERSION } from "./common.js";
3
+ const clusterVariableScopeSchema = z.enum(["GLOBAL", "TENANT"]);
4
+ const clusterVariableSchema = z.object({
5
+ name: z.string(),
6
+ scope: clusterVariableScopeSchema,
7
+ tenantId: z.string().nullable(),
8
+ value: z.string()
9
+ });
10
+ const clusterVariableSearchResultSchema = clusterVariableSchema.extend({
11
+ isTruncated: z.boolean()
12
+ });
13
+ const createClusterVariableRequestBodySchema = z.object({
14
+ name: z.string(),
15
+ value: z.unknown()
16
+ });
17
+ const updateClusterVariableRequestBodySchema = z.object({
18
+ value: z.unknown()
19
+ });
20
+ const queryClusterVariablesRequestBodySchema = getQueryRequestBodySchema({
21
+ sortFields: ["name", "value", "tenantId", "scope"],
22
+ filter: z.object({
23
+ name: advancedStringFilterSchema.optional(),
24
+ value: advancedStringFilterSchema.optional(),
25
+ scope: getEnumFilterSchema(clusterVariableScopeSchema).optional(),
26
+ tenantId: advancedStringFilterSchema.optional(),
27
+ isTruncated: z.boolean().optional()
28
+ })
29
+ });
30
+ const queryClusterVariablesResponseBodySchema = getQueryResponseBodySchema(clusterVariableSearchResultSchema);
31
+ const searchClusterVariables = {
32
+ method: "POST",
33
+ getUrl: ({ truncateValues } = {}) => `/${API_VERSION}/cluster-variables/search${truncateValues !== void 0 ? `?truncateValues=${truncateValues}` : ""}`
34
+ };
35
+ const createGlobalClusterVariable = {
36
+ method: "POST",
37
+ getUrl: () => `/${API_VERSION}/cluster-variables/global`
38
+ };
39
+ const createTenantClusterVariable = {
40
+ method: "POST",
41
+ getUrl: ({ tenantId }) => `/${API_VERSION}/cluster-variables/tenants/${tenantId}`
42
+ };
43
+ const getGlobalClusterVariable = {
44
+ method: "GET",
45
+ getUrl: ({ name }) => `/${API_VERSION}/cluster-variables/global/${name}`
46
+ };
47
+ const getTenantClusterVariable = {
48
+ method: "GET",
49
+ getUrl: ({ tenantId, name }) => `/${API_VERSION}/cluster-variables/tenants/${tenantId}/${name}`
50
+ };
51
+ const updateGlobalClusterVariable = {
52
+ method: "PUT",
53
+ getUrl: ({ name }) => `/${API_VERSION}/cluster-variables/global/${name}`
54
+ };
55
+ const updateTenantClusterVariable = {
56
+ method: "PUT",
57
+ getUrl: ({ tenantId, name }) => `/${API_VERSION}/cluster-variables/tenants/${tenantId}/${name}`
58
+ };
59
+ const deleteGlobalClusterVariable = {
60
+ method: "DELETE",
61
+ getUrl: ({ name }) => `/${API_VERSION}/cluster-variables/global/${name}`
62
+ };
63
+ const deleteTenantClusterVariable = {
64
+ method: "DELETE",
65
+ getUrl: ({ tenantId, name }) => `/${API_VERSION}/cluster-variables/tenants/${tenantId}/${name}`
66
+ };
67
+ export {
68
+ clusterVariableSchema,
69
+ clusterVariableScopeSchema,
70
+ clusterVariableSearchResultSchema,
71
+ createClusterVariableRequestBodySchema,
72
+ createGlobalClusterVariable,
73
+ createTenantClusterVariable,
74
+ deleteGlobalClusterVariable,
75
+ deleteTenantClusterVariable,
76
+ getGlobalClusterVariable,
77
+ getTenantClusterVariable,
78
+ queryClusterVariablesRequestBodySchema,
79
+ queryClusterVariablesResponseBodySchema,
80
+ searchClusterVariables,
81
+ updateClusterVariableRequestBodySchema,
82
+ updateGlobalClusterVariable,
83
+ updateTenantClusterVariable
84
+ };
@@ -0,0 +1,223 @@
1
+ import { z } from 'zod';
2
+ import { Endpoint } from './common';
3
+ declare const globalListenerSourceSchema: z.ZodEnum<{
4
+ CONFIGURATION: "CONFIGURATION";
5
+ API: "API";
6
+ }>;
7
+ type GlobalListenerSource = z.infer<typeof globalListenerSourceSchema>;
8
+ declare const globalTaskListenerEventTypeSchema: z.ZodEnum<{
9
+ all: "all";
10
+ creating: "creating";
11
+ assigning: "assigning";
12
+ updating: "updating";
13
+ completing: "completing";
14
+ canceling: "canceling";
15
+ }>;
16
+ type GlobalTaskListenerEventType = z.infer<typeof globalTaskListenerEventTypeSchema>;
17
+ declare const globalTaskListenerSchema: z.ZodObject<{
18
+ id: z.ZodString;
19
+ type: z.ZodString;
20
+ eventTypes: z.ZodArray<z.ZodEnum<{
21
+ all: "all";
22
+ creating: "creating";
23
+ assigning: "assigning";
24
+ updating: "updating";
25
+ completing: "completing";
26
+ canceling: "canceling";
27
+ }>>;
28
+ retries: z.ZodNullable<z.ZodNumber>;
29
+ afterNonGlobal: z.ZodNullable<z.ZodBoolean>;
30
+ priority: z.ZodNullable<z.ZodNumber>;
31
+ source: z.ZodOptional<z.ZodEnum<{
32
+ CONFIGURATION: "CONFIGURATION";
33
+ API: "API";
34
+ }>>;
35
+ }, z.core.$strip>;
36
+ type GlobalTaskListener = z.infer<typeof globalTaskListenerSchema>;
37
+ declare const createGlobalTaskListenerRequestBodySchema: z.ZodObject<{
38
+ id: z.ZodString;
39
+ type: z.ZodString;
40
+ eventTypes: z.ZodArray<z.ZodEnum<{
41
+ all: "all";
42
+ creating: "creating";
43
+ assigning: "assigning";
44
+ updating: "updating";
45
+ completing: "completing";
46
+ canceling: "canceling";
47
+ }>>;
48
+ retries: z.ZodOptional<z.ZodNumber>;
49
+ afterNonGlobal: z.ZodOptional<z.ZodBoolean>;
50
+ priority: z.ZodOptional<z.ZodNumber>;
51
+ }, z.core.$strip>;
52
+ type CreateGlobalTaskListenerRequestBody = z.infer<typeof createGlobalTaskListenerRequestBodySchema>;
53
+ declare const updateGlobalTaskListenerRequestBodySchema: z.ZodObject<{
54
+ type: z.ZodString;
55
+ eventTypes: z.ZodArray<z.ZodEnum<{
56
+ all: "all";
57
+ creating: "creating";
58
+ assigning: "assigning";
59
+ updating: "updating";
60
+ completing: "completing";
61
+ canceling: "canceling";
62
+ }>>;
63
+ retries: z.ZodOptional<z.ZodNumber>;
64
+ afterNonGlobal: z.ZodOptional<z.ZodBoolean>;
65
+ priority: z.ZodOptional<z.ZodNumber>;
66
+ }, z.core.$strip>;
67
+ type UpdateGlobalTaskListenerRequestBody = z.infer<typeof updateGlobalTaskListenerRequestBodySchema>;
68
+ declare const queryGlobalTaskListenersRequestBodySchema: z.ZodObject<{
69
+ sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
70
+ field: z.ZodEnum<{
71
+ type: "type";
72
+ id: "id";
73
+ priority: "priority";
74
+ afterNonGlobal: "afterNonGlobal";
75
+ source: "source";
76
+ }>;
77
+ order: z.ZodOptional<z.ZodEnum<{
78
+ asc: "asc";
79
+ desc: "desc";
80
+ }>>;
81
+ }, z.core.$strip>>>;
82
+ page: z.ZodOptional<z.ZodObject<{
83
+ from: z.ZodOptional<z.ZodNumber>;
84
+ limit: z.ZodOptional<z.ZodNumber>;
85
+ before: z.ZodOptional<z.ZodOptional<z.ZodString>>;
86
+ after: z.ZodOptional<z.ZodOptional<z.ZodString>>;
87
+ }, z.core.$strip>>;
88
+ filter: z.ZodOptional<z.ZodObject<{
89
+ id: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
90
+ $eq: z.ZodOptional<z.ZodString>;
91
+ $neq: z.ZodOptional<z.ZodString>;
92
+ $exists: z.ZodOptional<z.ZodBoolean>;
93
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
94
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
95
+ $like: z.ZodOptional<z.ZodString>;
96
+ }, z.core.$strip>, z.ZodString]>>;
97
+ type: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
98
+ $eq: z.ZodOptional<z.ZodString>;
99
+ $neq: z.ZodOptional<z.ZodString>;
100
+ $exists: z.ZodOptional<z.ZodBoolean>;
101
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
102
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
103
+ $like: z.ZodOptional<z.ZodString>;
104
+ }, z.core.$strip>, z.ZodString]>>;
105
+ retries: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
106
+ $eq: z.ZodOptional<z.ZodNumber>;
107
+ $neq: z.ZodOptional<z.ZodNumber>;
108
+ $exists: z.ZodOptional<z.ZodBoolean>;
109
+ $gt: z.ZodOptional<z.ZodNumber>;
110
+ $gte: z.ZodOptional<z.ZodNumber>;
111
+ $lt: z.ZodOptional<z.ZodNumber>;
112
+ $lte: z.ZodOptional<z.ZodNumber>;
113
+ $in: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
114
+ }, z.core.$strip>]>>;
115
+ eventTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
116
+ all: "all";
117
+ creating: "creating";
118
+ assigning: "assigning";
119
+ updating: "updating";
120
+ completing: "completing";
121
+ canceling: "canceling";
122
+ }>, z.ZodObject<{
123
+ $eq: z.ZodOptional<z.ZodEnum<{
124
+ all: "all";
125
+ creating: "creating";
126
+ assigning: "assigning";
127
+ updating: "updating";
128
+ completing: "completing";
129
+ canceling: "canceling";
130
+ }>>;
131
+ $neq: z.ZodOptional<z.ZodEnum<{
132
+ all: "all";
133
+ creating: "creating";
134
+ assigning: "assigning";
135
+ updating: "updating";
136
+ completing: "completing";
137
+ canceling: "canceling";
138
+ }>>;
139
+ $exists: z.ZodOptional<z.ZodBoolean>;
140
+ $in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
141
+ all: "all";
142
+ creating: "creating";
143
+ assigning: "assigning";
144
+ updating: "updating";
145
+ completing: "completing";
146
+ canceling: "canceling";
147
+ }>>>;
148
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
149
+ all: "all";
150
+ creating: "creating";
151
+ assigning: "assigning";
152
+ updating: "updating";
153
+ completing: "completing";
154
+ canceling: "canceling";
155
+ }>>>;
156
+ }, z.core.$strip>]>>>;
157
+ afterNonGlobal: z.ZodOptional<z.ZodBoolean>;
158
+ priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
159
+ $eq: z.ZodOptional<z.ZodNumber>;
160
+ $neq: z.ZodOptional<z.ZodNumber>;
161
+ $exists: z.ZodOptional<z.ZodBoolean>;
162
+ $gt: z.ZodOptional<z.ZodNumber>;
163
+ $gte: z.ZodOptional<z.ZodNumber>;
164
+ $lt: z.ZodOptional<z.ZodNumber>;
165
+ $lte: z.ZodOptional<z.ZodNumber>;
166
+ $in: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
167
+ }, z.core.$strip>]>>;
168
+ source: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
169
+ CONFIGURATION: "CONFIGURATION";
170
+ API: "API";
171
+ }>, z.ZodObject<{
172
+ $eq: z.ZodOptional<z.ZodEnum<{
173
+ CONFIGURATION: "CONFIGURATION";
174
+ API: "API";
175
+ }>>;
176
+ $neq: z.ZodOptional<z.ZodEnum<{
177
+ CONFIGURATION: "CONFIGURATION";
178
+ API: "API";
179
+ }>>;
180
+ $exists: z.ZodOptional<z.ZodBoolean>;
181
+ $in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
182
+ CONFIGURATION: "CONFIGURATION";
183
+ API: "API";
184
+ }>>>;
185
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
186
+ CONFIGURATION: "CONFIGURATION";
187
+ API: "API";
188
+ }>>>;
189
+ }, z.core.$strip>]>>;
190
+ }, z.core.$strip>>;
191
+ }, z.core.$strip>;
192
+ type QueryGlobalTaskListenersRequestBody = z.infer<typeof queryGlobalTaskListenersRequestBodySchema>;
193
+ declare const queryGlobalTaskListenersResponseBodySchema: z.ZodType<import('./common').QueryResponseBody<{
194
+ id: string;
195
+ type: string;
196
+ eventTypes: ("all" | "creating" | "assigning" | "updating" | "completing" | "canceling")[];
197
+ retries: number | null;
198
+ afterNonGlobal: boolean | null;
199
+ priority: number | null;
200
+ source?: "CONFIGURATION" | "API" | undefined;
201
+ }>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
202
+ id: string;
203
+ type: string;
204
+ eventTypes: ("all" | "creating" | "assigning" | "updating" | "completing" | "canceling")[];
205
+ retries: number | null;
206
+ afterNonGlobal: boolean | null;
207
+ priority: number | null;
208
+ source?: "CONFIGURATION" | "API" | undefined;
209
+ }>, unknown>>;
210
+ type QueryGlobalTaskListenersResponseBody = z.infer<typeof queryGlobalTaskListenersResponseBodySchema>;
211
+ declare const searchGlobalTaskListeners: Endpoint;
212
+ declare const createGlobalTaskListener: Endpoint;
213
+ declare const getGlobalTaskListener: Endpoint<{
214
+ id: string;
215
+ }>;
216
+ declare const updateGlobalTaskListener: Endpoint<{
217
+ id: string;
218
+ }>;
219
+ declare const deleteGlobalTaskListener: Endpoint<{
220
+ id: string;
221
+ }>;
222
+ export { globalListenerSourceSchema, globalTaskListenerEventTypeSchema, globalTaskListenerSchema, createGlobalTaskListenerRequestBodySchema, updateGlobalTaskListenerRequestBodySchema, queryGlobalTaskListenersRequestBodySchema, queryGlobalTaskListenersResponseBodySchema, searchGlobalTaskListeners, createGlobalTaskListener, getGlobalTaskListener, updateGlobalTaskListener, deleteGlobalTaskListener, };
223
+ export type { GlobalListenerSource, GlobalTaskListenerEventType, GlobalTaskListener, CreateGlobalTaskListenerRequestBody, UpdateGlobalTaskListenerRequestBody, QueryGlobalTaskListenersRequestBody, QueryGlobalTaskListenersResponseBody, };
@@ -0,0 +1,82 @@
1
+ import { z } from "zod";
2
+ import { getQueryRequestBodySchema, getEnumFilterSchema, advancedIntegerFilterSchema, advancedStringFilterSchema, getQueryResponseBodySchema, API_VERSION } from "./common.js";
3
+ const globalListenerSourceSchema = z.enum(["CONFIGURATION", "API"]);
4
+ const globalTaskListenerEventTypeSchema = z.enum([
5
+ "all",
6
+ "creating",
7
+ "assigning",
8
+ "updating",
9
+ "completing",
10
+ "canceling"
11
+ ]);
12
+ const globalTaskListenerSchema = z.object({
13
+ id: z.string(),
14
+ type: z.string(),
15
+ eventTypes: z.array(globalTaskListenerEventTypeSchema),
16
+ retries: z.number().int().nullable(),
17
+ afterNonGlobal: z.boolean().nullable(),
18
+ priority: z.number().int().nullable(),
19
+ source: globalListenerSourceSchema.optional()
20
+ });
21
+ const createGlobalTaskListenerRequestBodySchema = z.object({
22
+ id: z.string(),
23
+ type: z.string(),
24
+ eventTypes: z.array(globalTaskListenerEventTypeSchema),
25
+ retries: z.number().int().optional(),
26
+ afterNonGlobal: z.boolean().optional(),
27
+ priority: z.number().int().optional()
28
+ });
29
+ const updateGlobalTaskListenerRequestBodySchema = z.object({
30
+ type: z.string(),
31
+ eventTypes: z.array(globalTaskListenerEventTypeSchema),
32
+ retries: z.number().int().optional(),
33
+ afterNonGlobal: z.boolean().optional(),
34
+ priority: z.number().int().optional()
35
+ });
36
+ const queryGlobalTaskListenersRequestBodySchema = getQueryRequestBodySchema({
37
+ sortFields: ["id", "type", "afterNonGlobal", "priority", "source"],
38
+ filter: z.object({
39
+ id: advancedStringFilterSchema.optional(),
40
+ type: advancedStringFilterSchema.optional(),
41
+ retries: advancedIntegerFilterSchema.optional(),
42
+ eventTypes: z.array(getEnumFilterSchema(globalTaskListenerEventTypeSchema)).optional(),
43
+ afterNonGlobal: z.boolean().optional(),
44
+ priority: advancedIntegerFilterSchema.optional(),
45
+ source: getEnumFilterSchema(globalListenerSourceSchema).optional()
46
+ })
47
+ });
48
+ const queryGlobalTaskListenersResponseBodySchema = getQueryResponseBodySchema(globalTaskListenerSchema);
49
+ const searchGlobalTaskListeners = {
50
+ method: "POST",
51
+ getUrl: () => `/${API_VERSION}/global-task-listeners/search`
52
+ };
53
+ const createGlobalTaskListener = {
54
+ method: "POST",
55
+ getUrl: () => `/${API_VERSION}/global-task-listeners`
56
+ };
57
+ const getGlobalTaskListener = {
58
+ method: "GET",
59
+ getUrl: ({ id }) => `/${API_VERSION}/global-task-listeners/${id}`
60
+ };
61
+ const updateGlobalTaskListener = {
62
+ method: "PUT",
63
+ getUrl: ({ id }) => `/${API_VERSION}/global-task-listeners/${id}`
64
+ };
65
+ const deleteGlobalTaskListener = {
66
+ method: "DELETE",
67
+ getUrl: ({ id }) => `/${API_VERSION}/global-task-listeners/${id}`
68
+ };
69
+ export {
70
+ createGlobalTaskListener,
71
+ createGlobalTaskListenerRequestBodySchema,
72
+ deleteGlobalTaskListener,
73
+ getGlobalTaskListener,
74
+ globalListenerSourceSchema,
75
+ globalTaskListenerEventTypeSchema,
76
+ globalTaskListenerSchema,
77
+ queryGlobalTaskListenersRequestBodySchema,
78
+ queryGlobalTaskListenersResponseBodySchema,
79
+ searchGlobalTaskListeners,
80
+ updateGlobalTaskListener,
81
+ updateGlobalTaskListenerRequestBodySchema
82
+ };
@@ -1094,6 +1094,45 @@ declare const endpoints: {
1094
1094
  }>;
1095
1095
  readonly getIncidentProcessInstanceStatisticsByError: import('../common').Endpoint<undefined>;
1096
1096
  readonly getIncidentProcessInstanceStatisticsByDefinition: import('../common').Endpoint<undefined>;
1097
+ readonly searchClusterVariables: import('./common').Endpoint<{
1098
+ truncateValues?: boolean;
1099
+ }>;
1100
+ readonly createGlobalClusterVariable: import('./common').Endpoint<undefined>;
1101
+ readonly createTenantClusterVariable: import('./common').Endpoint<{
1102
+ tenantId: string;
1103
+ }>;
1104
+ readonly getGlobalClusterVariable: import('./common').Endpoint<{
1105
+ name: string;
1106
+ }>;
1107
+ readonly getTenantClusterVariable: import('./common').Endpoint<{
1108
+ tenantId: string;
1109
+ name: string;
1110
+ }>;
1111
+ readonly updateGlobalClusterVariable: import('./common').Endpoint<{
1112
+ name: string;
1113
+ }>;
1114
+ readonly updateTenantClusterVariable: import('./common').Endpoint<{
1115
+ tenantId: string;
1116
+ name: string;
1117
+ }>;
1118
+ readonly deleteGlobalClusterVariable: import('./common').Endpoint<{
1119
+ name: string;
1120
+ }>;
1121
+ readonly deleteTenantClusterVariable: import('./common').Endpoint<{
1122
+ tenantId: string;
1123
+ name: string;
1124
+ }>;
1125
+ readonly searchGlobalTaskListeners: import('./common').Endpoint<undefined>;
1126
+ readonly createGlobalTaskListener: import('./common').Endpoint<undefined>;
1127
+ readonly getGlobalTaskListener: import('./common').Endpoint<{
1128
+ id: string;
1129
+ }>;
1130
+ readonly updateGlobalTaskListener: import('./common').Endpoint<{
1131
+ id: string;
1132
+ }>;
1133
+ readonly deleteGlobalTaskListener: import('./common').Endpoint<{
1134
+ id: string;
1135
+ }>;
1097
1136
  };
1098
1137
  export { auditLogEntityTypeSchema, auditLogOperationTypeSchema, auditLogActorTypeSchema, auditLogResultSchema, auditLogCategorySchema, auditLogSchema, auditLogFilterSchema, auditLogSortFieldEnum, queryAuditLogsRequestBodySchema, queryAuditLogsResponseBodySchema, getAuditLogResponseBodySchema, type AuditLog, type AuditLogEntityType, type AuditLogOperationType, type AuditLogActorType, type AuditLogResult, type AuditLogCategory, type AuditLogSortField, type QueryAuditLogsRequestBody, type QueryAuditLogsResponseBody, type GetAuditLogResponseBody, } from './audit-log';
1099
1138
  export { userTaskAuditLogFilterSchema, queryUserTaskAuditLogsRequestBodySchema, queryUserTaskAuditLogsResponseBodySchema, type UserTaskAuditLogFilter, type QueryUserTaskAuditLogsRequestBody, type QueryUserTaskAuditLogsResponseBody, } from './user-task-audit-log';
@@ -1116,7 +1155,7 @@ export { queryJobsRequestBodySchema, queryJobsResponseBodySchema, activateJobsRe
1116
1155
  export { licenseSchema, type License } from './license';
1117
1156
  export { publishMessageRequestBodySchema, publishMessageResponseBodySchema, correlateMessageRequestBodySchema, correlateMessageResponseBodySchema, type PublishMessageRequestBody, type PublishMessageResponseBody, type CorrelateMessageRequestBody, type CorrelateMessageResponseBody, } from './message';
1118
1157
  export { messageSubscriptionSchema, queryMessageSubscriptionRequestBodySchema, queryMessageSubscriptionsResponseBodySchema, correlatedMessageSubscriptionSchema, queryCorrelatedMessageSubscriptionRequestBodySchema, queryCorrelatedMessageSubscriptionsResponseBodySchema, type MessageSubscriptionState, type MessageSubscription, type QueryMessageSubscriptionsRequestBody, type QueryMessageSubscriptionsResponseBody, type CorrelatedMessageSubscription, type QueryCorrelatedMessageSubscriptionsRequestBody, type QueryCorrelatedMessageSubscriptionsResponseBody, } from './message-subscriptions';
1119
- export { createMappingRuleRequestBodySchema, createMappingRuleResponseBodySchema, updateMappingRuleRequestBodySchema, updateMappingRuleResponseBodySchema, queryMappingRulesRequestBodySchema, queryMappingRulesResponseBodySchema, mappingRuleSchema, type CreateMappingRuleRequestBody, type CreateMappingRuleResponseBody, type UpdateMappingRuleRequestBody, type UpdateMappingRuleResponseBody, type QueryMappingRulesRequestBody, type QueryMappingRulesResponseBody, type MappingRule, } from './mapping-rule';
1158
+ export { createMappingRuleRequestBodySchema, createMappingRuleResponseBodySchema, updateMappingRuleRequestBodySchema, updateMappingRuleResponseBodySchema, getMappingRuleResponseBodySchema, queryMappingRulesRequestBodySchema, queryMappingRulesResponseBodySchema, mappingRuleSchema, mappingRuleResultSchema, type CreateMappingRuleRequestBody, type CreateMappingRuleResponseBody, type UpdateMappingRuleRequestBody, type UpdateMappingRuleResponseBody, type GetMappingRuleResponseBody, type QueryMappingRulesRequestBody, type QueryMappingRulesResponseBody, type MappingRule, type MappingRuleResult, } from './mapping-rule';
1120
1159
  export { createProcessInstanceRequestBodySchema, createProcessInstanceResponseBodySchema, queryProcessInstancesRequestBodySchema, queryProcessInstancesResponseBodySchema, cancelProcessInstanceRequestBodySchema, queryProcessInstanceIncidentsRequestBodySchema, queryProcessInstanceIncidentsResponseBodySchema, getProcessInstanceCallHierarchyResponseBodySchema, getProcessInstanceStatisticsResponseBodySchema, getProcessInstanceSequenceFlowsResponseBodySchema, createIncidentResolutionBatchOperationResponseBodySchema, createCancellationBatchOperationResponseBodySchema, createMigrationBatchOperationResponseBodySchema, createModificationBatchOperationResponseBodySchema, resolveProcessInstanceIncidentsResponseBodySchema, processInstanceStateSchema, processInstanceSchema, sequenceFlowSchema, callHierarchySchema, type CreateProcessInstanceRequestBody, type CreateProcessInstanceResponseBody, type QueryProcessInstancesRequestBody, type QueryProcessInstancesResponseBody, type CancelProcessInstanceRequestBody, type QueryProcessInstanceIncidentsRequestBody, type QueryProcessInstanceIncidentsResponseBody, type CallHierarchy, type GetProcessInstanceCallHierarchyResponseBody, type SequenceFlow, type GetProcessInstanceSequenceFlowsResponseBody, type ProcessInstanceState, type StatisticName, type ProcessInstance, type GetProcessInstanceStatisticsResponseBody, type CreateIncidentResolutionBatchOperationRequestBody, type CreateIncidentResolutionBatchOperationResponseBody, type CreateCancellationBatchOperationRequestBody, type CreateCancellationBatchOperationResponseBody, type CreateMigrationBatchOperationRequestBody, type CreateMigrationBatchOperationResponseBody, type CreateModificationBatchOperationRequestBody, type CreateModificationBatchOperationResponseBody, type ResolveProcessInstanceIncidentsResponseBody, } from './process-instance';
1121
1160
  export { userTaskSchema, queryUserTasksResponseBodySchema, queryUserTasksRequestBodySchema, formSchema, assignTaskRequestBodySchema, unassignTaskRequestBodySchema, completeTaskRequestBodySchema, queryVariablesByUserTaskRequestBodySchema, queryVariablesByUserTaskResponseBodySchema, updateUserTaskRequestBodySchema, type UserTask, type QueryUserTasksResponseBody, type QueryUserTasksRequestBody, type Form, type AssignTaskRequestBody, type UnassignTaskRequestBody, type CompleteTaskRequestBody, type QueryVariablesByUserTaskRequestBody, type QueryVariablesByUserTaskResponseBody, type UpdateUserTaskRequestBody, } from './user-task';
1122
1161
  export { variableSchema, queryVariablesRequestBodySchema, queryVariablesResponseBodySchema, type Variable, type QueryVariablesResponseBody, type QueryVariablesRequestBody, } from './variable';
@@ -1128,4 +1167,6 @@ export { broadcastSignalRequestBodySchema, broadcastSignalResponseBodySchema, ty
1128
1167
  export { tenantSchema, createTenantRequestBodySchema, createTenantResponseBodySchema, updateTenantRequestBodySchema, updateTenantResponseBodySchema, queryTenantsRequestBodySchema, queryTenantsResponseBodySchema, tenantUserSchema, queryUsersByTenantRequestBodySchema, queryUsersByTenantResponseBodySchema, tenantClientSchema, queryClientsByTenantRequestBodySchema, queryClientsByTenantResponseBodySchema, queryGroupsByTenantRequestBodySchema, queryGroupsByTenantResponseBodySchema, queryRolesByTenantRequestBodySchema, queryRolesByTenantResponseBodySchema, queryMappingRulesByTenantRequestBodySchema, queryMappingRulesByTenantResponseBodySchema, type Tenant, type CreateTenantRequestBody, type CreateTenantResponseBody, type UpdateTenantRequestBody, type UpdateTenantResponseBody, type QueryTenantsRequestBody, type QueryTenantsResponseBody, type TenantUser, type QueryUsersByTenantRequestBody, type QueryUsersByTenantResponseBody, type TenantClient, type QueryClientsByTenantRequestBody, type QueryClientsByTenantResponseBody, type QueryGroupsByTenantRequestBody, type QueryGroupsByTenantResponseBody, type QueryRolesByTenantRequestBody, type QueryRolesByTenantResponseBody, type QueryMappingRulesByTenantRequestBody, type QueryMappingRulesByTenantResponseBody, } from './tenant';
1129
1168
  export { userSchema, createUserRequestBodySchema, createUserResponseBodySchema, updateUserRequestBodySchema, queryUsersRequestBodySchema, queryUsersResponseBodySchema, type User, type CreateUserRequestBody, type CreateUserResponseBody, type UpdateUserRequestBody, type QueryUsersRequestBody, type QueryUsersResponseBody, } from './user';
1130
1169
  export { usageMetricsSchema, getUsageMetricsResponseBodySchema, type UsageMetrics, type GetUsageMetricsResponseBody, type GetUsageMetricsParams, } from './usage-metrics';
1170
+ export { clusterVariableScopeSchema, clusterVariableSchema, clusterVariableSearchResultSchema, createClusterVariableRequestBodySchema, updateClusterVariableRequestBodySchema, queryClusterVariablesRequestBodySchema, queryClusterVariablesResponseBodySchema, type ClusterVariableScope, type ClusterVariable, type ClusterVariableSearchResult, type CreateClusterVariableRequestBody, type UpdateClusterVariableRequestBody, type QueryClusterVariablesRequestBody, type QueryClusterVariablesResponseBody, } from './cluster-variable';
1171
+ export { globalListenerSourceSchema, globalTaskListenerEventTypeSchema, globalTaskListenerSchema, createGlobalTaskListenerRequestBodySchema, updateGlobalTaskListenerRequestBodySchema, queryGlobalTaskListenersRequestBodySchema, queryGlobalTaskListenersResponseBodySchema, type GlobalListenerSource, type GlobalTaskListenerEventType, type GlobalTaskListener, type CreateGlobalTaskListenerRequestBody, type UpdateGlobalTaskListenerRequestBody, type QueryGlobalTaskListenersRequestBody, type QueryGlobalTaskListenersResponseBody, } from './global-task-listener';
1131
1172
  export { endpoints };
package/dist/8.9/index.js CHANGED
@@ -12,7 +12,7 @@ import { elementInstanceFilterSchema, elementInstanceSchema, elementInstanceStat
12
12
  import { createGroupRequestBodySchema, createGroupResponseBodySchema, getGroupResponseBodySchema, queryClientsByGroupRequestBodySchema, queryClientsByGroupResponseBodySchema, queryGroupsRequestBodySchema, queryGroupsResponseBodySchema, queryMappingRulesByGroupRequestBodySchema, queryMappingRulesByGroupResponseBodySchema, queryRolesByGroupRequestBodySchema, queryRolesByGroupResponseBodySchema, queryUsersByGroupRequestBodySchema, queryUsersByGroupResponseBodySchema, updateGroupRequestBodySchema, updateGroupResponseBodySchema } from "./group.js";
13
13
  import { getIncidentResponseBodySchema, incidentErrorTypeSchema, incidentSchema, incidentStateSchema, queryIncidentsRequestBodySchema, queryIncidentsResponseBodySchema } from "./incident.js";
14
14
  import { licenseSchema } from "./license.js";
15
- import { createMappingRuleRequestBodySchema, createMappingRuleResponseBodySchema, mappingRuleSchema, queryMappingRulesRequestBodySchema, queryMappingRulesResponseBodySchema, updateMappingRuleRequestBodySchema, updateMappingRuleResponseBodySchema } from "./mapping-rule.js";
15
+ import { createMappingRuleRequestBodySchema, createMappingRuleResponseBodySchema, getMappingRuleResponseBodySchema, mappingRuleResultSchema, mappingRuleSchema, queryMappingRulesRequestBodySchema, queryMappingRulesResponseBodySchema, updateMappingRuleRequestBodySchema, updateMappingRuleResponseBodySchema } from "./mapping-rule.js";
16
16
  import { correlateMessageRequestBodySchema, correlateMessageResponseBodySchema, publishMessageRequestBodySchema, publishMessageResponseBodySchema } from "./message.js";
17
17
  import { correlatedMessageSubscriptionSchema, messageSubscriptionSchema, queryCorrelatedMessageSubscriptionRequestBodySchema, queryCorrelatedMessageSubscriptionsResponseBodySchema, queryMessageSubscriptionRequestBodySchema, queryMessageSubscriptionsResponseBodySchema } from "./message-subscriptions.js";
18
18
  import { callHierarchySchema, cancelProcessInstanceRequestBodySchema, createCancellationBatchOperationResponseBodySchema, createIncidentResolutionBatchOperationResponseBodySchema, createMigrationBatchOperationResponseBodySchema, createModificationBatchOperationResponseBodySchema, createProcessInstanceRequestBodySchema, createProcessInstanceResponseBodySchema, getProcessInstanceCallHierarchyResponseBodySchema, getProcessInstanceSequenceFlowsResponseBodySchema, getProcessInstanceStatisticsResponseBodySchema, queryProcessInstanceIncidentsRequestBodySchema, queryProcessInstanceIncidentsResponseBodySchema, queryProcessInstancesRequestBodySchema, queryProcessInstancesResponseBodySchema, resolveProcessInstanceIncidentsResponseBodySchema, sequenceFlowSchema } from "./process-instance.js";
@@ -30,6 +30,8 @@ import { auditLogActorTypeSchema, auditLogCategorySchema, auditLogEntityTypeSche
30
30
  import { queryUserTaskAuditLogsRequestBodySchema, queryUserTaskAuditLogsResponseBodySchema, userTaskAuditLogFilterSchema } from "./user-task-audit-log.js";
31
31
  import { deleteProcessInstanceRequestBodySchema, modifyProcessInstanceRequestBodySchema } from "./process-instance-commands.js";
32
32
  import { getIncidentProcessInstanceStatisticsByDefinitionRequestBodySchema, getIncidentProcessInstanceStatisticsByDefinitionResponseBodySchema, getIncidentProcessInstanceStatisticsByErrorRequestBodySchema, getIncidentProcessInstanceStatisticsByErrorResponseBodySchema, incidentProcessInstanceStatisticsByDefinitionSchema, incidentProcessInstanceStatisticsByErrorSchema } from "./incident-statistics.js";
33
+ import { clusterVariableSchema, clusterVariableScopeSchema, clusterVariableSearchResultSchema, createClusterVariableRequestBodySchema, queryClusterVariablesRequestBodySchema, queryClusterVariablesResponseBodySchema, updateClusterVariableRequestBodySchema } from "./cluster-variable.js";
34
+ import { createGlobalTaskListenerRequestBodySchema, globalListenerSourceSchema, globalTaskListenerEventTypeSchema, globalTaskListenerSchema, queryGlobalTaskListenersRequestBodySchema, queryGlobalTaskListenersResponseBodySchema, updateGlobalTaskListenerRequestBodySchema } from "./global-task-listener.js";
33
35
  import { problemDetailResponseSchema, problemDetailsSchema, queryPageSchema, querySortOrderSchema } from "./common.js";
34
36
  import { groupSchema, roleSchema } from "./group-role.js";
35
37
  import { processDefinitionSchema, processDefinitionStatisticSchema, processInstanceSchema, processInstanceStateSchema } from "./processes.js";
@@ -63,6 +65,9 @@ export {
63
65
  brokerInfoSchema,
64
66
  callHierarchySchema,
65
67
  cancelProcessInstanceRequestBodySchema,
68
+ clusterVariableSchema,
69
+ clusterVariableScopeSchema,
70
+ clusterVariableSearchResultSchema,
66
71
  completeJobRequestBodySchema,
67
72
  completeTaskRequestBodySchema,
68
73
  correlateMessageRequestBodySchema,
@@ -71,8 +76,10 @@ export {
71
76
  createAuthorizationRequestBodySchema,
72
77
  createAuthorizationResponseBodySchema,
73
78
  createCancellationBatchOperationResponseBodySchema,
79
+ createClusterVariableRequestBodySchema,
74
80
  createDeploymentResponseBodySchema,
75
81
  createDocumentsResponseBodySchema,
82
+ createGlobalTaskListenerRequestBodySchema,
76
83
  createGroupRequestBodySchema,
77
84
  createGroupResponseBodySchema,
78
85
  createIncidentResolutionBatchOperationResponseBodySchema,
@@ -132,6 +139,7 @@ export {
132
139
  getIncidentProcessInstanceStatisticsByErrorRequestBodySchema,
133
140
  getIncidentProcessInstanceStatisticsByErrorResponseBodySchema,
134
141
  getIncidentResponseBodySchema,
142
+ getMappingRuleResponseBodySchema,
135
143
  getProcessDefinitionInstanceStatisticsRequestBodySchema,
136
144
  getProcessDefinitionInstanceStatisticsResponseBodySchema,
137
145
  getProcessDefinitionInstanceVersionStatisticsRequestBodySchema,
@@ -147,6 +155,9 @@ export {
147
155
  getResourceContentResponseBodySchema,
148
156
  getTopologyResponseBodySchema,
149
157
  getUsageMetricsResponseBodySchema,
158
+ globalListenerSourceSchema,
159
+ globalTaskListenerEventTypeSchema,
160
+ globalTaskListenerSchema,
150
161
  groupSchema,
151
162
  incidentErrorTypeSchema,
152
163
  incidentProcessInstanceStatisticsByDefinitionSchema,
@@ -163,6 +174,7 @@ export {
163
174
  licenseSchema,
164
175
  listenerEventTypeFilterSchema,
165
176
  listenerEventTypeSchema,
177
+ mappingRuleResultSchema,
166
178
  mappingRuleSchema,
167
179
  matchedDecisionRuleItemSchema,
168
180
  messageSubscriptionSchema,
@@ -201,6 +213,8 @@ export {
201
213
  queryClientsByRoleResponseBodySchema,
202
214
  queryClientsByTenantRequestBodySchema,
203
215
  queryClientsByTenantResponseBodySchema,
216
+ queryClusterVariablesRequestBodySchema,
217
+ queryClusterVariablesResponseBodySchema,
204
218
  queryCorrelatedMessageSubscriptionRequestBodySchema,
205
219
  queryCorrelatedMessageSubscriptionsResponseBodySchema,
206
220
  queryDecisionDefinitionsRequestBodySchema,
@@ -213,6 +227,8 @@ export {
213
227
  queryElementInstanceIncidentsResponseBodySchema,
214
228
  queryElementInstancesRequestBodySchema,
215
229
  queryElementInstancesResponseBodySchema,
230
+ queryGlobalTaskListenersRequestBodySchema,
231
+ queryGlobalTaskListenersResponseBodySchema,
216
232
  queryGroupsByRoleRequestBodySchema,
217
233
  queryGroupsByRoleResponseBodySchema,
218
234
  queryGroupsByTenantRequestBodySchema,
@@ -277,7 +293,9 @@ export {
277
293
  throwJobErrorRequestBodySchema,
278
294
  unassignTaskRequestBodySchema,
279
295
  updateAuthorizationRequestBodySchema,
296
+ updateClusterVariableRequestBodySchema,
280
297
  updateElementInstanceVariablesRequestBodySchema,
298
+ updateGlobalTaskListenerRequestBodySchema,
281
299
  updateGroupRequestBodySchema,
282
300
  updateGroupResponseBodySchema,
283
301
  updateJobRequestBodySchema,
@@ -334,7 +334,7 @@ type QueryUserTaskAuditLogsRequestBody = z.infer<typeof queryUserTaskAuditLogsRe
334
334
  declare const queryUserTaskAuditLogsResponseBodySchema: z.ZodType<import('./common').QueryResponseBody<{
335
335
  auditLogKey: string;
336
336
  entityKey: string;
337
- entityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "PROCESS_INSTANCE" | "VARIABLE";
337
+ entityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE";
338
338
  operationType: "UNKNOWN" | "CREATE" | "UPDATE" | "DELETE" | "COMPLETE" | "EVALUATE" | "ASSIGN" | "CANCEL" | "MIGRATE" | "MODIFY" | "RESOLVE" | "RESUME" | "SUSPEND" | "UNASSIGN";
339
339
  batchOperationKey: string | null;
340
340
  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" | null;
@@ -361,13 +361,13 @@ declare const queryUserTaskAuditLogsResponseBodySchema: z.ZodType<import('./comm
361
361
  formKey: string | null;
362
362
  resourceKey: string | null;
363
363
  relatedEntityKey: string | null;
364
- relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "PROCESS_INSTANCE" | "VARIABLE" | null;
364
+ relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
365
365
  entityDescription: string | null;
366
366
  agentElementId: string | null;
367
367
  }>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
368
368
  auditLogKey: string;
369
369
  entityKey: string;
370
- entityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "PROCESS_INSTANCE" | "VARIABLE";
370
+ entityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE";
371
371
  operationType: "UNKNOWN" | "CREATE" | "UPDATE" | "DELETE" | "COMPLETE" | "EVALUATE" | "ASSIGN" | "CANCEL" | "MIGRATE" | "MODIFY" | "RESOLVE" | "RESUME" | "SUSPEND" | "UNASSIGN";
372
372
  batchOperationKey: string | null;
373
373
  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" | null;
@@ -394,7 +394,7 @@ declare const queryUserTaskAuditLogsResponseBodySchema: z.ZodType<import('./comm
394
394
  formKey: string | null;
395
395
  resourceKey: string | null;
396
396
  relatedEntityKey: string | null;
397
- relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "PROCESS_INSTANCE" | "VARIABLE" | null;
397
+ relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
398
398
  entityDescription: string | null;
399
399
  agentElementId: string | null;
400
400
  }>, unknown>>;
package/dist/8.9.js CHANGED
@@ -27,7 +27,7 @@ import { getIncidentResponseBodySchema, incidentErrorTypeSchema, incidentSchema,
27
27
  import { getLicense } from "./8.9/license.js";
28
28
  import { licenseSchema } from "./8.9/license.js";
29
29
  import { queryMappingRules, getMappingRule, deleteMappingRule, updateMappingRule, createMappingRule } from "./8.9/mapping-rule.js";
30
- import { createMappingRuleRequestBodySchema, createMappingRuleResponseBodySchema, mappingRuleSchema, queryMappingRulesRequestBodySchema, queryMappingRulesResponseBodySchema, updateMappingRuleRequestBodySchema, updateMappingRuleResponseBodySchema } from "./8.9/mapping-rule.js";
30
+ import { createMappingRuleRequestBodySchema, createMappingRuleResponseBodySchema, getMappingRuleResponseBodySchema, mappingRuleResultSchema, mappingRuleSchema, queryMappingRulesRequestBodySchema, queryMappingRulesResponseBodySchema, updateMappingRuleRequestBodySchema, updateMappingRuleResponseBodySchema } from "./8.9/mapping-rule.js";
31
31
  import { correlateMessage, publishMessage } from "./8.9/message.js";
32
32
  import { correlateMessageRequestBodySchema, correlateMessageResponseBodySchema, publishMessageRequestBodySchema, publishMessageResponseBodySchema } from "./8.9/message.js";
33
33
  import { queryCorrelatedMessageSubscriptions, queryMessageSubscriptions } from "./8.9/message-subscriptions.js";
@@ -62,6 +62,10 @@ import { deleteProcessInstance, modifyProcessInstance } from "./8.9/process-inst
62
62
  import { deleteProcessInstanceRequestBodySchema, modifyProcessInstanceRequestBodySchema } from "./8.9/process-instance-commands.js";
63
63
  import { getIncidentProcessInstanceStatisticsByDefinition, getIncidentProcessInstanceStatisticsByError } from "./8.9/incident-statistics.js";
64
64
  import { getIncidentProcessInstanceStatisticsByDefinitionRequestBodySchema, getIncidentProcessInstanceStatisticsByDefinitionResponseBodySchema, getIncidentProcessInstanceStatisticsByErrorRequestBodySchema, getIncidentProcessInstanceStatisticsByErrorResponseBodySchema, incidentProcessInstanceStatisticsByDefinitionSchema, incidentProcessInstanceStatisticsByErrorSchema } from "./8.9/incident-statistics.js";
65
+ import { deleteTenantClusterVariable, deleteGlobalClusterVariable, updateTenantClusterVariable, updateGlobalClusterVariable, getTenantClusterVariable, getGlobalClusterVariable, createTenantClusterVariable, createGlobalClusterVariable, searchClusterVariables } from "./8.9/cluster-variable.js";
66
+ import { clusterVariableSchema, clusterVariableScopeSchema, clusterVariableSearchResultSchema, createClusterVariableRequestBodySchema, queryClusterVariablesRequestBodySchema, queryClusterVariablesResponseBodySchema, updateClusterVariableRequestBodySchema } from "./8.9/cluster-variable.js";
67
+ import { deleteGlobalTaskListener, updateGlobalTaskListener, getGlobalTaskListener, createGlobalTaskListener, searchGlobalTaskListeners } from "./8.9/global-task-listener.js";
68
+ import { createGlobalTaskListenerRequestBodySchema, globalListenerSourceSchema, globalTaskListenerEventTypeSchema, globalTaskListenerSchema, queryGlobalTaskListenersRequestBodySchema, queryGlobalTaskListenersResponseBodySchema, updateGlobalTaskListenerRequestBodySchema } from "./8.9/global-task-listener.js";
65
69
  import { problemDetailResponseSchema, problemDetailsSchema, queryPageSchema, querySortOrderSchema } from "./8.9/common.js";
66
70
  import { groupSchema, roleSchema } from "./8.9/group-role.js";
67
71
  import { processDefinitionSchema, processDefinitionStatisticSchema, processInstanceSchema, processInstanceStateSchema } from "./8.9/processes.js";
@@ -219,7 +223,21 @@ const endpoints = {
219
223
  getAuditLog,
220
224
  queryUserTaskAuditLogs,
221
225
  getIncidentProcessInstanceStatisticsByError,
222
- getIncidentProcessInstanceStatisticsByDefinition
226
+ getIncidentProcessInstanceStatisticsByDefinition,
227
+ searchClusterVariables,
228
+ createGlobalClusterVariable,
229
+ createTenantClusterVariable,
230
+ getGlobalClusterVariable,
231
+ getTenantClusterVariable,
232
+ updateGlobalClusterVariable,
233
+ updateTenantClusterVariable,
234
+ deleteGlobalClusterVariable,
235
+ deleteTenantClusterVariable,
236
+ searchGlobalTaskListeners,
237
+ createGlobalTaskListener,
238
+ getGlobalTaskListener,
239
+ updateGlobalTaskListener,
240
+ deleteGlobalTaskListener
223
241
  };
224
242
  export {
225
243
  activateActivityWithinAdHocSubProcessRequestBodySchema,
@@ -250,6 +268,9 @@ export {
250
268
  brokerInfoSchema,
251
269
  callHierarchySchema,
252
270
  cancelProcessInstanceRequestBodySchema,
271
+ clusterVariableSchema,
272
+ clusterVariableScopeSchema,
273
+ clusterVariableSearchResultSchema,
253
274
  completeJobRequestBodySchema,
254
275
  completeTaskRequestBodySchema,
255
276
  correlateMessageRequestBodySchema,
@@ -258,8 +279,10 @@ export {
258
279
  createAuthorizationRequestBodySchema,
259
280
  createAuthorizationResponseBodySchema,
260
281
  createCancellationBatchOperationResponseBodySchema,
282
+ createClusterVariableRequestBodySchema,
261
283
  createDeploymentResponseBodySchema,
262
284
  createDocumentsResponseBodySchema,
285
+ createGlobalTaskListenerRequestBodySchema,
263
286
  createGroupRequestBodySchema,
264
287
  createGroupResponseBodySchema,
265
288
  createIncidentResolutionBatchOperationResponseBodySchema,
@@ -319,6 +342,7 @@ export {
319
342
  getIncidentProcessInstanceStatisticsByErrorRequestBodySchema,
320
343
  getIncidentProcessInstanceStatisticsByErrorResponseBodySchema,
321
344
  getIncidentResponseBodySchema,
345
+ getMappingRuleResponseBodySchema,
322
346
  getProcessDefinitionInstanceStatisticsRequestBodySchema,
323
347
  getProcessDefinitionInstanceStatisticsResponseBodySchema,
324
348
  getProcessDefinitionInstanceVersionStatisticsRequestBodySchema,
@@ -334,6 +358,9 @@ export {
334
358
  getResourceContentResponseBodySchema,
335
359
  getTopologyResponseBodySchema,
336
360
  getUsageMetricsResponseBodySchema,
361
+ globalListenerSourceSchema,
362
+ globalTaskListenerEventTypeSchema,
363
+ globalTaskListenerSchema,
337
364
  groupSchema,
338
365
  incidentErrorTypeSchema,
339
366
  incidentProcessInstanceStatisticsByDefinitionSchema,
@@ -350,6 +377,7 @@ export {
350
377
  licenseSchema,
351
378
  listenerEventTypeFilterSchema,
352
379
  listenerEventTypeSchema,
380
+ mappingRuleResultSchema,
353
381
  mappingRuleSchema,
354
382
  matchedDecisionRuleItemSchema,
355
383
  messageSubscriptionSchema,
@@ -388,6 +416,8 @@ export {
388
416
  queryClientsByRoleResponseBodySchema,
389
417
  queryClientsByTenantRequestBodySchema,
390
418
  queryClientsByTenantResponseBodySchema,
419
+ queryClusterVariablesRequestBodySchema,
420
+ queryClusterVariablesResponseBodySchema,
391
421
  queryCorrelatedMessageSubscriptionRequestBodySchema,
392
422
  queryCorrelatedMessageSubscriptionsResponseBodySchema,
393
423
  queryDecisionDefinitionsRequestBodySchema,
@@ -400,6 +430,8 @@ export {
400
430
  queryElementInstanceIncidentsResponseBodySchema,
401
431
  queryElementInstancesRequestBodySchema,
402
432
  queryElementInstancesResponseBodySchema,
433
+ queryGlobalTaskListenersRequestBodySchema,
434
+ queryGlobalTaskListenersResponseBodySchema,
403
435
  queryGroupsByRoleRequestBodySchema,
404
436
  queryGroupsByRoleResponseBodySchema,
405
437
  queryGroupsByTenantRequestBodySchema,
@@ -464,7 +496,9 @@ export {
464
496
  throwJobErrorRequestBodySchema,
465
497
  unassignTaskRequestBodySchema,
466
498
  updateAuthorizationRequestBodySchema,
499
+ updateClusterVariableRequestBodySchema,
467
500
  updateElementInstanceVariablesRequestBodySchema,
501
+ updateGlobalTaskListenerRequestBodySchema,
468
502
  updateGroupRequestBodySchema,
469
503
  updateGroupResponseBodySchema,
470
504
  updateJobRequestBodySchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/camunda-api-zod-schemas",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
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>",
@@ -378,14 +378,26 @@
378
378
  "default": "./dist/8.9/incident.js"
379
379
  }
380
380
  },
381
+ "./8.9/cluster-variable": {
382
+ "import": {
383
+ "types": "./dist/8.9/cluster-variable.d.ts",
384
+ "default": "./dist/8.9/cluster-variable.js"
385
+ }
386
+ },
387
+ "./8.9/global-task-listener": {
388
+ "import": {
389
+ "types": "./dist/8.9/global-task-listener.d.ts",
390
+ "default": "./dist/8.9/global-task-listener.js"
391
+ }
392
+ },
381
393
  "./package.json": "./package.json"
382
394
  },
383
395
  "publishConfig": {
384
396
  "access": "public"
385
397
  },
386
- "packageManager": "npm@11.10.0",
398
+ "packageManager": "npm@11.11.0",
387
399
  "devDependencies": {
388
- "@types/node": "25.3.0",
400
+ "@types/node": "25.3.3",
389
401
  "changelogen": "0.6.2",
390
402
  "typescript": "5.9.3",
391
403
  "vite": "7.3.1",