@robosystems/client 0.3.42 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/QueryClient.js +2 -2
- package/artifacts/QueryClient.ts +5 -5
- package/artifacts/graphql/generated/graphql.d.ts +2 -0
- package/artifacts/graphql/generated/graphql.ts +2 -0
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +17 -12
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +85 -41
- package/sdk/sdk.gen.js +174 -85
- package/sdk/sdk.gen.ts +160 -71
- package/sdk/types.gen.d.ts +991 -458
- package/sdk/types.gen.ts +1034 -470
- package/sdk.gen.d.ts +85 -41
- package/sdk.gen.js +174 -85
- package/sdk.gen.ts +160 -71
- package/types.gen.d.ts +991 -458
- package/types.gen.ts +1034 -470
package/sdk/types.gen.ts
CHANGED
|
@@ -761,25 +761,66 @@ export type CancelSubscriptionRequest = {
|
|
|
761
761
|
};
|
|
762
762
|
|
|
763
763
|
/**
|
|
764
|
-
*
|
|
764
|
+
* ChangeReportingStyleRequest
|
|
765
765
|
*
|
|
766
|
-
*
|
|
766
|
+
* Switch a reporting entity's Reporting Style.
|
|
767
767
|
*
|
|
768
|
-
*
|
|
769
|
-
*
|
|
770
|
-
*
|
|
771
|
-
*
|
|
772
|
-
* Reports are unaffected because each ``Report`` already pins its own
|
|
773
|
-
* ``structure_id`` per FactSet at create-time; new reports use the new
|
|
774
|
-
* Style. Idempotent on the same target id.
|
|
768
|
+
* The Reporting Style governs how the entity's statements are laid out
|
|
769
|
+
* (equity-form, close-target concept, per-statement Networks). It's
|
|
770
|
+
* validated against the tenant schema — the target must be a renderable
|
|
771
|
+
* Style with a complete composition — before the switch is applied.
|
|
775
772
|
*/
|
|
776
|
-
export type
|
|
773
|
+
export type ChangeReportingStyleRequest = {
|
|
777
774
|
/**
|
|
778
775
|
* Reporting Style Id
|
|
779
776
|
*
|
|
780
|
-
* Structure id of the target Reporting Style
|
|
777
|
+
* Structure id of the target Reporting Style. Must exist in the tenant schema with a complete Network composition.
|
|
781
778
|
*/
|
|
782
779
|
reporting_style_id: string;
|
|
780
|
+
/**
|
|
781
|
+
* Entity Id
|
|
782
|
+
*
|
|
783
|
+
* Target entity. Omit to target the graph's primary (earliest-created) entity — the single-entity default.
|
|
784
|
+
*/
|
|
785
|
+
entity_id?: string | null;
|
|
786
|
+
};
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* ChangeReportingStyleResponse
|
|
790
|
+
*
|
|
791
|
+
* Result of a change-reporting-style operation.
|
|
792
|
+
*/
|
|
793
|
+
export type ChangeReportingStyleResponse = {
|
|
794
|
+
/**
|
|
795
|
+
* Entity Id
|
|
796
|
+
*
|
|
797
|
+
* Entity whose Style was targeted.
|
|
798
|
+
*/
|
|
799
|
+
entity_id: string;
|
|
800
|
+
/**
|
|
801
|
+
* Previous Reporting Style Id
|
|
802
|
+
*
|
|
803
|
+
* Style id before the change (null for legacy/unset).
|
|
804
|
+
*/
|
|
805
|
+
previous_reporting_style_id?: string | null;
|
|
806
|
+
/**
|
|
807
|
+
* Reporting Style Id
|
|
808
|
+
*
|
|
809
|
+
* Active Style id after the call.
|
|
810
|
+
*/
|
|
811
|
+
reporting_style_id: string;
|
|
812
|
+
/**
|
|
813
|
+
* Reporting Style Code
|
|
814
|
+
*
|
|
815
|
+
* 4-segment Style code (e.g. BSC-CORP-IS02-CF1), when stamped.
|
|
816
|
+
*/
|
|
817
|
+
reporting_style_code?: string | null;
|
|
818
|
+
/**
|
|
819
|
+
* Changed
|
|
820
|
+
*
|
|
821
|
+
* False when the target equals the current Style (no-op).
|
|
822
|
+
*/
|
|
823
|
+
changed: boolean;
|
|
783
824
|
};
|
|
784
825
|
|
|
785
826
|
/**
|
|
@@ -2483,11 +2524,11 @@ export type CustomSchemaDefinition = {
|
|
|
2483
2524
|
};
|
|
2484
2525
|
|
|
2485
2526
|
/**
|
|
2486
|
-
*
|
|
2527
|
+
* CypherStatementRequest
|
|
2487
2528
|
*
|
|
2488
2529
|
* Request model for Cypher query execution.
|
|
2489
2530
|
*/
|
|
2490
|
-
export type
|
|
2531
|
+
export type CypherStatementRequest = {
|
|
2491
2532
|
/**
|
|
2492
2533
|
* Query
|
|
2493
2534
|
*
|
|
@@ -2733,51 +2774,37 @@ export type DatabaseStorageEntry = {
|
|
|
2733
2774
|
};
|
|
2734
2775
|
|
|
2735
2776
|
/**
|
|
2736
|
-
*
|
|
2777
|
+
* DeleteDocumentOp
|
|
2778
|
+
*
|
|
2779
|
+
* Body for delete-document (corpus content-op).
|
|
2737
2780
|
*/
|
|
2738
|
-
export type
|
|
2781
|
+
export type DeleteDocumentOp = {
|
|
2739
2782
|
/**
|
|
2740
|
-
*
|
|
2783
|
+
* Document Id
|
|
2741
2784
|
*
|
|
2742
|
-
*
|
|
2785
|
+
* Document id to delete
|
|
2743
2786
|
*/
|
|
2744
|
-
|
|
2787
|
+
document_id: string;
|
|
2788
|
+
};
|
|
2789
|
+
|
|
2790
|
+
/**
|
|
2791
|
+
* DeleteFileOp
|
|
2792
|
+
*
|
|
2793
|
+
* Body for delete-file (raw content-op).
|
|
2794
|
+
*/
|
|
2795
|
+
export type DeleteFileOp = {
|
|
2745
2796
|
/**
|
|
2746
2797
|
* File Id
|
|
2747
2798
|
*
|
|
2748
|
-
*
|
|
2799
|
+
* File id to delete
|
|
2749
2800
|
*/
|
|
2750
2801
|
file_id: string;
|
|
2751
2802
|
/**
|
|
2752
|
-
*
|
|
2753
|
-
*
|
|
2754
|
-
* Deleted file name
|
|
2755
|
-
*/
|
|
2756
|
-
file_name: string;
|
|
2757
|
-
/**
|
|
2758
|
-
* Message
|
|
2759
|
-
*
|
|
2760
|
-
* Operation message
|
|
2761
|
-
*/
|
|
2762
|
-
message: string;
|
|
2763
|
-
/**
|
|
2764
|
-
* Cascade Deleted
|
|
2765
|
-
*
|
|
2766
|
-
* Whether cascade deletion was performed
|
|
2767
|
-
*/
|
|
2768
|
-
cascade_deleted?: boolean;
|
|
2769
|
-
/**
|
|
2770
|
-
* Tables Affected
|
|
2803
|
+
* Cascade
|
|
2771
2804
|
*
|
|
2772
|
-
*
|
|
2805
|
+
* Also delete the file's rows from DuckDB tables and mark the graph stale
|
|
2773
2806
|
*/
|
|
2774
|
-
|
|
2775
|
-
/**
|
|
2776
|
-
* Graph Marked Stale
|
|
2777
|
-
*
|
|
2778
|
-
* Whether graph was marked as stale
|
|
2779
|
-
*/
|
|
2780
|
-
graph_marked_stale?: boolean;
|
|
2807
|
+
cascade?: boolean;
|
|
2781
2808
|
};
|
|
2782
2809
|
|
|
2783
2810
|
/**
|
|
@@ -3376,96 +3403,6 @@ export type DocumentSection = {
|
|
|
3376
3403
|
folder?: string | null;
|
|
3377
3404
|
};
|
|
3378
3405
|
|
|
3379
|
-
/**
|
|
3380
|
-
* DocumentUpdateRequest
|
|
3381
|
-
*
|
|
3382
|
-
* Update a document's metadata and/or content.
|
|
3383
|
-
*/
|
|
3384
|
-
export type DocumentUpdateRequest = {
|
|
3385
|
-
/**
|
|
3386
|
-
* Title
|
|
3387
|
-
*/
|
|
3388
|
-
title?: string | null;
|
|
3389
|
-
/**
|
|
3390
|
-
* Content
|
|
3391
|
-
*/
|
|
3392
|
-
content?: string | null;
|
|
3393
|
-
/**
|
|
3394
|
-
* Tags
|
|
3395
|
-
*/
|
|
3396
|
-
tags?: Array<string> | null;
|
|
3397
|
-
/**
|
|
3398
|
-
* Folder
|
|
3399
|
-
*/
|
|
3400
|
-
folder?: string | null;
|
|
3401
|
-
};
|
|
3402
|
-
|
|
3403
|
-
/**
|
|
3404
|
-
* DocumentUploadRequest
|
|
3405
|
-
*
|
|
3406
|
-
* Upload a markdown document for text indexing.
|
|
3407
|
-
*/
|
|
3408
|
-
export type DocumentUploadRequest = {
|
|
3409
|
-
/**
|
|
3410
|
-
* Title
|
|
3411
|
-
*
|
|
3412
|
-
* Document title
|
|
3413
|
-
*/
|
|
3414
|
-
title: string;
|
|
3415
|
-
/**
|
|
3416
|
-
* Content
|
|
3417
|
-
*
|
|
3418
|
-
* Markdown content
|
|
3419
|
-
*/
|
|
3420
|
-
content: string;
|
|
3421
|
-
/**
|
|
3422
|
-
* Tags
|
|
3423
|
-
*
|
|
3424
|
-
* Optional tags for filtering
|
|
3425
|
-
*/
|
|
3426
|
-
tags?: Array<string> | null;
|
|
3427
|
-
/**
|
|
3428
|
-
* Folder
|
|
3429
|
-
*
|
|
3430
|
-
* Optional folder/category
|
|
3431
|
-
*/
|
|
3432
|
-
folder?: string | null;
|
|
3433
|
-
/**
|
|
3434
|
-
* External Id
|
|
3435
|
-
*
|
|
3436
|
-
* Optional external identifier for upsert (e.g., Google Drive file ID)
|
|
3437
|
-
*/
|
|
3438
|
-
external_id?: string | null;
|
|
3439
|
-
};
|
|
3440
|
-
|
|
3441
|
-
/**
|
|
3442
|
-
* DocumentUploadResponse
|
|
3443
|
-
*
|
|
3444
|
-
* Response from document upload.
|
|
3445
|
-
*/
|
|
3446
|
-
export type DocumentUploadResponse = {
|
|
3447
|
-
/**
|
|
3448
|
-
* Id
|
|
3449
|
-
*/
|
|
3450
|
-
id: string;
|
|
3451
|
-
/**
|
|
3452
|
-
* Document Id
|
|
3453
|
-
*/
|
|
3454
|
-
document_id: string;
|
|
3455
|
-
/**
|
|
3456
|
-
* Sections Indexed
|
|
3457
|
-
*/
|
|
3458
|
-
sections_indexed: number;
|
|
3459
|
-
/**
|
|
3460
|
-
* Total Content Length
|
|
3461
|
-
*/
|
|
3462
|
-
total_content_length: number;
|
|
3463
|
-
/**
|
|
3464
|
-
* Section Ids
|
|
3465
|
-
*/
|
|
3466
|
-
section_ids: Array<string>;
|
|
3467
|
-
};
|
|
3468
|
-
|
|
3469
3406
|
/**
|
|
3470
3407
|
* DownloadQuota
|
|
3471
3408
|
*
|
|
@@ -4432,24 +4369,6 @@ export type FileReportRequest = {
|
|
|
4432
4369
|
report_id: string;
|
|
4433
4370
|
};
|
|
4434
4371
|
|
|
4435
|
-
/**
|
|
4436
|
-
* FileStatusUpdate
|
|
4437
|
-
*/
|
|
4438
|
-
export type FileStatusUpdate = {
|
|
4439
|
-
/**
|
|
4440
|
-
* Status
|
|
4441
|
-
*
|
|
4442
|
-
* File status: 'uploaded' (ready for ingest), 'disabled' (exclude from ingest), 'archived' (soft deleted)
|
|
4443
|
-
*/
|
|
4444
|
-
status: string;
|
|
4445
|
-
/**
|
|
4446
|
-
* Ingest To Graph
|
|
4447
|
-
*
|
|
4448
|
-
* Auto-ingest to graph after DuckDB staging. Default=false (batch mode). Set to true for real-time incremental updates.
|
|
4449
|
-
*/
|
|
4450
|
-
ingest_to_graph?: boolean;
|
|
4451
|
-
};
|
|
4452
|
-
|
|
4453
4372
|
/**
|
|
4454
4373
|
* FileUploadRequest
|
|
4455
4374
|
*/
|
|
@@ -4474,36 +4393,6 @@ export type FileUploadRequest = {
|
|
|
4474
4393
|
table_name?: string | null;
|
|
4475
4394
|
};
|
|
4476
4395
|
|
|
4477
|
-
/**
|
|
4478
|
-
* FileUploadResponse
|
|
4479
|
-
*/
|
|
4480
|
-
export type FileUploadResponse = {
|
|
4481
|
-
/**
|
|
4482
|
-
* Upload Url
|
|
4483
|
-
*
|
|
4484
|
-
* Presigned S3 upload URL
|
|
4485
|
-
*/
|
|
4486
|
-
upload_url: string;
|
|
4487
|
-
/**
|
|
4488
|
-
* Expires In
|
|
4489
|
-
*
|
|
4490
|
-
* URL expiration time in seconds
|
|
4491
|
-
*/
|
|
4492
|
-
expires_in: number;
|
|
4493
|
-
/**
|
|
4494
|
-
* File Id
|
|
4495
|
-
*
|
|
4496
|
-
* File tracking ID
|
|
4497
|
-
*/
|
|
4498
|
-
file_id: string;
|
|
4499
|
-
/**
|
|
4500
|
-
* S3 Key
|
|
4501
|
-
*
|
|
4502
|
-
* S3 object key
|
|
4503
|
-
*/
|
|
4504
|
-
s3_key: string;
|
|
4505
|
-
};
|
|
4506
|
-
|
|
4507
4396
|
/**
|
|
4508
4397
|
* FinancialStatementAnalysisRequest
|
|
4509
4398
|
*
|
|
@@ -4678,6 +4567,20 @@ export type FiscalPeriodSummary = {
|
|
|
4678
4567
|
closed_at?: string | null;
|
|
4679
4568
|
};
|
|
4680
4569
|
|
|
4570
|
+
/**
|
|
4571
|
+
* ForgetOp
|
|
4572
|
+
*
|
|
4573
|
+
* Body for the forget operation (delete a semantic memory by id).
|
|
4574
|
+
*/
|
|
4575
|
+
export type ForgetOp = {
|
|
4576
|
+
/**
|
|
4577
|
+
* Memory Id
|
|
4578
|
+
*
|
|
4579
|
+
* Server-generated memory id to forget
|
|
4580
|
+
*/
|
|
4581
|
+
memory_id: string;
|
|
4582
|
+
};
|
|
4583
|
+
|
|
4681
4584
|
/**
|
|
4682
4585
|
* ForgotPasswordRequest
|
|
4683
4586
|
*
|
|
@@ -5553,6 +5456,53 @@ export type HealthStatus = {
|
|
|
5553
5456
|
} | null;
|
|
5554
5457
|
};
|
|
5555
5458
|
|
|
5459
|
+
/**
|
|
5460
|
+
* IndexDocumentOp
|
|
5461
|
+
*
|
|
5462
|
+
* Body for index-document (corpus content-op).
|
|
5463
|
+
*
|
|
5464
|
+
* Create a new document when ``document_id`` is absent; update the named
|
|
5465
|
+
* document (partial — only supplied fields) when present.
|
|
5466
|
+
*/
|
|
5467
|
+
export type IndexDocumentOp = {
|
|
5468
|
+
/**
|
|
5469
|
+
* Document Id
|
|
5470
|
+
*
|
|
5471
|
+
* Present → update that document; absent → create a new one
|
|
5472
|
+
*/
|
|
5473
|
+
document_id?: string | null;
|
|
5474
|
+
/**
|
|
5475
|
+
* Title
|
|
5476
|
+
*
|
|
5477
|
+
* Required when creating
|
|
5478
|
+
*/
|
|
5479
|
+
title?: string | null;
|
|
5480
|
+
/**
|
|
5481
|
+
* Content
|
|
5482
|
+
*
|
|
5483
|
+
* Required when creating
|
|
5484
|
+
*/
|
|
5485
|
+
content?: string | null;
|
|
5486
|
+
/**
|
|
5487
|
+
* Tags
|
|
5488
|
+
*
|
|
5489
|
+
* Optional labels
|
|
5490
|
+
*/
|
|
5491
|
+
tags?: Array<string> | null;
|
|
5492
|
+
/**
|
|
5493
|
+
* Folder
|
|
5494
|
+
*
|
|
5495
|
+
* Optional folder
|
|
5496
|
+
*/
|
|
5497
|
+
folder?: string | null;
|
|
5498
|
+
/**
|
|
5499
|
+
* External Id
|
|
5500
|
+
*
|
|
5501
|
+
* Upsert key (create): re-indexing the same id replaces
|
|
5502
|
+
*/
|
|
5503
|
+
external_id?: string | null;
|
|
5504
|
+
};
|
|
5505
|
+
|
|
5556
5506
|
/**
|
|
5557
5507
|
* InformationBlockEnvelope
|
|
5558
5508
|
*
|
|
@@ -5672,6 +5622,29 @@ export type InformationModelResponse = {
|
|
|
5672
5622
|
member_arrangement?: string | null;
|
|
5673
5623
|
};
|
|
5674
5624
|
|
|
5625
|
+
/**
|
|
5626
|
+
* IngestFileOp
|
|
5627
|
+
*
|
|
5628
|
+
* Body for ingest-file (raw→staging content flow).
|
|
5629
|
+
*
|
|
5630
|
+
* Marks an uploaded file ready and triggers DuckDB staging. Set
|
|
5631
|
+
* ``ingest_to_graph`` to auto-chain graph materialization after staging.
|
|
5632
|
+
*/
|
|
5633
|
+
export type IngestFileOp = {
|
|
5634
|
+
/**
|
|
5635
|
+
* File Id
|
|
5636
|
+
*
|
|
5637
|
+
* Uploaded file id to ingest
|
|
5638
|
+
*/
|
|
5639
|
+
file_id: string;
|
|
5640
|
+
/**
|
|
5641
|
+
* Ingest To Graph
|
|
5642
|
+
*
|
|
5643
|
+
* Auto-materialize into the graph after DuckDB staging
|
|
5644
|
+
*/
|
|
5645
|
+
ingest_to_graph?: boolean;
|
|
5646
|
+
};
|
|
5647
|
+
|
|
5675
5648
|
/**
|
|
5676
5649
|
* InitialEntityData
|
|
5677
5650
|
*
|
|
@@ -5750,7 +5723,7 @@ export type InitialEntityData = {
|
|
|
5750
5723
|
/**
|
|
5751
5724
|
* Reporting Style Id
|
|
5752
5725
|
*
|
|
5753
|
-
* Optional explicit Reporting Style Structure id to pin on the
|
|
5726
|
+
* Optional explicit Reporting Style Structure id to pin on the entity, overriding the entity_type-derived default. Leave blank to derive from entity_type. Change later via the change-reporting-style operation.
|
|
5754
5727
|
*/
|
|
5755
5728
|
reporting_style_id?: string | null;
|
|
5756
5729
|
};
|
|
@@ -6354,6 +6327,12 @@ export type LedgerEntityResponse = {
|
|
|
6354
6327
|
* Legal form (e.g. 'corporation', 'llc', 'lp').
|
|
6355
6328
|
*/
|
|
6356
6329
|
entity_type?: string | null;
|
|
6330
|
+
/**
|
|
6331
|
+
* Reporting Style Id
|
|
6332
|
+
*
|
|
6333
|
+
* Active Reporting Style (Structure id) governing this entity's statement layout. Change it via the change-reporting-style operation.
|
|
6334
|
+
*/
|
|
6335
|
+
reporting_style_id?: string | null;
|
|
6357
6336
|
/**
|
|
6358
6337
|
* Phone
|
|
6359
6338
|
*/
|
|
@@ -6759,38 +6738,140 @@ export type MaterializeOp = {
|
|
|
6759
6738
|
};
|
|
6760
6739
|
|
|
6761
6740
|
/**
|
|
6762
|
-
*
|
|
6763
|
-
*
|
|
6764
|
-
* Derivative mechanics for ``block_type='metric'``.
|
|
6765
|
-
*
|
|
6766
|
-
* A metric block composes its facts from one or more source blocks at
|
|
6767
|
-
* read time — covenant tests, ratios, KPI trend computations. The typed
|
|
6768
|
-
* arm ships today so the discriminated union covers all three
|
|
6769
|
-
* construction modes (declarative / compositional / derivative); the
|
|
6770
|
-
* derivation evaluator that actually computes facts from source-block
|
|
6771
|
-
* FactSets is not yet implemented.
|
|
6741
|
+
* MemoryListResponse
|
|
6772
6742
|
*
|
|
6773
|
-
*
|
|
6774
|
-
* derives from; ``derivation_type`` names the kind of computation
|
|
6775
|
-
* (``ratio``, ``trailing_twelve_month``, ``covenant_test``, …), and
|
|
6776
|
-
* ``expression`` carries the agent-authored derivation string that the
|
|
6777
|
-
* evaluator will consume at envelope build time.
|
|
6743
|
+
* Governance list of memories for a graph.
|
|
6778
6744
|
*/
|
|
6779
|
-
export type
|
|
6745
|
+
export type MemoryListResponse = {
|
|
6780
6746
|
/**
|
|
6781
|
-
*
|
|
6747
|
+
* Total
|
|
6782
6748
|
*/
|
|
6783
|
-
|
|
6749
|
+
total: number;
|
|
6784
6750
|
/**
|
|
6785
|
-
*
|
|
6786
|
-
*
|
|
6787
|
-
* Ordered list of Structure ids this metric sources from. Must be non-empty at evaluation time; empty lists are accepted so library scaffolding can register metric templates before source linkage is wired.
|
|
6751
|
+
* Memories
|
|
6788
6752
|
*/
|
|
6789
|
-
|
|
6753
|
+
memories: Array<MemoryRecord>;
|
|
6790
6754
|
/**
|
|
6791
|
-
*
|
|
6792
|
-
|
|
6793
|
-
|
|
6755
|
+
* Graph Id
|
|
6756
|
+
*/
|
|
6757
|
+
graph_id: string;
|
|
6758
|
+
};
|
|
6759
|
+
|
|
6760
|
+
/**
|
|
6761
|
+
* MemoryRecallRequest
|
|
6762
|
+
*
|
|
6763
|
+
* Body for recall (ranked semantic search over memory).
|
|
6764
|
+
*/
|
|
6765
|
+
export type MemoryRecallRequest = {
|
|
6766
|
+
/**
|
|
6767
|
+
* Query
|
|
6768
|
+
*
|
|
6769
|
+
* Recall query
|
|
6770
|
+
*/
|
|
6771
|
+
query: string;
|
|
6772
|
+
/**
|
|
6773
|
+
* K
|
|
6774
|
+
*
|
|
6775
|
+
* Max results to return
|
|
6776
|
+
*/
|
|
6777
|
+
k?: number;
|
|
6778
|
+
/**
|
|
6779
|
+
* Memory Type
|
|
6780
|
+
*
|
|
6781
|
+
* Filter by memory type
|
|
6782
|
+
*/
|
|
6783
|
+
memory_type?: string | null;
|
|
6784
|
+
/**
|
|
6785
|
+
* Source
|
|
6786
|
+
*
|
|
6787
|
+
* Filter by source
|
|
6788
|
+
*/
|
|
6789
|
+
source?: string | null;
|
|
6790
|
+
};
|
|
6791
|
+
|
|
6792
|
+
/**
|
|
6793
|
+
* MemoryRecord
|
|
6794
|
+
*
|
|
6795
|
+
* A stored memory (never includes the raw embedding vector).
|
|
6796
|
+
*/
|
|
6797
|
+
export type MemoryRecord = {
|
|
6798
|
+
/**
|
|
6799
|
+
* Id
|
|
6800
|
+
*/
|
|
6801
|
+
id: string;
|
|
6802
|
+
/**
|
|
6803
|
+
* Text
|
|
6804
|
+
*/
|
|
6805
|
+
text: string;
|
|
6806
|
+
/**
|
|
6807
|
+
* Source
|
|
6808
|
+
*/
|
|
6809
|
+
source?: string | null;
|
|
6810
|
+
/**
|
|
6811
|
+
* Memory Type
|
|
6812
|
+
*/
|
|
6813
|
+
memory_type?: string | null;
|
|
6814
|
+
/**
|
|
6815
|
+
* Tags
|
|
6816
|
+
*/
|
|
6817
|
+
tags?: Array<string> | null;
|
|
6818
|
+
/**
|
|
6819
|
+
* Source Ref
|
|
6820
|
+
*/
|
|
6821
|
+
source_ref?: string | null;
|
|
6822
|
+
/**
|
|
6823
|
+
* Provenance
|
|
6824
|
+
*/
|
|
6825
|
+
provenance?: {
|
|
6826
|
+
[key: string]: unknown;
|
|
6827
|
+
} | null;
|
|
6828
|
+
/**
|
|
6829
|
+
* Created By
|
|
6830
|
+
*/
|
|
6831
|
+
created_by?: string | null;
|
|
6832
|
+
/**
|
|
6833
|
+
* Created At
|
|
6834
|
+
*/
|
|
6835
|
+
created_at?: string | null;
|
|
6836
|
+
/**
|
|
6837
|
+
* Updated At
|
|
6838
|
+
*/
|
|
6839
|
+
updated_at?: string | null;
|
|
6840
|
+
};
|
|
6841
|
+
|
|
6842
|
+
/**
|
|
6843
|
+
* MetricMechanics
|
|
6844
|
+
*
|
|
6845
|
+
* Derivative mechanics for ``block_type='metric'``.
|
|
6846
|
+
*
|
|
6847
|
+
* A metric block composes its facts from one or more source blocks at
|
|
6848
|
+
* read time — covenant tests, ratios, KPI trend computations. The typed
|
|
6849
|
+
* arm ships today so the discriminated union covers all three
|
|
6850
|
+
* construction modes (declarative / compositional / derivative); the
|
|
6851
|
+
* derivation evaluator that actually computes facts from source-block
|
|
6852
|
+
* FactSets is not yet implemented.
|
|
6853
|
+
*
|
|
6854
|
+
* ``source_block_ids`` is the ordered list of Structure ids this metric
|
|
6855
|
+
* derives from; ``derivation_type`` names the kind of computation
|
|
6856
|
+
* (``ratio``, ``trailing_twelve_month``, ``covenant_test``, …), and
|
|
6857
|
+
* ``expression`` carries the agent-authored derivation string that the
|
|
6858
|
+
* evaluator will consume at envelope build time.
|
|
6859
|
+
*/
|
|
6860
|
+
export type MetricMechanics = {
|
|
6861
|
+
/**
|
|
6862
|
+
* Kind
|
|
6863
|
+
*/
|
|
6864
|
+
kind?: 'metric';
|
|
6865
|
+
/**
|
|
6866
|
+
* Source Block Ids
|
|
6867
|
+
*
|
|
6868
|
+
* Ordered list of Structure ids this metric sources from. Must be non-empty at evaluation time; empty lists are accepted so library scaffolding can register metric templates before source linkage is wired.
|
|
6869
|
+
*/
|
|
6870
|
+
source_block_ids?: Array<string>;
|
|
6871
|
+
/**
|
|
6872
|
+
* Derivation Type
|
|
6873
|
+
*
|
|
6874
|
+
* Free-form label for the derivation kind — 'ratio', 'trailing_twelve_month', 'covenant_test', etc. The evaluator dispatches on this tag; the set may be locked with a CHECK constraint once the derivation catalog stabilizes.
|
|
6794
6875
|
*/
|
|
6795
6876
|
derivation_type?: string | null;
|
|
6796
6877
|
/**
|
|
@@ -7120,6 +7201,52 @@ export type OperationEnvelopeAssociationResponse = {
|
|
|
7120
7201
|
idempotentReplay?: boolean;
|
|
7121
7202
|
};
|
|
7122
7203
|
|
|
7204
|
+
/**
|
|
7205
|
+
* OperationEnvelope[ChangeReportingStyleResponse]
|
|
7206
|
+
*/
|
|
7207
|
+
export type OperationEnvelopeChangeReportingStyleResponse = {
|
|
7208
|
+
/**
|
|
7209
|
+
* Operation
|
|
7210
|
+
*
|
|
7211
|
+
* Kebab-case operation name
|
|
7212
|
+
*/
|
|
7213
|
+
operation: string;
|
|
7214
|
+
/**
|
|
7215
|
+
* Operationid
|
|
7216
|
+
*
|
|
7217
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
7218
|
+
*/
|
|
7219
|
+
operationId: string;
|
|
7220
|
+
/**
|
|
7221
|
+
* Status
|
|
7222
|
+
*
|
|
7223
|
+
* Operation lifecycle state
|
|
7224
|
+
*/
|
|
7225
|
+
status: 'completed' | 'pending' | 'failed';
|
|
7226
|
+
/**
|
|
7227
|
+
* Command-specific result payload
|
|
7228
|
+
*/
|
|
7229
|
+
result?: ChangeReportingStyleResponse | null;
|
|
7230
|
+
/**
|
|
7231
|
+
* At
|
|
7232
|
+
*
|
|
7233
|
+
* ISO-8601 UTC timestamp
|
|
7234
|
+
*/
|
|
7235
|
+
at: string;
|
|
7236
|
+
/**
|
|
7237
|
+
* Createdby
|
|
7238
|
+
*
|
|
7239
|
+
* User ID that initiated the operation (null for legacy callers)
|
|
7240
|
+
*/
|
|
7241
|
+
createdBy?: string | null;
|
|
7242
|
+
/**
|
|
7243
|
+
* Idempotentreplay
|
|
7244
|
+
*
|
|
7245
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
7246
|
+
*/
|
|
7247
|
+
idempotentReplay?: boolean;
|
|
7248
|
+
};
|
|
7249
|
+
|
|
7123
7250
|
/**
|
|
7124
7251
|
* OperationEnvelope[ClosePeriodResponse]
|
|
7125
7252
|
*/
|
|
@@ -9964,6 +10091,52 @@ export type RegisterRequest = {
|
|
|
9964
10091
|
captcha_token?: string | null;
|
|
9965
10092
|
};
|
|
9966
10093
|
|
|
10094
|
+
/**
|
|
10095
|
+
* RememberOp
|
|
10096
|
+
*
|
|
10097
|
+
* Body for the remember operation (write a semantic memory).
|
|
10098
|
+
*/
|
|
10099
|
+
export type RememberOp = {
|
|
10100
|
+
/**
|
|
10101
|
+
* Text
|
|
10102
|
+
*
|
|
10103
|
+
* Memory content
|
|
10104
|
+
*/
|
|
10105
|
+
text: string;
|
|
10106
|
+
/**
|
|
10107
|
+
* Source
|
|
10108
|
+
*
|
|
10109
|
+
* Origin of the memory
|
|
10110
|
+
*/
|
|
10111
|
+
source?: string;
|
|
10112
|
+
/**
|
|
10113
|
+
* Memory Type
|
|
10114
|
+
*
|
|
10115
|
+
* Freeform classifier
|
|
10116
|
+
*/
|
|
10117
|
+
memory_type?: string;
|
|
10118
|
+
/**
|
|
10119
|
+
* Tags
|
|
10120
|
+
*
|
|
10121
|
+
* Optional labels
|
|
10122
|
+
*/
|
|
10123
|
+
tags?: Array<string> | null;
|
|
10124
|
+
/**
|
|
10125
|
+
* Source Ref
|
|
10126
|
+
*
|
|
10127
|
+
* Optional external reference/URI
|
|
10128
|
+
*/
|
|
10129
|
+
source_ref?: string | null;
|
|
10130
|
+
/**
|
|
10131
|
+
* Provenance
|
|
10132
|
+
*
|
|
10133
|
+
* Opaque provenance metadata
|
|
10134
|
+
*/
|
|
10135
|
+
provenance?: {
|
|
10136
|
+
[key: string]: unknown;
|
|
10137
|
+
} | null;
|
|
10138
|
+
};
|
|
10139
|
+
|
|
9967
10140
|
/**
|
|
9968
10141
|
* RemovePublishListMemberOperation
|
|
9969
10142
|
*
|
|
@@ -11478,6 +11651,54 @@ export type ShareResultItem = {
|
|
|
11478
11651
|
fact_count?: number;
|
|
11479
11652
|
};
|
|
11480
11653
|
|
|
11654
|
+
/**
|
|
11655
|
+
* SqlStatementRequest
|
|
11656
|
+
*/
|
|
11657
|
+
export type SqlStatementRequest = {
|
|
11658
|
+
/**
|
|
11659
|
+
* Sql
|
|
11660
|
+
*
|
|
11661
|
+
* SQL query over the graph's columnar tables (DuckDB) — a relational lens on the same graph-centric data, often ahead of the materialized graph. Use ? placeholders or $param_name for dynamic values to prevent SQL injection.
|
|
11662
|
+
*/
|
|
11663
|
+
sql: string;
|
|
11664
|
+
/**
|
|
11665
|
+
* Parameters
|
|
11666
|
+
*
|
|
11667
|
+
* Query parameters for safe value substitution. ALWAYS use parameters instead of string concatenation.
|
|
11668
|
+
*/
|
|
11669
|
+
parameters?: Array<unknown> | null;
|
|
11670
|
+
};
|
|
11671
|
+
|
|
11672
|
+
/**
|
|
11673
|
+
* SqlStatementResponse
|
|
11674
|
+
*/
|
|
11675
|
+
export type SqlStatementResponse = {
|
|
11676
|
+
/**
|
|
11677
|
+
* Columns
|
|
11678
|
+
*
|
|
11679
|
+
* Column names
|
|
11680
|
+
*/
|
|
11681
|
+
columns: Array<string>;
|
|
11682
|
+
/**
|
|
11683
|
+
* Rows
|
|
11684
|
+
*
|
|
11685
|
+
* Query results
|
|
11686
|
+
*/
|
|
11687
|
+
rows: Array<Array<unknown>>;
|
|
11688
|
+
/**
|
|
11689
|
+
* Row Count
|
|
11690
|
+
*
|
|
11691
|
+
* Number of rows returned
|
|
11692
|
+
*/
|
|
11693
|
+
row_count: number;
|
|
11694
|
+
/**
|
|
11695
|
+
* Execution Time Ms
|
|
11696
|
+
*
|
|
11697
|
+
* Query execution time
|
|
11698
|
+
*/
|
|
11699
|
+
execution_time_ms: number;
|
|
11700
|
+
};
|
|
11701
|
+
|
|
11481
11702
|
/**
|
|
11482
11703
|
* StatementMechanics
|
|
11483
11704
|
*
|
|
@@ -11967,79 +12188,31 @@ export type TableListResponse = {
|
|
|
11967
12188
|
};
|
|
11968
12189
|
|
|
11969
12190
|
/**
|
|
11970
|
-
*
|
|
12191
|
+
* TaxonomyBlockAssociation
|
|
12192
|
+
*
|
|
12193
|
+
* Association projection for the Taxonomy Block envelope.
|
|
11971
12194
|
*/
|
|
11972
|
-
export type
|
|
12195
|
+
export type TaxonomyBlockAssociation = {
|
|
11973
12196
|
/**
|
|
11974
|
-
*
|
|
11975
|
-
*
|
|
11976
|
-
* SQL query to execute on staging tables. Use ? placeholders or $param_name for dynamic values to prevent SQL injection.
|
|
12197
|
+
* Id
|
|
11977
12198
|
*/
|
|
11978
|
-
|
|
12199
|
+
id: string;
|
|
11979
12200
|
/**
|
|
11980
|
-
*
|
|
11981
|
-
*
|
|
11982
|
-
* Query parameters for safe value substitution. ALWAYS use parameters instead of string concatenation.
|
|
12201
|
+
* Structure Id
|
|
11983
12202
|
*/
|
|
11984
|
-
|
|
11985
|
-
};
|
|
11986
|
-
|
|
11987
|
-
/**
|
|
11988
|
-
* TableQueryResponse
|
|
11989
|
-
*/
|
|
11990
|
-
export type TableQueryResponse = {
|
|
12203
|
+
structure_id: string;
|
|
11991
12204
|
/**
|
|
11992
|
-
*
|
|
11993
|
-
*
|
|
11994
|
-
* Column names
|
|
12205
|
+
* From Element Qname
|
|
11995
12206
|
*/
|
|
11996
|
-
|
|
12207
|
+
from_element_qname: string;
|
|
11997
12208
|
/**
|
|
11998
|
-
*
|
|
11999
|
-
*
|
|
12000
|
-
* Query results
|
|
12209
|
+
* To Element Qname
|
|
12001
12210
|
*/
|
|
12002
|
-
|
|
12211
|
+
to_element_qname: string;
|
|
12003
12212
|
/**
|
|
12004
|
-
*
|
|
12005
|
-
*
|
|
12006
|
-
* Number of rows returned
|
|
12213
|
+
* Association Type
|
|
12007
12214
|
*/
|
|
12008
|
-
|
|
12009
|
-
/**
|
|
12010
|
-
* Execution Time Ms
|
|
12011
|
-
*
|
|
12012
|
-
* Query execution time
|
|
12013
|
-
*/
|
|
12014
|
-
execution_time_ms: number;
|
|
12015
|
-
};
|
|
12016
|
-
|
|
12017
|
-
/**
|
|
12018
|
-
* TaxonomyBlockAssociation
|
|
12019
|
-
*
|
|
12020
|
-
* Association projection for the Taxonomy Block envelope.
|
|
12021
|
-
*/
|
|
12022
|
-
export type TaxonomyBlockAssociation = {
|
|
12023
|
-
/**
|
|
12024
|
-
* Id
|
|
12025
|
-
*/
|
|
12026
|
-
id: string;
|
|
12027
|
-
/**
|
|
12028
|
-
* Structure Id
|
|
12029
|
-
*/
|
|
12030
|
-
structure_id: string;
|
|
12031
|
-
/**
|
|
12032
|
-
* From Element Qname
|
|
12033
|
-
*/
|
|
12034
|
-
from_element_qname: string;
|
|
12035
|
-
/**
|
|
12036
|
-
* To Element Qname
|
|
12037
|
-
*/
|
|
12038
|
-
to_element_qname: string;
|
|
12039
|
-
/**
|
|
12040
|
-
* Association Type
|
|
12041
|
-
*/
|
|
12042
|
-
association_type: string;
|
|
12215
|
+
association_type: string;
|
|
12043
12216
|
/**
|
|
12044
12217
|
* Order Value
|
|
12045
12218
|
*/
|
|
@@ -13210,6 +13383,55 @@ export type UpdateMemberRoleRequest = {
|
|
|
13210
13383
|
role: OrgRole;
|
|
13211
13384
|
};
|
|
13212
13385
|
|
|
13386
|
+
/**
|
|
13387
|
+
* UpdateMemoryOp
|
|
13388
|
+
*
|
|
13389
|
+
* Body for the update-memory operation (partial update of a stored memory).
|
|
13390
|
+
*
|
|
13391
|
+
* Only supplied fields are changed; the memory is re-embedded when ``text``
|
|
13392
|
+
* changes.
|
|
13393
|
+
*/
|
|
13394
|
+
export type UpdateMemoryOp = {
|
|
13395
|
+
/**
|
|
13396
|
+
* Memory Id
|
|
13397
|
+
*
|
|
13398
|
+
* Server-generated memory id to update
|
|
13399
|
+
*/
|
|
13400
|
+
memory_id: string;
|
|
13401
|
+
/**
|
|
13402
|
+
* Text
|
|
13403
|
+
*
|
|
13404
|
+
* New memory content
|
|
13405
|
+
*/
|
|
13406
|
+
text?: string | null;
|
|
13407
|
+
/**
|
|
13408
|
+
* Memory Type
|
|
13409
|
+
*
|
|
13410
|
+
* Freeform classifier
|
|
13411
|
+
*/
|
|
13412
|
+
memory_type?: string | null;
|
|
13413
|
+
/**
|
|
13414
|
+
* Tags
|
|
13415
|
+
*
|
|
13416
|
+
* Optional labels
|
|
13417
|
+
*/
|
|
13418
|
+
tags?: Array<string> | null;
|
|
13419
|
+
/**
|
|
13420
|
+
* Source Ref
|
|
13421
|
+
*
|
|
13422
|
+
* Optional external reference/URI
|
|
13423
|
+
*/
|
|
13424
|
+
source_ref?: string | null;
|
|
13425
|
+
/**
|
|
13426
|
+
* Provenance
|
|
13427
|
+
*
|
|
13428
|
+
* Opaque provenance metadata
|
|
13429
|
+
*/
|
|
13430
|
+
provenance?: {
|
|
13431
|
+
[key: string]: unknown;
|
|
13432
|
+
} | null;
|
|
13433
|
+
};
|
|
13434
|
+
|
|
13213
13435
|
/**
|
|
13214
13436
|
* UpdateOrgRequest
|
|
13215
13437
|
*
|
|
@@ -17006,8 +17228,8 @@ export type GetGraphUsageAnalyticsResponses = {
|
|
|
17006
17228
|
|
|
17007
17229
|
export type GetGraphUsageAnalyticsResponse = GetGraphUsageAnalyticsResponses[keyof GetGraphUsageAnalyticsResponses];
|
|
17008
17230
|
|
|
17009
|
-
export type
|
|
17010
|
-
body:
|
|
17231
|
+
export type ExecuteCypherData = {
|
|
17232
|
+
body: CypherStatementRequest;
|
|
17011
17233
|
path: {
|
|
17012
17234
|
/**
|
|
17013
17235
|
* Graph Id
|
|
@@ -17034,10 +17256,10 @@ export type ExecuteCypherQueryData = {
|
|
|
17034
17256
|
*/
|
|
17035
17257
|
test_mode?: boolean;
|
|
17036
17258
|
};
|
|
17037
|
-
url: '/v1/graphs/{graph_id}/query';
|
|
17259
|
+
url: '/v1/graphs/{graph_id}/query/cypher';
|
|
17038
17260
|
};
|
|
17039
17261
|
|
|
17040
|
-
export type
|
|
17262
|
+
export type ExecuteCypherErrors = {
|
|
17041
17263
|
/**
|
|
17042
17264
|
* Invalid request
|
|
17043
17265
|
*/
|
|
@@ -17076,9 +17298,9 @@ export type ExecuteCypherQueryErrors = {
|
|
|
17076
17298
|
503: unknown;
|
|
17077
17299
|
};
|
|
17078
17300
|
|
|
17079
|
-
export type
|
|
17301
|
+
export type ExecuteCypherError = ExecuteCypherErrors[keyof ExecuteCypherErrors];
|
|
17080
17302
|
|
|
17081
|
-
export type
|
|
17303
|
+
export type ExecuteCypherResponses = {
|
|
17082
17304
|
/**
|
|
17083
17305
|
* Successful Response
|
|
17084
17306
|
*/
|
|
@@ -17089,6 +17311,67 @@ export type ExecuteCypherQueryResponses = {
|
|
|
17089
17311
|
202: unknown;
|
|
17090
17312
|
};
|
|
17091
17313
|
|
|
17314
|
+
export type ExecuteSqlData = {
|
|
17315
|
+
/**
|
|
17316
|
+
* SQL statement request
|
|
17317
|
+
*/
|
|
17318
|
+
body: SqlStatementRequest;
|
|
17319
|
+
path: {
|
|
17320
|
+
/**
|
|
17321
|
+
* Graph Id
|
|
17322
|
+
*/
|
|
17323
|
+
graph_id: string;
|
|
17324
|
+
};
|
|
17325
|
+
query?: never;
|
|
17326
|
+
url: '/v1/graphs/{graph_id}/query/sql';
|
|
17327
|
+
};
|
|
17328
|
+
|
|
17329
|
+
export type ExecuteSqlErrors = {
|
|
17330
|
+
/**
|
|
17331
|
+
* Invalid request
|
|
17332
|
+
*/
|
|
17333
|
+
400: ErrorResponse;
|
|
17334
|
+
/**
|
|
17335
|
+
* Authentication required
|
|
17336
|
+
*/
|
|
17337
|
+
401: ErrorResponse;
|
|
17338
|
+
/**
|
|
17339
|
+
* Access denied
|
|
17340
|
+
*/
|
|
17341
|
+
403: ErrorResponse;
|
|
17342
|
+
/**
|
|
17343
|
+
* Resource not found
|
|
17344
|
+
*/
|
|
17345
|
+
404: ErrorResponse;
|
|
17346
|
+
/**
|
|
17347
|
+
* Query timeout
|
|
17348
|
+
*/
|
|
17349
|
+
408: unknown;
|
|
17350
|
+
/**
|
|
17351
|
+
* Validation Error
|
|
17352
|
+
*/
|
|
17353
|
+
422: HttpValidationError;
|
|
17354
|
+
/**
|
|
17355
|
+
* Rate limit exceeded
|
|
17356
|
+
*/
|
|
17357
|
+
429: ErrorResponse;
|
|
17358
|
+
/**
|
|
17359
|
+
* Internal server error
|
|
17360
|
+
*/
|
|
17361
|
+
500: ErrorResponse;
|
|
17362
|
+
};
|
|
17363
|
+
|
|
17364
|
+
export type ExecuteSqlError = ExecuteSqlErrors[keyof ExecuteSqlErrors];
|
|
17365
|
+
|
|
17366
|
+
export type ExecuteSqlResponses = {
|
|
17367
|
+
/**
|
|
17368
|
+
* Successful Response
|
|
17369
|
+
*/
|
|
17370
|
+
200: SqlStatementResponse;
|
|
17371
|
+
};
|
|
17372
|
+
|
|
17373
|
+
export type ExecuteSqlResponse = ExecuteSqlResponses[keyof ExecuteSqlResponses];
|
|
17374
|
+
|
|
17092
17375
|
export type GetGraphSchemaData = {
|
|
17093
17376
|
body?: never;
|
|
17094
17377
|
path: {
|
|
@@ -18040,67 +18323,6 @@ export type ListTablesResponses = {
|
|
|
18040
18323
|
|
|
18041
18324
|
export type ListTablesResponse = ListTablesResponses[keyof ListTablesResponses];
|
|
18042
18325
|
|
|
18043
|
-
export type QueryTablesData = {
|
|
18044
|
-
/**
|
|
18045
|
-
* SQL query request
|
|
18046
|
-
*/
|
|
18047
|
-
body: TableQueryRequest;
|
|
18048
|
-
path: {
|
|
18049
|
-
/**
|
|
18050
|
-
* Graph Id
|
|
18051
|
-
*/
|
|
18052
|
-
graph_id: string;
|
|
18053
|
-
};
|
|
18054
|
-
query?: never;
|
|
18055
|
-
url: '/v1/graphs/{graph_id}/tables/query';
|
|
18056
|
-
};
|
|
18057
|
-
|
|
18058
|
-
export type QueryTablesErrors = {
|
|
18059
|
-
/**
|
|
18060
|
-
* Invalid request
|
|
18061
|
-
*/
|
|
18062
|
-
400: ErrorResponse;
|
|
18063
|
-
/**
|
|
18064
|
-
* Authentication required
|
|
18065
|
-
*/
|
|
18066
|
-
401: ErrorResponse;
|
|
18067
|
-
/**
|
|
18068
|
-
* Access denied
|
|
18069
|
-
*/
|
|
18070
|
-
403: ErrorResponse;
|
|
18071
|
-
/**
|
|
18072
|
-
* Resource not found
|
|
18073
|
-
*/
|
|
18074
|
-
404: ErrorResponse;
|
|
18075
|
-
/**
|
|
18076
|
-
* Query timeout
|
|
18077
|
-
*/
|
|
18078
|
-
408: unknown;
|
|
18079
|
-
/**
|
|
18080
|
-
* Validation Error
|
|
18081
|
-
*/
|
|
18082
|
-
422: HttpValidationError;
|
|
18083
|
-
/**
|
|
18084
|
-
* Rate limit exceeded
|
|
18085
|
-
*/
|
|
18086
|
-
429: ErrorResponse;
|
|
18087
|
-
/**
|
|
18088
|
-
* Internal server error
|
|
18089
|
-
*/
|
|
18090
|
-
500: ErrorResponse;
|
|
18091
|
-
};
|
|
18092
|
-
|
|
18093
|
-
export type QueryTablesError = QueryTablesErrors[keyof QueryTablesErrors];
|
|
18094
|
-
|
|
18095
|
-
export type QueryTablesResponses = {
|
|
18096
|
-
/**
|
|
18097
|
-
* Successful Response
|
|
18098
|
-
*/
|
|
18099
|
-
200: TableQueryResponse;
|
|
18100
|
-
};
|
|
18101
|
-
|
|
18102
|
-
export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
|
|
18103
|
-
|
|
18104
18326
|
export type SearchDocumentsData = {
|
|
18105
18327
|
body: SearchRequest;
|
|
18106
18328
|
path: {
|
|
@@ -18280,19 +18502,23 @@ export type ListDocumentsResponses = {
|
|
|
18280
18502
|
|
|
18281
18503
|
export type ListDocumentsResponse = ListDocumentsResponses[keyof ListDocumentsResponses];
|
|
18282
18504
|
|
|
18283
|
-
export type
|
|
18284
|
-
body
|
|
18505
|
+
export type GetDocumentData = {
|
|
18506
|
+
body?: never;
|
|
18285
18507
|
path: {
|
|
18286
18508
|
/**
|
|
18287
18509
|
* Graph Id
|
|
18288
18510
|
*/
|
|
18289
18511
|
graph_id: string;
|
|
18512
|
+
/**
|
|
18513
|
+
* Document Id
|
|
18514
|
+
*/
|
|
18515
|
+
document_id: string;
|
|
18290
18516
|
};
|
|
18291
18517
|
query?: never;
|
|
18292
|
-
url: '/v1/graphs/{graph_id}/documents';
|
|
18518
|
+
url: '/v1/graphs/{graph_id}/documents/{document_id}';
|
|
18293
18519
|
};
|
|
18294
18520
|
|
|
18295
|
-
export type
|
|
18521
|
+
export type GetDocumentErrors = {
|
|
18296
18522
|
/**
|
|
18297
18523
|
* Invalid request
|
|
18298
18524
|
*/
|
|
@@ -18323,34 +18549,51 @@ export type UploadDocumentErrors = {
|
|
|
18323
18549
|
500: ErrorResponse;
|
|
18324
18550
|
};
|
|
18325
18551
|
|
|
18326
|
-
export type
|
|
18552
|
+
export type GetDocumentError = GetDocumentErrors[keyof GetDocumentErrors];
|
|
18327
18553
|
|
|
18328
|
-
export type
|
|
18554
|
+
export type GetDocumentResponses = {
|
|
18329
18555
|
/**
|
|
18330
18556
|
* Successful Response
|
|
18331
18557
|
*/
|
|
18332
|
-
200:
|
|
18558
|
+
200: DocumentDetailResponse;
|
|
18333
18559
|
};
|
|
18334
18560
|
|
|
18335
|
-
export type
|
|
18561
|
+
export type GetDocumentResponse = GetDocumentResponses[keyof GetDocumentResponses];
|
|
18336
18562
|
|
|
18337
|
-
export type
|
|
18563
|
+
export type ListMemoriesData = {
|
|
18338
18564
|
body?: never;
|
|
18339
18565
|
path: {
|
|
18340
18566
|
/**
|
|
18341
18567
|
* Graph Id
|
|
18342
18568
|
*/
|
|
18343
18569
|
graph_id: string;
|
|
18570
|
+
};
|
|
18571
|
+
query?: {
|
|
18344
18572
|
/**
|
|
18345
|
-
*
|
|
18573
|
+
* Memory Type
|
|
18574
|
+
*
|
|
18575
|
+
* Filter by memory type
|
|
18346
18576
|
*/
|
|
18347
|
-
|
|
18577
|
+
memory_type?: string | null;
|
|
18578
|
+
/**
|
|
18579
|
+
* Source
|
|
18580
|
+
*
|
|
18581
|
+
* Filter by source
|
|
18582
|
+
*/
|
|
18583
|
+
source?: string | null;
|
|
18584
|
+
/**
|
|
18585
|
+
* Limit
|
|
18586
|
+
*/
|
|
18587
|
+
limit?: number;
|
|
18588
|
+
/**
|
|
18589
|
+
* Offset
|
|
18590
|
+
*/
|
|
18591
|
+
offset?: number;
|
|
18348
18592
|
};
|
|
18349
|
-
|
|
18350
|
-
url: '/v1/graphs/{graph_id}/documents/{document_id}';
|
|
18593
|
+
url: '/v1/graphs/{graph_id}/memory';
|
|
18351
18594
|
};
|
|
18352
18595
|
|
|
18353
|
-
export type
|
|
18596
|
+
export type ListMemoriesErrors = {
|
|
18354
18597
|
/**
|
|
18355
18598
|
* Invalid request
|
|
18356
18599
|
*/
|
|
@@ -18381,18 +18624,18 @@ export type DeleteDocumentErrors = {
|
|
|
18381
18624
|
500: ErrorResponse;
|
|
18382
18625
|
};
|
|
18383
18626
|
|
|
18384
|
-
export type
|
|
18627
|
+
export type ListMemoriesError = ListMemoriesErrors[keyof ListMemoriesErrors];
|
|
18385
18628
|
|
|
18386
|
-
export type
|
|
18629
|
+
export type ListMemoriesResponses = {
|
|
18387
18630
|
/**
|
|
18388
18631
|
* Successful Response
|
|
18389
18632
|
*/
|
|
18390
|
-
|
|
18633
|
+
200: MemoryListResponse;
|
|
18391
18634
|
};
|
|
18392
18635
|
|
|
18393
|
-
export type
|
|
18636
|
+
export type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
|
|
18394
18637
|
|
|
18395
|
-
export type
|
|
18638
|
+
export type GetMemoryData = {
|
|
18396
18639
|
body?: never;
|
|
18397
18640
|
path: {
|
|
18398
18641
|
/**
|
|
@@ -18400,15 +18643,15 @@ export type GetDocumentData = {
|
|
|
18400
18643
|
*/
|
|
18401
18644
|
graph_id: string;
|
|
18402
18645
|
/**
|
|
18403
|
-
*
|
|
18646
|
+
* Memory Id
|
|
18404
18647
|
*/
|
|
18405
|
-
|
|
18648
|
+
memory_id: string;
|
|
18406
18649
|
};
|
|
18407
18650
|
query?: never;
|
|
18408
|
-
url: '/v1/graphs/{graph_id}/
|
|
18651
|
+
url: '/v1/graphs/{graph_id}/memory/{memory_id}';
|
|
18409
18652
|
};
|
|
18410
18653
|
|
|
18411
|
-
export type
|
|
18654
|
+
export type GetMemoryErrors = {
|
|
18412
18655
|
/**
|
|
18413
18656
|
* Invalid request
|
|
18414
18657
|
*/
|
|
@@ -18439,34 +18682,30 @@ export type GetDocumentErrors = {
|
|
|
18439
18682
|
500: ErrorResponse;
|
|
18440
18683
|
};
|
|
18441
18684
|
|
|
18442
|
-
export type
|
|
18685
|
+
export type GetMemoryError = GetMemoryErrors[keyof GetMemoryErrors];
|
|
18443
18686
|
|
|
18444
|
-
export type
|
|
18687
|
+
export type GetMemoryResponses = {
|
|
18445
18688
|
/**
|
|
18446
18689
|
* Successful Response
|
|
18447
18690
|
*/
|
|
18448
|
-
200:
|
|
18691
|
+
200: MemoryRecord;
|
|
18449
18692
|
};
|
|
18450
18693
|
|
|
18451
|
-
export type
|
|
18694
|
+
export type GetMemoryResponse = GetMemoryResponses[keyof GetMemoryResponses];
|
|
18452
18695
|
|
|
18453
|
-
export type
|
|
18454
|
-
body:
|
|
18696
|
+
export type RecallMemoryData = {
|
|
18697
|
+
body: MemoryRecallRequest;
|
|
18455
18698
|
path: {
|
|
18456
18699
|
/**
|
|
18457
18700
|
* Graph Id
|
|
18458
18701
|
*/
|
|
18459
18702
|
graph_id: string;
|
|
18460
|
-
/**
|
|
18461
|
-
* Document Id
|
|
18462
|
-
*/
|
|
18463
|
-
document_id: string;
|
|
18464
18703
|
};
|
|
18465
18704
|
query?: never;
|
|
18466
|
-
url: '/v1/graphs/{graph_id}/
|
|
18705
|
+
url: '/v1/graphs/{graph_id}/memory/recall';
|
|
18467
18706
|
};
|
|
18468
18707
|
|
|
18469
|
-
export type
|
|
18708
|
+
export type RecallMemoryErrors = {
|
|
18470
18709
|
/**
|
|
18471
18710
|
* Invalid request
|
|
18472
18711
|
*/
|
|
@@ -18495,18 +18734,22 @@ export type UpdateDocumentErrors = {
|
|
|
18495
18734
|
* Internal server error
|
|
18496
18735
|
*/
|
|
18497
18736
|
500: ErrorResponse;
|
|
18737
|
+
/**
|
|
18738
|
+
* Semantic memory not available
|
|
18739
|
+
*/
|
|
18740
|
+
503: unknown;
|
|
18498
18741
|
};
|
|
18499
18742
|
|
|
18500
|
-
export type
|
|
18743
|
+
export type RecallMemoryError = RecallMemoryErrors[keyof RecallMemoryErrors];
|
|
18501
18744
|
|
|
18502
|
-
export type
|
|
18745
|
+
export type RecallMemoryResponses = {
|
|
18503
18746
|
/**
|
|
18504
18747
|
* Successful Response
|
|
18505
18748
|
*/
|
|
18506
|
-
200:
|
|
18749
|
+
200: SearchResponse;
|
|
18507
18750
|
};
|
|
18508
18751
|
|
|
18509
|
-
export type
|
|
18752
|
+
export type RecallMemoryResponse = RecallMemoryResponses[keyof RecallMemoryResponses];
|
|
18510
18753
|
|
|
18511
18754
|
export type OpCreateSubgraphData = {
|
|
18512
18755
|
body: CreateSubgraphRequest;
|
|
@@ -18892,8 +19135,8 @@ export type OpChangeTierResponses = {
|
|
|
18892
19135
|
|
|
18893
19136
|
export type OpChangeTierResponse = OpChangeTierResponses[keyof OpChangeTierResponses];
|
|
18894
19137
|
|
|
18895
|
-
export type
|
|
18896
|
-
body:
|
|
19138
|
+
export type OpMaterializeData = {
|
|
19139
|
+
body: MaterializeOp;
|
|
18897
19140
|
headers?: {
|
|
18898
19141
|
/**
|
|
18899
19142
|
* Idempotency-Key
|
|
@@ -18907,10 +19150,10 @@ export type OpChangeReportingStyleData = {
|
|
|
18907
19150
|
graph_id: string;
|
|
18908
19151
|
};
|
|
18909
19152
|
query?: never;
|
|
18910
|
-
url: '/v1/graphs/{graph_id}/operations/
|
|
19153
|
+
url: '/v1/graphs/{graph_id}/operations/materialize';
|
|
18911
19154
|
};
|
|
18912
19155
|
|
|
18913
|
-
export type
|
|
19156
|
+
export type OpMaterializeErrors = {
|
|
18914
19157
|
/**
|
|
18915
19158
|
* Invalid request
|
|
18916
19159
|
*/
|
|
@@ -18945,19 +19188,19 @@ export type OpChangeReportingStyleErrors = {
|
|
|
18945
19188
|
500: ErrorResponse;
|
|
18946
19189
|
};
|
|
18947
19190
|
|
|
18948
|
-
export type
|
|
19191
|
+
export type OpMaterializeError = OpMaterializeErrors[keyof OpMaterializeErrors];
|
|
18949
19192
|
|
|
18950
|
-
export type
|
|
19193
|
+
export type OpMaterializeResponses = {
|
|
18951
19194
|
/**
|
|
18952
19195
|
* Successful Response
|
|
18953
19196
|
*/
|
|
18954
|
-
|
|
19197
|
+
202: OperationEnvelope;
|
|
18955
19198
|
};
|
|
18956
19199
|
|
|
18957
|
-
export type
|
|
19200
|
+
export type OpMaterializeResponse = OpMaterializeResponses[keyof OpMaterializeResponses];
|
|
18958
19201
|
|
|
18959
|
-
export type
|
|
18960
|
-
body:
|
|
19202
|
+
export type OpRememberData = {
|
|
19203
|
+
body: RememberOp;
|
|
18961
19204
|
headers?: {
|
|
18962
19205
|
/**
|
|
18963
19206
|
* Idempotency-Key
|
|
@@ -18971,10 +19214,10 @@ export type OpMaterializeData = {
|
|
|
18971
19214
|
graph_id: string;
|
|
18972
19215
|
};
|
|
18973
19216
|
query?: never;
|
|
18974
|
-
url: '/v1/graphs/{graph_id}/operations/
|
|
19217
|
+
url: '/v1/graphs/{graph_id}/operations/remember';
|
|
18975
19218
|
};
|
|
18976
19219
|
|
|
18977
|
-
export type
|
|
19220
|
+
export type OpRememberErrors = {
|
|
18978
19221
|
/**
|
|
18979
19222
|
* Invalid request
|
|
18980
19223
|
*/
|
|
@@ -19009,43 +19252,100 @@ export type OpMaterializeErrors = {
|
|
|
19009
19252
|
500: ErrorResponse;
|
|
19010
19253
|
};
|
|
19011
19254
|
|
|
19012
|
-
export type
|
|
19255
|
+
export type OpRememberError = OpRememberErrors[keyof OpRememberErrors];
|
|
19013
19256
|
|
|
19014
|
-
export type
|
|
19257
|
+
export type OpRememberResponses = {
|
|
19015
19258
|
/**
|
|
19016
19259
|
* Successful Response
|
|
19017
19260
|
*/
|
|
19018
|
-
|
|
19261
|
+
200: OperationEnvelope;
|
|
19019
19262
|
};
|
|
19020
19263
|
|
|
19021
|
-
export type
|
|
19264
|
+
export type OpRememberResponse = OpRememberResponses[keyof OpRememberResponses];
|
|
19022
19265
|
|
|
19023
|
-
export type
|
|
19024
|
-
body
|
|
19266
|
+
export type OpForgetData = {
|
|
19267
|
+
body: ForgetOp;
|
|
19268
|
+
headers?: {
|
|
19269
|
+
/**
|
|
19270
|
+
* Idempotency-Key
|
|
19271
|
+
*/
|
|
19272
|
+
'Idempotency-Key'?: string | null;
|
|
19273
|
+
};
|
|
19025
19274
|
path: {
|
|
19026
19275
|
/**
|
|
19027
19276
|
* Graph Id
|
|
19028
19277
|
*/
|
|
19029
19278
|
graph_id: string;
|
|
19030
19279
|
};
|
|
19031
|
-
query?:
|
|
19032
|
-
|
|
19033
|
-
|
|
19034
|
-
|
|
19035
|
-
|
|
19036
|
-
|
|
19037
|
-
|
|
19038
|
-
|
|
19039
|
-
|
|
19040
|
-
|
|
19041
|
-
|
|
19280
|
+
query?: never;
|
|
19281
|
+
url: '/v1/graphs/{graph_id}/operations/forget';
|
|
19282
|
+
};
|
|
19283
|
+
|
|
19284
|
+
export type OpForgetErrors = {
|
|
19285
|
+
/**
|
|
19286
|
+
* Invalid request
|
|
19287
|
+
*/
|
|
19288
|
+
400: ErrorResponse;
|
|
19289
|
+
/**
|
|
19290
|
+
* Authentication required
|
|
19291
|
+
*/
|
|
19292
|
+
401: ErrorResponse;
|
|
19293
|
+
/**
|
|
19294
|
+
* Access denied
|
|
19295
|
+
*/
|
|
19296
|
+
403: ErrorResponse;
|
|
19297
|
+
/**
|
|
19298
|
+
* Resource not found
|
|
19299
|
+
*/
|
|
19300
|
+
404: ErrorResponse;
|
|
19301
|
+
/**
|
|
19302
|
+
* Idempotency-Key conflict — key reused with different body
|
|
19303
|
+
*/
|
|
19304
|
+
409: ErrorResponse;
|
|
19305
|
+
/**
|
|
19306
|
+
* Validation error
|
|
19307
|
+
*/
|
|
19308
|
+
422: ErrorResponse;
|
|
19309
|
+
/**
|
|
19310
|
+
* Rate limit exceeded
|
|
19311
|
+
*/
|
|
19312
|
+
429: ErrorResponse;
|
|
19313
|
+
/**
|
|
19314
|
+
* Internal server error
|
|
19315
|
+
*/
|
|
19316
|
+
500: ErrorResponse;
|
|
19317
|
+
};
|
|
19318
|
+
|
|
19319
|
+
export type OpForgetError = OpForgetErrors[keyof OpForgetErrors];
|
|
19320
|
+
|
|
19321
|
+
export type OpForgetResponses = {
|
|
19322
|
+
/**
|
|
19323
|
+
* Successful Response
|
|
19324
|
+
*/
|
|
19325
|
+
200: OperationEnvelope;
|
|
19326
|
+
};
|
|
19327
|
+
|
|
19328
|
+
export type OpForgetResponse = OpForgetResponses[keyof OpForgetResponses];
|
|
19329
|
+
|
|
19330
|
+
export type OpUpdateMemoryData = {
|
|
19331
|
+
body: UpdateMemoryOp;
|
|
19332
|
+
headers?: {
|
|
19333
|
+
/**
|
|
19334
|
+
* Idempotency-Key
|
|
19042
19335
|
*/
|
|
19043
|
-
|
|
19336
|
+
'Idempotency-Key'?: string | null;
|
|
19044
19337
|
};
|
|
19045
|
-
|
|
19338
|
+
path: {
|
|
19339
|
+
/**
|
|
19340
|
+
* Graph Id
|
|
19341
|
+
*/
|
|
19342
|
+
graph_id: string;
|
|
19343
|
+
};
|
|
19344
|
+
query?: never;
|
|
19345
|
+
url: '/v1/graphs/{graph_id}/operations/update-memory';
|
|
19046
19346
|
};
|
|
19047
19347
|
|
|
19048
|
-
export type
|
|
19348
|
+
export type OpUpdateMemoryErrors = {
|
|
19049
19349
|
/**
|
|
19050
19350
|
* Invalid request
|
|
19051
19351
|
*/
|
|
@@ -19063,9 +19363,13 @@ export type ListFilesErrors = {
|
|
|
19063
19363
|
*/
|
|
19064
19364
|
404: ErrorResponse;
|
|
19065
19365
|
/**
|
|
19066
|
-
*
|
|
19366
|
+
* Idempotency-Key conflict — key reused with different body
|
|
19067
19367
|
*/
|
|
19068
|
-
|
|
19368
|
+
409: ErrorResponse;
|
|
19369
|
+
/**
|
|
19370
|
+
* Validation error
|
|
19371
|
+
*/
|
|
19372
|
+
422: ErrorResponse;
|
|
19069
19373
|
/**
|
|
19070
19374
|
* Rate limit exceeded
|
|
19071
19375
|
*/
|
|
@@ -19076,22 +19380,153 @@ export type ListFilesErrors = {
|
|
|
19076
19380
|
500: ErrorResponse;
|
|
19077
19381
|
};
|
|
19078
19382
|
|
|
19079
|
-
export type
|
|
19383
|
+
export type OpUpdateMemoryError = OpUpdateMemoryErrors[keyof OpUpdateMemoryErrors];
|
|
19080
19384
|
|
|
19081
|
-
export type
|
|
19385
|
+
export type OpUpdateMemoryResponses = {
|
|
19082
19386
|
/**
|
|
19083
19387
|
* Successful Response
|
|
19084
19388
|
*/
|
|
19085
|
-
200:
|
|
19389
|
+
200: OperationEnvelope;
|
|
19086
19390
|
};
|
|
19087
19391
|
|
|
19088
|
-
export type
|
|
19392
|
+
export type OpUpdateMemoryResponse = OpUpdateMemoryResponses[keyof OpUpdateMemoryResponses];
|
|
19393
|
+
|
|
19394
|
+
export type OpIndexDocumentData = {
|
|
19395
|
+
body: IndexDocumentOp;
|
|
19396
|
+
headers?: {
|
|
19397
|
+
/**
|
|
19398
|
+
* Idempotency-Key
|
|
19399
|
+
*/
|
|
19400
|
+
'Idempotency-Key'?: string | null;
|
|
19401
|
+
};
|
|
19402
|
+
path: {
|
|
19403
|
+
/**
|
|
19404
|
+
* Graph Id
|
|
19405
|
+
*/
|
|
19406
|
+
graph_id: string;
|
|
19407
|
+
};
|
|
19408
|
+
query?: never;
|
|
19409
|
+
url: '/v1/graphs/{graph_id}/operations/index-document';
|
|
19410
|
+
};
|
|
19089
19411
|
|
|
19090
|
-
export type
|
|
19412
|
+
export type OpIndexDocumentErrors = {
|
|
19413
|
+
/**
|
|
19414
|
+
* Invalid request
|
|
19415
|
+
*/
|
|
19416
|
+
400: ErrorResponse;
|
|
19091
19417
|
/**
|
|
19092
|
-
*
|
|
19418
|
+
* Authentication required
|
|
19093
19419
|
*/
|
|
19420
|
+
401: ErrorResponse;
|
|
19421
|
+
/**
|
|
19422
|
+
* Access denied
|
|
19423
|
+
*/
|
|
19424
|
+
403: ErrorResponse;
|
|
19425
|
+
/**
|
|
19426
|
+
* Resource not found
|
|
19427
|
+
*/
|
|
19428
|
+
404: ErrorResponse;
|
|
19429
|
+
/**
|
|
19430
|
+
* Idempotency-Key conflict — key reused with different body
|
|
19431
|
+
*/
|
|
19432
|
+
409: ErrorResponse;
|
|
19433
|
+
/**
|
|
19434
|
+
* Validation error
|
|
19435
|
+
*/
|
|
19436
|
+
422: ErrorResponse;
|
|
19437
|
+
/**
|
|
19438
|
+
* Rate limit exceeded
|
|
19439
|
+
*/
|
|
19440
|
+
429: ErrorResponse;
|
|
19441
|
+
/**
|
|
19442
|
+
* Internal server error
|
|
19443
|
+
*/
|
|
19444
|
+
500: ErrorResponse;
|
|
19445
|
+
};
|
|
19446
|
+
|
|
19447
|
+
export type OpIndexDocumentError = OpIndexDocumentErrors[keyof OpIndexDocumentErrors];
|
|
19448
|
+
|
|
19449
|
+
export type OpIndexDocumentResponses = {
|
|
19450
|
+
/**
|
|
19451
|
+
* Successful Response
|
|
19452
|
+
*/
|
|
19453
|
+
200: OperationEnvelope;
|
|
19454
|
+
};
|
|
19455
|
+
|
|
19456
|
+
export type OpIndexDocumentResponse = OpIndexDocumentResponses[keyof OpIndexDocumentResponses];
|
|
19457
|
+
|
|
19458
|
+
export type OpDeleteDocumentData = {
|
|
19459
|
+
body: DeleteDocumentOp;
|
|
19460
|
+
headers?: {
|
|
19461
|
+
/**
|
|
19462
|
+
* Idempotency-Key
|
|
19463
|
+
*/
|
|
19464
|
+
'Idempotency-Key'?: string | null;
|
|
19465
|
+
};
|
|
19466
|
+
path: {
|
|
19467
|
+
/**
|
|
19468
|
+
* Graph Id
|
|
19469
|
+
*/
|
|
19470
|
+
graph_id: string;
|
|
19471
|
+
};
|
|
19472
|
+
query?: never;
|
|
19473
|
+
url: '/v1/graphs/{graph_id}/operations/delete-document';
|
|
19474
|
+
};
|
|
19475
|
+
|
|
19476
|
+
export type OpDeleteDocumentErrors = {
|
|
19477
|
+
/**
|
|
19478
|
+
* Invalid request
|
|
19479
|
+
*/
|
|
19480
|
+
400: ErrorResponse;
|
|
19481
|
+
/**
|
|
19482
|
+
* Authentication required
|
|
19483
|
+
*/
|
|
19484
|
+
401: ErrorResponse;
|
|
19485
|
+
/**
|
|
19486
|
+
* Access denied
|
|
19487
|
+
*/
|
|
19488
|
+
403: ErrorResponse;
|
|
19489
|
+
/**
|
|
19490
|
+
* Resource not found
|
|
19491
|
+
*/
|
|
19492
|
+
404: ErrorResponse;
|
|
19493
|
+
/**
|
|
19494
|
+
* Idempotency-Key conflict — key reused with different body
|
|
19495
|
+
*/
|
|
19496
|
+
409: ErrorResponse;
|
|
19497
|
+
/**
|
|
19498
|
+
* Validation error
|
|
19499
|
+
*/
|
|
19500
|
+
422: ErrorResponse;
|
|
19501
|
+
/**
|
|
19502
|
+
* Rate limit exceeded
|
|
19503
|
+
*/
|
|
19504
|
+
429: ErrorResponse;
|
|
19505
|
+
/**
|
|
19506
|
+
* Internal server error
|
|
19507
|
+
*/
|
|
19508
|
+
500: ErrorResponse;
|
|
19509
|
+
};
|
|
19510
|
+
|
|
19511
|
+
export type OpDeleteDocumentError = OpDeleteDocumentErrors[keyof OpDeleteDocumentErrors];
|
|
19512
|
+
|
|
19513
|
+
export type OpDeleteDocumentResponses = {
|
|
19514
|
+
/**
|
|
19515
|
+
* Successful Response
|
|
19516
|
+
*/
|
|
19517
|
+
200: OperationEnvelope;
|
|
19518
|
+
};
|
|
19519
|
+
|
|
19520
|
+
export type OpDeleteDocumentResponse = OpDeleteDocumentResponses[keyof OpDeleteDocumentResponses];
|
|
19521
|
+
|
|
19522
|
+
export type OpCreateFileUploadData = {
|
|
19094
19523
|
body: FileUploadRequest;
|
|
19524
|
+
headers?: {
|
|
19525
|
+
/**
|
|
19526
|
+
* Idempotency-Key
|
|
19527
|
+
*/
|
|
19528
|
+
'Idempotency-Key'?: string | null;
|
|
19529
|
+
};
|
|
19095
19530
|
path: {
|
|
19096
19531
|
/**
|
|
19097
19532
|
* Graph Id
|
|
@@ -19099,10 +19534,10 @@ export type CreateFileUploadData = {
|
|
|
19099
19534
|
graph_id: string;
|
|
19100
19535
|
};
|
|
19101
19536
|
query?: never;
|
|
19102
|
-
url: '/v1/graphs/{graph_id}/
|
|
19537
|
+
url: '/v1/graphs/{graph_id}/operations/create-file-upload';
|
|
19103
19538
|
};
|
|
19104
19539
|
|
|
19105
|
-
export type
|
|
19540
|
+
export type OpCreateFileUploadErrors = {
|
|
19106
19541
|
/**
|
|
19107
19542
|
* Invalid request
|
|
19108
19543
|
*/
|
|
@@ -19120,9 +19555,13 @@ export type CreateFileUploadErrors = {
|
|
|
19120
19555
|
*/
|
|
19121
19556
|
404: ErrorResponse;
|
|
19122
19557
|
/**
|
|
19123
|
-
*
|
|
19558
|
+
* Idempotency-Key conflict — key reused with different body
|
|
19124
19559
|
*/
|
|
19125
|
-
|
|
19560
|
+
409: ErrorResponse;
|
|
19561
|
+
/**
|
|
19562
|
+
* Validation error
|
|
19563
|
+
*/
|
|
19564
|
+
422: ErrorResponse;
|
|
19126
19565
|
/**
|
|
19127
19566
|
* Rate limit exceeded
|
|
19128
19567
|
*/
|
|
@@ -19133,43 +19572,100 @@ export type CreateFileUploadErrors = {
|
|
|
19133
19572
|
500: ErrorResponse;
|
|
19134
19573
|
};
|
|
19135
19574
|
|
|
19136
|
-
export type
|
|
19575
|
+
export type OpCreateFileUploadError = OpCreateFileUploadErrors[keyof OpCreateFileUploadErrors];
|
|
19137
19576
|
|
|
19138
|
-
export type
|
|
19577
|
+
export type OpCreateFileUploadResponses = {
|
|
19139
19578
|
/**
|
|
19140
19579
|
* Successful Response
|
|
19141
19580
|
*/
|
|
19142
|
-
200:
|
|
19581
|
+
200: OperationEnvelope;
|
|
19143
19582
|
};
|
|
19144
19583
|
|
|
19145
|
-
export type
|
|
19584
|
+
export type OpCreateFileUploadResponse = OpCreateFileUploadResponses[keyof OpCreateFileUploadResponses];
|
|
19146
19585
|
|
|
19147
|
-
export type
|
|
19148
|
-
body
|
|
19586
|
+
export type OpIngestFileData = {
|
|
19587
|
+
body: IngestFileOp;
|
|
19588
|
+
headers?: {
|
|
19589
|
+
/**
|
|
19590
|
+
* Idempotency-Key
|
|
19591
|
+
*/
|
|
19592
|
+
'Idempotency-Key'?: string | null;
|
|
19593
|
+
};
|
|
19149
19594
|
path: {
|
|
19150
19595
|
/**
|
|
19151
19596
|
* Graph Id
|
|
19152
19597
|
*/
|
|
19153
19598
|
graph_id: string;
|
|
19599
|
+
};
|
|
19600
|
+
query?: never;
|
|
19601
|
+
url: '/v1/graphs/{graph_id}/operations/ingest-file';
|
|
19602
|
+
};
|
|
19603
|
+
|
|
19604
|
+
export type OpIngestFileErrors = {
|
|
19605
|
+
/**
|
|
19606
|
+
* Invalid request
|
|
19607
|
+
*/
|
|
19608
|
+
400: ErrorResponse;
|
|
19609
|
+
/**
|
|
19610
|
+
* Authentication required
|
|
19611
|
+
*/
|
|
19612
|
+
401: ErrorResponse;
|
|
19613
|
+
/**
|
|
19614
|
+
* Access denied
|
|
19615
|
+
*/
|
|
19616
|
+
403: ErrorResponse;
|
|
19617
|
+
/**
|
|
19618
|
+
* Resource not found
|
|
19619
|
+
*/
|
|
19620
|
+
404: ErrorResponse;
|
|
19621
|
+
/**
|
|
19622
|
+
* Idempotency-Key conflict — key reused with different body
|
|
19623
|
+
*/
|
|
19624
|
+
409: ErrorResponse;
|
|
19625
|
+
/**
|
|
19626
|
+
* Validation error
|
|
19627
|
+
*/
|
|
19628
|
+
422: ErrorResponse;
|
|
19629
|
+
/**
|
|
19630
|
+
* Rate limit exceeded
|
|
19631
|
+
*/
|
|
19632
|
+
429: ErrorResponse;
|
|
19633
|
+
/**
|
|
19634
|
+
* Internal server error
|
|
19635
|
+
*/
|
|
19636
|
+
500: ErrorResponse;
|
|
19637
|
+
};
|
|
19638
|
+
|
|
19639
|
+
export type OpIngestFileError = OpIngestFileErrors[keyof OpIngestFileErrors];
|
|
19640
|
+
|
|
19641
|
+
export type OpIngestFileResponses = {
|
|
19642
|
+
/**
|
|
19643
|
+
* Successful Response
|
|
19644
|
+
*/
|
|
19645
|
+
200: OperationEnvelope;
|
|
19646
|
+
};
|
|
19647
|
+
|
|
19648
|
+
export type OpIngestFileResponse = OpIngestFileResponses[keyof OpIngestFileResponses];
|
|
19649
|
+
|
|
19650
|
+
export type OpDeleteFileData = {
|
|
19651
|
+
body: DeleteFileOp;
|
|
19652
|
+
headers?: {
|
|
19154
19653
|
/**
|
|
19155
|
-
*
|
|
19156
|
-
*
|
|
19157
|
-
* File ID
|
|
19654
|
+
* Idempotency-Key
|
|
19158
19655
|
*/
|
|
19159
|
-
|
|
19656
|
+
'Idempotency-Key'?: string | null;
|
|
19160
19657
|
};
|
|
19161
|
-
|
|
19658
|
+
path: {
|
|
19162
19659
|
/**
|
|
19163
|
-
*
|
|
19164
|
-
*
|
|
19165
|
-
* If true, delete from all layers including DuckDB and mark graph stale
|
|
19660
|
+
* Graph Id
|
|
19166
19661
|
*/
|
|
19167
|
-
|
|
19662
|
+
graph_id: string;
|
|
19168
19663
|
};
|
|
19169
|
-
|
|
19664
|
+
query?: never;
|
|
19665
|
+
url: '/v1/graphs/{graph_id}/operations/delete-file';
|
|
19170
19666
|
};
|
|
19171
19667
|
|
|
19172
|
-
export type
|
|
19668
|
+
export type OpDeleteFileErrors = {
|
|
19173
19669
|
/**
|
|
19174
19670
|
* Invalid request
|
|
19175
19671
|
*/
|
|
@@ -19187,9 +19683,13 @@ export type DeleteFileErrors = {
|
|
|
19187
19683
|
*/
|
|
19188
19684
|
404: ErrorResponse;
|
|
19189
19685
|
/**
|
|
19190
|
-
*
|
|
19686
|
+
* Idempotency-Key conflict — key reused with different body
|
|
19191
19687
|
*/
|
|
19192
|
-
|
|
19688
|
+
409: ErrorResponse;
|
|
19689
|
+
/**
|
|
19690
|
+
* Validation error
|
|
19691
|
+
*/
|
|
19692
|
+
422: ErrorResponse;
|
|
19193
19693
|
/**
|
|
19194
19694
|
* Rate limit exceeded
|
|
19195
19695
|
*/
|
|
@@ -19200,36 +19700,43 @@ export type DeleteFileErrors = {
|
|
|
19200
19700
|
500: ErrorResponse;
|
|
19201
19701
|
};
|
|
19202
19702
|
|
|
19203
|
-
export type
|
|
19703
|
+
export type OpDeleteFileError = OpDeleteFileErrors[keyof OpDeleteFileErrors];
|
|
19204
19704
|
|
|
19205
|
-
export type
|
|
19705
|
+
export type OpDeleteFileResponses = {
|
|
19206
19706
|
/**
|
|
19207
19707
|
* Successful Response
|
|
19208
19708
|
*/
|
|
19209
|
-
200:
|
|
19709
|
+
200: OperationEnvelope;
|
|
19210
19710
|
};
|
|
19211
19711
|
|
|
19212
|
-
export type
|
|
19712
|
+
export type OpDeleteFileResponse = OpDeleteFileResponses[keyof OpDeleteFileResponses];
|
|
19213
19713
|
|
|
19214
|
-
export type
|
|
19714
|
+
export type ListFilesData = {
|
|
19215
19715
|
body?: never;
|
|
19216
19716
|
path: {
|
|
19217
19717
|
/**
|
|
19218
19718
|
* Graph Id
|
|
19219
19719
|
*/
|
|
19220
19720
|
graph_id: string;
|
|
19721
|
+
};
|
|
19722
|
+
query?: {
|
|
19221
19723
|
/**
|
|
19222
|
-
*
|
|
19724
|
+
* Table Name
|
|
19223
19725
|
*
|
|
19224
|
-
*
|
|
19726
|
+
* Filter by table name (optional)
|
|
19225
19727
|
*/
|
|
19226
|
-
|
|
19728
|
+
table_name?: string | null;
|
|
19729
|
+
/**
|
|
19730
|
+
* Status
|
|
19731
|
+
*
|
|
19732
|
+
* Filter by upload status (optional)
|
|
19733
|
+
*/
|
|
19734
|
+
status?: string | null;
|
|
19227
19735
|
};
|
|
19228
|
-
|
|
19229
|
-
url: '/v1/graphs/{graph_id}/files/{file_id}';
|
|
19736
|
+
url: '/v1/graphs/{graph_id}/files';
|
|
19230
19737
|
};
|
|
19231
19738
|
|
|
19232
|
-
export type
|
|
19739
|
+
export type ListFilesErrors = {
|
|
19233
19740
|
/**
|
|
19234
19741
|
* Invalid request
|
|
19235
19742
|
*/
|
|
@@ -19260,22 +19767,19 @@ export type GetFileErrors = {
|
|
|
19260
19767
|
500: ErrorResponse;
|
|
19261
19768
|
};
|
|
19262
19769
|
|
|
19263
|
-
export type
|
|
19770
|
+
export type ListFilesError = ListFilesErrors[keyof ListFilesErrors];
|
|
19264
19771
|
|
|
19265
|
-
export type
|
|
19772
|
+
export type ListFilesResponses = {
|
|
19266
19773
|
/**
|
|
19267
19774
|
* Successful Response
|
|
19268
19775
|
*/
|
|
19269
|
-
200:
|
|
19776
|
+
200: ListTableFilesResponse;
|
|
19270
19777
|
};
|
|
19271
19778
|
|
|
19272
|
-
export type
|
|
19779
|
+
export type ListFilesResponse = ListFilesResponses[keyof ListFilesResponses];
|
|
19273
19780
|
|
|
19274
|
-
export type
|
|
19275
|
-
|
|
19276
|
-
* Status update request
|
|
19277
|
-
*/
|
|
19278
|
-
body: FileStatusUpdate;
|
|
19781
|
+
export type GetFileData = {
|
|
19782
|
+
body?: never;
|
|
19279
19783
|
path: {
|
|
19280
19784
|
/**
|
|
19281
19785
|
* Graph Id
|
|
@@ -19292,7 +19796,7 @@ export type UpdateFileData = {
|
|
|
19292
19796
|
url: '/v1/graphs/{graph_id}/files/{file_id}';
|
|
19293
19797
|
};
|
|
19294
19798
|
|
|
19295
|
-
export type
|
|
19799
|
+
export type GetFileErrors = {
|
|
19296
19800
|
/**
|
|
19297
19801
|
* Invalid request
|
|
19298
19802
|
*/
|
|
@@ -19323,20 +19827,16 @@ export type UpdateFileErrors = {
|
|
|
19323
19827
|
500: ErrorResponse;
|
|
19324
19828
|
};
|
|
19325
19829
|
|
|
19326
|
-
export type
|
|
19830
|
+
export type GetFileError = GetFileErrors[keyof GetFileErrors];
|
|
19327
19831
|
|
|
19328
|
-
export type
|
|
19832
|
+
export type GetFileResponses = {
|
|
19329
19833
|
/**
|
|
19330
|
-
* Response Updatefile
|
|
19331
|
-
*
|
|
19332
19834
|
* Successful Response
|
|
19333
19835
|
*/
|
|
19334
|
-
200:
|
|
19335
|
-
[key: string]: unknown;
|
|
19336
|
-
};
|
|
19836
|
+
200: GetFileInfoResponse;
|
|
19337
19837
|
};
|
|
19338
19838
|
|
|
19339
|
-
export type
|
|
19839
|
+
export type GetFileResponse = GetFileResponses[keyof GetFileResponses];
|
|
19340
19840
|
|
|
19341
19841
|
export type GetGraphsData = {
|
|
19342
19842
|
body?: never;
|
|
@@ -20570,6 +21070,70 @@ export type OpUpdateEntityResponses = {
|
|
|
20570
21070
|
|
|
20571
21071
|
export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
|
|
20572
21072
|
|
|
21073
|
+
export type OpChangeReportingStyleData = {
|
|
21074
|
+
body: ChangeReportingStyleRequest;
|
|
21075
|
+
headers?: {
|
|
21076
|
+
/**
|
|
21077
|
+
* Idempotency-Key
|
|
21078
|
+
*/
|
|
21079
|
+
'Idempotency-Key'?: string | null;
|
|
21080
|
+
};
|
|
21081
|
+
path: {
|
|
21082
|
+
/**
|
|
21083
|
+
* Graph Id
|
|
21084
|
+
*/
|
|
21085
|
+
graph_id: string;
|
|
21086
|
+
};
|
|
21087
|
+
query?: never;
|
|
21088
|
+
url: '/extensions/roboledger/{graph_id}/operations/change-reporting-style';
|
|
21089
|
+
};
|
|
21090
|
+
|
|
21091
|
+
export type OpChangeReportingStyleErrors = {
|
|
21092
|
+
/**
|
|
21093
|
+
* Invalid request
|
|
21094
|
+
*/
|
|
21095
|
+
400: ErrorResponse;
|
|
21096
|
+
/**
|
|
21097
|
+
* Authentication required
|
|
21098
|
+
*/
|
|
21099
|
+
401: ErrorResponse;
|
|
21100
|
+
/**
|
|
21101
|
+
* Access denied
|
|
21102
|
+
*/
|
|
21103
|
+
403: ErrorResponse;
|
|
21104
|
+
/**
|
|
21105
|
+
* Resource not found
|
|
21106
|
+
*/
|
|
21107
|
+
404: ErrorResponse;
|
|
21108
|
+
/**
|
|
21109
|
+
* Idempotency-Key conflict — key reused with different body
|
|
21110
|
+
*/
|
|
21111
|
+
409: ErrorResponse;
|
|
21112
|
+
/**
|
|
21113
|
+
* Validation error
|
|
21114
|
+
*/
|
|
21115
|
+
422: ErrorResponse;
|
|
21116
|
+
/**
|
|
21117
|
+
* Rate limit exceeded
|
|
21118
|
+
*/
|
|
21119
|
+
429: ErrorResponse;
|
|
21120
|
+
/**
|
|
21121
|
+
* Internal server error
|
|
21122
|
+
*/
|
|
21123
|
+
500: ErrorResponse;
|
|
21124
|
+
};
|
|
21125
|
+
|
|
21126
|
+
export type OpChangeReportingStyleError = OpChangeReportingStyleErrors[keyof OpChangeReportingStyleErrors];
|
|
21127
|
+
|
|
21128
|
+
export type OpChangeReportingStyleResponses = {
|
|
21129
|
+
/**
|
|
21130
|
+
* Successful Response
|
|
21131
|
+
*/
|
|
21132
|
+
200: OperationEnvelopeChangeReportingStyleResponse;
|
|
21133
|
+
};
|
|
21134
|
+
|
|
21135
|
+
export type OpChangeReportingStyleResponse = OpChangeReportingStyleResponses[keyof OpChangeReportingStyleResponses];
|
|
21136
|
+
|
|
20573
21137
|
export type OpCreateTaxonomyBlockData = {
|
|
20574
21138
|
body: CreateTaxonomyBlockRequest;
|
|
20575
21139
|
headers?: {
|