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

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.
@@ -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,
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.46",
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,6 +378,18 @@
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": {