@sylphx/sdk 0.28.0 → 0.30.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 (101) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +30 -118
  3. package/dist/access.d.ts +659 -0
  4. package/dist/access.js +638 -0
  5. package/dist/access.js.map +1 -0
  6. package/dist/ai.d.ts +176 -0
  7. package/dist/ai.js +112 -0
  8. package/dist/ai.js.map +1 -0
  9. package/dist/artifacts.d.ts +165 -0
  10. package/dist/artifacts.js +129 -0
  11. package/dist/artifacts.js.map +1 -0
  12. package/dist/auth.d.ts +896 -0
  13. package/dist/auth.js +828 -0
  14. package/dist/auth.js.map +1 -0
  15. package/dist/billing.d.ts +758 -0
  16. package/dist/billing.js +553 -0
  17. package/dist/billing.js.map +1 -0
  18. package/dist/broker.d.ts +226 -0
  19. package/dist/broker.js +187 -0
  20. package/dist/broker.js.map +1 -0
  21. package/dist/build.d.ts +313 -0
  22. package/dist/build.js +271 -0
  23. package/dist/build.js.map +1 -0
  24. package/dist/common.d.ts +162 -0
  25. package/dist/common.js +41 -0
  26. package/dist/common.js.map +1 -0
  27. package/dist/config.d.ts +198 -0
  28. package/dist/config.js +168 -0
  29. package/dist/config.js.map +1 -0
  30. package/dist/connections.d.ts +354 -0
  31. package/dist/connections.js +313 -0
  32. package/dist/connections.js.map +1 -0
  33. package/dist/data.d.ts +858 -0
  34. package/dist/data.js +814 -0
  35. package/dist/data.js.map +1 -0
  36. package/dist/entitlement.d.ts +172 -0
  37. package/dist/entitlement.js +116 -0
  38. package/dist/entitlement.js.map +1 -0
  39. package/dist/events.d.ts +1324 -0
  40. package/dist/events.js +1227 -0
  41. package/dist/events.js.map +1 -0
  42. package/dist/hosting.d.ts +709 -0
  43. package/dist/hosting.js +611 -0
  44. package/dist/hosting.js.map +1 -0
  45. package/dist/index.d.ts +79 -33656
  46. package/dist/index.js +113 -0
  47. package/dist/index.js.map +1 -0
  48. package/dist/keys.d.ts +438 -0
  49. package/dist/keys.js +406 -0
  50. package/dist/keys.js.map +1 -0
  51. package/dist/methods.d.ts +2 -0
  52. package/dist/methods.js +3995 -0
  53. package/dist/methods.js.map +1 -0
  54. package/dist/network.d.ts +733 -0
  55. package/dist/network.js +711 -0
  56. package/dist/network.js.map +1 -0
  57. package/dist/notify.d.ts +1359 -0
  58. package/dist/notify.js +1282 -0
  59. package/dist/notify.js.map +1 -0
  60. package/dist/observability.d.ts +509 -0
  61. package/dist/observability.js +437 -0
  62. package/dist/observability.js.map +1 -0
  63. package/dist/release.d.ts +303 -0
  64. package/dist/release.js +214 -0
  65. package/dist/release.js.map +1 -0
  66. package/dist/runners.d.ts +262 -0
  67. package/dist/runners.js +238 -0
  68. package/dist/runners.js.map +1 -0
  69. package/dist/runtime.d.ts +88 -0
  70. package/dist/runtime.js +226 -0
  71. package/dist/runtime.js.map +1 -0
  72. package/dist/sandboxes.d.ts +1705 -0
  73. package/dist/sandboxes.js +1226 -0
  74. package/dist/sandboxes.js.map +1 -0
  75. package/dist/secrets.d.ts +508 -0
  76. package/dist/secrets.js +474 -0
  77. package/dist/secrets.js.map +1 -0
  78. package/dist/workflows.d.ts +678 -0
  79. package/dist/workflows.js +595 -0
  80. package/dist/workflows.js.map +1 -0
  81. package/package.json +33 -112
  82. package/dist/connect.d.ts +0 -2838
  83. package/dist/connect.mjs +0 -220
  84. package/dist/connect.mjs.map +0 -1
  85. package/dist/health/index.d.ts +0 -1394
  86. package/dist/health/index.mjs +0 -1394
  87. package/dist/health/index.mjs.map +0 -1
  88. package/dist/index.mjs +0 -38429
  89. package/dist/index.mjs.map +0 -1
  90. package/dist/nextjs/index.d.ts +0 -724
  91. package/dist/nextjs/index.mjs +0 -3332
  92. package/dist/nextjs/index.mjs.map +0 -1
  93. package/dist/react/index.d.ts +0 -13066
  94. package/dist/react/index.mjs +0 -35329
  95. package/dist/react/index.mjs.map +0 -1
  96. package/dist/server/index.d.ts +0 -2000
  97. package/dist/server/index.mjs +0 -3446
  98. package/dist/server/index.mjs.map +0 -1
  99. package/dist/web-analytics.d.ts +0 -90
  100. package/dist/web-analytics.mjs +0 -225
  101. package/dist/web-analytics.mjs.map +0 -1
package/dist/data.d.ts ADDED
@@ -0,0 +1,858 @@
1
+ import * as runtime from './runtime.js';
2
+ import './common.js';
3
+ import type * as common from './common.js';
4
+ /**
5
+ * A Bucket is one customer object store: bytes, size, and SHA-256 kept exact,
6
+ * with versions, delete markers, retention, multipart, and per-object
7
+ * visibility (private by default). Silo: each has its own engine, credentials,
8
+ * backup, region, and deletion.
9
+ */
10
+ export interface Bucket {
11
+ /** `orgs/{org}/projects/{project}/envs/{env}/buckets/{bucket}`. */
12
+ name?: string;
13
+ /** `bkt_<cell><ulid>`; never reused. */
14
+ readonly uid?: string;
15
+ /** Resource metadata. */
16
+ meta?: common.ResourceMeta;
17
+ /** Desired state. */
18
+ spec?: BucketSpec;
19
+ /** Observed state. */
20
+ readonly status?: BucketStatus;
21
+ }
22
+ /** BucketSpec is the caller-writable state of a Bucket. */
23
+ export interface BucketSpec {
24
+ /** Keep every version and write delete markers. */
25
+ versioningEnabled?: boolean;
26
+ /** Versions are kept at least this long; unset keeps no minimum. */
27
+ retention?: string;
28
+ /**
29
+ * The region; default the project's home region. Changing it moves the data
30
+ * by signed export and import.
31
+ */
32
+ region?: string;
33
+ /** While set, Delete fails with DELETION_PROTECTED. */
34
+ deletionProtection?: boolean;
35
+ }
36
+ /** BucketStatus is the observed state of a Bucket. */
37
+ export interface BucketStatus {
38
+ /** The generation this status was computed from. */
39
+ readonly observedGeneration?: string;
40
+ /** Ready, Reconciling, Stalled. */
41
+ readonly conditions?: common.Condition[];
42
+ /** Serving state. */
43
+ readonly state?: DatastoreState;
44
+ /** The routing ref: the first DNS label of the datastore's endpoint. */
45
+ readonly ref?: string;
46
+ /** The object endpoint host. */
47
+ readonly host?: string;
48
+ /** The Cell the datastore is placed on. */
49
+ readonly cell?: string;
50
+ /** Bytes stored, at the last usage sample. */
51
+ readonly storageBytes?: string;
52
+ /** Current objects, at the last usage sample. */
53
+ readonly objectCount?: string;
54
+ }
55
+ /** The request of ConnectBucket. */
56
+ export interface ConnectBucketRequest {
57
+ /** The name of the bucket. */
58
+ name: string;
59
+ }
60
+ /** The response of ConnectBucket. */
61
+ export interface ConnectBucketResponse {
62
+ /** How to connect. */
63
+ connectionInfo?: ConnectionInfo;
64
+ }
65
+ /** The request of ConnectDatabase. */
66
+ export interface ConnectDatabaseRequest {
67
+ /** The name of the database. */
68
+ name: string;
69
+ /** POOLED (default) or DIRECT. */
70
+ profile?: ConnectionProfile;
71
+ }
72
+ /** The response of ConnectDatabase. */
73
+ export interface ConnectDatabaseResponse {
74
+ /** How to connect. */
75
+ connectionInfo?: ConnectionInfo;
76
+ }
77
+ /** The request of ConnectKvNamespace. */
78
+ export interface ConnectKvNamespaceRequest {
79
+ /** The name of the kv namespace. */
80
+ name: string;
81
+ }
82
+ /** The response of ConnectKvNamespace. */
83
+ export interface ConnectKvNamespaceResponse {
84
+ /** How to connect. */
85
+ connectionInfo?: ConnectionInfo;
86
+ }
87
+ /** The request of ConnectSearchIndex. */
88
+ export interface ConnectSearchIndexRequest {
89
+ /** The name of the search index. */
90
+ name: string;
91
+ }
92
+ /** The response of ConnectSearchIndex. */
93
+ export interface ConnectSearchIndexResponse {
94
+ /** How to connect. */
95
+ connectionInfo?: ConnectionInfo;
96
+ }
97
+ /**
98
+ * ConnectionInfo is how a client reaches one datastore through Data Edge. The
99
+ * password is the datastore's own engine credential.
100
+ */
101
+ export interface ConnectionInfo {
102
+ /** The endpoint host, `{ref}.sylphx.net`. */
103
+ host?: string;
104
+ /** The TLS port: 5432 Postgres, 6379 Valkey, 8108 search, 443 objects. */
105
+ port?: number;
106
+ /** The engine user. */
107
+ username?: string;
108
+ /** The engine password. */
109
+ password?: string;
110
+ /** The Postgres database name; empty for other kinds. */
111
+ database?: string;
112
+ /** A driver URL embedding the credentials. */
113
+ uri?: string;
114
+ /**
115
+ * Postgres only: the direct URL for migrations, `pg_dump`,
116
+ * `LISTEN`/`NOTIFY`, session `SET`, and logical replication.
117
+ */
118
+ directUri?: string;
119
+ }
120
+ /** The request of CreateBucket. */
121
+ export interface CreateBucketRequest {
122
+ /** The parent to create in. */
123
+ parent: string;
124
+ /** The bucket to create; only spec and caller-writable metadata are read. */
125
+ bucket: Bucket;
126
+ /** The id segment of the name; the server assigns one when unset. */
127
+ bucketId?: string;
128
+ /** Validate and return the result without writing anything. */
129
+ validateOnly?: boolean;
130
+ }
131
+ /** The request of CreateDatabase. */
132
+ export interface CreateDatabaseRequest {
133
+ /** The parent to create in. */
134
+ parent: string;
135
+ /** The database to create; only spec and caller-writable metadata are read. */
136
+ database: Database;
137
+ /** The id segment of the name; the server assigns one when unset. */
138
+ databaseId?: string;
139
+ /** Validate and return the result without writing anything. */
140
+ validateOnly?: boolean;
141
+ }
142
+ /** The request of CreateKvNamespace. */
143
+ export interface CreateKvNamespaceRequest {
144
+ /** The parent to create in. */
145
+ parent: string;
146
+ /**
147
+ * The kv namespace to create; only spec and caller-writable metadata are
148
+ * read.
149
+ */
150
+ kvNamespace: KvNamespace;
151
+ /** The id segment of the name; the server assigns one when unset. */
152
+ kvNamespaceId?: string;
153
+ /** Validate and return the result without writing anything. */
154
+ validateOnly?: boolean;
155
+ }
156
+ /** The request of CreateSearchIndex. */
157
+ export interface CreateSearchIndexRequest {
158
+ /** The parent to create in. */
159
+ parent: string;
160
+ /**
161
+ * The search index to create; only spec and caller-writable metadata are
162
+ * read.
163
+ */
164
+ searchIndex: SearchIndex;
165
+ /** The id segment of the name; the server assigns one when unset. */
166
+ searchIndexId?: string;
167
+ /** Validate and return the result without writing anything. */
168
+ validateOnly?: boolean;
169
+ }
170
+ /**
171
+ * A Database is one customer Postgres. Silo: each has its own engine,
172
+ * credentials, backup, region, and deletion. The customer sets no instance
173
+ * class, disk, replica, or `max_connections`; they derive from compute size.
174
+ * An idle free-tier database stops and the next connect wakes it.
175
+ */
176
+ export interface Database {
177
+ /** `orgs/{org}/projects/{project}/envs/{env}/databases/{database}`. */
178
+ name?: string;
179
+ /** `db_<cell><ulid>`; never reused. */
180
+ readonly uid?: string;
181
+ /** Resource metadata. */
182
+ meta?: common.ResourceMeta;
183
+ /** Desired state. */
184
+ spec?: DatabaseSpec;
185
+ /** Observed state. */
186
+ readonly status?: DatabaseStatus;
187
+ }
188
+ /** DatabaseSpec is the caller-writable state of a Database. */
189
+ export interface DatabaseSpec {
190
+ /**
191
+ * The Postgres major version, for example `17`; default the newest
192
+ * supported.
193
+ */
194
+ postgresVersion?: string;
195
+ /**
196
+ * Compute size in units; default the plan's. `max_connections` derives from
197
+ * it.
198
+ */
199
+ computeUnits?: number;
200
+ /**
201
+ * The region; default the project's home region. Changing it moves the data
202
+ * by signed export and import.
203
+ */
204
+ region?: string;
205
+ /** While set, Delete fails with DELETION_PROTECTED. */
206
+ deletionProtection?: boolean;
207
+ }
208
+ /** DatabaseStatus is the observed state of a Database. */
209
+ export interface DatabaseStatus {
210
+ /** The generation this status was computed from. */
211
+ readonly observedGeneration?: string;
212
+ /** Ready, Reconciling, Stalled. */
213
+ readonly conditions?: common.Condition[];
214
+ /** Serving state. */
215
+ readonly state?: DatastoreState;
216
+ /** The routing ref: the first DNS label of the datastore's endpoint. */
217
+ readonly ref?: string;
218
+ /**
219
+ * The endpoint host, `{ref}.sylphx.net`; `{ref}-direct` is the direct
220
+ * profile.
221
+ */
222
+ readonly host?: string;
223
+ /** The Cell the datastore is placed on. */
224
+ readonly cell?: string;
225
+ /** Bytes stored, at the last usage sample. */
226
+ readonly storageBytes?: string;
227
+ /** Derived from compute size; not customer config. */
228
+ readonly maxConnections?: number;
229
+ /** The earliest point `:restore` accepts. */
230
+ readonly earliestRestoreTime?: string;
231
+ }
232
+ /** The request of DeleteBucket. */
233
+ export interface DeleteBucketRequest {
234
+ /** The name of the bucket to delete. */
235
+ name: string;
236
+ /** Delete only if the current etag matches. */
237
+ etag?: string;
238
+ /** Succeed when the Resource does not exist. */
239
+ allowMissing?: boolean;
240
+ /** Validate without deleting anything. */
241
+ validateOnly?: boolean;
242
+ }
243
+ /** The request of DeleteDatabase. */
244
+ export interface DeleteDatabaseRequest {
245
+ /** The name of the database to delete. */
246
+ name: string;
247
+ /** Delete only if the current etag matches. */
248
+ etag?: string;
249
+ /** Succeed when the Resource does not exist. */
250
+ allowMissing?: boolean;
251
+ /** Validate without deleting anything. */
252
+ validateOnly?: boolean;
253
+ }
254
+ /** The request of DeleteKvNamespace. */
255
+ export interface DeleteKvNamespaceRequest {
256
+ /** The name of the kv namespace to delete. */
257
+ name: string;
258
+ /** Delete only if the current etag matches. */
259
+ etag?: string;
260
+ /** Succeed when the Resource does not exist. */
261
+ allowMissing?: boolean;
262
+ /** Validate without deleting anything. */
263
+ validateOnly?: boolean;
264
+ }
265
+ /** The request of DeleteSearchIndex. */
266
+ export interface DeleteSearchIndexRequest {
267
+ /** The name of the search index to delete. */
268
+ name: string;
269
+ /** Delete only if the current etag matches. */
270
+ etag?: string;
271
+ /** Succeed when the Resource does not exist. */
272
+ allowMissing?: boolean;
273
+ /** Validate without deleting anything. */
274
+ validateOnly?: boolean;
275
+ }
276
+ /** The request of GetBucket. */
277
+ export interface GetBucketRequest {
278
+ /** The name of the bucket to get. */
279
+ name: string;
280
+ }
281
+ /** The request of GetDatabase. */
282
+ export interface GetDatabaseRequest {
283
+ /** The name of the database to get. */
284
+ name: string;
285
+ }
286
+ /** The request of GetKvNamespace. */
287
+ export interface GetKvNamespaceRequest {
288
+ /** The name of the kv namespace to get. */
289
+ name: string;
290
+ }
291
+ /** The request of GetSearchIndex. */
292
+ export interface GetSearchIndexRequest {
293
+ /** The name of the search index to get. */
294
+ name: string;
295
+ }
296
+ /**
297
+ * A KvNamespace is one customer key-value store on its own Valkey: versioned
298
+ * bytes with compare-and-set, TTL, and prefix list, plus a closed Valkey
299
+ * command profile on the wire. Silo: each has its own engine, credentials,
300
+ * backup, region, and deletion.
301
+ */
302
+ export interface KvNamespace {
303
+ /** `orgs/{org}/projects/{project}/envs/{env}/kv_namespaces/{kv_namespace}`. */
304
+ name?: string;
305
+ /** `kv_<cell><ulid>`; never reused. */
306
+ readonly uid?: string;
307
+ /** Resource metadata. */
308
+ meta?: common.ResourceMeta;
309
+ /** Desired state. */
310
+ spec?: KvNamespaceSpec;
311
+ /** Observed state. */
312
+ readonly status?: KvNamespaceStatus;
313
+ }
314
+ /** KvNamespaceSpec is the caller-writable state of a KvNamespace. */
315
+ export interface KvNamespaceSpec {
316
+ /** The TTL of a value written without one; unset keeps values until deleted. */
317
+ defaultTtl?: string;
318
+ /**
319
+ * The region; default the project's home region. Changing it moves the data
320
+ * by signed export and import.
321
+ */
322
+ region?: string;
323
+ /** While set, Delete fails with DELETION_PROTECTED. */
324
+ deletionProtection?: boolean;
325
+ }
326
+ /** KvNamespaceStatus is the observed state of a KvNamespace. */
327
+ export interface KvNamespaceStatus {
328
+ /** The generation this status was computed from. */
329
+ readonly observedGeneration?: string;
330
+ /** Ready, Reconciling, Stalled. */
331
+ readonly conditions?: common.Condition[];
332
+ /** Serving state. */
333
+ readonly state?: DatastoreState;
334
+ /** The routing ref: the first DNS label of the datastore's endpoint. */
335
+ readonly ref?: string;
336
+ /** The endpoint host, `{ref}.sylphx.net`, port 6379. */
337
+ readonly host?: string;
338
+ /** The Cell the datastore is placed on. */
339
+ readonly cell?: string;
340
+ /** Bytes stored, at the last usage sample. */
341
+ readonly storageBytes?: string;
342
+ }
343
+ /** The request of ListBuckets. */
344
+ export interface ListBucketsRequest {
345
+ /** The parent to list in. */
346
+ parent: string;
347
+ /** At most this many; default 50, clamped to 1000. */
348
+ pageSize?: number;
349
+ /** `next_page_token` of the previous page. */
350
+ pageToken?: string;
351
+ /** AIP-160 filter over labels, filterable fields, and Ready. */
352
+ filter?: string;
353
+ /** AIP-132 ordering over filterable fields. */
354
+ orderBy?: string;
355
+ }
356
+ /** The response of ListBuckets. */
357
+ export interface ListBucketsResponse {
358
+ /** The page. */
359
+ buckets?: Bucket[];
360
+ /** The token of the next page; empty on the last page. */
361
+ nextPageToken?: string;
362
+ }
363
+ /** The request of ListDatabases. */
364
+ export interface ListDatabasesRequest {
365
+ /** The parent to list in. */
366
+ parent: string;
367
+ /** At most this many; default 50, clamped to 1000. */
368
+ pageSize?: number;
369
+ /** `next_page_token` of the previous page. */
370
+ pageToken?: string;
371
+ /** AIP-160 filter over labels, filterable fields, and Ready. */
372
+ filter?: string;
373
+ /** AIP-132 ordering over filterable fields. */
374
+ orderBy?: string;
375
+ }
376
+ /** The response of ListDatabases. */
377
+ export interface ListDatabasesResponse {
378
+ /** The page. */
379
+ databases?: Database[];
380
+ /** The token of the next page; empty on the last page. */
381
+ nextPageToken?: string;
382
+ }
383
+ /** The request of ListKvNamespaces. */
384
+ export interface ListKvNamespacesRequest {
385
+ /** The parent to list in. */
386
+ parent: string;
387
+ /** At most this many; default 50, clamped to 1000. */
388
+ pageSize?: number;
389
+ /** `next_page_token` of the previous page. */
390
+ pageToken?: string;
391
+ /** AIP-160 filter over labels, filterable fields, and Ready. */
392
+ filter?: string;
393
+ /** AIP-132 ordering over filterable fields. */
394
+ orderBy?: string;
395
+ }
396
+ /** The response of ListKvNamespaces. */
397
+ export interface ListKvNamespacesResponse {
398
+ /** The page. */
399
+ kvNamespaces?: KvNamespace[];
400
+ /** The token of the next page; empty on the last page. */
401
+ nextPageToken?: string;
402
+ }
403
+ /** The request of ListSearchIndexes. */
404
+ export interface ListSearchIndexesRequest {
405
+ /** The parent to list in. */
406
+ parent: string;
407
+ /** At most this many; default 50, clamped to 1000. */
408
+ pageSize?: number;
409
+ /** `next_page_token` of the previous page. */
410
+ pageToken?: string;
411
+ /** AIP-160 filter over labels, filterable fields, and Ready. */
412
+ filter?: string;
413
+ /** AIP-132 ordering over filterable fields. */
414
+ orderBy?: string;
415
+ }
416
+ /** The response of ListSearchIndexes. */
417
+ export interface ListSearchIndexesResponse {
418
+ /** The page. */
419
+ searchIndexes?: SearchIndex[];
420
+ /** The token of the next page; empty on the last page. */
421
+ nextPageToken?: string;
422
+ }
423
+ /** The request of RestoreDatabase. */
424
+ export interface RestoreDatabaseRequest {
425
+ /** The name of the database. */
426
+ name: string;
427
+ /** The point in time to restore to. */
428
+ restoreTime: string;
429
+ /** Act only if the current etag matches. */
430
+ etag?: string;
431
+ /** Validate without acting. */
432
+ validateOnly?: boolean;
433
+ }
434
+ /** The request of RotateBucketCredentials. */
435
+ export interface RotateBucketCredentialsRequest {
436
+ /** The name of the bucket. */
437
+ name: string;
438
+ /** Act only if the current etag matches. */
439
+ etag?: string;
440
+ /** Validate without acting. */
441
+ validateOnly?: boolean;
442
+ }
443
+ /** The request of RotateDatabaseCredentials. */
444
+ export interface RotateDatabaseCredentialsRequest {
445
+ /** The name of the database. */
446
+ name: string;
447
+ /** Act only if the current etag matches. */
448
+ etag?: string;
449
+ /** Validate without acting. */
450
+ validateOnly?: boolean;
451
+ }
452
+ /** The request of RotateKvNamespaceCredentials. */
453
+ export interface RotateKvNamespaceCredentialsRequest {
454
+ /** The name of the kv namespace. */
455
+ name: string;
456
+ /** Act only if the current etag matches. */
457
+ etag?: string;
458
+ /** Validate without acting. */
459
+ validateOnly?: boolean;
460
+ }
461
+ /** The request of RotateSearchIndexCredentials. */
462
+ export interface RotateSearchIndexCredentialsRequest {
463
+ /** The name of the search index. */
464
+ name: string;
465
+ /** Act only if the current etag matches. */
466
+ etag?: string;
467
+ /** Validate without acting. */
468
+ validateOnly?: boolean;
469
+ }
470
+ /**
471
+ * A SearchIndex is one customer lexical and vector index of JSON documents.
472
+ * Dimension 0 is lexical only; a positive dimension adds cosine queries. Data
473
+ * never invents embeddings. Silo: each has its own engine, credentials,
474
+ * backup, region, and deletion.
475
+ */
476
+ export interface SearchIndex {
477
+ /** `orgs/{org}/projects/{project}/envs/{env}/search_indexes/{search_index}`. */
478
+ name?: string;
479
+ /** `idx_<cell><ulid>`; never reused. */
480
+ readonly uid?: string;
481
+ /** Resource metadata. */
482
+ meta?: common.ResourceMeta;
483
+ /** Desired state. */
484
+ spec?: SearchIndexSpec;
485
+ /** Observed state. */
486
+ readonly status?: SearchIndexStatus;
487
+ }
488
+ /** SearchIndexSpec is the caller-writable state of a SearchIndex. */
489
+ export interface SearchIndexSpec {
490
+ /** The vector dimension; 0 for lexical only. */
491
+ vectorDimensions?: number;
492
+ /**
493
+ * The region; default the project's home region. Changing it moves the data
494
+ * by signed export and import.
495
+ */
496
+ region?: string;
497
+ /** While set, Delete fails with DELETION_PROTECTED. */
498
+ deletionProtection?: boolean;
499
+ }
500
+ /** SearchIndexStatus is the observed state of a SearchIndex. */
501
+ export interface SearchIndexStatus {
502
+ /** The generation this status was computed from. */
503
+ readonly observedGeneration?: string;
504
+ /** Ready, Reconciling, Stalled. */
505
+ readonly conditions?: common.Condition[];
506
+ /** Serving state. */
507
+ readonly state?: DatastoreState;
508
+ /** The routing ref: the first DNS label of the datastore's endpoint. */
509
+ readonly ref?: string;
510
+ /** The endpoint host, `{ref}.sylphx.net`, port 8108. */
511
+ readonly host?: string;
512
+ /** The Cell the datastore is placed on. */
513
+ readonly cell?: string;
514
+ /** Bytes stored, at the last usage sample. */
515
+ readonly storageBytes?: string;
516
+ /** Indexed documents, at the last usage sample. */
517
+ readonly documentCount?: string;
518
+ }
519
+ /** The request of UpdateBucket. */
520
+ export interface UpdateBucketRequest {
521
+ /** The bucket to update; `name` identifies it. */
522
+ bucket: Bucket;
523
+ /** The fields to write; unset writes every populated field. */
524
+ updateMask?: string;
525
+ /** Create the Resource when it does not exist (declarative upsert). */
526
+ allowMissing?: boolean;
527
+ /** Validate and return the result without writing anything. */
528
+ validateOnly?: boolean;
529
+ }
530
+ /** The request of UpdateDatabase. */
531
+ export interface UpdateDatabaseRequest {
532
+ /** The database to update; `name` identifies it. */
533
+ database: Database;
534
+ /** The fields to write; unset writes every populated field. */
535
+ updateMask?: string;
536
+ /** Create the Resource when it does not exist (declarative upsert). */
537
+ allowMissing?: boolean;
538
+ /** Validate and return the result without writing anything. */
539
+ validateOnly?: boolean;
540
+ }
541
+ /** The request of UpdateKvNamespace. */
542
+ export interface UpdateKvNamespaceRequest {
543
+ /** The kv namespace to update; `name` identifies it. */
544
+ kvNamespace: KvNamespace;
545
+ /** The fields to write; unset writes every populated field. */
546
+ updateMask?: string;
547
+ /** Create the Resource when it does not exist (declarative upsert). */
548
+ allowMissing?: boolean;
549
+ /** Validate and return the result without writing anything. */
550
+ validateOnly?: boolean;
551
+ }
552
+ /** The request of UpdateSearchIndex. */
553
+ export interface UpdateSearchIndexRequest {
554
+ /** The search index to update; `name` identifies it. */
555
+ searchIndex: SearchIndex;
556
+ /** The fields to write; unset writes every populated field. */
557
+ updateMask?: string;
558
+ /** Create the Resource when it does not exist (declarative upsert). */
559
+ allowMissing?: boolean;
560
+ /** Validate and return the result without writing anything. */
561
+ validateOnly?: boolean;
562
+ }
563
+ /** ConnectionProfile is which Postgres path a connection takes. */
564
+ export type ConnectionProfile = 'pooled' | 'direct' | (string & {});
565
+ /** DatastoreState is whether a datastore is serving. */
566
+ export type DatastoreState = 'provisioning' | 'active' | 'idle' | 'moving' | 'deleting' | (string & {});
567
+ /**
568
+ * DataService is Sylphx Data's control plane: the four customer datastores and
569
+ * how to connect to them (docs/services/data/vision.md). Each datastore is its
570
+ * own silo; its engine credentials are not API keys, and every endpoint is
571
+ * `{ref}[-direct].sylphx.net` served by Data Edge from the Cell Snapshot.
572
+ *
573
+ * Namespace of Sylphx Data on `Sylphx`.
574
+ */
575
+ export declare class DataApi {
576
+ /** The `databases` collection. */
577
+ readonly databases: DatabasesCollection;
578
+ /** The `kv_namespaces` collection. */
579
+ readonly kvNamespaces: KvNamespacesCollection;
580
+ /** The `buckets` collection. */
581
+ readonly buckets: BucketsCollection;
582
+ /** The `search_indexes` collection. */
583
+ readonly searchIndexes: SearchIndexesCollection;
584
+ constructor(client: runtime.Client);
585
+ }
586
+ /** `databases` of Sylphx Data: Resource type `data.sylphx.com/Database`. */
587
+ export declare class DatabasesCollection {
588
+ private readonly client;
589
+ constructor(client: runtime.Client);
590
+ /**
591
+ * Gets a database.
592
+ *
593
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/databases/*}` · permission `data:read` · effect `read`
594
+ *
595
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
596
+ */
597
+ get(request: GetDatabaseRequest): Promise<Database>;
598
+ /**
599
+ * Lists databases in a environment.
600
+ *
601
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/databases` · permission `data:read` · effect `read`
602
+ *
603
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
604
+ */
605
+ list(request: ListDatabasesRequest): Promise<ListDatabasesResponse>;
606
+ /** Every item of every page of `list`. */
607
+ listAll(request: ListDatabasesRequest): AsyncGenerator<Database>;
608
+ /**
609
+ * Creates a database. The Operation is done when the controller settles it.
610
+ *
611
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/databases` · permission `data:write` · effect `write`
612
+ *
613
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `SPEND_LIMIT_REACHED`.
614
+ */
615
+ create(request: CreateDatabaseRequest): Promise<runtime.Operation<Database>>;
616
+ /**
617
+ * Updates a database.
618
+ *
619
+ * `PATCH /v1/{database.name=orgs/*\/projects/*\/envs/*\/databases/*}` · permission `data:write` · effect `write`
620
+ *
621
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
622
+ */
623
+ update(request: UpdateDatabaseRequest): Promise<runtime.Operation<Database>>;
624
+ /**
625
+ * Deletes a database. Fails while `spec.deletion_protection` is set.
626
+ *
627
+ * `DELETE /v1/{name=orgs/*\/projects/*\/envs/*\/databases/*}` · permission `data:write` · effect `destructive`
628
+ *
629
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `DELETION_PROTECTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
630
+ */
631
+ delete(request: DeleteDatabaseRequest): Promise<runtime.Operation<Record<string, never>>>;
632
+ /**
633
+ * Returns how to connect to the database: its endpoint and its own engine
634
+ * credentials. The credentials are not API keys and are returned only here.
635
+ *
636
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/databases/*}:connect` · permission `data:write` · effect `read`
637
+ *
638
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_STATE`.
639
+ */
640
+ connect(request: ConnectDatabaseRequest): Promise<ConnectDatabaseResponse>;
641
+ /**
642
+ * Replaces the database's engine credentials; the old ones stop working once
643
+ * the new ones are served.
644
+ *
645
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/databases/*}:rotateCredentials` · permission `data:write` · effect `write`
646
+ *
647
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
648
+ */
649
+ rotateCredentials(request: RotateDatabaseCredentialsRequest): Promise<runtime.Operation<Database>>;
650
+ /**
651
+ * Restores the database in place to a point in time inside its retention
652
+ * window; the database is unavailable while it restores.
653
+ *
654
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/databases/*}:restore` · permission `data:write` · effect `destructive`
655
+ *
656
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
657
+ */
658
+ restore(request: RestoreDatabaseRequest): Promise<runtime.Operation<Database>>;
659
+ }
660
+ /** `kv_namespaces` of Sylphx Data: Resource type `data.sylphx.com/KvNamespace`. */
661
+ export declare class KvNamespacesCollection {
662
+ private readonly client;
663
+ constructor(client: runtime.Client);
664
+ /**
665
+ * Gets a kv namespace.
666
+ *
667
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/kv_namespaces/*}` · permission `data:read` · effect `read`
668
+ *
669
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
670
+ */
671
+ get(request: GetKvNamespaceRequest): Promise<KvNamespace>;
672
+ /**
673
+ * Lists kv namespaces in a environment.
674
+ *
675
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/kv_namespaces` · permission `data:read` · effect `read`
676
+ *
677
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
678
+ */
679
+ list(request: ListKvNamespacesRequest): Promise<ListKvNamespacesResponse>;
680
+ /** Every item of every page of `list`. */
681
+ listAll(request: ListKvNamespacesRequest): AsyncGenerator<KvNamespace>;
682
+ /**
683
+ * Creates a kv namespace. The Operation is done when the controller settles
684
+ * it.
685
+ *
686
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/kv_namespaces` · permission `data:write` · effect `write`
687
+ *
688
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `SPEND_LIMIT_REACHED`.
689
+ */
690
+ create(request: CreateKvNamespaceRequest): Promise<runtime.Operation<KvNamespace>>;
691
+ /**
692
+ * Updates a kv namespace.
693
+ *
694
+ * `PATCH /v1/{kv_namespace.name=orgs/*\/projects/*\/envs/*\/kv_namespaces/*}` · permission `data:write` · effect `write`
695
+ *
696
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
697
+ */
698
+ update(request: UpdateKvNamespaceRequest): Promise<runtime.Operation<KvNamespace>>;
699
+ /**
700
+ * Deletes a kv namespace. Fails while `spec.deletion_protection` is set.
701
+ *
702
+ * `DELETE /v1/{name=orgs/*\/projects/*\/envs/*\/kv_namespaces/*}` · permission `data:write` · effect `destructive`
703
+ *
704
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `DELETION_PROTECTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
705
+ */
706
+ delete(request: DeleteKvNamespaceRequest): Promise<runtime.Operation<Record<string, never>>>;
707
+ /**
708
+ * Returns how to connect to the KV namespace: its endpoint and its own
709
+ * engine credentials. The credentials are not API keys and are returned only
710
+ * here.
711
+ *
712
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/kv_namespaces/*}:connect` · permission `data:write` · effect `read`
713
+ *
714
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_STATE`.
715
+ */
716
+ connect(request: ConnectKvNamespaceRequest): Promise<ConnectKvNamespaceResponse>;
717
+ /**
718
+ * Replaces the KV namespace's engine credentials; the old ones stop working
719
+ * once the new ones are served.
720
+ *
721
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/kv_namespaces/*}:rotateCredentials` · permission `data:write` · effect `write`
722
+ *
723
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
724
+ */
725
+ rotateCredentials(request: RotateKvNamespaceCredentialsRequest): Promise<runtime.Operation<KvNamespace>>;
726
+ }
727
+ /** `buckets` of Sylphx Data: Resource type `data.sylphx.com/Bucket`. */
728
+ export declare class BucketsCollection {
729
+ private readonly client;
730
+ constructor(client: runtime.Client);
731
+ /**
732
+ * Gets a bucket.
733
+ *
734
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/buckets/*}` · permission `data:read` · effect `read`
735
+ *
736
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
737
+ */
738
+ get(request: GetBucketRequest): Promise<Bucket>;
739
+ /**
740
+ * Lists buckets in a environment.
741
+ *
742
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/buckets` · permission `data:read` · effect `read`
743
+ *
744
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
745
+ */
746
+ list(request: ListBucketsRequest): Promise<ListBucketsResponse>;
747
+ /** Every item of every page of `list`. */
748
+ listAll(request: ListBucketsRequest): AsyncGenerator<Bucket>;
749
+ /**
750
+ * Creates a bucket. The Operation is done when the controller settles it.
751
+ *
752
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/buckets` · permission `data:write` · effect `write`
753
+ *
754
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `SPEND_LIMIT_REACHED`.
755
+ */
756
+ create(request: CreateBucketRequest): Promise<runtime.Operation<Bucket>>;
757
+ /**
758
+ * Updates a bucket.
759
+ *
760
+ * `PATCH /v1/{bucket.name=orgs/*\/projects/*\/envs/*\/buckets/*}` · permission `data:write` · effect `write`
761
+ *
762
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
763
+ */
764
+ update(request: UpdateBucketRequest): Promise<runtime.Operation<Bucket>>;
765
+ /**
766
+ * Deletes a bucket. Fails while `spec.deletion_protection` is set.
767
+ *
768
+ * `DELETE /v1/{name=orgs/*\/projects/*\/envs/*\/buckets/*}` · permission `data:write` · effect `destructive`
769
+ *
770
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `DELETION_PROTECTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
771
+ */
772
+ delete(request: DeleteBucketRequest): Promise<runtime.Operation<Record<string, never>>>;
773
+ /**
774
+ * Returns how to connect to the bucket: its endpoint and its own engine
775
+ * credentials. The credentials are not API keys and are returned only here.
776
+ *
777
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/buckets/*}:connect` · permission `data:write` · effect `read`
778
+ *
779
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_STATE`.
780
+ */
781
+ connect(request: ConnectBucketRequest): Promise<ConnectBucketResponse>;
782
+ /**
783
+ * Replaces the bucket's engine credentials; the old ones stop working once
784
+ * the new ones are served.
785
+ *
786
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/buckets/*}:rotateCredentials` · permission `data:write` · effect `write`
787
+ *
788
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
789
+ */
790
+ rotateCredentials(request: RotateBucketCredentialsRequest): Promise<runtime.Operation<Bucket>>;
791
+ }
792
+ /** `search_indexes` of Sylphx Data: Resource type `data.sylphx.com/SearchIndex`. */
793
+ export declare class SearchIndexesCollection {
794
+ private readonly client;
795
+ constructor(client: runtime.Client);
796
+ /**
797
+ * Gets a search index.
798
+ *
799
+ * `GET /v1/{name=orgs/*\/projects/*\/envs/*\/search_indexes/*}` · permission `data:read` · effect `read`
800
+ *
801
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
802
+ */
803
+ get(request: GetSearchIndexRequest): Promise<SearchIndex>;
804
+ /**
805
+ * Lists search indexs in a environment.
806
+ *
807
+ * `GET /v1/{parent=orgs/*\/projects/*\/envs/*}/search_indexes` · permission `data:read` · effect `read`
808
+ *
809
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `PAGE_TOKEN_MISMATCH`.
810
+ */
811
+ list(request: ListSearchIndexesRequest): Promise<ListSearchIndexesResponse>;
812
+ /** Every item of every page of `list`. */
813
+ listAll(request: ListSearchIndexesRequest): AsyncGenerator<SearchIndex>;
814
+ /**
815
+ * Creates a search index. The Operation is done when the controller settles
816
+ * it.
817
+ *
818
+ * `POST /v1/{parent=orgs/*\/projects/*\/envs/*}/search_indexes` · permission `data:write` · effect `write`
819
+ *
820
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `RESOURCE_ALREADY_EXISTS`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`, `PLAN_LIMIT_REACHED`, `SPEND_LIMIT_REACHED`.
821
+ */
822
+ create(request: CreateSearchIndexRequest): Promise<runtime.Operation<SearchIndex>>;
823
+ /**
824
+ * Updates a search index.
825
+ *
826
+ * `PATCH /v1/{search_index.name=orgs/*\/projects/*\/envs/*\/search_indexes/*}` · permission `data:write` · effect `write`
827
+ *
828
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `UNKNOWN_FIELD`, `INVALID_FIELD`, `ETAG_MISMATCH`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
829
+ */
830
+ update(request: UpdateSearchIndexRequest): Promise<runtime.Operation<SearchIndex>>;
831
+ /**
832
+ * Deletes a search index. Fails while `spec.deletion_protection` is set.
833
+ *
834
+ * `DELETE /v1/{name=orgs/*\/projects/*\/envs/*\/search_indexes/*}` · permission `data:write` · effect `destructive`
835
+ *
836
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `DELETION_PROTECTED`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
837
+ */
838
+ delete(request: DeleteSearchIndexRequest): Promise<runtime.Operation<Record<string, never>>>;
839
+ /**
840
+ * Returns how to connect to the search index: its endpoint and its own
841
+ * engine credentials. The credentials are not API keys and are returned only
842
+ * here.
843
+ *
844
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/search_indexes/*}:connect` · permission `data:write` · effect `read`
845
+ *
846
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `INVALID_STATE`.
847
+ */
848
+ connect(request: ConnectSearchIndexRequest): Promise<ConnectSearchIndexResponse>;
849
+ /**
850
+ * Replaces the search index's engine credentials; the old ones stop working
851
+ * once the new ones are served.
852
+ *
853
+ * `POST /v1/{name=orgs/*\/projects/*\/envs/*\/search_indexes/*}:rotateCredentials` · permission `data:write` · effect `write`
854
+ *
855
+ * Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`, `INVALID_STATE`, `IDEMPOTENCY_KEY_REUSED`, `IDEMPOTENCY_IN_PROGRESS`.
856
+ */
857
+ rotateCredentials(request: RotateSearchIndexCredentialsRequest): Promise<runtime.Operation<SearchIndex>>;
858
+ }