@camunda/camunda-api-zod-schemas 0.0.76 → 0.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/8.10/audit-log.d.ts
CHANGED
|
@@ -155,6 +155,8 @@ declare const auditLogSchema: z.ZodObject<{
|
|
|
155
155
|
}>>;
|
|
156
156
|
entityDescription: z.ZodNullable<z.ZodString>;
|
|
157
157
|
agentElementId: z.ZodNullable<z.ZodString>;
|
|
158
|
+
inboundChannelType: z.ZodNullable<z.ZodString>;
|
|
159
|
+
inboundChannelToolName: z.ZodNullable<z.ZodString>;
|
|
158
160
|
}, z.core.$strip>;
|
|
159
161
|
type AuditLog = z.infer<typeof auditLogSchema>;
|
|
160
162
|
declare const auditLogFilterSchema: z.ZodObject<{
|
|
@@ -607,6 +609,22 @@ declare const auditLogFilterSchema: z.ZodObject<{
|
|
|
607
609
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
608
610
|
$like: z.ZodOptional<z.ZodString>;
|
|
609
611
|
}, z.core.$strip>, z.ZodString]>>>;
|
|
612
|
+
inboundChannelType: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
613
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
614
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
615
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
616
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
617
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
618
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
619
|
+
}, z.core.$strip>, z.ZodString]>>>;
|
|
620
|
+
inboundChannelToolName: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
621
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
622
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
623
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
624
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
625
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
626
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
627
|
+
}, z.core.$strip>, z.ZodString]>>>;
|
|
610
628
|
}, z.core.$strip>;
|
|
611
629
|
declare const auditLogSortFieldEnum: z.ZodEnum<{
|
|
612
630
|
tenantId: "tenantId";
|
|
@@ -632,6 +650,8 @@ declare const auditLogSortFieldEnum: z.ZodEnum<{
|
|
|
632
650
|
category: "category";
|
|
633
651
|
auditLogKey: "auditLogKey";
|
|
634
652
|
entityKey: "entityKey";
|
|
653
|
+
inboundChannelType: "inboundChannelType";
|
|
654
|
+
inboundChannelToolName: "inboundChannelToolName";
|
|
635
655
|
}>;
|
|
636
656
|
type AuditLogSortField = z.infer<typeof auditLogSortFieldEnum>;
|
|
637
657
|
declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
|
|
@@ -1100,6 +1120,22 @@ declare const queryAuditLogsRequestBodySchema: z.ZodObject<{
|
|
|
1100
1120
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1101
1121
|
$like: z.ZodOptional<z.ZodString>;
|
|
1102
1122
|
}, z.core.$strip>, z.ZodString]>>>;
|
|
1123
|
+
inboundChannelType: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1124
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
1127
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1128
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1129
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
1130
|
+
}, z.core.$strip>, z.ZodString]>>>;
|
|
1131
|
+
inboundChannelToolName: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1132
|
+
$eq: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
$neq: z.ZodOptional<z.ZodString>;
|
|
1134
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
1135
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1136
|
+
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1137
|
+
$like: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
}, z.core.$strip>, z.ZodString]>>>;
|
|
1103
1139
|
}, z.core.$strip>>;
|
|
1104
1140
|
}, z.core.$strip>;
|
|
1105
1141
|
type QueryAuditLogsRequestBody = z.infer<typeof queryAuditLogsRequestBodySchema>;
|
|
@@ -1135,6 +1171,8 @@ declare const queryAuditLogsResponseBodySchema: z.ZodType<import('./common').Que
|
|
|
1135
1171
|
relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
|
|
1136
1172
|
entityDescription: string | null;
|
|
1137
1173
|
agentElementId: string | null;
|
|
1174
|
+
inboundChannelType: string | null;
|
|
1175
|
+
inboundChannelToolName: string | null;
|
|
1138
1176
|
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
1139
1177
|
auditLogKey: string;
|
|
1140
1178
|
entityKey: string;
|
|
@@ -1167,6 +1205,8 @@ declare const queryAuditLogsResponseBodySchema: z.ZodType<import('./common').Que
|
|
|
1167
1205
|
relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
|
|
1168
1206
|
entityDescription: string | null;
|
|
1169
1207
|
agentElementId: string | null;
|
|
1208
|
+
inboundChannelType: string | null;
|
|
1209
|
+
inboundChannelToolName: string | null;
|
|
1170
1210
|
}>, unknown>>;
|
|
1171
1211
|
type QueryAuditLogsResponseBody = z.infer<typeof queryAuditLogsResponseBodySchema>;
|
|
1172
1212
|
declare const queryAuditLogs: Endpoint;
|
|
@@ -1275,6 +1315,8 @@ declare const getAuditLogResponseBodySchema: z.ZodObject<{
|
|
|
1275
1315
|
}>>;
|
|
1276
1316
|
entityDescription: z.ZodNullable<z.ZodString>;
|
|
1277
1317
|
agentElementId: z.ZodNullable<z.ZodString>;
|
|
1318
|
+
inboundChannelType: z.ZodNullable<z.ZodString>;
|
|
1319
|
+
inboundChannelToolName: z.ZodNullable<z.ZodString>;
|
|
1278
1320
|
}, z.core.$strip>;
|
|
1279
1321
|
type GetAuditLogResponseBody = z.infer<typeof getAuditLogResponseBodySchema>;
|
|
1280
1322
|
export { auditLogEntityTypeSchema, auditLogOperationTypeSchema, auditLogActorTypeSchema, auditLogResultSchema, auditLogCategorySchema, auditLogSchema, auditLogFilterSchema, auditLogSortFieldEnum, queryAuditLogsRequestBodySchema, queryAuditLogsResponseBodySchema, getAuditLogResponseBodySchema, queryAuditLogs, getAuditLog, };
|
package/dist/8.10/audit-log.js
CHANGED
|
@@ -89,7 +89,9 @@ var auditLogSchema = z.object({
|
|
|
89
89
|
relatedEntityKey: z.string().nullable(),
|
|
90
90
|
relatedEntityType: auditLogEntityTypeSchema.nullable(),
|
|
91
91
|
entityDescription: z.string().nullable(),
|
|
92
|
-
agentElementId: z.string().nullable()
|
|
92
|
+
agentElementId: z.string().nullable(),
|
|
93
|
+
inboundChannelType: z.string().nullable(),
|
|
94
|
+
inboundChannelToolName: z.string().nullable()
|
|
93
95
|
});
|
|
94
96
|
var auditLogFilterSchema = z.object({
|
|
95
97
|
auditLogKey: advancedStringFilterSchema.optional(),
|
|
@@ -110,7 +112,9 @@ var auditLogFilterSchema = z.object({
|
|
|
110
112
|
resourceKey: advancedStringFilterSchema.optional(),
|
|
111
113
|
relatedEntityType: getEnumFilterSchema(auditLogEntityTypeSchema).optional(),
|
|
112
114
|
relatedEntityKey: advancedStringFilterSchema.optional(),
|
|
113
|
-
entityDescription: advancedStringFilterSchema.optional()
|
|
115
|
+
entityDescription: advancedStringFilterSchema.optional(),
|
|
116
|
+
inboundChannelType: advancedStringFilterSchema.optional(),
|
|
117
|
+
inboundChannelToolName: advancedStringFilterSchema.optional()
|
|
114
118
|
}).partial();
|
|
115
119
|
var auditLogSortFieldEnum = z.enum([
|
|
116
120
|
"actorId",
|
|
@@ -132,6 +136,8 @@ var auditLogSortFieldEnum = z.enum([
|
|
|
132
136
|
"processDefinitionId",
|
|
133
137
|
"processDefinitionKey",
|
|
134
138
|
"processInstanceKey",
|
|
139
|
+
"inboundChannelType",
|
|
140
|
+
"inboundChannelToolName",
|
|
135
141
|
"result",
|
|
136
142
|
"tenantId",
|
|
137
143
|
"timestamp",
|
|
@@ -369,6 +369,8 @@ declare const queryUserTaskAuditLogsResponseBodySchema: z.ZodType<import('./comm
|
|
|
369
369
|
relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
|
|
370
370
|
entityDescription: string | null;
|
|
371
371
|
agentElementId: string | null;
|
|
372
|
+
inboundChannelType: string | null;
|
|
373
|
+
inboundChannelToolName: string | null;
|
|
372
374
|
}>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
|
|
373
375
|
auditLogKey: string;
|
|
374
376
|
entityKey: string;
|
|
@@ -401,6 +403,8 @@ declare const queryUserTaskAuditLogsResponseBodySchema: z.ZodType<import('./comm
|
|
|
401
403
|
relatedEntityType: "USER_TASK" | "AUTHORIZATION" | "MAPPING_RULE" | "BATCH" | "TENANT" | "RESOURCE" | "GROUP" | "USER" | "ROLE" | "CLIENT" | "DECISION" | "INCIDENT" | "JOB" | "PROCESS_INSTANCE" | "VARIABLE" | null;
|
|
402
404
|
entityDescription: string | null;
|
|
403
405
|
agentElementId: string | null;
|
|
406
|
+
inboundChannelType: string | null;
|
|
407
|
+
inboundChannelToolName: string | null;
|
|
404
408
|
}>, unknown>>;
|
|
405
409
|
type QueryUserTaskAuditLogsResponseBody = z.infer<typeof queryUserTaskAuditLogsResponseBodySchema>;
|
|
406
410
|
declare const queryUserTaskAuditLogs: Endpoint<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/camunda-api-zod-schemas",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.77",
|
|
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>",
|