@zilfu/sdk 0.2.22 → 0.2.23

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
@@ -791,6 +791,28 @@ type MediaResource = {
791
791
  alt: string;
792
792
  order: string;
793
793
  };
794
+ /**
795
+ * OrganizationInvitationResource
796
+ */
797
+ type OrganizationInvitationResource = {
798
+ id: number;
799
+ email: string;
800
+ permissions: string | Array<string>;
801
+ expires_at: string;
802
+ accepted_at: string | null;
803
+ created_at: string | null;
804
+ is_expired: boolean;
805
+ };
806
+ /**
807
+ * OrganizationMemberResource
808
+ */
809
+ type OrganizationMemberResource = {
810
+ id: number;
811
+ name: string;
812
+ email: string;
813
+ permissions?: string | Array<string>;
814
+ joined_at?: string;
815
+ };
794
816
  /**
795
817
  * PostResource
796
818
  */
@@ -914,28 +936,6 @@ type SlotResource = {
914
936
  day_of_week: number;
915
937
  time: string;
916
938
  };
917
- /**
918
- * SpaceInvitationResource
919
- */
920
- type SpaceInvitationResource = {
921
- id: number;
922
- email: string;
923
- permissions: string | Array<string>;
924
- expires_at: string;
925
- accepted_at: string | null;
926
- created_at: string | null;
927
- is_expired: boolean;
928
- };
929
- /**
930
- * SpaceMemberResource
931
- */
932
- type SpaceMemberResource = {
933
- id: number;
934
- name: string;
935
- email: string;
936
- permissions?: string | Array<string>;
937
- joined_at?: string;
938
- };
939
939
  /**
940
940
  * SpacePermission
941
941
  */
@@ -947,6 +947,10 @@ type SpaceResource = {
947
947
  id: number;
948
948
  name: string;
949
949
  timezone: string | null;
950
+ /**
951
+ * The organization holding this space, and with it the team that can reach it.
952
+ */
953
+ organization_id: number;
950
954
  created_at: string | null;
951
955
  updated_at: string | null;
952
956
  };
@@ -967,6 +971,19 @@ type StoreBioPageRequest = {
967
971
  description?: string | null;
968
972
  theme: 'minimal' | 'bold' | 'neon' | 'soft' | 'classic';
969
973
  };
974
+ /**
975
+ * StoreOrganizationInvitationRequest
976
+ */
977
+ type StoreOrganizationInvitationRequest = {
978
+ email: string;
979
+ /**
980
+ * At least one, always. A member holding nothing used to mean
981
+ * read-only, which stopped being a coherent offer once membership
982
+ * went organization-wide: it would have handed a "read-only client"
983
+ * every other client's workspace.
984
+ */
985
+ permissions: Array<SpacePermission>;
986
+ };
970
987
  /**
971
988
  * StorePostRequest
972
989
  */
@@ -1025,13 +1042,6 @@ type StoreSlotRequest = {
1025
1042
  time: string;
1026
1043
  days_of_week: Array<number>;
1027
1044
  };
1028
- /**
1029
- * StoreSpaceInvitationRequest
1030
- */
1031
- type StoreSpaceInvitationRequest = {
1032
- email: string;
1033
- permissions: Array<SpacePermission>;
1034
- };
1035
1045
  /**
1036
1046
  * StoreSpaceRequest
1037
1047
  */
@@ -1052,6 +1062,15 @@ type UpdateBioBlockRequest = {
1052
1062
  content?: Array<string>;
1053
1063
  is_visible?: boolean;
1054
1064
  };
1065
+ /**
1066
+ * UpdateOrganizationMemberRequest
1067
+ */
1068
+ type UpdateOrganizationMemberRequest = {
1069
+ /**
1070
+ * A member always holds at least one permission; see StoreOrganizationInvitationRequest.
1071
+ */
1072
+ permissions: Array<SpacePermission>;
1073
+ };
1055
1074
  /**
1056
1075
  * UpdatePostRequest
1057
1076
  */
@@ -1092,12 +1111,6 @@ type UpdateScheduledCommentRequest = {
1092
1111
  content?: string;
1093
1112
  delay_minutes?: number;
1094
1113
  };
1095
- /**
1096
- * UpdateSpaceMemberRequest
1097
- */
1098
- type UpdateSpaceMemberRequest = {
1099
- permissions: Array<SpacePermission>;
1100
- };
1101
1114
  /**
1102
1115
  * UpdateSpaceRequest
1103
1116
  */
@@ -2433,26 +2446,18 @@ type PostMediaSignResponses = {
2433
2446
  };
2434
2447
  };
2435
2448
  type PostMediaSignResponse = PostMediaSignResponses[keyof PostMediaSignResponses];
2436
- type GetSpacesBySpacePostsData = {
2449
+ type GetOrganizationsByOrganizationInvitationsData = {
2437
2450
  body?: never;
2438
2451
  path: {
2439
2452
  /**
2440
- * The space ID
2453
+ * The organization ID
2441
2454
  */
2442
- space: number;
2443
- };
2444
- query?: {
2445
- status?: PostStatus;
2446
- 'statuses[]'?: Array<PostStatus>;
2447
- account_id?: number;
2448
- 'account_ids[]'?: Array<number>;
2449
- from?: string;
2450
- to?: string;
2451
- per_page?: number;
2455
+ organization: number;
2452
2456
  };
2453
- url: '/spaces/{space}/posts';
2457
+ query?: never;
2458
+ url: '/organizations/{organization}/invitations';
2454
2459
  };
2455
- type GetSpacesBySpacePostsErrors = {
2460
+ type GetOrganizationsByOrganizationInvitationsErrors = {
2456
2461
  /**
2457
2462
  * Unauthenticated
2458
2463
  */
@@ -2480,76 +2485,29 @@ type GetSpacesBySpacePostsErrors = {
2480
2485
  */
2481
2486
  message: string;
2482
2487
  };
2483
- /**
2484
- * Validation error
2485
- */
2486
- 422: {
2487
- /**
2488
- * Errors overview.
2489
- */
2490
- message: string;
2491
- /**
2492
- * A detailed description of each field that failed validation.
2493
- */
2494
- errors: {
2495
- [key: string]: Array<string>;
2496
- };
2497
- };
2498
2488
  };
2499
- type GetSpacesBySpacePostsError = GetSpacesBySpacePostsErrors[keyof GetSpacesBySpacePostsErrors];
2500
- type GetSpacesBySpacePostsResponses = {
2489
+ type GetOrganizationsByOrganizationInvitationsError = GetOrganizationsByOrganizationInvitationsErrors[keyof GetOrganizationsByOrganizationInvitationsErrors];
2490
+ type GetOrganizationsByOrganizationInvitationsResponses = {
2501
2491
  /**
2502
- * Paginated set of `PostResource`
2492
+ * Array of `OrganizationInvitationResource`
2503
2493
  */
2504
2494
  200: {
2505
- data: Array<PostResource>;
2506
- links: {
2507
- first: string | null;
2508
- last: string | null;
2509
- prev: string | null;
2510
- next: string | null;
2511
- };
2512
- meta: {
2513
- current_page: number;
2514
- from: number | null;
2515
- last_page: number;
2516
- /**
2517
- * Generated paginator links.
2518
- */
2519
- links: Array<{
2520
- url: string | null;
2521
- label: string;
2522
- active: boolean;
2523
- }>;
2524
- /**
2525
- * Base path for paginator generated URLs.
2526
- */
2527
- path: string | null;
2528
- /**
2529
- * Number of items shown per page.
2530
- */
2531
- per_page: number;
2532
- /**
2533
- * Number of the last item in the slice.
2534
- */
2535
- to: number | null;
2536
- /**
2537
- * Total number of items being paginated.
2538
- */
2539
- total: number;
2540
- };
2495
+ data: Array<OrganizationInvitationResource>;
2541
2496
  };
2542
2497
  };
2543
- type GetSpacesBySpacePostsResponse = GetSpacesBySpacePostsResponses[keyof GetSpacesBySpacePostsResponses];
2544
- type PostSpacesBySpacePostsData = {
2545
- body: StorePostRequest;
2498
+ type GetOrganizationsByOrganizationInvitationsResponse = GetOrganizationsByOrganizationInvitationsResponses[keyof GetOrganizationsByOrganizationInvitationsResponses];
2499
+ type PostOrganizationsByOrganizationInvitationsData = {
2500
+ body: StoreOrganizationInvitationRequest;
2546
2501
  path: {
2547
- space: string;
2502
+ /**
2503
+ * The organization ID
2504
+ */
2505
+ organization: number;
2548
2506
  };
2549
2507
  query?: never;
2550
- url: '/spaces/{space}/posts';
2508
+ url: '/organizations/{organization}/invitations';
2551
2509
  };
2552
- type PostSpacesBySpacePostsErrors = {
2510
+ type PostOrganizationsByOrganizationInvitationsErrors = {
2553
2511
  /**
2554
2512
  * Unauthenticated
2555
2513
  */
@@ -2568,6 +2526,15 @@ type PostSpacesBySpacePostsErrors = {
2568
2526
  */
2569
2527
  message: string;
2570
2528
  };
2529
+ /**
2530
+ * Not found
2531
+ */
2532
+ 404: {
2533
+ /**
2534
+ * Error overview.
2535
+ */
2536
+ message: string;
2537
+ };
2571
2538
  /**
2572
2539
  * Validation error
2573
2540
  */
@@ -2584,29 +2551,29 @@ type PostSpacesBySpacePostsErrors = {
2584
2551
  };
2585
2552
  };
2586
2553
  };
2587
- type PostSpacesBySpacePostsError = PostSpacesBySpacePostsErrors[keyof PostSpacesBySpacePostsErrors];
2588
- type PostSpacesBySpacePostsResponses = {
2554
+ type PostOrganizationsByOrganizationInvitationsError = PostOrganizationsByOrganizationInvitationsErrors[keyof PostOrganizationsByOrganizationInvitationsErrors];
2555
+ type PostOrganizationsByOrganizationInvitationsResponses = {
2589
2556
  200: {
2590
2557
  [key: string]: unknown;
2591
2558
  };
2592
2559
  };
2593
- type PostSpacesBySpacePostsResponse = PostSpacesBySpacePostsResponses[keyof PostSpacesBySpacePostsResponses];
2594
- type DeleteSpacesBySpacePostsByPostData = {
2560
+ type PostOrganizationsByOrganizationInvitationsResponse = PostOrganizationsByOrganizationInvitationsResponses[keyof PostOrganizationsByOrganizationInvitationsResponses];
2561
+ type DeleteOrganizationsByOrganizationInvitationsByInvitationData = {
2595
2562
  body?: never;
2596
2563
  path: {
2597
2564
  /**
2598
- * The space ID
2565
+ * The organization ID
2599
2566
  */
2600
- space: number;
2567
+ organization: number;
2601
2568
  /**
2602
- * The post ID
2569
+ * The invitation ID
2603
2570
  */
2604
- post: number;
2571
+ invitation: number;
2605
2572
  };
2606
2573
  query?: never;
2607
- url: '/spaces/{space}/posts/{post}';
2574
+ url: '/organizations/{organization}/invitations/{invitation}';
2608
2575
  };
2609
- type DeleteSpacesBySpacePostsByPostErrors = {
2576
+ type DeleteOrganizationsByOrganizationInvitationsByInvitationErrors = {
2610
2577
  /**
2611
2578
  * Unauthenticated
2612
2579
  */
@@ -2635,29 +2602,29 @@ type DeleteSpacesBySpacePostsByPostErrors = {
2635
2602
  message: string;
2636
2603
  };
2637
2604
  };
2638
- type DeleteSpacesBySpacePostsByPostError = DeleteSpacesBySpacePostsByPostErrors[keyof DeleteSpacesBySpacePostsByPostErrors];
2639
- type DeleteSpacesBySpacePostsByPostResponses = {
2605
+ type DeleteOrganizationsByOrganizationInvitationsByInvitationError = DeleteOrganizationsByOrganizationInvitationsByInvitationErrors[keyof DeleteOrganizationsByOrganizationInvitationsByInvitationErrors];
2606
+ type DeleteOrganizationsByOrganizationInvitationsByInvitationResponses = {
2640
2607
  200: {
2641
2608
  [key: string]: unknown;
2642
2609
  };
2643
2610
  };
2644
- type DeleteSpacesBySpacePostsByPostResponse = DeleteSpacesBySpacePostsByPostResponses[keyof DeleteSpacesBySpacePostsByPostResponses];
2645
- type GetSpacesBySpacePostsByPostData = {
2611
+ type DeleteOrganizationsByOrganizationInvitationsByInvitationResponse = DeleteOrganizationsByOrganizationInvitationsByInvitationResponses[keyof DeleteOrganizationsByOrganizationInvitationsByInvitationResponses];
2612
+ type PostOrganizationsByOrganizationInvitationsByInvitationResendData = {
2646
2613
  body?: never;
2647
2614
  path: {
2648
2615
  /**
2649
- * The space ID
2616
+ * The organization ID
2650
2617
  */
2651
- space: number;
2618
+ organization: number;
2652
2619
  /**
2653
- * The post ID
2620
+ * The invitation ID
2654
2621
  */
2655
- post: number;
2622
+ invitation: number;
2656
2623
  };
2657
2624
  query?: never;
2658
- url: '/spaces/{space}/posts/{post}';
2625
+ url: '/organizations/{organization}/invitations/{invitation}/resend';
2659
2626
  };
2660
- type GetSpacesBySpacePostsByPostErrors = {
2627
+ type PostOrganizationsByOrganizationInvitationsByInvitationResendErrors = {
2661
2628
  /**
2662
2629
  * Unauthenticated
2663
2630
  */
@@ -2686,32 +2653,30 @@ type GetSpacesBySpacePostsByPostErrors = {
2686
2653
  message: string;
2687
2654
  };
2688
2655
  };
2689
- type GetSpacesBySpacePostsByPostError = GetSpacesBySpacePostsByPostErrors[keyof GetSpacesBySpacePostsByPostErrors];
2690
- type GetSpacesBySpacePostsByPostResponses = {
2656
+ type PostOrganizationsByOrganizationInvitationsByInvitationResendError = PostOrganizationsByOrganizationInvitationsByInvitationResendErrors[keyof PostOrganizationsByOrganizationInvitationsByInvitationResendErrors];
2657
+ type PostOrganizationsByOrganizationInvitationsByInvitationResendResponses = {
2691
2658
  /**
2692
- * `PostResource`
2659
+ * `OrganizationInvitationResource`
2693
2660
  */
2694
2661
  200: {
2695
- data: PostResource;
2662
+ [key: string]: unknown;
2663
+ } | {
2664
+ data: OrganizationInvitationResource;
2696
2665
  };
2697
2666
  };
2698
- type GetSpacesBySpacePostsByPostResponse = GetSpacesBySpacePostsByPostResponses[keyof GetSpacesBySpacePostsByPostResponses];
2699
- type PutSpacesBySpacePostsByPostData = {
2700
- body?: UpdatePostRequest;
2667
+ type PostOrganizationsByOrganizationInvitationsByInvitationResendResponse = PostOrganizationsByOrganizationInvitationsByInvitationResendResponses[keyof PostOrganizationsByOrganizationInvitationsByInvitationResendResponses];
2668
+ type GetOrganizationsByOrganizationMembersData = {
2669
+ body?: never;
2701
2670
  path: {
2702
2671
  /**
2703
- * The space ID
2704
- */
2705
- space: number;
2706
- /**
2707
- * The post ID
2672
+ * The organization ID
2708
2673
  */
2709
- post: number;
2674
+ organization: number;
2710
2675
  };
2711
2676
  query?: never;
2712
- url: '/spaces/{space}/posts/{post}';
2677
+ url: '/organizations/{organization}/members';
2713
2678
  };
2714
- type PutSpacesBySpacePostsByPostErrors = {
2679
+ type GetOrganizationsByOrganizationMembersErrors = {
2715
2680
  /**
2716
2681
  * Unauthenticated
2717
2682
  */
@@ -2739,50 +2704,29 @@ type PutSpacesBySpacePostsByPostErrors = {
2739
2704
  */
2740
2705
  message: string;
2741
2706
  };
2742
- /**
2743
- * Validation error
2744
- */
2745
- 422: {
2746
- /**
2747
- * Errors overview.
2748
- */
2749
- message: string;
2750
- /**
2751
- * A detailed description of each field that failed validation.
2752
- */
2753
- errors: {
2754
- [key: string]: Array<string>;
2755
- };
2756
- };
2757
2707
  };
2758
- type PutSpacesBySpacePostsByPostError = PutSpacesBySpacePostsByPostErrors[keyof PutSpacesBySpacePostsByPostErrors];
2759
- type PutSpacesBySpacePostsByPostResponses = {
2708
+ type GetOrganizationsByOrganizationMembersError = GetOrganizationsByOrganizationMembersErrors[keyof GetOrganizationsByOrganizationMembersErrors];
2709
+ type GetOrganizationsByOrganizationMembersResponses = {
2760
2710
  /**
2761
- * `PostResource`
2711
+ * Array of `OrganizationMemberResource`
2762
2712
  */
2763
2713
  200: {
2764
- data: PostResource;
2765
- } | {
2766
- [key: string]: unknown;
2714
+ data: Array<OrganizationMemberResource>;
2767
2715
  };
2768
2716
  };
2769
- type PutSpacesBySpacePostsByPostResponse = PutSpacesBySpacePostsByPostResponses[keyof PutSpacesBySpacePostsByPostResponses];
2770
- type PostSpacesBySpacePostsByPostRetryData = {
2717
+ type GetOrganizationsByOrganizationMembersResponse = GetOrganizationsByOrganizationMembersResponses[keyof GetOrganizationsByOrganizationMembersResponses];
2718
+ type PostOrganizationsByOrganizationMembersLeaveData = {
2771
2719
  body?: never;
2772
2720
  path: {
2773
2721
  /**
2774
- * The space ID
2775
- */
2776
- space: number;
2777
- /**
2778
- * The post ID
2722
+ * The organization ID
2779
2723
  */
2780
- post: number;
2724
+ organization: number;
2781
2725
  };
2782
2726
  query?: never;
2783
- url: '/spaces/{space}/posts/{post}/retry';
2727
+ url: '/organizations/{organization}/members/leave';
2784
2728
  };
2785
- type PostSpacesBySpacePostsByPostRetryErrors = {
2729
+ type PostOrganizationsByOrganizationMembersLeaveErrors = {
2786
2730
  /**
2787
2731
  * Unauthenticated
2788
2732
  */
@@ -2810,46 +2754,30 @@ type PostSpacesBySpacePostsByPostRetryErrors = {
2810
2754
  */
2811
2755
  message: string;
2812
2756
  };
2813
- /**
2814
- * Validation error
2815
- */
2816
- 422: {
2817
- /**
2818
- * Errors overview.
2819
- */
2820
- message: string;
2821
- /**
2822
- * A detailed description of each field that failed validation.
2823
- */
2824
- errors: {
2825
- [key: string]: Array<string>;
2826
- };
2827
- };
2828
2757
  };
2829
- type PostSpacesBySpacePostsByPostRetryError = PostSpacesBySpacePostsByPostRetryErrors[keyof PostSpacesBySpacePostsByPostRetryErrors];
2830
- type PostSpacesBySpacePostsByPostRetryResponses = {
2831
- /**
2832
- * `PostResource`
2833
- */
2758
+ type PostOrganizationsByOrganizationMembersLeaveError = PostOrganizationsByOrganizationMembersLeaveErrors[keyof PostOrganizationsByOrganizationMembersLeaveErrors];
2759
+ type PostOrganizationsByOrganizationMembersLeaveResponses = {
2834
2760
  200: {
2835
- data: PostResource;
2836
- } | {
2837
2761
  [key: string]: unknown;
2838
2762
  };
2839
2763
  };
2840
- type PostSpacesBySpacePostsByPostRetryResponse = PostSpacesBySpacePostsByPostRetryResponses[keyof PostSpacesBySpacePostsByPostRetryResponses];
2841
- type GetSpacesBySpaceQueueData = {
2764
+ type PostOrganizationsByOrganizationMembersLeaveResponse = PostOrganizationsByOrganizationMembersLeaveResponses[keyof PostOrganizationsByOrganizationMembersLeaveResponses];
2765
+ type DeleteOrganizationsByOrganizationMembersByUserData = {
2842
2766
  body?: never;
2843
2767
  path: {
2844
2768
  /**
2845
- * The space ID
2769
+ * The organization ID
2846
2770
  */
2847
- space: number;
2771
+ organization: number;
2772
+ /**
2773
+ * The user ID
2774
+ */
2775
+ user: number;
2848
2776
  };
2849
2777
  query?: never;
2850
- url: '/spaces/{space}/queue';
2778
+ url: '/organizations/{organization}/members/{user}';
2851
2779
  };
2852
- type GetSpacesBySpaceQueueErrors = {
2780
+ type DeleteOrganizationsByOrganizationMembersByUserErrors = {
2853
2781
  /**
2854
2782
  * Unauthenticated
2855
2783
  */
@@ -2878,35 +2806,29 @@ type GetSpacesBySpaceQueueErrors = {
2878
2806
  message: string;
2879
2807
  };
2880
2808
  };
2881
- type GetSpacesBySpaceQueueError = GetSpacesBySpaceQueueErrors[keyof GetSpacesBySpaceQueueErrors];
2882
- type GetSpacesBySpaceQueueResponses = {
2809
+ type DeleteOrganizationsByOrganizationMembersByUserError = DeleteOrganizationsByOrganizationMembersByUserErrors[keyof DeleteOrganizationsByOrganizationMembersByUserErrors];
2810
+ type DeleteOrganizationsByOrganizationMembersByUserResponses = {
2883
2811
  200: {
2884
- data: Array<{
2885
- datetime: string;
2886
- timestamp_ms: string;
2887
- label: string;
2888
- }>;
2889
- } | {
2890
- data: Array<string>;
2812
+ [key: string]: unknown;
2891
2813
  };
2892
2814
  };
2893
- type GetSpacesBySpaceQueueResponse = GetSpacesBySpaceQueueResponses[keyof GetSpacesBySpaceQueueResponses];
2894
- type PostSpacesBySpacePostsByPostCommentData = {
2895
- body: StoreScheduledCommentRequest;
2815
+ type DeleteOrganizationsByOrganizationMembersByUserResponse = DeleteOrganizationsByOrganizationMembersByUserResponses[keyof DeleteOrganizationsByOrganizationMembersByUserResponses];
2816
+ type PatchOrganizationsByOrganizationMembersByUserData = {
2817
+ body: UpdateOrganizationMemberRequest;
2896
2818
  path: {
2897
2819
  /**
2898
- * The space ID
2820
+ * The organization ID
2899
2821
  */
2900
- space: number;
2822
+ organization: number;
2901
2823
  /**
2902
- * The post ID
2824
+ * The user ID
2903
2825
  */
2904
- post: number;
2826
+ user: number;
2905
2827
  };
2906
2828
  query?: never;
2907
- url: '/spaces/{space}/posts/{post}/comment';
2829
+ url: '/organizations/{organization}/members/{user}';
2908
2830
  };
2909
- type PostSpacesBySpacePostsByPostCommentErrors = {
2831
+ type PatchOrganizationsByOrganizationMembersByUserErrors = {
2910
2832
  /**
2911
2833
  * Unauthenticated
2912
2834
  */
@@ -2950,34 +2872,33 @@ type PostSpacesBySpacePostsByPostCommentErrors = {
2950
2872
  };
2951
2873
  };
2952
2874
  };
2953
- type PostSpacesBySpacePostsByPostCommentError = PostSpacesBySpacePostsByPostCommentErrors[keyof PostSpacesBySpacePostsByPostCommentErrors];
2954
- type PostSpacesBySpacePostsByPostCommentResponses = {
2955
- /**
2956
- * `ScheduledCommentResource`
2957
- */
2875
+ type PatchOrganizationsByOrganizationMembersByUserError = PatchOrganizationsByOrganizationMembersByUserErrors[keyof PatchOrganizationsByOrganizationMembersByUserErrors];
2876
+ type PatchOrganizationsByOrganizationMembersByUserResponses = {
2958
2877
  200: {
2959
- data: ScheduledCommentResource;
2960
- } | {
2961
2878
  [key: string]: unknown;
2962
2879
  };
2963
2880
  };
2964
- type PostSpacesBySpacePostsByPostCommentResponse = PostSpacesBySpacePostsByPostCommentResponses[keyof PostSpacesBySpacePostsByPostCommentResponses];
2965
- type DeleteSpacesBySpaceCommentsByScheduledCommentData = {
2881
+ type PatchOrganizationsByOrganizationMembersByUserResponse = PatchOrganizationsByOrganizationMembersByUserResponses[keyof PatchOrganizationsByOrganizationMembersByUserResponses];
2882
+ type GetSpacesBySpacePostsData = {
2966
2883
  body?: never;
2967
2884
  path: {
2968
2885
  /**
2969
2886
  * The space ID
2970
2887
  */
2971
2888
  space: number;
2972
- /**
2973
- * The scheduled comment ID
2974
- */
2975
- scheduledComment: number;
2976
2889
  };
2977
- query?: never;
2978
- url: '/spaces/{space}/comments/{scheduledComment}';
2890
+ query?: {
2891
+ status?: PostStatus;
2892
+ 'statuses[]'?: Array<PostStatus>;
2893
+ account_id?: number;
2894
+ 'account_ids[]'?: Array<number>;
2895
+ from?: string;
2896
+ to?: string;
2897
+ per_page?: number;
2898
+ };
2899
+ url: '/spaces/{space}/posts';
2979
2900
  };
2980
- type DeleteSpacesBySpaceCommentsByScheduledCommentErrors = {
2901
+ type GetSpacesBySpacePostsErrors = {
2981
2902
  /**
2982
2903
  * Unauthenticated
2983
2904
  */
@@ -3006,38 +2927,75 @@ type DeleteSpacesBySpaceCommentsByScheduledCommentErrors = {
3006
2927
  message: string;
3007
2928
  };
3008
2929
  /**
3009
- * An error
2930
+ * Validation error
3010
2931
  */
3011
2932
  422: {
3012
2933
  /**
3013
- * Error overview.
2934
+ * Errors overview.
3014
2935
  */
3015
2936
  message: string;
2937
+ /**
2938
+ * A detailed description of each field that failed validation.
2939
+ */
2940
+ errors: {
2941
+ [key: string]: Array<string>;
2942
+ };
3016
2943
  };
3017
2944
  };
3018
- type DeleteSpacesBySpaceCommentsByScheduledCommentError = DeleteSpacesBySpaceCommentsByScheduledCommentErrors[keyof DeleteSpacesBySpaceCommentsByScheduledCommentErrors];
3019
- type DeleteSpacesBySpaceCommentsByScheduledCommentResponses = {
2945
+ type GetSpacesBySpacePostsError = GetSpacesBySpacePostsErrors[keyof GetSpacesBySpacePostsErrors];
2946
+ type GetSpacesBySpacePostsResponses = {
2947
+ /**
2948
+ * Paginated set of `PostResource`
2949
+ */
3020
2950
  200: {
3021
- [key: string]: unknown;
2951
+ data: Array<PostResource>;
2952
+ links: {
2953
+ first: string | null;
2954
+ last: string | null;
2955
+ prev: string | null;
2956
+ next: string | null;
2957
+ };
2958
+ meta: {
2959
+ current_page: number;
2960
+ from: number | null;
2961
+ last_page: number;
2962
+ /**
2963
+ * Generated paginator links.
2964
+ */
2965
+ links: Array<{
2966
+ url: string | null;
2967
+ label: string;
2968
+ active: boolean;
2969
+ }>;
2970
+ /**
2971
+ * Base path for paginator generated URLs.
2972
+ */
2973
+ path: string | null;
2974
+ /**
2975
+ * Number of items shown per page.
2976
+ */
2977
+ per_page: number;
2978
+ /**
2979
+ * Number of the last item in the slice.
2980
+ */
2981
+ to: number | null;
2982
+ /**
2983
+ * Total number of items being paginated.
2984
+ */
2985
+ total: number;
2986
+ };
3022
2987
  };
3023
2988
  };
3024
- type DeleteSpacesBySpaceCommentsByScheduledCommentResponse = DeleteSpacesBySpaceCommentsByScheduledCommentResponses[keyof DeleteSpacesBySpaceCommentsByScheduledCommentResponses];
3025
- type PutSpacesBySpaceCommentsByScheduledCommentData = {
3026
- body?: UpdateScheduledCommentRequest;
2989
+ type GetSpacesBySpacePostsResponse = GetSpacesBySpacePostsResponses[keyof GetSpacesBySpacePostsResponses];
2990
+ type PostSpacesBySpacePostsData = {
2991
+ body: StorePostRequest;
3027
2992
  path: {
3028
- /**
3029
- * The space ID
3030
- */
3031
- space: number;
3032
- /**
3033
- * The scheduled comment ID
3034
- */
3035
- scheduledComment: number;
2993
+ space: string;
3036
2994
  };
3037
2995
  query?: never;
3038
- url: '/spaces/{space}/comments/{scheduledComment}';
2996
+ url: '/spaces/{space}/posts';
3039
2997
  };
3040
- type PutSpacesBySpaceCommentsByScheduledCommentErrors = {
2998
+ type PostSpacesBySpacePostsErrors = {
3041
2999
  /**
3042
3000
  * Unauthenticated
3043
3001
  */
@@ -3056,15 +3014,6 @@ type PutSpacesBySpaceCommentsByScheduledCommentErrors = {
3056
3014
  */
3057
3015
  message: string;
3058
3016
  };
3059
- /**
3060
- * Not found
3061
- */
3062
- 404: {
3063
- /**
3064
- * Error overview.
3065
- */
3066
- message: string;
3067
- };
3068
3017
  /**
3069
3018
  * Validation error
3070
3019
  */
@@ -3081,25 +3030,29 @@ type PutSpacesBySpaceCommentsByScheduledCommentErrors = {
3081
3030
  };
3082
3031
  };
3083
3032
  };
3084
- type PutSpacesBySpaceCommentsByScheduledCommentError = PutSpacesBySpaceCommentsByScheduledCommentErrors[keyof PutSpacesBySpaceCommentsByScheduledCommentErrors];
3085
- type PutSpacesBySpaceCommentsByScheduledCommentResponses = {
3086
- /**
3087
- * `ScheduledCommentResource`
3088
- */
3033
+ type PostSpacesBySpacePostsError = PostSpacesBySpacePostsErrors[keyof PostSpacesBySpacePostsErrors];
3034
+ type PostSpacesBySpacePostsResponses = {
3089
3035
  200: {
3090
- data: ScheduledCommentResource;
3091
- } | {
3092
3036
  [key: string]: unknown;
3093
3037
  };
3094
3038
  };
3095
- type PutSpacesBySpaceCommentsByScheduledCommentResponse = PutSpacesBySpaceCommentsByScheduledCommentResponses[keyof PutSpacesBySpaceCommentsByScheduledCommentResponses];
3096
- type GetSessionData = {
3039
+ type PostSpacesBySpacePostsResponse = PostSpacesBySpacePostsResponses[keyof PostSpacesBySpacePostsResponses];
3040
+ type DeleteSpacesBySpacePostsByPostData = {
3097
3041
  body?: never;
3098
- path?: never;
3042
+ path: {
3043
+ /**
3044
+ * The space ID
3045
+ */
3046
+ space: number;
3047
+ /**
3048
+ * The post ID
3049
+ */
3050
+ post: number;
3051
+ };
3099
3052
  query?: never;
3100
- url: '/session';
3053
+ url: '/spaces/{space}/posts/{post}';
3101
3054
  };
3102
- type GetSessionErrors = {
3055
+ type DeleteSpacesBySpacePostsByPostErrors = {
3103
3056
  /**
3104
3057
  * Unauthenticated
3105
3058
  */
@@ -3109,29 +3062,48 @@ type GetSessionErrors = {
3109
3062
  */
3110
3063
  message: string;
3111
3064
  };
3112
- };
3113
- type GetSessionError = GetSessionErrors[keyof GetSessionErrors];
3114
- type GetSessionResponses = {
3115
3065
  /**
3116
- * `SessionResource`
3066
+ * Authorization error
3067
+ */
3068
+ 403: {
3069
+ /**
3070
+ * Error overview.
3071
+ */
3072
+ message: string;
3073
+ };
3074
+ /**
3075
+ * Not found
3117
3076
  */
3077
+ 404: {
3078
+ /**
3079
+ * Error overview.
3080
+ */
3081
+ message: string;
3082
+ };
3083
+ };
3084
+ type DeleteSpacesBySpacePostsByPostError = DeleteSpacesBySpacePostsByPostErrors[keyof DeleteSpacesBySpacePostsByPostErrors];
3085
+ type DeleteSpacesBySpacePostsByPostResponses = {
3118
3086
  200: {
3119
- data: SessionResource;
3087
+ [key: string]: unknown;
3120
3088
  };
3121
3089
  };
3122
- type GetSessionResponse = GetSessionResponses[keyof GetSessionResponses];
3123
- type GetSpacesBySpaceSlotsData = {
3090
+ type DeleteSpacesBySpacePostsByPostResponse = DeleteSpacesBySpacePostsByPostResponses[keyof DeleteSpacesBySpacePostsByPostResponses];
3091
+ type GetSpacesBySpacePostsByPostData = {
3124
3092
  body?: never;
3125
3093
  path: {
3126
3094
  /**
3127
3095
  * The space ID
3128
3096
  */
3129
3097
  space: number;
3098
+ /**
3099
+ * The post ID
3100
+ */
3101
+ post: number;
3130
3102
  };
3131
3103
  query?: never;
3132
- url: '/spaces/{space}/slots';
3104
+ url: '/spaces/{space}/posts/{post}';
3133
3105
  };
3134
- type GetSpacesBySpaceSlotsErrors = {
3106
+ type GetSpacesBySpacePostsByPostErrors = {
3135
3107
  /**
3136
3108
  * Unauthenticated
3137
3109
  */
@@ -3160,28 +3132,32 @@ type GetSpacesBySpaceSlotsErrors = {
3160
3132
  message: string;
3161
3133
  };
3162
3134
  };
3163
- type GetSpacesBySpaceSlotsError = GetSpacesBySpaceSlotsErrors[keyof GetSpacesBySpaceSlotsErrors];
3164
- type GetSpacesBySpaceSlotsResponses = {
3135
+ type GetSpacesBySpacePostsByPostError = GetSpacesBySpacePostsByPostErrors[keyof GetSpacesBySpacePostsByPostErrors];
3136
+ type GetSpacesBySpacePostsByPostResponses = {
3165
3137
  /**
3166
- * Array of `SlotResource`
3138
+ * `PostResource`
3167
3139
  */
3168
3140
  200: {
3169
- data: Array<SlotResource>;
3141
+ data: PostResource;
3170
3142
  };
3171
3143
  };
3172
- type GetSpacesBySpaceSlotsResponse = GetSpacesBySpaceSlotsResponses[keyof GetSpacesBySpaceSlotsResponses];
3173
- type PostSpacesBySpaceSlotsData = {
3174
- body: StoreSlotRequest;
3144
+ type GetSpacesBySpacePostsByPostResponse = GetSpacesBySpacePostsByPostResponses[keyof GetSpacesBySpacePostsByPostResponses];
3145
+ type PutSpacesBySpacePostsByPostData = {
3146
+ body?: UpdatePostRequest;
3175
3147
  path: {
3176
3148
  /**
3177
3149
  * The space ID
3178
3150
  */
3179
3151
  space: number;
3152
+ /**
3153
+ * The post ID
3154
+ */
3155
+ post: number;
3180
3156
  };
3181
3157
  query?: never;
3182
- url: '/spaces/{space}/slots';
3158
+ url: '/spaces/{space}/posts/{post}';
3183
3159
  };
3184
- type PostSpacesBySpaceSlotsErrors = {
3160
+ type PutSpacesBySpacePostsByPostErrors = {
3185
3161
  /**
3186
3162
  * Unauthenticated
3187
3163
  */
@@ -3225,14 +3201,19 @@ type PostSpacesBySpaceSlotsErrors = {
3225
3201
  };
3226
3202
  };
3227
3203
  };
3228
- type PostSpacesBySpaceSlotsError = PostSpacesBySpaceSlotsErrors[keyof PostSpacesBySpaceSlotsErrors];
3229
- type PostSpacesBySpaceSlotsResponses = {
3204
+ type PutSpacesBySpacePostsByPostError = PutSpacesBySpacePostsByPostErrors[keyof PutSpacesBySpacePostsByPostErrors];
3205
+ type PutSpacesBySpacePostsByPostResponses = {
3206
+ /**
3207
+ * `PostResource`
3208
+ */
3230
3209
  200: {
3210
+ data: PostResource;
3211
+ } | {
3231
3212
  [key: string]: unknown;
3232
3213
  };
3233
3214
  };
3234
- type PostSpacesBySpaceSlotsResponse = PostSpacesBySpaceSlotsResponses[keyof PostSpacesBySpaceSlotsResponses];
3235
- type DeleteSpacesBySpaceSlotsBySlotData = {
3215
+ type PutSpacesBySpacePostsByPostResponse = PutSpacesBySpacePostsByPostResponses[keyof PutSpacesBySpacePostsByPostResponses];
3216
+ type PostSpacesBySpacePostsByPostRetryData = {
3236
3217
  body?: never;
3237
3218
  path: {
3238
3219
  /**
@@ -3240,14 +3221,14 @@ type DeleteSpacesBySpaceSlotsBySlotData = {
3240
3221
  */
3241
3222
  space: number;
3242
3223
  /**
3243
- * The slot ID
3224
+ * The post ID
3244
3225
  */
3245
- slot: number;
3226
+ post: number;
3246
3227
  };
3247
3228
  query?: never;
3248
- url: '/spaces/{space}/slots/{slot}';
3229
+ url: '/spaces/{space}/posts/{post}/retry';
3249
3230
  };
3250
- type DeleteSpacesBySpaceSlotsBySlotErrors = {
3231
+ type PostSpacesBySpacePostsByPostRetryErrors = {
3251
3232
  /**
3252
3233
  * Unauthenticated
3253
3234
  */
@@ -3275,48 +3256,46 @@ type DeleteSpacesBySpaceSlotsBySlotErrors = {
3275
3256
  */
3276
3257
  message: string;
3277
3258
  };
3278
- };
3279
- type DeleteSpacesBySpaceSlotsBySlotError = DeleteSpacesBySpaceSlotsBySlotErrors[keyof DeleteSpacesBySpaceSlotsBySlotErrors];
3280
- type DeleteSpacesBySpaceSlotsBySlotResponses = {
3281
- 200: {
3282
- [key: string]: unknown;
3283
- };
3284
- };
3285
- type DeleteSpacesBySpaceSlotsBySlotResponse = DeleteSpacesBySpaceSlotsBySlotResponses[keyof DeleteSpacesBySpaceSlotsBySlotResponses];
3286
- type GetSpacesData = {
3287
- body?: never;
3288
- path?: never;
3289
- query?: never;
3290
- url: '/spaces';
3291
- };
3292
- type GetSpacesErrors = {
3293
3259
  /**
3294
- * Unauthenticated
3260
+ * Validation error
3295
3261
  */
3296
- 401: {
3262
+ 422: {
3297
3263
  /**
3298
- * Error overview.
3264
+ * Errors overview.
3299
3265
  */
3300
3266
  message: string;
3267
+ /**
3268
+ * A detailed description of each field that failed validation.
3269
+ */
3270
+ errors: {
3271
+ [key: string]: Array<string>;
3272
+ };
3301
3273
  };
3302
3274
  };
3303
- type GetSpacesError = GetSpacesErrors[keyof GetSpacesErrors];
3304
- type GetSpacesResponses = {
3275
+ type PostSpacesBySpacePostsByPostRetryError = PostSpacesBySpacePostsByPostRetryErrors[keyof PostSpacesBySpacePostsByPostRetryErrors];
3276
+ type PostSpacesBySpacePostsByPostRetryResponses = {
3305
3277
  /**
3306
- * Array of `SpaceResource`
3278
+ * `PostResource`
3307
3279
  */
3308
3280
  200: {
3309
- data: Array<SpaceResource>;
3281
+ data: PostResource;
3282
+ } | {
3283
+ [key: string]: unknown;
3310
3284
  };
3311
3285
  };
3312
- type GetSpacesResponse = GetSpacesResponses[keyof GetSpacesResponses];
3313
- type PostSpacesData = {
3314
- body: StoreSpaceRequest;
3315
- path?: never;
3286
+ type PostSpacesBySpacePostsByPostRetryResponse = PostSpacesBySpacePostsByPostRetryResponses[keyof PostSpacesBySpacePostsByPostRetryResponses];
3287
+ type GetSpacesBySpaceQueueData = {
3288
+ body?: never;
3289
+ path: {
3290
+ /**
3291
+ * The space ID
3292
+ */
3293
+ space: number;
3294
+ };
3316
3295
  query?: never;
3317
- url: '/spaces';
3296
+ url: '/spaces/{space}/queue';
3318
3297
  };
3319
- type PostSpacesErrors = {
3298
+ type GetSpacesBySpaceQueueErrors = {
3320
3299
  /**
3321
3300
  * Unauthenticated
3322
3301
  */
@@ -3336,40 +3315,44 @@ type PostSpacesErrors = {
3336
3315
  message: string;
3337
3316
  };
3338
3317
  /**
3339
- * Validation error
3318
+ * Not found
3340
3319
  */
3341
- 422: {
3320
+ 404: {
3342
3321
  /**
3343
- * Errors overview.
3322
+ * Error overview.
3344
3323
  */
3345
3324
  message: string;
3346
- /**
3347
- * A detailed description of each field that failed validation.
3348
- */
3349
- errors: {
3350
- [key: string]: Array<string>;
3351
- };
3352
3325
  };
3353
3326
  };
3354
- type PostSpacesError = PostSpacesErrors[keyof PostSpacesErrors];
3355
- type PostSpacesResponses = {
3327
+ type GetSpacesBySpaceQueueError = GetSpacesBySpaceQueueErrors[keyof GetSpacesBySpaceQueueErrors];
3328
+ type GetSpacesBySpaceQueueResponses = {
3356
3329
  200: {
3357
- [key: string]: unknown;
3330
+ data: Array<{
3331
+ datetime: string;
3332
+ timestamp_ms: string;
3333
+ label: string;
3334
+ }>;
3335
+ } | {
3336
+ data: Array<string>;
3358
3337
  };
3359
3338
  };
3360
- type PostSpacesResponse = PostSpacesResponses[keyof PostSpacesResponses];
3361
- type DeleteSpacesBySpaceData = {
3362
- body?: never;
3339
+ type GetSpacesBySpaceQueueResponse = GetSpacesBySpaceQueueResponses[keyof GetSpacesBySpaceQueueResponses];
3340
+ type PostSpacesBySpacePostsByPostCommentData = {
3341
+ body: StoreScheduledCommentRequest;
3363
3342
  path: {
3364
3343
  /**
3365
3344
  * The space ID
3366
3345
  */
3367
3346
  space: number;
3347
+ /**
3348
+ * The post ID
3349
+ */
3350
+ post: number;
3368
3351
  };
3369
3352
  query?: never;
3370
- url: '/spaces/{space}';
3353
+ url: '/spaces/{space}/posts/{post}/comment';
3371
3354
  };
3372
- type DeleteSpacesBySpaceErrors = {
3355
+ type PostSpacesBySpacePostsByPostCommentErrors = {
3373
3356
  /**
3374
3357
  * Unauthenticated
3375
3358
  */
@@ -3397,26 +3380,50 @@ type DeleteSpacesBySpaceErrors = {
3397
3380
  */
3398
3381
  message: string;
3399
3382
  };
3383
+ /**
3384
+ * Validation error
3385
+ */
3386
+ 422: {
3387
+ /**
3388
+ * Errors overview.
3389
+ */
3390
+ message: string;
3391
+ /**
3392
+ * A detailed description of each field that failed validation.
3393
+ */
3394
+ errors: {
3395
+ [key: string]: Array<string>;
3396
+ };
3397
+ };
3400
3398
  };
3401
- type DeleteSpacesBySpaceError = DeleteSpacesBySpaceErrors[keyof DeleteSpacesBySpaceErrors];
3402
- type DeleteSpacesBySpaceResponses = {
3399
+ type PostSpacesBySpacePostsByPostCommentError = PostSpacesBySpacePostsByPostCommentErrors[keyof PostSpacesBySpacePostsByPostCommentErrors];
3400
+ type PostSpacesBySpacePostsByPostCommentResponses = {
3401
+ /**
3402
+ * `ScheduledCommentResource`
3403
+ */
3403
3404
  200: {
3405
+ data: ScheduledCommentResource;
3406
+ } | {
3404
3407
  [key: string]: unknown;
3405
3408
  };
3406
3409
  };
3407
- type DeleteSpacesBySpaceResponse = DeleteSpacesBySpaceResponses[keyof DeleteSpacesBySpaceResponses];
3408
- type GetSpacesBySpaceData = {
3410
+ type PostSpacesBySpacePostsByPostCommentResponse = PostSpacesBySpacePostsByPostCommentResponses[keyof PostSpacesBySpacePostsByPostCommentResponses];
3411
+ type DeleteSpacesBySpaceCommentsByScheduledCommentData = {
3409
3412
  body?: never;
3410
3413
  path: {
3411
3414
  /**
3412
3415
  * The space ID
3413
3416
  */
3414
3417
  space: number;
3418
+ /**
3419
+ * The scheduled comment ID
3420
+ */
3421
+ scheduledComment: number;
3415
3422
  };
3416
3423
  query?: never;
3417
- url: '/spaces/{space}';
3424
+ url: '/spaces/{space}/comments/{scheduledComment}';
3418
3425
  };
3419
- type GetSpacesBySpaceErrors = {
3426
+ type DeleteSpacesBySpaceCommentsByScheduledCommentErrors = {
3420
3427
  /**
3421
3428
  * Unauthenticated
3422
3429
  */
@@ -3444,29 +3451,39 @@ type GetSpacesBySpaceErrors = {
3444
3451
  */
3445
3452
  message: string;
3446
3453
  };
3447
- };
3448
- type GetSpacesBySpaceError = GetSpacesBySpaceErrors[keyof GetSpacesBySpaceErrors];
3449
- type GetSpacesBySpaceResponses = {
3450
3454
  /**
3451
- * `SpaceResource`
3455
+ * An error
3452
3456
  */
3457
+ 422: {
3458
+ /**
3459
+ * Error overview.
3460
+ */
3461
+ message: string;
3462
+ };
3463
+ };
3464
+ type DeleteSpacesBySpaceCommentsByScheduledCommentError = DeleteSpacesBySpaceCommentsByScheduledCommentErrors[keyof DeleteSpacesBySpaceCommentsByScheduledCommentErrors];
3465
+ type DeleteSpacesBySpaceCommentsByScheduledCommentResponses = {
3453
3466
  200: {
3454
- data: SpaceResource;
3467
+ [key: string]: unknown;
3455
3468
  };
3456
3469
  };
3457
- type GetSpacesBySpaceResponse = GetSpacesBySpaceResponses[keyof GetSpacesBySpaceResponses];
3458
- type PutSpacesBySpaceData = {
3459
- body?: UpdateSpaceRequest;
3470
+ type DeleteSpacesBySpaceCommentsByScheduledCommentResponse = DeleteSpacesBySpaceCommentsByScheduledCommentResponses[keyof DeleteSpacesBySpaceCommentsByScheduledCommentResponses];
3471
+ type PutSpacesBySpaceCommentsByScheduledCommentData = {
3472
+ body?: UpdateScheduledCommentRequest;
3460
3473
  path: {
3461
3474
  /**
3462
3475
  * The space ID
3463
3476
  */
3464
3477
  space: number;
3478
+ /**
3479
+ * The scheduled comment ID
3480
+ */
3481
+ scheduledComment: number;
3465
3482
  };
3466
3483
  query?: never;
3467
- url: '/spaces/{space}';
3484
+ url: '/spaces/{space}/comments/{scheduledComment}';
3468
3485
  };
3469
- type PutSpacesBySpaceErrors = {
3486
+ type PutSpacesBySpaceCommentsByScheduledCommentErrors = {
3470
3487
  /**
3471
3488
  * Unauthenticated
3472
3489
  */
@@ -3510,19 +3527,46 @@ type PutSpacesBySpaceErrors = {
3510
3527
  };
3511
3528
  };
3512
3529
  };
3513
- type PutSpacesBySpaceError = PutSpacesBySpaceErrors[keyof PutSpacesBySpaceErrors];
3514
- type PutSpacesBySpaceResponses = {
3530
+ type PutSpacesBySpaceCommentsByScheduledCommentError = PutSpacesBySpaceCommentsByScheduledCommentErrors[keyof PutSpacesBySpaceCommentsByScheduledCommentErrors];
3531
+ type PutSpacesBySpaceCommentsByScheduledCommentResponses = {
3515
3532
  /**
3516
- * `SpaceResource`
3533
+ * `ScheduledCommentResource`
3517
3534
  */
3518
3535
  200: {
3519
- data: SpaceResource;
3536
+ data: ScheduledCommentResource;
3520
3537
  } | {
3521
3538
  [key: string]: unknown;
3522
3539
  };
3523
3540
  };
3524
- type PutSpacesBySpaceResponse = PutSpacesBySpaceResponses[keyof PutSpacesBySpaceResponses];
3525
- type GetSpacesBySpaceInvitationsData = {
3541
+ type PutSpacesBySpaceCommentsByScheduledCommentResponse = PutSpacesBySpaceCommentsByScheduledCommentResponses[keyof PutSpacesBySpaceCommentsByScheduledCommentResponses];
3542
+ type GetSessionData = {
3543
+ body?: never;
3544
+ path?: never;
3545
+ query?: never;
3546
+ url: '/session';
3547
+ };
3548
+ type GetSessionErrors = {
3549
+ /**
3550
+ * Unauthenticated
3551
+ */
3552
+ 401: {
3553
+ /**
3554
+ * Error overview.
3555
+ */
3556
+ message: string;
3557
+ };
3558
+ };
3559
+ type GetSessionError = GetSessionErrors[keyof GetSessionErrors];
3560
+ type GetSessionResponses = {
3561
+ /**
3562
+ * `SessionResource`
3563
+ */
3564
+ 200: {
3565
+ data: SessionResource;
3566
+ };
3567
+ };
3568
+ type GetSessionResponse = GetSessionResponses[keyof GetSessionResponses];
3569
+ type GetSpacesBySpaceSlotsData = {
3526
3570
  body?: never;
3527
3571
  path: {
3528
3572
  /**
@@ -3531,9 +3575,9 @@ type GetSpacesBySpaceInvitationsData = {
3531
3575
  space: number;
3532
3576
  };
3533
3577
  query?: never;
3534
- url: '/spaces/{space}/invitations';
3578
+ url: '/spaces/{space}/slots';
3535
3579
  };
3536
- type GetSpacesBySpaceInvitationsErrors = {
3580
+ type GetSpacesBySpaceSlotsErrors = {
3537
3581
  /**
3538
3582
  * Unauthenticated
3539
3583
  */
@@ -3562,18 +3606,18 @@ type GetSpacesBySpaceInvitationsErrors = {
3562
3606
  message: string;
3563
3607
  };
3564
3608
  };
3565
- type GetSpacesBySpaceInvitationsError = GetSpacesBySpaceInvitationsErrors[keyof GetSpacesBySpaceInvitationsErrors];
3566
- type GetSpacesBySpaceInvitationsResponses = {
3609
+ type GetSpacesBySpaceSlotsError = GetSpacesBySpaceSlotsErrors[keyof GetSpacesBySpaceSlotsErrors];
3610
+ type GetSpacesBySpaceSlotsResponses = {
3567
3611
  /**
3568
- * Array of `SpaceInvitationResource`
3612
+ * Array of `SlotResource`
3569
3613
  */
3570
3614
  200: {
3571
- data: Array<SpaceInvitationResource>;
3615
+ data: Array<SlotResource>;
3572
3616
  };
3573
3617
  };
3574
- type GetSpacesBySpaceInvitationsResponse = GetSpacesBySpaceInvitationsResponses[keyof GetSpacesBySpaceInvitationsResponses];
3575
- type PostSpacesBySpaceInvitationsData = {
3576
- body: StoreSpaceInvitationRequest;
3618
+ type GetSpacesBySpaceSlotsResponse = GetSpacesBySpaceSlotsResponses[keyof GetSpacesBySpaceSlotsResponses];
3619
+ type PostSpacesBySpaceSlotsData = {
3620
+ body: StoreSlotRequest;
3577
3621
  path: {
3578
3622
  /**
3579
3623
  * The space ID
@@ -3581,9 +3625,9 @@ type PostSpacesBySpaceInvitationsData = {
3581
3625
  space: number;
3582
3626
  };
3583
3627
  query?: never;
3584
- url: '/spaces/{space}/invitations';
3628
+ url: '/spaces/{space}/slots';
3585
3629
  };
3586
- type PostSpacesBySpaceInvitationsErrors = {
3630
+ type PostSpacesBySpaceSlotsErrors = {
3587
3631
  /**
3588
3632
  * Unauthenticated
3589
3633
  */
@@ -3627,14 +3671,14 @@ type PostSpacesBySpaceInvitationsErrors = {
3627
3671
  };
3628
3672
  };
3629
3673
  };
3630
- type PostSpacesBySpaceInvitationsError = PostSpacesBySpaceInvitationsErrors[keyof PostSpacesBySpaceInvitationsErrors];
3631
- type PostSpacesBySpaceInvitationsResponses = {
3674
+ type PostSpacesBySpaceSlotsError = PostSpacesBySpaceSlotsErrors[keyof PostSpacesBySpaceSlotsErrors];
3675
+ type PostSpacesBySpaceSlotsResponses = {
3632
3676
  200: {
3633
3677
  [key: string]: unknown;
3634
3678
  };
3635
3679
  };
3636
- type PostSpacesBySpaceInvitationsResponse = PostSpacesBySpaceInvitationsResponses[keyof PostSpacesBySpaceInvitationsResponses];
3637
- type DeleteSpacesBySpaceInvitationsByInvitationData = {
3680
+ type PostSpacesBySpaceSlotsResponse = PostSpacesBySpaceSlotsResponses[keyof PostSpacesBySpaceSlotsResponses];
3681
+ type DeleteSpacesBySpaceSlotsBySlotData = {
3638
3682
  body?: never;
3639
3683
  path: {
3640
3684
  /**
@@ -3642,14 +3686,14 @@ type DeleteSpacesBySpaceInvitationsByInvitationData = {
3642
3686
  */
3643
3687
  space: number;
3644
3688
  /**
3645
- * The invitation ID
3689
+ * The slot ID
3646
3690
  */
3647
- invitation: number;
3691
+ slot: number;
3648
3692
  };
3649
3693
  query?: never;
3650
- url: '/spaces/{space}/invitations/{invitation}';
3694
+ url: '/spaces/{space}/slots/{slot}';
3651
3695
  };
3652
- type DeleteSpacesBySpaceInvitationsByInvitationErrors = {
3696
+ type DeleteSpacesBySpaceSlotsBySlotErrors = {
3653
3697
  /**
3654
3698
  * Unauthenticated
3655
3699
  */
@@ -3678,29 +3722,47 @@ type DeleteSpacesBySpaceInvitationsByInvitationErrors = {
3678
3722
  message: string;
3679
3723
  };
3680
3724
  };
3681
- type DeleteSpacesBySpaceInvitationsByInvitationError = DeleteSpacesBySpaceInvitationsByInvitationErrors[keyof DeleteSpacesBySpaceInvitationsByInvitationErrors];
3682
- type DeleteSpacesBySpaceInvitationsByInvitationResponses = {
3725
+ type DeleteSpacesBySpaceSlotsBySlotError = DeleteSpacesBySpaceSlotsBySlotErrors[keyof DeleteSpacesBySpaceSlotsBySlotErrors];
3726
+ type DeleteSpacesBySpaceSlotsBySlotResponses = {
3683
3727
  200: {
3684
3728
  [key: string]: unknown;
3685
3729
  };
3686
3730
  };
3687
- type DeleteSpacesBySpaceInvitationsByInvitationResponse = DeleteSpacesBySpaceInvitationsByInvitationResponses[keyof DeleteSpacesBySpaceInvitationsByInvitationResponses];
3688
- type PostSpacesBySpaceInvitationsByInvitationResendData = {
3731
+ type DeleteSpacesBySpaceSlotsBySlotResponse = DeleteSpacesBySpaceSlotsBySlotResponses[keyof DeleteSpacesBySpaceSlotsBySlotResponses];
3732
+ type GetSpacesData = {
3689
3733
  body?: never;
3690
- path: {
3691
- /**
3692
- * The space ID
3693
- */
3694
- space: number;
3734
+ path?: never;
3735
+ query?: never;
3736
+ url: '/spaces';
3737
+ };
3738
+ type GetSpacesErrors = {
3739
+ /**
3740
+ * Unauthenticated
3741
+ */
3742
+ 401: {
3695
3743
  /**
3696
- * The invitation ID
3744
+ * Error overview.
3697
3745
  */
3698
- invitation: number;
3746
+ message: string;
3747
+ };
3748
+ };
3749
+ type GetSpacesError = GetSpacesErrors[keyof GetSpacesErrors];
3750
+ type GetSpacesResponses = {
3751
+ /**
3752
+ * Array of `SpaceResource`
3753
+ */
3754
+ 200: {
3755
+ data: Array<SpaceResource>;
3699
3756
  };
3757
+ };
3758
+ type GetSpacesResponse = GetSpacesResponses[keyof GetSpacesResponses];
3759
+ type PostSpacesData = {
3760
+ body: StoreSpaceRequest;
3761
+ path?: never;
3700
3762
  query?: never;
3701
- url: '/spaces/{space}/invitations/{invitation}/resend';
3763
+ url: '/spaces';
3702
3764
  };
3703
- type PostSpacesBySpaceInvitationsByInvitationResendErrors = {
3765
+ type PostSpacesErrors = {
3704
3766
  /**
3705
3767
  * Unauthenticated
3706
3768
  */
@@ -3720,28 +3782,29 @@ type PostSpacesBySpaceInvitationsByInvitationResendErrors = {
3720
3782
  message: string;
3721
3783
  };
3722
3784
  /**
3723
- * Not found
3785
+ * Validation error
3724
3786
  */
3725
- 404: {
3787
+ 422: {
3726
3788
  /**
3727
- * Error overview.
3789
+ * Errors overview.
3728
3790
  */
3729
3791
  message: string;
3792
+ /**
3793
+ * A detailed description of each field that failed validation.
3794
+ */
3795
+ errors: {
3796
+ [key: string]: Array<string>;
3797
+ };
3730
3798
  };
3731
3799
  };
3732
- type PostSpacesBySpaceInvitationsByInvitationResendError = PostSpacesBySpaceInvitationsByInvitationResendErrors[keyof PostSpacesBySpaceInvitationsByInvitationResendErrors];
3733
- type PostSpacesBySpaceInvitationsByInvitationResendResponses = {
3734
- /**
3735
- * `SpaceInvitationResource`
3736
- */
3800
+ type PostSpacesError = PostSpacesErrors[keyof PostSpacesErrors];
3801
+ type PostSpacesResponses = {
3737
3802
  200: {
3738
3803
  [key: string]: unknown;
3739
- } | {
3740
- data: SpaceInvitationResource;
3741
3804
  };
3742
3805
  };
3743
- type PostSpacesBySpaceInvitationsByInvitationResendResponse = PostSpacesBySpaceInvitationsByInvitationResendResponses[keyof PostSpacesBySpaceInvitationsByInvitationResendResponses];
3744
- type GetSpacesBySpaceMembersData = {
3806
+ type PostSpacesResponse = PostSpacesResponses[keyof PostSpacesResponses];
3807
+ type DeleteSpacesBySpaceData = {
3745
3808
  body?: never;
3746
3809
  path: {
3747
3810
  /**
@@ -3750,9 +3813,9 @@ type GetSpacesBySpaceMembersData = {
3750
3813
  space: number;
3751
3814
  };
3752
3815
  query?: never;
3753
- url: '/spaces/{space}/members';
3816
+ url: '/spaces/{space}';
3754
3817
  };
3755
- type GetSpacesBySpaceMembersErrors = {
3818
+ type DeleteSpacesBySpaceErrors = {
3756
3819
  /**
3757
3820
  * Unauthenticated
3758
3821
  */
@@ -3781,32 +3844,25 @@ type GetSpacesBySpaceMembersErrors = {
3781
3844
  message: string;
3782
3845
  };
3783
3846
  };
3784
- type GetSpacesBySpaceMembersError = GetSpacesBySpaceMembersErrors[keyof GetSpacesBySpaceMembersErrors];
3785
- type GetSpacesBySpaceMembersResponses = {
3786
- /**
3787
- * Array of `SpaceMemberResource`
3788
- */
3847
+ type DeleteSpacesBySpaceError = DeleteSpacesBySpaceErrors[keyof DeleteSpacesBySpaceErrors];
3848
+ type DeleteSpacesBySpaceResponses = {
3789
3849
  200: {
3790
- data: Array<SpaceMemberResource>;
3850
+ [key: string]: unknown;
3791
3851
  };
3792
3852
  };
3793
- type GetSpacesBySpaceMembersResponse = GetSpacesBySpaceMembersResponses[keyof GetSpacesBySpaceMembersResponses];
3794
- type DeleteSpacesBySpaceMembersByUserData = {
3853
+ type DeleteSpacesBySpaceResponse = DeleteSpacesBySpaceResponses[keyof DeleteSpacesBySpaceResponses];
3854
+ type GetSpacesBySpaceData = {
3795
3855
  body?: never;
3796
3856
  path: {
3797
3857
  /**
3798
3858
  * The space ID
3799
3859
  */
3800
3860
  space: number;
3801
- /**
3802
- * The user ID
3803
- */
3804
- user: number;
3805
3861
  };
3806
3862
  query?: never;
3807
- url: '/spaces/{space}/members/{user}';
3863
+ url: '/spaces/{space}';
3808
3864
  };
3809
- type DeleteSpacesBySpaceMembersByUserErrors = {
3865
+ type GetSpacesBySpaceErrors = {
3810
3866
  /**
3811
3867
  * Unauthenticated
3812
3868
  */
@@ -3835,29 +3891,28 @@ type DeleteSpacesBySpaceMembersByUserErrors = {
3835
3891
  message: string;
3836
3892
  };
3837
3893
  };
3838
- type DeleteSpacesBySpaceMembersByUserError = DeleteSpacesBySpaceMembersByUserErrors[keyof DeleteSpacesBySpaceMembersByUserErrors];
3839
- type DeleteSpacesBySpaceMembersByUserResponses = {
3894
+ type GetSpacesBySpaceError = GetSpacesBySpaceErrors[keyof GetSpacesBySpaceErrors];
3895
+ type GetSpacesBySpaceResponses = {
3896
+ /**
3897
+ * `SpaceResource`
3898
+ */
3840
3899
  200: {
3841
- [key: string]: unknown;
3900
+ data: SpaceResource;
3842
3901
  };
3843
3902
  };
3844
- type DeleteSpacesBySpaceMembersByUserResponse = DeleteSpacesBySpaceMembersByUserResponses[keyof DeleteSpacesBySpaceMembersByUserResponses];
3845
- type PatchSpacesBySpaceMembersByUserData = {
3846
- body: UpdateSpaceMemberRequest;
3903
+ type GetSpacesBySpaceResponse = GetSpacesBySpaceResponses[keyof GetSpacesBySpaceResponses];
3904
+ type PutSpacesBySpaceData = {
3905
+ body?: UpdateSpaceRequest;
3847
3906
  path: {
3848
3907
  /**
3849
3908
  * The space ID
3850
3909
  */
3851
3910
  space: number;
3852
- /**
3853
- * The user ID
3854
- */
3855
- user: number;
3856
3911
  };
3857
3912
  query?: never;
3858
- url: '/spaces/{space}/members/{user}';
3913
+ url: '/spaces/{space}';
3859
3914
  };
3860
- type PatchSpacesBySpaceMembersByUserErrors = {
3915
+ type PutSpacesBySpaceErrors = {
3861
3916
  /**
3862
3917
  * Unauthenticated
3863
3918
  */
@@ -3901,60 +3956,18 @@ type PatchSpacesBySpaceMembersByUserErrors = {
3901
3956
  };
3902
3957
  };
3903
3958
  };
3904
- type PatchSpacesBySpaceMembersByUserError = PatchSpacesBySpaceMembersByUserErrors[keyof PatchSpacesBySpaceMembersByUserErrors];
3905
- type PatchSpacesBySpaceMembersByUserResponses = {
3906
- 200: {
3907
- [key: string]: unknown;
3908
- };
3909
- };
3910
- type PatchSpacesBySpaceMembersByUserResponse = PatchSpacesBySpaceMembersByUserResponses[keyof PatchSpacesBySpaceMembersByUserResponses];
3911
- type PostSpacesBySpaceMembersLeaveData = {
3912
- body?: never;
3913
- path: {
3914
- /**
3915
- * The space ID
3916
- */
3917
- space: number;
3918
- };
3919
- query?: never;
3920
- url: '/spaces/{space}/members/leave';
3921
- };
3922
- type PostSpacesBySpaceMembersLeaveErrors = {
3923
- /**
3924
- * Unauthenticated
3925
- */
3926
- 401: {
3927
- /**
3928
- * Error overview.
3929
- */
3930
- message: string;
3931
- };
3932
- /**
3933
- * Authorization error
3934
- */
3935
- 403: {
3936
- /**
3937
- * Error overview.
3938
- */
3939
- message: string;
3940
- };
3959
+ type PutSpacesBySpaceError = PutSpacesBySpaceErrors[keyof PutSpacesBySpaceErrors];
3960
+ type PutSpacesBySpaceResponses = {
3941
3961
  /**
3942
- * Not found
3962
+ * `SpaceResource`
3943
3963
  */
3944
- 404: {
3945
- /**
3946
- * Error overview.
3947
- */
3948
- message: string;
3949
- };
3950
- };
3951
- type PostSpacesBySpaceMembersLeaveError = PostSpacesBySpaceMembersLeaveErrors[keyof PostSpacesBySpaceMembersLeaveErrors];
3952
- type PostSpacesBySpaceMembersLeaveResponses = {
3953
3964
  200: {
3965
+ data: SpaceResource;
3966
+ } | {
3954
3967
  [key: string]: unknown;
3955
3968
  };
3956
3969
  };
3957
- type PostSpacesBySpaceMembersLeaveResponse = PostSpacesBySpaceMembersLeaveResponses[keyof PostSpacesBySpaceMembersLeaveResponses];
3970
+ type PutSpacesBySpaceResponse = PutSpacesBySpaceResponses[keyof PutSpacesBySpaceResponses];
3958
3971
  type GetSubscriptionData = {
3959
3972
  body?: never;
3960
3973
  path?: never;
@@ -4441,6 +4454,48 @@ declare class Media extends HeyApiClient {
4441
4454
  */
4442
4455
  sign<ThrowOnError extends boolean = false>(options: Options<PostMediaSignData, ThrowOnError>): RequestResult<PostMediaSignResponses, PostMediaSignErrors, ThrowOnError, "fields">;
4443
4456
  }
4457
+ declare class Invitations extends HeyApiClient {
4458
+ /**
4459
+ * List pending invitations for an organization
4460
+ */
4461
+ list<ThrowOnError extends boolean = false>(options: Options<GetOrganizationsByOrganizationInvitationsData, ThrowOnError>): RequestResult<GetOrganizationsByOrganizationInvitationsResponses, GetOrganizationsByOrganizationInvitationsErrors, ThrowOnError, "fields">;
4462
+ /**
4463
+ * Send an invitation
4464
+ */
4465
+ create<ThrowOnError extends boolean = false>(options: Options<PostOrganizationsByOrganizationInvitationsData, ThrowOnError>): RequestResult<PostOrganizationsByOrganizationInvitationsResponses, PostOrganizationsByOrganizationInvitationsErrors, ThrowOnError, "fields">;
4466
+ /**
4467
+ * Revoke a pending invitation
4468
+ */
4469
+ delete<ThrowOnError extends boolean = false>(options: Options<DeleteOrganizationsByOrganizationInvitationsByInvitationData, ThrowOnError>): RequestResult<DeleteOrganizationsByOrganizationInvitationsByInvitationResponses, DeleteOrganizationsByOrganizationInvitationsByInvitationErrors, ThrowOnError, "fields">;
4470
+ /**
4471
+ * Regenerate token + expiry and resend the invitation email
4472
+ */
4473
+ resend<ThrowOnError extends boolean = false>(options: Options<PostOrganizationsByOrganizationInvitationsByInvitationResendData, ThrowOnError>): RequestResult<PostOrganizationsByOrganizationInvitationsByInvitationResendResponses, PostOrganizationsByOrganizationInvitationsByInvitationResendErrors, ThrowOnError, "fields">;
4474
+ }
4475
+ declare class Members extends HeyApiClient {
4476
+ /**
4477
+ * List members of an organization
4478
+ */
4479
+ list<ThrowOnError extends boolean = false>(options: Options<GetOrganizationsByOrganizationMembersData, ThrowOnError>): RequestResult<GetOrganizationsByOrganizationMembersResponses, GetOrganizationsByOrganizationMembersErrors, ThrowOnError, "fields">;
4480
+ /**
4481
+ * The authenticated user leaves the organization
4482
+ */
4483
+ leave<ThrowOnError extends boolean = false>(options: Options<PostOrganizationsByOrganizationMembersLeaveData, ThrowOnError>): RequestResult<PostOrganizationsByOrganizationMembersLeaveResponses, PostOrganizationsByOrganizationMembersLeaveErrors, ThrowOnError, "fields">;
4484
+ /**
4485
+ * Remove a member, and with them their access to every space
4486
+ */
4487
+ delete<ThrowOnError extends boolean = false>(options: Options<DeleteOrganizationsByOrganizationMembersByUserData, ThrowOnError>): RequestResult<DeleteOrganizationsByOrganizationMembersByUserResponses, DeleteOrganizationsByOrganizationMembersByUserErrors, ThrowOnError, "fields">;
4488
+ /**
4489
+ * Update a member's permissions across the organization
4490
+ */
4491
+ update<ThrowOnError extends boolean = false>(options: Options<PatchOrganizationsByOrganizationMembersByUserData, ThrowOnError>): RequestResult<PatchOrganizationsByOrganizationMembersByUserResponses, PatchOrganizationsByOrganizationMembersByUserErrors, ThrowOnError, "fields">;
4492
+ }
4493
+ declare class Organizations extends HeyApiClient {
4494
+ private _invitations?;
4495
+ get invitations(): Invitations;
4496
+ private _members?;
4497
+ get members(): Members;
4498
+ }
4444
4499
  declare class Comment extends HeyApiClient {
4445
4500
  /**
4446
4501
  * Attach a follow-up comment to an existing post. If the post has already
@@ -4551,42 +4606,6 @@ declare class Spaces extends HeyApiClient {
4551
4606
  */
4552
4607
  update<ThrowOnError extends boolean = false>(options: Options<PutSpacesBySpaceData, ThrowOnError>): RequestResult<PutSpacesBySpaceResponses, PutSpacesBySpaceErrors, ThrowOnError, "fields">;
4553
4608
  }
4554
- declare class Invitations extends HeyApiClient {
4555
- /**
4556
- * List pending invitations for a space
4557
- */
4558
- list<ThrowOnError extends boolean = false>(options: Options<GetSpacesBySpaceInvitationsData, ThrowOnError>): RequestResult<GetSpacesBySpaceInvitationsResponses, GetSpacesBySpaceInvitationsErrors, ThrowOnError, "fields">;
4559
- /**
4560
- * Send an invitation
4561
- */
4562
- create<ThrowOnError extends boolean = false>(options: Options<PostSpacesBySpaceInvitationsData, ThrowOnError>): RequestResult<PostSpacesBySpaceInvitationsResponses, PostSpacesBySpaceInvitationsErrors, ThrowOnError, "fields">;
4563
- /**
4564
- * Revoke a pending invitation
4565
- */
4566
- delete<ThrowOnError extends boolean = false>(options: Options<DeleteSpacesBySpaceInvitationsByInvitationData, ThrowOnError>): RequestResult<DeleteSpacesBySpaceInvitationsByInvitationResponses, DeleteSpacesBySpaceInvitationsByInvitationErrors, ThrowOnError, "fields">;
4567
- /**
4568
- * Regenerate token + expiry and resend the invitation email
4569
- */
4570
- resend<ThrowOnError extends boolean = false>(options: Options<PostSpacesBySpaceInvitationsByInvitationResendData, ThrowOnError>): RequestResult<PostSpacesBySpaceInvitationsByInvitationResendResponses, PostSpacesBySpaceInvitationsByInvitationResendErrors, ThrowOnError, "fields">;
4571
- }
4572
- declare class Members extends HeyApiClient {
4573
- /**
4574
- * List members of a space
4575
- */
4576
- list<ThrowOnError extends boolean = false>(options: Options<GetSpacesBySpaceMembersData, ThrowOnError>): RequestResult<GetSpacesBySpaceMembersResponses, GetSpacesBySpaceMembersErrors, ThrowOnError, "fields">;
4577
- /**
4578
- * Remove a member from a space
4579
- */
4580
- delete<ThrowOnError extends boolean = false>(options: Options<DeleteSpacesBySpaceMembersByUserData, ThrowOnError>): RequestResult<DeleteSpacesBySpaceMembersByUserResponses, DeleteSpacesBySpaceMembersByUserErrors, ThrowOnError, "fields">;
4581
- /**
4582
- * Update a member's permissions
4583
- */
4584
- update<ThrowOnError extends boolean = false>(options: Options<PatchSpacesBySpaceMembersByUserData, ThrowOnError>): RequestResult<PatchSpacesBySpaceMembersByUserResponses, PatchSpacesBySpaceMembersByUserErrors, ThrowOnError, "fields">;
4585
- /**
4586
- * The authenticated user leaves the space
4587
- */
4588
- leave<ThrowOnError extends boolean = false>(options: Options<PostSpacesBySpaceMembersLeaveData, ThrowOnError>): RequestResult<PostSpacesBySpaceMembersLeaveResponses, PostSpacesBySpaceMembersLeaveErrors, ThrowOnError, "fields">;
4589
- }
4590
4609
  declare class Subscription extends HeyApiClient {
4591
4610
  /**
4592
4611
  * Get subscription details
@@ -4644,6 +4663,8 @@ declare class ZilfuApi extends HeyApiClient {
4644
4663
  get health(): Health;
4645
4664
  private _media?;
4646
4665
  get media(): Media;
4666
+ private _organizations?;
4667
+ get organizations(): Organizations;
4647
4668
  private _posts?;
4648
4669
  get posts(): Posts;
4649
4670
  private _queue?;
@@ -4656,10 +4677,6 @@ declare class ZilfuApi extends HeyApiClient {
4656
4677
  get slots(): Slots;
4657
4678
  private _spaces?;
4658
4679
  get spaces(): Spaces;
4659
- private _invitations?;
4660
- get invitations(): Invitations;
4661
- private _members?;
4662
- get members(): Members;
4663
4680
  private _subscription?;
4664
4681
  get subscription(): Subscription;
4665
4682
  private _webhooks?;
@@ -4696,4 +4713,4 @@ declare class ZilfuApiError extends Error {
4696
4713
  constructor(init: ZilfuApiErrorInit);
4697
4714
  }
4698
4715
 
4699
- export { type AccountPostsResource, type AccountReportResource, type AccountReportSummaryResource, type AccountResource, type BioBlockResource, type BioPageResource, type ClientOptions, type CreateZilfuClientOptions, type DeleteApiTokensByTokenIdData, type DeleteApiTokensByTokenIdError, type DeleteApiTokensByTokenIdErrors, type DeleteApiTokensByTokenIdResponses, type DeleteSpacesBySpaceAccountsByAccountData, type DeleteSpacesBySpaceAccountsByAccountError, type DeleteSpacesBySpaceAccountsByAccountErrors, type DeleteSpacesBySpaceAccountsByAccountResponse, type DeleteSpacesBySpaceAccountsByAccountResponses, type DeleteSpacesBySpaceBioBlocksByBlockData, type DeleteSpacesBySpaceBioBlocksByBlockError, type DeleteSpacesBySpaceBioBlocksByBlockErrors, type DeleteSpacesBySpaceBioBlocksByBlockResponse, type DeleteSpacesBySpaceBioBlocksByBlockResponses, type DeleteSpacesBySpaceCommentsByScheduledCommentData, type DeleteSpacesBySpaceCommentsByScheduledCommentError, type DeleteSpacesBySpaceCommentsByScheduledCommentErrors, type DeleteSpacesBySpaceCommentsByScheduledCommentResponse, type DeleteSpacesBySpaceCommentsByScheduledCommentResponses, type DeleteSpacesBySpaceData, type DeleteSpacesBySpaceError, type DeleteSpacesBySpaceErrors, type DeleteSpacesBySpaceInvitationsByInvitationData, type DeleteSpacesBySpaceInvitationsByInvitationError, type DeleteSpacesBySpaceInvitationsByInvitationErrors, type DeleteSpacesBySpaceInvitationsByInvitationResponse, type DeleteSpacesBySpaceInvitationsByInvitationResponses, type DeleteSpacesBySpaceMediaByMediaData, type DeleteSpacesBySpaceMediaByMediaError, type DeleteSpacesBySpaceMediaByMediaErrors, type DeleteSpacesBySpaceMediaByMediaResponse, type DeleteSpacesBySpaceMediaByMediaResponses, type DeleteSpacesBySpaceMembersByUserData, type DeleteSpacesBySpaceMembersByUserError, type DeleteSpacesBySpaceMembersByUserErrors, type DeleteSpacesBySpaceMembersByUserResponse, type DeleteSpacesBySpaceMembersByUserResponses, type DeleteSpacesBySpacePostsByPostData, type DeleteSpacesBySpacePostsByPostError, type DeleteSpacesBySpacePostsByPostErrors, type DeleteSpacesBySpacePostsByPostResponse, type DeleteSpacesBySpacePostsByPostResponses, type DeleteSpacesBySpaceResponse, type DeleteSpacesBySpaceResponses, type DeleteSpacesBySpaceSlotsBySlotData, type DeleteSpacesBySpaceSlotsBySlotError, type DeleteSpacesBySpaceSlotsBySlotErrors, type DeleteSpacesBySpaceSlotsBySlotResponse, type DeleteSpacesBySpaceSlotsBySlotResponses, type DeleteSpacesBySpaceWebhooksByWebhookData, type DeleteSpacesBySpaceWebhooksByWebhookError, type DeleteSpacesBySpaceWebhooksByWebhookErrors, type DeleteSpacesBySpaceWebhooksByWebhookResponse, type DeleteSpacesBySpaceWebhooksByWebhookResponses, type GetHealthData, type GetHealthError, type GetHealthErrors, type GetHealthResponse, type GetHealthResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsData, type GetSpacesBySpaceAccountsByAccountAnalyticsError, type GetSpacesBySpaceAccountsByAccountAnalyticsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsData, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsError, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsResponses, type GetSpacesBySpaceAccountsByAccountBoardsData, type GetSpacesBySpaceAccountsByAccountBoardsError, type GetSpacesBySpaceAccountsByAccountBoardsErrors, type GetSpacesBySpaceAccountsByAccountBoardsResponse, type GetSpacesBySpaceAccountsByAccountBoardsResponses, type GetSpacesBySpaceAccountsData, type GetSpacesBySpaceAccountsError, type GetSpacesBySpaceAccountsErrors, type GetSpacesBySpaceAccountsResponse, type GetSpacesBySpaceAccountsResponses, type GetSpacesBySpaceAnalyticsData, type GetSpacesBySpaceAnalyticsError, type GetSpacesBySpaceAnalyticsErrors, type GetSpacesBySpaceAnalyticsResponse, type GetSpacesBySpaceAnalyticsResponses, type GetSpacesBySpaceBioBlocksData, type GetSpacesBySpaceBioBlocksError, type GetSpacesBySpaceBioBlocksErrors, type GetSpacesBySpaceBioBlocksResponse, type GetSpacesBySpaceBioBlocksResponses, type GetSpacesBySpaceBioData, type GetSpacesBySpaceBioError, type GetSpacesBySpaceBioErrors, type GetSpacesBySpaceBioResponse, type GetSpacesBySpaceBioResponses, type GetSpacesBySpaceData, type GetSpacesBySpaceError, type GetSpacesBySpaceErrors, type GetSpacesBySpaceInvitationsData, type GetSpacesBySpaceInvitationsError, type GetSpacesBySpaceInvitationsErrors, type GetSpacesBySpaceInvitationsResponse, type GetSpacesBySpaceInvitationsResponses, type GetSpacesBySpaceMediaData, type GetSpacesBySpaceMediaError, type GetSpacesBySpaceMediaErrors, type GetSpacesBySpaceMediaResponse, type GetSpacesBySpaceMediaResponses, type GetSpacesBySpaceMembersData, type GetSpacesBySpaceMembersError, type GetSpacesBySpaceMembersErrors, type GetSpacesBySpaceMembersResponse, type GetSpacesBySpaceMembersResponses, type GetSpacesBySpacePostsByPostData, type GetSpacesBySpacePostsByPostError, type GetSpacesBySpacePostsByPostErrors, type GetSpacesBySpacePostsByPostResponse, type GetSpacesBySpacePostsByPostResponses, type GetSpacesBySpacePostsData, type GetSpacesBySpacePostsError, type GetSpacesBySpacePostsErrors, type GetSpacesBySpacePostsResponse, type GetSpacesBySpacePostsResponses, type GetSpacesBySpaceQueueData, type GetSpacesBySpaceQueueError, type GetSpacesBySpaceQueueErrors, type GetSpacesBySpaceQueueResponse, type GetSpacesBySpaceQueueResponses, type GetSpacesBySpaceResponse, type GetSpacesBySpaceResponses, type GetSpacesBySpaceSlotsData, type GetSpacesBySpaceSlotsError, type GetSpacesBySpaceSlotsErrors, type GetSpacesBySpaceSlotsResponse, type GetSpacesBySpaceSlotsResponses, type GetSpacesBySpaceWebhooksData, type GetSpacesBySpaceWebhooksError, type GetSpacesBySpaceWebhooksErrors, type GetSpacesBySpaceWebhooksResponse, type GetSpacesBySpaceWebhooksResponses, type GetSpacesData, type GetSpacesError, type GetSpacesErrors, type GetSpacesResponse, type GetSpacesResponses, type GetSubscriptionData, type GetSubscriptionError, type GetSubscriptionErrors, type GetSubscriptionResponse, type GetSubscriptionResponses, type IngestMediaRequest, type MediaResource, type PatchSpacesBySpaceMembersByUserData, type PatchSpacesBySpaceMembersByUserError, type PatchSpacesBySpaceMembersByUserErrors, type PatchSpacesBySpaceMembersByUserResponse, type PatchSpacesBySpaceMembersByUserResponses, type PostApiTokensData, type PostApiTokensError, type PostApiTokensErrors, type PostApiTokensResponses, type PostMediaSignData, type PostMediaSignError, type PostMediaSignErrors, type PostMediaSignResponse, type PostMediaSignResponses, type PostResource, type PostReviewResource, type PostSpacesBySpaceBioAvatarData, type PostSpacesBySpaceBioAvatarError, type PostSpacesBySpaceBioAvatarErrors, type PostSpacesBySpaceBioAvatarResponse, type PostSpacesBySpaceBioAvatarResponses, type PostSpacesBySpaceBioBlocksData, type PostSpacesBySpaceBioBlocksError, type PostSpacesBySpaceBioBlocksErrors, type PostSpacesBySpaceBioBlocksReorderData, type PostSpacesBySpaceBioBlocksReorderError, type PostSpacesBySpaceBioBlocksReorderErrors, type PostSpacesBySpaceBioBlocksReorderResponse, type PostSpacesBySpaceBioBlocksReorderResponses, type PostSpacesBySpaceBioBlocksResponse, type PostSpacesBySpaceBioBlocksResponses, type PostSpacesBySpaceBioData, type PostSpacesBySpaceBioError, type PostSpacesBySpaceBioErrors, type PostSpacesBySpaceBioImageData, type PostSpacesBySpaceBioImageError, type PostSpacesBySpaceBioImageErrors, type PostSpacesBySpaceBioImageResponse, type PostSpacesBySpaceBioImageResponses, type PostSpacesBySpaceBioResponse, type PostSpacesBySpaceBioResponses, type PostSpacesBySpaceInvitationsByInvitationResendData, type PostSpacesBySpaceInvitationsByInvitationResendError, type PostSpacesBySpaceInvitationsByInvitationResendErrors, type PostSpacesBySpaceInvitationsByInvitationResendResponse, type PostSpacesBySpaceInvitationsByInvitationResendResponses, type PostSpacesBySpaceInvitationsData, type PostSpacesBySpaceInvitationsError, type PostSpacesBySpaceInvitationsErrors, type PostSpacesBySpaceInvitationsResponse, type PostSpacesBySpaceInvitationsResponses, type PostSpacesBySpaceMediaData, type PostSpacesBySpaceMediaError, type PostSpacesBySpaceMediaErrors, type PostSpacesBySpaceMediaResponse, type PostSpacesBySpaceMediaResponses, type PostSpacesBySpaceMembersLeaveData, type PostSpacesBySpaceMembersLeaveError, type PostSpacesBySpaceMembersLeaveErrors, type PostSpacesBySpaceMembersLeaveResponse, type PostSpacesBySpaceMembersLeaveResponses, type PostSpacesBySpacePostsByPostCommentData, type PostSpacesBySpacePostsByPostCommentError, type PostSpacesBySpacePostsByPostCommentErrors, type PostSpacesBySpacePostsByPostCommentResponse, type PostSpacesBySpacePostsByPostCommentResponses, type PostSpacesBySpacePostsByPostRetryData, type PostSpacesBySpacePostsByPostRetryError, type PostSpacesBySpacePostsByPostRetryErrors, type PostSpacesBySpacePostsByPostRetryResponse, type PostSpacesBySpacePostsByPostRetryResponses, type PostSpacesBySpacePostsData, type PostSpacesBySpacePostsError, type PostSpacesBySpacePostsErrors, type PostSpacesBySpacePostsResponse, type PostSpacesBySpacePostsResponses, type PostSpacesBySpaceSlotsData, type PostSpacesBySpaceSlotsError, type PostSpacesBySpaceSlotsErrors, type PostSpacesBySpaceSlotsResponse, type PostSpacesBySpaceSlotsResponses, type PostSpacesBySpaceWebhooksByWebhookRotateData, type PostSpacesBySpaceWebhooksByWebhookRotateError, type PostSpacesBySpaceWebhooksByWebhookRotateErrors, type PostSpacesBySpaceWebhooksByWebhookRotateResponse, type PostSpacesBySpaceWebhooksByWebhookRotateResponses, type PostSpacesBySpaceWebhooksData, type PostSpacesBySpaceWebhooksError, type PostSpacesBySpaceWebhooksErrors, type PostSpacesBySpaceWebhooksResponse, type PostSpacesBySpaceWebhooksResponses, type PostSpacesData, type PostSpacesError, type PostSpacesErrors, type PostSpacesResponse, type PostSpacesResponses, type PostStatus, type PutSpacesBySpaceBioBlocksByBlockData, type PutSpacesBySpaceBioBlocksByBlockError, type PutSpacesBySpaceBioBlocksByBlockErrors, type PutSpacesBySpaceBioBlocksByBlockResponse, type PutSpacesBySpaceBioBlocksByBlockResponses, type PutSpacesBySpaceBioData, type PutSpacesBySpaceBioError, type PutSpacesBySpaceBioErrors, type PutSpacesBySpaceBioResponse, type PutSpacesBySpaceBioResponses, type PutSpacesBySpaceCommentsByScheduledCommentData, type PutSpacesBySpaceCommentsByScheduledCommentError, type PutSpacesBySpaceCommentsByScheduledCommentErrors, type PutSpacesBySpaceCommentsByScheduledCommentResponse, type PutSpacesBySpaceCommentsByScheduledCommentResponses, type PutSpacesBySpaceData, type PutSpacesBySpaceError, type PutSpacesBySpaceErrors, type PutSpacesBySpacePostsByPostData, type PutSpacesBySpacePostsByPostError, type PutSpacesBySpacePostsByPostErrors, type PutSpacesBySpacePostsByPostResponse, type PutSpacesBySpacePostsByPostResponses, type PutSpacesBySpaceResponse, type PutSpacesBySpaceResponses, type PutSpacesBySpaceWebhooksByWebhookData, type PutSpacesBySpaceWebhooksByWebhookError, type PutSpacesBySpaceWebhooksByWebhookErrors, type PutSpacesBySpaceWebhooksByWebhookResponse, type PutSpacesBySpaceWebhooksByWebhookResponses, type ReviewCommentResource, type ScheduledCommentResource, type ScheduledCommentStatus, type SessionResource, type SignMediaRequest, type SlotResource, type SpaceInvitationResource, type SpaceMemberResource, type SpacePermission, type SpaceResource, type StoreBioBlockRequest, type StoreBioPageRequest, type StorePostRequest, type StoreScheduledCommentRequest, type StoreSlotRequest, type StoreSpaceInvitationRequest, type StoreSpaceRequest, type StoreWebhookRequest, type UpdateBioBlockRequest, type UpdatePostRequest, type UpdateScheduledCommentRequest, type UpdateSpaceMemberRequest, type UpdateSpaceRequest, type UpdateWebhookRequest, type WebhookResource, ZilfuApiError, type ZilfuApiErrorInit, type ZilfuClient, type ZilfuFetch, type ZilfuToken, createZilfuClient };
4716
+ export { type AccountPostsResource, type AccountReportResource, type AccountReportSummaryResource, type AccountResource, type BioBlockResource, type BioPageResource, type ClientOptions, type CreateZilfuClientOptions, type DeleteApiTokensByTokenIdData, type DeleteApiTokensByTokenIdError, type DeleteApiTokensByTokenIdErrors, type DeleteApiTokensByTokenIdResponses, type DeleteOrganizationsByOrganizationInvitationsByInvitationData, type DeleteOrganizationsByOrganizationInvitationsByInvitationError, type DeleteOrganizationsByOrganizationInvitationsByInvitationErrors, type DeleteOrganizationsByOrganizationInvitationsByInvitationResponse, type DeleteOrganizationsByOrganizationInvitationsByInvitationResponses, type DeleteOrganizationsByOrganizationMembersByUserData, type DeleteOrganizationsByOrganizationMembersByUserError, type DeleteOrganizationsByOrganizationMembersByUserErrors, type DeleteOrganizationsByOrganizationMembersByUserResponse, type DeleteOrganizationsByOrganizationMembersByUserResponses, type DeleteSpacesBySpaceAccountsByAccountData, type DeleteSpacesBySpaceAccountsByAccountError, type DeleteSpacesBySpaceAccountsByAccountErrors, type DeleteSpacesBySpaceAccountsByAccountResponse, type DeleteSpacesBySpaceAccountsByAccountResponses, type DeleteSpacesBySpaceBioBlocksByBlockData, type DeleteSpacesBySpaceBioBlocksByBlockError, type DeleteSpacesBySpaceBioBlocksByBlockErrors, type DeleteSpacesBySpaceBioBlocksByBlockResponse, type DeleteSpacesBySpaceBioBlocksByBlockResponses, type DeleteSpacesBySpaceCommentsByScheduledCommentData, type DeleteSpacesBySpaceCommentsByScheduledCommentError, type DeleteSpacesBySpaceCommentsByScheduledCommentErrors, type DeleteSpacesBySpaceCommentsByScheduledCommentResponse, type DeleteSpacesBySpaceCommentsByScheduledCommentResponses, type DeleteSpacesBySpaceData, type DeleteSpacesBySpaceError, type DeleteSpacesBySpaceErrors, type DeleteSpacesBySpaceMediaByMediaData, type DeleteSpacesBySpaceMediaByMediaError, type DeleteSpacesBySpaceMediaByMediaErrors, type DeleteSpacesBySpaceMediaByMediaResponse, type DeleteSpacesBySpaceMediaByMediaResponses, type DeleteSpacesBySpacePostsByPostData, type DeleteSpacesBySpacePostsByPostError, type DeleteSpacesBySpacePostsByPostErrors, type DeleteSpacesBySpacePostsByPostResponse, type DeleteSpacesBySpacePostsByPostResponses, type DeleteSpacesBySpaceResponse, type DeleteSpacesBySpaceResponses, type DeleteSpacesBySpaceSlotsBySlotData, type DeleteSpacesBySpaceSlotsBySlotError, type DeleteSpacesBySpaceSlotsBySlotErrors, type DeleteSpacesBySpaceSlotsBySlotResponse, type DeleteSpacesBySpaceSlotsBySlotResponses, type DeleteSpacesBySpaceWebhooksByWebhookData, type DeleteSpacesBySpaceWebhooksByWebhookError, type DeleteSpacesBySpaceWebhooksByWebhookErrors, type DeleteSpacesBySpaceWebhooksByWebhookResponse, type DeleteSpacesBySpaceWebhooksByWebhookResponses, type GetHealthData, type GetHealthError, type GetHealthErrors, type GetHealthResponse, type GetHealthResponses, type GetOrganizationsByOrganizationInvitationsData, type GetOrganizationsByOrganizationInvitationsError, type GetOrganizationsByOrganizationInvitationsErrors, type GetOrganizationsByOrganizationInvitationsResponse, type GetOrganizationsByOrganizationInvitationsResponses, type GetOrganizationsByOrganizationMembersData, type GetOrganizationsByOrganizationMembersError, type GetOrganizationsByOrganizationMembersErrors, type GetOrganizationsByOrganizationMembersResponse, type GetOrganizationsByOrganizationMembersResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsData, type GetSpacesBySpaceAccountsByAccountAnalyticsError, type GetSpacesBySpaceAccountsByAccountAnalyticsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsData, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsError, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsResponses, type GetSpacesBySpaceAccountsByAccountBoardsData, type GetSpacesBySpaceAccountsByAccountBoardsError, type GetSpacesBySpaceAccountsByAccountBoardsErrors, type GetSpacesBySpaceAccountsByAccountBoardsResponse, type GetSpacesBySpaceAccountsByAccountBoardsResponses, type GetSpacesBySpaceAccountsData, type GetSpacesBySpaceAccountsError, type GetSpacesBySpaceAccountsErrors, type GetSpacesBySpaceAccountsResponse, type GetSpacesBySpaceAccountsResponses, type GetSpacesBySpaceAnalyticsData, type GetSpacesBySpaceAnalyticsError, type GetSpacesBySpaceAnalyticsErrors, type GetSpacesBySpaceAnalyticsResponse, type GetSpacesBySpaceAnalyticsResponses, type GetSpacesBySpaceBioBlocksData, type GetSpacesBySpaceBioBlocksError, type GetSpacesBySpaceBioBlocksErrors, type GetSpacesBySpaceBioBlocksResponse, type GetSpacesBySpaceBioBlocksResponses, type GetSpacesBySpaceBioData, type GetSpacesBySpaceBioError, type GetSpacesBySpaceBioErrors, type GetSpacesBySpaceBioResponse, type GetSpacesBySpaceBioResponses, type GetSpacesBySpaceData, type GetSpacesBySpaceError, type GetSpacesBySpaceErrors, type GetSpacesBySpaceMediaData, type GetSpacesBySpaceMediaError, type GetSpacesBySpaceMediaErrors, type GetSpacesBySpaceMediaResponse, type GetSpacesBySpaceMediaResponses, type GetSpacesBySpacePostsByPostData, type GetSpacesBySpacePostsByPostError, type GetSpacesBySpacePostsByPostErrors, type GetSpacesBySpacePostsByPostResponse, type GetSpacesBySpacePostsByPostResponses, type GetSpacesBySpacePostsData, type GetSpacesBySpacePostsError, type GetSpacesBySpacePostsErrors, type GetSpacesBySpacePostsResponse, type GetSpacesBySpacePostsResponses, type GetSpacesBySpaceQueueData, type GetSpacesBySpaceQueueError, type GetSpacesBySpaceQueueErrors, type GetSpacesBySpaceQueueResponse, type GetSpacesBySpaceQueueResponses, type GetSpacesBySpaceResponse, type GetSpacesBySpaceResponses, type GetSpacesBySpaceSlotsData, type GetSpacesBySpaceSlotsError, type GetSpacesBySpaceSlotsErrors, type GetSpacesBySpaceSlotsResponse, type GetSpacesBySpaceSlotsResponses, type GetSpacesBySpaceWebhooksData, type GetSpacesBySpaceWebhooksError, type GetSpacesBySpaceWebhooksErrors, type GetSpacesBySpaceWebhooksResponse, type GetSpacesBySpaceWebhooksResponses, type GetSpacesData, type GetSpacesError, type GetSpacesErrors, type GetSpacesResponse, type GetSpacesResponses, type GetSubscriptionData, type GetSubscriptionError, type GetSubscriptionErrors, type GetSubscriptionResponse, type GetSubscriptionResponses, type IngestMediaRequest, type MediaResource, type OrganizationInvitationResource, type OrganizationMemberResource, type PatchOrganizationsByOrganizationMembersByUserData, type PatchOrganizationsByOrganizationMembersByUserError, type PatchOrganizationsByOrganizationMembersByUserErrors, type PatchOrganizationsByOrganizationMembersByUserResponse, type PatchOrganizationsByOrganizationMembersByUserResponses, type PostApiTokensData, type PostApiTokensError, type PostApiTokensErrors, type PostApiTokensResponses, type PostMediaSignData, type PostMediaSignError, type PostMediaSignErrors, type PostMediaSignResponse, type PostMediaSignResponses, type PostOrganizationsByOrganizationInvitationsByInvitationResendData, type PostOrganizationsByOrganizationInvitationsByInvitationResendError, type PostOrganizationsByOrganizationInvitationsByInvitationResendErrors, type PostOrganizationsByOrganizationInvitationsByInvitationResendResponse, type PostOrganizationsByOrganizationInvitationsByInvitationResendResponses, type PostOrganizationsByOrganizationInvitationsData, type PostOrganizationsByOrganizationInvitationsError, type PostOrganizationsByOrganizationInvitationsErrors, type PostOrganizationsByOrganizationInvitationsResponse, type PostOrganizationsByOrganizationInvitationsResponses, type PostOrganizationsByOrganizationMembersLeaveData, type PostOrganizationsByOrganizationMembersLeaveError, type PostOrganizationsByOrganizationMembersLeaveErrors, type PostOrganizationsByOrganizationMembersLeaveResponse, type PostOrganizationsByOrganizationMembersLeaveResponses, type PostResource, type PostReviewResource, type PostSpacesBySpaceBioAvatarData, type PostSpacesBySpaceBioAvatarError, type PostSpacesBySpaceBioAvatarErrors, type PostSpacesBySpaceBioAvatarResponse, type PostSpacesBySpaceBioAvatarResponses, type PostSpacesBySpaceBioBlocksData, type PostSpacesBySpaceBioBlocksError, type PostSpacesBySpaceBioBlocksErrors, type PostSpacesBySpaceBioBlocksReorderData, type PostSpacesBySpaceBioBlocksReorderError, type PostSpacesBySpaceBioBlocksReorderErrors, type PostSpacesBySpaceBioBlocksReorderResponse, type PostSpacesBySpaceBioBlocksReorderResponses, type PostSpacesBySpaceBioBlocksResponse, type PostSpacesBySpaceBioBlocksResponses, type PostSpacesBySpaceBioData, type PostSpacesBySpaceBioError, type PostSpacesBySpaceBioErrors, type PostSpacesBySpaceBioImageData, type PostSpacesBySpaceBioImageError, type PostSpacesBySpaceBioImageErrors, type PostSpacesBySpaceBioImageResponse, type PostSpacesBySpaceBioImageResponses, type PostSpacesBySpaceBioResponse, type PostSpacesBySpaceBioResponses, type PostSpacesBySpaceMediaData, type PostSpacesBySpaceMediaError, type PostSpacesBySpaceMediaErrors, type PostSpacesBySpaceMediaResponse, type PostSpacesBySpaceMediaResponses, type PostSpacesBySpacePostsByPostCommentData, type PostSpacesBySpacePostsByPostCommentError, type PostSpacesBySpacePostsByPostCommentErrors, type PostSpacesBySpacePostsByPostCommentResponse, type PostSpacesBySpacePostsByPostCommentResponses, type PostSpacesBySpacePostsByPostRetryData, type PostSpacesBySpacePostsByPostRetryError, type PostSpacesBySpacePostsByPostRetryErrors, type PostSpacesBySpacePostsByPostRetryResponse, type PostSpacesBySpacePostsByPostRetryResponses, type PostSpacesBySpacePostsData, type PostSpacesBySpacePostsError, type PostSpacesBySpacePostsErrors, type PostSpacesBySpacePostsResponse, type PostSpacesBySpacePostsResponses, type PostSpacesBySpaceSlotsData, type PostSpacesBySpaceSlotsError, type PostSpacesBySpaceSlotsErrors, type PostSpacesBySpaceSlotsResponse, type PostSpacesBySpaceSlotsResponses, type PostSpacesBySpaceWebhooksByWebhookRotateData, type PostSpacesBySpaceWebhooksByWebhookRotateError, type PostSpacesBySpaceWebhooksByWebhookRotateErrors, type PostSpacesBySpaceWebhooksByWebhookRotateResponse, type PostSpacesBySpaceWebhooksByWebhookRotateResponses, type PostSpacesBySpaceWebhooksData, type PostSpacesBySpaceWebhooksError, type PostSpacesBySpaceWebhooksErrors, type PostSpacesBySpaceWebhooksResponse, type PostSpacesBySpaceWebhooksResponses, type PostSpacesData, type PostSpacesError, type PostSpacesErrors, type PostSpacesResponse, type PostSpacesResponses, type PostStatus, type PutSpacesBySpaceBioBlocksByBlockData, type PutSpacesBySpaceBioBlocksByBlockError, type PutSpacesBySpaceBioBlocksByBlockErrors, type PutSpacesBySpaceBioBlocksByBlockResponse, type PutSpacesBySpaceBioBlocksByBlockResponses, type PutSpacesBySpaceBioData, type PutSpacesBySpaceBioError, type PutSpacesBySpaceBioErrors, type PutSpacesBySpaceBioResponse, type PutSpacesBySpaceBioResponses, type PutSpacesBySpaceCommentsByScheduledCommentData, type PutSpacesBySpaceCommentsByScheduledCommentError, type PutSpacesBySpaceCommentsByScheduledCommentErrors, type PutSpacesBySpaceCommentsByScheduledCommentResponse, type PutSpacesBySpaceCommentsByScheduledCommentResponses, type PutSpacesBySpaceData, type PutSpacesBySpaceError, type PutSpacesBySpaceErrors, type PutSpacesBySpacePostsByPostData, type PutSpacesBySpacePostsByPostError, type PutSpacesBySpacePostsByPostErrors, type PutSpacesBySpacePostsByPostResponse, type PutSpacesBySpacePostsByPostResponses, type PutSpacesBySpaceResponse, type PutSpacesBySpaceResponses, type PutSpacesBySpaceWebhooksByWebhookData, type PutSpacesBySpaceWebhooksByWebhookError, type PutSpacesBySpaceWebhooksByWebhookErrors, type PutSpacesBySpaceWebhooksByWebhookResponse, type PutSpacesBySpaceWebhooksByWebhookResponses, type ReviewCommentResource, type ScheduledCommentResource, type ScheduledCommentStatus, type SessionResource, type SignMediaRequest, type SlotResource, type SpacePermission, type SpaceResource, type StoreBioBlockRequest, type StoreBioPageRequest, type StoreOrganizationInvitationRequest, type StorePostRequest, type StoreScheduledCommentRequest, type StoreSlotRequest, type StoreSpaceRequest, type StoreWebhookRequest, type UpdateBioBlockRequest, type UpdateOrganizationMemberRequest, type UpdatePostRequest, type UpdateScheduledCommentRequest, type UpdateSpaceRequest, type UpdateWebhookRequest, type WebhookResource, ZilfuApiError, type ZilfuApiErrorInit, type ZilfuClient, type ZilfuFetch, type ZilfuToken, createZilfuClient };