@company-semantics/contracts 0.120.0 → 0.122.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -191,12 +191,7 @@ export interface paths {
191
191
  path?: never;
192
192
  cookie?: never;
193
193
  };
194
- /**
195
- * List user's org memberships
196
- * @description Returns all organizations the current user is a member of.
197
- * Used by the org switcher UI for multi-org support.
198
- * Only returns active memberships.
199
- */
194
+ /** List user's org memberships */
200
195
  get: operations["listUserOrgs"];
201
196
  put?: never;
202
197
  post?: never;
@@ -215,12 +210,7 @@ export interface paths {
215
210
  };
216
211
  get?: never;
217
212
  put?: never;
218
- /**
219
- * Set active org context
220
- * @description Set the active organization context for the current user.
221
- * Validates that the user is a member of the target org.
222
- * Does NOT re-authenticate or elevate permissions.
223
- */
213
+ /** Set active org context */
224
214
  post: operations["setActiveOrg"];
225
215
  delete?: never;
226
216
  options?: never;
@@ -629,19 +619,9 @@ export interface paths {
629
619
  };
630
620
  get?: never;
631
621
  put?: never;
632
- /**
633
- * Initiate ownership transfer
634
- * @description Initiates an ownership transfer to a new owner by email.
635
- * Sends an email with a transfer acceptance link to the new owner.
636
- * Only the org owner can initiate transfers.
637
- * Rate limited: 5/hour per user.
638
- */
622
+ /** Initiate ownership transfer */
639
623
  post: operations["initiateOwnershipTransfer"];
640
- /**
641
- * Cancel ownership transfer
642
- * @description Cancels a pending ownership transfer.
643
- * Only the user who initiated the transfer can cancel it.
644
- */
624
+ /** Cancel ownership transfer */
645
625
  delete: operations["cancelOwnershipTransfer"];
646
626
  options?: never;
647
627
  head?: never;
@@ -655,11 +635,7 @@ export interface paths {
655
635
  path?: never;
656
636
  cookie?: never;
657
637
  };
658
- /**
659
- * Get ownership transfer status
660
- * @description Returns the status of any pending ownership transfer.
661
- * Only the org owner can view transfer status.
662
- */
638
+ /** Get ownership transfer status */
663
639
  get: operations["getOwnershipTransferStatus"];
664
640
  put?: never;
665
641
  post?: never;
@@ -678,13 +654,7 @@ export interface paths {
678
654
  };
679
655
  get?: never;
680
656
  put?: never;
681
- /**
682
- * Preview ownership transfer details
683
- * @description Returns transfer details for the acceptance page.
684
- * This endpoint does NOT require session auth - the token is the credential.
685
- * Token is passed in POST body (not URL) to prevent logging exposure.
686
- * Rate limited: 10/hour per IP.
687
- */
657
+ /** Preview ownership transfer details */
688
658
  post: operations["previewOwnershipTransfer"];
689
659
  delete?: never;
690
660
  options?: never;
@@ -701,12 +671,7 @@ export interface paths {
701
671
  };
702
672
  get?: never;
703
673
  put?: never;
704
- /**
705
- * Accept ownership transfer
706
- * @description Accepts an ownership transfer using the token from email.
707
- * Requires authenticated session with login freshness (15 minutes).
708
- * Rate limited: 10/hour per IP.
709
- */
674
+ /** Accept ownership transfer */
710
675
  post: operations["acceptOwnershipTransfer"];
711
676
  delete?: never;
712
677
  options?: never;
@@ -721,12 +686,7 @@ export interface paths {
721
686
  path?: never;
722
687
  cookie?: never;
723
688
  };
724
- /**
725
- * Get ITL-aware transfer eligibility
726
- * @description Returns ITL-aware transfer eligibility for the org and all members.
727
- * Used by the transfer ownership dialog to show eligibility indicators.
728
- * Only org owners may call this endpoint.
729
- */
689
+ /** Get ITL-aware transfer eligibility */
730
690
  get: operations["getTransferEligibility"];
731
691
  put?: never;
732
692
  post?: never;
@@ -743,12 +703,7 @@ export interface paths {
743
703
  path?: never;
744
704
  cookie?: never;
745
705
  };
746
- /**
747
- * Check org deletion eligibility
748
- * @description Check whether the current org is eligible for deletion and return
749
- * member classification (suggested fates for each member).
750
- * Only org owners may call this endpoint.
751
- */
706
+ /** Check org deletion eligibility */
752
707
  get: operations["orgDeletionEligibility"];
753
708
  put?: never;
754
709
  post?: never;
@@ -767,12 +722,7 @@ export interface paths {
767
722
  };
768
723
  get?: never;
769
724
  put?: never;
770
- /**
771
- * Request org deletion
772
- * @description Request deletion of the current org. Requires explicit list of user IDs
773
- * to cascade-delete. Non-listed members will be removed from org only.
774
- * Only org owners may call this endpoint.
775
- */
725
+ /** Request org deletion */
776
726
  post: operations["orgDelete"];
777
727
  delete?: never;
778
728
  options?: never;
@@ -789,13 +739,7 @@ export interface paths {
789
739
  };
790
740
  get?: never;
791
741
  put?: never;
792
- /**
793
- * Cancel pending org deletion
794
- * @description Cancel a pending org deletion during the 30-day grace period.
795
- * Restores org to active, re-activates memberships, and cancels
796
- * cascade-deleted users (if still pending and no independent intent).
797
- * Only org owners may call this endpoint.
798
- */
742
+ /** Cancel pending org deletion */
799
743
  post: operations["orgCancelDeletion"];
800
744
  delete?: never;
801
745
  options?: never;
@@ -844,11 +788,7 @@ export interface paths {
844
788
  path?: never;
845
789
  cookie?: never;
846
790
  };
847
- /**
848
- * Check workspace access
849
- * @description Lightweight authorization probe for the workspace control plane.
850
- * Returns whether the current user has access to workspace features.
851
- */
791
+ /** Check workspace access */
852
792
  get: operations["getWorkspaceAccess"];
853
793
  put?: never;
854
794
  post?: never;
@@ -865,11 +805,7 @@ export interface paths {
865
805
  path?: never;
866
806
  cookie?: never;
867
807
  };
868
- /**
869
- * Get workspace overview
870
- * @description Returns workspace overview including org details, owner info, and member count.
871
- * Requires org.view_workspace capability.
872
- */
808
+ /** Get workspace overview */
873
809
  get: operations["getWorkspaceOverview"];
874
810
  put?: never;
875
811
  post?: never;
@@ -892,10 +828,7 @@ export interface paths {
892
828
  delete?: never;
893
829
  options?: never;
894
830
  head?: never;
895
- /**
896
- * Rename the workspace
897
- * @description PATCH the workspace name. Requires org.manage_users capability (owner or admin).
898
- */
831
+ /** Rename the workspace */
899
832
  patch: operations["renameWorkspace"];
900
833
  trace?: never;
901
834
  };
@@ -906,12 +839,7 @@ export interface paths {
906
839
  path?: never;
907
840
  cookie?: never;
908
841
  };
909
- /**
910
- * Get workspace members
911
- * @description Returns list of workspace members with their roles.
912
- * Human users only (no agent actors).
913
- * Requires org.view_workspace capability.
914
- */
842
+ /** Get workspace members */
915
843
  get: operations["getWorkspaceMembers"];
916
844
  put?: never;
917
845
  post?: never;
@@ -928,12 +856,7 @@ export interface paths {
928
856
  path?: never;
929
857
  cookie?: never;
930
858
  };
931
- /**
932
- * Get workspace auth config
933
- * @description Returns workspace authentication configuration.
934
- * Shows which auth methods are enabled.
935
- * Requires org.view_workspace capability.
936
- */
859
+ /** Get workspace auth config */
937
860
  get: operations["getWorkspaceAuth"];
938
861
  put?: never;
939
862
  post?: never;
@@ -950,13 +873,7 @@ export interface paths {
950
873
  path?: never;
951
874
  cookie?: never;
952
875
  };
953
- /**
954
- * Get workspace audit log
955
- * @description Returns workspace audit events.
956
- * Only returns spec-defined events (server-side filtering).
957
- * Supports pagination with limit (max 100) and offset (max 1000).
958
- * Requires org.view_workspace capability.
959
- */
876
+ /** Get workspace audit log */
960
877
  get: operations["getWorkspaceAudit"];
961
878
  put?: never;
962
879
  post?: never;
@@ -979,12 +896,7 @@ export interface paths {
979
896
  delete?: never;
980
897
  options?: never;
981
898
  head?: never;
982
- /**
983
- * Update workspace auth policy
984
- * @description Updates the workspace authentication policy.
985
- * Owner-only endpoint (requires org.manage_auth capability).
986
- * Auth policy changes do NOT affect existing sessions.
987
- */
899
+ /** Update workspace auth policy */
988
900
  patch: operations["updateWorkspaceAuthPolicy"];
989
901
  trace?: never;
990
902
  };
@@ -997,12 +909,7 @@ export interface paths {
997
909
  };
998
910
  get?: never;
999
911
  put?: never;
1000
- /**
1001
- * Validate OIDC discovery URL
1002
- * @description Validates an OIDC discovery URL before saving SSO credentials.
1003
- * Checks HTTPS requirement, SSRF protection, and required OIDC fields.
1004
- * Admin-only endpoint (requires org.manage_auth capability).
1005
- */
912
+ /** Validate OIDC discovery URL */
1006
913
  post: operations["validateOidcDiscovery"];
1007
914
  delete?: never;
1008
915
  options?: never;
@@ -1019,13 +926,7 @@ export interface paths {
1019
926
  };
1020
927
  get?: never;
1021
928
  put?: never;
1022
- /**
1023
- * Initiate test SSO login attempt
1024
- * @description Creates a pending SSO test attempt, generates an OAuth state token
1025
- * with isTest=true, builds the IdP authorization URL, and returns
1026
- * the URL and attempt ID for polling.
1027
- * Requires org.manage_auth capability.
1028
- */
929
+ /** Initiate a test SSO login */
1029
930
  post: operations["initiateTestSso"];
1030
931
  delete?: never;
1031
932
  options?: never;
@@ -1040,12 +941,7 @@ export interface paths {
1040
941
  path?: never;
1041
942
  cookie?: never;
1042
943
  };
1043
- /**
1044
- * Poll test SSO attempt status
1045
- * @description Returns the current status of a test SSO login attempt.
1046
- * Pending attempts older than 5 minutes are lazily reported as expired.
1047
- * Requires org.manage_auth capability.
1048
- */
944
+ /** Poll test SSO login status */
1049
945
  get: operations["pollTestSso"];
1050
946
  put?: never;
1051
947
  post?: never;
@@ -1062,12 +958,7 @@ export interface paths {
1062
958
  path?: never;
1063
959
  cookie?: never;
1064
960
  };
1065
- /**
1066
- * Validate an invite token
1067
- * @description Validate an invite token without accepting it.
1068
- * Used by the frontend to preflight-check tokens on page load.
1069
- * No authentication required.
1070
- */
961
+ /** Validate an invite token */
1071
962
  get: operations["validateInviteToken"];
1072
963
  put?: never;
1073
964
  post?: never;
@@ -1084,19 +975,10 @@ export interface paths {
1084
975
  path?: never;
1085
976
  cookie?: never;
1086
977
  };
1087
- /**
1088
- * List pending invites
1089
- * @description List pending invites for the current organization.
1090
- * Requires org.view_workspace capability.
1091
- */
978
+ /** List pending invites */
1092
979
  get: operations["listPendingInvites"];
1093
980
  put?: never;
1094
- /**
1095
- * Create workspace invite
1096
- * @description Create a new organization invite.
1097
- * Requires org.invite_member capability.
1098
- * Invites expire after 7 days.
1099
- */
981
+ /** Create workspace invite */
1100
982
  post: operations["createInvite"];
1101
983
  delete?: never;
1102
984
  options?: never;
@@ -1113,11 +995,7 @@ export interface paths {
1113
995
  };
1114
996
  get?: never;
1115
997
  put?: never;
1116
- /**
1117
- * Accept workspace invite
1118
- * @description Accept an organization invite.
1119
- * First invite acceptance triggers personal to shared transition.
1120
- */
998
+ /** Accept workspace invite */
1121
999
  post: operations["acceptInvite"];
1122
1000
  delete?: never;
1123
1001
  options?: never;
@@ -1135,11 +1013,7 @@ export interface paths {
1135
1013
  get?: never;
1136
1014
  put?: never;
1137
1015
  post?: never;
1138
- /**
1139
- * Revoke pending invite
1140
- * @description Revoke a pending invite.
1141
- * Requires org.invite_member capability.
1142
- */
1016
+ /** Revoke pending invite */
1143
1017
  delete: operations["revokeInvite"];
1144
1018
  options?: never;
1145
1019
  head?: never;
@@ -1156,12 +1030,7 @@ export interface paths {
1156
1030
  get?: never;
1157
1031
  put?: never;
1158
1032
  post?: never;
1159
- /**
1160
- * Remove workspace member
1161
- * @description Remove a member from the workspace.
1162
- * Cannot remove the owner (must transfer ownership first).
1163
- * Admin floor enforced (at least one admin must remain).
1164
- */
1033
+ /** Remove workspace member */
1165
1034
  delete: operations["removeMember"];
1166
1035
  options?: never;
1167
1036
  head?: never;
@@ -1181,12 +1050,7 @@ export interface paths {
1181
1050
  delete?: never;
1182
1051
  options?: never;
1183
1052
  head?: never;
1184
- /**
1185
- * Change member role
1186
- * @description Change a member's role.
1187
- * Cannot change the owner's role (must transfer ownership first).
1188
- * Admin floor enforced (cannot demote last admin).
1189
- */
1053
+ /** Change member role */
1190
1054
  patch: operations["changeMemberRole"];
1191
1055
  trace?: never;
1192
1056
  };
@@ -1197,22 +1061,10 @@ export interface paths {
1197
1061
  path?: never;
1198
1062
  cookie?: never;
1199
1063
  };
1200
- /**
1201
- * List workspace domains
1202
- * @description List all domains claimed by the workspace.
1203
- * Returns domains with their verification status.
1204
- * Verification tokens are NOT included in response.
1205
- * Requires org.view_workspace capability.
1206
- */
1064
+ /** List workspace domains */
1207
1065
  get: operations["listDomains"];
1208
1066
  put?: never;
1209
- /**
1210
- * Claim a domain for verification
1211
- * @description Claim a domain for DNS verification.
1212
- * Creates a pending domain claim with DNS TXT record instructions.
1213
- * Only one org can have a verified claim on a domain (global uniqueness).
1214
- * Requires org.claim_domain capability (owner-only).
1215
- */
1067
+ /** Claim a domain for verification */
1216
1068
  post: operations["claimDomain"];
1217
1069
  delete?: never;
1218
1070
  options?: never;
@@ -1229,13 +1081,7 @@ export interface paths {
1229
1081
  };
1230
1082
  get?: never;
1231
1083
  put?: never;
1232
- /**
1233
- * Verify domain ownership
1234
- * @description Trigger DNS verification for a pending domain claim.
1235
- * Checks DNS TXT record for the verification token.
1236
- * On success, domain status changes to 'verified'.
1237
- * Requires org.claim_domain capability (owner-only).
1238
- */
1084
+ /** Trigger DNS verification for a domain */
1239
1085
  post: operations["verifyDomain"];
1240
1086
  delete?: never;
1241
1087
  options?: never;
@@ -1253,12 +1099,7 @@ export interface paths {
1253
1099
  get?: never;
1254
1100
  put?: never;
1255
1101
  post?: never;
1256
- /**
1257
- * Delete domain claim
1258
- * @description Delete a domain claim.
1259
- * Removes the domain record, allowing other orgs to claim it.
1260
- * Requires org.claim_domain capability (owner-only).
1261
- */
1102
+ /** Delete a domain claim */
1262
1103
  delete: operations["deleteDomain"];
1263
1104
  options?: never;
1264
1105
  head?: never;
@@ -1274,11 +1115,7 @@ export interface paths {
1274
1115
  };
1275
1116
  get?: never;
1276
1117
  put?: never;
1277
- /**
1278
- * Resync workspace logo from Slack
1279
- * @description Manually resync the workspace logo from the connected Slack workspace icon.
1280
- * Requires org.view_workspace capability and an active Slack connection.
1281
- */
1118
+ /** Resync workspace logo from Slack */
1282
1119
  post: operations["resyncSlackLogo"];
1283
1120
  delete?: never;
1284
1121
  options?: never;
@@ -1295,13 +1132,7 @@ export interface paths {
1295
1132
  };
1296
1133
  get?: never;
1297
1134
  put?: never;
1298
- /**
1299
- * Resolve a tokenized URL path to hydrated navigation layers
1300
- * @description Resolves a tokenized workspace URL path to hydrated entity data.
1301
- * Used by the frontend for cold-start deep linking and browser back/forward.
1302
- * Path segments follow a [type, slug] pair grammar: "dept" before "team",
1303
- * "team" requires preceding "dept", and "members" must be terminal.
1304
- */
1135
+ /** Resolve a tokenized URL path to hydrated navigation layers */
1305
1136
  post: operations["resolveWorkspacePath"];
1306
1137
  delete?: never;
1307
1138
  options?: never;
@@ -1403,11 +1234,7 @@ export interface paths {
1403
1234
  path?: never;
1404
1235
  cookie?: never;
1405
1236
  };
1406
- /**
1407
- * Get organization billing information
1408
- * @description Read-only billing information for organization owners.
1409
- * Only org owners may view billing (BILL-ORG-1).
1410
- */
1237
+ /** Get organization billing information */
1411
1238
  get: operations["getBilling"];
1412
1239
  put?: never;
1413
1240
  post?: never;
@@ -2087,11 +1914,7 @@ export interface paths {
2087
1914
  };
2088
1915
  get?: never;
2089
1916
  put?: never;
2090
- /**
2091
- * Leave an organization
2092
- * @description Voluntarily leave a shared organization. Cannot leave personal orgs
2093
- * or if the user is the sole owner.
2094
- */
1917
+ /** Leave an organization */
2095
1918
  post: operations["leaveOrg"];
2096
1919
  delete?: never;
2097
1920
  options?: never;
@@ -2184,10 +2007,7 @@ export interface paths {
2184
2007
  };
2185
2008
  get?: never;
2186
2009
  put?: never;
2187
- /**
2188
- * Batch check authorization scopes for current user
2189
- * @description Checks whether the current user has access to each of the given scopes. Scope strings are implementation-defined and not part of the public API vocabulary. Accepts 1-20 scope strings per request.
2190
- */
2010
+ /** Batch check authorization scopes for current user */
2191
2011
  post: operations["checkScopeBatch"];
2192
2012
  delete?: never;
2193
2013
  options?: never;
@@ -2321,7 +2141,18 @@ export interface components {
2321
2141
  memberCount: number;
2322
2142
  };
2323
2143
  UserOrgsResponse: {
2324
- orgs: components["schemas"]["UserOrgMembership"][];
2144
+ orgs: {
2145
+ userId: string;
2146
+ orgId: string;
2147
+ orgName: string;
2148
+ orgSlug: string;
2149
+ /** @enum {string} */
2150
+ role: "owner" | "admin" | "member" | "auditor";
2151
+ joinedAt: string;
2152
+ isActive: boolean;
2153
+ /** @enum {string} */
2154
+ orgType: "personal" | "shared";
2155
+ }[];
2325
2156
  };
2326
2157
  UserOrgMembership: {
2327
2158
  /** Format: uuid */
@@ -2337,16 +2168,12 @@ export interface components {
2337
2168
  orgType: components["schemas"]["OrgType"];
2338
2169
  };
2339
2170
  SetActiveOrgRequest: {
2340
- /**
2341
- * Format: uuid
2342
- * @description The ID of the organization to switch to
2343
- */
2171
+ /** Format: uuid */
2344
2172
  orgId: string;
2345
2173
  };
2346
2174
  SetActiveOrgResponse: {
2347
2175
  /** @constant */
2348
2176
  success: true;
2349
- /** Format: uuid */
2350
2177
  activeOrgId: string;
2351
2178
  };
2352
2179
  /** @enum {string} */
@@ -2877,16 +2704,12 @@ export interface components {
2877
2704
  RelayState: string;
2878
2705
  };
2879
2706
  InitiateTransferRequest: {
2880
- /**
2881
- * Format: email
2882
- * @description Email of the new owner
2883
- */
2707
+ /** Format: email */
2884
2708
  newOwnerEmail: string;
2709
+ note?: string;
2885
2710
  };
2886
2711
  InitiateTransferResponse: {
2887
- /** Format: uuid */
2888
2712
  transferId: string;
2889
- /** Format: date-time */
2890
2713
  expiresAt: string;
2891
2714
  message: string;
2892
2715
  };
@@ -2955,19 +2778,16 @@ export interface components {
2955
2778
  name: string;
2956
2779
  };
2957
2780
  WorkspaceOverview: {
2958
- /** Format: uuid */
2959
2781
  id: string;
2960
2782
  name: string;
2961
- type: components["schemas"]["OrgType"];
2783
+ /** @enum {string} */
2784
+ type: "personal" | "shared";
2962
2785
  logoUrl: string | null;
2963
2786
  owner: {
2964
- /** Format: uuid */
2965
2787
  id: string;
2966
2788
  name: string;
2967
- /** Format: email */
2968
2789
  email: string;
2969
2790
  };
2970
- /** Format: date-time */
2971
2791
  createdAt: string;
2972
2792
  memberCount: number;
2973
2793
  claimable: boolean;
@@ -2983,10 +2803,15 @@ export interface components {
2983
2803
  joinedAt: string;
2984
2804
  };
2985
2805
  WorkspaceMembersResponse: {
2986
- items: components["schemas"]["WorkspaceMember"][];
2987
- /** @description Cursor for next page, null if no more results */
2988
- nextCursor?: string | null;
2989
- /** @description Whether more results are available */
2806
+ items: {
2807
+ id: string;
2808
+ name: string;
2809
+ email: string;
2810
+ /** @enum {string} */
2811
+ role: "owner" | "admin" | "member" | "auditor";
2812
+ joinedAt: string;
2813
+ }[];
2814
+ nextCursor: string | null;
2990
2815
  hasMore: boolean;
2991
2816
  };
2992
2817
  AuthMethodConfig: {
@@ -2994,10 +2819,82 @@ export interface components {
2994
2819
  provider?: string;
2995
2820
  };
2996
2821
  WorkspaceAuthConfig: {
2997
- emailOtp: components["schemas"]["AuthMethodConfig"];
2998
- googleSso: components["schemas"]["AuthMethodConfig"];
2999
- microsoftSso: components["schemas"]["AuthMethodConfig"];
3000
- okta: components["schemas"]["AuthMethodConfig"];
2822
+ emailOtp: {
2823
+ enabled: boolean;
2824
+ provider?: string;
2825
+ };
2826
+ googleSso: {
2827
+ enabled: boolean;
2828
+ provider?: string;
2829
+ };
2830
+ microsoftSso: {
2831
+ enabled: boolean;
2832
+ provider?: string;
2833
+ };
2834
+ okta: {
2835
+ enabled: boolean;
2836
+ provider?: string;
2837
+ };
2838
+ policy: {
2839
+ requireSSO: boolean;
2840
+ allowedProviders: string[];
2841
+ };
2842
+ ssoSetup?: {
2843
+ redirectUri: string;
2844
+ requiredScopes: string[];
2845
+ isOidcConfigured: boolean;
2846
+ oidcDiscoveryUrl: string | null;
2847
+ hasClientId: boolean;
2848
+ hasClientSecret: boolean;
2849
+ /** @enum {string} */
2850
+ providerStatus: "NOT_CONFIGURED" | "CONFIG_SAVED" | "CONFIG_VALID" | "TEST_SUCCESS" | "ENABLED";
2851
+ /** @enum {string} */
2852
+ currentStep: "configure" | "test" | "enable" | "enforce";
2853
+ stepCompleted: boolean;
2854
+ activeProvider: string | null;
2855
+ oidcValidation?: {
2856
+ valid: boolean;
2857
+ issuer?: string;
2858
+ authorizationEndpoint?: string;
2859
+ error?: string;
2860
+ /** @enum {string} */
2861
+ errorCode?: "UNREACHABLE" | "INVALID_DOCUMENT" | "MISSING_FIELDS" | "SSRF_BLOCKED";
2862
+ };
2863
+ credentialsSavedAt?: string;
2864
+ lastTestSuccessAt?: string;
2865
+ lastTestSuccessProvider?: string;
2866
+ };
2867
+ ssoReadiness?: {
2868
+ ready: boolean;
2869
+ checks: {
2870
+ code: string;
2871
+ label: string;
2872
+ passed: boolean;
2873
+ message: string;
2874
+ }[];
2875
+ };
2876
+ ssoEnforcement?: {
2877
+ enforced: boolean;
2878
+ enforcedDomains: string[];
2879
+ enforcedSince: string | null;
2880
+ };
2881
+ /** @enum {string} */
2882
+ workspaceSsoState?: "SSO_DISABLED" | "SSO_ENABLED" | "SSO_ENFORCED";
2883
+ ownerIdentities?: {
2884
+ userId: string;
2885
+ name: string;
2886
+ email: string;
2887
+ hasSsoIdentity: boolean;
2888
+ linkedProvider: string | null;
2889
+ lastSsoLoginAt: string | null;
2890
+ }[];
2891
+ providerSuggestion?: {
2892
+ suggestedProvider: ("google" | "microsoft") | null;
2893
+ /** @enum {string} */
2894
+ confidence: "high" | "low";
2895
+ reason: string;
2896
+ detectedDomain?: string;
2897
+ };
3001
2898
  };
3002
2899
  WorkspaceAuditEvent: {
3003
2900
  /** Format: uuid */
@@ -3015,44 +2912,47 @@ export interface components {
3015
2912
  summary: string;
3016
2913
  };
3017
2914
  UpdateAuthPolicyRequest: {
3018
- /** @description Whether SSO is required for all members */
3019
2915
  requireSSO?: boolean;
3020
- /** @description List of allowed auth providers */
3021
2916
  allowedProviders?: string[];
3022
- /** @description OIDC discovery URL for SSO configuration */
3023
2917
  oidcDiscoveryUrl?: string | null;
3024
- /** @description OIDC client ID credential */
3025
2918
  oidcClientId?: string | null;
3026
- /** @description OIDC client secret credential */
3027
2919
  oidcClientSecret?: string | null;
3028
2920
  };
3029
2921
  OrgAuthPolicy: {
3030
2922
  requireSSO: boolean;
3031
2923
  allowedProviders: string[];
3032
- /** @description True when the requesting admin's own SSO session was revoked by this operation */
3033
2924
  selfRevoked?: boolean;
3034
2925
  };
3035
2926
  CreateInviteRequest: {
3036
- /**
3037
- * Format: email
3038
- * @description Email address of the invitee
3039
- */
2927
+ /** Format: email */
3040
2928
  email: string;
3041
- /**
3042
- * @description Role to assign
3043
- * @enum {string}
3044
- */
2929
+ /** @enum {string} */
3045
2930
  role: "admin" | "member";
3046
2931
  };
3047
2932
  CreateInviteResponse: {
3048
- invite: components["schemas"]["OrgInvite"];
2933
+ invite: {
2934
+ id: string;
2935
+ orgId: string;
2936
+ email: string;
2937
+ /** @enum {string} */
2938
+ role: "owner" | "admin" | "member" | "auditor";
2939
+ invitedBy: {
2940
+ id: string;
2941
+ name: string;
2942
+ };
2943
+ /** @enum {string} */
2944
+ status: "pending" | "accepted" | "expired" | "revoked";
2945
+ createdAt: string;
2946
+ expiresAt: string;
2947
+ acceptedAt?: string;
2948
+ };
3049
2949
  };
3050
2950
  AcceptInviteRequest: {
3051
- /** @description The invite acceptance token */
3052
2951
  token: string;
3053
2952
  };
3054
2953
  AcceptInviteResponse: {
3055
- success: boolean;
2954
+ /** @constant */
2955
+ success: true;
3056
2956
  /** Format: uuid */
3057
2957
  orgId: string;
3058
2958
  role: string;
@@ -3078,24 +2978,17 @@ export interface components {
3078
2978
  };
3079
2979
  RemoveMemberResponse: {
3080
2980
  success: boolean;
3081
- /** Format: uuid */
3082
2981
  memberId: string;
3083
- /** Format: email */
3084
2982
  memberEmail: string;
3085
2983
  message: string;
3086
2984
  };
3087
2985
  ChangeMemberRoleRequest: {
3088
- /**
3089
- * @description New role for the member
3090
- * @enum {string}
3091
- */
2986
+ /** @enum {string} */
3092
2987
  newRole: "admin" | "member";
3093
2988
  };
3094
2989
  ChangeMemberRoleResponse: {
3095
2990
  success: boolean;
3096
- /** Format: uuid */
3097
2991
  memberId: string;
3098
- /** Format: email */
3099
2992
  memberEmail: string;
3100
2993
  previousRole: string;
3101
2994
  newRole: string;
@@ -3125,7 +3018,6 @@ export interface components {
3125
3018
  createdAt: string;
3126
3019
  };
3127
3020
  ClaimDomainRequest: {
3128
- /** @description The domain to claim (e.g., "example.com") */
3129
3021
  domain: string;
3130
3022
  };
3131
3023
  DnsInstructions: {
@@ -3137,8 +3029,21 @@ export interface components {
3137
3029
  value: string;
3138
3030
  };
3139
3031
  ClaimDomainResponse: {
3140
- domain: components["schemas"]["OrgDomain"];
3141
- dnsInstructions: components["schemas"]["DnsInstructions"];
3032
+ id: string;
3033
+ orgId: string;
3034
+ domain: string;
3035
+ /** @enum {string} */
3036
+ status: "pending" | "verified";
3037
+ /** @enum {string} */
3038
+ verificationMethod: "dns_txt" | "email" | "idp";
3039
+ verificationToken?: string;
3040
+ verifiedAt: string | null;
3041
+ createdAt: string;
3042
+ verifiedBy?: {
3043
+ id: string;
3044
+ name: string;
3045
+ email: string;
3046
+ };
3142
3047
  };
3143
3048
  RevokeDomainResponse: {
3144
3049
  /** @constant */
@@ -3323,9 +3228,7 @@ export interface components {
3323
3228
  };
3324
3229
  InviteValidationResult: {
3325
3230
  valid: boolean;
3326
- /** @description Invite status (e.g. pending, accepted, expired, revoked) */
3327
3231
  status: string;
3328
- /** @description Organization name (present when invite is valid) */
3329
3232
  orgName?: string;
3330
3233
  };
3331
3234
  LogoutResponse: {
@@ -3502,6 +3405,166 @@ export interface components {
3502
3405
  id?: string;
3503
3406
  runtimeProfile?: string;
3504
3407
  };
3408
+ WorkspaceNameRequest: {
3409
+ name: string;
3410
+ };
3411
+ WorkspaceAuditResponse: {
3412
+ id: string;
3413
+ timestamp: string;
3414
+ actor: {
3415
+ id: string;
3416
+ name: string;
3417
+ /** @enum {string} */
3418
+ type: "user" | "system";
3419
+ };
3420
+ action: string;
3421
+ summary: string;
3422
+ }[];
3423
+ ValidateOidcRequest: {
3424
+ discoveryUrl: string;
3425
+ };
3426
+ WorkspaceResyncSlackLogoResponse: {
3427
+ /** @constant */
3428
+ success: true;
3429
+ logoUrl: string | null;
3430
+ };
3431
+ WorkspaceResolvePathResponse: {
3432
+ layers: ({
3433
+ /** @constant */
3434
+ type: "dept";
3435
+ entity: {
3436
+ id: string;
3437
+ name: string;
3438
+ slug: string;
3439
+ memberCount: number;
3440
+ };
3441
+ } | {
3442
+ /** @constant */
3443
+ type: "team";
3444
+ entity: {
3445
+ id: string;
3446
+ name: string;
3447
+ slug: string;
3448
+ memberCount: number;
3449
+ };
3450
+ } | {
3451
+ /** @constant */
3452
+ type: "members";
3453
+ /** @enum {string} */
3454
+ scope: "org" | "dept" | "team";
3455
+ })[];
3456
+ };
3457
+ ResolvePathRequest: {
3458
+ path: string[];
3459
+ };
3460
+ TestSsoInitiation: {
3461
+ authorizationUrl: string;
3462
+ attemptId: string;
3463
+ };
3464
+ TestSsoResult: {
3465
+ /** @enum {string} */
3466
+ status: "pending" | "success" | "failed" | "expired";
3467
+ claims?: {
3468
+ sub: string;
3469
+ email?: string;
3470
+ name?: string;
3471
+ issuer: string;
3472
+ };
3473
+ identityLinked?: boolean;
3474
+ error?: string;
3475
+ /** @enum {string} */
3476
+ errorCode?: "IDENTITY_CONFLICT" | "DOMAIN_MISMATCH" | "ISSUER_MISMATCH" | "CALLBACK_ERROR";
3477
+ };
3478
+ InviteListResponse: {
3479
+ id: string;
3480
+ orgId: string;
3481
+ email: string;
3482
+ /** @enum {string} */
3483
+ role: "owner" | "admin" | "member" | "auditor";
3484
+ invitedBy: {
3485
+ id: string;
3486
+ name: string;
3487
+ };
3488
+ /** @enum {string} */
3489
+ status: "pending" | "accepted" | "expired" | "revoked";
3490
+ createdAt: string;
3491
+ expiresAt: string;
3492
+ acceptedAt?: string;
3493
+ }[];
3494
+ DomainListResponse: {
3495
+ id: string;
3496
+ orgId: string;
3497
+ domain: string;
3498
+ /** @enum {string} */
3499
+ status: "pending" | "verified";
3500
+ /** @enum {string} */
3501
+ verificationMethod: "dns_txt" | "email" | "idp";
3502
+ verificationToken?: string;
3503
+ verifiedAt: string | null;
3504
+ createdAt: string;
3505
+ verifiedBy?: {
3506
+ id: string;
3507
+ name: string;
3508
+ email: string;
3509
+ };
3510
+ }[];
3511
+ VerifyDomainResponse: {
3512
+ id: string;
3513
+ orgId: string;
3514
+ domain: string;
3515
+ /** @enum {string} */
3516
+ status: "pending" | "verified";
3517
+ /** @enum {string} */
3518
+ verificationMethod: "dns_txt" | "email" | "idp";
3519
+ verificationToken?: string;
3520
+ verifiedAt: string | null;
3521
+ createdAt: string;
3522
+ verifiedBy?: {
3523
+ id: string;
3524
+ name: string;
3525
+ email: string;
3526
+ };
3527
+ };
3528
+ OrgBillingResponse: {
3529
+ planName: string;
3530
+ /** @enum {string} */
3531
+ planStatus: "active" | "trialing" | "past_due" | "canceled";
3532
+ billingCadence: string;
3533
+ seatCount: number;
3534
+ seatLimit: number;
3535
+ billingOwnerUserId: string;
3536
+ };
3537
+ OrgDeletionStatus: {
3538
+ orgId: string;
3539
+ eligible: boolean;
3540
+ isPersonalOrg: boolean;
3541
+ ownerStatus?: string;
3542
+ deletionRequestedAt?: string;
3543
+ classifications: {
3544
+ userId: string;
3545
+ email: string;
3546
+ /** @enum {string} */
3547
+ suggestedFate: "REMOVE_FROM_ORG" | "DELETE_ACCOUNT" | "BLOCKED";
3548
+ reason: string;
3549
+ }[];
3550
+ };
3551
+ OrgDeleteRequest: {
3552
+ userIdsToDelete: string[];
3553
+ };
3554
+ AcceptTransferRequest: {
3555
+ token: string;
3556
+ };
3557
+ OwnershipTransferPreview: {
3558
+ workspaceName: string;
3559
+ initiatorName: string;
3560
+ initiatorEmail: string;
3561
+ note?: string;
3562
+ expiresAt: string;
3563
+ token: string;
3564
+ };
3565
+ PreviewTransferRequest: {
3566
+ token: string;
3567
+ };
3505
3568
  };
3506
3569
  responses: never;
3507
3570
  parameters: never;
@@ -3764,15 +3827,6 @@ export interface operations {
3764
3827
  "application/json": components["schemas"]["UserOrgsResponse"];
3765
3828
  };
3766
3829
  };
3767
- /** @description Not authenticated */
3768
- 401: {
3769
- headers: {
3770
- [name: string]: unknown;
3771
- };
3772
- content: {
3773
- "application/json": components["schemas"]["ErrorResponse"];
3774
- };
3775
- };
3776
3830
  };
3777
3831
  };
3778
3832
  setActiveOrg: {
@@ -3797,46 +3851,19 @@ export interface operations {
3797
3851
  "application/json": components["schemas"]["SetActiveOrgResponse"];
3798
3852
  };
3799
3853
  };
3800
- /** @description Invalid orgId format */
3801
- 400: {
3802
- headers: {
3803
- [name: string]: unknown;
3804
- };
3805
- content: {
3806
- "application/json": components["schemas"]["ErrorResponse"];
3807
- };
3808
- };
3809
- /** @description Not authenticated */
3810
- 401: {
3811
- headers: {
3812
- [name: string]: unknown;
3813
- };
3814
- content: {
3815
- "application/json": components["schemas"]["ErrorResponse"];
3816
- };
3817
- };
3818
- /** @description User is not a member of the target organization */
3819
- 403: {
3820
- headers: {
3821
- [name: string]: unknown;
3822
- };
3823
- content: {
3824
- "application/json": components["schemas"]["ErrorResponse"];
3825
- };
3826
- };
3827
- };
3828
- };
3829
- getDismissedBanners: {
3830
- parameters: {
3831
- query?: never;
3832
- header?: never;
3833
- path?: never;
3834
- cookie?: never;
3835
- };
3836
- requestBody?: never;
3837
- responses: {
3838
- /** @description Dismissed banner IDs */
3839
- 200: {
3854
+ };
3855
+ };
3856
+ getDismissedBanners: {
3857
+ parameters: {
3858
+ query?: never;
3859
+ header?: never;
3860
+ path?: never;
3861
+ cookie?: never;
3862
+ };
3863
+ requestBody?: never;
3864
+ responses: {
3865
+ /** @description Dismissed banner IDs */
3866
+ 200: {
3840
3867
  headers: {
3841
3868
  [name: string]: unknown;
3842
3869
  };
@@ -4686,42 +4713,6 @@ export interface operations {
4686
4713
  "application/json": components["schemas"]["InitiateTransferResponse"];
4687
4714
  };
4688
4715
  };
4689
- /** @description Validation error or self-transfer attempt */
4690
- 400: {
4691
- headers: {
4692
- [name: string]: unknown;
4693
- };
4694
- content: {
4695
- "application/json": components["schemas"]["ErrorResponse"];
4696
- };
4697
- };
4698
- /** @description Not the organization owner */
4699
- 403: {
4700
- headers: {
4701
- [name: string]: unknown;
4702
- };
4703
- content: {
4704
- "application/json": components["schemas"]["ErrorResponse"];
4705
- };
4706
- };
4707
- /** @description Transfer already pending or target ineligible */
4708
- 409: {
4709
- headers: {
4710
- [name: string]: unknown;
4711
- };
4712
- content: {
4713
- "application/json": components["schemas"]["ErrorResponse"];
4714
- };
4715
- };
4716
- /** @description Rate limit exceeded */
4717
- 429: {
4718
- headers: {
4719
- [name: string]: unknown;
4720
- };
4721
- content: {
4722
- "application/json": components["schemas"]["ErrorResponse"];
4723
- };
4724
- };
4725
4716
  };
4726
4717
  };
4727
4718
  cancelOwnershipTransfer: {
@@ -4738,27 +4729,7 @@ export interface operations {
4738
4729
  headers: {
4739
4730
  [name: string]: unknown;
4740
4731
  };
4741
- content: {
4742
- "application/json": components["schemas"]["OkResponse"];
4743
- };
4744
- };
4745
- /** @description Not the organization owner */
4746
- 403: {
4747
- headers: {
4748
- [name: string]: unknown;
4749
- };
4750
- content: {
4751
- "application/json": components["schemas"]["ErrorResponse"];
4752
- };
4753
- };
4754
- /** @description No pending transfer found */
4755
- 404: {
4756
- headers: {
4757
- [name: string]: unknown;
4758
- };
4759
- content: {
4760
- "application/json": components["schemas"]["ErrorResponse"];
4761
- };
4732
+ content?: never;
4762
4733
  };
4763
4734
  };
4764
4735
  };
@@ -4776,18 +4747,7 @@ export interface operations {
4776
4747
  headers: {
4777
4748
  [name: string]: unknown;
4778
4749
  };
4779
- content: {
4780
- "application/json": components["schemas"]["TransferStatusResponse"];
4781
- };
4782
- };
4783
- /** @description Not the organization owner */
4784
- 403: {
4785
- headers: {
4786
- [name: string]: unknown;
4787
- };
4788
- content: {
4789
- "application/json": components["schemas"]["ErrorResponse"];
4790
- };
4750
+ content?: never;
4791
4751
  };
4792
4752
  };
4793
4753
  };
@@ -4800,7 +4760,7 @@ export interface operations {
4800
4760
  };
4801
4761
  requestBody: {
4802
4762
  content: {
4803
- "application/json": components["schemas"]["AcceptTransferBody"];
4763
+ "application/json": components["schemas"]["PreviewTransferRequest"];
4804
4764
  };
4805
4765
  };
4806
4766
  responses: {
@@ -4810,25 +4770,7 @@ export interface operations {
4810
4770
  [name: string]: unknown;
4811
4771
  };
4812
4772
  content: {
4813
- "application/json": components["schemas"]["TransferAcceptanceView"];
4814
- };
4815
- };
4816
- /** @description Transfer not found or token is invalid */
4817
- 404: {
4818
- headers: {
4819
- [name: string]: unknown;
4820
- };
4821
- content: {
4822
- "application/json": components["schemas"]["ErrorResponse"];
4823
- };
4824
- };
4825
- /** @description Rate limit exceeded */
4826
- 429: {
4827
- headers: {
4828
- [name: string]: unknown;
4829
- };
4830
- content: {
4831
- "application/json": components["schemas"]["ErrorResponse"];
4773
+ "application/json": components["schemas"]["OwnershipTransferPreview"];
4832
4774
  };
4833
4775
  };
4834
4776
  };
@@ -4842,63 +4784,16 @@ export interface operations {
4842
4784
  };
4843
4785
  requestBody: {
4844
4786
  content: {
4845
- "application/json": components["schemas"]["AcceptTransferBody"];
4787
+ "application/json": components["schemas"]["AcceptTransferRequest"];
4846
4788
  };
4847
4789
  };
4848
4790
  responses: {
4849
- /** @description Transfer accepted, ownership transferred */
4791
+ /** @description Ownership transferred */
4850
4792
  200: {
4851
4793
  headers: {
4852
4794
  [name: string]: unknown;
4853
4795
  };
4854
- content: {
4855
- "application/json": components["schemas"]["AcceptTransferResponse"];
4856
- };
4857
- };
4858
- /** @description Invalid or missing token */
4859
- 400: {
4860
- headers: {
4861
- [name: string]: unknown;
4862
- };
4863
- content: {
4864
- "application/json": components["schemas"]["ErrorResponse"];
4865
- };
4866
- };
4867
- /** @description Session too old — re-authentication required */
4868
- 403: {
4869
- headers: {
4870
- [name: string]: unknown;
4871
- };
4872
- content: {
4873
- "application/json": components["schemas"]["ErrorResponse"];
4874
- };
4875
- };
4876
- /** @description Transfer not found */
4877
- 404: {
4878
- headers: {
4879
- [name: string]: unknown;
4880
- };
4881
- content: {
4882
- "application/json": components["schemas"]["ErrorResponse"];
4883
- };
4884
- };
4885
- /** @description Transfer expired */
4886
- 410: {
4887
- headers: {
4888
- [name: string]: unknown;
4889
- };
4890
- content: {
4891
- "application/json": components["schemas"]["ErrorResponse"];
4892
- };
4893
- };
4894
- /** @description Rate limit exceeded */
4895
- 429: {
4896
- headers: {
4897
- [name: string]: unknown;
4898
- };
4899
- content: {
4900
- "application/json": components["schemas"]["ErrorResponse"];
4901
- };
4796
+ content?: never;
4902
4797
  };
4903
4798
  };
4904
4799
  };
@@ -4916,21 +4811,7 @@ export interface operations {
4916
4811
  headers: {
4917
4812
  [name: string]: unknown;
4918
4813
  };
4919
- content: {
4920
- "application/json": {
4921
- eligibility: components["schemas"]["TransferEligibilityResult"];
4922
- members: components["schemas"]["TransferMemberEligibility"][];
4923
- };
4924
- };
4925
- };
4926
- /** @description Not an org owner */
4927
- 403: {
4928
- headers: {
4929
- [name: string]: unknown;
4930
- };
4931
- content: {
4932
- "application/json": components["schemas"]["ErrorResponse"];
4933
- };
4814
+ content?: never;
4934
4815
  };
4935
4816
  };
4936
4817
  };
@@ -4949,31 +4830,7 @@ export interface operations {
4949
4830
  [name: string]: unknown;
4950
4831
  };
4951
4832
  content: {
4952
- "application/json": {
4953
- orgId: string;
4954
- eligible: boolean;
4955
- isPersonalOrg: boolean;
4956
- ownerStatus?: string;
4957
- classifications: Record<string, never>[];
4958
- };
4959
- };
4960
- };
4961
- /** @description Not authenticated */
4962
- 401: {
4963
- headers: {
4964
- [name: string]: unknown;
4965
- };
4966
- content: {
4967
- "application/json": components["schemas"]["ErrorResponse"];
4968
- };
4969
- };
4970
- /** @description Organization not found */
4971
- 404: {
4972
- headers: {
4973
- [name: string]: unknown;
4974
- };
4975
- content: {
4976
- "application/json": components["schemas"]["ErrorResponse"];
4833
+ "application/json": components["schemas"]["OrgDeletionStatus"];
4977
4834
  };
4978
4835
  };
4979
4836
  };
@@ -4987,43 +4844,16 @@ export interface operations {
4987
4844
  };
4988
4845
  requestBody: {
4989
4846
  content: {
4990
- "application/json": {
4991
- userIdsToDelete: string[];
4992
- };
4847
+ "application/json": components["schemas"]["OrgDeleteRequest"];
4993
4848
  };
4994
4849
  };
4995
4850
  responses: {
4996
- /** @description Org deletion initiated */
4851
+ /** @description Org deletion initiated, confirmation email sent */
4997
4852
  200: {
4998
4853
  headers: {
4999
4854
  [name: string]: unknown;
5000
4855
  };
5001
- content: {
5002
- "application/json": {
5003
- /** @constant */
5004
- status: "pending_deletion";
5005
- correlationId: string;
5006
- deletionKind: string;
5007
- };
5008
- };
5009
- };
5010
- /** @description Invalid request body */
5011
- 400: {
5012
- headers: {
5013
- [name: string]: unknown;
5014
- };
5015
- content: {
5016
- "application/json": components["schemas"]["ErrorResponse"];
5017
- };
5018
- };
5019
- /** @description Not authenticated */
5020
- 401: {
5021
- headers: {
5022
- [name: string]: unknown;
5023
- };
5024
- content: {
5025
- "application/json": components["schemas"]["ErrorResponse"];
5026
- };
4856
+ content?: never;
5027
4857
  };
5028
4858
  };
5029
4859
  };
@@ -5041,21 +4871,7 @@ export interface operations {
5041
4871
  headers: {
5042
4872
  [name: string]: unknown;
5043
4873
  };
5044
- content: {
5045
- "application/json": {
5046
- /** @constant */
5047
- status: "active";
5048
- };
5049
- };
5050
- };
5051
- /** @description Not authenticated */
5052
- 401: {
5053
- headers: {
5054
- [name: string]: unknown;
5055
- };
5056
- content: {
5057
- "application/json": components["schemas"]["ErrorResponse"];
5058
- };
4874
+ content?: never;
5059
4875
  };
5060
4876
  };
5061
4877
  };
@@ -5142,7 +4958,7 @@ export interface operations {
5142
4958
  };
5143
4959
  requestBody?: never;
5144
4960
  responses: {
5145
- /** @description Access check result */
4961
+ /** @description Workspace access status */
5146
4962
  200: {
5147
4963
  headers: {
5148
4964
  [name: string]: unknown;
@@ -5151,15 +4967,6 @@ export interface operations {
5151
4967
  "application/json": components["schemas"]["WorkspaceAccessResponse"];
5152
4968
  };
5153
4969
  };
5154
- /** @description Not authenticated */
5155
- 401: {
5156
- headers: {
5157
- [name: string]: unknown;
5158
- };
5159
- content: {
5160
- "application/json": components["schemas"]["ErrorResponse"];
5161
- };
5162
- };
5163
4970
  };
5164
4971
  };
5165
4972
  getWorkspaceOverview: {
@@ -5180,24 +4987,6 @@ export interface operations {
5180
4987
  "application/json": components["schemas"]["WorkspaceOverview"];
5181
4988
  };
5182
4989
  };
5183
- /** @description No org.view_workspace capability */
5184
- 403: {
5185
- headers: {
5186
- [name: string]: unknown;
5187
- };
5188
- content: {
5189
- "application/json": components["schemas"]["ErrorResponse"];
5190
- };
5191
- };
5192
- /** @description Workspace not found */
5193
- 404: {
5194
- headers: {
5195
- [name: string]: unknown;
5196
- };
5197
- content: {
5198
- "application/json": components["schemas"]["ErrorResponse"];
5199
- };
5200
- };
5201
4990
  };
5202
4991
  };
5203
4992
  renameWorkspace: {
@@ -5209,7 +4998,7 @@ export interface operations {
5209
4998
  };
5210
4999
  requestBody: {
5211
5000
  content: {
5212
- "application/json": components["schemas"]["RenameWorkspaceRequest"];
5001
+ "application/json": components["schemas"]["WorkspaceNameRequest"];
5213
5002
  };
5214
5003
  };
5215
5004
  responses: {
@@ -5222,41 +5011,12 @@ export interface operations {
5222
5011
  "application/json": components["schemas"]["WorkspaceOverview"];
5223
5012
  };
5224
5013
  };
5225
- /** @description Invalid name */
5226
- 400: {
5227
- headers: {
5228
- [name: string]: unknown;
5229
- };
5230
- content: {
5231
- "application/json": components["schemas"]["ErrorResponse"];
5232
- };
5233
- };
5234
- /** @description Missing org.manage_users capability */
5235
- 403: {
5236
- headers: {
5237
- [name: string]: unknown;
5238
- };
5239
- content: {
5240
- "application/json": components["schemas"]["ErrorResponse"];
5241
- };
5242
- };
5243
- /** @description Workspace not found */
5244
- 404: {
5245
- headers: {
5246
- [name: string]: unknown;
5247
- };
5248
- content: {
5249
- "application/json": components["schemas"]["ErrorResponse"];
5250
- };
5251
- };
5252
5014
  };
5253
5015
  };
5254
5016
  getWorkspaceMembers: {
5255
5017
  parameters: {
5256
5018
  query?: {
5257
- /** @description Cursor for pagination */
5258
5019
  cursor?: string;
5259
- /** @description Max results per page (default 100, max 200) */
5260
5020
  limit?: number;
5261
5021
  };
5262
5022
  header?: never;
@@ -5274,15 +5034,6 @@ export interface operations {
5274
5034
  "application/json": components["schemas"]["WorkspaceMembersResponse"];
5275
5035
  };
5276
5036
  };
5277
- /** @description No org.view_workspace capability */
5278
- 403: {
5279
- headers: {
5280
- [name: string]: unknown;
5281
- };
5282
- content: {
5283
- "application/json": components["schemas"]["ErrorResponse"];
5284
- };
5285
- };
5286
5037
  };
5287
5038
  };
5288
5039
  getWorkspaceAuth: {
@@ -5294,7 +5045,7 @@ export interface operations {
5294
5045
  };
5295
5046
  requestBody?: never;
5296
5047
  responses: {
5297
- /** @description Workspace auth configuration */
5048
+ /** @description Workspace authentication configuration */
5298
5049
  200: {
5299
5050
  headers: {
5300
5051
  [name: string]: unknown;
@@ -5303,23 +5054,12 @@ export interface operations {
5303
5054
  "application/json": components["schemas"]["WorkspaceAuthConfig"];
5304
5055
  };
5305
5056
  };
5306
- /** @description No org.view_workspace capability */
5307
- 403: {
5308
- headers: {
5309
- [name: string]: unknown;
5310
- };
5311
- content: {
5312
- "application/json": components["schemas"]["ErrorResponse"];
5313
- };
5314
- };
5315
5057
  };
5316
5058
  };
5317
5059
  getWorkspaceAudit: {
5318
5060
  parameters: {
5319
5061
  query?: {
5320
- /** @description Number of events to return (default 50, max 100) */
5321
5062
  limit?: number;
5322
- /** @description Pagination offset (default 0, max 1000) */
5323
5063
  offset?: number;
5324
5064
  };
5325
5065
  header?: never;
@@ -5328,31 +5068,13 @@ export interface operations {
5328
5068
  };
5329
5069
  requestBody?: never;
5330
5070
  responses: {
5331
- /** @description List of audit events */
5071
+ /** @description Workspace audit events */
5332
5072
  200: {
5333
5073
  headers: {
5334
5074
  [name: string]: unknown;
5335
5075
  };
5336
5076
  content: {
5337
- "application/json": components["schemas"]["WorkspaceAuditEvent"][];
5338
- };
5339
- };
5340
- /** @description Offset exceeds maximum pagination depth */
5341
- 400: {
5342
- headers: {
5343
- [name: string]: unknown;
5344
- };
5345
- content: {
5346
- "application/json": components["schemas"]["ErrorResponse"];
5347
- };
5348
- };
5349
- /** @description No org.view_workspace capability */
5350
- 403: {
5351
- headers: {
5352
- [name: string]: unknown;
5353
- };
5354
- content: {
5355
- "application/json": components["schemas"]["ErrorResponse"];
5077
+ "application/json": components["schemas"]["WorkspaceAuditResponse"];
5356
5078
  };
5357
5079
  };
5358
5080
  };
@@ -5379,24 +5101,6 @@ export interface operations {
5379
5101
  "application/json": components["schemas"]["OrgAuthPolicy"];
5380
5102
  };
5381
5103
  };
5382
- /** @description Actor lacks org.manage_auth capability */
5383
- 403: {
5384
- headers: {
5385
- [name: string]: unknown;
5386
- };
5387
- content: {
5388
- "application/json": components["schemas"]["ErrorResponse"];
5389
- };
5390
- };
5391
- /** @description Would lock out all authority principals */
5392
- 409: {
5393
- headers: {
5394
- [name: string]: unknown;
5395
- };
5396
- content: {
5397
- "application/json": components["schemas"]["ErrorResponse"];
5398
- };
5399
- };
5400
5104
  };
5401
5105
  };
5402
5106
  validateOidcDiscovery: {
@@ -5408,14 +5112,11 @@ export interface operations {
5408
5112
  };
5409
5113
  requestBody: {
5410
5114
  content: {
5411
- "application/json": {
5412
- /** @description The OIDC discovery URL to validate */
5413
- discoveryUrl: string;
5414
- };
5115
+ "application/json": components["schemas"]["ValidateOidcRequest"];
5415
5116
  };
5416
5117
  };
5417
5118
  responses: {
5418
- /** @description Validation result */
5119
+ /** @description OIDC validation result */
5419
5120
  200: {
5420
5121
  headers: {
5421
5122
  [name: string]: unknown;
@@ -5424,24 +5125,6 @@ export interface operations {
5424
5125
  "application/json": components["schemas"]["OidcValidationResult"];
5425
5126
  };
5426
5127
  };
5427
- /** @description Invalid request body */
5428
- 400: {
5429
- headers: {
5430
- [name: string]: unknown;
5431
- };
5432
- content: {
5433
- "application/json": components["schemas"]["ErrorResponse"];
5434
- };
5435
- };
5436
- /** @description Missing org.manage_auth capability */
5437
- 403: {
5438
- headers: {
5439
- [name: string]: unknown;
5440
- };
5441
- content: {
5442
- "application/json": components["schemas"]["ErrorResponse"];
5443
- };
5444
- };
5445
5128
  };
5446
5129
  };
5447
5130
  initiateTestSso: {
@@ -5453,45 +5136,13 @@ export interface operations {
5453
5136
  };
5454
5137
  requestBody?: never;
5455
5138
  responses: {
5456
- /** @description Test SSO initiation with authorization URL */
5139
+ /** @description Test SSO initiation result with authorization URL */
5457
5140
  200: {
5458
5141
  headers: {
5459
5142
  [name: string]: unknown;
5460
5143
  };
5461
5144
  content: {
5462
- "application/json": {
5463
- /** @description IdP authorization URL to redirect user to */
5464
- authorizationUrl: string;
5465
- /** @description ID of the created test attempt for polling */
5466
- attemptId: string;
5467
- };
5468
- };
5469
- };
5470
- /** @description No SSO provider configured or OIDC credentials missing */
5471
- 400: {
5472
- headers: {
5473
- [name: string]: unknown;
5474
- };
5475
- content: {
5476
- "application/json": components["schemas"]["ErrorResponse"];
5477
- };
5478
- };
5479
- /** @description Missing org.manage_auth capability */
5480
- 403: {
5481
- headers: {
5482
- [name: string]: unknown;
5483
- };
5484
- content: {
5485
- "application/json": components["schemas"]["ErrorResponse"];
5486
- };
5487
- };
5488
- /** @description A test is already in progress (debounce) */
5489
- 429: {
5490
- headers: {
5491
- [name: string]: unknown;
5492
- };
5493
- content: {
5494
- "application/json": components["schemas"]["ErrorResponse"];
5145
+ "application/json": components["schemas"]["TestSsoInitiation"];
5495
5146
  };
5496
5147
  };
5497
5148
  };
@@ -5500,50 +5151,18 @@ export interface operations {
5500
5151
  parameters: {
5501
5152
  query?: never;
5502
5153
  header?: never;
5503
- path: {
5504
- /** @description The test attempt ID to poll */
5505
- attemptId: string;
5506
- };
5154
+ path?: never;
5507
5155
  cookie?: never;
5508
5156
  };
5509
5157
  requestBody?: never;
5510
5158
  responses: {
5511
- /** @description Test SSO result */
5159
+ /** @description Test SSO attempt status */
5512
5160
  200: {
5513
5161
  headers: {
5514
5162
  [name: string]: unknown;
5515
5163
  };
5516
5164
  content: {
5517
- "application/json": {
5518
- /** @enum {string} */
5519
- status: "pending" | "success" | "failed" | "expired";
5520
- claims?: {
5521
- sub?: string;
5522
- email?: string;
5523
- issuer?: string;
5524
- };
5525
- identityLinked?: boolean;
5526
- error?: string;
5527
- errorCode?: string;
5528
- };
5529
- };
5530
- };
5531
- /** @description Missing org.manage_auth capability */
5532
- 403: {
5533
- headers: {
5534
- [name: string]: unknown;
5535
- };
5536
- content: {
5537
- "application/json": components["schemas"]["ErrorResponse"];
5538
- };
5539
- };
5540
- /** @description Attempt not found */
5541
- 404: {
5542
- headers: {
5543
- [name: string]: unknown;
5544
- };
5545
- content: {
5546
- "application/json": components["schemas"]["ErrorResponse"];
5165
+ "application/json": components["schemas"]["TestSsoResult"];
5547
5166
  };
5548
5167
  };
5549
5168
  };
@@ -5551,7 +5170,6 @@ export interface operations {
5551
5170
  validateInviteToken: {
5552
5171
  parameters: {
5553
5172
  query: {
5554
- /** @description Invite acceptance token */
5555
5173
  token: string;
5556
5174
  };
5557
5175
  header?: never;
@@ -5569,15 +5187,6 @@ export interface operations {
5569
5187
  "application/json": components["schemas"]["InviteValidationResult"];
5570
5188
  };
5571
5189
  };
5572
- /** @description Missing token parameter */
5573
- 400: {
5574
- headers: {
5575
- [name: string]: unknown;
5576
- };
5577
- content: {
5578
- "application/json": components["schemas"]["ErrorResponse"];
5579
- };
5580
- };
5581
5190
  };
5582
5191
  };
5583
5192
  listPendingInvites: {
@@ -5595,16 +5204,7 @@ export interface operations {
5595
5204
  [name: string]: unknown;
5596
5205
  };
5597
5206
  content: {
5598
- "application/json": components["schemas"]["OrgInvite"][];
5599
- };
5600
- };
5601
- /** @description No view capability */
5602
- 403: {
5603
- headers: {
5604
- [name: string]: unknown;
5605
- };
5606
- content: {
5607
- "application/json": components["schemas"]["ErrorResponse"];
5207
+ "application/json": components["schemas"]["InviteListResponse"];
5608
5208
  };
5609
5209
  };
5610
5210
  };
@@ -5631,33 +5231,6 @@ export interface operations {
5631
5231
  "application/json": components["schemas"]["CreateInviteResponse"];
5632
5232
  };
5633
5233
  };
5634
- /** @description Invalid input */
5635
- 400: {
5636
- headers: {
5637
- [name: string]: unknown;
5638
- };
5639
- content: {
5640
- "application/json": components["schemas"]["ErrorResponse"];
5641
- };
5642
- };
5643
- /** @description No invite capability */
5644
- 403: {
5645
- headers: {
5646
- [name: string]: unknown;
5647
- };
5648
- content: {
5649
- "application/json": components["schemas"]["ErrorResponse"];
5650
- };
5651
- };
5652
- /** @description Duplicate invite or already member */
5653
- 409: {
5654
- headers: {
5655
- [name: string]: unknown;
5656
- };
5657
- content: {
5658
- "application/json": components["schemas"]["ErrorResponse"];
5659
- };
5660
- };
5661
5234
  };
5662
5235
  };
5663
5236
  acceptInvite: {
@@ -5682,43 +5255,13 @@ export interface operations {
5682
5255
  "application/json": components["schemas"]["AcceptInviteResponse"];
5683
5256
  };
5684
5257
  };
5685
- /** @description Invite not found */
5686
- 404: {
5687
- headers: {
5688
- [name: string]: unknown;
5689
- };
5690
- content: {
5691
- "application/json": components["schemas"]["ErrorResponse"];
5692
- };
5693
- };
5694
- /** @description Invite already processed */
5695
- 409: {
5696
- headers: {
5697
- [name: string]: unknown;
5698
- };
5699
- content: {
5700
- "application/json": components["schemas"]["ErrorResponse"];
5701
- };
5702
- };
5703
- /** @description Invite expired */
5704
- 410: {
5705
- headers: {
5706
- [name: string]: unknown;
5707
- };
5708
- content: {
5709
- "application/json": components["schemas"]["ErrorResponse"];
5710
- };
5711
- };
5712
5258
  };
5713
5259
  };
5714
5260
  revokeInvite: {
5715
5261
  parameters: {
5716
5262
  query?: never;
5717
5263
  header?: never;
5718
- path: {
5719
- /** @description Invite ID */
5720
- id: string;
5721
- };
5264
+ path?: never;
5722
5265
  cookie?: never;
5723
5266
  };
5724
5267
  requestBody?: never;
@@ -5730,144 +5273,48 @@ export interface operations {
5730
5273
  };
5731
5274
  content?: never;
5732
5275
  };
5733
- /** @description No invite capability */
5734
- 403: {
5735
- headers: {
5736
- [name: string]: unknown;
5737
- };
5738
- content: {
5739
- "application/json": components["schemas"]["ErrorResponse"];
5740
- };
5741
- };
5742
- /** @description Invite not found */
5743
- 404: {
5744
- headers: {
5745
- [name: string]: unknown;
5746
- };
5747
- content: {
5748
- "application/json": components["schemas"]["ErrorResponse"];
5749
- };
5750
- };
5751
- /** @description Invite already processed */
5752
- 409: {
5753
- headers: {
5754
- [name: string]: unknown;
5755
- };
5756
- content: {
5757
- "application/json": components["schemas"]["ErrorResponse"];
5758
- };
5759
- };
5760
5276
  };
5761
5277
  };
5762
5278
  removeMember: {
5763
5279
  parameters: {
5764
5280
  query?: never;
5765
5281
  header?: never;
5766
- path: {
5767
- /** @description Member ID */
5768
- id: string;
5769
- };
5282
+ path?: never;
5770
5283
  cookie?: never;
5771
5284
  };
5772
5285
  requestBody?: never;
5773
5286
  responses: {
5774
- /** @description Member removed successfully */
5775
- 200: {
5776
- headers: {
5777
- [name: string]: unknown;
5778
- };
5779
- content: {
5780
- "application/json": components["schemas"]["RemoveMemberResponse"];
5781
- };
5782
- };
5783
- /** @description Forbidden (owner protection, missing capability) */
5784
- 403: {
5785
- headers: {
5786
- [name: string]: unknown;
5787
- };
5788
- content: {
5789
- "application/json": components["schemas"]["ErrorResponse"];
5790
- };
5791
- };
5792
- /** @description Member not found */
5793
- 404: {
5794
- headers: {
5795
- [name: string]: unknown;
5796
- };
5797
- content: {
5798
- "application/json": components["schemas"]["ErrorResponse"];
5799
- };
5800
- };
5801
- /** @description Conflict (admin floor violation) */
5802
- 409: {
5803
- headers: {
5804
- [name: string]: unknown;
5805
- };
5806
- content: {
5807
- "application/json": components["schemas"]["ErrorResponse"];
5808
- };
5809
- };
5810
- };
5811
- };
5812
- changeMemberRole: {
5813
- parameters: {
5814
- query?: never;
5815
- header?: never;
5816
- path: {
5817
- /** @description Member ID */
5818
- id: string;
5819
- };
5820
- cookie?: never;
5821
- };
5822
- requestBody: {
5823
- content: {
5824
- "application/json": components["schemas"]["ChangeMemberRoleRequest"];
5825
- };
5826
- };
5827
- responses: {
5828
- /** @description Role changed successfully */
5829
- 200: {
5830
- headers: {
5831
- [name: string]: unknown;
5832
- };
5833
- content: {
5834
- "application/json": components["schemas"]["ChangeMemberRoleResponse"];
5835
- };
5836
- };
5837
- /** @description Invalid request body */
5838
- 400: {
5839
- headers: {
5840
- [name: string]: unknown;
5841
- };
5842
- content: {
5843
- "application/json": components["schemas"]["ErrorResponse"];
5844
- };
5845
- };
5846
- /** @description Forbidden (owner demotion, missing capability) */
5847
- 403: {
5848
- headers: {
5849
- [name: string]: unknown;
5850
- };
5851
- content: {
5852
- "application/json": components["schemas"]["ErrorResponse"];
5853
- };
5854
- };
5855
- /** @description Member not found */
5856
- 404: {
5287
+ /** @description Member removed successfully */
5288
+ 200: {
5857
5289
  headers: {
5858
5290
  [name: string]: unknown;
5859
5291
  };
5860
5292
  content: {
5861
- "application/json": components["schemas"]["ErrorResponse"];
5293
+ "application/json": components["schemas"]["RemoveMemberResponse"];
5862
5294
  };
5863
5295
  };
5864
- /** @description Conflict (admin floor violation) */
5865
- 409: {
5296
+ };
5297
+ };
5298
+ changeMemberRole: {
5299
+ parameters: {
5300
+ query?: never;
5301
+ header?: never;
5302
+ path?: never;
5303
+ cookie?: never;
5304
+ };
5305
+ requestBody: {
5306
+ content: {
5307
+ "application/json": components["schemas"]["ChangeMemberRoleRequest"];
5308
+ };
5309
+ };
5310
+ responses: {
5311
+ /** @description Role changed successfully */
5312
+ 200: {
5866
5313
  headers: {
5867
5314
  [name: string]: unknown;
5868
5315
  };
5869
5316
  content: {
5870
- "application/json": components["schemas"]["ErrorResponse"];
5317
+ "application/json": components["schemas"]["ChangeMemberRoleResponse"];
5871
5318
  };
5872
5319
  };
5873
5320
  };
@@ -5887,16 +5334,7 @@ export interface operations {
5887
5334
  [name: string]: unknown;
5888
5335
  };
5889
5336
  content: {
5890
- "application/json": components["schemas"]["OrgDomain"][];
5891
- };
5892
- };
5893
- /** @description No org.view_workspace capability */
5894
- 403: {
5895
- headers: {
5896
- [name: string]: unknown;
5897
- };
5898
- content: {
5899
- "application/json": components["schemas"]["ErrorResponse"];
5337
+ "application/json": components["schemas"]["DomainListResponse"];
5900
5338
  };
5901
5339
  };
5902
5340
  };
@@ -5914,7 +5352,7 @@ export interface operations {
5914
5352
  };
5915
5353
  };
5916
5354
  responses: {
5917
- /** @description Domain claimed, DNS instructions returned */
5355
+ /** @description Domain claimed */
5918
5356
  201: {
5919
5357
  headers: {
5920
5358
  [name: string]: unknown;
@@ -5923,90 +5361,24 @@ export interface operations {
5923
5361
  "application/json": components["schemas"]["ClaimDomainResponse"];
5924
5362
  };
5925
5363
  };
5926
- /** @description Invalid domain format */
5927
- 400: {
5928
- headers: {
5929
- [name: string]: unknown;
5930
- };
5931
- content: {
5932
- "application/json": components["schemas"]["ErrorResponse"];
5933
- };
5934
- };
5935
- /** @description No org.claim_domain capability */
5936
- 403: {
5937
- headers: {
5938
- [name: string]: unknown;
5939
- };
5940
- content: {
5941
- "application/json": components["schemas"]["ErrorResponse"];
5942
- };
5943
- };
5944
- /** @description Domain already claimed by this org or verified by another */
5945
- 409: {
5946
- headers: {
5947
- [name: string]: unknown;
5948
- };
5949
- content: {
5950
- "application/json": components["schemas"]["ErrorResponse"];
5951
- };
5952
- };
5953
5364
  };
5954
5365
  };
5955
5366
  verifyDomain: {
5956
5367
  parameters: {
5957
5368
  query?: never;
5958
5369
  header?: never;
5959
- path: {
5960
- /** @description Domain claim ID */
5961
- id: string;
5962
- };
5370
+ path?: never;
5963
5371
  cookie?: never;
5964
5372
  };
5965
5373
  requestBody?: never;
5966
5374
  responses: {
5967
- /** @description Domain verified successfully */
5375
+ /** @description Domain verification result */
5968
5376
  200: {
5969
5377
  headers: {
5970
5378
  [name: string]: unknown;
5971
5379
  };
5972
5380
  content: {
5973
- "application/json": components["schemas"]["OrgDomain"];
5974
- };
5975
- };
5976
- /** @description Domain not pending, DNS lookup failed, or token mismatch */
5977
- 400: {
5978
- headers: {
5979
- [name: string]: unknown;
5980
- };
5981
- content: {
5982
- "application/json": components["schemas"]["ErrorResponse"];
5983
- };
5984
- };
5985
- /** @description No org.claim_domain capability */
5986
- 403: {
5987
- headers: {
5988
- [name: string]: unknown;
5989
- };
5990
- content: {
5991
- "application/json": components["schemas"]["ErrorResponse"];
5992
- };
5993
- };
5994
- /** @description Domain not found */
5995
- 404: {
5996
- headers: {
5997
- [name: string]: unknown;
5998
- };
5999
- content: {
6000
- "application/json": components["schemas"]["ErrorResponse"];
6001
- };
6002
- };
6003
- /** @description Another org verified this domain (race condition) */
6004
- 409: {
6005
- headers: {
6006
- [name: string]: unknown;
6007
- };
6008
- content: {
6009
- "application/json": components["schemas"]["ErrorResponse"];
5381
+ "application/json": components["schemas"]["VerifyDomainResponse"];
6010
5382
  };
6011
5383
  };
6012
5384
  };
@@ -6015,49 +5387,17 @@ export interface operations {
6015
5387
  parameters: {
6016
5388
  query?: never;
6017
5389
  header?: never;
6018
- path: {
6019
- /** @description Domain claim ID */
6020
- id: string;
6021
- };
5390
+ path?: never;
6022
5391
  cookie?: never;
6023
5392
  };
6024
5393
  requestBody?: never;
6025
5394
  responses: {
6026
- /** @description Domain claim revoked */
5395
+ /** @description Domain deleted */
6027
5396
  200: {
6028
5397
  headers: {
6029
5398
  [name: string]: unknown;
6030
5399
  };
6031
- content: {
6032
- "application/json": components["schemas"]["RevokeDomainResponse"];
6033
- };
6034
- };
6035
- /** @description Domain already revoked */
6036
- 400: {
6037
- headers: {
6038
- [name: string]: unknown;
6039
- };
6040
- content: {
6041
- "application/json": components["schemas"]["ErrorResponse"];
6042
- };
6043
- };
6044
- /** @description No org.claim_domain capability */
6045
- 403: {
6046
- headers: {
6047
- [name: string]: unknown;
6048
- };
6049
- content: {
6050
- "application/json": components["schemas"]["ErrorResponse"];
6051
- };
6052
- };
6053
- /** @description Domain not found */
6054
- 404: {
6055
- headers: {
6056
- [name: string]: unknown;
6057
- };
6058
- content: {
6059
- "application/json": components["schemas"]["ErrorResponse"];
6060
- };
5400
+ content?: never;
6061
5401
  };
6062
5402
  };
6063
5403
  };
@@ -6070,49 +5410,13 @@ export interface operations {
6070
5410
  };
6071
5411
  requestBody?: never;
6072
5412
  responses: {
6073
- /** @description Logo resynced */
5413
+ /** @description Resync result with new logo URL */
6074
5414
  200: {
6075
5415
  headers: {
6076
5416
  [name: string]: unknown;
6077
5417
  };
6078
5418
  content: {
6079
- "application/json": components["schemas"]["ResyncSlackLogoResponse"];
6080
- };
6081
- };
6082
- /** @description Slack not connected */
6083
- 400: {
6084
- headers: {
6085
- [name: string]: unknown;
6086
- };
6087
- content: {
6088
- "application/json": components["schemas"]["ErrorResponse"];
6089
- };
6090
- };
6091
- /** @description Not authenticated */
6092
- 401: {
6093
- headers: {
6094
- [name: string]: unknown;
6095
- };
6096
- content: {
6097
- "application/json": components["schemas"]["ErrorResponse"];
6098
- };
6099
- };
6100
- /** @description No org.view_workspace capability */
6101
- 403: {
6102
- headers: {
6103
- [name: string]: unknown;
6104
- };
6105
- content: {
6106
- "application/json": components["schemas"]["ErrorResponse"];
6107
- };
6108
- };
6109
- /** @description Rate limit exceeded */
6110
- 429: {
6111
- headers: {
6112
- [name: string]: unknown;
6113
- };
6114
- content: {
6115
- "application/json": components["schemas"]["ErrorResponse"];
5419
+ "application/json": components["schemas"]["WorkspaceResyncSlackLogoResponse"];
6116
5420
  };
6117
5421
  };
6118
5422
  };
@@ -6126,58 +5430,17 @@ export interface operations {
6126
5430
  };
6127
5431
  requestBody: {
6128
5432
  content: {
6129
- "application/json": {
6130
- /** @description Flat tokenized segments, e.g. ["dept", "engineering", "team", "front-end"] */
6131
- path: string[];
6132
- };
5433
+ "application/json": components["schemas"]["ResolvePathRequest"];
6133
5434
  };
6134
5435
  };
6135
5436
  responses: {
6136
- /** @description Resolved layers */
5437
+ /** @description Resolved navigation layers */
6137
5438
  200: {
6138
5439
  headers: {
6139
5440
  [name: string]: unknown;
6140
5441
  };
6141
5442
  content: {
6142
- "application/json": {
6143
- layers: components["schemas"]["ResolvedLayer"][];
6144
- };
6145
- };
6146
- };
6147
- /** @description Invalid segment grammar */
6148
- 400: {
6149
- headers: {
6150
- [name: string]: unknown;
6151
- };
6152
- content: {
6153
- "application/json": components["schemas"]["ErrorResponse"];
6154
- };
6155
- };
6156
- /** @description Not authenticated */
6157
- 401: {
6158
- headers: {
6159
- [name: string]: unknown;
6160
- };
6161
- content: {
6162
- "application/json": components["schemas"]["ErrorResponse"];
6163
- };
6164
- };
6165
- /** @description No org.view_workspace capability */
6166
- 403: {
6167
- headers: {
6168
- [name: string]: unknown;
6169
- };
6170
- content: {
6171
- "application/json": components["schemas"]["ErrorResponse"];
6172
- };
6173
- };
6174
- /** @description Entity slug not found */
6175
- 404: {
6176
- headers: {
6177
- [name: string]: unknown;
6178
- };
6179
- content: {
6180
- "application/json": components["schemas"]["ErrorResponse"];
5443
+ "application/json": components["schemas"]["WorkspaceResolvePathResponse"];
6181
5444
  };
6182
5445
  };
6183
5446
  };
@@ -6350,10 +5613,7 @@ export interface operations {
6350
5613
  parameters: {
6351
5614
  query?: never;
6352
5615
  header?: never;
6353
- path: {
6354
- /** @description Organization ID */
6355
- orgId: string;
6356
- };
5616
+ path?: never;
6357
5617
  cookie?: never;
6358
5618
  };
6359
5619
  requestBody?: never;
@@ -6364,25 +5624,7 @@ export interface operations {
6364
5624
  [name: string]: unknown;
6365
5625
  };
6366
5626
  content: {
6367
- "application/json": {
6368
- planName: string;
6369
- /** @enum {string} */
6370
- planStatus: "active" | "trialing" | "past_due" | "canceled";
6371
- billingCadence: string;
6372
- seatCount: number;
6373
- seatLimit: number;
6374
- /** Format: uuid */
6375
- billingOwnerUserId: string;
6376
- };
6377
- };
6378
- };
6379
- /** @description Not an org owner */
6380
- 403: {
6381
- headers: {
6382
- [name: string]: unknown;
6383
- };
6384
- content: {
6385
- "application/json": components["schemas"]["ErrorResponse"];
5627
+ "application/json": components["schemas"]["OrgBillingResponse"];
6386
5628
  };
6387
5629
  };
6388
5630
  };
@@ -7970,9 +7212,7 @@ export interface operations {
7970
7212
  parameters: {
7971
7213
  query?: never;
7972
7214
  header?: never;
7973
- path: {
7974
- orgId: string;
7975
- };
7215
+ path?: never;
7976
7216
  cookie?: never;
7977
7217
  };
7978
7218
  requestBody?: never;
@@ -7982,32 +7222,7 @@ export interface operations {
7982
7222
  headers: {
7983
7223
  [name: string]: unknown;
7984
7224
  };
7985
- content: {
7986
- "application/json": {
7987
- /** @constant */
7988
- success?: true;
7989
- /** Format: uuid */
7990
- nextOrgId?: string | null;
7991
- };
7992
- };
7993
- };
7994
- /** @description Cannot leave personal org or sole owner */
7995
- 400: {
7996
- headers: {
7997
- [name: string]: unknown;
7998
- };
7999
- content: {
8000
- "application/json": components["schemas"]["ErrorResponse"];
8001
- };
8002
- };
8003
- /** @description Not a member of this organization */
8004
- 404: {
8005
- headers: {
8006
- [name: string]: unknown;
8007
- };
8008
- content: {
8009
- "application/json": components["schemas"]["ErrorResponse"];
8010
- };
7225
+ content?: never;
8011
7226
  };
8012
7227
  };
8013
7228
  };
@@ -8396,24 +7611,6 @@ export interface operations {
8396
7611
  "application/json": components["schemas"]["ScopeCheckBatchResponse"];
8397
7612
  };
8398
7613
  };
8399
- /** @description Invalid input (empty array, >20 items, invalid scope format) */
8400
- 400: {
8401
- headers: {
8402
- [name: string]: unknown;
8403
- };
8404
- content: {
8405
- "application/json": components["schemas"]["ErrorResponse"];
8406
- };
8407
- };
8408
- /** @description Not authenticated */
8409
- 401: {
8410
- headers: {
8411
- [name: string]: unknown;
8412
- };
8413
- content: {
8414
- "application/json": components["schemas"]["ErrorResponse"];
8415
- };
8416
- };
8417
7614
  };
8418
7615
  };
8419
7616
  }