casedev 0.70.0 → 0.72.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.
Files changed (113) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -7
  3. package/resources/connectors/v1/index.d.mts +1 -1
  4. package/resources/connectors/v1/index.d.mts.map +1 -1
  5. package/resources/connectors/v1/index.d.ts +1 -1
  6. package/resources/connectors/v1/index.d.ts.map +1 -1
  7. package/resources/connectors/v1/index.js.map +1 -1
  8. package/resources/connectors/v1/index.mjs.map +1 -1
  9. package/resources/connectors/v1/links.d.mts +30 -1
  10. package/resources/connectors/v1/links.d.mts.map +1 -1
  11. package/resources/connectors/v1/links.d.ts +30 -1
  12. package/resources/connectors/v1/links.d.ts.map +1 -1
  13. package/resources/connectors/v1/links.js +19 -0
  14. package/resources/connectors/v1/links.js.map +1 -1
  15. package/resources/connectors/v1/links.mjs +19 -0
  16. package/resources/connectors/v1/links.mjs.map +1 -1
  17. package/resources/connectors/v1/v1.d.mts +2 -2
  18. package/resources/connectors/v1/v1.d.mts.map +1 -1
  19. package/resources/connectors/v1/v1.d.ts +2 -2
  20. package/resources/connectors/v1/v1.d.ts.map +1 -1
  21. package/resources/connectors/v1/v1.js.map +1 -1
  22. package/resources/connectors/v1/v1.mjs.map +1 -1
  23. package/resources/legal/index.d.mts +1 -1
  24. package/resources/legal/index.d.mts.map +1 -1
  25. package/resources/legal/index.d.ts +1 -1
  26. package/resources/legal/index.d.ts.map +1 -1
  27. package/resources/legal/index.js.map +1 -1
  28. package/resources/legal/index.mjs.map +1 -1
  29. package/resources/legal/legal.d.mts +2 -2
  30. package/resources/legal/legal.d.mts.map +1 -1
  31. package/resources/legal/legal.d.ts +2 -2
  32. package/resources/legal/legal.d.ts.map +1 -1
  33. package/resources/legal/legal.js.map +1 -1
  34. package/resources/legal/legal.mjs.map +1 -1
  35. package/resources/legal/v1.d.mts +228 -1
  36. package/resources/legal/v1.d.mts.map +1 -1
  37. package/resources/legal/v1.d.ts +228 -1
  38. package/resources/legal/v1.d.ts.map +1 -1
  39. package/resources/legal/v1.js +17 -0
  40. package/resources/legal/v1.js.map +1 -1
  41. package/resources/legal/v1.mjs +17 -0
  42. package/resources/legal/v1.mjs.map +1 -1
  43. package/resources/linc/v1/sessions.d.mts +36 -0
  44. package/resources/linc/v1/sessions.d.mts.map +1 -1
  45. package/resources/linc/v1/sessions.d.ts +36 -0
  46. package/resources/linc/v1/sessions.d.ts.map +1 -1
  47. package/resources/llm/v1/v1.d.mts +3 -3
  48. package/resources/llm/v1/v1.d.ts +3 -3
  49. package/resources/llm/v1/v1.js +3 -3
  50. package/resources/llm/v1/v1.mjs +3 -3
  51. package/resources/ocr/v1.d.mts +43 -0
  52. package/resources/ocr/v1.d.mts.map +1 -1
  53. package/resources/ocr/v1.d.ts +43 -0
  54. package/resources/ocr/v1.d.ts.map +1 -1
  55. package/resources/skills/skills.d.mts +18 -2
  56. package/resources/skills/skills.d.mts.map +1 -1
  57. package/resources/skills/skills.d.ts +18 -2
  58. package/resources/skills/skills.d.ts.map +1 -1
  59. package/resources/skills/skills.js +7 -2
  60. package/resources/skills/skills.js.map +1 -1
  61. package/resources/skills/skills.mjs +7 -2
  62. package/resources/skills/skills.mjs.map +1 -1
  63. package/resources/vault/folders.d.mts +76 -0
  64. package/resources/vault/folders.d.mts.map +1 -0
  65. package/resources/vault/folders.d.ts +76 -0
  66. package/resources/vault/folders.d.ts.map +1 -0
  67. package/resources/vault/folders.js +58 -0
  68. package/resources/vault/folders.js.map +1 -0
  69. package/resources/vault/folders.mjs +54 -0
  70. package/resources/vault/folders.mjs.map +1 -0
  71. package/resources/vault/index.d.mts +2 -1
  72. package/resources/vault/index.d.mts.map +1 -1
  73. package/resources/vault/index.d.ts +2 -1
  74. package/resources/vault/index.d.ts.map +1 -1
  75. package/resources/vault/index.js +3 -1
  76. package/resources/vault/index.js.map +1 -1
  77. package/resources/vault/index.mjs +1 -0
  78. package/resources/vault/index.mjs.map +1 -1
  79. package/resources/vault/objects.d.mts +61 -1
  80. package/resources/vault/objects.d.mts.map +1 -1
  81. package/resources/vault/objects.d.ts +61 -1
  82. package/resources/vault/objects.d.ts.map +1 -1
  83. package/resources/vault/objects.js +17 -0
  84. package/resources/vault/objects.js.map +1 -1
  85. package/resources/vault/objects.mjs +17 -0
  86. package/resources/vault/objects.mjs.map +1 -1
  87. package/resources/vault/vault.d.mts +6 -2
  88. package/resources/vault/vault.d.mts.map +1 -1
  89. package/resources/vault/vault.d.ts +6 -2
  90. package/resources/vault/vault.d.ts.map +1 -1
  91. package/resources/vault/vault.js +4 -0
  92. package/resources/vault/vault.js.map +1 -1
  93. package/resources/vault/vault.mjs +4 -0
  94. package/resources/vault/vault.mjs.map +1 -1
  95. package/src/resources/connectors/v1/index.ts +1 -0
  96. package/src/resources/connectors/v1/links.ts +53 -0
  97. package/src/resources/connectors/v1/v1.ts +2 -0
  98. package/src/resources/legal/index.ts +2 -0
  99. package/src/resources/legal/legal.ts +4 -0
  100. package/src/resources/legal/v1.ts +313 -0
  101. package/src/resources/linc/v1/sessions.ts +41 -0
  102. package/src/resources/llm/v1/v1.ts +3 -3
  103. package/src/resources/ocr/v1.ts +69 -0
  104. package/src/resources/skills/skills.ts +20 -2
  105. package/src/resources/vault/folders.ts +106 -0
  106. package/src/resources/vault/index.ts +10 -0
  107. package/src/resources/vault/objects.ts +81 -0
  108. package/src/resources/vault/vault.ts +24 -0
  109. package/src/version.ts +1 -1
  110. package/version.d.mts +1 -1
  111. package/version.d.ts +1 -1
  112. package/version.js +1 -1
  113. package/version.mjs +1 -1
@@ -171,6 +171,16 @@ export interface SessionCreateParams {
171
171
  */
172
172
  documentTemplateSlugs?: Array<string> | null;
173
173
 
174
+ /**
175
+ * Body param: Optional caller-supplied executable tool files to install into
176
+ * .linc/extensions/ before the agent starts. Only supported for standalone
177
+ * sessions without capabilityPolicy: read_only. Rejected with a 400 on persistent
178
+ * (workspaceKey/conversationKey) or read_only sessions. At most 10 files, 64KB
179
+ * each, 256KB total. Extension destinations and content hashes are recorded in the
180
+ * session-created audit event; raw code is not logged.
181
+ */
182
+ extensions?: Array<SessionCreateParams.Extension> | null;
183
+
174
184
  /**
175
185
  * Body param
176
186
  */
@@ -193,6 +203,14 @@ export interface SessionCreateParams {
193
203
  */
194
204
  model?: string | null;
195
205
 
206
+ /**
207
+ * Body param: Optional ordered availability fallbacks for this session. Requires
208
+ * an explicit model. An empty array disables fallbacks; omission preserves
209
+ * existing runtime behavior. Linc switches within the same session, preserving
210
+ * context.
211
+ */
212
+ modelFallbacks?: Array<string>;
213
+
196
214
  /**
197
215
  * Body param: Optional caller-provided scoped Case.dev API key for the runtime.
198
216
  */
@@ -204,6 +222,13 @@ export interface SessionCreateParams {
204
222
  */
205
223
  serviceTier?: 'default' | 'priority';
206
224
 
225
+ /**
226
+ * Body param: Defaults to local preinstallation. MCP is an opt-in, org-allowlisted
227
+ * rollout on a separately pinned image; requires a new standalone session and no
228
+ * skillSlugs preinstallation. Execution remains content-approval gated.
229
+ */
230
+ skillsDelivery?: 'local' | 'mcp';
231
+
207
232
  /**
208
233
  * Body param: Skills API slugs to install into the runtime sandbox before the
209
234
  * native session starts.
@@ -247,6 +272,22 @@ export interface SessionCreateParams {
247
272
  }
248
273
 
249
274
  export namespace SessionCreateParams {
275
+ export interface Extension {
276
+ /**
277
+ * UTF-8 tool file content, at most 64KB.
278
+ */
279
+ content: string;
280
+
281
+ /**
282
+ * Bare .ts/.js filename or one-level subdir (e.g. create-automations.ts or
283
+ * automations/index.ts). Each directory must include exactly one index.ts or
284
+ * index.js entrypoint; helper files may accompany it. Platform names
285
+ * (casedev/subagent), root index.ts/index.js, node_modules, hidden top-level
286
+ * names, absolute paths, "..", and other extensions or nesting are rejected.
287
+ */
288
+ path: string;
289
+ }
290
+
250
291
  export interface VaultScope {
251
292
  objectIds: Array<string>;
252
293
 
@@ -33,9 +33,9 @@ export class V1 extends APIResource {
33
33
  }
34
34
 
35
35
  /**
36
- * Retrieve the curated list of available models: OpenAI and Google models plus
37
- * Case.dev's specialized CaseMark legal models. Returns OpenAI-compatible model
38
- * metadata with pricing information.
36
+ * Retrieve the curated list of available models: OpenAI, Anthropic, and Google
37
+ * models plus Case.dev's specialized CaseMark legal models. Returns
38
+ * OpenAI-compatible model metadata with pricing information.
39
39
  *
40
40
  * This endpoint is compatible with OpenAI's models API format, making it easy to
41
41
  * integrate with existing applications.
@@ -87,11 +87,56 @@ export interface V1RetrieveResponse {
87
87
  */
88
88
  status: 'pending' | 'processing' | 'completed' | 'failed';
89
89
 
90
+ /**
91
+ * Total number of OCR chunks.
92
+ */
93
+ chunk_count?: number;
94
+
95
+ /**
96
+ * Exact number of failed OCR chunks.
97
+ */
98
+ chunks_failed?: number;
99
+
90
100
  /**
91
101
  * Job completion timestamp
92
102
  */
93
103
  completed_at?: string;
94
104
 
105
+ /**
106
+ * Safe human-readable failure message; null when no failure is recorded.
107
+ */
108
+ error?: string | null;
109
+
110
+ /**
111
+ * Stable failure identifier, such as source_access_denied, invalid_pdf,
112
+ * inference_failed, chunks_failed, or result_upload_failed. Historic failures may
113
+ * be unclassified.
114
+ */
115
+ error_code?: string | null;
116
+
117
+ /**
118
+ * Operation that failed.
119
+ */
120
+ error_stage?:
121
+ | 'dispatch'
122
+ | 'download'
123
+ | 'document_validation'
124
+ | 'chunking'
125
+ | 'engine_init'
126
+ | 'inference'
127
+ | 'feature_processing'
128
+ | 'result_write'
129
+ | 'chunk_processing'
130
+ | 'result_assembly'
131
+ | 'result_upload'
132
+ | null;
133
+
134
+ /**
135
+ * Bounded failure samples. Page ranges are one-based and inclusive; chunks_failed
136
+ * and chunk_count retain exact totals.
137
+ */
138
+ failed_chunks?: Array<V1RetrieveResponse.FailedChunk> | null;
139
+
95
140
  /**
96
141
  * Additional processing metadata
97
142
  */
@@ -102,12 +147,36 @@ export interface V1RetrieveResponse {
102
147
  */
103
148
  page_count?: number;
104
149
 
150
+ /**
151
+ * Whether retrying the same document may help. Unknown failures retain bounded
152
+ * retry behavior.
153
+ */
154
+ retryable?: boolean | null;
155
+
105
156
  /**
106
157
  * Extracted text content when completed and include_text=true
107
158
  */
108
159
  text?: string;
109
160
  }
110
161
 
162
+ export namespace V1RetrieveResponse {
163
+ export interface FailedChunk {
164
+ chunk_id?: string;
165
+
166
+ error?: string;
167
+
168
+ error_code?: string;
169
+
170
+ error_stage?: string;
171
+
172
+ page_end?: number;
173
+
174
+ page_start?: number;
175
+
176
+ retryable?: boolean;
177
+ }
178
+ }
179
+
111
180
  export interface V1ProcessResponse {
112
181
  /**
113
182
  * Unique job identifier
@@ -50,7 +50,10 @@ export class Skills extends APIResource {
50
50
 
51
51
  /**
52
52
  * Export a skill as an installable filesystem tree for sandbox runtimes.
53
- * Authenticated org-scoped custom skills are resolved before curated skills.
53
+ * Authenticated org-scoped custom skills are resolved before curated skills. Slugs
54
+ * of merged skills are permanent aliases: they export the surviving skill (slug,
55
+ * root and files describe the target) with `redirected_from` set to the requested
56
+ * slug.
54
57
  */
55
58
  export(
56
59
  slug: string,
@@ -62,7 +65,9 @@ export class Skills extends APIResource {
62
65
 
63
66
  /**
64
67
  * Read the full content of a legal skill by its slug. Returns markdown content,
65
- * tags, and metadata.
68
+ * tags, and metadata. Slugs of merged skills are permanent aliases: they return
69
+ * the surviving skill with `redirected_from` set to the requested slug instead of
70
+ * an error.
66
71
  */
67
72
  read(slug: string, options?: RequestOptions): APIPromise<SkillReadResponse> {
68
73
  return this._client.get(path`/skills/${slug}`, options);
@@ -196,6 +201,12 @@ export namespace SkillCatalogResponse {
196
201
  export interface SkillExportResponse {
197
202
  files?: Array<SkillExportResponse.File>;
198
203
 
204
+ /**
205
+ * Present only when the requested slug is a permanent alias of a merged skill.
206
+ * Holds the requested slug; slug, root and files describe the target skill.
207
+ */
208
+ redirected_from?: string;
209
+
199
210
  root?: string;
200
211
 
201
212
  slug?: string;
@@ -255,6 +266,13 @@ export interface SkillReadResponse {
255
266
  */
256
267
  name?: string;
257
268
 
269
+ /**
270
+ * Present only when the requested slug is a permanent alias of a merged skill.
271
+ * Holds the slug that was requested; every other field (including slug) describes
272
+ * the target skill. Omitted for non-alias reads.
273
+ */
274
+ redirected_from?: string;
275
+
258
276
  /**
259
277
  * Unique skill identifier
260
278
  */
@@ -0,0 +1,106 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import { APIPromise } from '../../core/api-promise';
5
+ import { RequestOptions } from '../../internal/request-options';
6
+ import { path } from '../../internal/utils/path';
7
+
8
+ /**
9
+ * Secure document storage with semantic search
10
+ */
11
+ export class Folders extends APIResource {
12
+ /**
13
+ * Creates a durable empty folder and missing parents. Metadata only; no S3 objects
14
+ * are created. Requires vault-wide write access and vault ownership.
15
+ *
16
+ * @example
17
+ * ```ts
18
+ * const folder = await client.vault.folders.create('id', {
19
+ * path: 'path',
20
+ * });
21
+ * ```
22
+ */
23
+ create(id: string, body: FolderCreateParams, options?: RequestOptions): APIPromise<FolderCreateResponse> {
24
+ return this._client.post(path`/vault/${id}/folders`, { body, ...options });
25
+ }
26
+
27
+ /**
28
+ * Lists durable folder paths, including empty folders. Combine with paginated
29
+ * object paths to display imported folders. Requires vault-wide read access;
30
+ * shared vault reads are supported.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const folders = await client.vault.folders.list('id');
35
+ * ```
36
+ */
37
+ list(id: string, options?: RequestOptions): APIPromise<FolderListResponse> {
38
+ return this._client.get(path`/vault/${id}/folders`, options);
39
+ }
40
+
41
+ /**
42
+ * Atomically renames or moves a folder, its empty descendants and all descendant
43
+ * object paths. Rejects an existing destination, root and self-descendant moves,
44
+ * and busy objects. Supports vaults with at most 25000 objects. Uses a 5-second
45
+ * lock timeout and 30-second statement timeout. Does not transfer file bytes.
46
+ * Requires vault-wide write access and vault ownership.
47
+ *
48
+ * @example
49
+ * ```ts
50
+ * const response = await client.vault.folders.move('id', {
51
+ * newPath: 'newPath',
52
+ * path: 'path',
53
+ * });
54
+ * ```
55
+ */
56
+ move(id: string, body: FolderMoveParams, options?: RequestOptions): APIPromise<FolderMoveResponse> {
57
+ return this._client.patch(path`/vault/${id}/folders`, { body, ...options });
58
+ }
59
+ }
60
+
61
+ export interface FolderCreateResponse {
62
+ folderPaths: Array<string>;
63
+
64
+ path: string;
65
+ }
66
+
67
+ export interface FolderListResponse {
68
+ folderPaths: Array<string>;
69
+ }
70
+
71
+ export interface FolderMoveResponse {
72
+ folderPaths?: Array<string>;
73
+
74
+ movedFiles?: number;
75
+
76
+ newPath?: string;
77
+
78
+ path?: string;
79
+
80
+ revision?: string;
81
+ }
82
+
83
+ export interface FolderCreateParams {
84
+ path: string;
85
+ }
86
+
87
+ export interface FolderMoveParams {
88
+ newPath: string;
89
+
90
+ path: string;
91
+
92
+ /**
93
+ * Revision from a previous move, for safe Undo.
94
+ */
95
+ expectedRevision?: string;
96
+ }
97
+
98
+ export declare namespace Folders {
99
+ export {
100
+ type FolderCreateResponse as FolderCreateResponse,
101
+ type FolderListResponse as FolderListResponse,
102
+ type FolderMoveResponse as FolderMoveResponse,
103
+ type FolderCreateParams as FolderCreateParams,
104
+ type FolderMoveParams as FolderMoveParams,
105
+ };
106
+ }
@@ -1,6 +1,14 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  export { Events } from './events/index';
4
+ export {
5
+ Folders,
6
+ type FolderCreateResponse,
7
+ type FolderListResponse,
8
+ type FolderMoveResponse,
9
+ type FolderCreateParams,
10
+ type FolderMoveParams,
11
+ } from './folders';
4
12
  export { Groups, type GroupCreateParams, type GroupUpdateParams } from './groups';
5
13
  export {
6
14
  Memory,
@@ -36,6 +44,7 @@ export {
36
44
  type ObjectGetTextResponse,
37
45
  type ObjectMergeResponse,
38
46
  type ObjectMoveResponse,
47
+ type ObjectOrganizeResponse,
39
48
  type ObjectRetrieveParams,
40
49
  type ObjectUpdateParams,
41
50
  type ObjectListParams,
@@ -49,6 +58,7 @@ export {
49
58
  type ObjectGetTextParams,
50
59
  type ObjectMergeParams,
51
60
  type ObjectMoveParams,
61
+ type ObjectOrganizeParams,
52
62
  } from './objects';
53
63
  export {
54
64
  Vault,
@@ -328,6 +328,28 @@ export class Objects extends APIResource {
328
328
  headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
329
329
  });
330
330
  }
331
+
332
+ /**
333
+ * Atomically moves up to 500 files to a folder. Authoritative transcription
334
+ * results follow source media. Selecting a transcription result requires selecting
335
+ * its source media too. Source and destination folders remain durable even when
336
+ * empty. Metadata only; requires vault-wide write access and vault ownership.
337
+ *
338
+ * @example
339
+ * ```ts
340
+ * const response = await client.vault.objects.organize('id', {
341
+ * objectIds: ['string'],
342
+ * path: 'path',
343
+ * });
344
+ * ```
345
+ */
346
+ organize(
347
+ id: string,
348
+ body: ObjectOrganizeParams,
349
+ options?: RequestOptions,
350
+ ): APIPromise<ObjectOrganizeResponse> {
351
+ return this._client.post(path`/vault/${id}/objects/organize`, { body, ...options });
352
+ }
331
353
  }
332
354
 
333
355
  export interface ObjectRetrieveResponse {
@@ -534,6 +556,11 @@ export namespace ObjectListResponse {
534
556
  */
535
557
  file_origin?: { [key: string]: unknown } | null;
536
558
 
559
+ /**
560
+ * Canonical folder path, excluding the filename even for legacy ZIP imports.
561
+ */
562
+ folderPath?: string;
563
+
537
564
  /**
538
565
  * Processing completion timestamp
539
566
  */
@@ -1011,6 +1038,22 @@ export interface ObjectMoveResponse {
1011
1038
  sourceVaultId?: string;
1012
1039
  }
1013
1040
 
1041
+ export interface ObjectOrganizeResponse {
1042
+ folderPaths?: Array<string>;
1043
+
1044
+ moves?: Array<ObjectOrganizeResponse.Move>;
1045
+ }
1046
+
1047
+ export namespace ObjectOrganizeResponse {
1048
+ export interface Move {
1049
+ id?: string;
1050
+
1051
+ path?: string;
1052
+
1053
+ previousPath?: string;
1054
+ }
1055
+ }
1056
+
1014
1057
  export interface ObjectRetrieveParams {
1015
1058
  /**
1016
1059
  * Vault ID
@@ -1343,6 +1386,42 @@ export interface ObjectMoveParams {
1343
1386
  path?: string | null;
1344
1387
  }
1345
1388
 
1389
+ export type ObjectOrganizeParams = ObjectOrganizeParams.Variant0 | ObjectOrganizeParams.Variant1;
1390
+
1391
+ export declare namespace ObjectOrganizeParams {
1392
+ export interface Variant0 {
1393
+ objectIds: Array<string>;
1394
+
1395
+ path: string;
1396
+
1397
+ /**
1398
+ * Optional current folder preconditions for the supplied object IDs only.
1399
+ * Automatically included transcription results do not require entries; supplied
1400
+ * result entries are checked.
1401
+ */
1402
+ expectedPaths?: { [key: string]: string };
1403
+ }
1404
+
1405
+ export interface Variant1 {
1406
+ /**
1407
+ * Restore confirmed move receipts with optimistic concurrency checks. Include
1408
+ * every receipt for each media/transcription family. Cannot combine with objectIds
1409
+ * or path.
1410
+ */
1411
+ moves: Array<Variant1.Move>;
1412
+ }
1413
+
1414
+ export namespace Variant1 {
1415
+ export interface Move {
1416
+ id: string;
1417
+
1418
+ expectedPath: string;
1419
+
1420
+ path: string;
1421
+ }
1422
+ }
1423
+ }
1424
+
1346
1425
  export declare namespace Objects {
1347
1426
  export {
1348
1427
  type ObjectRetrieveResponse as ObjectRetrieveResponse,
@@ -1357,6 +1436,7 @@ export declare namespace Objects {
1357
1436
  type ObjectGetTextResponse as ObjectGetTextResponse,
1358
1437
  type ObjectMergeResponse as ObjectMergeResponse,
1359
1438
  type ObjectMoveResponse as ObjectMoveResponse,
1439
+ type ObjectOrganizeResponse as ObjectOrganizeResponse,
1360
1440
  type ObjectRetrieveParams as ObjectRetrieveParams,
1361
1441
  type ObjectUpdateParams as ObjectUpdateParams,
1362
1442
  type ObjectListParams as ObjectListParams,
@@ -1370,5 +1450,6 @@ export declare namespace Objects {
1370
1450
  type ObjectGetTextParams as ObjectGetTextParams,
1371
1451
  type ObjectMergeParams as ObjectMergeParams,
1372
1452
  type ObjectMoveParams as ObjectMoveParams,
1453
+ type ObjectOrganizeParams as ObjectOrganizeParams,
1373
1454
  };
1374
1455
  }
@@ -1,6 +1,15 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
+ import * as FoldersAPI from './folders';
5
+ import {
6
+ FolderCreateParams,
7
+ FolderCreateResponse,
8
+ FolderListResponse,
9
+ FolderMoveParams,
10
+ FolderMoveResponse,
11
+ Folders,
12
+ } from './folders';
4
13
  import * as GroupsAPI from './groups';
5
14
  import { GroupCreateParams, GroupUpdateParams, Groups } from './groups';
6
15
  import * as MemoryAPI from './memory';
@@ -48,6 +57,8 @@ import {
48
57
  ObjectMergeResponse,
49
58
  ObjectMoveParams,
50
59
  ObjectMoveResponse,
60
+ ObjectOrganizeParams,
61
+ ObjectOrganizeResponse,
51
62
  ObjectRetrieveParams,
52
63
  ObjectRetrieveResponse,
53
64
  ObjectUpdateParams,
@@ -65,6 +76,7 @@ import { path } from '../../internal/utils/path';
65
76
  * Secure document storage with semantic search
66
77
  */
67
78
  export class Vault extends APIResource {
79
+ folders: FoldersAPI.Folders = new FoldersAPI.Folders(this._client);
68
80
  events: EventsAPI.Events = new EventsAPI.Events(this._client);
69
81
  groups: GroupsAPI.Groups = new GroupsAPI.Groups(this._client);
70
82
  multipart: MultipartAPI.Multipart = new MultipartAPI.Multipart(this._client);
@@ -1112,6 +1124,7 @@ export interface VaultUploadParams {
1112
1124
  'Idempotency-Key'?: string;
1113
1125
  }
1114
1126
 
1127
+ Vault.Folders = Folders;
1115
1128
  Vault.Events = Events;
1116
1129
  Vault.Groups = Groups;
1117
1130
  Vault.Multipart = Multipart;
@@ -1139,6 +1152,15 @@ export declare namespace Vault {
1139
1152
  type VaultUploadParams as VaultUploadParams,
1140
1153
  };
1141
1154
 
1155
+ export {
1156
+ Folders as Folders,
1157
+ type FolderCreateResponse as FolderCreateResponse,
1158
+ type FolderListResponse as FolderListResponse,
1159
+ type FolderMoveResponse as FolderMoveResponse,
1160
+ type FolderCreateParams as FolderCreateParams,
1161
+ type FolderMoveParams as FolderMoveParams,
1162
+ };
1163
+
1142
1164
  export { Events as Events };
1143
1165
 
1144
1166
  export {
@@ -1172,6 +1194,7 @@ export declare namespace Vault {
1172
1194
  type ObjectGetTextResponse as ObjectGetTextResponse,
1173
1195
  type ObjectMergeResponse as ObjectMergeResponse,
1174
1196
  type ObjectMoveResponse as ObjectMoveResponse,
1197
+ type ObjectOrganizeResponse as ObjectOrganizeResponse,
1175
1198
  type ObjectRetrieveParams as ObjectRetrieveParams,
1176
1199
  type ObjectUpdateParams as ObjectUpdateParams,
1177
1200
  type ObjectListParams as ObjectListParams,
@@ -1185,6 +1208,7 @@ export declare namespace Vault {
1185
1208
  type ObjectGetTextParams as ObjectGetTextParams,
1186
1209
  type ObjectMergeParams as ObjectMergeParams,
1187
1210
  type ObjectMoveParams as ObjectMoveParams,
1211
+ type ObjectOrganizeParams as ObjectOrganizeParams,
1188
1212
  };
1189
1213
 
1190
1214
  export {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.70.0'; // x-release-please-version
1
+ export const VERSION = '0.72.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.70.0";
1
+ export declare const VERSION = "0.72.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.70.0";
1
+ export declare const VERSION = "0.72.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.70.0'; // x-release-please-version
4
+ exports.VERSION = '0.72.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.70.0'; // x-release-please-version
1
+ export const VERSION = '0.72.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map