@zilfu/sdk 0.2.22 → 0.2.24

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
  */
@@ -1551,6 +1564,15 @@ type DeleteApiTokensByTokenIdErrors = {
1551
1564
  */
1552
1565
  message: string;
1553
1566
  };
1567
+ /**
1568
+ * An error
1569
+ */
1570
+ 403: {
1571
+ /**
1572
+ * Error overview.
1573
+ */
1574
+ message: string;
1575
+ };
1554
1576
  };
1555
1577
  type DeleteApiTokensByTokenIdError = DeleteApiTokensByTokenIdErrors[keyof DeleteApiTokensByTokenIdErrors];
1556
1578
  type DeleteApiTokensByTokenIdResponses = {
@@ -2433,26 +2455,18 @@ type PostMediaSignResponses = {
2433
2455
  };
2434
2456
  };
2435
2457
  type PostMediaSignResponse = PostMediaSignResponses[keyof PostMediaSignResponses];
2436
- type GetSpacesBySpacePostsData = {
2458
+ type GetOrganizationsByOrganizationInvitationsData = {
2437
2459
  body?: never;
2438
2460
  path: {
2439
2461
  /**
2440
- * The space ID
2462
+ * The organization ID
2441
2463
  */
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;
2464
+ organization: number;
2452
2465
  };
2453
- url: '/spaces/{space}/posts';
2466
+ query?: never;
2467
+ url: '/organizations/{organization}/invitations';
2454
2468
  };
2455
- type GetSpacesBySpacePostsErrors = {
2469
+ type GetOrganizationsByOrganizationInvitationsErrors = {
2456
2470
  /**
2457
2471
  * Unauthenticated
2458
2472
  */
@@ -2480,76 +2494,29 @@ type GetSpacesBySpacePostsErrors = {
2480
2494
  */
2481
2495
  message: string;
2482
2496
  };
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
2497
  };
2499
- type GetSpacesBySpacePostsError = GetSpacesBySpacePostsErrors[keyof GetSpacesBySpacePostsErrors];
2500
- type GetSpacesBySpacePostsResponses = {
2498
+ type GetOrganizationsByOrganizationInvitationsError = GetOrganizationsByOrganizationInvitationsErrors[keyof GetOrganizationsByOrganizationInvitationsErrors];
2499
+ type GetOrganizationsByOrganizationInvitationsResponses = {
2501
2500
  /**
2502
- * Paginated set of `PostResource`
2501
+ * Array of `OrganizationInvitationResource`
2503
2502
  */
2504
2503
  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
- };
2504
+ data: Array<OrganizationInvitationResource>;
2541
2505
  };
2542
2506
  };
2543
- type GetSpacesBySpacePostsResponse = GetSpacesBySpacePostsResponses[keyof GetSpacesBySpacePostsResponses];
2544
- type PostSpacesBySpacePostsData = {
2545
- body: StorePostRequest;
2507
+ type GetOrganizationsByOrganizationInvitationsResponse = GetOrganizationsByOrganizationInvitationsResponses[keyof GetOrganizationsByOrganizationInvitationsResponses];
2508
+ type PostOrganizationsByOrganizationInvitationsData = {
2509
+ body: StoreOrganizationInvitationRequest;
2546
2510
  path: {
2547
- space: string;
2511
+ /**
2512
+ * The organization ID
2513
+ */
2514
+ organization: number;
2548
2515
  };
2549
2516
  query?: never;
2550
- url: '/spaces/{space}/posts';
2517
+ url: '/organizations/{organization}/invitations';
2551
2518
  };
2552
- type PostSpacesBySpacePostsErrors = {
2519
+ type PostOrganizationsByOrganizationInvitationsErrors = {
2553
2520
  /**
2554
2521
  * Unauthenticated
2555
2522
  */
@@ -2568,6 +2535,15 @@ type PostSpacesBySpacePostsErrors = {
2568
2535
  */
2569
2536
  message: string;
2570
2537
  };
2538
+ /**
2539
+ * Not found
2540
+ */
2541
+ 404: {
2542
+ /**
2543
+ * Error overview.
2544
+ */
2545
+ message: string;
2546
+ };
2571
2547
  /**
2572
2548
  * Validation error
2573
2549
  */
@@ -2584,29 +2560,29 @@ type PostSpacesBySpacePostsErrors = {
2584
2560
  };
2585
2561
  };
2586
2562
  };
2587
- type PostSpacesBySpacePostsError = PostSpacesBySpacePostsErrors[keyof PostSpacesBySpacePostsErrors];
2588
- type PostSpacesBySpacePostsResponses = {
2563
+ type PostOrganizationsByOrganizationInvitationsError = PostOrganizationsByOrganizationInvitationsErrors[keyof PostOrganizationsByOrganizationInvitationsErrors];
2564
+ type PostOrganizationsByOrganizationInvitationsResponses = {
2589
2565
  200: {
2590
2566
  [key: string]: unknown;
2591
2567
  };
2592
2568
  };
2593
- type PostSpacesBySpacePostsResponse = PostSpacesBySpacePostsResponses[keyof PostSpacesBySpacePostsResponses];
2594
- type DeleteSpacesBySpacePostsByPostData = {
2569
+ type PostOrganizationsByOrganizationInvitationsResponse = PostOrganizationsByOrganizationInvitationsResponses[keyof PostOrganizationsByOrganizationInvitationsResponses];
2570
+ type DeleteOrganizationsByOrganizationInvitationsByInvitationData = {
2595
2571
  body?: never;
2596
2572
  path: {
2597
2573
  /**
2598
- * The space ID
2574
+ * The organization ID
2599
2575
  */
2600
- space: number;
2576
+ organization: number;
2601
2577
  /**
2602
- * The post ID
2578
+ * The invitation ID
2603
2579
  */
2604
- post: number;
2580
+ invitation: number;
2605
2581
  };
2606
2582
  query?: never;
2607
- url: '/spaces/{space}/posts/{post}';
2583
+ url: '/organizations/{organization}/invitations/{invitation}';
2608
2584
  };
2609
- type DeleteSpacesBySpacePostsByPostErrors = {
2585
+ type DeleteOrganizationsByOrganizationInvitationsByInvitationErrors = {
2610
2586
  /**
2611
2587
  * Unauthenticated
2612
2588
  */
@@ -2635,29 +2611,29 @@ type DeleteSpacesBySpacePostsByPostErrors = {
2635
2611
  message: string;
2636
2612
  };
2637
2613
  };
2638
- type DeleteSpacesBySpacePostsByPostError = DeleteSpacesBySpacePostsByPostErrors[keyof DeleteSpacesBySpacePostsByPostErrors];
2639
- type DeleteSpacesBySpacePostsByPostResponses = {
2614
+ type DeleteOrganizationsByOrganizationInvitationsByInvitationError = DeleteOrganizationsByOrganizationInvitationsByInvitationErrors[keyof DeleteOrganizationsByOrganizationInvitationsByInvitationErrors];
2615
+ type DeleteOrganizationsByOrganizationInvitationsByInvitationResponses = {
2640
2616
  200: {
2641
2617
  [key: string]: unknown;
2642
2618
  };
2643
2619
  };
2644
- type DeleteSpacesBySpacePostsByPostResponse = DeleteSpacesBySpacePostsByPostResponses[keyof DeleteSpacesBySpacePostsByPostResponses];
2645
- type GetSpacesBySpacePostsByPostData = {
2620
+ type DeleteOrganizationsByOrganizationInvitationsByInvitationResponse = DeleteOrganizationsByOrganizationInvitationsByInvitationResponses[keyof DeleteOrganizationsByOrganizationInvitationsByInvitationResponses];
2621
+ type PostOrganizationsByOrganizationInvitationsByInvitationResendData = {
2646
2622
  body?: never;
2647
2623
  path: {
2648
2624
  /**
2649
- * The space ID
2625
+ * The organization ID
2650
2626
  */
2651
- space: number;
2627
+ organization: number;
2652
2628
  /**
2653
- * The post ID
2629
+ * The invitation ID
2654
2630
  */
2655
- post: number;
2631
+ invitation: number;
2656
2632
  };
2657
2633
  query?: never;
2658
- url: '/spaces/{space}/posts/{post}';
2634
+ url: '/organizations/{organization}/invitations/{invitation}/resend';
2659
2635
  };
2660
- type GetSpacesBySpacePostsByPostErrors = {
2636
+ type PostOrganizationsByOrganizationInvitationsByInvitationResendErrors = {
2661
2637
  /**
2662
2638
  * Unauthenticated
2663
2639
  */
@@ -2686,32 +2662,30 @@ type GetSpacesBySpacePostsByPostErrors = {
2686
2662
  message: string;
2687
2663
  };
2688
2664
  };
2689
- type GetSpacesBySpacePostsByPostError = GetSpacesBySpacePostsByPostErrors[keyof GetSpacesBySpacePostsByPostErrors];
2690
- type GetSpacesBySpacePostsByPostResponses = {
2665
+ type PostOrganizationsByOrganizationInvitationsByInvitationResendError = PostOrganizationsByOrganizationInvitationsByInvitationResendErrors[keyof PostOrganizationsByOrganizationInvitationsByInvitationResendErrors];
2666
+ type PostOrganizationsByOrganizationInvitationsByInvitationResendResponses = {
2691
2667
  /**
2692
- * `PostResource`
2668
+ * `OrganizationInvitationResource`
2693
2669
  */
2694
2670
  200: {
2695
- data: PostResource;
2671
+ [key: string]: unknown;
2672
+ } | {
2673
+ data: OrganizationInvitationResource;
2696
2674
  };
2697
2675
  };
2698
- type GetSpacesBySpacePostsByPostResponse = GetSpacesBySpacePostsByPostResponses[keyof GetSpacesBySpacePostsByPostResponses];
2699
- type PutSpacesBySpacePostsByPostData = {
2700
- body?: UpdatePostRequest;
2676
+ type PostOrganizationsByOrganizationInvitationsByInvitationResendResponse = PostOrganizationsByOrganizationInvitationsByInvitationResendResponses[keyof PostOrganizationsByOrganizationInvitationsByInvitationResendResponses];
2677
+ type GetOrganizationsByOrganizationMembersData = {
2678
+ body?: never;
2701
2679
  path: {
2702
2680
  /**
2703
- * The space ID
2704
- */
2705
- space: number;
2706
- /**
2707
- * The post ID
2681
+ * The organization ID
2708
2682
  */
2709
- post: number;
2683
+ organization: number;
2710
2684
  };
2711
2685
  query?: never;
2712
- url: '/spaces/{space}/posts/{post}';
2686
+ url: '/organizations/{organization}/members';
2713
2687
  };
2714
- type PutSpacesBySpacePostsByPostErrors = {
2688
+ type GetOrganizationsByOrganizationMembersErrors = {
2715
2689
  /**
2716
2690
  * Unauthenticated
2717
2691
  */
@@ -2739,50 +2713,80 @@ type PutSpacesBySpacePostsByPostErrors = {
2739
2713
  */
2740
2714
  message: string;
2741
2715
  };
2716
+ };
2717
+ type GetOrganizationsByOrganizationMembersError = GetOrganizationsByOrganizationMembersErrors[keyof GetOrganizationsByOrganizationMembersErrors];
2718
+ type GetOrganizationsByOrganizationMembersResponses = {
2742
2719
  /**
2743
- * Validation error
2720
+ * Array of `OrganizationMemberResource`
2744
2721
  */
2745
- 422: {
2722
+ 200: {
2723
+ data: Array<OrganizationMemberResource>;
2724
+ };
2725
+ };
2726
+ type GetOrganizationsByOrganizationMembersResponse = GetOrganizationsByOrganizationMembersResponses[keyof GetOrganizationsByOrganizationMembersResponses];
2727
+ type PostOrganizationsByOrganizationMembersLeaveData = {
2728
+ body?: never;
2729
+ path: {
2746
2730
  /**
2747
- * Errors overview.
2731
+ * The organization ID
2732
+ */
2733
+ organization: number;
2734
+ };
2735
+ query?: never;
2736
+ url: '/organizations/{organization}/members/leave';
2737
+ };
2738
+ type PostOrganizationsByOrganizationMembersLeaveErrors = {
2739
+ /**
2740
+ * Unauthenticated
2741
+ */
2742
+ 401: {
2743
+ /**
2744
+ * Error overview.
2748
2745
  */
2749
2746
  message: string;
2747
+ };
2748
+ /**
2749
+ * Authorization error
2750
+ */
2751
+ 403: {
2750
2752
  /**
2751
- * A detailed description of each field that failed validation.
2753
+ * Error overview.
2752
2754
  */
2753
- errors: {
2754
- [key: string]: Array<string>;
2755
- };
2755
+ message: string;
2756
2756
  };
2757
- };
2758
- type PutSpacesBySpacePostsByPostError = PutSpacesBySpacePostsByPostErrors[keyof PutSpacesBySpacePostsByPostErrors];
2759
- type PutSpacesBySpacePostsByPostResponses = {
2760
2757
  /**
2761
- * `PostResource`
2758
+ * Not found
2762
2759
  */
2760
+ 404: {
2761
+ /**
2762
+ * Error overview.
2763
+ */
2764
+ message: string;
2765
+ };
2766
+ };
2767
+ type PostOrganizationsByOrganizationMembersLeaveError = PostOrganizationsByOrganizationMembersLeaveErrors[keyof PostOrganizationsByOrganizationMembersLeaveErrors];
2768
+ type PostOrganizationsByOrganizationMembersLeaveResponses = {
2763
2769
  200: {
2764
- data: PostResource;
2765
- } | {
2766
2770
  [key: string]: unknown;
2767
2771
  };
2768
2772
  };
2769
- type PutSpacesBySpacePostsByPostResponse = PutSpacesBySpacePostsByPostResponses[keyof PutSpacesBySpacePostsByPostResponses];
2770
- type PostSpacesBySpacePostsByPostRetryData = {
2773
+ type PostOrganizationsByOrganizationMembersLeaveResponse = PostOrganizationsByOrganizationMembersLeaveResponses[keyof PostOrganizationsByOrganizationMembersLeaveResponses];
2774
+ type DeleteOrganizationsByOrganizationMembersByUserData = {
2771
2775
  body?: never;
2772
2776
  path: {
2773
2777
  /**
2774
- * The space ID
2778
+ * The organization ID
2775
2779
  */
2776
- space: number;
2780
+ organization: number;
2777
2781
  /**
2778
- * The post ID
2782
+ * The user ID
2779
2783
  */
2780
- post: number;
2784
+ user: number;
2781
2785
  };
2782
2786
  query?: never;
2783
- url: '/spaces/{space}/posts/{post}/retry';
2787
+ url: '/organizations/{organization}/members/{user}';
2784
2788
  };
2785
- type PostSpacesBySpacePostsByPostRetryErrors = {
2789
+ type DeleteOrganizationsByOrganizationMembersByUserErrors = {
2786
2790
  /**
2787
2791
  * Unauthenticated
2788
2792
  */
@@ -2810,46 +2814,30 @@ type PostSpacesBySpacePostsByPostRetryErrors = {
2810
2814
  */
2811
2815
  message: string;
2812
2816
  };
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
2817
  };
2829
- type PostSpacesBySpacePostsByPostRetryError = PostSpacesBySpacePostsByPostRetryErrors[keyof PostSpacesBySpacePostsByPostRetryErrors];
2830
- type PostSpacesBySpacePostsByPostRetryResponses = {
2831
- /**
2832
- * `PostResource`
2833
- */
2818
+ type DeleteOrganizationsByOrganizationMembersByUserError = DeleteOrganizationsByOrganizationMembersByUserErrors[keyof DeleteOrganizationsByOrganizationMembersByUserErrors];
2819
+ type DeleteOrganizationsByOrganizationMembersByUserResponses = {
2834
2820
  200: {
2835
- data: PostResource;
2836
- } | {
2837
2821
  [key: string]: unknown;
2838
2822
  };
2839
2823
  };
2840
- type PostSpacesBySpacePostsByPostRetryResponse = PostSpacesBySpacePostsByPostRetryResponses[keyof PostSpacesBySpacePostsByPostRetryResponses];
2841
- type GetSpacesBySpaceQueueData = {
2842
- body?: never;
2824
+ type DeleteOrganizationsByOrganizationMembersByUserResponse = DeleteOrganizationsByOrganizationMembersByUserResponses[keyof DeleteOrganizationsByOrganizationMembersByUserResponses];
2825
+ type PatchOrganizationsByOrganizationMembersByUserData = {
2826
+ body: UpdateOrganizationMemberRequest;
2843
2827
  path: {
2844
2828
  /**
2845
- * The space ID
2829
+ * The organization ID
2846
2830
  */
2847
- space: number;
2831
+ organization: number;
2832
+ /**
2833
+ * The user ID
2834
+ */
2835
+ user: number;
2848
2836
  };
2849
2837
  query?: never;
2850
- url: '/spaces/{space}/queue';
2838
+ url: '/organizations/{organization}/members/{user}';
2851
2839
  };
2852
- type GetSpacesBySpaceQueueErrors = {
2840
+ type PatchOrganizationsByOrganizationMembersByUserErrors = {
2853
2841
  /**
2854
2842
  * Unauthenticated
2855
2843
  */
@@ -2877,36 +2865,49 @@ type GetSpacesBySpaceQueueErrors = {
2877
2865
  */
2878
2866
  message: string;
2879
2867
  };
2868
+ /**
2869
+ * Validation error
2870
+ */
2871
+ 422: {
2872
+ /**
2873
+ * Errors overview.
2874
+ */
2875
+ message: string;
2876
+ /**
2877
+ * A detailed description of each field that failed validation.
2878
+ */
2879
+ errors: {
2880
+ [key: string]: Array<string>;
2881
+ };
2882
+ };
2880
2883
  };
2881
- type GetSpacesBySpaceQueueError = GetSpacesBySpaceQueueErrors[keyof GetSpacesBySpaceQueueErrors];
2882
- type GetSpacesBySpaceQueueResponses = {
2884
+ type PatchOrganizationsByOrganizationMembersByUserError = PatchOrganizationsByOrganizationMembersByUserErrors[keyof PatchOrganizationsByOrganizationMembersByUserErrors];
2885
+ type PatchOrganizationsByOrganizationMembersByUserResponses = {
2883
2886
  200: {
2884
- data: Array<{
2885
- datetime: string;
2886
- timestamp_ms: string;
2887
- label: string;
2888
- }>;
2889
- } | {
2890
- data: Array<string>;
2887
+ [key: string]: unknown;
2891
2888
  };
2892
2889
  };
2893
- type GetSpacesBySpaceQueueResponse = GetSpacesBySpaceQueueResponses[keyof GetSpacesBySpaceQueueResponses];
2894
- type PostSpacesBySpacePostsByPostCommentData = {
2895
- body: StoreScheduledCommentRequest;
2890
+ type PatchOrganizationsByOrganizationMembersByUserResponse = PatchOrganizationsByOrganizationMembersByUserResponses[keyof PatchOrganizationsByOrganizationMembersByUserResponses];
2891
+ type GetSpacesBySpacePostsData = {
2892
+ body?: never;
2896
2893
  path: {
2897
2894
  /**
2898
2895
  * The space ID
2899
2896
  */
2900
2897
  space: number;
2901
- /**
2902
- * The post ID
2903
- */
2904
- post: number;
2905
2898
  };
2906
- query?: never;
2907
- url: '/spaces/{space}/posts/{post}/comment';
2899
+ query?: {
2900
+ status?: PostStatus;
2901
+ 'statuses[]'?: Array<PostStatus>;
2902
+ account_id?: number;
2903
+ 'account_ids[]'?: Array<number>;
2904
+ from?: string;
2905
+ to?: string;
2906
+ per_page?: number;
2907
+ };
2908
+ url: '/spaces/{space}/posts';
2908
2909
  };
2909
- type PostSpacesBySpacePostsByPostCommentErrors = {
2910
+ type GetSpacesBySpacePostsErrors = {
2910
2911
  /**
2911
2912
  * Unauthenticated
2912
2913
  */
@@ -2950,34 +2951,60 @@ type PostSpacesBySpacePostsByPostCommentErrors = {
2950
2951
  };
2951
2952
  };
2952
2953
  };
2953
- type PostSpacesBySpacePostsByPostCommentError = PostSpacesBySpacePostsByPostCommentErrors[keyof PostSpacesBySpacePostsByPostCommentErrors];
2954
- type PostSpacesBySpacePostsByPostCommentResponses = {
2954
+ type GetSpacesBySpacePostsError = GetSpacesBySpacePostsErrors[keyof GetSpacesBySpacePostsErrors];
2955
+ type GetSpacesBySpacePostsResponses = {
2955
2956
  /**
2956
- * `ScheduledCommentResource`
2957
+ * Paginated set of `PostResource`
2957
2958
  */
2958
2959
  200: {
2959
- data: ScheduledCommentResource;
2960
- } | {
2961
- [key: string]: unknown;
2960
+ data: Array<PostResource>;
2961
+ links: {
2962
+ first: string | null;
2963
+ last: string | null;
2964
+ prev: string | null;
2965
+ next: string | null;
2966
+ };
2967
+ meta: {
2968
+ current_page: number;
2969
+ from: number | null;
2970
+ last_page: number;
2971
+ /**
2972
+ * Generated paginator links.
2973
+ */
2974
+ links: Array<{
2975
+ url: string | null;
2976
+ label: string;
2977
+ active: boolean;
2978
+ }>;
2979
+ /**
2980
+ * Base path for paginator generated URLs.
2981
+ */
2982
+ path: string | null;
2983
+ /**
2984
+ * Number of items shown per page.
2985
+ */
2986
+ per_page: number;
2987
+ /**
2988
+ * Number of the last item in the slice.
2989
+ */
2990
+ to: number | null;
2991
+ /**
2992
+ * Total number of items being paginated.
2993
+ */
2994
+ total: number;
2995
+ };
2962
2996
  };
2963
2997
  };
2964
- type PostSpacesBySpacePostsByPostCommentResponse = PostSpacesBySpacePostsByPostCommentResponses[keyof PostSpacesBySpacePostsByPostCommentResponses];
2965
- type DeleteSpacesBySpaceCommentsByScheduledCommentData = {
2966
- body?: never;
2998
+ type GetSpacesBySpacePostsResponse = GetSpacesBySpacePostsResponses[keyof GetSpacesBySpacePostsResponses];
2999
+ type PostSpacesBySpacePostsData = {
3000
+ body: StorePostRequest;
2967
3001
  path: {
2968
- /**
2969
- * The space ID
2970
- */
2971
- space: number;
2972
- /**
2973
- * The scheduled comment ID
2974
- */
2975
- scheduledComment: number;
3002
+ space: string;
2976
3003
  };
2977
3004
  query?: never;
2978
- url: '/spaces/{space}/comments/{scheduledComment}';
3005
+ url: '/spaces/{space}/posts';
2979
3006
  };
2980
- type DeleteSpacesBySpaceCommentsByScheduledCommentErrors = {
3007
+ type PostSpacesBySpacePostsErrors = {
2981
3008
  /**
2982
3009
  * Unauthenticated
2983
3010
  */
@@ -2997,47 +3024,44 @@ type DeleteSpacesBySpaceCommentsByScheduledCommentErrors = {
2997
3024
  message: string;
2998
3025
  };
2999
3026
  /**
3000
- * Not found
3027
+ * Validation error
3001
3028
  */
3002
- 404: {
3029
+ 422: {
3003
3030
  /**
3004
- * Error overview.
3031
+ * Errors overview.
3005
3032
  */
3006
3033
  message: string;
3007
- };
3008
- /**
3009
- * An error
3010
- */
3011
- 422: {
3012
3034
  /**
3013
- * Error overview.
3035
+ * A detailed description of each field that failed validation.
3014
3036
  */
3015
- message: string;
3037
+ errors: {
3038
+ [key: string]: Array<string>;
3039
+ };
3016
3040
  };
3017
3041
  };
3018
- type DeleteSpacesBySpaceCommentsByScheduledCommentError = DeleteSpacesBySpaceCommentsByScheduledCommentErrors[keyof DeleteSpacesBySpaceCommentsByScheduledCommentErrors];
3019
- type DeleteSpacesBySpaceCommentsByScheduledCommentResponses = {
3042
+ type PostSpacesBySpacePostsError = PostSpacesBySpacePostsErrors[keyof PostSpacesBySpacePostsErrors];
3043
+ type PostSpacesBySpacePostsResponses = {
3020
3044
  200: {
3021
3045
  [key: string]: unknown;
3022
3046
  };
3023
3047
  };
3024
- type DeleteSpacesBySpaceCommentsByScheduledCommentResponse = DeleteSpacesBySpaceCommentsByScheduledCommentResponses[keyof DeleteSpacesBySpaceCommentsByScheduledCommentResponses];
3025
- type PutSpacesBySpaceCommentsByScheduledCommentData = {
3026
- body?: UpdateScheduledCommentRequest;
3048
+ type PostSpacesBySpacePostsResponse = PostSpacesBySpacePostsResponses[keyof PostSpacesBySpacePostsResponses];
3049
+ type DeleteSpacesBySpacePostsByPostData = {
3050
+ body?: never;
3027
3051
  path: {
3028
3052
  /**
3029
3053
  * The space ID
3030
3054
  */
3031
3055
  space: number;
3032
3056
  /**
3033
- * The scheduled comment ID
3057
+ * The post ID
3034
3058
  */
3035
- scheduledComment: number;
3059
+ post: number;
3036
3060
  };
3037
3061
  query?: never;
3038
- url: '/spaces/{space}/comments/{scheduledComment}';
3062
+ url: '/spaces/{space}/posts/{post}';
3039
3063
  };
3040
- type PutSpacesBySpaceCommentsByScheduledCommentErrors = {
3064
+ type DeleteSpacesBySpacePostsByPostErrors = {
3041
3065
  /**
3042
3066
  * Unauthenticated
3043
3067
  */
@@ -3065,73 +3089,30 @@ type PutSpacesBySpaceCommentsByScheduledCommentErrors = {
3065
3089
  */
3066
3090
  message: string;
3067
3091
  };
3068
- /**
3069
- * Validation error
3070
- */
3071
- 422: {
3072
- /**
3073
- * Errors overview.
3074
- */
3075
- message: string;
3076
- /**
3077
- * A detailed description of each field that failed validation.
3078
- */
3079
- errors: {
3080
- [key: string]: Array<string>;
3081
- };
3082
- };
3083
3092
  };
3084
- type PutSpacesBySpaceCommentsByScheduledCommentError = PutSpacesBySpaceCommentsByScheduledCommentErrors[keyof PutSpacesBySpaceCommentsByScheduledCommentErrors];
3085
- type PutSpacesBySpaceCommentsByScheduledCommentResponses = {
3086
- /**
3087
- * `ScheduledCommentResource`
3088
- */
3093
+ type DeleteSpacesBySpacePostsByPostError = DeleteSpacesBySpacePostsByPostErrors[keyof DeleteSpacesBySpacePostsByPostErrors];
3094
+ type DeleteSpacesBySpacePostsByPostResponses = {
3089
3095
  200: {
3090
- data: ScheduledCommentResource;
3091
- } | {
3092
3096
  [key: string]: unknown;
3093
3097
  };
3094
3098
  };
3095
- type PutSpacesBySpaceCommentsByScheduledCommentResponse = PutSpacesBySpaceCommentsByScheduledCommentResponses[keyof PutSpacesBySpaceCommentsByScheduledCommentResponses];
3096
- type GetSessionData = {
3097
- body?: never;
3098
- path?: never;
3099
- query?: never;
3100
- url: '/session';
3101
- };
3102
- type GetSessionErrors = {
3103
- /**
3104
- * Unauthenticated
3105
- */
3106
- 401: {
3107
- /**
3108
- * Error overview.
3109
- */
3110
- message: string;
3111
- };
3112
- };
3113
- type GetSessionError = GetSessionErrors[keyof GetSessionErrors];
3114
- type GetSessionResponses = {
3115
- /**
3116
- * `SessionResource`
3117
- */
3118
- 200: {
3119
- data: SessionResource;
3120
- };
3121
- };
3122
- type GetSessionResponse = GetSessionResponses[keyof GetSessionResponses];
3123
- type GetSpacesBySpaceSlotsData = {
3099
+ type DeleteSpacesBySpacePostsByPostResponse = DeleteSpacesBySpacePostsByPostResponses[keyof DeleteSpacesBySpacePostsByPostResponses];
3100
+ type GetSpacesBySpacePostsByPostData = {
3124
3101
  body?: never;
3125
3102
  path: {
3126
3103
  /**
3127
3104
  * The space ID
3128
3105
  */
3129
3106
  space: number;
3107
+ /**
3108
+ * The post ID
3109
+ */
3110
+ post: number;
3130
3111
  };
3131
3112
  query?: never;
3132
- url: '/spaces/{space}/slots';
3113
+ url: '/spaces/{space}/posts/{post}';
3133
3114
  };
3134
- type GetSpacesBySpaceSlotsErrors = {
3115
+ type GetSpacesBySpacePostsByPostErrors = {
3135
3116
  /**
3136
3117
  * Unauthenticated
3137
3118
  */
@@ -3160,28 +3141,32 @@ type GetSpacesBySpaceSlotsErrors = {
3160
3141
  message: string;
3161
3142
  };
3162
3143
  };
3163
- type GetSpacesBySpaceSlotsError = GetSpacesBySpaceSlotsErrors[keyof GetSpacesBySpaceSlotsErrors];
3164
- type GetSpacesBySpaceSlotsResponses = {
3144
+ type GetSpacesBySpacePostsByPostError = GetSpacesBySpacePostsByPostErrors[keyof GetSpacesBySpacePostsByPostErrors];
3145
+ type GetSpacesBySpacePostsByPostResponses = {
3165
3146
  /**
3166
- * Array of `SlotResource`
3147
+ * `PostResource`
3167
3148
  */
3168
3149
  200: {
3169
- data: Array<SlotResource>;
3150
+ data: PostResource;
3170
3151
  };
3171
3152
  };
3172
- type GetSpacesBySpaceSlotsResponse = GetSpacesBySpaceSlotsResponses[keyof GetSpacesBySpaceSlotsResponses];
3173
- type PostSpacesBySpaceSlotsData = {
3174
- body: StoreSlotRequest;
3153
+ type GetSpacesBySpacePostsByPostResponse = GetSpacesBySpacePostsByPostResponses[keyof GetSpacesBySpacePostsByPostResponses];
3154
+ type PutSpacesBySpacePostsByPostData = {
3155
+ body?: UpdatePostRequest;
3175
3156
  path: {
3176
3157
  /**
3177
3158
  * The space ID
3178
3159
  */
3179
3160
  space: number;
3161
+ /**
3162
+ * The post ID
3163
+ */
3164
+ post: number;
3180
3165
  };
3181
3166
  query?: never;
3182
- url: '/spaces/{space}/slots';
3167
+ url: '/spaces/{space}/posts/{post}';
3183
3168
  };
3184
- type PostSpacesBySpaceSlotsErrors = {
3169
+ type PutSpacesBySpacePostsByPostErrors = {
3185
3170
  /**
3186
3171
  * Unauthenticated
3187
3172
  */
@@ -3225,14 +3210,19 @@ type PostSpacesBySpaceSlotsErrors = {
3225
3210
  };
3226
3211
  };
3227
3212
  };
3228
- type PostSpacesBySpaceSlotsError = PostSpacesBySpaceSlotsErrors[keyof PostSpacesBySpaceSlotsErrors];
3229
- type PostSpacesBySpaceSlotsResponses = {
3213
+ type PutSpacesBySpacePostsByPostError = PutSpacesBySpacePostsByPostErrors[keyof PutSpacesBySpacePostsByPostErrors];
3214
+ type PutSpacesBySpacePostsByPostResponses = {
3215
+ /**
3216
+ * `PostResource`
3217
+ */
3230
3218
  200: {
3219
+ data: PostResource;
3220
+ } | {
3231
3221
  [key: string]: unknown;
3232
3222
  };
3233
3223
  };
3234
- type PostSpacesBySpaceSlotsResponse = PostSpacesBySpaceSlotsResponses[keyof PostSpacesBySpaceSlotsResponses];
3235
- type DeleteSpacesBySpaceSlotsBySlotData = {
3224
+ type PutSpacesBySpacePostsByPostResponse = PutSpacesBySpacePostsByPostResponses[keyof PutSpacesBySpacePostsByPostResponses];
3225
+ type PostSpacesBySpacePostsByPostRetryData = {
3236
3226
  body?: never;
3237
3227
  path: {
3238
3228
  /**
@@ -3240,14 +3230,14 @@ type DeleteSpacesBySpaceSlotsBySlotData = {
3240
3230
  */
3241
3231
  space: number;
3242
3232
  /**
3243
- * The slot ID
3233
+ * The post ID
3244
3234
  */
3245
- slot: number;
3235
+ post: number;
3246
3236
  };
3247
3237
  query?: never;
3248
- url: '/spaces/{space}/slots/{slot}';
3238
+ url: '/spaces/{space}/posts/{post}/retry';
3249
3239
  };
3250
- type DeleteSpacesBySpaceSlotsBySlotErrors = {
3240
+ type PostSpacesBySpacePostsByPostRetryErrors = {
3251
3241
  /**
3252
3242
  * Unauthenticated
3253
3243
  */
@@ -3275,48 +3265,46 @@ type DeleteSpacesBySpaceSlotsBySlotErrors = {
3275
3265
  */
3276
3266
  message: string;
3277
3267
  };
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
3268
  /**
3294
- * Unauthenticated
3269
+ * Validation error
3295
3270
  */
3296
- 401: {
3271
+ 422: {
3297
3272
  /**
3298
- * Error overview.
3273
+ * Errors overview.
3299
3274
  */
3300
3275
  message: string;
3276
+ /**
3277
+ * A detailed description of each field that failed validation.
3278
+ */
3279
+ errors: {
3280
+ [key: string]: Array<string>;
3281
+ };
3301
3282
  };
3302
3283
  };
3303
- type GetSpacesError = GetSpacesErrors[keyof GetSpacesErrors];
3304
- type GetSpacesResponses = {
3284
+ type PostSpacesBySpacePostsByPostRetryError = PostSpacesBySpacePostsByPostRetryErrors[keyof PostSpacesBySpacePostsByPostRetryErrors];
3285
+ type PostSpacesBySpacePostsByPostRetryResponses = {
3305
3286
  /**
3306
- * Array of `SpaceResource`
3287
+ * `PostResource`
3307
3288
  */
3308
3289
  200: {
3309
- data: Array<SpaceResource>;
3290
+ data: PostResource;
3291
+ } | {
3292
+ [key: string]: unknown;
3310
3293
  };
3311
3294
  };
3312
- type GetSpacesResponse = GetSpacesResponses[keyof GetSpacesResponses];
3313
- type PostSpacesData = {
3314
- body: StoreSpaceRequest;
3315
- path?: never;
3295
+ type PostSpacesBySpacePostsByPostRetryResponse = PostSpacesBySpacePostsByPostRetryResponses[keyof PostSpacesBySpacePostsByPostRetryResponses];
3296
+ type GetSpacesBySpaceQueueData = {
3297
+ body?: never;
3298
+ path: {
3299
+ /**
3300
+ * The space ID
3301
+ */
3302
+ space: number;
3303
+ };
3316
3304
  query?: never;
3317
- url: '/spaces';
3305
+ url: '/spaces/{space}/queue';
3318
3306
  };
3319
- type PostSpacesErrors = {
3307
+ type GetSpacesBySpaceQueueErrors = {
3320
3308
  /**
3321
3309
  * Unauthenticated
3322
3310
  */
@@ -3336,40 +3324,44 @@ type PostSpacesErrors = {
3336
3324
  message: string;
3337
3325
  };
3338
3326
  /**
3339
- * Validation error
3327
+ * Not found
3340
3328
  */
3341
- 422: {
3329
+ 404: {
3342
3330
  /**
3343
- * Errors overview.
3331
+ * Error overview.
3344
3332
  */
3345
3333
  message: string;
3346
- /**
3347
- * A detailed description of each field that failed validation.
3348
- */
3349
- errors: {
3350
- [key: string]: Array<string>;
3351
- };
3352
3334
  };
3353
3335
  };
3354
- type PostSpacesError = PostSpacesErrors[keyof PostSpacesErrors];
3355
- type PostSpacesResponses = {
3336
+ type GetSpacesBySpaceQueueError = GetSpacesBySpaceQueueErrors[keyof GetSpacesBySpaceQueueErrors];
3337
+ type GetSpacesBySpaceQueueResponses = {
3356
3338
  200: {
3357
- [key: string]: unknown;
3339
+ data: Array<{
3340
+ datetime: string;
3341
+ timestamp_ms: string;
3342
+ label: string;
3343
+ }>;
3344
+ } | {
3345
+ data: Array<string>;
3358
3346
  };
3359
3347
  };
3360
- type PostSpacesResponse = PostSpacesResponses[keyof PostSpacesResponses];
3361
- type DeleteSpacesBySpaceData = {
3362
- body?: never;
3348
+ type GetSpacesBySpaceQueueResponse = GetSpacesBySpaceQueueResponses[keyof GetSpacesBySpaceQueueResponses];
3349
+ type PostSpacesBySpacePostsByPostCommentData = {
3350
+ body: StoreScheduledCommentRequest;
3363
3351
  path: {
3364
3352
  /**
3365
3353
  * The space ID
3366
3354
  */
3367
3355
  space: number;
3356
+ /**
3357
+ * The post ID
3358
+ */
3359
+ post: number;
3368
3360
  };
3369
3361
  query?: never;
3370
- url: '/spaces/{space}';
3362
+ url: '/spaces/{space}/posts/{post}/comment';
3371
3363
  };
3372
- type DeleteSpacesBySpaceErrors = {
3364
+ type PostSpacesBySpacePostsByPostCommentErrors = {
3373
3365
  /**
3374
3366
  * Unauthenticated
3375
3367
  */
@@ -3397,26 +3389,50 @@ type DeleteSpacesBySpaceErrors = {
3397
3389
  */
3398
3390
  message: string;
3399
3391
  };
3392
+ /**
3393
+ * Validation error
3394
+ */
3395
+ 422: {
3396
+ /**
3397
+ * Errors overview.
3398
+ */
3399
+ message: string;
3400
+ /**
3401
+ * A detailed description of each field that failed validation.
3402
+ */
3403
+ errors: {
3404
+ [key: string]: Array<string>;
3405
+ };
3406
+ };
3400
3407
  };
3401
- type DeleteSpacesBySpaceError = DeleteSpacesBySpaceErrors[keyof DeleteSpacesBySpaceErrors];
3402
- type DeleteSpacesBySpaceResponses = {
3408
+ type PostSpacesBySpacePostsByPostCommentError = PostSpacesBySpacePostsByPostCommentErrors[keyof PostSpacesBySpacePostsByPostCommentErrors];
3409
+ type PostSpacesBySpacePostsByPostCommentResponses = {
3410
+ /**
3411
+ * `ScheduledCommentResource`
3412
+ */
3403
3413
  200: {
3414
+ data: ScheduledCommentResource;
3415
+ } | {
3404
3416
  [key: string]: unknown;
3405
3417
  };
3406
3418
  };
3407
- type DeleteSpacesBySpaceResponse = DeleteSpacesBySpaceResponses[keyof DeleteSpacesBySpaceResponses];
3408
- type GetSpacesBySpaceData = {
3419
+ type PostSpacesBySpacePostsByPostCommentResponse = PostSpacesBySpacePostsByPostCommentResponses[keyof PostSpacesBySpacePostsByPostCommentResponses];
3420
+ type DeleteSpacesBySpaceCommentsByScheduledCommentData = {
3409
3421
  body?: never;
3410
3422
  path: {
3411
3423
  /**
3412
3424
  * The space ID
3413
3425
  */
3414
3426
  space: number;
3427
+ /**
3428
+ * The scheduled comment ID
3429
+ */
3430
+ scheduledComment: number;
3415
3431
  };
3416
3432
  query?: never;
3417
- url: '/spaces/{space}';
3433
+ url: '/spaces/{space}/comments/{scheduledComment}';
3418
3434
  };
3419
- type GetSpacesBySpaceErrors = {
3435
+ type DeleteSpacesBySpaceCommentsByScheduledCommentErrors = {
3420
3436
  /**
3421
3437
  * Unauthenticated
3422
3438
  */
@@ -3444,29 +3460,39 @@ type GetSpacesBySpaceErrors = {
3444
3460
  */
3445
3461
  message: string;
3446
3462
  };
3447
- };
3448
- type GetSpacesBySpaceError = GetSpacesBySpaceErrors[keyof GetSpacesBySpaceErrors];
3449
- type GetSpacesBySpaceResponses = {
3450
3463
  /**
3451
- * `SpaceResource`
3464
+ * An error
3452
3465
  */
3466
+ 422: {
3467
+ /**
3468
+ * Error overview.
3469
+ */
3470
+ message: string;
3471
+ };
3472
+ };
3473
+ type DeleteSpacesBySpaceCommentsByScheduledCommentError = DeleteSpacesBySpaceCommentsByScheduledCommentErrors[keyof DeleteSpacesBySpaceCommentsByScheduledCommentErrors];
3474
+ type DeleteSpacesBySpaceCommentsByScheduledCommentResponses = {
3453
3475
  200: {
3454
- data: SpaceResource;
3476
+ [key: string]: unknown;
3455
3477
  };
3456
3478
  };
3457
- type GetSpacesBySpaceResponse = GetSpacesBySpaceResponses[keyof GetSpacesBySpaceResponses];
3458
- type PutSpacesBySpaceData = {
3459
- body?: UpdateSpaceRequest;
3479
+ type DeleteSpacesBySpaceCommentsByScheduledCommentResponse = DeleteSpacesBySpaceCommentsByScheduledCommentResponses[keyof DeleteSpacesBySpaceCommentsByScheduledCommentResponses];
3480
+ type PutSpacesBySpaceCommentsByScheduledCommentData = {
3481
+ body?: UpdateScheduledCommentRequest;
3460
3482
  path: {
3461
3483
  /**
3462
3484
  * The space ID
3463
3485
  */
3464
3486
  space: number;
3487
+ /**
3488
+ * The scheduled comment ID
3489
+ */
3490
+ scheduledComment: number;
3465
3491
  };
3466
3492
  query?: never;
3467
- url: '/spaces/{space}';
3493
+ url: '/spaces/{space}/comments/{scheduledComment}';
3468
3494
  };
3469
- type PutSpacesBySpaceErrors = {
3495
+ type PutSpacesBySpaceCommentsByScheduledCommentErrors = {
3470
3496
  /**
3471
3497
  * Unauthenticated
3472
3498
  */
@@ -3510,19 +3536,46 @@ type PutSpacesBySpaceErrors = {
3510
3536
  };
3511
3537
  };
3512
3538
  };
3513
- type PutSpacesBySpaceError = PutSpacesBySpaceErrors[keyof PutSpacesBySpaceErrors];
3514
- type PutSpacesBySpaceResponses = {
3539
+ type PutSpacesBySpaceCommentsByScheduledCommentError = PutSpacesBySpaceCommentsByScheduledCommentErrors[keyof PutSpacesBySpaceCommentsByScheduledCommentErrors];
3540
+ type PutSpacesBySpaceCommentsByScheduledCommentResponses = {
3515
3541
  /**
3516
- * `SpaceResource`
3542
+ * `ScheduledCommentResource`
3517
3543
  */
3518
3544
  200: {
3519
- data: SpaceResource;
3545
+ data: ScheduledCommentResource;
3520
3546
  } | {
3521
3547
  [key: string]: unknown;
3522
3548
  };
3523
3549
  };
3524
- type PutSpacesBySpaceResponse = PutSpacesBySpaceResponses[keyof PutSpacesBySpaceResponses];
3525
- type GetSpacesBySpaceInvitationsData = {
3550
+ type PutSpacesBySpaceCommentsByScheduledCommentResponse = PutSpacesBySpaceCommentsByScheduledCommentResponses[keyof PutSpacesBySpaceCommentsByScheduledCommentResponses];
3551
+ type GetSessionData = {
3552
+ body?: never;
3553
+ path?: never;
3554
+ query?: never;
3555
+ url: '/session';
3556
+ };
3557
+ type GetSessionErrors = {
3558
+ /**
3559
+ * Unauthenticated
3560
+ */
3561
+ 401: {
3562
+ /**
3563
+ * Error overview.
3564
+ */
3565
+ message: string;
3566
+ };
3567
+ };
3568
+ type GetSessionError = GetSessionErrors[keyof GetSessionErrors];
3569
+ type GetSessionResponses = {
3570
+ /**
3571
+ * `SessionResource`
3572
+ */
3573
+ 200: {
3574
+ data: SessionResource;
3575
+ };
3576
+ };
3577
+ type GetSessionResponse = GetSessionResponses[keyof GetSessionResponses];
3578
+ type GetSpacesBySpaceSlotsData = {
3526
3579
  body?: never;
3527
3580
  path: {
3528
3581
  /**
@@ -3531,9 +3584,9 @@ type GetSpacesBySpaceInvitationsData = {
3531
3584
  space: number;
3532
3585
  };
3533
3586
  query?: never;
3534
- url: '/spaces/{space}/invitations';
3587
+ url: '/spaces/{space}/slots';
3535
3588
  };
3536
- type GetSpacesBySpaceInvitationsErrors = {
3589
+ type GetSpacesBySpaceSlotsErrors = {
3537
3590
  /**
3538
3591
  * Unauthenticated
3539
3592
  */
@@ -3562,18 +3615,18 @@ type GetSpacesBySpaceInvitationsErrors = {
3562
3615
  message: string;
3563
3616
  };
3564
3617
  };
3565
- type GetSpacesBySpaceInvitationsError = GetSpacesBySpaceInvitationsErrors[keyof GetSpacesBySpaceInvitationsErrors];
3566
- type GetSpacesBySpaceInvitationsResponses = {
3618
+ type GetSpacesBySpaceSlotsError = GetSpacesBySpaceSlotsErrors[keyof GetSpacesBySpaceSlotsErrors];
3619
+ type GetSpacesBySpaceSlotsResponses = {
3567
3620
  /**
3568
- * Array of `SpaceInvitationResource`
3621
+ * Array of `SlotResource`
3569
3622
  */
3570
3623
  200: {
3571
- data: Array<SpaceInvitationResource>;
3624
+ data: Array<SlotResource>;
3572
3625
  };
3573
3626
  };
3574
- type GetSpacesBySpaceInvitationsResponse = GetSpacesBySpaceInvitationsResponses[keyof GetSpacesBySpaceInvitationsResponses];
3575
- type PostSpacesBySpaceInvitationsData = {
3576
- body: StoreSpaceInvitationRequest;
3627
+ type GetSpacesBySpaceSlotsResponse = GetSpacesBySpaceSlotsResponses[keyof GetSpacesBySpaceSlotsResponses];
3628
+ type PostSpacesBySpaceSlotsData = {
3629
+ body: StoreSlotRequest;
3577
3630
  path: {
3578
3631
  /**
3579
3632
  * The space ID
@@ -3581,9 +3634,9 @@ type PostSpacesBySpaceInvitationsData = {
3581
3634
  space: number;
3582
3635
  };
3583
3636
  query?: never;
3584
- url: '/spaces/{space}/invitations';
3637
+ url: '/spaces/{space}/slots';
3585
3638
  };
3586
- type PostSpacesBySpaceInvitationsErrors = {
3639
+ type PostSpacesBySpaceSlotsErrors = {
3587
3640
  /**
3588
3641
  * Unauthenticated
3589
3642
  */
@@ -3627,14 +3680,14 @@ type PostSpacesBySpaceInvitationsErrors = {
3627
3680
  };
3628
3681
  };
3629
3682
  };
3630
- type PostSpacesBySpaceInvitationsError = PostSpacesBySpaceInvitationsErrors[keyof PostSpacesBySpaceInvitationsErrors];
3631
- type PostSpacesBySpaceInvitationsResponses = {
3683
+ type PostSpacesBySpaceSlotsError = PostSpacesBySpaceSlotsErrors[keyof PostSpacesBySpaceSlotsErrors];
3684
+ type PostSpacesBySpaceSlotsResponses = {
3632
3685
  200: {
3633
3686
  [key: string]: unknown;
3634
3687
  };
3635
3688
  };
3636
- type PostSpacesBySpaceInvitationsResponse = PostSpacesBySpaceInvitationsResponses[keyof PostSpacesBySpaceInvitationsResponses];
3637
- type DeleteSpacesBySpaceInvitationsByInvitationData = {
3689
+ type PostSpacesBySpaceSlotsResponse = PostSpacesBySpaceSlotsResponses[keyof PostSpacesBySpaceSlotsResponses];
3690
+ type DeleteSpacesBySpaceSlotsBySlotData = {
3638
3691
  body?: never;
3639
3692
  path: {
3640
3693
  /**
@@ -3642,14 +3695,14 @@ type DeleteSpacesBySpaceInvitationsByInvitationData = {
3642
3695
  */
3643
3696
  space: number;
3644
3697
  /**
3645
- * The invitation ID
3698
+ * The slot ID
3646
3699
  */
3647
- invitation: number;
3700
+ slot: number;
3648
3701
  };
3649
3702
  query?: never;
3650
- url: '/spaces/{space}/invitations/{invitation}';
3703
+ url: '/spaces/{space}/slots/{slot}';
3651
3704
  };
3652
- type DeleteSpacesBySpaceInvitationsByInvitationErrors = {
3705
+ type DeleteSpacesBySpaceSlotsBySlotErrors = {
3653
3706
  /**
3654
3707
  * Unauthenticated
3655
3708
  */
@@ -3678,29 +3731,47 @@ type DeleteSpacesBySpaceInvitationsByInvitationErrors = {
3678
3731
  message: string;
3679
3732
  };
3680
3733
  };
3681
- type DeleteSpacesBySpaceInvitationsByInvitationError = DeleteSpacesBySpaceInvitationsByInvitationErrors[keyof DeleteSpacesBySpaceInvitationsByInvitationErrors];
3682
- type DeleteSpacesBySpaceInvitationsByInvitationResponses = {
3734
+ type DeleteSpacesBySpaceSlotsBySlotError = DeleteSpacesBySpaceSlotsBySlotErrors[keyof DeleteSpacesBySpaceSlotsBySlotErrors];
3735
+ type DeleteSpacesBySpaceSlotsBySlotResponses = {
3683
3736
  200: {
3684
3737
  [key: string]: unknown;
3685
3738
  };
3686
3739
  };
3687
- type DeleteSpacesBySpaceInvitationsByInvitationResponse = DeleteSpacesBySpaceInvitationsByInvitationResponses[keyof DeleteSpacesBySpaceInvitationsByInvitationResponses];
3688
- type PostSpacesBySpaceInvitationsByInvitationResendData = {
3740
+ type DeleteSpacesBySpaceSlotsBySlotResponse = DeleteSpacesBySpaceSlotsBySlotResponses[keyof DeleteSpacesBySpaceSlotsBySlotResponses];
3741
+ type GetSpacesData = {
3689
3742
  body?: never;
3690
- path: {
3691
- /**
3692
- * The space ID
3693
- */
3694
- space: number;
3743
+ path?: never;
3744
+ query?: never;
3745
+ url: '/spaces';
3746
+ };
3747
+ type GetSpacesErrors = {
3748
+ /**
3749
+ * Unauthenticated
3750
+ */
3751
+ 401: {
3695
3752
  /**
3696
- * The invitation ID
3753
+ * Error overview.
3697
3754
  */
3698
- invitation: number;
3755
+ message: string;
3756
+ };
3757
+ };
3758
+ type GetSpacesError = GetSpacesErrors[keyof GetSpacesErrors];
3759
+ type GetSpacesResponses = {
3760
+ /**
3761
+ * Array of `SpaceResource`
3762
+ */
3763
+ 200: {
3764
+ data: Array<SpaceResource>;
3699
3765
  };
3766
+ };
3767
+ type GetSpacesResponse = GetSpacesResponses[keyof GetSpacesResponses];
3768
+ type PostSpacesData = {
3769
+ body: StoreSpaceRequest;
3770
+ path?: never;
3700
3771
  query?: never;
3701
- url: '/spaces/{space}/invitations/{invitation}/resend';
3772
+ url: '/spaces';
3702
3773
  };
3703
- type PostSpacesBySpaceInvitationsByInvitationResendErrors = {
3774
+ type PostSpacesErrors = {
3704
3775
  /**
3705
3776
  * Unauthenticated
3706
3777
  */
@@ -3720,28 +3791,29 @@ type PostSpacesBySpaceInvitationsByInvitationResendErrors = {
3720
3791
  message: string;
3721
3792
  };
3722
3793
  /**
3723
- * Not found
3794
+ * Validation error
3724
3795
  */
3725
- 404: {
3796
+ 422: {
3726
3797
  /**
3727
- * Error overview.
3798
+ * Errors overview.
3728
3799
  */
3729
3800
  message: string;
3801
+ /**
3802
+ * A detailed description of each field that failed validation.
3803
+ */
3804
+ errors: {
3805
+ [key: string]: Array<string>;
3806
+ };
3730
3807
  };
3731
3808
  };
3732
- type PostSpacesBySpaceInvitationsByInvitationResendError = PostSpacesBySpaceInvitationsByInvitationResendErrors[keyof PostSpacesBySpaceInvitationsByInvitationResendErrors];
3733
- type PostSpacesBySpaceInvitationsByInvitationResendResponses = {
3734
- /**
3735
- * `SpaceInvitationResource`
3736
- */
3809
+ type PostSpacesError = PostSpacesErrors[keyof PostSpacesErrors];
3810
+ type PostSpacesResponses = {
3737
3811
  200: {
3738
3812
  [key: string]: unknown;
3739
- } | {
3740
- data: SpaceInvitationResource;
3741
3813
  };
3742
3814
  };
3743
- type PostSpacesBySpaceInvitationsByInvitationResendResponse = PostSpacesBySpaceInvitationsByInvitationResendResponses[keyof PostSpacesBySpaceInvitationsByInvitationResendResponses];
3744
- type GetSpacesBySpaceMembersData = {
3815
+ type PostSpacesResponse = PostSpacesResponses[keyof PostSpacesResponses];
3816
+ type DeleteSpacesBySpaceData = {
3745
3817
  body?: never;
3746
3818
  path: {
3747
3819
  /**
@@ -3750,9 +3822,9 @@ type GetSpacesBySpaceMembersData = {
3750
3822
  space: number;
3751
3823
  };
3752
3824
  query?: never;
3753
- url: '/spaces/{space}/members';
3825
+ url: '/spaces/{space}';
3754
3826
  };
3755
- type GetSpacesBySpaceMembersErrors = {
3827
+ type DeleteSpacesBySpaceErrors = {
3756
3828
  /**
3757
3829
  * Unauthenticated
3758
3830
  */
@@ -3781,32 +3853,25 @@ type GetSpacesBySpaceMembersErrors = {
3781
3853
  message: string;
3782
3854
  };
3783
3855
  };
3784
- type GetSpacesBySpaceMembersError = GetSpacesBySpaceMembersErrors[keyof GetSpacesBySpaceMembersErrors];
3785
- type GetSpacesBySpaceMembersResponses = {
3786
- /**
3787
- * Array of `SpaceMemberResource`
3788
- */
3856
+ type DeleteSpacesBySpaceError = DeleteSpacesBySpaceErrors[keyof DeleteSpacesBySpaceErrors];
3857
+ type DeleteSpacesBySpaceResponses = {
3789
3858
  200: {
3790
- data: Array<SpaceMemberResource>;
3859
+ [key: string]: unknown;
3791
3860
  };
3792
3861
  };
3793
- type GetSpacesBySpaceMembersResponse = GetSpacesBySpaceMembersResponses[keyof GetSpacesBySpaceMembersResponses];
3794
- type DeleteSpacesBySpaceMembersByUserData = {
3862
+ type DeleteSpacesBySpaceResponse = DeleteSpacesBySpaceResponses[keyof DeleteSpacesBySpaceResponses];
3863
+ type GetSpacesBySpaceData = {
3795
3864
  body?: never;
3796
3865
  path: {
3797
3866
  /**
3798
3867
  * The space ID
3799
3868
  */
3800
3869
  space: number;
3801
- /**
3802
- * The user ID
3803
- */
3804
- user: number;
3805
3870
  };
3806
3871
  query?: never;
3807
- url: '/spaces/{space}/members/{user}';
3872
+ url: '/spaces/{space}';
3808
3873
  };
3809
- type DeleteSpacesBySpaceMembersByUserErrors = {
3874
+ type GetSpacesBySpaceErrors = {
3810
3875
  /**
3811
3876
  * Unauthenticated
3812
3877
  */
@@ -3835,29 +3900,28 @@ type DeleteSpacesBySpaceMembersByUserErrors = {
3835
3900
  message: string;
3836
3901
  };
3837
3902
  };
3838
- type DeleteSpacesBySpaceMembersByUserError = DeleteSpacesBySpaceMembersByUserErrors[keyof DeleteSpacesBySpaceMembersByUserErrors];
3839
- type DeleteSpacesBySpaceMembersByUserResponses = {
3903
+ type GetSpacesBySpaceError = GetSpacesBySpaceErrors[keyof GetSpacesBySpaceErrors];
3904
+ type GetSpacesBySpaceResponses = {
3905
+ /**
3906
+ * `SpaceResource`
3907
+ */
3840
3908
  200: {
3841
- [key: string]: unknown;
3909
+ data: SpaceResource;
3842
3910
  };
3843
3911
  };
3844
- type DeleteSpacesBySpaceMembersByUserResponse = DeleteSpacesBySpaceMembersByUserResponses[keyof DeleteSpacesBySpaceMembersByUserResponses];
3845
- type PatchSpacesBySpaceMembersByUserData = {
3846
- body: UpdateSpaceMemberRequest;
3912
+ type GetSpacesBySpaceResponse = GetSpacesBySpaceResponses[keyof GetSpacesBySpaceResponses];
3913
+ type PutSpacesBySpaceData = {
3914
+ body?: UpdateSpaceRequest;
3847
3915
  path: {
3848
3916
  /**
3849
3917
  * The space ID
3850
3918
  */
3851
3919
  space: number;
3852
- /**
3853
- * The user ID
3854
- */
3855
- user: number;
3856
3920
  };
3857
3921
  query?: never;
3858
- url: '/spaces/{space}/members/{user}';
3922
+ url: '/spaces/{space}';
3859
3923
  };
3860
- type PatchSpacesBySpaceMembersByUserErrors = {
3924
+ type PutSpacesBySpaceErrors = {
3861
3925
  /**
3862
3926
  * Unauthenticated
3863
3927
  */
@@ -3901,60 +3965,18 @@ type PatchSpacesBySpaceMembersByUserErrors = {
3901
3965
  };
3902
3966
  };
3903
3967
  };
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
- };
3968
+ type PutSpacesBySpaceError = PutSpacesBySpaceErrors[keyof PutSpacesBySpaceErrors];
3969
+ type PutSpacesBySpaceResponses = {
3941
3970
  /**
3942
- * Not found
3971
+ * `SpaceResource`
3943
3972
  */
3944
- 404: {
3945
- /**
3946
- * Error overview.
3947
- */
3948
- message: string;
3949
- };
3950
- };
3951
- type PostSpacesBySpaceMembersLeaveError = PostSpacesBySpaceMembersLeaveErrors[keyof PostSpacesBySpaceMembersLeaveErrors];
3952
- type PostSpacesBySpaceMembersLeaveResponses = {
3953
3973
  200: {
3974
+ data: SpaceResource;
3975
+ } | {
3954
3976
  [key: string]: unknown;
3955
3977
  };
3956
3978
  };
3957
- type PostSpacesBySpaceMembersLeaveResponse = PostSpacesBySpaceMembersLeaveResponses[keyof PostSpacesBySpaceMembersLeaveResponses];
3979
+ type PutSpacesBySpaceResponse = PutSpacesBySpaceResponses[keyof PutSpacesBySpaceResponses];
3958
3980
  type GetSubscriptionData = {
3959
3981
  body?: never;
3960
3982
  path?: never;
@@ -4356,6 +4378,9 @@ declare class ApiTokens extends HeyApiClient {
4356
4378
  create<ThrowOnError extends boolean = false>(options: Options<PostApiTokensData, ThrowOnError>): RequestResult<PostApiTokensResponses, PostApiTokensErrors, ThrowOnError, "fields">;
4357
4379
  /**
4358
4380
  * Revoke an API token
4381
+ *
4382
+ * The API key itself cannot be revoked this way — rotate it instead, so
4383
+ * the account is never left without one.
4359
4384
  */
4360
4385
  delete<ThrowOnError extends boolean = false>(options: Options<DeleteApiTokensByTokenIdData, ThrowOnError>): RequestResult<DeleteApiTokensByTokenIdResponses, DeleteApiTokensByTokenIdErrors, ThrowOnError, "fields">;
4361
4386
  }
@@ -4441,6 +4466,48 @@ declare class Media extends HeyApiClient {
4441
4466
  */
4442
4467
  sign<ThrowOnError extends boolean = false>(options: Options<PostMediaSignData, ThrowOnError>): RequestResult<PostMediaSignResponses, PostMediaSignErrors, ThrowOnError, "fields">;
4443
4468
  }
4469
+ declare class Invitations extends HeyApiClient {
4470
+ /**
4471
+ * List pending invitations for an organization
4472
+ */
4473
+ list<ThrowOnError extends boolean = false>(options: Options<GetOrganizationsByOrganizationInvitationsData, ThrowOnError>): RequestResult<GetOrganizationsByOrganizationInvitationsResponses, GetOrganizationsByOrganizationInvitationsErrors, ThrowOnError, "fields">;
4474
+ /**
4475
+ * Send an invitation
4476
+ */
4477
+ create<ThrowOnError extends boolean = false>(options: Options<PostOrganizationsByOrganizationInvitationsData, ThrowOnError>): RequestResult<PostOrganizationsByOrganizationInvitationsResponses, PostOrganizationsByOrganizationInvitationsErrors, ThrowOnError, "fields">;
4478
+ /**
4479
+ * Revoke a pending invitation
4480
+ */
4481
+ delete<ThrowOnError extends boolean = false>(options: Options<DeleteOrganizationsByOrganizationInvitationsByInvitationData, ThrowOnError>): RequestResult<DeleteOrganizationsByOrganizationInvitationsByInvitationResponses, DeleteOrganizationsByOrganizationInvitationsByInvitationErrors, ThrowOnError, "fields">;
4482
+ /**
4483
+ * Regenerate token + expiry and resend the invitation email
4484
+ */
4485
+ resend<ThrowOnError extends boolean = false>(options: Options<PostOrganizationsByOrganizationInvitationsByInvitationResendData, ThrowOnError>): RequestResult<PostOrganizationsByOrganizationInvitationsByInvitationResendResponses, PostOrganizationsByOrganizationInvitationsByInvitationResendErrors, ThrowOnError, "fields">;
4486
+ }
4487
+ declare class Members extends HeyApiClient {
4488
+ /**
4489
+ * List members of an organization
4490
+ */
4491
+ list<ThrowOnError extends boolean = false>(options: Options<GetOrganizationsByOrganizationMembersData, ThrowOnError>): RequestResult<GetOrganizationsByOrganizationMembersResponses, GetOrganizationsByOrganizationMembersErrors, ThrowOnError, "fields">;
4492
+ /**
4493
+ * The authenticated user leaves the organization
4494
+ */
4495
+ leave<ThrowOnError extends boolean = false>(options: Options<PostOrganizationsByOrganizationMembersLeaveData, ThrowOnError>): RequestResult<PostOrganizationsByOrganizationMembersLeaveResponses, PostOrganizationsByOrganizationMembersLeaveErrors, ThrowOnError, "fields">;
4496
+ /**
4497
+ * Remove a member, and with them their access to every space
4498
+ */
4499
+ delete<ThrowOnError extends boolean = false>(options: Options<DeleteOrganizationsByOrganizationMembersByUserData, ThrowOnError>): RequestResult<DeleteOrganizationsByOrganizationMembersByUserResponses, DeleteOrganizationsByOrganizationMembersByUserErrors, ThrowOnError, "fields">;
4500
+ /**
4501
+ * Update a member's permissions across the organization
4502
+ */
4503
+ update<ThrowOnError extends boolean = false>(options: Options<PatchOrganizationsByOrganizationMembersByUserData, ThrowOnError>): RequestResult<PatchOrganizationsByOrganizationMembersByUserResponses, PatchOrganizationsByOrganizationMembersByUserErrors, ThrowOnError, "fields">;
4504
+ }
4505
+ declare class Organizations extends HeyApiClient {
4506
+ private _invitations?;
4507
+ get invitations(): Invitations;
4508
+ private _members?;
4509
+ get members(): Members;
4510
+ }
4444
4511
  declare class Comment extends HeyApiClient {
4445
4512
  /**
4446
4513
  * Attach a follow-up comment to an existing post. If the post has already
@@ -4551,42 +4618,6 @@ declare class Spaces extends HeyApiClient {
4551
4618
  */
4552
4619
  update<ThrowOnError extends boolean = false>(options: Options<PutSpacesBySpaceData, ThrowOnError>): RequestResult<PutSpacesBySpaceResponses, PutSpacesBySpaceErrors, ThrowOnError, "fields">;
4553
4620
  }
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
4621
  declare class Subscription extends HeyApiClient {
4591
4622
  /**
4592
4623
  * Get subscription details
@@ -4644,6 +4675,8 @@ declare class ZilfuApi extends HeyApiClient {
4644
4675
  get health(): Health;
4645
4676
  private _media?;
4646
4677
  get media(): Media;
4678
+ private _organizations?;
4679
+ get organizations(): Organizations;
4647
4680
  private _posts?;
4648
4681
  get posts(): Posts;
4649
4682
  private _queue?;
@@ -4656,10 +4689,6 @@ declare class ZilfuApi extends HeyApiClient {
4656
4689
  get slots(): Slots;
4657
4690
  private _spaces?;
4658
4691
  get spaces(): Spaces;
4659
- private _invitations?;
4660
- get invitations(): Invitations;
4661
- private _members?;
4662
- get members(): Members;
4663
4692
  private _subscription?;
4664
4693
  get subscription(): Subscription;
4665
4694
  private _webhooks?;
@@ -4696,4 +4725,4 @@ declare class ZilfuApiError extends Error {
4696
4725
  constructor(init: ZilfuApiErrorInit);
4697
4726
  }
4698
4727
 
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 };
4728
+ 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 };