@thinkai/tai-api-contract 2.33.1-pr.731.6 → 2.34.0-pr.731.476e4025
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/openapi.d.ts +325 -9
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +433 -18
- package/package.json +1 -1
- package/src/generated/openapi.ts +325 -9
|
@@ -1194,7 +1194,7 @@ export interface paths {
|
|
|
1194
1194
|
};
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Workspace activity log (paginated)
|
|
1197
|
-
* @description Paginated, chronological feed of workspace-scoped lifecycle events: repository add/remove/re-add and GitHub integration add/remove. Inactive repos remain visible in this log. Filter by `eventType`, `actorUserId`, or date range (`since`/`until`).
|
|
1197
|
+
* @description Paginated, chronological feed of workspace-scoped lifecycle events: repository add/remove/re-add and GitHub integration add/remove. Inactive repos remain visible in this log. Filter by a single `eventType`, a coarse `eventCategory`/`productArea`, an `eventSubcategory` (a dotted event-type prefix that matches a whole lifecycle subgroup in one call, e.g. `integrations.cursor.execution_key`), `actorUserId`, or date range (`since`/`until`).
|
|
1198
1198
|
*/
|
|
1199
1199
|
get: operations["listWorkspaceActivity"];
|
|
1200
1200
|
put?: never;
|
|
@@ -1205,6 +1205,26 @@ export interface paths {
|
|
|
1205
1205
|
patch?: never;
|
|
1206
1206
|
trace?: never;
|
|
1207
1207
|
};
|
|
1208
|
+
"/workspaces/{workspaceId}/activity/export": {
|
|
1209
|
+
parameters: {
|
|
1210
|
+
query?: never;
|
|
1211
|
+
header?: never;
|
|
1212
|
+
path?: never;
|
|
1213
|
+
cookie?: never;
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* Export workspace activity log as CSV
|
|
1217
|
+
* @description Export the workspace activity log as an RFC 4180 CSV file (one row per event). Accepts the same filters as `GET /workspaces/{workspaceId}/activity` (`eventType`, `eventCategory`, `eventSubcategory`, `productArea`, `actorUserId`, `since`, `until`, `search`, `sort`, `order`); `limit`/`offset` are ignored — the export returns up to 50000 matching rows within the sort. Columns: occurredAt, eventType, eventCategory, actorType, actorName, actorEmail, actorUserId, repoName, repoId, integrationType, integrationId, fixRequestId, issueId, readinessRunId, metadata. The response sets `Content-Disposition: attachment` with a `.csv` filename.
|
|
1218
|
+
*/
|
|
1219
|
+
get: operations["exportWorkspaceActivity"];
|
|
1220
|
+
put?: never;
|
|
1221
|
+
post?: never;
|
|
1222
|
+
delete?: never;
|
|
1223
|
+
options?: never;
|
|
1224
|
+
head?: never;
|
|
1225
|
+
patch?: never;
|
|
1226
|
+
trace?: never;
|
|
1227
|
+
};
|
|
1208
1228
|
"/workspaces/{workspaceId}/readiness/score-history": {
|
|
1209
1229
|
parameters: {
|
|
1210
1230
|
query?: never;
|
|
@@ -1573,6 +1593,26 @@ export interface paths {
|
|
|
1573
1593
|
patch?: never;
|
|
1574
1594
|
trace?: never;
|
|
1575
1595
|
};
|
|
1596
|
+
"/workspaces/{workspaceId}/repo-eligibility/refresh-languages": {
|
|
1597
|
+
parameters: {
|
|
1598
|
+
query?: never;
|
|
1599
|
+
header?: never;
|
|
1600
|
+
path?: never;
|
|
1601
|
+
cookie?: never;
|
|
1602
|
+
};
|
|
1603
|
+
get?: never;
|
|
1604
|
+
put?: never;
|
|
1605
|
+
/**
|
|
1606
|
+
* Force a language/stack re-detection on the next sync
|
|
1607
|
+
* @description Admin maintenance action: invalidate the cached language/stack freshness marker so the next GitHub repo sync re-fetches `GET /repos/{owner}/{repo}/languages` and recomputes the per-language breakdown and supported stacks. Use after adding a newly-supported language to a repo, or when a repo's stack detection looks stale. Optionally scope to a single repo via `repoSlug` (`owner/name`); omit it to reset every repo in the workspace. Requires workspace admin or platform admin. The refresh itself happens on the next sync (e.g. when the GitHub repo list is loaded with `refresh=true`); the readiness scan also refreshes the breakdown on each successful run.
|
|
1608
|
+
*/
|
|
1609
|
+
post: operations["refreshWorkspaceRepoLanguages"];
|
|
1610
|
+
delete?: never;
|
|
1611
|
+
options?: never;
|
|
1612
|
+
head?: never;
|
|
1613
|
+
patch?: never;
|
|
1614
|
+
trace?: never;
|
|
1615
|
+
};
|
|
1576
1616
|
"/workspaces/{workspaceId}/readiness/cursor-key-usage": {
|
|
1577
1617
|
parameters: {
|
|
1578
1618
|
query?: never;
|
|
@@ -1753,6 +1793,24 @@ export interface paths {
|
|
|
1753
1793
|
patch?: never;
|
|
1754
1794
|
trace?: never;
|
|
1755
1795
|
};
|
|
1796
|
+
"/me/consent": {
|
|
1797
|
+
parameters: {
|
|
1798
|
+
query?: never;
|
|
1799
|
+
header?: never;
|
|
1800
|
+
path?: never;
|
|
1801
|
+
cookie?: never;
|
|
1802
|
+
};
|
|
1803
|
+
/** Get cookie/storage consent for current user */
|
|
1804
|
+
get: operations["getMyConsent"];
|
|
1805
|
+
/** Upsert cookie/storage consent */
|
|
1806
|
+
put: operations["putMyConsent"];
|
|
1807
|
+
post?: never;
|
|
1808
|
+
delete?: never;
|
|
1809
|
+
options?: never;
|
|
1810
|
+
head?: never;
|
|
1811
|
+
patch?: never;
|
|
1812
|
+
trace?: never;
|
|
1813
|
+
};
|
|
1756
1814
|
"/workspaces/{workspaceId}/org-chart/import": {
|
|
1757
1815
|
parameters: {
|
|
1758
1816
|
query?: never;
|
|
@@ -2790,21 +2848,37 @@ export interface components {
|
|
|
2790
2848
|
disabled?: boolean | null;
|
|
2791
2849
|
/** @description Repository size in KB as reported by GitHub. */
|
|
2792
2850
|
size?: number | null;
|
|
2793
|
-
/** @description
|
|
2851
|
+
/** @description Hard structural reasons this repo cannot be analyzed (archived, disabled, too-large, workspace repo cap). Each entry is a human-readable explanation (e.g. "This repo is archived"). Empty or absent means no hard block. Forks and unsupported-language repos are NOT listed here — they are advisory `warnings` (#729) and remain analyzable. */
|
|
2794
2852
|
ineligibleReasons?: string[] | null;
|
|
2853
|
+
/** @description Non-blocking advisories shown alongside an otherwise-analyzable repo (#729). Includes forks ("results reflect the forked code") and repos with no v1-supported stack, where the message embeds the GitHub language mix in percent. Absent/empty when there are no warnings. Unlike `ineligibleReasons`, warnings do NOT disable analyze/score/fix actions. */
|
|
2854
|
+
warnings?: string[] | null;
|
|
2795
2855
|
/**
|
|
2796
|
-
* @description
|
|
2856
|
+
* @description Whether the repo can be analyzed (issue #44/#729). `ineligible` only for HARD structural gates (archived, disabled, too-large, workspace repo cap) — such repos render read-only in the AF list. A repo with no supported stack or that is a fork is `eligible` and carries a non-blocking `warnings` entry instead of being blocked.
|
|
2797
2857
|
* @enum {string|null}
|
|
2798
2858
|
*/
|
|
2799
2859
|
eligibilityStatus?: "eligible" | "ineligible" | null;
|
|
2800
|
-
/** @description Human-readable explanation when `eligibilityStatus` is `ineligible` (e.g. "This
|
|
2860
|
+
/** @description Human-readable explanation when `eligibilityStatus` is `ineligible` (e.g. "This repo is archived"). For advisory language/fork notices see `warnings`, not this field. */
|
|
2801
2861
|
eligibilityReason?: string | null;
|
|
2802
|
-
/** @description Dominant supported stack (by GitHub language bytes), one of backend_jvm | ios_app | web_spa | backend_go | backend_python. Null
|
|
2862
|
+
/** @description Dominant supported stack (by GitHub language bytes), one of backend_jvm | ios_app | web_spa | backend_go | backend_python. Null when no supported stack was detected. */
|
|
2803
2863
|
primaryStack?: string | null;
|
|
2804
2864
|
/** @description Second supported stack for a multi-stack repo, or null. */
|
|
2805
2865
|
secondaryStack?: string | null;
|
|
2806
2866
|
/** @description All supported stacks detected for the repo (ordered, primary first). Empty/null when no supported stack is present. Drives multi-stack scanning and the orange mixed-monorepo box in the AF UI. */
|
|
2807
2867
|
supportedStacks?: string[] | null;
|
|
2868
|
+
/** @description Per-language share of the repo from GitHub's `GET /repos/{owner}/{repo}/languages` byte counts, ordered by share descending (#729). Powers the "language mix" shown in the unsupported-stack warning. Absent/null until the repo has been synced with a language resolver. */
|
|
2869
|
+
languageBreakdown?: {
|
|
2870
|
+
/** @description GitHub language name (e.g. "TypeScript", "Go"). */
|
|
2871
|
+
language: string;
|
|
2872
|
+
/**
|
|
2873
|
+
* Format: float
|
|
2874
|
+
* @description Share of total language bytes, one decimal place (e.g. 64.2).
|
|
2875
|
+
*/
|
|
2876
|
+
percent: number;
|
|
2877
|
+
/** @description True when this language maps to a v1-supported stack; false when the language is not supported. Lets the UI flag exactly which languages are not (fully) supported in a mixed/monorepo. */
|
|
2878
|
+
supported: boolean;
|
|
2879
|
+
/** @description The supported stack this language maps to (backend_jvm | ios_app | web_spa | backend_go | backend_python), or null when the language is unsupported. */
|
|
2880
|
+
stack?: string | null;
|
|
2881
|
+
}[] | null;
|
|
2808
2882
|
};
|
|
2809
2883
|
/** @description Resolved repo-sync eligibility gate (defaults or effective). All fields present. */
|
|
2810
2884
|
RepoEligibilityConfigDto: {
|
|
@@ -2831,6 +2905,19 @@ export interface components {
|
|
|
2831
2905
|
/** @description True when the caller is a platform admin (may set any value, incl. raising caps). */
|
|
2832
2906
|
canEditUnrestricted: boolean;
|
|
2833
2907
|
};
|
|
2908
|
+
/** @description Effective repo-eligibility limits applied to the GitHub repo list, plus the current count of eligible repos. Lets the UI render per-repo "size / limit" (compare each repo's `size` in `GithubInstalledRepoDto` to `maxRepoSizeKb`) and workspace "N / cap" usage (`eligibleRepoCount` / `maxReposPerWorkspace`). */
|
|
2909
|
+
RepoEligibilityLimitsDto: {
|
|
2910
|
+
/** @description Per-repo size cap in KB (GitHub-reported). 0 = no limit. */
|
|
2911
|
+
maxRepoSizeKb: number;
|
|
2912
|
+
/** @description Max repos that can be eligible per workspace. 0 = no limit. */
|
|
2913
|
+
maxReposPerWorkspace: number;
|
|
2914
|
+
/** @description Whether archived repos are treated as a hard block. */
|
|
2915
|
+
excludeArchived: boolean;
|
|
2916
|
+
/** @description Whether forked repos are excluded by the sync gate (forks are a warning, not a block). */
|
|
2917
|
+
excludeForks: boolean;
|
|
2918
|
+
/** @description Repos currently counting as eligible (eligibilityStatus != "ineligible"), i.e. those that count toward `maxReposPerWorkspace`. */
|
|
2919
|
+
eligibleRepoCount: number;
|
|
2920
|
+
};
|
|
2834
2921
|
GithubMissingPermissionDto: {
|
|
2835
2922
|
/** @description GitHub App permission key (e.g. contents, pull_requests). */
|
|
2836
2923
|
name: string;
|
|
@@ -2918,6 +3005,8 @@ export interface components {
|
|
|
2918
3005
|
account?: components["schemas"]["GithubAccountDto"] | null;
|
|
2919
3006
|
/** @description Paginated merged installation repositories when `installed` is true. */
|
|
2920
3007
|
repos?: components["schemas"]["GithubInstalledRepoListDto"] | null;
|
|
3008
|
+
/** @description Effective size/count limits and current eligible-repo usage for the repo list. Present when `installed` is true. Pair with each repo's `size` and `eligibilityStatus` to show "size / limit" and "N / cap" in the UI. */
|
|
3009
|
+
eligibilityLimits?: components["schemas"]["RepoEligibilityLimitsDto"] | null;
|
|
2921
3010
|
/**
|
|
2922
3011
|
* Format: uri
|
|
2923
3012
|
* @description User accounts: github.com/settings/installations/<id>. Organizations: github.com/organizations/<login>/settings/installations/<id>.
|
|
@@ -3323,18 +3412,28 @@ export interface components {
|
|
|
3323
3412
|
*/
|
|
3324
3413
|
archivedReason?: "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | null;
|
|
3325
3414
|
/**
|
|
3326
|
-
* @description
|
|
3415
|
+
* @description Whether the repo can be analyzed (#44/#729). Language support no longer makes a repo `ineligible` — a missing v1-supported stack is surfaced via `warnings` and the repo stays analyzable. Null until the first sync/scan computes it.
|
|
3327
3416
|
* @enum {string|null}
|
|
3328
3417
|
*/
|
|
3329
3418
|
eligibilityStatus?: "eligible" | "ineligible" | null;
|
|
3330
|
-
/** @description Human-readable explanation when `eligibilityStatus` is `ineligible`. */
|
|
3419
|
+
/** @description Human-readable explanation when `eligibilityStatus` is `ineligible`. For advisory language notices see `warnings`. */
|
|
3331
3420
|
eligibilityReason?: string | null;
|
|
3332
|
-
/** @description
|
|
3421
|
+
/** @description Non-blocking advisories for an analyzable repo (#729): no v1-supported stack (with the language mix), and hard-limit run outcomes (code size / file count exceeded) carried from the last run. Absent/empty when there are no warnings. */
|
|
3422
|
+
warnings?: string[] | null;
|
|
3423
|
+
/** @description Dominant supported stack — backend_jvm | ios_app | web_spa | backend_go | backend_python. Null when no supported stack/uncomputed. */
|
|
3333
3424
|
primaryStack?: string | null;
|
|
3334
3425
|
/** @description Second supported stack for a multi-stack repo, or null. */
|
|
3335
3426
|
secondaryStack?: string | null;
|
|
3336
3427
|
/** @description All supported stacks detected (ordered, primary first). Empty/null when none. */
|
|
3337
3428
|
supportedStacks?: string[] | null;
|
|
3429
|
+
/** @description Per-language share from GitHub languages (#729), ordered by share descending. Each entry has `supported`/`stack` so the UI can tag which languages are (not) supported. Absent until the repo has been synced with a language resolver. */
|
|
3430
|
+
languageBreakdown?: {
|
|
3431
|
+
language: string;
|
|
3432
|
+
/** Format: float */
|
|
3433
|
+
percent: number;
|
|
3434
|
+
supported: boolean;
|
|
3435
|
+
stack?: string | null;
|
|
3436
|
+
}[] | null;
|
|
3338
3437
|
};
|
|
3339
3438
|
/** @description Single-repo detail response. Identical to RepoReadinessScoreDto except dimensions use DimensionScoreDetailDto (criteriaDetails required per dimension). */
|
|
3340
3439
|
RepoReadinessScoreDetailDto: {
|
|
@@ -3362,6 +3461,25 @@ export interface components {
|
|
|
3362
3461
|
archivedAt?: string | null;
|
|
3363
3462
|
/** @enum {string|null} */
|
|
3364
3463
|
archivedReason?: "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | null;
|
|
3464
|
+
/**
|
|
3465
|
+
* @description See RepoReadinessScoreDto.eligibilityStatus. Language support is advisory (#729) and surfaced via `warnings`.
|
|
3466
|
+
* @enum {string|null}
|
|
3467
|
+
*/
|
|
3468
|
+
eligibilityStatus?: "eligible" | "ineligible" | null;
|
|
3469
|
+
eligibilityReason?: string | null;
|
|
3470
|
+
/** @description Non-blocking advisories (no v1-supported stack, hard-limit run outcomes). See RepoReadinessScoreDto.warnings. */
|
|
3471
|
+
warnings?: string[] | null;
|
|
3472
|
+
primaryStack?: string | null;
|
|
3473
|
+
secondaryStack?: string | null;
|
|
3474
|
+
supportedStacks?: string[] | null;
|
|
3475
|
+
/** @description Per-language share with `supported`/`stack` tags. See RepoReadinessScoreDto.languageBreakdown. */
|
|
3476
|
+
languageBreakdown?: {
|
|
3477
|
+
language: string;
|
|
3478
|
+
/** Format: float */
|
|
3479
|
+
percent: number;
|
|
3480
|
+
supported: boolean;
|
|
3481
|
+
stack?: string | null;
|
|
3482
|
+
}[] | null;
|
|
3365
3483
|
};
|
|
3366
3484
|
AgenticFoundationDashboardSummaryDto: {
|
|
3367
3485
|
repoCount: number;
|
|
@@ -3661,6 +3779,34 @@ export interface components {
|
|
|
3661
3779
|
/** @description Temporary backward-compatibility alias (e.g. "Invalid timezone"). */
|
|
3662
3780
|
legacyError?: string | null;
|
|
3663
3781
|
};
|
|
3782
|
+
ConsentCategoriesDto: {
|
|
3783
|
+
/** @description Functional storage (preferences, onboarding, UI state). */
|
|
3784
|
+
functional: boolean;
|
|
3785
|
+
/** @description Analytics and product telemetry in the browser. */
|
|
3786
|
+
analytics: boolean;
|
|
3787
|
+
/** @description Advertising and remarketing tags. */
|
|
3788
|
+
marketing: boolean;
|
|
3789
|
+
};
|
|
3790
|
+
PutConsentBodyDto: {
|
|
3791
|
+
/** @description Cookie policy version the user consented to. */
|
|
3792
|
+
policyVersion: string;
|
|
3793
|
+
categories: components["schemas"]["ConsentCategoriesDto"];
|
|
3794
|
+
};
|
|
3795
|
+
ConsentRecordDto: {
|
|
3796
|
+
policyVersion: string;
|
|
3797
|
+
categories: components["schemas"]["ConsentCategoriesDto"];
|
|
3798
|
+
/**
|
|
3799
|
+
* Format: date-time
|
|
3800
|
+
* @description When consent was last recorded (UTC).
|
|
3801
|
+
*/
|
|
3802
|
+
recordedAt: string;
|
|
3803
|
+
};
|
|
3804
|
+
ConsentValidationErrorDto: {
|
|
3805
|
+
/** @enum {string} */
|
|
3806
|
+
error: "ValidationError";
|
|
3807
|
+
issues: components["schemas"]["ValidationIssueDto"][];
|
|
3808
|
+
legacyError?: string | null;
|
|
3809
|
+
};
|
|
3664
3810
|
OrgChartImportBodyDto: {
|
|
3665
3811
|
/** @description Path in `org-charts` bucket after Supabase upload */
|
|
3666
3812
|
storagePath: string;
|
|
@@ -3796,7 +3942,7 @@ export interface components {
|
|
|
3796
3942
|
* @description Type of workspace lifecycle event.
|
|
3797
3943
|
* @enum {string}
|
|
3798
3944
|
*/
|
|
3799
|
-
ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.repo_added" | "integration.github.repo_removed" | "fix.requested" | "fix.generating" | "fix.pr_created" | "fix.merged" | "fix.failed" | "readiness.scan_started" | "readiness.scan_completed" | "readiness.scan_failed" | "readiness.scan_partial" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.cursor.platform_key_enabled" | "integrations.cursor.platform_key_disabled" | "member.invited" | "member.role_changed" | "member.removed" | "repo.sync_skipped" | "integrations.cursor.execution_key.added" | "integrations.cursor.execution_key.updated" | "integrations.cursor.execution_key.removed" | "integrations.cursor.execution_key.check_failed" | "integrations.cursor.admin_key.added" | "integrations.cursor.admin_key.updated" | "integrations.cursor.admin_key.removed" | "integrations.claude.execution_key.added" | "integrations.claude.execution_key.updated" | "integrations.claude.execution_key.removed" | "integrations.claude.execution_key.check_failed" | "integrations.claude.admin_key.added" | "integrations.claude.admin_key.updated" | "integrations.claude.admin_key.removed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped";
|
|
3945
|
+
ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.repo_added" | "integration.github.repo_removed" | "fix.requested" | "fix.generating" | "fix.pr_created" | "fix.merged" | "fix.failed" | "readiness.scan_started" | "readiness.scan_completed" | "readiness.scan_failed" | "readiness.scan_partial" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.repo_eligibility.languages_refresh_requested" | "integrations.cursor.platform_key_enabled" | "integrations.cursor.platform_key_disabled" | "member.invited" | "member.role_changed" | "member.removed" | "repo.sync_skipped" | "integrations.cursor.execution_key.added" | "integrations.cursor.execution_key.updated" | "integrations.cursor.execution_key.removed" | "integrations.cursor.execution_key.check_failed" | "integrations.cursor.admin_key.added" | "integrations.cursor.admin_key.updated" | "integrations.cursor.admin_key.removed" | "integrations.claude.execution_key.added" | "integrations.claude.execution_key.updated" | "integrations.claude.execution_key.removed" | "integrations.claude.execution_key.check_failed" | "integrations.claude.admin_key.added" | "integrations.claude.admin_key.updated" | "integrations.claude.admin_key.removed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped";
|
|
3800
3946
|
ActivityLogActorDto: {
|
|
3801
3947
|
/** Format: uuid */
|
|
3802
3948
|
userId: string;
|
|
@@ -4170,6 +4316,7 @@ export type GithubInstalledRepoDto = components['schemas']['GithubInstalledRepoD
|
|
|
4170
4316
|
export type RepoEligibilityConfigDto = components['schemas']['RepoEligibilityConfigDto'];
|
|
4171
4317
|
export type RepoEligibilityOverridesDto = components['schemas']['RepoEligibilityOverridesDto'];
|
|
4172
4318
|
export type WorkspaceRepoEligibilityDto = components['schemas']['WorkspaceRepoEligibilityDto'];
|
|
4319
|
+
export type RepoEligibilityLimitsDto = components['schemas']['RepoEligibilityLimitsDto'];
|
|
4173
4320
|
export type GithubMissingPermissionDto = components['schemas']['GithubMissingPermissionDto'];
|
|
4174
4321
|
export type GithubInstallationSummaryDto = components['schemas']['GithubInstallationSummaryDto'];
|
|
4175
4322
|
export type GithubPendingApprovalDto = components['schemas']['GithubPendingApprovalDto'];
|
|
@@ -4260,6 +4407,10 @@ export type NotificationPreferencesDto = components['schemas']['NotificationPref
|
|
|
4260
4407
|
export type PreferencesDto = components['schemas']['PreferencesDto'];
|
|
4261
4408
|
export type ValidationIssueDto = components['schemas']['ValidationIssueDto'];
|
|
4262
4409
|
export type PreferencesValidationErrorDto = components['schemas']['PreferencesValidationErrorDto'];
|
|
4410
|
+
export type ConsentCategoriesDto = components['schemas']['ConsentCategoriesDto'];
|
|
4411
|
+
export type PutConsentBodyDto = components['schemas']['PutConsentBodyDto'];
|
|
4412
|
+
export type ConsentRecordDto = components['schemas']['ConsentRecordDto'];
|
|
4413
|
+
export type ConsentValidationErrorDto = components['schemas']['ConsentValidationErrorDto'];
|
|
4263
4414
|
export type OrgChartImportBodyDto = components['schemas']['OrgChartImportBodyDto'];
|
|
4264
4415
|
export type YourAiJourneyPrSignalsWeekDto = components['schemas']['YourAiJourneyPrSignalsWeekDto'];
|
|
4265
4416
|
export type YourAiJourneyPrSignalsDto = components['schemas']['YourAiJourneyPrSignalsDto'];
|
|
@@ -7369,6 +7520,8 @@ export interface operations {
|
|
|
7369
7520
|
until?: string;
|
|
7370
7521
|
/** @description Filter by event namespace prefix (e.g. "fix", "repo", "integration", "readiness", "config", "member"). */
|
|
7371
7522
|
eventCategory?: string;
|
|
7523
|
+
/** @description Filter by a dotted event-type *subgroup* (#156): a strict prefix of an event type with two or more segments, matching every lifecycle event under it in a single call. Finer than `eventCategory` (first segment only). Example: `integrations.cursor.execution_key` returns `integrations.cursor.execution_key.added`, `.updated`, `.removed`, and `.check_failed`; `integrations.cursor` returns all Cursor key events; `integration.github` returns all GitHub integration events. Must be one of the known subcategories or the request is rejected (400). */
|
|
7524
|
+
eventSubcategory?: string;
|
|
7372
7525
|
/** @description Case-insensitive substring filter applied across repo name, integration type, actor email, and actor display name. */
|
|
7373
7526
|
search?: string;
|
|
7374
7527
|
};
|
|
@@ -7411,6 +7564,61 @@ export interface operations {
|
|
|
7411
7564
|
};
|
|
7412
7565
|
};
|
|
7413
7566
|
};
|
|
7567
|
+
exportWorkspaceActivity: {
|
|
7568
|
+
parameters: {
|
|
7569
|
+
query?: {
|
|
7570
|
+
sort?: "when" | "who" | "what" | "why" | "where";
|
|
7571
|
+
/** @description Sort direction. */
|
|
7572
|
+
order?: components["parameters"]["PaginationOrder"];
|
|
7573
|
+
productArea?: "integration" | "agentic_foundation" | "workspace_team" | "productivity" | "all";
|
|
7574
|
+
eventType?: components["schemas"]["ActivityLogEventTypeDto"];
|
|
7575
|
+
eventCategory?: string;
|
|
7576
|
+
/** @description Dotted event-type subgroup prefix (see the activity list endpoint). */
|
|
7577
|
+
eventSubcategory?: string;
|
|
7578
|
+
actorUserId?: string;
|
|
7579
|
+
since?: string;
|
|
7580
|
+
until?: string;
|
|
7581
|
+
search?: string;
|
|
7582
|
+
};
|
|
7583
|
+
header?: never;
|
|
7584
|
+
path: {
|
|
7585
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
7586
|
+
};
|
|
7587
|
+
cookie?: never;
|
|
7588
|
+
};
|
|
7589
|
+
requestBody?: never;
|
|
7590
|
+
responses: {
|
|
7591
|
+
/** @description CSV file of activity log entries */
|
|
7592
|
+
200: {
|
|
7593
|
+
headers: {
|
|
7594
|
+
[name: string]: unknown;
|
|
7595
|
+
};
|
|
7596
|
+
content: {
|
|
7597
|
+
"text/csv": string;
|
|
7598
|
+
};
|
|
7599
|
+
};
|
|
7600
|
+
/** @description Invalid query parameters */
|
|
7601
|
+
400: {
|
|
7602
|
+
headers: {
|
|
7603
|
+
[name: string]: unknown;
|
|
7604
|
+
};
|
|
7605
|
+
content: {
|
|
7606
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
7607
|
+
};
|
|
7608
|
+
};
|
|
7609
|
+
401: components["responses"]["Unauthorized"];
|
|
7610
|
+
403: components["responses"]["Forbidden"];
|
|
7611
|
+
/** @description Workspace does not exist */
|
|
7612
|
+
404: {
|
|
7613
|
+
headers: {
|
|
7614
|
+
[name: string]: unknown;
|
|
7615
|
+
};
|
|
7616
|
+
content: {
|
|
7617
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
7618
|
+
};
|
|
7619
|
+
};
|
|
7620
|
+
};
|
|
7621
|
+
};
|
|
7414
7622
|
getReadinessScoreHistory: {
|
|
7415
7623
|
parameters: {
|
|
7416
7624
|
query?: {
|
|
@@ -8376,6 +8584,50 @@ export interface operations {
|
|
|
8376
8584
|
};
|
|
8377
8585
|
};
|
|
8378
8586
|
};
|
|
8587
|
+
refreshWorkspaceRepoLanguages: {
|
|
8588
|
+
parameters: {
|
|
8589
|
+
query?: never;
|
|
8590
|
+
header?: never;
|
|
8591
|
+
path: {
|
|
8592
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
8593
|
+
};
|
|
8594
|
+
cookie?: never;
|
|
8595
|
+
};
|
|
8596
|
+
requestBody?: {
|
|
8597
|
+
content: {
|
|
8598
|
+
"application/json": {
|
|
8599
|
+
/** @description Optional `owner/name` to scope the refresh to a single repo. Omit to reset all repos. */
|
|
8600
|
+
repoSlug?: string;
|
|
8601
|
+
};
|
|
8602
|
+
};
|
|
8603
|
+
};
|
|
8604
|
+
responses: {
|
|
8605
|
+
/** @description Freshness invalidated; languages will be re-detected on the next sync. */
|
|
8606
|
+
200: {
|
|
8607
|
+
headers: {
|
|
8608
|
+
[name: string]: unknown;
|
|
8609
|
+
};
|
|
8610
|
+
content: {
|
|
8611
|
+
"application/json": {
|
|
8612
|
+
ok: boolean;
|
|
8613
|
+
/** @description Number of repo rows whose language/stack cache was invalidated. */
|
|
8614
|
+
reposReset: number;
|
|
8615
|
+
};
|
|
8616
|
+
};
|
|
8617
|
+
};
|
|
8618
|
+
/** @description Invalid request body */
|
|
8619
|
+
400: {
|
|
8620
|
+
headers: {
|
|
8621
|
+
[name: string]: unknown;
|
|
8622
|
+
};
|
|
8623
|
+
content: {
|
|
8624
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
8625
|
+
};
|
|
8626
|
+
};
|
|
8627
|
+
401: components["responses"]["Unauthorized"];
|
|
8628
|
+
403: components["responses"]["Forbidden"];
|
|
8629
|
+
};
|
|
8630
|
+
};
|
|
8379
8631
|
getCursorKeyUsage: {
|
|
8380
8632
|
parameters: {
|
|
8381
8633
|
query?: never;
|
|
@@ -8765,6 +9017,70 @@ export interface operations {
|
|
|
8765
9017
|
401: components["responses"]["Unauthorized"];
|
|
8766
9018
|
};
|
|
8767
9019
|
};
|
|
9020
|
+
getMyConsent: {
|
|
9021
|
+
parameters: {
|
|
9022
|
+
query?: never;
|
|
9023
|
+
header?: never;
|
|
9024
|
+
path?: never;
|
|
9025
|
+
cookie?: never;
|
|
9026
|
+
};
|
|
9027
|
+
requestBody?: never;
|
|
9028
|
+
responses: {
|
|
9029
|
+
/** @description Consent record */
|
|
9030
|
+
200: {
|
|
9031
|
+
headers: {
|
|
9032
|
+
[name: string]: unknown;
|
|
9033
|
+
};
|
|
9034
|
+
content: {
|
|
9035
|
+
"application/json": components["schemas"]["ConsentRecordDto"];
|
|
9036
|
+
};
|
|
9037
|
+
};
|
|
9038
|
+
401: components["responses"]["Unauthorized"];
|
|
9039
|
+
/** @description No consent record stored yet */
|
|
9040
|
+
404: {
|
|
9041
|
+
headers: {
|
|
9042
|
+
[name: string]: unknown;
|
|
9043
|
+
};
|
|
9044
|
+
content: {
|
|
9045
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
9046
|
+
};
|
|
9047
|
+
};
|
|
9048
|
+
};
|
|
9049
|
+
};
|
|
9050
|
+
putMyConsent: {
|
|
9051
|
+
parameters: {
|
|
9052
|
+
query?: never;
|
|
9053
|
+
header?: never;
|
|
9054
|
+
path?: never;
|
|
9055
|
+
cookie?: never;
|
|
9056
|
+
};
|
|
9057
|
+
requestBody: {
|
|
9058
|
+
content: {
|
|
9059
|
+
"application/json": components["schemas"]["PutConsentBodyDto"];
|
|
9060
|
+
};
|
|
9061
|
+
};
|
|
9062
|
+
responses: {
|
|
9063
|
+
/** @description Saved consent record */
|
|
9064
|
+
200: {
|
|
9065
|
+
headers: {
|
|
9066
|
+
[name: string]: unknown;
|
|
9067
|
+
};
|
|
9068
|
+
content: {
|
|
9069
|
+
"application/json": components["schemas"]["ConsentRecordDto"];
|
|
9070
|
+
};
|
|
9071
|
+
};
|
|
9072
|
+
/** @description Validation failed */
|
|
9073
|
+
400: {
|
|
9074
|
+
headers: {
|
|
9075
|
+
[name: string]: unknown;
|
|
9076
|
+
};
|
|
9077
|
+
content: {
|
|
9078
|
+
"application/json": components["schemas"]["ConsentValidationErrorDto"];
|
|
9079
|
+
};
|
|
9080
|
+
};
|
|
9081
|
+
401: components["responses"]["Unauthorized"];
|
|
9082
|
+
};
|
|
9083
|
+
};
|
|
8768
9084
|
postOrgChartImport: {
|
|
8769
9085
|
parameters: {
|
|
8770
9086
|
query?: never;
|