@supabase/storage-js 2.81.2-canary.3 → 2.82.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 (86) hide show
  1. package/README.md +10 -0
  2. package/dist/main/StorageClient.d.ts +15 -1
  3. package/dist/main/StorageClient.d.ts.map +1 -1
  4. package/dist/main/StorageClient.js +15 -1
  5. package/dist/main/StorageClient.js.map +1 -1
  6. package/dist/main/lib/vectors/StorageVectorsClient.d.ts +99 -18
  7. package/dist/main/lib/vectors/StorageVectorsClient.d.ts.map +1 -1
  8. package/dist/main/lib/vectors/StorageVectorsClient.js +95 -17
  9. package/dist/main/lib/vectors/StorageVectorsClient.js.map +1 -1
  10. package/dist/main/lib/vectors/VectorBucketApi.d.ts +35 -7
  11. package/dist/main/lib/vectors/VectorBucketApi.d.ts.map +1 -1
  12. package/dist/main/lib/vectors/VectorBucketApi.js +35 -7
  13. package/dist/main/lib/vectors/VectorBucketApi.js.map +1 -1
  14. package/dist/main/lib/vectors/VectorDataApi.d.ts +44 -8
  15. package/dist/main/lib/vectors/VectorDataApi.d.ts.map +1 -1
  16. package/dist/main/lib/vectors/VectorDataApi.js +44 -8
  17. package/dist/main/lib/vectors/VectorDataApi.js.map +1 -1
  18. package/dist/main/lib/vectors/VectorIndexApi.d.ts +43 -8
  19. package/dist/main/lib/vectors/VectorIndexApi.d.ts.map +1 -1
  20. package/dist/main/lib/vectors/VectorIndexApi.js +39 -7
  21. package/dist/main/lib/vectors/VectorIndexApi.js.map +1 -1
  22. package/dist/main/lib/version.d.ts +1 -1
  23. package/dist/main/lib/version.d.ts.map +1 -1
  24. package/dist/main/lib/version.js +1 -1
  25. package/dist/main/lib/version.js.map +1 -1
  26. package/dist/main/packages/StorageAnalyticsApi.d.ts +77 -26
  27. package/dist/main/packages/StorageAnalyticsApi.d.ts.map +1 -1
  28. package/dist/main/packages/StorageAnalyticsApi.js +77 -26
  29. package/dist/main/packages/StorageAnalyticsApi.js.map +1 -1
  30. package/dist/main/packages/StorageBucketApi.d.ts +143 -1
  31. package/dist/main/packages/StorageBucketApi.d.ts.map +1 -1
  32. package/dist/main/packages/StorageBucketApi.js +143 -1
  33. package/dist/main/packages/StorageBucketApi.js.map +1 -1
  34. package/dist/main/packages/StorageFileApi.d.ts +410 -2
  35. package/dist/main/packages/StorageFileApi.d.ts.map +1 -1
  36. package/dist/main/packages/StorageFileApi.js +410 -2
  37. package/dist/main/packages/StorageFileApi.js.map +1 -1
  38. package/dist/module/StorageClient.d.ts +15 -1
  39. package/dist/module/StorageClient.d.ts.map +1 -1
  40. package/dist/module/StorageClient.js +15 -1
  41. package/dist/module/StorageClient.js.map +1 -1
  42. package/dist/module/lib/vectors/StorageVectorsClient.d.ts +99 -18
  43. package/dist/module/lib/vectors/StorageVectorsClient.d.ts.map +1 -1
  44. package/dist/module/lib/vectors/StorageVectorsClient.js +95 -17
  45. package/dist/module/lib/vectors/StorageVectorsClient.js.map +1 -1
  46. package/dist/module/lib/vectors/VectorBucketApi.d.ts +35 -7
  47. package/dist/module/lib/vectors/VectorBucketApi.d.ts.map +1 -1
  48. package/dist/module/lib/vectors/VectorBucketApi.js +35 -7
  49. package/dist/module/lib/vectors/VectorBucketApi.js.map +1 -1
  50. package/dist/module/lib/vectors/VectorDataApi.d.ts +44 -8
  51. package/dist/module/lib/vectors/VectorDataApi.d.ts.map +1 -1
  52. package/dist/module/lib/vectors/VectorDataApi.js +44 -8
  53. package/dist/module/lib/vectors/VectorDataApi.js.map +1 -1
  54. package/dist/module/lib/vectors/VectorIndexApi.d.ts +43 -8
  55. package/dist/module/lib/vectors/VectorIndexApi.d.ts.map +1 -1
  56. package/dist/module/lib/vectors/VectorIndexApi.js +39 -7
  57. package/dist/module/lib/vectors/VectorIndexApi.js.map +1 -1
  58. package/dist/module/lib/version.d.ts +1 -1
  59. package/dist/module/lib/version.d.ts.map +1 -1
  60. package/dist/module/lib/version.js +1 -1
  61. package/dist/module/lib/version.js.map +1 -1
  62. package/dist/module/packages/StorageAnalyticsApi.d.ts +77 -26
  63. package/dist/module/packages/StorageAnalyticsApi.d.ts.map +1 -1
  64. package/dist/module/packages/StorageAnalyticsApi.js +77 -26
  65. package/dist/module/packages/StorageAnalyticsApi.js.map +1 -1
  66. package/dist/module/packages/StorageBucketApi.d.ts +143 -1
  67. package/dist/module/packages/StorageBucketApi.d.ts.map +1 -1
  68. package/dist/module/packages/StorageBucketApi.js +143 -1
  69. package/dist/module/packages/StorageBucketApi.js.map +1 -1
  70. package/dist/module/packages/StorageFileApi.d.ts +410 -2
  71. package/dist/module/packages/StorageFileApi.d.ts.map +1 -1
  72. package/dist/module/packages/StorageFileApi.js +410 -2
  73. package/dist/module/packages/StorageFileApi.js.map +1 -1
  74. package/dist/tsconfig.module.tsbuildinfo +1 -1
  75. package/dist/tsconfig.tsbuildinfo +1 -1
  76. package/dist/umd/supabase.js +1 -1
  77. package/package.json +1 -1
  78. package/src/StorageClient.ts +15 -1
  79. package/src/lib/vectors/StorageVectorsClient.ts +99 -18
  80. package/src/lib/vectors/VectorBucketApi.ts +35 -7
  81. package/src/lib/vectors/VectorDataApi.ts +44 -8
  82. package/src/lib/vectors/VectorIndexApi.ts +43 -8
  83. package/src/lib/version.ts +1 -1
  84. package/src/packages/StorageAnalyticsApi.ts +77 -26
  85. package/src/packages/StorageBucketApi.ts +143 -1
  86. package/src/packages/StorageFileApi.ts +410 -2
@@ -6,6 +6,7 @@ export class StorageClient extends StorageBucketApi {
6
6
  /**
7
7
  * Creates a client for Storage buckets, files, analytics, and vectors.
8
8
  *
9
+ * @category File Buckets
9
10
  * @example
10
11
  * ```ts
11
12
  * import { StorageClient } from '@supabase/storage-js'
@@ -22,16 +23,26 @@ export class StorageClient extends StorageBucketApi {
22
23
  /**
23
24
  * Perform file operation in a bucket.
24
25
  *
26
+ * @category File Buckets
25
27
  * @param id The bucket id to operate on.
28
+ *
29
+ * @example
30
+ * ```typescript
31
+ * const avatars = storage.from('avatars')
32
+ * ```
26
33
  */
27
34
  from(id) {
28
35
  return new StorageFileApi(this.url, this.headers, id, this.fetch);
29
36
  }
30
37
  /**
38
+ *
39
+ * @alpha
40
+ *
31
41
  * Access vector storage operations.
32
42
  *
33
- * **Private alpha:** This API is part of a private alpha release and may change or be removed without notice.
43
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
34
44
  *
45
+ * @category Vector Buckets
35
46
  * @returns A StorageVectorsClient instance configured with the current storage settings.
36
47
  */
37
48
  get vectors() {
@@ -43,6 +54,9 @@ export class StorageClient extends StorageBucketApi {
43
54
  /**
44
55
  * Access analytics storage operations using Iceberg tables.
45
56
  *
57
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
58
+ *
59
+ * @category Analytics Buckets
46
60
  * @returns A StorageAnalyticsApi instance configured with the current storage settings.
47
61
  * @example
48
62
  * ```typescript
@@ -1 +1 @@
1
- {"version":3,"file":"StorageClient.js","sourceRoot":"","sources":["../../src/StorageClient.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,2BAA2B,CAAA;AACtD,OAAO,gBAAgB,MAAM,6BAA6B,CAAA;AAC1D,OAAO,mBAAmB,MAAM,gCAAgC,CAAA;AAEhE,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AAMpD,MAAM,OAAO,aAAc,SAAQ,gBAAgB;IACjD;;;;;;;;;;;;OAYG;IACH,YACE,GAAW,EACX,UAAqC,EAAE,EACvC,KAAa,EACb,IAA2B;QAE3B,KAAK,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,CAAA;IAClC,CAAC;IAED;;;;OAIG;IACH,IAAI,CAAC,EAAU;QACb,OAAO,IAAI,cAAc,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,CAAA;IACnE,CAAC;IAED;;;;;;OAMG;IACH,IAAI,OAAO;QACT,OAAO,IAAI,oBAAoB,CAAC,IAA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I,mBAAmB,CAAC,IAAI,CAAC,GAAG,GAAG,UAAU,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAA;IACjF,CAAC;CACF"}
@@ -4,9 +4,12 @@ import { Fetch } from './fetch';
4
4
  import VectorBucketApi from './VectorBucketApi';
5
5
  import { DeleteVectorsOptions, GetVectorsOptions, ListIndexesOptions, ListVectorsOptions, PutVectorsOptions, QueryVectorsOptions } from './types';
6
6
  /**
7
+ *
8
+ * @alpha
9
+ *
7
10
  * Configuration options for the Storage Vectors client
8
11
  *
9
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
12
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
10
13
  */
11
14
  export interface StorageVectorsClientOptions {
12
15
  /**
@@ -22,10 +25,13 @@ export interface StorageVectorsClientOptions {
22
25
  fetch?: Fetch;
23
26
  }
24
27
  /**
28
+ *
29
+ * @alpha
30
+ *
25
31
  * Main client for interacting with S3 Vectors API
26
32
  * Provides access to bucket, index, and vector data operations
27
33
  *
28
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
34
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
29
35
  *
30
36
  * **Usage Patterns:**
31
37
  *
@@ -80,21 +86,33 @@ export interface StorageVectorsClientOptions {
80
86
  */
81
87
  export declare class StorageVectorsClient extends VectorBucketApi {
82
88
  /**
89
+ * @alpha
90
+ *
83
91
  * Creates a StorageVectorsClient that can manage buckets, indexes, and vectors.
84
92
  *
85
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
93
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
86
94
  *
95
+ * @category Vector Buckets
87
96
  * @param url - Base URL of the Storage Vectors REST API.
88
97
  * @param options.headers - Optional headers (for example `Authorization`) applied to every request.
89
98
  * @param options.fetch - Optional custom `fetch` implementation for non-browser runtimes.
99
+ *
100
+ * @example
101
+ * ```typescript
102
+ * const client = new StorageVectorsClient(url, options)
103
+ * ```
90
104
  */
91
105
  constructor(url: string, options?: StorageVectorsClientOptions);
92
106
  /**
107
+ *
108
+ * @alpha
109
+ *
93
110
  * Access operations for a specific vector bucket
94
111
  * Returns a scoped client for index and vector operations within the bucket
95
112
  *
96
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
113
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
97
114
  *
115
+ * @category Vector Buckets
98
116
  * @param vectorBucketName - Name of the vector bucket
99
117
  * @returns Bucket-scoped client with index and vector operations
100
118
  *
@@ -117,27 +135,42 @@ export declare class StorageVectorsClient extends VectorBucketApi {
117
135
  from(vectorBucketName: string): VectorBucketScope;
118
136
  }
119
137
  /**
138
+ *
139
+ * @alpha
140
+ *
120
141
  * Scoped client for operations within a specific vector bucket
121
142
  * Provides index management and access to vector operations
122
143
  *
123
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
144
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
124
145
  */
125
146
  export declare class VectorBucketScope extends VectorIndexApi {
126
147
  private vectorBucketName;
127
148
  /**
149
+ * @alpha
150
+ *
128
151
  * Creates a helper that automatically scopes all index operations to the provided bucket.
129
152
  *
130
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
153
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
154
+ *
155
+ * @category Vector Buckets
156
+ * @example
157
+ * ```typescript
158
+ * const bucket = client.bucket('embeddings-prod')
159
+ * ```
131
160
  */
132
161
  constructor(url: string, headers: {
133
162
  [key: string]: string;
134
163
  }, vectorBucketName: string, fetch?: Fetch);
135
164
  /**
165
+ *
166
+ * @alpha
167
+ *
136
168
  * Creates a new vector index in this bucket
137
169
  * Convenience method that automatically includes the bucket name
138
170
  *
139
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
171
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
140
172
  *
173
+ * @category Vector Buckets
141
174
  * @param options - Index configuration (vectorBucketName is automatically set)
142
175
  * @returns Promise with empty response on success or error
143
176
  *
@@ -157,11 +190,15 @@ export declare class VectorBucketScope extends VectorIndexApi {
157
190
  */
158
191
  createIndex(options: Omit<CreateIndexOptions, 'vectorBucketName'>): Promise<import("./types").ApiResponse<undefined>>;
159
192
  /**
193
+ *
194
+ * @alpha
195
+ *
160
196
  * Lists indexes in this bucket
161
197
  * Convenience method that automatically includes the bucket name
162
198
  *
163
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
199
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
164
200
  *
201
+ * @category Vector Buckets
165
202
  * @param options - Listing options (vectorBucketName is automatically set)
166
203
  * @returns Promise with list of indexes or error
167
204
  *
@@ -173,11 +210,15 @@ export declare class VectorBucketScope extends VectorIndexApi {
173
210
  */
174
211
  listIndexes(options?: Omit<ListIndexesOptions, 'vectorBucketName'>): Promise<import("./types").ApiResponse<import("./types").ListIndexesResponse>>;
175
212
  /**
213
+ *
214
+ * @alpha
215
+ *
176
216
  * Retrieves metadata for a specific index in this bucket
177
217
  * Convenience method that automatically includes the bucket name
178
218
  *
179
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
219
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
180
220
  *
221
+ * @category Vector Buckets
181
222
  * @param indexName - Name of the index to retrieve
182
223
  * @returns Promise with index metadata or error
183
224
  *
@@ -192,11 +233,15 @@ export declare class VectorBucketScope extends VectorIndexApi {
192
233
  index: import("./types").VectorIndex;
193
234
  }>>;
194
235
  /**
236
+ *
237
+ * @alpha
238
+ *
195
239
  * Deletes an index from this bucket
196
240
  * Convenience method that automatically includes the bucket name
197
241
  *
198
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
242
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
199
243
  *
244
+ * @category Vector Buckets
200
245
  * @param indexName - Name of the index to delete
201
246
  * @returns Promise with empty response on success or error
202
247
  *
@@ -208,11 +253,15 @@ export declare class VectorBucketScope extends VectorIndexApi {
208
253
  */
209
254
  deleteIndex(indexName: string): Promise<import("./types").ApiResponse<undefined>>;
210
255
  /**
256
+ *
257
+ * @alpha
258
+ *
211
259
  * Access operations for a specific index within this bucket
212
260
  * Returns a scoped client for vector data operations
213
261
  *
214
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
262
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
215
263
  *
264
+ * @category Vector Buckets
216
265
  * @param indexName - Name of the index
217
266
  * @returns Index-scoped client with vector data operations
218
267
  *
@@ -237,28 +286,44 @@ export declare class VectorBucketScope extends VectorIndexApi {
237
286
  index(indexName: string): VectorIndexScope;
238
287
  }
239
288
  /**
289
+ *
290
+ * @alpha
291
+ *
240
292
  * Scoped client for operations within a specific vector index
241
293
  * Provides vector data operations (put, get, list, query, delete)
242
294
  *
243
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
295
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
244
296
  */
245
297
  export declare class VectorIndexScope extends VectorDataApi {
246
298
  private vectorBucketName;
247
299
  private indexName;
248
300
  /**
301
+ *
302
+ * @alpha
303
+ *
249
304
  * Creates a helper that automatically scopes all vector operations to the provided bucket/index names.
250
305
  *
251
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
306
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
307
+ *
308
+ * @category Vector Buckets
309
+ * @example
310
+ * ```typescript
311
+ * const index = client.bucket('embeddings-prod').index('documents-openai')
312
+ * ```
252
313
  */
253
314
  constructor(url: string, headers: {
254
315
  [key: string]: string;
255
316
  }, vectorBucketName: string, indexName: string, fetch?: Fetch);
256
317
  /**
318
+ *
319
+ * @alpha
320
+ *
257
321
  * Inserts or updates vectors in this index
258
322
  * Convenience method that automatically includes bucket and index names
259
323
  *
260
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
324
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
261
325
  *
326
+ * @category Vector Buckets
262
327
  * @param options - Vector insertion options (bucket and index names automatically set)
263
328
  * @returns Promise with empty response on success or error
264
329
  *
@@ -278,11 +343,15 @@ export declare class VectorIndexScope extends VectorDataApi {
278
343
  */
279
344
  putVectors(options: Omit<PutVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<import("./types").ApiResponse<undefined>>;
280
345
  /**
346
+ *
347
+ * @alpha
348
+ *
281
349
  * Retrieves vectors by keys from this index
282
350
  * Convenience method that automatically includes bucket and index names
283
351
  *
284
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
352
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
285
353
  *
354
+ * @category Vector Buckets
286
355
  * @param options - Vector retrieval options (bucket and index names automatically set)
287
356
  * @returns Promise with array of vectors or error
288
357
  *
@@ -297,11 +366,15 @@ export declare class VectorIndexScope extends VectorDataApi {
297
366
  */
298
367
  getVectors(options: Omit<GetVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<import("./types").ApiResponse<import("./types").GetVectorsResponse>>;
299
368
  /**
369
+ *
370
+ * @alpha
371
+ *
300
372
  * Lists vectors in this index with pagination
301
373
  * Convenience method that automatically includes bucket and index names
302
374
  *
303
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
375
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
304
376
  *
377
+ * @category Vector Buckets
305
378
  * @param options - Listing options (bucket and index names automatically set)
306
379
  * @returns Promise with array of vectors and pagination token
307
380
  *
@@ -316,11 +389,15 @@ export declare class VectorIndexScope extends VectorDataApi {
316
389
  */
317
390
  listVectors(options?: Omit<ListVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<import("./types").ApiResponse<import("./types").ListVectorsResponse>>;
318
391
  /**
392
+ *
393
+ * @alpha
394
+ *
319
395
  * Queries for similar vectors in this index
320
396
  * Convenience method that automatically includes bucket and index names
321
397
  *
322
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
398
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
323
399
  *
400
+ * @category Vector Buckets
324
401
  * @param options - Query options (bucket and index names automatically set)
325
402
  * @returns Promise with array of similar vectors ordered by distance
326
403
  *
@@ -338,11 +415,15 @@ export declare class VectorIndexScope extends VectorDataApi {
338
415
  */
339
416
  queryVectors(options: Omit<QueryVectorsOptions, 'vectorBucketName' | 'indexName'>): Promise<import("./types").ApiResponse<import("./types").QueryVectorsResponse>>;
340
417
  /**
418
+ *
419
+ * @alpha
420
+ *
341
421
  * Deletes vectors by keys from this index
342
422
  * Convenience method that automatically includes bucket and index names
343
423
  *
344
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
424
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
345
425
  *
426
+ * @category Vector Buckets
346
427
  * @param options - Deletion options (bucket and index names automatically set)
347
428
  * @returns Promise with empty response on success or error
348
429
  *
@@ -1 +1 @@
1
- {"version":3,"file":"StorageVectorsClient.d.ts","sourceRoot":"","sources":["../../../../src/lib/vectors/StorageVectorsClient.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,EAAE,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACrE,OAAO,aAAa,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,SAAS,CAAA;AAEhB;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;IACnC;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AA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OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,EAClC,gBAAgB,EAAE,MAAM,EACxB,SAAS,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,KAAK;IAOf;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACY,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAAE,kBAAkB,GAAG,WAAW,CAAC;IAQ5F;;;;;;;;;;;;;;;;;;;;;OAqBG;IACY,UAAU,CAAC,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAAE,kBAAkB,GAAG,WAAW,CAAC;IAQ5F;;;;;;;;;;;;;;;;;;;;;OAqBG;IACY,WAAW,CACxB,OAAO,GAAE,IAAI,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,WAAW,CAAM;IAS1E;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACY,YAAY,CACzB,OAAO,EAAE,IAAI,CAAC,mBAAmB,EAAE,kBAAkB,GAAG,WAAW,CAAC;IAStE;;;;;;;;;;;;;;;;;;;;OAoBG;IACY,aAAa,CAC1B,OAAO,EAAE,IAAI,CAAC,oBAAoB,EAAE,kBAAkB,GAAG,WAAW,CAAC;CAQxE"}
@@ -3,10 +3,13 @@ import VectorIndexApi from './VectorIndexApi';
3
3
  import VectorDataApi from './VectorDataApi';
4
4
  import VectorBucketApi from './VectorBucketApi';
5
5
  /**
6
+ *
7
+ * @alpha
8
+ *
6
9
  * Main client for interacting with S3 Vectors API
7
10
  * Provides access to bucket, index, and vector data operations
8
11
  *
9
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
12
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
10
13
  *
11
14
  * **Usage Patterns:**
12
15
  *
@@ -61,23 +64,35 @@ import VectorBucketApi from './VectorBucketApi';
61
64
  */
62
65
  export class StorageVectorsClient extends VectorBucketApi {
63
66
  /**
67
+ * @alpha
68
+ *
64
69
  * Creates a StorageVectorsClient that can manage buckets, indexes, and vectors.
65
70
  *
66
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
71
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
67
72
  *
73
+ * @category Vector Buckets
68
74
  * @param url - Base URL of the Storage Vectors REST API.
69
75
  * @param options.headers - Optional headers (for example `Authorization`) applied to every request.
70
76
  * @param options.fetch - Optional custom `fetch` implementation for non-browser runtimes.
77
+ *
78
+ * @example
79
+ * ```typescript
80
+ * const client = new StorageVectorsClient(url, options)
81
+ * ```
71
82
  */
72
83
  constructor(url, options = {}) {
73
84
  super(url, options.headers || {}, options.fetch);
74
85
  }
75
86
  /**
87
+ *
88
+ * @alpha
89
+ *
76
90
  * Access operations for a specific vector bucket
77
91
  * Returns a scoped client for index and vector operations within the bucket
78
92
  *
79
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
93
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
80
94
  *
95
+ * @category Vector Buckets
81
96
  * @param vectorBucketName - Name of the vector bucket
82
97
  * @returns Bucket-scoped client with index and vector operations
83
98
  *
@@ -102,27 +117,42 @@ export class StorageVectorsClient extends VectorBucketApi {
102
117
  }
103
118
  }
104
119
  /**
120
+ *
121
+ * @alpha
122
+ *
105
123
  * Scoped client for operations within a specific vector bucket
106
124
  * Provides index management and access to vector operations
107
125
  *
108
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
126
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
109
127
  */
110
128
  export class VectorBucketScope extends VectorIndexApi {
111
129
  /**
130
+ * @alpha
131
+ *
112
132
  * Creates a helper that automatically scopes all index operations to the provided bucket.
113
133
  *
114
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
134
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
135
+ *
136
+ * @category Vector Buckets
137
+ * @example
138
+ * ```typescript
139
+ * const bucket = client.bucket('embeddings-prod')
140
+ * ```
115
141
  */
116
142
  constructor(url, headers, vectorBucketName, fetch) {
117
143
  super(url, headers, fetch);
118
144
  this.vectorBucketName = vectorBucketName;
119
145
  }
120
146
  /**
147
+ *
148
+ * @alpha
149
+ *
121
150
  * Creates a new vector index in this bucket
122
151
  * Convenience method that automatically includes the bucket name
123
152
  *
124
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
153
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
125
154
  *
155
+ * @category Vector Buckets
126
156
  * @param options - Index configuration (vectorBucketName is automatically set)
127
157
  * @returns Promise with empty response on success or error
128
158
  *
@@ -149,11 +179,15 @@ export class VectorBucketScope extends VectorIndexApi {
149
179
  });
150
180
  }
151
181
  /**
182
+ *
183
+ * @alpha
184
+ *
152
185
  * Lists indexes in this bucket
153
186
  * Convenience method that automatically includes the bucket name
154
187
  *
155
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
188
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
156
189
  *
190
+ * @category Vector Buckets
157
191
  * @param options - Listing options (vectorBucketName is automatically set)
158
192
  * @returns Promise with list of indexes or error
159
193
  *
@@ -172,11 +206,15 @@ export class VectorBucketScope extends VectorIndexApi {
172
206
  });
173
207
  }
174
208
  /**
209
+ *
210
+ * @alpha
211
+ *
175
212
  * Retrieves metadata for a specific index in this bucket
176
213
  * Convenience method that automatically includes the bucket name
177
214
  *
178
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
215
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
179
216
  *
217
+ * @category Vector Buckets
180
218
  * @param indexName - Name of the index to retrieve
181
219
  * @returns Promise with index metadata or error
182
220
  *
@@ -196,11 +234,15 @@ export class VectorBucketScope extends VectorIndexApi {
196
234
  });
197
235
  }
198
236
  /**
237
+ *
238
+ * @alpha
239
+ *
199
240
  * Deletes an index from this bucket
200
241
  * Convenience method that automatically includes the bucket name
201
242
  *
202
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
243
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
203
244
  *
245
+ * @category Vector Buckets
204
246
  * @param indexName - Name of the index to delete
205
247
  * @returns Promise with empty response on success or error
206
248
  *
@@ -219,11 +261,15 @@ export class VectorBucketScope extends VectorIndexApi {
219
261
  });
220
262
  }
221
263
  /**
264
+ *
265
+ * @alpha
266
+ *
222
267
  * Access operations for a specific index within this bucket
223
268
  * Returns a scoped client for vector data operations
224
269
  *
225
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
270
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
226
271
  *
272
+ * @category Vector Buckets
227
273
  * @param indexName - Name of the index
228
274
  * @returns Index-scoped client with vector data operations
229
275
  *
@@ -250,16 +296,28 @@ export class VectorBucketScope extends VectorIndexApi {
250
296
  }
251
297
  }
252
298
  /**
299
+ *
300
+ * @alpha
301
+ *
253
302
  * Scoped client for operations within a specific vector index
254
303
  * Provides vector data operations (put, get, list, query, delete)
255
304
  *
256
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
305
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
257
306
  */
258
307
  export class VectorIndexScope extends VectorDataApi {
259
308
  /**
309
+ *
310
+ * @alpha
311
+ *
260
312
  * Creates a helper that automatically scopes all vector operations to the provided bucket/index names.
261
313
  *
262
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
314
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
315
+ *
316
+ * @category Vector Buckets
317
+ * @example
318
+ * ```typescript
319
+ * const index = client.bucket('embeddings-prod').index('documents-openai')
320
+ * ```
263
321
  */
264
322
  constructor(url, headers, vectorBucketName, indexName, fetch) {
265
323
  super(url, headers, fetch);
@@ -267,11 +325,15 @@ export class VectorIndexScope extends VectorDataApi {
267
325
  this.indexName = indexName;
268
326
  }
269
327
  /**
328
+ *
329
+ * @alpha
330
+ *
270
331
  * Inserts or updates vectors in this index
271
332
  * Convenience method that automatically includes bucket and index names
272
333
  *
273
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
334
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
274
335
  *
336
+ * @category Vector Buckets
275
337
  * @param options - Vector insertion options (bucket and index names automatically set)
276
338
  * @returns Promise with empty response on success or error
277
339
  *
@@ -298,11 +360,15 @@ export class VectorIndexScope extends VectorDataApi {
298
360
  });
299
361
  }
300
362
  /**
363
+ *
364
+ * @alpha
365
+ *
301
366
  * Retrieves vectors by keys from this index
302
367
  * Convenience method that automatically includes bucket and index names
303
368
  *
304
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
369
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
305
370
  *
371
+ * @category Vector Buckets
306
372
  * @param options - Vector retrieval options (bucket and index names automatically set)
307
373
  * @returns Promise with array of vectors or error
308
374
  *
@@ -324,11 +390,15 @@ export class VectorIndexScope extends VectorDataApi {
324
390
  });
325
391
  }
326
392
  /**
393
+ *
394
+ * @alpha
395
+ *
327
396
  * Lists vectors in this index with pagination
328
397
  * Convenience method that automatically includes bucket and index names
329
398
  *
330
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
399
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
331
400
  *
401
+ * @category Vector Buckets
332
402
  * @param options - Listing options (bucket and index names automatically set)
333
403
  * @returns Promise with array of vectors and pagination token
334
404
  *
@@ -350,11 +420,15 @@ export class VectorIndexScope extends VectorDataApi {
350
420
  });
351
421
  }
352
422
  /**
423
+ *
424
+ * @alpha
425
+ *
353
426
  * Queries for similar vectors in this index
354
427
  * Convenience method that automatically includes bucket and index names
355
428
  *
356
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
429
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
357
430
  *
431
+ * @category Vector Buckets
358
432
  * @param options - Query options (bucket and index names automatically set)
359
433
  * @returns Promise with array of similar vectors ordered by distance
360
434
  *
@@ -379,11 +453,15 @@ export class VectorIndexScope extends VectorDataApi {
379
453
  });
380
454
  }
381
455
  /**
456
+ *
457
+ * @alpha
458
+ *
382
459
  * Deletes vectors by keys from this index
383
460
  * Convenience method that automatically includes bucket and index names
384
461
  *
385
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
462
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
386
463
  *
464
+ * @category Vector Buckets
387
465
  * @param options - Deletion options (bucket and index names automatically set)
388
466
  * @returns Promise with empty response on success or error
389
467
  *
@@ -1 +1 @@
1
- {"version":3,"file":"StorageVectorsClient.js","sourceRoot":"","sources":["../../../../src/lib/vectors/StorageVectorsClient.ts"],"names":[],"mappings":";AAAA,OAAO,cAAsC,MAAM,kBAAkB,CAAA;AACrE,OAAO,aAAa,MAAM,iBAAiB,CAAA;AAE3C,OAAO,eAAe,MAAM,mBAAmB,CAAA;AA2B/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAM,OAAO,oBAAqB,SAAQ,eAAe;IACvD;;;;;;;;OAQG;IACH,YAAY,GAAW,EAAE,UAAuC,EAAE;QAChE,KAAK,CAAC,GAAG,EAAE,OAAO,CAAC,OAAO,IAAI,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAA;IAClD,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,IAAI,CAAC,gBAAwB;QAC3B,OAAO,IAAI,iBAAiB,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,CAAA;IACpF,CAAC;CACF;AAED;;;;;GAKG;AACH,MAAM,OAAO,iBAAkB,SAAQ,cAAc;IAGnD;;;;OAIG;IACH,YACE,GAAW,EACX,OAAkC,EAClC,gBAAwB,EACxB,KAAa;QAEb,KAAK,CAAC,GAAG,EAAE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C5B,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACY,UAAU,CAAC,OAAkE;;;;;YAC1F,OAAO,OAAM,UAAU,4CAClB,OAAO,KACV,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,KACzB;QACJ,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;OAiBG;IACY,UAAU,CAAC,OAAkE;;;;;YAC1F,OAAO,OAAM,UAAU,4CAClB,OAAO,KACV,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,KACzB;QACJ,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;OAiBG;IACY,WAAW;;;;6DACxB,UAAsE,EAAE;YAExE,OAAO,OAAM,WAAW,4CACnB,OAAO,KACV,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,KACzB;QACJ,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACY,YAAY,CACzB,OAAoE;;;;;YAEpE,OAAO,OAAM,YAAY,4CACpB,OAAO,KACV,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,KACzB;QACJ,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;OAgBG;IACY,aAAa,CAC1B,OAAqE;;;;;YAErE,OAAO,OAAM,aAAa,4CACrB,OAAO,KACV,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,SAAS,EAAE,IAAI,CAAC,SAAS,KACzB;QACJ,CAAC;KAAA;CACF"}
1
+ {"version":3,"file":"StorageVectorsClient.js","sourceRoot":"","sources":["../../../../src/lib/vectors/StorageVectorsClient.ts"],"names":[],"mappings":";AAAA,OAAO,cAAsC,MAAM,kBAAkB,CAAA;AACrE,OAAO,aAAa,MAAM,iBAAiB,CAAA;AAE3C,OAAO,eAAe,MAAM,mBAAmB,CAA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