@automate.ax/api-contract 0.104.0 → 0.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2309,14 +2309,14 @@ export declare const contract: {
2309
2309
  }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
2310
2310
  notionEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodUnion<readonly [import("zod").ZodObject<{
2311
2311
  verification_token: import("zod").ZodString;
2312
- }, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2312
+ }, import("zod/v4/core").$strip>, import("zod").ZodPipe<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
2313
2313
  data: import("zod").ZodObject<{
2314
2314
  page_id: import("zod").ZodUUID;
2315
2315
  parent: import("zod").ZodObject<{
2316
2316
  id: import("zod").ZodUUID;
2317
2317
  type: import("zod").ZodEnum<{
2318
- block: "block";
2319
2318
  page: "page";
2319
+ block: "block";
2320
2320
  database: "database";
2321
2321
  }>;
2322
2322
  }, import("zod/v4/core").$strip>;
@@ -2361,8 +2361,8 @@ export declare const contract: {
2361
2361
  parent: import("zod").ZodObject<{
2362
2362
  id: import("zod").ZodUUID;
2363
2363
  type: import("zod").ZodEnum<{
2364
- block: "block";
2365
2364
  page: "page";
2365
+ block: "block";
2366
2366
  database: "database";
2367
2367
  }>;
2368
2368
  }, import("zod/v4/core").$strip>;
@@ -2407,8 +2407,8 @@ export declare const contract: {
2407
2407
  parent: import("zod").ZodObject<{
2408
2408
  id: import("zod").ZodUUID;
2409
2409
  type: import("zod").ZodEnum<{
2410
- block: "block";
2411
2410
  page: "page";
2411
+ block: "block";
2412
2412
  database: "database";
2413
2413
  }>;
2414
2414
  }, import("zod/v4/core").$strip>;
@@ -2454,18 +2454,18 @@ export declare const contract: {
2454
2454
  id: import("zod").ZodUUID;
2455
2455
  type: import("zod").ZodEnum<{
2456
2456
  team: "team";
2457
+ page: "page";
2457
2458
  space: "space";
2458
2459
  agent: "agent";
2459
2460
  block: "block";
2460
- page: "page";
2461
2461
  database: "database";
2462
2462
  }>;
2463
2463
  }, import("zod/v4/core").$strip>;
2464
2464
  updated_blocks: import("zod").ZodArray<import("zod").ZodObject<{
2465
2465
  id: import("zod").ZodUUID;
2466
2466
  type: import("zod").ZodEnum<{
2467
- block: "block";
2468
2467
  page: "page";
2468
+ block: "block";
2469
2469
  database: "database";
2470
2470
  }>;
2471
2471
  }, import("zod/v4/core").$strip>>;
@@ -2515,10 +2515,10 @@ export declare const contract: {
2515
2515
  id: import("zod").ZodUUID;
2516
2516
  type: import("zod").ZodEnum<{
2517
2517
  team: "team";
2518
+ page: "page";
2518
2519
  space: "space";
2519
2520
  agent: "agent";
2520
2521
  block: "block";
2521
- page: "page";
2522
2522
  database: "database";
2523
2523
  }>;
2524
2524
  }, import("zod/v4/core").$strip>;
@@ -2568,10 +2568,10 @@ export declare const contract: {
2568
2568
  id: import("zod").ZodUUID;
2569
2569
  type: import("zod").ZodEnum<{
2570
2570
  team: "team";
2571
+ page: "page";
2571
2572
  space: "space";
2572
2573
  agent: "agent";
2573
2574
  block: "block";
2574
- page: "page";
2575
2575
  database: "database";
2576
2576
  }>;
2577
2577
  }, import("zod/v4/core").$strip>;
@@ -2621,10 +2621,10 @@ export declare const contract: {
2621
2621
  id: import("zod").ZodUUID;
2622
2622
  type: import("zod").ZodEnum<{
2623
2623
  team: "team";
2624
+ page: "page";
2624
2625
  space: "space";
2625
2626
  agent: "agent";
2626
2627
  block: "block";
2627
- page: "page";
2628
2628
  database: "database";
2629
2629
  }>;
2630
2630
  }, import("zod/v4/core").$strip>;
@@ -2674,10 +2674,10 @@ export declare const contract: {
2674
2674
  id: import("zod").ZodUUID;
2675
2675
  type: import("zod").ZodEnum<{
2676
2676
  team: "team";
2677
+ page: "page";
2677
2678
  space: "space";
2678
2679
  agent: "agent";
2679
2680
  block: "block";
2680
- page: "page";
2681
2681
  database: "database";
2682
2682
  }>;
2683
2683
  }, import("zod/v4/core").$strip>;
@@ -2736,10 +2736,10 @@ export declare const contract: {
2736
2736
  id: import("zod").ZodUUID;
2737
2737
  type: import("zod").ZodEnum<{
2738
2738
  team: "team";
2739
+ page: "page";
2739
2740
  space: "space";
2740
2741
  agent: "agent";
2741
2742
  block: "block";
2742
- page: "page";
2743
2743
  database: "database";
2744
2744
  }>;
2745
2745
  }, import("zod/v4/core").$strip>;
@@ -2789,10 +2789,10 @@ export declare const contract: {
2789
2789
  id: import("zod").ZodUUID;
2790
2790
  type: import("zod").ZodEnum<{
2791
2791
  team: "team";
2792
+ page: "page";
2792
2793
  space: "space";
2793
2794
  agent: "agent";
2794
2795
  block: "block";
2795
- page: "page";
2796
2796
  database: "database";
2797
2797
  }>;
2798
2798
  }, import("zod/v4/core").$strip>;
@@ -2842,10 +2842,10 @@ export declare const contract: {
2842
2842
  id: import("zod").ZodUUID;
2843
2843
  type: import("zod").ZodEnum<{
2844
2844
  team: "team";
2845
+ page: "page";
2845
2846
  space: "space";
2846
2847
  agent: "agent";
2847
2848
  block: "block";
2848
- page: "page";
2849
2849
  database: "database";
2850
2850
  }>;
2851
2851
  }, import("zod/v4/core").$strip>;
@@ -2895,10 +2895,10 @@ export declare const contract: {
2895
2895
  id: import("zod").ZodUUID;
2896
2896
  type: import("zod").ZodEnum<{
2897
2897
  team: "team";
2898
+ page: "page";
2898
2899
  space: "space";
2899
2900
  agent: "agent";
2900
2901
  block: "block";
2901
- page: "page";
2902
2902
  database: "database";
2903
2903
  }>;
2904
2904
  }, import("zod/v4/core").$strip>;
@@ -2948,10 +2948,10 @@ export declare const contract: {
2948
2948
  id: import("zod").ZodUUID;
2949
2949
  type: import("zod").ZodEnum<{
2950
2950
  team: "team";
2951
+ page: "page";
2951
2952
  space: "space";
2952
2953
  agent: "agent";
2953
2954
  block: "block";
2954
- page: "page";
2955
2955
  database: "database";
2956
2956
  }>;
2957
2957
  }, import("zod/v4/core").$strip>;
@@ -3163,18 +3163,18 @@ export declare const contract: {
3163
3163
  id: import("zod").ZodUUID;
3164
3164
  type: import("zod").ZodEnum<{
3165
3165
  team: "team";
3166
+ page: "page";
3166
3167
  space: "space";
3167
3168
  agent: "agent";
3168
3169
  block: "block";
3169
- page: "page";
3170
3170
  database: "database";
3171
3171
  }>;
3172
3172
  }, import("zod/v4/core").$strip>;
3173
3173
  updated_blocks: import("zod").ZodArray<import("zod").ZodObject<{
3174
3174
  id: import("zod").ZodUUID;
3175
3175
  type: import("zod").ZodEnum<{
3176
- block: "block";
3177
3176
  page: "page";
3177
+ block: "block";
3178
3178
  database: "database";
3179
3179
  }>;
3180
3180
  }, import("zod/v4/core").$strip>>;
@@ -3220,10 +3220,10 @@ export declare const contract: {
3220
3220
  id: import("zod").ZodUUID;
3221
3221
  type: import("zod").ZodEnum<{
3222
3222
  team: "team";
3223
+ page: "page";
3223
3224
  space: "space";
3224
3225
  agent: "agent";
3225
3226
  block: "block";
3226
- page: "page";
3227
3227
  database: "database";
3228
3228
  }>;
3229
3229
  }, import("zod/v4/core").$strip>;
@@ -3269,10 +3269,10 @@ export declare const contract: {
3269
3269
  id: import("zod").ZodUUID;
3270
3270
  type: import("zod").ZodEnum<{
3271
3271
  team: "team";
3272
+ page: "page";
3272
3273
  space: "space";
3273
3274
  agent: "agent";
3274
3275
  block: "block";
3275
- page: "page";
3276
3276
  database: "database";
3277
3277
  }>;
3278
3278
  }, import("zod/v4/core").$strip>;
@@ -3318,10 +3318,10 @@ export declare const contract: {
3318
3318
  id: import("zod").ZodUUID;
3319
3319
  type: import("zod").ZodEnum<{
3320
3320
  team: "team";
3321
+ page: "page";
3321
3322
  space: "space";
3322
3323
  agent: "agent";
3323
3324
  block: "block";
3324
- page: "page";
3325
3325
  database: "database";
3326
3326
  }>;
3327
3327
  }, import("zod/v4/core").$strip>;
@@ -3367,10 +3367,10 @@ export declare const contract: {
3367
3367
  id: import("zod").ZodUUID;
3368
3368
  type: import("zod").ZodEnum<{
3369
3369
  team: "team";
3370
+ page: "page";
3370
3371
  space: "space";
3371
3372
  agent: "agent";
3372
3373
  block: "block";
3373
- page: "page";
3374
3374
  database: "database";
3375
3375
  }>;
3376
3376
  }, import("zod/v4/core").$strip>;
@@ -3416,10 +3416,10 @@ export declare const contract: {
3416
3416
  id: import("zod").ZodUUID;
3417
3417
  type: import("zod").ZodEnum<{
3418
3418
  team: "team";
3419
+ page: "page";
3419
3420
  space: "space";
3420
3421
  agent: "agent";
3421
3422
  block: "block";
3422
- page: "page";
3423
3423
  database: "database";
3424
3424
  }>;
3425
3425
  }, import("zod/v4/core").$strip>;
@@ -3464,8 +3464,8 @@ export declare const contract: {
3464
3464
  target: import("zod").ZodObject<{
3465
3465
  id: import("zod").ZodUUID;
3466
3466
  type: import("zod").ZodEnum<{
3467
- block: "block";
3468
3467
  page: "page";
3468
+ block: "block";
3469
3469
  database: "database";
3470
3470
  }>;
3471
3471
  }, import("zod/v4/core").$strip>;
@@ -3512,10 +3512,10 @@ export declare const contract: {
3512
3512
  id: import("zod").ZodUUID;
3513
3513
  type: import("zod").ZodEnum<{
3514
3514
  team: "team";
3515
+ page: "page";
3515
3516
  space: "space";
3516
3517
  agent: "agent";
3517
3518
  block: "block";
3518
- page: "page";
3519
3519
  database: "database";
3520
3520
  }>;
3521
3521
  }, import("zod/v4/core").$strip>;
@@ -3561,10 +3561,10 @@ export declare const contract: {
3561
3561
  id: import("zod").ZodUUID;
3562
3562
  type: import("zod").ZodEnum<{
3563
3563
  team: "team";
3564
+ page: "page";
3564
3565
  space: "space";
3565
3566
  agent: "agent";
3566
3567
  block: "block";
3567
- page: "page";
3568
3568
  database: "database";
3569
3569
  }>;
3570
3570
  }, import("zod/v4/core").$strip>;
@@ -3610,10 +3610,10 @@ export declare const contract: {
3610
3610
  id: import("zod").ZodUUID;
3611
3611
  type: import("zod").ZodEnum<{
3612
3612
  team: "team";
3613
+ page: "page";
3613
3614
  space: "space";
3614
3615
  agent: "agent";
3615
3616
  block: "block";
3616
- page: "page";
3617
3617
  database: "database";
3618
3618
  }>;
3619
3619
  }, import("zod/v4/core").$strip>;
@@ -3660,10 +3660,10 @@ export declare const contract: {
3660
3660
  id: import("zod").ZodUUID;
3661
3661
  type: import("zod").ZodEnum<{
3662
3662
  team: "team";
3663
+ page: "page";
3663
3664
  space: "space";
3664
3665
  agent: "agent";
3665
3666
  block: "block";
3666
- page: "page";
3667
3667
  database: "database";
3668
3668
  }>;
3669
3669
  }, import("zod/v4/core").$strip>;
@@ -3709,10 +3709,10 @@ export declare const contract: {
3709
3709
  id: import("zod").ZodUUID;
3710
3710
  type: import("zod").ZodEnum<{
3711
3711
  team: "team";
3712
+ page: "page";
3712
3713
  space: "space";
3713
3714
  agent: "agent";
3714
3715
  block: "block";
3715
- page: "page";
3716
3716
  database: "database";
3717
3717
  }>;
3718
3718
  }, import("zod/v4/core").$strip>;
@@ -3757,7 +3757,2078 @@ export declare const contract: {
3757
3757
  timestamp: import("zod").ZodISODateTime;
3758
3758
  workspace_id: import("zod").ZodUUID;
3759
3759
  workspace_name: import("zod").ZodString;
3760
- }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>], "type">]>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
3760
+ }, import("zod/v4/core").$catchall<import("zod").ZodJSONSchema>>], "type">, import("zod").ZodTransform<{
3761
+ type: "comment.created";
3762
+ timestamp: string;
3763
+ id: string;
3764
+ data: {
3765
+ parent: {
3766
+ id: string;
3767
+ type: "page" | "block" | "database";
3768
+ };
3769
+ pageId: string;
3770
+ };
3771
+ workspaceId: string;
3772
+ workspaceName: string;
3773
+ subscriptionId: string;
3774
+ integrationId: string;
3775
+ attemptNumber: number;
3776
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
3777
+ accessibleBy?: ({
3778
+ id: string;
3779
+ type: "person";
3780
+ } | {
3781
+ id: string;
3782
+ type: "bot";
3783
+ })[] | undefined;
3784
+ entity: {
3785
+ type: "comment";
3786
+ id: string;
3787
+ };
3788
+ authors: {
3789
+ id: string;
3790
+ type: "agent" | "bot" | "person";
3791
+ }[];
3792
+ } | {
3793
+ type: "comment.deleted";
3794
+ timestamp: string;
3795
+ id: string;
3796
+ data: {
3797
+ parent: {
3798
+ id: string;
3799
+ type: "page" | "block" | "database";
3800
+ };
3801
+ pageId: string;
3802
+ };
3803
+ workspaceId: string;
3804
+ workspaceName: string;
3805
+ subscriptionId: string;
3806
+ integrationId: string;
3807
+ attemptNumber: number;
3808
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
3809
+ accessibleBy?: ({
3810
+ id: string;
3811
+ type: "person";
3812
+ } | {
3813
+ id: string;
3814
+ type: "bot";
3815
+ })[] | undefined;
3816
+ entity: {
3817
+ type: "comment";
3818
+ id: string;
3819
+ };
3820
+ authors: {
3821
+ id: string;
3822
+ type: "agent" | "bot" | "person";
3823
+ }[];
3824
+ } | {
3825
+ type: "comment.updated";
3826
+ timestamp: string;
3827
+ id: string;
3828
+ data: {
3829
+ parent: {
3830
+ id: string;
3831
+ type: "page" | "block" | "database";
3832
+ };
3833
+ pageId: string;
3834
+ };
3835
+ workspaceId: string;
3836
+ workspaceName: string;
3837
+ subscriptionId: string;
3838
+ integrationId: string;
3839
+ attemptNumber: number;
3840
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
3841
+ accessibleBy?: ({
3842
+ id: string;
3843
+ type: "person";
3844
+ } | {
3845
+ id: string;
3846
+ type: "bot";
3847
+ })[] | undefined;
3848
+ entity: {
3849
+ type: "comment";
3850
+ id: string;
3851
+ };
3852
+ authors: {
3853
+ id: string;
3854
+ type: "agent" | "bot" | "person";
3855
+ }[];
3856
+ } | {
3857
+ type: "data_source.content_updated";
3858
+ timestamp: string;
3859
+ id: string;
3860
+ data: {
3861
+ parent: {
3862
+ id: string;
3863
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
3864
+ dataSourceId?: string | undefined;
3865
+ };
3866
+ updatedBlocks: {
3867
+ id: string;
3868
+ type: "page" | "block" | "database";
3869
+ }[];
3870
+ };
3871
+ workspaceId: string;
3872
+ workspaceName: string;
3873
+ subscriptionId: string;
3874
+ integrationId: string;
3875
+ attemptNumber: number;
3876
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
3877
+ accessibleBy?: ({
3878
+ id: string;
3879
+ type: "person";
3880
+ } | {
3881
+ id: string;
3882
+ type: "bot";
3883
+ })[] | undefined;
3884
+ entity: {
3885
+ id: string;
3886
+ type: "block" | "database" | "data_source";
3887
+ };
3888
+ authors: {
3889
+ id: string;
3890
+ type: "agent" | "bot" | "person";
3891
+ }[];
3892
+ } | {
3893
+ type: "data_source.created";
3894
+ timestamp: string;
3895
+ id: string;
3896
+ data: {
3897
+ parent: {
3898
+ id: string;
3899
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
3900
+ dataSourceId?: string | undefined;
3901
+ };
3902
+ };
3903
+ workspaceId: string;
3904
+ workspaceName: string;
3905
+ subscriptionId: string;
3906
+ integrationId: string;
3907
+ attemptNumber: number;
3908
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
3909
+ accessibleBy?: ({
3910
+ id: string;
3911
+ type: "person";
3912
+ } | {
3913
+ id: string;
3914
+ type: "bot";
3915
+ })[] | undefined;
3916
+ entity: {
3917
+ id: string;
3918
+ type: "block" | "database" | "data_source";
3919
+ };
3920
+ authors: {
3921
+ id: string;
3922
+ type: "agent" | "bot" | "person";
3923
+ }[];
3924
+ } | {
3925
+ type: "data_source.deleted";
3926
+ timestamp: string;
3927
+ id: string;
3928
+ data: {
3929
+ parent: {
3930
+ id: string;
3931
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
3932
+ dataSourceId?: string | undefined;
3933
+ };
3934
+ };
3935
+ workspaceId: string;
3936
+ workspaceName: string;
3937
+ subscriptionId: string;
3938
+ integrationId: string;
3939
+ attemptNumber: number;
3940
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
3941
+ accessibleBy?: ({
3942
+ id: string;
3943
+ type: "person";
3944
+ } | {
3945
+ id: string;
3946
+ type: "bot";
3947
+ })[] | undefined;
3948
+ entity: {
3949
+ id: string;
3950
+ type: "block" | "database" | "data_source";
3951
+ };
3952
+ authors: {
3953
+ id: string;
3954
+ type: "agent" | "bot" | "person";
3955
+ }[];
3956
+ } | {
3957
+ type: "data_source.moved";
3958
+ timestamp: string;
3959
+ id: string;
3960
+ data: {
3961
+ parent: {
3962
+ id: string;
3963
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
3964
+ dataSourceId?: string | undefined;
3965
+ };
3966
+ };
3967
+ workspaceId: string;
3968
+ workspaceName: string;
3969
+ subscriptionId: string;
3970
+ integrationId: string;
3971
+ attemptNumber: number;
3972
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
3973
+ accessibleBy?: ({
3974
+ id: string;
3975
+ type: "person";
3976
+ } | {
3977
+ id: string;
3978
+ type: "bot";
3979
+ })[] | undefined;
3980
+ entity: {
3981
+ id: string;
3982
+ type: "block" | "database" | "data_source";
3983
+ };
3984
+ authors: {
3985
+ id: string;
3986
+ type: "agent" | "bot" | "person";
3987
+ }[];
3988
+ } | {
3989
+ type: "data_source.schema_updated";
3990
+ timestamp: string;
3991
+ id: string;
3992
+ data: {
3993
+ parent: {
3994
+ id: string;
3995
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
3996
+ dataSourceId?: string | undefined;
3997
+ };
3998
+ updatedProperties?: {
3999
+ id: string;
4000
+ name: string | null;
4001
+ action: "deleted" | "created" | "updated";
4002
+ }[] | undefined;
4003
+ };
4004
+ workspaceId: string;
4005
+ workspaceName: string;
4006
+ subscriptionId: string;
4007
+ integrationId: string;
4008
+ attemptNumber: number;
4009
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4010
+ accessibleBy?: ({
4011
+ id: string;
4012
+ type: "person";
4013
+ } | {
4014
+ id: string;
4015
+ type: "bot";
4016
+ })[] | undefined;
4017
+ entity: {
4018
+ id: string;
4019
+ type: "block" | "database" | "data_source";
4020
+ };
4021
+ authors: {
4022
+ id: string;
4023
+ type: "agent" | "bot" | "person";
4024
+ }[];
4025
+ } | {
4026
+ type: "data_source.undeleted";
4027
+ timestamp: string;
4028
+ id: string;
4029
+ data: {
4030
+ parent: {
4031
+ id: string;
4032
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4033
+ dataSourceId?: string | undefined;
4034
+ };
4035
+ };
4036
+ workspaceId: string;
4037
+ workspaceName: string;
4038
+ subscriptionId: string;
4039
+ integrationId: string;
4040
+ attemptNumber: number;
4041
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4042
+ accessibleBy?: ({
4043
+ id: string;
4044
+ type: "person";
4045
+ } | {
4046
+ id: string;
4047
+ type: "bot";
4048
+ })[] | undefined;
4049
+ entity: {
4050
+ id: string;
4051
+ type: "block" | "database" | "data_source";
4052
+ };
4053
+ authors: {
4054
+ id: string;
4055
+ type: "agent" | "bot" | "person";
4056
+ }[];
4057
+ } | {
4058
+ type: "database.created";
4059
+ timestamp: string;
4060
+ id: string;
4061
+ data: {
4062
+ parent: {
4063
+ id: string;
4064
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4065
+ dataSourceId?: string | undefined;
4066
+ };
4067
+ };
4068
+ workspaceId: string;
4069
+ workspaceName: string;
4070
+ subscriptionId: string;
4071
+ integrationId: string;
4072
+ attemptNumber: number;
4073
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4074
+ accessibleBy?: ({
4075
+ id: string;
4076
+ type: "person";
4077
+ } | {
4078
+ id: string;
4079
+ type: "bot";
4080
+ })[] | undefined;
4081
+ entity: {
4082
+ id: string;
4083
+ type: "block" | "database" | "data_source";
4084
+ };
4085
+ authors: {
4086
+ id: string;
4087
+ type: "agent" | "bot" | "person";
4088
+ }[];
4089
+ } | {
4090
+ type: "database.deleted";
4091
+ timestamp: string;
4092
+ id: string;
4093
+ data: {
4094
+ parent: {
4095
+ id: string;
4096
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4097
+ dataSourceId?: string | undefined;
4098
+ };
4099
+ };
4100
+ workspaceId: string;
4101
+ workspaceName: string;
4102
+ subscriptionId: string;
4103
+ integrationId: string;
4104
+ attemptNumber: number;
4105
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4106
+ accessibleBy?: ({
4107
+ id: string;
4108
+ type: "person";
4109
+ } | {
4110
+ id: string;
4111
+ type: "bot";
4112
+ })[] | undefined;
4113
+ entity: {
4114
+ id: string;
4115
+ type: "block" | "database" | "data_source";
4116
+ };
4117
+ authors: {
4118
+ id: string;
4119
+ type: "agent" | "bot" | "person";
4120
+ }[];
4121
+ } | {
4122
+ type: "database.moved";
4123
+ timestamp: string;
4124
+ id: string;
4125
+ data: {
4126
+ parent: {
4127
+ id: string;
4128
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4129
+ dataSourceId?: string | undefined;
4130
+ };
4131
+ };
4132
+ workspaceId: string;
4133
+ workspaceName: string;
4134
+ subscriptionId: string;
4135
+ integrationId: string;
4136
+ attemptNumber: number;
4137
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4138
+ accessibleBy?: ({
4139
+ id: string;
4140
+ type: "person";
4141
+ } | {
4142
+ id: string;
4143
+ type: "bot";
4144
+ })[] | undefined;
4145
+ entity: {
4146
+ id: string;
4147
+ type: "block" | "database" | "data_source";
4148
+ };
4149
+ authors: {
4150
+ id: string;
4151
+ type: "agent" | "bot" | "person";
4152
+ }[];
4153
+ } | {
4154
+ type: "database.undeleted";
4155
+ timestamp: string;
4156
+ id: string;
4157
+ data: {
4158
+ parent: {
4159
+ id: string;
4160
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4161
+ dataSourceId?: string | undefined;
4162
+ };
4163
+ };
4164
+ workspaceId: string;
4165
+ workspaceName: string;
4166
+ subscriptionId: string;
4167
+ integrationId: string;
4168
+ attemptNumber: number;
4169
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4170
+ accessibleBy?: ({
4171
+ id: string;
4172
+ type: "person";
4173
+ } | {
4174
+ id: string;
4175
+ type: "bot";
4176
+ })[] | undefined;
4177
+ entity: {
4178
+ id: string;
4179
+ type: "block" | "database" | "data_source";
4180
+ };
4181
+ authors: {
4182
+ id: string;
4183
+ type: "agent" | "bot" | "person";
4184
+ }[];
4185
+ } | {
4186
+ type: "file_upload.completed";
4187
+ timestamp: string;
4188
+ id: string;
4189
+ workspaceId: string;
4190
+ workspaceName: string;
4191
+ subscriptionId: string;
4192
+ integrationId: string;
4193
+ attemptNumber: number;
4194
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4195
+ accessibleBy?: ({
4196
+ id: string;
4197
+ type: "person";
4198
+ } | {
4199
+ id: string;
4200
+ type: "bot";
4201
+ })[] | undefined;
4202
+ entity: {
4203
+ type: "file_upload";
4204
+ id: string;
4205
+ };
4206
+ authors: {
4207
+ id: string;
4208
+ type: "agent" | "bot" | "person";
4209
+ }[];
4210
+ } | {
4211
+ type: "file_upload.created";
4212
+ timestamp: string;
4213
+ id: string;
4214
+ workspaceId: string;
4215
+ workspaceName: string;
4216
+ subscriptionId: string;
4217
+ integrationId: string;
4218
+ attemptNumber: number;
4219
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4220
+ accessibleBy?: ({
4221
+ id: string;
4222
+ type: "person";
4223
+ } | {
4224
+ id: string;
4225
+ type: "bot";
4226
+ })[] | undefined;
4227
+ entity: {
4228
+ type: "file_upload";
4229
+ id: string;
4230
+ };
4231
+ authors: {
4232
+ id: string;
4233
+ type: "agent" | "bot" | "person";
4234
+ }[];
4235
+ } | {
4236
+ type: "file_upload.expired";
4237
+ timestamp: string;
4238
+ id: string;
4239
+ workspaceId: string;
4240
+ workspaceName: string;
4241
+ subscriptionId: string;
4242
+ integrationId: string;
4243
+ attemptNumber: number;
4244
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4245
+ accessibleBy?: ({
4246
+ id: string;
4247
+ type: "person";
4248
+ } | {
4249
+ id: string;
4250
+ type: "bot";
4251
+ })[] | undefined;
4252
+ entity: {
4253
+ type: "file_upload";
4254
+ id: string;
4255
+ };
4256
+ authors: {
4257
+ id: string;
4258
+ type: "agent" | "bot" | "person";
4259
+ }[];
4260
+ } | {
4261
+ type: "file_upload.upload_failed";
4262
+ timestamp: string;
4263
+ id: string;
4264
+ data: {
4265
+ fileImportResult: {
4266
+ type: "success";
4267
+ importedTime: string;
4268
+ success: {
4269
+ [x: string]: never;
4270
+ };
4271
+ } | {
4272
+ type: "error";
4273
+ importedTime: string;
4274
+ error: {
4275
+ type: "validation_error" | "internal_system_error" | "download_error" | "upload_error";
4276
+ code: string;
4277
+ message: string;
4278
+ parameter: string | null;
4279
+ statusCode: number | null;
4280
+ };
4281
+ };
4282
+ };
4283
+ workspaceId: string;
4284
+ workspaceName: string;
4285
+ subscriptionId: string;
4286
+ integrationId: string;
4287
+ attemptNumber: number;
4288
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4289
+ accessibleBy?: ({
4290
+ id: string;
4291
+ type: "person";
4292
+ } | {
4293
+ id: string;
4294
+ type: "bot";
4295
+ })[] | undefined;
4296
+ entity: {
4297
+ type: "file_upload";
4298
+ id: string;
4299
+ };
4300
+ authors: {
4301
+ id: string;
4302
+ type: "agent" | "bot" | "person";
4303
+ }[];
4304
+ } | {
4305
+ type: "page.content_updated";
4306
+ timestamp: string;
4307
+ id: string;
4308
+ data: {
4309
+ parent: {
4310
+ id: string;
4311
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4312
+ dataSourceId?: string | undefined;
4313
+ };
4314
+ updatedBlocks: {
4315
+ id: string;
4316
+ type: "page" | "block" | "database";
4317
+ }[];
4318
+ };
4319
+ workspaceId: string;
4320
+ workspaceName: string;
4321
+ subscriptionId: string;
4322
+ integrationId: string;
4323
+ attemptNumber: number;
4324
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4325
+ accessibleBy?: ({
4326
+ id: string;
4327
+ type: "person";
4328
+ } | {
4329
+ id: string;
4330
+ type: "bot";
4331
+ })[] | undefined;
4332
+ entity: {
4333
+ type: "page";
4334
+ id: string;
4335
+ };
4336
+ authors: {
4337
+ id: string;
4338
+ type: "agent" | "bot" | "person";
4339
+ }[];
4340
+ } | {
4341
+ type: "page.created";
4342
+ timestamp: string;
4343
+ id: string;
4344
+ data: {
4345
+ parent: {
4346
+ id: string;
4347
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4348
+ dataSourceId?: string | undefined;
4349
+ };
4350
+ };
4351
+ workspaceId: string;
4352
+ workspaceName: string;
4353
+ subscriptionId: string;
4354
+ integrationId: string;
4355
+ attemptNumber: number;
4356
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4357
+ accessibleBy?: ({
4358
+ id: string;
4359
+ type: "person";
4360
+ } | {
4361
+ id: string;
4362
+ type: "bot";
4363
+ })[] | undefined;
4364
+ entity: {
4365
+ type: "page";
4366
+ id: string;
4367
+ };
4368
+ authors: {
4369
+ id: string;
4370
+ type: "agent" | "bot" | "person";
4371
+ }[];
4372
+ } | {
4373
+ type: "page.deleted";
4374
+ timestamp: string;
4375
+ id: string;
4376
+ data: {
4377
+ parent: {
4378
+ id: string;
4379
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4380
+ dataSourceId?: string | undefined;
4381
+ };
4382
+ };
4383
+ workspaceId: string;
4384
+ workspaceName: string;
4385
+ subscriptionId: string;
4386
+ integrationId: string;
4387
+ attemptNumber: number;
4388
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4389
+ accessibleBy?: ({
4390
+ id: string;
4391
+ type: "person";
4392
+ } | {
4393
+ id: string;
4394
+ type: "bot";
4395
+ })[] | undefined;
4396
+ entity: {
4397
+ type: "page";
4398
+ id: string;
4399
+ };
4400
+ authors: {
4401
+ id: string;
4402
+ type: "agent" | "bot" | "person";
4403
+ }[];
4404
+ } | {
4405
+ type: "page.locked";
4406
+ timestamp: string;
4407
+ id: string;
4408
+ data: {
4409
+ parent: {
4410
+ id: string;
4411
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4412
+ dataSourceId?: string | undefined;
4413
+ };
4414
+ };
4415
+ workspaceId: string;
4416
+ workspaceName: string;
4417
+ subscriptionId: string;
4418
+ integrationId: string;
4419
+ attemptNumber: number;
4420
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4421
+ accessibleBy?: ({
4422
+ id: string;
4423
+ type: "person";
4424
+ } | {
4425
+ id: string;
4426
+ type: "bot";
4427
+ })[] | undefined;
4428
+ entity: {
4429
+ type: "page";
4430
+ id: string;
4431
+ };
4432
+ authors: {
4433
+ id: string;
4434
+ type: "agent" | "bot" | "person";
4435
+ }[];
4436
+ } | {
4437
+ type: "page.moved";
4438
+ timestamp: string;
4439
+ id: string;
4440
+ data: {
4441
+ parent: {
4442
+ id: string;
4443
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4444
+ dataSourceId?: string | undefined;
4445
+ };
4446
+ };
4447
+ workspaceId: string;
4448
+ workspaceName: string;
4449
+ subscriptionId: string;
4450
+ integrationId: string;
4451
+ attemptNumber: number;
4452
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4453
+ accessibleBy?: ({
4454
+ id: string;
4455
+ type: "person";
4456
+ } | {
4457
+ id: string;
4458
+ type: "bot";
4459
+ })[] | undefined;
4460
+ entity: {
4461
+ type: "page";
4462
+ id: string;
4463
+ };
4464
+ authors: {
4465
+ id: string;
4466
+ type: "agent" | "bot" | "person";
4467
+ }[];
4468
+ } | {
4469
+ type: "page.properties_updated";
4470
+ timestamp: string;
4471
+ id: string;
4472
+ data: {
4473
+ parent: {
4474
+ id: string;
4475
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4476
+ dataSourceId?: string | undefined;
4477
+ };
4478
+ updatedProperties: string[];
4479
+ };
4480
+ workspaceId: string;
4481
+ workspaceName: string;
4482
+ subscriptionId: string;
4483
+ integrationId: string;
4484
+ attemptNumber: number;
4485
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4486
+ accessibleBy?: ({
4487
+ id: string;
4488
+ type: "person";
4489
+ } | {
4490
+ id: string;
4491
+ type: "bot";
4492
+ })[] | undefined;
4493
+ entity: {
4494
+ type: "page";
4495
+ id: string;
4496
+ };
4497
+ authors: {
4498
+ id: string;
4499
+ type: "agent" | "bot" | "person";
4500
+ }[];
4501
+ } | {
4502
+ type: "page.transcription_block.transcript_deleted";
4503
+ timestamp: string;
4504
+ id: string;
4505
+ data: {
4506
+ target: {
4507
+ id: string;
4508
+ type: "page" | "block" | "database";
4509
+ };
4510
+ transcriptId: string | null;
4511
+ };
4512
+ workspaceId: string;
4513
+ workspaceName: string;
4514
+ subscriptionId: string;
4515
+ integrationId: string;
4516
+ attemptNumber: number;
4517
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4518
+ accessibleBy?: ({
4519
+ id: string;
4520
+ type: "person";
4521
+ } | {
4522
+ id: string;
4523
+ type: "bot";
4524
+ })[] | undefined;
4525
+ entity: {
4526
+ type: "page";
4527
+ id: string;
4528
+ };
4529
+ authors: {
4530
+ id: string;
4531
+ type: "agent" | "bot" | "person";
4532
+ }[];
4533
+ } | {
4534
+ type: "page.undeleted";
4535
+ timestamp: string;
4536
+ id: string;
4537
+ data: {
4538
+ parent: {
4539
+ id: string;
4540
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4541
+ dataSourceId?: string | undefined;
4542
+ };
4543
+ };
4544
+ workspaceId: string;
4545
+ workspaceName: string;
4546
+ subscriptionId: string;
4547
+ integrationId: string;
4548
+ attemptNumber: number;
4549
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4550
+ accessibleBy?: ({
4551
+ id: string;
4552
+ type: "person";
4553
+ } | {
4554
+ id: string;
4555
+ type: "bot";
4556
+ })[] | undefined;
4557
+ entity: {
4558
+ type: "page";
4559
+ id: string;
4560
+ };
4561
+ authors: {
4562
+ id: string;
4563
+ type: "agent" | "bot" | "person";
4564
+ }[];
4565
+ } | {
4566
+ type: "page.unlocked";
4567
+ timestamp: string;
4568
+ id: string;
4569
+ data: {
4570
+ parent: {
4571
+ id: string;
4572
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4573
+ dataSourceId?: string | undefined;
4574
+ };
4575
+ };
4576
+ workspaceId: string;
4577
+ workspaceName: string;
4578
+ subscriptionId: string;
4579
+ integrationId: string;
4580
+ attemptNumber: number;
4581
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4582
+ accessibleBy?: ({
4583
+ id: string;
4584
+ type: "person";
4585
+ } | {
4586
+ id: string;
4587
+ type: "bot";
4588
+ })[] | undefined;
4589
+ entity: {
4590
+ type: "page";
4591
+ id: string;
4592
+ };
4593
+ authors: {
4594
+ id: string;
4595
+ type: "agent" | "bot" | "person";
4596
+ }[];
4597
+ } | {
4598
+ type: "view.created";
4599
+ timestamp: string;
4600
+ id: string;
4601
+ data: {
4602
+ parent: {
4603
+ id: string;
4604
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4605
+ dataSourceId?: string | undefined;
4606
+ };
4607
+ viewType: string;
4608
+ };
4609
+ workspaceId: string;
4610
+ workspaceName: string;
4611
+ subscriptionId: string;
4612
+ integrationId: string;
4613
+ attemptNumber: number;
4614
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4615
+ accessibleBy?: ({
4616
+ id: string;
4617
+ type: "person";
4618
+ } | {
4619
+ id: string;
4620
+ type: "bot";
4621
+ })[] | undefined;
4622
+ entity: {
4623
+ id: string;
4624
+ type: "view";
4625
+ };
4626
+ authors: {
4627
+ id: string;
4628
+ type: "agent" | "bot" | "person";
4629
+ }[];
4630
+ } | {
4631
+ type: "view.deleted";
4632
+ timestamp: string;
4633
+ id: string;
4634
+ data: {
4635
+ parent: {
4636
+ id: string;
4637
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4638
+ dataSourceId?: string | undefined;
4639
+ };
4640
+ };
4641
+ workspaceId: string;
4642
+ workspaceName: string;
4643
+ subscriptionId: string;
4644
+ integrationId: string;
4645
+ attemptNumber: number;
4646
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4647
+ accessibleBy?: ({
4648
+ id: string;
4649
+ type: "person";
4650
+ } | {
4651
+ id: string;
4652
+ type: "bot";
4653
+ })[] | undefined;
4654
+ entity: {
4655
+ id: string;
4656
+ type: "view";
4657
+ };
4658
+ authors: {
4659
+ id: string;
4660
+ type: "agent" | "bot" | "person";
4661
+ }[];
4662
+ } | {
4663
+ type: "view.updated";
4664
+ timestamp: string;
4665
+ id: string;
4666
+ data: {
4667
+ parent: {
4668
+ id: string;
4669
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4670
+ dataSourceId?: string | undefined;
4671
+ };
4672
+ updatedFields: ("filter" | "name" | "sorts" | "configuration")[];
4673
+ };
4674
+ workspaceId: string;
4675
+ workspaceName: string;
4676
+ subscriptionId: string;
4677
+ integrationId: string;
4678
+ attemptNumber: number;
4679
+ apiVersion: "2022-06-28" | "2025-09-03" | "2026-03-11";
4680
+ accessibleBy?: ({
4681
+ id: string;
4682
+ type: "person";
4683
+ } | {
4684
+ id: string;
4685
+ type: "bot";
4686
+ })[] | undefined;
4687
+ entity: {
4688
+ id: string;
4689
+ type: "view";
4690
+ };
4691
+ authors: {
4692
+ id: string;
4693
+ type: "agent" | "bot" | "person";
4694
+ }[];
4695
+ }, {
4696
+ [x: string]: import("zod").JSONType;
4697
+ data: {
4698
+ page_id: string;
4699
+ parent: {
4700
+ id: string;
4701
+ type: "page" | "block" | "database";
4702
+ };
4703
+ };
4704
+ entity: {
4705
+ id: string;
4706
+ type: "comment";
4707
+ };
4708
+ type: "comment.created";
4709
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
4710
+ attempt_number: number;
4711
+ authors: ({
4712
+ id: string;
4713
+ type: "person";
4714
+ } | {
4715
+ id: string;
4716
+ type: "bot";
4717
+ } | {
4718
+ id: string;
4719
+ type: "agent";
4720
+ })[];
4721
+ id: string;
4722
+ integration_id: string;
4723
+ subscription_id: string;
4724
+ timestamp: string;
4725
+ workspace_id: string;
4726
+ workspace_name: string;
4727
+ accessible_by?: ({
4728
+ id: string;
4729
+ type: "person";
4730
+ } | {
4731
+ id: string;
4732
+ type: "bot";
4733
+ })[] | undefined;
4734
+ } | {
4735
+ [x: string]: import("zod").JSONType;
4736
+ data: {
4737
+ page_id: string;
4738
+ parent: {
4739
+ id: string;
4740
+ type: "page" | "block" | "database";
4741
+ };
4742
+ };
4743
+ entity: {
4744
+ id: string;
4745
+ type: "comment";
4746
+ };
4747
+ type: "comment.deleted";
4748
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
4749
+ attempt_number: number;
4750
+ authors: ({
4751
+ id: string;
4752
+ type: "person";
4753
+ } | {
4754
+ id: string;
4755
+ type: "bot";
4756
+ } | {
4757
+ id: string;
4758
+ type: "agent";
4759
+ })[];
4760
+ id: string;
4761
+ integration_id: string;
4762
+ subscription_id: string;
4763
+ timestamp: string;
4764
+ workspace_id: string;
4765
+ workspace_name: string;
4766
+ accessible_by?: ({
4767
+ id: string;
4768
+ type: "person";
4769
+ } | {
4770
+ id: string;
4771
+ type: "bot";
4772
+ })[] | undefined;
4773
+ } | {
4774
+ [x: string]: import("zod").JSONType;
4775
+ data: {
4776
+ page_id: string;
4777
+ parent: {
4778
+ id: string;
4779
+ type: "page" | "block" | "database";
4780
+ };
4781
+ };
4782
+ entity: {
4783
+ id: string;
4784
+ type: "comment";
4785
+ };
4786
+ type: "comment.updated";
4787
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
4788
+ attempt_number: number;
4789
+ authors: ({
4790
+ id: string;
4791
+ type: "person";
4792
+ } | {
4793
+ id: string;
4794
+ type: "bot";
4795
+ } | {
4796
+ id: string;
4797
+ type: "agent";
4798
+ })[];
4799
+ id: string;
4800
+ integration_id: string;
4801
+ subscription_id: string;
4802
+ timestamp: string;
4803
+ workspace_id: string;
4804
+ workspace_name: string;
4805
+ accessible_by?: ({
4806
+ id: string;
4807
+ type: "person";
4808
+ } | {
4809
+ id: string;
4810
+ type: "bot";
4811
+ })[] | undefined;
4812
+ } | {
4813
+ [x: string]: import("zod").JSONType;
4814
+ data: {
4815
+ parent: {
4816
+ id: string;
4817
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4818
+ data_source_id?: string | undefined;
4819
+ };
4820
+ updated_blocks: {
4821
+ id: string;
4822
+ type: "page" | "block" | "database";
4823
+ }[];
4824
+ };
4825
+ entity: {
4826
+ id: string;
4827
+ type: "block" | "database" | "data_source";
4828
+ };
4829
+ type: "data_source.content_updated";
4830
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
4831
+ attempt_number: number;
4832
+ authors: ({
4833
+ id: string;
4834
+ type: "person";
4835
+ } | {
4836
+ id: string;
4837
+ type: "bot";
4838
+ } | {
4839
+ id: string;
4840
+ type: "agent";
4841
+ })[];
4842
+ id: string;
4843
+ integration_id: string;
4844
+ subscription_id: string;
4845
+ timestamp: string;
4846
+ workspace_id: string;
4847
+ workspace_name: string;
4848
+ accessible_by?: ({
4849
+ id: string;
4850
+ type: "person";
4851
+ } | {
4852
+ id: string;
4853
+ type: "bot";
4854
+ })[] | undefined;
4855
+ } | {
4856
+ [x: string]: import("zod").JSONType;
4857
+ data: {
4858
+ parent: {
4859
+ id: string;
4860
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4861
+ data_source_id?: string | undefined;
4862
+ };
4863
+ };
4864
+ entity: {
4865
+ id: string;
4866
+ type: "block" | "database" | "data_source";
4867
+ };
4868
+ type: "data_source.created";
4869
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
4870
+ attempt_number: number;
4871
+ authors: ({
4872
+ id: string;
4873
+ type: "person";
4874
+ } | {
4875
+ id: string;
4876
+ type: "bot";
4877
+ } | {
4878
+ id: string;
4879
+ type: "agent";
4880
+ })[];
4881
+ id: string;
4882
+ integration_id: string;
4883
+ subscription_id: string;
4884
+ timestamp: string;
4885
+ workspace_id: string;
4886
+ workspace_name: string;
4887
+ accessible_by?: ({
4888
+ id: string;
4889
+ type: "person";
4890
+ } | {
4891
+ id: string;
4892
+ type: "bot";
4893
+ })[] | undefined;
4894
+ } | {
4895
+ [x: string]: import("zod").JSONType;
4896
+ data: {
4897
+ parent: {
4898
+ id: string;
4899
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4900
+ data_source_id?: string | undefined;
4901
+ };
4902
+ };
4903
+ entity: {
4904
+ id: string;
4905
+ type: "block" | "database" | "data_source";
4906
+ };
4907
+ type: "data_source.deleted";
4908
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
4909
+ attempt_number: number;
4910
+ authors: ({
4911
+ id: string;
4912
+ type: "person";
4913
+ } | {
4914
+ id: string;
4915
+ type: "bot";
4916
+ } | {
4917
+ id: string;
4918
+ type: "agent";
4919
+ })[];
4920
+ id: string;
4921
+ integration_id: string;
4922
+ subscription_id: string;
4923
+ timestamp: string;
4924
+ workspace_id: string;
4925
+ workspace_name: string;
4926
+ accessible_by?: ({
4927
+ id: string;
4928
+ type: "person";
4929
+ } | {
4930
+ id: string;
4931
+ type: "bot";
4932
+ })[] | undefined;
4933
+ } | {
4934
+ [x: string]: import("zod").JSONType;
4935
+ data: {
4936
+ parent: {
4937
+ id: string;
4938
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4939
+ data_source_id?: string | undefined;
4940
+ };
4941
+ };
4942
+ entity: {
4943
+ id: string;
4944
+ type: "block" | "database" | "data_source";
4945
+ };
4946
+ type: "data_source.moved";
4947
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
4948
+ attempt_number: number;
4949
+ authors: ({
4950
+ id: string;
4951
+ type: "person";
4952
+ } | {
4953
+ id: string;
4954
+ type: "bot";
4955
+ } | {
4956
+ id: string;
4957
+ type: "agent";
4958
+ })[];
4959
+ id: string;
4960
+ integration_id: string;
4961
+ subscription_id: string;
4962
+ timestamp: string;
4963
+ workspace_id: string;
4964
+ workspace_name: string;
4965
+ accessible_by?: ({
4966
+ id: string;
4967
+ type: "person";
4968
+ } | {
4969
+ id: string;
4970
+ type: "bot";
4971
+ })[] | undefined;
4972
+ } | {
4973
+ [x: string]: import("zod").JSONType;
4974
+ data: {
4975
+ parent: {
4976
+ id: string;
4977
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
4978
+ data_source_id?: string | undefined;
4979
+ };
4980
+ updated_properties?: {
4981
+ action: "deleted" | "created" | "updated";
4982
+ id: string;
4983
+ name: string | null;
4984
+ }[] | undefined;
4985
+ };
4986
+ entity: {
4987
+ id: string;
4988
+ type: "block" | "database" | "data_source";
4989
+ };
4990
+ type: "data_source.schema_updated";
4991
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
4992
+ attempt_number: number;
4993
+ authors: ({
4994
+ id: string;
4995
+ type: "person";
4996
+ } | {
4997
+ id: string;
4998
+ type: "bot";
4999
+ } | {
5000
+ id: string;
5001
+ type: "agent";
5002
+ })[];
5003
+ id: string;
5004
+ integration_id: string;
5005
+ subscription_id: string;
5006
+ timestamp: string;
5007
+ workspace_id: string;
5008
+ workspace_name: string;
5009
+ accessible_by?: ({
5010
+ id: string;
5011
+ type: "person";
5012
+ } | {
5013
+ id: string;
5014
+ type: "bot";
5015
+ })[] | undefined;
5016
+ } | {
5017
+ [x: string]: import("zod").JSONType;
5018
+ data: {
5019
+ parent: {
5020
+ id: string;
5021
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5022
+ data_source_id?: string | undefined;
5023
+ };
5024
+ };
5025
+ entity: {
5026
+ id: string;
5027
+ type: "block" | "database" | "data_source";
5028
+ };
5029
+ type: "data_source.undeleted";
5030
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5031
+ attempt_number: number;
5032
+ authors: ({
5033
+ id: string;
5034
+ type: "person";
5035
+ } | {
5036
+ id: string;
5037
+ type: "bot";
5038
+ } | {
5039
+ id: string;
5040
+ type: "agent";
5041
+ })[];
5042
+ id: string;
5043
+ integration_id: string;
5044
+ subscription_id: string;
5045
+ timestamp: string;
5046
+ workspace_id: string;
5047
+ workspace_name: string;
5048
+ accessible_by?: ({
5049
+ id: string;
5050
+ type: "person";
5051
+ } | {
5052
+ id: string;
5053
+ type: "bot";
5054
+ })[] | undefined;
5055
+ } | {
5056
+ [x: string]: import("zod").JSONType;
5057
+ data: {
5058
+ parent: {
5059
+ id: string;
5060
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5061
+ data_source_id?: string | undefined;
5062
+ };
5063
+ };
5064
+ entity: {
5065
+ id: string;
5066
+ type: "block" | "database" | "data_source";
5067
+ };
5068
+ type: "database.created";
5069
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5070
+ attempt_number: number;
5071
+ authors: ({
5072
+ id: string;
5073
+ type: "person";
5074
+ } | {
5075
+ id: string;
5076
+ type: "bot";
5077
+ } | {
5078
+ id: string;
5079
+ type: "agent";
5080
+ })[];
5081
+ id: string;
5082
+ integration_id: string;
5083
+ subscription_id: string;
5084
+ timestamp: string;
5085
+ workspace_id: string;
5086
+ workspace_name: string;
5087
+ accessible_by?: ({
5088
+ id: string;
5089
+ type: "person";
5090
+ } | {
5091
+ id: string;
5092
+ type: "bot";
5093
+ })[] | undefined;
5094
+ } | {
5095
+ [x: string]: import("zod").JSONType;
5096
+ data: {
5097
+ parent: {
5098
+ id: string;
5099
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5100
+ data_source_id?: string | undefined;
5101
+ };
5102
+ };
5103
+ entity: {
5104
+ id: string;
5105
+ type: "block" | "database" | "data_source";
5106
+ };
5107
+ type: "database.deleted";
5108
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5109
+ attempt_number: number;
5110
+ authors: ({
5111
+ id: string;
5112
+ type: "person";
5113
+ } | {
5114
+ id: string;
5115
+ type: "bot";
5116
+ } | {
5117
+ id: string;
5118
+ type: "agent";
5119
+ })[];
5120
+ id: string;
5121
+ integration_id: string;
5122
+ subscription_id: string;
5123
+ timestamp: string;
5124
+ workspace_id: string;
5125
+ workspace_name: string;
5126
+ accessible_by?: ({
5127
+ id: string;
5128
+ type: "person";
5129
+ } | {
5130
+ id: string;
5131
+ type: "bot";
5132
+ })[] | undefined;
5133
+ } | {
5134
+ [x: string]: import("zod").JSONType;
5135
+ data: {
5136
+ parent: {
5137
+ id: string;
5138
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5139
+ data_source_id?: string | undefined;
5140
+ };
5141
+ };
5142
+ entity: {
5143
+ id: string;
5144
+ type: "block" | "database" | "data_source";
5145
+ };
5146
+ type: "database.moved";
5147
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5148
+ attempt_number: number;
5149
+ authors: ({
5150
+ id: string;
5151
+ type: "person";
5152
+ } | {
5153
+ id: string;
5154
+ type: "bot";
5155
+ } | {
5156
+ id: string;
5157
+ type: "agent";
5158
+ })[];
5159
+ id: string;
5160
+ integration_id: string;
5161
+ subscription_id: string;
5162
+ timestamp: string;
5163
+ workspace_id: string;
5164
+ workspace_name: string;
5165
+ accessible_by?: ({
5166
+ id: string;
5167
+ type: "person";
5168
+ } | {
5169
+ id: string;
5170
+ type: "bot";
5171
+ })[] | undefined;
5172
+ } | {
5173
+ [x: string]: import("zod").JSONType;
5174
+ data: {
5175
+ parent: {
5176
+ id: string;
5177
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5178
+ data_source_id?: string | undefined;
5179
+ };
5180
+ };
5181
+ entity: {
5182
+ id: string;
5183
+ type: "block" | "database" | "data_source";
5184
+ };
5185
+ type: "database.undeleted";
5186
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5187
+ attempt_number: number;
5188
+ authors: ({
5189
+ id: string;
5190
+ type: "person";
5191
+ } | {
5192
+ id: string;
5193
+ type: "bot";
5194
+ } | {
5195
+ id: string;
5196
+ type: "agent";
5197
+ })[];
5198
+ id: string;
5199
+ integration_id: string;
5200
+ subscription_id: string;
5201
+ timestamp: string;
5202
+ workspace_id: string;
5203
+ workspace_name: string;
5204
+ accessible_by?: ({
5205
+ id: string;
5206
+ type: "person";
5207
+ } | {
5208
+ id: string;
5209
+ type: "bot";
5210
+ })[] | undefined;
5211
+ } | {
5212
+ [x: string]: import("zod").JSONType;
5213
+ entity: {
5214
+ id: string;
5215
+ type: "file_upload";
5216
+ };
5217
+ type: "file_upload.completed";
5218
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5219
+ attempt_number: number;
5220
+ authors: ({
5221
+ id: string;
5222
+ type: "person";
5223
+ } | {
5224
+ id: string;
5225
+ type: "bot";
5226
+ } | {
5227
+ id: string;
5228
+ type: "agent";
5229
+ })[];
5230
+ id: string;
5231
+ integration_id: string;
5232
+ subscription_id: string;
5233
+ timestamp: string;
5234
+ workspace_id: string;
5235
+ workspace_name: string;
5236
+ accessible_by?: ({
5237
+ id: string;
5238
+ type: "person";
5239
+ } | {
5240
+ id: string;
5241
+ type: "bot";
5242
+ })[] | undefined;
5243
+ } | {
5244
+ [x: string]: import("zod").JSONType;
5245
+ entity: {
5246
+ id: string;
5247
+ type: "file_upload";
5248
+ };
5249
+ type: "file_upload.created";
5250
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5251
+ attempt_number: number;
5252
+ authors: ({
5253
+ id: string;
5254
+ type: "person";
5255
+ } | {
5256
+ id: string;
5257
+ type: "bot";
5258
+ } | {
5259
+ id: string;
5260
+ type: "agent";
5261
+ })[];
5262
+ id: string;
5263
+ integration_id: string;
5264
+ subscription_id: string;
5265
+ timestamp: string;
5266
+ workspace_id: string;
5267
+ workspace_name: string;
5268
+ accessible_by?: ({
5269
+ id: string;
5270
+ type: "person";
5271
+ } | {
5272
+ id: string;
5273
+ type: "bot";
5274
+ })[] | undefined;
5275
+ } | {
5276
+ [x: string]: import("zod").JSONType;
5277
+ entity: {
5278
+ id: string;
5279
+ type: "file_upload";
5280
+ };
5281
+ type: "file_upload.expired";
5282
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5283
+ attempt_number: number;
5284
+ authors: ({
5285
+ id: string;
5286
+ type: "person";
5287
+ } | {
5288
+ id: string;
5289
+ type: "bot";
5290
+ } | {
5291
+ id: string;
5292
+ type: "agent";
5293
+ })[];
5294
+ id: string;
5295
+ integration_id: string;
5296
+ subscription_id: string;
5297
+ timestamp: string;
5298
+ workspace_id: string;
5299
+ workspace_name: string;
5300
+ accessible_by?: ({
5301
+ id: string;
5302
+ type: "person";
5303
+ } | {
5304
+ id: string;
5305
+ type: "bot";
5306
+ })[] | undefined;
5307
+ } | {
5308
+ [x: string]: import("zod").JSONType;
5309
+ data: {
5310
+ file_import_result: {
5311
+ imported_time: string;
5312
+ success: Record<string, never>;
5313
+ type: "success";
5314
+ } | {
5315
+ error: {
5316
+ code: string;
5317
+ message: string;
5318
+ parameter: string | null;
5319
+ status_code: number | null;
5320
+ type: "validation_error" | "internal_system_error" | "download_error" | "upload_error";
5321
+ };
5322
+ imported_time: string;
5323
+ type: "error";
5324
+ };
5325
+ };
5326
+ entity: {
5327
+ id: string;
5328
+ type: "file_upload";
5329
+ };
5330
+ type: "file_upload.upload_failed";
5331
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5332
+ attempt_number: number;
5333
+ authors: ({
5334
+ id: string;
5335
+ type: "person";
5336
+ } | {
5337
+ id: string;
5338
+ type: "bot";
5339
+ } | {
5340
+ id: string;
5341
+ type: "agent";
5342
+ })[];
5343
+ id: string;
5344
+ integration_id: string;
5345
+ subscription_id: string;
5346
+ timestamp: string;
5347
+ workspace_id: string;
5348
+ workspace_name: string;
5349
+ accessible_by?: ({
5350
+ id: string;
5351
+ type: "person";
5352
+ } | {
5353
+ id: string;
5354
+ type: "bot";
5355
+ })[] | undefined;
5356
+ } | {
5357
+ [x: string]: import("zod").JSONType;
5358
+ data: {
5359
+ parent: {
5360
+ id: string;
5361
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5362
+ data_source_id?: string | undefined;
5363
+ };
5364
+ updated_blocks: {
5365
+ id: string;
5366
+ type: "page" | "block" | "database";
5367
+ }[];
5368
+ };
5369
+ entity: {
5370
+ id: string;
5371
+ type: "page";
5372
+ };
5373
+ type: "page.content_updated";
5374
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5375
+ attempt_number: number;
5376
+ authors: ({
5377
+ id: string;
5378
+ type: "person";
5379
+ } | {
5380
+ id: string;
5381
+ type: "bot";
5382
+ } | {
5383
+ id: string;
5384
+ type: "agent";
5385
+ })[];
5386
+ id: string;
5387
+ integration_id: string;
5388
+ subscription_id: string;
5389
+ timestamp: string;
5390
+ workspace_id: string;
5391
+ workspace_name: string;
5392
+ accessible_by?: ({
5393
+ id: string;
5394
+ type: "person";
5395
+ } | {
5396
+ id: string;
5397
+ type: "bot";
5398
+ })[] | undefined;
5399
+ } | {
5400
+ [x: string]: import("zod").JSONType;
5401
+ data: {
5402
+ parent: {
5403
+ id: string;
5404
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5405
+ data_source_id?: string | undefined;
5406
+ };
5407
+ };
5408
+ entity: {
5409
+ id: string;
5410
+ type: "page";
5411
+ };
5412
+ type: "page.created";
5413
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5414
+ attempt_number: number;
5415
+ authors: ({
5416
+ id: string;
5417
+ type: "person";
5418
+ } | {
5419
+ id: string;
5420
+ type: "bot";
5421
+ } | {
5422
+ id: string;
5423
+ type: "agent";
5424
+ })[];
5425
+ id: string;
5426
+ integration_id: string;
5427
+ subscription_id: string;
5428
+ timestamp: string;
5429
+ workspace_id: string;
5430
+ workspace_name: string;
5431
+ accessible_by?: ({
5432
+ id: string;
5433
+ type: "person";
5434
+ } | {
5435
+ id: string;
5436
+ type: "bot";
5437
+ })[] | undefined;
5438
+ } | {
5439
+ [x: string]: import("zod").JSONType;
5440
+ data: {
5441
+ parent: {
5442
+ id: string;
5443
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5444
+ data_source_id?: string | undefined;
5445
+ };
5446
+ };
5447
+ entity: {
5448
+ id: string;
5449
+ type: "page";
5450
+ };
5451
+ type: "page.deleted";
5452
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5453
+ attempt_number: number;
5454
+ authors: ({
5455
+ id: string;
5456
+ type: "person";
5457
+ } | {
5458
+ id: string;
5459
+ type: "bot";
5460
+ } | {
5461
+ id: string;
5462
+ type: "agent";
5463
+ })[];
5464
+ id: string;
5465
+ integration_id: string;
5466
+ subscription_id: string;
5467
+ timestamp: string;
5468
+ workspace_id: string;
5469
+ workspace_name: string;
5470
+ accessible_by?: ({
5471
+ id: string;
5472
+ type: "person";
5473
+ } | {
5474
+ id: string;
5475
+ type: "bot";
5476
+ })[] | undefined;
5477
+ } | {
5478
+ [x: string]: import("zod").JSONType;
5479
+ data: {
5480
+ parent: {
5481
+ id: string;
5482
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5483
+ data_source_id?: string | undefined;
5484
+ };
5485
+ };
5486
+ entity: {
5487
+ id: string;
5488
+ type: "page";
5489
+ };
5490
+ type: "page.locked";
5491
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5492
+ attempt_number: number;
5493
+ authors: ({
5494
+ id: string;
5495
+ type: "person";
5496
+ } | {
5497
+ id: string;
5498
+ type: "bot";
5499
+ } | {
5500
+ id: string;
5501
+ type: "agent";
5502
+ })[];
5503
+ id: string;
5504
+ integration_id: string;
5505
+ subscription_id: string;
5506
+ timestamp: string;
5507
+ workspace_id: string;
5508
+ workspace_name: string;
5509
+ accessible_by?: ({
5510
+ id: string;
5511
+ type: "person";
5512
+ } | {
5513
+ id: string;
5514
+ type: "bot";
5515
+ })[] | undefined;
5516
+ } | {
5517
+ [x: string]: import("zod").JSONType;
5518
+ data: {
5519
+ parent: {
5520
+ id: string;
5521
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5522
+ data_source_id?: string | undefined;
5523
+ };
5524
+ };
5525
+ entity: {
5526
+ id: string;
5527
+ type: "page";
5528
+ };
5529
+ type: "page.moved";
5530
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5531
+ attempt_number: number;
5532
+ authors: ({
5533
+ id: string;
5534
+ type: "person";
5535
+ } | {
5536
+ id: string;
5537
+ type: "bot";
5538
+ } | {
5539
+ id: string;
5540
+ type: "agent";
5541
+ })[];
5542
+ id: string;
5543
+ integration_id: string;
5544
+ subscription_id: string;
5545
+ timestamp: string;
5546
+ workspace_id: string;
5547
+ workspace_name: string;
5548
+ accessible_by?: ({
5549
+ id: string;
5550
+ type: "person";
5551
+ } | {
5552
+ id: string;
5553
+ type: "bot";
5554
+ })[] | undefined;
5555
+ } | {
5556
+ [x: string]: import("zod").JSONType;
5557
+ data: {
5558
+ parent: {
5559
+ id: string;
5560
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5561
+ data_source_id?: string | undefined;
5562
+ };
5563
+ updated_properties: string[];
5564
+ };
5565
+ entity: {
5566
+ id: string;
5567
+ type: "page";
5568
+ };
5569
+ type: "page.properties_updated";
5570
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5571
+ attempt_number: number;
5572
+ authors: ({
5573
+ id: string;
5574
+ type: "person";
5575
+ } | {
5576
+ id: string;
5577
+ type: "bot";
5578
+ } | {
5579
+ id: string;
5580
+ type: "agent";
5581
+ })[];
5582
+ id: string;
5583
+ integration_id: string;
5584
+ subscription_id: string;
5585
+ timestamp: string;
5586
+ workspace_id: string;
5587
+ workspace_name: string;
5588
+ accessible_by?: ({
5589
+ id: string;
5590
+ type: "person";
5591
+ } | {
5592
+ id: string;
5593
+ type: "bot";
5594
+ })[] | undefined;
5595
+ } | {
5596
+ [x: string]: import("zod").JSONType;
5597
+ data: {
5598
+ target: {
5599
+ id: string;
5600
+ type: "page" | "block" | "database";
5601
+ };
5602
+ transcript_id: string | null;
5603
+ };
5604
+ entity: {
5605
+ id: string;
5606
+ type: "page";
5607
+ };
5608
+ type: "page.transcription_block.transcript_deleted";
5609
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5610
+ attempt_number: number;
5611
+ authors: ({
5612
+ id: string;
5613
+ type: "person";
5614
+ } | {
5615
+ id: string;
5616
+ type: "bot";
5617
+ } | {
5618
+ id: string;
5619
+ type: "agent";
5620
+ })[];
5621
+ id: string;
5622
+ integration_id: string;
5623
+ subscription_id: string;
5624
+ timestamp: string;
5625
+ workspace_id: string;
5626
+ workspace_name: string;
5627
+ accessible_by?: ({
5628
+ id: string;
5629
+ type: "person";
5630
+ } | {
5631
+ id: string;
5632
+ type: "bot";
5633
+ })[] | undefined;
5634
+ } | {
5635
+ [x: string]: import("zod").JSONType;
5636
+ data: {
5637
+ parent: {
5638
+ id: string;
5639
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5640
+ data_source_id?: string | undefined;
5641
+ };
5642
+ };
5643
+ entity: {
5644
+ id: string;
5645
+ type: "page";
5646
+ };
5647
+ type: "page.undeleted";
5648
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5649
+ attempt_number: number;
5650
+ authors: ({
5651
+ id: string;
5652
+ type: "person";
5653
+ } | {
5654
+ id: string;
5655
+ type: "bot";
5656
+ } | {
5657
+ id: string;
5658
+ type: "agent";
5659
+ })[];
5660
+ id: string;
5661
+ integration_id: string;
5662
+ subscription_id: string;
5663
+ timestamp: string;
5664
+ workspace_id: string;
5665
+ workspace_name: string;
5666
+ accessible_by?: ({
5667
+ id: string;
5668
+ type: "person";
5669
+ } | {
5670
+ id: string;
5671
+ type: "bot";
5672
+ })[] | undefined;
5673
+ } | {
5674
+ [x: string]: import("zod").JSONType;
5675
+ data: {
5676
+ parent: {
5677
+ id: string;
5678
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5679
+ data_source_id?: string | undefined;
5680
+ };
5681
+ };
5682
+ entity: {
5683
+ id: string;
5684
+ type: "page";
5685
+ };
5686
+ type: "page.unlocked";
5687
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5688
+ attempt_number: number;
5689
+ authors: ({
5690
+ id: string;
5691
+ type: "person";
5692
+ } | {
5693
+ id: string;
5694
+ type: "bot";
5695
+ } | {
5696
+ id: string;
5697
+ type: "agent";
5698
+ })[];
5699
+ id: string;
5700
+ integration_id: string;
5701
+ subscription_id: string;
5702
+ timestamp: string;
5703
+ workspace_id: string;
5704
+ workspace_name: string;
5705
+ accessible_by?: ({
5706
+ id: string;
5707
+ type: "person";
5708
+ } | {
5709
+ id: string;
5710
+ type: "bot";
5711
+ })[] | undefined;
5712
+ } | {
5713
+ [x: string]: import("zod").JSONType;
5714
+ data: {
5715
+ parent: {
5716
+ id: string;
5717
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5718
+ data_source_id?: string | undefined;
5719
+ };
5720
+ view_type: string;
5721
+ };
5722
+ entity: {
5723
+ id: string;
5724
+ type: "view";
5725
+ };
5726
+ type: "view.created";
5727
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5728
+ attempt_number: number;
5729
+ authors: ({
5730
+ id: string;
5731
+ type: "person";
5732
+ } | {
5733
+ id: string;
5734
+ type: "bot";
5735
+ } | {
5736
+ id: string;
5737
+ type: "agent";
5738
+ })[];
5739
+ id: string;
5740
+ integration_id: string;
5741
+ subscription_id: string;
5742
+ timestamp: string;
5743
+ workspace_id: string;
5744
+ workspace_name: string;
5745
+ accessible_by?: ({
5746
+ id: string;
5747
+ type: "person";
5748
+ } | {
5749
+ id: string;
5750
+ type: "bot";
5751
+ })[] | undefined;
5752
+ } | {
5753
+ [x: string]: import("zod").JSONType;
5754
+ data: {
5755
+ parent: {
5756
+ id: string;
5757
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5758
+ data_source_id?: string | undefined;
5759
+ };
5760
+ };
5761
+ entity: {
5762
+ id: string;
5763
+ type: "view";
5764
+ };
5765
+ type: "view.deleted";
5766
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5767
+ attempt_number: number;
5768
+ authors: ({
5769
+ id: string;
5770
+ type: "person";
5771
+ } | {
5772
+ id: string;
5773
+ type: "bot";
5774
+ } | {
5775
+ id: string;
5776
+ type: "agent";
5777
+ })[];
5778
+ id: string;
5779
+ integration_id: string;
5780
+ subscription_id: string;
5781
+ timestamp: string;
5782
+ workspace_id: string;
5783
+ workspace_name: string;
5784
+ accessible_by?: ({
5785
+ id: string;
5786
+ type: "person";
5787
+ } | {
5788
+ id: string;
5789
+ type: "bot";
5790
+ })[] | undefined;
5791
+ } | {
5792
+ [x: string]: import("zod").JSONType;
5793
+ data: {
5794
+ parent: {
5795
+ id: string;
5796
+ type: "team" | "page" | "space" | "agent" | "block" | "database";
5797
+ data_source_id?: string | undefined;
5798
+ };
5799
+ updated_fields: ("filter" | "name" | "sorts" | "configuration")[];
5800
+ };
5801
+ entity: {
5802
+ id: string;
5803
+ type: "view";
5804
+ };
5805
+ type: "view.updated";
5806
+ api_version: "2022-06-28" | "2025-09-03" | "2026-03-11";
5807
+ attempt_number: number;
5808
+ authors: ({
5809
+ id: string;
5810
+ type: "person";
5811
+ } | {
5812
+ id: string;
5813
+ type: "bot";
5814
+ } | {
5815
+ id: string;
5816
+ type: "agent";
5817
+ })[];
5818
+ id: string;
5819
+ integration_id: string;
5820
+ subscription_id: string;
5821
+ timestamp: string;
5822
+ workspace_id: string;
5823
+ workspace_name: string;
5824
+ accessible_by?: ({
5825
+ id: string;
5826
+ type: "person";
5827
+ } | {
5828
+ id: string;
5829
+ type: "bot";
5830
+ })[] | undefined;
5831
+ }>>]>, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
3761
5832
  microsoftGraphNotification: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3762
5833
  sourceId: import("zod").ZodString;
3763
5834
  value: import("zod").ZodArray<import("zod").ZodObject<{
@@ -3825,6 +5896,9 @@ export declare const contract: {
3825
5896
  subscription: import("zod").ZodLiteral<"projects/opkitty/subscriptions/automate-ax-google-forms-push">;
3826
5897
  }, import("zod/v4/core").$strip>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3827
5898
  googleCalendarPush: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodVoid, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
5899
+ cloudflareEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
5900
+ sourceId: import("zod").ZodString;
5901
+ }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;
3828
5902
  closeEvent: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
3829
5903
  sourceId: import("zod").ZodString;
3830
5904
  }, import("zod/v4/core").$loose>, import("zod").ZodVoid, Record<never, never>, Record<never, never>>;