@thinkai/tai-api-contract 2.209.1 → 2.210.1
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 +269 -14
- package/dist/generated/openapi.d.ts.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/openapi/openapi.yaml +393 -11
- package/package.json +1 -1
- package/src/generated/openapi.ts +269 -14
- package/src/index.ts +7 -3
|
@@ -1048,7 +1048,7 @@ export interface paths {
|
|
|
1048
1048
|
/**
|
|
1049
1049
|
* Test one source connection (does not persist)
|
|
1050
1050
|
* @description Verify a source's credentials without persisting them. Always returns 200 — upstream auth, rate-limit, and network failures surface as `{ success: false, error }` so the SPA can render an inline error.
|
|
1051
|
-
* Registered AI tools are verified end-to-end: `cursor` (Admin API key in `token` and/or execution key in `executionToken`; at least one must be present). Execution-only tests validate the key against the Cloud Agents API (`GET /v1/me`, with `GET /v1/models` fallback for service accounts) and return `executionKeyValid` / `executionKeyError` without calling the Admin API on `token`. Malformed cursor entries return `400` with `code: invalid_source_entry`. `claude` (Anthropic Admin API at `https://api.anthropic.com`, `X-Api-Key` with an organization Admin API key `sk-ant-admin...`). `sonarqube` (`baseUrl`, `token`, `projectKey` required; optional `branch`) calls `GET {baseUrl}/api/measures/component` with a Bearer token. Other types report `{ success: false, error: "unsupported_type" }`. Documented `error` codes for AI tool verifiers: `invalid_token`, `rate_limited`, `network_error`. `jira` (`baseUrl`, `email`, `apiToken` or legacy `api_key`) calls `GET {baseUrl}/rest/api/3/myself` with Basic auth.
|
|
1051
|
+
* Registered AI tools are verified end-to-end: `cursor` (Admin API key in `token` and/or execution key in `executionToken`; at least one must be present). Execution-only tests validate the key against the Cloud Agents API (`GET /v1/me`, with `GET /v1/models` fallback for service accounts) and return `executionKeyValid` / `executionKeyError` without calling the Admin API on `token`. Malformed cursor entries return `400` with `code: invalid_source_entry`. `claude` (Anthropic Admin API at `https://api.anthropic.com`, `X-Api-Key` with an organization Admin API key `sk-ant-admin...`). `sonarqube` (`baseUrl`, `token`, `projectKey` required; optional `branch`) calls `GET {baseUrl}/api/measures/component` with a Bearer token. Other types report `{ success: false, error: "unsupported_type" }`. Documented `error` codes for AI tool verifiers: `invalid_token`, `rate_limited`, `network_error`. `jira` (`baseUrl`, `email`, `apiToken` or legacy `api_key`) calls `GET {baseUrl}/rest/api/3/myself` with Basic auth. `linear` (`apiKey`, optional `teamKeys`) queries `viewer` and `organization` on `https://api.linear.app/graphql` with the personal API key in `Authorization`. Success returns `orgName`, `workspaceUrl`, and `userName`. When `teamKeys` is set and none of the keys is visible to the key, the test still succeeds and returns `warning: "No teams matched <keys>"`. `apiKey: "***"` re-tests the stored key (connected-view "Test again"). A bad key returns `{ success: false, error: "Invalid Linear API key." }`.
|
|
1052
1052
|
* **Typical outcomes:** Malformed body, missing `type`, invalid `type`, or missing required fields for the declared type → `400` with `{ error: "..." }`. Well-formed body with bad credentials or unreachable service → `200` with `{ success: false, error: "..." }`.
|
|
1053
1053
|
*/
|
|
1054
1054
|
post: operations["postTenantSourceTest"];
|
|
@@ -1942,6 +1942,26 @@ export interface paths {
|
|
|
1942
1942
|
patch?: never;
|
|
1943
1943
|
trace?: never;
|
|
1944
1944
|
};
|
|
1945
|
+
"/workspaces/{workspaceId}/integrations/github/recent-commit-authors": {
|
|
1946
|
+
parameters: {
|
|
1947
|
+
query?: never;
|
|
1948
|
+
header?: never;
|
|
1949
|
+
path?: never;
|
|
1950
|
+
cookie?: never;
|
|
1951
|
+
};
|
|
1952
|
+
get?: never;
|
|
1953
|
+
put?: never;
|
|
1954
|
+
/**
|
|
1955
|
+
* Default-branch commit authors for the GitHub contribution filter
|
|
1956
|
+
* @description Batched lookup of recent commits on each repository's default branch. Used when the GitHub repository filter excludes bots. A failed or incomplete repository stays `complete: false` so the client keeps the row. Known results are cached by installation, repository id, and window end.
|
|
1957
|
+
*/
|
|
1958
|
+
post: operations["lookupGithubRecentCommitAuthors"];
|
|
1959
|
+
delete?: never;
|
|
1960
|
+
options?: never;
|
|
1961
|
+
head?: never;
|
|
1962
|
+
patch?: never;
|
|
1963
|
+
trace?: never;
|
|
1964
|
+
};
|
|
1945
1965
|
"/workspaces/{workspaceId}/integrations/github": {
|
|
1946
1966
|
parameters: {
|
|
1947
1967
|
query?: never;
|
|
@@ -3265,7 +3285,7 @@ export interface paths {
|
|
|
3265
3285
|
get?: never;
|
|
3266
3286
|
/**
|
|
3267
3287
|
* Update Agentic Foundation repository scope
|
|
3268
|
-
* @description Bulk include/exclude materialized repos from Agentic Foundation by toggling the existing `user_removed` archive state. Excluded repos
|
|
3288
|
+
* @description Bulk include/exclude materialized repos from Agentic Foundation by toggling the existing `user_removed` archive state. Excluded (Inactive) repos stop being scanned and stay integrated for productivity and SDLC ingest, unless `excludeFromIngest` is true (the GitHub repository selection), which leaves them out of ingest too. Including a repo restores both. The GitHub App grant itself is unchanged. Only workspace admins may call this endpoint. Partial failures are reported per repo.
|
|
3269
3289
|
*/
|
|
3270
3290
|
put: operations["putAgenticFoundationRepoScope"];
|
|
3271
3291
|
post?: never;
|
|
@@ -3679,6 +3699,26 @@ export interface paths {
|
|
|
3679
3699
|
patch?: never;
|
|
3680
3700
|
trace?: never;
|
|
3681
3701
|
};
|
|
3702
|
+
"/workspaces/{workspaceId}/agent-execution-providers": {
|
|
3703
|
+
parameters: {
|
|
3704
|
+
query?: never;
|
|
3705
|
+
header?: never;
|
|
3706
|
+
path?: never;
|
|
3707
|
+
cookie?: never;
|
|
3708
|
+
};
|
|
3709
|
+
get?: never;
|
|
3710
|
+
/**
|
|
3711
|
+
* Save the ordered agent execution providers for this workspace
|
|
3712
|
+
* @description Saves the enabled agent execution providers in the order runs try them (#1006). Runs use the first provider; when it errors, is unavailable, or runs out of budget, they use the next one. At least one provider is required. `cursor_user_api_key` and `claude_api_key` need a saved execution key; `thinkai_platform_cursor` implies consent to platform-key billing. The first entry is mirrored into `agentExecutionProvider`. Requires workspace admin role.
|
|
3713
|
+
*/
|
|
3714
|
+
put: operations["putAgentExecutionProviders"];
|
|
3715
|
+
post?: never;
|
|
3716
|
+
delete?: never;
|
|
3717
|
+
options?: never;
|
|
3718
|
+
head?: never;
|
|
3719
|
+
patch?: never;
|
|
3720
|
+
trace?: never;
|
|
3721
|
+
};
|
|
3682
3722
|
"/workspaces/{workspaceId}/code-intelligence": {
|
|
3683
3723
|
parameters: {
|
|
3684
3724
|
query?: never;
|
|
@@ -6430,6 +6470,32 @@ export interface components {
|
|
|
6430
6470
|
/** @description Atlassian account id when known from the last successful verify. */
|
|
6431
6471
|
accountId?: string;
|
|
6432
6472
|
};
|
|
6473
|
+
/** @description Linear source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Uses a Linear personal API key (Linear → Settings → Security & access → Personal API keys). The API host is fixed (`https://api.linear.app/graphql`); there is no base URL field. Linear feeds Delivery (`ticket.created` / `ticket.completed`); it never emits incident events. A ticket mirrored in both Jira and Linear counts twice. */
|
|
6474
|
+
LinearSourceDto: {
|
|
6475
|
+
/** @enum {string} */
|
|
6476
|
+
type: "linear";
|
|
6477
|
+
/** @description Linear personal API key (write-only on PUT). Sent as the raw `Authorization` header value; a value already prefixed with `Bearer ` is sent unchanged. */
|
|
6478
|
+
apiKey: string;
|
|
6479
|
+
/** @description Optional comma-separated team keys (e.g. `ENG,OPS`). When set, only issues in these teams are ingested. Keys are matched case-insensitively. Send an empty string on `PUT` to clear a stored filter (every team the key can read). */
|
|
6480
|
+
teamKeys?: string;
|
|
6481
|
+
/** @description Optional Linear workspace name from a successful connection test (echo-after-test). */
|
|
6482
|
+
orgName?: string;
|
|
6483
|
+
/** @description Optional Linear workspace URL from a successful connection test (echo-after-test). */
|
|
6484
|
+
workspaceUrl?: string;
|
|
6485
|
+
};
|
|
6486
|
+
/** @description Redacted Linear source returned by `GET /workspaces/{workspaceId}/config`. Raw API key is never returned. */
|
|
6487
|
+
LinearSourceConfigDto: {
|
|
6488
|
+
/** @enum {string} */
|
|
6489
|
+
type: "linear";
|
|
6490
|
+
/** @description Whether a personal API key is stored for this workspace. */
|
|
6491
|
+
hasToken: boolean;
|
|
6492
|
+
/** @description Configured comma-separated team-key filter, when set. */
|
|
6493
|
+
teamKeys?: string;
|
|
6494
|
+
/** @description Linear workspace name when known from the last successful verify. */
|
|
6495
|
+
orgName?: string;
|
|
6496
|
+
/** @description Linear workspace URL when known from the last successful verify. */
|
|
6497
|
+
workspaceUrl?: string;
|
|
6498
|
+
};
|
|
6433
6499
|
/**
|
|
6434
6500
|
* @description The agent execution account used for Agentic Foundation runs (readiness scanner + fix queue). Exactly one is active per workspace.
|
|
6435
6501
|
* - `thinkai_platform_cursor`: ThinkAI platform Cursor key (Cursor Agent CLI) — opt-in, never default.
|
|
@@ -6438,6 +6504,29 @@ export interface components {
|
|
|
6438
6504
|
* @enum {string}
|
|
6439
6505
|
*/
|
|
6440
6506
|
AgentExecutionProviderDto: "thinkai_platform_cursor" | "cursor_user_api_key" | "claude_api_key";
|
|
6507
|
+
PutAgentExecutionProvidersDto: {
|
|
6508
|
+
/** @description Enabled providers in the order runs try them. */
|
|
6509
|
+
providers: components["schemas"]["AgentExecutionProviderDto"][];
|
|
6510
|
+
};
|
|
6511
|
+
/**
|
|
6512
|
+
* @description Why a run skipped an enabled provider and used the next one.
|
|
6513
|
+
* - `missing_key`: no execution key is saved for the provider.
|
|
6514
|
+
* - `invalid_key`: the provider rejected the key.
|
|
6515
|
+
* - `budget_exhausted`: the account is out of credits or usage.
|
|
6516
|
+
* - `rate_limited`: the provider is rate limiting requests.
|
|
6517
|
+
* - `failed`: the provider errored.
|
|
6518
|
+
* @enum {string}
|
|
6519
|
+
*/
|
|
6520
|
+
AgentExecutionSkipReasonDto: "missing_key" | "invalid_key" | "budget_exhausted" | "rate_limited" | "failed";
|
|
6521
|
+
/** @description Present when a run skipped one or more enabled agent execution providers (#1006). `ranWith` is the provider that ran, or null when every enabled provider was skipped. */
|
|
6522
|
+
AgentExecutionFallbackDto: {
|
|
6523
|
+
/** @enum {string|null} */
|
|
6524
|
+
ranWith: "thinkai_platform_cursor" | "cursor_user_api_key" | "claude_api_key" | null;
|
|
6525
|
+
skipped: {
|
|
6526
|
+
provider: components["schemas"]["AgentExecutionProviderDto"];
|
|
6527
|
+
reason: components["schemas"]["AgentExecutionSkipReasonDto"];
|
|
6528
|
+
}[];
|
|
6529
|
+
};
|
|
6441
6530
|
/** @description Partial update for Code Intelligence workspace settings (admin-only). */
|
|
6442
6531
|
PutCodeIntelligenceSettingsDto: {
|
|
6443
6532
|
enabled?: boolean;
|
|
@@ -6522,7 +6611,7 @@ export interface components {
|
|
|
6522
6611
|
topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
|
|
6523
6612
|
};
|
|
6524
6613
|
WorkspaceConfigDto: {
|
|
6525
|
-
sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["CodeIntelligenceSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["DatadogSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["SonarQubeSourceConfigDto"] | components["schemas"]["PagerDutySourceConfigDto"] | components["schemas"]["IncidentIoSourceConfigDto"] | components["schemas"]["SentrySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
6614
|
+
sources: (components["schemas"]["CursorSourceConfigDto"] | components["schemas"]["ClaudeSourceConfigDto"] | components["schemas"]["CodeIntelligenceSourceConfigDto"] | components["schemas"]["NewRelicSourceConfigDto"] | components["schemas"]["DatadogSourceConfigDto"] | components["schemas"]["PrometheusSourceConfigDto"] | components["schemas"]["GrafanaSourceConfigDto"] | components["schemas"]["SonarQubeSourceConfigDto"] | components["schemas"]["PagerDutySourceConfigDto"] | components["schemas"]["IncidentIoSourceConfigDto"] | components["schemas"]["SentrySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["LinearSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
6526
6615
|
orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
|
|
6527
6616
|
/** @enum {string|null} */
|
|
6528
6617
|
region?: "us" | "eu" | "me" | null;
|
|
@@ -6533,6 +6622,8 @@ export interface components {
|
|
|
6533
6622
|
cursorPlatformKeyEnabled?: boolean;
|
|
6534
6623
|
/** @description The single active agent execution account for this workspace's readiness scanner and fix processor. Defaults to `cursor_user_api_key`. Change via `PUT /workspaces/{workspaceId}/agent-execution-provider`. */
|
|
6535
6624
|
agentExecutionProvider?: components["schemas"]["AgentExecutionProviderDto"];
|
|
6625
|
+
/** @description Enabled agent execution providers in the order runs try them (#1006). The first entry equals `agentExecutionProvider`. Workspaces saved before ordered fallback return `[agentExecutionProvider]`. Change via `PUT /workspaces/{workspaceId}/agent-execution-providers`. */
|
|
6626
|
+
agentExecutionProviders?: components["schemas"]["AgentExecutionProviderDto"][];
|
|
6536
6627
|
/** @description When false (default), Code Intelligence write APIs (`/code-chat/*` index/sync/wiki/messages) return 403. Preview UI still requires `?code_kn=true`. Change via `PUT /workspaces/{workspaceId}/code-intelligence`. */
|
|
6537
6628
|
codeIntelligenceEnabled?: boolean;
|
|
6538
6629
|
/**
|
|
@@ -6745,14 +6836,18 @@ export interface components {
|
|
|
6745
6836
|
executionKeyValid?: boolean | null;
|
|
6746
6837
|
/** @description Error detail when `executionKeyValid` is false. */
|
|
6747
6838
|
executionKeyError?: string | null;
|
|
6748
|
-
/** @description Present for New Relic, Grafana, PagerDuty, or
|
|
6839
|
+
/** @description Present for New Relic, Grafana, PagerDuty, Jira, or Linear verify success — authenticated user name. */
|
|
6749
6840
|
userName?: string;
|
|
6750
6841
|
/** @description Present for New Relic verify success — resolved account display name. */
|
|
6751
6842
|
accountName?: string;
|
|
6752
6843
|
/** @description Present for New Relic or Jira verify success — resolved account ID. */
|
|
6753
6844
|
accountId?: string;
|
|
6754
|
-
/** @description Present for Grafana, Datadog, or
|
|
6845
|
+
/** @description Present for Grafana, Datadog, Sentry, or Linear verify success — resolved organization name. */
|
|
6755
6846
|
orgName?: string;
|
|
6847
|
+
/** @description Present for Linear verify success — workspace URL (`https://linear.app/{urlKey}`). */
|
|
6848
|
+
workspaceUrl?: string;
|
|
6849
|
+
/** @description Non-blocking notice on success. Linear: `No teams matched <keys>` when the team-key filter matches no team visible to the key (empty polls are valid). */
|
|
6850
|
+
warning?: string;
|
|
6756
6851
|
/** @description Present for incident.io verify success — API key name from `GET /v1/identity`. */
|
|
6757
6852
|
keyName?: string;
|
|
6758
6853
|
/** @description Present for incident.io verify success — organization dashboard URL from `GET /v1/identity`. */
|
|
@@ -7766,6 +7861,8 @@ export interface components {
|
|
|
7766
7861
|
tokenCount: number;
|
|
7767
7862
|
activeUsers: number;
|
|
7768
7863
|
totalEngineers: number;
|
|
7864
|
+
/** @description Model requests in the window from daily usage rows. Set for org-level providers (ChatGPT, Gemini) whose usage APIs report requests rather than per-user seats. */
|
|
7865
|
+
requestCount?: number;
|
|
7769
7866
|
};
|
|
7770
7867
|
weekBuckets: components["schemas"]["AiToolProviderSummaryWeekBucketDto"][];
|
|
7771
7868
|
topMovers?: components["schemas"]["AiToolProviderSummaryTopMoverDto"][];
|
|
@@ -8153,6 +8250,41 @@ export interface components {
|
|
|
8153
8250
|
/** Format: uri */
|
|
8154
8251
|
avatarUrl?: string | null;
|
|
8155
8252
|
};
|
|
8253
|
+
GithubRecentCommitAuthorsRequestDto: {
|
|
8254
|
+
/**
|
|
8255
|
+
* Format: date
|
|
8256
|
+
* @description Inclusive window start (YYYY-MM-DD).
|
|
8257
|
+
*/
|
|
8258
|
+
from: string;
|
|
8259
|
+
/**
|
|
8260
|
+
* Format: date
|
|
8261
|
+
* @description Inclusive window end (YYYY-MM-DD). Cache key.
|
|
8262
|
+
*/
|
|
8263
|
+
to: string;
|
|
8264
|
+
repos: components["schemas"]["GithubRecentCommitAuthorRepoDto"][];
|
|
8265
|
+
};
|
|
8266
|
+
GithubRecentCommitAuthorRepoDto: {
|
|
8267
|
+
/** @description GitHub repository id from the granted-repository list. */
|
|
8268
|
+
id: string;
|
|
8269
|
+
/** @description owner/name */
|
|
8270
|
+
fullName: string;
|
|
8271
|
+
};
|
|
8272
|
+
GithubRecentCommitSampleDto: {
|
|
8273
|
+
authorLogin: string | null;
|
|
8274
|
+
/** Format: date-time */
|
|
8275
|
+
authoredAt: string | null;
|
|
8276
|
+
};
|
|
8277
|
+
GithubRecentCommitAuthorResultDto: {
|
|
8278
|
+
id: string;
|
|
8279
|
+
fullName: string;
|
|
8280
|
+
/** @description False when the lookup failed or the page did not contain a human author. */
|
|
8281
|
+
complete: boolean;
|
|
8282
|
+
error?: string;
|
|
8283
|
+
commits?: components["schemas"]["GithubRecentCommitSampleDto"][];
|
|
8284
|
+
};
|
|
8285
|
+
GithubRecentCommitAuthorsResponseDto: {
|
|
8286
|
+
results: components["schemas"]["GithubRecentCommitAuthorResultDto"][];
|
|
8287
|
+
};
|
|
8156
8288
|
GithubInstalledRepoDto: {
|
|
8157
8289
|
/** @description GitHub numeric repo id (preferred) or node id string */
|
|
8158
8290
|
id: number | string;
|
|
@@ -8782,6 +8914,10 @@ export interface components {
|
|
|
8782
8914
|
monitoring: components["schemas"]["TechCategoryDto"];
|
|
8783
8915
|
aiTools: components["schemas"]["TechCategoryDto"];
|
|
8784
8916
|
security: components["schemas"]["TechCategoryDto"];
|
|
8917
|
+
/** @description Code analysis & quality tools (SonarQube, Codacy, …). Optional on PUT; omitted keeps the saved value. GET always returns it. */
|
|
8918
|
+
codeAnalysis?: components["schemas"]["TechCategoryDto"];
|
|
8919
|
+
/** @description Code review tools (CodeRabbit, Graphite, …). Optional on PUT; omitted keeps the saved value. GET always returns it. */
|
|
8920
|
+
codeReview?: components["schemas"]["TechCategoryDto"];
|
|
8785
8921
|
knowledgeDocs: components["schemas"]["TechCategoryDto"];
|
|
8786
8922
|
hrPeople: components["schemas"]["TechCategoryDto"];
|
|
8787
8923
|
};
|
|
@@ -9370,16 +9506,20 @@ export interface components {
|
|
|
9370
9506
|
lastRunErrorCode?: string | null;
|
|
9371
9507
|
/** @description Human-readable error detail from the last failed run. Present when `lastRunStatus` is `failed` or `partial_failed`. */
|
|
9372
9508
|
lastRunErrorDetail?: string | null;
|
|
9509
|
+
/** @description Present when the most recent completed run skipped an enabled agent execution provider and fell back to the next one (or failed after trying all of them). */
|
|
9510
|
+
lastRunAgentExecution?: components["schemas"]["AgentExecutionFallbackDto"];
|
|
9373
9511
|
/**
|
|
9374
9512
|
* Format: date-time
|
|
9375
9513
|
* @description Set when the repo has been soft-archived (removed from installation, archived on GitHub, or integration disconnected). Null means active.
|
|
9376
9514
|
*/
|
|
9377
9515
|
archivedAt?: string | null;
|
|
9378
9516
|
/**
|
|
9379
|
-
* @description Why the repo was archived. `github_archived` means the repo is still granted by the GitHub installation but GitHub reports `archived === true` (default sync excludes it). `github_removed` means the slug is no longer in the installation listing. `user_removed` means
|
|
9517
|
+
* @description Why the repo was archived. `github_archived` means the repo is still granted by the GitHub installation but GitHub reports `archived === true` (default sync excludes it). `github_removed` means the slug is no longer in the installation listing. `user_removed` means the user marked the repo Inactive: it is not scanned, and stays in productivity and SDLC ingest unless `excludedFromIngest` is true. Only present when `archivedAt` is set.
|
|
9380
9518
|
* @enum {string|null}
|
|
9381
9519
|
*/
|
|
9382
9520
|
archivedReason?: "github_archived" | "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | "user_removed" | null;
|
|
9521
|
+
/** @description True when the GitHub repository selection unchecked this Inactive repo, so it is also left out of productivity and SDLC ingest (v2.210.0+). Omitted otherwise. */
|
|
9522
|
+
excludedFromIngest?: boolean;
|
|
9383
9523
|
/**
|
|
9384
9524
|
* @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. It becomes `ineligible` when the most recent scan hit a hard size/file-count limit (e.g. code-size or file-count exceeded): the repo is then restricted here too so this surface matches the GitHub connect list's size gate after the scan. Null until the first sync/scan computes it.
|
|
9385
9525
|
* @enum {string|null}
|
|
@@ -9462,6 +9602,7 @@ export interface components {
|
|
|
9462
9602
|
lastRunStatus?: "succeeded" | "failed" | "partial_failed" | null;
|
|
9463
9603
|
lastRunErrorCode?: string | null;
|
|
9464
9604
|
lastRunErrorDetail?: string | null;
|
|
9605
|
+
lastRunAgentExecution?: components["schemas"]["AgentExecutionFallbackDto"];
|
|
9465
9606
|
/** Format: date-time */
|
|
9466
9607
|
archivedAt?: string | null;
|
|
9467
9608
|
/**
|
|
@@ -9469,6 +9610,8 @@ export interface components {
|
|
|
9469
9610
|
* @enum {string|null}
|
|
9470
9611
|
*/
|
|
9471
9612
|
archivedReason?: "github_archived" | "github_removed" | "installation_disconnected" | "installation_replaced" | "superseded" | "user_removed" | null;
|
|
9613
|
+
/** @description See RepoReadinessScoreDto.excludedFromIngest. */
|
|
9614
|
+
excludedFromIngest?: boolean;
|
|
9472
9615
|
/**
|
|
9473
9616
|
* @description See RepoReadinessScoreDto.eligibilityStatus. Language support is advisory (#729) and surfaced via `warnings`.
|
|
9474
9617
|
* @enum {string|null}
|
|
@@ -10302,6 +10445,8 @@ export interface components {
|
|
|
10302
10445
|
};
|
|
10303
10446
|
PutAgenticFoundationRepoScopeBodyDto: {
|
|
10304
10447
|
changes: components["schemas"]["PutAgenticFoundationRepoScopeChangeDto"][];
|
|
10448
|
+
/** @description GitHub repository selection (v2.210.0+). When true, excluded repos also leave productivity and SDLC ingest, including repos that were already Inactive. Omit for Agentic Foundation scope changes, which only affect scans. */
|
|
10449
|
+
excludeFromIngest?: boolean;
|
|
10305
10450
|
};
|
|
10306
10451
|
PutAgenticFoundationRepoScopeAppliedDto: {
|
|
10307
10452
|
/** Format: uuid */
|
|
@@ -10326,7 +10471,7 @@ export interface components {
|
|
|
10326
10471
|
* @description Type of workspace lifecycle event.
|
|
10327
10472
|
* @enum {string}
|
|
10328
10473
|
*/
|
|
10329
|
-
ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.suspended" | "integration.github.unsuspended" | "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" | "code_insights.design_run_started" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.repo_eligibility.languages_refresh_requested" | "rules_skills.soft_quality.override" | "integrations.cursor.platform_key_enabled" | "integrations.cursor.platform_key_disabled" | "member.invited" | "member.invite_accepted" | "member.invite_rejected" | "member.role_changed" | "member.removed" | "hris.personio.sync_started" | "hris.personio.sync_completed" | "hris.personio.sync_failed" | "hris.zenhr.sync_started" | "hris.zenhr.sync_completed" | "hris.zenhr.sync_failed" | "hris.zelt.sync_started" | "hris.zelt.sync_completed" | "hris.zelt.sync_failed" | "hris.hibob.sync_started" | "hris.hibob.sync_completed" | "hris.hibob.sync_failed" | "hris.sync_started" | "hris.sync_completed" | "hris.sync_failed" | "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" | "integrations.claude.analytics_key.added" | "integrations.claude.analytics_key.updated" | "integrations.claude.analytics_key.removed" | "integrations.code_intelligence.settings_changed" | "integrations.code_intelligence.execution_key.added" | "integrations.code_intelligence.execution_key.updated" | "integrations.code_intelligence.execution_key.removed" | "integrations.code_intelligence.execution_key.check_failed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped" | "productivity.ingest.repo_skipped" | "productivity.ingest.coverage_gap_detected" | "integrations.newrelic.added" | "integrations.newrelic.removed" | "integrations.newrelic.sync_completed" | "integrations.newrelic.sync_failed" | "integrations.prometheus.added" | "integrations.prometheus.removed" | "integrations.prometheus.sync_completed" | "integrations.prometheus.sync_failed" | "integrations.grafana.added" | "integrations.grafana.removed" | "integrations.grafana.sync_completed" | "integrations.grafana.sync_failed" | "integrations.datadog.added" | "integrations.datadog.removed" | "integrations.datadog.sync_completed" | "integrations.datadog.sync_failed" | "integrations.sentry.added" | "integrations.sentry.removed" | "integrations.sentry.sync_completed" | "integrations.sentry.sync_failed" | "integrations.zelt.added" | "integrations.zelt.removed" | "report.exported" | "report.assessment_stored" | "report.assessment_link_sent" | "report.assessment_link_revoked" | "report.assessment_downloaded" | "report.assessment_hidden" | "report.assessment_restored" | "workspace.aggregate_use.changed" | "workspace.assessment_rollout.changed" | "config.strict_insights_on_trust.changed";
|
|
10474
|
+
ActivityLogEventTypeDto: "repo.added" | "repo.removed" | "repo.readded" | "integration.github.added" | "integration.github.updated" | "integration.github.removed" | "integration.github.permissions_changed" | "integration.github.suspended" | "integration.github.unsuspended" | "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" | "readiness.agent_execution_fallback" | "code_insights.design_run_started" | "integrations.agent_execution.provider_changed" | "integrations.repo_eligibility.overrides_changed" | "integrations.repo_eligibility.languages_refresh_requested" | "rules_skills.soft_quality.override" | "integrations.cursor.platform_key_enabled" | "integrations.cursor.platform_key_disabled" | "member.invited" | "member.invite_accepted" | "member.invite_rejected" | "member.role_changed" | "member.removed" | "hris.personio.sync_started" | "hris.personio.sync_completed" | "hris.personio.sync_failed" | "hris.zenhr.sync_started" | "hris.zenhr.sync_completed" | "hris.zenhr.sync_failed" | "hris.zelt.sync_started" | "hris.zelt.sync_completed" | "hris.zelt.sync_failed" | "hris.hibob.sync_started" | "hris.hibob.sync_completed" | "hris.hibob.sync_failed" | "hris.sync_started" | "hris.sync_completed" | "hris.sync_failed" | "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" | "integrations.claude.analytics_key.added" | "integrations.claude.analytics_key.updated" | "integrations.claude.analytics_key.removed" | "integrations.code_intelligence.settings_changed" | "integrations.code_intelligence.execution_key.added" | "integrations.code_intelligence.execution_key.updated" | "integrations.code_intelligence.execution_key.removed" | "integrations.code_intelligence.execution_key.check_failed" | "readiness.scan_precheck_failed" | "productivity.ingest.completed" | "productivity.ingest.failed" | "productivity.ingest.skipped" | "productivity.ingest.repo_skipped" | "productivity.ingest.coverage_gap_detected" | "integrations.newrelic.added" | "integrations.newrelic.removed" | "integrations.newrelic.sync_completed" | "integrations.newrelic.sync_failed" | "integrations.prometheus.added" | "integrations.prometheus.removed" | "integrations.prometheus.sync_completed" | "integrations.prometheus.sync_failed" | "integrations.grafana.added" | "integrations.grafana.removed" | "integrations.grafana.sync_completed" | "integrations.grafana.sync_failed" | "integrations.datadog.added" | "integrations.datadog.removed" | "integrations.datadog.sync_completed" | "integrations.datadog.sync_failed" | "integrations.sentry.added" | "integrations.sentry.removed" | "integrations.sentry.sync_completed" | "integrations.sentry.sync_failed" | "integrations.zelt.added" | "integrations.zelt.removed" | "report.exported" | "report.assessment_stored" | "report.assessment_link_sent" | "report.assessment_link_revoked" | "report.assessment_downloaded" | "report.assessment_hidden" | "report.assessment_restored" | "workspace.aggregate_use.changed" | "workspace.assessment_rollout.changed" | "config.strict_insights_on_trust.changed";
|
|
10330
10475
|
/** @description Current legal-approved opt-in notice, or `unset` while opt-in is unavailable. */
|
|
10331
10476
|
AggregateUseNoticeStatusDto: {
|
|
10332
10477
|
/** @enum {string} */
|
|
@@ -11086,8 +11231,11 @@ export interface components {
|
|
|
11086
11231
|
};
|
|
11087
11232
|
IngestCoveragePipelineDto: {
|
|
11088
11233
|
id: string;
|
|
11089
|
-
/**
|
|
11090
|
-
|
|
11234
|
+
/**
|
|
11235
|
+
* @description `linear` (v2.210.0+) is the last Linear poll from the productivity worker: `failed` with `lastErrorKind` `invalid_token` when the key was revoked, `incremental` after a successful poll, `sync.eventCount` for tickets read. Listed only while Linear is connected.
|
|
11236
|
+
* @enum {string}
|
|
11237
|
+
*/
|
|
11238
|
+
kind: "productivity_github" | "productivity_bitbucket" | "ai_usage" | "sdlc_github" | "monitoring" | "hris" | "jira" | "pagerduty" | "linear";
|
|
11091
11239
|
provider?: string | null;
|
|
11092
11240
|
/** @enum {string} */
|
|
11093
11241
|
status: "not_started" | "backfilling" | "incremental" | "complete" | "failed" | "in_progress";
|
|
@@ -11104,7 +11252,7 @@ export interface components {
|
|
|
11104
11252
|
lastErrorMessage?: string | null;
|
|
11105
11253
|
/**
|
|
11106
11254
|
* Format: date-time
|
|
11107
|
-
* @description Scheduled poll instant. Set for ai_usage (next weekly workspace slot; a past instant means the poll is overdue and is not advanced to now), hris (next PHASE2 daily UTC cron `15 2` after now), and monitoring (next PHASE2 daily UTC cron `30 2` after now). HRIS/Monitoring values are always in the future when set — not lastAttempt plus interval. Null for productivity_github
|
|
11255
|
+
* @description Scheduled poll instant. Set for ai_usage (next weekly workspace slot; a past instant means the poll is overdue and is not advanced to now), hris (next PHASE2 daily UTC cron `15 2` after now), and monitoring (next PHASE2 daily UTC cron `30 2` after now). HRIS/Monitoring values are always in the future when set — not lastAttempt plus interval. Null for productivity_github, sdlc_github, linear, when the sync worker is disabled, or when there has been no attempt (hris/monitoring: last status never). Not an ETA.
|
|
11108
11256
|
*/
|
|
11109
11257
|
nextScheduledAt?: string | null;
|
|
11110
11258
|
/** Format: int64 */
|
|
@@ -12321,7 +12469,7 @@ export interface components {
|
|
|
12321
12469
|
workspaceContext?: components["schemas"]["WorkspaceContextInsightsDto"];
|
|
12322
12470
|
};
|
|
12323
12471
|
CodeIntelligenceUsageDto: {
|
|
12324
|
-
/** @description Ledger operation key (code_chat, prd_generate, workspace_kb,
|
|
12472
|
+
/** @description Ledger operation key (code_chat, prd_generate, workspace_kb, wiki, …). Older rows may still say wiki_enrich or wiki_json_outline; clients collapse those into Wiki. */
|
|
12325
12473
|
operation: string;
|
|
12326
12474
|
provider: string;
|
|
12327
12475
|
model?: string | null;
|
|
@@ -12346,6 +12494,21 @@ export interface components {
|
|
|
12346
12494
|
estimatedCostUsd: number;
|
|
12347
12495
|
invocationCount: number;
|
|
12348
12496
|
byOperation: components["schemas"]["CodeIntelligenceTokenUsageByOperationDto"][];
|
|
12497
|
+
/** @description Knowledge jobs (wiki scans and similar) whose tokens make up this repository total. Newest first. Absent on older servers. */
|
|
12498
|
+
runs?: components["schemas"]["CodeIntelligenceTokenUsageRunDto"][];
|
|
12499
|
+
};
|
|
12500
|
+
CodeIntelligenceTokenUsageRunDto: {
|
|
12501
|
+
/** Format: uuid */
|
|
12502
|
+
jobId?: string | null;
|
|
12503
|
+
/** Format: date-time */
|
|
12504
|
+
startedAt?: string | null;
|
|
12505
|
+
/** @description Knowledge job status (queued, running, completed, failed). */
|
|
12506
|
+
status?: string | null;
|
|
12507
|
+
operation: string;
|
|
12508
|
+
inputTokens: number;
|
|
12509
|
+
outputTokens: number;
|
|
12510
|
+
estimatedCostUsd: number;
|
|
12511
|
+
invocationCount: number;
|
|
12349
12512
|
};
|
|
12350
12513
|
CodeIntelligenceTokenUsageSummaryDto: {
|
|
12351
12514
|
days: number;
|
|
@@ -12358,7 +12521,7 @@ export interface components {
|
|
|
12358
12521
|
/** @description Rate basis used for the derived cost, for display in tooltips. */
|
|
12359
12522
|
costBasis?: string | null;
|
|
12360
12523
|
byOperation: components["schemas"]["CodeIntelligenceTokenUsageByOperationDto"][];
|
|
12361
|
-
/** @description Per-repository split (wiki generation, conversations, outline).
|
|
12524
|
+
/** @description Per-repository split (wiki generation, conversations, outline). Calls that were not about a single repository use an empty repoId and a null repoName. */
|
|
12362
12525
|
byRepo: components["schemas"]["CodeIntelligenceTokenUsageByRepoDto"][];
|
|
12363
12526
|
};
|
|
12364
12527
|
CodeChatWikiPageListDto: {
|
|
@@ -13520,7 +13683,12 @@ export type SentrySourceDto = components['schemas']['SentrySourceDto'];
|
|
|
13520
13683
|
export type SentrySourceConfigDto = components['schemas']['SentrySourceConfigDto'];
|
|
13521
13684
|
export type JiraSourceDto = components['schemas']['JiraSourceDto'];
|
|
13522
13685
|
export type JiraSourceConfigDto = components['schemas']['JiraSourceConfigDto'];
|
|
13686
|
+
export type LinearSourceDto = components['schemas']['LinearSourceDto'];
|
|
13687
|
+
export type LinearSourceConfigDto = components['schemas']['LinearSourceConfigDto'];
|
|
13523
13688
|
export type AgentExecutionProviderDto = components['schemas']['AgentExecutionProviderDto'];
|
|
13689
|
+
export type PutAgentExecutionProvidersDto = components['schemas']['PutAgentExecutionProvidersDto'];
|
|
13690
|
+
export type AgentExecutionSkipReasonDto = components['schemas']['AgentExecutionSkipReasonDto'];
|
|
13691
|
+
export type AgentExecutionFallbackDto = components['schemas']['AgentExecutionFallbackDto'];
|
|
13524
13692
|
export type PutCodeIntelligenceSettingsDto = components['schemas']['PutCodeIntelligenceSettingsDto'];
|
|
13525
13693
|
export type CodeWikiGuidanceTopicDto = components['schemas']['CodeWikiGuidanceTopicDto'];
|
|
13526
13694
|
export type PutCodeIntelligenceAgentMdDto = components['schemas']['PutCodeIntelligenceAgentMdDto'];
|
|
@@ -13655,6 +13823,11 @@ export type WorkspacesForUserDto = components['schemas']['WorkspacesForUserDto']
|
|
|
13655
13823
|
export type CreateWorkspaceBodyDto = components['schemas']['CreateWorkspaceBodyDto'];
|
|
13656
13824
|
export type CompanyProfileDto = components['schemas']['CompanyProfileDto'];
|
|
13657
13825
|
export type GithubAccountDto = components['schemas']['GithubAccountDto'];
|
|
13826
|
+
export type GithubRecentCommitAuthorsRequestDto = components['schemas']['GithubRecentCommitAuthorsRequestDto'];
|
|
13827
|
+
export type GithubRecentCommitAuthorRepoDto = components['schemas']['GithubRecentCommitAuthorRepoDto'];
|
|
13828
|
+
export type GithubRecentCommitSampleDto = components['schemas']['GithubRecentCommitSampleDto'];
|
|
13829
|
+
export type GithubRecentCommitAuthorResultDto = components['schemas']['GithubRecentCommitAuthorResultDto'];
|
|
13830
|
+
export type GithubRecentCommitAuthorsResponseDto = components['schemas']['GithubRecentCommitAuthorsResponseDto'];
|
|
13658
13831
|
export type GithubInstalledRepoDto = components['schemas']['GithubInstalledRepoDto'];
|
|
13659
13832
|
export type RepoEligibilityConfigDto = components['schemas']['RepoEligibilityConfigDto'];
|
|
13660
13833
|
export type RepoEligibilityOverridesDto = components['schemas']['RepoEligibilityOverridesDto'];
|
|
@@ -14036,6 +14209,7 @@ export type WorkspaceKnowledgePackDto = components['schemas']['WorkspaceKnowledg
|
|
|
14036
14209
|
export type CodeIntelligenceUsageDto = components['schemas']['CodeIntelligenceUsageDto'];
|
|
14037
14210
|
export type CodeIntelligenceTokenUsageByOperationDto = components['schemas']['CodeIntelligenceTokenUsageByOperationDto'];
|
|
14038
14211
|
export type CodeIntelligenceTokenUsageByRepoDto = components['schemas']['CodeIntelligenceTokenUsageByRepoDto'];
|
|
14212
|
+
export type CodeIntelligenceTokenUsageRunDto = components['schemas']['CodeIntelligenceTokenUsageRunDto'];
|
|
14039
14213
|
export type CodeIntelligenceTokenUsageSummaryDto = components['schemas']['CodeIntelligenceTokenUsageSummaryDto'];
|
|
14040
14214
|
export type CodeChatWikiPageListDto = components['schemas']['CodeChatWikiPageListDto'];
|
|
14041
14215
|
export type CodeChatWikiOkfExportDto = components['schemas']['CodeChatWikiOkfExportDto'];
|
|
@@ -17320,7 +17494,7 @@ export interface operations {
|
|
|
17320
17494
|
requestBody: {
|
|
17321
17495
|
content: {
|
|
17322
17496
|
"application/json": {
|
|
17323
|
-
sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
17497
|
+
sources: (components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
17324
17498
|
};
|
|
17325
17499
|
};
|
|
17326
17500
|
};
|
|
@@ -17374,7 +17548,7 @@ export interface operations {
|
|
|
17374
17548
|
};
|
|
17375
17549
|
requestBody: {
|
|
17376
17550
|
content: {
|
|
17377
|
-
"application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
17551
|
+
"application/json": components["schemas"]["CursorSourcePatchDto"] | components["schemas"]["CursorSourceDto"] | components["schemas"]["ClaudeSourcePatchDto"] | components["schemas"]["ClaudeSourceDto"] | components["schemas"]["CodeIntelligenceSourcePatchDto"] | components["schemas"]["NewRelicSourceDto"] | components["schemas"]["DatadogSourceDto"] | components["schemas"]["PrometheusSourceDto"] | components["schemas"]["GrafanaSourceDto"] | components["schemas"]["SonarQubeSourceDto"] | components["schemas"]["PagerDutySourceDto"] | components["schemas"]["IncidentIoSourceDto"] | components["schemas"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["LinearSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
17378
17552
|
};
|
|
17379
17553
|
};
|
|
17380
17554
|
responses: {
|
|
@@ -19950,6 +20124,43 @@ export interface operations {
|
|
|
19950
20124
|
};
|
|
19951
20125
|
};
|
|
19952
20126
|
};
|
|
20127
|
+
lookupGithubRecentCommitAuthors: {
|
|
20128
|
+
parameters: {
|
|
20129
|
+
query?: never;
|
|
20130
|
+
header?: never;
|
|
20131
|
+
path: {
|
|
20132
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
20133
|
+
};
|
|
20134
|
+
cookie?: never;
|
|
20135
|
+
};
|
|
20136
|
+
requestBody: {
|
|
20137
|
+
content: {
|
|
20138
|
+
"application/json": components["schemas"]["GithubRecentCommitAuthorsRequestDto"];
|
|
20139
|
+
};
|
|
20140
|
+
};
|
|
20141
|
+
responses: {
|
|
20142
|
+
/** @description One result per requested repository */
|
|
20143
|
+
200: {
|
|
20144
|
+
headers: {
|
|
20145
|
+
[name: string]: unknown;
|
|
20146
|
+
};
|
|
20147
|
+
content: {
|
|
20148
|
+
"application/json": components["schemas"]["GithubRecentCommitAuthorsResponseDto"];
|
|
20149
|
+
};
|
|
20150
|
+
};
|
|
20151
|
+
/** @description Invalid window or repository list */
|
|
20152
|
+
400: {
|
|
20153
|
+
headers: {
|
|
20154
|
+
[name: string]: unknown;
|
|
20155
|
+
};
|
|
20156
|
+
content: {
|
|
20157
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
20158
|
+
};
|
|
20159
|
+
};
|
|
20160
|
+
401: components["responses"]["Unauthorized"];
|
|
20161
|
+
403: components["responses"]["Forbidden"];
|
|
20162
|
+
};
|
|
20163
|
+
};
|
|
19953
20164
|
getWorkspaceGithubInstallationStatus: {
|
|
19954
20165
|
parameters: {
|
|
19955
20166
|
query?: {
|
|
@@ -24443,6 +24654,50 @@ export interface operations {
|
|
|
24443
24654
|
403: components["responses"]["Forbidden"];
|
|
24444
24655
|
};
|
|
24445
24656
|
};
|
|
24657
|
+
putAgentExecutionProviders: {
|
|
24658
|
+
parameters: {
|
|
24659
|
+
query?: never;
|
|
24660
|
+
header?: never;
|
|
24661
|
+
path: {
|
|
24662
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
24663
|
+
};
|
|
24664
|
+
cookie?: never;
|
|
24665
|
+
};
|
|
24666
|
+
requestBody: {
|
|
24667
|
+
content: {
|
|
24668
|
+
"application/json": components["schemas"]["PutAgentExecutionProvidersDto"];
|
|
24669
|
+
};
|
|
24670
|
+
};
|
|
24671
|
+
responses: {
|
|
24672
|
+
/** @description Providers saved */
|
|
24673
|
+
200: {
|
|
24674
|
+
headers: {
|
|
24675
|
+
[name: string]: unknown;
|
|
24676
|
+
};
|
|
24677
|
+
content: {
|
|
24678
|
+
"application/json": {
|
|
24679
|
+
ok: boolean;
|
|
24680
|
+
providers: components["schemas"]["AgentExecutionProviderDto"][];
|
|
24681
|
+
};
|
|
24682
|
+
};
|
|
24683
|
+
};
|
|
24684
|
+
/** @description `invalid_body` (missing, empty, unknown, or duplicate providers) or `provider_not_configured` (a key-based provider has no saved execution key; `provider` names it). */
|
|
24685
|
+
400: {
|
|
24686
|
+
headers: {
|
|
24687
|
+
[name: string]: unknown;
|
|
24688
|
+
};
|
|
24689
|
+
content: {
|
|
24690
|
+
"application/json": {
|
|
24691
|
+
/** @example provider_not_configured */
|
|
24692
|
+
error: string;
|
|
24693
|
+
provider?: components["schemas"]["AgentExecutionProviderDto"];
|
|
24694
|
+
};
|
|
24695
|
+
};
|
|
24696
|
+
};
|
|
24697
|
+
401: components["responses"]["Unauthorized"];
|
|
24698
|
+
403: components["responses"]["Forbidden"];
|
|
24699
|
+
};
|
|
24700
|
+
};
|
|
24446
24701
|
putCodeIntelligenceSettings: {
|
|
24447
24702
|
parameters: {
|
|
24448
24703
|
query?: never;
|