@supabase/storage-js 2.81.2-canary.2 → 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 (91) 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/types.d.ts +1 -1
  7. package/dist/main/lib/types.d.ts.map +1 -1
  8. package/dist/main/lib/vectors/StorageVectorsClient.d.ts +99 -18
  9. package/dist/main/lib/vectors/StorageVectorsClient.d.ts.map +1 -1
  10. package/dist/main/lib/vectors/StorageVectorsClient.js +95 -17
  11. package/dist/main/lib/vectors/StorageVectorsClient.js.map +1 -1
  12. package/dist/main/lib/vectors/VectorBucketApi.d.ts +35 -7
  13. package/dist/main/lib/vectors/VectorBucketApi.d.ts.map +1 -1
  14. package/dist/main/lib/vectors/VectorBucketApi.js +35 -7
  15. package/dist/main/lib/vectors/VectorBucketApi.js.map +1 -1
  16. package/dist/main/lib/vectors/VectorDataApi.d.ts +44 -8
  17. package/dist/main/lib/vectors/VectorDataApi.d.ts.map +1 -1
  18. package/dist/main/lib/vectors/VectorDataApi.js +44 -8
  19. package/dist/main/lib/vectors/VectorDataApi.js.map +1 -1
  20. package/dist/main/lib/vectors/VectorIndexApi.d.ts +43 -8
  21. package/dist/main/lib/vectors/VectorIndexApi.d.ts.map +1 -1
  22. package/dist/main/lib/vectors/VectorIndexApi.js +39 -7
  23. package/dist/main/lib/vectors/VectorIndexApi.js.map +1 -1
  24. package/dist/main/lib/version.d.ts +1 -1
  25. package/dist/main/lib/version.d.ts.map +1 -1
  26. package/dist/main/lib/version.js +1 -1
  27. package/dist/main/lib/version.js.map +1 -1
  28. package/dist/main/packages/StorageAnalyticsApi.d.ts +79 -28
  29. package/dist/main/packages/StorageAnalyticsApi.d.ts.map +1 -1
  30. package/dist/main/packages/StorageAnalyticsApi.js +80 -29
  31. package/dist/main/packages/StorageAnalyticsApi.js.map +1 -1
  32. package/dist/main/packages/StorageBucketApi.d.ts +143 -1
  33. package/dist/main/packages/StorageBucketApi.d.ts.map +1 -1
  34. package/dist/main/packages/StorageBucketApi.js +143 -1
  35. package/dist/main/packages/StorageBucketApi.js.map +1 -1
  36. package/dist/main/packages/StorageFileApi.d.ts +410 -2
  37. package/dist/main/packages/StorageFileApi.d.ts.map +1 -1
  38. package/dist/main/packages/StorageFileApi.js +410 -2
  39. package/dist/main/packages/StorageFileApi.js.map +1 -1
  40. package/dist/module/StorageClient.d.ts +15 -1
  41. package/dist/module/StorageClient.d.ts.map +1 -1
  42. package/dist/module/StorageClient.js +15 -1
  43. package/dist/module/StorageClient.js.map +1 -1
  44. package/dist/module/lib/types.d.ts +1 -1
  45. package/dist/module/lib/types.d.ts.map +1 -1
  46. package/dist/module/lib/vectors/StorageVectorsClient.d.ts +99 -18
  47. package/dist/module/lib/vectors/StorageVectorsClient.d.ts.map +1 -1
  48. package/dist/module/lib/vectors/StorageVectorsClient.js +95 -17
  49. package/dist/module/lib/vectors/StorageVectorsClient.js.map +1 -1
  50. package/dist/module/lib/vectors/VectorBucketApi.d.ts +35 -7
  51. package/dist/module/lib/vectors/VectorBucketApi.d.ts.map +1 -1
  52. package/dist/module/lib/vectors/VectorBucketApi.js +35 -7
  53. package/dist/module/lib/vectors/VectorBucketApi.js.map +1 -1
  54. package/dist/module/lib/vectors/VectorDataApi.d.ts +44 -8
  55. package/dist/module/lib/vectors/VectorDataApi.d.ts.map +1 -1
  56. package/dist/module/lib/vectors/VectorDataApi.js +44 -8
  57. package/dist/module/lib/vectors/VectorDataApi.js.map +1 -1
  58. package/dist/module/lib/vectors/VectorIndexApi.d.ts +43 -8
  59. package/dist/module/lib/vectors/VectorIndexApi.d.ts.map +1 -1
  60. package/dist/module/lib/vectors/VectorIndexApi.js +39 -7
  61. package/dist/module/lib/vectors/VectorIndexApi.js.map +1 -1
  62. package/dist/module/lib/version.d.ts +1 -1
  63. package/dist/module/lib/version.d.ts.map +1 -1
  64. package/dist/module/lib/version.js +1 -1
  65. package/dist/module/lib/version.js.map +1 -1
  66. package/dist/module/packages/StorageAnalyticsApi.d.ts +79 -28
  67. package/dist/module/packages/StorageAnalyticsApi.d.ts.map +1 -1
  68. package/dist/module/packages/StorageAnalyticsApi.js +80 -29
  69. package/dist/module/packages/StorageAnalyticsApi.js.map +1 -1
  70. package/dist/module/packages/StorageBucketApi.d.ts +143 -1
  71. package/dist/module/packages/StorageBucketApi.d.ts.map +1 -1
  72. package/dist/module/packages/StorageBucketApi.js +143 -1
  73. package/dist/module/packages/StorageBucketApi.js.map +1 -1
  74. package/dist/module/packages/StorageFileApi.d.ts +410 -2
  75. package/dist/module/packages/StorageFileApi.d.ts.map +1 -1
  76. package/dist/module/packages/StorageFileApi.js +410 -2
  77. package/dist/module/packages/StorageFileApi.js.map +1 -1
  78. package/dist/tsconfig.module.tsbuildinfo +1 -1
  79. package/dist/tsconfig.tsbuildinfo +1 -1
  80. package/dist/umd/supabase.js +1 -1
  81. package/package.json +1 -1
  82. package/src/StorageClient.ts +15 -1
  83. package/src/lib/types.ts +1 -1
  84. package/src/lib/vectors/StorageVectorsClient.ts +99 -18
  85. package/src/lib/vectors/VectorBucketApi.ts +35 -7
  86. package/src/lib/vectors/VectorDataApi.ts +44 -8
  87. package/src/lib/vectors/VectorIndexApi.ts +43 -8
  88. package/src/lib/version.ts +1 -1
  89. package/src/packages/StorageAnalyticsApi.ts +81 -30
  90. package/src/packages/StorageBucketApi.ts +143 -1
  91. package/src/packages/StorageFileApi.ts +410 -2
@@ -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,CAA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G;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;;;;;;;;;;;;;;;;;;;;;OAqBG;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;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;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;;;;;;;;;;;;;;;;;;;;OAoBG;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,10 +1,13 @@
1
1
  import { Fetch } from './fetch';
2
2
  import { ApiResponse, VectorBucket, ListVectorBucketsOptions, ListVectorBucketsResponse } from './types';
3
3
  /**
4
+ *
5
+ * @alpha
6
+ *
4
7
  * API class for managing Vector Buckets
5
8
  * Provides methods for creating, reading, listing, and deleting vector buckets
6
9
  *
7
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
10
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
8
11
  */
9
12
  export default class VectorBucketApi {
10
13
  protected url: string;
@@ -14,9 +17,14 @@ export default class VectorBucketApi {
14
17
  protected fetch: Fetch;
15
18
  protected shouldThrowOnError: boolean;
16
19
  /**
20
+ *
21
+ * @alpha
22
+ *
17
23
  * Creates a new VectorBucketApi instance
18
24
  *
19
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
25
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
26
+ *
27
+ * @category Vector Buckets
20
28
  * @param url - The base URL for the storage vectors API
21
29
  * @param headers - HTTP headers to include in requests
22
30
  * @param fetch - Optional custom fetch implementation
@@ -30,11 +38,15 @@ export default class VectorBucketApi {
30
38
  [key: string]: string;
31
39
  }, fetch?: Fetch);
32
40
  /**
41
+ *
42
+ * @alpha
43
+ *
33
44
  * Enable throwing errors instead of returning them in the response
34
45
  * When enabled, failed operations will throw instead of returning { data: null, error }
35
46
  *
36
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
47
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
37
48
  *
49
+ * @category Vector Buckets
38
50
  * @returns This instance for method chaining
39
51
  * @example
40
52
  * ```typescript
@@ -45,11 +57,15 @@ export default class VectorBucketApi {
45
57
  */
46
58
  throwOnError(): this;
47
59
  /**
60
+ *
61
+ * @alpha
62
+ *
48
63
  * Creates a new vector bucket
49
64
  * Vector buckets are containers for vector indexes and their data
50
65
  *
51
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
66
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
52
67
  *
68
+ * @category Vector Buckets
53
69
  * @param vectorBucketName - Unique name for the vector bucket
54
70
  * @returns Promise with empty response on success or error
55
71
  *
@@ -68,11 +84,15 @@ export default class VectorBucketApi {
68
84
  */
69
85
  createBucket(vectorBucketName: string): Promise<ApiResponse<undefined>>;
70
86
  /**
87
+ *
88
+ * @alpha
89
+ *
71
90
  * Retrieves metadata for a specific vector bucket
72
91
  * Returns bucket configuration including encryption settings and creation time
73
92
  *
74
- * **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.
75
94
  *
95
+ * @category Vector Buckets
76
96
  * @param vectorBucketName - Name of the vector bucket to retrieve
77
97
  * @returns Promise with bucket metadata or error
78
98
  *
@@ -92,11 +112,15 @@ export default class VectorBucketApi {
92
112
  vectorBucket: VectorBucket;
93
113
  }>>;
94
114
  /**
115
+ *
116
+ * @alpha
117
+ *
95
118
  * Lists vector buckets with optional filtering and pagination
96
119
  * Supports prefix-based filtering and paginated results
97
120
  *
98
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
121
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
99
122
  *
123
+ * @category Vector Buckets
100
124
  * @param options - Listing options
101
125
  * @param options.prefix - Filter buckets by name prefix
102
126
  * @param options.maxResults - Maximum results per page (default: 100)
@@ -121,11 +145,15 @@ export default class VectorBucketApi {
121
145
  */
122
146
  listBuckets(options?: ListVectorBucketsOptions): Promise<ApiResponse<ListVectorBucketsResponse>>;
123
147
  /**
148
+ *
149
+ * @alpha
150
+ *
124
151
  * Deletes a vector bucket
125
152
  * Bucket must be empty before deletion (all indexes must be removed first)
126
153
  *
127
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
154
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
128
155
  *
156
+ * @category Vector Buckets
129
157
  * @param vectorBucketName - Name of the vector bucket to delete
130
158
  * @returns Promise with empty response on success or error
131
159
  *
@@ -1 +1 @@
1
- {"version":3,"file":"VectorBucketApi.d.ts","sourceRoot":"","sources":["../../../../src/lib/vectors/VectorBucketApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAQ,MAAM,SAAS,CAAA;AAErC,OAAO,EACL,WAAW,EACX,YAAY,EACZ,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,SAAS,CAAA;AAEhB;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,eAAe;IAClC,SAAS,CAAC,GAAG,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,OAAO,EAAE;QAAE,CAAC,GAAG,EAA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,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;IAC5C,SAAS,CAAC,KAAK,EAAE,KAAK,CAAA;IACtB,SAAS,CAAC,kBAAkB,UAAQ;IAEpC;;;;;;;;;;;;;;;;;OAiBG;gBACS,GAAG,EAAE,MAAM,EAAE,OAAO,GAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAO,EAAE,KAAK,CAAC,EAAE,KAAK;IAM/E;;;;;;;;;;;;;;;;;OAiBG;IACI,YAAY,IAAI,IAAI;IAK3B;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACG,YAAY,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IAoB7E;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACG,SAAS,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;QAAE,YAAY,EAAE,YAAY,CAAA;KAAE,CAAC,CAAC;IAoB/F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACG,WAAW,CACf,OAAO,GAAE,wBAA6B,GACrC,OAAO,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC;IAiBlD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACG,YAAY,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;CAmB9E"}
@@ -4,16 +4,24 @@ import { isStorageVectorsError } from './errors';
4
4
  import { post } from './fetch';
5
5
  import { resolveFetch } from './helpers';
6
6
  /**
7
+ *
8
+ * @alpha
9
+ *
7
10
  * API class for managing Vector Buckets
8
11
  * Provides methods for creating, reading, listing, and deleting vector buckets
9
12
  *
10
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
13
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
11
14
  */
12
15
  export default class VectorBucketApi {
13
16
  /**
17
+ *
18
+ * @alpha
19
+ *
14
20
  * Creates a new VectorBucketApi instance
15
21
  *
16
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
22
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
23
+ *
24
+ * @category Vector Buckets
17
25
  * @param url - The base URL for the storage vectors API
18
26
  * @param headers - HTTP headers to include in requests
19
27
  * @param fetch - Optional custom fetch implementation
@@ -30,11 +38,15 @@ export default class VectorBucketApi {
30
38
  this.fetch = resolveFetch(fetch);
31
39
  }
32
40
  /**
41
+ *
42
+ * @alpha
43
+ *
33
44
  * Enable throwing errors instead of returning them in the response
34
45
  * When enabled, failed operations will throw instead of returning { data: null, error }
35
46
  *
36
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
47
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
37
48
  *
49
+ * @category Vector Buckets
38
50
  * @returns This instance for method chaining
39
51
  * @example
40
52
  * ```typescript
@@ -48,11 +60,15 @@ export default class VectorBucketApi {
48
60
  return this;
49
61
  }
50
62
  /**
63
+ *
64
+ * @alpha
65
+ *
51
66
  * Creates a new vector bucket
52
67
  * Vector buckets are containers for vector indexes and their data
53
68
  *
54
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
69
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
55
70
  *
71
+ * @category Vector Buckets
56
72
  * @param vectorBucketName - Unique name for the vector bucket
57
73
  * @returns Promise with empty response on success or error
58
74
  *
@@ -87,11 +103,15 @@ export default class VectorBucketApi {
87
103
  });
88
104
  }
89
105
  /**
106
+ *
107
+ * @alpha
108
+ *
90
109
  * Retrieves metadata for a specific vector bucket
91
110
  * Returns bucket configuration including encryption settings and creation time
92
111
  *
93
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
112
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
94
113
  *
114
+ * @category Vector Buckets
95
115
  * @param vectorBucketName - Name of the vector bucket to retrieve
96
116
  * @returns Promise with bucket metadata or error
97
117
  *
@@ -125,11 +145,15 @@ export default class VectorBucketApi {
125
145
  });
126
146
  }
127
147
  /**
148
+ *
149
+ * @alpha
150
+ *
128
151
  * Lists vector buckets with optional filtering and pagination
129
152
  * Supports prefix-based filtering and paginated results
130
153
  *
131
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
154
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
132
155
  *
156
+ * @category Vector Buckets
133
157
  * @param options - Listing options
134
158
  * @param options.prefix - Filter buckets by name prefix
135
159
  * @param options.maxResults - Maximum results per page (default: 100)
@@ -172,11 +196,15 @@ export default class VectorBucketApi {
172
196
  });
173
197
  }
174
198
  /**
199
+ *
200
+ * @alpha
201
+ *
175
202
  * Deletes a vector bucket
176
203
  * Bucket must be empty before deletion (all indexes must be removed first)
177
204
  *
178
- * **Private alpha:** Vector storage APIs are currently in private alpha and may not be accessible.
205
+ * **Public alpha:** This API is part of a public alpha release and may not be available to your account type.
179
206
  *
207
+ * @category Vector Buckets
180
208
  * @param vectorBucketName - Name of the vector bucket to delete
181
209
  * @returns Promise with empty response on success or error
182
210
  *
@@ -1 +1 @@
1
- {"version":3,"file":"VectorBucketApi.js","sourceRoot":"","sources":["../../../../src/lib/vectors/VectorBucketApi.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAS,IAAI,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAQxC;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,eAAe;IAMlC;;;;;;;;;;;;OAYG;IACH,YAAY,GAAW,EAAE,UAAqC,EAAE,EAAE,KAAa;QAfrE,uBAAkB,GAAG,KAAK,CAAA;QAgBlC,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,O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