@camunda/camunda-api-zod-schemas 0.0.67 → 0.0.68
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/index.d.ts +4 -0
- package/dist/8.10/job.d.ts +14 -0
- package/dist/8.10/job.js +4 -1
- package/package.json +1 -1
package/dist/8.10/index.d.ts
CHANGED
|
@@ -527,6 +527,7 @@ declare const endpoints: {
|
|
|
527
527
|
kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
|
|
528
528
|
listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
|
|
529
529
|
retries: number;
|
|
530
|
+
priority: number;
|
|
530
531
|
isDenied: boolean | null;
|
|
531
532
|
deniedReason: string | null;
|
|
532
533
|
hasFailedWithRetriesLeft: boolean;
|
|
@@ -554,6 +555,7 @@ declare const endpoints: {
|
|
|
554
555
|
kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
|
|
555
556
|
listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
|
|
556
557
|
retries: number;
|
|
558
|
+
priority: number;
|
|
557
559
|
isDenied: boolean | null;
|
|
558
560
|
deniedReason: string | null;
|
|
559
561
|
hasFailedWithRetriesLeft: boolean;
|
|
@@ -581,6 +583,7 @@ declare const endpoints: {
|
|
|
581
583
|
kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
|
|
582
584
|
listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
|
|
583
585
|
retries: number;
|
|
586
|
+
priority: number;
|
|
584
587
|
isDenied: boolean | null;
|
|
585
588
|
deniedReason: string | null;
|
|
586
589
|
hasFailedWithRetriesLeft: boolean;
|
|
@@ -608,6 +611,7 @@ declare const endpoints: {
|
|
|
608
611
|
kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
|
|
609
612
|
listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
|
|
610
613
|
retries: number;
|
|
614
|
+
priority: number;
|
|
611
615
|
isDenied: boolean | null;
|
|
612
616
|
deniedReason: string | null;
|
|
613
617
|
hasFailedWithRetriesLeft: boolean;
|
package/dist/8.10/job.d.ts
CHANGED
|
@@ -206,6 +206,7 @@ declare const jobSchema: z.ZodObject<{
|
|
|
206
206
|
CANCEL: "CANCEL";
|
|
207
207
|
}>;
|
|
208
208
|
retries: z.ZodNumber;
|
|
209
|
+
priority: z.ZodNumber;
|
|
209
210
|
isDenied: z.ZodNullable<z.ZodBoolean>;
|
|
210
211
|
deniedReason: z.ZodNullable<z.ZodString>;
|
|
211
212
|
hasFailedWithRetriesLeft: z.ZodBoolean;
|
|
@@ -240,6 +241,7 @@ declare const queryJobsRequestBodySchema: z.ZodObject<{
|
|
|
240
241
|
elementInstanceKey: "elementInstanceKey";
|
|
241
242
|
jobKey: "jobKey";
|
|
242
243
|
customHeaders: "customHeaders";
|
|
244
|
+
priority: "priority";
|
|
243
245
|
kind: "kind";
|
|
244
246
|
listenerEventType: "listenerEventType";
|
|
245
247
|
worker: "worker";
|
|
@@ -467,6 +469,16 @@ declare const queryJobsRequestBodySchema: z.ZodObject<{
|
|
|
467
469
|
$in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
468
470
|
$notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
469
471
|
}, z.core.$strip>, z.ZodString]>>;
|
|
472
|
+
priority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
473
|
+
$eq: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
$neq: z.ZodOptional<z.ZodNumber>;
|
|
475
|
+
$exists: z.ZodOptional<z.ZodBoolean>;
|
|
476
|
+
$gt: z.ZodOptional<z.ZodNumber>;
|
|
477
|
+
$gte: z.ZodOptional<z.ZodNumber>;
|
|
478
|
+
$lt: z.ZodOptional<z.ZodNumber>;
|
|
479
|
+
$lte: z.ZodOptional<z.ZodNumber>;
|
|
480
|
+
$in: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
481
|
+
}, z.core.$strip>]>>;
|
|
470
482
|
tenantId: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
471
483
|
$eq: z.ZodOptional<z.ZodString>;
|
|
472
484
|
$neq: z.ZodOptional<z.ZodString>;
|
|
@@ -487,6 +499,7 @@ declare const queryJobsResponseBodySchema: z.ZodType<import('./common').QueryRes
|
|
|
487
499
|
kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
|
|
488
500
|
listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
|
|
489
501
|
retries: number;
|
|
502
|
+
priority: number;
|
|
490
503
|
isDenied: boolean | null;
|
|
491
504
|
deniedReason: string | null;
|
|
492
505
|
hasFailedWithRetriesLeft: boolean;
|
|
@@ -513,6 +526,7 @@ declare const queryJobsResponseBodySchema: z.ZodType<import('./common').QueryRes
|
|
|
513
526
|
kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
|
|
514
527
|
listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
|
|
515
528
|
retries: number;
|
|
529
|
+
priority: number;
|
|
516
530
|
isDenied: boolean | null;
|
|
517
531
|
deniedReason: string | null;
|
|
518
532
|
hasFailedWithRetriesLeft: boolean;
|
package/dist/8.10/job.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { advancedStringFilterSchema, basicStringFilterSchema, getEnumFilterSchema, getQueryRequestBodySchema, getQueryResponseBodySchema } from "./common.js";
|
|
1
|
+
import { advancedIntegerFilterSchema, advancedStringFilterSchema, basicStringFilterSchema, getEnumFilterSchema, getQueryRequestBodySchema, getQueryResponseBodySchema } from "./common.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region lib/8.10/job.ts
|
|
4
4
|
var jobStateSchema = z.enum([
|
|
@@ -39,6 +39,7 @@ var jobSchema = z.object({
|
|
|
39
39
|
kind: jobKindSchema,
|
|
40
40
|
listenerEventType: listenerEventTypeSchema,
|
|
41
41
|
retries: z.number(),
|
|
42
|
+
priority: z.number().int(),
|
|
42
43
|
isDenied: z.boolean().nullable(),
|
|
43
44
|
deniedReason: z.string().nullable(),
|
|
44
45
|
hasFailedWithRetriesLeft: z.boolean(),
|
|
@@ -67,6 +68,7 @@ var queryJobsRequestBodySchema = getQueryRequestBodySchema({
|
|
|
67
68
|
"kind",
|
|
68
69
|
"listenerEventType",
|
|
69
70
|
"retries",
|
|
71
|
+
"priority",
|
|
70
72
|
"isDenied",
|
|
71
73
|
"deniedReason",
|
|
72
74
|
"hasFailedWithRetriesLeft",
|
|
@@ -94,6 +96,7 @@ var queryJobsRequestBodySchema = getQueryRequestBodySchema({
|
|
|
94
96
|
processInstanceKey: basicStringFilterSchema.optional(),
|
|
95
97
|
elementId: advancedStringFilterSchema.optional(),
|
|
96
98
|
elementInstanceKey: basicStringFilterSchema.optional(),
|
|
99
|
+
priority: advancedIntegerFilterSchema.optional(),
|
|
97
100
|
tenantId: advancedStringFilterSchema.optional()
|
|
98
101
|
})
|
|
99
102
|
});
|
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.68",
|
|
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>",
|