@vectorize-io/hindsight-client 0.2.1 → 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/dist/generated/sdk.gen.d.ts +122 -10
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +196 -10
- package/dist/generated/sdk.gen.js.map +1 -1
- package/dist/generated/types.gen.d.ts +1530 -80
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/src/index.d.ts +96 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +194 -10
- package/dist/src/index.js.map +1 -1
- package/generated/sdk.gen.ts +370 -9
- package/generated/types.gen.ts +1693 -108
- package/package.json +2 -2
- package/src/index.ts +275 -13
|
@@ -4,7 +4,7 @@ export type ClientOptions = {
|
|
|
4
4
|
/**
|
|
5
5
|
* AddBackgroundRequest
|
|
6
6
|
*
|
|
7
|
-
* Request model for adding/merging background information.
|
|
7
|
+
* Request model for adding/merging background information. Deprecated: use SetMissionRequest instead.
|
|
8
8
|
*/
|
|
9
9
|
export type AddBackgroundRequest = {
|
|
10
10
|
/**
|
|
@@ -16,20 +16,41 @@ export type AddBackgroundRequest = {
|
|
|
16
16
|
/**
|
|
17
17
|
* Update Disposition
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* Deprecated - disposition is no longer auto-inferred from mission
|
|
20
20
|
*/
|
|
21
21
|
update_disposition?: boolean;
|
|
22
22
|
};
|
|
23
|
+
/**
|
|
24
|
+
* AsyncOperationSubmitResponse
|
|
25
|
+
*
|
|
26
|
+
* Response model for submitting an async operation.
|
|
27
|
+
*/
|
|
28
|
+
export type AsyncOperationSubmitResponse = {
|
|
29
|
+
/**
|
|
30
|
+
* Operation Id
|
|
31
|
+
*/
|
|
32
|
+
operation_id: string;
|
|
33
|
+
/**
|
|
34
|
+
* Status
|
|
35
|
+
*/
|
|
36
|
+
status: string;
|
|
37
|
+
};
|
|
23
38
|
/**
|
|
24
39
|
* BackgroundResponse
|
|
25
40
|
*
|
|
26
|
-
* Response model for background update.
|
|
41
|
+
* Response model for background update. Deprecated: use MissionResponse instead.
|
|
27
42
|
*/
|
|
28
43
|
export type BackgroundResponse = {
|
|
44
|
+
/**
|
|
45
|
+
* Mission
|
|
46
|
+
*/
|
|
47
|
+
mission: string;
|
|
29
48
|
/**
|
|
30
49
|
* Background
|
|
50
|
+
*
|
|
51
|
+
* Deprecated: same as mission
|
|
31
52
|
*/
|
|
32
|
-
background
|
|
53
|
+
background?: string | null;
|
|
33
54
|
disposition?: DispositionTraits | null;
|
|
34
55
|
};
|
|
35
56
|
/**
|
|
@@ -48,9 +69,9 @@ export type BankListItem = {
|
|
|
48
69
|
name?: string | null;
|
|
49
70
|
disposition: DispositionTraits;
|
|
50
71
|
/**
|
|
51
|
-
*
|
|
72
|
+
* Mission
|
|
52
73
|
*/
|
|
53
|
-
|
|
74
|
+
mission?: string | null;
|
|
54
75
|
/**
|
|
55
76
|
* Created At
|
|
56
77
|
*/
|
|
@@ -86,10 +107,18 @@ export type BankProfileResponse = {
|
|
|
86
107
|
*/
|
|
87
108
|
name: string;
|
|
88
109
|
disposition: DispositionTraits;
|
|
110
|
+
/**
|
|
111
|
+
* Mission
|
|
112
|
+
*
|
|
113
|
+
* The agent's mission - who they are and what they're trying to accomplish
|
|
114
|
+
*/
|
|
115
|
+
mission: string;
|
|
89
116
|
/**
|
|
90
117
|
* Background
|
|
118
|
+
*
|
|
119
|
+
* Deprecated: use mission instead
|
|
91
120
|
*/
|
|
92
|
-
background
|
|
121
|
+
background?: string | null;
|
|
93
122
|
};
|
|
94
123
|
/**
|
|
95
124
|
* BankStatsResponse
|
|
@@ -147,6 +176,24 @@ export type BankStatsResponse = {
|
|
|
147
176
|
* Failed Operations
|
|
148
177
|
*/
|
|
149
178
|
failed_operations: number;
|
|
179
|
+
/**
|
|
180
|
+
* Last Consolidated At
|
|
181
|
+
*
|
|
182
|
+
* When consolidation last ran (ISO format)
|
|
183
|
+
*/
|
|
184
|
+
last_consolidated_at?: string | null;
|
|
185
|
+
/**
|
|
186
|
+
* Pending Consolidation
|
|
187
|
+
*
|
|
188
|
+
* Number of memories not yet processed into observations
|
|
189
|
+
*/
|
|
190
|
+
pending_consolidation?: number;
|
|
191
|
+
/**
|
|
192
|
+
* Total Observations
|
|
193
|
+
*
|
|
194
|
+
* Total number of observations
|
|
195
|
+
*/
|
|
196
|
+
total_observations?: number;
|
|
150
197
|
};
|
|
151
198
|
/**
|
|
152
199
|
* Budget
|
|
@@ -242,6 +289,25 @@ export type ChunkResponse = {
|
|
|
242
289
|
*/
|
|
243
290
|
created_at: string;
|
|
244
291
|
};
|
|
292
|
+
/**
|
|
293
|
+
* ConsolidationResponse
|
|
294
|
+
*
|
|
295
|
+
* Response model for consolidation trigger endpoint.
|
|
296
|
+
*/
|
|
297
|
+
export type ConsolidationResponse = {
|
|
298
|
+
/**
|
|
299
|
+
* Operation Id
|
|
300
|
+
*
|
|
301
|
+
* ID of the async consolidation operation
|
|
302
|
+
*/
|
|
303
|
+
operation_id: string;
|
|
304
|
+
/**
|
|
305
|
+
* Deduplicated
|
|
306
|
+
*
|
|
307
|
+
* True if an existing pending task was reused
|
|
308
|
+
*/
|
|
309
|
+
deduplicated?: boolean;
|
|
310
|
+
};
|
|
245
311
|
/**
|
|
246
312
|
* CreateBankRequest
|
|
247
313
|
*
|
|
@@ -253,11 +319,104 @@ export type CreateBankRequest = {
|
|
|
253
319
|
*/
|
|
254
320
|
name?: string | null;
|
|
255
321
|
disposition?: DispositionTraits | null;
|
|
322
|
+
/**
|
|
323
|
+
* Mission
|
|
324
|
+
*
|
|
325
|
+
* The agent's mission
|
|
326
|
+
*/
|
|
327
|
+
mission?: string | null;
|
|
256
328
|
/**
|
|
257
329
|
* Background
|
|
330
|
+
*
|
|
331
|
+
* Deprecated: use mission instead
|
|
258
332
|
*/
|
|
259
333
|
background?: string | null;
|
|
260
334
|
};
|
|
335
|
+
/**
|
|
336
|
+
* CreateDirectiveRequest
|
|
337
|
+
*
|
|
338
|
+
* Request model for creating a directive.
|
|
339
|
+
*/
|
|
340
|
+
export type CreateDirectiveRequest = {
|
|
341
|
+
/**
|
|
342
|
+
* Name
|
|
343
|
+
*
|
|
344
|
+
* Human-readable name for the directive
|
|
345
|
+
*/
|
|
346
|
+
name: string;
|
|
347
|
+
/**
|
|
348
|
+
* Content
|
|
349
|
+
*
|
|
350
|
+
* The directive text to inject into prompts
|
|
351
|
+
*/
|
|
352
|
+
content: string;
|
|
353
|
+
/**
|
|
354
|
+
* Priority
|
|
355
|
+
*
|
|
356
|
+
* Higher priority directives are injected first
|
|
357
|
+
*/
|
|
358
|
+
priority?: number;
|
|
359
|
+
/**
|
|
360
|
+
* Is Active
|
|
361
|
+
*
|
|
362
|
+
* Whether this directive is active
|
|
363
|
+
*/
|
|
364
|
+
is_active?: boolean;
|
|
365
|
+
/**
|
|
366
|
+
* Tags
|
|
367
|
+
*
|
|
368
|
+
* Tags for filtering
|
|
369
|
+
*/
|
|
370
|
+
tags?: Array<string>;
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* CreateMentalModelRequest
|
|
374
|
+
*
|
|
375
|
+
* Request model for creating a mental model.
|
|
376
|
+
*/
|
|
377
|
+
export type CreateMentalModelRequest = {
|
|
378
|
+
/**
|
|
379
|
+
* Name
|
|
380
|
+
*
|
|
381
|
+
* Human-readable name for the mental model
|
|
382
|
+
*/
|
|
383
|
+
name: string;
|
|
384
|
+
/**
|
|
385
|
+
* Source Query
|
|
386
|
+
*
|
|
387
|
+
* The query to run to generate content
|
|
388
|
+
*/
|
|
389
|
+
source_query: string;
|
|
390
|
+
/**
|
|
391
|
+
* Tags
|
|
392
|
+
*
|
|
393
|
+
* Tags for scoped visibility
|
|
394
|
+
*/
|
|
395
|
+
tags?: Array<string>;
|
|
396
|
+
/**
|
|
397
|
+
* Max Tokens
|
|
398
|
+
*
|
|
399
|
+
* Maximum tokens for generated content
|
|
400
|
+
*/
|
|
401
|
+
max_tokens?: number;
|
|
402
|
+
/**
|
|
403
|
+
* Trigger settings
|
|
404
|
+
*/
|
|
405
|
+
trigger?: MentalModelTrigger;
|
|
406
|
+
};
|
|
407
|
+
/**
|
|
408
|
+
* CreateMentalModelResponse
|
|
409
|
+
*
|
|
410
|
+
* Response model for mental model creation.
|
|
411
|
+
*/
|
|
412
|
+
export type CreateMentalModelResponse = {
|
|
413
|
+
/**
|
|
414
|
+
* Operation Id
|
|
415
|
+
*
|
|
416
|
+
* Operation ID to track progress
|
|
417
|
+
*/
|
|
418
|
+
operation_id: string;
|
|
419
|
+
};
|
|
261
420
|
/**
|
|
262
421
|
* DeleteDocumentResponse
|
|
263
422
|
*
|
|
@@ -300,6 +459,60 @@ export type DeleteResponse = {
|
|
|
300
459
|
*/
|
|
301
460
|
deleted_count?: number | null;
|
|
302
461
|
};
|
|
462
|
+
/**
|
|
463
|
+
* DirectiveListResponse
|
|
464
|
+
*
|
|
465
|
+
* Response model for listing directives.
|
|
466
|
+
*/
|
|
467
|
+
export type DirectiveListResponse = {
|
|
468
|
+
/**
|
|
469
|
+
* Items
|
|
470
|
+
*/
|
|
471
|
+
items: Array<DirectiveResponse>;
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* DirectiveResponse
|
|
475
|
+
*
|
|
476
|
+
* Response model for a directive.
|
|
477
|
+
*/
|
|
478
|
+
export type DirectiveResponse = {
|
|
479
|
+
/**
|
|
480
|
+
* Id
|
|
481
|
+
*/
|
|
482
|
+
id: string;
|
|
483
|
+
/**
|
|
484
|
+
* Bank Id
|
|
485
|
+
*/
|
|
486
|
+
bank_id: string;
|
|
487
|
+
/**
|
|
488
|
+
* Name
|
|
489
|
+
*/
|
|
490
|
+
name: string;
|
|
491
|
+
/**
|
|
492
|
+
* Content
|
|
493
|
+
*/
|
|
494
|
+
content: string;
|
|
495
|
+
/**
|
|
496
|
+
* Priority
|
|
497
|
+
*/
|
|
498
|
+
priority?: number;
|
|
499
|
+
/**
|
|
500
|
+
* Is Active
|
|
501
|
+
*/
|
|
502
|
+
is_active?: boolean;
|
|
503
|
+
/**
|
|
504
|
+
* Tags
|
|
505
|
+
*/
|
|
506
|
+
tags?: Array<string>;
|
|
507
|
+
/**
|
|
508
|
+
* Created At
|
|
509
|
+
*/
|
|
510
|
+
created_at?: string | null;
|
|
511
|
+
/**
|
|
512
|
+
* Updated At
|
|
513
|
+
*/
|
|
514
|
+
updated_at?: string | null;
|
|
515
|
+
};
|
|
303
516
|
/**
|
|
304
517
|
* DispositionTraits
|
|
305
518
|
*
|
|
@@ -359,6 +572,12 @@ export type DocumentResponse = {
|
|
|
359
572
|
* Memory Unit Count
|
|
360
573
|
*/
|
|
361
574
|
memory_unit_count: number;
|
|
575
|
+
/**
|
|
576
|
+
* Tags
|
|
577
|
+
*
|
|
578
|
+
* Tags associated with this document
|
|
579
|
+
*/
|
|
580
|
+
tags?: Array<string>;
|
|
362
581
|
};
|
|
363
582
|
/**
|
|
364
583
|
* EntityDetailResponse
|
|
@@ -472,6 +691,18 @@ export type EntityListResponse = {
|
|
|
472
691
|
* Items
|
|
473
692
|
*/
|
|
474
693
|
items: Array<EntityListItem>;
|
|
694
|
+
/**
|
|
695
|
+
* Total
|
|
696
|
+
*/
|
|
697
|
+
total: number;
|
|
698
|
+
/**
|
|
699
|
+
* Limit
|
|
700
|
+
*/
|
|
701
|
+
limit: number;
|
|
702
|
+
/**
|
|
703
|
+
* Offset
|
|
704
|
+
*/
|
|
705
|
+
offset: number;
|
|
475
706
|
};
|
|
476
707
|
/**
|
|
477
708
|
* EntityObservationResponse
|
|
@@ -515,6 +746,31 @@ export type EntityStateResponse = {
|
|
|
515
746
|
export type FactsIncludeOptions = {
|
|
516
747
|
[key: string]: unknown;
|
|
517
748
|
};
|
|
749
|
+
/**
|
|
750
|
+
* FeaturesInfo
|
|
751
|
+
*
|
|
752
|
+
* Feature flags indicating which capabilities are enabled.
|
|
753
|
+
*/
|
|
754
|
+
export type FeaturesInfo = {
|
|
755
|
+
/**
|
|
756
|
+
* Observations
|
|
757
|
+
*
|
|
758
|
+
* Whether observations (auto-consolidation) are enabled
|
|
759
|
+
*/
|
|
760
|
+
observations: boolean;
|
|
761
|
+
/**
|
|
762
|
+
* Mcp
|
|
763
|
+
*
|
|
764
|
+
* Whether MCP (Model Context Protocol) server is enabled
|
|
765
|
+
*/
|
|
766
|
+
mcp: boolean;
|
|
767
|
+
/**
|
|
768
|
+
* Worker
|
|
769
|
+
*
|
|
770
|
+
* Whether the background worker is enabled
|
|
771
|
+
*/
|
|
772
|
+
worker: boolean;
|
|
773
|
+
};
|
|
518
774
|
/**
|
|
519
775
|
* GraphDataResponse
|
|
520
776
|
*
|
|
@@ -543,6 +799,10 @@ export type GraphDataResponse = {
|
|
|
543
799
|
* Total Units
|
|
544
800
|
*/
|
|
545
801
|
total_units: number;
|
|
802
|
+
/**
|
|
803
|
+
* Limit
|
|
804
|
+
*/
|
|
805
|
+
limit: number;
|
|
546
806
|
};
|
|
547
807
|
/**
|
|
548
808
|
* HTTPValidationError
|
|
@@ -618,6 +878,29 @@ export type ListMemoryUnitsResponse = {
|
|
|
618
878
|
*/
|
|
619
879
|
offset: number;
|
|
620
880
|
};
|
|
881
|
+
/**
|
|
882
|
+
* ListTagsResponse
|
|
883
|
+
*
|
|
884
|
+
* Response model for list tags endpoint.
|
|
885
|
+
*/
|
|
886
|
+
export type ListTagsResponse = {
|
|
887
|
+
/**
|
|
888
|
+
* Items
|
|
889
|
+
*/
|
|
890
|
+
items: Array<TagItem>;
|
|
891
|
+
/**
|
|
892
|
+
* Total
|
|
893
|
+
*/
|
|
894
|
+
total: number;
|
|
895
|
+
/**
|
|
896
|
+
* Limit
|
|
897
|
+
*/
|
|
898
|
+
limit: number;
|
|
899
|
+
/**
|
|
900
|
+
* Offset
|
|
901
|
+
*/
|
|
902
|
+
offset: number;
|
|
903
|
+
};
|
|
621
904
|
/**
|
|
622
905
|
* MemoryItem
|
|
623
906
|
*
|
|
@@ -654,6 +937,88 @@ export type MemoryItem = {
|
|
|
654
937
|
* Optional entities to combine with auto-extracted entities.
|
|
655
938
|
*/
|
|
656
939
|
entities?: Array<EntityInput> | null;
|
|
940
|
+
/**
|
|
941
|
+
* Tags
|
|
942
|
+
*
|
|
943
|
+
* Optional tags for visibility scoping. Memories with tags can be filtered during recall.
|
|
944
|
+
*/
|
|
945
|
+
tags?: Array<string> | null;
|
|
946
|
+
};
|
|
947
|
+
/**
|
|
948
|
+
* MentalModelListResponse
|
|
949
|
+
*
|
|
950
|
+
* Response model for listing mental models.
|
|
951
|
+
*/
|
|
952
|
+
export type MentalModelListResponse = {
|
|
953
|
+
/**
|
|
954
|
+
* Items
|
|
955
|
+
*/
|
|
956
|
+
items: Array<MentalModelResponse>;
|
|
957
|
+
};
|
|
958
|
+
/**
|
|
959
|
+
* MentalModelResponse
|
|
960
|
+
*
|
|
961
|
+
* Response model for a mental model (stored reflect response).
|
|
962
|
+
*/
|
|
963
|
+
export type MentalModelResponse = {
|
|
964
|
+
/**
|
|
965
|
+
* Id
|
|
966
|
+
*/
|
|
967
|
+
id: string;
|
|
968
|
+
/**
|
|
969
|
+
* Bank Id
|
|
970
|
+
*/
|
|
971
|
+
bank_id: string;
|
|
972
|
+
/**
|
|
973
|
+
* Name
|
|
974
|
+
*/
|
|
975
|
+
name: string;
|
|
976
|
+
/**
|
|
977
|
+
* Source Query
|
|
978
|
+
*/
|
|
979
|
+
source_query: string;
|
|
980
|
+
/**
|
|
981
|
+
* Content
|
|
982
|
+
*/
|
|
983
|
+
content: string;
|
|
984
|
+
/**
|
|
985
|
+
* Tags
|
|
986
|
+
*/
|
|
987
|
+
tags?: Array<string>;
|
|
988
|
+
/**
|
|
989
|
+
* Max Tokens
|
|
990
|
+
*/
|
|
991
|
+
max_tokens?: number;
|
|
992
|
+
trigger?: MentalModelTrigger;
|
|
993
|
+
/**
|
|
994
|
+
* Last Refreshed At
|
|
995
|
+
*/
|
|
996
|
+
last_refreshed_at?: string | null;
|
|
997
|
+
/**
|
|
998
|
+
* Created At
|
|
999
|
+
*/
|
|
1000
|
+
created_at?: string | null;
|
|
1001
|
+
/**
|
|
1002
|
+
* Reflect Response
|
|
1003
|
+
*
|
|
1004
|
+
* Full reflect API response payload including based_on facts and observations
|
|
1005
|
+
*/
|
|
1006
|
+
reflect_response?: {
|
|
1007
|
+
[key: string]: unknown;
|
|
1008
|
+
} | null;
|
|
1009
|
+
};
|
|
1010
|
+
/**
|
|
1011
|
+
* MentalModelTrigger
|
|
1012
|
+
*
|
|
1013
|
+
* Trigger settings for a mental model.
|
|
1014
|
+
*/
|
|
1015
|
+
export type MentalModelTrigger = {
|
|
1016
|
+
/**
|
|
1017
|
+
* Refresh After Consolidation
|
|
1018
|
+
*
|
|
1019
|
+
* If true, refresh this mental model after observations consolidation (real-time mode)
|
|
1020
|
+
*/
|
|
1021
|
+
refresh_after_consolidation?: boolean;
|
|
657
1022
|
};
|
|
658
1023
|
/**
|
|
659
1024
|
* OperationResponse
|
|
@@ -676,7 +1041,7 @@ export type OperationResponse = {
|
|
|
676
1041
|
/**
|
|
677
1042
|
* Document Id
|
|
678
1043
|
*/
|
|
679
|
-
document_id
|
|
1044
|
+
document_id?: string | null;
|
|
680
1045
|
/**
|
|
681
1046
|
* Created At
|
|
682
1047
|
*/
|
|
@@ -691,15 +1056,62 @@ export type OperationResponse = {
|
|
|
691
1056
|
error_message: string | null;
|
|
692
1057
|
};
|
|
693
1058
|
/**
|
|
694
|
-
*
|
|
1059
|
+
* OperationStatusResponse
|
|
695
1060
|
*
|
|
696
|
-
* Response model for
|
|
1061
|
+
* Response model for getting a single operation status.
|
|
697
1062
|
*/
|
|
698
|
-
export type
|
|
1063
|
+
export type OperationStatusResponse = {
|
|
699
1064
|
/**
|
|
700
|
-
*
|
|
1065
|
+
* Operation Id
|
|
1066
|
+
*/
|
|
1067
|
+
operation_id: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* Status
|
|
1070
|
+
*/
|
|
1071
|
+
status: "pending" | "completed" | "failed" | "not_found";
|
|
1072
|
+
/**
|
|
1073
|
+
* Operation Type
|
|
1074
|
+
*/
|
|
1075
|
+
operation_type?: string | null;
|
|
1076
|
+
/**
|
|
1077
|
+
* Created At
|
|
1078
|
+
*/
|
|
1079
|
+
created_at?: string | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* Updated At
|
|
1082
|
+
*/
|
|
1083
|
+
updated_at?: string | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Completed At
|
|
1086
|
+
*/
|
|
1087
|
+
completed_at?: string | null;
|
|
1088
|
+
/**
|
|
1089
|
+
* Error Message
|
|
1090
|
+
*/
|
|
1091
|
+
error_message?: string | null;
|
|
1092
|
+
};
|
|
1093
|
+
/**
|
|
1094
|
+
* OperationsListResponse
|
|
1095
|
+
*
|
|
1096
|
+
* Response model for list operations endpoint.
|
|
1097
|
+
*/
|
|
1098
|
+
export type OperationsListResponse = {
|
|
1099
|
+
/**
|
|
1100
|
+
* Bank Id
|
|
701
1101
|
*/
|
|
702
1102
|
bank_id: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* Total
|
|
1105
|
+
*/
|
|
1106
|
+
total: number;
|
|
1107
|
+
/**
|
|
1108
|
+
* Limit
|
|
1109
|
+
*/
|
|
1110
|
+
limit: number;
|
|
1111
|
+
/**
|
|
1112
|
+
* Offset
|
|
1113
|
+
*/
|
|
1114
|
+
offset: number;
|
|
703
1115
|
/**
|
|
704
1116
|
* Operations
|
|
705
1117
|
*/
|
|
@@ -718,7 +1130,7 @@ export type RecallRequest = {
|
|
|
718
1130
|
/**
|
|
719
1131
|
* Types
|
|
720
1132
|
*
|
|
721
|
-
* List of fact types to recall
|
|
1133
|
+
* List of fact types to recall: 'world', 'experience', 'observation'. Defaults to world and experience if not specified. Note: 'opinion' is accepted but ignored (opinions are excluded from recall).
|
|
722
1134
|
*/
|
|
723
1135
|
types?: Array<string> | null;
|
|
724
1136
|
budget?: Budget;
|
|
@@ -740,6 +1152,18 @@ export type RecallRequest = {
|
|
|
740
1152
|
* Options for including additional data (entities are included by default)
|
|
741
1153
|
*/
|
|
742
1154
|
include?: IncludeOptions;
|
|
1155
|
+
/**
|
|
1156
|
+
* Tags
|
|
1157
|
+
*
|
|
1158
|
+
* Filter memories by tags. If not specified, all memories are returned.
|
|
1159
|
+
*/
|
|
1160
|
+
tags?: Array<string> | null;
|
|
1161
|
+
/**
|
|
1162
|
+
* Tags Match
|
|
1163
|
+
*
|
|
1164
|
+
* How to match tags: 'any' (OR, includes untagged), 'all' (AND, includes untagged), 'any_strict' (OR, excludes untagged), 'all_strict' (AND, excludes untagged).
|
|
1165
|
+
*/
|
|
1166
|
+
tags_match?: "any" | "all" | "any_strict" | "all_strict";
|
|
743
1167
|
};
|
|
744
1168
|
/**
|
|
745
1169
|
* RecallResponse
|
|
@@ -826,6 +1250,60 @@ export type RecallResult = {
|
|
|
826
1250
|
* Chunk Id
|
|
827
1251
|
*/
|
|
828
1252
|
chunk_id?: string | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Tags
|
|
1255
|
+
*/
|
|
1256
|
+
tags?: Array<string> | null;
|
|
1257
|
+
};
|
|
1258
|
+
/**
|
|
1259
|
+
* ReflectBasedOn
|
|
1260
|
+
*
|
|
1261
|
+
* Evidence the response is based on: memories, mental models, and directives.
|
|
1262
|
+
*/
|
|
1263
|
+
export type ReflectBasedOn = {
|
|
1264
|
+
/**
|
|
1265
|
+
* Memories
|
|
1266
|
+
*
|
|
1267
|
+
* Memory facts used to generate the response
|
|
1268
|
+
*/
|
|
1269
|
+
memories?: Array<ReflectFact>;
|
|
1270
|
+
/**
|
|
1271
|
+
* Mental Models
|
|
1272
|
+
*
|
|
1273
|
+
* Mental models used during reflection
|
|
1274
|
+
*/
|
|
1275
|
+
mental_models?: Array<ReflectMentalModel>;
|
|
1276
|
+
/**
|
|
1277
|
+
* Directives
|
|
1278
|
+
*
|
|
1279
|
+
* Directives applied during reflection
|
|
1280
|
+
*/
|
|
1281
|
+
directives?: Array<ReflectDirective>;
|
|
1282
|
+
};
|
|
1283
|
+
/**
|
|
1284
|
+
* ReflectDirective
|
|
1285
|
+
*
|
|
1286
|
+
* A directive applied during reflect.
|
|
1287
|
+
*/
|
|
1288
|
+
export type ReflectDirective = {
|
|
1289
|
+
/**
|
|
1290
|
+
* Id
|
|
1291
|
+
*
|
|
1292
|
+
* Directive ID
|
|
1293
|
+
*/
|
|
1294
|
+
id: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* Name
|
|
1297
|
+
*
|
|
1298
|
+
* Directive name
|
|
1299
|
+
*/
|
|
1300
|
+
name: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* Content
|
|
1303
|
+
*
|
|
1304
|
+
* Directive content
|
|
1305
|
+
*/
|
|
1306
|
+
content: string;
|
|
829
1307
|
};
|
|
830
1308
|
/**
|
|
831
1309
|
* ReflectFact
|
|
@@ -868,6 +1346,54 @@ export type ReflectIncludeOptions = {
|
|
|
868
1346
|
* Include facts that the answer is based on. Set to {} to enable, null to disable (default: disabled).
|
|
869
1347
|
*/
|
|
870
1348
|
facts?: FactsIncludeOptions | null;
|
|
1349
|
+
/**
|
|
1350
|
+
* Include tool calls trace. Set to {} for full trace (input+output), {output: false} for inputs only.
|
|
1351
|
+
*/
|
|
1352
|
+
tool_calls?: ToolCallsIncludeOptions | null;
|
|
1353
|
+
};
|
|
1354
|
+
/**
|
|
1355
|
+
* ReflectLLMCall
|
|
1356
|
+
*
|
|
1357
|
+
* An LLM call made during reflect agent execution.
|
|
1358
|
+
*/
|
|
1359
|
+
export type ReflectLlmCall = {
|
|
1360
|
+
/**
|
|
1361
|
+
* Scope
|
|
1362
|
+
*
|
|
1363
|
+
* Call scope: agent_1, agent_2, final, etc.
|
|
1364
|
+
*/
|
|
1365
|
+
scope: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* Duration Ms
|
|
1368
|
+
*
|
|
1369
|
+
* Execution time in milliseconds
|
|
1370
|
+
*/
|
|
1371
|
+
duration_ms: number;
|
|
1372
|
+
};
|
|
1373
|
+
/**
|
|
1374
|
+
* ReflectMentalModel
|
|
1375
|
+
*
|
|
1376
|
+
* A mental model used during reflect.
|
|
1377
|
+
*/
|
|
1378
|
+
export type ReflectMentalModel = {
|
|
1379
|
+
/**
|
|
1380
|
+
* Id
|
|
1381
|
+
*
|
|
1382
|
+
* Mental model ID
|
|
1383
|
+
*/
|
|
1384
|
+
id: string;
|
|
1385
|
+
/**
|
|
1386
|
+
* Text
|
|
1387
|
+
*
|
|
1388
|
+
* Mental model content
|
|
1389
|
+
*/
|
|
1390
|
+
text: string;
|
|
1391
|
+
/**
|
|
1392
|
+
* Context
|
|
1393
|
+
*
|
|
1394
|
+
* Additional context
|
|
1395
|
+
*/
|
|
1396
|
+
context?: string | null;
|
|
871
1397
|
};
|
|
872
1398
|
/**
|
|
873
1399
|
* ReflectRequest
|
|
@@ -882,6 +1408,10 @@ export type ReflectRequest = {
|
|
|
882
1408
|
budget?: Budget;
|
|
883
1409
|
/**
|
|
884
1410
|
* Context
|
|
1411
|
+
*
|
|
1412
|
+
* DEPRECATED: Additional context is now concatenated with the query. Pass context directly in the query field instead. If provided, it will be appended to the query for backward compatibility.
|
|
1413
|
+
*
|
|
1414
|
+
* @deprecated
|
|
885
1415
|
*/
|
|
886
1416
|
context?: string | null;
|
|
887
1417
|
/**
|
|
@@ -902,6 +1432,18 @@ export type ReflectRequest = {
|
|
|
902
1432
|
response_schema?: {
|
|
903
1433
|
[key: string]: unknown;
|
|
904
1434
|
} | null;
|
|
1435
|
+
/**
|
|
1436
|
+
* Tags
|
|
1437
|
+
*
|
|
1438
|
+
* Filter memories by tags during reflection. If not specified, all memories are considered.
|
|
1439
|
+
*/
|
|
1440
|
+
tags?: Array<string> | null;
|
|
1441
|
+
/**
|
|
1442
|
+
* Tags Match
|
|
1443
|
+
*
|
|
1444
|
+
* How to match tags: 'any' (OR, includes untagged), 'all' (AND, includes untagged), 'any_strict' (OR, excludes untagged), 'all_strict' (AND, excludes untagged).
|
|
1445
|
+
*/
|
|
1446
|
+
tags_match?: "any" | "all" | "any_strict" | "all_strict";
|
|
905
1447
|
};
|
|
906
1448
|
/**
|
|
907
1449
|
* ReflectResponse
|
|
@@ -914,9 +1456,9 @@ export type ReflectResponse = {
|
|
|
914
1456
|
*/
|
|
915
1457
|
text: string;
|
|
916
1458
|
/**
|
|
917
|
-
*
|
|
1459
|
+
* Evidence used to generate the response. Only present when include.facts is set.
|
|
918
1460
|
*/
|
|
919
|
-
based_on?:
|
|
1461
|
+
based_on?: ReflectBasedOn | null;
|
|
920
1462
|
/**
|
|
921
1463
|
* Structured Output
|
|
922
1464
|
*
|
|
@@ -925,6 +1467,74 @@ export type ReflectResponse = {
|
|
|
925
1467
|
structured_output?: {
|
|
926
1468
|
[key: string]: unknown;
|
|
927
1469
|
} | null;
|
|
1470
|
+
/**
|
|
1471
|
+
* Token usage metrics for LLM calls during reflection.
|
|
1472
|
+
*/
|
|
1473
|
+
usage?: TokenUsage | null;
|
|
1474
|
+
/**
|
|
1475
|
+
* Execution trace of tool and LLM calls. Only present when include.tool_calls is set.
|
|
1476
|
+
*/
|
|
1477
|
+
trace?: ReflectTrace | null;
|
|
1478
|
+
};
|
|
1479
|
+
/**
|
|
1480
|
+
* ReflectToolCall
|
|
1481
|
+
*
|
|
1482
|
+
* A tool call made during reflect agent execution.
|
|
1483
|
+
*/
|
|
1484
|
+
export type ReflectToolCall = {
|
|
1485
|
+
/**
|
|
1486
|
+
* Tool
|
|
1487
|
+
*
|
|
1488
|
+
* Tool name: lookup, recall, learn, expand
|
|
1489
|
+
*/
|
|
1490
|
+
tool: string;
|
|
1491
|
+
/**
|
|
1492
|
+
* Input
|
|
1493
|
+
*
|
|
1494
|
+
* Tool input parameters
|
|
1495
|
+
*/
|
|
1496
|
+
input: {
|
|
1497
|
+
[key: string]: unknown;
|
|
1498
|
+
};
|
|
1499
|
+
/**
|
|
1500
|
+
* Output
|
|
1501
|
+
*
|
|
1502
|
+
* Tool output (only included when include.tool_calls.output is true)
|
|
1503
|
+
*/
|
|
1504
|
+
output?: {
|
|
1505
|
+
[key: string]: unknown;
|
|
1506
|
+
} | null;
|
|
1507
|
+
/**
|
|
1508
|
+
* Duration Ms
|
|
1509
|
+
*
|
|
1510
|
+
* Execution time in milliseconds
|
|
1511
|
+
*/
|
|
1512
|
+
duration_ms: number;
|
|
1513
|
+
/**
|
|
1514
|
+
* Iteration
|
|
1515
|
+
*
|
|
1516
|
+
* Iteration number (1-based) when this tool was called
|
|
1517
|
+
*/
|
|
1518
|
+
iteration?: number;
|
|
1519
|
+
};
|
|
1520
|
+
/**
|
|
1521
|
+
* ReflectTrace
|
|
1522
|
+
*
|
|
1523
|
+
* Execution trace of LLM and tool calls during reflection.
|
|
1524
|
+
*/
|
|
1525
|
+
export type ReflectTrace = {
|
|
1526
|
+
/**
|
|
1527
|
+
* Tool Calls
|
|
1528
|
+
*
|
|
1529
|
+
* Tool calls made during reflection
|
|
1530
|
+
*/
|
|
1531
|
+
tool_calls?: Array<ReflectToolCall>;
|
|
1532
|
+
/**
|
|
1533
|
+
* Llm Calls
|
|
1534
|
+
*
|
|
1535
|
+
* LLM calls made during reflection
|
|
1536
|
+
*/
|
|
1537
|
+
llm_calls?: Array<ReflectLlmCall>;
|
|
928
1538
|
};
|
|
929
1539
|
/**
|
|
930
1540
|
* RetainRequest
|
|
@@ -942,6 +1552,12 @@ export type RetainRequest = {
|
|
|
942
1552
|
* If true, process asynchronously in background. If false, wait for completion (default: false)
|
|
943
1553
|
*/
|
|
944
1554
|
async?: boolean;
|
|
1555
|
+
/**
|
|
1556
|
+
* Document Tags
|
|
1557
|
+
*
|
|
1558
|
+
* Tags applied to all items in this request. These are merged with any item-level tags.
|
|
1559
|
+
*/
|
|
1560
|
+
document_tags?: Array<string> | null;
|
|
945
1561
|
};
|
|
946
1562
|
/**
|
|
947
1563
|
* RetainResponse
|
|
@@ -967,6 +1583,113 @@ export type RetainResponse = {
|
|
|
967
1583
|
* Whether the operation was processed asynchronously
|
|
968
1584
|
*/
|
|
969
1585
|
async: boolean;
|
|
1586
|
+
/**
|
|
1587
|
+
* Operation Id
|
|
1588
|
+
*
|
|
1589
|
+
* Operation ID for tracking async operations. Use GET /v1/default/banks/{bank_id}/operations to list operations and find this ID. Only present when async=true.
|
|
1590
|
+
*/
|
|
1591
|
+
operation_id?: string | null;
|
|
1592
|
+
/**
|
|
1593
|
+
* Token usage metrics for LLM calls during fact extraction (only present for synchronous operations)
|
|
1594
|
+
*/
|
|
1595
|
+
usage?: TokenUsage | null;
|
|
1596
|
+
};
|
|
1597
|
+
/**
|
|
1598
|
+
* TagItem
|
|
1599
|
+
*
|
|
1600
|
+
* Single tag with usage count.
|
|
1601
|
+
*/
|
|
1602
|
+
export type TagItem = {
|
|
1603
|
+
/**
|
|
1604
|
+
* Tag
|
|
1605
|
+
*
|
|
1606
|
+
* The tag value
|
|
1607
|
+
*/
|
|
1608
|
+
tag: string;
|
|
1609
|
+
/**
|
|
1610
|
+
* Count
|
|
1611
|
+
*
|
|
1612
|
+
* Number of memories with this tag
|
|
1613
|
+
*/
|
|
1614
|
+
count: number;
|
|
1615
|
+
};
|
|
1616
|
+
/**
|
|
1617
|
+
* TokenUsage
|
|
1618
|
+
*
|
|
1619
|
+
* Token usage metrics for LLM calls.
|
|
1620
|
+
*
|
|
1621
|
+
* Tracks input/output tokens for a single request to enable
|
|
1622
|
+
* per-request cost tracking and monitoring.
|
|
1623
|
+
*/
|
|
1624
|
+
export type TokenUsage = {
|
|
1625
|
+
/**
|
|
1626
|
+
* Input Tokens
|
|
1627
|
+
*
|
|
1628
|
+
* Number of input/prompt tokens consumed
|
|
1629
|
+
*/
|
|
1630
|
+
input_tokens?: number;
|
|
1631
|
+
/**
|
|
1632
|
+
* Output Tokens
|
|
1633
|
+
*
|
|
1634
|
+
* Number of output/completion tokens generated
|
|
1635
|
+
*/
|
|
1636
|
+
output_tokens?: number;
|
|
1637
|
+
/**
|
|
1638
|
+
* Total Tokens
|
|
1639
|
+
*
|
|
1640
|
+
* Total tokens (input + output)
|
|
1641
|
+
*/
|
|
1642
|
+
total_tokens?: number;
|
|
1643
|
+
};
|
|
1644
|
+
/**
|
|
1645
|
+
* ToolCallsIncludeOptions
|
|
1646
|
+
*
|
|
1647
|
+
* Options for including tool calls in reflect results.
|
|
1648
|
+
*/
|
|
1649
|
+
export type ToolCallsIncludeOptions = {
|
|
1650
|
+
/**
|
|
1651
|
+
* Output
|
|
1652
|
+
*
|
|
1653
|
+
* Include tool outputs in the trace. Set to false to only include inputs (smaller payload).
|
|
1654
|
+
*/
|
|
1655
|
+
output?: boolean;
|
|
1656
|
+
};
|
|
1657
|
+
/**
|
|
1658
|
+
* UpdateDirectiveRequest
|
|
1659
|
+
*
|
|
1660
|
+
* Request model for updating a directive.
|
|
1661
|
+
*/
|
|
1662
|
+
export type UpdateDirectiveRequest = {
|
|
1663
|
+
/**
|
|
1664
|
+
* Name
|
|
1665
|
+
*
|
|
1666
|
+
* New name
|
|
1667
|
+
*/
|
|
1668
|
+
name?: string | null;
|
|
1669
|
+
/**
|
|
1670
|
+
* Content
|
|
1671
|
+
*
|
|
1672
|
+
* New content
|
|
1673
|
+
*/
|
|
1674
|
+
content?: string | null;
|
|
1675
|
+
/**
|
|
1676
|
+
* Priority
|
|
1677
|
+
*
|
|
1678
|
+
* New priority
|
|
1679
|
+
*/
|
|
1680
|
+
priority?: number | null;
|
|
1681
|
+
/**
|
|
1682
|
+
* Is Active
|
|
1683
|
+
*
|
|
1684
|
+
* New active status
|
|
1685
|
+
*/
|
|
1686
|
+
is_active?: boolean | null;
|
|
1687
|
+
/**
|
|
1688
|
+
* Tags
|
|
1689
|
+
*
|
|
1690
|
+
* New tags
|
|
1691
|
+
*/
|
|
1692
|
+
tags?: Array<string> | null;
|
|
970
1693
|
};
|
|
971
1694
|
/**
|
|
972
1695
|
* UpdateDispositionRequest
|
|
@@ -976,6 +1699,41 @@ export type RetainResponse = {
|
|
|
976
1699
|
export type UpdateDispositionRequest = {
|
|
977
1700
|
disposition: DispositionTraits;
|
|
978
1701
|
};
|
|
1702
|
+
/**
|
|
1703
|
+
* UpdateMentalModelRequest
|
|
1704
|
+
*
|
|
1705
|
+
* Request model for updating a mental model.
|
|
1706
|
+
*/
|
|
1707
|
+
export type UpdateMentalModelRequest = {
|
|
1708
|
+
/**
|
|
1709
|
+
* Name
|
|
1710
|
+
*
|
|
1711
|
+
* New name for the mental model
|
|
1712
|
+
*/
|
|
1713
|
+
name?: string | null;
|
|
1714
|
+
/**
|
|
1715
|
+
* Source Query
|
|
1716
|
+
*
|
|
1717
|
+
* New source query for the mental model
|
|
1718
|
+
*/
|
|
1719
|
+
source_query?: string | null;
|
|
1720
|
+
/**
|
|
1721
|
+
* Max Tokens
|
|
1722
|
+
*
|
|
1723
|
+
* Maximum tokens for generated content
|
|
1724
|
+
*/
|
|
1725
|
+
max_tokens?: number | null;
|
|
1726
|
+
/**
|
|
1727
|
+
* Tags
|
|
1728
|
+
*
|
|
1729
|
+
* Tags for scoped visibility
|
|
1730
|
+
*/
|
|
1731
|
+
tags?: Array<string> | null;
|
|
1732
|
+
/**
|
|
1733
|
+
* Trigger settings
|
|
1734
|
+
*/
|
|
1735
|
+
trigger?: MentalModelTrigger | null;
|
|
1736
|
+
};
|
|
979
1737
|
/**
|
|
980
1738
|
* ValidationError
|
|
981
1739
|
*/
|
|
@@ -993,6 +1751,23 @@ export type ValidationError = {
|
|
|
993
1751
|
*/
|
|
994
1752
|
type: string;
|
|
995
1753
|
};
|
|
1754
|
+
/**
|
|
1755
|
+
* VersionResponse
|
|
1756
|
+
*
|
|
1757
|
+
* Response model for the version/info endpoint.
|
|
1758
|
+
*/
|
|
1759
|
+
export type VersionResponse = {
|
|
1760
|
+
/**
|
|
1761
|
+
* Api Version
|
|
1762
|
+
*
|
|
1763
|
+
* API version string
|
|
1764
|
+
*/
|
|
1765
|
+
api_version: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* Enabled feature flags
|
|
1768
|
+
*/
|
|
1769
|
+
features: FeaturesInfo;
|
|
1770
|
+
};
|
|
996
1771
|
export type HealthEndpointHealthGetData = {
|
|
997
1772
|
body?: never;
|
|
998
1773
|
path?: never;
|
|
@@ -1005,19 +1780,32 @@ export type HealthEndpointHealthGetResponses = {
|
|
|
1005
1780
|
*/
|
|
1006
1781
|
200: unknown;
|
|
1007
1782
|
};
|
|
1008
|
-
export type
|
|
1783
|
+
export type GetVersionData = {
|
|
1009
1784
|
body?: never;
|
|
1010
1785
|
path?: never;
|
|
1011
1786
|
query?: never;
|
|
1012
|
-
url: "/
|
|
1787
|
+
url: "/version";
|
|
1013
1788
|
};
|
|
1014
|
-
export type
|
|
1789
|
+
export type GetVersionResponses = {
|
|
1015
1790
|
/**
|
|
1016
1791
|
* Successful Response
|
|
1017
1792
|
*/
|
|
1018
|
-
200:
|
|
1793
|
+
200: VersionResponse;
|
|
1019
1794
|
};
|
|
1020
|
-
export type
|
|
1795
|
+
export type GetVersionResponse = GetVersionResponses[keyof GetVersionResponses];
|
|
1796
|
+
export type MetricsEndpointMetricsGetData = {
|
|
1797
|
+
body?: never;
|
|
1798
|
+
path?: never;
|
|
1799
|
+
query?: never;
|
|
1800
|
+
url: "/metrics";
|
|
1801
|
+
};
|
|
1802
|
+
export type MetricsEndpointMetricsGetResponses = {
|
|
1803
|
+
/**
|
|
1804
|
+
* Successful Response
|
|
1805
|
+
*/
|
|
1806
|
+
200: unknown;
|
|
1807
|
+
};
|
|
1808
|
+
export type GetGraphData = {
|
|
1021
1809
|
body?: never;
|
|
1022
1810
|
headers?: {
|
|
1023
1811
|
/**
|
|
@@ -1036,6 +1824,10 @@ export type GetGraphData = {
|
|
|
1036
1824
|
* Type
|
|
1037
1825
|
*/
|
|
1038
1826
|
type?: string | null;
|
|
1827
|
+
/**
|
|
1828
|
+
* Limit
|
|
1829
|
+
*/
|
|
1830
|
+
limit?: number;
|
|
1039
1831
|
};
|
|
1040
1832
|
url: "/v1/default/banks/{bank_id}/graph";
|
|
1041
1833
|
};
|
|
@@ -1101,6 +1893,40 @@ export type ListMemoriesResponses = {
|
|
|
1101
1893
|
200: ListMemoryUnitsResponse;
|
|
1102
1894
|
};
|
|
1103
1895
|
export type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
|
|
1896
|
+
export type GetMemoryData = {
|
|
1897
|
+
body?: never;
|
|
1898
|
+
headers?: {
|
|
1899
|
+
/**
|
|
1900
|
+
* Authorization
|
|
1901
|
+
*/
|
|
1902
|
+
authorization?: string | null;
|
|
1903
|
+
};
|
|
1904
|
+
path: {
|
|
1905
|
+
/**
|
|
1906
|
+
* Bank Id
|
|
1907
|
+
*/
|
|
1908
|
+
bank_id: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* Memory Id
|
|
1911
|
+
*/
|
|
1912
|
+
memory_id: string;
|
|
1913
|
+
};
|
|
1914
|
+
query?: never;
|
|
1915
|
+
url: "/v1/default/banks/{bank_id}/memories/{memory_id}";
|
|
1916
|
+
};
|
|
1917
|
+
export type GetMemoryErrors = {
|
|
1918
|
+
/**
|
|
1919
|
+
* Validation Error
|
|
1920
|
+
*/
|
|
1921
|
+
422: HttpValidationError;
|
|
1922
|
+
};
|
|
1923
|
+
export type GetMemoryError = GetMemoryErrors[keyof GetMemoryErrors];
|
|
1924
|
+
export type GetMemoryResponses = {
|
|
1925
|
+
/**
|
|
1926
|
+
* Successful Response
|
|
1927
|
+
*/
|
|
1928
|
+
200: unknown;
|
|
1929
|
+
};
|
|
1104
1930
|
export type RecallMemoriesData = {
|
|
1105
1931
|
body: RecallRequest;
|
|
1106
1932
|
headers?: {
|
|
@@ -1129,11 +1955,400 @@ export type RecallMemoriesResponses = {
|
|
|
1129
1955
|
/**
|
|
1130
1956
|
* Successful Response
|
|
1131
1957
|
*/
|
|
1132
|
-
200: RecallResponse;
|
|
1958
|
+
200: RecallResponse;
|
|
1959
|
+
};
|
|
1960
|
+
export type RecallMemoriesResponse = RecallMemoriesResponses[keyof RecallMemoriesResponses];
|
|
1961
|
+
export type ReflectData = {
|
|
1962
|
+
body: ReflectRequest;
|
|
1963
|
+
headers?: {
|
|
1964
|
+
/**
|
|
1965
|
+
* Authorization
|
|
1966
|
+
*/
|
|
1967
|
+
authorization?: string | null;
|
|
1968
|
+
};
|
|
1969
|
+
path: {
|
|
1970
|
+
/**
|
|
1971
|
+
* Bank Id
|
|
1972
|
+
*/
|
|
1973
|
+
bank_id: string;
|
|
1974
|
+
};
|
|
1975
|
+
query?: never;
|
|
1976
|
+
url: "/v1/default/banks/{bank_id}/reflect";
|
|
1977
|
+
};
|
|
1978
|
+
export type ReflectErrors = {
|
|
1979
|
+
/**
|
|
1980
|
+
* Validation Error
|
|
1981
|
+
*/
|
|
1982
|
+
422: HttpValidationError;
|
|
1983
|
+
};
|
|
1984
|
+
export type ReflectError = ReflectErrors[keyof ReflectErrors];
|
|
1985
|
+
export type ReflectResponses = {
|
|
1986
|
+
/**
|
|
1987
|
+
* Successful Response
|
|
1988
|
+
*/
|
|
1989
|
+
200: ReflectResponse;
|
|
1990
|
+
};
|
|
1991
|
+
export type ReflectResponse2 = ReflectResponses[keyof ReflectResponses];
|
|
1992
|
+
export type ListBanksData = {
|
|
1993
|
+
body?: never;
|
|
1994
|
+
headers?: {
|
|
1995
|
+
/**
|
|
1996
|
+
* Authorization
|
|
1997
|
+
*/
|
|
1998
|
+
authorization?: string | null;
|
|
1999
|
+
};
|
|
2000
|
+
path?: never;
|
|
2001
|
+
query?: never;
|
|
2002
|
+
url: "/v1/default/banks";
|
|
2003
|
+
};
|
|
2004
|
+
export type ListBanksErrors = {
|
|
2005
|
+
/**
|
|
2006
|
+
* Validation Error
|
|
2007
|
+
*/
|
|
2008
|
+
422: HttpValidationError;
|
|
2009
|
+
};
|
|
2010
|
+
export type ListBanksError = ListBanksErrors[keyof ListBanksErrors];
|
|
2011
|
+
export type ListBanksResponses = {
|
|
2012
|
+
/**
|
|
2013
|
+
* Successful Response
|
|
2014
|
+
*/
|
|
2015
|
+
200: BankListResponse;
|
|
2016
|
+
};
|
|
2017
|
+
export type ListBanksResponse = ListBanksResponses[keyof ListBanksResponses];
|
|
2018
|
+
export type GetAgentStatsData = {
|
|
2019
|
+
body?: never;
|
|
2020
|
+
headers?: {
|
|
2021
|
+
/**
|
|
2022
|
+
* Authorization
|
|
2023
|
+
*/
|
|
2024
|
+
authorization?: string | null;
|
|
2025
|
+
};
|
|
2026
|
+
path: {
|
|
2027
|
+
/**
|
|
2028
|
+
* Bank Id
|
|
2029
|
+
*/
|
|
2030
|
+
bank_id: string;
|
|
2031
|
+
};
|
|
2032
|
+
query?: never;
|
|
2033
|
+
url: "/v1/default/banks/{bank_id}/stats";
|
|
2034
|
+
};
|
|
2035
|
+
export type GetAgentStatsErrors = {
|
|
2036
|
+
/**
|
|
2037
|
+
* Validation Error
|
|
2038
|
+
*/
|
|
2039
|
+
422: HttpValidationError;
|
|
2040
|
+
};
|
|
2041
|
+
export type GetAgentStatsError = GetAgentStatsErrors[keyof GetAgentStatsErrors];
|
|
2042
|
+
export type GetAgentStatsResponses = {
|
|
2043
|
+
/**
|
|
2044
|
+
* Successful Response
|
|
2045
|
+
*/
|
|
2046
|
+
200: BankStatsResponse;
|
|
2047
|
+
};
|
|
2048
|
+
export type GetAgentStatsResponse = GetAgentStatsResponses[keyof GetAgentStatsResponses];
|
|
2049
|
+
export type ListEntitiesData = {
|
|
2050
|
+
body?: never;
|
|
2051
|
+
headers?: {
|
|
2052
|
+
/**
|
|
2053
|
+
* Authorization
|
|
2054
|
+
*/
|
|
2055
|
+
authorization?: string | null;
|
|
2056
|
+
};
|
|
2057
|
+
path: {
|
|
2058
|
+
/**
|
|
2059
|
+
* Bank Id
|
|
2060
|
+
*/
|
|
2061
|
+
bank_id: string;
|
|
2062
|
+
};
|
|
2063
|
+
query?: {
|
|
2064
|
+
/**
|
|
2065
|
+
* Limit
|
|
2066
|
+
*
|
|
2067
|
+
* Maximum number of entities to return
|
|
2068
|
+
*/
|
|
2069
|
+
limit?: number;
|
|
2070
|
+
/**
|
|
2071
|
+
* Offset
|
|
2072
|
+
*
|
|
2073
|
+
* Offset for pagination
|
|
2074
|
+
*/
|
|
2075
|
+
offset?: number;
|
|
2076
|
+
};
|
|
2077
|
+
url: "/v1/default/banks/{bank_id}/entities";
|
|
2078
|
+
};
|
|
2079
|
+
export type ListEntitiesErrors = {
|
|
2080
|
+
/**
|
|
2081
|
+
* Validation Error
|
|
2082
|
+
*/
|
|
2083
|
+
422: HttpValidationError;
|
|
2084
|
+
};
|
|
2085
|
+
export type ListEntitiesError = ListEntitiesErrors[keyof ListEntitiesErrors];
|
|
2086
|
+
export type ListEntitiesResponses = {
|
|
2087
|
+
/**
|
|
2088
|
+
* Successful Response
|
|
2089
|
+
*/
|
|
2090
|
+
200: EntityListResponse;
|
|
2091
|
+
};
|
|
2092
|
+
export type ListEntitiesResponse = ListEntitiesResponses[keyof ListEntitiesResponses];
|
|
2093
|
+
export type GetEntityData = {
|
|
2094
|
+
body?: never;
|
|
2095
|
+
headers?: {
|
|
2096
|
+
/**
|
|
2097
|
+
* Authorization
|
|
2098
|
+
*/
|
|
2099
|
+
authorization?: string | null;
|
|
2100
|
+
};
|
|
2101
|
+
path: {
|
|
2102
|
+
/**
|
|
2103
|
+
* Bank Id
|
|
2104
|
+
*/
|
|
2105
|
+
bank_id: string;
|
|
2106
|
+
/**
|
|
2107
|
+
* Entity Id
|
|
2108
|
+
*/
|
|
2109
|
+
entity_id: string;
|
|
2110
|
+
};
|
|
2111
|
+
query?: never;
|
|
2112
|
+
url: "/v1/default/banks/{bank_id}/entities/{entity_id}";
|
|
2113
|
+
};
|
|
2114
|
+
export type GetEntityErrors = {
|
|
2115
|
+
/**
|
|
2116
|
+
* Validation Error
|
|
2117
|
+
*/
|
|
2118
|
+
422: HttpValidationError;
|
|
2119
|
+
};
|
|
2120
|
+
export type GetEntityError = GetEntityErrors[keyof GetEntityErrors];
|
|
2121
|
+
export type GetEntityResponses = {
|
|
2122
|
+
/**
|
|
2123
|
+
* Successful Response
|
|
2124
|
+
*/
|
|
2125
|
+
200: EntityDetailResponse;
|
|
2126
|
+
};
|
|
2127
|
+
export type GetEntityResponse = GetEntityResponses[keyof GetEntityResponses];
|
|
2128
|
+
export type RegenerateEntityObservationsData = {
|
|
2129
|
+
body?: never;
|
|
2130
|
+
headers?: {
|
|
2131
|
+
/**
|
|
2132
|
+
* Authorization
|
|
2133
|
+
*/
|
|
2134
|
+
authorization?: string | null;
|
|
2135
|
+
};
|
|
2136
|
+
path: {
|
|
2137
|
+
/**
|
|
2138
|
+
* Bank Id
|
|
2139
|
+
*/
|
|
2140
|
+
bank_id: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* Entity Id
|
|
2143
|
+
*/
|
|
2144
|
+
entity_id: string;
|
|
2145
|
+
};
|
|
2146
|
+
query?: never;
|
|
2147
|
+
url: "/v1/default/banks/{bank_id}/entities/{entity_id}/regenerate";
|
|
2148
|
+
};
|
|
2149
|
+
export type RegenerateEntityObservationsErrors = {
|
|
2150
|
+
/**
|
|
2151
|
+
* Validation Error
|
|
2152
|
+
*/
|
|
2153
|
+
422: HttpValidationError;
|
|
2154
|
+
};
|
|
2155
|
+
export type RegenerateEntityObservationsError = RegenerateEntityObservationsErrors[keyof RegenerateEntityObservationsErrors];
|
|
2156
|
+
export type RegenerateEntityObservationsResponses = {
|
|
2157
|
+
/**
|
|
2158
|
+
* Successful Response
|
|
2159
|
+
*/
|
|
2160
|
+
200: EntityDetailResponse;
|
|
2161
|
+
};
|
|
2162
|
+
export type RegenerateEntityObservationsResponse = RegenerateEntityObservationsResponses[keyof RegenerateEntityObservationsResponses];
|
|
2163
|
+
export type ListMentalModelsData = {
|
|
2164
|
+
body?: never;
|
|
2165
|
+
headers?: {
|
|
2166
|
+
/**
|
|
2167
|
+
* Authorization
|
|
2168
|
+
*/
|
|
2169
|
+
authorization?: string | null;
|
|
2170
|
+
};
|
|
2171
|
+
path: {
|
|
2172
|
+
/**
|
|
2173
|
+
* Bank Id
|
|
2174
|
+
*/
|
|
2175
|
+
bank_id: string;
|
|
2176
|
+
};
|
|
2177
|
+
query?: {
|
|
2178
|
+
/**
|
|
2179
|
+
* Tags
|
|
2180
|
+
*
|
|
2181
|
+
* Filter by tags
|
|
2182
|
+
*/
|
|
2183
|
+
tags?: Array<string> | null;
|
|
2184
|
+
/**
|
|
2185
|
+
* Tags Match
|
|
2186
|
+
*
|
|
2187
|
+
* How to match tags
|
|
2188
|
+
*/
|
|
2189
|
+
tags_match?: "any" | "all" | "exact";
|
|
2190
|
+
/**
|
|
2191
|
+
* Limit
|
|
2192
|
+
*/
|
|
2193
|
+
limit?: number;
|
|
2194
|
+
/**
|
|
2195
|
+
* Offset
|
|
2196
|
+
*/
|
|
2197
|
+
offset?: number;
|
|
2198
|
+
};
|
|
2199
|
+
url: "/v1/default/banks/{bank_id}/mental-models";
|
|
2200
|
+
};
|
|
2201
|
+
export type ListMentalModelsErrors = {
|
|
2202
|
+
/**
|
|
2203
|
+
* Validation Error
|
|
2204
|
+
*/
|
|
2205
|
+
422: HttpValidationError;
|
|
2206
|
+
};
|
|
2207
|
+
export type ListMentalModelsError = ListMentalModelsErrors[keyof ListMentalModelsErrors];
|
|
2208
|
+
export type ListMentalModelsResponses = {
|
|
2209
|
+
/**
|
|
2210
|
+
* Successful Response
|
|
2211
|
+
*/
|
|
2212
|
+
200: MentalModelListResponse;
|
|
2213
|
+
};
|
|
2214
|
+
export type ListMentalModelsResponse = ListMentalModelsResponses[keyof ListMentalModelsResponses];
|
|
2215
|
+
export type CreateMentalModelData = {
|
|
2216
|
+
body: CreateMentalModelRequest;
|
|
2217
|
+
headers?: {
|
|
2218
|
+
/**
|
|
2219
|
+
* Authorization
|
|
2220
|
+
*/
|
|
2221
|
+
authorization?: string | null;
|
|
2222
|
+
};
|
|
2223
|
+
path: {
|
|
2224
|
+
/**
|
|
2225
|
+
* Bank Id
|
|
2226
|
+
*/
|
|
2227
|
+
bank_id: string;
|
|
2228
|
+
};
|
|
2229
|
+
query?: never;
|
|
2230
|
+
url: "/v1/default/banks/{bank_id}/mental-models";
|
|
2231
|
+
};
|
|
2232
|
+
export type CreateMentalModelErrors = {
|
|
2233
|
+
/**
|
|
2234
|
+
* Validation Error
|
|
2235
|
+
*/
|
|
2236
|
+
422: HttpValidationError;
|
|
2237
|
+
};
|
|
2238
|
+
export type CreateMentalModelError = CreateMentalModelErrors[keyof CreateMentalModelErrors];
|
|
2239
|
+
export type CreateMentalModelResponses = {
|
|
2240
|
+
/**
|
|
2241
|
+
* Successful Response
|
|
2242
|
+
*/
|
|
2243
|
+
200: CreateMentalModelResponse;
|
|
2244
|
+
};
|
|
2245
|
+
export type CreateMentalModelResponse2 = CreateMentalModelResponses[keyof CreateMentalModelResponses];
|
|
2246
|
+
export type DeleteMentalModelData = {
|
|
2247
|
+
body?: never;
|
|
2248
|
+
headers?: {
|
|
2249
|
+
/**
|
|
2250
|
+
* Authorization
|
|
2251
|
+
*/
|
|
2252
|
+
authorization?: string | null;
|
|
2253
|
+
};
|
|
2254
|
+
path: {
|
|
2255
|
+
/**
|
|
2256
|
+
* Bank Id
|
|
2257
|
+
*/
|
|
2258
|
+
bank_id: string;
|
|
2259
|
+
/**
|
|
2260
|
+
* Mental Model Id
|
|
2261
|
+
*/
|
|
2262
|
+
mental_model_id: string;
|
|
2263
|
+
};
|
|
2264
|
+
query?: never;
|
|
2265
|
+
url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}";
|
|
2266
|
+
};
|
|
2267
|
+
export type DeleteMentalModelErrors = {
|
|
2268
|
+
/**
|
|
2269
|
+
* Validation Error
|
|
2270
|
+
*/
|
|
2271
|
+
422: HttpValidationError;
|
|
2272
|
+
};
|
|
2273
|
+
export type DeleteMentalModelError = DeleteMentalModelErrors[keyof DeleteMentalModelErrors];
|
|
2274
|
+
export type DeleteMentalModelResponses = {
|
|
2275
|
+
/**
|
|
2276
|
+
* Successful Response
|
|
2277
|
+
*/
|
|
2278
|
+
200: unknown;
|
|
2279
|
+
};
|
|
2280
|
+
export type GetMentalModelData = {
|
|
2281
|
+
body?: never;
|
|
2282
|
+
headers?: {
|
|
2283
|
+
/**
|
|
2284
|
+
* Authorization
|
|
2285
|
+
*/
|
|
2286
|
+
authorization?: string | null;
|
|
2287
|
+
};
|
|
2288
|
+
path: {
|
|
2289
|
+
/**
|
|
2290
|
+
* Bank Id
|
|
2291
|
+
*/
|
|
2292
|
+
bank_id: string;
|
|
2293
|
+
/**
|
|
2294
|
+
* Mental Model Id
|
|
2295
|
+
*/
|
|
2296
|
+
mental_model_id: string;
|
|
2297
|
+
};
|
|
2298
|
+
query?: never;
|
|
2299
|
+
url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}";
|
|
2300
|
+
};
|
|
2301
|
+
export type GetMentalModelErrors = {
|
|
2302
|
+
/**
|
|
2303
|
+
* Validation Error
|
|
2304
|
+
*/
|
|
2305
|
+
422: HttpValidationError;
|
|
2306
|
+
};
|
|
2307
|
+
export type GetMentalModelError = GetMentalModelErrors[keyof GetMentalModelErrors];
|
|
2308
|
+
export type GetMentalModelResponses = {
|
|
2309
|
+
/**
|
|
2310
|
+
* Successful Response
|
|
2311
|
+
*/
|
|
2312
|
+
200: MentalModelResponse;
|
|
2313
|
+
};
|
|
2314
|
+
export type GetMentalModelResponse = GetMentalModelResponses[keyof GetMentalModelResponses];
|
|
2315
|
+
export type UpdateMentalModelData = {
|
|
2316
|
+
body: UpdateMentalModelRequest;
|
|
2317
|
+
headers?: {
|
|
2318
|
+
/**
|
|
2319
|
+
* Authorization
|
|
2320
|
+
*/
|
|
2321
|
+
authorization?: string | null;
|
|
2322
|
+
};
|
|
2323
|
+
path: {
|
|
2324
|
+
/**
|
|
2325
|
+
* Bank Id
|
|
2326
|
+
*/
|
|
2327
|
+
bank_id: string;
|
|
2328
|
+
/**
|
|
2329
|
+
* Mental Model Id
|
|
2330
|
+
*/
|
|
2331
|
+
mental_model_id: string;
|
|
2332
|
+
};
|
|
2333
|
+
query?: never;
|
|
2334
|
+
url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}";
|
|
2335
|
+
};
|
|
2336
|
+
export type UpdateMentalModelErrors = {
|
|
2337
|
+
/**
|
|
2338
|
+
* Validation Error
|
|
2339
|
+
*/
|
|
2340
|
+
422: HttpValidationError;
|
|
2341
|
+
};
|
|
2342
|
+
export type UpdateMentalModelError = UpdateMentalModelErrors[keyof UpdateMentalModelErrors];
|
|
2343
|
+
export type UpdateMentalModelResponses = {
|
|
2344
|
+
/**
|
|
2345
|
+
* Successful Response
|
|
2346
|
+
*/
|
|
2347
|
+
200: MentalModelResponse;
|
|
1133
2348
|
};
|
|
1134
|
-
export type
|
|
1135
|
-
export type
|
|
1136
|
-
body
|
|
2349
|
+
export type UpdateMentalModelResponse = UpdateMentalModelResponses[keyof UpdateMentalModelResponses];
|
|
2350
|
+
export type RefreshMentalModelData = {
|
|
2351
|
+
body?: never;
|
|
1137
2352
|
headers?: {
|
|
1138
2353
|
/**
|
|
1139
2354
|
* Authorization
|
|
@@ -1145,25 +2360,29 @@ export type ReflectData = {
|
|
|
1145
2360
|
* Bank Id
|
|
1146
2361
|
*/
|
|
1147
2362
|
bank_id: string;
|
|
2363
|
+
/**
|
|
2364
|
+
* Mental Model Id
|
|
2365
|
+
*/
|
|
2366
|
+
mental_model_id: string;
|
|
1148
2367
|
};
|
|
1149
2368
|
query?: never;
|
|
1150
|
-
url: "/v1/default/banks/{bank_id}/
|
|
2369
|
+
url: "/v1/default/banks/{bank_id}/mental-models/{mental_model_id}/refresh";
|
|
1151
2370
|
};
|
|
1152
|
-
export type
|
|
2371
|
+
export type RefreshMentalModelErrors = {
|
|
1153
2372
|
/**
|
|
1154
2373
|
* Validation Error
|
|
1155
2374
|
*/
|
|
1156
2375
|
422: HttpValidationError;
|
|
1157
2376
|
};
|
|
1158
|
-
export type
|
|
1159
|
-
export type
|
|
2377
|
+
export type RefreshMentalModelError = RefreshMentalModelErrors[keyof RefreshMentalModelErrors];
|
|
2378
|
+
export type RefreshMentalModelResponses = {
|
|
1160
2379
|
/**
|
|
1161
2380
|
* Successful Response
|
|
1162
2381
|
*/
|
|
1163
|
-
200:
|
|
2382
|
+
200: AsyncOperationSubmitResponse;
|
|
1164
2383
|
};
|
|
1165
|
-
export type
|
|
1166
|
-
export type
|
|
2384
|
+
export type RefreshMentalModelResponse = RefreshMentalModelResponses[keyof RefreshMentalModelResponses];
|
|
2385
|
+
export type ListDirectivesData = {
|
|
1167
2386
|
body?: never;
|
|
1168
2387
|
headers?: {
|
|
1169
2388
|
/**
|
|
@@ -1171,26 +2390,64 @@ export type ListBanksData = {
|
|
|
1171
2390
|
*/
|
|
1172
2391
|
authorization?: string | null;
|
|
1173
2392
|
};
|
|
1174
|
-
path
|
|
1175
|
-
|
|
1176
|
-
|
|
2393
|
+
path: {
|
|
2394
|
+
/**
|
|
2395
|
+
* Bank Id
|
|
2396
|
+
*/
|
|
2397
|
+
bank_id: string;
|
|
2398
|
+
};
|
|
2399
|
+
query?: {
|
|
2400
|
+
/**
|
|
2401
|
+
* Tags
|
|
2402
|
+
*
|
|
2403
|
+
* Filter by tags
|
|
2404
|
+
*/
|
|
2405
|
+
tags?: Array<string> | null;
|
|
2406
|
+
/**
|
|
2407
|
+
* Tags Match
|
|
2408
|
+
*
|
|
2409
|
+
* How to match tags
|
|
2410
|
+
*/
|
|
2411
|
+
tags_match?: "any" | "all" | "exact";
|
|
2412
|
+
/**
|
|
2413
|
+
* Active Only
|
|
2414
|
+
*
|
|
2415
|
+
* Only return active directives
|
|
2416
|
+
*/
|
|
2417
|
+
active_only?: boolean;
|
|
2418
|
+
/**
|
|
2419
|
+
* Limit
|
|
2420
|
+
*/
|
|
2421
|
+
limit?: number;
|
|
2422
|
+
/**
|
|
2423
|
+
* Offset
|
|
2424
|
+
*/
|
|
2425
|
+
offset?: number;
|
|
2426
|
+
};
|
|
2427
|
+
url: "/v1/default/banks/{bank_id}/directives";
|
|
1177
2428
|
};
|
|
1178
|
-
export type
|
|
2429
|
+
export type ListDirectivesErrors = {
|
|
1179
2430
|
/**
|
|
1180
2431
|
* Validation Error
|
|
1181
2432
|
*/
|
|
1182
2433
|
422: HttpValidationError;
|
|
1183
2434
|
};
|
|
1184
|
-
export type
|
|
1185
|
-
export type
|
|
2435
|
+
export type ListDirectivesError = ListDirectivesErrors[keyof ListDirectivesErrors];
|
|
2436
|
+
export type ListDirectivesResponses = {
|
|
1186
2437
|
/**
|
|
1187
2438
|
* Successful Response
|
|
1188
2439
|
*/
|
|
1189
|
-
200:
|
|
2440
|
+
200: DirectiveListResponse;
|
|
1190
2441
|
};
|
|
1191
|
-
export type
|
|
1192
|
-
export type
|
|
1193
|
-
body
|
|
2442
|
+
export type ListDirectivesResponse = ListDirectivesResponses[keyof ListDirectivesResponses];
|
|
2443
|
+
export type CreateDirectiveData = {
|
|
2444
|
+
body: CreateDirectiveRequest;
|
|
2445
|
+
headers?: {
|
|
2446
|
+
/**
|
|
2447
|
+
* Authorization
|
|
2448
|
+
*/
|
|
2449
|
+
authorization?: string | null;
|
|
2450
|
+
};
|
|
1194
2451
|
path: {
|
|
1195
2452
|
/**
|
|
1196
2453
|
* Bank Id
|
|
@@ -1198,23 +2455,23 @@ export type GetAgentStatsData = {
|
|
|
1198
2455
|
bank_id: string;
|
|
1199
2456
|
};
|
|
1200
2457
|
query?: never;
|
|
1201
|
-
url: "/v1/default/banks/{bank_id}/
|
|
2458
|
+
url: "/v1/default/banks/{bank_id}/directives";
|
|
1202
2459
|
};
|
|
1203
|
-
export type
|
|
2460
|
+
export type CreateDirectiveErrors = {
|
|
1204
2461
|
/**
|
|
1205
2462
|
* Validation Error
|
|
1206
2463
|
*/
|
|
1207
2464
|
422: HttpValidationError;
|
|
1208
2465
|
};
|
|
1209
|
-
export type
|
|
1210
|
-
export type
|
|
2466
|
+
export type CreateDirectiveError = CreateDirectiveErrors[keyof CreateDirectiveErrors];
|
|
2467
|
+
export type CreateDirectiveResponses = {
|
|
1211
2468
|
/**
|
|
1212
2469
|
* Successful Response
|
|
1213
2470
|
*/
|
|
1214
|
-
200:
|
|
2471
|
+
200: DirectiveResponse;
|
|
1215
2472
|
};
|
|
1216
|
-
export type
|
|
1217
|
-
export type
|
|
2473
|
+
export type CreateDirectiveResponse = CreateDirectiveResponses[keyof CreateDirectiveResponses];
|
|
2474
|
+
export type DeleteDirectiveData = {
|
|
1218
2475
|
body?: never;
|
|
1219
2476
|
headers?: {
|
|
1220
2477
|
/**
|
|
@@ -1227,32 +2484,28 @@ export type ListEntitiesData = {
|
|
|
1227
2484
|
* Bank Id
|
|
1228
2485
|
*/
|
|
1229
2486
|
bank_id: string;
|
|
1230
|
-
};
|
|
1231
|
-
query?: {
|
|
1232
2487
|
/**
|
|
1233
|
-
*
|
|
1234
|
-
*
|
|
1235
|
-
* Maximum number of entities to return
|
|
2488
|
+
* Directive Id
|
|
1236
2489
|
*/
|
|
1237
|
-
|
|
2490
|
+
directive_id: string;
|
|
1238
2491
|
};
|
|
1239
|
-
|
|
2492
|
+
query?: never;
|
|
2493
|
+
url: "/v1/default/banks/{bank_id}/directives/{directive_id}";
|
|
1240
2494
|
};
|
|
1241
|
-
export type
|
|
2495
|
+
export type DeleteDirectiveErrors = {
|
|
1242
2496
|
/**
|
|
1243
2497
|
* Validation Error
|
|
1244
2498
|
*/
|
|
1245
2499
|
422: HttpValidationError;
|
|
1246
2500
|
};
|
|
1247
|
-
export type
|
|
1248
|
-
export type
|
|
2501
|
+
export type DeleteDirectiveError = DeleteDirectiveErrors[keyof DeleteDirectiveErrors];
|
|
2502
|
+
export type DeleteDirectiveResponses = {
|
|
1249
2503
|
/**
|
|
1250
2504
|
* Successful Response
|
|
1251
2505
|
*/
|
|
1252
|
-
200:
|
|
2506
|
+
200: unknown;
|
|
1253
2507
|
};
|
|
1254
|
-
export type
|
|
1255
|
-
export type GetEntityData = {
|
|
2508
|
+
export type GetDirectiveData = {
|
|
1256
2509
|
body?: never;
|
|
1257
2510
|
headers?: {
|
|
1258
2511
|
/**
|
|
@@ -1266,29 +2519,29 @@ export type GetEntityData = {
|
|
|
1266
2519
|
*/
|
|
1267
2520
|
bank_id: string;
|
|
1268
2521
|
/**
|
|
1269
|
-
*
|
|
2522
|
+
* Directive Id
|
|
1270
2523
|
*/
|
|
1271
|
-
|
|
2524
|
+
directive_id: string;
|
|
1272
2525
|
};
|
|
1273
2526
|
query?: never;
|
|
1274
|
-
url: "/v1/default/banks/{bank_id}/
|
|
2527
|
+
url: "/v1/default/banks/{bank_id}/directives/{directive_id}";
|
|
1275
2528
|
};
|
|
1276
|
-
export type
|
|
2529
|
+
export type GetDirectiveErrors = {
|
|
1277
2530
|
/**
|
|
1278
2531
|
* Validation Error
|
|
1279
2532
|
*/
|
|
1280
2533
|
422: HttpValidationError;
|
|
1281
2534
|
};
|
|
1282
|
-
export type
|
|
1283
|
-
export type
|
|
2535
|
+
export type GetDirectiveError = GetDirectiveErrors[keyof GetDirectiveErrors];
|
|
2536
|
+
export type GetDirectiveResponses = {
|
|
1284
2537
|
/**
|
|
1285
2538
|
* Successful Response
|
|
1286
2539
|
*/
|
|
1287
|
-
200:
|
|
2540
|
+
200: DirectiveResponse;
|
|
1288
2541
|
};
|
|
1289
|
-
export type
|
|
1290
|
-
export type
|
|
1291
|
-
body
|
|
2542
|
+
export type GetDirectiveResponse = GetDirectiveResponses[keyof GetDirectiveResponses];
|
|
2543
|
+
export type UpdateDirectiveData = {
|
|
2544
|
+
body: UpdateDirectiveRequest;
|
|
1292
2545
|
headers?: {
|
|
1293
2546
|
/**
|
|
1294
2547
|
* Authorization
|
|
@@ -1301,27 +2554,27 @@ export type RegenerateEntityObservationsData = {
|
|
|
1301
2554
|
*/
|
|
1302
2555
|
bank_id: string;
|
|
1303
2556
|
/**
|
|
1304
|
-
*
|
|
2557
|
+
* Directive Id
|
|
1305
2558
|
*/
|
|
1306
|
-
|
|
2559
|
+
directive_id: string;
|
|
1307
2560
|
};
|
|
1308
2561
|
query?: never;
|
|
1309
|
-
url: "/v1/default/banks/{bank_id}/
|
|
2562
|
+
url: "/v1/default/banks/{bank_id}/directives/{directive_id}";
|
|
1310
2563
|
};
|
|
1311
|
-
export type
|
|
2564
|
+
export type UpdateDirectiveErrors = {
|
|
1312
2565
|
/**
|
|
1313
2566
|
* Validation Error
|
|
1314
2567
|
*/
|
|
1315
2568
|
422: HttpValidationError;
|
|
1316
2569
|
};
|
|
1317
|
-
export type
|
|
1318
|
-
export type
|
|
2570
|
+
export type UpdateDirectiveError = UpdateDirectiveErrors[keyof UpdateDirectiveErrors];
|
|
2571
|
+
export type UpdateDirectiveResponses = {
|
|
1319
2572
|
/**
|
|
1320
2573
|
* Successful Response
|
|
1321
2574
|
*/
|
|
1322
|
-
200:
|
|
2575
|
+
200: DirectiveResponse;
|
|
1323
2576
|
};
|
|
1324
|
-
export type
|
|
2577
|
+
export type UpdateDirectiveResponse = UpdateDirectiveResponses[keyof UpdateDirectiveResponses];
|
|
1325
2578
|
export type ListDocumentsData = {
|
|
1326
2579
|
body?: never;
|
|
1327
2580
|
headers?: {
|
|
@@ -1436,6 +2689,56 @@ export type GetDocumentResponses = {
|
|
|
1436
2689
|
200: DocumentResponse;
|
|
1437
2690
|
};
|
|
1438
2691
|
export type GetDocumentResponse = GetDocumentResponses[keyof GetDocumentResponses];
|
|
2692
|
+
export type ListTagsData = {
|
|
2693
|
+
body?: never;
|
|
2694
|
+
headers?: {
|
|
2695
|
+
/**
|
|
2696
|
+
* Authorization
|
|
2697
|
+
*/
|
|
2698
|
+
authorization?: string | null;
|
|
2699
|
+
};
|
|
2700
|
+
path: {
|
|
2701
|
+
/**
|
|
2702
|
+
* Bank Id
|
|
2703
|
+
*/
|
|
2704
|
+
bank_id: string;
|
|
2705
|
+
};
|
|
2706
|
+
query?: {
|
|
2707
|
+
/**
|
|
2708
|
+
* Q
|
|
2709
|
+
*
|
|
2710
|
+
* Wildcard pattern to filter tags (e.g., 'user:*' for user:alice, '*-admin' for role-admin). Use '*' as wildcard. Case-insensitive.
|
|
2711
|
+
*/
|
|
2712
|
+
q?: string | null;
|
|
2713
|
+
/**
|
|
2714
|
+
* Limit
|
|
2715
|
+
*
|
|
2716
|
+
* Maximum number of tags to return
|
|
2717
|
+
*/
|
|
2718
|
+
limit?: number;
|
|
2719
|
+
/**
|
|
2720
|
+
* Offset
|
|
2721
|
+
*
|
|
2722
|
+
* Offset for pagination
|
|
2723
|
+
*/
|
|
2724
|
+
offset?: number;
|
|
2725
|
+
};
|
|
2726
|
+
url: "/v1/default/banks/{bank_id}/tags";
|
|
2727
|
+
};
|
|
2728
|
+
export type ListTagsErrors = {
|
|
2729
|
+
/**
|
|
2730
|
+
* Validation Error
|
|
2731
|
+
*/
|
|
2732
|
+
422: HttpValidationError;
|
|
2733
|
+
};
|
|
2734
|
+
export type ListTagsError = ListTagsErrors[keyof ListTagsErrors];
|
|
2735
|
+
export type ListTagsResponses = {
|
|
2736
|
+
/**
|
|
2737
|
+
* Successful Response
|
|
2738
|
+
*/
|
|
2739
|
+
200: ListTagsResponse;
|
|
2740
|
+
};
|
|
2741
|
+
export type ListTagsResponse2 = ListTagsResponses[keyof ListTagsResponses];
|
|
1439
2742
|
export type GetChunkData = {
|
|
1440
2743
|
body?: never;
|
|
1441
2744
|
headers?: {
|
|
@@ -1481,7 +2784,26 @@ export type ListOperationsData = {
|
|
|
1481
2784
|
*/
|
|
1482
2785
|
bank_id: string;
|
|
1483
2786
|
};
|
|
1484
|
-
query?:
|
|
2787
|
+
query?: {
|
|
2788
|
+
/**
|
|
2789
|
+
* Status
|
|
2790
|
+
*
|
|
2791
|
+
* Filter by status: pending, completed, or failed
|
|
2792
|
+
*/
|
|
2793
|
+
status?: string | null;
|
|
2794
|
+
/**
|
|
2795
|
+
* Limit
|
|
2796
|
+
*
|
|
2797
|
+
* Maximum number of operations to return
|
|
2798
|
+
*/
|
|
2799
|
+
limit?: number;
|
|
2800
|
+
/**
|
|
2801
|
+
* Offset
|
|
2802
|
+
*
|
|
2803
|
+
* Number of operations to skip
|
|
2804
|
+
*/
|
|
2805
|
+
offset?: number;
|
|
2806
|
+
};
|
|
1485
2807
|
url: "/v1/default/banks/{bank_id}/operations";
|
|
1486
2808
|
};
|
|
1487
2809
|
export type ListOperationsErrors = {
|
|
@@ -1533,6 +2855,41 @@ export type CancelOperationResponses = {
|
|
|
1533
2855
|
200: CancelOperationResponse;
|
|
1534
2856
|
};
|
|
1535
2857
|
export type CancelOperationResponse2 = CancelOperationResponses[keyof CancelOperationResponses];
|
|
2858
|
+
export type GetOperationStatusData = {
|
|
2859
|
+
body?: never;
|
|
2860
|
+
headers?: {
|
|
2861
|
+
/**
|
|
2862
|
+
* Authorization
|
|
2863
|
+
*/
|
|
2864
|
+
authorization?: string | null;
|
|
2865
|
+
};
|
|
2866
|
+
path: {
|
|
2867
|
+
/**
|
|
2868
|
+
* Bank Id
|
|
2869
|
+
*/
|
|
2870
|
+
bank_id: string;
|
|
2871
|
+
/**
|
|
2872
|
+
* Operation Id
|
|
2873
|
+
*/
|
|
2874
|
+
operation_id: string;
|
|
2875
|
+
};
|
|
2876
|
+
query?: never;
|
|
2877
|
+
url: "/v1/default/banks/{bank_id}/operations/{operation_id}";
|
|
2878
|
+
};
|
|
2879
|
+
export type GetOperationStatusErrors = {
|
|
2880
|
+
/**
|
|
2881
|
+
* Validation Error
|
|
2882
|
+
*/
|
|
2883
|
+
422: HttpValidationError;
|
|
2884
|
+
};
|
|
2885
|
+
export type GetOperationStatusError = GetOperationStatusErrors[keyof GetOperationStatusErrors];
|
|
2886
|
+
export type GetOperationStatusResponses = {
|
|
2887
|
+
/**
|
|
2888
|
+
* Successful Response
|
|
2889
|
+
*/
|
|
2890
|
+
200: OperationStatusResponse;
|
|
2891
|
+
};
|
|
2892
|
+
export type GetOperationStatusResponse = GetOperationStatusResponses[keyof GetOperationStatusResponses];
|
|
1536
2893
|
export type GetBankProfileData = {
|
|
1537
2894
|
body?: never;
|
|
1538
2895
|
headers?: {
|
|
@@ -1657,6 +3014,37 @@ export type DeleteBankResponses = {
|
|
|
1657
3014
|
200: DeleteResponse;
|
|
1658
3015
|
};
|
|
1659
3016
|
export type DeleteBankResponse = DeleteBankResponses[keyof DeleteBankResponses];
|
|
3017
|
+
export type UpdateBankData = {
|
|
3018
|
+
body: CreateBankRequest;
|
|
3019
|
+
headers?: {
|
|
3020
|
+
/**
|
|
3021
|
+
* Authorization
|
|
3022
|
+
*/
|
|
3023
|
+
authorization?: string | null;
|
|
3024
|
+
};
|
|
3025
|
+
path: {
|
|
3026
|
+
/**
|
|
3027
|
+
* Bank Id
|
|
3028
|
+
*/
|
|
3029
|
+
bank_id: string;
|
|
3030
|
+
};
|
|
3031
|
+
query?: never;
|
|
3032
|
+
url: "/v1/default/banks/{bank_id}";
|
|
3033
|
+
};
|
|
3034
|
+
export type UpdateBankErrors = {
|
|
3035
|
+
/**
|
|
3036
|
+
* Validation Error
|
|
3037
|
+
*/
|
|
3038
|
+
422: HttpValidationError;
|
|
3039
|
+
};
|
|
3040
|
+
export type UpdateBankError = UpdateBankErrors[keyof UpdateBankErrors];
|
|
3041
|
+
export type UpdateBankResponses = {
|
|
3042
|
+
/**
|
|
3043
|
+
* Successful Response
|
|
3044
|
+
*/
|
|
3045
|
+
200: BankProfileResponse;
|
|
3046
|
+
};
|
|
3047
|
+
export type UpdateBankResponse = UpdateBankResponses[keyof UpdateBankResponses];
|
|
1660
3048
|
export type CreateOrUpdateBankData = {
|
|
1661
3049
|
body: CreateBankRequest;
|
|
1662
3050
|
headers?: {
|
|
@@ -1688,6 +3076,68 @@ export type CreateOrUpdateBankResponses = {
|
|
|
1688
3076
|
200: BankProfileResponse;
|
|
1689
3077
|
};
|
|
1690
3078
|
export type CreateOrUpdateBankResponse = CreateOrUpdateBankResponses[keyof CreateOrUpdateBankResponses];
|
|
3079
|
+
export type ClearObservationsData = {
|
|
3080
|
+
body?: never;
|
|
3081
|
+
headers?: {
|
|
3082
|
+
/**
|
|
3083
|
+
* Authorization
|
|
3084
|
+
*/
|
|
3085
|
+
authorization?: string | null;
|
|
3086
|
+
};
|
|
3087
|
+
path: {
|
|
3088
|
+
/**
|
|
3089
|
+
* Bank Id
|
|
3090
|
+
*/
|
|
3091
|
+
bank_id: string;
|
|
3092
|
+
};
|
|
3093
|
+
query?: never;
|
|
3094
|
+
url: "/v1/default/banks/{bank_id}/observations";
|
|
3095
|
+
};
|
|
3096
|
+
export type ClearObservationsErrors = {
|
|
3097
|
+
/**
|
|
3098
|
+
* Validation Error
|
|
3099
|
+
*/
|
|
3100
|
+
422: HttpValidationError;
|
|
3101
|
+
};
|
|
3102
|
+
export type ClearObservationsError = ClearObservationsErrors[keyof ClearObservationsErrors];
|
|
3103
|
+
export type ClearObservationsResponses = {
|
|
3104
|
+
/**
|
|
3105
|
+
* Successful Response
|
|
3106
|
+
*/
|
|
3107
|
+
200: DeleteResponse;
|
|
3108
|
+
};
|
|
3109
|
+
export type ClearObservationsResponse = ClearObservationsResponses[keyof ClearObservationsResponses];
|
|
3110
|
+
export type TriggerConsolidationData = {
|
|
3111
|
+
body?: never;
|
|
3112
|
+
headers?: {
|
|
3113
|
+
/**
|
|
3114
|
+
* Authorization
|
|
3115
|
+
*/
|
|
3116
|
+
authorization?: string | null;
|
|
3117
|
+
};
|
|
3118
|
+
path: {
|
|
3119
|
+
/**
|
|
3120
|
+
* Bank Id
|
|
3121
|
+
*/
|
|
3122
|
+
bank_id: string;
|
|
3123
|
+
};
|
|
3124
|
+
query?: never;
|
|
3125
|
+
url: "/v1/default/banks/{bank_id}/consolidate";
|
|
3126
|
+
};
|
|
3127
|
+
export type TriggerConsolidationErrors = {
|
|
3128
|
+
/**
|
|
3129
|
+
* Validation Error
|
|
3130
|
+
*/
|
|
3131
|
+
422: HttpValidationError;
|
|
3132
|
+
};
|
|
3133
|
+
export type TriggerConsolidationError = TriggerConsolidationErrors[keyof TriggerConsolidationErrors];
|
|
3134
|
+
export type TriggerConsolidationResponses = {
|
|
3135
|
+
/**
|
|
3136
|
+
* Successful Response
|
|
3137
|
+
*/
|
|
3138
|
+
200: ConsolidationResponse;
|
|
3139
|
+
};
|
|
3140
|
+
export type TriggerConsolidationResponse = TriggerConsolidationResponses[keyof TriggerConsolidationResponses];
|
|
1691
3141
|
export type ClearBankMemoriesData = {
|
|
1692
3142
|
body?: never;
|
|
1693
3143
|
headers?: {
|