@camunda/camunda-api-zod-schemas 0.0.73 → 0.0.74
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/job.d.ts +2 -0
- package/dist/8.10/job.js +3 -2
- package/package.json +1 -1
package/dist/8.10/job.d.ts
CHANGED
|
@@ -684,12 +684,14 @@ declare const completeJob: Endpoint<Pick<Job, 'jobKey'>>;
|
|
|
684
684
|
declare const jobChangesetSchema: z.ZodObject<{
|
|
685
685
|
retries: z.ZodOptional<z.ZodNumber>;
|
|
686
686
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
687
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
687
688
|
}, z.core.$strip>;
|
|
688
689
|
type JobChangeset = z.infer<typeof jobChangesetSchema>;
|
|
689
690
|
declare const updateJobRequestBodySchema: z.ZodObject<{
|
|
690
691
|
changeset: z.ZodObject<{
|
|
691
692
|
retries: z.ZodOptional<z.ZodNumber>;
|
|
692
693
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
694
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
693
695
|
}, z.core.$strip>;
|
|
694
696
|
}, z.core.$strip>;
|
|
695
697
|
type UpdateJobRequestBody = z.infer<typeof updateJobRequestBodySchema>;
|
package/dist/8.10/job.js
CHANGED
|
@@ -188,8 +188,9 @@ var completeJob = {
|
|
|
188
188
|
}
|
|
189
189
|
};
|
|
190
190
|
var jobChangesetSchema = z.object({
|
|
191
|
-
retries: z.number().optional(),
|
|
192
|
-
timeout: z.number().optional()
|
|
191
|
+
retries: z.number().int().optional(),
|
|
192
|
+
timeout: z.number().int().optional(),
|
|
193
|
+
priority: z.number().int().optional()
|
|
193
194
|
});
|
|
194
195
|
var updateJobRequestBodySchema = z.object({ changeset: jobChangesetSchema });
|
|
195
196
|
var updateJob = {
|
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.74",
|
|
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>",
|