@thinkai/tai-api-contract 2.58.0-pr.901.2e63dee8 → 2.58.0-pr.901.7f05b4b4

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.
@@ -4230,6 +4230,22 @@ export interface components {
4230
4230
  */
4231
4231
  granted?: "read" | "write" | "admin" | null;
4232
4232
  };
4233
+ GithubWritePermissionsRequiredErrorDto: {
4234
+ /** @enum {string} */
4235
+ error: "github_write_permissions_required";
4236
+ missingPermissions: components["schemas"]["GithubMissingPermissionDto"][];
4237
+ /** @description GitHub installation settings URL to approve write permissions. */
4238
+ manageUrl?: string | null;
4239
+ /** @description Human-readable summary of the write permission upgrade. */
4240
+ writeUpgradeMessage?: string | null;
4241
+ };
4242
+ GithubPermissionsCheckFailedErrorDto: {
4243
+ /**
4244
+ * @description GitHub installation permissions could not be verified (transient upstream failure).
4245
+ * @enum {string}
4246
+ */
4247
+ error: "github_permissions_check_failed";
4248
+ };
4233
4249
  GithubInstallationSummaryDto: {
4234
4250
  installationId: string;
4235
4251
  account: components["schemas"]["GithubAccountDto"];
@@ -5855,6 +5871,8 @@ export type RepoEligibilityOverridesDto = components['schemas']['RepoEligibility
5855
5871
  export type WorkspaceRepoEligibilityDto = components['schemas']['WorkspaceRepoEligibilityDto'];
5856
5872
  export type RepoEligibilityLimitsDto = components['schemas']['RepoEligibilityLimitsDto'];
5857
5873
  export type GithubMissingPermissionDto = components['schemas']['GithubMissingPermissionDto'];
5874
+ export type GithubWritePermissionsRequiredErrorDto = components['schemas']['GithubWritePermissionsRequiredErrorDto'];
5875
+ export type GithubPermissionsCheckFailedErrorDto = components['schemas']['GithubPermissionsCheckFailedErrorDto'];
5858
5876
  export type GithubInstallationSummaryDto = components['schemas']['GithubInstallationSummaryDto'];
5859
5877
  export type GithubPendingApprovalDto = components['schemas']['GithubPendingApprovalDto'];
5860
5878
  export type GithubSetupInProgressDto = components['schemas']['GithubSetupInProgressDto'];
@@ -11366,6 +11384,24 @@ export interface operations {
11366
11384
  "application/json": components["schemas"]["ErrorMessageDto"];
11367
11385
  };
11368
11386
  };
11387
+ /** @description GitHub installation lacks write permissions required for automated fix PRs */
11388
+ 422: {
11389
+ headers: {
11390
+ [name: string]: unknown;
11391
+ };
11392
+ content: {
11393
+ "application/json": components["schemas"]["GithubWritePermissionsRequiredErrorDto"];
11394
+ };
11395
+ };
11396
+ /** @description GitHub installation permissions could not be verified */
11397
+ 503: {
11398
+ headers: {
11399
+ [name: string]: unknown;
11400
+ };
11401
+ content: {
11402
+ "application/json": components["schemas"]["GithubPermissionsCheckFailedErrorDto"];
11403
+ };
11404
+ };
11369
11405
  };
11370
11406
  };
11371
11407
  postReadinessFixRetrigger: {
@@ -11409,6 +11445,24 @@ export interface operations {
11409
11445
  "application/json": components["schemas"]["ErrorMessageDto"];
11410
11446
  };
11411
11447
  };
11448
+ /** @description GitHub installation lacks write permissions required for automated fix PRs */
11449
+ 422: {
11450
+ headers: {
11451
+ [name: string]: unknown;
11452
+ };
11453
+ content: {
11454
+ "application/json": components["schemas"]["GithubWritePermissionsRequiredErrorDto"];
11455
+ };
11456
+ };
11457
+ /** @description GitHub installation permissions could not be verified */
11458
+ 503: {
11459
+ headers: {
11460
+ [name: string]: unknown;
11461
+ };
11462
+ content: {
11463
+ "application/json": components["schemas"]["GithubPermissionsCheckFailedErrorDto"];
11464
+ };
11465
+ };
11412
11466
  };
11413
11467
  };
11414
11468
  putCursorPlatformKeyConsent: {