@company-semantics/contracts 27.10.0 → 27.11.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 = '82dd95d10a7a' as const;
|
|
3
|
+
export const SPEC_HASH_FULL = '82dd95d10a7ab91ce536889a823b6fb149634142227bedc4a68e012e1a48256d' as const;
|
package/src/api/generated.ts
CHANGED
|
@@ -1542,6 +1542,40 @@ export interface paths {
|
|
|
1542
1542
|
patch?: never;
|
|
1543
1543
|
trace?: never;
|
|
1544
1544
|
};
|
|
1545
|
+
"/api/company-md/context-bank/{contextDocId}/attachments": {
|
|
1546
|
+
parameters: {
|
|
1547
|
+
query?: never;
|
|
1548
|
+
header?: never;
|
|
1549
|
+
path?: never;
|
|
1550
|
+
cookie?: never;
|
|
1551
|
+
};
|
|
1552
|
+
/** List parent docs a context doc is attached to, with per-parent detach capability */
|
|
1553
|
+
get: operations["getCompanyMdContextDocAttachments"];
|
|
1554
|
+
put?: never;
|
|
1555
|
+
post?: never;
|
|
1556
|
+
delete?: never;
|
|
1557
|
+
options?: never;
|
|
1558
|
+
head?: never;
|
|
1559
|
+
patch?: never;
|
|
1560
|
+
trace?: never;
|
|
1561
|
+
};
|
|
1562
|
+
"/api/company-md/context-bank/{contextDocId}/detach": {
|
|
1563
|
+
parameters: {
|
|
1564
|
+
query?: never;
|
|
1565
|
+
header?: never;
|
|
1566
|
+
path?: never;
|
|
1567
|
+
cookie?: never;
|
|
1568
|
+
};
|
|
1569
|
+
get?: never;
|
|
1570
|
+
put?: never;
|
|
1571
|
+
/** Detach a context doc from parent docs; deletes the doc when orphaned */
|
|
1572
|
+
post: operations["detachCompanyMdContextDoc"];
|
|
1573
|
+
delete?: never;
|
|
1574
|
+
options?: never;
|
|
1575
|
+
head?: never;
|
|
1576
|
+
patch?: never;
|
|
1577
|
+
trace?: never;
|
|
1578
|
+
};
|
|
1545
1579
|
"/api/company-md/docs/{id}/context-bank/{contextDocId}/order": {
|
|
1546
1580
|
parameters: {
|
|
1547
1581
|
query?: never;
|
|
@@ -4558,6 +4592,9 @@ export interface components {
|
|
|
4558
4592
|
AssociateContextDocRequest: {
|
|
4559
4593
|
contextDocId: string;
|
|
4560
4594
|
};
|
|
4595
|
+
DetachContextDocRequest: {
|
|
4596
|
+
parentDocIds: string[];
|
|
4597
|
+
};
|
|
4561
4598
|
TransferCompanyMdDocOwnerRequest: {
|
|
4562
4599
|
/** Format: uuid */
|
|
4563
4600
|
newOwnerUserId: string;
|
|
@@ -8194,6 +8231,50 @@ export interface operations {
|
|
|
8194
8231
|
};
|
|
8195
8232
|
};
|
|
8196
8233
|
};
|
|
8234
|
+
getCompanyMdContextDocAttachments: {
|
|
8235
|
+
parameters: {
|
|
8236
|
+
query?: never;
|
|
8237
|
+
header?: never;
|
|
8238
|
+
path: {
|
|
8239
|
+
contextDocId: string;
|
|
8240
|
+
};
|
|
8241
|
+
cookie?: never;
|
|
8242
|
+
};
|
|
8243
|
+
requestBody?: never;
|
|
8244
|
+
responses: {
|
|
8245
|
+
/** @description Attachments with canDetach flags */
|
|
8246
|
+
200: {
|
|
8247
|
+
headers: {
|
|
8248
|
+
[name: string]: unknown;
|
|
8249
|
+
};
|
|
8250
|
+
content?: never;
|
|
8251
|
+
};
|
|
8252
|
+
};
|
|
8253
|
+
};
|
|
8254
|
+
detachCompanyMdContextDoc: {
|
|
8255
|
+
parameters: {
|
|
8256
|
+
query?: never;
|
|
8257
|
+
header?: never;
|
|
8258
|
+
path: {
|
|
8259
|
+
contextDocId: string;
|
|
8260
|
+
};
|
|
8261
|
+
cookie?: never;
|
|
8262
|
+
};
|
|
8263
|
+
requestBody: {
|
|
8264
|
+
content: {
|
|
8265
|
+
"application/json": components["schemas"]["DetachContextDocRequest"];
|
|
8266
|
+
};
|
|
8267
|
+
};
|
|
8268
|
+
responses: {
|
|
8269
|
+
/** @description Associations removed; deleted=true when the doc was orphaned */
|
|
8270
|
+
200: {
|
|
8271
|
+
headers: {
|
|
8272
|
+
[name: string]: unknown;
|
|
8273
|
+
};
|
|
8274
|
+
content?: never;
|
|
8275
|
+
};
|
|
8276
|
+
};
|
|
8277
|
+
};
|
|
8197
8278
|
reorderCompanyMdContextBankItem: {
|
|
8198
8279
|
parameters: {
|
|
8199
8280
|
query?: never;
|
|
@@ -25,6 +25,8 @@ export const openApiRoutes = {
|
|
|
25
25
|
'/api/company-md/access-requests/{id}/deny': ['POST'],
|
|
26
26
|
'/api/company-md/context-bank': ['POST'],
|
|
27
27
|
'/api/company-md/context-bank/search': ['GET'],
|
|
28
|
+
'/api/company-md/context-bank/{contextDocId}/attachments': ['GET'],
|
|
29
|
+
'/api/company-md/context-bank/{contextDocId}/detach': ['POST'],
|
|
28
30
|
'/api/company-md/docs/:id/context-bank/suggestions': ['GET'],
|
|
29
31
|
'/api/company-md/docs/{id}': ['GET'],
|
|
30
32
|
'/api/company-md/docs/{id}/access-requests': ['GET', 'POST'],
|