@company-semantics/contracts 27.0.0 → 27.1.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/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTO-GENERATED — do not edit. Run pnpm generate:spec-hash to regenerate.
|
|
2
|
-
export const SPEC_HASH = '
|
|
3
|
-
export const SPEC_HASH_FULL = '
|
|
2
|
+
export const SPEC_HASH = '0a8d3435dba9' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '0a8d3435dba94642fe2cf529b1743d868363875302393e23cf0b9238a4f5cd47' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -1662,6 +1662,23 @@ export interface paths {
|
|
|
1662
1662
|
patch?: never;
|
|
1663
1663
|
trace?: never;
|
|
1664
1664
|
};
|
|
1665
|
+
"/api/company-md/docs/:id/context-bank/suggestions": {
|
|
1666
|
+
parameters: {
|
|
1667
|
+
query?: never;
|
|
1668
|
+
header?: never;
|
|
1669
|
+
path?: never;
|
|
1670
|
+
cookie?: never;
|
|
1671
|
+
};
|
|
1672
|
+
/** Suggest context docs semantically nearest to a parent the caller may view */
|
|
1673
|
+
get: operations["companyMdContextDocSuggestions"];
|
|
1674
|
+
put?: never;
|
|
1675
|
+
post?: never;
|
|
1676
|
+
delete?: never;
|
|
1677
|
+
options?: never;
|
|
1678
|
+
head?: never;
|
|
1679
|
+
patch?: never;
|
|
1680
|
+
trace?: never;
|
|
1681
|
+
};
|
|
1665
1682
|
"/api/company-md/search": {
|
|
1666
1683
|
parameters: {
|
|
1667
1684
|
query?: never;
|
|
@@ -4458,6 +4475,10 @@ export interface components {
|
|
|
4458
4475
|
SearchContextDocsResponse: {
|
|
4459
4476
|
items: components["schemas"]["ContextDocDiscoveryHit"][];
|
|
4460
4477
|
};
|
|
4478
|
+
/** @description Semantically nearest context-doc suggestions the caller may view. */
|
|
4479
|
+
SuggestContextDocsResponse: {
|
|
4480
|
+
items: components["schemas"]["ContextDocDiscoveryHit"][];
|
|
4481
|
+
};
|
|
4461
4482
|
/** @description Ranked retrieval hits plus the source kinds actually searched. */
|
|
4462
4483
|
CompanyMdSearchResponse: {
|
|
4463
4484
|
hits: {
|
|
@@ -8338,6 +8359,42 @@ export interface operations {
|
|
|
8338
8359
|
};
|
|
8339
8360
|
};
|
|
8340
8361
|
};
|
|
8362
|
+
companyMdContextDocSuggestions: {
|
|
8363
|
+
parameters: {
|
|
8364
|
+
query?: {
|
|
8365
|
+
limit?: number;
|
|
8366
|
+
};
|
|
8367
|
+
header?: never;
|
|
8368
|
+
path?: never;
|
|
8369
|
+
cookie?: never;
|
|
8370
|
+
};
|
|
8371
|
+
requestBody?: never;
|
|
8372
|
+
responses: {
|
|
8373
|
+
/** @description ACL-admitted semantically-nearest context-doc suggestions */
|
|
8374
|
+
200: {
|
|
8375
|
+
headers: {
|
|
8376
|
+
[name: string]: unknown;
|
|
8377
|
+
};
|
|
8378
|
+
content: {
|
|
8379
|
+
"application/json": components["schemas"]["SuggestContextDocsResponse"];
|
|
8380
|
+
};
|
|
8381
|
+
};
|
|
8382
|
+
/** @description Invalid path or query parameters */
|
|
8383
|
+
400: {
|
|
8384
|
+
headers: {
|
|
8385
|
+
[name: string]: unknown;
|
|
8386
|
+
};
|
|
8387
|
+
content?: never;
|
|
8388
|
+
};
|
|
8389
|
+
/** @description Requires org.view_company_md scope */
|
|
8390
|
+
403: {
|
|
8391
|
+
headers: {
|
|
8392
|
+
[name: string]: unknown;
|
|
8393
|
+
};
|
|
8394
|
+
content?: never;
|
|
8395
|
+
};
|
|
8396
|
+
};
|
|
8397
|
+
};
|
|
8341
8398
|
searchCompanyMd: {
|
|
8342
8399
|
parameters: {
|
|
8343
8400
|
query?: never;
|
|
@@ -24,6 +24,8 @@ export const openApiRoutes = {
|
|
|
24
24
|
'/api/company-md/access-requests/{id}/approve': ['POST'],
|
|
25
25
|
'/api/company-md/access-requests/{id}/deny': ['POST'],
|
|
26
26
|
'/api/company-md/context-bank': ['POST'],
|
|
27
|
+
'/api/company-md/context-bank/search': ['GET'],
|
|
28
|
+
'/api/company-md/docs/:id/context-bank/suggestions': ['GET'],
|
|
27
29
|
'/api/company-md/docs/{id}': ['GET'],
|
|
28
30
|
'/api/company-md/docs/{id}/access-requests': ['GET', 'POST'],
|
|
29
31
|
'/api/company-md/docs/{id}/content': ['PUT'],
|