casedev 0.2.0 → 0.3.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/CHANGELOG.md +12 -0
- package/package.json +1 -1
- package/resources/ocr/v1.d.mts +31 -19
- package/resources/ocr/v1.d.mts.map +1 -1
- package/resources/ocr/v1.d.ts +31 -19
- package/resources/ocr/v1.d.ts.map +1 -1
- package/resources/vault/objects.d.mts +46 -41
- package/resources/vault/objects.d.mts.map +1 -1
- package/resources/vault/objects.d.ts +46 -41
- package/resources/vault/objects.d.ts.map +1 -1
- package/resources/vault/vault.d.mts +31 -18
- package/resources/vault/vault.d.mts.map +1 -1
- package/resources/vault/vault.d.ts +31 -18
- package/resources/vault/vault.d.ts.map +1 -1
- package/resources/vault/vault.js.map +1 -1
- package/resources/vault/vault.mjs.map +1 -1
- package/resources/voice/streaming.d.mts +1 -1
- package/resources/voice/streaming.d.ts +1 -1
- package/resources/voice/streaming.js +1 -1
- package/resources/voice/streaming.mjs +1 -1
- package/src/resources/ocr/v1.ts +29 -20
- package/src/resources/vault/objects.ts +51 -45
- package/src/resources/vault/vault.ts +36 -21
- package/src/resources/voice/streaming.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -179,17 +179,32 @@ export interface VaultRetrieveResponse {
|
|
|
179
179
|
/**
|
|
180
180
|
* Vault identifier
|
|
181
181
|
*/
|
|
182
|
-
id
|
|
182
|
+
id: string;
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
|
-
*
|
|
185
|
+
* Vault creation timestamp
|
|
186
186
|
*/
|
|
187
|
-
|
|
187
|
+
createdAt: string;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
190
|
+
* S3 bucket for document storage
|
|
191
191
|
*/
|
|
192
|
-
|
|
192
|
+
filesBucket: string;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Vault name
|
|
196
|
+
*/
|
|
197
|
+
name: string;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* AWS region
|
|
201
|
+
*/
|
|
202
|
+
region: string;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Document chunking strategy configuration
|
|
206
|
+
*/
|
|
207
|
+
chunkStrategy?: VaultRetrieveResponse.ChunkStrategy;
|
|
193
208
|
|
|
194
209
|
/**
|
|
195
210
|
* Vault description
|
|
@@ -201,11 +216,6 @@ export interface VaultRetrieveResponse {
|
|
|
201
216
|
*/
|
|
202
217
|
enableGraph?: boolean;
|
|
203
218
|
|
|
204
|
-
/**
|
|
205
|
-
* S3 bucket for document storage
|
|
206
|
-
*/
|
|
207
|
-
filesBucket?: string;
|
|
208
|
-
|
|
209
219
|
/**
|
|
210
220
|
* Search index name
|
|
211
221
|
*/
|
|
@@ -221,16 +231,6 @@ export interface VaultRetrieveResponse {
|
|
|
221
231
|
*/
|
|
222
232
|
metadata?: unknown;
|
|
223
233
|
|
|
224
|
-
/**
|
|
225
|
-
* Vault name
|
|
226
|
-
*/
|
|
227
|
-
name?: string;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* AWS region
|
|
231
|
-
*/
|
|
232
|
-
region?: string;
|
|
233
|
-
|
|
234
234
|
/**
|
|
235
235
|
* Total storage size in bytes
|
|
236
236
|
*/
|
|
@@ -433,6 +433,20 @@ export namespace VaultSearchResponse {
|
|
|
433
433
|
* Preview of the chunk text (up to 500 characters)
|
|
434
434
|
*/
|
|
435
435
|
text?: string;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* Ending word index (0-based) in the OCR word list. Use with GET
|
|
439
|
+
* /vault/:id/objects/:objectId/ocr-words to retrieve bounding boxes for
|
|
440
|
+
* highlighting.
|
|
441
|
+
*/
|
|
442
|
+
word_end_index?: number | null;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Starting word index (0-based) in the OCR word list. Use with GET
|
|
446
|
+
* /vault/:id/objects/:objectId/ocr-words to retrieve bounding boxes for
|
|
447
|
+
* highlighting.
|
|
448
|
+
*/
|
|
449
|
+
word_start_index?: number | null;
|
|
436
450
|
}
|
|
437
451
|
|
|
438
452
|
export interface Source {
|
|
@@ -610,7 +624,8 @@ export interface VaultUploadParams {
|
|
|
610
624
|
path?: string;
|
|
611
625
|
|
|
612
626
|
/**
|
|
613
|
-
*
|
|
627
|
+
* File size in bytes (optional, max 500MB). When provided, enforces exact file
|
|
628
|
+
* size at S3 level.
|
|
614
629
|
*/
|
|
615
630
|
sizeBytes?: number;
|
|
616
631
|
}
|
|
@@ -16,7 +16,7 @@ export class Streaming extends APIResource {
|
|
|
16
16
|
* - Encoding: PCM 16-bit little-endian
|
|
17
17
|
* - Channels: Mono (1 channel)
|
|
18
18
|
*
|
|
19
|
-
* **Pricing:** $0.
|
|
19
|
+
* **Pricing:** $0.01 per minute ($0.60 per hour)
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
22
22
|
* ```ts
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.3.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.3.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.3.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|