@thinkai/tai-api-contract 2.187.0 → 2.189.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.
- package/dist/generated/openapi.d.ts +287 -4
- package/dist/generated/openapi.d.ts.map +1 -1
- package/openapi/openapi.yaml +366 -2
- package/package.json +1 -1
- package/src/generated/openapi.ts +287 -4
|
@@ -3343,6 +3343,46 @@ export interface paths {
|
|
|
3343
3343
|
patch?: never;
|
|
3344
3344
|
trace?: never;
|
|
3345
3345
|
};
|
|
3346
|
+
"/workspaces/{workspaceId}/rules-skills/validate": {
|
|
3347
|
+
parameters: {
|
|
3348
|
+
query?: never;
|
|
3349
|
+
header?: never;
|
|
3350
|
+
path?: never;
|
|
3351
|
+
cookie?: never;
|
|
3352
|
+
};
|
|
3353
|
+
get?: never;
|
|
3354
|
+
put?: never;
|
|
3355
|
+
/**
|
|
3356
|
+
* Validate agent rules and skills for a repository
|
|
3357
|
+
* @description Clones the connected GitHub repository via the workspace GitHub App installation and runs the shared Rules & Skills validate engine (structural + soft quality). Assessed tools come from the latest **succeeded** readiness scan (`agent_tool_assessed`: `cursor` | `claude-code` | `both`). Returns draft `proposedFiles` for review (not committed). Workspace member auth; write permissions are not required for validate-only.
|
|
3358
|
+
*/
|
|
3359
|
+
post: operations["postRulesSkillsValidate"];
|
|
3360
|
+
delete?: never;
|
|
3361
|
+
options?: never;
|
|
3362
|
+
head?: never;
|
|
3363
|
+
patch?: never;
|
|
3364
|
+
trace?: never;
|
|
3365
|
+
};
|
|
3366
|
+
"/workspaces/{workspaceId}/rules-skills/pull-requests": {
|
|
3367
|
+
parameters: {
|
|
3368
|
+
query?: never;
|
|
3369
|
+
header?: never;
|
|
3370
|
+
path?: never;
|
|
3371
|
+
cookie?: never;
|
|
3372
|
+
};
|
|
3373
|
+
get?: never;
|
|
3374
|
+
put?: never;
|
|
3375
|
+
/**
|
|
3376
|
+
* Open a Rules & Skills remediation pull request
|
|
3377
|
+
* @description Applies `proposedFiles` (or a future create-mode session) onto a non-default branch via the Automations GitHub App installation and opens a pull request. Never pushes to the default branch. PR title/body identify the change as platform-generated and link back to `/agentic-foundation/rules-skills`. Requires workspace editor or admin. Same write-permission gate as readiness fixes.
|
|
3378
|
+
*/
|
|
3379
|
+
post: operations["postRulesSkillsPullRequest"];
|
|
3380
|
+
delete?: never;
|
|
3381
|
+
options?: never;
|
|
3382
|
+
head?: never;
|
|
3383
|
+
patch?: never;
|
|
3384
|
+
trace?: never;
|
|
3385
|
+
};
|
|
3346
3386
|
"/workspaces/{workspaceId}/readiness/issues/{issueId}/fix-guide": {
|
|
3347
3387
|
parameters: {
|
|
3348
3388
|
query?: never;
|
|
@@ -6077,6 +6117,36 @@ export interface components {
|
|
|
6077
6117
|
/** @description PagerDuty user email when known from the last successful verify. */
|
|
6078
6118
|
userEmail?: string;
|
|
6079
6119
|
};
|
|
6120
|
+
/** @description Sentry incident and release source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Requires an organization slug and an auth token with `org:read`, `event:read`, and `project:read`. Issues map to incident events and releases with a commit or environment map to deployment events. */
|
|
6121
|
+
SentrySourceDto: {
|
|
6122
|
+
/** @enum {string} */
|
|
6123
|
+
type: "sentry";
|
|
6124
|
+
/** @description Sentry organization slug (the `{slug}` in `sentry.io/organizations/{slug}/`). */
|
|
6125
|
+
orgSlug: string;
|
|
6126
|
+
/** @description Sentry auth token (organization or internal integration token, write-only on PUT). */
|
|
6127
|
+
token: string;
|
|
6128
|
+
/** @description Optional API base URL for self-hosted Sentry. Default `https://sentry.io/api/0`. */
|
|
6129
|
+
baseUrl?: string;
|
|
6130
|
+
/** @description Optional project slug. When set, only that project's issues and releases are ingested. */
|
|
6131
|
+
projectSlug?: string;
|
|
6132
|
+
/** @description Optional organization display name from a successful connection test (echo-after-test). */
|
|
6133
|
+
orgName?: string;
|
|
6134
|
+
};
|
|
6135
|
+
/** @description Redacted Sentry source returned by `GET /workspaces/{workspaceId}/config`. Raw token is never returned. */
|
|
6136
|
+
SentrySourceConfigDto: {
|
|
6137
|
+
/** @enum {string} */
|
|
6138
|
+
type: "sentry";
|
|
6139
|
+
/** @description Whether an auth token is stored for this workspace. */
|
|
6140
|
+
hasToken: boolean;
|
|
6141
|
+
/** @description Configured Sentry organization slug. */
|
|
6142
|
+
orgSlug: string;
|
|
6143
|
+
/** @description Configured API base URL override, when set. */
|
|
6144
|
+
baseUrl?: string;
|
|
6145
|
+
/** @description Configured project filter, when set. */
|
|
6146
|
+
projectSlug?: string;
|
|
6147
|
+
/** @description Sentry organization name when known from the last successful verify. */
|
|
6148
|
+
orgName?: string;
|
|
6149
|
+
};
|
|
6080
6150
|
/** @description Jira Cloud source for `PUT /workspaces/{workspaceId}/sources` and `POST /workspaces/{workspaceId}/sources/test`. Uses Atlassian Cloud email + API token (Basic auth). Provide `apiToken` (preferred) or legacy write-only `api_key`; the server normalizes `api_key` to `apiToken` on write. */
|
|
6081
6151
|
JiraSourceDto: {
|
|
6082
6152
|
/** @enum {string} */
|
|
@@ -6201,7 +6271,7 @@ export interface components {
|
|
|
6201
6271
|
topics?: components["schemas"]["CodeWikiGuidanceTopicDto"][];
|
|
6202
6272
|
};
|
|
6203
6273
|
WorkspaceConfigDto: {
|
|
6204
|
-
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"]["JiraSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
6274
|
+
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"]["SentrySourceConfigDto"] | components["schemas"]["JiraSourceConfigDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
6205
6275
|
orgChart?: components["schemas"]["ScoringOrgChartDto"] | null;
|
|
6206
6276
|
/** @enum {string|null} */
|
|
6207
6277
|
region?: "us" | "eu" | "me" | null;
|
|
@@ -6324,7 +6394,7 @@ export interface components {
|
|
|
6324
6394
|
accountName?: string;
|
|
6325
6395
|
/** @description Present for New Relic or Jira verify success — resolved account ID. */
|
|
6326
6396
|
accountId?: string;
|
|
6327
|
-
/** @description Present for Grafana or
|
|
6397
|
+
/** @description Present for Grafana, Datadog, or Sentry verify success — resolved organization name. */
|
|
6328
6398
|
orgName?: string;
|
|
6329
6399
|
/** @description Present for Prometheus verify success — Alertmanager cluster name. */
|
|
6330
6400
|
clusterName?: string;
|
|
@@ -9242,6 +9312,80 @@ export interface components {
|
|
|
9242
9312
|
/** @description Required when the issue has unresolvedChoices. Must be one of those labels. Stored on the fix row and stated in the worker prompt. */
|
|
9243
9313
|
patternChoice?: string;
|
|
9244
9314
|
};
|
|
9315
|
+
/**
|
|
9316
|
+
* @description From the latest succeeded readiness scan (`agent_tool_assessed`). Never invent `both` without scan evidence.
|
|
9317
|
+
* @enum {string}
|
|
9318
|
+
*/
|
|
9319
|
+
RulesSkillsAssessedTools: "cursor" | "claude-code" | "both";
|
|
9320
|
+
RulesSkillsValidateRequestDto: {
|
|
9321
|
+
/** Format: uuid */
|
|
9322
|
+
repoId: string;
|
|
9323
|
+
/** @description Optional relative path prefixes limiting the validate walk. */
|
|
9324
|
+
pathPrefixes?: string[];
|
|
9325
|
+
};
|
|
9326
|
+
RulesSkillsFindingDto: {
|
|
9327
|
+
id: string;
|
|
9328
|
+
/** @enum {string} */
|
|
9329
|
+
kind: "structural" | "soft";
|
|
9330
|
+
/** @enum {string} */
|
|
9331
|
+
severity: "fail" | "warn";
|
|
9332
|
+
code: string;
|
|
9333
|
+
path: string;
|
|
9334
|
+
message: string;
|
|
9335
|
+
/** @description Empty when unmapped structural noise. */
|
|
9336
|
+
criterionIds: ("A1" | "A2" | "A3" | "A3a" | "A3b" | "A3c" | "A11")[];
|
|
9337
|
+
};
|
|
9338
|
+
RulesSkillsSoftQualityCheckDto: {
|
|
9339
|
+
code: string;
|
|
9340
|
+
/** @enum {string} */
|
|
9341
|
+
status: "pass" | "fail" | "warn" | "skip";
|
|
9342
|
+
message?: string;
|
|
9343
|
+
path?: string;
|
|
9344
|
+
};
|
|
9345
|
+
RulesSkillsSoftQualitySummaryDto: {
|
|
9346
|
+
/** @description True when there are no soft-quality fail findings (warns allowed). */
|
|
9347
|
+
passed: boolean;
|
|
9348
|
+
failCount: number;
|
|
9349
|
+
warnCount: number;
|
|
9350
|
+
checks: components["schemas"]["RulesSkillsSoftQualityCheckDto"][];
|
|
9351
|
+
};
|
|
9352
|
+
RulesSkillsProposedFileDto: {
|
|
9353
|
+
path: string;
|
|
9354
|
+
/** @enum {string} */
|
|
9355
|
+
action: "create" | "update" | "delete" | "rename";
|
|
9356
|
+
/** @description Full file contents for create/update/rename target. */
|
|
9357
|
+
content?: string;
|
|
9358
|
+
/** @description Source path when action is rename. */
|
|
9359
|
+
previousPath?: string;
|
|
9360
|
+
};
|
|
9361
|
+
RulesSkillsValidateResponseDto: {
|
|
9362
|
+
assessedTools: components["schemas"]["RulesSkillsAssessedTools"];
|
|
9363
|
+
findings: components["schemas"]["RulesSkillsFindingDto"][];
|
|
9364
|
+
softQualitySummary: components["schemas"]["RulesSkillsSoftQualitySummaryDto"];
|
|
9365
|
+
proposedFiles: components["schemas"]["RulesSkillsProposedFileDto"][];
|
|
9366
|
+
/** @description Quiet-case note (e.g. empty tree under pathPrefixes). */
|
|
9367
|
+
note?: string;
|
|
9368
|
+
};
|
|
9369
|
+
RulesSkillsOpenPullRequestRequestDto: {
|
|
9370
|
+
/** Format: uuid */
|
|
9371
|
+
repoId: string;
|
|
9372
|
+
/** @enum {string} */
|
|
9373
|
+
mode: "validate" | "create";
|
|
9374
|
+
/**
|
|
9375
|
+
* Format: uuid
|
|
9376
|
+
* @description Reserved for Create-mode sessions; validate mode uses proposedFiles.
|
|
9377
|
+
*/
|
|
9378
|
+
sessionId?: string;
|
|
9379
|
+
proposedFiles?: components["schemas"]["RulesSkillsProposedFileDto"][];
|
|
9380
|
+
title?: string;
|
|
9381
|
+
body?: string;
|
|
9382
|
+
};
|
|
9383
|
+
RulesSkillsOpenPullRequestResponseDto: {
|
|
9384
|
+
/** Format: uri */
|
|
9385
|
+
prUrl: string;
|
|
9386
|
+
prNumber: number;
|
|
9387
|
+
branchName: string;
|
|
9388
|
+
};
|
|
9245
9389
|
PhaseRoleDto: {
|
|
9246
9390
|
phase: string;
|
|
9247
9391
|
/** @enum {string} */
|
|
@@ -12877,6 +13021,8 @@ export type SonarQubeRepoMappingValidateRowDto = components['schemas']['SonarQub
|
|
|
12877
13021
|
export type SonarQubeRepoMappingsValidateResponseDto = components['schemas']['SonarQubeRepoMappingsValidateResponseDto'];
|
|
12878
13022
|
export type PagerDutySourceDto = components['schemas']['PagerDutySourceDto'];
|
|
12879
13023
|
export type PagerDutySourceConfigDto = components['schemas']['PagerDutySourceConfigDto'];
|
|
13024
|
+
export type SentrySourceDto = components['schemas']['SentrySourceDto'];
|
|
13025
|
+
export type SentrySourceConfigDto = components['schemas']['SentrySourceConfigDto'];
|
|
12880
13026
|
export type JiraSourceDto = components['schemas']['JiraSourceDto'];
|
|
12881
13027
|
export type JiraSourceConfigDto = components['schemas']['JiraSourceConfigDto'];
|
|
12882
13028
|
export type AgentExecutionProviderDto = components['schemas']['AgentExecutionProviderDto'];
|
|
@@ -13131,6 +13277,15 @@ export type ReadinessFixGuideDto = components['schemas']['ReadinessFixGuideDto']
|
|
|
13131
13277
|
export type FixRetryableErrorCode = components['schemas']['FixRetryableErrorCode'];
|
|
13132
13278
|
export type FixNonRetryableErrorCode = components['schemas']['FixNonRetryableErrorCode'];
|
|
13133
13279
|
export type CreateFixRequestBodyDto = components['schemas']['CreateFixRequestBodyDto'];
|
|
13280
|
+
export type RulesSkillsAssessedTools = components['schemas']['RulesSkillsAssessedTools'];
|
|
13281
|
+
export type RulesSkillsValidateRequestDto = components['schemas']['RulesSkillsValidateRequestDto'];
|
|
13282
|
+
export type RulesSkillsFindingDto = components['schemas']['RulesSkillsFindingDto'];
|
|
13283
|
+
export type RulesSkillsSoftQualityCheckDto = components['schemas']['RulesSkillsSoftQualityCheckDto'];
|
|
13284
|
+
export type RulesSkillsSoftQualitySummaryDto = components['schemas']['RulesSkillsSoftQualitySummaryDto'];
|
|
13285
|
+
export type RulesSkillsProposedFileDto = components['schemas']['RulesSkillsProposedFileDto'];
|
|
13286
|
+
export type RulesSkillsValidateResponseDto = components['schemas']['RulesSkillsValidateResponseDto'];
|
|
13287
|
+
export type RulesSkillsOpenPullRequestRequestDto = components['schemas']['RulesSkillsOpenPullRequestRequestDto'];
|
|
13288
|
+
export type RulesSkillsOpenPullRequestResponseDto = components['schemas']['RulesSkillsOpenPullRequestResponseDto'];
|
|
13134
13289
|
export type PhaseRoleDto = components['schemas']['PhaseRoleDto'];
|
|
13135
13290
|
export type SquadMemberDto = components['schemas']['SquadMemberDto'];
|
|
13136
13291
|
export type CustomWorkStreamTaskDto = components['schemas']['CustomWorkStreamTaskDto'];
|
|
@@ -16206,7 +16361,7 @@ export interface operations {
|
|
|
16206
16361
|
requestBody: {
|
|
16207
16362
|
content: {
|
|
16208
16363
|
"application/json": {
|
|
16209
|
-
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"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
16364
|
+
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"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"])[];
|
|
16210
16365
|
};
|
|
16211
16366
|
};
|
|
16212
16367
|
};
|
|
@@ -16260,7 +16415,7 @@ export interface operations {
|
|
|
16260
16415
|
};
|
|
16261
16416
|
requestBody: {
|
|
16262
16417
|
content: {
|
|
16263
|
-
"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"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
16418
|
+
"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"]["SentrySourceDto"] | components["schemas"]["JiraSourceDto"] | components["schemas"]["TenantSourceEntryDto"];
|
|
16264
16419
|
};
|
|
16265
16420
|
};
|
|
16266
16421
|
responses: {
|
|
@@ -22867,6 +23022,134 @@ export interface operations {
|
|
|
22867
23022
|
};
|
|
22868
23023
|
};
|
|
22869
23024
|
};
|
|
23025
|
+
postRulesSkillsValidate: {
|
|
23026
|
+
parameters: {
|
|
23027
|
+
query?: never;
|
|
23028
|
+
header?: never;
|
|
23029
|
+
path: {
|
|
23030
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
23031
|
+
};
|
|
23032
|
+
cookie?: never;
|
|
23033
|
+
};
|
|
23034
|
+
requestBody: {
|
|
23035
|
+
content: {
|
|
23036
|
+
"application/json": components["schemas"]["RulesSkillsValidateRequestDto"];
|
|
23037
|
+
};
|
|
23038
|
+
};
|
|
23039
|
+
responses: {
|
|
23040
|
+
/** @description Validation result with findings and draft proposed files */
|
|
23041
|
+
200: {
|
|
23042
|
+
headers: {
|
|
23043
|
+
[name: string]: unknown;
|
|
23044
|
+
};
|
|
23045
|
+
content: {
|
|
23046
|
+
"application/json": components["schemas"]["RulesSkillsValidateResponseDto"];
|
|
23047
|
+
};
|
|
23048
|
+
};
|
|
23049
|
+
/** @description Invalid body (e.g. malformed repoId) */
|
|
23050
|
+
400: {
|
|
23051
|
+
headers: {
|
|
23052
|
+
[name: string]: unknown;
|
|
23053
|
+
};
|
|
23054
|
+
content: {
|
|
23055
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
23056
|
+
};
|
|
23057
|
+
};
|
|
23058
|
+
401: components["responses"]["Unauthorized"];
|
|
23059
|
+
403: components["responses"]["Forbidden"];
|
|
23060
|
+
/** @description Workspace or repository not found / not connected */
|
|
23061
|
+
404: {
|
|
23062
|
+
headers: {
|
|
23063
|
+
[name: string]: unknown;
|
|
23064
|
+
};
|
|
23065
|
+
content: {
|
|
23066
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
23067
|
+
};
|
|
23068
|
+
};
|
|
23069
|
+
/** @description No succeeded readiness scan for the repo (`code: readiness_scan_required`), or repository is not a GitHub-connected readiness repo. */
|
|
23070
|
+
422: {
|
|
23071
|
+
headers: {
|
|
23072
|
+
[name: string]: unknown;
|
|
23073
|
+
};
|
|
23074
|
+
content: {
|
|
23075
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
23076
|
+
};
|
|
23077
|
+
};
|
|
23078
|
+
/** @description Clone or GitHub App configuration failed */
|
|
23079
|
+
503: {
|
|
23080
|
+
headers: {
|
|
23081
|
+
[name: string]: unknown;
|
|
23082
|
+
};
|
|
23083
|
+
content: {
|
|
23084
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
23085
|
+
};
|
|
23086
|
+
};
|
|
23087
|
+
};
|
|
23088
|
+
};
|
|
23089
|
+
postRulesSkillsPullRequest: {
|
|
23090
|
+
parameters: {
|
|
23091
|
+
query?: never;
|
|
23092
|
+
header?: never;
|
|
23093
|
+
path: {
|
|
23094
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
23095
|
+
};
|
|
23096
|
+
cookie?: never;
|
|
23097
|
+
};
|
|
23098
|
+
requestBody: {
|
|
23099
|
+
content: {
|
|
23100
|
+
"application/json": components["schemas"]["RulesSkillsOpenPullRequestRequestDto"];
|
|
23101
|
+
};
|
|
23102
|
+
};
|
|
23103
|
+
responses: {
|
|
23104
|
+
/** @description Pull request created */
|
|
23105
|
+
200: {
|
|
23106
|
+
headers: {
|
|
23107
|
+
[name: string]: unknown;
|
|
23108
|
+
};
|
|
23109
|
+
content: {
|
|
23110
|
+
"application/json": components["schemas"]["RulesSkillsOpenPullRequestResponseDto"];
|
|
23111
|
+
};
|
|
23112
|
+
};
|
|
23113
|
+
/** @description Missing proposed files or invalid body (`code: proposed_files_required`). */
|
|
23114
|
+
400: {
|
|
23115
|
+
headers: {
|
|
23116
|
+
[name: string]: unknown;
|
|
23117
|
+
};
|
|
23118
|
+
content: {
|
|
23119
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
23120
|
+
};
|
|
23121
|
+
};
|
|
23122
|
+
401: components["responses"]["Unauthorized"];
|
|
23123
|
+
403: components["responses"]["Forbidden"];
|
|
23124
|
+
/** @description Workspace or repository not found */
|
|
23125
|
+
404: {
|
|
23126
|
+
headers: {
|
|
23127
|
+
[name: string]: unknown;
|
|
23128
|
+
};
|
|
23129
|
+
content: {
|
|
23130
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
23131
|
+
};
|
|
23132
|
+
};
|
|
23133
|
+
/** @description GitHub installation lacks write permissions required for automated PRs */
|
|
23134
|
+
422: {
|
|
23135
|
+
headers: {
|
|
23136
|
+
[name: string]: unknown;
|
|
23137
|
+
};
|
|
23138
|
+
content: {
|
|
23139
|
+
"application/json": components["schemas"]["GithubWritePermissionsRequiredErrorDto"];
|
|
23140
|
+
};
|
|
23141
|
+
};
|
|
23142
|
+
/** @description GitHub installation permissions could not be verified, or PR create failed */
|
|
23143
|
+
503: {
|
|
23144
|
+
headers: {
|
|
23145
|
+
[name: string]: unknown;
|
|
23146
|
+
};
|
|
23147
|
+
content: {
|
|
23148
|
+
"application/json": components["schemas"]["GithubPermissionsCheckFailedErrorDto"] | components["schemas"]["ErrorMessageDto"];
|
|
23149
|
+
};
|
|
23150
|
+
};
|
|
23151
|
+
};
|
|
23152
|
+
};
|
|
22870
23153
|
getReadinessIssueFixGuide: {
|
|
22871
23154
|
parameters: {
|
|
22872
23155
|
query?: never;
|