@camunda/camunda-api-zod-schemas 0.0.71 → 0.0.73

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.
@@ -412,9 +412,512 @@ declare const getAgentInstanceResponseBodySchema: z.ZodObject<{
412
412
  elementInstanceKeys: z.ZodArray<z.ZodString>;
413
413
  }, z.core.$strip>;
414
414
  type GetAgentInstanceResponseBody = z.infer<typeof getAgentInstanceResponseBodySchema>;
415
+ declare const agentInstanceHistoryRoleSchema: z.ZodEnum<{
416
+ USER: "USER";
417
+ ASSISTANT: "ASSISTANT";
418
+ TOOL_RESULT: "TOOL_RESULT";
419
+ }>;
420
+ type AgentInstanceHistoryRole = z.infer<typeof agentInstanceHistoryRoleSchema>;
421
+ declare const agentInstanceHistoryCommitStatusSchema: z.ZodEnum<{
422
+ PENDING: "PENDING";
423
+ COMMITTED: "COMMITTED";
424
+ DISCARDED: "DISCARDED";
425
+ }>;
426
+ type AgentInstanceHistoryCommitStatus = z.infer<typeof agentInstanceHistoryCommitStatusSchema>;
427
+ declare const agentInstanceTextContentSchema: z.ZodObject<{
428
+ contentType: z.ZodLiteral<"TEXT">;
429
+ text: z.ZodString;
430
+ }, z.core.$strip>;
431
+ type AgentInstanceTextContent = z.infer<typeof agentInstanceTextContentSchema>;
432
+ declare const agentInstanceDocumentContentSchema: z.ZodObject<{
433
+ contentType: z.ZodLiteral<"DOCUMENT">;
434
+ documentReference: z.ZodObject<{
435
+ 'camunda.document.type': z.ZodLiteral<"camunda">;
436
+ storeId: z.ZodString;
437
+ documentId: z.ZodString;
438
+ contentHash: z.ZodNullable<z.ZodString>;
439
+ metadata: z.ZodObject<{
440
+ contentType: z.ZodString;
441
+ fileName: z.ZodString;
442
+ expiresAt: z.ZodNullable<z.ZodString>;
443
+ size: z.ZodNumber;
444
+ processDefinitionId: z.ZodNullable<z.ZodString>;
445
+ processInstanceKey: z.ZodNullable<z.ZodString>;
446
+ customProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
447
+ }, z.core.$strip>;
448
+ }, z.core.$strip>;
449
+ }, z.core.$strip>;
450
+ type AgentInstanceDocumentContent = z.infer<typeof agentInstanceDocumentContentSchema>;
451
+ declare const agentInstanceObjectContentSchema: z.ZodObject<{
452
+ contentType: z.ZodLiteral<"OBJECT">;
453
+ object: z.ZodRecord<z.ZodString, z.ZodUnknown>;
454
+ }, z.core.$strip>;
455
+ type AgentInstanceObjectContent = z.infer<typeof agentInstanceObjectContentSchema>;
456
+ declare const agentInstanceMessageContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
457
+ contentType: z.ZodLiteral<"TEXT">;
458
+ text: z.ZodString;
459
+ }, z.core.$strip>, z.ZodObject<{
460
+ contentType: z.ZodLiteral<"DOCUMENT">;
461
+ documentReference: z.ZodObject<{
462
+ 'camunda.document.type': z.ZodLiteral<"camunda">;
463
+ storeId: z.ZodString;
464
+ documentId: z.ZodString;
465
+ contentHash: z.ZodNullable<z.ZodString>;
466
+ metadata: z.ZodObject<{
467
+ contentType: z.ZodString;
468
+ fileName: z.ZodString;
469
+ expiresAt: z.ZodNullable<z.ZodString>;
470
+ size: z.ZodNumber;
471
+ processDefinitionId: z.ZodNullable<z.ZodString>;
472
+ processInstanceKey: z.ZodNullable<z.ZodString>;
473
+ customProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
474
+ }, z.core.$strip>;
475
+ }, z.core.$strip>;
476
+ }, z.core.$strip>, z.ZodObject<{
477
+ contentType: z.ZodLiteral<"OBJECT">;
478
+ object: z.ZodRecord<z.ZodString, z.ZodUnknown>;
479
+ }, z.core.$strip>], "contentType">;
480
+ type AgentInstanceMessageContent = z.infer<typeof agentInstanceMessageContentSchema>;
481
+ declare const agentInstanceToolCallSchema: z.ZodObject<{
482
+ toolCallId: z.ZodString;
483
+ toolName: z.ZodString;
484
+ elementId: z.ZodNullable<z.ZodString>;
485
+ arguments: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
486
+ }, z.core.$strip>;
487
+ type AgentInstanceToolCall = z.infer<typeof agentInstanceToolCallSchema>;
488
+ declare const agentInstanceHistoryItemMetricsSchema: z.ZodObject<{
489
+ inputTokens: z.ZodNumber;
490
+ outputTokens: z.ZodNumber;
491
+ durationMs: z.ZodNumber;
492
+ }, z.core.$strip>;
493
+ type AgentInstanceHistoryItemMetrics = z.infer<typeof agentInstanceHistoryItemMetricsSchema>;
494
+ declare const agentInstanceHistoryItemSchema: z.ZodObject<{
495
+ historyItemKey: z.ZodString;
496
+ agentInstanceKey: z.ZodString;
497
+ elementInstanceKey: z.ZodString;
498
+ jobKey: z.ZodString;
499
+ jobLease: z.ZodString;
500
+ iteration: z.ZodNullable<z.ZodNumber>;
501
+ role: z.ZodEnum<{
502
+ USER: "USER";
503
+ ASSISTANT: "ASSISTANT";
504
+ TOOL_RESULT: "TOOL_RESULT";
505
+ }>;
506
+ content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
507
+ contentType: z.ZodLiteral<"TEXT">;
508
+ text: z.ZodString;
509
+ }, z.core.$strip>, z.ZodObject<{
510
+ contentType: z.ZodLiteral<"DOCUMENT">;
511
+ documentReference: z.ZodObject<{
512
+ 'camunda.document.type': z.ZodLiteral<"camunda">;
513
+ storeId: z.ZodString;
514
+ documentId: z.ZodString;
515
+ contentHash: z.ZodNullable<z.ZodString>;
516
+ metadata: z.ZodObject<{
517
+ contentType: z.ZodString;
518
+ fileName: z.ZodString;
519
+ expiresAt: z.ZodNullable<z.ZodString>;
520
+ size: z.ZodNumber;
521
+ processDefinitionId: z.ZodNullable<z.ZodString>;
522
+ processInstanceKey: z.ZodNullable<z.ZodString>;
523
+ customProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
524
+ }, z.core.$strip>;
525
+ }, z.core.$strip>;
526
+ }, z.core.$strip>, z.ZodObject<{
527
+ contentType: z.ZodLiteral<"OBJECT">;
528
+ object: z.ZodRecord<z.ZodString, z.ZodUnknown>;
529
+ }, z.core.$strip>], "contentType">>;
530
+ toolCalls: z.ZodArray<z.ZodObject<{
531
+ toolCallId: z.ZodString;
532
+ toolName: z.ZodString;
533
+ elementId: z.ZodNullable<z.ZodString>;
534
+ arguments: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
535
+ }, z.core.$strip>>;
536
+ metrics: z.ZodNullable<z.ZodObject<{
537
+ inputTokens: z.ZodNumber;
538
+ outputTokens: z.ZodNumber;
539
+ durationMs: z.ZodNumber;
540
+ }, z.core.$strip>>;
541
+ commitStatus: z.ZodEnum<{
542
+ PENDING: "PENDING";
543
+ COMMITTED: "COMMITTED";
544
+ DISCARDED: "DISCARDED";
545
+ }>;
546
+ producedAt: z.ZodString;
547
+ }, z.core.$strip>;
548
+ type AgentInstanceHistoryItem = z.infer<typeof agentInstanceHistoryItemSchema>;
549
+ declare const agentInstanceHistoryFilterSchema: z.ZodObject<{
550
+ historyItemKey: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
551
+ $eq: z.ZodOptional<z.ZodString>;
552
+ $neq: z.ZodOptional<z.ZodString>;
553
+ $exists: z.ZodOptional<z.ZodBoolean>;
554
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
555
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
556
+ }, z.core.$strip>, z.ZodString]>>;
557
+ role: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
558
+ USER: "USER";
559
+ ASSISTANT: "ASSISTANT";
560
+ TOOL_RESULT: "TOOL_RESULT";
561
+ }>, z.ZodObject<{
562
+ $eq: z.ZodOptional<z.ZodEnum<{
563
+ USER: "USER";
564
+ ASSISTANT: "ASSISTANT";
565
+ TOOL_RESULT: "TOOL_RESULT";
566
+ }>>;
567
+ $neq: z.ZodOptional<z.ZodEnum<{
568
+ USER: "USER";
569
+ ASSISTANT: "ASSISTANT";
570
+ TOOL_RESULT: "TOOL_RESULT";
571
+ }>>;
572
+ $exists: z.ZodOptional<z.ZodBoolean>;
573
+ $in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
574
+ USER: "USER";
575
+ ASSISTANT: "ASSISTANT";
576
+ TOOL_RESULT: "TOOL_RESULT";
577
+ }>>>;
578
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
579
+ USER: "USER";
580
+ ASSISTANT: "ASSISTANT";
581
+ TOOL_RESULT: "TOOL_RESULT";
582
+ }>>>;
583
+ $like: z.ZodOptional<z.ZodString>;
584
+ }, z.core.$strip>]>>;
585
+ elementInstanceKey: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
586
+ $eq: z.ZodOptional<z.ZodString>;
587
+ $neq: z.ZodOptional<z.ZodString>;
588
+ $exists: z.ZodOptional<z.ZodBoolean>;
589
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
590
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
591
+ }, z.core.$strip>, z.ZodString]>>;
592
+ jobKey: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
593
+ $eq: z.ZodOptional<z.ZodString>;
594
+ $neq: z.ZodOptional<z.ZodString>;
595
+ $exists: z.ZodOptional<z.ZodBoolean>;
596
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
597
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
598
+ }, z.core.$strip>, z.ZodString]>>;
599
+ iteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
600
+ $eq: z.ZodOptional<z.ZodNumber>;
601
+ $neq: z.ZodOptional<z.ZodNumber>;
602
+ $exists: z.ZodOptional<z.ZodBoolean>;
603
+ $gt: z.ZodOptional<z.ZodNumber>;
604
+ $gte: z.ZodOptional<z.ZodNumber>;
605
+ $lt: z.ZodOptional<z.ZodNumber>;
606
+ $lte: z.ZodOptional<z.ZodNumber>;
607
+ $in: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
608
+ }, z.core.$strip>]>>;
609
+ commitStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
610
+ PENDING: "PENDING";
611
+ COMMITTED: "COMMITTED";
612
+ DISCARDED: "DISCARDED";
613
+ }>, z.ZodObject<{
614
+ $eq: z.ZodOptional<z.ZodEnum<{
615
+ PENDING: "PENDING";
616
+ COMMITTED: "COMMITTED";
617
+ DISCARDED: "DISCARDED";
618
+ }>>;
619
+ $neq: z.ZodOptional<z.ZodEnum<{
620
+ PENDING: "PENDING";
621
+ COMMITTED: "COMMITTED";
622
+ DISCARDED: "DISCARDED";
623
+ }>>;
624
+ $exists: z.ZodOptional<z.ZodBoolean>;
625
+ $in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
626
+ PENDING: "PENDING";
627
+ COMMITTED: "COMMITTED";
628
+ DISCARDED: "DISCARDED";
629
+ }>>>;
630
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
631
+ PENDING: "PENDING";
632
+ COMMITTED: "COMMITTED";
633
+ DISCARDED: "DISCARDED";
634
+ }>>>;
635
+ $like: z.ZodOptional<z.ZodString>;
636
+ }, z.core.$strip>]>>;
637
+ producedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
638
+ $eq: z.ZodOptional<z.ZodString>;
639
+ $neq: z.ZodOptional<z.ZodString>;
640
+ $exists: z.ZodOptional<z.ZodBoolean>;
641
+ $gt: z.ZodOptional<z.ZodString>;
642
+ $gte: z.ZodOptional<z.ZodString>;
643
+ $lt: z.ZodOptional<z.ZodString>;
644
+ $lte: z.ZodOptional<z.ZodString>;
645
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
646
+ }, z.core.$strip>]>>;
647
+ }, z.core.$strip>;
648
+ type AgentInstanceHistoryFilter = z.infer<typeof agentInstanceHistoryFilterSchema>;
649
+ declare const createAgentInstanceHistoryItemRequestBodySchema: z.ZodObject<{
650
+ elementInstanceKey: z.ZodString;
651
+ jobKey: z.ZodString;
652
+ jobLease: z.ZodString;
653
+ iteration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
654
+ role: z.ZodEnum<{
655
+ USER: "USER";
656
+ ASSISTANT: "ASSISTANT";
657
+ TOOL_RESULT: "TOOL_RESULT";
658
+ }>;
659
+ content: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
660
+ contentType: z.ZodLiteral<"TEXT">;
661
+ text: z.ZodString;
662
+ }, z.core.$strip>, z.ZodObject<{
663
+ contentType: z.ZodLiteral<"DOCUMENT">;
664
+ documentReference: z.ZodObject<{
665
+ 'camunda.document.type': z.ZodLiteral<"camunda">;
666
+ storeId: z.ZodString;
667
+ documentId: z.ZodString;
668
+ contentHash: z.ZodNullable<z.ZodString>;
669
+ metadata: z.ZodObject<{
670
+ contentType: z.ZodString;
671
+ fileName: z.ZodString;
672
+ expiresAt: z.ZodNullable<z.ZodString>;
673
+ size: z.ZodNumber;
674
+ processDefinitionId: z.ZodNullable<z.ZodString>;
675
+ processInstanceKey: z.ZodNullable<z.ZodString>;
676
+ customProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
677
+ }, z.core.$strip>;
678
+ }, z.core.$strip>;
679
+ }, z.core.$strip>, z.ZodObject<{
680
+ contentType: z.ZodLiteral<"OBJECT">;
681
+ object: z.ZodRecord<z.ZodString, z.ZodUnknown>;
682
+ }, z.core.$strip>], "contentType">>;
683
+ toolCalls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
684
+ toolCallId: z.ZodString;
685
+ toolName: z.ZodString;
686
+ elementId: z.ZodNullable<z.ZodString>;
687
+ arguments: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
688
+ }, z.core.$strip>>>>;
689
+ metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
690
+ inputTokens: z.ZodNumber;
691
+ outputTokens: z.ZodNumber;
692
+ durationMs: z.ZodNumber;
693
+ }, z.core.$strip>>>;
694
+ producedAt: z.ZodString;
695
+ }, z.core.$strip>;
696
+ type CreateAgentInstanceHistoryItemRequestBody = z.infer<typeof createAgentInstanceHistoryItemRequestBodySchema>;
697
+ declare const createAgentInstanceHistoryItemResponseBodySchema: z.ZodObject<{
698
+ historyItemKey: z.ZodString;
699
+ }, z.core.$strip>;
700
+ type CreateAgentInstanceHistoryItemResponseBody = z.infer<typeof createAgentInstanceHistoryItemResponseBodySchema>;
701
+ declare const searchAgentInstanceHistoryRequestBodySchema: z.ZodObject<{
702
+ sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
703
+ field: z.ZodEnum<{
704
+ historyItemKey: "historyItemKey";
705
+ iteration: "iteration";
706
+ producedAt: "producedAt";
707
+ }>;
708
+ order: z.ZodOptional<z.ZodEnum<{
709
+ asc: "asc";
710
+ desc: "desc";
711
+ }>>;
712
+ }, z.core.$strip>>>;
713
+ page: z.ZodOptional<z.ZodObject<{
714
+ from: z.ZodOptional<z.ZodNumber>;
715
+ limit: z.ZodOptional<z.ZodNumber>;
716
+ before: z.ZodOptional<z.ZodOptional<z.ZodString>>;
717
+ after: z.ZodOptional<z.ZodOptional<z.ZodString>>;
718
+ }, z.core.$strip>>;
719
+ filter: z.ZodOptional<z.ZodObject<{
720
+ historyItemKey: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
721
+ $eq: z.ZodOptional<z.ZodString>;
722
+ $neq: z.ZodOptional<z.ZodString>;
723
+ $exists: z.ZodOptional<z.ZodBoolean>;
724
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
725
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
726
+ }, z.core.$strip>, z.ZodString]>>;
727
+ role: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
728
+ USER: "USER";
729
+ ASSISTANT: "ASSISTANT";
730
+ TOOL_RESULT: "TOOL_RESULT";
731
+ }>, z.ZodObject<{
732
+ $eq: z.ZodOptional<z.ZodEnum<{
733
+ USER: "USER";
734
+ ASSISTANT: "ASSISTANT";
735
+ TOOL_RESULT: "TOOL_RESULT";
736
+ }>>;
737
+ $neq: z.ZodOptional<z.ZodEnum<{
738
+ USER: "USER";
739
+ ASSISTANT: "ASSISTANT";
740
+ TOOL_RESULT: "TOOL_RESULT";
741
+ }>>;
742
+ $exists: z.ZodOptional<z.ZodBoolean>;
743
+ $in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
744
+ USER: "USER";
745
+ ASSISTANT: "ASSISTANT";
746
+ TOOL_RESULT: "TOOL_RESULT";
747
+ }>>>;
748
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
749
+ USER: "USER";
750
+ ASSISTANT: "ASSISTANT";
751
+ TOOL_RESULT: "TOOL_RESULT";
752
+ }>>>;
753
+ $like: z.ZodOptional<z.ZodString>;
754
+ }, z.core.$strip>]>>;
755
+ elementInstanceKey: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
756
+ $eq: z.ZodOptional<z.ZodString>;
757
+ $neq: z.ZodOptional<z.ZodString>;
758
+ $exists: z.ZodOptional<z.ZodBoolean>;
759
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
760
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
761
+ }, z.core.$strip>, z.ZodString]>>;
762
+ jobKey: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
763
+ $eq: z.ZodOptional<z.ZodString>;
764
+ $neq: z.ZodOptional<z.ZodString>;
765
+ $exists: z.ZodOptional<z.ZodBoolean>;
766
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
767
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
768
+ }, z.core.$strip>, z.ZodString]>>;
769
+ iteration: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
770
+ $eq: z.ZodOptional<z.ZodNumber>;
771
+ $neq: z.ZodOptional<z.ZodNumber>;
772
+ $exists: z.ZodOptional<z.ZodBoolean>;
773
+ $gt: z.ZodOptional<z.ZodNumber>;
774
+ $gte: z.ZodOptional<z.ZodNumber>;
775
+ $lt: z.ZodOptional<z.ZodNumber>;
776
+ $lte: z.ZodOptional<z.ZodNumber>;
777
+ $in: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
778
+ }, z.core.$strip>]>>;
779
+ commitStatus: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
780
+ PENDING: "PENDING";
781
+ COMMITTED: "COMMITTED";
782
+ DISCARDED: "DISCARDED";
783
+ }>, z.ZodObject<{
784
+ $eq: z.ZodOptional<z.ZodEnum<{
785
+ PENDING: "PENDING";
786
+ COMMITTED: "COMMITTED";
787
+ DISCARDED: "DISCARDED";
788
+ }>>;
789
+ $neq: z.ZodOptional<z.ZodEnum<{
790
+ PENDING: "PENDING";
791
+ COMMITTED: "COMMITTED";
792
+ DISCARDED: "DISCARDED";
793
+ }>>;
794
+ $exists: z.ZodOptional<z.ZodBoolean>;
795
+ $in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
796
+ PENDING: "PENDING";
797
+ COMMITTED: "COMMITTED";
798
+ DISCARDED: "DISCARDED";
799
+ }>>>;
800
+ $notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
801
+ PENDING: "PENDING";
802
+ COMMITTED: "COMMITTED";
803
+ DISCARDED: "DISCARDED";
804
+ }>>>;
805
+ $like: z.ZodOptional<z.ZodString>;
806
+ }, z.core.$strip>]>>;
807
+ producedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
808
+ $eq: z.ZodOptional<z.ZodString>;
809
+ $neq: z.ZodOptional<z.ZodString>;
810
+ $exists: z.ZodOptional<z.ZodBoolean>;
811
+ $gt: z.ZodOptional<z.ZodString>;
812
+ $gte: z.ZodOptional<z.ZodString>;
813
+ $lt: z.ZodOptional<z.ZodString>;
814
+ $lte: z.ZodOptional<z.ZodString>;
815
+ $in: z.ZodOptional<z.ZodArray<z.ZodString>>;
816
+ }, z.core.$strip>]>>;
817
+ }, z.core.$strip>>;
818
+ }, z.core.$strip>;
819
+ type SearchAgentInstanceHistoryRequestBody = z.infer<typeof searchAgentInstanceHistoryRequestBodySchema>;
820
+ declare const searchAgentInstanceHistoryResponseBodySchema: z.ZodType<import('./common').QueryResponseBody<{
821
+ historyItemKey: string;
822
+ agentInstanceKey: string;
823
+ elementInstanceKey: string;
824
+ jobKey: string;
825
+ jobLease: string;
826
+ iteration: number | null;
827
+ role: "USER" | "ASSISTANT" | "TOOL_RESULT";
828
+ content: ({
829
+ contentType: "TEXT";
830
+ text: string;
831
+ } | {
832
+ contentType: "DOCUMENT";
833
+ documentReference: {
834
+ 'camunda.document.type': "camunda";
835
+ storeId: string;
836
+ documentId: string;
837
+ contentHash: string | null;
838
+ metadata: {
839
+ contentType: string;
840
+ fileName: string;
841
+ expiresAt: string | null;
842
+ size: number;
843
+ processDefinitionId: string | null;
844
+ processInstanceKey: string | null;
845
+ customProperties: Record<string, unknown>;
846
+ };
847
+ };
848
+ } | {
849
+ contentType: "OBJECT";
850
+ object: Record<string, unknown>;
851
+ })[];
852
+ toolCalls: {
853
+ toolCallId: string;
854
+ toolName: string;
855
+ elementId: string | null;
856
+ arguments: Record<string, unknown> | null;
857
+ }[];
858
+ metrics: {
859
+ inputTokens: number;
860
+ outputTokens: number;
861
+ durationMs: number;
862
+ } | null;
863
+ commitStatus: "PENDING" | "COMMITTED" | "DISCARDED";
864
+ producedAt: string;
865
+ }>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
866
+ historyItemKey: string;
867
+ agentInstanceKey: string;
868
+ elementInstanceKey: string;
869
+ jobKey: string;
870
+ jobLease: string;
871
+ iteration: number | null;
872
+ role: "USER" | "ASSISTANT" | "TOOL_RESULT";
873
+ content: ({
874
+ contentType: "TEXT";
875
+ text: string;
876
+ } | {
877
+ contentType: "DOCUMENT";
878
+ documentReference: {
879
+ 'camunda.document.type': "camunda";
880
+ storeId: string;
881
+ documentId: string;
882
+ contentHash: string | null;
883
+ metadata: {
884
+ contentType: string;
885
+ fileName: string;
886
+ expiresAt: string | null;
887
+ size: number;
888
+ processDefinitionId: string | null;
889
+ processInstanceKey: string | null;
890
+ customProperties: Record<string, unknown>;
891
+ };
892
+ };
893
+ } | {
894
+ contentType: "OBJECT";
895
+ object: Record<string, unknown>;
896
+ })[];
897
+ toolCalls: {
898
+ toolCallId: string;
899
+ toolName: string;
900
+ elementId: string | null;
901
+ arguments: Record<string, unknown> | null;
902
+ }[];
903
+ metrics: {
904
+ inputTokens: number;
905
+ outputTokens: number;
906
+ durationMs: number;
907
+ } | null;
908
+ commitStatus: "PENDING" | "COMMITTED" | "DISCARDED";
909
+ producedAt: string;
910
+ }>, unknown>>;
911
+ type SearchAgentInstanceHistoryResponseBody = z.infer<typeof searchAgentInstanceHistoryResponseBodySchema>;
415
912
  declare const getAgentInstance: Endpoint<{
416
913
  agentInstanceKey: string;
417
914
  }>;
418
915
  declare const searchAgentInstances: Endpoint;
419
- export { agentInstanceStatusSchema, agentInstanceDefinitionSchema, agentInstanceMetricsSchema, agentInstanceLimitsSchema, agentInstanceSchema, agentInstanceFilterSchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, getAgentInstanceResponseBodySchema, getAgentInstance, searchAgentInstances, };
420
- export type { AgentInstanceStatus, AgentInstanceDefinition, AgentInstanceMetrics, AgentInstanceLimits, AgentInstance, AgentInstanceFilter, QueryAgentInstancesRequestBody, QueryAgentInstancesResponseBody, GetAgentInstanceResponseBody, };
916
+ declare const createAgentInstanceHistoryItem: Endpoint<{
917
+ agentInstanceKey: string;
918
+ }>;
919
+ declare const searchAgentInstanceHistory: Endpoint<{
920
+ agentInstanceKey: string;
921
+ }>;
922
+ export { agentInstanceStatusSchema, agentInstanceDefinitionSchema, agentInstanceMetricsSchema, agentInstanceLimitsSchema, agentInstanceSchema, agentInstanceFilterSchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, getAgentInstanceResponseBodySchema, agentInstanceHistoryRoleSchema, agentInstanceHistoryCommitStatusSchema, agentInstanceTextContentSchema, agentInstanceDocumentContentSchema, agentInstanceObjectContentSchema, agentInstanceMessageContentSchema, agentInstanceToolCallSchema, agentInstanceHistoryItemMetricsSchema, agentInstanceHistoryItemSchema, agentInstanceHistoryFilterSchema, createAgentInstanceHistoryItemRequestBodySchema, createAgentInstanceHistoryItemResponseBodySchema, searchAgentInstanceHistoryRequestBodySchema, searchAgentInstanceHistoryResponseBodySchema, getAgentInstance, searchAgentInstances, createAgentInstanceHistoryItem, searchAgentInstanceHistory, };
923
+ export type { AgentInstanceStatus, AgentInstanceDefinition, AgentInstanceMetrics, AgentInstanceLimits, AgentInstance, AgentInstanceFilter, QueryAgentInstancesRequestBody, QueryAgentInstancesResponseBody, GetAgentInstanceResponseBody, AgentInstanceHistoryRole, AgentInstanceHistoryCommitStatus, AgentInstanceTextContent, AgentInstanceDocumentContent, AgentInstanceObjectContent, AgentInstanceMessageContent, AgentInstanceToolCall, AgentInstanceHistoryItemMetrics, AgentInstanceHistoryItem, AgentInstanceHistoryFilter, CreateAgentInstanceHistoryItemRequestBody, CreateAgentInstanceHistoryItemResponseBody, SearchAgentInstanceHistoryRequestBody, SearchAgentInstanceHistoryResponseBody, };
@@ -1,4 +1,5 @@
1
- import { advancedDateTimeFilterSchema, basicStringFilterSchema, getEnumFilterSchema, getQueryRequestBodySchema, getQueryResponseBodySchema } from "./common.js";
1
+ import { advancedDateTimeFilterSchema, advancedIntegerFilterSchema, basicStringFilterSchema, getEnumFilterSchema, getQueryRequestBodySchema, getQueryResponseBodySchema } from "./common.js";
2
+ import { documentReferenceSchema } from "./document.js";
2
3
  import { z } from "zod";
3
4
  //#region lib/8.10/agent-instance.ts
4
5
  var agentInstanceStatusSchema = z.enum([
@@ -63,6 +64,88 @@ var queryAgentInstancesRequestBodySchema = getQueryRequestBodySchema({
63
64
  });
64
65
  var queryAgentInstancesResponseBodySchema = getQueryResponseBodySchema(agentInstanceSchema);
65
66
  var getAgentInstanceResponseBodySchema = agentInstanceSchema;
67
+ var agentInstanceHistoryRoleSchema = z.enum([
68
+ "USER",
69
+ "ASSISTANT",
70
+ "TOOL_RESULT"
71
+ ]);
72
+ var agentInstanceHistoryCommitStatusSchema = z.enum([
73
+ "COMMITTED",
74
+ "PENDING",
75
+ "DISCARDED"
76
+ ]);
77
+ var agentInstanceTextContentSchema = z.object({
78
+ contentType: z.literal("TEXT"),
79
+ text: z.string()
80
+ });
81
+ var agentInstanceDocumentContentSchema = z.object({
82
+ contentType: z.literal("DOCUMENT"),
83
+ documentReference: documentReferenceSchema
84
+ });
85
+ var agentInstanceObjectContentSchema = z.object({
86
+ contentType: z.literal("OBJECT"),
87
+ object: z.record(z.string(), z.unknown())
88
+ });
89
+ var agentInstanceMessageContentSchema = z.discriminatedUnion("contentType", [
90
+ agentInstanceTextContentSchema,
91
+ agentInstanceDocumentContentSchema,
92
+ agentInstanceObjectContentSchema
93
+ ]);
94
+ var agentInstanceToolCallSchema = z.object({
95
+ toolCallId: z.string(),
96
+ toolName: z.string(),
97
+ elementId: z.string().nullable(),
98
+ arguments: z.record(z.string(), z.unknown()).nullable()
99
+ });
100
+ var agentInstanceHistoryItemMetricsSchema = z.object({
101
+ inputTokens: z.number(),
102
+ outputTokens: z.number(),
103
+ durationMs: z.number()
104
+ });
105
+ var agentInstanceHistoryItemSchema = z.object({
106
+ historyItemKey: z.string(),
107
+ agentInstanceKey: z.string(),
108
+ elementInstanceKey: z.string(),
109
+ jobKey: z.string(),
110
+ jobLease: z.string(),
111
+ iteration: z.number().int().nullable(),
112
+ role: agentInstanceHistoryRoleSchema,
113
+ content: z.array(agentInstanceMessageContentSchema),
114
+ toolCalls: z.array(agentInstanceToolCallSchema),
115
+ metrics: agentInstanceHistoryItemMetricsSchema.nullable(),
116
+ commitStatus: agentInstanceHistoryCommitStatusSchema,
117
+ producedAt: z.string()
118
+ });
119
+ var agentInstanceHistoryFilterSchema = z.object({
120
+ historyItemKey: basicStringFilterSchema,
121
+ role: getEnumFilterSchema(agentInstanceHistoryRoleSchema),
122
+ elementInstanceKey: basicStringFilterSchema,
123
+ jobKey: basicStringFilterSchema,
124
+ iteration: advancedIntegerFilterSchema,
125
+ commitStatus: getEnumFilterSchema(agentInstanceHistoryCommitStatusSchema),
126
+ producedAt: advancedDateTimeFilterSchema
127
+ }).partial();
128
+ var createAgentInstanceHistoryItemRequestBodySchema = z.object({
129
+ elementInstanceKey: z.string(),
130
+ jobKey: z.string(),
131
+ jobLease: z.string(),
132
+ iteration: z.number().int().nullable().optional(),
133
+ role: agentInstanceHistoryRoleSchema,
134
+ content: z.array(agentInstanceMessageContentSchema),
135
+ toolCalls: z.array(agentInstanceToolCallSchema).nullable().optional(),
136
+ metrics: agentInstanceHistoryItemMetricsSchema.nullable().optional(),
137
+ producedAt: z.string()
138
+ });
139
+ var createAgentInstanceHistoryItemResponseBodySchema = z.object({ historyItemKey: z.string() });
140
+ var searchAgentInstanceHistoryRequestBodySchema = getQueryRequestBodySchema({
141
+ sortFields: [
142
+ "producedAt",
143
+ "historyItemKey",
144
+ "iteration"
145
+ ],
146
+ filter: agentInstanceHistoryFilterSchema
147
+ });
148
+ var searchAgentInstanceHistoryResponseBodySchema = getQueryResponseBodySchema(agentInstanceHistoryItemSchema);
66
149
  var getAgentInstance = {
67
150
  method: "GET",
68
151
  getUrl: ({ agentInstanceKey }) => `/v2/agent-instances/${agentInstanceKey}`
@@ -71,5 +154,13 @@ var searchAgentInstances = {
71
154
  method: "POST",
72
155
  getUrl: () => `/v2/agent-instances/search`
73
156
  };
157
+ var createAgentInstanceHistoryItem = {
158
+ method: "POST",
159
+ getUrl: ({ agentInstanceKey }) => `/v2/agent-instances/${agentInstanceKey}/history`
160
+ };
161
+ var searchAgentInstanceHistory = {
162
+ method: "POST",
163
+ getUrl: ({ agentInstanceKey }) => `/v2/agent-instances/${agentInstanceKey}/history/search`
164
+ };
74
165
  //#endregion
75
- export { agentInstanceDefinitionSchema, agentInstanceFilterSchema, agentInstanceLimitsSchema, agentInstanceMetricsSchema, agentInstanceSchema, agentInstanceStatusSchema, getAgentInstance, getAgentInstanceResponseBodySchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, searchAgentInstances };
166
+ export { agentInstanceDefinitionSchema, agentInstanceDocumentContentSchema, agentInstanceFilterSchema, agentInstanceHistoryCommitStatusSchema, agentInstanceHistoryFilterSchema, agentInstanceHistoryItemMetricsSchema, agentInstanceHistoryItemSchema, agentInstanceHistoryRoleSchema, agentInstanceLimitsSchema, agentInstanceMessageContentSchema, agentInstanceMetricsSchema, agentInstanceObjectContentSchema, agentInstanceSchema, agentInstanceStatusSchema, agentInstanceTextContentSchema, agentInstanceToolCallSchema, createAgentInstanceHistoryItem, createAgentInstanceHistoryItemRequestBodySchema, createAgentInstanceHistoryItemResponseBodySchema, getAgentInstance, getAgentInstanceResponseBodySchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, searchAgentInstanceHistory, searchAgentInstanceHistoryRequestBodySchema, searchAgentInstanceHistoryResponseBodySchema, searchAgentInstances };
@@ -11,7 +11,7 @@ declare const waitStateTypeSchema: z.ZodEnum<{
11
11
  type WaitStateType = z.infer<typeof waitStateTypeSchema>;
12
12
  declare const waitStateDetailsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
13
  type WaitStateDetails = z.infer<typeof waitStateDetailsSchema>;
14
- declare const elementInstanceInspectionSchema: z.ZodObject<{
14
+ declare const elementInstanceInspectionSchema: z.ZodPipe<z.ZodObject<{
15
15
  rootProcessInstanceKey: z.ZodString;
16
16
  processInstanceKey: z.ZodString;
17
17
  elementInstanceKey: z.ZodString;
@@ -45,16 +45,23 @@ declare const elementInstanceInspectionSchema: z.ZodObject<{
45
45
  EVENT_BASED_GATEWAY: "EVENT_BASED_GATEWAY";
46
46
  SEQUENCE_FLOW: "SEQUENCE_FLOW";
47
47
  }>;
48
- waitStateType: z.ZodEnum<{
49
- MESSAGE: "MESSAGE";
50
- JOB: "JOB";
51
- TIMER: "TIMER";
52
- SIGNAL: "SIGNAL";
53
- CONDITION: "CONDITION";
54
- CHILD_INSTANCE: "CHILD_INSTANCE";
55
- }>;
56
48
  details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
57
- }, z.core.$strip>;
49
+ }, z.core.$strip>, z.ZodTransform<{
50
+ waitStateType: WaitStateType;
51
+ rootProcessInstanceKey: string;
52
+ processInstanceKey: string;
53
+ elementInstanceKey: string;
54
+ elementId: string;
55
+ elementType: "UNSPECIFIED" | "PROCESS" | "SUB_PROCESS" | "EVENT_SUB_PROCESS" | "INTERMEDIATE_CATCH_EVENT" | "INTERMEDIATE_THROW_EVENT" | "BOUNDARY_EVENT" | "SERVICE_TASK" | "RECEIVE_TASK" | "USER_TASK" | "MANUAL_TASK" | "TASK" | "MULTI_INSTANCE_BODY" | "CALL_ACTIVITY" | "BUSINESS_RULE_TASK" | "SCRIPT_TASK" | "SEND_TASK" | "UNKNOWN" | "AD_HOC_SUB_PROCESS" | "AD_HOC_SUB_PROCESS_INNER_INSTANCE" | "START_EVENT" | "END_EVENT" | "EXCLUSIVE_GATEWAY" | "INCLUSIVE_GATEWAY" | "PARALLEL_GATEWAY" | "EVENT_BASED_GATEWAY" | "SEQUENCE_FLOW";
56
+ details: Record<string, unknown>;
57
+ }, {
58
+ rootProcessInstanceKey: string;
59
+ processInstanceKey: string;
60
+ elementInstanceKey: string;
61
+ elementId: string;
62
+ elementType: "UNSPECIFIED" | "PROCESS" | "SUB_PROCESS" | "EVENT_SUB_PROCESS" | "INTERMEDIATE_CATCH_EVENT" | "INTERMEDIATE_THROW_EVENT" | "BOUNDARY_EVENT" | "SERVICE_TASK" | "RECEIVE_TASK" | "USER_TASK" | "MANUAL_TASK" | "TASK" | "MULTI_INSTANCE_BODY" | "CALL_ACTIVITY" | "BUSINESS_RULE_TASK" | "SCRIPT_TASK" | "SEND_TASK" | "UNKNOWN" | "AD_HOC_SUB_PROCESS" | "AD_HOC_SUB_PROCESS_INNER_INSTANCE" | "START_EVENT" | "END_EVENT" | "EXCLUSIVE_GATEWAY" | "INCLUSIVE_GATEWAY" | "PARALLEL_GATEWAY" | "EVENT_BASED_GATEWAY" | "SEQUENCE_FLOW";
63
+ details: Record<string, unknown>;
64
+ }>>;
58
65
  type ElementInstanceInspection = z.infer<typeof elementInstanceInspectionSchema>;
59
66
  declare const queryElementInstanceInspectionRequestBodySchema: z.ZodObject<{
60
67
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -154,20 +161,20 @@ declare const queryElementInstanceInspectionRequestBodySchema: z.ZodObject<{
154
161
  }, z.core.$strip>;
155
162
  type QueryElementInstanceInspectionRequestBody = z.infer<typeof queryElementInstanceInspectionRequestBodySchema>;
156
163
  declare const queryElementInstanceInspectionResponseBodySchema: z.ZodType<import('./common').QueryResponseBody<{
164
+ waitStateType: WaitStateType;
157
165
  rootProcessInstanceKey: string;
158
166
  processInstanceKey: string;
159
167
  elementInstanceKey: string;
160
168
  elementId: string;
161
169
  elementType: "UNSPECIFIED" | "PROCESS" | "SUB_PROCESS" | "EVENT_SUB_PROCESS" | "INTERMEDIATE_CATCH_EVENT" | "INTERMEDIATE_THROW_EVENT" | "BOUNDARY_EVENT" | "SERVICE_TASK" | "RECEIVE_TASK" | "USER_TASK" | "MANUAL_TASK" | "TASK" | "MULTI_INSTANCE_BODY" | "CALL_ACTIVITY" | "BUSINESS_RULE_TASK" | "SCRIPT_TASK" | "SEND_TASK" | "UNKNOWN" | "AD_HOC_SUB_PROCESS" | "AD_HOC_SUB_PROCESS_INNER_INSTANCE" | "START_EVENT" | "END_EVENT" | "EXCLUSIVE_GATEWAY" | "INCLUSIVE_GATEWAY" | "PARALLEL_GATEWAY" | "EVENT_BASED_GATEWAY" | "SEQUENCE_FLOW";
162
- waitStateType: "MESSAGE" | "JOB" | "TIMER" | "SIGNAL" | "CONDITION" | "CHILD_INSTANCE";
163
170
  details: Record<string, unknown>;
164
171
  }>, unknown, z.core.$ZodTypeInternals<import('./common').QueryResponseBody<{
172
+ waitStateType: WaitStateType;
165
173
  rootProcessInstanceKey: string;
166
174
  processInstanceKey: string;
167
175
  elementInstanceKey: string;
168
176
  elementId: string;
169
177
  elementType: "UNSPECIFIED" | "PROCESS" | "SUB_PROCESS" | "EVENT_SUB_PROCESS" | "INTERMEDIATE_CATCH_EVENT" | "INTERMEDIATE_THROW_EVENT" | "BOUNDARY_EVENT" | "SERVICE_TASK" | "RECEIVE_TASK" | "USER_TASK" | "MANUAL_TASK" | "TASK" | "MULTI_INSTANCE_BODY" | "CALL_ACTIVITY" | "BUSINESS_RULE_TASK" | "SCRIPT_TASK" | "SEND_TASK" | "UNKNOWN" | "AD_HOC_SUB_PROCESS" | "AD_HOC_SUB_PROCESS_INNER_INSTANCE" | "START_EVENT" | "END_EVENT" | "EXCLUSIVE_GATEWAY" | "INCLUSIVE_GATEWAY" | "PARALLEL_GATEWAY" | "EVENT_BASED_GATEWAY" | "SEQUENCE_FLOW";
170
- waitStateType: "MESSAGE" | "JOB" | "TIMER" | "SIGNAL" | "CONDITION" | "CHILD_INSTANCE";
171
178
  details: Record<string, unknown>;
172
179
  }>, unknown>>;
173
180
  type QueryElementInstanceInspectionResponseBody = z.infer<typeof queryElementInstanceInspectionResponseBodySchema>;
@@ -17,9 +17,11 @@ var elementInstanceInspectionSchema = z.object({
17
17
  elementInstanceKey: z.string(),
18
18
  elementId: z.string(),
19
19
  elementType: elementInstanceTypeSchema,
20
- waitStateType: waitStateTypeSchema,
21
20
  details: waitStateDetailsSchema
22
- });
21
+ }).transform((data) => ({
22
+ ...data,
23
+ waitStateType: data.details["waitStateType"]
24
+ }));
23
25
  var queryElementInstanceInspectionRequestBodySchema = getQueryRequestBodySchema({
24
26
  sortFields: [
25
27
  "elementInstanceKey",
@@ -7,6 +7,12 @@ declare const endpoints: {
7
7
  agentInstanceKey: string;
8
8
  }>;
9
9
  readonly searchAgentInstances: import('./common').Endpoint<undefined>;
10
+ readonly createAgentInstanceHistoryItem: import('./common').Endpoint<{
11
+ agentInstanceKey: string;
12
+ }>;
13
+ readonly searchAgentInstanceHistory: import('./common').Endpoint<{
14
+ agentInstanceKey: string;
15
+ }>;
10
16
  readonly createAuthorization: import('./common').Endpoint<undefined>;
11
17
  readonly updateAuthorization: import('./common').Endpoint<{
12
18
  authorizationKey: string;
@@ -526,7 +532,7 @@ declare const endpoints: {
526
532
  worker: string;
527
533
  state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "MIGRATED" | "RETRIES_UPDATED" | "TIMED_OUT" | "ERROR_THROWN";
528
534
  kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
529
- listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
535
+ listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL" | "BEFORE_ALL";
530
536
  retries: number;
531
537
  priority: number;
532
538
  isDenied: boolean | null;
@@ -554,7 +560,7 @@ declare const endpoints: {
554
560
  worker: string;
555
561
  state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "MIGRATED" | "RETRIES_UPDATED" | "TIMED_OUT" | "ERROR_THROWN";
556
562
  kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
557
- listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
563
+ listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL" | "BEFORE_ALL";
558
564
  retries: number;
559
565
  priority: number;
560
566
  isDenied: boolean | null;
@@ -582,7 +588,7 @@ declare const endpoints: {
582
588
  worker: string;
583
589
  state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "MIGRATED" | "RETRIES_UPDATED" | "TIMED_OUT" | "ERROR_THROWN";
584
590
  kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
585
- listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
591
+ listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL" | "BEFORE_ALL";
586
592
  retries: number;
587
593
  priority: number;
588
594
  isDenied: boolean | null;
@@ -610,7 +616,7 @@ declare const endpoints: {
610
616
  worker: string;
611
617
  state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "MIGRATED" | "RETRIES_UPDATED" | "TIMED_OUT" | "ERROR_THROWN";
612
618
  kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
613
- listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
619
+ listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL" | "BEFORE_ALL";
614
620
  retries: number;
615
621
  priority: number;
616
622
  isDenied: boolean | null;
@@ -1160,7 +1166,7 @@ export { userTaskAuditLogFilterSchema, queryUserTaskAuditLogsRequestBodySchema,
1160
1166
  export { deleteProcessInstanceRequestBodySchema, modifyProcessInstanceRequestBodySchema, type DeleteProcessInstanceRequestBody, type ModifyProcessInstanceRequestBody, } from './process-instance-commands';
1161
1167
  export { getIncidentProcessInstanceStatisticsByErrorRequestBodySchema, getIncidentProcessInstanceStatisticsByErrorResponseBodySchema, incidentProcessInstanceStatisticsByErrorSchema, getIncidentProcessInstanceStatisticsByDefinitionRequestBodySchema, getIncidentProcessInstanceStatisticsByDefinitionResponseBodySchema, incidentProcessInstanceStatisticsByDefinitionSchema, type IncidentProcessInstanceStatisticsByError, type GetIncidentProcessInstanceStatisticsByErrorRequestBody, type GetIncidentProcessInstanceStatisticsByErrorResponseBody, type IncidentProcessInstanceStatisticsByDefinition, type GetIncidentProcessInstanceStatisticsByDefinitionRequestBody, type GetIncidentProcessInstanceStatisticsByDefinitionResponseBody, } from './incident-statistics';
1162
1168
  export { currentUserSchema, getCurrentUser, type CurrentUser } from './authentication';
1163
- export { agentInstanceStatusSchema, agentInstanceDefinitionSchema, agentInstanceMetricsSchema, agentInstanceLimitsSchema, agentInstanceSchema, agentInstanceFilterSchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, getAgentInstanceResponseBodySchema, type AgentInstanceStatus, type AgentInstanceDefinition, type AgentInstanceMetrics, type AgentInstanceLimits, type AgentInstance, type AgentInstanceFilter, type QueryAgentInstancesRequestBody, type QueryAgentInstancesResponseBody, type GetAgentInstanceResponseBody, } from './agent-instance';
1169
+ export { agentInstanceStatusSchema, agentInstanceDefinitionSchema, agentInstanceMetricsSchema, agentInstanceLimitsSchema, agentInstanceSchema, agentInstanceFilterSchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, getAgentInstanceResponseBodySchema, agentInstanceHistoryRoleSchema, agentInstanceHistoryCommitStatusSchema, agentInstanceTextContentSchema, agentInstanceDocumentContentSchema, agentInstanceObjectContentSchema, agentInstanceMessageContentSchema, agentInstanceToolCallSchema, agentInstanceHistoryItemMetricsSchema, agentInstanceHistoryItemSchema, agentInstanceHistoryFilterSchema, createAgentInstanceHistoryItemRequestBodySchema, createAgentInstanceHistoryItemResponseBodySchema, searchAgentInstanceHistoryRequestBodySchema, searchAgentInstanceHistoryResponseBodySchema, type AgentInstanceStatus, type AgentInstanceDefinition, type AgentInstanceMetrics, type AgentInstanceLimits, type AgentInstance, type AgentInstanceFilter, type QueryAgentInstancesRequestBody, type QueryAgentInstancesResponseBody, type GetAgentInstanceResponseBody, type AgentInstanceHistoryRole, type AgentInstanceHistoryCommitStatus, type AgentInstanceTextContent, type AgentInstanceDocumentContent, type AgentInstanceObjectContent, type AgentInstanceMessageContent, type AgentInstanceToolCall, type AgentInstanceHistoryItemMetrics, type AgentInstanceHistoryItem, type AgentInstanceHistoryFilter, type CreateAgentInstanceHistoryItemRequestBody, type CreateAgentInstanceHistoryItemResponseBody, type SearchAgentInstanceHistoryRequestBody, type SearchAgentInstanceHistoryResponseBody, } from './agent-instance';
1164
1170
  export { activityTypeSchema, queryActivatableActivitiesRequestBodySchema, queryActivatableActivitiesResponseBodySchema, activateActivityWithinAdHocSubProcessRequestBodySchema, activateActivityWithinAdHocSubProcessResponseBodySchema, type ActivityType, type QueryActivatableActivitiesRequestBody, type ActivatableActivity, type QueryActivatableActivitiesResponseBody, type ActivateActivityWithinAdHocSubProcessRequestBody, type ActivateActivityWithinAdHocSubProcessResponseBody, } from './ad-hoc-sub-process';
1165
1171
  export { permissionTypeSchema, resourceTypeSchema, ownerTypeSchema, createAuthorizationRequestBodySchema, createAuthorizationResponseBodySchema, updateAuthorizationRequestBodySchema, getAuthorizationResponseBodySchema, queryAuthorizationsRequestBodySchema, queryAuthorizationsResponseBodySchema, authorizationSchema, type Authorization, type PermissionType, type ResourceType, type OwnerType, type CreateAuthorizationResponseBody, type GetAuthorizationResponseBody, type QueryAuthorizationsRequestBody, type QueryAuthorizationsResponseBody, type CreateAuthorizationRequestBody, type UpdateAuthorizationRequestBody, } from './authorization';
1166
1172
  export { batchOperationTypeSchema, batchOperationStateSchema, batchOperationItemStateSchema, batchOperationSchema, batchOperationItemSchema, queryBatchOperationsRequestBodySchema, queryBatchOperationsResponseBodySchema, queryBatchOperationItemsRequestBodySchema, queryBatchOperationItemsResponseBodySchema, type BatchOperationType, type BatchOperationState, type BatchOperationItemState, type BatchOperation, type BatchOperationItem, type QueryBatchOperationsRequestBody, type QueryBatchOperationsResponseBody, type QueryBatchOperationItemsRequestBody, type QueryBatchOperationItemsResponseBody, } from './batch-operation';
@@ -28,6 +28,7 @@ declare const listenerEventTypeSchema: z.ZodEnum<{
28
28
  END: "END";
29
29
  CREATING: "CREATING";
30
30
  CANCEL: "CANCEL";
31
+ BEFORE_ALL: "BEFORE_ALL";
31
32
  }>;
32
33
  type ListenerEventType = z.infer<typeof listenerEventTypeSchema>;
33
34
  declare const jobStateFilterSchema: z.ZodUnion<readonly [z.ZodEnum<{
@@ -126,6 +127,7 @@ declare const listenerEventTypeFilterSchema: z.ZodUnion<readonly [z.ZodEnum<{
126
127
  END: "END";
127
128
  CREATING: "CREATING";
128
129
  CANCEL: "CANCEL";
130
+ BEFORE_ALL: "BEFORE_ALL";
129
131
  }>, z.ZodObject<{
130
132
  $eq: z.ZodOptional<z.ZodEnum<{
131
133
  UNSPECIFIED: "UNSPECIFIED";
@@ -137,6 +139,7 @@ declare const listenerEventTypeFilterSchema: z.ZodUnion<readonly [z.ZodEnum<{
137
139
  END: "END";
138
140
  CREATING: "CREATING";
139
141
  CANCEL: "CANCEL";
142
+ BEFORE_ALL: "BEFORE_ALL";
140
143
  }>>;
141
144
  $neq: z.ZodOptional<z.ZodEnum<{
142
145
  UNSPECIFIED: "UNSPECIFIED";
@@ -148,6 +151,7 @@ declare const listenerEventTypeFilterSchema: z.ZodUnion<readonly [z.ZodEnum<{
148
151
  END: "END";
149
152
  CREATING: "CREATING";
150
153
  CANCEL: "CANCEL";
154
+ BEFORE_ALL: "BEFORE_ALL";
151
155
  }>>;
152
156
  $exists: z.ZodOptional<z.ZodBoolean>;
153
157
  $in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -160,6 +164,7 @@ declare const listenerEventTypeFilterSchema: z.ZodUnion<readonly [z.ZodEnum<{
160
164
  END: "END";
161
165
  CREATING: "CREATING";
162
166
  CANCEL: "CANCEL";
167
+ BEFORE_ALL: "BEFORE_ALL";
163
168
  }>>>;
164
169
  $notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
165
170
  UNSPECIFIED: "UNSPECIFIED";
@@ -171,6 +176,7 @@ declare const listenerEventTypeFilterSchema: z.ZodUnion<readonly [z.ZodEnum<{
171
176
  END: "END";
172
177
  CREATING: "CREATING";
173
178
  CANCEL: "CANCEL";
179
+ BEFORE_ALL: "BEFORE_ALL";
174
180
  }>>>;
175
181
  $like: z.ZodOptional<z.ZodString>;
176
182
  }, z.core.$strip>]>;
@@ -204,6 +210,7 @@ declare const jobSchema: z.ZodObject<{
204
210
  END: "END";
205
211
  CREATING: "CREATING";
206
212
  CANCEL: "CANCEL";
213
+ BEFORE_ALL: "BEFORE_ALL";
207
214
  }>;
208
215
  retries: z.ZodNumber;
209
216
  priority: z.ZodNumber;
@@ -384,6 +391,7 @@ declare const queryJobsRequestBodySchema: z.ZodObject<{
384
391
  END: "END";
385
392
  CREATING: "CREATING";
386
393
  CANCEL: "CANCEL";
394
+ BEFORE_ALL: "BEFORE_ALL";
387
395
  }>, z.ZodObject<{
388
396
  $eq: z.ZodOptional<z.ZodEnum<{
389
397
  UNSPECIFIED: "UNSPECIFIED";
@@ -395,6 +403,7 @@ declare const queryJobsRequestBodySchema: z.ZodObject<{
395
403
  END: "END";
396
404
  CREATING: "CREATING";
397
405
  CANCEL: "CANCEL";
406
+ BEFORE_ALL: "BEFORE_ALL";
398
407
  }>>;
399
408
  $neq: z.ZodOptional<z.ZodEnum<{
400
409
  UNSPECIFIED: "UNSPECIFIED";
@@ -406,6 +415,7 @@ declare const queryJobsRequestBodySchema: z.ZodObject<{
406
415
  END: "END";
407
416
  CREATING: "CREATING";
408
417
  CANCEL: "CANCEL";
418
+ BEFORE_ALL: "BEFORE_ALL";
409
419
  }>>;
410
420
  $exists: z.ZodOptional<z.ZodBoolean>;
411
421
  $in: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -418,6 +428,7 @@ declare const queryJobsRequestBodySchema: z.ZodObject<{
418
428
  END: "END";
419
429
  CREATING: "CREATING";
420
430
  CANCEL: "CANCEL";
431
+ BEFORE_ALL: "BEFORE_ALL";
421
432
  }>>>;
422
433
  $notIn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
423
434
  UNSPECIFIED: "UNSPECIFIED";
@@ -429,6 +440,7 @@ declare const queryJobsRequestBodySchema: z.ZodObject<{
429
440
  END: "END";
430
441
  CREATING: "CREATING";
431
442
  CANCEL: "CANCEL";
443
+ BEFORE_ALL: "BEFORE_ALL";
432
444
  }>>>;
433
445
  $like: z.ZodOptional<z.ZodString>;
434
446
  }, z.core.$strip>]>>;
@@ -497,7 +509,7 @@ declare const queryJobsResponseBodySchema: z.ZodType<import('./common').QueryRes
497
509
  worker: string;
498
510
  state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "MIGRATED" | "RETRIES_UPDATED" | "TIMED_OUT" | "ERROR_THROWN";
499
511
  kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
500
- listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
512
+ listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL" | "BEFORE_ALL";
501
513
  retries: number;
502
514
  priority: number;
503
515
  isDenied: boolean | null;
@@ -524,7 +536,7 @@ declare const queryJobsResponseBodySchema: z.ZodType<import('./common').QueryRes
524
536
  worker: string;
525
537
  state: "CREATED" | "COMPLETED" | "CANCELED" | "FAILED" | "MIGRATED" | "RETRIES_UPDATED" | "TIMED_OUT" | "ERROR_THROWN";
526
538
  kind: "AD_HOC_SUB_PROCESS" | "BPMN_ELEMENT" | "EXECUTION_LISTENER" | "TASK_LISTENER";
527
- listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL";
539
+ listenerEventType: "UNSPECIFIED" | "ASSIGNING" | "UPDATING" | "COMPLETING" | "CANCELING" | "START" | "END" | "CREATING" | "CANCEL" | "BEFORE_ALL";
528
540
  retries: number;
529
541
  priority: number;
530
542
  isDenied: boolean | null;
@@ -588,6 +600,7 @@ declare const activatedJobSchema: z.ZodObject<{
588
600
  END: "END";
589
601
  CREATING: "CREATING";
590
602
  CANCEL: "CANCEL";
603
+ BEFORE_ALL: "BEFORE_ALL";
591
604
  }>;
592
605
  rootProcessInstanceKey: z.ZodNullable<z.ZodString>;
593
606
  userTask: z.ZodNullable<z.ZodUnknown>;
@@ -626,6 +639,7 @@ declare const activateJobsResponseBodySchema: z.ZodObject<{
626
639
  END: "END";
627
640
  CREATING: "CREATING";
628
641
  CANCEL: "CANCEL";
642
+ BEFORE_ALL: "BEFORE_ALL";
629
643
  }>;
630
644
  rootProcessInstanceKey: z.ZodNullable<z.ZodString>;
631
645
  userTask: z.ZodNullable<z.ZodUnknown>;
package/dist/8.10/job.js CHANGED
@@ -19,6 +19,7 @@ var jobKindSchema = z.enum([
19
19
  ]);
20
20
  var listenerEventTypeSchema = z.enum([
21
21
  "UNSPECIFIED",
22
+ "BEFORE_ALL",
22
23
  "START",
23
24
  "END",
24
25
  "CANCEL",
@@ -56,8 +56,8 @@ declare const queryMessageSubscriptionRequestBodySchema: z.ZodObject<{
56
56
  messageName: "messageName";
57
57
  processDefinitionName: "processDefinitionName";
58
58
  processDefinitionVersion: "processDefinitionVersion";
59
- messageSubscriptionType: "messageSubscriptionType";
60
59
  toolName: "toolName";
60
+ messageSubscriptionType: "messageSubscriptionType";
61
61
  inboundConnectorType: "inboundConnectorType";
62
62
  }>;
63
63
  order: z.ZodOptional<z.ZodEnum<{
package/dist/8.10.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './8.10/index'
1
+ export * from './8.10/index.js'
2
2
  export {}
package/dist/8.10.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { problemDetailResponseSchema, problemDetailsSchema, queryPageSchema, querySortOrderSchema } from "./8.10/common.js";
2
2
  import { currentUserSchema, getCurrentUser } from "./8.10/authentication.js";
3
3
  import { activateActivityWithinAdHocSubProcessRequestBodySchema, activateActivityWithinAdHocSubProcessResponseBodySchema, activateAdHocSubProcessActivities, activityTypeSchema, queryActivatableActivitiesRequestBodySchema, queryActivatableActivitiesResponseBodySchema } from "./8.10/ad-hoc-sub-process.js";
4
- import { agentInstanceDefinitionSchema, agentInstanceFilterSchema, agentInstanceLimitsSchema, agentInstanceMetricsSchema, agentInstanceSchema, agentInstanceStatusSchema, getAgentInstance, getAgentInstanceResponseBodySchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, searchAgentInstances } from "./8.10/agent-instance.js";
4
+ import { createDocument, createDocumentLink, createDocuments, createDocumentsResponseBodySchema, deleteDocument, documentCreationFailureDetailSchema, documentLinkRequestBodySchema, documentLinkSchema, documentMetadataSchema, documentReferenceSchema, getDocument, getDocumentResponseBodySchema } from "./8.10/document.js";
5
+ import { agentInstanceDefinitionSchema, agentInstanceDocumentContentSchema, agentInstanceFilterSchema, agentInstanceHistoryCommitStatusSchema, agentInstanceHistoryFilterSchema, agentInstanceHistoryItemMetricsSchema, agentInstanceHistoryItemSchema, agentInstanceHistoryRoleSchema, agentInstanceLimitsSchema, agentInstanceMessageContentSchema, agentInstanceMetricsSchema, agentInstanceObjectContentSchema, agentInstanceSchema, agentInstanceStatusSchema, agentInstanceTextContentSchema, agentInstanceToolCallSchema, createAgentInstanceHistoryItem, createAgentInstanceHistoryItemRequestBodySchema, createAgentInstanceHistoryItemResponseBodySchema, getAgentInstance, getAgentInstanceResponseBodySchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, searchAgentInstanceHistory, searchAgentInstanceHistoryRequestBodySchema, searchAgentInstanceHistoryResponseBodySchema, searchAgentInstances } from "./8.10/agent-instance.js";
5
6
  import { authorizationSchema, createAuthorization, createAuthorizationRequestBodySchema, createAuthorizationResponseBodySchema, deleteAuthorization, getAuthorization, getAuthorizationResponseBodySchema, ownerTypeSchema, permissionTypeSchema, queryAuthorizations, queryAuthorizationsRequestBodySchema, queryAuthorizationsResponseBodySchema, resourceTypeSchema, updateAuthorization, updateAuthorizationRequestBodySchema } from "./8.10/authorization.js";
6
7
  import { batchOperationItemSchema, batchOperationItemStateSchema, batchOperationSchema, batchOperationStateSchema, batchOperationTypeSchema, cancelBatchOperation, getBatchOperation, queryBatchOperationItems, queryBatchOperationItemsRequestBodySchema, queryBatchOperationItemsResponseBodySchema, queryBatchOperations, queryBatchOperationsRequestBodySchema, queryBatchOperationsResponseBodySchema, resumeBatchOperation, suspendBatchOperation } from "./8.10/batch-operation.js";
7
8
  import { pinClock, pinClockRequestBodySchema, resetClock } from "./8.10/clock.js";
@@ -9,7 +10,6 @@ import { brokerInfoSchema, getTopology, getTopologyResponseBodySchema, partition
9
10
  import { decisionDefinitionSchema, evaluateDecision, evaluateDecisionRequestBodySchema, evaluateDecisionResponseBodySchema, evaluatedDecisionInputItemSchema, evaluatedDecisionOutputItemSchema, evaluatedDecisionResultSchema, getDecisionDefinition, getDecisionDefinitionXml, getDecisionDefinitionXmlResponseBodySchema, matchedDecisionRuleItemSchema, queryDecisionDefinitions, queryDecisionDefinitionsRequestBodySchema, queryDecisionDefinitionsResponseBodySchema } from "./8.10/decision-definition.js";
10
11
  import { createDecisionInstancesDeletionBatchOperation, createDecisionInstancesDeletionBatchOperationRequestBodySchema, createDecisionInstancesDeletionBatchOperationResponseBodySchema, decisionDefinitionTypeSchema, decisionInstanceSchema, decisionInstanceStateSchema, getDecisionInstance, getDecisionInstanceResponseBodySchema, queryDecisionInstances, queryDecisionInstancesFilterSchema, queryDecisionInstancesRequestBodySchema, queryDecisionInstancesResponseBodySchema } from "./8.10/decision-instance.js";
11
12
  import { decisionRequirementsSchema, getDecisionRequirements, getDecisionRequirementsXml, getDecisionRequirementsXmlResponseBodySchema, queryDecisionRequirements, queryDecisionRequirementsRequestBodySchema, queryDecisionRequirementsResponseBodySchema } from "./8.10/decision-requirements.js";
12
- import { createDocument, createDocumentLink, createDocuments, createDocumentsResponseBodySchema, deleteDocument, documentCreationFailureDetailSchema, documentLinkRequestBodySchema, documentLinkSchema, documentMetadataSchema, documentReferenceSchema, getDocument, getDocumentResponseBodySchema } from "./8.10/document.js";
13
13
  import { getIncident, getIncidentResponseBodySchema, incidentErrorTypeSchema, incidentSchema, incidentStateSchema, queryIncidents, queryIncidentsRequestBodySchema, queryIncidentsResponseBodySchema, resolveIncident } from "./8.10/incident.js";
14
14
  import { elementInstanceFilterSchema, elementInstanceSchema, elementInstanceStateSchema, elementInstanceTypeSchema, getElementInstance, getElementInstanceResponseBodySchema, queryElementInstanceIncidents, queryElementInstanceIncidentsRequestBodySchema, queryElementInstanceIncidentsResponseBodySchema, queryElementInstances, queryElementInstancesRequestBodySchema, queryElementInstancesResponseBodySchema, updateElementInstanceVariables, updateElementInstanceVariablesRequestBodySchema } from "./8.10/element-instance.js";
15
15
  import { elementInstanceInspectionSchema, queryElementInstanceInspection, queryElementInstanceInspectionRequestBodySchema, queryElementInstanceInspectionResponseBodySchema, waitStateDetailsSchema, waitStateTypeSchema } from "./8.10/element-instance-inspection.js";
@@ -44,6 +44,8 @@ var endpoints = {
44
44
  activateAdHocSubProcessActivities,
45
45
  getAgentInstance,
46
46
  searchAgentInstances,
47
+ createAgentInstanceHistoryItem,
48
+ searchAgentInstanceHistory,
47
49
  createAuthorization,
48
50
  updateAuthorization,
49
51
  getAuthorization,
@@ -216,4 +218,4 @@ var endpoints = {
216
218
  deleteGlobalTaskListener
217
219
  };
218
220
  //#endregion
219
- export { activateActivityWithinAdHocSubProcessRequestBodySchema, activateActivityWithinAdHocSubProcessResponseBodySchema, activateJobsRequestBodySchema, activateJobsResponseBodySchema, activatedJobSchema, activityTypeSchema, agentInstanceDefinitionSchema, agentInstanceFilterSchema, agentInstanceLimitsSchema, agentInstanceMetricsSchema, agentInstanceSchema, agentInstanceStatusSchema, assignTaskRequestBodySchema, auditLogActorTypeSchema, auditLogCategorySchema, auditLogEntityTypeSchema, auditLogFilterSchema, auditLogOperationTypeSchema, auditLogResultSchema, auditLogSchema, auditLogSortFieldEnum, authenticationConfigurationSchema, authorizationSchema, batchOperationCreatedResultSchema, batchOperationItemSchema, batchOperationItemStateSchema, batchOperationSchema, batchOperationStateSchema, batchOperationTypeSchema, broadcastSignalRequestBodySchema, broadcastSignalResponseBodySchema, brokerInfoSchema, callHierarchySchema, cancelProcessInstanceRequestBodySchema, cloudConfigurationSchema, clusterVariableSchema, clusterVariableScopeSchema, clusterVariableSearchResultSchema, completeJobRequestBodySchema, completeTaskRequestBodySchema, componentsConfigurationSchema, correlateMessageRequestBodySchema, correlateMessageResponseBodySchema, correlatedMessageSubscriptionSchema, createAuthorizationRequestBodySchema, createAuthorizationResponseBodySchema, createCancellationBatchOperationResponseBodySchema, createClusterVariableRequestBodySchema, createDecisionInstancesDeletionBatchOperationRequestBodySchema, createDecisionInstancesDeletionBatchOperationResponseBodySchema, createDeletionBatchOperationResponseBodySchema, createDeploymentResponseBodySchema, createDocumentsResponseBodySchema, createGlobalTaskListenerRequestBodySchema, createGroupRequestBodySchema, createGroupResponseBodySchema, createIncidentResolutionBatchOperationResponseBodySchema, createMappingRuleRequestBodySchema, createMappingRuleResponseBodySchema, createMigrationBatchOperationResponseBodySchema, createModificationBatchOperationResponseBodySchema, createProcessInstanceRequestBodySchema, createProcessInstanceResponseBodySchema, createRoleRequestBodySchema, createRoleResponseBodySchema, createTenantRequestBodySchema, createTenantResponseBodySchema, createUserRequestBodySchema, createUserResponseBodySchema, currentUserSchema, decisionDefinitionSchema, decisionDefinitionTypeSchema, decisionDeploymentSchema, decisionInstanceSchema, decisionInstanceStateSchema, decisionRequirementsDeploymentSchema, decisionRequirementsSchema, deleteProcessInstanceRequestBodySchema, deleteResourceRequestBodySchema, deleteResourceResponseBodySchema, deploymentConfigurationSchema, deploymentSchema, documentCreationFailureDetailSchema, documentLinkRequestBodySchema, documentLinkSchema, documentMetadataSchema, documentReferenceSchema, elementInstanceFilterSchema, elementInstanceInspectionSchema, elementInstanceSchema, elementInstanceStateSchema, elementInstanceTypeSchema, endpoints, evaluateDecisionRequestBodySchema, evaluateDecisionResponseBodySchema, evaluatedDecisionInputItemSchema, evaluatedDecisionOutputItemSchema, evaluatedDecisionResultSchema, failJobRequestBodySchema, formDeploymentSchema, formSchema, getAgentInstanceResponseBodySchema, getAuditLogResponseBodySchema, getAuthorizationResponseBodySchema, getCurrentUser, getDecisionDefinitionXmlResponseBodySchema, getDecisionInstanceResponseBodySchema, getDecisionRequirementsXmlResponseBodySchema, getDocumentResponseBodySchema, getElementInstanceResponseBodySchema, getGroupResponseBodySchema, getIncidentProcessInstanceStatisticsByDefinitionRequestBodySchema, getIncidentProcessInstanceStatisticsByDefinitionResponseBodySchema, getIncidentProcessInstanceStatisticsByErrorRequestBodySchema, getIncidentProcessInstanceStatisticsByErrorResponseBodySchema, getIncidentResponseBodySchema, getMappingRuleResponseBodySchema, getProcessDefinitionInstanceStatisticsRequestBodySchema, getProcessDefinitionInstanceStatisticsResponseBodySchema, getProcessDefinitionInstanceVersionStatisticsRequestBodySchema, getProcessDefinitionInstanceVersionStatisticsResponseBodySchema, getProcessDefinitionResponseBodySchema, getProcessDefinitionStatisticsRequestBodySchema, getProcessDefinitionStatisticsResponseBodySchema, getProcessDefinitionXmlResponseBodySchema, getProcessInstanceCallHierarchyResponseBodySchema, getProcessInstanceSequenceFlowsResponseBodySchema, getProcessInstanceStatisticsResponseBodySchema, getProcessStartFormResponseBodySchema, getResourceContentResponseBodySchema, getSystemConfigurationResponseBodySchema, getTopologyResponseBodySchema, getUsageMetricsResponseBodySchema, globalListenerSourceSchema, globalTaskListenerEventTypeSchema, globalTaskListenerSchema, groupSchema, incidentErrorTypeSchema, incidentProcessInstanceStatisticsByDefinitionSchema, incidentProcessInstanceStatisticsByErrorSchema, incidentSchema, incidentStateSchema, jobChangesetSchema, jobKindFilterSchema, jobKindSchema, jobMetricsConfigurationSchema, jobResultSchema, jobSchema, jobStateFilterSchema, jobStateSchema, licenseSchema, listenerEventTypeFilterSchema, listenerEventTypeSchema, mappingRuleSchema, matchedDecisionRuleItemSchema, messageSubscriptionSchema, modifyProcessInstanceRequestBodySchema, ownerTypeSchema, partitionHealthSchema, partitionRoleSchema, partitionSchema, permissionTypeSchema, pinClockRequestBodySchema, problemDetailResponseSchema, problemDetailsSchema, processDefinitionInstanceStatisticsSchema, processDefinitionInstanceVersionStatisticsSchema, processDefinitionResponseSchema, processDefinitionSchema, processDefinitionStatisticSchema, processDeploymentSchema, processInstanceSchema, processInstanceStateSchema, processInstanceVariableFilterSchema, processInstanceVariableValueFilterSchema, publishMessageRequestBodySchema, publishMessageResponseBodySchema, queryActivatableActivitiesRequestBodySchema, queryActivatableActivitiesResponseBodySchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, queryAuditLogsRequestBodySchema, queryAuditLogsResponseBodySchema, queryAuthorizationsRequestBodySchema, queryAuthorizationsResponseBodySchema, queryBatchOperationItemsRequestBodySchema, queryBatchOperationItemsResponseBodySchema, queryBatchOperationsRequestBodySchema, queryBatchOperationsResponseBodySchema, queryClientsByGroupRequestBodySchema, queryClientsByGroupResponseBodySchema, queryClientsByRoleRequestBodySchema, queryClientsByRoleResponseBodySchema, queryClientsByTenantRequestBodySchema, queryClientsByTenantResponseBodySchema, queryClusterVariablesRequestBodySchema, queryClusterVariablesResponseBodySchema, queryCorrelatedMessageSubscriptionRequestBodySchema, queryCorrelatedMessageSubscriptionsResponseBodySchema, queryDecisionDefinitionsRequestBodySchema, queryDecisionDefinitionsResponseBodySchema, queryDecisionInstancesFilterSchema, queryDecisionInstancesRequestBodySchema, queryDecisionInstancesResponseBodySchema, queryDecisionRequirementsRequestBodySchema, queryDecisionRequirementsResponseBodySchema, queryElementInstanceIncidentsRequestBodySchema, queryElementInstanceIncidentsResponseBodySchema, queryElementInstanceInspectionRequestBodySchema, queryElementInstanceInspectionResponseBodySchema, queryElementInstancesRequestBodySchema, queryElementInstancesResponseBodySchema, queryGlobalTaskListenersRequestBodySchema, queryGlobalTaskListenersResponseBodySchema, queryGroupsByRoleRequestBodySchema, queryGroupsByRoleResponseBodySchema, queryGroupsByTenantRequestBodySchema, queryGroupsByTenantResponseBodySchema, queryGroupsRequestBodySchema, queryGroupsResponseBodySchema, queryIncidentsRequestBodySchema, queryIncidentsResponseBodySchema, queryJobsRequestBodySchema, queryJobsResponseBodySchema, queryMappingRulesByGroupRequestBodySchema, queryMappingRulesByGroupResponseBodySchema, queryMappingRulesByRoleRequestBodySchema, queryMappingRulesByRoleResponseBodySchema, queryMappingRulesByTenantRequestBodySchema, queryMappingRulesByTenantResponseBodySchema, queryMappingRulesRequestBodySchema, queryMappingRulesResponseBodySchema, queryMessageSubscriptionRequestBodySchema, queryMessageSubscriptionsResponseBodySchema, queryPageSchema, queryProcessDefinitionsRequestBodySchema, queryProcessDefinitionsResponseBodySchema, queryProcessInstanceIncidentsRequestBodySchema, queryProcessInstanceIncidentsResponseBodySchema, queryProcessInstancesRequestBodySchema, queryProcessInstancesResponseBodySchema, queryRolesByGroupRequestBodySchema, queryRolesByGroupResponseBodySchema, queryRolesByTenantRequestBodySchema, queryRolesByTenantResponseBodySchema, queryRolesRequestBodySchema, queryRolesResponseBodySchema, querySortOrderSchema, queryTenantsRequestBodySchema, queryTenantsResponseBodySchema, queryUserTaskAuditLogsRequestBodySchema, queryUserTaskAuditLogsResponseBodySchema, queryUserTasksRequestBodySchema, queryUserTasksResponseBodySchema, queryUsersByGroupRequestBodySchema, queryUsersByGroupResponseBodySchema, queryUsersByRoleRequestBodySchema, queryUsersByRoleResponseBodySchema, queryUsersByTenantRequestBodySchema, queryUsersByTenantResponseBodySchema, queryUsersRequestBodySchema, queryUsersResponseBodySchema, queryVariablesByUserTaskRequestBodySchema, queryVariablesByUserTaskResponseBodySchema, queryVariablesRequestBodySchema, queryVariablesResponseBodySchema, resolveProcessInstanceIncidentsResponseBodySchema, resourceDeploymentSchema, resourceSchema, resourceTypeSchema, roleSchema, sequenceFlowSchema, systemConfigurationSchema, tenantClientSchema, tenantSchema, tenantUserSchema, throwJobErrorRequestBodySchema, unassignTaskRequestBodySchema, updateAuthorizationRequestBodySchema, updateClusterVariableRequestBodySchema, updateElementInstanceVariablesRequestBodySchema, updateGlobalTaskListenerRequestBodySchema, updateGroupRequestBodySchema, updateGroupResponseBodySchema, updateJobRequestBodySchema, updateMappingRuleRequestBodySchema, updateMappingRuleResponseBodySchema, updateRoleRequestBodySchema, updateRoleResponseBodySchema, updateTenantRequestBodySchema, updateTenantResponseBodySchema, updateUserRequestBodySchema, updateUserTaskRequestBodySchema, usageMetricsSchema, userSchema, userTaskAuditLogFilterSchema, userTaskSchema, variableSchema, waitStateDetailsSchema, waitStateTypeSchema };
221
+ export { activateActivityWithinAdHocSubProcessRequestBodySchema, activateActivityWithinAdHocSubProcessResponseBodySchema, activateJobsRequestBodySchema, activateJobsResponseBodySchema, activatedJobSchema, activityTypeSchema, agentInstanceDefinitionSchema, agentInstanceDocumentContentSchema, agentInstanceFilterSchema, agentInstanceHistoryCommitStatusSchema, agentInstanceHistoryFilterSchema, agentInstanceHistoryItemMetricsSchema, agentInstanceHistoryItemSchema, agentInstanceHistoryRoleSchema, agentInstanceLimitsSchema, agentInstanceMessageContentSchema, agentInstanceMetricsSchema, agentInstanceObjectContentSchema, agentInstanceSchema, agentInstanceStatusSchema, agentInstanceTextContentSchema, agentInstanceToolCallSchema, assignTaskRequestBodySchema, auditLogActorTypeSchema, auditLogCategorySchema, auditLogEntityTypeSchema, auditLogFilterSchema, auditLogOperationTypeSchema, auditLogResultSchema, auditLogSchema, auditLogSortFieldEnum, authenticationConfigurationSchema, authorizationSchema, batchOperationCreatedResultSchema, batchOperationItemSchema, batchOperationItemStateSchema, batchOperationSchema, batchOperationStateSchema, batchOperationTypeSchema, broadcastSignalRequestBodySchema, broadcastSignalResponseBodySchema, brokerInfoSchema, callHierarchySchema, cancelProcessInstanceRequestBodySchema, cloudConfigurationSchema, clusterVariableSchema, clusterVariableScopeSchema, clusterVariableSearchResultSchema, completeJobRequestBodySchema, completeTaskRequestBodySchema, componentsConfigurationSchema, correlateMessageRequestBodySchema, correlateMessageResponseBodySchema, correlatedMessageSubscriptionSchema, createAgentInstanceHistoryItemRequestBodySchema, createAgentInstanceHistoryItemResponseBodySchema, createAuthorizationRequestBodySchema, createAuthorizationResponseBodySchema, createCancellationBatchOperationResponseBodySchema, createClusterVariableRequestBodySchema, createDecisionInstancesDeletionBatchOperationRequestBodySchema, createDecisionInstancesDeletionBatchOperationResponseBodySchema, createDeletionBatchOperationResponseBodySchema, createDeploymentResponseBodySchema, createDocumentsResponseBodySchema, createGlobalTaskListenerRequestBodySchema, createGroupRequestBodySchema, createGroupResponseBodySchema, createIncidentResolutionBatchOperationResponseBodySchema, createMappingRuleRequestBodySchema, createMappingRuleResponseBodySchema, createMigrationBatchOperationResponseBodySchema, createModificationBatchOperationResponseBodySchema, createProcessInstanceRequestBodySchema, createProcessInstanceResponseBodySchema, createRoleRequestBodySchema, createRoleResponseBodySchema, createTenantRequestBodySchema, createTenantResponseBodySchema, createUserRequestBodySchema, createUserResponseBodySchema, currentUserSchema, decisionDefinitionSchema, decisionDefinitionTypeSchema, decisionDeploymentSchema, decisionInstanceSchema, decisionInstanceStateSchema, decisionRequirementsDeploymentSchema, decisionRequirementsSchema, deleteProcessInstanceRequestBodySchema, deleteResourceRequestBodySchema, deleteResourceResponseBodySchema, deploymentConfigurationSchema, deploymentSchema, documentCreationFailureDetailSchema, documentLinkRequestBodySchema, documentLinkSchema, documentMetadataSchema, documentReferenceSchema, elementInstanceFilterSchema, elementInstanceInspectionSchema, elementInstanceSchema, elementInstanceStateSchema, elementInstanceTypeSchema, endpoints, evaluateDecisionRequestBodySchema, evaluateDecisionResponseBodySchema, evaluatedDecisionInputItemSchema, evaluatedDecisionOutputItemSchema, evaluatedDecisionResultSchema, failJobRequestBodySchema, formDeploymentSchema, formSchema, getAgentInstanceResponseBodySchema, getAuditLogResponseBodySchema, getAuthorizationResponseBodySchema, getCurrentUser, getDecisionDefinitionXmlResponseBodySchema, getDecisionInstanceResponseBodySchema, getDecisionRequirementsXmlResponseBodySchema, getDocumentResponseBodySchema, getElementInstanceResponseBodySchema, getGroupResponseBodySchema, getIncidentProcessInstanceStatisticsByDefinitionRequestBodySchema, getIncidentProcessInstanceStatisticsByDefinitionResponseBodySchema, getIncidentProcessInstanceStatisticsByErrorRequestBodySchema, getIncidentProcessInstanceStatisticsByErrorResponseBodySchema, getIncidentResponseBodySchema, getMappingRuleResponseBodySchema, getProcessDefinitionInstanceStatisticsRequestBodySchema, getProcessDefinitionInstanceStatisticsResponseBodySchema, getProcessDefinitionInstanceVersionStatisticsRequestBodySchema, getProcessDefinitionInstanceVersionStatisticsResponseBodySchema, getProcessDefinitionResponseBodySchema, getProcessDefinitionStatisticsRequestBodySchema, getProcessDefinitionStatisticsResponseBodySchema, getProcessDefinitionXmlResponseBodySchema, getProcessInstanceCallHierarchyResponseBodySchema, getProcessInstanceSequenceFlowsResponseBodySchema, getProcessInstanceStatisticsResponseBodySchema, getProcessStartFormResponseBodySchema, getResourceContentResponseBodySchema, getSystemConfigurationResponseBodySchema, getTopologyResponseBodySchema, getUsageMetricsResponseBodySchema, globalListenerSourceSchema, globalTaskListenerEventTypeSchema, globalTaskListenerSchema, groupSchema, incidentErrorTypeSchema, incidentProcessInstanceStatisticsByDefinitionSchema, incidentProcessInstanceStatisticsByErrorSchema, incidentSchema, incidentStateSchema, jobChangesetSchema, jobKindFilterSchema, jobKindSchema, jobMetricsConfigurationSchema, jobResultSchema, jobSchema, jobStateFilterSchema, jobStateSchema, licenseSchema, listenerEventTypeFilterSchema, listenerEventTypeSchema, mappingRuleSchema, matchedDecisionRuleItemSchema, messageSubscriptionSchema, modifyProcessInstanceRequestBodySchema, ownerTypeSchema, partitionHealthSchema, partitionRoleSchema, partitionSchema, permissionTypeSchema, pinClockRequestBodySchema, problemDetailResponseSchema, problemDetailsSchema, processDefinitionInstanceStatisticsSchema, processDefinitionInstanceVersionStatisticsSchema, processDefinitionResponseSchema, processDefinitionSchema, processDefinitionStatisticSchema, processDeploymentSchema, processInstanceSchema, processInstanceStateSchema, processInstanceVariableFilterSchema, processInstanceVariableValueFilterSchema, publishMessageRequestBodySchema, publishMessageResponseBodySchema, queryActivatableActivitiesRequestBodySchema, queryActivatableActivitiesResponseBodySchema, queryAgentInstancesRequestBodySchema, queryAgentInstancesResponseBodySchema, queryAuditLogsRequestBodySchema, queryAuditLogsResponseBodySchema, queryAuthorizationsRequestBodySchema, queryAuthorizationsResponseBodySchema, queryBatchOperationItemsRequestBodySchema, queryBatchOperationItemsResponseBodySchema, queryBatchOperationsRequestBodySchema, queryBatchOperationsResponseBodySchema, queryClientsByGroupRequestBodySchema, queryClientsByGroupResponseBodySchema, queryClientsByRoleRequestBodySchema, queryClientsByRoleResponseBodySchema, queryClientsByTenantRequestBodySchema, queryClientsByTenantResponseBodySchema, queryClusterVariablesRequestBodySchema, queryClusterVariablesResponseBodySchema, queryCorrelatedMessageSubscriptionRequestBodySchema, queryCorrelatedMessageSubscriptionsResponseBodySchema, queryDecisionDefinitionsRequestBodySchema, queryDecisionDefinitionsResponseBodySchema, queryDecisionInstancesFilterSchema, queryDecisionInstancesRequestBodySchema, queryDecisionInstancesResponseBodySchema, queryDecisionRequirementsRequestBodySchema, queryDecisionRequirementsResponseBodySchema, queryElementInstanceIncidentsRequestBodySchema, queryElementInstanceIncidentsResponseBodySchema, queryElementInstanceInspectionRequestBodySchema, queryElementInstanceInspectionResponseBodySchema, queryElementInstancesRequestBodySchema, queryElementInstancesResponseBodySchema, queryGlobalTaskListenersRequestBodySchema, queryGlobalTaskListenersResponseBodySchema, queryGroupsByRoleRequestBodySchema, queryGroupsByRoleResponseBodySchema, queryGroupsByTenantRequestBodySchema, queryGroupsByTenantResponseBodySchema, queryGroupsRequestBodySchema, queryGroupsResponseBodySchema, queryIncidentsRequestBodySchema, queryIncidentsResponseBodySchema, queryJobsRequestBodySchema, queryJobsResponseBodySchema, queryMappingRulesByGroupRequestBodySchema, queryMappingRulesByGroupResponseBodySchema, queryMappingRulesByRoleRequestBodySchema, queryMappingRulesByRoleResponseBodySchema, queryMappingRulesByTenantRequestBodySchema, queryMappingRulesByTenantResponseBodySchema, queryMappingRulesRequestBodySchema, queryMappingRulesResponseBodySchema, queryMessageSubscriptionRequestBodySchema, queryMessageSubscriptionsResponseBodySchema, queryPageSchema, queryProcessDefinitionsRequestBodySchema, queryProcessDefinitionsResponseBodySchema, queryProcessInstanceIncidentsRequestBodySchema, queryProcessInstanceIncidentsResponseBodySchema, queryProcessInstancesRequestBodySchema, queryProcessInstancesResponseBodySchema, queryRolesByGroupRequestBodySchema, queryRolesByGroupResponseBodySchema, queryRolesByTenantRequestBodySchema, queryRolesByTenantResponseBodySchema, queryRolesRequestBodySchema, queryRolesResponseBodySchema, querySortOrderSchema, queryTenantsRequestBodySchema, queryTenantsResponseBodySchema, queryUserTaskAuditLogsRequestBodySchema, queryUserTaskAuditLogsResponseBodySchema, queryUserTasksRequestBodySchema, queryUserTasksResponseBodySchema, queryUsersByGroupRequestBodySchema, queryUsersByGroupResponseBodySchema, queryUsersByRoleRequestBodySchema, queryUsersByRoleResponseBodySchema, queryUsersByTenantRequestBodySchema, queryUsersByTenantResponseBodySchema, queryUsersRequestBodySchema, queryUsersResponseBodySchema, queryVariablesByUserTaskRequestBodySchema, queryVariablesByUserTaskResponseBodySchema, queryVariablesRequestBodySchema, queryVariablesResponseBodySchema, resolveProcessInstanceIncidentsResponseBodySchema, resourceDeploymentSchema, resourceSchema, resourceTypeSchema, roleSchema, searchAgentInstanceHistoryRequestBodySchema, searchAgentInstanceHistoryResponseBodySchema, sequenceFlowSchema, systemConfigurationSchema, tenantClientSchema, tenantSchema, tenantUserSchema, throwJobErrorRequestBodySchema, unassignTaskRequestBodySchema, updateAuthorizationRequestBodySchema, updateClusterVariableRequestBodySchema, updateElementInstanceVariablesRequestBodySchema, updateGlobalTaskListenerRequestBodySchema, updateGroupRequestBodySchema, updateGroupResponseBodySchema, updateJobRequestBodySchema, updateMappingRuleRequestBodySchema, updateMappingRuleResponseBodySchema, updateRoleRequestBodySchema, updateRoleResponseBodySchema, updateTenantRequestBodySchema, updateTenantResponseBodySchema, updateUserRequestBodySchema, updateUserTaskRequestBodySchema, usageMetricsSchema, userSchema, userTaskAuditLogFilterSchema, userTaskSchema, variableSchema, waitStateDetailsSchema, waitStateTypeSchema };
package/dist/8.8.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './8.8/index'
1
+ export * from './8.8/index.js'
2
2
  export {}
package/dist/8.9.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './8.9/index'
1
+ export * from './8.9/index.js'
2
2
  export {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/camunda-api-zod-schemas",
3
- "version": "0.0.71",
3
+ "version": "0.0.73",
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>",
@@ -607,12 +607,12 @@
607
607
  },
608
608
  "packageManager": "npm@11.16.0",
609
609
  "devDependencies": {
610
- "@types/node": "25.9.1",
610
+ "@types/node": "25.9.3",
611
611
  "changelogen": "0.6.2",
612
612
  "typescript": "6.0.3",
613
- "vite": "8.0.14",
613
+ "vite": "8.0.16",
614
614
  "vite-plugin-circular-dependency": "0.6.0",
615
- "vite-plugin-dts": "5.0.1",
615
+ "vite-plugin-dts": "5.0.2",
616
616
  "zod": "^4.4.3"
617
617
  },
618
618
  "peerDependencies": {