@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/artifacts/QueryClient.js +2 -2
- package/artifacts/QueryClient.ts +5 -5
- package/artifacts/graphql/generated/graphql.d.ts +4 -2
- package/artifacts/graphql/generated/graphql.ts +5 -4
- 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 +98 -54
- package/sdk/sdk.gen.js +204 -115
- package/sdk/sdk.gen.ts +188 -99
- package/sdk/types.gen.d.ts +1114 -575
- package/sdk/types.gen.ts +1166 -596
- package/sdk.gen.d.ts +98 -54
- package/sdk.gen.js +204 -115
- package/sdk.gen.ts +188 -99
- package/types.gen.d.ts +1114 -575
- package/types.gen.ts +1166 -596
package/sdk/types.gen.d.ts
CHANGED
|
@@ -736,25 +736,65 @@ export type CancelSubscriptionRequest = {
|
|
|
736
736
|
confirm?: string | null;
|
|
737
737
|
};
|
|
738
738
|
/**
|
|
739
|
-
*
|
|
739
|
+
* ChangeReportingStyleRequest
|
|
740
740
|
*
|
|
741
|
-
*
|
|
741
|
+
* Switch a reporting entity's Reporting Style.
|
|
742
742
|
*
|
|
743
|
-
*
|
|
744
|
-
*
|
|
745
|
-
*
|
|
746
|
-
*
|
|
747
|
-
* Reports are unaffected because each ``Report`` already pins its own
|
|
748
|
-
* ``structure_id`` per FactSet at create-time; new reports use the new
|
|
749
|
-
* Style. Idempotent on the same target id.
|
|
743
|
+
* The Reporting Style governs how the entity's statements are laid out
|
|
744
|
+
* (equity-form, close-target concept, per-statement Networks). It's
|
|
745
|
+
* validated against the tenant schema — the target must be a renderable
|
|
746
|
+
* Style with a complete composition — before the switch is applied.
|
|
750
747
|
*/
|
|
751
|
-
export type
|
|
748
|
+
export type ChangeReportingStyleRequest = {
|
|
752
749
|
/**
|
|
753
750
|
* Reporting Style Id
|
|
754
751
|
*
|
|
755
|
-
* Structure id of the target Reporting Style
|
|
752
|
+
* Structure id of the target Reporting Style. Must exist in the tenant schema with a complete Network composition.
|
|
756
753
|
*/
|
|
757
754
|
reporting_style_id: string;
|
|
755
|
+
/**
|
|
756
|
+
* Entity Id
|
|
757
|
+
*
|
|
758
|
+
* Target entity. Omit to target the graph's primary (earliest-created) entity — the single-entity default.
|
|
759
|
+
*/
|
|
760
|
+
entity_id?: string | null;
|
|
761
|
+
};
|
|
762
|
+
/**
|
|
763
|
+
* ChangeReportingStyleResponse
|
|
764
|
+
*
|
|
765
|
+
* Result of a change-reporting-style operation.
|
|
766
|
+
*/
|
|
767
|
+
export type ChangeReportingStyleResponse = {
|
|
768
|
+
/**
|
|
769
|
+
* Entity Id
|
|
770
|
+
*
|
|
771
|
+
* Entity whose Style was targeted.
|
|
772
|
+
*/
|
|
773
|
+
entity_id: string;
|
|
774
|
+
/**
|
|
775
|
+
* Previous Reporting Style Id
|
|
776
|
+
*
|
|
777
|
+
* Style id before the change (null for legacy/unset).
|
|
778
|
+
*/
|
|
779
|
+
previous_reporting_style_id?: string | null;
|
|
780
|
+
/**
|
|
781
|
+
* Reporting Style Id
|
|
782
|
+
*
|
|
783
|
+
* Active Style id after the call.
|
|
784
|
+
*/
|
|
785
|
+
reporting_style_id: string;
|
|
786
|
+
/**
|
|
787
|
+
* Reporting Style Code
|
|
788
|
+
*
|
|
789
|
+
* 4-segment Style code (e.g. BSC-CORP-IS02-CF1), when stamped.
|
|
790
|
+
*/
|
|
791
|
+
reporting_style_code?: string | null;
|
|
792
|
+
/**
|
|
793
|
+
* Changed
|
|
794
|
+
*
|
|
795
|
+
* False when the target equals the current Style (no-op).
|
|
796
|
+
*/
|
|
797
|
+
changed: boolean;
|
|
758
798
|
};
|
|
759
799
|
/**
|
|
760
800
|
* ChangeTierOp
|
|
@@ -2421,11 +2461,11 @@ export type CustomSchemaDefinition = {
|
|
|
2421
2461
|
};
|
|
2422
2462
|
};
|
|
2423
2463
|
/**
|
|
2424
|
-
*
|
|
2464
|
+
* CypherStatementRequest
|
|
2425
2465
|
*
|
|
2426
2466
|
* Request model for Cypher query execution.
|
|
2427
2467
|
*/
|
|
2428
|
-
export type
|
|
2468
|
+
export type CypherStatementRequest = {
|
|
2429
2469
|
/**
|
|
2430
2470
|
* Query
|
|
2431
2471
|
*
|
|
@@ -2667,51 +2707,36 @@ export type DatabaseStorageEntry = {
|
|
|
2667
2707
|
size_mb?: number | null;
|
|
2668
2708
|
};
|
|
2669
2709
|
/**
|
|
2670
|
-
*
|
|
2710
|
+
* DeleteDocumentOp
|
|
2711
|
+
*
|
|
2712
|
+
* Body for delete-document (corpus content-op).
|
|
2671
2713
|
*/
|
|
2672
|
-
export type
|
|
2714
|
+
export type DeleteDocumentOp = {
|
|
2673
2715
|
/**
|
|
2674
|
-
*
|
|
2716
|
+
* Document Id
|
|
2675
2717
|
*
|
|
2676
|
-
*
|
|
2718
|
+
* Document id to delete
|
|
2677
2719
|
*/
|
|
2678
|
-
|
|
2720
|
+
document_id: string;
|
|
2721
|
+
};
|
|
2722
|
+
/**
|
|
2723
|
+
* DeleteFileOp
|
|
2724
|
+
*
|
|
2725
|
+
* Body for delete-file (raw content-op).
|
|
2726
|
+
*/
|
|
2727
|
+
export type DeleteFileOp = {
|
|
2679
2728
|
/**
|
|
2680
2729
|
* File Id
|
|
2681
2730
|
*
|
|
2682
|
-
*
|
|
2731
|
+
* File id to delete
|
|
2683
2732
|
*/
|
|
2684
2733
|
file_id: string;
|
|
2685
2734
|
/**
|
|
2686
|
-
*
|
|
2687
|
-
*
|
|
2688
|
-
* Deleted file name
|
|
2689
|
-
*/
|
|
2690
|
-
file_name: string;
|
|
2691
|
-
/**
|
|
2692
|
-
* Message
|
|
2693
|
-
*
|
|
2694
|
-
* Operation message
|
|
2695
|
-
*/
|
|
2696
|
-
message: string;
|
|
2697
|
-
/**
|
|
2698
|
-
* Cascade Deleted
|
|
2699
|
-
*
|
|
2700
|
-
* Whether cascade deletion was performed
|
|
2701
|
-
*/
|
|
2702
|
-
cascade_deleted?: boolean;
|
|
2703
|
-
/**
|
|
2704
|
-
* Tables Affected
|
|
2705
|
-
*
|
|
2706
|
-
* Tables from which file data was deleted (if cascade=true)
|
|
2707
|
-
*/
|
|
2708
|
-
tables_affected?: Array<string> | null;
|
|
2709
|
-
/**
|
|
2710
|
-
* Graph Marked Stale
|
|
2735
|
+
* Cascade
|
|
2711
2736
|
*
|
|
2712
|
-
*
|
|
2737
|
+
* Also delete the file's rows from DuckDB tables and mark the graph stale
|
|
2713
2738
|
*/
|
|
2714
|
-
|
|
2739
|
+
cascade?: boolean;
|
|
2715
2740
|
};
|
|
2716
2741
|
/**
|
|
2717
2742
|
* DeleteGraphOp
|
|
@@ -3288,93 +3313,6 @@ export type DocumentSection = {
|
|
|
3288
3313
|
*/
|
|
3289
3314
|
folder?: string | null;
|
|
3290
3315
|
};
|
|
3291
|
-
/**
|
|
3292
|
-
* DocumentUpdateRequest
|
|
3293
|
-
*
|
|
3294
|
-
* Update a document's metadata and/or content.
|
|
3295
|
-
*/
|
|
3296
|
-
export type DocumentUpdateRequest = {
|
|
3297
|
-
/**
|
|
3298
|
-
* Title
|
|
3299
|
-
*/
|
|
3300
|
-
title?: string | null;
|
|
3301
|
-
/**
|
|
3302
|
-
* Content
|
|
3303
|
-
*/
|
|
3304
|
-
content?: string | null;
|
|
3305
|
-
/**
|
|
3306
|
-
* Tags
|
|
3307
|
-
*/
|
|
3308
|
-
tags?: Array<string> | null;
|
|
3309
|
-
/**
|
|
3310
|
-
* Folder
|
|
3311
|
-
*/
|
|
3312
|
-
folder?: string | null;
|
|
3313
|
-
};
|
|
3314
|
-
/**
|
|
3315
|
-
* DocumentUploadRequest
|
|
3316
|
-
*
|
|
3317
|
-
* Upload a markdown document for text indexing.
|
|
3318
|
-
*/
|
|
3319
|
-
export type DocumentUploadRequest = {
|
|
3320
|
-
/**
|
|
3321
|
-
* Title
|
|
3322
|
-
*
|
|
3323
|
-
* Document title
|
|
3324
|
-
*/
|
|
3325
|
-
title: string;
|
|
3326
|
-
/**
|
|
3327
|
-
* Content
|
|
3328
|
-
*
|
|
3329
|
-
* Markdown content
|
|
3330
|
-
*/
|
|
3331
|
-
content: string;
|
|
3332
|
-
/**
|
|
3333
|
-
* Tags
|
|
3334
|
-
*
|
|
3335
|
-
* Optional tags for filtering
|
|
3336
|
-
*/
|
|
3337
|
-
tags?: Array<string> | null;
|
|
3338
|
-
/**
|
|
3339
|
-
* Folder
|
|
3340
|
-
*
|
|
3341
|
-
* Optional folder/category
|
|
3342
|
-
*/
|
|
3343
|
-
folder?: string | null;
|
|
3344
|
-
/**
|
|
3345
|
-
* External Id
|
|
3346
|
-
*
|
|
3347
|
-
* Optional external identifier for upsert (e.g., Google Drive file ID)
|
|
3348
|
-
*/
|
|
3349
|
-
external_id?: string | null;
|
|
3350
|
-
};
|
|
3351
|
-
/**
|
|
3352
|
-
* DocumentUploadResponse
|
|
3353
|
-
*
|
|
3354
|
-
* Response from document upload.
|
|
3355
|
-
*/
|
|
3356
|
-
export type DocumentUploadResponse = {
|
|
3357
|
-
/**
|
|
3358
|
-
* Id
|
|
3359
|
-
*/
|
|
3360
|
-
id: string;
|
|
3361
|
-
/**
|
|
3362
|
-
* Document Id
|
|
3363
|
-
*/
|
|
3364
|
-
document_id: string;
|
|
3365
|
-
/**
|
|
3366
|
-
* Sections Indexed
|
|
3367
|
-
*/
|
|
3368
|
-
sections_indexed: number;
|
|
3369
|
-
/**
|
|
3370
|
-
* Total Content Length
|
|
3371
|
-
*/
|
|
3372
|
-
total_content_length: number;
|
|
3373
|
-
/**
|
|
3374
|
-
* Section Ids
|
|
3375
|
-
*/
|
|
3376
|
-
section_ids: Array<string>;
|
|
3377
|
-
};
|
|
3378
3316
|
/**
|
|
3379
3317
|
* DownloadQuota
|
|
3380
3318
|
*
|
|
@@ -4320,23 +4258,6 @@ export type FileReportRequest = {
|
|
|
4320
4258
|
*/
|
|
4321
4259
|
report_id: string;
|
|
4322
4260
|
};
|
|
4323
|
-
/**
|
|
4324
|
-
* FileStatusUpdate
|
|
4325
|
-
*/
|
|
4326
|
-
export type FileStatusUpdate = {
|
|
4327
|
-
/**
|
|
4328
|
-
* Status
|
|
4329
|
-
*
|
|
4330
|
-
* File status: 'uploaded' (ready for ingest), 'disabled' (exclude from ingest), 'archived' (soft deleted)
|
|
4331
|
-
*/
|
|
4332
|
-
status: string;
|
|
4333
|
-
/**
|
|
4334
|
-
* Ingest To Graph
|
|
4335
|
-
*
|
|
4336
|
-
* Auto-ingest to graph after DuckDB staging. Default=false (batch mode). Set to true for real-time incremental updates.
|
|
4337
|
-
*/
|
|
4338
|
-
ingest_to_graph?: boolean;
|
|
4339
|
-
};
|
|
4340
4261
|
/**
|
|
4341
4262
|
* FileUploadRequest
|
|
4342
4263
|
*/
|
|
@@ -4360,35 +4281,6 @@ export type FileUploadRequest = {
|
|
|
4360
4281
|
*/
|
|
4361
4282
|
table_name?: string | null;
|
|
4362
4283
|
};
|
|
4363
|
-
/**
|
|
4364
|
-
* FileUploadResponse
|
|
4365
|
-
*/
|
|
4366
|
-
export type FileUploadResponse = {
|
|
4367
|
-
/**
|
|
4368
|
-
* Upload Url
|
|
4369
|
-
*
|
|
4370
|
-
* Presigned S3 upload URL
|
|
4371
|
-
*/
|
|
4372
|
-
upload_url: string;
|
|
4373
|
-
/**
|
|
4374
|
-
* Expires In
|
|
4375
|
-
*
|
|
4376
|
-
* URL expiration time in seconds
|
|
4377
|
-
*/
|
|
4378
|
-
expires_in: number;
|
|
4379
|
-
/**
|
|
4380
|
-
* File Id
|
|
4381
|
-
*
|
|
4382
|
-
* File tracking ID
|
|
4383
|
-
*/
|
|
4384
|
-
file_id: string;
|
|
4385
|
-
/**
|
|
4386
|
-
* S3 Key
|
|
4387
|
-
*
|
|
4388
|
-
* S3 object key
|
|
4389
|
-
*/
|
|
4390
|
-
s3_key: string;
|
|
4391
|
-
};
|
|
4392
4284
|
/**
|
|
4393
4285
|
* FinancialStatementAnalysisRequest
|
|
4394
4286
|
*
|
|
@@ -4560,6 +4452,19 @@ export type FiscalPeriodSummary = {
|
|
|
4560
4452
|
*/
|
|
4561
4453
|
closed_at?: string | null;
|
|
4562
4454
|
};
|
|
4455
|
+
/**
|
|
4456
|
+
* ForgetOp
|
|
4457
|
+
*
|
|
4458
|
+
* Body for the forget operation (delete a semantic memory by id).
|
|
4459
|
+
*/
|
|
4460
|
+
export type ForgetOp = {
|
|
4461
|
+
/**
|
|
4462
|
+
* Memory Id
|
|
4463
|
+
*
|
|
4464
|
+
* Server-generated memory id to forget
|
|
4465
|
+
*/
|
|
4466
|
+
memory_id: string;
|
|
4467
|
+
};
|
|
4563
4468
|
/**
|
|
4564
4469
|
* ForgotPasswordRequest
|
|
4565
4470
|
*
|
|
@@ -5417,6 +5322,52 @@ export type HealthStatus = {
|
|
|
5417
5322
|
[key: string]: unknown;
|
|
5418
5323
|
} | null;
|
|
5419
5324
|
};
|
|
5325
|
+
/**
|
|
5326
|
+
* IndexDocumentOp
|
|
5327
|
+
*
|
|
5328
|
+
* Body for index-document (corpus content-op).
|
|
5329
|
+
*
|
|
5330
|
+
* Create a new document when ``document_id`` is absent; update the named
|
|
5331
|
+
* document (partial — only supplied fields) when present.
|
|
5332
|
+
*/
|
|
5333
|
+
export type IndexDocumentOp = {
|
|
5334
|
+
/**
|
|
5335
|
+
* Document Id
|
|
5336
|
+
*
|
|
5337
|
+
* Present → update that document; absent → create a new one
|
|
5338
|
+
*/
|
|
5339
|
+
document_id?: string | null;
|
|
5340
|
+
/**
|
|
5341
|
+
* Title
|
|
5342
|
+
*
|
|
5343
|
+
* Required when creating
|
|
5344
|
+
*/
|
|
5345
|
+
title?: string | null;
|
|
5346
|
+
/**
|
|
5347
|
+
* Content
|
|
5348
|
+
*
|
|
5349
|
+
* Required when creating
|
|
5350
|
+
*/
|
|
5351
|
+
content?: string | null;
|
|
5352
|
+
/**
|
|
5353
|
+
* Tags
|
|
5354
|
+
*
|
|
5355
|
+
* Optional labels
|
|
5356
|
+
*/
|
|
5357
|
+
tags?: Array<string> | null;
|
|
5358
|
+
/**
|
|
5359
|
+
* Folder
|
|
5360
|
+
*
|
|
5361
|
+
* Optional folder
|
|
5362
|
+
*/
|
|
5363
|
+
folder?: string | null;
|
|
5364
|
+
/**
|
|
5365
|
+
* External Id
|
|
5366
|
+
*
|
|
5367
|
+
* Upsert key (create): re-indexing the same id replaces
|
|
5368
|
+
*/
|
|
5369
|
+
external_id?: string | null;
|
|
5370
|
+
};
|
|
5420
5371
|
/**
|
|
5421
5372
|
* InformationBlockEnvelope
|
|
5422
5373
|
*
|
|
@@ -5534,6 +5485,28 @@ export type InformationModelResponse = {
|
|
|
5534
5485
|
*/
|
|
5535
5486
|
member_arrangement?: string | null;
|
|
5536
5487
|
};
|
|
5488
|
+
/**
|
|
5489
|
+
* IngestFileOp
|
|
5490
|
+
*
|
|
5491
|
+
* Body for ingest-file (raw→staging content flow).
|
|
5492
|
+
*
|
|
5493
|
+
* Marks an uploaded file ready and triggers DuckDB staging. Set
|
|
5494
|
+
* ``ingest_to_graph`` to auto-chain graph materialization after staging.
|
|
5495
|
+
*/
|
|
5496
|
+
export type IngestFileOp = {
|
|
5497
|
+
/**
|
|
5498
|
+
* File Id
|
|
5499
|
+
*
|
|
5500
|
+
* Uploaded file id to ingest
|
|
5501
|
+
*/
|
|
5502
|
+
file_id: string;
|
|
5503
|
+
/**
|
|
5504
|
+
* Ingest To Graph
|
|
5505
|
+
*
|
|
5506
|
+
* Auto-materialize into the graph after DuckDB staging
|
|
5507
|
+
*/
|
|
5508
|
+
ingest_to_graph?: boolean;
|
|
5509
|
+
};
|
|
5537
5510
|
/**
|
|
5538
5511
|
* InitialEntityData
|
|
5539
5512
|
*
|
|
@@ -5612,7 +5585,7 @@ export type InitialEntityData = {
|
|
|
5612
5585
|
/**
|
|
5613
5586
|
* Reporting Style Id
|
|
5614
5587
|
*
|
|
5615
|
-
* Optional explicit Reporting Style Structure id to pin on the
|
|
5588
|
+
* 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.
|
|
5616
5589
|
*/
|
|
5617
5590
|
reporting_style_id?: string | null;
|
|
5618
5591
|
};
|
|
@@ -6204,6 +6177,12 @@ export type LedgerEntityResponse = {
|
|
|
6204
6177
|
* Legal form (e.g. 'corporation', 'llc', 'lp').
|
|
6205
6178
|
*/
|
|
6206
6179
|
entity_type?: string | null;
|
|
6180
|
+
/**
|
|
6181
|
+
* Reporting Style Id
|
|
6182
|
+
*
|
|
6183
|
+
* Active Reporting Style (Structure id) governing this entity's statement layout. Change it via the change-reporting-style operation.
|
|
6184
|
+
*/
|
|
6185
|
+
reporting_style_id?: string | null;
|
|
6207
6186
|
/**
|
|
6208
6187
|
* Phone
|
|
6209
6188
|
*/
|
|
@@ -6548,6 +6527,12 @@ export type McpToolsResponse = {
|
|
|
6548
6527
|
tools: Array<{
|
|
6549
6528
|
[key: string]: unknown;
|
|
6550
6529
|
}>;
|
|
6530
|
+
/**
|
|
6531
|
+
* Instructions
|
|
6532
|
+
*
|
|
6533
|
+
* 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.
|
|
6534
|
+
*/
|
|
6535
|
+
instructions?: string | null;
|
|
6551
6536
|
};
|
|
6552
6537
|
/**
|
|
6553
6538
|
* MaterializeOp
|
|
@@ -6593,42 +6578,141 @@ export type MaterializeOp = {
|
|
|
6593
6578
|
materialize_embeddings?: boolean;
|
|
6594
6579
|
};
|
|
6595
6580
|
/**
|
|
6596
|
-
*
|
|
6597
|
-
*
|
|
6598
|
-
* Derivative mechanics for ``block_type='metric'``.
|
|
6581
|
+
* MemoryListResponse
|
|
6599
6582
|
*
|
|
6600
|
-
*
|
|
6601
|
-
* read time — covenant tests, ratios, KPI trend computations. The typed
|
|
6602
|
-
* arm ships today so the discriminated union covers all three
|
|
6603
|
-
* construction modes (declarative / compositional / derivative); the
|
|
6604
|
-
* derivation evaluator that actually computes facts from source-block
|
|
6605
|
-
* FactSets is not yet implemented.
|
|
6606
|
-
*
|
|
6607
|
-
* ``source_block_ids`` is the ordered list of Structure ids this metric
|
|
6608
|
-
* derives from; ``derivation_type`` names the kind of computation
|
|
6609
|
-
* (``ratio``, ``trailing_twelve_month``, ``covenant_test``, …), and
|
|
6610
|
-
* ``expression`` carries the agent-authored derivation string that the
|
|
6611
|
-
* evaluator will consume at envelope build time.
|
|
6583
|
+
* Governance list of memories for a graph.
|
|
6612
6584
|
*/
|
|
6613
|
-
export type
|
|
6585
|
+
export type MemoryListResponse = {
|
|
6614
6586
|
/**
|
|
6615
|
-
*
|
|
6587
|
+
* Total
|
|
6616
6588
|
*/
|
|
6617
|
-
|
|
6589
|
+
total: number;
|
|
6618
6590
|
/**
|
|
6619
|
-
*
|
|
6620
|
-
*
|
|
6621
|
-
* 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.
|
|
6591
|
+
* Memories
|
|
6622
6592
|
*/
|
|
6623
|
-
|
|
6593
|
+
memories: Array<MemoryRecord>;
|
|
6624
6594
|
/**
|
|
6625
|
-
*
|
|
6626
|
-
*
|
|
6627
|
-
* 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.
|
|
6595
|
+
* Graph Id
|
|
6628
6596
|
*/
|
|
6629
|
-
|
|
6597
|
+
graph_id: string;
|
|
6598
|
+
};
|
|
6599
|
+
/**
|
|
6600
|
+
* MemoryRecallRequest
|
|
6601
|
+
*
|
|
6602
|
+
* Body for recall (ranked semantic search over memory).
|
|
6603
|
+
*/
|
|
6604
|
+
export type MemoryRecallRequest = {
|
|
6630
6605
|
/**
|
|
6631
|
-
*
|
|
6606
|
+
* Query
|
|
6607
|
+
*
|
|
6608
|
+
* Recall query
|
|
6609
|
+
*/
|
|
6610
|
+
query: string;
|
|
6611
|
+
/**
|
|
6612
|
+
* K
|
|
6613
|
+
*
|
|
6614
|
+
* Max results to return
|
|
6615
|
+
*/
|
|
6616
|
+
k?: number;
|
|
6617
|
+
/**
|
|
6618
|
+
* Memory Type
|
|
6619
|
+
*
|
|
6620
|
+
* Filter by memory type
|
|
6621
|
+
*/
|
|
6622
|
+
memory_type?: string | null;
|
|
6623
|
+
/**
|
|
6624
|
+
* Source
|
|
6625
|
+
*
|
|
6626
|
+
* Filter by source
|
|
6627
|
+
*/
|
|
6628
|
+
source?: string | null;
|
|
6629
|
+
};
|
|
6630
|
+
/**
|
|
6631
|
+
* MemoryRecord
|
|
6632
|
+
*
|
|
6633
|
+
* A stored memory (never includes the raw embedding vector).
|
|
6634
|
+
*/
|
|
6635
|
+
export type MemoryRecord = {
|
|
6636
|
+
/**
|
|
6637
|
+
* Id
|
|
6638
|
+
*/
|
|
6639
|
+
id: string;
|
|
6640
|
+
/**
|
|
6641
|
+
* Text
|
|
6642
|
+
*/
|
|
6643
|
+
text: string;
|
|
6644
|
+
/**
|
|
6645
|
+
* Source
|
|
6646
|
+
*/
|
|
6647
|
+
source?: string | null;
|
|
6648
|
+
/**
|
|
6649
|
+
* Memory Type
|
|
6650
|
+
*/
|
|
6651
|
+
memory_type?: string | null;
|
|
6652
|
+
/**
|
|
6653
|
+
* Tags
|
|
6654
|
+
*/
|
|
6655
|
+
tags?: Array<string> | null;
|
|
6656
|
+
/**
|
|
6657
|
+
* Source Ref
|
|
6658
|
+
*/
|
|
6659
|
+
source_ref?: string | null;
|
|
6660
|
+
/**
|
|
6661
|
+
* Provenance
|
|
6662
|
+
*/
|
|
6663
|
+
provenance?: {
|
|
6664
|
+
[key: string]: unknown;
|
|
6665
|
+
} | null;
|
|
6666
|
+
/**
|
|
6667
|
+
* Created By
|
|
6668
|
+
*/
|
|
6669
|
+
created_by?: string | null;
|
|
6670
|
+
/**
|
|
6671
|
+
* Created At
|
|
6672
|
+
*/
|
|
6673
|
+
created_at?: string | null;
|
|
6674
|
+
/**
|
|
6675
|
+
* Updated At
|
|
6676
|
+
*/
|
|
6677
|
+
updated_at?: string | null;
|
|
6678
|
+
};
|
|
6679
|
+
/**
|
|
6680
|
+
* MetricMechanics
|
|
6681
|
+
*
|
|
6682
|
+
* Derivative mechanics for ``block_type='metric'``.
|
|
6683
|
+
*
|
|
6684
|
+
* A metric block composes its facts from one or more source blocks at
|
|
6685
|
+
* read time — covenant tests, ratios, KPI trend computations. The typed
|
|
6686
|
+
* arm ships today so the discriminated union covers all three
|
|
6687
|
+
* construction modes (declarative / compositional / derivative); the
|
|
6688
|
+
* derivation evaluator that actually computes facts from source-block
|
|
6689
|
+
* FactSets is not yet implemented.
|
|
6690
|
+
*
|
|
6691
|
+
* ``source_block_ids`` is the ordered list of Structure ids this metric
|
|
6692
|
+
* derives from; ``derivation_type`` names the kind of computation
|
|
6693
|
+
* (``ratio``, ``trailing_twelve_month``, ``covenant_test``, …), and
|
|
6694
|
+
* ``expression`` carries the agent-authored derivation string that the
|
|
6695
|
+
* evaluator will consume at envelope build time.
|
|
6696
|
+
*/
|
|
6697
|
+
export type MetricMechanics = {
|
|
6698
|
+
/**
|
|
6699
|
+
* Kind
|
|
6700
|
+
*/
|
|
6701
|
+
kind?: 'metric';
|
|
6702
|
+
/**
|
|
6703
|
+
* Source Block Ids
|
|
6704
|
+
*
|
|
6705
|
+
* 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.
|
|
6706
|
+
*/
|
|
6707
|
+
source_block_ids?: Array<string>;
|
|
6708
|
+
/**
|
|
6709
|
+
* Derivation Type
|
|
6710
|
+
*
|
|
6711
|
+
* 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.
|
|
6712
|
+
*/
|
|
6713
|
+
derivation_type?: string | null;
|
|
6714
|
+
/**
|
|
6715
|
+
* Expression
|
|
6632
6716
|
*
|
|
6633
6717
|
* Derivation expression in the metric DSL — evaluated at envelope read time to produce the derivative fact value. Opaque string today; the metric-side parser / evaluator is not yet implemented.
|
|
6634
6718
|
*/
|
|
@@ -6946,6 +7030,51 @@ export type OperationEnvelopeAssociationResponse = {
|
|
|
6946
7030
|
*/
|
|
6947
7031
|
idempotentReplay?: boolean;
|
|
6948
7032
|
};
|
|
7033
|
+
/**
|
|
7034
|
+
* OperationEnvelope[ChangeReportingStyleResponse]
|
|
7035
|
+
*/
|
|
7036
|
+
export type OperationEnvelopeChangeReportingStyleResponse = {
|
|
7037
|
+
/**
|
|
7038
|
+
* Operation
|
|
7039
|
+
*
|
|
7040
|
+
* Kebab-case operation name
|
|
7041
|
+
*/
|
|
7042
|
+
operation: string;
|
|
7043
|
+
/**
|
|
7044
|
+
* Operationid
|
|
7045
|
+
*
|
|
7046
|
+
* op_-prefixed ULID for audit and SSE correlation
|
|
7047
|
+
*/
|
|
7048
|
+
operationId: string;
|
|
7049
|
+
/**
|
|
7050
|
+
* Status
|
|
7051
|
+
*
|
|
7052
|
+
* Operation lifecycle state
|
|
7053
|
+
*/
|
|
7054
|
+
status: 'completed' | 'pending' | 'failed';
|
|
7055
|
+
/**
|
|
7056
|
+
* Command-specific result payload
|
|
7057
|
+
*/
|
|
7058
|
+
result?: ChangeReportingStyleResponse | null;
|
|
7059
|
+
/**
|
|
7060
|
+
* At
|
|
7061
|
+
*
|
|
7062
|
+
* ISO-8601 UTC timestamp
|
|
7063
|
+
*/
|
|
7064
|
+
at: string;
|
|
7065
|
+
/**
|
|
7066
|
+
* Createdby
|
|
7067
|
+
*
|
|
7068
|
+
* User ID that initiated the operation (null for legacy callers)
|
|
7069
|
+
*/
|
|
7070
|
+
createdBy?: string | null;
|
|
7071
|
+
/**
|
|
7072
|
+
* Idempotentreplay
|
|
7073
|
+
*
|
|
7074
|
+
* True when this envelope came from the idempotency cache — the underlying command did not execute again. False on fresh executions.
|
|
7075
|
+
*/
|
|
7076
|
+
idempotentReplay?: boolean;
|
|
7077
|
+
};
|
|
6949
7078
|
/**
|
|
6950
7079
|
* OperationEnvelope[ClosePeriodResponse]
|
|
6951
7080
|
*/
|
|
@@ -9718,6 +9847,51 @@ export type RegisterRequest = {
|
|
|
9718
9847
|
*/
|
|
9719
9848
|
captcha_token?: string | null;
|
|
9720
9849
|
};
|
|
9850
|
+
/**
|
|
9851
|
+
* RememberOp
|
|
9852
|
+
*
|
|
9853
|
+
* Body for the remember operation (write a semantic memory).
|
|
9854
|
+
*/
|
|
9855
|
+
export type RememberOp = {
|
|
9856
|
+
/**
|
|
9857
|
+
* Text
|
|
9858
|
+
*
|
|
9859
|
+
* Memory content
|
|
9860
|
+
*/
|
|
9861
|
+
text: string;
|
|
9862
|
+
/**
|
|
9863
|
+
* Source
|
|
9864
|
+
*
|
|
9865
|
+
* Origin of the memory
|
|
9866
|
+
*/
|
|
9867
|
+
source?: string;
|
|
9868
|
+
/**
|
|
9869
|
+
* Memory Type
|
|
9870
|
+
*
|
|
9871
|
+
* Freeform classifier
|
|
9872
|
+
*/
|
|
9873
|
+
memory_type?: string;
|
|
9874
|
+
/**
|
|
9875
|
+
* Tags
|
|
9876
|
+
*
|
|
9877
|
+
* Optional labels
|
|
9878
|
+
*/
|
|
9879
|
+
tags?: Array<string> | null;
|
|
9880
|
+
/**
|
|
9881
|
+
* Source Ref
|
|
9882
|
+
*
|
|
9883
|
+
* Optional external reference/URI
|
|
9884
|
+
*/
|
|
9885
|
+
source_ref?: string | null;
|
|
9886
|
+
/**
|
|
9887
|
+
* Provenance
|
|
9888
|
+
*
|
|
9889
|
+
* Opaque provenance metadata
|
|
9890
|
+
*/
|
|
9891
|
+
provenance?: {
|
|
9892
|
+
[key: string]: unknown;
|
|
9893
|
+
} | null;
|
|
9894
|
+
};
|
|
9721
9895
|
/**
|
|
9722
9896
|
* RemovePublishListMemberOperation
|
|
9723
9897
|
*
|
|
@@ -11191,6 +11365,52 @@ export type ShareResultItem = {
|
|
|
11191
11365
|
*/
|
|
11192
11366
|
fact_count?: number;
|
|
11193
11367
|
};
|
|
11368
|
+
/**
|
|
11369
|
+
* SqlStatementRequest
|
|
11370
|
+
*/
|
|
11371
|
+
export type SqlStatementRequest = {
|
|
11372
|
+
/**
|
|
11373
|
+
* Sql
|
|
11374
|
+
*
|
|
11375
|
+
* 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.
|
|
11376
|
+
*/
|
|
11377
|
+
sql: string;
|
|
11378
|
+
/**
|
|
11379
|
+
* Parameters
|
|
11380
|
+
*
|
|
11381
|
+
* Query parameters for safe value substitution. ALWAYS use parameters instead of string concatenation.
|
|
11382
|
+
*/
|
|
11383
|
+
parameters?: Array<unknown> | null;
|
|
11384
|
+
};
|
|
11385
|
+
/**
|
|
11386
|
+
* SqlStatementResponse
|
|
11387
|
+
*/
|
|
11388
|
+
export type SqlStatementResponse = {
|
|
11389
|
+
/**
|
|
11390
|
+
* Columns
|
|
11391
|
+
*
|
|
11392
|
+
* Column names
|
|
11393
|
+
*/
|
|
11394
|
+
columns: Array<string>;
|
|
11395
|
+
/**
|
|
11396
|
+
* Rows
|
|
11397
|
+
*
|
|
11398
|
+
* Query results
|
|
11399
|
+
*/
|
|
11400
|
+
rows: Array<Array<unknown>>;
|
|
11401
|
+
/**
|
|
11402
|
+
* Row Count
|
|
11403
|
+
*
|
|
11404
|
+
* Number of rows returned
|
|
11405
|
+
*/
|
|
11406
|
+
row_count: number;
|
|
11407
|
+
/**
|
|
11408
|
+
* Execution Time Ms
|
|
11409
|
+
*
|
|
11410
|
+
* Query execution time
|
|
11411
|
+
*/
|
|
11412
|
+
execution_time_ms: number;
|
|
11413
|
+
};
|
|
11194
11414
|
/**
|
|
11195
11415
|
* StatementMechanics
|
|
11196
11416
|
*
|
|
@@ -11666,52 +11886,6 @@ export type TableListResponse = {
|
|
|
11666
11886
|
*/
|
|
11667
11887
|
total_count: number;
|
|
11668
11888
|
};
|
|
11669
|
-
/**
|
|
11670
|
-
* TableQueryRequest
|
|
11671
|
-
*/
|
|
11672
|
-
export type TableQueryRequest = {
|
|
11673
|
-
/**
|
|
11674
|
-
* Sql
|
|
11675
|
-
*
|
|
11676
|
-
* SQL query to execute on staging tables. Use ? placeholders or $param_name for dynamic values to prevent SQL injection.
|
|
11677
|
-
*/
|
|
11678
|
-
sql: string;
|
|
11679
|
-
/**
|
|
11680
|
-
* Parameters
|
|
11681
|
-
*
|
|
11682
|
-
* Query parameters for safe value substitution. ALWAYS use parameters instead of string concatenation.
|
|
11683
|
-
*/
|
|
11684
|
-
parameters?: Array<unknown> | null;
|
|
11685
|
-
};
|
|
11686
|
-
/**
|
|
11687
|
-
* TableQueryResponse
|
|
11688
|
-
*/
|
|
11689
|
-
export type TableQueryResponse = {
|
|
11690
|
-
/**
|
|
11691
|
-
* Columns
|
|
11692
|
-
*
|
|
11693
|
-
* Column names
|
|
11694
|
-
*/
|
|
11695
|
-
columns: Array<string>;
|
|
11696
|
-
/**
|
|
11697
|
-
* Rows
|
|
11698
|
-
*
|
|
11699
|
-
* Query results
|
|
11700
|
-
*/
|
|
11701
|
-
rows: Array<Array<unknown>>;
|
|
11702
|
-
/**
|
|
11703
|
-
* Row Count
|
|
11704
|
-
*
|
|
11705
|
-
* Number of rows returned
|
|
11706
|
-
*/
|
|
11707
|
-
row_count: number;
|
|
11708
|
-
/**
|
|
11709
|
-
* Execution Time Ms
|
|
11710
|
-
*
|
|
11711
|
-
* Query execution time
|
|
11712
|
-
*/
|
|
11713
|
-
execution_time_ms: number;
|
|
11714
|
-
};
|
|
11715
11889
|
/**
|
|
11716
11890
|
* TaxonomyBlockAssociation
|
|
11717
11891
|
*
|
|
@@ -12882,16 +13056,64 @@ export type UpdateMemberRoleRequest = {
|
|
|
12882
13056
|
role: OrgRole;
|
|
12883
13057
|
};
|
|
12884
13058
|
/**
|
|
12885
|
-
*
|
|
13059
|
+
* UpdateMemoryOp
|
|
12886
13060
|
*
|
|
12887
|
-
*
|
|
13061
|
+
* Body for the update-memory operation (partial update of a stored memory).
|
|
13062
|
+
*
|
|
13063
|
+
* Only supplied fields are changed; the memory is re-embedded when ``text``
|
|
13064
|
+
* changes.
|
|
12888
13065
|
*/
|
|
12889
|
-
export type
|
|
13066
|
+
export type UpdateMemoryOp = {
|
|
12890
13067
|
/**
|
|
12891
|
-
*
|
|
13068
|
+
* Memory Id
|
|
13069
|
+
*
|
|
13070
|
+
* Server-generated memory id to update
|
|
12892
13071
|
*/
|
|
12893
|
-
|
|
12894
|
-
|
|
13072
|
+
memory_id: string;
|
|
13073
|
+
/**
|
|
13074
|
+
* Text
|
|
13075
|
+
*
|
|
13076
|
+
* New memory content
|
|
13077
|
+
*/
|
|
13078
|
+
text?: string | null;
|
|
13079
|
+
/**
|
|
13080
|
+
* Memory Type
|
|
13081
|
+
*
|
|
13082
|
+
* Freeform classifier
|
|
13083
|
+
*/
|
|
13084
|
+
memory_type?: string | null;
|
|
13085
|
+
/**
|
|
13086
|
+
* Tags
|
|
13087
|
+
*
|
|
13088
|
+
* Optional labels
|
|
13089
|
+
*/
|
|
13090
|
+
tags?: Array<string> | null;
|
|
13091
|
+
/**
|
|
13092
|
+
* Source Ref
|
|
13093
|
+
*
|
|
13094
|
+
* Optional external reference/URI
|
|
13095
|
+
*/
|
|
13096
|
+
source_ref?: string | null;
|
|
13097
|
+
/**
|
|
13098
|
+
* Provenance
|
|
13099
|
+
*
|
|
13100
|
+
* Opaque provenance metadata
|
|
13101
|
+
*/
|
|
13102
|
+
provenance?: {
|
|
13103
|
+
[key: string]: unknown;
|
|
13104
|
+
} | null;
|
|
13105
|
+
};
|
|
13106
|
+
/**
|
|
13107
|
+
* UpdateOrgRequest
|
|
13108
|
+
*
|
|
13109
|
+
* Request to update organization details.
|
|
13110
|
+
*/
|
|
13111
|
+
export type UpdateOrgRequest = {
|
|
13112
|
+
/**
|
|
13113
|
+
* Name
|
|
13114
|
+
*/
|
|
13115
|
+
name?: string | null;
|
|
13116
|
+
org_type?: OrgType | null;
|
|
12895
13117
|
};
|
|
12896
13118
|
/**
|
|
12897
13119
|
* UpdatePasswordRequest
|
|
@@ -15112,31 +15334,30 @@ export type GetOrgUsageResponses = {
|
|
|
15112
15334
|
200: OrgUsageResponse;
|
|
15113
15335
|
};
|
|
15114
15336
|
export type GetOrgUsageResponse = GetOrgUsageResponses[keyof GetOrgUsageResponses];
|
|
15115
|
-
export type
|
|
15116
|
-
body
|
|
15117
|
-
|
|
15337
|
+
export type SyncConnectionData = {
|
|
15338
|
+
body: SyncConnectionRequest;
|
|
15339
|
+
headers?: {
|
|
15118
15340
|
/**
|
|
15119
|
-
*
|
|
15341
|
+
* Idempotency-Key
|
|
15120
15342
|
*/
|
|
15121
|
-
|
|
15343
|
+
'Idempotency-Key'?: string | null;
|
|
15122
15344
|
};
|
|
15123
|
-
|
|
15345
|
+
path: {
|
|
15124
15346
|
/**
|
|
15125
|
-
*
|
|
15126
|
-
*
|
|
15127
|
-
* Filter by entity ID
|
|
15347
|
+
* Graph Id
|
|
15128
15348
|
*/
|
|
15129
|
-
|
|
15349
|
+
graph_id: string;
|
|
15130
15350
|
/**
|
|
15131
|
-
*
|
|
15351
|
+
* Connection Id
|
|
15132
15352
|
*
|
|
15133
|
-
*
|
|
15353
|
+
* Connection identifier
|
|
15134
15354
|
*/
|
|
15135
|
-
|
|
15355
|
+
connection_id: string;
|
|
15136
15356
|
};
|
|
15137
|
-
|
|
15357
|
+
query?: never;
|
|
15358
|
+
url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync';
|
|
15138
15359
|
};
|
|
15139
|
-
export type
|
|
15360
|
+
export type SyncConnectionErrors = {
|
|
15140
15361
|
/**
|
|
15141
15362
|
* Invalid request
|
|
15142
15363
|
*/
|
|
@@ -15154,9 +15375,13 @@ export type ListConnectionsErrors = {
|
|
|
15154
15375
|
*/
|
|
15155
15376
|
404: ErrorResponse;
|
|
15156
15377
|
/**
|
|
15157
|
-
*
|
|
15378
|
+
* Idempotency-Key conflict — key reused with different body
|
|
15158
15379
|
*/
|
|
15159
|
-
|
|
15380
|
+
409: ErrorResponse;
|
|
15381
|
+
/**
|
|
15382
|
+
* Validation error
|
|
15383
|
+
*/
|
|
15384
|
+
422: ErrorResponse;
|
|
15160
15385
|
/**
|
|
15161
15386
|
* Rate limit exceeded
|
|
15162
15387
|
*/
|
|
@@ -15165,19 +15390,21 @@ export type ListConnectionsErrors = {
|
|
|
15165
15390
|
* Internal server error
|
|
15166
15391
|
*/
|
|
15167
15392
|
500: ErrorResponse;
|
|
15393
|
+
/**
|
|
15394
|
+
* Sync request timed out
|
|
15395
|
+
*/
|
|
15396
|
+
504: unknown;
|
|
15168
15397
|
};
|
|
15169
|
-
export type
|
|
15170
|
-
export type
|
|
15398
|
+
export type SyncConnectionError = SyncConnectionErrors[keyof SyncConnectionErrors];
|
|
15399
|
+
export type SyncConnectionResponses = {
|
|
15171
15400
|
/**
|
|
15172
|
-
* Response Listconnections
|
|
15173
|
-
*
|
|
15174
15401
|
* Successful Response
|
|
15175
15402
|
*/
|
|
15176
|
-
|
|
15403
|
+
202: OperationEnvelope;
|
|
15177
15404
|
};
|
|
15178
|
-
export type
|
|
15179
|
-
export type
|
|
15180
|
-
body
|
|
15405
|
+
export type SyncConnectionResponse = SyncConnectionResponses[keyof SyncConnectionResponses];
|
|
15406
|
+
export type GetConnectionOptionsData = {
|
|
15407
|
+
body?: never;
|
|
15181
15408
|
path: {
|
|
15182
15409
|
/**
|
|
15183
15410
|
* Graph Id
|
|
@@ -15185,9 +15412,9 @@ export type CreateConnectionData = {
|
|
|
15185
15412
|
graph_id: string;
|
|
15186
15413
|
};
|
|
15187
15414
|
query?: never;
|
|
15188
|
-
url: '/v1/graphs/{graph_id}/connections';
|
|
15415
|
+
url: '/v1/graphs/{graph_id}/connections/options';
|
|
15189
15416
|
};
|
|
15190
|
-
export type
|
|
15417
|
+
export type GetConnectionOptionsErrors = {
|
|
15191
15418
|
/**
|
|
15192
15419
|
* Invalid request
|
|
15193
15420
|
*/
|
|
@@ -15204,10 +15431,6 @@ export type CreateConnectionErrors = {
|
|
|
15204
15431
|
* Resource not found
|
|
15205
15432
|
*/
|
|
15206
15433
|
404: ErrorResponse;
|
|
15207
|
-
/**
|
|
15208
|
-
* Connection already exists for this provider
|
|
15209
|
-
*/
|
|
15210
|
-
409: unknown;
|
|
15211
15434
|
/**
|
|
15212
15435
|
* Validation Error
|
|
15213
15436
|
*/
|
|
@@ -15221,16 +15444,16 @@ export type CreateConnectionErrors = {
|
|
|
15221
15444
|
*/
|
|
15222
15445
|
500: ErrorResponse;
|
|
15223
15446
|
};
|
|
15224
|
-
export type
|
|
15225
|
-
export type
|
|
15447
|
+
export type GetConnectionOptionsError = GetConnectionOptionsErrors[keyof GetConnectionOptionsErrors];
|
|
15448
|
+
export type GetConnectionOptionsResponses = {
|
|
15226
15449
|
/**
|
|
15227
15450
|
* Successful Response
|
|
15228
15451
|
*/
|
|
15229
|
-
|
|
15452
|
+
200: ConnectionOptionsResponse;
|
|
15230
15453
|
};
|
|
15231
|
-
export type
|
|
15232
|
-
export type
|
|
15233
|
-
body
|
|
15454
|
+
export type GetConnectionOptionsResponse = GetConnectionOptionsResponses[keyof GetConnectionOptionsResponses];
|
|
15455
|
+
export type InitOAuthData = {
|
|
15456
|
+
body: OAuthInitRequest;
|
|
15234
15457
|
path: {
|
|
15235
15458
|
/**
|
|
15236
15459
|
* Graph Id
|
|
@@ -15238,9 +15461,9 @@ export type GetConnectionOptionsData = {
|
|
|
15238
15461
|
graph_id: string;
|
|
15239
15462
|
};
|
|
15240
15463
|
query?: never;
|
|
15241
|
-
url: '/v1/graphs/{graph_id}/connections/
|
|
15464
|
+
url: '/v1/graphs/{graph_id}/connections/oauth/init';
|
|
15242
15465
|
};
|
|
15243
|
-
export type
|
|
15466
|
+
export type InitOAuthErrors = {
|
|
15244
15467
|
/**
|
|
15245
15468
|
* Invalid request
|
|
15246
15469
|
*/
|
|
@@ -15270,26 +15493,32 @@ export type GetConnectionOptionsErrors = {
|
|
|
15270
15493
|
*/
|
|
15271
15494
|
500: ErrorResponse;
|
|
15272
15495
|
};
|
|
15273
|
-
export type
|
|
15274
|
-
export type
|
|
15496
|
+
export type InitOAuthError = InitOAuthErrors[keyof InitOAuthErrors];
|
|
15497
|
+
export type InitOAuthResponses = {
|
|
15275
15498
|
/**
|
|
15276
15499
|
* Successful Response
|
|
15277
15500
|
*/
|
|
15278
|
-
200:
|
|
15501
|
+
200: OAuthInitResponse;
|
|
15279
15502
|
};
|
|
15280
|
-
export type
|
|
15281
|
-
export type
|
|
15282
|
-
body:
|
|
15503
|
+
export type InitOAuthResponse = InitOAuthResponses[keyof InitOAuthResponses];
|
|
15504
|
+
export type OauthCallbackData = {
|
|
15505
|
+
body: OAuthCallbackRequest;
|
|
15283
15506
|
path: {
|
|
15507
|
+
/**
|
|
15508
|
+
* Provider
|
|
15509
|
+
*
|
|
15510
|
+
* OAuth provider name
|
|
15511
|
+
*/
|
|
15512
|
+
provider: string;
|
|
15284
15513
|
/**
|
|
15285
15514
|
* Graph Id
|
|
15286
15515
|
*/
|
|
15287
15516
|
graph_id: string;
|
|
15288
15517
|
};
|
|
15289
15518
|
query?: never;
|
|
15290
|
-
url: '/v1/graphs/{graph_id}/connections/oauth/
|
|
15519
|
+
url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
|
|
15291
15520
|
};
|
|
15292
|
-
export type
|
|
15521
|
+
export type OauthCallbackErrors = {
|
|
15293
15522
|
/**
|
|
15294
15523
|
* Invalid request
|
|
15295
15524
|
*/
|
|
@@ -15319,32 +15548,38 @@ export type InitOAuthErrors = {
|
|
|
15319
15548
|
*/
|
|
15320
15549
|
500: ErrorResponse;
|
|
15321
15550
|
};
|
|
15322
|
-
export type
|
|
15323
|
-
export type
|
|
15551
|
+
export type OauthCallbackError = OauthCallbackErrors[keyof OauthCallbackErrors];
|
|
15552
|
+
export type OauthCallbackResponses = {
|
|
15324
15553
|
/**
|
|
15325
15554
|
* Successful Response
|
|
15326
15555
|
*/
|
|
15327
|
-
200:
|
|
15556
|
+
200: unknown;
|
|
15328
15557
|
};
|
|
15329
|
-
export type
|
|
15330
|
-
|
|
15331
|
-
body: OAuthCallbackRequest;
|
|
15558
|
+
export type ListConnectionsData = {
|
|
15559
|
+
body?: never;
|
|
15332
15560
|
path: {
|
|
15333
15561
|
/**
|
|
15334
|
-
*
|
|
15562
|
+
* Graph Id
|
|
15563
|
+
*/
|
|
15564
|
+
graph_id: string;
|
|
15565
|
+
};
|
|
15566
|
+
query?: {
|
|
15567
|
+
/**
|
|
15568
|
+
* Entity Id
|
|
15335
15569
|
*
|
|
15336
|
-
*
|
|
15570
|
+
* Filter by entity ID
|
|
15337
15571
|
*/
|
|
15338
|
-
|
|
15572
|
+
entity_id?: string | null;
|
|
15339
15573
|
/**
|
|
15340
|
-
*
|
|
15574
|
+
* Provider
|
|
15575
|
+
*
|
|
15576
|
+
* Filter by provider type
|
|
15341
15577
|
*/
|
|
15342
|
-
|
|
15578
|
+
provider?: 'sec' | 'quickbooks' | null;
|
|
15343
15579
|
};
|
|
15344
|
-
|
|
15345
|
-
url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}';
|
|
15580
|
+
url: '/v1/graphs/{graph_id}/connections';
|
|
15346
15581
|
};
|
|
15347
|
-
export type
|
|
15582
|
+
export type ListConnectionsErrors = {
|
|
15348
15583
|
/**
|
|
15349
15584
|
* Invalid request
|
|
15350
15585
|
*/
|
|
@@ -15374,31 +15609,28 @@ export type OauthCallbackErrors = {
|
|
|
15374
15609
|
*/
|
|
15375
15610
|
500: ErrorResponse;
|
|
15376
15611
|
};
|
|
15377
|
-
export type
|
|
15378
|
-
export type
|
|
15612
|
+
export type ListConnectionsError = ListConnectionsErrors[keyof ListConnectionsErrors];
|
|
15613
|
+
export type ListConnectionsResponses = {
|
|
15379
15614
|
/**
|
|
15615
|
+
* Response Listconnections
|
|
15616
|
+
*
|
|
15380
15617
|
* Successful Response
|
|
15381
15618
|
*/
|
|
15382
|
-
200:
|
|
15619
|
+
200: Array<ConnectionResponse>;
|
|
15383
15620
|
};
|
|
15384
|
-
export type
|
|
15385
|
-
|
|
15621
|
+
export type ListConnectionsResponse = ListConnectionsResponses[keyof ListConnectionsResponses];
|
|
15622
|
+
export type CreateConnectionData = {
|
|
15623
|
+
body: CreateConnectionRequest;
|
|
15386
15624
|
path: {
|
|
15387
15625
|
/**
|
|
15388
15626
|
* Graph Id
|
|
15389
15627
|
*/
|
|
15390
15628
|
graph_id: string;
|
|
15391
|
-
/**
|
|
15392
|
-
* Connection Id
|
|
15393
|
-
*
|
|
15394
|
-
* Connection identifier
|
|
15395
|
-
*/
|
|
15396
|
-
connection_id: string;
|
|
15397
15629
|
};
|
|
15398
15630
|
query?: never;
|
|
15399
|
-
url: '/v1/graphs/{graph_id}/connections
|
|
15631
|
+
url: '/v1/graphs/{graph_id}/connections';
|
|
15400
15632
|
};
|
|
15401
|
-
export type
|
|
15633
|
+
export type CreateConnectionErrors = {
|
|
15402
15634
|
/**
|
|
15403
15635
|
* Invalid request
|
|
15404
15636
|
*/
|
|
@@ -15415,6 +15647,10 @@ export type DeleteConnectionErrors = {
|
|
|
15415
15647
|
* Resource not found
|
|
15416
15648
|
*/
|
|
15417
15649
|
404: ErrorResponse;
|
|
15650
|
+
/**
|
|
15651
|
+
* Connection already exists for this provider
|
|
15652
|
+
*/
|
|
15653
|
+
409: unknown;
|
|
15418
15654
|
/**
|
|
15419
15655
|
* Validation Error
|
|
15420
15656
|
*/
|
|
@@ -15428,15 +15664,15 @@ export type DeleteConnectionErrors = {
|
|
|
15428
15664
|
*/
|
|
15429
15665
|
500: ErrorResponse;
|
|
15430
15666
|
};
|
|
15431
|
-
export type
|
|
15432
|
-
export type
|
|
15667
|
+
export type CreateConnectionError = CreateConnectionErrors[keyof CreateConnectionErrors];
|
|
15668
|
+
export type CreateConnectionResponses = {
|
|
15433
15669
|
/**
|
|
15434
15670
|
* Successful Response
|
|
15435
15671
|
*/
|
|
15436
|
-
|
|
15672
|
+
201: ConnectionResponse;
|
|
15437
15673
|
};
|
|
15438
|
-
export type
|
|
15439
|
-
export type
|
|
15674
|
+
export type CreateConnectionResponse = CreateConnectionResponses[keyof CreateConnectionResponses];
|
|
15675
|
+
export type DeleteConnectionData = {
|
|
15440
15676
|
body?: never;
|
|
15441
15677
|
path: {
|
|
15442
15678
|
/**
|
|
@@ -15446,14 +15682,14 @@ export type GetConnectionData = {
|
|
|
15446
15682
|
/**
|
|
15447
15683
|
* Connection Id
|
|
15448
15684
|
*
|
|
15449
|
-
*
|
|
15685
|
+
* Connection identifier
|
|
15450
15686
|
*/
|
|
15451
15687
|
connection_id: string;
|
|
15452
15688
|
};
|
|
15453
15689
|
query?: never;
|
|
15454
15690
|
url: '/v1/graphs/{graph_id}/connections/{connection_id}';
|
|
15455
15691
|
};
|
|
15456
|
-
export type
|
|
15692
|
+
export type DeleteConnectionErrors = {
|
|
15457
15693
|
/**
|
|
15458
15694
|
* Invalid request
|
|
15459
15695
|
*/
|
|
@@ -15483,22 +15719,16 @@ export type GetConnectionErrors = {
|
|
|
15483
15719
|
*/
|
|
15484
15720
|
500: ErrorResponse;
|
|
15485
15721
|
};
|
|
15486
|
-
export type
|
|
15487
|
-
export type
|
|
15722
|
+
export type DeleteConnectionError = DeleteConnectionErrors[keyof DeleteConnectionErrors];
|
|
15723
|
+
export type DeleteConnectionResponses = {
|
|
15488
15724
|
/**
|
|
15489
15725
|
* Successful Response
|
|
15490
15726
|
*/
|
|
15491
|
-
200:
|
|
15727
|
+
200: SuccessResponse;
|
|
15492
15728
|
};
|
|
15493
|
-
export type
|
|
15494
|
-
export type
|
|
15495
|
-
body
|
|
15496
|
-
headers?: {
|
|
15497
|
-
/**
|
|
15498
|
-
* Idempotency-Key
|
|
15499
|
-
*/
|
|
15500
|
-
'Idempotency-Key'?: string | null;
|
|
15501
|
-
};
|
|
15729
|
+
export type DeleteConnectionResponse = DeleteConnectionResponses[keyof DeleteConnectionResponses];
|
|
15730
|
+
export type GetConnectionData = {
|
|
15731
|
+
body?: never;
|
|
15502
15732
|
path: {
|
|
15503
15733
|
/**
|
|
15504
15734
|
* Graph Id
|
|
@@ -15507,14 +15737,14 @@ export type SyncConnectionData = {
|
|
|
15507
15737
|
/**
|
|
15508
15738
|
* Connection Id
|
|
15509
15739
|
*
|
|
15510
|
-
*
|
|
15740
|
+
* Unique connection identifier
|
|
15511
15741
|
*/
|
|
15512
15742
|
connection_id: string;
|
|
15513
15743
|
};
|
|
15514
15744
|
query?: never;
|
|
15515
|
-
url: '/v1/graphs/{graph_id}/connections/{connection_id}
|
|
15745
|
+
url: '/v1/graphs/{graph_id}/connections/{connection_id}';
|
|
15516
15746
|
};
|
|
15517
|
-
export type
|
|
15747
|
+
export type GetConnectionErrors = {
|
|
15518
15748
|
/**
|
|
15519
15749
|
* Invalid request
|
|
15520
15750
|
*/
|
|
@@ -15532,13 +15762,9 @@ export type SyncConnectionErrors = {
|
|
|
15532
15762
|
*/
|
|
15533
15763
|
404: ErrorResponse;
|
|
15534
15764
|
/**
|
|
15535
|
-
*
|
|
15536
|
-
*/
|
|
15537
|
-
409: ErrorResponse;
|
|
15538
|
-
/**
|
|
15539
|
-
* Validation error
|
|
15765
|
+
* Validation Error
|
|
15540
15766
|
*/
|
|
15541
|
-
422:
|
|
15767
|
+
422: HttpValidationError;
|
|
15542
15768
|
/**
|
|
15543
15769
|
* Rate limit exceeded
|
|
15544
15770
|
*/
|
|
@@ -15547,19 +15773,15 @@ export type SyncConnectionErrors = {
|
|
|
15547
15773
|
* Internal server error
|
|
15548
15774
|
*/
|
|
15549
15775
|
500: ErrorResponse;
|
|
15550
|
-
/**
|
|
15551
|
-
* Sync request timed out
|
|
15552
|
-
*/
|
|
15553
|
-
504: unknown;
|
|
15554
15776
|
};
|
|
15555
|
-
export type
|
|
15556
|
-
export type
|
|
15777
|
+
export type GetConnectionError = GetConnectionErrors[keyof GetConnectionErrors];
|
|
15778
|
+
export type GetConnectionResponses = {
|
|
15557
15779
|
/**
|
|
15558
15780
|
* Successful Response
|
|
15559
15781
|
*/
|
|
15560
|
-
|
|
15782
|
+
200: ConnectionResponse;
|
|
15561
15783
|
};
|
|
15562
|
-
export type
|
|
15784
|
+
export type GetConnectionResponse = GetConnectionResponses[keyof GetConnectionResponses];
|
|
15563
15785
|
export type SetConnectionWritePolicyData = {
|
|
15564
15786
|
body: SetWritePolicyRequest;
|
|
15565
15787
|
path: {
|
|
@@ -16372,8 +16594,8 @@ export type GetGraphUsageAnalyticsResponses = {
|
|
|
16372
16594
|
200: GraphUsageResponse;
|
|
16373
16595
|
};
|
|
16374
16596
|
export type GetGraphUsageAnalyticsResponse = GetGraphUsageAnalyticsResponses[keyof GetGraphUsageAnalyticsResponses];
|
|
16375
|
-
export type
|
|
16376
|
-
body:
|
|
16597
|
+
export type ExecuteCypherData = {
|
|
16598
|
+
body: CypherStatementRequest;
|
|
16377
16599
|
path: {
|
|
16378
16600
|
/**
|
|
16379
16601
|
* Graph Id
|
|
@@ -16400,9 +16622,9 @@ export type ExecuteCypherQueryData = {
|
|
|
16400
16622
|
*/
|
|
16401
16623
|
test_mode?: boolean;
|
|
16402
16624
|
};
|
|
16403
|
-
url: '/v1/graphs/{graph_id}/query';
|
|
16625
|
+
url: '/v1/graphs/{graph_id}/query/cypher';
|
|
16404
16626
|
};
|
|
16405
|
-
export type
|
|
16627
|
+
export type ExecuteCypherErrors = {
|
|
16406
16628
|
/**
|
|
16407
16629
|
* Invalid request
|
|
16408
16630
|
*/
|
|
@@ -16440,8 +16662,8 @@ export type ExecuteCypherQueryErrors = {
|
|
|
16440
16662
|
*/
|
|
16441
16663
|
503: unknown;
|
|
16442
16664
|
};
|
|
16443
|
-
export type
|
|
16444
|
-
export type
|
|
16665
|
+
export type ExecuteCypherError = ExecuteCypherErrors[keyof ExecuteCypherErrors];
|
|
16666
|
+
export type ExecuteCypherResponses = {
|
|
16445
16667
|
/**
|
|
16446
16668
|
* Successful Response
|
|
16447
16669
|
*/
|
|
@@ -16451,9 +16673,65 @@ export type ExecuteCypherQueryResponses = {
|
|
|
16451
16673
|
*/
|
|
16452
16674
|
202: unknown;
|
|
16453
16675
|
};
|
|
16454
|
-
export type
|
|
16455
|
-
|
|
16456
|
-
|
|
16676
|
+
export type ExecuteSqlData = {
|
|
16677
|
+
/**
|
|
16678
|
+
* SQL statement request
|
|
16679
|
+
*/
|
|
16680
|
+
body: SqlStatementRequest;
|
|
16681
|
+
path: {
|
|
16682
|
+
/**
|
|
16683
|
+
* Graph Id
|
|
16684
|
+
*/
|
|
16685
|
+
graph_id: string;
|
|
16686
|
+
};
|
|
16687
|
+
query?: never;
|
|
16688
|
+
url: '/v1/graphs/{graph_id}/query/sql';
|
|
16689
|
+
};
|
|
16690
|
+
export type ExecuteSqlErrors = {
|
|
16691
|
+
/**
|
|
16692
|
+
* Invalid request
|
|
16693
|
+
*/
|
|
16694
|
+
400: ErrorResponse;
|
|
16695
|
+
/**
|
|
16696
|
+
* Authentication required
|
|
16697
|
+
*/
|
|
16698
|
+
401: ErrorResponse;
|
|
16699
|
+
/**
|
|
16700
|
+
* Access denied
|
|
16701
|
+
*/
|
|
16702
|
+
403: ErrorResponse;
|
|
16703
|
+
/**
|
|
16704
|
+
* Resource not found
|
|
16705
|
+
*/
|
|
16706
|
+
404: ErrorResponse;
|
|
16707
|
+
/**
|
|
16708
|
+
* Query timeout
|
|
16709
|
+
*/
|
|
16710
|
+
408: unknown;
|
|
16711
|
+
/**
|
|
16712
|
+
* Validation Error
|
|
16713
|
+
*/
|
|
16714
|
+
422: HttpValidationError;
|
|
16715
|
+
/**
|
|
16716
|
+
* Rate limit exceeded
|
|
16717
|
+
*/
|
|
16718
|
+
429: ErrorResponse;
|
|
16719
|
+
/**
|
|
16720
|
+
* Internal server error
|
|
16721
|
+
*/
|
|
16722
|
+
500: ErrorResponse;
|
|
16723
|
+
};
|
|
16724
|
+
export type ExecuteSqlError = ExecuteSqlErrors[keyof ExecuteSqlErrors];
|
|
16725
|
+
export type ExecuteSqlResponses = {
|
|
16726
|
+
/**
|
|
16727
|
+
* Successful Response
|
|
16728
|
+
*/
|
|
16729
|
+
200: SqlStatementResponse;
|
|
16730
|
+
};
|
|
16731
|
+
export type ExecuteSqlResponse = ExecuteSqlResponses[keyof ExecuteSqlResponses];
|
|
16732
|
+
export type GetGraphSchemaData = {
|
|
16733
|
+
body?: never;
|
|
16734
|
+
path: {
|
|
16457
16735
|
/**
|
|
16458
16736
|
* Graph Id
|
|
16459
16737
|
*/
|
|
@@ -17322,62 +17600,6 @@ export type ListTablesResponses = {
|
|
|
17322
17600
|
200: TableListResponse;
|
|
17323
17601
|
};
|
|
17324
17602
|
export type ListTablesResponse = ListTablesResponses[keyof ListTablesResponses];
|
|
17325
|
-
export type QueryTablesData = {
|
|
17326
|
-
/**
|
|
17327
|
-
* SQL query request
|
|
17328
|
-
*/
|
|
17329
|
-
body: TableQueryRequest;
|
|
17330
|
-
path: {
|
|
17331
|
-
/**
|
|
17332
|
-
* Graph Id
|
|
17333
|
-
*/
|
|
17334
|
-
graph_id: string;
|
|
17335
|
-
};
|
|
17336
|
-
query?: never;
|
|
17337
|
-
url: '/v1/graphs/{graph_id}/tables/query';
|
|
17338
|
-
};
|
|
17339
|
-
export type QueryTablesErrors = {
|
|
17340
|
-
/**
|
|
17341
|
-
* Invalid request
|
|
17342
|
-
*/
|
|
17343
|
-
400: ErrorResponse;
|
|
17344
|
-
/**
|
|
17345
|
-
* Authentication required
|
|
17346
|
-
*/
|
|
17347
|
-
401: ErrorResponse;
|
|
17348
|
-
/**
|
|
17349
|
-
* Access denied
|
|
17350
|
-
*/
|
|
17351
|
-
403: ErrorResponse;
|
|
17352
|
-
/**
|
|
17353
|
-
* Resource not found
|
|
17354
|
-
*/
|
|
17355
|
-
404: ErrorResponse;
|
|
17356
|
-
/**
|
|
17357
|
-
* Query timeout
|
|
17358
|
-
*/
|
|
17359
|
-
408: unknown;
|
|
17360
|
-
/**
|
|
17361
|
-
* Validation Error
|
|
17362
|
-
*/
|
|
17363
|
-
422: HttpValidationError;
|
|
17364
|
-
/**
|
|
17365
|
-
* Rate limit exceeded
|
|
17366
|
-
*/
|
|
17367
|
-
429: ErrorResponse;
|
|
17368
|
-
/**
|
|
17369
|
-
* Internal server error
|
|
17370
|
-
*/
|
|
17371
|
-
500: ErrorResponse;
|
|
17372
|
-
};
|
|
17373
|
-
export type QueryTablesError = QueryTablesErrors[keyof QueryTablesErrors];
|
|
17374
|
-
export type QueryTablesResponses = {
|
|
17375
|
-
/**
|
|
17376
|
-
* Successful Response
|
|
17377
|
-
*/
|
|
17378
|
-
200: TableQueryResponse;
|
|
17379
|
-
};
|
|
17380
|
-
export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
|
|
17381
17603
|
export type SearchDocumentsData = {
|
|
17382
17604
|
body: SearchRequest;
|
|
17383
17605
|
path: {
|
|
@@ -17542,18 +17764,22 @@ export type ListDocumentsResponses = {
|
|
|
17542
17764
|
200: DocumentListResponse;
|
|
17543
17765
|
};
|
|
17544
17766
|
export type ListDocumentsResponse = ListDocumentsResponses[keyof ListDocumentsResponses];
|
|
17545
|
-
export type
|
|
17546
|
-
body
|
|
17767
|
+
export type GetDocumentData = {
|
|
17768
|
+
body?: never;
|
|
17547
17769
|
path: {
|
|
17548
17770
|
/**
|
|
17549
17771
|
* Graph Id
|
|
17550
17772
|
*/
|
|
17551
17773
|
graph_id: string;
|
|
17774
|
+
/**
|
|
17775
|
+
* Document Id
|
|
17776
|
+
*/
|
|
17777
|
+
document_id: string;
|
|
17552
17778
|
};
|
|
17553
17779
|
query?: never;
|
|
17554
|
-
url: '/v1/graphs/{graph_id}/documents';
|
|
17780
|
+
url: '/v1/graphs/{graph_id}/documents/{document_id}';
|
|
17555
17781
|
};
|
|
17556
|
-
export type
|
|
17782
|
+
export type GetDocumentErrors = {
|
|
17557
17783
|
/**
|
|
17558
17784
|
* Invalid request
|
|
17559
17785
|
*/
|
|
@@ -17583,30 +17809,47 @@ export type UploadDocumentErrors = {
|
|
|
17583
17809
|
*/
|
|
17584
17810
|
500: ErrorResponse;
|
|
17585
17811
|
};
|
|
17586
|
-
export type
|
|
17587
|
-
export type
|
|
17812
|
+
export type GetDocumentError = GetDocumentErrors[keyof GetDocumentErrors];
|
|
17813
|
+
export type GetDocumentResponses = {
|
|
17588
17814
|
/**
|
|
17589
17815
|
* Successful Response
|
|
17590
17816
|
*/
|
|
17591
|
-
200:
|
|
17817
|
+
200: DocumentDetailResponse;
|
|
17592
17818
|
};
|
|
17593
|
-
export type
|
|
17594
|
-
export type
|
|
17819
|
+
export type GetDocumentResponse = GetDocumentResponses[keyof GetDocumentResponses];
|
|
17820
|
+
export type ListMemoriesData = {
|
|
17595
17821
|
body?: never;
|
|
17596
17822
|
path: {
|
|
17597
17823
|
/**
|
|
17598
17824
|
* Graph Id
|
|
17599
17825
|
*/
|
|
17600
17826
|
graph_id: string;
|
|
17827
|
+
};
|
|
17828
|
+
query?: {
|
|
17601
17829
|
/**
|
|
17602
|
-
*
|
|
17830
|
+
* Memory Type
|
|
17831
|
+
*
|
|
17832
|
+
* Filter by memory type
|
|
17603
17833
|
*/
|
|
17604
|
-
|
|
17834
|
+
memory_type?: string | null;
|
|
17835
|
+
/**
|
|
17836
|
+
* Source
|
|
17837
|
+
*
|
|
17838
|
+
* Filter by source
|
|
17839
|
+
*/
|
|
17840
|
+
source?: string | null;
|
|
17841
|
+
/**
|
|
17842
|
+
* Limit
|
|
17843
|
+
*/
|
|
17844
|
+
limit?: number;
|
|
17845
|
+
/**
|
|
17846
|
+
* Offset
|
|
17847
|
+
*/
|
|
17848
|
+
offset?: number;
|
|
17605
17849
|
};
|
|
17606
|
-
|
|
17607
|
-
url: '/v1/graphs/{graph_id}/documents/{document_id}';
|
|
17850
|
+
url: '/v1/graphs/{graph_id}/memory';
|
|
17608
17851
|
};
|
|
17609
|
-
export type
|
|
17852
|
+
export type ListMemoriesErrors = {
|
|
17610
17853
|
/**
|
|
17611
17854
|
* Invalid request
|
|
17612
17855
|
*/
|
|
@@ -17636,15 +17879,15 @@ export type DeleteDocumentErrors = {
|
|
|
17636
17879
|
*/
|
|
17637
17880
|
500: ErrorResponse;
|
|
17638
17881
|
};
|
|
17639
|
-
export type
|
|
17640
|
-
export type
|
|
17882
|
+
export type ListMemoriesError = ListMemoriesErrors[keyof ListMemoriesErrors];
|
|
17883
|
+
export type ListMemoriesResponses = {
|
|
17641
17884
|
/**
|
|
17642
17885
|
* Successful Response
|
|
17643
17886
|
*/
|
|
17644
|
-
|
|
17887
|
+
200: MemoryListResponse;
|
|
17645
17888
|
};
|
|
17646
|
-
export type
|
|
17647
|
-
export type
|
|
17889
|
+
export type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
|
|
17890
|
+
export type GetMemoryData = {
|
|
17648
17891
|
body?: never;
|
|
17649
17892
|
path: {
|
|
17650
17893
|
/**
|
|
@@ -17652,14 +17895,14 @@ export type GetDocumentData = {
|
|
|
17652
17895
|
*/
|
|
17653
17896
|
graph_id: string;
|
|
17654
17897
|
/**
|
|
17655
|
-
*
|
|
17898
|
+
* Memory Id
|
|
17656
17899
|
*/
|
|
17657
|
-
|
|
17900
|
+
memory_id: string;
|
|
17658
17901
|
};
|
|
17659
17902
|
query?: never;
|
|
17660
|
-
url: '/v1/graphs/{graph_id}/
|
|
17903
|
+
url: '/v1/graphs/{graph_id}/memory/{memory_id}';
|
|
17661
17904
|
};
|
|
17662
|
-
export type
|
|
17905
|
+
export type GetMemoryErrors = {
|
|
17663
17906
|
/**
|
|
17664
17907
|
* Invalid request
|
|
17665
17908
|
*/
|
|
@@ -17689,30 +17932,26 @@ export type GetDocumentErrors = {
|
|
|
17689
17932
|
*/
|
|
17690
17933
|
500: ErrorResponse;
|
|
17691
17934
|
};
|
|
17692
|
-
export type
|
|
17693
|
-
export type
|
|
17935
|
+
export type GetMemoryError = GetMemoryErrors[keyof GetMemoryErrors];
|
|
17936
|
+
export type GetMemoryResponses = {
|
|
17694
17937
|
/**
|
|
17695
17938
|
* Successful Response
|
|
17696
17939
|
*/
|
|
17697
|
-
200:
|
|
17940
|
+
200: MemoryRecord;
|
|
17698
17941
|
};
|
|
17699
|
-
export type
|
|
17700
|
-
export type
|
|
17701
|
-
body:
|
|
17942
|
+
export type GetMemoryResponse = GetMemoryResponses[keyof GetMemoryResponses];
|
|
17943
|
+
export type RecallMemoryData = {
|
|
17944
|
+
body: MemoryRecallRequest;
|
|
17702
17945
|
path: {
|
|
17703
17946
|
/**
|
|
17704
17947
|
* Graph Id
|
|
17705
17948
|
*/
|
|
17706
17949
|
graph_id: string;
|
|
17707
|
-
/**
|
|
17708
|
-
* Document Id
|
|
17709
|
-
*/
|
|
17710
|
-
document_id: string;
|
|
17711
17950
|
};
|
|
17712
17951
|
query?: never;
|
|
17713
|
-
url: '/v1/graphs/{graph_id}/
|
|
17952
|
+
url: '/v1/graphs/{graph_id}/memory/recall';
|
|
17714
17953
|
};
|
|
17715
|
-
export type
|
|
17954
|
+
export type RecallMemoryErrors = {
|
|
17716
17955
|
/**
|
|
17717
17956
|
* Invalid request
|
|
17718
17957
|
*/
|
|
@@ -17741,15 +17980,19 @@ export type UpdateDocumentErrors = {
|
|
|
17741
17980
|
* Internal server error
|
|
17742
17981
|
*/
|
|
17743
17982
|
500: ErrorResponse;
|
|
17983
|
+
/**
|
|
17984
|
+
* Semantic memory not available
|
|
17985
|
+
*/
|
|
17986
|
+
503: unknown;
|
|
17744
17987
|
};
|
|
17745
|
-
export type
|
|
17746
|
-
export type
|
|
17988
|
+
export type RecallMemoryError = RecallMemoryErrors[keyof RecallMemoryErrors];
|
|
17989
|
+
export type RecallMemoryResponses = {
|
|
17747
17990
|
/**
|
|
17748
17991
|
* Successful Response
|
|
17749
17992
|
*/
|
|
17750
|
-
200:
|
|
17993
|
+
200: SearchResponse;
|
|
17751
17994
|
};
|
|
17752
|
-
export type
|
|
17995
|
+
export type RecallMemoryResponse = RecallMemoryResponses[keyof RecallMemoryResponses];
|
|
17753
17996
|
export type OpCreateSubgraphData = {
|
|
17754
17997
|
body: CreateSubgraphRequest;
|
|
17755
17998
|
headers?: {
|
|
@@ -18104,8 +18347,8 @@ export type OpChangeTierResponses = {
|
|
|
18104
18347
|
202: OperationEnvelope;
|
|
18105
18348
|
};
|
|
18106
18349
|
export type OpChangeTierResponse = OpChangeTierResponses[keyof OpChangeTierResponses];
|
|
18107
|
-
export type
|
|
18108
|
-
body:
|
|
18350
|
+
export type OpMaterializeData = {
|
|
18351
|
+
body: MaterializeOp;
|
|
18109
18352
|
headers?: {
|
|
18110
18353
|
/**
|
|
18111
18354
|
* Idempotency-Key
|
|
@@ -18119,9 +18362,9 @@ export type OpChangeReportingStyleData = {
|
|
|
18119
18362
|
graph_id: string;
|
|
18120
18363
|
};
|
|
18121
18364
|
query?: never;
|
|
18122
|
-
url: '/v1/graphs/{graph_id}/operations/
|
|
18365
|
+
url: '/v1/graphs/{graph_id}/operations/materialize';
|
|
18123
18366
|
};
|
|
18124
|
-
export type
|
|
18367
|
+
export type OpMaterializeErrors = {
|
|
18125
18368
|
/**
|
|
18126
18369
|
* Invalid request
|
|
18127
18370
|
*/
|
|
@@ -18155,16 +18398,16 @@ export type OpChangeReportingStyleErrors = {
|
|
|
18155
18398
|
*/
|
|
18156
18399
|
500: ErrorResponse;
|
|
18157
18400
|
};
|
|
18158
|
-
export type
|
|
18159
|
-
export type
|
|
18401
|
+
export type OpMaterializeError = OpMaterializeErrors[keyof OpMaterializeErrors];
|
|
18402
|
+
export type OpMaterializeResponses = {
|
|
18160
18403
|
/**
|
|
18161
18404
|
* Successful Response
|
|
18162
18405
|
*/
|
|
18163
|
-
|
|
18406
|
+
202: OperationEnvelope;
|
|
18164
18407
|
};
|
|
18165
|
-
export type
|
|
18166
|
-
export type
|
|
18167
|
-
body:
|
|
18408
|
+
export type OpMaterializeResponse = OpMaterializeResponses[keyof OpMaterializeResponses];
|
|
18409
|
+
export type OpRememberData = {
|
|
18410
|
+
body: RememberOp;
|
|
18168
18411
|
headers?: {
|
|
18169
18412
|
/**
|
|
18170
18413
|
* Idempotency-Key
|
|
@@ -18178,9 +18421,9 @@ export type OpMaterializeData = {
|
|
|
18178
18421
|
graph_id: string;
|
|
18179
18422
|
};
|
|
18180
18423
|
query?: never;
|
|
18181
|
-
url: '/v1/graphs/{graph_id}/operations/
|
|
18424
|
+
url: '/v1/graphs/{graph_id}/operations/remember';
|
|
18182
18425
|
};
|
|
18183
|
-
export type
|
|
18426
|
+
export type OpRememberErrors = {
|
|
18184
18427
|
/**
|
|
18185
18428
|
* Invalid request
|
|
18186
18429
|
*/
|
|
@@ -18214,39 +18457,32 @@ export type OpMaterializeErrors = {
|
|
|
18214
18457
|
*/
|
|
18215
18458
|
500: ErrorResponse;
|
|
18216
18459
|
};
|
|
18217
|
-
export type
|
|
18218
|
-
export type
|
|
18460
|
+
export type OpRememberError = OpRememberErrors[keyof OpRememberErrors];
|
|
18461
|
+
export type OpRememberResponses = {
|
|
18219
18462
|
/**
|
|
18220
18463
|
* Successful Response
|
|
18221
18464
|
*/
|
|
18222
|
-
|
|
18465
|
+
200: OperationEnvelope;
|
|
18223
18466
|
};
|
|
18224
|
-
export type
|
|
18225
|
-
export type
|
|
18226
|
-
body
|
|
18227
|
-
|
|
18467
|
+
export type OpRememberResponse = OpRememberResponses[keyof OpRememberResponses];
|
|
18468
|
+
export type OpForgetData = {
|
|
18469
|
+
body: ForgetOp;
|
|
18470
|
+
headers?: {
|
|
18228
18471
|
/**
|
|
18229
|
-
*
|
|
18472
|
+
* Idempotency-Key
|
|
18230
18473
|
*/
|
|
18231
|
-
|
|
18474
|
+
'Idempotency-Key'?: string | null;
|
|
18232
18475
|
};
|
|
18233
|
-
|
|
18234
|
-
/**
|
|
18235
|
-
* Table Name
|
|
18236
|
-
*
|
|
18237
|
-
* Filter by table name (optional)
|
|
18238
|
-
*/
|
|
18239
|
-
table_name?: string | null;
|
|
18476
|
+
path: {
|
|
18240
18477
|
/**
|
|
18241
|
-
*
|
|
18242
|
-
*
|
|
18243
|
-
* Filter by upload status (optional)
|
|
18478
|
+
* Graph Id
|
|
18244
18479
|
*/
|
|
18245
|
-
|
|
18480
|
+
graph_id: string;
|
|
18246
18481
|
};
|
|
18247
|
-
|
|
18482
|
+
query?: never;
|
|
18483
|
+
url: '/v1/graphs/{graph_id}/operations/forget';
|
|
18248
18484
|
};
|
|
18249
|
-
export type
|
|
18485
|
+
export type OpForgetErrors = {
|
|
18250
18486
|
/**
|
|
18251
18487
|
* Invalid request
|
|
18252
18488
|
*/
|
|
@@ -18264,9 +18500,13 @@ export type ListFilesErrors = {
|
|
|
18264
18500
|
*/
|
|
18265
18501
|
404: ErrorResponse;
|
|
18266
18502
|
/**
|
|
18267
|
-
*
|
|
18503
|
+
* Idempotency-Key conflict — key reused with different body
|
|
18268
18504
|
*/
|
|
18269
|
-
|
|
18505
|
+
409: ErrorResponse;
|
|
18506
|
+
/**
|
|
18507
|
+
* Validation error
|
|
18508
|
+
*/
|
|
18509
|
+
422: ErrorResponse;
|
|
18270
18510
|
/**
|
|
18271
18511
|
* Rate limit exceeded
|
|
18272
18512
|
*/
|
|
@@ -18276,19 +18516,22 @@ export type ListFilesErrors = {
|
|
|
18276
18516
|
*/
|
|
18277
18517
|
500: ErrorResponse;
|
|
18278
18518
|
};
|
|
18279
|
-
export type
|
|
18280
|
-
export type
|
|
18519
|
+
export type OpForgetError = OpForgetErrors[keyof OpForgetErrors];
|
|
18520
|
+
export type OpForgetResponses = {
|
|
18281
18521
|
/**
|
|
18282
18522
|
* Successful Response
|
|
18283
18523
|
*/
|
|
18284
|
-
200:
|
|
18524
|
+
200: OperationEnvelope;
|
|
18285
18525
|
};
|
|
18286
|
-
export type
|
|
18287
|
-
export type
|
|
18288
|
-
|
|
18289
|
-
|
|
18290
|
-
|
|
18291
|
-
|
|
18526
|
+
export type OpForgetResponse = OpForgetResponses[keyof OpForgetResponses];
|
|
18527
|
+
export type OpUpdateMemoryData = {
|
|
18528
|
+
body: UpdateMemoryOp;
|
|
18529
|
+
headers?: {
|
|
18530
|
+
/**
|
|
18531
|
+
* Idempotency-Key
|
|
18532
|
+
*/
|
|
18533
|
+
'Idempotency-Key'?: string | null;
|
|
18534
|
+
};
|
|
18292
18535
|
path: {
|
|
18293
18536
|
/**
|
|
18294
18537
|
* Graph Id
|
|
@@ -18296,9 +18539,9 @@ export type CreateFileUploadData = {
|
|
|
18296
18539
|
graph_id: string;
|
|
18297
18540
|
};
|
|
18298
18541
|
query?: never;
|
|
18299
|
-
url: '/v1/graphs/{graph_id}/
|
|
18542
|
+
url: '/v1/graphs/{graph_id}/operations/update-memory';
|
|
18300
18543
|
};
|
|
18301
|
-
export type
|
|
18544
|
+
export type OpUpdateMemoryErrors = {
|
|
18302
18545
|
/**
|
|
18303
18546
|
* Invalid request
|
|
18304
18547
|
*/
|
|
@@ -18316,9 +18559,13 @@ export type CreateFileUploadErrors = {
|
|
|
18316
18559
|
*/
|
|
18317
18560
|
404: ErrorResponse;
|
|
18318
18561
|
/**
|
|
18319
|
-
*
|
|
18562
|
+
* Idempotency-Key conflict — key reused with different body
|
|
18320
18563
|
*/
|
|
18321
|
-
|
|
18564
|
+
409: ErrorResponse;
|
|
18565
|
+
/**
|
|
18566
|
+
* Validation error
|
|
18567
|
+
*/
|
|
18568
|
+
422: ErrorResponse;
|
|
18322
18569
|
/**
|
|
18323
18570
|
* Rate limit exceeded
|
|
18324
18571
|
*/
|
|
@@ -18328,39 +18575,32 @@ export type CreateFileUploadErrors = {
|
|
|
18328
18575
|
*/
|
|
18329
18576
|
500: ErrorResponse;
|
|
18330
18577
|
};
|
|
18331
|
-
export type
|
|
18332
|
-
export type
|
|
18578
|
+
export type OpUpdateMemoryError = OpUpdateMemoryErrors[keyof OpUpdateMemoryErrors];
|
|
18579
|
+
export type OpUpdateMemoryResponses = {
|
|
18333
18580
|
/**
|
|
18334
18581
|
* Successful Response
|
|
18335
18582
|
*/
|
|
18336
|
-
200:
|
|
18583
|
+
200: OperationEnvelope;
|
|
18337
18584
|
};
|
|
18338
|
-
export type
|
|
18339
|
-
export type
|
|
18340
|
-
body
|
|
18341
|
-
|
|
18342
|
-
/**
|
|
18343
|
-
* Graph Id
|
|
18344
|
-
*/
|
|
18345
|
-
graph_id: string;
|
|
18585
|
+
export type OpUpdateMemoryResponse = OpUpdateMemoryResponses[keyof OpUpdateMemoryResponses];
|
|
18586
|
+
export type OpIndexDocumentData = {
|
|
18587
|
+
body: IndexDocumentOp;
|
|
18588
|
+
headers?: {
|
|
18346
18589
|
/**
|
|
18347
|
-
*
|
|
18348
|
-
*
|
|
18349
|
-
* File ID
|
|
18590
|
+
* Idempotency-Key
|
|
18350
18591
|
*/
|
|
18351
|
-
|
|
18592
|
+
'Idempotency-Key'?: string | null;
|
|
18352
18593
|
};
|
|
18353
|
-
|
|
18594
|
+
path: {
|
|
18354
18595
|
/**
|
|
18355
|
-
*
|
|
18356
|
-
*
|
|
18357
|
-
* If true, delete from all layers including DuckDB and mark graph stale
|
|
18596
|
+
* Graph Id
|
|
18358
18597
|
*/
|
|
18359
|
-
|
|
18598
|
+
graph_id: string;
|
|
18360
18599
|
};
|
|
18361
|
-
|
|
18600
|
+
query?: never;
|
|
18601
|
+
url: '/v1/graphs/{graph_id}/operations/index-document';
|
|
18362
18602
|
};
|
|
18363
|
-
export type
|
|
18603
|
+
export type OpIndexDocumentErrors = {
|
|
18364
18604
|
/**
|
|
18365
18605
|
* Invalid request
|
|
18366
18606
|
*/
|
|
@@ -18378,9 +18618,13 @@ export type DeleteFileErrors = {
|
|
|
18378
18618
|
*/
|
|
18379
18619
|
404: ErrorResponse;
|
|
18380
18620
|
/**
|
|
18381
|
-
*
|
|
18621
|
+
* Idempotency-Key conflict — key reused with different body
|
|
18382
18622
|
*/
|
|
18383
|
-
|
|
18623
|
+
409: ErrorResponse;
|
|
18624
|
+
/**
|
|
18625
|
+
* Validation error
|
|
18626
|
+
*/
|
|
18627
|
+
422: ErrorResponse;
|
|
18384
18628
|
/**
|
|
18385
18629
|
* Rate limit exceeded
|
|
18386
18630
|
*/
|
|
@@ -18390,32 +18634,275 @@ export type DeleteFileErrors = {
|
|
|
18390
18634
|
*/
|
|
18391
18635
|
500: ErrorResponse;
|
|
18392
18636
|
};
|
|
18393
|
-
export type
|
|
18394
|
-
export type
|
|
18637
|
+
export type OpIndexDocumentError = OpIndexDocumentErrors[keyof OpIndexDocumentErrors];
|
|
18638
|
+
export type OpIndexDocumentResponses = {
|
|
18395
18639
|
/**
|
|
18396
18640
|
* Successful Response
|
|
18397
18641
|
*/
|
|
18398
|
-
200:
|
|
18642
|
+
200: OperationEnvelope;
|
|
18399
18643
|
};
|
|
18400
|
-
export type
|
|
18401
|
-
export type
|
|
18644
|
+
export type OpIndexDocumentResponse = OpIndexDocumentResponses[keyof OpIndexDocumentResponses];
|
|
18645
|
+
export type OpDeleteDocumentData = {
|
|
18646
|
+
body: DeleteDocumentOp;
|
|
18647
|
+
headers?: {
|
|
18648
|
+
/**
|
|
18649
|
+
* Idempotency-Key
|
|
18650
|
+
*/
|
|
18651
|
+
'Idempotency-Key'?: string | null;
|
|
18652
|
+
};
|
|
18653
|
+
path: {
|
|
18654
|
+
/**
|
|
18655
|
+
* Graph Id
|
|
18656
|
+
*/
|
|
18657
|
+
graph_id: string;
|
|
18658
|
+
};
|
|
18659
|
+
query?: never;
|
|
18660
|
+
url: '/v1/graphs/{graph_id}/operations/delete-document';
|
|
18661
|
+
};
|
|
18662
|
+
export type OpDeleteDocumentErrors = {
|
|
18663
|
+
/**
|
|
18664
|
+
* Invalid request
|
|
18665
|
+
*/
|
|
18666
|
+
400: ErrorResponse;
|
|
18667
|
+
/**
|
|
18668
|
+
* Authentication required
|
|
18669
|
+
*/
|
|
18670
|
+
401: ErrorResponse;
|
|
18671
|
+
/**
|
|
18672
|
+
* Access denied
|
|
18673
|
+
*/
|
|
18674
|
+
403: ErrorResponse;
|
|
18675
|
+
/**
|
|
18676
|
+
* Resource not found
|
|
18677
|
+
*/
|
|
18678
|
+
404: ErrorResponse;
|
|
18679
|
+
/**
|
|
18680
|
+
* Idempotency-Key conflict — key reused with different body
|
|
18681
|
+
*/
|
|
18682
|
+
409: ErrorResponse;
|
|
18683
|
+
/**
|
|
18684
|
+
* Validation error
|
|
18685
|
+
*/
|
|
18686
|
+
422: ErrorResponse;
|
|
18687
|
+
/**
|
|
18688
|
+
* Rate limit exceeded
|
|
18689
|
+
*/
|
|
18690
|
+
429: ErrorResponse;
|
|
18691
|
+
/**
|
|
18692
|
+
* Internal server error
|
|
18693
|
+
*/
|
|
18694
|
+
500: ErrorResponse;
|
|
18695
|
+
};
|
|
18696
|
+
export type OpDeleteDocumentError = OpDeleteDocumentErrors[keyof OpDeleteDocumentErrors];
|
|
18697
|
+
export type OpDeleteDocumentResponses = {
|
|
18698
|
+
/**
|
|
18699
|
+
* Successful Response
|
|
18700
|
+
*/
|
|
18701
|
+
200: OperationEnvelope;
|
|
18702
|
+
};
|
|
18703
|
+
export type OpDeleteDocumentResponse = OpDeleteDocumentResponses[keyof OpDeleteDocumentResponses];
|
|
18704
|
+
export type OpCreateFileUploadData = {
|
|
18705
|
+
body: FileUploadRequest;
|
|
18706
|
+
headers?: {
|
|
18707
|
+
/**
|
|
18708
|
+
* Idempotency-Key
|
|
18709
|
+
*/
|
|
18710
|
+
'Idempotency-Key'?: string | null;
|
|
18711
|
+
};
|
|
18712
|
+
path: {
|
|
18713
|
+
/**
|
|
18714
|
+
* Graph Id
|
|
18715
|
+
*/
|
|
18716
|
+
graph_id: string;
|
|
18717
|
+
};
|
|
18718
|
+
query?: never;
|
|
18719
|
+
url: '/v1/graphs/{graph_id}/operations/create-file-upload';
|
|
18720
|
+
};
|
|
18721
|
+
export type OpCreateFileUploadErrors = {
|
|
18722
|
+
/**
|
|
18723
|
+
* Invalid request
|
|
18724
|
+
*/
|
|
18725
|
+
400: ErrorResponse;
|
|
18726
|
+
/**
|
|
18727
|
+
* Authentication required
|
|
18728
|
+
*/
|
|
18729
|
+
401: ErrorResponse;
|
|
18730
|
+
/**
|
|
18731
|
+
* Access denied
|
|
18732
|
+
*/
|
|
18733
|
+
403: ErrorResponse;
|
|
18734
|
+
/**
|
|
18735
|
+
* Resource not found
|
|
18736
|
+
*/
|
|
18737
|
+
404: ErrorResponse;
|
|
18738
|
+
/**
|
|
18739
|
+
* Idempotency-Key conflict — key reused with different body
|
|
18740
|
+
*/
|
|
18741
|
+
409: ErrorResponse;
|
|
18742
|
+
/**
|
|
18743
|
+
* Validation error
|
|
18744
|
+
*/
|
|
18745
|
+
422: ErrorResponse;
|
|
18746
|
+
/**
|
|
18747
|
+
* Rate limit exceeded
|
|
18748
|
+
*/
|
|
18749
|
+
429: ErrorResponse;
|
|
18750
|
+
/**
|
|
18751
|
+
* Internal server error
|
|
18752
|
+
*/
|
|
18753
|
+
500: ErrorResponse;
|
|
18754
|
+
};
|
|
18755
|
+
export type OpCreateFileUploadError = OpCreateFileUploadErrors[keyof OpCreateFileUploadErrors];
|
|
18756
|
+
export type OpCreateFileUploadResponses = {
|
|
18757
|
+
/**
|
|
18758
|
+
* Successful Response
|
|
18759
|
+
*/
|
|
18760
|
+
200: OperationEnvelope;
|
|
18761
|
+
};
|
|
18762
|
+
export type OpCreateFileUploadResponse = OpCreateFileUploadResponses[keyof OpCreateFileUploadResponses];
|
|
18763
|
+
export type OpIngestFileData = {
|
|
18764
|
+
body: IngestFileOp;
|
|
18765
|
+
headers?: {
|
|
18766
|
+
/**
|
|
18767
|
+
* Idempotency-Key
|
|
18768
|
+
*/
|
|
18769
|
+
'Idempotency-Key'?: string | null;
|
|
18770
|
+
};
|
|
18771
|
+
path: {
|
|
18772
|
+
/**
|
|
18773
|
+
* Graph Id
|
|
18774
|
+
*/
|
|
18775
|
+
graph_id: string;
|
|
18776
|
+
};
|
|
18777
|
+
query?: never;
|
|
18778
|
+
url: '/v1/graphs/{graph_id}/operations/ingest-file';
|
|
18779
|
+
};
|
|
18780
|
+
export type OpIngestFileErrors = {
|
|
18781
|
+
/**
|
|
18782
|
+
* Invalid request
|
|
18783
|
+
*/
|
|
18784
|
+
400: ErrorResponse;
|
|
18785
|
+
/**
|
|
18786
|
+
* Authentication required
|
|
18787
|
+
*/
|
|
18788
|
+
401: ErrorResponse;
|
|
18789
|
+
/**
|
|
18790
|
+
* Access denied
|
|
18791
|
+
*/
|
|
18792
|
+
403: ErrorResponse;
|
|
18793
|
+
/**
|
|
18794
|
+
* Resource not found
|
|
18795
|
+
*/
|
|
18796
|
+
404: ErrorResponse;
|
|
18797
|
+
/**
|
|
18798
|
+
* Idempotency-Key conflict — key reused with different body
|
|
18799
|
+
*/
|
|
18800
|
+
409: ErrorResponse;
|
|
18801
|
+
/**
|
|
18802
|
+
* Validation error
|
|
18803
|
+
*/
|
|
18804
|
+
422: ErrorResponse;
|
|
18805
|
+
/**
|
|
18806
|
+
* Rate limit exceeded
|
|
18807
|
+
*/
|
|
18808
|
+
429: ErrorResponse;
|
|
18809
|
+
/**
|
|
18810
|
+
* Internal server error
|
|
18811
|
+
*/
|
|
18812
|
+
500: ErrorResponse;
|
|
18813
|
+
};
|
|
18814
|
+
export type OpIngestFileError = OpIngestFileErrors[keyof OpIngestFileErrors];
|
|
18815
|
+
export type OpIngestFileResponses = {
|
|
18816
|
+
/**
|
|
18817
|
+
* Successful Response
|
|
18818
|
+
*/
|
|
18819
|
+
200: OperationEnvelope;
|
|
18820
|
+
};
|
|
18821
|
+
export type OpIngestFileResponse = OpIngestFileResponses[keyof OpIngestFileResponses];
|
|
18822
|
+
export type OpDeleteFileData = {
|
|
18823
|
+
body: DeleteFileOp;
|
|
18824
|
+
headers?: {
|
|
18825
|
+
/**
|
|
18826
|
+
* Idempotency-Key
|
|
18827
|
+
*/
|
|
18828
|
+
'Idempotency-Key'?: string | null;
|
|
18829
|
+
};
|
|
18830
|
+
path: {
|
|
18831
|
+
/**
|
|
18832
|
+
* Graph Id
|
|
18833
|
+
*/
|
|
18834
|
+
graph_id: string;
|
|
18835
|
+
};
|
|
18836
|
+
query?: never;
|
|
18837
|
+
url: '/v1/graphs/{graph_id}/operations/delete-file';
|
|
18838
|
+
};
|
|
18839
|
+
export type OpDeleteFileErrors = {
|
|
18840
|
+
/**
|
|
18841
|
+
* Invalid request
|
|
18842
|
+
*/
|
|
18843
|
+
400: ErrorResponse;
|
|
18844
|
+
/**
|
|
18845
|
+
* Authentication required
|
|
18846
|
+
*/
|
|
18847
|
+
401: ErrorResponse;
|
|
18848
|
+
/**
|
|
18849
|
+
* Access denied
|
|
18850
|
+
*/
|
|
18851
|
+
403: ErrorResponse;
|
|
18852
|
+
/**
|
|
18853
|
+
* Resource not found
|
|
18854
|
+
*/
|
|
18855
|
+
404: ErrorResponse;
|
|
18856
|
+
/**
|
|
18857
|
+
* Idempotency-Key conflict — key reused with different body
|
|
18858
|
+
*/
|
|
18859
|
+
409: ErrorResponse;
|
|
18860
|
+
/**
|
|
18861
|
+
* Validation error
|
|
18862
|
+
*/
|
|
18863
|
+
422: ErrorResponse;
|
|
18864
|
+
/**
|
|
18865
|
+
* Rate limit exceeded
|
|
18866
|
+
*/
|
|
18867
|
+
429: ErrorResponse;
|
|
18868
|
+
/**
|
|
18869
|
+
* Internal server error
|
|
18870
|
+
*/
|
|
18871
|
+
500: ErrorResponse;
|
|
18872
|
+
};
|
|
18873
|
+
export type OpDeleteFileError = OpDeleteFileErrors[keyof OpDeleteFileErrors];
|
|
18874
|
+
export type OpDeleteFileResponses = {
|
|
18875
|
+
/**
|
|
18876
|
+
* Successful Response
|
|
18877
|
+
*/
|
|
18878
|
+
200: OperationEnvelope;
|
|
18879
|
+
};
|
|
18880
|
+
export type OpDeleteFileResponse = OpDeleteFileResponses[keyof OpDeleteFileResponses];
|
|
18881
|
+
export type ListFilesData = {
|
|
18402
18882
|
body?: never;
|
|
18403
18883
|
path: {
|
|
18404
18884
|
/**
|
|
18405
18885
|
* Graph Id
|
|
18406
18886
|
*/
|
|
18407
18887
|
graph_id: string;
|
|
18888
|
+
};
|
|
18889
|
+
query?: {
|
|
18408
18890
|
/**
|
|
18409
|
-
*
|
|
18891
|
+
* Table Name
|
|
18410
18892
|
*
|
|
18411
|
-
*
|
|
18893
|
+
* Filter by table name (optional)
|
|
18412
18894
|
*/
|
|
18413
|
-
|
|
18895
|
+
table_name?: string | null;
|
|
18896
|
+
/**
|
|
18897
|
+
* Status
|
|
18898
|
+
*
|
|
18899
|
+
* Filter by upload status (optional)
|
|
18900
|
+
*/
|
|
18901
|
+
status?: string | null;
|
|
18414
18902
|
};
|
|
18415
|
-
|
|
18416
|
-
url: '/v1/graphs/{graph_id}/files/{file_id}';
|
|
18903
|
+
url: '/v1/graphs/{graph_id}/files';
|
|
18417
18904
|
};
|
|
18418
|
-
export type
|
|
18905
|
+
export type ListFilesErrors = {
|
|
18419
18906
|
/**
|
|
18420
18907
|
* Invalid request
|
|
18421
18908
|
*/
|
|
@@ -18445,19 +18932,16 @@ export type GetFileErrors = {
|
|
|
18445
18932
|
*/
|
|
18446
18933
|
500: ErrorResponse;
|
|
18447
18934
|
};
|
|
18448
|
-
export type
|
|
18449
|
-
export type
|
|
18935
|
+
export type ListFilesError = ListFilesErrors[keyof ListFilesErrors];
|
|
18936
|
+
export type ListFilesResponses = {
|
|
18450
18937
|
/**
|
|
18451
18938
|
* Successful Response
|
|
18452
18939
|
*/
|
|
18453
|
-
200:
|
|
18940
|
+
200: ListTableFilesResponse;
|
|
18454
18941
|
};
|
|
18455
|
-
export type
|
|
18456
|
-
export type
|
|
18457
|
-
|
|
18458
|
-
* Status update request
|
|
18459
|
-
*/
|
|
18460
|
-
body: FileStatusUpdate;
|
|
18942
|
+
export type ListFilesResponse = ListFilesResponses[keyof ListFilesResponses];
|
|
18943
|
+
export type GetFileData = {
|
|
18944
|
+
body?: never;
|
|
18461
18945
|
path: {
|
|
18462
18946
|
/**
|
|
18463
18947
|
* Graph Id
|
|
@@ -18473,7 +18957,7 @@ export type UpdateFileData = {
|
|
|
18473
18957
|
query?: never;
|
|
18474
18958
|
url: '/v1/graphs/{graph_id}/files/{file_id}';
|
|
18475
18959
|
};
|
|
18476
|
-
export type
|
|
18960
|
+
export type GetFileErrors = {
|
|
18477
18961
|
/**
|
|
18478
18962
|
* Invalid request
|
|
18479
18963
|
*/
|
|
@@ -18503,18 +18987,14 @@ export type UpdateFileErrors = {
|
|
|
18503
18987
|
*/
|
|
18504
18988
|
500: ErrorResponse;
|
|
18505
18989
|
};
|
|
18506
|
-
export type
|
|
18507
|
-
export type
|
|
18990
|
+
export type GetFileError = GetFileErrors[keyof GetFileErrors];
|
|
18991
|
+
export type GetFileResponses = {
|
|
18508
18992
|
/**
|
|
18509
|
-
* Response Updatefile
|
|
18510
|
-
*
|
|
18511
18993
|
* Successful Response
|
|
18512
18994
|
*/
|
|
18513
|
-
200:
|
|
18514
|
-
[key: string]: unknown;
|
|
18515
|
-
};
|
|
18995
|
+
200: GetFileInfoResponse;
|
|
18516
18996
|
};
|
|
18517
|
-
export type
|
|
18997
|
+
export type GetFileResponse = GetFileResponses[keyof GetFileResponses];
|
|
18518
18998
|
export type GetGraphsData = {
|
|
18519
18999
|
body?: never;
|
|
18520
19000
|
path?: never;
|
|
@@ -19635,6 +20115,65 @@ export type OpUpdateEntityResponses = {
|
|
|
19635
20115
|
200: OperationEnvelopeLedgerEntityResponse;
|
|
19636
20116
|
};
|
|
19637
20117
|
export type OpUpdateEntityResponse = OpUpdateEntityResponses[keyof OpUpdateEntityResponses];
|
|
20118
|
+
export type OpChangeReportingStyleData = {
|
|
20119
|
+
body: ChangeReportingStyleRequest;
|
|
20120
|
+
headers?: {
|
|
20121
|
+
/**
|
|
20122
|
+
* Idempotency-Key
|
|
20123
|
+
*/
|
|
20124
|
+
'Idempotency-Key'?: string | null;
|
|
20125
|
+
};
|
|
20126
|
+
path: {
|
|
20127
|
+
/**
|
|
20128
|
+
* Graph Id
|
|
20129
|
+
*/
|
|
20130
|
+
graph_id: string;
|
|
20131
|
+
};
|
|
20132
|
+
query?: never;
|
|
20133
|
+
url: '/extensions/roboledger/{graph_id}/operations/change-reporting-style';
|
|
20134
|
+
};
|
|
20135
|
+
export type OpChangeReportingStyleErrors = {
|
|
20136
|
+
/**
|
|
20137
|
+
* Invalid request
|
|
20138
|
+
*/
|
|
20139
|
+
400: ErrorResponse;
|
|
20140
|
+
/**
|
|
20141
|
+
* Authentication required
|
|
20142
|
+
*/
|
|
20143
|
+
401: ErrorResponse;
|
|
20144
|
+
/**
|
|
20145
|
+
* Access denied
|
|
20146
|
+
*/
|
|
20147
|
+
403: ErrorResponse;
|
|
20148
|
+
/**
|
|
20149
|
+
* Resource not found
|
|
20150
|
+
*/
|
|
20151
|
+
404: ErrorResponse;
|
|
20152
|
+
/**
|
|
20153
|
+
* Idempotency-Key conflict — key reused with different body
|
|
20154
|
+
*/
|
|
20155
|
+
409: ErrorResponse;
|
|
20156
|
+
/**
|
|
20157
|
+
* Validation error
|
|
20158
|
+
*/
|
|
20159
|
+
422: ErrorResponse;
|
|
20160
|
+
/**
|
|
20161
|
+
* Rate limit exceeded
|
|
20162
|
+
*/
|
|
20163
|
+
429: ErrorResponse;
|
|
20164
|
+
/**
|
|
20165
|
+
* Internal server error
|
|
20166
|
+
*/
|
|
20167
|
+
500: ErrorResponse;
|
|
20168
|
+
};
|
|
20169
|
+
export type OpChangeReportingStyleError = OpChangeReportingStyleErrors[keyof OpChangeReportingStyleErrors];
|
|
20170
|
+
export type OpChangeReportingStyleResponses = {
|
|
20171
|
+
/**
|
|
20172
|
+
* Successful Response
|
|
20173
|
+
*/
|
|
20174
|
+
200: OperationEnvelopeChangeReportingStyleResponse;
|
|
20175
|
+
};
|
|
20176
|
+
export type OpChangeReportingStyleResponse = OpChangeReportingStyleResponses[keyof OpChangeReportingStyleResponses];
|
|
19638
20177
|
export type OpCreateTaxonomyBlockData = {
|
|
19639
20178
|
body: CreateTaxonomyBlockRequest;
|
|
19640
20179
|
headers?: {
|