@thinkai/tai-api-contract 2.250.0 → 2.251.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.
@@ -1,7 +1,7 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
3
  title: ThinkAI API
4
- version: 2.250.0
4
+ version: 2.251.0
5
5
  description: >
6
6
  Contract surface for the AI Driven SDLC backend used by ThinkAI.
7
7
  Workspace-scoped routes use `/workspaces/{workspaceId}/...`.
@@ -7306,6 +7306,7 @@ paths:
7306
7306
  - $ref: "#/components/parameters/GithubRepoOffset"
7307
7307
  - $ref: "#/components/parameters/GithubRepoSort"
7308
7308
  - $ref: "#/components/parameters/GithubRepoOrder"
7309
+ - $ref: "#/components/parameters/GithubRepoSearch"
7309
7310
  responses:
7310
7311
  "200":
7311
7312
  description: Installation status
@@ -7313,6 +7314,12 @@ paths:
7313
7314
  application/json:
7314
7315
  schema:
7315
7316
  $ref: "#/components/schemas/GithubInstallationStatusDto"
7317
+ "400":
7318
+ description: Invalid `repoLimit`, `repoOffset`, `repoSort`, `repoOrder`, or `search` query parameter
7319
+ content:
7320
+ application/json:
7321
+ schema:
7322
+ $ref: "#/components/schemas/ErrorMessageDto"
7316
7323
  "401":
7317
7324
  $ref: "#/components/responses/Unauthorized"
7318
7325
  "403":
@@ -17582,6 +17589,17 @@ components:
17582
17589
  type: string
17583
17590
  enum: [asc, desc]
17584
17591
  default: asc
17592
+ GithubRepoSearch:
17593
+ name: search
17594
+ in: query
17595
+ required: false
17596
+ description: >
17597
+ Case-insensitive substring filter on repository `fullName`, `name`, or `language`,
17598
+ applied before `repoLimit`/`repoOffset` paging (for both top-level `repos` and each
17599
+ installation's `repos`). Empty or whitespace-only values are treated as unfiltered.
17600
+ schema:
17601
+ type: string
17602
+ maxLength: 256
17585
17603
 
17586
17604
  responses:
17587
17605
  Unauthorized:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkai/tai-api-contract",
3
- "version": "2.250.0",
3
+ "version": "2.251.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -15997,6 +15997,8 @@ export interface components {
15997
15997
  GithubRepoSort: "name" | "updatedAt";
15998
15998
  /** @description Sort direction for the nested installation repo list. */
15999
15999
  GithubRepoOrder: "asc" | "desc";
16000
+ /** @description Case-insensitive substring filter on repository `fullName`, `name`, or `language`, applied before `repoLimit`/`repoOffset` paging (for both top-level `repos` and each installation's `repos`). Empty or whitespace-only values are treated as unfiltered. */
16001
+ GithubRepoSearch: string;
16000
16002
  };
16001
16003
  requestBodies: never;
16002
16004
  headers: never;
@@ -16867,6 +16869,7 @@ export type ParameterGithubRepoLimit = components['parameters']['GithubRepoLimit
16867
16869
  export type ParameterGithubRepoOffset = components['parameters']['GithubRepoOffset'];
16868
16870
  export type ParameterGithubRepoSort = components['parameters']['GithubRepoSort'];
16869
16871
  export type ParameterGithubRepoOrder = components['parameters']['GithubRepoOrder'];
16872
+ export type ParameterGithubRepoSearch = components['parameters']['GithubRepoSearch'];
16870
16873
  export type $defs = Record<string, never>;
16871
16874
  export interface operations {
16872
16875
  adminDeleteUser: {
@@ -24133,6 +24136,8 @@ export interface operations {
24133
24136
  repoSort?: components["parameters"]["GithubRepoSort"];
24134
24137
  /** @description Sort direction for the nested installation repo list. */
24135
24138
  repoOrder?: components["parameters"]["GithubRepoOrder"];
24139
+ /** @description Case-insensitive substring filter on repository `fullName`, `name`, or `language`, applied before `repoLimit`/`repoOffset` paging (for both top-level `repos` and each installation's `repos`). Empty or whitespace-only values are treated as unfiltered. */
24140
+ search?: components["parameters"]["GithubRepoSearch"];
24136
24141
  };
24137
24142
  header?: never;
24138
24143
  path: {
@@ -24151,6 +24156,15 @@ export interface operations {
24151
24156
  "application/json": components["schemas"]["GithubInstallationStatusDto"];
24152
24157
  };
24153
24158
  };
24159
+ /** @description Invalid `repoLimit`, `repoOffset`, `repoSort`, `repoOrder`, or `search` query parameter */
24160
+ 400: {
24161
+ headers: {
24162
+ [name: string]: unknown;
24163
+ };
24164
+ content: {
24165
+ "application/json": components["schemas"]["ErrorMessageDto"];
24166
+ };
24167
+ };
24154
24168
  401: components["responses"]["Unauthorized"];
24155
24169
  403: components["responses"]["Forbidden"];
24156
24170
  /** @description Workspace does not exist or malformed workspaceId */