@automate.ax/api-contract 0.90.0 → 0.91.1

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.
@@ -511,67 +511,6 @@ export declare const eventsContract: {
511
511
  timestamp: import("zod").ZodISODateTime;
512
512
  workspace_id: import("zod").ZodUUID;
513
513
  workspace_name: import("zod").ZodString;
514
- }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>, import("zod").ZodObject<{
515
- data: import("zod").ZodObject<{
516
- parent: import("zod").ZodObject<{
517
- data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
518
- id: import("zod").ZodUUID;
519
- type: import("zod").ZodEnum<{
520
- team: "team";
521
- space: "space";
522
- agent: "agent";
523
- block: "block";
524
- page: "page";
525
- database: "database";
526
- }>;
527
- }, import("zod/v4/core").$strip>;
528
- updated_blocks: import("zod").ZodArray<import("zod").ZodObject<{
529
- id: import("zod").ZodUUID;
530
- type: import("zod").ZodEnum<{
531
- block: "block";
532
- page: "page";
533
- database: "database";
534
- }>;
535
- }, import("zod/v4/core").$strip>>;
536
- }, import("zod/v4/core").$strip>;
537
- entity: import("zod").ZodObject<{
538
- id: import("zod").ZodUUID;
539
- type: import("zod").ZodEnum<{
540
- block: "block";
541
- database: "database";
542
- data_source: "data_source";
543
- }>;
544
- }, import("zod/v4/core").$strip>;
545
- type: import("zod").ZodLiteral<"database.content_updated">;
546
- accessible_by: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
547
- id: import("zod").ZodUUID;
548
- type: import("zod").ZodLiteral<"person">;
549
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
550
- id: import("zod").ZodUUID;
551
- type: import("zod").ZodLiteral<"bot">;
552
- }, import("zod/v4/core").$strip>], "type">>>;
553
- api_version: import("zod").ZodEnum<{
554
- "2022-06-28": "2022-06-28";
555
- "2025-09-03": "2025-09-03";
556
- "2026-03-11": "2026-03-11";
557
- }>;
558
- attempt_number: import("zod").ZodNumber;
559
- authors: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
560
- id: import("zod").ZodUUID;
561
- type: import("zod").ZodLiteral<"person">;
562
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
563
- id: import("zod").ZodUUID;
564
- type: import("zod").ZodLiteral<"bot">;
565
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
566
- id: import("zod").ZodUUID;
567
- type: import("zod").ZodLiteral<"agent">;
568
- }, import("zod/v4/core").$strip>], "type">>;
569
- id: import("zod").ZodUUID;
570
- integration_id: import("zod").ZodUUID;
571
- subscription_id: import("zod").ZodUUID;
572
- timestamp: import("zod").ZodISODateTime;
573
- workspace_id: import("zod").ZodUUID;
574
- workspace_name: import("zod").ZodString;
575
514
  }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>, import("zod").ZodObject<{
576
515
  data: import("zod").ZodObject<{
577
516
  parent: import("zod").ZodObject<{
@@ -731,68 +670,6 @@ export declare const eventsContract: {
731
670
  timestamp: import("zod").ZodISODateTime;
732
671
  workspace_id: import("zod").ZodUUID;
733
672
  workspace_name: import("zod").ZodString;
734
- }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>, import("zod").ZodObject<{
735
- data: import("zod").ZodObject<{
736
- parent: import("zod").ZodObject<{
737
- data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
738
- id: import("zod").ZodUUID;
739
- type: import("zod").ZodEnum<{
740
- team: "team";
741
- space: "space";
742
- agent: "agent";
743
- block: "block";
744
- page: "page";
745
- database: "database";
746
- }>;
747
- }, import("zod/v4/core").$strip>;
748
- updated_properties: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
749
- action: import("zod").ZodEnum<{
750
- deleted: "deleted";
751
- created: "created";
752
- updated: "updated";
753
- }>;
754
- id: import("zod").ZodString;
755
- name: import("zod").ZodNullable<import("zod").ZodString>;
756
- }, import("zod/v4/core").$strip>>>;
757
- }, import("zod/v4/core").$strip>;
758
- entity: import("zod").ZodObject<{
759
- id: import("zod").ZodUUID;
760
- type: import("zod").ZodEnum<{
761
- block: "block";
762
- database: "database";
763
- data_source: "data_source";
764
- }>;
765
- }, import("zod/v4/core").$strip>;
766
- type: import("zod").ZodLiteral<"database.schema_updated">;
767
- accessible_by: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
768
- id: import("zod").ZodUUID;
769
- type: import("zod").ZodLiteral<"person">;
770
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
771
- id: import("zod").ZodUUID;
772
- type: import("zod").ZodLiteral<"bot">;
773
- }, import("zod/v4/core").$strip>], "type">>>;
774
- api_version: import("zod").ZodEnum<{
775
- "2022-06-28": "2022-06-28";
776
- "2025-09-03": "2025-09-03";
777
- "2026-03-11": "2026-03-11";
778
- }>;
779
- attempt_number: import("zod").ZodNumber;
780
- authors: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
781
- id: import("zod").ZodUUID;
782
- type: import("zod").ZodLiteral<"person">;
783
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
784
- id: import("zod").ZodUUID;
785
- type: import("zod").ZodLiteral<"bot">;
786
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
787
- id: import("zod").ZodUUID;
788
- type: import("zod").ZodLiteral<"agent">;
789
- }, import("zod/v4/core").$strip>], "type">>;
790
- id: import("zod").ZodUUID;
791
- integration_id: import("zod").ZodUUID;
792
- subscription_id: import("zod").ZodUUID;
793
- timestamp: import("zod").ZodISODateTime;
794
- workspace_id: import("zod").ZodUUID;
795
- workspace_name: import("zod").ZodString;
796
673
  }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>, import("zod").ZodObject<{
797
674
  data: import("zod").ZodObject<{
798
675
  parent: import("zod").ZodObject<{
@@ -475,67 +475,6 @@ export declare const notionEventsContract: {
475
475
  timestamp: z.ZodISODateTime;
476
476
  workspace_id: z.ZodUUID;
477
477
  workspace_name: z.ZodString;
478
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
479
- data: z.ZodObject<{
480
- parent: z.ZodObject<{
481
- data_source_id: z.ZodOptional<z.ZodUUID>;
482
- id: z.ZodUUID;
483
- type: z.ZodEnum<{
484
- team: "team";
485
- space: "space";
486
- agent: "agent";
487
- block: "block";
488
- page: "page";
489
- database: "database";
490
- }>;
491
- }, z.core.$strip>;
492
- updated_blocks: z.ZodArray<z.ZodObject<{
493
- id: z.ZodUUID;
494
- type: z.ZodEnum<{
495
- block: "block";
496
- page: "page";
497
- database: "database";
498
- }>;
499
- }, z.core.$strip>>;
500
- }, z.core.$strip>;
501
- entity: z.ZodObject<{
502
- id: z.ZodUUID;
503
- type: z.ZodEnum<{
504
- block: "block";
505
- database: "database";
506
- data_source: "data_source";
507
- }>;
508
- }, z.core.$strip>;
509
- type: z.ZodLiteral<"database.content_updated">;
510
- accessible_by: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
511
- id: z.ZodUUID;
512
- type: z.ZodLiteral<"person">;
513
- }, z.core.$strip>, z.ZodObject<{
514
- id: z.ZodUUID;
515
- type: z.ZodLiteral<"bot">;
516
- }, z.core.$strip>], "type">>>;
517
- api_version: z.ZodEnum<{
518
- "2022-06-28": "2022-06-28";
519
- "2025-09-03": "2025-09-03";
520
- "2026-03-11": "2026-03-11";
521
- }>;
522
- attempt_number: z.ZodNumber;
523
- authors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
524
- id: z.ZodUUID;
525
- type: z.ZodLiteral<"person">;
526
- }, z.core.$strip>, z.ZodObject<{
527
- id: z.ZodUUID;
528
- type: z.ZodLiteral<"bot">;
529
- }, z.core.$strip>, z.ZodObject<{
530
- id: z.ZodUUID;
531
- type: z.ZodLiteral<"agent">;
532
- }, z.core.$strip>], "type">>;
533
- id: z.ZodUUID;
534
- integration_id: z.ZodUUID;
535
- subscription_id: z.ZodUUID;
536
- timestamp: z.ZodISODateTime;
537
- workspace_id: z.ZodUUID;
538
- workspace_name: z.ZodString;
539
478
  }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
540
479
  data: z.ZodObject<{
541
480
  parent: z.ZodObject<{
@@ -695,68 +634,6 @@ export declare const notionEventsContract: {
695
634
  timestamp: z.ZodISODateTime;
696
635
  workspace_id: z.ZodUUID;
697
636
  workspace_name: z.ZodString;
698
- }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
699
- data: z.ZodObject<{
700
- parent: z.ZodObject<{
701
- data_source_id: z.ZodOptional<z.ZodUUID>;
702
- id: z.ZodUUID;
703
- type: z.ZodEnum<{
704
- team: "team";
705
- space: "space";
706
- agent: "agent";
707
- block: "block";
708
- page: "page";
709
- database: "database";
710
- }>;
711
- }, z.core.$strip>;
712
- updated_properties: z.ZodOptional<z.ZodArray<z.ZodObject<{
713
- action: z.ZodEnum<{
714
- deleted: "deleted";
715
- created: "created";
716
- updated: "updated";
717
- }>;
718
- id: z.ZodString;
719
- name: z.ZodNullable<z.ZodString>;
720
- }, z.core.$strip>>>;
721
- }, z.core.$strip>;
722
- entity: z.ZodObject<{
723
- id: z.ZodUUID;
724
- type: z.ZodEnum<{
725
- block: "block";
726
- database: "database";
727
- data_source: "data_source";
728
- }>;
729
- }, z.core.$strip>;
730
- type: z.ZodLiteral<"database.schema_updated">;
731
- accessible_by: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
732
- id: z.ZodUUID;
733
- type: z.ZodLiteral<"person">;
734
- }, z.core.$strip>, z.ZodObject<{
735
- id: z.ZodUUID;
736
- type: z.ZodLiteral<"bot">;
737
- }, z.core.$strip>], "type">>>;
738
- api_version: z.ZodEnum<{
739
- "2022-06-28": "2022-06-28";
740
- "2025-09-03": "2025-09-03";
741
- "2026-03-11": "2026-03-11";
742
- }>;
743
- attempt_number: z.ZodNumber;
744
- authors: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
745
- id: z.ZodUUID;
746
- type: z.ZodLiteral<"person">;
747
- }, z.core.$strip>, z.ZodObject<{
748
- id: z.ZodUUID;
749
- type: z.ZodLiteral<"bot">;
750
- }, z.core.$strip>, z.ZodObject<{
751
- id: z.ZodUUID;
752
- type: z.ZodLiteral<"agent">;
753
- }, z.core.$strip>], "type">>;
754
- id: z.ZodUUID;
755
- integration_id: z.ZodUUID;
756
- subscription_id: z.ZodUUID;
757
- timestamp: z.ZodISODateTime;
758
- workspace_id: z.ZodUUID;
759
- workspace_name: z.ZodString;
760
637
  }, z.core.$catchall<z.ZodJSONSchema>>, z.ZodObject<{
761
638
  data: z.ZodObject<{
762
639
  parent: z.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -2639,67 +2639,6 @@ export declare const contract: {
2639
2639
  timestamp: import("zod").ZodISODateTime;
2640
2640
  workspace_id: import("zod").ZodUUID;
2641
2641
  workspace_name: import("zod").ZodString;
2642
- }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>, import("zod").ZodObject<{
2643
- data: import("zod").ZodObject<{
2644
- parent: import("zod").ZodObject<{
2645
- data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
2646
- id: import("zod").ZodUUID;
2647
- type: import("zod").ZodEnum<{
2648
- team: "team";
2649
- space: "space";
2650
- agent: "agent";
2651
- block: "block";
2652
- page: "page";
2653
- database: "database";
2654
- }>;
2655
- }, import("zod/v4/core").$strip>;
2656
- updated_blocks: import("zod").ZodArray<import("zod").ZodObject<{
2657
- id: import("zod").ZodUUID;
2658
- type: import("zod").ZodEnum<{
2659
- block: "block";
2660
- page: "page";
2661
- database: "database";
2662
- }>;
2663
- }, import("zod/v4/core").$strip>>;
2664
- }, import("zod/v4/core").$strip>;
2665
- entity: import("zod").ZodObject<{
2666
- id: import("zod").ZodUUID;
2667
- type: import("zod").ZodEnum<{
2668
- block: "block";
2669
- database: "database";
2670
- data_source: "data_source";
2671
- }>;
2672
- }, import("zod/v4/core").$strip>;
2673
- type: import("zod").ZodLiteral<"database.content_updated">;
2674
- accessible_by: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2675
- id: import("zod").ZodUUID;
2676
- type: import("zod").ZodLiteral<"person">;
2677
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2678
- id: import("zod").ZodUUID;
2679
- type: import("zod").ZodLiteral<"bot">;
2680
- }, import("zod/v4/core").$strip>], "type">>>;
2681
- api_version: import("zod").ZodEnum<{
2682
- "2022-06-28": "2022-06-28";
2683
- "2025-09-03": "2025-09-03";
2684
- "2026-03-11": "2026-03-11";
2685
- }>;
2686
- attempt_number: import("zod").ZodNumber;
2687
- authors: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2688
- id: import("zod").ZodUUID;
2689
- type: import("zod").ZodLiteral<"person">;
2690
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2691
- id: import("zod").ZodUUID;
2692
- type: import("zod").ZodLiteral<"bot">;
2693
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2694
- id: import("zod").ZodUUID;
2695
- type: import("zod").ZodLiteral<"agent">;
2696
- }, import("zod/v4/core").$strip>], "type">>;
2697
- id: import("zod").ZodUUID;
2698
- integration_id: import("zod").ZodUUID;
2699
- subscription_id: import("zod").ZodUUID;
2700
- timestamp: import("zod").ZodISODateTime;
2701
- workspace_id: import("zod").ZodUUID;
2702
- workspace_name: import("zod").ZodString;
2703
2642
  }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>, import("zod").ZodObject<{
2704
2643
  data: import("zod").ZodObject<{
2705
2644
  parent: import("zod").ZodObject<{
@@ -2859,68 +2798,6 @@ export declare const contract: {
2859
2798
  timestamp: import("zod").ZodISODateTime;
2860
2799
  workspace_id: import("zod").ZodUUID;
2861
2800
  workspace_name: import("zod").ZodString;
2862
- }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>, import("zod").ZodObject<{
2863
- data: import("zod").ZodObject<{
2864
- parent: import("zod").ZodObject<{
2865
- data_source_id: import("zod").ZodOptional<import("zod").ZodUUID>;
2866
- id: import("zod").ZodUUID;
2867
- type: import("zod").ZodEnum<{
2868
- team: "team";
2869
- space: "space";
2870
- agent: "agent";
2871
- block: "block";
2872
- page: "page";
2873
- database: "database";
2874
- }>;
2875
- }, import("zod/v4/core").$strip>;
2876
- updated_properties: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2877
- action: import("zod").ZodEnum<{
2878
- deleted: "deleted";
2879
- created: "created";
2880
- updated: "updated";
2881
- }>;
2882
- id: import("zod").ZodString;
2883
- name: import("zod").ZodNullable<import("zod").ZodString>;
2884
- }, import("zod/v4/core").$strip>>>;
2885
- }, import("zod/v4/core").$strip>;
2886
- entity: import("zod").ZodObject<{
2887
- id: import("zod").ZodUUID;
2888
- type: import("zod").ZodEnum<{
2889
- block: "block";
2890
- database: "database";
2891
- data_source: "data_source";
2892
- }>;
2893
- }, import("zod/v4/core").$strip>;
2894
- type: import("zod").ZodLiteral<"database.schema_updated">;
2895
- accessible_by: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2896
- id: import("zod").ZodUUID;
2897
- type: import("zod").ZodLiteral<"person">;
2898
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2899
- id: import("zod").ZodUUID;
2900
- type: import("zod").ZodLiteral<"bot">;
2901
- }, import("zod/v4/core").$strip>], "type">>>;
2902
- api_version: import("zod").ZodEnum<{
2903
- "2022-06-28": "2022-06-28";
2904
- "2025-09-03": "2025-09-03";
2905
- "2026-03-11": "2026-03-11";
2906
- }>;
2907
- attempt_number: import("zod").ZodNumber;
2908
- authors: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2909
- id: import("zod").ZodUUID;
2910
- type: import("zod").ZodLiteral<"person">;
2911
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2912
- id: import("zod").ZodUUID;
2913
- type: import("zod").ZodLiteral<"bot">;
2914
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2915
- id: import("zod").ZodUUID;
2916
- type: import("zod").ZodLiteral<"agent">;
2917
- }, import("zod/v4/core").$strip>], "type">>;
2918
- id: import("zod").ZodUUID;
2919
- integration_id: import("zod").ZodUUID;
2920
- subscription_id: import("zod").ZodUUID;
2921
- timestamp: import("zod").ZodISODateTime;
2922
- workspace_id: import("zod").ZodUUID;
2923
- workspace_name: import("zod").ZodString;
2924
2801
  }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>, import("zod").ZodObject<{
2925
2802
  data: import("zod").ZodObject<{
2926
2803
  parent: import("zod").ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automate.ax/api-contract",
3
- "version": "0.90.0",
3
+ "version": "0.91.1",
4
4
  "description": "Public oRPC contract for the Automate.ax API.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@ai-sdk/gateway": "4.0.46",
34
- "@automate.ax/codec": "0.90.0",
35
- "@automate.ax/integration-contracts": "0.90.0",
34
+ "@automate.ax/codec": "0.91.1",
35
+ "@automate.ax/integration-contracts": "0.91.1",
36
36
  "@orpc/contract": "1.15.0",
37
37
  "fast-json-stable-stringify": "^2.1.0",
38
38
  "zod": "^4.3.6"