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

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.
@@ -179,12 +179,12 @@ declare const queryMappingRulesByGroupRequestBodySchema: z.ZodObject<{
179
179
  }, z.core.$strip>;
180
180
  type QueryMappingRulesByGroupRequestBody = z.infer<typeof queryMappingRulesByGroupRequestBodySchema>;
181
181
  declare const queryMappingRulesByGroupResponseBodySchema: z.ZodType<import('../common').QueryResponseBody<{
182
- mappingId: string;
182
+ mappingRuleId: string;
183
183
  claimName: string;
184
184
  claimValue: string;
185
185
  name: string;
186
186
  }>, unknown, z.core.$ZodTypeInternals<import('../common').QueryResponseBody<{
187
- mappingId: string;
187
+ mappingRuleId: string;
188
188
  claimName: string;
189
189
  claimValue: string;
190
190
  name: string;
@@ -203,7 +203,7 @@ declare const assignClientToGroup: Endpoint<Pick<Group, 'groupId'> & {
203
203
  declare const unassignClientFromGroup: Endpoint<Pick<Group, 'groupId'> & {
204
204
  clientId: string;
205
205
  }>;
206
- declare const assignMappingToGroup: Endpoint<Pick<Group, 'groupId'> & Pick<MappingRule, 'mappingId'>>;
207
- declare const unassignMappingFromGroup: Endpoint<Pick<Group, 'groupId'> & Pick<MappingRule, 'mappingId'>>;
206
+ declare const assignMappingToGroup: Endpoint<Pick<Group, 'groupId'> & Pick<MappingRule, 'mappingRuleId'>>;
207
+ declare const unassignMappingFromGroup: Endpoint<Pick<Group, 'groupId'> & Pick<MappingRule, 'mappingRuleId'>>;
208
208
  export { createGroup, getGroup, updateGroup, deleteGroup, queryGroups, queryUsersByGroup, queryClientsByGroup, queryRolesByGroup, queryMappingRulesByGroup, assignUserToGroup, unassignUserFromGroup, assignClientToGroup, unassignClientFromGroup, assignMappingToGroup, unassignMappingFromGroup, createGroupRequestBodySchema, createGroupResponseBodySchema, getGroupResponseBodySchema, updateGroupRequestBodySchema, updateGroupResponseBodySchema, queryGroupsRequestBodySchema, queryGroupsResponseBodySchema, queryUsersByGroupRequestBodySchema, queryUsersByGroupResponseBodySchema, queryClientsByGroupRequestBodySchema, queryClientsByGroupResponseBodySchema, queryRolesByGroupRequestBodySchema, queryRolesByGroupResponseBodySchema, queryMappingRulesByGroupRequestBodySchema, queryMappingRulesByGroupResponseBodySchema, groupSchema, };
209
209
  export type { Group, CreateGroupRequestBody, CreateGroupResponseBody, GetGroupResponseBody, UpdateGroupRequestBody, UpdateGroupResponseBody, QueryGroupsRequestBody, QueryGroupsResponseBody, QueryUsersByGroupRequestBody, QueryUsersByGroupResponseBody, QueryClientsByGroupRequestBody, QueryClientsByGroupResponseBody, QueryRolesByGroupRequestBody, QueryRolesByGroupResponseBody, QueryMappingRulesByGroupRequestBody, QueryMappingRulesByGroupResponseBody, };
package/dist/8.8/group.js CHANGED
@@ -142,15 +142,15 @@ const unassignClientFromGroup = {
142
142
  const assignMappingToGroup = {
143
143
  method: "PUT",
144
144
  getUrl(params) {
145
- const { groupId, mappingId } = params;
146
- return `/${API_VERSION}/groups/${groupId}/mapping-rules/${mappingId}`;
145
+ const { groupId, mappingRuleId } = params;
146
+ return `/${API_VERSION}/groups/${groupId}/mapping-rules/${mappingRuleId}`;
147
147
  }
148
148
  };
149
149
  const unassignMappingFromGroup = {
150
150
  method: "DELETE",
151
151
  getUrl(params) {
152
- const { groupId, mappingId } = params;
153
- return `/${API_VERSION}/groups/${groupId}/mapping-rules/${mappingId}`;
152
+ const { groupId, mappingRuleId } = params;
153
+ return `/${API_VERSION}/groups/${groupId}/mapping-rules/${mappingRuleId}`;
154
154
  }
155
155
  };
156
156
  export {
@@ -213,21 +213,21 @@ declare const endpoints: {
213
213
  name: string;
214
214
  description: string;
215
215
  }, "groupId"> & Pick<{
216
- mappingId: string;
216
+ mappingRuleId: string;
217
217
  claimName: string;
218
218
  claimValue: string;
219
219
  name: string;
220
- }, "mappingId">>;
220
+ }, "mappingRuleId">>;
221
221
  readonly unassignMappingFromGroup: import('../common').Endpoint<Pick<{
222
222
  groupId: string;
223
223
  name: string;
224
224
  description: string;
225
225
  }, "groupId"> & Pick<{
226
- mappingId: string;
226
+ mappingRuleId: string;
227
227
  claimName: string;
228
228
  claimValue: string;
229
229
  name: string;
230
- }, "mappingId">>;
230
+ }, "mappingRuleId">>;
231
231
  readonly resolveIncident: import('../common').Endpoint<Pick<{
232
232
  processDefinitionId: string;
233
233
  errorType: "UNSPECIFIED" | "UNKNOWN" | "IO_MAPPING_ERROR" | "JOB_NO_RETRIES" | "EXECUTION_LISTENER_NO_RETRIES" | "TASK_LISTENER_NO_RETRIES" | "CONDITION_ERROR" | "EXTRACT_VALUE_ERROR" | "CALLED_ELEMENT_ERROR" | "UNHANDLED_ERROR_EVENT" | "MESSAGE_SIZE_EXCEEDED" | "CALLED_DECISION_ERROR" | "DECISION_EVALUATION_ERROR" | "FORM_NOT_FOUND" | "RESOURCE_NOT_FOUND";
@@ -260,23 +260,23 @@ declare const endpoints: {
260
260
  readonly getLicense: import('../common').Endpoint<undefined>;
261
261
  readonly createMappingRule: import('../common').Endpoint<undefined>;
262
262
  readonly updateMappingRule: import('../common').Endpoint<Pick<{
263
- mappingId: string;
263
+ mappingRuleId: string;
264
264
  claimName: string;
265
265
  claimValue: string;
266
266
  name: string;
267
- }, "mappingId">>;
267
+ }, "mappingRuleId">>;
268
268
  readonly deleteMappingRule: import('../common').Endpoint<Pick<{
269
- mappingId: string;
269
+ mappingRuleId: string;
270
270
  claimName: string;
271
271
  claimValue: string;
272
272
  name: string;
273
- }, "mappingId">>;
273
+ }, "mappingRuleId">>;
274
274
  readonly getMappingRule: import('../common').Endpoint<Pick<{
275
- mappingId: string;
275
+ mappingRuleId: string;
276
276
  claimName: string;
277
277
  claimValue: string;
278
278
  name: string;
279
- }, "mappingId">>;
279
+ }, "mappingRuleId">>;
280
280
  readonly queryMappingRules: import('../common').Endpoint<undefined>;
281
281
  readonly publishMessage: import('../common').Endpoint<undefined>;
282
282
  readonly correlateMessage: import('../common').Endpoint<undefined>;
@@ -815,21 +815,21 @@ declare const endpoints: {
815
815
  name: string;
816
816
  description: string;
817
817
  }, "roleId"> & Pick<{
818
- mappingId: string;
818
+ mappingRuleId: string;
819
819
  claimName: string;
820
820
  claimValue: string;
821
821
  name: string;
822
- }, "mappingId">>;
822
+ }, "mappingRuleId">>;
823
823
  readonly unassignMappingFromRole: import('../common').Endpoint<Pick<{
824
824
  roleId: string;
825
825
  name: string;
826
826
  description: string;
827
827
  }, "roleId"> & Pick<{
828
- mappingId: string;
828
+ mappingRuleId: string;
829
829
  claimName: string;
830
830
  claimValue: string;
831
831
  name: string;
832
- }, "mappingId">>;
832
+ }, "mappingRuleId">>;
833
833
  readonly queryMappingRulesByRole: import('../common').Endpoint<Pick<{
834
834
  roleId: string;
835
835
  name: string;
@@ -918,22 +918,22 @@ declare const endpoints: {
918
918
  name: string;
919
919
  description?: string | undefined;
920
920
  }, "tenantId"> & Pick<{
921
- mappingId: string;
921
+ mappingRuleId: string;
922
922
  claimName: string;
923
923
  claimValue: string;
924
924
  name: string;
925
- }, "mappingId">>;
925
+ }, "mappingRuleId">>;
926
926
  readonly unassignMappingRuleFromTenant: import('../common').Endpoint<Pick<{
927
927
  tenantKey: string;
928
928
  tenantId: string;
929
929
  name: string;
930
930
  description?: string | undefined;
931
931
  }, "tenantId"> & Pick<{
932
- mappingId: string;
932
+ mappingRuleId: string;
933
933
  claimName: string;
934
934
  claimValue: string;
935
935
  name: string;
936
- }, "mappingId">>;
936
+ }, "mappingRuleId">>;
937
937
  readonly queryMappingRulesByTenant: import('../common').Endpoint<Pick<{
938
938
  tenantKey: string;
939
939
  tenantId: string;
@@ -1,21 +1,21 @@
1
1
  import { z } from 'zod';
2
2
  import { Endpoint } from '../common';
3
3
  declare const mappingRuleSchema: z.ZodObject<{
4
- mappingId: z.ZodString;
4
+ mappingRuleId: z.ZodString;
5
5
  claimName: z.ZodString;
6
6
  claimValue: z.ZodString;
7
7
  name: z.ZodString;
8
8
  }, z.core.$strip>;
9
9
  type MappingRule = z.infer<typeof mappingRuleSchema>;
10
10
  declare const createMappingRuleRequestBodySchema: z.ZodObject<{
11
- mappingId: z.ZodString;
11
+ mappingRuleId: z.ZodString;
12
12
  claimName: z.ZodString;
13
13
  claimValue: z.ZodString;
14
14
  name: z.ZodString;
15
15
  }, z.core.$strip>;
16
16
  type CreateMappingRuleRequestBody = z.infer<typeof createMappingRuleRequestBodySchema>;
17
17
  declare const createMappingRuleResponseBodySchema: z.ZodObject<{
18
- mappingId: z.ZodString;
18
+ mappingRuleId: z.ZodString;
19
19
  claimName: z.ZodString;
20
20
  claimValue: z.ZodString;
21
21
  name: z.ZodString;
@@ -28,7 +28,7 @@ declare const updateMappingRuleRequestBodySchema: z.ZodObject<{
28
28
  }, z.core.$strip>;
29
29
  type UpdateMappingRuleRequestBody = z.infer<typeof updateMappingRuleRequestBodySchema>;
30
30
  declare const updateMappingRuleResponseBodySchema: z.ZodObject<{
31
- mappingId: z.ZodString;
31
+ mappingRuleId: z.ZodString;
32
32
  claimName: z.ZodString;
33
33
  claimValue: z.ZodString;
34
34
  name: z.ZodString;
@@ -38,7 +38,7 @@ declare const queryMappingRulesRequestBodySchema: z.ZodObject<{
38
38
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
39
39
  field: z.ZodEnum<{
40
40
  name: "name";
41
- mappingId: "mappingId";
41
+ mappingRuleId: "mappingRuleId";
42
42
  claimName: "claimName";
43
43
  claimValue: "claimValue";
44
44
  }>;
@@ -55,28 +55,28 @@ declare const queryMappingRulesRequestBodySchema: z.ZodObject<{
55
55
  }, z.core.$strip>>;
56
56
  filter: z.ZodOptional<z.ZodObject<{
57
57
  name: z.ZodOptional<z.ZodString>;
58
- mappingId: z.ZodOptional<z.ZodString>;
58
+ mappingRuleId: z.ZodOptional<z.ZodString>;
59
59
  claimName: z.ZodOptional<z.ZodString>;
60
60
  claimValue: z.ZodOptional<z.ZodString>;
61
61
  }, z.core.$strip>>;
62
62
  }, z.core.$strip>;
63
63
  type QueryMappingRulesRequestBody = z.infer<typeof queryMappingRulesRequestBodySchema>;
64
64
  declare const queryMappingRulesResponseBodySchema: z.ZodType<import('../common').QueryResponseBody<{
65
- mappingId: string;
65
+ mappingRuleId: string;
66
66
  claimName: string;
67
67
  claimValue: string;
68
68
  name: string;
69
69
  }>, unknown, z.core.$ZodTypeInternals<import('../common').QueryResponseBody<{
70
- mappingId: string;
70
+ mappingRuleId: string;
71
71
  claimName: string;
72
72
  claimValue: string;
73
73
  name: string;
74
74
  }>, unknown>>;
75
75
  type QueryMappingRulesResponseBody = z.infer<typeof queryMappingRulesResponseBodySchema>;
76
76
  declare const createMappingRule: Endpoint;
77
- declare const updateMappingRule: Endpoint<Pick<MappingRule, 'mappingId'>>;
78
- declare const deleteMappingRule: Endpoint<Pick<MappingRule, 'mappingId'>>;
79
- declare const getMappingRule: Endpoint<Pick<MappingRule, 'mappingId'>>;
77
+ declare const updateMappingRule: Endpoint<Pick<MappingRule, 'mappingRuleId'>>;
78
+ declare const deleteMappingRule: Endpoint<Pick<MappingRule, 'mappingRuleId'>>;
79
+ declare const getMappingRule: Endpoint<Pick<MappingRule, 'mappingRuleId'>>;
80
80
  declare const queryMappingRules: Endpoint;
81
81
  export { createMappingRule, updateMappingRule, deleteMappingRule, getMappingRule, queryMappingRules, createMappingRuleRequestBodySchema, createMappingRuleResponseBodySchema, updateMappingRuleRequestBodySchema, updateMappingRuleResponseBodySchema, queryMappingRulesRequestBodySchema, queryMappingRulesResponseBodySchema, mappingRuleSchema, };
82
82
  export type { CreateMappingRuleRequestBody, CreateMappingRuleResponseBody, UpdateMappingRuleRequestBody, UpdateMappingRuleResponseBody, QueryMappingRulesRequestBody, QueryMappingRulesResponseBody, MappingRule, };
@@ -1,7 +1,7 @@
1
1
  import { z } from "zod";
2
2
  import { getQueryRequestBodySchema, getQueryResponseBodySchema, API_VERSION } from "../common.js";
3
3
  const mappingRuleSchema = z.object({
4
- mappingId: z.string(),
4
+ mappingRuleId: z.string(),
5
5
  claimName: z.string(),
6
6
  claimValue: z.string(),
7
7
  name: z.string()
@@ -15,9 +15,9 @@ const updateMappingRuleRequestBodySchema = mappingRuleSchema.pick({
15
15
  });
16
16
  const updateMappingRuleResponseBodySchema = mappingRuleSchema;
17
17
  const queryMappingRulesRequestBodySchema = getQueryRequestBodySchema({
18
- sortFields: ["mappingId", "claimName", "claimValue", "name"],
18
+ sortFields: ["mappingRuleId", "claimName", "claimValue", "name"],
19
19
  filter: mappingRuleSchema.pick({
20
- mappingId: true,
20
+ mappingRuleId: true,
21
21
  claimName: true,
22
22
  claimValue: true,
23
23
  name: true
@@ -33,22 +33,22 @@ const createMappingRule = {
33
33
  const updateMappingRule = {
34
34
  method: "PUT",
35
35
  getUrl(params) {
36
- const { mappingId } = params;
37
- return `/${API_VERSION}/mapping-rules/${mappingId}`;
36
+ const { mappingRuleId } = params;
37
+ return `/${API_VERSION}/mapping-rules/${mappingRuleId}`;
38
38
  }
39
39
  };
40
40
  const deleteMappingRule = {
41
41
  method: "DELETE",
42
42
  getUrl(params) {
43
- const { mappingId } = params;
44
- return `/${API_VERSION}/mapping-rules/${mappingId}`;
43
+ const { mappingRuleId } = params;
44
+ return `/${API_VERSION}/mapping-rules/${mappingRuleId}`;
45
45
  }
46
46
  };
47
47
  const getMappingRule = {
48
48
  method: "GET",
49
49
  getUrl(params) {
50
- const { mappingId } = params;
51
- return `/${API_VERSION}/mapping-rules/${mappingId}`;
50
+ const { mappingRuleId } = params;
51
+ return `/${API_VERSION}/mapping-rules/${mappingRuleId}`;
52
52
  }
53
53
  };
54
54
  const queryMappingRules = {
@@ -167,12 +167,12 @@ declare const queryMappingRulesByRoleRequestBodySchema: z.ZodObject<{
167
167
  }, z.core.$strip>;
168
168
  type QueryMappingRulesByRoleRequestBody = z.infer<typeof queryMappingRulesByRoleRequestBodySchema>;
169
169
  declare const queryMappingRulesByRoleResponseBodySchema: z.ZodType<import('../common').QueryResponseBody<{
170
- mappingId: string;
170
+ mappingRuleId: string;
171
171
  claimName: string;
172
172
  claimValue: string;
173
173
  name: string;
174
174
  }>, unknown, z.core.$ZodTypeInternals<import('../common').QueryResponseBody<{
175
- mappingId: string;
175
+ mappingRuleId: string;
176
176
  claimName: string;
177
177
  claimValue: string;
178
178
  name: string;
@@ -200,8 +200,8 @@ declare const unassignClientFromRole: Endpoint<Pick<Role, 'roleId'> & {
200
200
  declare const assignGroupToRole: Endpoint<Pick<Role, 'roleId'> & Pick<Group, 'groupId'>>;
201
201
  declare const unassignGroupFromRole: Endpoint<Pick<Role, 'roleId'> & Pick<Group, 'groupId'>>;
202
202
  declare const queryGroupsByRole: Endpoint<Pick<Role, 'roleId'>>;
203
- declare const assignMappingToRole: Endpoint<Pick<Role, 'roleId'> & Pick<MappingRule, 'mappingId'>>;
204
- declare const unassignMappingFromRole: Endpoint<Pick<Role, 'roleId'> & Pick<MappingRule, 'mappingId'>>;
203
+ declare const assignMappingToRole: Endpoint<Pick<Role, 'roleId'> & Pick<MappingRule, 'mappingRuleId'>>;
204
+ declare const unassignMappingFromRole: Endpoint<Pick<Role, 'roleId'> & Pick<MappingRule, 'mappingRuleId'>>;
205
205
  declare const queryMappingRulesByRole: Endpoint<Pick<Role, 'roleId'>>;
206
206
  export { createRole, getRole, updateRole, deleteRole, queryRoles, queryUsersByRole, queryClientsByRole, assignUserToRole, unassignUserFromRole, assignClientToRole, unassignClientFromRole, assignGroupToRole, unassignGroupFromRole, queryGroupsByRole, assignMappingToRole, unassignMappingFromRole, queryMappingRulesByRole, roleSchema, createRoleRequestBodySchema, createRoleResponseBodySchema, updateRoleRequestBodySchema, updateRoleResponseBodySchema, queryRolesRequestBodySchema, queryRolesResponseBodySchema, queryUsersByRoleRequestBodySchema, queryUsersByRoleResponseBodySchema, queryClientsByRoleRequestBodySchema, queryClientsByRoleResponseBodySchema, queryGroupsByRoleRequestBodySchema, queryGroupsByRoleResponseBodySchema, queryMappingRulesByRoleRequestBodySchema, queryMappingRulesByRoleResponseBodySchema, };
207
207
  export type { Role, CreateRoleRequestBody, CreateRoleResponseBody, UpdateRoleRequestBody, UpdateRoleResponseBody, QueryRolesRequestBody, QueryRolesResponseBody, QueryUsersByRoleRequestBody, QueryUsersByRoleResponseBody, QueryClientsByRoleRequestBody, QueryClientsByRoleResponseBody, QueryGroupsByRoleRequestBody, QueryGroupsByRoleResponseBody, QueryMappingRulesByRoleRequestBody, QueryMappingRulesByRoleResponseBody, };
package/dist/8.8/role.js CHANGED
@@ -148,15 +148,15 @@ const queryGroupsByRole = {
148
148
  const assignMappingToRole = {
149
149
  method: "PUT",
150
150
  getUrl(params) {
151
- const { roleId, mappingId } = params;
152
- return `/${API_VERSION}/roles/${roleId}/mappings/${mappingId}`;
151
+ const { roleId, mappingRuleId } = params;
152
+ return `/${API_VERSION}/roles/${roleId}/mappings/${mappingRuleId}`;
153
153
  }
154
154
  };
155
155
  const unassignMappingFromRole = {
156
156
  method: "DELETE",
157
157
  getUrl(params) {
158
- const { roleId, mappingId } = params;
159
- return `/${API_VERSION}/roles/${roleId}/mappings/${mappingId}`;
158
+ const { roleId, mappingRuleId } = params;
159
+ return `/${API_VERSION}/roles/${roleId}/mappings/${mappingRuleId}`;
160
160
  }
161
161
  };
162
162
  const queryMappingRulesByRole = {
@@ -199,7 +199,7 @@ declare const queryMappingRulesByTenantRequestBodySchema: z.ZodObject<{
199
199
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
200
200
  field: z.ZodEnum<{
201
201
  name: "name";
202
- mappingId: "mappingId";
202
+ mappingRuleId: "mappingRuleId";
203
203
  claimName: "claimName";
204
204
  claimValue: "claimValue";
205
205
  }>;
@@ -216,19 +216,19 @@ declare const queryMappingRulesByTenantRequestBodySchema: z.ZodObject<{
216
216
  }, z.core.$strip>>;
217
217
  filter: z.ZodOptional<z.ZodObject<{
218
218
  name: z.ZodOptional<z.ZodString>;
219
- mappingId: z.ZodOptional<z.ZodString>;
219
+ mappingRuleId: z.ZodOptional<z.ZodString>;
220
220
  claimName: z.ZodOptional<z.ZodString>;
221
221
  claimValue: z.ZodOptional<z.ZodString>;
222
222
  }, z.core.$strip>>;
223
223
  }, z.core.$strip>;
224
224
  type QueryMappingRulesByTenantRequestBody = z.infer<typeof queryMappingRulesByTenantRequestBodySchema>;
225
225
  declare const queryMappingRulesByTenantResponseBodySchema: z.ZodType<import('../common').QueryResponseBody<{
226
- mappingId: string;
226
+ mappingRuleId: string;
227
227
  claimName: string;
228
228
  claimValue: string;
229
229
  name: string;
230
230
  }>, unknown, z.core.$ZodTypeInternals<import('../common').QueryResponseBody<{
231
- mappingId: string;
231
+ mappingRuleId: string;
232
232
  claimName: string;
233
233
  claimValue: string;
234
234
  name: string;
@@ -255,8 +255,8 @@ declare const assignClientToTenant: Endpoint<Pick<Tenant, 'tenantId'> & {
255
255
  declare const unassignClientFromTenant: Endpoint<Pick<Tenant, 'tenantId'> & {
256
256
  clientId: string;
257
257
  }>;
258
- declare const assignMappingRuleToTenant: Endpoint<Pick<Tenant, 'tenantId'> & Pick<MappingRule, 'mappingId'>>;
259
- declare const unassignMappingRuleFromTenant: Endpoint<Pick<Tenant, 'tenantId'> & Pick<MappingRule, 'mappingId'>>;
258
+ declare const assignMappingRuleToTenant: Endpoint<Pick<Tenant, 'tenantId'> & Pick<MappingRule, 'mappingRuleId'>>;
259
+ declare const unassignMappingRuleFromTenant: Endpoint<Pick<Tenant, 'tenantId'> & Pick<MappingRule, 'mappingRuleId'>>;
260
260
  declare const queryMappingRulesByTenant: Endpoint<Pick<Tenant, 'tenantId'>>;
261
261
  declare const assignGroupToTenant: Endpoint<Pick<Tenant, 'tenantId'> & Pick<Group, 'groupId'>>;
262
262
  declare const unassignGroupFromTenant: Endpoint<Pick<Tenant, 'tenantId'> & Pick<Group, 'groupId'>>;
@@ -104,11 +104,11 @@ const unassignClientFromTenant = {
104
104
  };
105
105
  const assignMappingRuleToTenant = {
106
106
  method: "PUT",
107
- getUrl: ({ tenantId, mappingId }) => `/${API_VERSION}/tenants/${tenantId}/mappings/${mappingId}`
107
+ getUrl: ({ tenantId, mappingRuleId }) => `/${API_VERSION}/tenants/${tenantId}/mappings/${mappingRuleId}`
108
108
  };
109
109
  const unassignMappingRuleFromTenant = {
110
110
  method: "DELETE",
111
- getUrl: ({ tenantId, mappingId }) => `/${API_VERSION}/tenants/${tenantId}/mappings/${mappingId}`
111
+ getUrl: ({ tenantId, mappingRuleId }) => `/${API_VERSION}/tenants/${tenantId}/mappings/${mappingRuleId}`
112
112
  };
113
113
  const queryMappingRulesByTenant = {
114
114
  method: "POST",
@@ -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
  }>>;