@thinkai/tai-api-contract 2.192.0 → 2.193.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.
|
@@ -1894,6 +1894,26 @@ export interface paths {
|
|
|
1894
1894
|
patch?: never;
|
|
1895
1895
|
trace?: never;
|
|
1896
1896
|
};
|
|
1897
|
+
"/workspaces/{workspaceId}/integrations/github/installations/{installationId}/automated-fixes/pr-creation-mode": {
|
|
1898
|
+
parameters: {
|
|
1899
|
+
query?: never;
|
|
1900
|
+
header?: never;
|
|
1901
|
+
path?: never;
|
|
1902
|
+
cookie?: never;
|
|
1903
|
+
};
|
|
1904
|
+
get?: never;
|
|
1905
|
+
/**
|
|
1906
|
+
* Set fix PR creation mode for a GitHub installation
|
|
1907
|
+
* @description Workspace admin only. Sets whether readiness fix PRs are opened only after an explicit Fix it (`manual`) or may be auto-enqueued by the fix processor (`auto`). Requires a linked Automations (write) installation. The mode is ignored while automated fixes are disabled or the write app is suspended.
|
|
1908
|
+
*/
|
|
1909
|
+
put: operations["putGithubAutomatedFixesPrCreationMode"];
|
|
1910
|
+
post?: never;
|
|
1911
|
+
delete?: never;
|
|
1912
|
+
options?: never;
|
|
1913
|
+
head?: never;
|
|
1914
|
+
patch?: never;
|
|
1915
|
+
trace?: never;
|
|
1916
|
+
};
|
|
1897
1917
|
"/workspaces/{workspaceId}/integrations/github/user-authorize-url": {
|
|
1898
1918
|
parameters: {
|
|
1899
1919
|
query?: never;
|
|
@@ -8086,6 +8106,11 @@ export interface components {
|
|
|
8086
8106
|
automatedFixesEnabled: boolean;
|
|
8087
8107
|
/** @description True when an Automations (write) GitHub App installation is linked. */
|
|
8088
8108
|
writeAppInstalled: boolean;
|
|
8109
|
+
/**
|
|
8110
|
+
* @description `manual` (default): open fix PRs only after Fix it / POST readiness/fixes. `auto`: allow the fix processor to auto-enqueue open readiness issues for this installation when automated fixes are enabled. Meaningful only when `writeAppInstalled` is true.
|
|
8111
|
+
* @enum {string}
|
|
8112
|
+
*/
|
|
8113
|
+
fixPrCreationMode: "manual" | "auto";
|
|
8089
8114
|
/** @description GitHub installation id for the Automations (write) app, when linked. */
|
|
8090
8115
|
writeInstallationId?: string | null;
|
|
8091
8116
|
/**
|
|
@@ -8437,6 +8462,17 @@ export interface components {
|
|
|
8437
8462
|
url: string;
|
|
8438
8463
|
state: string;
|
|
8439
8464
|
};
|
|
8465
|
+
GithubFixPrCreationModeRequestDto: {
|
|
8466
|
+
/**
|
|
8467
|
+
* @description `manual` requires Fix it; `auto` allows processor auto-enqueue of open fix issues.
|
|
8468
|
+
* @enum {string}
|
|
8469
|
+
*/
|
|
8470
|
+
mode: "manual" | "auto";
|
|
8471
|
+
};
|
|
8472
|
+
GithubFixPrCreationModeResponseDto: {
|
|
8473
|
+
/** @enum {string} */
|
|
8474
|
+
mode: "manual" | "auto";
|
|
8475
|
+
};
|
|
8440
8476
|
GithubAutomatedFixesEnableResponseDto: {
|
|
8441
8477
|
/**
|
|
8442
8478
|
* @description enabled — write app already linked and flag flipped; needs_install — client should call install-url with intent=enable_fixes.
|
|
@@ -13369,6 +13405,8 @@ export type GithubActionsEnableResponseDto = components['schemas']['GithubAction
|
|
|
13369
13405
|
export type GithubInstallationStatusDto = components['schemas']['GithubInstallationStatusDto'];
|
|
13370
13406
|
export type GithubInstallUrlRequestDto = components['schemas']['GithubInstallUrlRequestDto'];
|
|
13371
13407
|
export type GithubInstallUrlResponseDto = components['schemas']['GithubInstallUrlResponseDto'];
|
|
13408
|
+
export type GithubFixPrCreationModeRequestDto = components['schemas']['GithubFixPrCreationModeRequestDto'];
|
|
13409
|
+
export type GithubFixPrCreationModeResponseDto = components['schemas']['GithubFixPrCreationModeResponseDto'];
|
|
13372
13410
|
export type GithubAutomatedFixesEnableResponseDto = components['schemas']['GithubAutomatedFixesEnableResponseDto'];
|
|
13373
13411
|
export type GithubUserAuthorizeUrlRequestDto = components['schemas']['GithubUserAuthorizeUrlRequestDto'];
|
|
13374
13412
|
export type GithubUserAuthorizeUrlResponseDto = components['schemas']['GithubUserAuthorizeUrlResponseDto'];
|
|
@@ -19482,6 +19520,53 @@ export interface operations {
|
|
|
19482
19520
|
};
|
|
19483
19521
|
};
|
|
19484
19522
|
};
|
|
19523
|
+
putGithubAutomatedFixesPrCreationMode: {
|
|
19524
|
+
parameters: {
|
|
19525
|
+
query?: never;
|
|
19526
|
+
header?: never;
|
|
19527
|
+
path: {
|
|
19528
|
+
workspaceId: components["parameters"]["WorkspaceId"];
|
|
19529
|
+
installationId: string;
|
|
19530
|
+
};
|
|
19531
|
+
cookie?: never;
|
|
19532
|
+
};
|
|
19533
|
+
requestBody: {
|
|
19534
|
+
content: {
|
|
19535
|
+
"application/json": components["schemas"]["GithubFixPrCreationModeRequestDto"];
|
|
19536
|
+
};
|
|
19537
|
+
};
|
|
19538
|
+
responses: {
|
|
19539
|
+
/** @description Updated mode */
|
|
19540
|
+
200: {
|
|
19541
|
+
headers: {
|
|
19542
|
+
[name: string]: unknown;
|
|
19543
|
+
};
|
|
19544
|
+
content: {
|
|
19545
|
+
"application/json": components["schemas"]["GithubFixPrCreationModeResponseDto"];
|
|
19546
|
+
};
|
|
19547
|
+
};
|
|
19548
|
+
401: components["responses"]["Unauthorized"];
|
|
19549
|
+
403: components["responses"]["Forbidden"];
|
|
19550
|
+
/** @description Workspace, installation, or write app link not found */
|
|
19551
|
+
404: {
|
|
19552
|
+
headers: {
|
|
19553
|
+
[name: string]: unknown;
|
|
19554
|
+
};
|
|
19555
|
+
content: {
|
|
19556
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19557
|
+
};
|
|
19558
|
+
};
|
|
19559
|
+
/** @description Write installation suspended */
|
|
19560
|
+
409: {
|
|
19561
|
+
headers: {
|
|
19562
|
+
[name: string]: unknown;
|
|
19563
|
+
};
|
|
19564
|
+
content: {
|
|
19565
|
+
"application/json": components["schemas"]["ErrorMessageDto"];
|
|
19566
|
+
};
|
|
19567
|
+
};
|
|
19568
|
+
};
|
|
19569
|
+
};
|
|
19485
19570
|
postGithubUserAuthorizeUrl: {
|
|
19486
19571
|
parameters: {
|
|
19487
19572
|
query?: never;
|