@sylphx/sdk 0.31.0 → 0.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +131 -4
- package/dist/access.d.ts +146 -17
- package/dist/access.js +114 -8
- package/dist/access.js.map +1 -1
- package/dist/agents.d.ts +1564 -0
- package/dist/agents.js +1096 -0
- package/dist/agents.js.map +1 -0
- package/dist/ai.d.ts +1 -2
- package/dist/ai.js +2 -3
- package/dist/ai.js.map +1 -1
- package/dist/artifacts.d.ts +1 -1
- package/dist/artifacts.js +2 -2
- package/dist/assets.d.ts +447 -0
- package/dist/assets.js +266 -0
- package/dist/assets.js.map +1 -0
- package/dist/auth/client.d.ts +239 -0
- package/dist/auth/client.js +337 -0
- package/dist/auth/client.js.map +1 -0
- package/dist/auth/end-user-keys-mock.d.ts +83 -0
- package/dist/auth/end-user-keys-mock.js +427 -0
- package/dist/auth/end-user-keys-mock.js.map +1 -0
- package/dist/auth/end-user-keys.d.ts +219 -0
- package/dist/auth/end-user-keys.js +240 -0
- package/dist/auth/end-user-keys.js.map +1 -0
- package/dist/auth/verify.d.ts +38 -3
- package/dist/auth/verify.js +58 -8
- package/dist/auth/verify.js.map +1 -1
- package/dist/auth.d.ts +656 -9
- package/dist/auth.js +563 -6
- package/dist/auth.js.map +1 -1
- package/dist/billing.d.ts +99 -21
- package/dist/billing.js +43 -5
- package/dist/billing.js.map +1 -1
- package/dist/broker.d.ts +5 -4
- package/dist/broker.js +3 -3
- package/dist/broker.js.map +1 -1
- package/dist/build.d.ts +362 -29
- package/dist/build.js +302 -10
- package/dist/build.js.map +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/config/flags.d.ts +140 -0
- package/dist/config/flags.js +462 -0
- package/dist/config/flags.js.map +1 -0
- package/dist/config.d.ts +380 -15
- package/dist/config.js +283 -5
- package/dist/config.js.map +1 -1
- package/dist/connections.d.ts +6 -6
- package/dist/connections.js +3 -3
- package/dist/data.d.ts +612 -7
- package/dist/data.js +566 -4
- package/dist/data.js.map +1 -1
- package/dist/entitlement.d.ts +10 -8
- package/dist/entitlement.js +3 -4
- package/dist/entitlement.js.map +1 -1
- package/dist/events/realtime.d.ts +69 -0
- package/dist/events/realtime.js +107 -0
- package/dist/events/realtime.js.map +1 -0
- package/dist/events/webhooks.d.ts +40 -0
- package/dist/events/webhooks.js +110 -0
- package/dist/events/webhooks.js.map +1 -0
- package/dist/events.d.ts +369 -22
- package/dist/events.js +311 -8
- package/dist/events.js.map +1 -1
- package/dist/flags.d.ts +18 -0
- package/dist/flags.js +44 -0
- package/dist/flags.js.map +1 -0
- package/dist/hosting.d.ts +13 -14
- package/dist/hosting.js +3 -4
- package/dist/hosting.js.map +1 -1
- package/dist/ids.d.ts +987 -0
- package/dist/ids.js +317 -0
- package/dist/ids.js.map +1 -0
- package/dist/index.d.ts +25 -1
- package/dist/index.js +34 -2
- package/dist/index.js.map +1 -1
- package/dist/keys.d.ts +2 -2
- package/dist/keys.js +3 -3
- package/dist/knowledge.d.ts +1192 -0
- package/dist/knowledge.js +1002 -0
- package/dist/knowledge.js.map +1 -0
- package/dist/localization.d.ts +663 -0
- package/dist/localization.js +491 -0
- package/dist/localization.js.map +1 -0
- package/dist/methods.js +3251 -133
- package/dist/methods.js.map +1 -1
- package/dist/money.d.ts +3086 -0
- package/dist/money.js +2358 -0
- package/dist/money.js.map +1 -0
- package/dist/network.d.ts +4 -5
- package/dist/network.js +3 -4
- package/dist/network.js.map +1 -1
- package/dist/notify.d.ts +667 -125
- package/dist/notify.js +471 -73
- package/dist/notify.js.map +1 -1
- package/dist/observability.d.ts +322 -7
- package/dist/observability.js +244 -8
- package/dist/observability.js.map +1 -1
- package/dist/realtime.d.ts +404 -0
- package/dist/realtime.js +312 -0
- package/dist/realtime.js.map +1 -0
- package/dist/release.d.ts +14 -15
- package/dist/release.js +3 -4
- package/dist/release.js.map +1 -1
- package/dist/runners.d.ts +2 -3
- package/dist/runners.js +3 -4
- package/dist/runners.js.map +1 -1
- package/dist/runtime.d.ts +5 -1
- package/dist/runtime.js +7 -3
- package/dist/runtime.js.map +1 -1
- package/dist/sandboxes.d.ts +64 -20
- package/dist/sandboxes.js +9 -4
- package/dist/sandboxes.js.map +1 -1
- package/dist/secrets.d.ts +342 -6
- package/dist/secrets.js +271 -4
- package/dist/secrets.js.map +1 -1
- package/dist/workflows.d.ts +969 -15
- package/dist/workflows.js +815 -6
- package/dist/workflows.js.map +1 -1
- package/package.json +2 -2
package/dist/data.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export interface BucketStatus {
|
|
|
45
45
|
readonly ref?: string;
|
|
46
46
|
/** The object endpoint host. */
|
|
47
47
|
readonly host?: string;
|
|
48
|
-
/** The
|
|
48
|
+
/** The cell the datastore is placed on. */
|
|
49
49
|
readonly cell?: string;
|
|
50
50
|
/** Bytes stored, at the last usage sample. */
|
|
51
51
|
readonly storageBytes?: string;
|
|
@@ -220,7 +220,7 @@ export interface DatabaseStatus {
|
|
|
220
220
|
* profile.
|
|
221
221
|
*/
|
|
222
222
|
readonly host?: string;
|
|
223
|
-
/** The
|
|
223
|
+
/** The cell the datastore is placed on. */
|
|
224
224
|
readonly cell?: string;
|
|
225
225
|
/** Bytes stored, at the last usage sample. */
|
|
226
226
|
readonly storageBytes?: string;
|
|
@@ -251,6 +251,20 @@ export interface DeleteDatabaseRequest {
|
|
|
251
251
|
/** Validate without deleting anything. */
|
|
252
252
|
validateOnly?: boolean;
|
|
253
253
|
}
|
|
254
|
+
/** The request of DeleteDocument. */
|
|
255
|
+
export interface DeleteDocumentRequest {
|
|
256
|
+
/** The search index's id. */
|
|
257
|
+
indexId: string;
|
|
258
|
+
/** The document's id. */
|
|
259
|
+
documentId: string;
|
|
260
|
+
/** Delete only when the current version equals this one (0: any). */
|
|
261
|
+
expectedVersion?: string;
|
|
262
|
+
}
|
|
263
|
+
/** The response of DeleteDocument. */
|
|
264
|
+
export interface DeleteDocumentResponse {
|
|
265
|
+
/** Whether the document existed. */
|
|
266
|
+
deleted?: boolean;
|
|
267
|
+
}
|
|
254
268
|
/** The request of DeleteKvNamespace. */
|
|
255
269
|
export interface DeleteKvNamespaceRequest {
|
|
256
270
|
/** The name of the kv namespace to delete. */
|
|
@@ -303,6 +317,41 @@ export interface DeleteValueResponse {
|
|
|
303
317
|
/** Whether the key existed. */
|
|
304
318
|
deleted?: boolean;
|
|
305
319
|
}
|
|
320
|
+
/** A document in a search index. */
|
|
321
|
+
export interface DocumentRecord {
|
|
322
|
+
/** The search index's id in the environment, for example `articles`. */
|
|
323
|
+
indexId?: string;
|
|
324
|
+
/** The document's id. */
|
|
325
|
+
documentId?: string;
|
|
326
|
+
/** The document as JSON, base64. */
|
|
327
|
+
documentJson?: string;
|
|
328
|
+
/** The document's embedding; its length is the index's vector dimensions. */
|
|
329
|
+
vector?: number[];
|
|
330
|
+
/** `sha256:<hex>` of the document. */
|
|
331
|
+
sha256?: string;
|
|
332
|
+
/** The version, increasing per document. */
|
|
333
|
+
version?: string;
|
|
334
|
+
/** When this version was written, in Unix milliseconds. */
|
|
335
|
+
updatedAtUnixMs?: string;
|
|
336
|
+
}
|
|
337
|
+
/** The request of ExpireValue. */
|
|
338
|
+
export interface ExpireValueRequest {
|
|
339
|
+
/** The namespace's id. */
|
|
340
|
+
namespaceId: string;
|
|
341
|
+
/** The key. */
|
|
342
|
+
key: string;
|
|
343
|
+
/** Seconds to live, at most one year; zero makes the key persistent. */
|
|
344
|
+
ttlSeconds: string;
|
|
345
|
+
}
|
|
346
|
+
/** The response of ExpireValue. */
|
|
347
|
+
export interface ExpireValueResponse {
|
|
348
|
+
/** Whether the key existed and its expiry was set. */
|
|
349
|
+
applied?: boolean;
|
|
350
|
+
/** The key's version (an expiry does not change it). */
|
|
351
|
+
version?: string;
|
|
352
|
+
/** The new expiry in Unix milliseconds; zero never expires. */
|
|
353
|
+
expiresAtUnixMs?: string;
|
|
354
|
+
}
|
|
306
355
|
/** The request of GetBucket. */
|
|
307
356
|
export interface GetBucketRequest {
|
|
308
357
|
/** The name of the bucket to get. */
|
|
@@ -313,6 +362,18 @@ export interface GetDatabaseRequest {
|
|
|
313
362
|
/** The name of the database to get. */
|
|
314
363
|
name: string;
|
|
315
364
|
}
|
|
365
|
+
/** The request of GetDocument. */
|
|
366
|
+
export interface GetDocumentRequest {
|
|
367
|
+
/** The search index's id. */
|
|
368
|
+
indexId: string;
|
|
369
|
+
/** The document's id. */
|
|
370
|
+
documentId: string;
|
|
371
|
+
}
|
|
372
|
+
/** The response of GetDocument. */
|
|
373
|
+
export interface GetDocumentResponse {
|
|
374
|
+
/** The document. */
|
|
375
|
+
document?: DocumentRecord;
|
|
376
|
+
}
|
|
316
377
|
/** The request of GetKvNamespace. */
|
|
317
378
|
export interface GetKvNamespaceRequest {
|
|
318
379
|
/** The name of the kv namespace to get. */
|
|
@@ -351,6 +412,84 @@ export interface GetValueResponse {
|
|
|
351
412
|
/** The entry. */
|
|
352
413
|
value?: ValueRecord;
|
|
353
414
|
}
|
|
415
|
+
/** The request of GetValues. */
|
|
416
|
+
export interface GetValuesRequest {
|
|
417
|
+
/** The namespace's id. */
|
|
418
|
+
namespaceId: string;
|
|
419
|
+
/** The keys, at most 1000. */
|
|
420
|
+
keys: string[];
|
|
421
|
+
}
|
|
422
|
+
/** The response of GetValues. */
|
|
423
|
+
export interface GetValuesResponse {
|
|
424
|
+
/**
|
|
425
|
+
* One entry per key, in the order asked; an absent or expired key keeps
|
|
426
|
+
* its key and has no `value` or `version`.
|
|
427
|
+
*/
|
|
428
|
+
values?: ValueRecord[];
|
|
429
|
+
}
|
|
430
|
+
/** A field of a hash and its value. */
|
|
431
|
+
export interface HashField {
|
|
432
|
+
/** The field's name. */
|
|
433
|
+
field?: string;
|
|
434
|
+
/** The bytes, base64; unset when the field is absent. */
|
|
435
|
+
value?: string;
|
|
436
|
+
}
|
|
437
|
+
/** The request of HashGetAll. */
|
|
438
|
+
export interface HashGetAllRequest {
|
|
439
|
+
/** The namespace's id. */
|
|
440
|
+
namespaceId: string;
|
|
441
|
+
/** The hash's key. */
|
|
442
|
+
key: string;
|
|
443
|
+
}
|
|
444
|
+
/** The response of HashGetAll. */
|
|
445
|
+
export interface HashGetAllResponse {
|
|
446
|
+
/** Every field of the hash; empty when the hash is absent. */
|
|
447
|
+
fields?: HashField[];
|
|
448
|
+
}
|
|
449
|
+
/** The request of HashGetFields. */
|
|
450
|
+
export interface HashGetFieldsRequest {
|
|
451
|
+
/** The namespace's id. */
|
|
452
|
+
namespaceId: string;
|
|
453
|
+
/** The hash's key. */
|
|
454
|
+
key: string;
|
|
455
|
+
/** The fields' names. */
|
|
456
|
+
fields: string[];
|
|
457
|
+
}
|
|
458
|
+
/** The response of HashGetFields. */
|
|
459
|
+
export interface HashGetFieldsResponse {
|
|
460
|
+
/** One per field asked, in order; an absent field has no `value`. */
|
|
461
|
+
fields?: HashField[];
|
|
462
|
+
}
|
|
463
|
+
/** The request of HashGetValue. */
|
|
464
|
+
export interface HashGetValueRequest {
|
|
465
|
+
/** The namespace's id. */
|
|
466
|
+
namespaceId: string;
|
|
467
|
+
/** The hash's key. */
|
|
468
|
+
key: string;
|
|
469
|
+
/** The field's name. */
|
|
470
|
+
field: string;
|
|
471
|
+
}
|
|
472
|
+
/** The response of HashGetValue. */
|
|
473
|
+
export interface HashGetValueResponse {
|
|
474
|
+
/** The bytes, base64; unset when the field or the hash is absent. */
|
|
475
|
+
value?: string;
|
|
476
|
+
}
|
|
477
|
+
/** The request of HashSetValue. */
|
|
478
|
+
export interface HashSetValueRequest {
|
|
479
|
+
/** The namespace's id. */
|
|
480
|
+
namespaceId: string;
|
|
481
|
+
/** The hash's key. */
|
|
482
|
+
key: string;
|
|
483
|
+
/** The fields to set; at least one. */
|
|
484
|
+
fields: HashField[];
|
|
485
|
+
}
|
|
486
|
+
/** The response of HashSetValue. */
|
|
487
|
+
export interface HashSetValueResponse {
|
|
488
|
+
/** How many fields were new. */
|
|
489
|
+
added?: string;
|
|
490
|
+
/** The hash's version after the write. */
|
|
491
|
+
version?: string;
|
|
492
|
+
}
|
|
354
493
|
/** The request of IncrementValue. */
|
|
355
494
|
export interface IncrementValueRequest {
|
|
356
495
|
/** The namespace's id. */
|
|
@@ -407,7 +546,7 @@ export interface KvNamespaceStatus {
|
|
|
407
546
|
readonly ref?: string;
|
|
408
547
|
/** The endpoint host, `{ref}.sylphx.net`, port 6379. */
|
|
409
548
|
readonly host?: string;
|
|
410
|
-
/** The
|
|
549
|
+
/** The cell the datastore is placed on. */
|
|
411
550
|
readonly cell?: string;
|
|
412
551
|
/** Bytes stored, at the last usage sample. */
|
|
413
552
|
readonly storageBytes?: string;
|
|
@@ -472,6 +611,18 @@ export interface ListKvNamespacesResponse {
|
|
|
472
611
|
/** The token of the next page; empty on the last page. */
|
|
473
612
|
nextPageToken?: string;
|
|
474
613
|
}
|
|
614
|
+
/** The request of ListLenValue. */
|
|
615
|
+
export interface ListLenValueRequest {
|
|
616
|
+
/** The namespace's id. */
|
|
617
|
+
namespaceId: string;
|
|
618
|
+
/** The list's key. */
|
|
619
|
+
key: string;
|
|
620
|
+
}
|
|
621
|
+
/** The response of ListLenValue. */
|
|
622
|
+
export interface ListLenValueResponse {
|
|
623
|
+
/** The list's length. */
|
|
624
|
+
length?: string;
|
|
625
|
+
}
|
|
475
626
|
/** The request of ListObjects. */
|
|
476
627
|
export interface ListObjectsRequest {
|
|
477
628
|
/** The bucket's id. */
|
|
@@ -490,6 +641,56 @@ export interface ListObjectsResponse {
|
|
|
490
641
|
/** Empty on the last page. */
|
|
491
642
|
nextPageToken?: string;
|
|
492
643
|
}
|
|
644
|
+
/** The request of ListPopValue. */
|
|
645
|
+
export interface ListPopValueRequest {
|
|
646
|
+
/** The namespace's id. */
|
|
647
|
+
namespaceId: string;
|
|
648
|
+
/** The list's key. */
|
|
649
|
+
key: string;
|
|
650
|
+
/** How many values to pop; unset pops one, zero pops none. */
|
|
651
|
+
count?: string;
|
|
652
|
+
}
|
|
653
|
+
/** The response of ListPopValue. */
|
|
654
|
+
export interface ListPopValueResponse {
|
|
655
|
+
/** The popped values, each base64, head first. */
|
|
656
|
+
values?: string[];
|
|
657
|
+
/** The list's length after the pop. */
|
|
658
|
+
length?: string;
|
|
659
|
+
/** The list's version after the pop. */
|
|
660
|
+
version?: string;
|
|
661
|
+
}
|
|
662
|
+
/** The request of ListPushValue. */
|
|
663
|
+
export interface ListPushValueRequest {
|
|
664
|
+
/** The namespace's id. */
|
|
665
|
+
namespaceId: string;
|
|
666
|
+
/** The list's key. */
|
|
667
|
+
key: string;
|
|
668
|
+
/** The values to push, each base64, pushed in order (the last ends first). */
|
|
669
|
+
values: string[];
|
|
670
|
+
}
|
|
671
|
+
/** The response of ListPushValue. */
|
|
672
|
+
export interface ListPushValueResponse {
|
|
673
|
+
/** The list's length after the push. */
|
|
674
|
+
length?: string;
|
|
675
|
+
/** The list's version after the push. */
|
|
676
|
+
version?: string;
|
|
677
|
+
}
|
|
678
|
+
/** The request of ListRangeValue. */
|
|
679
|
+
export interface ListRangeValueRequest {
|
|
680
|
+
/** The namespace's id. */
|
|
681
|
+
namespaceId: string;
|
|
682
|
+
/** The list's key. */
|
|
683
|
+
key: string;
|
|
684
|
+
/** The first index, inclusive; unset is 0, negative counts from the end. */
|
|
685
|
+
start?: string;
|
|
686
|
+
/** The last index, inclusive; unset is -1 (the end). */
|
|
687
|
+
stop?: string;
|
|
688
|
+
}
|
|
689
|
+
/** The response of ListRangeValue. */
|
|
690
|
+
export interface ListRangeValueResponse {
|
|
691
|
+
/** The values in the range, each base64. */
|
|
692
|
+
values?: string[];
|
|
693
|
+
}
|
|
493
694
|
/** The request of ListSearchIndexes. */
|
|
494
695
|
export interface ListSearchIndexesRequest {
|
|
495
696
|
/** The parent to list in. */
|
|
@@ -528,6 +729,18 @@ export interface ListValuesResponse {
|
|
|
528
729
|
/** Empty on the last page. */
|
|
529
730
|
nextPageToken?: string;
|
|
530
731
|
}
|
|
732
|
+
/** The request of MultiSearch. */
|
|
733
|
+
export interface MultiSearchRequest {
|
|
734
|
+
/** The search index's id. */
|
|
735
|
+
indexId: string;
|
|
736
|
+
/** The searches, 1 to 10; each one's index_id is this index. */
|
|
737
|
+
searches: SearchRequest[];
|
|
738
|
+
}
|
|
739
|
+
/** The response of MultiSearch. */
|
|
740
|
+
export interface MultiSearchResponse {
|
|
741
|
+
/** One result per search, in request order. */
|
|
742
|
+
results?: SearchResponse[];
|
|
743
|
+
}
|
|
531
744
|
/** An object's metadata. */
|
|
532
745
|
export interface ObjectRecord {
|
|
533
746
|
/** The bucket's id in the environment, for example `uploads`. */
|
|
@@ -551,6 +764,49 @@ export interface ObjectRecord {
|
|
|
551
764
|
/** `public` or `private` (the default); current version only. */
|
|
552
765
|
visibility?: string;
|
|
553
766
|
}
|
|
767
|
+
/** The request of PatchDocument. */
|
|
768
|
+
export interface PatchDocumentRequest {
|
|
769
|
+
/** The search index's id. */
|
|
770
|
+
indexId: string;
|
|
771
|
+
/** The document's id; the document must exist. */
|
|
772
|
+
documentId: string;
|
|
773
|
+
/**
|
|
774
|
+
* A JSON object, base64; at most 1 MiB. A field set to a value replaces
|
|
775
|
+
* that field, an object merges into the stored object field by field, and
|
|
776
|
+
* null removes the field.
|
|
777
|
+
*/
|
|
778
|
+
patchJson: string;
|
|
779
|
+
/** A new embedding; empty keeps the stored one. */
|
|
780
|
+
vector?: number[];
|
|
781
|
+
/** Write only when the current version equals this one (0: any). */
|
|
782
|
+
expectedVersion?: string;
|
|
783
|
+
}
|
|
784
|
+
/** The response of PatchDocument. */
|
|
785
|
+
export interface PatchDocumentResponse {
|
|
786
|
+
/** The stored document. */
|
|
787
|
+
document?: DocumentRecord;
|
|
788
|
+
}
|
|
789
|
+
/** The request of PutDocument. */
|
|
790
|
+
export interface PutDocumentRequest {
|
|
791
|
+
/** The search index's id. */
|
|
792
|
+
indexId: string;
|
|
793
|
+
/** The document's id. */
|
|
794
|
+
documentId: string;
|
|
795
|
+
/** The document as JSON, base64; at most 1 MiB. */
|
|
796
|
+
documentJson?: string;
|
|
797
|
+
/**
|
|
798
|
+
* The document's embedding, at most 4096 numbers; the index's vector
|
|
799
|
+
* dimensions when it has them.
|
|
800
|
+
*/
|
|
801
|
+
vector?: number[];
|
|
802
|
+
/** Write only when the current version equals this one (0: any). */
|
|
803
|
+
expectedVersion?: string;
|
|
804
|
+
}
|
|
805
|
+
/** The response of PutDocument. */
|
|
806
|
+
export interface PutDocumentResponse {
|
|
807
|
+
/** The stored document. */
|
|
808
|
+
document?: DocumentRecord;
|
|
809
|
+
}
|
|
554
810
|
/** The request of PutObject. */
|
|
555
811
|
export interface PutObjectRequest {
|
|
556
812
|
/** The bucket's id. */
|
|
@@ -638,6 +894,58 @@ export interface RotateSearchIndexCredentialsRequest {
|
|
|
638
894
|
/** Validate without acting. */
|
|
639
895
|
validateOnly?: boolean;
|
|
640
896
|
}
|
|
897
|
+
/** The request of ScanValues. */
|
|
898
|
+
export interface ScanValuesRequest {
|
|
899
|
+
/** The namespace's id. */
|
|
900
|
+
namespaceId: string;
|
|
901
|
+
/**
|
|
902
|
+
* A glob of the keys to answer (`*`, `?`, `\` escapes); empty matches
|
|
903
|
+
* every key.
|
|
904
|
+
*/
|
|
905
|
+
glob?: string;
|
|
906
|
+
/** The `cursor` of the previous call; empty starts the walk. */
|
|
907
|
+
cursor?: string;
|
|
908
|
+
/** At most this many keys per call; the service caps it at 1000. */
|
|
909
|
+
count?: number;
|
|
910
|
+
}
|
|
911
|
+
/** The response of ScanValues. */
|
|
912
|
+
export interface ScanValuesResponse {
|
|
913
|
+
/** The matching keys of this step. */
|
|
914
|
+
keys?: string[];
|
|
915
|
+
/** Pass to the next call; empty when the walk is done. */
|
|
916
|
+
cursor?: string;
|
|
917
|
+
}
|
|
918
|
+
/** A condition on one field of a document. */
|
|
919
|
+
export interface SearchFilter {
|
|
920
|
+
/** A dot path of object keys, for example `price.amount`; at most 8 keys. */
|
|
921
|
+
field?: string;
|
|
922
|
+
/**
|
|
923
|
+
* `eq`, `ne`, `in`, `gt`, `gte`, `lt`, `lte`, or `exists`. `eq` and `in`
|
|
924
|
+
* also match an array field that holds the value; `ne` matches documents
|
|
925
|
+
* without the field.
|
|
926
|
+
*/
|
|
927
|
+
op?: string;
|
|
928
|
+
/**
|
|
929
|
+
* The value as JSON: a string, number, or boolean; for `in`, an array of
|
|
930
|
+
* 1 to 100 of them; for the ranges, a number or string; for `exists`,
|
|
931
|
+
* empty.
|
|
932
|
+
*/
|
|
933
|
+
valueJson?: string;
|
|
934
|
+
}
|
|
935
|
+
/** A document that matched a search. */
|
|
936
|
+
export interface SearchHit {
|
|
937
|
+
/** The document. */
|
|
938
|
+
document?: DocumentRecord;
|
|
939
|
+
/**
|
|
940
|
+
* How well it matched; higher is better. The text rank, the cosine
|
|
941
|
+
* similarity, or the fused rank; 0 when listing.
|
|
942
|
+
*/
|
|
943
|
+
score?: number;
|
|
944
|
+
/** The full-text rank, when the document matched the text. */
|
|
945
|
+
textScore?: number;
|
|
946
|
+
/** The cosine similarity, when the document was in the vector list. */
|
|
947
|
+
vectorScore?: number;
|
|
948
|
+
}
|
|
641
949
|
/**
|
|
642
950
|
* A SearchIndex is one customer lexical and vector index of JSON documents.
|
|
643
951
|
* Dimension 0 is lexical only; a positive dimension adds cosine queries. Data
|
|
@@ -680,13 +988,51 @@ export interface SearchIndexStatus {
|
|
|
680
988
|
readonly ref?: string;
|
|
681
989
|
/** The endpoint host, `{ref}.sylphx.net`, port 8108. */
|
|
682
990
|
readonly host?: string;
|
|
683
|
-
/** The
|
|
991
|
+
/** The cell the datastore is placed on. */
|
|
684
992
|
readonly cell?: string;
|
|
685
993
|
/** Bytes stored, at the last usage sample. */
|
|
686
994
|
readonly storageBytes?: string;
|
|
687
995
|
/** Indexed documents, at the last usage sample. */
|
|
688
996
|
readonly documentCount?: string;
|
|
689
997
|
}
|
|
998
|
+
/**
|
|
999
|
+
* The request of Search. Text alone ranks by full-text relevance, a vector
|
|
1000
|
+
* alone by cosine similarity, and both by reciprocal rank fusion (k = 60) of
|
|
1001
|
+
* the two lists. With neither, the filtered documents are listed by id.
|
|
1002
|
+
*/
|
|
1003
|
+
export interface SearchRequest {
|
|
1004
|
+
/** The search index's id. */
|
|
1005
|
+
indexId: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* Text to match, in web-search syntax: words (all must match), "quoted
|
|
1008
|
+
* phrases", `or`, and `-word` to exclude. The last word also matches as a
|
|
1009
|
+
* word prefix unless `prefix` is false.
|
|
1010
|
+
*/
|
|
1011
|
+
query?: string;
|
|
1012
|
+
/**
|
|
1013
|
+
* An embedding to match by cosine similarity; its length is the index's
|
|
1014
|
+
* vector dimensions.
|
|
1015
|
+
*/
|
|
1016
|
+
vector?: number[];
|
|
1017
|
+
/** At most this many hits, 1 to 100; unset is 20. */
|
|
1018
|
+
limit?: number;
|
|
1019
|
+
/** Hits to skip; offset + limit is at most 1000. */
|
|
1020
|
+
offset?: number;
|
|
1021
|
+
/** Conditions every hit meets, at most 16. */
|
|
1022
|
+
filters?: SearchFilter[];
|
|
1023
|
+
/** The vector list's share of a hybrid score, 0 to 1; unset is 0.5. */
|
|
1024
|
+
vectorWeight?: number;
|
|
1025
|
+
/**
|
|
1026
|
+
* Whether the query's last word also matches as a word prefix; unset is
|
|
1027
|
+
* true.
|
|
1028
|
+
*/
|
|
1029
|
+
prefix?: boolean;
|
|
1030
|
+
}
|
|
1031
|
+
/** The response of Search. */
|
|
1032
|
+
export interface SearchResponse {
|
|
1033
|
+
/** The hits, best first. */
|
|
1034
|
+
hits?: SearchHit[];
|
|
1035
|
+
}
|
|
690
1036
|
/** The request of UpdateBucket. */
|
|
691
1037
|
export interface UpdateBucketRequest {
|
|
692
1038
|
/** The bucket to update; `name` identifies it. */
|
|
@@ -748,19 +1094,88 @@ export interface ValueRecord {
|
|
|
748
1094
|
/** When this version was written, in Unix milliseconds. */
|
|
749
1095
|
updatedAtUnixMs?: string;
|
|
750
1096
|
}
|
|
1097
|
+
/** The request of ZSetAddValue. */
|
|
1098
|
+
export interface ZSetAddValueRequest {
|
|
1099
|
+
/** The namespace's id. */
|
|
1100
|
+
namespaceId: string;
|
|
1101
|
+
/** The sorted set's key. */
|
|
1102
|
+
key: string;
|
|
1103
|
+
/** The members to add or rescore. */
|
|
1104
|
+
members: ZSetMember[];
|
|
1105
|
+
}
|
|
1106
|
+
/** The response of ZSetAddValue. */
|
|
1107
|
+
export interface ZSetAddValueResponse {
|
|
1108
|
+
/** How many members were new. */
|
|
1109
|
+
added?: string;
|
|
1110
|
+
/** The sorted set's version after the write. */
|
|
1111
|
+
version?: string;
|
|
1112
|
+
}
|
|
1113
|
+
/** The request of ZSetLenValue. */
|
|
1114
|
+
export interface ZSetLenValueRequest {
|
|
1115
|
+
/** The namespace's id. */
|
|
1116
|
+
namespaceId: string;
|
|
1117
|
+
/** The sorted set's key. */
|
|
1118
|
+
key: string;
|
|
1119
|
+
}
|
|
1120
|
+
/** The response of ZSetLenValue. */
|
|
1121
|
+
export interface ZSetLenValueResponse {
|
|
1122
|
+
/** The number of members. */
|
|
1123
|
+
length?: string;
|
|
1124
|
+
}
|
|
1125
|
+
/** A member of a sorted set and its score. */
|
|
1126
|
+
export interface ZSetMember {
|
|
1127
|
+
/** The member. */
|
|
1128
|
+
member?: string;
|
|
1129
|
+
/** The score; unset in a range read without `with_scores`. */
|
|
1130
|
+
score?: number;
|
|
1131
|
+
}
|
|
1132
|
+
/** The request of ZSetRangeValue. */
|
|
1133
|
+
export interface ZSetRangeValueRequest {
|
|
1134
|
+
/** The namespace's id. */
|
|
1135
|
+
namespaceId: string;
|
|
1136
|
+
/** The sorted set's key. */
|
|
1137
|
+
key: string;
|
|
1138
|
+
/** The first rank, inclusive; unset is 0, negative counts from the end. */
|
|
1139
|
+
start?: string;
|
|
1140
|
+
/** The last rank, inclusive; unset is -1 (the end). */
|
|
1141
|
+
stop?: string;
|
|
1142
|
+
/** Whether to answer each member's score. */
|
|
1143
|
+
withScores?: boolean;
|
|
1144
|
+
}
|
|
1145
|
+
/** The response of ZSetRangeValue. */
|
|
1146
|
+
export interface ZSetRangeValueResponse {
|
|
1147
|
+
/** The members in the range, lowest score first. */
|
|
1148
|
+
members?: ZSetMember[];
|
|
1149
|
+
}
|
|
1150
|
+
/** The request of ZSetScoreValue. */
|
|
1151
|
+
export interface ZSetScoreValueRequest {
|
|
1152
|
+
/** The namespace's id. */
|
|
1153
|
+
namespaceId: string;
|
|
1154
|
+
/** The sorted set's key. */
|
|
1155
|
+
key: string;
|
|
1156
|
+
/** The member. */
|
|
1157
|
+
member: string;
|
|
1158
|
+
}
|
|
1159
|
+
/** The response of ZSetScoreValue. */
|
|
1160
|
+
export interface ZSetScoreValueResponse {
|
|
1161
|
+
/** The member's score; unset when the member or the set is absent. */
|
|
1162
|
+
score?: number;
|
|
1163
|
+
}
|
|
751
1164
|
/** ConnectionProfile is which Postgres path a connection takes. */
|
|
752
1165
|
export type ConnectionProfile = 'pooled' | 'direct' | (string & {});
|
|
753
1166
|
/** DatastoreState is whether a datastore is serving. */
|
|
754
1167
|
export type DatastoreState = 'provisioning' | 'active' | 'idle' | 'moving' | 'deleting' | (string & {});
|
|
755
1168
|
/**
|
|
756
|
-
* DataPlaneService is the data plane of Sylphx Data: object bytes
|
|
757
|
-
*
|
|
1169
|
+
* DataPlaneService is the data plane of Sylphx Data: object bytes, key-value
|
|
1170
|
+
* entries (strings, counters, hashes, lists, and sorted sets), and search
|
|
1171
|
+
* documents in an environment's buckets, KV namespaces, and search indexes. It is
|
|
758
1172
|
* served by Data itself at its origin, not by the Resource API, and is called
|
|
759
1173
|
* with the environment's secret key (`SYLPHX_API_KEY`); the key's org,
|
|
760
1174
|
* project, and environment are the tenant. Every call carries a new
|
|
761
1175
|
* `Sylphx-Effect-Id`, which the SDK sends and reuses on retries.
|
|
762
1176
|
*
|
|
763
|
-
* The buckets and
|
|
1177
|
+
* The buckets, namespaces, and indexes themselves are Resources of
|
|
1178
|
+
* DataService. The
|
|
764
1179
|
* messages here are Data's wire format
|
|
765
1180
|
* (`services/data/proto/sylphx/data/v1/data.proto`), field for field; Data
|
|
766
1181
|
* answers ProtoJSON (camelCase names, 64-bit integers and bytes as strings).
|
|
@@ -772,6 +1187,10 @@ export declare class DataApi {
|
|
|
772
1187
|
readonly objects: ObjectsCollection;
|
|
773
1188
|
/** The `kv` collection. */
|
|
774
1189
|
readonly kv: KvCollection;
|
|
1190
|
+
/** The `documents` collection. */
|
|
1191
|
+
readonly documents: DocumentsCollection;
|
|
1192
|
+
/** The `search` collection. */
|
|
1193
|
+
readonly search: SearchCollection;
|
|
775
1194
|
/** The `databases` collection. */
|
|
776
1195
|
readonly databases: DatabasesCollection;
|
|
777
1196
|
/** The `kv_namespaces` collection. */
|
|
@@ -865,6 +1284,192 @@ export declare class KvCollection {
|
|
|
865
1284
|
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
866
1285
|
*/
|
|
867
1286
|
increment(request: IncrementValueRequest): Promise<IncrementValueResponse>;
|
|
1287
|
+
/**
|
|
1288
|
+
* Reads up to 1000 keys at once (MGET). Answers one entry per key, in
|
|
1289
|
+
* order; an absent or expired key keeps its key and has no `value`.
|
|
1290
|
+
*
|
|
1291
|
+
* `POST /v1/kv-mget` · permission `data:read` · effect `read`
|
|
1292
|
+
*
|
|
1293
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1294
|
+
*/
|
|
1295
|
+
getMany(request: GetValuesRequest): Promise<GetValuesResponse>;
|
|
1296
|
+
/**
|
|
1297
|
+
* Sets fields of a hash (HSET), creating it.
|
|
1298
|
+
*
|
|
1299
|
+
* `POST /v1/kv-hashes` · permission `data:write` · effect `write`
|
|
1300
|
+
*
|
|
1301
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1302
|
+
*/
|
|
1303
|
+
hashSet(request: HashSetValueRequest): Promise<HashSetValueResponse>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Reads one field of a hash (HGET); an absent field has no `value`.
|
|
1306
|
+
*
|
|
1307
|
+
* `POST /v1/kv-hash-gets` · permission `data:read` · effect `read`
|
|
1308
|
+
*
|
|
1309
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1310
|
+
*/
|
|
1311
|
+
hashGet(request: HashGetValueRequest): Promise<HashGetValueResponse>;
|
|
1312
|
+
/**
|
|
1313
|
+
* Reads every field of a hash (HGETALL).
|
|
1314
|
+
*
|
|
1315
|
+
* `POST /v1/kv-hash-getall` · permission `data:read` · effect `read`
|
|
1316
|
+
*
|
|
1317
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1318
|
+
*/
|
|
1319
|
+
hashGetAll(request: HashGetAllRequest): Promise<HashGetAllResponse>;
|
|
1320
|
+
/**
|
|
1321
|
+
* Reads several fields of a hash (HMGET), one per field, in order; an
|
|
1322
|
+
* absent field has no `value`.
|
|
1323
|
+
*
|
|
1324
|
+
* `POST /v1/kv-hash-mget` · permission `data:read` · effect `read`
|
|
1325
|
+
*
|
|
1326
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1327
|
+
*/
|
|
1328
|
+
hashGetMany(request: HashGetFieldsRequest): Promise<HashGetFieldsResponse>;
|
|
1329
|
+
/**
|
|
1330
|
+
* Pushes values onto the head of a list (LPUSH), creating it.
|
|
1331
|
+
*
|
|
1332
|
+
* `POST /v1/kv-list-pushes` · permission `data:write` · effect `write`
|
|
1333
|
+
*
|
|
1334
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1335
|
+
*/
|
|
1336
|
+
listPush(request: ListPushValueRequest): Promise<ListPushValueResponse>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Reads a range of a list (LRANGE); negative indexes count from the end.
|
|
1339
|
+
*
|
|
1340
|
+
* `POST /v1/kv-list-ranges` · permission `data:read` · effect `read`
|
|
1341
|
+
*
|
|
1342
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1343
|
+
*/
|
|
1344
|
+
listRange(request: ListRangeValueRequest): Promise<ListRangeValueResponse>;
|
|
1345
|
+
/**
|
|
1346
|
+
* Pops values from the head of a list (LPOP); an emptied list is removed.
|
|
1347
|
+
*
|
|
1348
|
+
* `POST /v1/kv-list-pops` · permission `data:write` · effect `write`
|
|
1349
|
+
*
|
|
1350
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1351
|
+
*/
|
|
1352
|
+
listPop(request: ListPopValueRequest): Promise<ListPopValueResponse>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Reads the length of a list (LLEN); an absent key has length zero.
|
|
1355
|
+
*
|
|
1356
|
+
* `POST /v1/kv-list-lens` · permission `data:read` · effect `read`
|
|
1357
|
+
*
|
|
1358
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1359
|
+
*/
|
|
1360
|
+
listLength(request: ListLenValueRequest): Promise<ListLenValueResponse>;
|
|
1361
|
+
/**
|
|
1362
|
+
* Adds members to a sorted set or updates their scores (ZADD), creating it.
|
|
1363
|
+
*
|
|
1364
|
+
* `POST /v1/kv-zsets` · permission `data:write` · effect `write`
|
|
1365
|
+
*
|
|
1366
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1367
|
+
*/
|
|
1368
|
+
zsetAdd(request: ZSetAddValueRequest): Promise<ZSetAddValueResponse>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Reads a range of a sorted set by rank, lowest score first (ZRANGE);
|
|
1371
|
+
* negative indexes count from the end.
|
|
1372
|
+
*
|
|
1373
|
+
* `POST /v1/kv-zset-ranges` · permission `data:read` · effect `read`
|
|
1374
|
+
*
|
|
1375
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1376
|
+
*/
|
|
1377
|
+
zsetRange(request: ZSetRangeValueRequest): Promise<ZSetRangeValueResponse>;
|
|
1378
|
+
/**
|
|
1379
|
+
* Reads a member's score (ZSCORE); an absent member has no `score`.
|
|
1380
|
+
*
|
|
1381
|
+
* `POST /v1/kv-zset-scores` · permission `data:read` · effect `read`
|
|
1382
|
+
*
|
|
1383
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1384
|
+
*/
|
|
1385
|
+
zsetScore(request: ZSetScoreValueRequest): Promise<ZSetScoreValueResponse>;
|
|
1386
|
+
/**
|
|
1387
|
+
* Reads the size of a sorted set (ZCARD); an absent key has size zero.
|
|
1388
|
+
*
|
|
1389
|
+
* `POST /v1/kv-zset-lens` · permission `data:read` · effect `read`
|
|
1390
|
+
*
|
|
1391
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1392
|
+
*/
|
|
1393
|
+
zsetLength(request: ZSetLenValueRequest): Promise<ZSetLenValueResponse>;
|
|
1394
|
+
/**
|
|
1395
|
+
* Walks a namespace's keys that match a glob (SCAN). Call again with the
|
|
1396
|
+
* returned `cursor` until it is empty.
|
|
1397
|
+
*
|
|
1398
|
+
* `POST /v1/kv-scans` · permission `data:read` · effect `read`
|
|
1399
|
+
*
|
|
1400
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1401
|
+
*/
|
|
1402
|
+
scan(request: ScanValuesRequest): Promise<ScanValuesResponse>;
|
|
1403
|
+
/**
|
|
1404
|
+
* Sets a key's time to live (EXPIRE) without rewriting its value; zero
|
|
1405
|
+
* makes it persistent.
|
|
1406
|
+
*
|
|
1407
|
+
* `POST /v1/kv-expiries` · permission `data:write` · effect `write`
|
|
1408
|
+
*
|
|
1409
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1410
|
+
*/
|
|
1411
|
+
expire(request: ExpireValueRequest): Promise<ExpireValueResponse>;
|
|
1412
|
+
}
|
|
1413
|
+
/** `documents` of Sylphx Data: served at `https://api.data.sylphx.com`. */
|
|
1414
|
+
export declare class DocumentsCollection {
|
|
1415
|
+
private readonly client;
|
|
1416
|
+
constructor(client: runtime.Client);
|
|
1417
|
+
/**
|
|
1418
|
+
* Writes a document to a search index, replacing the current version.
|
|
1419
|
+
*
|
|
1420
|
+
* `PUT /v1/documents/{index_id}/{document_id}` · permission `data:write` · effect `write`
|
|
1421
|
+
*
|
|
1422
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`.
|
|
1423
|
+
*/
|
|
1424
|
+
put(request: PutDocumentRequest): Promise<PutDocumentResponse>;
|
|
1425
|
+
/**
|
|
1426
|
+
* Changes some fields of a document and keeps the rest: a JSON merge patch
|
|
1427
|
+
* (RFC 7396). The version goes up by one.
|
|
1428
|
+
*
|
|
1429
|
+
* `PATCH /v1/documents/{index_id}/{document_id}` · permission `data:write` · effect `write`
|
|
1430
|
+
*
|
|
1431
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`.
|
|
1432
|
+
*/
|
|
1433
|
+
patch(request: PatchDocumentRequest): Promise<PatchDocumentResponse>;
|
|
1434
|
+
/**
|
|
1435
|
+
* Reads a document.
|
|
1436
|
+
*
|
|
1437
|
+
* `GET /v1/documents/{index_id}/{document_id}` · permission `data:read` · effect `read`
|
|
1438
|
+
*
|
|
1439
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`.
|
|
1440
|
+
*/
|
|
1441
|
+
get(request: GetDocumentRequest): Promise<GetDocumentResponse>;
|
|
1442
|
+
/**
|
|
1443
|
+
* Deletes a document.
|
|
1444
|
+
*
|
|
1445
|
+
* `DELETE /v1/documents/{index_id}/{document_id}` · permission `data:write` · effect `destructive`
|
|
1446
|
+
*
|
|
1447
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `RESOURCE_NOT_FOUND`, `ETAG_MISMATCH`.
|
|
1448
|
+
*/
|
|
1449
|
+
delete(request: DeleteDocumentRequest): Promise<DeleteDocumentResponse>;
|
|
1450
|
+
}
|
|
1451
|
+
/** `search` of Sylphx Data: served at `https://api.data.sylphx.com`. */
|
|
1452
|
+
export declare class SearchCollection {
|
|
1453
|
+
private readonly client;
|
|
1454
|
+
constructor(client: runtime.Client);
|
|
1455
|
+
/**
|
|
1456
|
+
* Searches an index by text, by vector, or both, best match first, with
|
|
1457
|
+
* filters and paging.
|
|
1458
|
+
*
|
|
1459
|
+
* `POST /v1/search/{index_id}` · permission `data:read` · effect `read`
|
|
1460
|
+
*
|
|
1461
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1462
|
+
*/
|
|
1463
|
+
query(request: SearchRequest): Promise<SearchResponse>;
|
|
1464
|
+
/**
|
|
1465
|
+
* Runs several searches of one index in one request, 1 to 10, and answers
|
|
1466
|
+
* each in request order.
|
|
1467
|
+
*
|
|
1468
|
+
* `POST /v1/multi-search/{index_id}` · permission `data:read` · effect `read`
|
|
1469
|
+
*
|
|
1470
|
+
* Errors: `UNAUTHENTICATED`, `PERMISSION_DENIED`, `INVALID_FIELD`, `RESOURCE_NOT_FOUND`.
|
|
1471
|
+
*/
|
|
1472
|
+
multi(request: MultiSearchRequest): Promise<MultiSearchResponse>;
|
|
868
1473
|
}
|
|
869
1474
|
/** `databases` of Sylphx Data: Resource type `data.sylphx.com/Database`. */
|
|
870
1475
|
export declare class DatabasesCollection {
|