@robosystems/client 0.3.41 → 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/types.gen.ts CHANGED
@@ -761,25 +761,66 @@ export type CancelSubscriptionRequest = {
761
761
  };
762
762
 
763
763
  /**
764
- * ChangeReportingStyleOp
764
+ * ChangeReportingStyleRequest
765
765
  *
766
- * Body for the change-reporting-style operation.
766
+ * Switch a reporting entity's Reporting Style.
767
767
  *
768
- * Switches the graph to a different Reporting Style. The target Style
769
- * must be a library- or customer-authored Structure with
770
- * ``block_type='reporting_style'`` and a complete composition
771
- * (one Network per required statement type BS / IS / CF / SE). Filed
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 compositionbefore the switch is applied.
775
772
  */
776
- export type ChangeReportingStyleOp = {
773
+ export type ChangeReportingStyleRequest = {
777
774
  /**
778
775
  * Reporting Style Id
779
776
  *
780
- * Structure id of the target Reporting Style (e.g., `025f5d48-12ce-5d65-b9eb-4f137a10ef06` for the library-seeded Default Style). Must resolve to a Structure with block_type='reporting_style' that has a complete composition in the graph's tenant schema.
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
- * CypherQueryRequest
2527
+ * CypherStatementRequest
2487
2528
  *
2488
2529
  * Request model for Cypher query execution.
2489
2530
  */
2490
- export type CypherQueryRequest = {
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
- * DeleteFileResponse
2777
+ * DeleteDocumentOp
2778
+ *
2779
+ * Body for delete-document (corpus content-op).
2737
2780
  */
2738
- export type DeleteFileResponse = {
2781
+ export type DeleteDocumentOp = {
2739
2782
  /**
2740
- * Status
2783
+ * Document Id
2741
2784
  *
2742
- * Deletion status
2785
+ * Document id to delete
2743
2786
  */
2744
- status: string;
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
- * Deleted file ID
2799
+ * File id to delete
2749
2800
  */
2750
2801
  file_id: string;
2751
2802
  /**
2752
- * File Name
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
- * Tables from which file data was deleted (if cascade=true)
2805
+ * Also delete the file's rows from DuckDB tables and mark the graph stale
2773
2806
  */
2774
- tables_affected?: Array<string> | null;
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 graph, overriding the entity_type-derived default. Leave blank to derive from entity_type. Change later via the change-reporting-style operation.
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
  */
@@ -6706,6 +6685,12 @@ export type McpToolsResponse = {
6706
6685
  tools: Array<{
6707
6686
  [key: string]: unknown;
6708
6687
  }>;
6688
+ /**
6689
+ * Instructions
6690
+ *
6691
+ * Per-graph routing guidance for MCP clients, tailored to the graph's category and live tool set. Clients should pass this to the MCP server's `instructions` handshake field so it is always in the agent's context.
6692
+ */
6693
+ instructions?: string | null;
6709
6694
  };
6710
6695
 
6711
6696
  /**
@@ -6753,36 +6738,138 @@ export type MaterializeOp = {
6753
6738
  };
6754
6739
 
6755
6740
  /**
6756
- * MetricMechanics
6757
- *
6758
- * Derivative mechanics for ``block_type='metric'``.
6759
- *
6760
- * A metric block composes its facts from one or more source blocks at
6761
- * read time — covenant tests, ratios, KPI trend computations. The typed
6762
- * arm ships today so the discriminated union covers all three
6763
- * construction modes (declarative / compositional / derivative); the
6764
- * derivation evaluator that actually computes facts from source-block
6765
- * FactSets is not yet implemented.
6741
+ * MemoryListResponse
6766
6742
  *
6767
- * ``source_block_ids`` is the ordered list of Structure ids this metric
6768
- * derives from; ``derivation_type`` names the kind of computation
6769
- * (``ratio``, ``trailing_twelve_month``, ``covenant_test``, …), and
6770
- * ``expression`` carries the agent-authored derivation string that the
6771
- * evaluator will consume at envelope build time.
6743
+ * Governance list of memories for a graph.
6772
6744
  */
6773
- export type MetricMechanics = {
6745
+ export type MemoryListResponse = {
6774
6746
  /**
6775
- * Kind
6747
+ * Total
6776
6748
  */
6777
- kind?: 'metric';
6749
+ total: number;
6778
6750
  /**
6779
- * Source Block Ids
6780
- *
6781
- * 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
6782
6752
  */
6783
- source_block_ids?: Array<string>;
6753
+ memories: Array<MemoryRecord>;
6784
6754
  /**
6785
- * Derivation Type
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
6786
6873
  *
6787
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.
6788
6875
  */
@@ -7114,6 +7201,52 @@ export type OperationEnvelopeAssociationResponse = {
7114
7201
  idempotentReplay?: boolean;
7115
7202
  };
7116
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
+
7117
7250
  /**
7118
7251
  * OperationEnvelope[ClosePeriodResponse]
7119
7252
  */
@@ -9958,6 +10091,52 @@ export type RegisterRequest = {
9958
10091
  captcha_token?: string | null;
9959
10092
  };
9960
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
+
9961
10140
  /**
9962
10141
  * RemovePublishListMemberOperation
9963
10142
  *
@@ -11472,6 +11651,54 @@ export type ShareResultItem = {
11472
11651
  fact_count?: number;
11473
11652
  };
11474
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
+
11475
11702
  /**
11476
11703
  * StatementMechanics
11477
11704
  *
@@ -11961,79 +12188,31 @@ export type TableListResponse = {
11961
12188
  };
11962
12189
 
11963
12190
  /**
11964
- * TableQueryRequest
12191
+ * TaxonomyBlockAssociation
12192
+ *
12193
+ * Association projection for the Taxonomy Block envelope.
11965
12194
  */
11966
- export type TableQueryRequest = {
12195
+ export type TaxonomyBlockAssociation = {
11967
12196
  /**
11968
- * Sql
11969
- *
11970
- * SQL query to execute on staging tables. Use ? placeholders or $param_name for dynamic values to prevent SQL injection.
12197
+ * Id
11971
12198
  */
11972
- sql: string;
12199
+ id: string;
11973
12200
  /**
11974
- * Parameters
11975
- *
11976
- * Query parameters for safe value substitution. ALWAYS use parameters instead of string concatenation.
12201
+ * Structure Id
11977
12202
  */
11978
- parameters?: Array<unknown> | null;
11979
- };
11980
-
11981
- /**
11982
- * TableQueryResponse
11983
- */
11984
- export type TableQueryResponse = {
12203
+ structure_id: string;
11985
12204
  /**
11986
- * Columns
11987
- *
11988
- * Column names
12205
+ * From Element Qname
11989
12206
  */
11990
- columns: Array<string>;
12207
+ from_element_qname: string;
11991
12208
  /**
11992
- * Rows
11993
- *
11994
- * Query results
12209
+ * To Element Qname
11995
12210
  */
11996
- rows: Array<Array<unknown>>;
12211
+ to_element_qname: string;
11997
12212
  /**
11998
- * Row Count
11999
- *
12000
- * Number of rows returned
12213
+ * Association Type
12001
12214
  */
12002
- row_count: number;
12003
- /**
12004
- * Execution Time Ms
12005
- *
12006
- * Query execution time
12007
- */
12008
- execution_time_ms: number;
12009
- };
12010
-
12011
- /**
12012
- * TaxonomyBlockAssociation
12013
- *
12014
- * Association projection for the Taxonomy Block envelope.
12015
- */
12016
- export type TaxonomyBlockAssociation = {
12017
- /**
12018
- * Id
12019
- */
12020
- id: string;
12021
- /**
12022
- * Structure Id
12023
- */
12024
- structure_id: string;
12025
- /**
12026
- * From Element Qname
12027
- */
12028
- from_element_qname: string;
12029
- /**
12030
- * To Element Qname
12031
- */
12032
- to_element_qname: string;
12033
- /**
12034
- * Association Type
12035
- */
12036
- association_type: string;
12215
+ association_type: string;
12037
12216
  /**
12038
12217
  * Order Value
12039
12218
  */
@@ -13204,6 +13383,55 @@ export type UpdateMemberRoleRequest = {
13204
13383
  role: OrgRole;
13205
13384
  };
13206
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
+
13207
13435
  /**
13208
13436
  * UpdateOrgRequest
13209
13437
  *
@@ -15632,88 +15860,31 @@ export type GetOrgUsageResponses = {
15632
15860
 
15633
15861
  export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
15634
15862
 
15635
- export type ListConnectionsData = {
15636
- body?: never;
15637
- path: {
15638
- /**
15639
- * Graph Id
15640
- */
15641
- graph_id: string;
15642
- };
15643
- query?: {
15644
- /**
15645
- * Entity Id
15646
- *
15647
- * Filter by entity ID
15648
- */
15649
- entity_id?: string | null;
15863
+ export type SyncConnectionData = {
15864
+ body: SyncConnectionRequest;
15865
+ headers?: {
15650
15866
  /**
15651
- * Provider
15652
- *
15653
- * Filter by provider type
15867
+ * Idempotency-Key
15654
15868
  */
15655
- provider?: 'sec' | 'quickbooks' | null;
15869
+ 'Idempotency-Key'?: string | null;
15656
15870
  };
15657
- url: '/v1/graphs/{graph_id}/connections';
15658
- };
15659
-
15660
- export type ListConnectionsErrors = {
15661
- /**
15662
- * Invalid request
15663
- */
15664
- 400: ErrorResponse;
15665
- /**
15666
- * Authentication required
15667
- */
15668
- 401: ErrorResponse;
15669
- /**
15670
- * Access denied
15671
- */
15672
- 403: ErrorResponse;
15673
- /**
15674
- * Resource not found
15675
- */
15676
- 404: ErrorResponse;
15677
- /**
15678
- * Validation Error
15679
- */
15680
- 422: HttpValidationError;
15681
- /**
15682
- * Rate limit exceeded
15683
- */
15684
- 429: ErrorResponse;
15685
- /**
15686
- * Internal server error
15687
- */
15688
- 500: ErrorResponse;
15689
- };
15690
-
15691
- export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
15692
-
15693
- export type ListConnectionsResponses = {
15694
- /**
15695
- * Response Listconnections
15696
- *
15697
- * Successful Response
15698
- */
15699
- 200: Array<ConnectionResponse>;
15700
- };
15701
-
15702
- export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
15703
-
15704
- export type CreateConnectionData = {
15705
- body: CreateConnectionRequest;
15706
15871
  path: {
15707
15872
  /**
15708
15873
  * Graph Id
15709
15874
  */
15710
15875
  graph_id: string;
15876
+ /**
15877
+ * Connection Id
15878
+ *
15879
+ * Connection identifier
15880
+ */
15881
+ connection_id: string;
15711
15882
  };
15712
15883
  query?: never;
15713
- url: '/v1/graphs/{graph_id}/connections';
15884
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
15714
15885
  };
15715
15886
 
15716
- export type CreateConnectionErrors = {
15887
+ export type SyncConnectionErrors = {
15717
15888
  /**
15718
15889
  * Invalid request
15719
15890
  */
@@ -15731,13 +15902,13 @@ export type CreateConnectionErrors = {
15731
15902
  */
15732
15903
  404: ErrorResponse;
15733
15904
  /**
15734
- * Connection already exists for this provider
15905
+ * Idempotency-Key conflict key reused with different body
15735
15906
  */
15736
- 409: unknown;
15907
+ 409: ErrorResponse;
15737
15908
  /**
15738
- * Validation Error
15909
+ * Validation error
15739
15910
  */
15740
- 422: HttpValidationError;
15911
+ 422: ErrorResponse;
15741
15912
  /**
15742
15913
  * Rate limit exceeded
15743
15914
  */
@@ -15746,18 +15917,22 @@ export type CreateConnectionErrors = {
15746
15917
  * Internal server error
15747
15918
  */
15748
15919
  500: ErrorResponse;
15920
+ /**
15921
+ * Sync request timed out
15922
+ */
15923
+ 504: unknown;
15749
15924
  };
15750
15925
 
15751
- export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
15926
+ export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
15752
15927
 
15753
- export type CreateConnectionResponses = {
15928
+ export type SyncConnectionResponses = {
15754
15929
  /**
15755
15930
  * Successful Response
15756
15931
  */
15757
- 201: ConnectionResponse;
15932
+ 202: OperationEnvelope;
15758
15933
  };
15759
15934
 
15760
- export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
15935
+ export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
15761
15936
 
15762
15937
  export type GetConnectionOptionsData = {
15763
15938
  body?: never;
@@ -15925,25 +16100,32 @@ export type OauthCallbackResponses = {
15925
16100
  200: unknown;
15926
16101
  };
15927
16102
 
15928
- export type DeleteConnectionData = {
16103
+ export type ListConnectionsData = {
15929
16104
  body?: never;
15930
16105
  path: {
15931
16106
  /**
15932
16107
  * Graph Id
15933
16108
  */
15934
16109
  graph_id: string;
16110
+ };
16111
+ query?: {
15935
16112
  /**
15936
- * Connection Id
16113
+ * Entity Id
15937
16114
  *
15938
- * Connection identifier
16115
+ * Filter by entity ID
15939
16116
  */
15940
- connection_id: string;
16117
+ entity_id?: string | null;
16118
+ /**
16119
+ * Provider
16120
+ *
16121
+ * Filter by provider type
16122
+ */
16123
+ provider?: 'sec' | 'quickbooks' | null;
15941
16124
  };
15942
- query?: never;
15943
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
16125
+ url: '/v1/graphs/{graph_id}/connections';
15944
16126
  };
15945
16127
 
15946
- export type DeleteConnectionErrors = {
16128
+ export type ListConnectionsErrors = {
15947
16129
  /**
15948
16130
  * Invalid request
15949
16131
  */
@@ -15974,36 +16156,32 @@ export type DeleteConnectionErrors = {
15974
16156
  500: ErrorResponse;
15975
16157
  };
15976
16158
 
15977
- export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
16159
+ export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
15978
16160
 
15979
- export type DeleteConnectionResponses = {
16161
+ export type ListConnectionsResponses = {
15980
16162
  /**
16163
+ * Response Listconnections
16164
+ *
15981
16165
  * Successful Response
15982
16166
  */
15983
- 200: SuccessResponse;
16167
+ 200: Array<ConnectionResponse>;
15984
16168
  };
15985
16169
 
15986
- export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
16170
+ export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
15987
16171
 
15988
- export type GetConnectionData = {
15989
- body?: never;
16172
+ export type CreateConnectionData = {
16173
+ body: CreateConnectionRequest;
15990
16174
  path: {
15991
16175
  /**
15992
16176
  * Graph Id
15993
16177
  */
15994
16178
  graph_id: string;
15995
- /**
15996
- * Connection Id
15997
- *
15998
- * Unique connection identifier
15999
- */
16000
- connection_id: string;
16001
16179
  };
16002
16180
  query?: never;
16003
- url: '/v1/graphs/{graph_id}/connections/{connection_id}';
16181
+ url: '/v1/graphs/{graph_id}/connections';
16004
16182
  };
16005
16183
 
16006
- export type GetConnectionErrors = {
16184
+ export type CreateConnectionErrors = {
16007
16185
  /**
16008
16186
  * Invalid request
16009
16187
  */
@@ -16020,6 +16198,10 @@ export type GetConnectionErrors = {
16020
16198
  * Resource not found
16021
16199
  */
16022
16200
  404: ErrorResponse;
16201
+ /**
16202
+ * Connection already exists for this provider
16203
+ */
16204
+ 409: unknown;
16023
16205
  /**
16024
16206
  * Validation Error
16025
16207
  */
@@ -16034,25 +16216,19 @@ export type GetConnectionErrors = {
16034
16216
  500: ErrorResponse;
16035
16217
  };
16036
16218
 
16037
- export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
16219
+ export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
16038
16220
 
16039
- export type GetConnectionResponses = {
16221
+ export type CreateConnectionResponses = {
16040
16222
  /**
16041
16223
  * Successful Response
16042
16224
  */
16043
- 200: ConnectionResponse;
16225
+ 201: ConnectionResponse;
16044
16226
  };
16045
16227
 
16046
- export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
16228
+ export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
16047
16229
 
16048
- export type SyncConnectionData = {
16049
- body: SyncConnectionRequest;
16050
- headers?: {
16051
- /**
16052
- * Idempotency-Key
16053
- */
16054
- 'Idempotency-Key'?: string | null;
16055
- };
16230
+ export type DeleteConnectionData = {
16231
+ body?: never;
16056
16232
  path: {
16057
16233
  /**
16058
16234
  * Graph Id
@@ -16066,10 +16242,10 @@ export type SyncConnectionData = {
16066
16242
  connection_id: string;
16067
16243
  };
16068
16244
  query?: never;
16069
- url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
16245
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}';
16070
16246
  };
16071
16247
 
16072
- export type SyncConnectionErrors = {
16248
+ export type DeleteConnectionErrors = {
16073
16249
  /**
16074
16250
  * Invalid request
16075
16251
  */
@@ -16087,13 +16263,9 @@ export type SyncConnectionErrors = {
16087
16263
  */
16088
16264
  404: ErrorResponse;
16089
16265
  /**
16090
- * Idempotency-Key conflict — key reused with different body
16091
- */
16092
- 409: ErrorResponse;
16093
- /**
16094
- * Validation error
16266
+ * Validation Error
16095
16267
  */
16096
- 422: ErrorResponse;
16268
+ 422: HttpValidationError;
16097
16269
  /**
16098
16270
  * Rate limit exceeded
16099
16271
  */
@@ -16102,24 +16274,80 @@ export type SyncConnectionErrors = {
16102
16274
  * Internal server error
16103
16275
  */
16104
16276
  500: ErrorResponse;
16105
- /**
16106
- * Sync request timed out
16107
- */
16108
- 504: unknown;
16109
16277
  };
16110
16278
 
16111
- export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
16279
+ export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
16112
16280
 
16113
- export type SyncConnectionResponses = {
16281
+ export type DeleteConnectionResponses = {
16114
16282
  /**
16115
16283
  * Successful Response
16116
16284
  */
16117
- 202: OperationEnvelope;
16285
+ 200: SuccessResponse;
16118
16286
  };
16119
16287
 
16120
- export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
16288
+ export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
16121
16289
 
16122
- export type SetConnectionWritePolicyData = {
16290
+ export type GetConnectionData = {
16291
+ body?: never;
16292
+ path: {
16293
+ /**
16294
+ * Graph Id
16295
+ */
16296
+ graph_id: string;
16297
+ /**
16298
+ * Connection Id
16299
+ *
16300
+ * Unique connection identifier
16301
+ */
16302
+ connection_id: string;
16303
+ };
16304
+ query?: never;
16305
+ url: '/v1/graphs/{graph_id}/connections/{connection_id}';
16306
+ };
16307
+
16308
+ export type GetConnectionErrors = {
16309
+ /**
16310
+ * Invalid request
16311
+ */
16312
+ 400: ErrorResponse;
16313
+ /**
16314
+ * Authentication required
16315
+ */
16316
+ 401: ErrorResponse;
16317
+ /**
16318
+ * Access denied
16319
+ */
16320
+ 403: ErrorResponse;
16321
+ /**
16322
+ * Resource not found
16323
+ */
16324
+ 404: ErrorResponse;
16325
+ /**
16326
+ * Validation Error
16327
+ */
16328
+ 422: HttpValidationError;
16329
+ /**
16330
+ * Rate limit exceeded
16331
+ */
16332
+ 429: ErrorResponse;
16333
+ /**
16334
+ * Internal server error
16335
+ */
16336
+ 500: ErrorResponse;
16337
+ };
16338
+
16339
+ export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
16340
+
16341
+ export type GetConnectionResponses = {
16342
+ /**
16343
+ * Successful Response
16344
+ */
16345
+ 200: ConnectionResponse;
16346
+ };
16347
+
16348
+ export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
16349
+
16350
+ export type SetConnectionWritePolicyData = {
16123
16351
  body: SetWritePolicyRequest;
16124
16352
  path: {
16125
16353
  /**
@@ -17000,8 +17228,8 @@ export type GetGraphUsageAnalyticsResponses = {
17000
17228
 
17001
17229
  export type GetGraphUsageAnalyticsResponse = GetGraphUsageAnalyticsResponses[keyof GetGraphUsageAnalyticsResponses];
17002
17230
 
17003
- export type ExecuteCypherQueryData = {
17004
- body: CypherQueryRequest;
17231
+ export type ExecuteCypherData = {
17232
+ body: CypherStatementRequest;
17005
17233
  path: {
17006
17234
  /**
17007
17235
  * Graph Id
@@ -17028,10 +17256,10 @@ export type ExecuteCypherQueryData = {
17028
17256
  */
17029
17257
  test_mode?: boolean;
17030
17258
  };
17031
- url: '/v1/graphs/{graph_id}/query';
17259
+ url: '/v1/graphs/{graph_id}/query/cypher';
17032
17260
  };
17033
17261
 
17034
- export type ExecuteCypherQueryErrors = {
17262
+ export type ExecuteCypherErrors = {
17035
17263
  /**
17036
17264
  * Invalid request
17037
17265
  */
@@ -17070,9 +17298,9 @@ export type ExecuteCypherQueryErrors = {
17070
17298
  503: unknown;
17071
17299
  };
17072
17300
 
17073
- export type ExecuteCypherQueryError = ExecuteCypherQueryErrors[keyof ExecuteCypherQueryErrors];
17301
+ export type ExecuteCypherError = ExecuteCypherErrors[keyof ExecuteCypherErrors];
17074
17302
 
17075
- export type ExecuteCypherQueryResponses = {
17303
+ export type ExecuteCypherResponses = {
17076
17304
  /**
17077
17305
  * Successful Response
17078
17306
  */
@@ -17083,6 +17311,67 @@ export type ExecuteCypherQueryResponses = {
17083
17311
  202: unknown;
17084
17312
  };
17085
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
+
17086
17375
  export type GetGraphSchemaData = {
17087
17376
  body?: never;
17088
17377
  path: {
@@ -18034,67 +18323,6 @@ export type ListTablesResponses = {
18034
18323
 
18035
18324
  export type ListTablesResponse = ListTablesResponses[keyof ListTablesResponses];
18036
18325
 
18037
- export type QueryTablesData = {
18038
- /**
18039
- * SQL query request
18040
- */
18041
- body: TableQueryRequest;
18042
- path: {
18043
- /**
18044
- * Graph Id
18045
- */
18046
- graph_id: string;
18047
- };
18048
- query?: never;
18049
- url: '/v1/graphs/{graph_id}/tables/query';
18050
- };
18051
-
18052
- export type QueryTablesErrors = {
18053
- /**
18054
- * Invalid request
18055
- */
18056
- 400: ErrorResponse;
18057
- /**
18058
- * Authentication required
18059
- */
18060
- 401: ErrorResponse;
18061
- /**
18062
- * Access denied
18063
- */
18064
- 403: ErrorResponse;
18065
- /**
18066
- * Resource not found
18067
- */
18068
- 404: ErrorResponse;
18069
- /**
18070
- * Query timeout
18071
- */
18072
- 408: unknown;
18073
- /**
18074
- * Validation Error
18075
- */
18076
- 422: HttpValidationError;
18077
- /**
18078
- * Rate limit exceeded
18079
- */
18080
- 429: ErrorResponse;
18081
- /**
18082
- * Internal server error
18083
- */
18084
- 500: ErrorResponse;
18085
- };
18086
-
18087
- export type QueryTablesError = QueryTablesErrors[keyof QueryTablesErrors];
18088
-
18089
- export type QueryTablesResponses = {
18090
- /**
18091
- * Successful Response
18092
- */
18093
- 200: TableQueryResponse;
18094
- };
18095
-
18096
- export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
18097
-
18098
18326
  export type SearchDocumentsData = {
18099
18327
  body: SearchRequest;
18100
18328
  path: {
@@ -18274,19 +18502,23 @@ export type ListDocumentsResponses = {
18274
18502
 
18275
18503
  export type ListDocumentsResponse = ListDocumentsResponses[keyof ListDocumentsResponses];
18276
18504
 
18277
- export type UploadDocumentData = {
18278
- body: DocumentUploadRequest;
18505
+ export type GetDocumentData = {
18506
+ body?: never;
18279
18507
  path: {
18280
18508
  /**
18281
18509
  * Graph Id
18282
18510
  */
18283
18511
  graph_id: string;
18512
+ /**
18513
+ * Document Id
18514
+ */
18515
+ document_id: string;
18284
18516
  };
18285
18517
  query?: never;
18286
- url: '/v1/graphs/{graph_id}/documents';
18518
+ url: '/v1/graphs/{graph_id}/documents/{document_id}';
18287
18519
  };
18288
18520
 
18289
- export type UploadDocumentErrors = {
18521
+ export type GetDocumentErrors = {
18290
18522
  /**
18291
18523
  * Invalid request
18292
18524
  */
@@ -18317,34 +18549,51 @@ export type UploadDocumentErrors = {
18317
18549
  500: ErrorResponse;
18318
18550
  };
18319
18551
 
18320
- export type UploadDocumentError = UploadDocumentErrors[keyof UploadDocumentErrors];
18552
+ export type GetDocumentError = GetDocumentErrors[keyof GetDocumentErrors];
18321
18553
 
18322
- export type UploadDocumentResponses = {
18554
+ export type GetDocumentResponses = {
18323
18555
  /**
18324
18556
  * Successful Response
18325
18557
  */
18326
- 200: DocumentUploadResponse;
18558
+ 200: DocumentDetailResponse;
18327
18559
  };
18328
18560
 
18329
- export type UploadDocumentResponse = UploadDocumentResponses[keyof UploadDocumentResponses];
18561
+ export type GetDocumentResponse = GetDocumentResponses[keyof GetDocumentResponses];
18330
18562
 
18331
- export type DeleteDocumentData = {
18563
+ export type ListMemoriesData = {
18332
18564
  body?: never;
18333
18565
  path: {
18334
18566
  /**
18335
18567
  * Graph Id
18336
18568
  */
18337
18569
  graph_id: string;
18570
+ };
18571
+ query?: {
18338
18572
  /**
18339
- * Document Id
18573
+ * Memory Type
18574
+ *
18575
+ * Filter by memory type
18340
18576
  */
18341
- document_id: string;
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;
18342
18592
  };
18343
- query?: never;
18344
- url: '/v1/graphs/{graph_id}/documents/{document_id}';
18593
+ url: '/v1/graphs/{graph_id}/memory';
18345
18594
  };
18346
18595
 
18347
- export type DeleteDocumentErrors = {
18596
+ export type ListMemoriesErrors = {
18348
18597
  /**
18349
18598
  * Invalid request
18350
18599
  */
@@ -18375,18 +18624,18 @@ export type DeleteDocumentErrors = {
18375
18624
  500: ErrorResponse;
18376
18625
  };
18377
18626
 
18378
- export type DeleteDocumentError = DeleteDocumentErrors[keyof DeleteDocumentErrors];
18627
+ export type ListMemoriesError = ListMemoriesErrors[keyof ListMemoriesErrors];
18379
18628
 
18380
- export type DeleteDocumentResponses = {
18629
+ export type ListMemoriesResponses = {
18381
18630
  /**
18382
18631
  * Successful Response
18383
18632
  */
18384
- 204: void;
18633
+ 200: MemoryListResponse;
18385
18634
  };
18386
18635
 
18387
- export type DeleteDocumentResponse = DeleteDocumentResponses[keyof DeleteDocumentResponses];
18636
+ export type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
18388
18637
 
18389
- export type GetDocumentData = {
18638
+ export type GetMemoryData = {
18390
18639
  body?: never;
18391
18640
  path: {
18392
18641
  /**
@@ -18394,15 +18643,15 @@ export type GetDocumentData = {
18394
18643
  */
18395
18644
  graph_id: string;
18396
18645
  /**
18397
- * Document Id
18646
+ * Memory Id
18398
18647
  */
18399
- document_id: string;
18648
+ memory_id: string;
18400
18649
  };
18401
18650
  query?: never;
18402
- url: '/v1/graphs/{graph_id}/documents/{document_id}';
18651
+ url: '/v1/graphs/{graph_id}/memory/{memory_id}';
18403
18652
  };
18404
18653
 
18405
- export type GetDocumentErrors = {
18654
+ export type GetMemoryErrors = {
18406
18655
  /**
18407
18656
  * Invalid request
18408
18657
  */
@@ -18433,34 +18682,30 @@ export type GetDocumentErrors = {
18433
18682
  500: ErrorResponse;
18434
18683
  };
18435
18684
 
18436
- export type GetDocumentError = GetDocumentErrors[keyof GetDocumentErrors];
18685
+ export type GetMemoryError = GetMemoryErrors[keyof GetMemoryErrors];
18437
18686
 
18438
- export type GetDocumentResponses = {
18687
+ export type GetMemoryResponses = {
18439
18688
  /**
18440
18689
  * Successful Response
18441
18690
  */
18442
- 200: DocumentDetailResponse;
18691
+ 200: MemoryRecord;
18443
18692
  };
18444
18693
 
18445
- export type GetDocumentResponse = GetDocumentResponses[keyof GetDocumentResponses];
18694
+ export type GetMemoryResponse = GetMemoryResponses[keyof GetMemoryResponses];
18446
18695
 
18447
- export type UpdateDocumentData = {
18448
- body: DocumentUpdateRequest;
18696
+ export type RecallMemoryData = {
18697
+ body: MemoryRecallRequest;
18449
18698
  path: {
18450
18699
  /**
18451
18700
  * Graph Id
18452
18701
  */
18453
18702
  graph_id: string;
18454
- /**
18455
- * Document Id
18456
- */
18457
- document_id: string;
18458
18703
  };
18459
18704
  query?: never;
18460
- url: '/v1/graphs/{graph_id}/documents/{document_id}';
18705
+ url: '/v1/graphs/{graph_id}/memory/recall';
18461
18706
  };
18462
18707
 
18463
- export type UpdateDocumentErrors = {
18708
+ export type RecallMemoryErrors = {
18464
18709
  /**
18465
18710
  * Invalid request
18466
18711
  */
@@ -18489,18 +18734,22 @@ export type UpdateDocumentErrors = {
18489
18734
  * Internal server error
18490
18735
  */
18491
18736
  500: ErrorResponse;
18737
+ /**
18738
+ * Semantic memory not available
18739
+ */
18740
+ 503: unknown;
18492
18741
  };
18493
18742
 
18494
- export type UpdateDocumentError = UpdateDocumentErrors[keyof UpdateDocumentErrors];
18743
+ export type RecallMemoryError = RecallMemoryErrors[keyof RecallMemoryErrors];
18495
18744
 
18496
- export type UpdateDocumentResponses = {
18745
+ export type RecallMemoryResponses = {
18497
18746
  /**
18498
18747
  * Successful Response
18499
18748
  */
18500
- 200: DocumentUploadResponse;
18749
+ 200: SearchResponse;
18501
18750
  };
18502
18751
 
18503
- export type UpdateDocumentResponse = UpdateDocumentResponses[keyof UpdateDocumentResponses];
18752
+ export type RecallMemoryResponse = RecallMemoryResponses[keyof RecallMemoryResponses];
18504
18753
 
18505
18754
  export type OpCreateSubgraphData = {
18506
18755
  body: CreateSubgraphRequest;
@@ -18886,8 +19135,8 @@ export type OpChangeTierResponses = {
18886
19135
 
18887
19136
  export type OpChangeTierResponse = OpChangeTierResponses[keyof OpChangeTierResponses];
18888
19137
 
18889
- export type OpChangeReportingStyleData = {
18890
- body: ChangeReportingStyleOp;
19138
+ export type OpMaterializeData = {
19139
+ body: MaterializeOp;
18891
19140
  headers?: {
18892
19141
  /**
18893
19142
  * Idempotency-Key
@@ -18901,10 +19150,10 @@ export type OpChangeReportingStyleData = {
18901
19150
  graph_id: string;
18902
19151
  };
18903
19152
  query?: never;
18904
- url: '/v1/graphs/{graph_id}/operations/change-reporting-style';
19153
+ url: '/v1/graphs/{graph_id}/operations/materialize';
18905
19154
  };
18906
19155
 
18907
- export type OpChangeReportingStyleErrors = {
19156
+ export type OpMaterializeErrors = {
18908
19157
  /**
18909
19158
  * Invalid request
18910
19159
  */
@@ -18939,19 +19188,19 @@ export type OpChangeReportingStyleErrors = {
18939
19188
  500: ErrorResponse;
18940
19189
  };
18941
19190
 
18942
- export type OpChangeReportingStyleError = OpChangeReportingStyleErrors[keyof OpChangeReportingStyleErrors];
19191
+ export type OpMaterializeError = OpMaterializeErrors[keyof OpMaterializeErrors];
18943
19192
 
18944
- export type OpChangeReportingStyleResponses = {
19193
+ export type OpMaterializeResponses = {
18945
19194
  /**
18946
19195
  * Successful Response
18947
19196
  */
18948
- 200: OperationEnvelope;
19197
+ 202: OperationEnvelope;
18949
19198
  };
18950
19199
 
18951
- export type OpChangeReportingStyleResponse = OpChangeReportingStyleResponses[keyof OpChangeReportingStyleResponses];
19200
+ export type OpMaterializeResponse = OpMaterializeResponses[keyof OpMaterializeResponses];
18952
19201
 
18953
- export type OpMaterializeData = {
18954
- body: MaterializeOp;
19202
+ export type OpRememberData = {
19203
+ body: RememberOp;
18955
19204
  headers?: {
18956
19205
  /**
18957
19206
  * Idempotency-Key
@@ -18965,10 +19214,10 @@ export type OpMaterializeData = {
18965
19214
  graph_id: string;
18966
19215
  };
18967
19216
  query?: never;
18968
- url: '/v1/graphs/{graph_id}/operations/materialize';
19217
+ url: '/v1/graphs/{graph_id}/operations/remember';
18969
19218
  };
18970
19219
 
18971
- export type OpMaterializeErrors = {
19220
+ export type OpRememberErrors = {
18972
19221
  /**
18973
19222
  * Invalid request
18974
19223
  */
@@ -19003,43 +19252,100 @@ export type OpMaterializeErrors = {
19003
19252
  500: ErrorResponse;
19004
19253
  };
19005
19254
 
19006
- export type OpMaterializeError = OpMaterializeErrors[keyof OpMaterializeErrors];
19255
+ export type OpRememberError = OpRememberErrors[keyof OpRememberErrors];
19007
19256
 
19008
- export type OpMaterializeResponses = {
19257
+ export type OpRememberResponses = {
19009
19258
  /**
19010
19259
  * Successful Response
19011
19260
  */
19012
- 202: OperationEnvelope;
19261
+ 200: OperationEnvelope;
19013
19262
  };
19014
19263
 
19015
- export type OpMaterializeResponse = OpMaterializeResponses[keyof OpMaterializeResponses];
19264
+ export type OpRememberResponse = OpRememberResponses[keyof OpRememberResponses];
19016
19265
 
19017
- export type ListFilesData = {
19018
- body?: never;
19266
+ export type OpForgetData = {
19267
+ body: ForgetOp;
19268
+ headers?: {
19269
+ /**
19270
+ * Idempotency-Key
19271
+ */
19272
+ 'Idempotency-Key'?: string | null;
19273
+ };
19019
19274
  path: {
19020
19275
  /**
19021
19276
  * Graph Id
19022
19277
  */
19023
19278
  graph_id: string;
19024
19279
  };
19025
- query?: {
19026
- /**
19027
- * Table Name
19028
- *
19029
- * Filter by table name (optional)
19030
- */
19031
- table_name?: string | null;
19032
- /**
19033
- * Status
19034
- *
19035
- * Filter by upload status (optional)
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
19036
19335
  */
19037
- status?: string | null;
19336
+ 'Idempotency-Key'?: string | null;
19038
19337
  };
19039
- url: '/v1/graphs/{graph_id}/files';
19338
+ path: {
19339
+ /**
19340
+ * Graph Id
19341
+ */
19342
+ graph_id: string;
19343
+ };
19344
+ query?: never;
19345
+ url: '/v1/graphs/{graph_id}/operations/update-memory';
19040
19346
  };
19041
19347
 
19042
- export type ListFilesErrors = {
19348
+ export type OpUpdateMemoryErrors = {
19043
19349
  /**
19044
19350
  * Invalid request
19045
19351
  */
@@ -19057,9 +19363,13 @@ export type ListFilesErrors = {
19057
19363
  */
19058
19364
  404: ErrorResponse;
19059
19365
  /**
19060
- * Validation Error
19366
+ * Idempotency-Key conflict — key reused with different body
19061
19367
  */
19062
- 422: HttpValidationError;
19368
+ 409: ErrorResponse;
19369
+ /**
19370
+ * Validation error
19371
+ */
19372
+ 422: ErrorResponse;
19063
19373
  /**
19064
19374
  * Rate limit exceeded
19065
19375
  */
@@ -19070,22 +19380,153 @@ export type ListFilesErrors = {
19070
19380
  500: ErrorResponse;
19071
19381
  };
19072
19382
 
19073
- export type ListFilesError = ListFilesErrors[keyof ListFilesErrors];
19383
+ export type OpUpdateMemoryError = OpUpdateMemoryErrors[keyof OpUpdateMemoryErrors];
19074
19384
 
19075
- export type ListFilesResponses = {
19385
+ export type OpUpdateMemoryResponses = {
19076
19386
  /**
19077
19387
  * Successful Response
19078
19388
  */
19079
- 200: ListTableFilesResponse;
19389
+ 200: OperationEnvelope;
19080
19390
  };
19081
19391
 
19082
- export type ListFilesResponse = ListFilesResponses[keyof ListFilesResponses];
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
+ };
19411
+
19412
+ export type OpIndexDocumentErrors = {
19413
+ /**
19414
+ * Invalid request
19415
+ */
19416
+ 400: ErrorResponse;
19417
+ /**
19418
+ * Authentication required
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
+ };
19083
19446
 
19084
- export type CreateFileUploadData = {
19447
+ export type OpIndexDocumentError = OpIndexDocumentErrors[keyof OpIndexDocumentErrors];
19448
+
19449
+ export type OpIndexDocumentResponses = {
19085
19450
  /**
19086
- * Upload request with table_name
19451
+ * Successful Response
19087
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 = {
19088
19523
  body: FileUploadRequest;
19524
+ headers?: {
19525
+ /**
19526
+ * Idempotency-Key
19527
+ */
19528
+ 'Idempotency-Key'?: string | null;
19529
+ };
19089
19530
  path: {
19090
19531
  /**
19091
19532
  * Graph Id
@@ -19093,10 +19534,10 @@ export type CreateFileUploadData = {
19093
19534
  graph_id: string;
19094
19535
  };
19095
19536
  query?: never;
19096
- url: '/v1/graphs/{graph_id}/files';
19537
+ url: '/v1/graphs/{graph_id}/operations/create-file-upload';
19097
19538
  };
19098
19539
 
19099
- export type CreateFileUploadErrors = {
19540
+ export type OpCreateFileUploadErrors = {
19100
19541
  /**
19101
19542
  * Invalid request
19102
19543
  */
@@ -19114,9 +19555,13 @@ export type CreateFileUploadErrors = {
19114
19555
  */
19115
19556
  404: ErrorResponse;
19116
19557
  /**
19117
- * Validation Error
19558
+ * Idempotency-Key conflict — key reused with different body
19118
19559
  */
19119
- 422: HttpValidationError;
19560
+ 409: ErrorResponse;
19561
+ /**
19562
+ * Validation error
19563
+ */
19564
+ 422: ErrorResponse;
19120
19565
  /**
19121
19566
  * Rate limit exceeded
19122
19567
  */
@@ -19127,43 +19572,100 @@ export type CreateFileUploadErrors = {
19127
19572
  500: ErrorResponse;
19128
19573
  };
19129
19574
 
19130
- export type CreateFileUploadError = CreateFileUploadErrors[keyof CreateFileUploadErrors];
19575
+ export type OpCreateFileUploadError = OpCreateFileUploadErrors[keyof OpCreateFileUploadErrors];
19131
19576
 
19132
- export type CreateFileUploadResponses = {
19577
+ export type OpCreateFileUploadResponses = {
19133
19578
  /**
19134
19579
  * Successful Response
19135
19580
  */
19136
- 200: FileUploadResponse;
19581
+ 200: OperationEnvelope;
19137
19582
  };
19138
19583
 
19139
- export type CreateFileUploadResponse = CreateFileUploadResponses[keyof CreateFileUploadResponses];
19584
+ export type OpCreateFileUploadResponse = OpCreateFileUploadResponses[keyof OpCreateFileUploadResponses];
19140
19585
 
19141
- export type DeleteFileData = {
19142
- body?: never;
19586
+ export type OpIngestFileData = {
19587
+ body: IngestFileOp;
19588
+ headers?: {
19589
+ /**
19590
+ * Idempotency-Key
19591
+ */
19592
+ 'Idempotency-Key'?: string | null;
19593
+ };
19143
19594
  path: {
19144
19595
  /**
19145
19596
  * Graph Id
19146
19597
  */
19147
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?: {
19148
19653
  /**
19149
- * File Id
19150
- *
19151
- * File ID
19654
+ * Idempotency-Key
19152
19655
  */
19153
- file_id: string;
19656
+ 'Idempotency-Key'?: string | null;
19154
19657
  };
19155
- query?: {
19658
+ path: {
19156
19659
  /**
19157
- * Cascade
19158
- *
19159
- * If true, delete from all layers including DuckDB and mark graph stale
19660
+ * Graph Id
19160
19661
  */
19161
- cascade?: boolean;
19662
+ graph_id: string;
19162
19663
  };
19163
- url: '/v1/graphs/{graph_id}/files/{file_id}';
19664
+ query?: never;
19665
+ url: '/v1/graphs/{graph_id}/operations/delete-file';
19164
19666
  };
19165
19667
 
19166
- export type DeleteFileErrors = {
19668
+ export type OpDeleteFileErrors = {
19167
19669
  /**
19168
19670
  * Invalid request
19169
19671
  */
@@ -19181,9 +19683,13 @@ export type DeleteFileErrors = {
19181
19683
  */
19182
19684
  404: ErrorResponse;
19183
19685
  /**
19184
- * Validation Error
19686
+ * Idempotency-Key conflict — key reused with different body
19185
19687
  */
19186
- 422: HttpValidationError;
19688
+ 409: ErrorResponse;
19689
+ /**
19690
+ * Validation error
19691
+ */
19692
+ 422: ErrorResponse;
19187
19693
  /**
19188
19694
  * Rate limit exceeded
19189
19695
  */
@@ -19194,36 +19700,43 @@ export type DeleteFileErrors = {
19194
19700
  500: ErrorResponse;
19195
19701
  };
19196
19702
 
19197
- export type DeleteFileError = DeleteFileErrors[keyof DeleteFileErrors];
19703
+ export type OpDeleteFileError = OpDeleteFileErrors[keyof OpDeleteFileErrors];
19198
19704
 
19199
- export type DeleteFileResponses = {
19705
+ export type OpDeleteFileResponses = {
19200
19706
  /**
19201
19707
  * Successful Response
19202
19708
  */
19203
- 200: DeleteFileResponse;
19709
+ 200: OperationEnvelope;
19204
19710
  };
19205
19711
 
19206
- export type DeleteFileResponse2 = DeleteFileResponses[keyof DeleteFileResponses];
19712
+ export type OpDeleteFileResponse = OpDeleteFileResponses[keyof OpDeleteFileResponses];
19207
19713
 
19208
- export type GetFileData = {
19714
+ export type ListFilesData = {
19209
19715
  body?: never;
19210
19716
  path: {
19211
19717
  /**
19212
19718
  * Graph Id
19213
19719
  */
19214
19720
  graph_id: string;
19721
+ };
19722
+ query?: {
19215
19723
  /**
19216
- * File Id
19724
+ * Table Name
19217
19725
  *
19218
- * File ID
19726
+ * Filter by table name (optional)
19219
19727
  */
19220
- file_id: string;
19728
+ table_name?: string | null;
19729
+ /**
19730
+ * Status
19731
+ *
19732
+ * Filter by upload status (optional)
19733
+ */
19734
+ status?: string | null;
19221
19735
  };
19222
- query?: never;
19223
- url: '/v1/graphs/{graph_id}/files/{file_id}';
19736
+ url: '/v1/graphs/{graph_id}/files';
19224
19737
  };
19225
19738
 
19226
- export type GetFileErrors = {
19739
+ export type ListFilesErrors = {
19227
19740
  /**
19228
19741
  * Invalid request
19229
19742
  */
@@ -19254,22 +19767,19 @@ export type GetFileErrors = {
19254
19767
  500: ErrorResponse;
19255
19768
  };
19256
19769
 
19257
- export type GetFileError = GetFileErrors[keyof GetFileErrors];
19770
+ export type ListFilesError = ListFilesErrors[keyof ListFilesErrors];
19258
19771
 
19259
- export type GetFileResponses = {
19772
+ export type ListFilesResponses = {
19260
19773
  /**
19261
19774
  * Successful Response
19262
19775
  */
19263
- 200: GetFileInfoResponse;
19776
+ 200: ListTableFilesResponse;
19264
19777
  };
19265
19778
 
19266
- export type GetFileResponse = GetFileResponses[keyof GetFileResponses];
19779
+ export type ListFilesResponse = ListFilesResponses[keyof ListFilesResponses];
19267
19780
 
19268
- export type UpdateFileData = {
19269
- /**
19270
- * Status update request
19271
- */
19272
- body: FileStatusUpdate;
19781
+ export type GetFileData = {
19782
+ body?: never;
19273
19783
  path: {
19274
19784
  /**
19275
19785
  * Graph Id
@@ -19286,7 +19796,7 @@ export type UpdateFileData = {
19286
19796
  url: '/v1/graphs/{graph_id}/files/{file_id}';
19287
19797
  };
19288
19798
 
19289
- export type UpdateFileErrors = {
19799
+ export type GetFileErrors = {
19290
19800
  /**
19291
19801
  * Invalid request
19292
19802
  */
@@ -19317,20 +19827,16 @@ export type UpdateFileErrors = {
19317
19827
  500: ErrorResponse;
19318
19828
  };
19319
19829
 
19320
- export type UpdateFileError = UpdateFileErrors[keyof UpdateFileErrors];
19830
+ export type GetFileError = GetFileErrors[keyof GetFileErrors];
19321
19831
 
19322
- export type UpdateFileResponses = {
19832
+ export type GetFileResponses = {
19323
19833
  /**
19324
- * Response Updatefile
19325
- *
19326
19834
  * Successful Response
19327
19835
  */
19328
- 200: {
19329
- [key: string]: unknown;
19330
- };
19836
+ 200: GetFileInfoResponse;
19331
19837
  };
19332
19838
 
19333
- export type UpdateFileResponse = UpdateFileResponses[keyof UpdateFileResponses];
19839
+ export type GetFileResponse = GetFileResponses[keyof GetFileResponses];
19334
19840
 
19335
19841
  export type GetGraphsData = {
19336
19842
  body?: never;
@@ -20564,6 +21070,70 @@ export type OpUpdateEntityResponses = {
20564
21070
 
20565
21071
  export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
20566
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
+
20567
21137
  export type OpCreateTaxonomyBlockData = {
20568
21138
  body: CreateTaxonomyBlockRequest;
20569
21139
  headers?: {