@ocxp/client 0.2.7 → 0.2.8
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/index.cjs +332 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2196 -677
- package/dist/index.d.ts +2196 -677
- package/dist/index.js +318 -32
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -425,23 +425,6 @@ type BodyLoginForAccessToken = {
|
|
|
425
425
|
*/
|
|
426
426
|
client_secret?: string | null;
|
|
427
427
|
};
|
|
428
|
-
/**
|
|
429
|
-
* BulkDeleteRequest
|
|
430
|
-
*/
|
|
431
|
-
type BulkDeleteRequest = {
|
|
432
|
-
/**
|
|
433
|
-
* Ids
|
|
434
|
-
*/
|
|
435
|
-
ids: Array<string>;
|
|
436
|
-
/**
|
|
437
|
-
* Manage Metadata
|
|
438
|
-
*/
|
|
439
|
-
manage_metadata?: boolean;
|
|
440
|
-
/**
|
|
441
|
-
* Auto Index
|
|
442
|
-
*/
|
|
443
|
-
auto_index?: boolean | null;
|
|
444
|
-
};
|
|
445
428
|
/**
|
|
446
429
|
* BulkDeleteResponse
|
|
447
430
|
*
|
|
@@ -504,6 +487,57 @@ type BulkReadResponse = {
|
|
|
504
487
|
*/
|
|
505
488
|
count: number;
|
|
506
489
|
};
|
|
490
|
+
/**
|
|
491
|
+
* BulkTaskUpdateRequest
|
|
492
|
+
*
|
|
493
|
+
* Request to bulk update multiple tasks.
|
|
494
|
+
*/
|
|
495
|
+
type BulkTaskUpdateRequest = {
|
|
496
|
+
/**
|
|
497
|
+
* Updates
|
|
498
|
+
*
|
|
499
|
+
* List of task updates
|
|
500
|
+
*/
|
|
501
|
+
updates: Array<TaskUpdate>;
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* BulkTaskUpdateResponse
|
|
505
|
+
*
|
|
506
|
+
* Response from bulk task update.
|
|
507
|
+
*/
|
|
508
|
+
type BulkTaskUpdateResponse = {
|
|
509
|
+
/**
|
|
510
|
+
* Results
|
|
511
|
+
*/
|
|
512
|
+
results: Array<BulkTaskUpdateResult>;
|
|
513
|
+
/**
|
|
514
|
+
* Updated Count
|
|
515
|
+
*/
|
|
516
|
+
updated_count: number;
|
|
517
|
+
/**
|
|
518
|
+
* Failed Count
|
|
519
|
+
*/
|
|
520
|
+
failed_count: number;
|
|
521
|
+
};
|
|
522
|
+
/**
|
|
523
|
+
* BulkTaskUpdateResult
|
|
524
|
+
*
|
|
525
|
+
* Result for a single task in bulk update.
|
|
526
|
+
*/
|
|
527
|
+
type BulkTaskUpdateResult = {
|
|
528
|
+
/**
|
|
529
|
+
* Task Id
|
|
530
|
+
*/
|
|
531
|
+
task_id: string;
|
|
532
|
+
/**
|
|
533
|
+
* Success
|
|
534
|
+
*/
|
|
535
|
+
success: boolean;
|
|
536
|
+
/**
|
|
537
|
+
* Error
|
|
538
|
+
*/
|
|
539
|
+
error?: string | null;
|
|
540
|
+
};
|
|
507
541
|
/**
|
|
508
542
|
* BulkWriteItem
|
|
509
543
|
*/
|
|
@@ -806,6 +840,54 @@ type ContentWriteResponse = {
|
|
|
806
840
|
* S3 version ID of the written object
|
|
807
841
|
*/
|
|
808
842
|
version_id?: string | null;
|
|
843
|
+
/**
|
|
844
|
+
* Indexed
|
|
845
|
+
*
|
|
846
|
+
* KB indexing status: True=indexed, False=failed, None=skipped
|
|
847
|
+
*/
|
|
848
|
+
indexed?: boolean | null;
|
|
849
|
+
/**
|
|
850
|
+
* Verified
|
|
851
|
+
*
|
|
852
|
+
* Full verification status: True=S3+KB verified, False=failed, None=skipped
|
|
853
|
+
*/
|
|
854
|
+
verified?: boolean | null;
|
|
855
|
+
/**
|
|
856
|
+
* S3 Verified
|
|
857
|
+
*
|
|
858
|
+
* S3 read verification
|
|
859
|
+
*/
|
|
860
|
+
s3_verified?: boolean | null;
|
|
861
|
+
/**
|
|
862
|
+
* Kb Verified
|
|
863
|
+
*
|
|
864
|
+
* KB discover verification
|
|
865
|
+
*/
|
|
866
|
+
kb_verified?: boolean | null;
|
|
867
|
+
/**
|
|
868
|
+
* Index Time Ms
|
|
869
|
+
*
|
|
870
|
+
* Time spent on KB indexing in milliseconds
|
|
871
|
+
*/
|
|
872
|
+
index_time_ms?: number | null;
|
|
873
|
+
/**
|
|
874
|
+
* Verify Time Ms
|
|
875
|
+
*
|
|
876
|
+
* Time spent on verification in milliseconds
|
|
877
|
+
*/
|
|
878
|
+
verify_time_ms?: number | null;
|
|
879
|
+
/**
|
|
880
|
+
* Retries
|
|
881
|
+
*
|
|
882
|
+
* Number of retry attempts (0 = first attempt succeeded)
|
|
883
|
+
*/
|
|
884
|
+
retries?: number | null;
|
|
885
|
+
/**
|
|
886
|
+
* Verification Error
|
|
887
|
+
*
|
|
888
|
+
* Error details if verification failed
|
|
889
|
+
*/
|
|
890
|
+
verification_error?: string | null;
|
|
809
891
|
};
|
|
810
892
|
/**
|
|
811
893
|
* CreateMemoRequest
|
|
@@ -841,6 +923,21 @@ type CreateMemoRequest = {
|
|
|
841
923
|
findings?: Array<SecurityFinding> | null;
|
|
842
924
|
severity?: MemoSeverity;
|
|
843
925
|
};
|
|
926
|
+
/**
|
|
927
|
+
* CredentialActionResponse
|
|
928
|
+
*
|
|
929
|
+
* Response for credential actions (save/update/delete/test).
|
|
930
|
+
*/
|
|
931
|
+
type CredentialActionResponse = {
|
|
932
|
+
/**
|
|
933
|
+
* Success
|
|
934
|
+
*/
|
|
935
|
+
success: boolean;
|
|
936
|
+
/**
|
|
937
|
+
* Message
|
|
938
|
+
*/
|
|
939
|
+
message?: string | null;
|
|
940
|
+
};
|
|
844
941
|
/**
|
|
845
942
|
* DatabaseConfigResponse
|
|
846
943
|
*
|
|
@@ -976,7 +1073,7 @@ type DatabaseCreate = {
|
|
|
976
1073
|
/**
|
|
977
1074
|
* DatabaseListResponse
|
|
978
1075
|
*
|
|
979
|
-
* Response for GET /ocxp/database.
|
|
1076
|
+
* Response for GET /ocxp/database with offset-based pagination.
|
|
980
1077
|
*/
|
|
981
1078
|
type DatabaseListResponse = {
|
|
982
1079
|
/**
|
|
@@ -985,8 +1082,34 @@ type DatabaseListResponse = {
|
|
|
985
1082
|
databases: Array<DatabaseConfigResponse>;
|
|
986
1083
|
/**
|
|
987
1084
|
* Count
|
|
1085
|
+
*
|
|
1086
|
+
* Number of items in this response
|
|
988
1087
|
*/
|
|
989
1088
|
count: number;
|
|
1089
|
+
/**
|
|
1090
|
+
* Total
|
|
1091
|
+
*
|
|
1092
|
+
* Total number of items matching query (across all pages)
|
|
1093
|
+
*/
|
|
1094
|
+
total?: number | null;
|
|
1095
|
+
/**
|
|
1096
|
+
* Offset
|
|
1097
|
+
*
|
|
1098
|
+
* Offset used for this query
|
|
1099
|
+
*/
|
|
1100
|
+
offset?: number | null;
|
|
1101
|
+
/**
|
|
1102
|
+
* Limit
|
|
1103
|
+
*
|
|
1104
|
+
* Limit used for this query
|
|
1105
|
+
*/
|
|
1106
|
+
limit?: number | null;
|
|
1107
|
+
/**
|
|
1108
|
+
* Has More
|
|
1109
|
+
*
|
|
1110
|
+
* Whether there are more items after this page
|
|
1111
|
+
*/
|
|
1112
|
+
has_more?: boolean;
|
|
990
1113
|
};
|
|
991
1114
|
/**
|
|
992
1115
|
* DatabaseSampleResponse
|
|
@@ -1498,11 +1621,11 @@ type MemoActionResponse = {
|
|
|
1498
1621
|
*
|
|
1499
1622
|
* Category of memo feedback.
|
|
1500
1623
|
*/
|
|
1501
|
-
type MemoCategory = 'agent_error' | 'agent_warning' | 'agent_hitl' | 'user_comment' | 'user_edit' | 'user_delete' | 'security_finding';
|
|
1624
|
+
type MemoCategory = 'agent_error' | 'agent_warning' | 'agent_hitl' | 'agent_comment' | 'agent_edit' | 'agent_delete' | 'user_comment' | 'user_edit' | 'user_delete' | 'security_finding' | 'workflow_task';
|
|
1502
1625
|
/**
|
|
1503
1626
|
* MemoListResponse
|
|
1504
1627
|
*
|
|
1505
|
-
* Response for
|
|
1628
|
+
* Response for GET /ocxp/memos with offset-based pagination.
|
|
1506
1629
|
*/
|
|
1507
1630
|
type MemoListResponse = {
|
|
1508
1631
|
/**
|
|
@@ -1511,8 +1634,34 @@ type MemoListResponse = {
|
|
|
1511
1634
|
memos: Array<Memo>;
|
|
1512
1635
|
/**
|
|
1513
1636
|
* Count
|
|
1637
|
+
*
|
|
1638
|
+
* Number of items in this response
|
|
1514
1639
|
*/
|
|
1515
1640
|
count: number;
|
|
1641
|
+
/**
|
|
1642
|
+
* Total
|
|
1643
|
+
*
|
|
1644
|
+
* Total number of items matching query (across all pages)
|
|
1645
|
+
*/
|
|
1646
|
+
total?: number | null;
|
|
1647
|
+
/**
|
|
1648
|
+
* Offset
|
|
1649
|
+
*
|
|
1650
|
+
* Offset used for this query
|
|
1651
|
+
*/
|
|
1652
|
+
offset?: number | null;
|
|
1653
|
+
/**
|
|
1654
|
+
* Limit
|
|
1655
|
+
*
|
|
1656
|
+
* Limit used for this query
|
|
1657
|
+
*/
|
|
1658
|
+
limit?: number | null;
|
|
1659
|
+
/**
|
|
1660
|
+
* Has More
|
|
1661
|
+
*
|
|
1662
|
+
* Whether there are more items after this page
|
|
1663
|
+
*/
|
|
1664
|
+
has_more?: boolean;
|
|
1516
1665
|
};
|
|
1517
1666
|
/**
|
|
1518
1667
|
* MemoResolveRequest
|
|
@@ -1624,7 +1773,7 @@ type MissionCreateResponse = {
|
|
|
1624
1773
|
/**
|
|
1625
1774
|
* MissionListResponse
|
|
1626
1775
|
*
|
|
1627
|
-
* Response for GET /ocxp/mission.
|
|
1776
|
+
* Response for GET /ocxp/mission with offset-based pagination.
|
|
1628
1777
|
*/
|
|
1629
1778
|
type MissionListResponse = {
|
|
1630
1779
|
/**
|
|
@@ -1633,8 +1782,34 @@ type MissionListResponse = {
|
|
|
1633
1782
|
missions: Array<MissionResponse>;
|
|
1634
1783
|
/**
|
|
1635
1784
|
* Count
|
|
1785
|
+
*
|
|
1786
|
+
* Number of items in this response
|
|
1636
1787
|
*/
|
|
1637
1788
|
count: number;
|
|
1789
|
+
/**
|
|
1790
|
+
* Total
|
|
1791
|
+
*
|
|
1792
|
+
* Total number of items matching query (across all pages)
|
|
1793
|
+
*/
|
|
1794
|
+
total?: number | null;
|
|
1795
|
+
/**
|
|
1796
|
+
* Offset
|
|
1797
|
+
*
|
|
1798
|
+
* Offset used for this query
|
|
1799
|
+
*/
|
|
1800
|
+
offset?: number | null;
|
|
1801
|
+
/**
|
|
1802
|
+
* Limit
|
|
1803
|
+
*
|
|
1804
|
+
* Limit used for this query
|
|
1805
|
+
*/
|
|
1806
|
+
limit?: number | null;
|
|
1807
|
+
/**
|
|
1808
|
+
* Has More
|
|
1809
|
+
*
|
|
1810
|
+
* Whether there are more items after this page
|
|
1811
|
+
*/
|
|
1812
|
+
has_more?: boolean;
|
|
1638
1813
|
};
|
|
1639
1814
|
/**
|
|
1640
1815
|
* MissionResponse
|
|
@@ -1674,6 +1849,12 @@ type MissionResponse = {
|
|
|
1674
1849
|
* Project UUID this mission belongs to
|
|
1675
1850
|
*/
|
|
1676
1851
|
project_id?: string | null;
|
|
1852
|
+
/**
|
|
1853
|
+
* Priority
|
|
1854
|
+
*
|
|
1855
|
+
* Priority: P0, P1, P2, P3, High, Medium, Low
|
|
1856
|
+
*/
|
|
1857
|
+
priority?: string | null;
|
|
1677
1858
|
/**
|
|
1678
1859
|
* Status
|
|
1679
1860
|
*
|
|
@@ -1817,7 +1998,7 @@ type ProjectCreate = {
|
|
|
1817
1998
|
/**
|
|
1818
1999
|
* ProjectListResponse
|
|
1819
2000
|
*
|
|
1820
|
-
* Response for GET /ocxp/project.
|
|
2001
|
+
* Response for GET /ocxp/project with offset-based pagination.
|
|
1821
2002
|
*/
|
|
1822
2003
|
type ProjectListResponse = {
|
|
1823
2004
|
/**
|
|
@@ -1826,8 +2007,34 @@ type ProjectListResponse = {
|
|
|
1826
2007
|
projects: Array<ProjectResponse>;
|
|
1827
2008
|
/**
|
|
1828
2009
|
* Count
|
|
2010
|
+
*
|
|
2011
|
+
* Number of items in this response
|
|
1829
2012
|
*/
|
|
1830
2013
|
count: number;
|
|
2014
|
+
/**
|
|
2015
|
+
* Total
|
|
2016
|
+
*
|
|
2017
|
+
* Total number of items matching query (across all pages)
|
|
2018
|
+
*/
|
|
2019
|
+
total?: number | null;
|
|
2020
|
+
/**
|
|
2021
|
+
* Offset
|
|
2022
|
+
*
|
|
2023
|
+
* Offset used for this query
|
|
2024
|
+
*/
|
|
2025
|
+
offset?: number | null;
|
|
2026
|
+
/**
|
|
2027
|
+
* Limit
|
|
2028
|
+
*
|
|
2029
|
+
* Limit used for this query
|
|
2030
|
+
*/
|
|
2031
|
+
limit?: number | null;
|
|
2032
|
+
/**
|
|
2033
|
+
* Has More
|
|
2034
|
+
*
|
|
2035
|
+
* Whether there are more items after this page
|
|
2036
|
+
*/
|
|
2037
|
+
has_more?: boolean;
|
|
1831
2038
|
};
|
|
1832
2039
|
/**
|
|
1833
2040
|
* ProjectResponse
|
|
@@ -1881,6 +2088,56 @@ type ProjectResponse = {
|
|
|
1881
2088
|
* Created By
|
|
1882
2089
|
*/
|
|
1883
2090
|
created_by?: string | null;
|
|
2091
|
+
/**
|
|
2092
|
+
* Pre-computed counts for project overview
|
|
2093
|
+
*/
|
|
2094
|
+
stats?: ProjectStats | null;
|
|
2095
|
+
};
|
|
2096
|
+
/**
|
|
2097
|
+
* ProjectStats
|
|
2098
|
+
*
|
|
2099
|
+
* Pre-computed counts for project overview.
|
|
2100
|
+
*
|
|
2101
|
+
* Provides immediate access to counts without extra API calls.
|
|
2102
|
+
* Computed server-side when project is fetched.
|
|
2103
|
+
*/
|
|
2104
|
+
type ProjectStats = {
|
|
2105
|
+
/**
|
|
2106
|
+
* Mission Count
|
|
2107
|
+
*
|
|
2108
|
+
* Total missions linked to project
|
|
2109
|
+
*/
|
|
2110
|
+
mission_count?: number;
|
|
2111
|
+
/**
|
|
2112
|
+
* Active Mission Count
|
|
2113
|
+
*
|
|
2114
|
+
* Non-archived missions
|
|
2115
|
+
*/
|
|
2116
|
+
active_mission_count?: number;
|
|
2117
|
+
/**
|
|
2118
|
+
* Archived Mission Count
|
|
2119
|
+
*
|
|
2120
|
+
* Archived missions
|
|
2121
|
+
*/
|
|
2122
|
+
archived_mission_count?: number;
|
|
2123
|
+
/**
|
|
2124
|
+
* Repo Count
|
|
2125
|
+
*
|
|
2126
|
+
* Linked repositories
|
|
2127
|
+
*/
|
|
2128
|
+
repo_count?: number;
|
|
2129
|
+
/**
|
|
2130
|
+
* Memo Count
|
|
2131
|
+
*
|
|
2132
|
+
* Project memos (open status)
|
|
2133
|
+
*/
|
|
2134
|
+
memo_count?: number;
|
|
2135
|
+
/**
|
|
2136
|
+
* Sop Count
|
|
2137
|
+
*
|
|
2138
|
+
* SOPs in project context
|
|
2139
|
+
*/
|
|
2140
|
+
sop_count?: number;
|
|
1884
2141
|
};
|
|
1885
2142
|
/**
|
|
1886
2143
|
* ProjectUpdate
|
|
@@ -3044,7 +3301,7 @@ type RepoInfo = {
|
|
|
3044
3301
|
/**
|
|
3045
3302
|
* RepoListResponse
|
|
3046
3303
|
*
|
|
3047
|
-
* Response for GET /ocxp/repo/list.
|
|
3304
|
+
* Response for GET /ocxp/repo/list with offset-based pagination.
|
|
3048
3305
|
*/
|
|
3049
3306
|
type RepoListResponse = {
|
|
3050
3307
|
/**
|
|
@@ -3053,8 +3310,34 @@ type RepoListResponse = {
|
|
|
3053
3310
|
repos: Array<RepoInfo>;
|
|
3054
3311
|
/**
|
|
3055
3312
|
* Count
|
|
3313
|
+
*
|
|
3314
|
+
* Number of items in this response
|
|
3056
3315
|
*/
|
|
3057
3316
|
count: number;
|
|
3317
|
+
/**
|
|
3318
|
+
* Total
|
|
3319
|
+
*
|
|
3320
|
+
* Total number of items matching query (across all pages)
|
|
3321
|
+
*/
|
|
3322
|
+
total?: number | null;
|
|
3323
|
+
/**
|
|
3324
|
+
* Offset
|
|
3325
|
+
*
|
|
3326
|
+
* Offset used for this query
|
|
3327
|
+
*/
|
|
3328
|
+
offset?: number | null;
|
|
3329
|
+
/**
|
|
3330
|
+
* Limit
|
|
3331
|
+
*
|
|
3332
|
+
* Limit used for this query
|
|
3333
|
+
*/
|
|
3334
|
+
limit?: number | null;
|
|
3335
|
+
/**
|
|
3336
|
+
* Has More
|
|
3337
|
+
*
|
|
3338
|
+
* Whether there are more items after this page
|
|
3339
|
+
*/
|
|
3340
|
+
has_more?: boolean;
|
|
3058
3341
|
};
|
|
3059
3342
|
/**
|
|
3060
3343
|
* RepoStatusResponse
|
|
@@ -3171,6 +3454,12 @@ type RepoSyncResponse = {
|
|
|
3171
3454
|
*/
|
|
3172
3455
|
changes_detected?: boolean;
|
|
3173
3456
|
};
|
|
3457
|
+
/**
|
|
3458
|
+
* SMEType
|
|
3459
|
+
*
|
|
3460
|
+
* Subject Matter Expert types for task routing.
|
|
3461
|
+
*/
|
|
3462
|
+
type SmeType = 'CODEBASE' | 'CONTEXT' | 'DATABASE' | 'VISUAL';
|
|
3174
3463
|
/**
|
|
3175
3464
|
* SecurityFinding
|
|
3176
3465
|
*
|
|
@@ -3232,7 +3521,7 @@ type SessionForkResponse = {
|
|
|
3232
3521
|
/**
|
|
3233
3522
|
* SessionListResponse
|
|
3234
3523
|
*
|
|
3235
|
-
* Response for GET /ocxp/session.
|
|
3524
|
+
* Response for GET /ocxp/session with offset-based pagination.
|
|
3236
3525
|
*/
|
|
3237
3526
|
type SessionListResponse = {
|
|
3238
3527
|
/**
|
|
@@ -3241,8 +3530,34 @@ type SessionListResponse = {
|
|
|
3241
3530
|
sessions: Array<SessionResponse>;
|
|
3242
3531
|
/**
|
|
3243
3532
|
* Count
|
|
3533
|
+
*
|
|
3534
|
+
* Number of items in this response
|
|
3244
3535
|
*/
|
|
3245
3536
|
count: number;
|
|
3537
|
+
/**
|
|
3538
|
+
* Total
|
|
3539
|
+
*
|
|
3540
|
+
* Total number of items matching query (across all pages)
|
|
3541
|
+
*/
|
|
3542
|
+
total?: number | null;
|
|
3543
|
+
/**
|
|
3544
|
+
* Offset
|
|
3545
|
+
*
|
|
3546
|
+
* Offset used for this query
|
|
3547
|
+
*/
|
|
3548
|
+
offset?: number | null;
|
|
3549
|
+
/**
|
|
3550
|
+
* Limit
|
|
3551
|
+
*
|
|
3552
|
+
* Limit used for this query
|
|
3553
|
+
*/
|
|
3554
|
+
limit?: number | null;
|
|
3555
|
+
/**
|
|
3556
|
+
* Has More
|
|
3557
|
+
*
|
|
3558
|
+
* Whether there are more items after this page
|
|
3559
|
+
*/
|
|
3560
|
+
has_more?: boolean;
|
|
3246
3561
|
};
|
|
3247
3562
|
/**
|
|
3248
3563
|
* SessionMessagesResponse
|
|
@@ -3354,7 +3669,7 @@ type SetDefaultRepoRequest = {
|
|
|
3354
3669
|
*
|
|
3355
3670
|
* Type of entity the memo is associated with.
|
|
3356
3671
|
*/
|
|
3357
|
-
type SourceType = 'repo' | 'project' | 'mission' | 'doc';
|
|
3672
|
+
type SourceType = 'repo' | 'project' | 'mission' | 'doc' | 'workflow';
|
|
3358
3673
|
/**
|
|
3359
3674
|
* SyncRequest
|
|
3360
3675
|
*
|
|
@@ -3367,51 +3682,156 @@ type SyncRequest = {
|
|
|
3367
3682
|
force?: boolean;
|
|
3368
3683
|
};
|
|
3369
3684
|
/**
|
|
3370
|
-
*
|
|
3685
|
+
* TaskListResponse
|
|
3371
3686
|
*
|
|
3372
|
-
*
|
|
3687
|
+
* Response for task list.
|
|
3373
3688
|
*/
|
|
3374
|
-
type
|
|
3689
|
+
type TaskListResponse = {
|
|
3375
3690
|
/**
|
|
3376
|
-
*
|
|
3691
|
+
* Tasks
|
|
3377
3692
|
*/
|
|
3378
|
-
|
|
3693
|
+
tasks: Array<TaskResponse>;
|
|
3379
3694
|
/**
|
|
3380
|
-
*
|
|
3695
|
+
* Count
|
|
3381
3696
|
*/
|
|
3382
|
-
|
|
3697
|
+
count: number;
|
|
3698
|
+
};
|
|
3699
|
+
/**
|
|
3700
|
+
* TaskResponse
|
|
3701
|
+
*
|
|
3702
|
+
* Task data in workflow response (strands-compatible format).
|
|
3703
|
+
*/
|
|
3704
|
+
type TaskResponse = {
|
|
3383
3705
|
/**
|
|
3384
|
-
*
|
|
3706
|
+
* Task Id
|
|
3385
3707
|
*/
|
|
3386
|
-
|
|
3708
|
+
task_id: string;
|
|
3387
3709
|
/**
|
|
3388
|
-
*
|
|
3710
|
+
* Description
|
|
3389
3711
|
*/
|
|
3390
|
-
|
|
3712
|
+
description: string;
|
|
3713
|
+
status: TaskStatus;
|
|
3391
3714
|
/**
|
|
3392
|
-
*
|
|
3715
|
+
* Priority
|
|
3393
3716
|
*/
|
|
3394
|
-
|
|
3395
|
-
};
|
|
3396
|
-
/**
|
|
3397
|
-
* UserResponse
|
|
3398
|
-
*
|
|
3399
|
-
* User info response.
|
|
3400
|
-
*/
|
|
3401
|
-
type UserResponse = {
|
|
3717
|
+
priority: number;
|
|
3402
3718
|
/**
|
|
3403
|
-
*
|
|
3719
|
+
* Timeout
|
|
3404
3720
|
*/
|
|
3405
|
-
|
|
3721
|
+
timeout: number;
|
|
3406
3722
|
/**
|
|
3407
|
-
*
|
|
3723
|
+
* Dependencies
|
|
3408
3724
|
*/
|
|
3409
|
-
|
|
3725
|
+
dependencies: Array<string>;
|
|
3726
|
+
sme_type?: SmeType | null;
|
|
3410
3727
|
/**
|
|
3411
|
-
*
|
|
3728
|
+
* Skill Path
|
|
3412
3729
|
*/
|
|
3413
|
-
|
|
3414
|
-
|
|
3730
|
+
skill_path?: string | null;
|
|
3731
|
+
/**
|
|
3732
|
+
* Result
|
|
3733
|
+
*/
|
|
3734
|
+
result?: string | null;
|
|
3735
|
+
/**
|
|
3736
|
+
* Error
|
|
3737
|
+
*/
|
|
3738
|
+
error?: string | null;
|
|
3739
|
+
/**
|
|
3740
|
+
* Retry Count
|
|
3741
|
+
*/
|
|
3742
|
+
retry_count?: number;
|
|
3743
|
+
/**
|
|
3744
|
+
* Memo Id
|
|
3745
|
+
*/
|
|
3746
|
+
memo_id?: string | null;
|
|
3747
|
+
};
|
|
3748
|
+
/**
|
|
3749
|
+
* TaskStatus
|
|
3750
|
+
*
|
|
3751
|
+
* Status of a workflow task.
|
|
3752
|
+
*/
|
|
3753
|
+
type TaskStatus = 'pending' | 'in_progress' | 'completed' | 'failed' | 'skipped';
|
|
3754
|
+
/**
|
|
3755
|
+
* TaskUpdate
|
|
3756
|
+
*
|
|
3757
|
+
* Request to update a task.
|
|
3758
|
+
*/
|
|
3759
|
+
type TaskUpdate = {
|
|
3760
|
+
/**
|
|
3761
|
+
* Task Id
|
|
3762
|
+
*
|
|
3763
|
+
* Task ID (required for bulk updates)
|
|
3764
|
+
*/
|
|
3765
|
+
task_id?: string | null;
|
|
3766
|
+
/**
|
|
3767
|
+
* New task status
|
|
3768
|
+
*/
|
|
3769
|
+
task_status?: TaskStatus | null;
|
|
3770
|
+
/**
|
|
3771
|
+
* Result
|
|
3772
|
+
*
|
|
3773
|
+
* Task result output
|
|
3774
|
+
*/
|
|
3775
|
+
result?: string | null;
|
|
3776
|
+
/**
|
|
3777
|
+
* Error
|
|
3778
|
+
*
|
|
3779
|
+
* Error message if failed
|
|
3780
|
+
*/
|
|
3781
|
+
error?: string | null;
|
|
3782
|
+
/**
|
|
3783
|
+
* Retry Count
|
|
3784
|
+
*
|
|
3785
|
+
* Update retry count
|
|
3786
|
+
*/
|
|
3787
|
+
retry_count?: number | null;
|
|
3788
|
+
};
|
|
3789
|
+
/**
|
|
3790
|
+
* TokenResponse
|
|
3791
|
+
*
|
|
3792
|
+
* Token response with camelCase output for plugin compatibility.
|
|
3793
|
+
*/
|
|
3794
|
+
type TokenResponse = {
|
|
3795
|
+
/**
|
|
3796
|
+
* Accesstoken
|
|
3797
|
+
*/
|
|
3798
|
+
accessToken: string;
|
|
3799
|
+
/**
|
|
3800
|
+
* Tokentype
|
|
3801
|
+
*/
|
|
3802
|
+
tokenType?: string;
|
|
3803
|
+
/**
|
|
3804
|
+
* Expiresin
|
|
3805
|
+
*/
|
|
3806
|
+
expiresIn?: number;
|
|
3807
|
+
/**
|
|
3808
|
+
* Idtoken
|
|
3809
|
+
*/
|
|
3810
|
+
idToken: string;
|
|
3811
|
+
/**
|
|
3812
|
+
* Refreshtoken
|
|
3813
|
+
*/
|
|
3814
|
+
refreshToken: string;
|
|
3815
|
+
};
|
|
3816
|
+
/**
|
|
3817
|
+
* UserResponse
|
|
3818
|
+
*
|
|
3819
|
+
* User info response.
|
|
3820
|
+
*/
|
|
3821
|
+
type UserResponse = {
|
|
3822
|
+
/**
|
|
3823
|
+
* Id
|
|
3824
|
+
*/
|
|
3825
|
+
id: string;
|
|
3826
|
+
/**
|
|
3827
|
+
* Email
|
|
3828
|
+
*/
|
|
3829
|
+
email: string;
|
|
3830
|
+
/**
|
|
3831
|
+
* Username
|
|
3832
|
+
*/
|
|
3833
|
+
username: string;
|
|
3834
|
+
};
|
|
3415
3835
|
/**
|
|
3416
3836
|
* ValidationError
|
|
3417
3837
|
*/
|
|
@@ -3430,92 +3850,743 @@ type ValidationError = {
|
|
|
3430
3850
|
type: string;
|
|
3431
3851
|
};
|
|
3432
3852
|
/**
|
|
3433
|
-
*
|
|
3853
|
+
* Workflow
|
|
3434
3854
|
*
|
|
3435
|
-
*
|
|
3855
|
+
* Workflow container - groups task memos for a mission.
|
|
3856
|
+
*
|
|
3857
|
+
* A mission can have multiple workflows (e.g., research workflow,
|
|
3858
|
+
* documentation workflow). Each workflow manages its own set of tasks
|
|
3859
|
+
* while sharing the mission's context and session data.
|
|
3436
3860
|
*/
|
|
3437
|
-
type
|
|
3861
|
+
type Workflow = {
|
|
3438
3862
|
/**
|
|
3439
|
-
* Id
|
|
3863
|
+
* Workflow Id
|
|
3864
|
+
*
|
|
3865
|
+
* Unique workflow identifier (UUID)
|
|
3440
3866
|
*/
|
|
3441
|
-
|
|
3867
|
+
workflow_id?: string;
|
|
3868
|
+
/**
|
|
3869
|
+
* Mission Id
|
|
3870
|
+
*
|
|
3871
|
+
* Parent mission ID this workflow belongs to
|
|
3872
|
+
*/
|
|
3873
|
+
mission_id: string;
|
|
3874
|
+
/**
|
|
3875
|
+
* Workspace
|
|
3876
|
+
*
|
|
3877
|
+
* Workspace this workflow belongs to
|
|
3878
|
+
*/
|
|
3879
|
+
workspace: string;
|
|
3442
3880
|
/**
|
|
3443
3881
|
* Name
|
|
3882
|
+
*
|
|
3883
|
+
* Optional workflow name (e.g., 'Research Phase', 'Documentation')
|
|
3444
3884
|
*/
|
|
3445
|
-
name
|
|
3885
|
+
name?: string | null;
|
|
3886
|
+
/**
|
|
3887
|
+
* Current workflow status
|
|
3888
|
+
*/
|
|
3889
|
+
status?: WorkflowStatus;
|
|
3890
|
+
/**
|
|
3891
|
+
* Created At
|
|
3892
|
+
*
|
|
3893
|
+
* When the workflow was created
|
|
3894
|
+
*/
|
|
3895
|
+
created_at?: string;
|
|
3896
|
+
/**
|
|
3897
|
+
* Updated At
|
|
3898
|
+
*
|
|
3899
|
+
* When the workflow was last updated
|
|
3900
|
+
*/
|
|
3901
|
+
updated_at?: string;
|
|
3902
|
+
/**
|
|
3903
|
+
* Started At
|
|
3904
|
+
*
|
|
3905
|
+
* When the workflow started running
|
|
3906
|
+
*/
|
|
3907
|
+
started_at?: string | null;
|
|
3908
|
+
/**
|
|
3909
|
+
* Completed At
|
|
3910
|
+
*
|
|
3911
|
+
* When the workflow completed
|
|
3912
|
+
*/
|
|
3913
|
+
completed_at?: string | null;
|
|
3914
|
+
/**
|
|
3915
|
+
* Total Tasks
|
|
3916
|
+
*
|
|
3917
|
+
* Total number of tasks in workflow
|
|
3918
|
+
*/
|
|
3919
|
+
total_tasks?: number;
|
|
3920
|
+
/**
|
|
3921
|
+
* Completed Tasks
|
|
3922
|
+
*
|
|
3923
|
+
* Number of completed tasks
|
|
3924
|
+
*/
|
|
3925
|
+
completed_tasks?: number;
|
|
3926
|
+
/**
|
|
3927
|
+
* Failed Tasks
|
|
3928
|
+
*
|
|
3929
|
+
* Number of failed tasks
|
|
3930
|
+
*/
|
|
3931
|
+
failed_tasks?: number;
|
|
3446
3932
|
};
|
|
3447
3933
|
/**
|
|
3448
|
-
*
|
|
3934
|
+
* WorkflowActionResponse
|
|
3449
3935
|
*
|
|
3450
|
-
*
|
|
3936
|
+
* Response from workflow action endpoints.
|
|
3451
3937
|
*/
|
|
3452
|
-
type
|
|
3938
|
+
type WorkflowActionResponse = {
|
|
3453
3939
|
/**
|
|
3454
|
-
*
|
|
3940
|
+
* Success
|
|
3455
3941
|
*/
|
|
3456
|
-
|
|
3942
|
+
success: boolean;
|
|
3943
|
+
/**
|
|
3944
|
+
* Message
|
|
3945
|
+
*/
|
|
3946
|
+
message: string;
|
|
3947
|
+
workflow?: WorkflowResponse | null;
|
|
3457
3948
|
};
|
|
3458
3949
|
/**
|
|
3459
|
-
*
|
|
3950
|
+
* WorkflowCreate
|
|
3951
|
+
*
|
|
3952
|
+
* Request to create a workflow with tasks.
|
|
3460
3953
|
*/
|
|
3461
|
-
type
|
|
3954
|
+
type WorkflowCreate = {
|
|
3462
3955
|
/**
|
|
3463
|
-
*
|
|
3956
|
+
* Mission Id
|
|
3957
|
+
*
|
|
3958
|
+
* Parent mission ID
|
|
3464
3959
|
*/
|
|
3465
|
-
|
|
3960
|
+
mission_id: string;
|
|
3466
3961
|
/**
|
|
3467
|
-
*
|
|
3962
|
+
* Workflow Id
|
|
3963
|
+
*
|
|
3964
|
+
* Optional workflow ID (auto-generated if not provided)
|
|
3468
3965
|
*/
|
|
3469
|
-
|
|
3966
|
+
workflow_id?: string | null;
|
|
3470
3967
|
/**
|
|
3471
|
-
*
|
|
3968
|
+
* Name
|
|
3969
|
+
*
|
|
3970
|
+
* Optional workflow name
|
|
3472
3971
|
*/
|
|
3473
|
-
|
|
3972
|
+
name?: string | null;
|
|
3474
3973
|
/**
|
|
3475
|
-
*
|
|
3974
|
+
* Tasks
|
|
3975
|
+
*
|
|
3976
|
+
* Initial tasks to create
|
|
3476
3977
|
*/
|
|
3477
|
-
|
|
3978
|
+
tasks?: Array<WorkflowTaskCreate>;
|
|
3979
|
+
};
|
|
3980
|
+
/**
|
|
3981
|
+
* WorkflowListResponse
|
|
3982
|
+
*
|
|
3983
|
+
* Response for GET /ocxp/workflow with offset-based pagination.
|
|
3984
|
+
*/
|
|
3985
|
+
type WorkflowListResponse = {
|
|
3478
3986
|
/**
|
|
3479
|
-
*
|
|
3987
|
+
* Workflows
|
|
3480
3988
|
*/
|
|
3481
|
-
|
|
3989
|
+
workflows: Array<Workflow>;
|
|
3482
3990
|
/**
|
|
3483
|
-
*
|
|
3991
|
+
* Count
|
|
3992
|
+
*
|
|
3993
|
+
* Number of items in this response
|
|
3484
3994
|
*/
|
|
3485
|
-
|
|
3995
|
+
count: number;
|
|
3486
3996
|
/**
|
|
3487
|
-
*
|
|
3997
|
+
* Total
|
|
3998
|
+
*
|
|
3999
|
+
* Total number of items matching query (across all pages)
|
|
3488
4000
|
*/
|
|
3489
|
-
|
|
4001
|
+
total?: number | null;
|
|
4002
|
+
/**
|
|
4003
|
+
* Offset
|
|
4004
|
+
*
|
|
4005
|
+
* Offset used for this query
|
|
4006
|
+
*/
|
|
4007
|
+
offset?: number | null;
|
|
4008
|
+
/**
|
|
4009
|
+
* Limit
|
|
4010
|
+
*
|
|
4011
|
+
* Limit used for this query
|
|
4012
|
+
*/
|
|
4013
|
+
limit?: number | null;
|
|
4014
|
+
/**
|
|
4015
|
+
* Has More
|
|
4016
|
+
*
|
|
4017
|
+
* Whether there are more items after this page
|
|
4018
|
+
*/
|
|
4019
|
+
has_more?: boolean;
|
|
4020
|
+
};
|
|
4021
|
+
/**
|
|
4022
|
+
* WorkflowResponse
|
|
4023
|
+
*
|
|
4024
|
+
* Workflow with all tasks (strands-compatible format).
|
|
4025
|
+
*/
|
|
4026
|
+
type WorkflowResponse = {
|
|
4027
|
+
/**
|
|
4028
|
+
* Workflow Id
|
|
4029
|
+
*/
|
|
4030
|
+
workflow_id: string;
|
|
3490
4031
|
/**
|
|
3491
4032
|
* Mission Id
|
|
3492
4033
|
*/
|
|
3493
|
-
mission_id
|
|
4034
|
+
mission_id: string;
|
|
4035
|
+
/**
|
|
4036
|
+
* Name
|
|
4037
|
+
*/
|
|
4038
|
+
name?: string | null;
|
|
4039
|
+
status: WorkflowStatus;
|
|
4040
|
+
/**
|
|
4041
|
+
* Created At
|
|
4042
|
+
*/
|
|
4043
|
+
created_at: string;
|
|
4044
|
+
/**
|
|
4045
|
+
* Updated At
|
|
4046
|
+
*/
|
|
4047
|
+
updated_at: string;
|
|
4048
|
+
/**
|
|
4049
|
+
* Started At
|
|
4050
|
+
*/
|
|
4051
|
+
started_at?: string | null;
|
|
4052
|
+
/**
|
|
4053
|
+
* Completed At
|
|
4054
|
+
*/
|
|
4055
|
+
completed_at?: string | null;
|
|
4056
|
+
/**
|
|
4057
|
+
* Total Tasks
|
|
4058
|
+
*/
|
|
4059
|
+
total_tasks: number;
|
|
4060
|
+
/**
|
|
4061
|
+
* Completed Tasks
|
|
4062
|
+
*/
|
|
4063
|
+
completed_tasks: number;
|
|
4064
|
+
/**
|
|
4065
|
+
* Failed Tasks
|
|
4066
|
+
*/
|
|
4067
|
+
failed_tasks: number;
|
|
4068
|
+
/**
|
|
4069
|
+
* Progress
|
|
4070
|
+
*/
|
|
4071
|
+
progress: number;
|
|
4072
|
+
/**
|
|
4073
|
+
* Tasks
|
|
4074
|
+
*/
|
|
4075
|
+
tasks: {
|
|
4076
|
+
[key: string]: TaskResponse;
|
|
4077
|
+
};
|
|
4078
|
+
};
|
|
4079
|
+
/**
|
|
4080
|
+
* WorkflowStatus
|
|
4081
|
+
*
|
|
4082
|
+
* Status of a workflow.
|
|
4083
|
+
*/
|
|
4084
|
+
type WorkflowStatus = 'pending' | 'running' | 'paused' | 'completed' | 'failed' | 'archived';
|
|
4085
|
+
/**
|
|
4086
|
+
* WorkflowTaskCreate
|
|
4087
|
+
*
|
|
4088
|
+
* Task definition for workflow creation.
|
|
4089
|
+
*/
|
|
4090
|
+
type WorkflowTaskCreate = {
|
|
4091
|
+
/**
|
|
4092
|
+
* Task Id
|
|
4093
|
+
*
|
|
4094
|
+
* Task identifier (e.g., 'gap_1_research')
|
|
4095
|
+
*/
|
|
4096
|
+
task_id: string;
|
|
4097
|
+
/**
|
|
4098
|
+
* Description
|
|
4099
|
+
*
|
|
4100
|
+
* Task description/content
|
|
4101
|
+
*/
|
|
4102
|
+
description: string;
|
|
4103
|
+
/**
|
|
4104
|
+
* Priority
|
|
4105
|
+
*
|
|
4106
|
+
* Task priority (1=lowest, 5=highest)
|
|
4107
|
+
*/
|
|
4108
|
+
priority?: number;
|
|
4109
|
+
/**
|
|
4110
|
+
* Timeout
|
|
4111
|
+
*
|
|
4112
|
+
* Task timeout in seconds
|
|
4113
|
+
*/
|
|
4114
|
+
timeout?: number;
|
|
4115
|
+
/**
|
|
4116
|
+
* Dependencies
|
|
4117
|
+
*
|
|
4118
|
+
* List of task_ids this task depends on
|
|
4119
|
+
*/
|
|
4120
|
+
dependencies?: Array<string>;
|
|
4121
|
+
/**
|
|
4122
|
+
* Subject matter expert type
|
|
4123
|
+
*/
|
|
4124
|
+
sme_type?: SmeType | null;
|
|
4125
|
+
/**
|
|
4126
|
+
* Skill Path
|
|
4127
|
+
*
|
|
4128
|
+
* Skill path for task execution
|
|
4129
|
+
*/
|
|
4130
|
+
skill_path?: string | null;
|
|
4131
|
+
};
|
|
4132
|
+
/**
|
|
4133
|
+
* WorkspaceItem
|
|
4134
|
+
*
|
|
4135
|
+
* Workspace item.
|
|
4136
|
+
*/
|
|
4137
|
+
type WorkspaceItem = {
|
|
4138
|
+
/**
|
|
4139
|
+
* Id
|
|
4140
|
+
*/
|
|
4141
|
+
id: string;
|
|
4142
|
+
/**
|
|
4143
|
+
* Name
|
|
4144
|
+
*/
|
|
4145
|
+
name: string;
|
|
4146
|
+
};
|
|
4147
|
+
/**
|
|
4148
|
+
* WorkspacesResponse
|
|
4149
|
+
*
|
|
4150
|
+
* Workspaces list response.
|
|
4151
|
+
*/
|
|
4152
|
+
type WorkspacesResponse = {
|
|
4153
|
+
/**
|
|
4154
|
+
* Workspaces
|
|
4155
|
+
*/
|
|
4156
|
+
workspaces: Array<WorkspaceItem>;
|
|
4157
|
+
};
|
|
4158
|
+
/**
|
|
4159
|
+
* WriteRequest
|
|
4160
|
+
*/
|
|
4161
|
+
type WriteRequest = {
|
|
4162
|
+
/**
|
|
4163
|
+
* Content
|
|
4164
|
+
*/
|
|
4165
|
+
content: string;
|
|
4166
|
+
/**
|
|
4167
|
+
* Encoding
|
|
4168
|
+
*/
|
|
4169
|
+
encoding?: string;
|
|
4170
|
+
/**
|
|
4171
|
+
* Etag
|
|
4172
|
+
*/
|
|
4173
|
+
etag?: string | null;
|
|
4174
|
+
/**
|
|
4175
|
+
* Ifnotexists
|
|
4176
|
+
*/
|
|
4177
|
+
ifNotExists?: boolean;
|
|
4178
|
+
/**
|
|
4179
|
+
* Manage Metadata
|
|
4180
|
+
*/
|
|
4181
|
+
manage_metadata?: boolean;
|
|
4182
|
+
/**
|
|
4183
|
+
* Auto Index
|
|
4184
|
+
*/
|
|
4185
|
+
auto_index?: boolean | null;
|
|
4186
|
+
/**
|
|
4187
|
+
* Project Id
|
|
4188
|
+
*/
|
|
4189
|
+
project_id?: string | null;
|
|
4190
|
+
/**
|
|
4191
|
+
* Mission Id
|
|
4192
|
+
*/
|
|
4193
|
+
mission_id?: string | null;
|
|
4194
|
+
/**
|
|
4195
|
+
* Wait For Index
|
|
4196
|
+
*/
|
|
4197
|
+
wait_for_index?: boolean;
|
|
4198
|
+
/**
|
|
4199
|
+
* Verify Access
|
|
4200
|
+
*/
|
|
4201
|
+
verify_access?: boolean;
|
|
4202
|
+
/**
|
|
4203
|
+
* Max Retries
|
|
4204
|
+
*/
|
|
4205
|
+
max_retries?: number;
|
|
4206
|
+
};
|
|
4207
|
+
/**
|
|
4208
|
+
* BulkDeleteRequest
|
|
4209
|
+
*/
|
|
4210
|
+
type AppRoutersBulkBulkDeleteRequest = {
|
|
4211
|
+
/**
|
|
4212
|
+
* Ids
|
|
4213
|
+
*/
|
|
4214
|
+
ids: Array<string>;
|
|
4215
|
+
/**
|
|
4216
|
+
* Manage Metadata
|
|
4217
|
+
*/
|
|
4218
|
+
manage_metadata?: boolean;
|
|
4219
|
+
/**
|
|
4220
|
+
* Auto Index
|
|
4221
|
+
*/
|
|
4222
|
+
auto_index?: boolean | null;
|
|
4223
|
+
};
|
|
4224
|
+
type BulkReadContentData = {
|
|
4225
|
+
body: BulkReadRequest;
|
|
4226
|
+
headers?: {
|
|
4227
|
+
/**
|
|
4228
|
+
* X-Workspace
|
|
4229
|
+
*/
|
|
4230
|
+
'X-Workspace'?: string;
|
|
4231
|
+
};
|
|
4232
|
+
path: {
|
|
4233
|
+
/**
|
|
4234
|
+
* Content Type
|
|
4235
|
+
*
|
|
4236
|
+
* Content type (mission, project, context, code, etc.)
|
|
4237
|
+
*/
|
|
4238
|
+
content_type: string;
|
|
4239
|
+
};
|
|
4240
|
+
query?: never;
|
|
4241
|
+
url: '/ocxp/context/{content_type}/bulk/read';
|
|
4242
|
+
};
|
|
4243
|
+
type BulkReadContentErrors = {
|
|
4244
|
+
/**
|
|
4245
|
+
* Validation error
|
|
4246
|
+
*/
|
|
4247
|
+
400: unknown;
|
|
4248
|
+
/**
|
|
4249
|
+
* Validation Error
|
|
4250
|
+
*/
|
|
4251
|
+
422: HttpValidationError;
|
|
4252
|
+
/**
|
|
4253
|
+
* Rate limit exceeded
|
|
4254
|
+
*/
|
|
4255
|
+
429: unknown;
|
|
4256
|
+
};
|
|
4257
|
+
type BulkReadContentResponses = {
|
|
4258
|
+
/**
|
|
4259
|
+
* Successful Response
|
|
4260
|
+
*/
|
|
4261
|
+
200: BulkReadResponse;
|
|
4262
|
+
};
|
|
4263
|
+
type BulkWriteContentData = {
|
|
4264
|
+
body: BulkWriteRequest;
|
|
4265
|
+
headers?: {
|
|
4266
|
+
/**
|
|
4267
|
+
* X-Workspace
|
|
4268
|
+
*/
|
|
4269
|
+
'X-Workspace'?: string;
|
|
4270
|
+
};
|
|
4271
|
+
path: {
|
|
4272
|
+
/**
|
|
4273
|
+
* Content Type
|
|
4274
|
+
*
|
|
4275
|
+
* Content type (mission, project, context, code, etc.)
|
|
4276
|
+
*/
|
|
4277
|
+
content_type: string;
|
|
4278
|
+
};
|
|
4279
|
+
query?: never;
|
|
4280
|
+
url: '/ocxp/context/{content_type}/bulk/write';
|
|
4281
|
+
};
|
|
4282
|
+
type BulkWriteContentErrors = {
|
|
4283
|
+
/**
|
|
4284
|
+
* Validation error
|
|
4285
|
+
*/
|
|
4286
|
+
400: unknown;
|
|
4287
|
+
/**
|
|
4288
|
+
* Validation Error
|
|
4289
|
+
*/
|
|
4290
|
+
422: HttpValidationError;
|
|
4291
|
+
/**
|
|
4292
|
+
* Rate limit exceeded
|
|
4293
|
+
*/
|
|
4294
|
+
429: unknown;
|
|
4295
|
+
};
|
|
4296
|
+
type BulkWriteContentResponses = {
|
|
4297
|
+
/**
|
|
4298
|
+
* Successful Response
|
|
4299
|
+
*/
|
|
4300
|
+
200: BulkWriteResponse;
|
|
4301
|
+
};
|
|
4302
|
+
type BulkDeleteContentData = {
|
|
4303
|
+
body: AppRoutersBulkBulkDeleteRequest;
|
|
4304
|
+
headers?: {
|
|
4305
|
+
/**
|
|
4306
|
+
* X-Workspace
|
|
4307
|
+
*/
|
|
4308
|
+
'X-Workspace'?: string;
|
|
4309
|
+
};
|
|
4310
|
+
path: {
|
|
4311
|
+
/**
|
|
4312
|
+
* Content Type
|
|
4313
|
+
*
|
|
4314
|
+
* Content type (mission, project, context, code, etc.)
|
|
4315
|
+
*/
|
|
4316
|
+
content_type: string;
|
|
4317
|
+
};
|
|
4318
|
+
query?: never;
|
|
4319
|
+
url: '/ocxp/context/{content_type}/bulk/delete';
|
|
4320
|
+
};
|
|
4321
|
+
type BulkDeleteContentErrors = {
|
|
4322
|
+
/**
|
|
4323
|
+
* Validation error
|
|
4324
|
+
*/
|
|
4325
|
+
400: unknown;
|
|
4326
|
+
/**
|
|
4327
|
+
* Validation Error
|
|
4328
|
+
*/
|
|
4329
|
+
422: HttpValidationError;
|
|
4330
|
+
/**
|
|
4331
|
+
* Rate limit exceeded
|
|
4332
|
+
*/
|
|
4333
|
+
429: unknown;
|
|
4334
|
+
};
|
|
4335
|
+
type BulkDeleteContentResponses = {
|
|
4336
|
+
/**
|
|
4337
|
+
* Successful Response
|
|
4338
|
+
*/
|
|
4339
|
+
200: BulkDeleteResponse;
|
|
4340
|
+
};
|
|
4341
|
+
type ListPrototypeChatsData = {
|
|
4342
|
+
body?: never;
|
|
4343
|
+
path?: never;
|
|
4344
|
+
query?: {
|
|
4345
|
+
/**
|
|
4346
|
+
* Provider
|
|
4347
|
+
*/
|
|
4348
|
+
provider?: string;
|
|
4349
|
+
};
|
|
4350
|
+
url: '/ocxp/prototype/chat/list';
|
|
4351
|
+
};
|
|
4352
|
+
type ListPrototypeChatsErrors = {
|
|
4353
|
+
/**
|
|
4354
|
+
* Validation Error
|
|
4355
|
+
*/
|
|
4356
|
+
422: HttpValidationError;
|
|
4357
|
+
/**
|
|
4358
|
+
* Rate limit exceeded
|
|
4359
|
+
*/
|
|
4360
|
+
429: unknown;
|
|
4361
|
+
};
|
|
4362
|
+
type ListPrototypeChatsResponses = {
|
|
4363
|
+
/**
|
|
4364
|
+
* Successful Response
|
|
4365
|
+
*/
|
|
4366
|
+
200: PrototypeChatListResponse;
|
|
4367
|
+
};
|
|
4368
|
+
type PreviewPrototypeChatData = {
|
|
4369
|
+
body: PrototypeChatPreviewRequest;
|
|
4370
|
+
path?: never;
|
|
4371
|
+
query?: never;
|
|
4372
|
+
url: '/ocxp/prototype/chat/preview';
|
|
4373
|
+
};
|
|
4374
|
+
type PreviewPrototypeChatErrors = {
|
|
4375
|
+
/**
|
|
4376
|
+
* Validation error
|
|
4377
|
+
*/
|
|
4378
|
+
400: unknown;
|
|
4379
|
+
/**
|
|
4380
|
+
* Validation Error
|
|
4381
|
+
*/
|
|
4382
|
+
422: HttpValidationError;
|
|
4383
|
+
/**
|
|
4384
|
+
* Rate limit exceeded
|
|
4385
|
+
*/
|
|
4386
|
+
429: unknown;
|
|
4387
|
+
};
|
|
4388
|
+
type PreviewPrototypeChatResponses = {
|
|
4389
|
+
/**
|
|
4390
|
+
* Successful Response
|
|
4391
|
+
*/
|
|
4392
|
+
200: PrototypeChatPreviewResponse;
|
|
4393
|
+
};
|
|
4394
|
+
type LinkPrototypeChatData = {
|
|
4395
|
+
body: PrototypeChatLinkRequest;
|
|
4396
|
+
headers?: {
|
|
4397
|
+
/**
|
|
4398
|
+
* X-Workspace
|
|
4399
|
+
*/
|
|
4400
|
+
'X-Workspace'?: string;
|
|
4401
|
+
};
|
|
4402
|
+
path?: never;
|
|
4403
|
+
query?: never;
|
|
4404
|
+
url: '/ocxp/prototype/chat/link';
|
|
4405
|
+
};
|
|
4406
|
+
type LinkPrototypeChatErrors = {
|
|
4407
|
+
/**
|
|
4408
|
+
* Validation error
|
|
4409
|
+
*/
|
|
4410
|
+
400: unknown;
|
|
4411
|
+
/**
|
|
4412
|
+
* Validation Error
|
|
4413
|
+
*/
|
|
4414
|
+
422: HttpValidationError;
|
|
4415
|
+
/**
|
|
4416
|
+
* Rate limit exceeded
|
|
4417
|
+
*/
|
|
4418
|
+
429: unknown;
|
|
4419
|
+
};
|
|
4420
|
+
type LinkPrototypeChatResponses = {
|
|
4421
|
+
/**
|
|
4422
|
+
* Successful Response
|
|
4423
|
+
*/
|
|
4424
|
+
200: PrototypeChatLinkResponse;
|
|
4425
|
+
};
|
|
4426
|
+
type SyncPrototypeChatData = {
|
|
4427
|
+
body: PrototypeChatSyncRequest;
|
|
4428
|
+
headers?: {
|
|
4429
|
+
/**
|
|
4430
|
+
* X-Workspace
|
|
4431
|
+
*/
|
|
4432
|
+
'X-Workspace'?: string;
|
|
4433
|
+
};
|
|
4434
|
+
path?: never;
|
|
4435
|
+
query?: never;
|
|
4436
|
+
url: '/ocxp/prototype/chat/sync';
|
|
4437
|
+
};
|
|
4438
|
+
type SyncPrototypeChatErrors = {
|
|
4439
|
+
/**
|
|
4440
|
+
* Validation Error
|
|
4441
|
+
*/
|
|
4442
|
+
422: HttpValidationError;
|
|
4443
|
+
/**
|
|
4444
|
+
* Rate limit exceeded
|
|
4445
|
+
*/
|
|
4446
|
+
429: unknown;
|
|
4447
|
+
};
|
|
4448
|
+
type SyncPrototypeChatResponses = {
|
|
4449
|
+
/**
|
|
4450
|
+
* Successful Response
|
|
4451
|
+
*/
|
|
4452
|
+
200: PrototypeChatSyncResponse;
|
|
4453
|
+
};
|
|
4454
|
+
type GetStoredVersionsData = {
|
|
4455
|
+
body?: never;
|
|
4456
|
+
headers?: {
|
|
4457
|
+
/**
|
|
4458
|
+
* X-Workspace
|
|
4459
|
+
*/
|
|
4460
|
+
'X-Workspace'?: string;
|
|
4461
|
+
};
|
|
4462
|
+
path: {
|
|
4463
|
+
/**
|
|
4464
|
+
* Provider
|
|
4465
|
+
*/
|
|
4466
|
+
provider: string;
|
|
4467
|
+
/**
|
|
4468
|
+
* Chat Id
|
|
4469
|
+
*/
|
|
4470
|
+
chat_id: string;
|
|
4471
|
+
};
|
|
4472
|
+
query?: {
|
|
4473
|
+
/**
|
|
4474
|
+
* Include Details
|
|
4475
|
+
*/
|
|
4476
|
+
include_details?: boolean;
|
|
4477
|
+
};
|
|
4478
|
+
url: '/ocxp/prototype/chat/{provider}/{chat_id}/stored-versions';
|
|
4479
|
+
};
|
|
4480
|
+
type GetStoredVersionsErrors = {
|
|
4481
|
+
/**
|
|
4482
|
+
* Validation Error
|
|
4483
|
+
*/
|
|
4484
|
+
422: HttpValidationError;
|
|
4485
|
+
/**
|
|
4486
|
+
* Rate limit exceeded
|
|
4487
|
+
*/
|
|
4488
|
+
429: unknown;
|
|
4489
|
+
};
|
|
4490
|
+
type GetStoredVersionsResponses = {
|
|
4491
|
+
/**
|
|
4492
|
+
* Successful Response
|
|
4493
|
+
*/
|
|
4494
|
+
200: PrototypeStoredVersionsResponse;
|
|
4495
|
+
};
|
|
4496
|
+
type GetPrototypeChatData = {
|
|
4497
|
+
body?: never;
|
|
4498
|
+
headers?: {
|
|
4499
|
+
/**
|
|
4500
|
+
* X-Workspace
|
|
4501
|
+
*/
|
|
4502
|
+
'X-Workspace'?: string;
|
|
4503
|
+
};
|
|
4504
|
+
path: {
|
|
4505
|
+
/**
|
|
4506
|
+
* Provider
|
|
4507
|
+
*/
|
|
4508
|
+
provider: string;
|
|
4509
|
+
/**
|
|
4510
|
+
* Chat Id
|
|
4511
|
+
*/
|
|
4512
|
+
chat_id: string;
|
|
4513
|
+
};
|
|
4514
|
+
query?: {
|
|
4515
|
+
/**
|
|
4516
|
+
* Project Id
|
|
4517
|
+
*/
|
|
4518
|
+
project_id?: string | null;
|
|
4519
|
+
/**
|
|
4520
|
+
* Version Id
|
|
4521
|
+
*/
|
|
4522
|
+
version_id?: string | null;
|
|
4523
|
+
};
|
|
4524
|
+
url: '/ocxp/prototype/chat/{provider}/{chat_id}';
|
|
4525
|
+
};
|
|
4526
|
+
type GetPrototypeChatErrors = {
|
|
4527
|
+
/**
|
|
4528
|
+
* Chat not found
|
|
4529
|
+
*/
|
|
4530
|
+
404: unknown;
|
|
4531
|
+
/**
|
|
4532
|
+
* Validation Error
|
|
4533
|
+
*/
|
|
4534
|
+
422: HttpValidationError;
|
|
4535
|
+
/**
|
|
4536
|
+
* Rate limit exceeded
|
|
4537
|
+
*/
|
|
4538
|
+
429: unknown;
|
|
4539
|
+
};
|
|
4540
|
+
type GetPrototypeChatResponses = {
|
|
4541
|
+
/**
|
|
4542
|
+
* Chat data returned
|
|
4543
|
+
*/
|
|
4544
|
+
200: PrototypeChatGetResponse;
|
|
4545
|
+
};
|
|
4546
|
+
type SyncPrototypeChatAsyncData = {
|
|
4547
|
+
body: PrototypeChatSyncAsyncRequest;
|
|
4548
|
+
headers?: {
|
|
4549
|
+
/**
|
|
4550
|
+
* X-Workspace
|
|
4551
|
+
*/
|
|
4552
|
+
'X-Workspace'?: string;
|
|
4553
|
+
};
|
|
4554
|
+
path?: never;
|
|
4555
|
+
query?: never;
|
|
4556
|
+
url: '/ocxp/prototype/chat/sync-async';
|
|
4557
|
+
};
|
|
4558
|
+
type SyncPrototypeChatAsyncErrors = {
|
|
4559
|
+
/**
|
|
4560
|
+
* Validation Error
|
|
4561
|
+
*/
|
|
4562
|
+
422: HttpValidationError;
|
|
4563
|
+
/**
|
|
4564
|
+
* Rate limit exceeded
|
|
4565
|
+
*/
|
|
4566
|
+
429: unknown;
|
|
4567
|
+
};
|
|
4568
|
+
type SyncPrototypeChatAsyncResponses = {
|
|
4569
|
+
/**
|
|
4570
|
+
* Successful Response
|
|
4571
|
+
*/
|
|
4572
|
+
202: PrototypeChatSyncAsyncResponse;
|
|
3494
4573
|
};
|
|
3495
|
-
type
|
|
3496
|
-
body
|
|
3497
|
-
headers?: {
|
|
3498
|
-
/**
|
|
3499
|
-
* X-Workspace
|
|
3500
|
-
*/
|
|
3501
|
-
'X-Workspace'?: string;
|
|
3502
|
-
};
|
|
4574
|
+
type GetSyncStatusData = {
|
|
4575
|
+
body?: never;
|
|
3503
4576
|
path: {
|
|
3504
4577
|
/**
|
|
3505
|
-
*
|
|
3506
|
-
*
|
|
3507
|
-
* Content type (mission, project, context, code, etc.)
|
|
4578
|
+
* Job Id
|
|
3508
4579
|
*/
|
|
3509
|
-
|
|
4580
|
+
job_id: string;
|
|
3510
4581
|
};
|
|
3511
4582
|
query?: never;
|
|
3512
|
-
url: '/ocxp/
|
|
4583
|
+
url: '/ocxp/prototype/chat/sync-status/{job_id}';
|
|
3513
4584
|
};
|
|
3514
|
-
type
|
|
4585
|
+
type GetSyncStatusErrors = {
|
|
3515
4586
|
/**
|
|
3516
|
-
*
|
|
4587
|
+
* Job not found
|
|
3517
4588
|
*/
|
|
3518
|
-
|
|
4589
|
+
404: unknown;
|
|
3519
4590
|
/**
|
|
3520
4591
|
* Validation Error
|
|
3521
4592
|
*/
|
|
@@ -3525,36 +4596,56 @@ type BulkReadContentErrors = {
|
|
|
3525
4596
|
*/
|
|
3526
4597
|
429: unknown;
|
|
3527
4598
|
};
|
|
3528
|
-
type
|
|
4599
|
+
type GetSyncStatusResponses = {
|
|
3529
4600
|
/**
|
|
3530
|
-
*
|
|
4601
|
+
* Job status returned
|
|
3531
4602
|
*/
|
|
3532
|
-
200:
|
|
4603
|
+
200: PrototypeSyncJobStatusResponse;
|
|
3533
4604
|
};
|
|
3534
|
-
type
|
|
3535
|
-
body
|
|
4605
|
+
type ListSessionsData = {
|
|
4606
|
+
body?: never;
|
|
3536
4607
|
headers?: {
|
|
3537
4608
|
/**
|
|
3538
4609
|
* X-Workspace
|
|
3539
4610
|
*/
|
|
3540
4611
|
'X-Workspace'?: string;
|
|
3541
4612
|
};
|
|
3542
|
-
path
|
|
4613
|
+
path?: never;
|
|
4614
|
+
query?: {
|
|
3543
4615
|
/**
|
|
3544
|
-
*
|
|
4616
|
+
* Limit
|
|
3545
4617
|
*
|
|
3546
|
-
*
|
|
4618
|
+
* Maximum number of sessions to return
|
|
3547
4619
|
*/
|
|
3548
|
-
|
|
4620
|
+
limit?: number;
|
|
4621
|
+
/**
|
|
4622
|
+
* Offset
|
|
4623
|
+
*
|
|
4624
|
+
* Number of sessions to skip (for pagination)
|
|
4625
|
+
*/
|
|
4626
|
+
offset?: number;
|
|
4627
|
+
/**
|
|
4628
|
+
* Status
|
|
4629
|
+
*
|
|
4630
|
+
* Filter by status: active, archived
|
|
4631
|
+
*/
|
|
4632
|
+
status?: string;
|
|
4633
|
+
/**
|
|
4634
|
+
* Order By
|
|
4635
|
+
*
|
|
4636
|
+
* Field to order by (created_at, updated_at)
|
|
4637
|
+
*/
|
|
4638
|
+
order_by?: string | null;
|
|
4639
|
+
/**
|
|
4640
|
+
* Order Dir
|
|
4641
|
+
*
|
|
4642
|
+
* Sort direction (asc, desc)
|
|
4643
|
+
*/
|
|
4644
|
+
order_dir?: string;
|
|
3549
4645
|
};
|
|
3550
|
-
|
|
3551
|
-
url: '/ocxp/context/{content_type}/bulk/write';
|
|
4646
|
+
url: '/ocxp/session';
|
|
3552
4647
|
};
|
|
3553
|
-
type
|
|
3554
|
-
/**
|
|
3555
|
-
* Validation error
|
|
3556
|
-
*/
|
|
3557
|
-
400: unknown;
|
|
4648
|
+
type ListSessionsErrors = {
|
|
3558
4649
|
/**
|
|
3559
4650
|
* Validation Error
|
|
3560
4651
|
*/
|
|
@@ -3564,14 +4655,14 @@ type BulkWriteContentErrors = {
|
|
|
3564
4655
|
*/
|
|
3565
4656
|
429: unknown;
|
|
3566
4657
|
};
|
|
3567
|
-
type
|
|
4658
|
+
type ListSessionsResponses = {
|
|
3568
4659
|
/**
|
|
3569
|
-
*
|
|
4660
|
+
* List of sessions returned successfully
|
|
3570
4661
|
*/
|
|
3571
|
-
200:
|
|
4662
|
+
200: SessionListResponse;
|
|
3572
4663
|
};
|
|
3573
|
-
type
|
|
3574
|
-
body
|
|
4664
|
+
type GetSessionMessagesData = {
|
|
4665
|
+
body?: never;
|
|
3575
4666
|
headers?: {
|
|
3576
4667
|
/**
|
|
3577
4668
|
* X-Workspace
|
|
@@ -3580,20 +4671,25 @@ type BulkDeleteContentData = {
|
|
|
3580
4671
|
};
|
|
3581
4672
|
path: {
|
|
3582
4673
|
/**
|
|
3583
|
-
*
|
|
4674
|
+
* Session Id
|
|
4675
|
+
*/
|
|
4676
|
+
session_id: string;
|
|
4677
|
+
};
|
|
4678
|
+
query?: {
|
|
4679
|
+
/**
|
|
4680
|
+
* Limit
|
|
3584
4681
|
*
|
|
3585
|
-
*
|
|
4682
|
+
* Maximum number of messages to return
|
|
3586
4683
|
*/
|
|
3587
|
-
|
|
4684
|
+
limit?: number;
|
|
3588
4685
|
};
|
|
3589
|
-
|
|
3590
|
-
url: '/ocxp/context/{content_type}/bulk/delete';
|
|
4686
|
+
url: '/ocxp/session/{session_id}/messages';
|
|
3591
4687
|
};
|
|
3592
|
-
type
|
|
4688
|
+
type GetSessionMessagesErrors = {
|
|
3593
4689
|
/**
|
|
3594
|
-
*
|
|
4690
|
+
* Session not found
|
|
3595
4691
|
*/
|
|
3596
|
-
|
|
4692
|
+
404: unknown;
|
|
3597
4693
|
/**
|
|
3598
4694
|
* Validation Error
|
|
3599
4695
|
*/
|
|
@@ -3603,24 +4699,30 @@ type BulkDeleteContentErrors = {
|
|
|
3603
4699
|
*/
|
|
3604
4700
|
429: unknown;
|
|
3605
4701
|
};
|
|
3606
|
-
type
|
|
4702
|
+
type GetSessionMessagesResponses = {
|
|
3607
4703
|
/**
|
|
3608
|
-
*
|
|
4704
|
+
* Messages returned successfully
|
|
3609
4705
|
*/
|
|
3610
|
-
200:
|
|
4706
|
+
200: SessionMessagesResponse;
|
|
3611
4707
|
};
|
|
3612
|
-
type
|
|
3613
|
-
body
|
|
3614
|
-
|
|
3615
|
-
query?: {
|
|
4708
|
+
type UpdateSessionMetadataData = {
|
|
4709
|
+
body: SessionMetadataUpdate;
|
|
4710
|
+
headers?: {
|
|
3616
4711
|
/**
|
|
3617
|
-
*
|
|
4712
|
+
* X-Workspace
|
|
3618
4713
|
*/
|
|
3619
|
-
|
|
4714
|
+
'X-Workspace'?: string;
|
|
3620
4715
|
};
|
|
3621
|
-
|
|
4716
|
+
path: {
|
|
4717
|
+
/**
|
|
4718
|
+
* Session Id
|
|
4719
|
+
*/
|
|
4720
|
+
session_id: string;
|
|
4721
|
+
};
|
|
4722
|
+
query?: never;
|
|
4723
|
+
url: '/ocxp/session/{session_id}/metadata';
|
|
3622
4724
|
};
|
|
3623
|
-
type
|
|
4725
|
+
type UpdateSessionMetadataErrors = {
|
|
3624
4726
|
/**
|
|
3625
4727
|
* Validation Error
|
|
3626
4728
|
*/
|
|
@@ -3630,23 +4732,34 @@ type ListPrototypeChatsErrors = {
|
|
|
3630
4732
|
*/
|
|
3631
4733
|
429: unknown;
|
|
3632
4734
|
};
|
|
3633
|
-
type
|
|
4735
|
+
type UpdateSessionMetadataResponses = {
|
|
3634
4736
|
/**
|
|
3635
|
-
*
|
|
4737
|
+
* Session metadata updated successfully
|
|
3636
4738
|
*/
|
|
3637
|
-
200:
|
|
4739
|
+
200: SessionResponse;
|
|
3638
4740
|
};
|
|
3639
|
-
type
|
|
3640
|
-
body:
|
|
3641
|
-
|
|
4741
|
+
type ForkSessionData = {
|
|
4742
|
+
body: ForkRequest;
|
|
4743
|
+
headers?: {
|
|
4744
|
+
/**
|
|
4745
|
+
* X-Workspace
|
|
4746
|
+
*/
|
|
4747
|
+
'X-Workspace'?: string;
|
|
4748
|
+
};
|
|
4749
|
+
path: {
|
|
4750
|
+
/**
|
|
4751
|
+
* Session Id
|
|
4752
|
+
*/
|
|
4753
|
+
session_id: string;
|
|
4754
|
+
};
|
|
3642
4755
|
query?: never;
|
|
3643
|
-
url: '/ocxp/
|
|
4756
|
+
url: '/ocxp/session/{session_id}/fork';
|
|
3644
4757
|
};
|
|
3645
|
-
type
|
|
4758
|
+
type ForkSessionErrors = {
|
|
3646
4759
|
/**
|
|
3647
|
-
*
|
|
4760
|
+
* Parent session not found
|
|
3648
4761
|
*/
|
|
3649
|
-
|
|
4762
|
+
404: unknown;
|
|
3650
4763
|
/**
|
|
3651
4764
|
* Validation Error
|
|
3652
4765
|
*/
|
|
@@ -3656,29 +4769,34 @@ type PreviewPrototypeChatErrors = {
|
|
|
3656
4769
|
*/
|
|
3657
4770
|
429: unknown;
|
|
3658
4771
|
};
|
|
3659
|
-
type
|
|
4772
|
+
type ForkSessionResponses = {
|
|
3660
4773
|
/**
|
|
3661
|
-
*
|
|
4774
|
+
* Session forked successfully
|
|
3662
4775
|
*/
|
|
3663
|
-
|
|
4776
|
+
201: SessionForkResponse;
|
|
3664
4777
|
};
|
|
3665
|
-
type
|
|
3666
|
-
body
|
|
4778
|
+
type ArchiveSessionData = {
|
|
4779
|
+
body?: never;
|
|
3667
4780
|
headers?: {
|
|
3668
4781
|
/**
|
|
3669
4782
|
* X-Workspace
|
|
3670
4783
|
*/
|
|
3671
4784
|
'X-Workspace'?: string;
|
|
3672
4785
|
};
|
|
3673
|
-
path
|
|
4786
|
+
path: {
|
|
4787
|
+
/**
|
|
4788
|
+
* Session Id
|
|
4789
|
+
*/
|
|
4790
|
+
session_id: string;
|
|
4791
|
+
};
|
|
3674
4792
|
query?: never;
|
|
3675
|
-
url: '/ocxp/
|
|
4793
|
+
url: '/ocxp/session/{session_id}/archive';
|
|
3676
4794
|
};
|
|
3677
|
-
type
|
|
4795
|
+
type ArchiveSessionErrors = {
|
|
3678
4796
|
/**
|
|
3679
|
-
*
|
|
4797
|
+
* Session not found
|
|
3680
4798
|
*/
|
|
3681
|
-
|
|
4799
|
+
404: unknown;
|
|
3682
4800
|
/**
|
|
3683
4801
|
* Validation Error
|
|
3684
4802
|
*/
|
|
@@ -3688,14 +4806,14 @@ type LinkPrototypeChatErrors = {
|
|
|
3688
4806
|
*/
|
|
3689
4807
|
429: unknown;
|
|
3690
4808
|
};
|
|
3691
|
-
type
|
|
4809
|
+
type ArchiveSessionResponses = {
|
|
3692
4810
|
/**
|
|
3693
|
-
*
|
|
4811
|
+
* Session archived successfully
|
|
3694
4812
|
*/
|
|
3695
|
-
200:
|
|
4813
|
+
200: unknown;
|
|
3696
4814
|
};
|
|
3697
|
-
type
|
|
3698
|
-
body
|
|
4815
|
+
type ListProjectsData = {
|
|
4816
|
+
body?: never;
|
|
3699
4817
|
headers?: {
|
|
3700
4818
|
/**
|
|
3701
4819
|
* X-Workspace
|
|
@@ -3703,10 +4821,47 @@ type SyncPrototypeChatData = {
|
|
|
3703
4821
|
'X-Workspace'?: string;
|
|
3704
4822
|
};
|
|
3705
4823
|
path?: never;
|
|
3706
|
-
query?:
|
|
3707
|
-
|
|
4824
|
+
query?: {
|
|
4825
|
+
/**
|
|
4826
|
+
* Project Ids
|
|
4827
|
+
*
|
|
4828
|
+
* Filter by specific project IDs
|
|
4829
|
+
*/
|
|
4830
|
+
project_ids?: Array<string> | null;
|
|
4831
|
+
/**
|
|
4832
|
+
* Include Metadata
|
|
4833
|
+
*
|
|
4834
|
+
* Include full metadata (description, repos, databases)
|
|
4835
|
+
*/
|
|
4836
|
+
include_metadata?: boolean;
|
|
4837
|
+
/**
|
|
4838
|
+
* Limit
|
|
4839
|
+
*
|
|
4840
|
+
* Maximum number of projects to return
|
|
4841
|
+
*/
|
|
4842
|
+
limit?: number;
|
|
4843
|
+
/**
|
|
4844
|
+
* Offset
|
|
4845
|
+
*
|
|
4846
|
+
* Number of projects to skip (for pagination)
|
|
4847
|
+
*/
|
|
4848
|
+
offset?: number;
|
|
4849
|
+
/**
|
|
4850
|
+
* Order By
|
|
4851
|
+
*
|
|
4852
|
+
* Field to order by (created_at, updated_at)
|
|
4853
|
+
*/
|
|
4854
|
+
order_by?: string | null;
|
|
4855
|
+
/**
|
|
4856
|
+
* Order Dir
|
|
4857
|
+
*
|
|
4858
|
+
* Sort direction (asc, desc)
|
|
4859
|
+
*/
|
|
4860
|
+
order_dir?: string;
|
|
4861
|
+
};
|
|
4862
|
+
url: '/ocxp/project';
|
|
3708
4863
|
};
|
|
3709
|
-
type
|
|
4864
|
+
type ListProjectsErrors = {
|
|
3710
4865
|
/**
|
|
3711
4866
|
* Validation Error
|
|
3712
4867
|
*/
|
|
@@ -3716,39 +4871,25 @@ type SyncPrototypeChatErrors = {
|
|
|
3716
4871
|
*/
|
|
3717
4872
|
429: unknown;
|
|
3718
4873
|
};
|
|
3719
|
-
type
|
|
4874
|
+
type ListProjectsResponses = {
|
|
3720
4875
|
/**
|
|
3721
|
-
*
|
|
4876
|
+
* List of projects returned successfully
|
|
3722
4877
|
*/
|
|
3723
|
-
200:
|
|
4878
|
+
200: ProjectListResponse;
|
|
3724
4879
|
};
|
|
3725
|
-
type
|
|
3726
|
-
body
|
|
4880
|
+
type CreateProjectData = {
|
|
4881
|
+
body: ProjectCreate;
|
|
3727
4882
|
headers?: {
|
|
3728
4883
|
/**
|
|
3729
4884
|
* X-Workspace
|
|
3730
4885
|
*/
|
|
3731
4886
|
'X-Workspace'?: string;
|
|
3732
4887
|
};
|
|
3733
|
-
path
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
*/
|
|
3737
|
-
provider: string;
|
|
3738
|
-
/**
|
|
3739
|
-
* Chat Id
|
|
3740
|
-
*/
|
|
3741
|
-
chat_id: string;
|
|
3742
|
-
};
|
|
3743
|
-
query?: {
|
|
3744
|
-
/**
|
|
3745
|
-
* Include Details
|
|
3746
|
-
*/
|
|
3747
|
-
include_details?: boolean;
|
|
3748
|
-
};
|
|
3749
|
-
url: '/ocxp/prototype/chat/{provider}/{chat_id}/stored-versions';
|
|
4888
|
+
path?: never;
|
|
4889
|
+
query?: never;
|
|
4890
|
+
url: '/ocxp/project';
|
|
3750
4891
|
};
|
|
3751
|
-
type
|
|
4892
|
+
type CreateProjectErrors = {
|
|
3752
4893
|
/**
|
|
3753
4894
|
* Validation Error
|
|
3754
4895
|
*/
|
|
@@ -3758,13 +4899,13 @@ type GetStoredVersionsErrors = {
|
|
|
3758
4899
|
*/
|
|
3759
4900
|
429: unknown;
|
|
3760
4901
|
};
|
|
3761
|
-
type
|
|
4902
|
+
type CreateProjectResponses = {
|
|
3762
4903
|
/**
|
|
3763
|
-
*
|
|
4904
|
+
* Project created successfully
|
|
3764
4905
|
*/
|
|
3765
|
-
|
|
4906
|
+
201: ProjectResponse;
|
|
3766
4907
|
};
|
|
3767
|
-
type
|
|
4908
|
+
type DeleteProjectData = {
|
|
3768
4909
|
body?: never;
|
|
3769
4910
|
headers?: {
|
|
3770
4911
|
/**
|
|
@@ -3773,30 +4914,19 @@ type GetPrototypeChatData = {
|
|
|
3773
4914
|
'X-Workspace'?: string;
|
|
3774
4915
|
};
|
|
3775
4916
|
path: {
|
|
3776
|
-
/**
|
|
3777
|
-
* Provider
|
|
3778
|
-
*/
|
|
3779
|
-
provider: string;
|
|
3780
|
-
/**
|
|
3781
|
-
* Chat Id
|
|
3782
|
-
*/
|
|
3783
|
-
chat_id: string;
|
|
3784
|
-
};
|
|
3785
|
-
query?: {
|
|
3786
4917
|
/**
|
|
3787
4918
|
* Project Id
|
|
4919
|
+
*
|
|
4920
|
+
* Project ID
|
|
3788
4921
|
*/
|
|
3789
|
-
project_id
|
|
3790
|
-
/**
|
|
3791
|
-
* Version Id
|
|
3792
|
-
*/
|
|
3793
|
-
version_id?: string | null;
|
|
4922
|
+
project_id: string;
|
|
3794
4923
|
};
|
|
3795
|
-
|
|
4924
|
+
query?: never;
|
|
4925
|
+
url: '/ocxp/project/{project_id}';
|
|
3796
4926
|
};
|
|
3797
|
-
type
|
|
4927
|
+
type DeleteProjectErrors = {
|
|
3798
4928
|
/**
|
|
3799
|
-
*
|
|
4929
|
+
* Project not found
|
|
3800
4930
|
*/
|
|
3801
4931
|
404: unknown;
|
|
3802
4932
|
/**
|
|
@@ -3808,54 +4938,34 @@ type GetPrototypeChatErrors = {
|
|
|
3808
4938
|
*/
|
|
3809
4939
|
429: unknown;
|
|
3810
4940
|
};
|
|
3811
|
-
type
|
|
4941
|
+
type DeleteProjectResponses = {
|
|
3812
4942
|
/**
|
|
3813
|
-
*
|
|
4943
|
+
* Project deleted successfully
|
|
3814
4944
|
*/
|
|
3815
|
-
200:
|
|
4945
|
+
200: unknown;
|
|
3816
4946
|
};
|
|
3817
|
-
type
|
|
3818
|
-
body
|
|
4947
|
+
type GetProjectData = {
|
|
4948
|
+
body?: never;
|
|
3819
4949
|
headers?: {
|
|
3820
4950
|
/**
|
|
3821
4951
|
* X-Workspace
|
|
3822
4952
|
*/
|
|
3823
4953
|
'X-Workspace'?: string;
|
|
3824
4954
|
};
|
|
3825
|
-
path?: never;
|
|
3826
|
-
query?: never;
|
|
3827
|
-
url: '/ocxp/prototype/chat/sync-async';
|
|
3828
|
-
};
|
|
3829
|
-
type SyncPrototypeChatAsyncErrors = {
|
|
3830
|
-
/**
|
|
3831
|
-
* Validation Error
|
|
3832
|
-
*/
|
|
3833
|
-
422: HttpValidationError;
|
|
3834
|
-
/**
|
|
3835
|
-
* Rate limit exceeded
|
|
3836
|
-
*/
|
|
3837
|
-
429: unknown;
|
|
3838
|
-
};
|
|
3839
|
-
type SyncPrototypeChatAsyncResponses = {
|
|
3840
|
-
/**
|
|
3841
|
-
* Successful Response
|
|
3842
|
-
*/
|
|
3843
|
-
202: PrototypeChatSyncAsyncResponse;
|
|
3844
|
-
};
|
|
3845
|
-
type GetSyncStatusData = {
|
|
3846
|
-
body?: never;
|
|
3847
4955
|
path: {
|
|
3848
4956
|
/**
|
|
3849
|
-
*
|
|
4957
|
+
* Project Id
|
|
4958
|
+
*
|
|
4959
|
+
* Project ID
|
|
3850
4960
|
*/
|
|
3851
|
-
|
|
4961
|
+
project_id: string;
|
|
3852
4962
|
};
|
|
3853
4963
|
query?: never;
|
|
3854
|
-
url: '/ocxp/
|
|
4964
|
+
url: '/ocxp/project/{project_id}';
|
|
3855
4965
|
};
|
|
3856
|
-
type
|
|
4966
|
+
type GetProjectErrors = {
|
|
3857
4967
|
/**
|
|
3858
|
-
*
|
|
4968
|
+
* Project not found
|
|
3859
4969
|
*/
|
|
3860
4970
|
404: unknown;
|
|
3861
4971
|
/**
|
|
@@ -3867,38 +4977,36 @@ type GetSyncStatusErrors = {
|
|
|
3867
4977
|
*/
|
|
3868
4978
|
429: unknown;
|
|
3869
4979
|
};
|
|
3870
|
-
type
|
|
4980
|
+
type GetProjectResponses = {
|
|
3871
4981
|
/**
|
|
3872
|
-
*
|
|
4982
|
+
* Project found and returned
|
|
3873
4983
|
*/
|
|
3874
|
-
200:
|
|
4984
|
+
200: ProjectResponse;
|
|
3875
4985
|
};
|
|
3876
|
-
type
|
|
3877
|
-
body
|
|
4986
|
+
type UpdateProjectData = {
|
|
4987
|
+
body: ProjectUpdate;
|
|
3878
4988
|
headers?: {
|
|
3879
4989
|
/**
|
|
3880
4990
|
* X-Workspace
|
|
3881
4991
|
*/
|
|
3882
4992
|
'X-Workspace'?: string;
|
|
3883
4993
|
};
|
|
3884
|
-
path
|
|
3885
|
-
query?: {
|
|
3886
|
-
/**
|
|
3887
|
-
* Limit
|
|
3888
|
-
*
|
|
3889
|
-
* Maximum number of sessions to return
|
|
3890
|
-
*/
|
|
3891
|
-
limit?: number;
|
|
4994
|
+
path: {
|
|
3892
4995
|
/**
|
|
3893
|
-
*
|
|
4996
|
+
* Project Id
|
|
3894
4997
|
*
|
|
3895
|
-
*
|
|
4998
|
+
* Project ID
|
|
3896
4999
|
*/
|
|
3897
|
-
|
|
5000
|
+
project_id: string;
|
|
3898
5001
|
};
|
|
3899
|
-
|
|
5002
|
+
query?: never;
|
|
5003
|
+
url: '/ocxp/project/{project_id}';
|
|
3900
5004
|
};
|
|
3901
|
-
type
|
|
5005
|
+
type UpdateProjectErrors = {
|
|
5006
|
+
/**
|
|
5007
|
+
* Project not found
|
|
5008
|
+
*/
|
|
5009
|
+
404: unknown;
|
|
3902
5010
|
/**
|
|
3903
5011
|
* Validation Error
|
|
3904
5012
|
*/
|
|
@@ -3908,14 +5016,14 @@ type ListSessionsErrors = {
|
|
|
3908
5016
|
*/
|
|
3909
5017
|
429: unknown;
|
|
3910
5018
|
};
|
|
3911
|
-
type
|
|
5019
|
+
type UpdateProjectResponses = {
|
|
3912
5020
|
/**
|
|
3913
|
-
*
|
|
5021
|
+
* Project updated successfully
|
|
3914
5022
|
*/
|
|
3915
|
-
200:
|
|
5023
|
+
200: ProjectResponse;
|
|
3916
5024
|
};
|
|
3917
|
-
type
|
|
3918
|
-
body
|
|
5025
|
+
type AddLinkedRepoData = {
|
|
5026
|
+
body: AddRepoRequest;
|
|
3919
5027
|
headers?: {
|
|
3920
5028
|
/**
|
|
3921
5029
|
* X-Workspace
|
|
@@ -3924,23 +5032,18 @@ type GetSessionMessagesData = {
|
|
|
3924
5032
|
};
|
|
3925
5033
|
path: {
|
|
3926
5034
|
/**
|
|
3927
|
-
*
|
|
3928
|
-
*/
|
|
3929
|
-
session_id: string;
|
|
3930
|
-
};
|
|
3931
|
-
query?: {
|
|
3932
|
-
/**
|
|
3933
|
-
* Limit
|
|
5035
|
+
* Project Id
|
|
3934
5036
|
*
|
|
3935
|
-
*
|
|
5037
|
+
* Project ID
|
|
3936
5038
|
*/
|
|
3937
|
-
|
|
5039
|
+
project_id: string;
|
|
3938
5040
|
};
|
|
3939
|
-
|
|
5041
|
+
query?: never;
|
|
5042
|
+
url: '/ocxp/project/{project_id}/repos';
|
|
3940
5043
|
};
|
|
3941
|
-
type
|
|
5044
|
+
type AddLinkedRepoErrors = {
|
|
3942
5045
|
/**
|
|
3943
|
-
*
|
|
5046
|
+
* Project not found
|
|
3944
5047
|
*/
|
|
3945
5048
|
404: unknown;
|
|
3946
5049
|
/**
|
|
@@ -3952,14 +5055,14 @@ type GetSessionMessagesErrors = {
|
|
|
3952
5055
|
*/
|
|
3953
5056
|
429: unknown;
|
|
3954
5057
|
};
|
|
3955
|
-
type
|
|
5058
|
+
type AddLinkedRepoResponses = {
|
|
3956
5059
|
/**
|
|
3957
|
-
*
|
|
5060
|
+
* Repository linked successfully
|
|
3958
5061
|
*/
|
|
3959
|
-
200:
|
|
5062
|
+
200: ProjectResponse;
|
|
3960
5063
|
};
|
|
3961
|
-
type
|
|
3962
|
-
body
|
|
5064
|
+
type RemoveLinkedRepoData = {
|
|
5065
|
+
body?: never;
|
|
3963
5066
|
headers?: {
|
|
3964
5067
|
/**
|
|
3965
5068
|
* X-Workspace
|
|
@@ -3968,14 +5071,24 @@ type UpdateSessionMetadataData = {
|
|
|
3968
5071
|
};
|
|
3969
5072
|
path: {
|
|
3970
5073
|
/**
|
|
3971
|
-
*
|
|
5074
|
+
* Repo Id
|
|
3972
5075
|
*/
|
|
3973
|
-
|
|
5076
|
+
repo_id: string;
|
|
5077
|
+
/**
|
|
5078
|
+
* Project Id
|
|
5079
|
+
*
|
|
5080
|
+
* Project ID
|
|
5081
|
+
*/
|
|
5082
|
+
project_id: string;
|
|
3974
5083
|
};
|
|
3975
5084
|
query?: never;
|
|
3976
|
-
url: '/ocxp/
|
|
5085
|
+
url: '/ocxp/project/{project_id}/repos/{repo_id}';
|
|
3977
5086
|
};
|
|
3978
|
-
type
|
|
5087
|
+
type RemoveLinkedRepoErrors = {
|
|
5088
|
+
/**
|
|
5089
|
+
* Project not found
|
|
5090
|
+
*/
|
|
5091
|
+
404: unknown;
|
|
3979
5092
|
/**
|
|
3980
5093
|
* Validation Error
|
|
3981
5094
|
*/
|
|
@@ -3985,14 +5098,14 @@ type UpdateSessionMetadataErrors = {
|
|
|
3985
5098
|
*/
|
|
3986
5099
|
429: unknown;
|
|
3987
5100
|
};
|
|
3988
|
-
type
|
|
5101
|
+
type RemoveLinkedRepoResponses = {
|
|
3989
5102
|
/**
|
|
3990
|
-
*
|
|
5103
|
+
* Repository unlinked successfully
|
|
3991
5104
|
*/
|
|
3992
|
-
200:
|
|
5105
|
+
200: ProjectResponse;
|
|
3993
5106
|
};
|
|
3994
|
-
type
|
|
3995
|
-
body:
|
|
5107
|
+
type SetDefaultRepoData = {
|
|
5108
|
+
body: SetDefaultRepoRequest;
|
|
3996
5109
|
headers?: {
|
|
3997
5110
|
/**
|
|
3998
5111
|
* X-Workspace
|
|
@@ -4001,16 +5114,18 @@ type ForkSessionData = {
|
|
|
4001
5114
|
};
|
|
4002
5115
|
path: {
|
|
4003
5116
|
/**
|
|
4004
|
-
*
|
|
5117
|
+
* Project Id
|
|
5118
|
+
*
|
|
5119
|
+
* Project ID
|
|
4005
5120
|
*/
|
|
4006
|
-
|
|
5121
|
+
project_id: string;
|
|
4007
5122
|
};
|
|
4008
5123
|
query?: never;
|
|
4009
|
-
url: '/ocxp/
|
|
5124
|
+
url: '/ocxp/project/{project_id}/default-repo';
|
|
4010
5125
|
};
|
|
4011
|
-
type
|
|
5126
|
+
type SetDefaultRepoErrors = {
|
|
4012
5127
|
/**
|
|
4013
|
-
*
|
|
5128
|
+
* Project not found
|
|
4014
5129
|
*/
|
|
4015
5130
|
404: unknown;
|
|
4016
5131
|
/**
|
|
@@ -4022,13 +5137,13 @@ type ForkSessionErrors = {
|
|
|
4022
5137
|
*/
|
|
4023
5138
|
429: unknown;
|
|
4024
5139
|
};
|
|
4025
|
-
type
|
|
5140
|
+
type SetDefaultRepoResponses = {
|
|
4026
5141
|
/**
|
|
4027
|
-
*
|
|
5142
|
+
* Default repository set successfully
|
|
4028
5143
|
*/
|
|
4029
|
-
|
|
5144
|
+
200: ProjectResponse;
|
|
4030
5145
|
};
|
|
4031
|
-
type
|
|
5146
|
+
type GetContextReposData = {
|
|
4032
5147
|
body?: never;
|
|
4033
5148
|
headers?: {
|
|
4034
5149
|
/**
|
|
@@ -4038,16 +5153,18 @@ type ArchiveSessionData = {
|
|
|
4038
5153
|
};
|
|
4039
5154
|
path: {
|
|
4040
5155
|
/**
|
|
4041
|
-
*
|
|
5156
|
+
* Project Id
|
|
5157
|
+
*
|
|
5158
|
+
* Project ID
|
|
4042
5159
|
*/
|
|
4043
|
-
|
|
5160
|
+
project_id: string;
|
|
4044
5161
|
};
|
|
4045
5162
|
query?: never;
|
|
4046
|
-
url: '/ocxp/
|
|
5163
|
+
url: '/ocxp/project/{project_id}/context-repos';
|
|
4047
5164
|
};
|
|
4048
|
-
type
|
|
5165
|
+
type GetContextReposErrors = {
|
|
4049
5166
|
/**
|
|
4050
|
-
*
|
|
5167
|
+
* Project not found
|
|
4051
5168
|
*/
|
|
4052
5169
|
404: unknown;
|
|
4053
5170
|
/**
|
|
@@ -4059,44 +5176,36 @@ type ArchiveSessionErrors = {
|
|
|
4059
5176
|
*/
|
|
4060
5177
|
429: unknown;
|
|
4061
5178
|
};
|
|
4062
|
-
type
|
|
5179
|
+
type GetContextReposResponses = {
|
|
4063
5180
|
/**
|
|
4064
|
-
*
|
|
5181
|
+
* Context repositories returned
|
|
4065
5182
|
*/
|
|
4066
5183
|
200: unknown;
|
|
4067
5184
|
};
|
|
4068
|
-
type
|
|
4069
|
-
body
|
|
5185
|
+
type AddMissionData = {
|
|
5186
|
+
body: AddMissionRequest;
|
|
4070
5187
|
headers?: {
|
|
4071
5188
|
/**
|
|
4072
5189
|
* X-Workspace
|
|
4073
5190
|
*/
|
|
4074
5191
|
'X-Workspace'?: string;
|
|
4075
5192
|
};
|
|
4076
|
-
path
|
|
4077
|
-
query?: {
|
|
4078
|
-
/**
|
|
4079
|
-
* Project Ids
|
|
4080
|
-
*
|
|
4081
|
-
* Filter by specific project IDs
|
|
4082
|
-
*/
|
|
4083
|
-
project_ids?: Array<string> | null;
|
|
4084
|
-
/**
|
|
4085
|
-
* Include Metadata
|
|
4086
|
-
*
|
|
4087
|
-
* Include full metadata (description, repos, databases)
|
|
4088
|
-
*/
|
|
4089
|
-
include_metadata?: boolean;
|
|
5193
|
+
path: {
|
|
4090
5194
|
/**
|
|
4091
|
-
*
|
|
5195
|
+
* Project Id
|
|
4092
5196
|
*
|
|
4093
|
-
*
|
|
5197
|
+
* Project ID
|
|
4094
5198
|
*/
|
|
4095
|
-
|
|
5199
|
+
project_id: string;
|
|
4096
5200
|
};
|
|
4097
|
-
|
|
5201
|
+
query?: never;
|
|
5202
|
+
url: '/ocxp/project/{project_id}/missions';
|
|
4098
5203
|
};
|
|
4099
|
-
type
|
|
5204
|
+
type AddMissionErrors = {
|
|
5205
|
+
/**
|
|
5206
|
+
* Project not found
|
|
5207
|
+
*/
|
|
5208
|
+
404: unknown;
|
|
4100
5209
|
/**
|
|
4101
5210
|
* Validation Error
|
|
4102
5211
|
*/
|
|
@@ -4106,25 +5215,40 @@ type ListProjectsErrors = {
|
|
|
4106
5215
|
*/
|
|
4107
5216
|
429: unknown;
|
|
4108
5217
|
};
|
|
4109
|
-
type
|
|
5218
|
+
type AddMissionResponses = {
|
|
4110
5219
|
/**
|
|
4111
|
-
*
|
|
5220
|
+
* Mission added successfully
|
|
4112
5221
|
*/
|
|
4113
|
-
200:
|
|
5222
|
+
200: ProjectResponse;
|
|
4114
5223
|
};
|
|
4115
|
-
type
|
|
4116
|
-
body
|
|
5224
|
+
type RemoveMissionData = {
|
|
5225
|
+
body?: never;
|
|
4117
5226
|
headers?: {
|
|
4118
5227
|
/**
|
|
4119
5228
|
* X-Workspace
|
|
4120
5229
|
*/
|
|
4121
5230
|
'X-Workspace'?: string;
|
|
4122
5231
|
};
|
|
4123
|
-
path
|
|
5232
|
+
path: {
|
|
5233
|
+
/**
|
|
5234
|
+
* Mission Id
|
|
5235
|
+
*/
|
|
5236
|
+
mission_id: string;
|
|
5237
|
+
/**
|
|
5238
|
+
* Project Id
|
|
5239
|
+
*
|
|
5240
|
+
* Project ID
|
|
5241
|
+
*/
|
|
5242
|
+
project_id: string;
|
|
5243
|
+
};
|
|
4124
5244
|
query?: never;
|
|
4125
|
-
url: '/ocxp/project';
|
|
5245
|
+
url: '/ocxp/project/{project_id}/missions/{mission_id}';
|
|
4126
5246
|
};
|
|
4127
|
-
type
|
|
5247
|
+
type RemoveMissionErrors = {
|
|
5248
|
+
/**
|
|
5249
|
+
* Project not found
|
|
5250
|
+
*/
|
|
5251
|
+
404: unknown;
|
|
4128
5252
|
/**
|
|
4129
5253
|
* Validation Error
|
|
4130
5254
|
*/
|
|
@@ -4134,13 +5258,13 @@ type CreateProjectErrors = {
|
|
|
4134
5258
|
*/
|
|
4135
5259
|
429: unknown;
|
|
4136
5260
|
};
|
|
4137
|
-
type
|
|
5261
|
+
type RemoveMissionResponses = {
|
|
4138
5262
|
/**
|
|
4139
|
-
*
|
|
5263
|
+
* Mission removed successfully
|
|
4140
5264
|
*/
|
|
4141
|
-
|
|
5265
|
+
200: ProjectResponse;
|
|
4142
5266
|
};
|
|
4143
|
-
type
|
|
5267
|
+
type GetProjectDatabasesData = {
|
|
4144
5268
|
body?: never;
|
|
4145
5269
|
headers?: {
|
|
4146
5270
|
/**
|
|
@@ -4157,9 +5281,9 @@ type DeleteProjectData = {
|
|
|
4157
5281
|
project_id: string;
|
|
4158
5282
|
};
|
|
4159
5283
|
query?: never;
|
|
4160
|
-
url: '/ocxp/project/{project_id}';
|
|
5284
|
+
url: '/ocxp/project/{project_id}/databases';
|
|
4161
5285
|
};
|
|
4162
|
-
type
|
|
5286
|
+
type GetProjectDatabasesErrors = {
|
|
4163
5287
|
/**
|
|
4164
5288
|
* Project not found
|
|
4165
5289
|
*/
|
|
@@ -4173,14 +5297,14 @@ type DeleteProjectErrors = {
|
|
|
4173
5297
|
*/
|
|
4174
5298
|
429: unknown;
|
|
4175
5299
|
};
|
|
4176
|
-
type
|
|
5300
|
+
type GetProjectDatabasesResponses = {
|
|
4177
5301
|
/**
|
|
4178
|
-
*
|
|
5302
|
+
* Database list returned
|
|
4179
5303
|
*/
|
|
4180
5304
|
200: unknown;
|
|
4181
5305
|
};
|
|
4182
|
-
type
|
|
4183
|
-
body
|
|
5306
|
+
type AddDatabaseData = {
|
|
5307
|
+
body: AddDatabaseRequest;
|
|
4184
5308
|
headers?: {
|
|
4185
5309
|
/**
|
|
4186
5310
|
* X-Workspace
|
|
@@ -4196,9 +5320,9 @@ type GetProjectData = {
|
|
|
4196
5320
|
project_id: string;
|
|
4197
5321
|
};
|
|
4198
5322
|
query?: never;
|
|
4199
|
-
url: '/ocxp/project/{project_id}';
|
|
5323
|
+
url: '/ocxp/project/{project_id}/databases';
|
|
4200
5324
|
};
|
|
4201
|
-
type
|
|
5325
|
+
type AddDatabaseErrors = {
|
|
4202
5326
|
/**
|
|
4203
5327
|
* Project not found
|
|
4204
5328
|
*/
|
|
@@ -4212,14 +5336,14 @@ type GetProjectErrors = {
|
|
|
4212
5336
|
*/
|
|
4213
5337
|
429: unknown;
|
|
4214
5338
|
};
|
|
4215
|
-
type
|
|
5339
|
+
type AddDatabaseResponses = {
|
|
4216
5340
|
/**
|
|
4217
|
-
*
|
|
5341
|
+
* Database linked successfully
|
|
4218
5342
|
*/
|
|
4219
5343
|
200: ProjectResponse;
|
|
4220
5344
|
};
|
|
4221
|
-
type
|
|
4222
|
-
body
|
|
5345
|
+
type RemoveDatabaseData = {
|
|
5346
|
+
body?: never;
|
|
4223
5347
|
headers?: {
|
|
4224
5348
|
/**
|
|
4225
5349
|
* X-Workspace
|
|
@@ -4227,6 +5351,10 @@ type UpdateProjectData = {
|
|
|
4227
5351
|
'X-Workspace'?: string;
|
|
4228
5352
|
};
|
|
4229
5353
|
path: {
|
|
5354
|
+
/**
|
|
5355
|
+
* Database Id
|
|
5356
|
+
*/
|
|
5357
|
+
database_id: string;
|
|
4230
5358
|
/**
|
|
4231
5359
|
* Project Id
|
|
4232
5360
|
*
|
|
@@ -4235,9 +5363,9 @@ type UpdateProjectData = {
|
|
|
4235
5363
|
project_id: string;
|
|
4236
5364
|
};
|
|
4237
5365
|
query?: never;
|
|
4238
|
-
url: '/ocxp/project/{project_id}';
|
|
5366
|
+
url: '/ocxp/project/{project_id}/databases/{database_id}';
|
|
4239
5367
|
};
|
|
4240
|
-
type
|
|
5368
|
+
type RemoveDatabaseErrors = {
|
|
4241
5369
|
/**
|
|
4242
5370
|
* Project not found
|
|
4243
5371
|
*/
|
|
@@ -4251,14 +5379,14 @@ type UpdateProjectErrors = {
|
|
|
4251
5379
|
*/
|
|
4252
5380
|
429: unknown;
|
|
4253
5381
|
};
|
|
4254
|
-
type
|
|
5382
|
+
type RemoveDatabaseResponses = {
|
|
4255
5383
|
/**
|
|
4256
|
-
*
|
|
5384
|
+
* Database unlinked successfully
|
|
4257
5385
|
*/
|
|
4258
5386
|
200: ProjectResponse;
|
|
4259
5387
|
};
|
|
4260
|
-
type
|
|
4261
|
-
body:
|
|
5388
|
+
type SetDefaultDatabaseData = {
|
|
5389
|
+
body: SetDefaultDatabaseRequest;
|
|
4262
5390
|
headers?: {
|
|
4263
5391
|
/**
|
|
4264
5392
|
* X-Workspace
|
|
@@ -4274,9 +5402,9 @@ type AddLinkedRepoData = {
|
|
|
4274
5402
|
project_id: string;
|
|
4275
5403
|
};
|
|
4276
5404
|
query?: never;
|
|
4277
|
-
url: '/ocxp/project/{project_id}/
|
|
5405
|
+
url: '/ocxp/project/{project_id}/default-database';
|
|
4278
5406
|
};
|
|
4279
|
-
type
|
|
5407
|
+
type SetDefaultDatabaseErrors = {
|
|
4280
5408
|
/**
|
|
4281
5409
|
* Project not found
|
|
4282
5410
|
*/
|
|
@@ -4290,14 +5418,14 @@ type AddLinkedRepoErrors = {
|
|
|
4290
5418
|
*/
|
|
4291
5419
|
429: unknown;
|
|
4292
5420
|
};
|
|
4293
|
-
type
|
|
5421
|
+
type SetDefaultDatabaseResponses = {
|
|
4294
5422
|
/**
|
|
4295
|
-
*
|
|
5423
|
+
* Default database set successfully
|
|
4296
5424
|
*/
|
|
4297
5425
|
200: ProjectResponse;
|
|
4298
5426
|
};
|
|
4299
|
-
type
|
|
4300
|
-
body
|
|
5427
|
+
type RegenerateMissionData = {
|
|
5428
|
+
body: RegenerateMissionRequest;
|
|
4301
5429
|
headers?: {
|
|
4302
5430
|
/**
|
|
4303
5431
|
* X-Workspace
|
|
@@ -4306,22 +5434,18 @@ type RemoveLinkedRepoData = {
|
|
|
4306
5434
|
};
|
|
4307
5435
|
path: {
|
|
4308
5436
|
/**
|
|
4309
|
-
*
|
|
4310
|
-
*/
|
|
4311
|
-
repo_id: string;
|
|
4312
|
-
/**
|
|
4313
|
-
* Project Id
|
|
5437
|
+
* Mission Id
|
|
4314
5438
|
*
|
|
4315
|
-
*
|
|
5439
|
+
* Mission ID
|
|
4316
5440
|
*/
|
|
4317
|
-
|
|
5441
|
+
mission_id: string;
|
|
4318
5442
|
};
|
|
4319
5443
|
query?: never;
|
|
4320
|
-
url: '/ocxp/
|
|
5444
|
+
url: '/ocxp/mission/{mission_id}/regenerate';
|
|
4321
5445
|
};
|
|
4322
|
-
type
|
|
5446
|
+
type RegenerateMissionErrors = {
|
|
4323
5447
|
/**
|
|
4324
|
-
*
|
|
5448
|
+
* Mission not found
|
|
4325
5449
|
*/
|
|
4326
5450
|
404: unknown;
|
|
4327
5451
|
/**
|
|
@@ -4332,37 +5456,58 @@ type RemoveLinkedRepoErrors = {
|
|
|
4332
5456
|
* Rate limit exceeded
|
|
4333
5457
|
*/
|
|
4334
5458
|
429: unknown;
|
|
5459
|
+
/**
|
|
5460
|
+
* Archive or regeneration failed
|
|
5461
|
+
*/
|
|
5462
|
+
500: unknown;
|
|
4335
5463
|
};
|
|
4336
|
-
type
|
|
5464
|
+
type RegenerateMissionResponses = {
|
|
4337
5465
|
/**
|
|
4338
|
-
*
|
|
5466
|
+
* Regeneration started successfully
|
|
4339
5467
|
*/
|
|
4340
|
-
200:
|
|
5468
|
+
200: RegenerateMissionResponse;
|
|
4341
5469
|
};
|
|
4342
|
-
type
|
|
4343
|
-
body:
|
|
5470
|
+
type QueryKnowledgeBaseData = {
|
|
5471
|
+
body: KbQueryRequest;
|
|
4344
5472
|
headers?: {
|
|
4345
5473
|
/**
|
|
4346
5474
|
* X-Workspace
|
|
4347
5475
|
*/
|
|
4348
5476
|
'X-Workspace'?: string;
|
|
4349
5477
|
};
|
|
4350
|
-
path
|
|
5478
|
+
path?: never;
|
|
5479
|
+
query?: never;
|
|
5480
|
+
url: '/ocxp/kb/query';
|
|
5481
|
+
};
|
|
5482
|
+
type QueryKnowledgeBaseErrors = {
|
|
5483
|
+
/**
|
|
5484
|
+
* Validation Error
|
|
5485
|
+
*/
|
|
5486
|
+
422: HttpValidationError;
|
|
5487
|
+
/**
|
|
5488
|
+
* Rate limit exceeded
|
|
5489
|
+
*/
|
|
5490
|
+
429: unknown;
|
|
5491
|
+
};
|
|
5492
|
+
type QueryKnowledgeBaseResponses = {
|
|
5493
|
+
/**
|
|
5494
|
+
* Successful Response
|
|
5495
|
+
*/
|
|
5496
|
+
200: KbQueryResponse;
|
|
5497
|
+
};
|
|
5498
|
+
type RagKnowledgeBaseData = {
|
|
5499
|
+
body: RagRequest;
|
|
5500
|
+
headers?: {
|
|
4351
5501
|
/**
|
|
4352
|
-
*
|
|
4353
|
-
*
|
|
4354
|
-
* Project ID
|
|
5502
|
+
* X-Workspace
|
|
4355
5503
|
*/
|
|
4356
|
-
|
|
5504
|
+
'X-Workspace'?: string;
|
|
4357
5505
|
};
|
|
5506
|
+
path?: never;
|
|
4358
5507
|
query?: never;
|
|
4359
|
-
url: '/ocxp/
|
|
5508
|
+
url: '/ocxp/kb/rag';
|
|
4360
5509
|
};
|
|
4361
|
-
type
|
|
4362
|
-
/**
|
|
4363
|
-
* Project not found
|
|
4364
|
-
*/
|
|
4365
|
-
404: unknown;
|
|
5510
|
+
type RagKnowledgeBaseErrors = {
|
|
4366
5511
|
/**
|
|
4367
5512
|
* Validation Error
|
|
4368
5513
|
*/
|
|
@@ -4372,13 +5517,13 @@ type SetDefaultRepoErrors = {
|
|
|
4372
5517
|
*/
|
|
4373
5518
|
429: unknown;
|
|
4374
5519
|
};
|
|
4375
|
-
type
|
|
5520
|
+
type RagKnowledgeBaseResponses = {
|
|
4376
5521
|
/**
|
|
4377
|
-
*
|
|
5522
|
+
* Successful Response
|
|
4378
5523
|
*/
|
|
4379
|
-
200:
|
|
5524
|
+
200: KbRagResponse;
|
|
4380
5525
|
};
|
|
4381
|
-
type
|
|
5526
|
+
type ListMemosData = {
|
|
4382
5527
|
body?: never;
|
|
4383
5528
|
headers?: {
|
|
4384
5529
|
/**
|
|
@@ -4386,22 +5531,105 @@ type GetContextReposData = {
|
|
|
4386
5531
|
*/
|
|
4387
5532
|
'X-Workspace'?: string;
|
|
4388
5533
|
};
|
|
4389
|
-
path
|
|
5534
|
+
path?: never;
|
|
5535
|
+
query?: {
|
|
5536
|
+
/**
|
|
5537
|
+
* Status
|
|
5538
|
+
*
|
|
5539
|
+
* Filter by status (open, acknowledged, resolved, ignored)
|
|
5540
|
+
*/
|
|
5541
|
+
status?: MemoStatus | null;
|
|
5542
|
+
/**
|
|
5543
|
+
* Source Type
|
|
5544
|
+
*
|
|
5545
|
+
* Filter by source type (repo, project, mission, doc)
|
|
5546
|
+
*/
|
|
5547
|
+
source_type?: SourceType | null;
|
|
5548
|
+
/**
|
|
5549
|
+
* Category
|
|
5550
|
+
*
|
|
5551
|
+
* Filter by category
|
|
5552
|
+
*/
|
|
5553
|
+
category?: MemoCategory | null;
|
|
5554
|
+
/**
|
|
5555
|
+
* Severity
|
|
5556
|
+
*
|
|
5557
|
+
* Filter by minimum severity
|
|
5558
|
+
*/
|
|
5559
|
+
severity?: MemoSeverity | null;
|
|
5560
|
+
/**
|
|
5561
|
+
* Mission Id
|
|
5562
|
+
*
|
|
5563
|
+
* Filter by mission ID (extracts from mission source_id)
|
|
5564
|
+
*/
|
|
5565
|
+
mission_id?: string | null;
|
|
4390
5566
|
/**
|
|
4391
5567
|
* Project Id
|
|
4392
5568
|
*
|
|
4393
|
-
*
|
|
5569
|
+
* Filter by project ID (matches project source_id)
|
|
4394
5570
|
*/
|
|
4395
|
-
project_id
|
|
5571
|
+
project_id?: string | null;
|
|
5572
|
+
/**
|
|
5573
|
+
* Limit
|
|
5574
|
+
*
|
|
5575
|
+
* Maximum results per page
|
|
5576
|
+
*/
|
|
5577
|
+
limit?: number;
|
|
5578
|
+
/**
|
|
5579
|
+
* Offset
|
|
5580
|
+
*
|
|
5581
|
+
* Number of items to skip (for pagination)
|
|
5582
|
+
*/
|
|
5583
|
+
offset?: number;
|
|
5584
|
+
/**
|
|
5585
|
+
* Order By
|
|
5586
|
+
*
|
|
5587
|
+
* Field to sort by (created_at, updated_at, highest_severity)
|
|
5588
|
+
*/
|
|
5589
|
+
order_by?: string;
|
|
5590
|
+
/**
|
|
5591
|
+
* Order Dir
|
|
5592
|
+
*
|
|
5593
|
+
* Sort direction (asc, desc)
|
|
5594
|
+
*/
|
|
5595
|
+
order_dir?: 'asc' | 'desc';
|
|
5596
|
+
};
|
|
5597
|
+
url: '/ocxp/memo';
|
|
5598
|
+
};
|
|
5599
|
+
type ListMemosErrors = {
|
|
5600
|
+
/**
|
|
5601
|
+
* Validation Error
|
|
5602
|
+
*/
|
|
5603
|
+
422: HttpValidationError;
|
|
5604
|
+
/**
|
|
5605
|
+
* Rate limit exceeded
|
|
5606
|
+
*/
|
|
5607
|
+
429: unknown;
|
|
5608
|
+
};
|
|
5609
|
+
type ListMemosResponses = {
|
|
5610
|
+
/**
|
|
5611
|
+
* List of memos returned successfully
|
|
5612
|
+
*/
|
|
5613
|
+
200: MemoListResponse;
|
|
5614
|
+
};
|
|
5615
|
+
type ListMemosResponse = ListMemosResponses[keyof ListMemosResponses];
|
|
5616
|
+
type CreateMemoData = {
|
|
5617
|
+
body: CreateMemoRequest;
|
|
5618
|
+
headers?: {
|
|
5619
|
+
/**
|
|
5620
|
+
* X-Workspace
|
|
5621
|
+
*/
|
|
5622
|
+
'X-Workspace'?: string;
|
|
4396
5623
|
};
|
|
5624
|
+
path?: never;
|
|
4397
5625
|
query?: never;
|
|
4398
|
-
url: '/ocxp/
|
|
5626
|
+
url: '/ocxp/memo';
|
|
4399
5627
|
};
|
|
4400
|
-
type
|
|
5628
|
+
type CreateMemoErrors = {
|
|
4401
5629
|
/**
|
|
4402
|
-
*
|
|
5630
|
+
* Invalid request
|
|
4403
5631
|
*/
|
|
4404
|
-
|
|
5632
|
+
400: unknown;
|
|
4405
5633
|
/**
|
|
4406
5634
|
* Validation Error
|
|
4407
5635
|
*/
|
|
@@ -4411,14 +5639,15 @@ type GetContextReposErrors = {
|
|
|
4411
5639
|
*/
|
|
4412
5640
|
429: unknown;
|
|
4413
5641
|
};
|
|
4414
|
-
type
|
|
5642
|
+
type CreateMemoResponses = {
|
|
4415
5643
|
/**
|
|
4416
|
-
*
|
|
5644
|
+
* Memo created successfully
|
|
4417
5645
|
*/
|
|
4418
|
-
|
|
5646
|
+
201: Memo;
|
|
4419
5647
|
};
|
|
4420
|
-
type
|
|
4421
|
-
|
|
5648
|
+
type CreateMemoResponse = CreateMemoResponses[keyof CreateMemoResponses];
|
|
5649
|
+
type DeleteMemoData = {
|
|
5650
|
+
body?: never;
|
|
4422
5651
|
headers?: {
|
|
4423
5652
|
/**
|
|
4424
5653
|
* X-Workspace
|
|
@@ -4427,18 +5656,18 @@ type AddMissionData = {
|
|
|
4427
5656
|
};
|
|
4428
5657
|
path: {
|
|
4429
5658
|
/**
|
|
4430
|
-
*
|
|
5659
|
+
* Memo Id
|
|
4431
5660
|
*
|
|
4432
|
-
*
|
|
5661
|
+
* Memo ID
|
|
4433
5662
|
*/
|
|
4434
|
-
|
|
5663
|
+
memo_id: string;
|
|
4435
5664
|
};
|
|
4436
5665
|
query?: never;
|
|
4437
|
-
url: '/ocxp/
|
|
5666
|
+
url: '/ocxp/memo/{memo_id}';
|
|
4438
5667
|
};
|
|
4439
|
-
type
|
|
5668
|
+
type DeleteMemoErrors = {
|
|
4440
5669
|
/**
|
|
4441
|
-
*
|
|
5670
|
+
* Memo not found
|
|
4442
5671
|
*/
|
|
4443
5672
|
404: unknown;
|
|
4444
5673
|
/**
|
|
@@ -4450,13 +5679,14 @@ type AddMissionErrors = {
|
|
|
4450
5679
|
*/
|
|
4451
5680
|
429: unknown;
|
|
4452
5681
|
};
|
|
4453
|
-
type
|
|
5682
|
+
type DeleteMemoResponses = {
|
|
4454
5683
|
/**
|
|
4455
|
-
*
|
|
5684
|
+
* Memo deleted successfully
|
|
4456
5685
|
*/
|
|
4457
|
-
200:
|
|
5686
|
+
200: MemoActionResponse;
|
|
4458
5687
|
};
|
|
4459
|
-
type
|
|
5688
|
+
type DeleteMemoResponse = DeleteMemoResponses[keyof DeleteMemoResponses];
|
|
5689
|
+
type GetMemoData = {
|
|
4460
5690
|
body?: never;
|
|
4461
5691
|
headers?: {
|
|
4462
5692
|
/**
|
|
@@ -4466,22 +5696,18 @@ type RemoveMissionData = {
|
|
|
4466
5696
|
};
|
|
4467
5697
|
path: {
|
|
4468
5698
|
/**
|
|
4469
|
-
*
|
|
4470
|
-
*/
|
|
4471
|
-
mission_id: string;
|
|
4472
|
-
/**
|
|
4473
|
-
* Project Id
|
|
5699
|
+
* Memo Id
|
|
4474
5700
|
*
|
|
4475
|
-
*
|
|
5701
|
+
* Memo ID
|
|
4476
5702
|
*/
|
|
4477
|
-
|
|
5703
|
+
memo_id: string;
|
|
4478
5704
|
};
|
|
4479
5705
|
query?: never;
|
|
4480
|
-
url: '/ocxp/
|
|
5706
|
+
url: '/ocxp/memo/{memo_id}';
|
|
4481
5707
|
};
|
|
4482
|
-
type
|
|
5708
|
+
type GetMemoErrors = {
|
|
4483
5709
|
/**
|
|
4484
|
-
*
|
|
5710
|
+
* Memo not found
|
|
4485
5711
|
*/
|
|
4486
5712
|
404: unknown;
|
|
4487
5713
|
/**
|
|
@@ -4493,13 +5719,14 @@ type RemoveMissionErrors = {
|
|
|
4493
5719
|
*/
|
|
4494
5720
|
429: unknown;
|
|
4495
5721
|
};
|
|
4496
|
-
type
|
|
5722
|
+
type GetMemoResponses = {
|
|
4497
5723
|
/**
|
|
4498
|
-
*
|
|
5724
|
+
* Memo returned successfully
|
|
4499
5725
|
*/
|
|
4500
|
-
200:
|
|
5726
|
+
200: Memo;
|
|
4501
5727
|
};
|
|
4502
|
-
type
|
|
5728
|
+
type GetMemoResponse = GetMemoResponses[keyof GetMemoResponses];
|
|
5729
|
+
type GetMemoForSourceData = {
|
|
4503
5730
|
body?: never;
|
|
4504
5731
|
headers?: {
|
|
4505
5732
|
/**
|
|
@@ -4509,20 +5736,22 @@ type GetProjectDatabasesData = {
|
|
|
4509
5736
|
};
|
|
4510
5737
|
path: {
|
|
4511
5738
|
/**
|
|
4512
|
-
*
|
|
5739
|
+
* Source Type
|
|
4513
5740
|
*
|
|
4514
|
-
*
|
|
5741
|
+
* Source type (repo, project, mission, doc)
|
|
4515
5742
|
*/
|
|
4516
|
-
|
|
5743
|
+
source_type: string;
|
|
5744
|
+
/**
|
|
5745
|
+
* Source Id
|
|
5746
|
+
*
|
|
5747
|
+
* Source entity ID
|
|
5748
|
+
*/
|
|
5749
|
+
source_id: string;
|
|
4517
5750
|
};
|
|
4518
5751
|
query?: never;
|
|
4519
|
-
url: '/ocxp/
|
|
5752
|
+
url: '/ocxp/memo/source/{source_type}/{source_id}';
|
|
4520
5753
|
};
|
|
4521
|
-
type
|
|
4522
|
-
/**
|
|
4523
|
-
* Project not found
|
|
4524
|
-
*/
|
|
4525
|
-
404: unknown;
|
|
5754
|
+
type GetMemoForSourceErrors = {
|
|
4526
5755
|
/**
|
|
4527
5756
|
* Validation Error
|
|
4528
5757
|
*/
|
|
@@ -4532,14 +5761,17 @@ type GetProjectDatabasesErrors = {
|
|
|
4532
5761
|
*/
|
|
4533
5762
|
429: unknown;
|
|
4534
5763
|
};
|
|
4535
|
-
type
|
|
5764
|
+
type GetMemoForSourceResponses = {
|
|
4536
5765
|
/**
|
|
4537
|
-
*
|
|
5766
|
+
* Response Getmemoforsource
|
|
5767
|
+
*
|
|
5768
|
+
* Memo returned or null if none exists
|
|
4538
5769
|
*/
|
|
4539
|
-
200:
|
|
5770
|
+
200: Memo | null;
|
|
4540
5771
|
};
|
|
4541
|
-
type
|
|
4542
|
-
|
|
5772
|
+
type GetMemoForSourceResponse = GetMemoForSourceResponses[keyof GetMemoForSourceResponses];
|
|
5773
|
+
type ResolveMemoData = {
|
|
5774
|
+
body: MemoResolveRequest;
|
|
4543
5775
|
headers?: {
|
|
4544
5776
|
/**
|
|
4545
5777
|
* X-Workspace
|
|
@@ -4548,18 +5780,18 @@ type AddDatabaseData = {
|
|
|
4548
5780
|
};
|
|
4549
5781
|
path: {
|
|
4550
5782
|
/**
|
|
4551
|
-
*
|
|
5783
|
+
* Memo Id
|
|
4552
5784
|
*
|
|
4553
|
-
*
|
|
5785
|
+
* Memo ID
|
|
4554
5786
|
*/
|
|
4555
|
-
|
|
5787
|
+
memo_id: string;
|
|
4556
5788
|
};
|
|
4557
5789
|
query?: never;
|
|
4558
|
-
url: '/ocxp/
|
|
5790
|
+
url: '/ocxp/memo/{memo_id}/resolve';
|
|
4559
5791
|
};
|
|
4560
|
-
type
|
|
5792
|
+
type ResolveMemoErrors = {
|
|
4561
5793
|
/**
|
|
4562
|
-
*
|
|
5794
|
+
* Memo not found
|
|
4563
5795
|
*/
|
|
4564
5796
|
404: unknown;
|
|
4565
5797
|
/**
|
|
@@ -4571,13 +5803,13 @@ type AddDatabaseErrors = {
|
|
|
4571
5803
|
*/
|
|
4572
5804
|
429: unknown;
|
|
4573
5805
|
};
|
|
4574
|
-
type
|
|
5806
|
+
type ResolveMemoResponses = {
|
|
4575
5807
|
/**
|
|
4576
|
-
*
|
|
5808
|
+
* Memo resolved successfully
|
|
4577
5809
|
*/
|
|
4578
|
-
200:
|
|
5810
|
+
200: MemoActionResponse;
|
|
4579
5811
|
};
|
|
4580
|
-
type
|
|
5812
|
+
type AcknowledgeMemoData = {
|
|
4581
5813
|
body?: never;
|
|
4582
5814
|
headers?: {
|
|
4583
5815
|
/**
|
|
@@ -4587,22 +5819,18 @@ type RemoveDatabaseData = {
|
|
|
4587
5819
|
};
|
|
4588
5820
|
path: {
|
|
4589
5821
|
/**
|
|
4590
|
-
*
|
|
4591
|
-
*/
|
|
4592
|
-
database_id: string;
|
|
4593
|
-
/**
|
|
4594
|
-
* Project Id
|
|
5822
|
+
* Memo Id
|
|
4595
5823
|
*
|
|
4596
|
-
*
|
|
5824
|
+
* Memo ID
|
|
4597
5825
|
*/
|
|
4598
|
-
|
|
5826
|
+
memo_id: string;
|
|
4599
5827
|
};
|
|
4600
5828
|
query?: never;
|
|
4601
|
-
url: '/ocxp/
|
|
5829
|
+
url: '/ocxp/memo/{memo_id}/acknowledge';
|
|
4602
5830
|
};
|
|
4603
|
-
type
|
|
5831
|
+
type AcknowledgeMemoErrors = {
|
|
4604
5832
|
/**
|
|
4605
|
-
*
|
|
5833
|
+
* Memo not found
|
|
4606
5834
|
*/
|
|
4607
5835
|
404: unknown;
|
|
4608
5836
|
/**
|
|
@@ -4614,14 +5842,14 @@ type RemoveDatabaseErrors = {
|
|
|
4614
5842
|
*/
|
|
4615
5843
|
429: unknown;
|
|
4616
5844
|
};
|
|
4617
|
-
type
|
|
5845
|
+
type AcknowledgeMemoResponses = {
|
|
4618
5846
|
/**
|
|
4619
|
-
*
|
|
5847
|
+
* Memo acknowledged successfully
|
|
4620
5848
|
*/
|
|
4621
|
-
200:
|
|
5849
|
+
200: MemoActionResponse;
|
|
4622
5850
|
};
|
|
4623
|
-
type
|
|
4624
|
-
body
|
|
5851
|
+
type IgnoreMemoData = {
|
|
5852
|
+
body?: never;
|
|
4625
5853
|
headers?: {
|
|
4626
5854
|
/**
|
|
4627
5855
|
* X-Workspace
|
|
@@ -4630,18 +5858,18 @@ type SetDefaultDatabaseData = {
|
|
|
4630
5858
|
};
|
|
4631
5859
|
path: {
|
|
4632
5860
|
/**
|
|
4633
|
-
*
|
|
5861
|
+
* Memo Id
|
|
4634
5862
|
*
|
|
4635
|
-
*
|
|
5863
|
+
* Memo ID
|
|
4636
5864
|
*/
|
|
4637
|
-
|
|
5865
|
+
memo_id: string;
|
|
4638
5866
|
};
|
|
4639
5867
|
query?: never;
|
|
4640
|
-
url: '/ocxp/
|
|
5868
|
+
url: '/ocxp/memo/{memo_id}/ignore';
|
|
4641
5869
|
};
|
|
4642
|
-
type
|
|
5870
|
+
type IgnoreMemoErrors = {
|
|
4643
5871
|
/**
|
|
4644
|
-
*
|
|
5872
|
+
* Memo not found
|
|
4645
5873
|
*/
|
|
4646
5874
|
404: unknown;
|
|
4647
5875
|
/**
|
|
@@ -4653,36 +5881,62 @@ type SetDefaultDatabaseErrors = {
|
|
|
4653
5881
|
*/
|
|
4654
5882
|
429: unknown;
|
|
4655
5883
|
};
|
|
4656
|
-
type
|
|
5884
|
+
type IgnoreMemoResponses = {
|
|
4657
5885
|
/**
|
|
4658
|
-
*
|
|
5886
|
+
* Memo ignored successfully
|
|
4659
5887
|
*/
|
|
4660
|
-
200:
|
|
5888
|
+
200: MemoActionResponse;
|
|
4661
5889
|
};
|
|
4662
|
-
type
|
|
4663
|
-
body
|
|
5890
|
+
type ListWorkflowsData = {
|
|
5891
|
+
body?: never;
|
|
4664
5892
|
headers?: {
|
|
4665
5893
|
/**
|
|
4666
5894
|
* X-Workspace
|
|
4667
5895
|
*/
|
|
4668
5896
|
'X-Workspace'?: string;
|
|
4669
5897
|
};
|
|
4670
|
-
path
|
|
5898
|
+
path?: never;
|
|
5899
|
+
query: {
|
|
4671
5900
|
/**
|
|
4672
5901
|
* Mission Id
|
|
4673
5902
|
*
|
|
4674
|
-
*
|
|
5903
|
+
* Filter by mission ID
|
|
4675
5904
|
*/
|
|
4676
5905
|
mission_id: string;
|
|
5906
|
+
/**
|
|
5907
|
+
* Status
|
|
5908
|
+
*
|
|
5909
|
+
* Filter by workflow status
|
|
5910
|
+
*/
|
|
5911
|
+
status?: WorkflowStatus | null;
|
|
5912
|
+
/**
|
|
5913
|
+
* Limit
|
|
5914
|
+
*
|
|
5915
|
+
* Maximum results per page
|
|
5916
|
+
*/
|
|
5917
|
+
limit?: number;
|
|
5918
|
+
/**
|
|
5919
|
+
* Offset
|
|
5920
|
+
*
|
|
5921
|
+
* Number of items to skip
|
|
5922
|
+
*/
|
|
5923
|
+
offset?: number;
|
|
5924
|
+
/**
|
|
5925
|
+
* Order By
|
|
5926
|
+
*
|
|
5927
|
+
* Field to sort by (created_at, updated_at, name)
|
|
5928
|
+
*/
|
|
5929
|
+
order_by?: string;
|
|
5930
|
+
/**
|
|
5931
|
+
* Order Dir
|
|
5932
|
+
*
|
|
5933
|
+
* Sort direction (asc, desc)
|
|
5934
|
+
*/
|
|
5935
|
+
order_dir?: string;
|
|
4677
5936
|
};
|
|
4678
|
-
|
|
4679
|
-
url: '/ocxp/mission/{mission_id}/regenerate';
|
|
5937
|
+
url: '/ocxp/workflow';
|
|
4680
5938
|
};
|
|
4681
|
-
type
|
|
4682
|
-
/**
|
|
4683
|
-
* Mission not found
|
|
4684
|
-
*/
|
|
4685
|
-
404: unknown;
|
|
5939
|
+
type ListWorkflowsErrors = {
|
|
4686
5940
|
/**
|
|
4687
5941
|
* Validation Error
|
|
4688
5942
|
*/
|
|
@@ -4691,19 +5945,15 @@ type RegenerateMissionErrors = {
|
|
|
4691
5945
|
* Rate limit exceeded
|
|
4692
5946
|
*/
|
|
4693
5947
|
429: unknown;
|
|
4694
|
-
/**
|
|
4695
|
-
* Archive or regeneration failed
|
|
4696
|
-
*/
|
|
4697
|
-
500: unknown;
|
|
4698
5948
|
};
|
|
4699
|
-
type
|
|
5949
|
+
type ListWorkflowsResponses = {
|
|
4700
5950
|
/**
|
|
4701
|
-
*
|
|
5951
|
+
* List of workflows returned successfully
|
|
4702
5952
|
*/
|
|
4703
|
-
200:
|
|
5953
|
+
200: WorkflowListResponse;
|
|
4704
5954
|
};
|
|
4705
|
-
type
|
|
4706
|
-
body:
|
|
5955
|
+
type CreateWorkflowData = {
|
|
5956
|
+
body: WorkflowCreate;
|
|
4707
5957
|
headers?: {
|
|
4708
5958
|
/**
|
|
4709
5959
|
* X-Workspace
|
|
@@ -4712,9 +5962,13 @@ type QueryKnowledgeBaseData = {
|
|
|
4712
5962
|
};
|
|
4713
5963
|
path?: never;
|
|
4714
5964
|
query?: never;
|
|
4715
|
-
url: '/ocxp/
|
|
5965
|
+
url: '/ocxp/workflow';
|
|
4716
5966
|
};
|
|
4717
|
-
type
|
|
5967
|
+
type CreateWorkflowErrors = {
|
|
5968
|
+
/**
|
|
5969
|
+
* Invalid request
|
|
5970
|
+
*/
|
|
5971
|
+
400: unknown;
|
|
4718
5972
|
/**
|
|
4719
5973
|
* Validation Error
|
|
4720
5974
|
*/
|
|
@@ -4724,25 +5978,36 @@ type QueryKnowledgeBaseErrors = {
|
|
|
4724
5978
|
*/
|
|
4725
5979
|
429: unknown;
|
|
4726
5980
|
};
|
|
4727
|
-
type
|
|
5981
|
+
type CreateWorkflowResponses = {
|
|
4728
5982
|
/**
|
|
4729
|
-
*
|
|
5983
|
+
* Workflow created successfully
|
|
4730
5984
|
*/
|
|
4731
|
-
|
|
5985
|
+
201: WorkflowResponse;
|
|
4732
5986
|
};
|
|
4733
|
-
type
|
|
4734
|
-
body
|
|
5987
|
+
type DeleteWorkflowData = {
|
|
5988
|
+
body?: never;
|
|
4735
5989
|
headers?: {
|
|
4736
5990
|
/**
|
|
4737
5991
|
* X-Workspace
|
|
4738
5992
|
*/
|
|
4739
5993
|
'X-Workspace'?: string;
|
|
4740
5994
|
};
|
|
4741
|
-
path
|
|
5995
|
+
path: {
|
|
5996
|
+
/**
|
|
5997
|
+
* Workflow Id
|
|
5998
|
+
*
|
|
5999
|
+
* Workflow ID
|
|
6000
|
+
*/
|
|
6001
|
+
workflow_id: string;
|
|
6002
|
+
};
|
|
4742
6003
|
query?: never;
|
|
4743
|
-
url: '/ocxp/
|
|
6004
|
+
url: '/ocxp/workflow/{workflow_id}';
|
|
4744
6005
|
};
|
|
4745
|
-
type
|
|
6006
|
+
type DeleteWorkflowErrors = {
|
|
6007
|
+
/**
|
|
6008
|
+
* Workflow not found
|
|
6009
|
+
*/
|
|
6010
|
+
404: unknown;
|
|
4746
6011
|
/**
|
|
4747
6012
|
* Validation Error
|
|
4748
6013
|
*/
|
|
@@ -4752,13 +6017,13 @@ type RagKnowledgeBaseErrors = {
|
|
|
4752
6017
|
*/
|
|
4753
6018
|
429: unknown;
|
|
4754
6019
|
};
|
|
4755
|
-
type
|
|
6020
|
+
type DeleteWorkflowResponses = {
|
|
4756
6021
|
/**
|
|
4757
|
-
*
|
|
6022
|
+
* Workflow deleted successfully
|
|
4758
6023
|
*/
|
|
4759
|
-
200:
|
|
6024
|
+
200: WorkflowActionResponse;
|
|
4760
6025
|
};
|
|
4761
|
-
type
|
|
6026
|
+
type GetWorkflowData = {
|
|
4762
6027
|
body?: never;
|
|
4763
6028
|
headers?: {
|
|
4764
6029
|
/**
|
|
@@ -4766,54 +6031,22 @@ type ListMemosData = {
|
|
|
4766
6031
|
*/
|
|
4767
6032
|
'X-Workspace'?: string;
|
|
4768
6033
|
};
|
|
4769
|
-
path
|
|
4770
|
-
query?: {
|
|
4771
|
-
/**
|
|
4772
|
-
* Status
|
|
4773
|
-
*
|
|
4774
|
-
* Filter by status (open, acknowledged, resolved, ignored)
|
|
4775
|
-
*/
|
|
4776
|
-
status?: MemoStatus | null;
|
|
4777
|
-
/**
|
|
4778
|
-
* Source Type
|
|
4779
|
-
*
|
|
4780
|
-
* Filter by source type (repo, project, mission, doc)
|
|
4781
|
-
*/
|
|
4782
|
-
source_type?: SourceType | null;
|
|
4783
|
-
/**
|
|
4784
|
-
* Category
|
|
4785
|
-
*
|
|
4786
|
-
* Filter by category
|
|
4787
|
-
*/
|
|
4788
|
-
category?: MemoCategory | null;
|
|
4789
|
-
/**
|
|
4790
|
-
* Severity
|
|
4791
|
-
*
|
|
4792
|
-
* Filter by minimum severity
|
|
4793
|
-
*/
|
|
4794
|
-
severity?: MemoSeverity | null;
|
|
4795
|
-
/**
|
|
4796
|
-
* Mission Id
|
|
4797
|
-
*
|
|
4798
|
-
* Filter by mission ID (extracts from mission source_id)
|
|
4799
|
-
*/
|
|
4800
|
-
mission_id?: string | null;
|
|
4801
|
-
/**
|
|
4802
|
-
* Project Id
|
|
4803
|
-
*
|
|
4804
|
-
* Filter by project ID (matches project source_id)
|
|
4805
|
-
*/
|
|
4806
|
-
project_id?: string | null;
|
|
6034
|
+
path: {
|
|
4807
6035
|
/**
|
|
4808
|
-
*
|
|
6036
|
+
* Workflow Id
|
|
4809
6037
|
*
|
|
4810
|
-
*
|
|
6038
|
+
* Workflow ID
|
|
4811
6039
|
*/
|
|
4812
|
-
|
|
6040
|
+
workflow_id: string;
|
|
4813
6041
|
};
|
|
4814
|
-
|
|
6042
|
+
query?: never;
|
|
6043
|
+
url: '/ocxp/workflow/{workflow_id}';
|
|
4815
6044
|
};
|
|
4816
|
-
type
|
|
6045
|
+
type GetWorkflowErrors = {
|
|
6046
|
+
/**
|
|
6047
|
+
* Workflow not found
|
|
6048
|
+
*/
|
|
6049
|
+
404: unknown;
|
|
4817
6050
|
/**
|
|
4818
6051
|
* Validation Error
|
|
4819
6052
|
*/
|
|
@@ -4823,30 +6056,36 @@ type ListMemosErrors = {
|
|
|
4823
6056
|
*/
|
|
4824
6057
|
429: unknown;
|
|
4825
6058
|
};
|
|
4826
|
-
type
|
|
6059
|
+
type GetWorkflowResponses = {
|
|
4827
6060
|
/**
|
|
4828
|
-
*
|
|
6061
|
+
* Workflow returned successfully
|
|
4829
6062
|
*/
|
|
4830
|
-
200:
|
|
6063
|
+
200: WorkflowResponse;
|
|
4831
6064
|
};
|
|
4832
|
-
type
|
|
4833
|
-
|
|
4834
|
-
body: CreateMemoRequest;
|
|
6065
|
+
type StartWorkflowData = {
|
|
6066
|
+
body?: never;
|
|
4835
6067
|
headers?: {
|
|
4836
6068
|
/**
|
|
4837
6069
|
* X-Workspace
|
|
4838
6070
|
*/
|
|
4839
6071
|
'X-Workspace'?: string;
|
|
4840
6072
|
};
|
|
4841
|
-
path
|
|
6073
|
+
path: {
|
|
6074
|
+
/**
|
|
6075
|
+
* Workflow Id
|
|
6076
|
+
*
|
|
6077
|
+
* Workflow ID
|
|
6078
|
+
*/
|
|
6079
|
+
workflow_id: string;
|
|
6080
|
+
};
|
|
4842
6081
|
query?: never;
|
|
4843
|
-
url: '/ocxp/
|
|
6082
|
+
url: '/ocxp/workflow/{workflow_id}/start';
|
|
4844
6083
|
};
|
|
4845
|
-
type
|
|
6084
|
+
type StartWorkflowErrors = {
|
|
4846
6085
|
/**
|
|
4847
|
-
*
|
|
6086
|
+
* Workflow not found
|
|
4848
6087
|
*/
|
|
4849
|
-
|
|
6088
|
+
404: unknown;
|
|
4850
6089
|
/**
|
|
4851
6090
|
* Validation Error
|
|
4852
6091
|
*/
|
|
@@ -4856,14 +6095,13 @@ type CreateMemoErrors = {
|
|
|
4856
6095
|
*/
|
|
4857
6096
|
429: unknown;
|
|
4858
6097
|
};
|
|
4859
|
-
type
|
|
6098
|
+
type StartWorkflowResponses = {
|
|
4860
6099
|
/**
|
|
4861
|
-
*
|
|
6100
|
+
* Workflow started successfully
|
|
4862
6101
|
*/
|
|
4863
|
-
|
|
6102
|
+
200: WorkflowActionResponse;
|
|
4864
6103
|
};
|
|
4865
|
-
type
|
|
4866
|
-
type DeleteMemoData = {
|
|
6104
|
+
type ListTasksData = {
|
|
4867
6105
|
body?: never;
|
|
4868
6106
|
headers?: {
|
|
4869
6107
|
/**
|
|
@@ -4873,18 +6111,18 @@ type DeleteMemoData = {
|
|
|
4873
6111
|
};
|
|
4874
6112
|
path: {
|
|
4875
6113
|
/**
|
|
4876
|
-
*
|
|
6114
|
+
* Workflow Id
|
|
4877
6115
|
*
|
|
4878
|
-
*
|
|
6116
|
+
* Workflow ID
|
|
4879
6117
|
*/
|
|
4880
|
-
|
|
6118
|
+
workflow_id: string;
|
|
4881
6119
|
};
|
|
4882
6120
|
query?: never;
|
|
4883
|
-
url: '/ocxp/
|
|
6121
|
+
url: '/ocxp/workflow/{workflow_id}/tasks';
|
|
4884
6122
|
};
|
|
4885
|
-
type
|
|
6123
|
+
type ListTasksErrors = {
|
|
4886
6124
|
/**
|
|
4887
|
-
*
|
|
6125
|
+
* Workflow not found
|
|
4888
6126
|
*/
|
|
4889
6127
|
404: unknown;
|
|
4890
6128
|
/**
|
|
@@ -4896,15 +6134,14 @@ type DeleteMemoErrors = {
|
|
|
4896
6134
|
*/
|
|
4897
6135
|
429: unknown;
|
|
4898
6136
|
};
|
|
4899
|
-
type
|
|
6137
|
+
type ListTasksResponses = {
|
|
4900
6138
|
/**
|
|
4901
|
-
*
|
|
6139
|
+
* Tasks returned successfully
|
|
4902
6140
|
*/
|
|
4903
|
-
200:
|
|
6141
|
+
200: TaskListResponse;
|
|
4904
6142
|
};
|
|
4905
|
-
type
|
|
4906
|
-
|
|
4907
|
-
body?: never;
|
|
6143
|
+
type AddTaskData = {
|
|
6144
|
+
body: WorkflowTaskCreate;
|
|
4908
6145
|
headers?: {
|
|
4909
6146
|
/**
|
|
4910
6147
|
* X-Workspace
|
|
@@ -4913,18 +6150,18 @@ type GetMemoData = {
|
|
|
4913
6150
|
};
|
|
4914
6151
|
path: {
|
|
4915
6152
|
/**
|
|
4916
|
-
*
|
|
6153
|
+
* Workflow Id
|
|
4917
6154
|
*
|
|
4918
|
-
*
|
|
6155
|
+
* Workflow ID
|
|
4919
6156
|
*/
|
|
4920
|
-
|
|
6157
|
+
workflow_id: string;
|
|
4921
6158
|
};
|
|
4922
6159
|
query?: never;
|
|
4923
|
-
url: '/ocxp/
|
|
6160
|
+
url: '/ocxp/workflow/{workflow_id}/tasks';
|
|
4924
6161
|
};
|
|
4925
|
-
type
|
|
6162
|
+
type AddTaskErrors = {
|
|
4926
6163
|
/**
|
|
4927
|
-
*
|
|
6164
|
+
* Workflow not found
|
|
4928
6165
|
*/
|
|
4929
6166
|
404: unknown;
|
|
4930
6167
|
/**
|
|
@@ -4936,15 +6173,14 @@ type GetMemoErrors = {
|
|
|
4936
6173
|
*/
|
|
4937
6174
|
429: unknown;
|
|
4938
6175
|
};
|
|
4939
|
-
type
|
|
6176
|
+
type AddTaskResponses = {
|
|
4940
6177
|
/**
|
|
4941
|
-
*
|
|
6178
|
+
* Task added successfully
|
|
4942
6179
|
*/
|
|
4943
|
-
|
|
6180
|
+
201: TaskResponse;
|
|
4944
6181
|
};
|
|
4945
|
-
type
|
|
4946
|
-
|
|
4947
|
-
body?: never;
|
|
6182
|
+
type BulkUpdateTasksData = {
|
|
6183
|
+
body: BulkTaskUpdateRequest;
|
|
4948
6184
|
headers?: {
|
|
4949
6185
|
/**
|
|
4950
6186
|
* X-Workspace
|
|
@@ -4953,22 +6189,20 @@ type GetMemoForSourceData = {
|
|
|
4953
6189
|
};
|
|
4954
6190
|
path: {
|
|
4955
6191
|
/**
|
|
4956
|
-
*
|
|
4957
|
-
*
|
|
4958
|
-
* Source type (repo, project, mission, doc)
|
|
4959
|
-
*/
|
|
4960
|
-
source_type: string;
|
|
4961
|
-
/**
|
|
4962
|
-
* Source Id
|
|
6192
|
+
* Workflow Id
|
|
4963
6193
|
*
|
|
4964
|
-
*
|
|
6194
|
+
* Workflow ID
|
|
4965
6195
|
*/
|
|
4966
|
-
|
|
6196
|
+
workflow_id: string;
|
|
4967
6197
|
};
|
|
4968
6198
|
query?: never;
|
|
4969
|
-
url: '/ocxp/
|
|
6199
|
+
url: '/ocxp/workflow/{workflow_id}/tasks/bulk';
|
|
4970
6200
|
};
|
|
4971
|
-
type
|
|
6201
|
+
type BulkUpdateTasksErrors = {
|
|
6202
|
+
/**
|
|
6203
|
+
* Workflow not found
|
|
6204
|
+
*/
|
|
6205
|
+
404: unknown;
|
|
4972
6206
|
/**
|
|
4973
6207
|
* Validation Error
|
|
4974
6208
|
*/
|
|
@@ -4978,17 +6212,14 @@ type GetMemoForSourceErrors = {
|
|
|
4978
6212
|
*/
|
|
4979
6213
|
429: unknown;
|
|
4980
6214
|
};
|
|
4981
|
-
type
|
|
6215
|
+
type BulkUpdateTasksResponses = {
|
|
4982
6216
|
/**
|
|
4983
|
-
*
|
|
4984
|
-
*
|
|
4985
|
-
* Memo returned or null if none exists
|
|
6217
|
+
* Tasks updated (check results for per-task status)
|
|
4986
6218
|
*/
|
|
4987
|
-
200:
|
|
6219
|
+
200: BulkTaskUpdateResponse;
|
|
4988
6220
|
};
|
|
4989
|
-
type
|
|
4990
|
-
|
|
4991
|
-
body: MemoResolveRequest;
|
|
6221
|
+
type DeleteTaskData = {
|
|
6222
|
+
body?: never;
|
|
4992
6223
|
headers?: {
|
|
4993
6224
|
/**
|
|
4994
6225
|
* X-Workspace
|
|
@@ -4997,18 +6228,24 @@ type ResolveMemoData = {
|
|
|
4997
6228
|
};
|
|
4998
6229
|
path: {
|
|
4999
6230
|
/**
|
|
5000
|
-
*
|
|
6231
|
+
* Workflow Id
|
|
5001
6232
|
*
|
|
5002
|
-
*
|
|
6233
|
+
* Workflow ID
|
|
5003
6234
|
*/
|
|
5004
|
-
|
|
6235
|
+
workflow_id: string;
|
|
6236
|
+
/**
|
|
6237
|
+
* Task Id
|
|
6238
|
+
*
|
|
6239
|
+
* Task ID
|
|
6240
|
+
*/
|
|
6241
|
+
task_id: string;
|
|
5005
6242
|
};
|
|
5006
6243
|
query?: never;
|
|
5007
|
-
url: '/ocxp/
|
|
6244
|
+
url: '/ocxp/workflow/{workflow_id}/tasks/{task_id}';
|
|
5008
6245
|
};
|
|
5009
|
-
type
|
|
6246
|
+
type DeleteTaskErrors = {
|
|
5010
6247
|
/**
|
|
5011
|
-
*
|
|
6248
|
+
* Workflow or task not found
|
|
5012
6249
|
*/
|
|
5013
6250
|
404: unknown;
|
|
5014
6251
|
/**
|
|
@@ -5020,13 +6257,13 @@ type ResolveMemoErrors = {
|
|
|
5020
6257
|
*/
|
|
5021
6258
|
429: unknown;
|
|
5022
6259
|
};
|
|
5023
|
-
type
|
|
6260
|
+
type DeleteTaskResponses = {
|
|
5024
6261
|
/**
|
|
5025
|
-
*
|
|
6262
|
+
* Task deleted successfully
|
|
5026
6263
|
*/
|
|
5027
|
-
200:
|
|
6264
|
+
200: WorkflowActionResponse;
|
|
5028
6265
|
};
|
|
5029
|
-
type
|
|
6266
|
+
type GetTaskData = {
|
|
5030
6267
|
body?: never;
|
|
5031
6268
|
headers?: {
|
|
5032
6269
|
/**
|
|
@@ -5036,18 +6273,24 @@ type AcknowledgeMemoData = {
|
|
|
5036
6273
|
};
|
|
5037
6274
|
path: {
|
|
5038
6275
|
/**
|
|
5039
|
-
*
|
|
6276
|
+
* Workflow Id
|
|
5040
6277
|
*
|
|
5041
|
-
*
|
|
6278
|
+
* Workflow ID
|
|
5042
6279
|
*/
|
|
5043
|
-
|
|
6280
|
+
workflow_id: string;
|
|
6281
|
+
/**
|
|
6282
|
+
* Task Id
|
|
6283
|
+
*
|
|
6284
|
+
* Task ID
|
|
6285
|
+
*/
|
|
6286
|
+
task_id: string;
|
|
5044
6287
|
};
|
|
5045
6288
|
query?: never;
|
|
5046
|
-
url: '/ocxp/
|
|
6289
|
+
url: '/ocxp/workflow/{workflow_id}/tasks/{task_id}';
|
|
5047
6290
|
};
|
|
5048
|
-
type
|
|
6291
|
+
type GetTaskErrors = {
|
|
5049
6292
|
/**
|
|
5050
|
-
*
|
|
6293
|
+
* Workflow or task not found
|
|
5051
6294
|
*/
|
|
5052
6295
|
404: unknown;
|
|
5053
6296
|
/**
|
|
@@ -5059,14 +6302,14 @@ type AcknowledgeMemoErrors = {
|
|
|
5059
6302
|
*/
|
|
5060
6303
|
429: unknown;
|
|
5061
6304
|
};
|
|
5062
|
-
type
|
|
6305
|
+
type GetTaskResponses = {
|
|
5063
6306
|
/**
|
|
5064
|
-
*
|
|
6307
|
+
* Task returned successfully
|
|
5065
6308
|
*/
|
|
5066
|
-
200:
|
|
6309
|
+
200: TaskResponse;
|
|
5067
6310
|
};
|
|
5068
|
-
type
|
|
5069
|
-
body
|
|
6311
|
+
type UpdateTaskData = {
|
|
6312
|
+
body: TaskUpdate;
|
|
5070
6313
|
headers?: {
|
|
5071
6314
|
/**
|
|
5072
6315
|
* X-Workspace
|
|
@@ -5075,18 +6318,24 @@ type IgnoreMemoData = {
|
|
|
5075
6318
|
};
|
|
5076
6319
|
path: {
|
|
5077
6320
|
/**
|
|
5078
|
-
*
|
|
6321
|
+
* Workflow Id
|
|
5079
6322
|
*
|
|
5080
|
-
*
|
|
6323
|
+
* Workflow ID
|
|
5081
6324
|
*/
|
|
5082
|
-
|
|
6325
|
+
workflow_id: string;
|
|
6326
|
+
/**
|
|
6327
|
+
* Task Id
|
|
6328
|
+
*
|
|
6329
|
+
* Task ID
|
|
6330
|
+
*/
|
|
6331
|
+
task_id: string;
|
|
5083
6332
|
};
|
|
5084
6333
|
query?: never;
|
|
5085
|
-
url: '/ocxp/
|
|
6334
|
+
url: '/ocxp/workflow/{workflow_id}/tasks/{task_id}';
|
|
5086
6335
|
};
|
|
5087
|
-
type
|
|
6336
|
+
type UpdateTaskErrors = {
|
|
5088
6337
|
/**
|
|
5089
|
-
*
|
|
6338
|
+
* Workflow or task not found
|
|
5090
6339
|
*/
|
|
5091
6340
|
404: unknown;
|
|
5092
6341
|
/**
|
|
@@ -5098,11 +6347,11 @@ type IgnoreMemoErrors = {
|
|
|
5098
6347
|
*/
|
|
5099
6348
|
429: unknown;
|
|
5100
6349
|
};
|
|
5101
|
-
type
|
|
6350
|
+
type UpdateTaskResponses = {
|
|
5102
6351
|
/**
|
|
5103
|
-
*
|
|
6352
|
+
* Task updated successfully
|
|
5104
6353
|
*/
|
|
5105
|
-
200:
|
|
6354
|
+
200: TaskResponse;
|
|
5106
6355
|
};
|
|
5107
6356
|
type DownloadRepositoryData = {
|
|
5108
6357
|
body: DownloadRequest;
|
|
@@ -5182,7 +6431,32 @@ type ListDownloadedReposData = {
|
|
|
5182
6431
|
'X-Workspace'?: string;
|
|
5183
6432
|
};
|
|
5184
6433
|
path?: never;
|
|
5185
|
-
query?:
|
|
6434
|
+
query?: {
|
|
6435
|
+
/**
|
|
6436
|
+
* Limit
|
|
6437
|
+
*
|
|
6438
|
+
* Maximum number of repos to return
|
|
6439
|
+
*/
|
|
6440
|
+
limit?: number;
|
|
6441
|
+
/**
|
|
6442
|
+
* Offset
|
|
6443
|
+
*
|
|
6444
|
+
* Number of repos to skip (for pagination)
|
|
6445
|
+
*/
|
|
6446
|
+
offset?: number;
|
|
6447
|
+
/**
|
|
6448
|
+
* Order By
|
|
6449
|
+
*
|
|
6450
|
+
* Field to order by (created_at, last_synced)
|
|
6451
|
+
*/
|
|
6452
|
+
order_by?: string | null;
|
|
6453
|
+
/**
|
|
6454
|
+
* Order Dir
|
|
6455
|
+
*
|
|
6456
|
+
* Sort direction (asc, desc)
|
|
6457
|
+
*/
|
|
6458
|
+
order_dir?: string;
|
|
6459
|
+
};
|
|
5186
6460
|
url: '/ocxp/repo/list';
|
|
5187
6461
|
};
|
|
5188
6462
|
type ListDownloadedReposErrors = {
|
|
@@ -5452,6 +6726,24 @@ type ListDatabasesData = {
|
|
|
5452
6726
|
* Maximum number of databases to return
|
|
5453
6727
|
*/
|
|
5454
6728
|
limit?: number;
|
|
6729
|
+
/**
|
|
6730
|
+
* Offset
|
|
6731
|
+
*
|
|
6732
|
+
* Number of databases to skip (for pagination)
|
|
6733
|
+
*/
|
|
6734
|
+
offset?: number;
|
|
6735
|
+
/**
|
|
6736
|
+
* Order By
|
|
6737
|
+
*
|
|
6738
|
+
* Field to order by (created_at, updated_at)
|
|
6739
|
+
*/
|
|
6740
|
+
order_by?: string | null;
|
|
6741
|
+
/**
|
|
6742
|
+
* Order Dir
|
|
6743
|
+
*
|
|
6744
|
+
* Sort direction (asc, desc)
|
|
6745
|
+
*/
|
|
6746
|
+
order_dir?: string;
|
|
5455
6747
|
};
|
|
5456
6748
|
url: '/ocxp/database';
|
|
5457
6749
|
};
|
|
@@ -6230,6 +7522,10 @@ type ReadContentResponses = {
|
|
|
6230
7522
|
type WriteContentData = {
|
|
6231
7523
|
body: WriteRequest;
|
|
6232
7524
|
headers?: {
|
|
7525
|
+
/**
|
|
7526
|
+
* X-User-Id
|
|
7527
|
+
*/
|
|
7528
|
+
'X-User-Id'?: string | null;
|
|
6233
7529
|
/**
|
|
6234
7530
|
* X-Workspace
|
|
6235
7531
|
*/
|
|
@@ -6969,7 +8265,7 @@ declare const getSyncStatus: <ThrowOnError extends boolean = false>(options: Opt
|
|
|
6969
8265
|
/**
|
|
6970
8266
|
* List all sessions
|
|
6971
8267
|
*
|
|
6972
|
-
* Returns sessions for the workspace filtered by status. Uses AgentCore Memory when available for fast retrieval.
|
|
8268
|
+
* Returns sessions for the workspace filtered by status. Uses AgentCore Memory when available for fast retrieval. Supports offset-based pagination.
|
|
6973
8269
|
*/
|
|
6974
8270
|
declare const listSessions: <ThrowOnError extends boolean = false>(options?: Options<ListSessionsData, ThrowOnError>) => RequestResult<ListSessionsResponses, ListSessionsErrors, ThrowOnError, "fields">;
|
|
6975
8271
|
/**
|
|
@@ -6999,7 +8295,7 @@ declare const archiveSession: <ThrowOnError extends boolean = false>(options: Op
|
|
|
6999
8295
|
/**
|
|
7000
8296
|
* List all projects
|
|
7001
8297
|
*
|
|
7002
|
-
* Returns all projects in the workspace with their linked repos and missions.
|
|
8298
|
+
* Returns all projects in the workspace with their linked repos and missions. Supports offset-based pagination.
|
|
7003
8299
|
*/
|
|
7004
8300
|
declare const listProjects: <ThrowOnError extends boolean = false>(options?: Options<ListProjectsData, ThrowOnError>) => RequestResult<ListProjectsResponses, ListProjectsErrors, ThrowOnError, "fields">;
|
|
7005
8301
|
/**
|
|
@@ -7119,7 +8415,7 @@ declare const ragKnowledgeBase: <ThrowOnError extends boolean = false>(options:
|
|
|
7119
8415
|
/**
|
|
7120
8416
|
* List memos
|
|
7121
8417
|
*
|
|
7122
|
-
* List memos for the workspace with optional filters.
|
|
8418
|
+
* List memos for the workspace with optional filters and pagination.
|
|
7123
8419
|
*/
|
|
7124
8420
|
declare const listMemos: <ThrowOnError extends boolean = false>(options?: Options<ListMemosData, ThrowOnError>) => RequestResult<ListMemosResponses, ListMemosErrors, ThrowOnError, "fields">;
|
|
7125
8421
|
/**
|
|
@@ -7164,6 +8460,72 @@ declare const acknowledgeMemo: <ThrowOnError extends boolean = false>(options: O
|
|
|
7164
8460
|
* Mark a memo as ignored (false positive or accepted risk).
|
|
7165
8461
|
*/
|
|
7166
8462
|
declare const ignoreMemo: <ThrowOnError extends boolean = false>(options: Options<IgnoreMemoData, ThrowOnError>) => RequestResult<IgnoreMemoResponses, IgnoreMemoErrors, ThrowOnError, "fields">;
|
|
8463
|
+
/**
|
|
8464
|
+
* List workflows
|
|
8465
|
+
*
|
|
8466
|
+
* List workflows for a mission with optional status filter and pagination.
|
|
8467
|
+
*/
|
|
8468
|
+
declare const listWorkflows: <ThrowOnError extends boolean = false>(options: Options<ListWorkflowsData, ThrowOnError>) => RequestResult<ListWorkflowsResponses, ListWorkflowsErrors, ThrowOnError, "fields">;
|
|
8469
|
+
/**
|
|
8470
|
+
* Create workflow with tasks
|
|
8471
|
+
*
|
|
8472
|
+
* Create a new workflow with optional initial tasks. Tasks are stored as memos.
|
|
8473
|
+
*/
|
|
8474
|
+
declare const createWorkflow: <ThrowOnError extends boolean = false>(options: Options<CreateWorkflowData, ThrowOnError>) => RequestResult<CreateWorkflowResponses, CreateWorkflowErrors, ThrowOnError, "fields">;
|
|
8475
|
+
/**
|
|
8476
|
+
* Delete workflow
|
|
8477
|
+
*
|
|
8478
|
+
* Delete a workflow and all its task memos.
|
|
8479
|
+
*/
|
|
8480
|
+
declare const deleteWorkflow: <ThrowOnError extends boolean = false>(options: Options<DeleteWorkflowData, ThrowOnError>) => RequestResult<DeleteWorkflowResponses, DeleteWorkflowErrors, ThrowOnError, "fields">;
|
|
8481
|
+
/**
|
|
8482
|
+
* Get workflow with tasks
|
|
8483
|
+
*
|
|
8484
|
+
* Get a workflow with all its tasks in strands-compatible format.
|
|
8485
|
+
*/
|
|
8486
|
+
declare const getWorkflow: <ThrowOnError extends boolean = false>(options: Options<GetWorkflowData, ThrowOnError>) => RequestResult<GetWorkflowResponses, GetWorkflowErrors, ThrowOnError, "fields">;
|
|
8487
|
+
/**
|
|
8488
|
+
* Start workflow
|
|
8489
|
+
*
|
|
8490
|
+
* Mark workflow as running.
|
|
8491
|
+
*/
|
|
8492
|
+
declare const startWorkflow: <ThrowOnError extends boolean = false>(options: Options<StartWorkflowData, ThrowOnError>) => RequestResult<StartWorkflowResponses, StartWorkflowErrors, ThrowOnError, "fields">;
|
|
8493
|
+
/**
|
|
8494
|
+
* List workflow tasks
|
|
8495
|
+
*
|
|
8496
|
+
* List all tasks for a workflow.
|
|
8497
|
+
*/
|
|
8498
|
+
declare const listTasks: <ThrowOnError extends boolean = false>(options: Options<ListTasksData, ThrowOnError>) => RequestResult<ListTasksResponses, ListTasksErrors, ThrowOnError, "fields">;
|
|
8499
|
+
/**
|
|
8500
|
+
* Add task to workflow
|
|
8501
|
+
*
|
|
8502
|
+
* Add a new task to an existing workflow.
|
|
8503
|
+
*/
|
|
8504
|
+
declare const addTask: <ThrowOnError extends boolean = false>(options: Options<AddTaskData, ThrowOnError>) => RequestResult<AddTaskResponses, AddTaskErrors, ThrowOnError, "fields">;
|
|
8505
|
+
/**
|
|
8506
|
+
* Bulk update tasks
|
|
8507
|
+
*
|
|
8508
|
+
* Update multiple task statuses in a single request for O(1) performance.
|
|
8509
|
+
*/
|
|
8510
|
+
declare const bulkUpdateTasks: <ThrowOnError extends boolean = false>(options: Options<BulkUpdateTasksData, ThrowOnError>) => RequestResult<BulkUpdateTasksResponses, BulkUpdateTasksErrors, ThrowOnError, "fields">;
|
|
8511
|
+
/**
|
|
8512
|
+
* Delete task
|
|
8513
|
+
*
|
|
8514
|
+
* Delete a specific task from a workflow.
|
|
8515
|
+
*/
|
|
8516
|
+
declare const deleteTask: <ThrowOnError extends boolean = false>(options: Options<DeleteTaskData, ThrowOnError>) => RequestResult<DeleteTaskResponses, DeleteTaskErrors, ThrowOnError, "fields">;
|
|
8517
|
+
/**
|
|
8518
|
+
* Get task
|
|
8519
|
+
*
|
|
8520
|
+
* Get a specific task from a workflow.
|
|
8521
|
+
*/
|
|
8522
|
+
declare const getTask: <ThrowOnError extends boolean = false>(options: Options<GetTaskData, ThrowOnError>) => RequestResult<GetTaskResponses, GetTaskErrors, ThrowOnError, "fields">;
|
|
8523
|
+
/**
|
|
8524
|
+
* Update task
|
|
8525
|
+
*
|
|
8526
|
+
* Update a task's status, result, or error.
|
|
8527
|
+
*/
|
|
8528
|
+
declare const updateTask: <ThrowOnError extends boolean = false>(options: Options<UpdateTaskData, ThrowOnError>) => RequestResult<UpdateTaskResponses, UpdateTaskErrors, ThrowOnError, "fields">;
|
|
7167
8529
|
/**
|
|
7168
8530
|
* Start repository download
|
|
7169
8531
|
*
|
|
@@ -7179,7 +8541,7 @@ declare const getRepoDownloadStatus: <ThrowOnError extends boolean = false>(opti
|
|
|
7179
8541
|
/**
|
|
7180
8542
|
* List downloaded repositories
|
|
7181
8543
|
*
|
|
7182
|
-
* Returns
|
|
8544
|
+
* Returns repositories that have been downloaded for the workspace with pagination support.
|
|
7183
8545
|
*/
|
|
7184
8546
|
declare const listDownloadedRepos: <ThrowOnError extends boolean = false>(options?: Options<ListDownloadedReposData, ThrowOnError>) => RequestResult<ListDownloadedReposResponses, ListDownloadedReposErrors, ThrowOnError, "fields">;
|
|
7185
8547
|
/**
|
|
@@ -7234,7 +8596,7 @@ declare const githubGetContents: <ThrowOnError extends boolean = false>(options:
|
|
|
7234
8596
|
/**
|
|
7235
8597
|
* List all database configurations
|
|
7236
8598
|
*
|
|
7237
|
-
* Returns all database configurations in the workspace.
|
|
8599
|
+
* Returns all database configurations in the workspace. Supports offset-based pagination.
|
|
7238
8600
|
*/
|
|
7239
8601
|
declare const listDatabases: <ThrowOnError extends boolean = false>(options?: Options<ListDatabasesData, ThrowOnError>) => RequestResult<ListDatabasesResponses, ListDatabasesErrors, ThrowOnError, "fields">;
|
|
7240
8602
|
/**
|
|
@@ -7342,7 +8704,7 @@ declare const readContent: <ThrowOnError extends boolean = false>(options: Optio
|
|
|
7342
8704
|
/**
|
|
7343
8705
|
* Write content
|
|
7344
8706
|
*
|
|
7345
|
-
* Writes content to storage. Supports ETag for optimistic locking
|
|
8707
|
+
* Writes content to storage with robust verification. Supports ETag for optimistic locking, ifNotExists for creation-only, and wait_for_index/verify_access for synchronous KB indexing verification.
|
|
7346
8708
|
*/
|
|
7347
8709
|
declare const writeContent: <ThrowOnError extends boolean = false>(options: Options<WriteContentData, ThrowOnError>) => RequestResult<WriteContentResponses, WriteContentErrors, ThrowOnError, "fields">;
|
|
7348
8710
|
/**
|
|
@@ -7600,9 +8962,12 @@ declare function mapHttpError(statusCode: number, message: string, options?: {
|
|
|
7600
8962
|
* Project Credentials for frontend authentication
|
|
7601
8963
|
*/
|
|
7602
8964
|
interface ProjectCredentials {
|
|
7603
|
-
url?: string;
|
|
7604
|
-
username?: string;
|
|
7605
|
-
password?: string;
|
|
8965
|
+
url?: string | null;
|
|
8966
|
+
username?: string | null;
|
|
8967
|
+
password?: string | null;
|
|
8968
|
+
login_instructions?: string | null;
|
|
8969
|
+
workspace?: string | null;
|
|
8970
|
+
project_id?: string | null;
|
|
7606
8971
|
createdAt?: string;
|
|
7607
8972
|
updatedAt?: string;
|
|
7608
8973
|
}
|
|
@@ -7651,6 +9016,22 @@ interface OCXPClientOptions {
|
|
|
7651
9016
|
/** Static token or async function to get token */
|
|
7652
9017
|
token?: string | (() => Promise<string>);
|
|
7653
9018
|
}
|
|
9019
|
+
/**
|
|
9020
|
+
* Standard pagination options for all list methods
|
|
9021
|
+
* Supports both offset-based and cursor-based pagination
|
|
9022
|
+
*/
|
|
9023
|
+
interface ListOptions {
|
|
9024
|
+
/** Items per page (default: 50, max: 100) */
|
|
9025
|
+
limit?: number;
|
|
9026
|
+
/** Skip first N items (for offset pagination) */
|
|
9027
|
+
offset?: number;
|
|
9028
|
+
/** Cursor token (for cursor pagination, alternative to offset) */
|
|
9029
|
+
cursor?: string;
|
|
9030
|
+
/** Sort field */
|
|
9031
|
+
orderBy?: string;
|
|
9032
|
+
/** Sort direction: asc | desc */
|
|
9033
|
+
orderDir?: 'asc' | 'desc';
|
|
9034
|
+
}
|
|
7654
9035
|
type ContentTypeValue = 'mission' | 'project' | 'context' | 'sop' | 'repo' | 'artifact' | 'kb' | 'docs';
|
|
7655
9036
|
/**
|
|
7656
9037
|
* OCXPClient provides a high-level interface to the OCXP API
|
|
@@ -7812,12 +9193,15 @@ declare class OCXPClient {
|
|
|
7812
9193
|
*/
|
|
7813
9194
|
kbRag(query: string, sessionId?: string): Promise<KbRagResponse>;
|
|
7814
9195
|
/**
|
|
7815
|
-
* List all missions in workspace
|
|
9196
|
+
* List all missions in workspace with pagination support
|
|
9197
|
+
* @param options - Filtering, pagination, and sorting options
|
|
9198
|
+
* @returns Paginated mission list with total count
|
|
7816
9199
|
*/
|
|
7817
|
-
listMissions(options?: {
|
|
9200
|
+
listMissions(options?: ListOptions & {
|
|
7818
9201
|
projectId?: string;
|
|
7819
9202
|
status?: string;
|
|
7820
|
-
|
|
9203
|
+
missionIds?: string[];
|
|
9204
|
+
includeMetadata?: boolean;
|
|
7821
9205
|
}): Promise<MissionListResponse>;
|
|
7822
9206
|
/**
|
|
7823
9207
|
* Create a new mission with auto-generated UUID
|
|
@@ -8191,28 +9575,55 @@ declare class OCXPClient {
|
|
|
8191
9575
|
* @returns Project credentials
|
|
8192
9576
|
*/
|
|
8193
9577
|
getProjectCredentials(projectId: string): Promise<ProjectCredentials>;
|
|
9578
|
+
/**
|
|
9579
|
+
* Save project credentials for frontend authentication
|
|
9580
|
+
* @param projectId - Project ID
|
|
9581
|
+
* @param credentials - Credentials to save (url, username, password)
|
|
9582
|
+
* @returns Success response
|
|
9583
|
+
*/
|
|
9584
|
+
saveProjectCredentials(projectId: string, credentials: {
|
|
9585
|
+
url: string;
|
|
9586
|
+
username: string;
|
|
9587
|
+
password: string;
|
|
9588
|
+
login_instructions?: string;
|
|
9589
|
+
}): Promise<CredentialActionResponse>;
|
|
8194
9590
|
/**
|
|
8195
9591
|
* Update project credentials for frontend authentication
|
|
8196
9592
|
* @param projectId - Project ID
|
|
8197
9593
|
* @param updates - Partial credential updates
|
|
8198
|
-
* @returns
|
|
9594
|
+
* @returns Success response
|
|
8199
9595
|
*/
|
|
8200
|
-
updateProjectCredentials(projectId: string, updates: Partial<ProjectCredentials>): Promise<
|
|
9596
|
+
updateProjectCredentials(projectId: string, updates: Partial<ProjectCredentials>): Promise<CredentialActionResponse>;
|
|
8201
9597
|
/**
|
|
8202
9598
|
* Test project credentials
|
|
8203
9599
|
* @param projectId - Project ID
|
|
8204
9600
|
* @returns Test result with success flag and optional message
|
|
8205
9601
|
*/
|
|
8206
|
-
testProjectCredentials(projectId: string): Promise<
|
|
8207
|
-
success: boolean;
|
|
8208
|
-
message?: string;
|
|
8209
|
-
}>;
|
|
9602
|
+
testProjectCredentials(projectId: string): Promise<CredentialActionResponse>;
|
|
8210
9603
|
/**
|
|
8211
9604
|
* Delete project credentials
|
|
8212
9605
|
* @param projectId - Project ID
|
|
8213
9606
|
* @returns void
|
|
8214
9607
|
*/
|
|
8215
9608
|
deleteProjectCredentials(projectId: string): Promise<void>;
|
|
9609
|
+
/**
|
|
9610
|
+
* Generate mission output (documents, reports, etc.)
|
|
9611
|
+
* @param missionId - Mission UUID
|
|
9612
|
+
* @param outputType - Type of output: 'documents', 'report', 'summary', etc.
|
|
9613
|
+
* @param options - Output options (doc_types, strategy, etc.)
|
|
9614
|
+
*/
|
|
9615
|
+
generateMissionOutput(missionId: string, outputType: string, options?: {
|
|
9616
|
+
doc_types?: string[];
|
|
9617
|
+
strategy?: string;
|
|
9618
|
+
session_id?: string;
|
|
9619
|
+
options?: Record<string, unknown>;
|
|
9620
|
+
}): Promise<GenerateOutputResponse>;
|
|
9621
|
+
/**
|
|
9622
|
+
* Get output generation status
|
|
9623
|
+
* @param missionId - Mission UUID
|
|
9624
|
+
* @param outputType - Type of output to check (default: 'documents')
|
|
9625
|
+
*/
|
|
9626
|
+
getMissionOutputStatus(missionId: string, outputType?: string): Promise<OutputStatusResponse>;
|
|
8216
9627
|
private _mission?;
|
|
8217
9628
|
private _project?;
|
|
8218
9629
|
private _session?;
|
|
@@ -8244,6 +9655,41 @@ declare class OCXPClient {
|
|
|
8244
9655
|
*/
|
|
8245
9656
|
get prototype(): PrototypeNamespace;
|
|
8246
9657
|
}
|
|
9658
|
+
/** Supported document types for mission output generation */
|
|
9659
|
+
declare enum DocumentType {
|
|
9660
|
+
IMPLEMENTATION_GUIDE = "implementation_guide",
|
|
9661
|
+
PRD = "prd",
|
|
9662
|
+
ARCHITECTURE_DECISIONS = "architecture_decisions",
|
|
9663
|
+
DATABASE_SCHEMA = "database_schema",
|
|
9664
|
+
DEPLOYMENT_GUIDE = "deployment_guide",
|
|
9665
|
+
TESTING_STRATEGY = "testing_strategy",
|
|
9666
|
+
API_REFERENCE = "api_reference"
|
|
9667
|
+
}
|
|
9668
|
+
/** Metadata for each document type */
|
|
9669
|
+
interface DocumentTypeInfo {
|
|
9670
|
+
name: string;
|
|
9671
|
+
description: string;
|
|
9672
|
+
icon: string;
|
|
9673
|
+
}
|
|
9674
|
+
/** Map of document type to display info */
|
|
9675
|
+
declare const DOCUMENT_TYPE_INFO: Record<DocumentType, DocumentTypeInfo>;
|
|
9676
|
+
/** Response from generateOutput */
|
|
9677
|
+
interface GenerateOutputResponse {
|
|
9678
|
+
session_id: string;
|
|
9679
|
+
status: string;
|
|
9680
|
+
output_type: string;
|
|
9681
|
+
doc_types?: string[];
|
|
9682
|
+
message?: string;
|
|
9683
|
+
}
|
|
9684
|
+
/** Response from getOutputStatus */
|
|
9685
|
+
interface OutputStatusResponse {
|
|
9686
|
+
status: 'pending' | 'generating' | 'ready' | 'failed';
|
|
9687
|
+
output_type: string;
|
|
9688
|
+
generated_docs: string[];
|
|
9689
|
+
progress?: number;
|
|
9690
|
+
message?: string;
|
|
9691
|
+
error?: string;
|
|
9692
|
+
}
|
|
8247
9693
|
/**
|
|
8248
9694
|
* Mission namespace for convenient mission operations
|
|
8249
9695
|
*/
|
|
@@ -8251,13 +9697,15 @@ declare class MissionNamespace {
|
|
|
8251
9697
|
private client;
|
|
8252
9698
|
constructor(client: OCXPClient);
|
|
8253
9699
|
/**
|
|
8254
|
-
* List missions with optional filtering
|
|
9700
|
+
* List missions with optional filtering and pagination
|
|
8255
9701
|
* @example ocxp.mission.list({ status: 'active', limit: 10 })
|
|
9702
|
+
* @example ocxp.mission.list({ limit: 20, offset: 40, orderBy: 'created_at', orderDir: 'desc' })
|
|
8256
9703
|
*/
|
|
8257
|
-
list(options?: {
|
|
9704
|
+
list(options?: ListOptions & {
|
|
8258
9705
|
projectId?: string;
|
|
8259
9706
|
status?: string;
|
|
8260
|
-
|
|
9707
|
+
missionIds?: string[];
|
|
9708
|
+
includeMetadata?: boolean;
|
|
8261
9709
|
}): Promise<MissionListResponse>;
|
|
8262
9710
|
/**
|
|
8263
9711
|
* Get a mission by ID
|
|
@@ -8332,6 +9780,39 @@ declare class MissionNamespace {
|
|
|
8332
9780
|
* @example ocxp.mission.tree('mission-id', 5, true)
|
|
8333
9781
|
*/
|
|
8334
9782
|
tree(path?: string, depth?: number, includeVersions?: boolean): Promise<ContentTreeResponse>;
|
|
9783
|
+
/**
|
|
9784
|
+
* Generate mission output (documents, reports, etc.)
|
|
9785
|
+
* General endpoint for all output types using existing research.
|
|
9786
|
+
*
|
|
9787
|
+
* @param missionId - Mission UUID
|
|
9788
|
+
* @param outputType - Type of output: 'documents', 'report', 'summary', etc.
|
|
9789
|
+
* @param options - Output options (doc_types, strategy, etc.)
|
|
9790
|
+
* @returns Output response with session_id for tracking
|
|
9791
|
+
*
|
|
9792
|
+
* @example
|
|
9793
|
+
* await ocxp.mission.generateOutput('mission-id', 'documents', {
|
|
9794
|
+
* doc_types: ['implementation-guide', 'prd'],
|
|
9795
|
+
* strategy: 'generate_all'
|
|
9796
|
+
* })
|
|
9797
|
+
*/
|
|
9798
|
+
generateOutput(missionId: string, outputType: string, options?: {
|
|
9799
|
+
doc_types?: string[];
|
|
9800
|
+
strategy?: string;
|
|
9801
|
+
session_id?: string;
|
|
9802
|
+
options?: Record<string, unknown>;
|
|
9803
|
+
}): Promise<GenerateOutputResponse>;
|
|
9804
|
+
/**
|
|
9805
|
+
* Get output generation status
|
|
9806
|
+
* Check progress and status of output generation.
|
|
9807
|
+
*
|
|
9808
|
+
* @param missionId - Mission UUID
|
|
9809
|
+
* @param outputType - Type of output to check (default: 'documents')
|
|
9810
|
+
* @returns Current output status with progress
|
|
9811
|
+
*
|
|
9812
|
+
* @example
|
|
9813
|
+
* const status = await ocxp.mission.getOutputStatus('mission-id', 'documents')
|
|
9814
|
+
*/
|
|
9815
|
+
getOutputStatus(missionId: string, outputType?: string): Promise<OutputStatusResponse>;
|
|
8335
9816
|
}
|
|
8336
9817
|
/**
|
|
8337
9818
|
* Project namespace for convenient project operations
|
|
@@ -9061,7 +10542,7 @@ declare const OCXPResponseSchema: z.ZodObject<{
|
|
|
9061
10542
|
}, z.core.$strip>;
|
|
9062
10543
|
type OCXPResponse = z.infer<typeof OCXPResponseSchema>;
|
|
9063
10544
|
/**
|
|
9064
|
-
* Pagination schema for list responses
|
|
10545
|
+
* Pagination schema for list responses (cursor-based)
|
|
9065
10546
|
*/
|
|
9066
10547
|
declare const PaginationSchema: z.ZodObject<{
|
|
9067
10548
|
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9069,13 +10550,51 @@ declare const PaginationSchema: z.ZodObject<{
|
|
|
9069
10550
|
total: z.ZodNumber;
|
|
9070
10551
|
}, z.core.$strip>;
|
|
9071
10552
|
type Pagination = z.infer<typeof PaginationSchema>;
|
|
10553
|
+
/**
|
|
10554
|
+
* Standard pagination query parameters for all list endpoints
|
|
10555
|
+
* Supports both cursor-based AND offset-based pagination
|
|
10556
|
+
*/
|
|
10557
|
+
declare const PaginationParamsSchema: z.ZodObject<{
|
|
10558
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
10559
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
10560
|
+
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10561
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
10562
|
+
orderDir: z.ZodDefault<z.ZodEnum<{
|
|
10563
|
+
asc: "asc";
|
|
10564
|
+
desc: "desc";
|
|
10565
|
+
}>>;
|
|
10566
|
+
}, z.core.$strip>;
|
|
10567
|
+
type PaginationParams = z.infer<typeof PaginationParamsSchema>;
|
|
10568
|
+
/**
|
|
10569
|
+
* Standard paginated response structure for all list endpoints
|
|
10570
|
+
* Used to create typed paginated responses
|
|
10571
|
+
*/
|
|
10572
|
+
declare function createPaginatedResponseSchema<T extends z.ZodTypeAny>(itemSchema: T): z.ZodObject<{
|
|
10573
|
+
items: z.ZodArray<T>;
|
|
10574
|
+
total: z.ZodNumber;
|
|
10575
|
+
limit: z.ZodNumber;
|
|
10576
|
+
offset: z.ZodNumber;
|
|
10577
|
+
cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10578
|
+
hasMore: z.ZodBoolean;
|
|
10579
|
+
}, z.core.$strip>;
|
|
10580
|
+
/**
|
|
10581
|
+
* Generic paginated response type
|
|
10582
|
+
*/
|
|
10583
|
+
interface PaginatedResponse<T> {
|
|
10584
|
+
items: T[];
|
|
10585
|
+
total: number;
|
|
10586
|
+
limit: number;
|
|
10587
|
+
offset: number;
|
|
10588
|
+
cursor?: string | null;
|
|
10589
|
+
hasMore: boolean;
|
|
10590
|
+
}
|
|
9072
10591
|
/**
|
|
9073
10592
|
* Content type enum - the 8 valid content types
|
|
9074
10593
|
*/
|
|
9075
10594
|
declare const ContentTypeSchema: z.ZodEnum<{
|
|
10595
|
+
mission: "mission";
|
|
9076
10596
|
repo: "repo";
|
|
9077
10597
|
project: "project";
|
|
9078
|
-
mission: "mission";
|
|
9079
10598
|
context: "context";
|
|
9080
10599
|
sop: "sop";
|
|
9081
10600
|
artifact: "artifact";
|
|
@@ -10175,9 +11694,9 @@ type ContextReposResponse = z.infer<typeof ContextReposResponseSchema>;
|
|
|
10175
11694
|
*/
|
|
10176
11695
|
declare const RepoStatusEnum: z.ZodEnum<{
|
|
10177
11696
|
failed: "failed";
|
|
11697
|
+
processing: "processing";
|
|
10178
11698
|
queued: "queued";
|
|
10179
11699
|
uploading: "uploading";
|
|
10180
|
-
processing: "processing";
|
|
10181
11700
|
vectorizing: "vectorizing";
|
|
10182
11701
|
complete: "complete";
|
|
10183
11702
|
}>;
|
|
@@ -10215,9 +11734,9 @@ declare const RepoDownloadDataSchema: z.ZodObject<{
|
|
|
10215
11734
|
s3_path: z.ZodOptional<z.ZodString>;
|
|
10216
11735
|
status: z.ZodEnum<{
|
|
10217
11736
|
failed: "failed";
|
|
11737
|
+
processing: "processing";
|
|
10218
11738
|
queued: "queued";
|
|
10219
11739
|
uploading: "uploading";
|
|
10220
|
-
processing: "processing";
|
|
10221
11740
|
vectorizing: "vectorizing";
|
|
10222
11741
|
complete: "complete";
|
|
10223
11742
|
}>;
|
|
@@ -10237,9 +11756,9 @@ declare const RepoDownloadResponseSchema: z.ZodObject<{
|
|
|
10237
11756
|
s3_path: z.ZodOptional<z.ZodString>;
|
|
10238
11757
|
status: z.ZodEnum<{
|
|
10239
11758
|
failed: "failed";
|
|
11759
|
+
processing: "processing";
|
|
10240
11760
|
queued: "queued";
|
|
10241
11761
|
uploading: "uploading";
|
|
10242
|
-
processing: "processing";
|
|
10243
11762
|
vectorizing: "vectorizing";
|
|
10244
11763
|
complete: "complete";
|
|
10245
11764
|
}>;
|
|
@@ -10267,9 +11786,9 @@ declare const RepoStatusDataSchema: z.ZodObject<{
|
|
|
10267
11786
|
job_id: z.ZodString;
|
|
10268
11787
|
status: z.ZodEnum<{
|
|
10269
11788
|
failed: "failed";
|
|
11789
|
+
processing: "processing";
|
|
10270
11790
|
queued: "queued";
|
|
10271
11791
|
uploading: "uploading";
|
|
10272
|
-
processing: "processing";
|
|
10273
11792
|
vectorizing: "vectorizing";
|
|
10274
11793
|
complete: "complete";
|
|
10275
11794
|
}>;
|
|
@@ -10290,9 +11809,9 @@ declare const RepoStatusResponseSchema: z.ZodObject<{
|
|
|
10290
11809
|
job_id: z.ZodString;
|
|
10291
11810
|
status: z.ZodEnum<{
|
|
10292
11811
|
failed: "failed";
|
|
11812
|
+
processing: "processing";
|
|
10293
11813
|
queued: "queued";
|
|
10294
11814
|
uploading: "uploading";
|
|
10295
|
-
processing: "processing";
|
|
10296
11815
|
vectorizing: "vectorizing";
|
|
10297
11816
|
complete: "complete";
|
|
10298
11817
|
}>;
|
|
@@ -10739,8 +12258,8 @@ declare const KBIngestDataSchema: z.ZodObject<{
|
|
|
10739
12258
|
status: z.ZodOptional<z.ZodEnum<{
|
|
10740
12259
|
failed: "failed";
|
|
10741
12260
|
processing: "processing";
|
|
10742
|
-
complete: "complete";
|
|
10743
12261
|
pending: "pending";
|
|
12262
|
+
complete: "complete";
|
|
10744
12263
|
}>>;
|
|
10745
12264
|
}, z.core.$strip>;
|
|
10746
12265
|
type KBIngestData = z.infer<typeof KBIngestDataSchema>;
|
|
@@ -10756,8 +12275,8 @@ declare const KBIngestResponseSchema: z.ZodObject<{
|
|
|
10756
12275
|
status: z.ZodOptional<z.ZodEnum<{
|
|
10757
12276
|
failed: "failed";
|
|
10758
12277
|
processing: "processing";
|
|
10759
|
-
complete: "complete";
|
|
10760
12278
|
pending: "pending";
|
|
12279
|
+
complete: "complete";
|
|
10761
12280
|
}>>;
|
|
10762
12281
|
}, z.core.$strip>>;
|
|
10763
12282
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -10839,8 +12358,8 @@ declare const IngestionJobSchema: z.ZodObject<{
|
|
|
10839
12358
|
jobId: z.ZodString;
|
|
10840
12359
|
status: z.ZodEnum<{
|
|
10841
12360
|
failed: "failed";
|
|
10842
|
-
queued: "queued";
|
|
10843
12361
|
processing: "processing";
|
|
12362
|
+
queued: "queued";
|
|
10844
12363
|
complete: "complete";
|
|
10845
12364
|
}>;
|
|
10846
12365
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10860,8 +12379,8 @@ declare const IngestionJobResponseSchema: z.ZodObject<{
|
|
|
10860
12379
|
jobId: z.ZodString;
|
|
10861
12380
|
status: z.ZodEnum<{
|
|
10862
12381
|
failed: "failed";
|
|
10863
|
-
queued: "queued";
|
|
10864
12382
|
processing: "processing";
|
|
12383
|
+
queued: "queued";
|
|
10865
12384
|
complete: "complete";
|
|
10866
12385
|
}>;
|
|
10867
12386
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11576,4 +13095,4 @@ declare const GithubCommitsResponseSchema: z.ZodObject<{
|
|
|
11576
13095
|
}, z.core.$strip>;
|
|
11577
13096
|
type GithubCommitsResponse = z.infer<typeof GithubCommitsResponseSchema>;
|
|
11578
13097
|
|
|
11579
|
-
export { type AcknowledgeMemoData, type AcknowledgeMemoResponses, type AddDatabaseData, type AddDatabaseResponses, type AddLinkedRepoData, type AddLinkedRepoResponses, type AddMissionData, type AddMissionRequest, type AddMissionResponses, type AddProjectRepoData, AddProjectRepoDataSchema, type AddProjectRepoResponse, AddProjectRepoResponseSchema, type AddRepoRequest, type ArchiveSessionData, type ArchiveSessionResponses, type AuthConfig, type AuthTokenData, AuthTokenDataSchema, type AuthTokenResponse, AuthTokenResponseSchema, type AuthUserInfo, type AuthUserInfoResponse, AuthUserInfoResponseSchema, AuthUserInfoSchema, type AuthValidateData, AuthValidateDataSchema, type AuthValidateResponse, AuthValidateResponseSchema, type BulkDeleteContentData, type BulkDeleteContentResponses, type BulkDeleteRequest, type BulkReadContentData, type BulkReadContentResponses, type BulkReadRequest, type BulkWriteContentData, type BulkWriteContentResponses, type BulkWriteRequest, type CheckAccessRequest, type Client, type ClientOptions, type Config, type ConnectionState, type ContentType, type ContentTypeInfo, ContentTypeInfoSchema, ContentTypeSchema, type ContentTypeValue, type ContentTypesData, ContentTypesDataSchema, type ContentTypesResponse, ContentTypesResponseSchema, type ContentTypesResult, type ContextReposData, ContextReposDataSchema, type ContextReposResponse, ContextReposResponseSchema, type CreateDatabaseData, type CreateDatabaseResponses, type CreateMemoData, type CreateMemoRequest, type CreateMemoResponse, type CreateMemoResponses, type CreateProjectData, CreateProjectDataSchema, type CreateProjectResponse, CreateProjectResponseSchema, type CreateProjectResponses, type CreateSessionData, CreateSessionDataSchema, type CreateSessionResponse, CreateSessionResponseSchema, type DatabaseConfigResponse, type DatabaseCreate, type DatabaseListResponse, type DatabaseSampleResponse, type DatabaseSchemaResponse, type DatabaseUpdate, type DeleteContentData, type DeleteContentResponses, type DeleteData, DeleteDataSchema, type DeleteDatabaseData, type DeleteDatabaseResponses, type DeleteMemoData, type DeleteMemoResponse, type DeleteMemoResponses, type DeleteProjectData, DeleteProjectDataSchema, type DeleteProjectResponse, DeleteProjectResponseSchema, type DeleteProjectResponses, type DeleteRepoData, type DeleteRepoResponses, type DeleteResponse, DeleteResponseSchema, type DeleteResult, type DiscoveryData, DiscoveryDataSchema, type DiscoveryEndpoint, DiscoveryEndpointSchema, type DiscoveryResponse, DiscoveryResponseSchema, type DownloadRepositoryData, type DownloadRepositoryResponses, type DownloadRequest, type ErrorResponse, ErrorResponseSchema, type ForkRequest, type ForkSessionData, ForkSessionDataSchema, type ForkSessionResponse, ForkSessionResponseSchema, type ForkSessionResponses, type GetAuthConfigData, type GetAuthConfigResponses, type GetContentStatsData, type GetContentStatsResponses, type GetContentTreeData, type GetContentTreeResponses, type GetContentTypesData, type GetContentTypesResponses, type GetContentsRequest, type GetContextReposData, type GetContextReposResponses, type GetCurrentUserData, type GetCurrentUserResponses, type GetDatabaseData, type GetDatabaseResponses, type GetMemoData, type GetMemoForSourceData, type GetMemoForSourceResponse, type GetMemoForSourceResponses, type GetMemoResponse, type GetMemoResponses, type GetMissionContextData, type GetMissionContextResponses, type GetProjectData, GetProjectDataSchema, type GetProjectDatabasesData, type GetProjectDatabasesResponses, type GetProjectResponse, GetProjectResponseSchema, type GetProjectResponses, type GetPrototypeChatData, type GetPrototypeChatResponses, type GetRepoCommitsData, type GetRepoCommitsResponses, type GetRepoDownloadStatusData, type GetRepoDownloadStatusResponses, type GetSampleData, type GetSampleResponses, type GetSchemaData, type GetSchemaResponses, type GetSessionMessagesData, GetSessionMessagesDataSchema, type GetSessionMessagesResponse, GetSessionMessagesResponseSchema, type GetSessionMessagesResponses, type GetStoredVersionsData, type GetStoredVersionsResponses, type GetSyncStatusData, type GetSyncStatusResponses, type GithubBranchInfo, GithubBranchInfoSchema, type GithubBranchesData, GithubBranchesDataSchema, type GithubBranchesResponse, GithubBranchesResponseSchema, type GithubCheckAccessData, type GithubCheckAccessResponses, type GithubCommitInfo, GithubCommitInfoSchema, type GithubCommitsData, GithubCommitsDataSchema, type GithubCommitsResponse, GithubCommitsResponseSchema, type GithubDirectoryData, GithubDirectoryDataSchema, type GithubDirectoryResponse, GithubDirectoryResponseSchema, type GithubFileData, GithubFileDataSchema, type GithubFileInfo, GithubFileInfoSchema, type GithubFileResponse, GithubFileResponseSchema, type GithubGetContentsData, type GithubGetContentsResponses, type GithubListBranchesData, type GithubListBranchesResponses, type GithubRepoData, GithubRepoDataSchema, type GithubRepoInfo, GithubRepoInfoSchema, type GithubRepoResponse, GithubRepoResponseSchema, type IgnoreMemoData, type IgnoreMemoResponses, type IngestionJob, type IngestionJobResponse, IngestionJobResponseSchema, IngestionJobSchema, type JobProgressMessage, type KBDocument, KBDocumentSchema, type KBIngestData, KBIngestDataSchema, type KBIngestResponse, KBIngestResponseSchema, type KBListData, KBListDataSchema, type KBListResponse, KBListResponseSchema, KBNamespace, type KbQueryRequest, type LinkPrototypeChatData, type LinkPrototypeChatResponses, type LinkedRepoResponse, type ListBranchesRequest, type ListContentData, type ListContentResponses, type ListData, ListDataSchema, type ListDatabasesData, type ListDatabasesResponses, type ListDownloadedReposData, type ListDownloadedReposResponses, type ListEntry, ListEntrySchema, type ListMemosData, type ListMemosResponse, type ListMemosResponses, type ListProjectsData, ListProjectsDataSchema, type ListProjectsResponse, ListProjectsResponseSchema, type ListProjectsResponses, type ListPrototypeChatsData, type ListPrototypeChatsResponses, type ListResponse, ListResponseSchema, type ListResult, type ListSessionsData, ListSessionsDataSchema, type ListSessionsResponse, ListSessionsResponseSchema, type ListSessionsResponses, type ListTablesData, type ListTablesResponses, type ListWorkspacesData, type ListWorkspacesResponses, type LockContentData, type LockContentResponses, type LoginData, type LoginForAccessTokenData, type LoginForAccessTokenResponses, type LoginRequest, type LoginResponses, type Memo, type MemoActionResponse, type MemoCategory, type MemoSeverity, type MemoStatus, type MessageResponse, type Meta, MetaSchema, type MissionCreateRequest, MissionNamespace, type MoveContentData, type MoveContentResponses, type MoveRequest, type NotificationMessage, OCXPAuthError, OCXPClient, type OCXPClientOptions, OCXPConflictError, OCXPError, OCXPErrorCode, OCXPNetworkError, OCXPNotFoundError, OCXPPathService, type OCXPPathServiceOptions, OCXPRateLimitError, type OCXPResponse, OCXPResponseSchema, OCXPTimeoutError, OCXPValidationError, type Options, type Pagination, PaginationSchema, type ParsedPath, type PathEntry, type PathFileInfo, type PathListResult, type PathMoveResult, type PathReadResult, type PathWriteOptions, type PathWriteResult, type PresignedUrlData, PresignedUrlDataSchema, type PresignedUrlResponse, PresignedUrlResponseSchema, type PreviewPrototypeChatData, type PreviewPrototypeChatResponses, type Project, type ProjectCreate, type ProjectListResponse, type ProjectMission, ProjectMissionSchema, ProjectNamespace, type ProjectRepo, ProjectRepoSchema, type ProjectResponse, ProjectSchema, type ProjectUpdate, type PrototypeChatGetResponse, type PrototypeChatLinkRequest, type PrototypeChatLinkResponse, type PrototypeChatListItem, type PrototypeChatListResponse, type PrototypeChatMessage, type PrototypeChatPreviewRequest, type PrototypeChatPreviewResponse, type PrototypeChatSyncAsyncRequest, type PrototypeChatSyncAsyncResponse, type PrototypeChatSyncRequest, type PrototypeChatSyncResponse, type PrototypeChatVersion, PrototypeNamespace, type PrototypePageInfo, type PrototypeStoredVersionsResponse, type PrototypeSyncCompleteMessage, type PrototypeSyncJobStatusResponse, type PrototypeSyncProgressMessage, type QueryContentData, type QueryContentResponses, type QueryData, QueryDataSchema, type QueryFilter, QueryFilterSchema, type QueryKnowledgeBaseData, type QueryKnowledgeBaseResponses, type QueryResponse, QueryResponseSchema, type RagKnowledgeBaseData, type RagKnowledgeBaseResponses, type ReadContentData, type ReadContentResponses, type ReadData, ReadDataSchema, type ReadResponse, ReadResponseSchema, type ReadResult, type RefreshRequest, type RefreshResponse, type RefreshTokensData, type RefreshTokensResponses, type RegenerateMissionData, type RegenerateMissionRequest, type RegenerateMissionResponse, type RegenerateMissionResponses, type RemoveDatabaseData, type RemoveDatabaseResponses, type RemoveLinkedRepoData, type RemoveLinkedRepoResponses, type RemoveMissionData, type RemoveMissionResponses, type RepoCommitInfo, type RepoCommitStatusResponse, type RepoDeleteData, RepoDeleteDataSchema, type RepoDeleteResponse, RepoDeleteResponseSchema, type RepoDownloadData, RepoDownloadDataSchema, type RepoDownloadRequest, RepoDownloadRequestSchema, type RepoDownloadResponse, RepoDownloadResponseSchema, type RepoExistsData, RepoExistsDataSchema, type RepoExistsResponse, RepoExistsResponseSchema, type RepoInfo, type RepoListData, RepoListDataSchema, type RepoListItem, RepoListItemSchema, type RepoListResponse, RepoListResponseSchema, type RepoStatus, type RepoStatusData, RepoStatusDataSchema, RepoStatusEnum, type RepoStatusMessage, type RepoStatusResponse, RepoStatusResponseSchema, type RepoSyncAllResponse, type RepoSyncResponse, type ResolveMemoData, type ResolveMemoResponses, type SearchContentData, type SearchContentResponses, type SearchData, SearchDataSchema, type SearchResponse, SearchResponseSchema, type SearchResultItem, SearchResultItemSchema, type Session, type SessionForkResponse, type SessionListResponse, type SessionMessage, SessionMessageSchema, type SessionMessagesResponse, type SessionMetadataUpdate, SessionNamespace, type SessionResponse, SessionSchema, type SetDefaultDatabaseData, type SetDefaultDatabaseResponses, type SetDefaultRepoData, type SetDefaultRepoRequest, type SetDefaultRepoResponses, type SourceType, type StatsData, StatsDataSchema, type StatsResponse, StatsResponseSchema, type SyncAllReposData, type SyncAllReposResponses, type SyncEventMessage, type SyncPrototypeChatAsyncData, type SyncPrototypeChatAsyncResponses, type SyncPrototypeChatData, type SyncPrototypeChatResponses, type SyncRepoData, type SyncRepoResponses, type TestDatabaseConnectionData, type TestDatabaseConnectionResponses, type TokenProvider, type TokenResponse, type ToolCreateMissionData, type ToolCreateMissionResponses, type ToolUpdateMissionData, type ToolUpdateMissionResponses, type TreeData, TreeDataSchema, type TreeNode, TreeNodeSchema, type TreeResponse, TreeResponseSchema, type UnlockContentData, type UnlockContentResponses, type UpdateDatabaseData, type UpdateDatabaseResponses, type UpdateProjectData, UpdateProjectDataSchema, type UpdateProjectResponse, UpdateProjectResponseSchema, type UpdateProjectResponses, type UpdateSessionMetadataData, UpdateSessionMetadataDataSchema, type UpdateSessionMetadataResponse, UpdateSessionMetadataResponseSchema, type UpdateSessionMetadataResponses, type UserResponse, VALID_CONTENT_TYPES, type VectorSearchData, VectorSearchDataSchema, type VectorSearchResponse, VectorSearchResponseSchema, type WSBaseMessage, WSBaseMessageSchema, type WSChatMessage, WSChatMessageSchema, type WSChatResponse, WSChatResponseSchema, type WSConnected, WSConnectedSchema, type WSErrorMessage, WSErrorMessageSchema, type WSMessage, WSMessageSchema, type WSMessageType, WSMessageTypeSchema, type WSParseResult, type WSPingPong, WSPingPongSchema, type WSStatus, WSStatusSchema, type WSStreamChunk, WSStreamChunkSchema, type WSStreamEnd, WSStreamEndSchema, type WSStreamStart, WSStreamStartSchema, type WebSocketEventHandler, type WebSocketMessage, type WebSocketMessageType, WebSocketService, type WebSocketServiceOptions, type WorkspacesResponse, type WriteContentData, type WriteContentResponses, type WriteData, WriteDataSchema, type WriteRequest, type WriteResponse, WriteResponseSchema, type WriteResult, acknowledgeMemo, addDatabase, addLinkedRepo, addMission, archiveSession, buildPath, bulkDeleteContent, bulkReadContent, bulkWriteContent, createClient, createConfig, createDatabase, createMemo, createOCXPClient, createPathService, createProject, createResponseSchema, createWebSocketService, deleteContent, deleteDatabase, deleteMemo, deleteProject, deleteRepo, downloadRepository, forkSession, getAuthConfig, getCanonicalType, getContentStats, getContentTree, getContentTypes, getContextRepos, getCurrentUser, getDatabase, getMemo, getMemoForSource, getMissionContext, getProject, getProjectDatabases, getPrototypeChat, getRepoCommits, getRepoDownloadStatus, getSample, getSchema, getSessionMessages, getStoredVersions, getSyncStatus, githubCheckAccess, githubGetContents, githubListBranches, ignoreMemo, isOCXPAuthError, isOCXPConflictError, isOCXPError, isOCXPNetworkError, isOCXPNotFoundError, isOCXPRateLimitError, isOCXPTimeoutError, isOCXPValidationError, isValidContentType, linkPrototypeChat, listContent, listContextDatabases, listDatabases, listDownloadedRepos, listMemos, listProjects, listPrototypeChats, listSessions, listTables, listWorkspaces, lockContent, login, loginForAccessToken, mapHttpError, moveContent, normalizePath, parsePath, parseWSMessage, previewPrototypeChat, queryContent, queryKnowledgeBase, ragKnowledgeBase, readContent, refreshTokens, regenerateMission, removeDatabase, removeLinkedRepo, removeMission, resolveMemo, safeParseWSMessage, searchContent, setDefaultDatabase, setDefaultRepo, syncAllRepos, syncPrototypeChat, syncPrototypeChatAsync, syncRepo, testDatabaseConnection, toolCreateMission, toolUpdateMission, unlockContent, updateDatabase, updateProject, updateSessionMetadata, writeContent };
|
|
13098
|
+
export { type AcknowledgeMemoData, type AcknowledgeMemoResponses, type AddDatabaseData, type AddDatabaseResponses, type AddLinkedRepoData, type AddLinkedRepoResponses, type AddMissionData, type AddMissionRequest, type AddMissionResponses, type AddProjectRepoData, AddProjectRepoDataSchema, type AddProjectRepoResponse, AddProjectRepoResponseSchema, type AddRepoRequest, type AddTaskData, type AddTaskResponses, type ArchiveSessionData, type ArchiveSessionResponses, type AuthConfig, type AuthTokenData, AuthTokenDataSchema, type AuthTokenResponse, AuthTokenResponseSchema, type AuthUserInfo, type AuthUserInfoResponse, AuthUserInfoResponseSchema, AuthUserInfoSchema, type AuthValidateData, AuthValidateDataSchema, type AuthValidateResponse, AuthValidateResponseSchema, type BulkDeleteContentData, type BulkDeleteContentResponses, type BulkReadContentData, type BulkReadContentResponses, type BulkReadRequest, type BulkUpdateTasksData, type BulkUpdateTasksResponses, type BulkWriteContentData, type BulkWriteContentResponses, type BulkWriteRequest, type CheckAccessRequest, type Client, type ClientOptions, type Config, type ConnectionState, type ContentType, type ContentTypeInfo, ContentTypeInfoSchema, ContentTypeSchema, type ContentTypeValue, type ContentTypesData, ContentTypesDataSchema, type ContentTypesResponse, ContentTypesResponseSchema, type ContentTypesResult, type ContextReposData, ContextReposDataSchema, type ContextReposResponse, ContextReposResponseSchema, type CreateDatabaseData, type CreateDatabaseResponses, type CreateMemoData, type CreateMemoRequest, type CreateMemoResponse, type CreateMemoResponses, type CreateProjectData, CreateProjectDataSchema, type CreateProjectResponse, CreateProjectResponseSchema, type CreateProjectResponses, type CreateSessionData, CreateSessionDataSchema, type CreateSessionResponse, CreateSessionResponseSchema, type CreateWorkflowData, type CreateWorkflowResponses, DOCUMENT_TYPE_INFO, type DatabaseConfigResponse, type DatabaseCreate, type DatabaseListResponse, type DatabaseSampleResponse, type DatabaseSchemaResponse, type DatabaseUpdate, type DeleteContentData, type DeleteContentResponses, type DeleteData, DeleteDataSchema, type DeleteDatabaseData, type DeleteDatabaseResponses, type DeleteMemoData, type DeleteMemoResponse, type DeleteMemoResponses, type DeleteProjectData, DeleteProjectDataSchema, type DeleteProjectResponse, DeleteProjectResponseSchema, type DeleteProjectResponses, type DeleteRepoData, type DeleteRepoResponses, type DeleteResponse, DeleteResponseSchema, type DeleteResult, type DeleteTaskData, type DeleteTaskResponses, type DeleteWorkflowData, type DeleteWorkflowResponses, type DiscoveryData, DiscoveryDataSchema, type DiscoveryEndpoint, DiscoveryEndpointSchema, type DiscoveryResponse, DiscoveryResponseSchema, DocumentType, type DocumentTypeInfo, type DownloadRepositoryData, type DownloadRepositoryResponses, type DownloadRequest, type ErrorResponse, ErrorResponseSchema, type ForkRequest, type ForkSessionData, ForkSessionDataSchema, type ForkSessionResponse, ForkSessionResponseSchema, type ForkSessionResponses, type GenerateOutputResponse, type GetAuthConfigData, type GetAuthConfigResponses, type GetContentStatsData, type GetContentStatsResponses, type GetContentTreeData, type GetContentTreeResponses, type GetContentTypesData, type GetContentTypesResponses, type GetContentsRequest, type GetContextReposData, type GetContextReposResponses, type GetCurrentUserData, type GetCurrentUserResponses, type GetDatabaseData, type GetDatabaseResponses, type GetMemoData, type GetMemoForSourceData, type GetMemoForSourceResponse, type GetMemoForSourceResponses, type GetMemoResponse, type GetMemoResponses, type GetMissionContextData, type GetMissionContextResponses, type GetProjectData, GetProjectDataSchema, type GetProjectDatabasesData, type GetProjectDatabasesResponses, type GetProjectResponse, GetProjectResponseSchema, type GetProjectResponses, type GetPrototypeChatData, type GetPrototypeChatResponses, type GetRepoCommitsData, type GetRepoCommitsResponses, type GetRepoDownloadStatusData, type GetRepoDownloadStatusResponses, type GetSampleData, type GetSampleResponses, type GetSchemaData, type GetSchemaResponses, type GetSessionMessagesData, GetSessionMessagesDataSchema, type GetSessionMessagesResponse, GetSessionMessagesResponseSchema, type GetSessionMessagesResponses, type GetStoredVersionsData, type GetStoredVersionsResponses, type GetSyncStatusData, type GetSyncStatusResponses, type GetTaskData, type GetTaskResponses, type GetWorkflowData, type GetWorkflowResponses, type GithubBranchInfo, GithubBranchInfoSchema, type GithubBranchesData, GithubBranchesDataSchema, type GithubBranchesResponse, GithubBranchesResponseSchema, type GithubCheckAccessData, type GithubCheckAccessResponses, type GithubCommitInfo, GithubCommitInfoSchema, type GithubCommitsData, GithubCommitsDataSchema, type GithubCommitsResponse, GithubCommitsResponseSchema, type GithubDirectoryData, GithubDirectoryDataSchema, type GithubDirectoryResponse, GithubDirectoryResponseSchema, type GithubFileData, GithubFileDataSchema, type GithubFileInfo, GithubFileInfoSchema, type GithubFileResponse, GithubFileResponseSchema, type GithubGetContentsData, type GithubGetContentsResponses, type GithubListBranchesData, type GithubListBranchesResponses, type GithubRepoData, GithubRepoDataSchema, type GithubRepoInfo, GithubRepoInfoSchema, type GithubRepoResponse, GithubRepoResponseSchema, type IgnoreMemoData, type IgnoreMemoResponses, type IngestionJob, type IngestionJobResponse, IngestionJobResponseSchema, IngestionJobSchema, type JobProgressMessage, type KBDocument, KBDocumentSchema, type KBIngestData, KBIngestDataSchema, type KBIngestResponse, KBIngestResponseSchema, type KBListData, KBListDataSchema, type KBListResponse, KBListResponseSchema, KBNamespace, type KbQueryRequest, type LinkPrototypeChatData, type LinkPrototypeChatResponses, type LinkedRepoResponse, type ListBranchesRequest, type ListContentData, type ListContentResponses, type ListData, ListDataSchema, type ListDatabasesData, type ListDatabasesResponses, type ListDownloadedReposData, type ListDownloadedReposResponses, type ListEntry, ListEntrySchema, type ListMemosData, type ListMemosResponse, type ListMemosResponses, type ListOptions, type ListProjectsData, ListProjectsDataSchema, type ListProjectsResponse, ListProjectsResponseSchema, type ListProjectsResponses, type ListPrototypeChatsData, type ListPrototypeChatsResponses, type ListResponse, ListResponseSchema, type ListResult, type ListSessionsData, ListSessionsDataSchema, type ListSessionsResponse, ListSessionsResponseSchema, type ListSessionsResponses, type ListTablesData, type ListTablesResponses, type ListTasksData, type ListTasksResponses, type ListWorkflowsData, type ListWorkflowsResponses, type ListWorkspacesData, type ListWorkspacesResponses, type LockContentData, type LockContentResponses, type LoginData, type LoginForAccessTokenData, type LoginForAccessTokenResponses, type LoginRequest, type LoginResponses, type Memo, type MemoActionResponse, type MemoCategory, type MemoSeverity, type MemoStatus, type MessageResponse, type Meta, MetaSchema, type MissionCreateRequest, MissionNamespace, type MoveContentData, type MoveContentResponses, type MoveRequest, type NotificationMessage, OCXPAuthError, OCXPClient, type OCXPClientOptions, OCXPConflictError, OCXPError, OCXPErrorCode, OCXPNetworkError, OCXPNotFoundError, OCXPPathService, type OCXPPathServiceOptions, OCXPRateLimitError, type OCXPResponse, OCXPResponseSchema, OCXPTimeoutError, OCXPValidationError, type Options, type OutputStatusResponse, type PaginatedResponse, type Pagination, type PaginationParams, PaginationParamsSchema, PaginationSchema, type ParsedPath, type PathEntry, type PathFileInfo, type PathListResult, type PathMoveResult, type PathReadResult, type PathWriteOptions, type PathWriteResult, type PresignedUrlData, PresignedUrlDataSchema, type PresignedUrlResponse, PresignedUrlResponseSchema, type PreviewPrototypeChatData, type PreviewPrototypeChatResponses, type Project, type ProjectCreate, type ProjectListResponse, type ProjectMission, ProjectMissionSchema, ProjectNamespace, type ProjectRepo, ProjectRepoSchema, type ProjectResponse, ProjectSchema, type ProjectUpdate, type PrototypeChatGetResponse, type PrototypeChatLinkRequest, type PrototypeChatLinkResponse, type PrototypeChatListItem, type PrototypeChatListResponse, type PrototypeChatMessage, type PrototypeChatPreviewRequest, type PrototypeChatPreviewResponse, type PrototypeChatSyncAsyncRequest, type PrototypeChatSyncAsyncResponse, type PrototypeChatSyncRequest, type PrototypeChatSyncResponse, type PrototypeChatVersion, PrototypeNamespace, type PrototypePageInfo, type PrototypeStoredVersionsResponse, type PrototypeSyncCompleteMessage, type PrototypeSyncJobStatusResponse, type PrototypeSyncProgressMessage, type QueryContentData, type QueryContentResponses, type QueryData, QueryDataSchema, type QueryFilter, QueryFilterSchema, type QueryKnowledgeBaseData, type QueryKnowledgeBaseResponses, type QueryResponse, QueryResponseSchema, type RagKnowledgeBaseData, type RagKnowledgeBaseResponses, type ReadContentData, type ReadContentResponses, type ReadData, ReadDataSchema, type ReadResponse, ReadResponseSchema, type ReadResult, type RefreshRequest, type RefreshResponse, type RefreshTokensData, type RefreshTokensResponses, type RegenerateMissionData, type RegenerateMissionRequest, type RegenerateMissionResponse, type RegenerateMissionResponses, type RemoveDatabaseData, type RemoveDatabaseResponses, type RemoveLinkedRepoData, type RemoveLinkedRepoResponses, type RemoveMissionData, type RemoveMissionResponses, type RepoCommitInfo, type RepoCommitStatusResponse, type RepoDeleteData, RepoDeleteDataSchema, type RepoDeleteResponse, RepoDeleteResponseSchema, type RepoDownloadData, RepoDownloadDataSchema, type RepoDownloadRequest, RepoDownloadRequestSchema, type RepoDownloadResponse, RepoDownloadResponseSchema, type RepoExistsData, RepoExistsDataSchema, type RepoExistsResponse, RepoExistsResponseSchema, type RepoInfo, type RepoListData, RepoListDataSchema, type RepoListItem, RepoListItemSchema, type RepoListResponse, RepoListResponseSchema, type RepoStatus, type RepoStatusData, RepoStatusDataSchema, RepoStatusEnum, type RepoStatusMessage, type RepoStatusResponse, RepoStatusResponseSchema, type RepoSyncAllResponse, type RepoSyncResponse, type ResolveMemoData, type ResolveMemoResponses, type SearchContentData, type SearchContentResponses, type SearchData, SearchDataSchema, type SearchResponse, SearchResponseSchema, type SearchResultItem, SearchResultItemSchema, type Session, type SessionForkResponse, type SessionListResponse, type SessionMessage, SessionMessageSchema, type SessionMessagesResponse, type SessionMetadataUpdate, SessionNamespace, type SessionResponse, SessionSchema, type SetDefaultDatabaseData, type SetDefaultDatabaseResponses, type SetDefaultRepoData, type SetDefaultRepoRequest, type SetDefaultRepoResponses, type SourceType, type StartWorkflowData, type StartWorkflowResponses, type StatsData, StatsDataSchema, type StatsResponse, StatsResponseSchema, type SyncAllReposData, type SyncAllReposResponses, type SyncEventMessage, type SyncPrototypeChatAsyncData, type SyncPrototypeChatAsyncResponses, type SyncPrototypeChatData, type SyncPrototypeChatResponses, type SyncRepoData, type SyncRepoResponses, type TaskResponse, type TaskStatus, type TestDatabaseConnectionData, type TestDatabaseConnectionResponses, type TokenProvider, type TokenResponse, type ToolCreateMissionData, type ToolCreateMissionResponses, type ToolUpdateMissionData, type ToolUpdateMissionResponses, type TreeData, TreeDataSchema, type TreeNode, TreeNodeSchema, type TreeResponse, TreeResponseSchema, type UnlockContentData, type UnlockContentResponses, type UpdateDatabaseData, type UpdateDatabaseResponses, type UpdateProjectData, UpdateProjectDataSchema, type UpdateProjectResponse, UpdateProjectResponseSchema, type UpdateProjectResponses, type UpdateSessionMetadataData, UpdateSessionMetadataDataSchema, type UpdateSessionMetadataResponse, UpdateSessionMetadataResponseSchema, type UpdateSessionMetadataResponses, type UpdateTaskData, type UpdateTaskResponses, type UserResponse, VALID_CONTENT_TYPES, type VectorSearchData, VectorSearchDataSchema, type VectorSearchResponse, VectorSearchResponseSchema, type WSBaseMessage, WSBaseMessageSchema, type WSChatMessage, WSChatMessageSchema, type WSChatResponse, WSChatResponseSchema, type WSConnected, WSConnectedSchema, type WSErrorMessage, WSErrorMessageSchema, type WSMessage, WSMessageSchema, type WSMessageType, WSMessageTypeSchema, type WSParseResult, type WSPingPong, WSPingPongSchema, type WSStatus, WSStatusSchema, type WSStreamChunk, WSStreamChunkSchema, type WSStreamEnd, WSStreamEndSchema, type WSStreamStart, WSStreamStartSchema, type WebSocketEventHandler, type WebSocketMessage, type WebSocketMessageType, WebSocketService, type WebSocketServiceOptions, type Workflow, type WorkflowActionResponse, type WorkflowCreate, type WorkflowListResponse, type WorkflowResponse, type WorkflowStatus, type WorkflowTaskCreate, type WorkspacesResponse, type WriteContentData, type WriteContentResponses, type WriteData, WriteDataSchema, type WriteRequest, type WriteResponse, WriteResponseSchema, type WriteResult, acknowledgeMemo, addDatabase, addLinkedRepo, addMission, addTask, archiveSession, buildPath, bulkDeleteContent, bulkReadContent, bulkUpdateTasks, bulkWriteContent, createClient, createConfig, createDatabase, createMemo, createOCXPClient, createPaginatedResponseSchema, createPathService, createProject, createResponseSchema, createWebSocketService, createWorkflow, deleteContent, deleteDatabase, deleteMemo, deleteProject, deleteRepo, deleteTask, deleteWorkflow, downloadRepository, forkSession, getAuthConfig, getCanonicalType, getContentStats, getContentTree, getContentTypes, getContextRepos, getCurrentUser, getDatabase, getMemo, getMemoForSource, getMissionContext, getProject, getProjectDatabases, getPrototypeChat, getRepoCommits, getRepoDownloadStatus, getSample, getSchema, getSessionMessages, getStoredVersions, getSyncStatus, getTask, getWorkflow, githubCheckAccess, githubGetContents, githubListBranches, ignoreMemo, isOCXPAuthError, isOCXPConflictError, isOCXPError, isOCXPNetworkError, isOCXPNotFoundError, isOCXPRateLimitError, isOCXPTimeoutError, isOCXPValidationError, isValidContentType, linkPrototypeChat, listContent, listContextDatabases, listDatabases, listDownloadedRepos, listMemos, listProjects, listPrototypeChats, listSessions, listTables, listTasks, listWorkflows, listWorkspaces, lockContent, login, loginForAccessToken, mapHttpError, moveContent, normalizePath, parsePath, parseWSMessage, previewPrototypeChat, queryContent, queryKnowledgeBase, ragKnowledgeBase, readContent, refreshTokens, regenerateMission, removeDatabase, removeLinkedRepo, removeMission, resolveMemo, safeParseWSMessage, searchContent, setDefaultDatabase, setDefaultRepo, startWorkflow, syncAllRepos, syncPrototypeChat, syncPrototypeChatAsync, syncRepo, testDatabaseConnection, toolCreateMission, toolUpdateMission, unlockContent, updateDatabase, updateProject, updateSessionMetadata, updateTask, writeContent };
|