@company-semantics/contracts 0.121.0 → 0.123.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.
@@ -356,12 +356,7 @@ export interface paths {
356
356
  path?: never;
357
357
  cookie?: never;
358
358
  };
359
- /**
360
- * Get execution timeline
361
- * @description Returns the timeline for an execution.
362
- * Timeline is a read-only projection over audit data.
363
- * Returns 404 for both non-existent and non-visible executions (prevents existence leaks).
364
- */
359
+ /** Get timeline events for an execution */
365
360
  get: operations["getExecutionTimeline"];
366
361
  put?: never;
367
362
  post?: never;
@@ -378,11 +373,7 @@ export interface paths {
378
373
  path?: never;
379
374
  cookie?: never;
380
375
  };
381
- /**
382
- * Get execution summary
383
- * @description Returns the ExecutionSummary projection for an execution.
384
- * Summary is a UI-facing projection derived from audit records.
385
- */
376
+ /** Get execution summary projection */
386
377
  get: operations["getExecutionSummary"];
387
378
  put?: never;
388
379
  post?: never;
@@ -399,16 +390,10 @@ export interface paths {
399
390
  path?: never;
400
391
  cookie?: never;
401
392
  };
402
- /**
403
- * List executions
404
- * @description Lists execution summaries with optional filtering.
405
- */
393
+ /** List executions with cursor pagination */
406
394
  get: operations["listExecutions"];
407
395
  put?: never;
408
- /**
409
- * Start a new execution
410
- * @description Start a new execution for an integration action.
411
- */
396
+ /** Start a new execution */
412
397
  post: operations["startExecution"];
413
398
  delete?: never;
414
399
  options?: never;
@@ -423,11 +408,7 @@ export interface paths {
423
408
  path?: never;
424
409
  cookie?: never;
425
410
  };
426
- /**
427
- * Get execution explanation
428
- * @description Returns the deterministic explanation for an execution.
429
- * Explanation is generated from audit records, NOT from LLM.
430
- */
411
+ /** Get deterministic explanation for an execution */
431
412
  get: operations["getExplanation"];
432
413
  put?: never;
433
414
  post?: never;
@@ -446,12 +427,7 @@ export interface paths {
446
427
  };
447
428
  get?: never;
448
429
  put?: never;
449
- /**
450
- * Undo a completed execution
451
- * @description Undoes a completed execution within its undo window.
452
- * The caller must be the same user who initiated the execution.
453
- * Idempotent: if undo was already performed, returns the existing result.
454
- */
430
+ /** Undo a completed execution within its undo window */
455
431
  post: operations["undoExecution"];
456
432
  delete?: never;
457
433
  options?: never;
@@ -468,11 +444,7 @@ export interface paths {
468
444
  };
469
445
  get?: never;
470
446
  put?: never;
471
- /**
472
- * Confirm a pending execution
473
- * @description Confirms a pending execution. Serialized via advisory lock.
474
- * The caller must be the same user who initiated the execution.
475
- */
447
+ /** Confirm pending execution */
476
448
  post: operations["confirmExecution"];
477
449
  delete?: never;
478
450
  options?: never;
@@ -489,11 +461,7 @@ export interface paths {
489
461
  };
490
462
  get?: never;
491
463
  put?: never;
492
- /**
493
- * Reject a pending execution
494
- * @description Rejects a pending execution. Serialized via advisory lock.
495
- * The caller must be the same user who initiated the execution.
496
- */
464
+ /** Reject pending execution */
497
465
  post: operations["rejectExecution"];
498
466
  delete?: never;
499
467
  options?: never;
@@ -508,11 +476,7 @@ export interface paths {
508
476
  path?: never;
509
477
  cookie?: never;
510
478
  };
511
- /**
512
- * Get timeline UI events
513
- * @description Returns timeline events in UI projection format.
514
- * This is the user-facing timeline with derived labels and icons.
515
- */
479
+ /** Get timeline events in UI projection format */
516
480
  get: operations["getTimelineUI"];
517
481
  put?: never;
518
482
  post?: never;
@@ -619,19 +583,9 @@ export interface paths {
619
583
  };
620
584
  get?: never;
621
585
  put?: never;
622
- /**
623
- * Initiate ownership transfer
624
- * @description Initiates an ownership transfer to a new owner by email.
625
- * Sends an email with a transfer acceptance link to the new owner.
626
- * Only the org owner can initiate transfers.
627
- * Rate limited: 5/hour per user.
628
- */
586
+ /** Initiate ownership transfer */
629
587
  post: operations["initiateOwnershipTransfer"];
630
- /**
631
- * Cancel ownership transfer
632
- * @description Cancels a pending ownership transfer.
633
- * Only the user who initiated the transfer can cancel it.
634
- */
588
+ /** Cancel ownership transfer */
635
589
  delete: operations["cancelOwnershipTransfer"];
636
590
  options?: never;
637
591
  head?: never;
@@ -645,11 +599,7 @@ export interface paths {
645
599
  path?: never;
646
600
  cookie?: never;
647
601
  };
648
- /**
649
- * Get ownership transfer status
650
- * @description Returns the status of any pending ownership transfer.
651
- * Only the org owner can view transfer status.
652
- */
602
+ /** Get ownership transfer status */
653
603
  get: operations["getOwnershipTransferStatus"];
654
604
  put?: never;
655
605
  post?: never;
@@ -668,13 +618,7 @@ export interface paths {
668
618
  };
669
619
  get?: never;
670
620
  put?: never;
671
- /**
672
- * Preview ownership transfer details
673
- * @description Returns transfer details for the acceptance page.
674
- * This endpoint does NOT require session auth - the token is the credential.
675
- * Token is passed in POST body (not URL) to prevent logging exposure.
676
- * Rate limited: 10/hour per IP.
677
- */
621
+ /** Preview ownership transfer details */
678
622
  post: operations["previewOwnershipTransfer"];
679
623
  delete?: never;
680
624
  options?: never;
@@ -691,12 +635,7 @@ export interface paths {
691
635
  };
692
636
  get?: never;
693
637
  put?: never;
694
- /**
695
- * Accept ownership transfer
696
- * @description Accepts an ownership transfer using the token from email.
697
- * Requires authenticated session with login freshness (15 minutes).
698
- * Rate limited: 10/hour per IP.
699
- */
638
+ /** Accept ownership transfer */
700
639
  post: operations["acceptOwnershipTransfer"];
701
640
  delete?: never;
702
641
  options?: never;
@@ -711,12 +650,7 @@ export interface paths {
711
650
  path?: never;
712
651
  cookie?: never;
713
652
  };
714
- /**
715
- * Get ITL-aware transfer eligibility
716
- * @description Returns ITL-aware transfer eligibility for the org and all members.
717
- * Used by the transfer ownership dialog to show eligibility indicators.
718
- * Only org owners may call this endpoint.
719
- */
653
+ /** Get ITL-aware transfer eligibility */
720
654
  get: operations["getTransferEligibility"];
721
655
  put?: never;
722
656
  post?: never;
@@ -733,12 +667,7 @@ export interface paths {
733
667
  path?: never;
734
668
  cookie?: never;
735
669
  };
736
- /**
737
- * Check org deletion eligibility
738
- * @description Check whether the current org is eligible for deletion and return
739
- * member classification (suggested fates for each member).
740
- * Only org owners may call this endpoint.
741
- */
670
+ /** Check org deletion eligibility */
742
671
  get: operations["orgDeletionEligibility"];
743
672
  put?: never;
744
673
  post?: never;
@@ -757,12 +686,7 @@ export interface paths {
757
686
  };
758
687
  get?: never;
759
688
  put?: never;
760
- /**
761
- * Request org deletion
762
- * @description Request deletion of the current org. Requires explicit list of user IDs
763
- * to cascade-delete. Non-listed members will be removed from org only.
764
- * Only org owners may call this endpoint.
765
- */
689
+ /** Request org deletion */
766
690
  post: operations["orgDelete"];
767
691
  delete?: never;
768
692
  options?: never;
@@ -779,13 +703,7 @@ export interface paths {
779
703
  };
780
704
  get?: never;
781
705
  put?: never;
782
- /**
783
- * Cancel pending org deletion
784
- * @description Cancel a pending org deletion during the 30-day grace period.
785
- * Restores org to active, re-activates memberships, and cancels
786
- * cascade-deleted users (if still pending and no independent intent).
787
- * Only org owners may call this endpoint.
788
- */
706
+ /** Cancel pending org deletion */
789
707
  post: operations["orgCancelDeletion"];
790
708
  delete?: never;
791
709
  options?: never;
@@ -1004,12 +922,7 @@ export interface paths {
1004
922
  path?: never;
1005
923
  cookie?: never;
1006
924
  };
1007
- /**
1008
- * Validate an invite token
1009
- * @description Validate an invite token without accepting it.
1010
- * Used by the frontend to preflight-check tokens on page load.
1011
- * No authentication required.
1012
- */
925
+ /** Validate an invite token */
1013
926
  get: operations["validateInviteToken"];
1014
927
  put?: never;
1015
928
  post?: never;
@@ -1026,19 +939,10 @@ export interface paths {
1026
939
  path?: never;
1027
940
  cookie?: never;
1028
941
  };
1029
- /**
1030
- * List pending invites
1031
- * @description List pending invites for the current organization.
1032
- * Requires org.view_workspace capability.
1033
- */
942
+ /** List pending invites */
1034
943
  get: operations["listPendingInvites"];
1035
944
  put?: never;
1036
- /**
1037
- * Create workspace invite
1038
- * @description Create a new organization invite.
1039
- * Requires org.invite_member capability.
1040
- * Invites expire after 7 days.
1041
- */
945
+ /** Create workspace invite */
1042
946
  post: operations["createInvite"];
1043
947
  delete?: never;
1044
948
  options?: never;
@@ -1055,11 +959,7 @@ export interface paths {
1055
959
  };
1056
960
  get?: never;
1057
961
  put?: never;
1058
- /**
1059
- * Accept workspace invite
1060
- * @description Accept an organization invite.
1061
- * First invite acceptance triggers personal to shared transition.
1062
- */
962
+ /** Accept workspace invite */
1063
963
  post: operations["acceptInvite"];
1064
964
  delete?: never;
1065
965
  options?: never;
@@ -1077,11 +977,7 @@ export interface paths {
1077
977
  get?: never;
1078
978
  put?: never;
1079
979
  post?: never;
1080
- /**
1081
- * Revoke pending invite
1082
- * @description Revoke a pending invite.
1083
- * Requires org.invite_member capability.
1084
- */
980
+ /** Revoke pending invite */
1085
981
  delete: operations["revokeInvite"];
1086
982
  options?: never;
1087
983
  head?: never;
@@ -1129,22 +1025,10 @@ export interface paths {
1129
1025
  path?: never;
1130
1026
  cookie?: never;
1131
1027
  };
1132
- /**
1133
- * List workspace domains
1134
- * @description List all domains claimed by the workspace.
1135
- * Returns domains with their verification status.
1136
- * Verification tokens are NOT included in response.
1137
- * Requires org.view_workspace capability.
1138
- */
1028
+ /** List workspace domains */
1139
1029
  get: operations["listDomains"];
1140
1030
  put?: never;
1141
- /**
1142
- * Claim a domain for verification
1143
- * @description Claim a domain for DNS verification.
1144
- * Creates a pending domain claim with DNS TXT record instructions.
1145
- * Only one org can have a verified claim on a domain (global uniqueness).
1146
- * Requires org.claim_domain capability (owner-only).
1147
- */
1031
+ /** Claim a domain for verification */
1148
1032
  post: operations["claimDomain"];
1149
1033
  delete?: never;
1150
1034
  options?: never;
@@ -1161,13 +1045,7 @@ export interface paths {
1161
1045
  };
1162
1046
  get?: never;
1163
1047
  put?: never;
1164
- /**
1165
- * Verify domain ownership
1166
- * @description Trigger DNS verification for a pending domain claim.
1167
- * Checks DNS TXT record for the verification token.
1168
- * On success, domain status changes to 'verified'.
1169
- * Requires org.claim_domain capability (owner-only).
1170
- */
1048
+ /** Trigger DNS verification for a domain */
1171
1049
  post: operations["verifyDomain"];
1172
1050
  delete?: never;
1173
1051
  options?: never;
@@ -1185,12 +1063,7 @@ export interface paths {
1185
1063
  get?: never;
1186
1064
  put?: never;
1187
1065
  post?: never;
1188
- /**
1189
- * Delete domain claim
1190
- * @description Delete a domain claim.
1191
- * Removes the domain record, allowing other orgs to claim it.
1192
- * Requires org.claim_domain capability (owner-only).
1193
- */
1066
+ /** Delete a domain claim */
1194
1067
  delete: operations["deleteDomain"];
1195
1068
  options?: never;
1196
1069
  head?: never;
@@ -1325,11 +1198,7 @@ export interface paths {
1325
1198
  path?: never;
1326
1199
  cookie?: never;
1327
1200
  };
1328
- /**
1329
- * Get organization billing information
1330
- * @description Read-only billing information for organization owners.
1331
- * Only org owners may view billing (BILL-ORG-1).
1332
- */
1201
+ /** Get organization billing information */
1333
1202
  get: operations["getBilling"];
1334
1203
  put?: never;
1335
1204
  post?: never;
@@ -2599,11 +2468,9 @@ export interface components {
2599
2468
  status: "executing" | "blocked_pending_approval" | "already_confirmed" | "awaiting_approval";
2600
2469
  code?: string;
2601
2470
  executionId?: string;
2602
- /** @description ExecutionResultData when execution completes inline */
2603
- result?: Record<string, never>;
2604
2471
  };
2605
2472
  RejectExecutionResponse: {
2606
- /** @enum {string} */
2473
+ /** @constant */
2607
2474
  status: "cancelled";
2608
2475
  };
2609
2476
  ExecutionSummary: {
@@ -2624,21 +2491,30 @@ export interface components {
2624
2491
  summary: components["schemas"]["ExecutionSummary"];
2625
2492
  };
2626
2493
  ExecutionListResponse: {
2627
- executions: components["schemas"]["ExecutionSummary"][];
2628
- /** @description Cursor for next page, null if no more results */
2494
+ executions: {
2495
+ /** Format: uuid */
2496
+ executionId: string;
2497
+ kind: string;
2498
+ /** @enum {string} */
2499
+ status: "pending" | "succeeded" | "failed";
2500
+ /** Format: date-time */
2501
+ decidedAt: string;
2502
+ /** Format: date-time */
2503
+ completedAt?: string;
2504
+ target: {
2505
+ type: string;
2506
+ };
2507
+ }[];
2629
2508
  nextCursor?: string | null;
2630
- /** @description Whether more results are available */
2631
- hasMore: boolean;
2509
+ hasMore?: boolean;
2632
2510
  };
2633
2511
  ExecutionStartRequest: {
2634
2512
  kind: string;
2635
2513
  target: {
2636
- /** @enum {string} */
2637
- type: "slack";
2514
+ type: string;
2638
2515
  workspaceId?: string;
2639
2516
  };
2640
2517
  connectionId?: string;
2641
- /** Format: uri */
2642
2518
  returnUrl?: string;
2643
2519
  };
2644
2520
  ExecutionStartResponse: {
@@ -2799,16 +2675,12 @@ export interface components {
2799
2675
  RelayState: string;
2800
2676
  };
2801
2677
  InitiateTransferRequest: {
2802
- /**
2803
- * Format: email
2804
- * @description Email of the new owner
2805
- */
2678
+ /** Format: email */
2806
2679
  newOwnerEmail: string;
2680
+ note?: string;
2807
2681
  };
2808
2682
  InitiateTransferResponse: {
2809
- /** Format: uuid */
2810
2683
  transferId: string;
2811
- /** Format: date-time */
2812
2684
  expiresAt: string;
2813
2685
  message: string;
2814
2686
  };
@@ -3023,26 +2895,35 @@ export interface components {
3023
2895
  selfRevoked?: boolean;
3024
2896
  };
3025
2897
  CreateInviteRequest: {
3026
- /**
3027
- * Format: email
3028
- * @description Email address of the invitee
3029
- */
2898
+ /** Format: email */
3030
2899
  email: string;
3031
- /**
3032
- * @description Role to assign
3033
- * @enum {string}
3034
- */
2900
+ /** @enum {string} */
3035
2901
  role: "admin" | "member";
3036
2902
  };
3037
2903
  CreateInviteResponse: {
3038
- invite: components["schemas"]["OrgInvite"];
2904
+ invite: {
2905
+ id: string;
2906
+ orgId: string;
2907
+ email: string;
2908
+ /** @enum {string} */
2909
+ role: "owner" | "admin" | "member" | "auditor";
2910
+ invitedBy: {
2911
+ id: string;
2912
+ name: string;
2913
+ };
2914
+ /** @enum {string} */
2915
+ status: "pending" | "accepted" | "expired" | "revoked";
2916
+ createdAt: string;
2917
+ expiresAt: string;
2918
+ acceptedAt?: string;
2919
+ };
3039
2920
  };
3040
2921
  AcceptInviteRequest: {
3041
- /** @description The invite acceptance token */
3042
2922
  token: string;
3043
2923
  };
3044
2924
  AcceptInviteResponse: {
3045
- success: boolean;
2925
+ /** @constant */
2926
+ success: true;
3046
2927
  /** Format: uuid */
3047
2928
  orgId: string;
3048
2929
  role: string;
@@ -3108,7 +2989,6 @@ export interface components {
3108
2989
  createdAt: string;
3109
2990
  };
3110
2991
  ClaimDomainRequest: {
3111
- /** @description The domain to claim (e.g., "example.com") */
3112
2992
  domain: string;
3113
2993
  };
3114
2994
  DnsInstructions: {
@@ -3120,8 +3000,21 @@ export interface components {
3120
3000
  value: string;
3121
3001
  };
3122
3002
  ClaimDomainResponse: {
3123
- domain: components["schemas"]["OrgDomain"];
3124
- dnsInstructions: components["schemas"]["DnsInstructions"];
3003
+ id: string;
3004
+ orgId: string;
3005
+ domain: string;
3006
+ /** @enum {string} */
3007
+ status: "pending" | "verified";
3008
+ /** @enum {string} */
3009
+ verificationMethod: "dns_txt" | "email" | "idp";
3010
+ verificationToken?: string;
3011
+ verifiedAt: string | null;
3012
+ createdAt: string;
3013
+ verifiedBy?: {
3014
+ id: string;
3015
+ name: string;
3016
+ email: string;
3017
+ };
3125
3018
  };
3126
3019
  RevokeDomainResponse: {
3127
3020
  /** @constant */
@@ -3306,9 +3199,7 @@ export interface components {
3306
3199
  };
3307
3200
  InviteValidationResult: {
3308
3201
  valid: boolean;
3309
- /** @description Invite status (e.g. pending, accepted, expired, revoked) */
3310
3202
  status: string;
3311
- /** @description Organization name (present when invite is valid) */
3312
3203
  orgName?: string;
3313
3204
  };
3314
3205
  LogoutResponse: {
@@ -3555,6 +3446,118 @@ export interface components {
3555
3446
  /** @enum {string} */
3556
3447
  errorCode?: "IDENTITY_CONFLICT" | "DOMAIN_MISMATCH" | "ISSUER_MISMATCH" | "CALLBACK_ERROR";
3557
3448
  };
3449
+ InviteListResponse: {
3450
+ id: string;
3451
+ orgId: string;
3452
+ email: string;
3453
+ /** @enum {string} */
3454
+ role: "owner" | "admin" | "member" | "auditor";
3455
+ invitedBy: {
3456
+ id: string;
3457
+ name: string;
3458
+ };
3459
+ /** @enum {string} */
3460
+ status: "pending" | "accepted" | "expired" | "revoked";
3461
+ createdAt: string;
3462
+ expiresAt: string;
3463
+ acceptedAt?: string;
3464
+ }[];
3465
+ DomainListResponse: {
3466
+ id: string;
3467
+ orgId: string;
3468
+ domain: string;
3469
+ /** @enum {string} */
3470
+ status: "pending" | "verified";
3471
+ /** @enum {string} */
3472
+ verificationMethod: "dns_txt" | "email" | "idp";
3473
+ verificationToken?: string;
3474
+ verifiedAt: string | null;
3475
+ createdAt: string;
3476
+ verifiedBy?: {
3477
+ id: string;
3478
+ name: string;
3479
+ email: string;
3480
+ };
3481
+ }[];
3482
+ VerifyDomainResponse: {
3483
+ id: string;
3484
+ orgId: string;
3485
+ domain: string;
3486
+ /** @enum {string} */
3487
+ status: "pending" | "verified";
3488
+ /** @enum {string} */
3489
+ verificationMethod: "dns_txt" | "email" | "idp";
3490
+ verificationToken?: string;
3491
+ verifiedAt: string | null;
3492
+ createdAt: string;
3493
+ verifiedBy?: {
3494
+ id: string;
3495
+ name: string;
3496
+ email: string;
3497
+ };
3498
+ };
3499
+ OrgBillingResponse: {
3500
+ planName: string;
3501
+ /** @enum {string} */
3502
+ planStatus: "active" | "trialing" | "past_due" | "canceled";
3503
+ billingCadence: string;
3504
+ seatCount: number;
3505
+ seatLimit: number;
3506
+ billingOwnerUserId: string;
3507
+ };
3508
+ OrgDeletionStatus: {
3509
+ orgId: string;
3510
+ eligible: boolean;
3511
+ isPersonalOrg: boolean;
3512
+ ownerStatus?: string;
3513
+ deletionRequestedAt?: string;
3514
+ classifications: {
3515
+ userId: string;
3516
+ email: string;
3517
+ /** @enum {string} */
3518
+ suggestedFate: "REMOVE_FROM_ORG" | "DELETE_ACCOUNT" | "BLOCKED";
3519
+ reason: string;
3520
+ }[];
3521
+ };
3522
+ OrgDeleteRequest: {
3523
+ userIdsToDelete: string[];
3524
+ };
3525
+ AcceptTransferRequest: {
3526
+ token: string;
3527
+ };
3528
+ OwnershipTransferPreview: {
3529
+ workspaceName: string;
3530
+ initiatorName: string;
3531
+ initiatorEmail: string;
3532
+ note?: string;
3533
+ expiresAt: string;
3534
+ token: string;
3535
+ };
3536
+ PreviewTransferRequest: {
3537
+ token: string;
3538
+ };
3539
+ ExecutionTimelineResponse: {
3540
+ events: {
3541
+ eventId: string;
3542
+ /** Format: uuid */
3543
+ executionId: string;
3544
+ timestamp: string;
3545
+ createdAt: string;
3546
+ kind: string;
3547
+ summary: string;
3548
+ details?: {
3549
+ [key: string]: unknown;
3550
+ };
3551
+ relatedIds?: {
3552
+ decisionId?: string;
3553
+ artifactId?: string;
3554
+ rollbackId?: string;
3555
+ provenanceIds?: string[];
3556
+ };
3557
+ /** @enum {string} */
3558
+ visibilityLevel: "system" | "oversight" | "org_admin" | "user";
3559
+ }[];
3560
+ };
3558
3561
  };
3559
3562
  responses: never;
3560
3563
  parameters: never;
@@ -4028,39 +4031,18 @@ export interface operations {
4028
4031
  parameters: {
4029
4032
  query?: never;
4030
4033
  header?: never;
4031
- path: {
4032
- /** @description Execution ID (UUID v4) */
4033
- executionId: string;
4034
- };
4034
+ path?: never;
4035
4035
  cookie?: never;
4036
4036
  };
4037
4037
  requestBody?: never;
4038
4038
  responses: {
4039
- /** @description Timeline events for the execution */
4039
+ /** @description Execution timeline events */
4040
4040
  200: {
4041
4041
  headers: {
4042
4042
  [name: string]: unknown;
4043
4043
  };
4044
4044
  content: {
4045
- "application/json": components["schemas"]["TimelineResponse"];
4046
- };
4047
- };
4048
- /** @description Invalid execution ID format */
4049
- 400: {
4050
- headers: {
4051
- [name: string]: unknown;
4052
- };
4053
- content: {
4054
- "application/json": components["schemas"]["ErrorResponse"];
4055
- };
4056
- };
4057
- /** @description Execution not found or not visible */
4058
- 404: {
4059
- headers: {
4060
- [name: string]: unknown;
4061
- };
4062
- content: {
4063
- "application/json": components["schemas"]["ErrorResponse"];
4045
+ "application/json": components["schemas"]["ExecutionTimelineResponse"];
4064
4046
  };
4065
4047
  };
4066
4048
  };
@@ -4069,10 +4051,7 @@ export interface operations {
4069
4051
  parameters: {
4070
4052
  query?: never;
4071
4053
  header?: never;
4072
- path: {
4073
- /** @description Execution ID (UUID v4) */
4074
- executionId: string;
4075
- };
4054
+ path?: never;
4076
4055
  cookie?: never;
4077
4056
  };
4078
4057
  requestBody?: never;
@@ -4082,44 +4061,18 @@ export interface operations {
4082
4061
  headers: {
4083
4062
  [name: string]: unknown;
4084
4063
  };
4085
- content: {
4086
- "application/json": components["schemas"]["ExecutionSummaryResponse"];
4087
- };
4088
- };
4089
- /** @description Invalid execution ID format */
4090
- 400: {
4091
- headers: {
4092
- [name: string]: unknown;
4093
- };
4094
- content: {
4095
- "application/json": components["schemas"]["ErrorResponse"];
4096
- };
4097
- };
4098
- /** @description Execution not found or not visible */
4099
- 404: {
4100
- headers: {
4101
- [name: string]: unknown;
4102
- };
4103
- content: {
4104
- "application/json": components["schemas"]["ErrorResponse"];
4105
- };
4064
+ content?: never;
4106
4065
  };
4107
4066
  };
4108
4067
  };
4109
4068
  listExecutions: {
4110
4069
  parameters: {
4111
4070
  query?: {
4112
- /** @description Filter by ExecutionKind */
4113
- kind?: string;
4114
- /** @description Filter by target type */
4115
- targetType?: string;
4116
- /** @description Max results (default 100) */
4117
- limit?: number;
4118
- /** @description Cursor for pagination */
4119
4071
  cursor?: string;
4120
- /** @description Start of date range filter */
4072
+ limit?: number;
4073
+ kind?: "integration.connect" | "integration.disconnect" | "profile.update" | "slack.send" | "data.ingest" | "data.scope" | "system.cleanup";
4074
+ targetType?: string;
4121
4075
  periodStart?: string;
4122
- /** @description End of date range filter */
4123
4076
  periodEnd?: string;
4124
4077
  };
4125
4078
  header?: never;
@@ -4128,7 +4081,7 @@ export interface operations {
4128
4081
  };
4129
4082
  requestBody?: never;
4130
4083
  responses: {
4131
- /** @description List of execution summaries */
4084
+ /** @description Paginated execution list */
4132
4085
  200: {
4133
4086
  headers: {
4134
4087
  [name: string]: unknown;
@@ -4137,15 +4090,6 @@ export interface operations {
4137
4090
  "application/json": components["schemas"]["ExecutionListResponse"];
4138
4091
  };
4139
4092
  };
4140
- /** @description Invalid kind parameter */
4141
- 400: {
4142
- headers: {
4143
- [name: string]: unknown;
4144
- };
4145
- content: {
4146
- "application/json": components["schemas"]["ErrorResponse"];
4147
- };
4148
- };
4149
4093
  };
4150
4094
  };
4151
4095
  startExecution: {
@@ -4166,27 +4110,7 @@ export interface operations {
4166
4110
  headers: {
4167
4111
  [name: string]: unknown;
4168
4112
  };
4169
- content: {
4170
- "application/json": components["schemas"]["ExecutionStartResponse"];
4171
- };
4172
- };
4173
- /** @description Invalid execution kind or missing required fields */
4174
- 400: {
4175
- headers: {
4176
- [name: string]: unknown;
4177
- };
4178
- content: {
4179
- "application/json": components["schemas"]["ErrorResponse"];
4180
- };
4181
- };
4182
- /** @description User does not have required admin role */
4183
- 403: {
4184
- headers: {
4185
- [name: string]: unknown;
4186
- };
4187
- content: {
4188
- "application/json": components["schemas"]["ErrorResponse"];
4189
- };
4113
+ content?: never;
4190
4114
  };
4191
4115
  };
4192
4116
  };
@@ -4194,10 +4118,7 @@ export interface operations {
4194
4118
  parameters: {
4195
4119
  query?: never;
4196
4120
  header?: never;
4197
- path: {
4198
- /** @description Execution ID (UUID v4) */
4199
- executionId: string;
4200
- };
4121
+ path?: never;
4201
4122
  cookie?: never;
4202
4123
  };
4203
4124
  requestBody?: never;
@@ -4207,36 +4128,7 @@ export interface operations {
4207
4128
  headers: {
4208
4129
  [name: string]: unknown;
4209
4130
  };
4210
- content: {
4211
- "application/json": components["schemas"]["ExplanationResponse"];
4212
- };
4213
- };
4214
- /** @description Invalid execution ID format */
4215
- 400: {
4216
- headers: {
4217
- [name: string]: unknown;
4218
- };
4219
- content: {
4220
- "application/json": components["schemas"]["ErrorResponse"];
4221
- };
4222
- };
4223
- /** @description Execution not found or not visible */
4224
- 404: {
4225
- headers: {
4226
- [name: string]: unknown;
4227
- };
4228
- content: {
4229
- "application/json": components["schemas"]["ErrorResponse"];
4230
- };
4231
- };
4232
- /** @description Explanation service not available */
4233
- 501: {
4234
- headers: {
4235
- [name: string]: unknown;
4236
- };
4237
- content: {
4238
- "application/json": components["schemas"]["ErrorResponse"];
4239
- };
4131
+ content?: never;
4240
4132
  };
4241
4133
  };
4242
4134
  };
@@ -4244,10 +4136,7 @@ export interface operations {
4244
4136
  parameters: {
4245
4137
  query?: never;
4246
4138
  header?: never;
4247
- path: {
4248
- /** @description Execution ID (UUID v4) */
4249
- executionId: string;
4250
- };
4139
+ path?: never;
4251
4140
  cookie?: never;
4252
4141
  };
4253
4142
  requestBody?: never;
@@ -4257,45 +4146,7 @@ export interface operations {
4257
4146
  headers: {
4258
4147
  [name: string]: unknown;
4259
4148
  };
4260
- content: {
4261
- "application/json": components["schemas"]["UndoResultData"];
4262
- };
4263
- };
4264
- /** @description Invalid execution ID format or execution not in undoable state */
4265
- 400: {
4266
- headers: {
4267
- [name: string]: unknown;
4268
- };
4269
- content: {
4270
- "application/json": components["schemas"]["ErrorResponse"];
4271
- };
4272
- };
4273
- /** @description Insufficient permissions (not the initiating user) */
4274
- 403: {
4275
- headers: {
4276
- [name: string]: unknown;
4277
- };
4278
- content: {
4279
- "application/json": components["schemas"]["ExecutionLifecycleError"];
4280
- };
4281
- };
4282
- /** @description Execution not found */
4283
- 404: {
4284
- headers: {
4285
- [name: string]: unknown;
4286
- };
4287
- content: {
4288
- "application/json": components["schemas"]["ErrorResponse"];
4289
- };
4290
- };
4291
- /** @description Execution in wrong state (e.g. undo window expired) */
4292
- 409: {
4293
- headers: {
4294
- [name: string]: unknown;
4295
- };
4296
- content: {
4297
- "application/json": components["schemas"]["ExecutionLifecycleError"];
4298
- };
4149
+ content?: never;
4299
4150
  };
4300
4151
  };
4301
4152
  };
@@ -4303,15 +4154,12 @@ export interface operations {
4303
4154
  parameters: {
4304
4155
  query?: never;
4305
4156
  header?: never;
4306
- path: {
4307
- /** @description Execution ID (UUID v4) */
4308
- executionId: string;
4309
- };
4157
+ path?: never;
4310
4158
  cookie?: never;
4311
4159
  };
4312
4160
  requestBody?: never;
4313
4161
  responses: {
4314
- /** @description Confirmation result */
4162
+ /** @description Execution confirmed */
4315
4163
  200: {
4316
4164
  headers: {
4317
4165
  [name: string]: unknown;
@@ -4320,66 +4168,18 @@ export interface operations {
4320
4168
  "application/json": components["schemas"]["ConfirmExecutionResponse"];
4321
4169
  };
4322
4170
  };
4323
- /** @description Invalid execution ID format */
4324
- 400: {
4325
- headers: {
4326
- [name: string]: unknown;
4327
- };
4328
- content: {
4329
- "application/json": components["schemas"]["ErrorResponse"];
4330
- };
4331
- };
4332
- /** @description Insufficient permissions (not the initiating user) */
4333
- 403: {
4334
- headers: {
4335
- [name: string]: unknown;
4336
- };
4337
- content: {
4338
- "application/json": components["schemas"]["ExecutionLifecycleError"];
4339
- };
4340
- };
4341
- /** @description Execution not found */
4342
- 404: {
4343
- headers: {
4344
- [name: string]: unknown;
4345
- };
4346
- content: {
4347
- "application/json": components["schemas"]["ErrorResponse"];
4348
- };
4349
- };
4350
- /** @description Execution not in pending_confirmation state */
4351
- 409: {
4352
- headers: {
4353
- [name: string]: unknown;
4354
- };
4355
- content: {
4356
- "application/json": components["schemas"]["ExecutionLifecycleError"];
4357
- };
4358
- };
4359
- /** @description Confirmation has expired */
4360
- 410: {
4361
- headers: {
4362
- [name: string]: unknown;
4363
- };
4364
- content: {
4365
- "application/json": components["schemas"]["ExecutionLifecycleError"];
4366
- };
4367
- };
4368
4171
  };
4369
4172
  };
4370
4173
  rejectExecution: {
4371
4174
  parameters: {
4372
4175
  query?: never;
4373
4176
  header?: never;
4374
- path: {
4375
- /** @description Execution ID (UUID v4) */
4376
- executionId: string;
4377
- };
4177
+ path?: never;
4378
4178
  cookie?: never;
4379
4179
  };
4380
4180
  requestBody?: never;
4381
4181
  responses: {
4382
- /** @description Rejection result */
4182
+ /** @description Execution rejected */
4383
4183
  200: {
4384
4184
  headers: {
4385
4185
  [name: string]: unknown;
@@ -4388,55 +4188,15 @@ export interface operations {
4388
4188
  "application/json": components["schemas"]["RejectExecutionResponse"];
4389
4189
  };
4390
4190
  };
4391
- /** @description Invalid execution ID format */
4392
- 400: {
4393
- headers: {
4394
- [name: string]: unknown;
4395
- };
4396
- content: {
4397
- "application/json": components["schemas"]["ErrorResponse"];
4398
- };
4399
- };
4400
- /** @description Insufficient permissions (not the initiating user) */
4401
- 403: {
4402
- headers: {
4403
- [name: string]: unknown;
4404
- };
4405
- content: {
4406
- "application/json": components["schemas"]["ExecutionLifecycleError"];
4407
- };
4408
- };
4409
- /** @description Execution not found */
4410
- 404: {
4411
- headers: {
4412
- [name: string]: unknown;
4413
- };
4414
- content: {
4415
- "application/json": components["schemas"]["ErrorResponse"];
4416
- };
4417
- };
4418
- /** @description Execution not in pending_confirmation state */
4419
- 409: {
4420
- headers: {
4421
- [name: string]: unknown;
4422
- };
4423
- content: {
4424
- "application/json": components["schemas"]["ExecutionLifecycleError"];
4425
- };
4426
- };
4427
4191
  };
4428
4192
  };
4429
4193
  getTimelineUI: {
4430
4194
  parameters: {
4431
4195
  query?: {
4432
- /** @description Filter by ExecutionKind */
4433
- kind?: string;
4434
- /** @description Filter by kind prefix */
4435
- kindPrefix?: string;
4436
- /** @description Max results (default 100) */
4437
4196
  limit?: number;
4438
- /** @description Pagination offset (default 0) */
4439
4197
  offset?: number;
4198
+ kind?: "integration.connect" | "integration.disconnect" | "profile.update" | "slack.send" | "data.ingest" | "data.scope" | "system.cleanup";
4199
+ kindPrefix?: string;
4440
4200
  };
4441
4201
  header?: never;
4442
4202
  path?: never;
@@ -4444,23 +4204,12 @@ export interface operations {
4444
4204
  };
4445
4205
  requestBody?: never;
4446
4206
  responses: {
4447
- /** @description Timeline UI events */
4207
+ /** @description UI timeline events */
4448
4208
  200: {
4449
4209
  headers: {
4450
4210
  [name: string]: unknown;
4451
4211
  };
4452
- content: {
4453
- "application/json": components["schemas"]["TimelineUIResponse"];
4454
- };
4455
- };
4456
- /** @description Invalid kind parameter */
4457
- 400: {
4458
- headers: {
4459
- [name: string]: unknown;
4460
- };
4461
- content: {
4462
- "application/json": components["schemas"]["ErrorResponse"];
4463
- };
4212
+ content?: never;
4464
4213
  };
4465
4214
  };
4466
4215
  };
@@ -4703,42 +4452,6 @@ export interface operations {
4703
4452
  "application/json": components["schemas"]["InitiateTransferResponse"];
4704
4453
  };
4705
4454
  };
4706
- /** @description Validation error or self-transfer attempt */
4707
- 400: {
4708
- headers: {
4709
- [name: string]: unknown;
4710
- };
4711
- content: {
4712
- "application/json": components["schemas"]["ErrorResponse"];
4713
- };
4714
- };
4715
- /** @description Not the organization owner */
4716
- 403: {
4717
- headers: {
4718
- [name: string]: unknown;
4719
- };
4720
- content: {
4721
- "application/json": components["schemas"]["ErrorResponse"];
4722
- };
4723
- };
4724
- /** @description Transfer already pending or target ineligible */
4725
- 409: {
4726
- headers: {
4727
- [name: string]: unknown;
4728
- };
4729
- content: {
4730
- "application/json": components["schemas"]["ErrorResponse"];
4731
- };
4732
- };
4733
- /** @description Rate limit exceeded */
4734
- 429: {
4735
- headers: {
4736
- [name: string]: unknown;
4737
- };
4738
- content: {
4739
- "application/json": components["schemas"]["ErrorResponse"];
4740
- };
4741
- };
4742
4455
  };
4743
4456
  };
4744
4457
  cancelOwnershipTransfer: {
@@ -4755,27 +4468,7 @@ export interface operations {
4755
4468
  headers: {
4756
4469
  [name: string]: unknown;
4757
4470
  };
4758
- content: {
4759
- "application/json": components["schemas"]["OkResponse"];
4760
- };
4761
- };
4762
- /** @description Not the organization owner */
4763
- 403: {
4764
- headers: {
4765
- [name: string]: unknown;
4766
- };
4767
- content: {
4768
- "application/json": components["schemas"]["ErrorResponse"];
4769
- };
4770
- };
4771
- /** @description No pending transfer found */
4772
- 404: {
4773
- headers: {
4774
- [name: string]: unknown;
4775
- };
4776
- content: {
4777
- "application/json": components["schemas"]["ErrorResponse"];
4778
- };
4471
+ content?: never;
4779
4472
  };
4780
4473
  };
4781
4474
  };
@@ -4793,18 +4486,7 @@ export interface operations {
4793
4486
  headers: {
4794
4487
  [name: string]: unknown;
4795
4488
  };
4796
- content: {
4797
- "application/json": components["schemas"]["TransferStatusResponse"];
4798
- };
4799
- };
4800
- /** @description Not the organization owner */
4801
- 403: {
4802
- headers: {
4803
- [name: string]: unknown;
4804
- };
4805
- content: {
4806
- "application/json": components["schemas"]["ErrorResponse"];
4807
- };
4489
+ content?: never;
4808
4490
  };
4809
4491
  };
4810
4492
  };
@@ -4817,7 +4499,7 @@ export interface operations {
4817
4499
  };
4818
4500
  requestBody: {
4819
4501
  content: {
4820
- "application/json": components["schemas"]["AcceptTransferBody"];
4502
+ "application/json": components["schemas"]["PreviewTransferRequest"];
4821
4503
  };
4822
4504
  };
4823
4505
  responses: {
@@ -4827,25 +4509,7 @@ export interface operations {
4827
4509
  [name: string]: unknown;
4828
4510
  };
4829
4511
  content: {
4830
- "application/json": components["schemas"]["TransferAcceptanceView"];
4831
- };
4832
- };
4833
- /** @description Transfer not found or token is invalid */
4834
- 404: {
4835
- headers: {
4836
- [name: string]: unknown;
4837
- };
4838
- content: {
4839
- "application/json": components["schemas"]["ErrorResponse"];
4840
- };
4841
- };
4842
- /** @description Rate limit exceeded */
4843
- 429: {
4844
- headers: {
4845
- [name: string]: unknown;
4846
- };
4847
- content: {
4848
- "application/json": components["schemas"]["ErrorResponse"];
4512
+ "application/json": components["schemas"]["OwnershipTransferPreview"];
4849
4513
  };
4850
4514
  };
4851
4515
  };
@@ -4859,63 +4523,16 @@ export interface operations {
4859
4523
  };
4860
4524
  requestBody: {
4861
4525
  content: {
4862
- "application/json": components["schemas"]["AcceptTransferBody"];
4526
+ "application/json": components["schemas"]["AcceptTransferRequest"];
4863
4527
  };
4864
4528
  };
4865
4529
  responses: {
4866
- /** @description Transfer accepted, ownership transferred */
4530
+ /** @description Ownership transferred */
4867
4531
  200: {
4868
4532
  headers: {
4869
4533
  [name: string]: unknown;
4870
4534
  };
4871
- content: {
4872
- "application/json": components["schemas"]["AcceptTransferResponse"];
4873
- };
4874
- };
4875
- /** @description Invalid or missing token */
4876
- 400: {
4877
- headers: {
4878
- [name: string]: unknown;
4879
- };
4880
- content: {
4881
- "application/json": components["schemas"]["ErrorResponse"];
4882
- };
4883
- };
4884
- /** @description Session too old — re-authentication required */
4885
- 403: {
4886
- headers: {
4887
- [name: string]: unknown;
4888
- };
4889
- content: {
4890
- "application/json": components["schemas"]["ErrorResponse"];
4891
- };
4892
- };
4893
- /** @description Transfer not found */
4894
- 404: {
4895
- headers: {
4896
- [name: string]: unknown;
4897
- };
4898
- content: {
4899
- "application/json": components["schemas"]["ErrorResponse"];
4900
- };
4901
- };
4902
- /** @description Transfer expired */
4903
- 410: {
4904
- headers: {
4905
- [name: string]: unknown;
4906
- };
4907
- content: {
4908
- "application/json": components["schemas"]["ErrorResponse"];
4909
- };
4910
- };
4911
- /** @description Rate limit exceeded */
4912
- 429: {
4913
- headers: {
4914
- [name: string]: unknown;
4915
- };
4916
- content: {
4917
- "application/json": components["schemas"]["ErrorResponse"];
4918
- };
4535
+ content?: never;
4919
4536
  };
4920
4537
  };
4921
4538
  };
@@ -4933,21 +4550,7 @@ export interface operations {
4933
4550
  headers: {
4934
4551
  [name: string]: unknown;
4935
4552
  };
4936
- content: {
4937
- "application/json": {
4938
- eligibility: components["schemas"]["TransferEligibilityResult"];
4939
- members: components["schemas"]["TransferMemberEligibility"][];
4940
- };
4941
- };
4942
- };
4943
- /** @description Not an org owner */
4944
- 403: {
4945
- headers: {
4946
- [name: string]: unknown;
4947
- };
4948
- content: {
4949
- "application/json": components["schemas"]["ErrorResponse"];
4950
- };
4553
+ content?: never;
4951
4554
  };
4952
4555
  };
4953
4556
  };
@@ -4958,39 +4561,15 @@ export interface operations {
4958
4561
  path?: never;
4959
4562
  cookie?: never;
4960
4563
  };
4961
- requestBody?: never;
4962
- responses: {
4963
- /** @description Eligibility check result with member classifications */
4964
- 200: {
4965
- headers: {
4966
- [name: string]: unknown;
4967
- };
4968
- content: {
4969
- "application/json": {
4970
- orgId: string;
4971
- eligible: boolean;
4972
- isPersonalOrg: boolean;
4973
- ownerStatus?: string;
4974
- classifications: Record<string, never>[];
4975
- };
4976
- };
4977
- };
4978
- /** @description Not authenticated */
4979
- 401: {
4980
- headers: {
4981
- [name: string]: unknown;
4982
- };
4983
- content: {
4984
- "application/json": components["schemas"]["ErrorResponse"];
4985
- };
4986
- };
4987
- /** @description Organization not found */
4988
- 404: {
4564
+ requestBody?: never;
4565
+ responses: {
4566
+ /** @description Eligibility check result with member classifications */
4567
+ 200: {
4989
4568
  headers: {
4990
4569
  [name: string]: unknown;
4991
4570
  };
4992
4571
  content: {
4993
- "application/json": components["schemas"]["ErrorResponse"];
4572
+ "application/json": components["schemas"]["OrgDeletionStatus"];
4994
4573
  };
4995
4574
  };
4996
4575
  };
@@ -5004,43 +4583,16 @@ export interface operations {
5004
4583
  };
5005
4584
  requestBody: {
5006
4585
  content: {
5007
- "application/json": {
5008
- userIdsToDelete: string[];
5009
- };
4586
+ "application/json": components["schemas"]["OrgDeleteRequest"];
5010
4587
  };
5011
4588
  };
5012
4589
  responses: {
5013
- /** @description Org deletion initiated */
4590
+ /** @description Org deletion initiated, confirmation email sent */
5014
4591
  200: {
5015
4592
  headers: {
5016
4593
  [name: string]: unknown;
5017
4594
  };
5018
- content: {
5019
- "application/json": {
5020
- /** @constant */
5021
- status: "pending_deletion";
5022
- correlationId: string;
5023
- deletionKind: string;
5024
- };
5025
- };
5026
- };
5027
- /** @description Invalid request body */
5028
- 400: {
5029
- headers: {
5030
- [name: string]: unknown;
5031
- };
5032
- content: {
5033
- "application/json": components["schemas"]["ErrorResponse"];
5034
- };
5035
- };
5036
- /** @description Not authenticated */
5037
- 401: {
5038
- headers: {
5039
- [name: string]: unknown;
5040
- };
5041
- content: {
5042
- "application/json": components["schemas"]["ErrorResponse"];
5043
- };
4595
+ content?: never;
5044
4596
  };
5045
4597
  };
5046
4598
  };
@@ -5058,21 +4610,7 @@ export interface operations {
5058
4610
  headers: {
5059
4611
  [name: string]: unknown;
5060
4612
  };
5061
- content: {
5062
- "application/json": {
5063
- /** @constant */
5064
- status: "active";
5065
- };
5066
- };
5067
- };
5068
- /** @description Not authenticated */
5069
- 401: {
5070
- headers: {
5071
- [name: string]: unknown;
5072
- };
5073
- content: {
5074
- "application/json": components["schemas"]["ErrorResponse"];
5075
- };
4613
+ content?: never;
5076
4614
  };
5077
4615
  };
5078
4616
  };
@@ -5371,7 +4909,6 @@ export interface operations {
5371
4909
  validateInviteToken: {
5372
4910
  parameters: {
5373
4911
  query: {
5374
- /** @description Invite acceptance token */
5375
4912
  token: string;
5376
4913
  };
5377
4914
  header?: never;
@@ -5389,15 +4926,6 @@ export interface operations {
5389
4926
  "application/json": components["schemas"]["InviteValidationResult"];
5390
4927
  };
5391
4928
  };
5392
- /** @description Missing token parameter */
5393
- 400: {
5394
- headers: {
5395
- [name: string]: unknown;
5396
- };
5397
- content: {
5398
- "application/json": components["schemas"]["ErrorResponse"];
5399
- };
5400
- };
5401
4929
  };
5402
4930
  };
5403
4931
  listPendingInvites: {
@@ -5415,16 +4943,7 @@ export interface operations {
5415
4943
  [name: string]: unknown;
5416
4944
  };
5417
4945
  content: {
5418
- "application/json": components["schemas"]["OrgInvite"][];
5419
- };
5420
- };
5421
- /** @description No view capability */
5422
- 403: {
5423
- headers: {
5424
- [name: string]: unknown;
5425
- };
5426
- content: {
5427
- "application/json": components["schemas"]["ErrorResponse"];
4946
+ "application/json": components["schemas"]["InviteListResponse"];
5428
4947
  };
5429
4948
  };
5430
4949
  };
@@ -5451,33 +4970,6 @@ export interface operations {
5451
4970
  "application/json": components["schemas"]["CreateInviteResponse"];
5452
4971
  };
5453
4972
  };
5454
- /** @description Invalid input */
5455
- 400: {
5456
- headers: {
5457
- [name: string]: unknown;
5458
- };
5459
- content: {
5460
- "application/json": components["schemas"]["ErrorResponse"];
5461
- };
5462
- };
5463
- /** @description No invite capability */
5464
- 403: {
5465
- headers: {
5466
- [name: string]: unknown;
5467
- };
5468
- content: {
5469
- "application/json": components["schemas"]["ErrorResponse"];
5470
- };
5471
- };
5472
- /** @description Duplicate invite or already member */
5473
- 409: {
5474
- headers: {
5475
- [name: string]: unknown;
5476
- };
5477
- content: {
5478
- "application/json": components["schemas"]["ErrorResponse"];
5479
- };
5480
- };
5481
4973
  };
5482
4974
  };
5483
4975
  acceptInvite: {
@@ -5502,43 +4994,13 @@ export interface operations {
5502
4994
  "application/json": components["schemas"]["AcceptInviteResponse"];
5503
4995
  };
5504
4996
  };
5505
- /** @description Invite not found */
5506
- 404: {
5507
- headers: {
5508
- [name: string]: unknown;
5509
- };
5510
- content: {
5511
- "application/json": components["schemas"]["ErrorResponse"];
5512
- };
5513
- };
5514
- /** @description Invite already processed */
5515
- 409: {
5516
- headers: {
5517
- [name: string]: unknown;
5518
- };
5519
- content: {
5520
- "application/json": components["schemas"]["ErrorResponse"];
5521
- };
5522
- };
5523
- /** @description Invite expired */
5524
- 410: {
5525
- headers: {
5526
- [name: string]: unknown;
5527
- };
5528
- content: {
5529
- "application/json": components["schemas"]["ErrorResponse"];
5530
- };
5531
- };
5532
4997
  };
5533
4998
  };
5534
4999
  revokeInvite: {
5535
5000
  parameters: {
5536
5001
  query?: never;
5537
5002
  header?: never;
5538
- path: {
5539
- /** @description Invite ID */
5540
- id: string;
5541
- };
5003
+ path?: never;
5542
5004
  cookie?: never;
5543
5005
  };
5544
5006
  requestBody?: never;
@@ -5550,33 +5012,6 @@ export interface operations {
5550
5012
  };
5551
5013
  content?: never;
5552
5014
  };
5553
- /** @description No invite capability */
5554
- 403: {
5555
- headers: {
5556
- [name: string]: unknown;
5557
- };
5558
- content: {
5559
- "application/json": components["schemas"]["ErrorResponse"];
5560
- };
5561
- };
5562
- /** @description Invite not found */
5563
- 404: {
5564
- headers: {
5565
- [name: string]: unknown;
5566
- };
5567
- content: {
5568
- "application/json": components["schemas"]["ErrorResponse"];
5569
- };
5570
- };
5571
- /** @description Invite already processed */
5572
- 409: {
5573
- headers: {
5574
- [name: string]: unknown;
5575
- };
5576
- content: {
5577
- "application/json": components["schemas"]["ErrorResponse"];
5578
- };
5579
- };
5580
5015
  };
5581
5016
  };
5582
5017
  removeMember: {
@@ -5638,16 +5073,7 @@ export interface operations {
5638
5073
  [name: string]: unknown;
5639
5074
  };
5640
5075
  content: {
5641
- "application/json": components["schemas"]["OrgDomain"][];
5642
- };
5643
- };
5644
- /** @description No org.view_workspace capability */
5645
- 403: {
5646
- headers: {
5647
- [name: string]: unknown;
5648
- };
5649
- content: {
5650
- "application/json": components["schemas"]["ErrorResponse"];
5076
+ "application/json": components["schemas"]["DomainListResponse"];
5651
5077
  };
5652
5078
  };
5653
5079
  };
@@ -5665,7 +5091,7 @@ export interface operations {
5665
5091
  };
5666
5092
  };
5667
5093
  responses: {
5668
- /** @description Domain claimed, DNS instructions returned */
5094
+ /** @description Domain claimed */
5669
5095
  201: {
5670
5096
  headers: {
5671
5097
  [name: string]: unknown;
@@ -5674,90 +5100,24 @@ export interface operations {
5674
5100
  "application/json": components["schemas"]["ClaimDomainResponse"];
5675
5101
  };
5676
5102
  };
5677
- /** @description Invalid domain format */
5678
- 400: {
5679
- headers: {
5680
- [name: string]: unknown;
5681
- };
5682
- content: {
5683
- "application/json": components["schemas"]["ErrorResponse"];
5684
- };
5685
- };
5686
- /** @description No org.claim_domain capability */
5687
- 403: {
5688
- headers: {
5689
- [name: string]: unknown;
5690
- };
5691
- content: {
5692
- "application/json": components["schemas"]["ErrorResponse"];
5693
- };
5694
- };
5695
- /** @description Domain already claimed by this org or verified by another */
5696
- 409: {
5697
- headers: {
5698
- [name: string]: unknown;
5699
- };
5700
- content: {
5701
- "application/json": components["schemas"]["ErrorResponse"];
5702
- };
5703
- };
5704
5103
  };
5705
5104
  };
5706
5105
  verifyDomain: {
5707
5106
  parameters: {
5708
5107
  query?: never;
5709
5108
  header?: never;
5710
- path: {
5711
- /** @description Domain claim ID */
5712
- id: string;
5713
- };
5109
+ path?: never;
5714
5110
  cookie?: never;
5715
5111
  };
5716
5112
  requestBody?: never;
5717
5113
  responses: {
5718
- /** @description Domain verified successfully */
5114
+ /** @description Domain verification result */
5719
5115
  200: {
5720
5116
  headers: {
5721
5117
  [name: string]: unknown;
5722
5118
  };
5723
5119
  content: {
5724
- "application/json": components["schemas"]["OrgDomain"];
5725
- };
5726
- };
5727
- /** @description Domain not pending, DNS lookup failed, or token mismatch */
5728
- 400: {
5729
- headers: {
5730
- [name: string]: unknown;
5731
- };
5732
- content: {
5733
- "application/json": components["schemas"]["ErrorResponse"];
5734
- };
5735
- };
5736
- /** @description No org.claim_domain capability */
5737
- 403: {
5738
- headers: {
5739
- [name: string]: unknown;
5740
- };
5741
- content: {
5742
- "application/json": components["schemas"]["ErrorResponse"];
5743
- };
5744
- };
5745
- /** @description Domain not found */
5746
- 404: {
5747
- headers: {
5748
- [name: string]: unknown;
5749
- };
5750
- content: {
5751
- "application/json": components["schemas"]["ErrorResponse"];
5752
- };
5753
- };
5754
- /** @description Another org verified this domain (race condition) */
5755
- 409: {
5756
- headers: {
5757
- [name: string]: unknown;
5758
- };
5759
- content: {
5760
- "application/json": components["schemas"]["ErrorResponse"];
5120
+ "application/json": components["schemas"]["VerifyDomainResponse"];
5761
5121
  };
5762
5122
  };
5763
5123
  };
@@ -5766,49 +5126,17 @@ export interface operations {
5766
5126
  parameters: {
5767
5127
  query?: never;
5768
5128
  header?: never;
5769
- path: {
5770
- /** @description Domain claim ID */
5771
- id: string;
5772
- };
5129
+ path?: never;
5773
5130
  cookie?: never;
5774
5131
  };
5775
5132
  requestBody?: never;
5776
5133
  responses: {
5777
- /** @description Domain claim revoked */
5134
+ /** @description Domain deleted */
5778
5135
  200: {
5779
5136
  headers: {
5780
5137
  [name: string]: unknown;
5781
5138
  };
5782
- content: {
5783
- "application/json": components["schemas"]["RevokeDomainResponse"];
5784
- };
5785
- };
5786
- /** @description Domain already revoked */
5787
- 400: {
5788
- headers: {
5789
- [name: string]: unknown;
5790
- };
5791
- content: {
5792
- "application/json": components["schemas"]["ErrorResponse"];
5793
- };
5794
- };
5795
- /** @description No org.claim_domain capability */
5796
- 403: {
5797
- headers: {
5798
- [name: string]: unknown;
5799
- };
5800
- content: {
5801
- "application/json": components["schemas"]["ErrorResponse"];
5802
- };
5803
- };
5804
- /** @description Domain not found */
5805
- 404: {
5806
- headers: {
5807
- [name: string]: unknown;
5808
- };
5809
- content: {
5810
- "application/json": components["schemas"]["ErrorResponse"];
5811
- };
5139
+ content?: never;
5812
5140
  };
5813
5141
  };
5814
5142
  };
@@ -6024,10 +5352,7 @@ export interface operations {
6024
5352
  parameters: {
6025
5353
  query?: never;
6026
5354
  header?: never;
6027
- path: {
6028
- /** @description Organization ID */
6029
- orgId: string;
6030
- };
5355
+ path?: never;
6031
5356
  cookie?: never;
6032
5357
  };
6033
5358
  requestBody?: never;
@@ -6038,25 +5363,7 @@ export interface operations {
6038
5363
  [name: string]: unknown;
6039
5364
  };
6040
5365
  content: {
6041
- "application/json": {
6042
- planName: string;
6043
- /** @enum {string} */
6044
- planStatus: "active" | "trialing" | "past_due" | "canceled";
6045
- billingCadence: string;
6046
- seatCount: number;
6047
- seatLimit: number;
6048
- /** Format: uuid */
6049
- billingOwnerUserId: string;
6050
- };
6051
- };
6052
- };
6053
- /** @description Not an org owner */
6054
- 403: {
6055
- headers: {
6056
- [name: string]: unknown;
6057
- };
6058
- content: {
6059
- "application/json": components["schemas"]["ErrorResponse"];
5366
+ "application/json": components["schemas"]["OrgBillingResponse"];
6060
5367
  };
6061
5368
  };
6062
5369
  };