@tyvm/knowhow-api-client 0.0.2 → 0.0.4
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/client.d.ts +5 -0
- package/dist/client.js +11 -1
- package/dist/generated/openapi.d.ts +526 -229
- package/dist/generated/openapi.json +13510 -0
- package/package.json +4 -3
|
@@ -23,15 +23,44 @@ declare namespace Components {
|
|
|
23
23
|
comment: string;
|
|
24
24
|
isSystem?: boolean;
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Simple API key passed in header or query parameter
|
|
28
|
+
*/
|
|
29
|
+
export interface ApiKeyAuthConfig {
|
|
30
|
+
type: "api_key";
|
|
31
|
+
location: "header" | "query";
|
|
32
|
+
keyName: string;
|
|
33
|
+
keySecretKey: string;
|
|
34
|
+
}
|
|
26
35
|
export interface ApproveSessionResponse {
|
|
27
36
|
success: boolean;
|
|
28
37
|
message: string;
|
|
29
38
|
}
|
|
39
|
+
export interface AuthStatusResponse {
|
|
40
|
+
isAuthenticated: boolean;
|
|
41
|
+
secretName: string;
|
|
42
|
+
secretType: "org" | "user";
|
|
43
|
+
createdAt?: string;
|
|
44
|
+
}
|
|
30
45
|
export interface AutoReloadSettings {
|
|
31
46
|
enabled: boolean;
|
|
32
47
|
threshold: number; // double
|
|
33
48
|
amount: number; // double
|
|
34
49
|
}
|
|
50
|
+
/**
|
|
51
|
+
* Basic Auth via Login URL
|
|
52
|
+
* Posts credentials to a login URL and extracts token from response
|
|
53
|
+
*/
|
|
54
|
+
export interface BasicAuthConfig {
|
|
55
|
+
type: "basic";
|
|
56
|
+
loginUrl: string;
|
|
57
|
+
usernameSecretKey: string;
|
|
58
|
+
passwordSecretKey: string;
|
|
59
|
+
jsonBodyTemplate: string;
|
|
60
|
+
responseTokenPath: string;
|
|
61
|
+
responseExpiryPath?: string;
|
|
62
|
+
headerLocation: string;
|
|
63
|
+
}
|
|
35
64
|
export interface ChatCompletionResponse {
|
|
36
65
|
choices: {
|
|
37
66
|
message: OutputMessage;
|
|
@@ -86,6 +115,7 @@ declare namespace Components {
|
|
|
86
115
|
env?: any;
|
|
87
116
|
url?: string;
|
|
88
117
|
secretMapping?: any;
|
|
118
|
+
authConfig?: any;
|
|
89
119
|
enabled?: boolean;
|
|
90
120
|
onConnectServiceId?: string;
|
|
91
121
|
}
|
|
@@ -99,6 +129,7 @@ declare namespace Components {
|
|
|
99
129
|
secretMapping?: any;
|
|
100
130
|
enabled?: boolean;
|
|
101
131
|
onConnectServiceId?: string;
|
|
132
|
+
authConfig?: /* Discriminated union of all auth config types */ McpAuthConfig;
|
|
102
133
|
}
|
|
103
134
|
export interface CreateSecretRequest {
|
|
104
135
|
name: string;
|
|
@@ -230,6 +261,11 @@ declare namespace Components {
|
|
|
230
261
|
export interface DefaultSelectionPrisma36OrgMcpServerPayload {
|
|
231
262
|
onConnectServiceId: string;
|
|
232
263
|
enabled: boolean;
|
|
264
|
+
authConfig: /**
|
|
265
|
+
* From https://github.com/sindresorhus/type-fest/
|
|
266
|
+
* Matches any valid JSON value.
|
|
267
|
+
*/
|
|
268
|
+
JsonValue;
|
|
233
269
|
secretMapping: /**
|
|
234
270
|
* From https://github.com/sindresorhus/type-fest/
|
|
235
271
|
* Matches any valid JSON value.
|
|
@@ -286,6 +322,11 @@ declare namespace Components {
|
|
|
286
322
|
export interface DefaultSelectionPrisma36OrgUserMcpPayload {
|
|
287
323
|
onConnectServiceId: string;
|
|
288
324
|
enabled: boolean;
|
|
325
|
+
authConfig: /**
|
|
326
|
+
* From https://github.com/sindresorhus/type-fest/
|
|
327
|
+
* Matches any valid JSON value.
|
|
328
|
+
*/
|
|
329
|
+
JsonValue;
|
|
289
330
|
secretMapping: /**
|
|
290
331
|
* From https://github.com/sindresorhus/type-fest/
|
|
291
332
|
* Matches any valid JSON value.
|
|
@@ -486,6 +527,18 @@ declare namespace Components {
|
|
|
486
527
|
database: ServiceStatus;
|
|
487
528
|
};
|
|
488
529
|
}
|
|
530
|
+
export interface InitiateOAuthRequest {
|
|
531
|
+
mcpServerUrl: string;
|
|
532
|
+
secretName: string;
|
|
533
|
+
secretType: "org" | "user";
|
|
534
|
+
clientId?: string;
|
|
535
|
+
clientSecret?: string;
|
|
536
|
+
scopes?: string[];
|
|
537
|
+
}
|
|
538
|
+
export interface InitiateOAuthResponse {
|
|
539
|
+
authorizationUrl: string;
|
|
540
|
+
state: string;
|
|
541
|
+
}
|
|
489
542
|
/**
|
|
490
543
|
* Matches a JSON array.
|
|
491
544
|
* Unlike \`JsonArray\`, readonly arrays are assignable to this type.
|
|
@@ -578,7 +631,7 @@ declare namespace Components {
|
|
|
578
631
|
* From https://github.com/sindresorhus/type-fest/
|
|
579
632
|
* Matches a JSON array.
|
|
580
633
|
*/
|
|
581
|
-
JsonArray | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null;
|
|
634
|
+
JsonArray | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null;
|
|
582
635
|
export interface LivenessResponse {
|
|
583
636
|
status: "live" | "dead";
|
|
584
637
|
timestamp: string;
|
|
@@ -595,6 +648,22 @@ declare namespace Components {
|
|
|
595
648
|
*/
|
|
596
649
|
OrgUserTask;
|
|
597
650
|
}
|
|
651
|
+
/**
|
|
652
|
+
* Discriminated union of all auth config types
|
|
653
|
+
*/
|
|
654
|
+
export type McpAuthConfig = /* Discriminated union of all auth config types */ /**
|
|
655
|
+
* OAuth 2.1 Dynamic Client Registration
|
|
656
|
+
* Backend handles the full OAuth flow automatically using discovery
|
|
657
|
+
*/
|
|
658
|
+
OAuth21DynamicAuthConfig | /**
|
|
659
|
+
* OAuth 2.1 Static Client Registration
|
|
660
|
+
* Uses pre-configured client ID and secret from org-secrets or org-user-secrets
|
|
661
|
+
*/
|
|
662
|
+
OAuth21StaticAuthConfig | /**
|
|
663
|
+
* Basic Auth via Login URL
|
|
664
|
+
* Posts credentials to a login URL and extracts token from response
|
|
665
|
+
*/
|
|
666
|
+
BasicAuthConfig | /* Simple API key passed in header or query parameter */ ApiKeyAuthConfig | /* No authentication required */ NoAuthConfig;
|
|
598
667
|
export interface Message {
|
|
599
668
|
role: "system" | "user" | "assistant" | "tool";
|
|
600
669
|
content?: string | MessageContent[];
|
|
@@ -617,6 +686,12 @@ declare namespace Components {
|
|
|
617
686
|
export type N$16EnumsTaskState = "PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "CANCELLED";
|
|
618
687
|
export type N$16EnumsUserRole = "OWNER" | "ADMIN" | "MEMBER";
|
|
619
688
|
export type N$16EnumsWaitlistStatus = "PENDING" | "APPROVED" | "REJECTED";
|
|
689
|
+
/**
|
|
690
|
+
* No authentication required
|
|
691
|
+
*/
|
|
692
|
+
export interface NoAuthConfig {
|
|
693
|
+
type: "none";
|
|
694
|
+
}
|
|
620
695
|
export interface NullablePartialPickPrismaOrganizationUncheckedUpdateWithoutUsersInputOrganizationOptionalFields {
|
|
621
696
|
name?: string | PrismaStringFieldUpdateOperationsInput;
|
|
622
697
|
autoReloadAmount?: number /* double */ | PrismaNullableFloatFieldUpdateOperationsInput;
|
|
@@ -624,6 +699,27 @@ declare namespace Components {
|
|
|
624
699
|
autoReloadThreshold?: number /* double */ | PrismaNullableFloatFieldUpdateOperationsInput;
|
|
625
700
|
coversUserExpenses?: boolean | PrismaBoolFieldUpdateOperationsInput;
|
|
626
701
|
}
|
|
702
|
+
/**
|
|
703
|
+
* OAuth 2.1 Dynamic Client Registration
|
|
704
|
+
* Backend handles the full OAuth flow automatically using discovery
|
|
705
|
+
*/
|
|
706
|
+
export interface OAuth21DynamicAuthConfig {
|
|
707
|
+
type: "oauth2_dynamic";
|
|
708
|
+
discoveryUrl: string;
|
|
709
|
+
scopes?: string[];
|
|
710
|
+
}
|
|
711
|
+
/**
|
|
712
|
+
* OAuth 2.1 Static Client Registration
|
|
713
|
+
* Uses pre-configured client ID and secret from org-secrets or org-user-secrets
|
|
714
|
+
*/
|
|
715
|
+
export interface OAuth21StaticAuthConfig {
|
|
716
|
+
type: "oauth2_static";
|
|
717
|
+
tokenUrl: string;
|
|
718
|
+
authorizationUrl: string;
|
|
719
|
+
scopes?: string[];
|
|
720
|
+
clientIdSecretKey: string;
|
|
721
|
+
clientSecretSecretKey: string;
|
|
722
|
+
}
|
|
627
723
|
/**
|
|
628
724
|
* Construct a type with the properties of T except for those in type K.
|
|
629
725
|
*/
|
|
@@ -1004,6 +1100,18 @@ declare namespace Components {
|
|
|
1004
1100
|
export interface PrismaStringFieldUpdateOperationsInput {
|
|
1005
1101
|
set?: string;
|
|
1006
1102
|
}
|
|
1103
|
+
export interface ProbeRequest {
|
|
1104
|
+
url: string;
|
|
1105
|
+
}
|
|
1106
|
+
export interface ProbeResponse {
|
|
1107
|
+
url: string;
|
|
1108
|
+
supportsOAuth: boolean;
|
|
1109
|
+
discoveryUrl?: string;
|
|
1110
|
+
authorizationEndpoint?: string;
|
|
1111
|
+
tokenEndpoint?: string;
|
|
1112
|
+
scopes?: string[];
|
|
1113
|
+
requiresStaticCredentials?: boolean;
|
|
1114
|
+
}
|
|
1007
1115
|
export interface PublicChatRequest {
|
|
1008
1116
|
behaviorId: string;
|
|
1009
1117
|
message: string;
|
|
@@ -1221,6 +1329,7 @@ declare namespace Components {
|
|
|
1221
1329
|
env?: any;
|
|
1222
1330
|
url?: string;
|
|
1223
1331
|
secretMapping?: any;
|
|
1332
|
+
authConfig?: any;
|
|
1224
1333
|
enabled?: boolean;
|
|
1225
1334
|
onConnectServiceId?: string;
|
|
1226
1335
|
}
|
|
@@ -1283,6 +1392,7 @@ declare namespace Components {
|
|
|
1283
1392
|
secretMapping?: any;
|
|
1284
1393
|
enabled?: boolean;
|
|
1285
1394
|
onConnectServiceId?: string;
|
|
1395
|
+
authConfig?: /* Discriminated union of all auth config types */ McpAuthConfig;
|
|
1286
1396
|
}
|
|
1287
1397
|
export interface UpdateSecretRequest {
|
|
1288
1398
|
value: string;
|
|
@@ -1410,6 +1520,21 @@ declare namespace Paths {
|
|
|
1410
1520
|
}
|
|
1411
1521
|
}
|
|
1412
1522
|
}
|
|
1523
|
+
namespace CheckAuthStatus {
|
|
1524
|
+
namespace Parameters {
|
|
1525
|
+
export type SecretName = string;
|
|
1526
|
+
export type SecretType = "org" | "user";
|
|
1527
|
+
}
|
|
1528
|
+
export interface PathParameters {
|
|
1529
|
+
secretName: Parameters.SecretName;
|
|
1530
|
+
}
|
|
1531
|
+
export interface QueryParameters {
|
|
1532
|
+
secretType: Parameters.SecretType;
|
|
1533
|
+
}
|
|
1534
|
+
namespace Responses {
|
|
1535
|
+
export type $200 = Components.Schemas.AuthStatusResponse;
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1413
1538
|
namespace CheckAvailability {
|
|
1414
1539
|
namespace Responses {
|
|
1415
1540
|
export interface $200 {
|
|
@@ -1998,6 +2123,19 @@ declare namespace Paths {
|
|
|
1998
2123
|
}
|
|
1999
2124
|
}
|
|
2000
2125
|
}
|
|
2126
|
+
namespace GetBudget {
|
|
2127
|
+
namespace Responses {
|
|
2128
|
+
export interface $200 {
|
|
2129
|
+
totalBudget: number; // double
|
|
2130
|
+
hasCredits: boolean;
|
|
2131
|
+
coversUserExpenses: boolean;
|
|
2132
|
+
user: number; // double
|
|
2133
|
+
orgUser: number; // double
|
|
2134
|
+
org: number; // double
|
|
2135
|
+
total: number; // double
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2001
2139
|
namespace GetChatSession {
|
|
2002
2140
|
namespace Parameters {
|
|
2003
2141
|
export type SessionId = string;
|
|
@@ -2495,14 +2633,12 @@ declare namespace Paths {
|
|
|
2495
2633
|
}
|
|
2496
2634
|
namespace GetOrgMessages {
|
|
2497
2635
|
namespace Parameters {
|
|
2498
|
-
export type ChannelId = string;
|
|
2499
2636
|
export type Limit = number; // double
|
|
2500
2637
|
export type Offset = number; // double
|
|
2501
2638
|
export type OrgServiceId = string;
|
|
2502
2639
|
}
|
|
2503
2640
|
export interface QueryParameters {
|
|
2504
2641
|
orgServiceId?: Parameters.OrgServiceId;
|
|
2505
|
-
channelId?: Parameters.ChannelId;
|
|
2506
2642
|
limit?: Parameters.Limit /* double */;
|
|
2507
2643
|
offset?: Parameters.Offset /* double */;
|
|
2508
2644
|
}
|
|
@@ -3029,6 +3165,19 @@ declare namespace Paths {
|
|
|
3029
3165
|
}
|
|
3030
3166
|
}
|
|
3031
3167
|
}
|
|
3168
|
+
namespace HandleOAuthCallback {
|
|
3169
|
+
export interface RequestBody {
|
|
3170
|
+
state: string;
|
|
3171
|
+
code: string;
|
|
3172
|
+
}
|
|
3173
|
+
namespace Responses {
|
|
3174
|
+
export interface $200 {
|
|
3175
|
+
error?: string;
|
|
3176
|
+
message?: string;
|
|
3177
|
+
ok: boolean;
|
|
3178
|
+
}
|
|
3179
|
+
}
|
|
3180
|
+
}
|
|
3032
3181
|
namespace HandleSlackEvent {
|
|
3033
3182
|
export type RequestBody = any;
|
|
3034
3183
|
namespace Responses {
|
|
@@ -3051,6 +3200,12 @@ declare namespace Paths {
|
|
|
3051
3200
|
}
|
|
3052
3201
|
}
|
|
3053
3202
|
}
|
|
3203
|
+
namespace InitiateOAuthFlow {
|
|
3204
|
+
export type RequestBody = Components.Schemas.InitiateOAuthRequest;
|
|
3205
|
+
namespace Responses {
|
|
3206
|
+
export type $200 = Components.Schemas.InitiateOAuthResponse;
|
|
3207
|
+
}
|
|
3208
|
+
}
|
|
3054
3209
|
namespace InviteUser {
|
|
3055
3210
|
export interface RequestBody {
|
|
3056
3211
|
role: Components.Schemas.UserRole;
|
|
@@ -3176,6 +3331,12 @@ declare namespace Paths {
|
|
|
3176
3331
|
}
|
|
3177
3332
|
}
|
|
3178
3333
|
}
|
|
3334
|
+
namespace ProbeMcpServer {
|
|
3335
|
+
export type RequestBody = Components.Schemas.ProbeRequest;
|
|
3336
|
+
namespace Responses {
|
|
3337
|
+
export type $200 = Components.Schemas.ProbeResponse;
|
|
3338
|
+
}
|
|
3339
|
+
}
|
|
3179
3340
|
namespace ProxyChatCompletion {
|
|
3180
3341
|
export type RequestBody = /* Make all properties in T optional */ Components.Schemas.PartialCompletionOptions;
|
|
3181
3342
|
namespace Responses {
|
|
@@ -3680,6 +3841,19 @@ declare namespace Paths {
|
|
|
3680
3841
|
}
|
|
3681
3842
|
}
|
|
3682
3843
|
}
|
|
3844
|
+
namespace ValidateAuthConfig {
|
|
3845
|
+
export interface RequestBody {
|
|
3846
|
+
url?: string;
|
|
3847
|
+
authConfig: /* Discriminated union of all auth config types */ Components.Schemas.McpAuthConfig;
|
|
3848
|
+
}
|
|
3849
|
+
namespace Responses {
|
|
3850
|
+
export interface $200 {
|
|
3851
|
+
details?: any;
|
|
3852
|
+
message: string;
|
|
3853
|
+
success: boolean;
|
|
3854
|
+
}
|
|
3855
|
+
}
|
|
3856
|
+
}
|
|
3683
3857
|
namespace Verify2FA {
|
|
3684
3858
|
export type RequestBody = Components.Schemas.Verify2FARequest;
|
|
3685
3859
|
namespace Responses {
|
|
@@ -3880,6 +4054,14 @@ export interface OperationMethods {
|
|
|
3880
4054
|
data?: Paths.ChangePassword.RequestBody,
|
|
3881
4055
|
config?: AxiosRequestConfig
|
|
3882
4056
|
): OperationResponse<Paths.ChangePassword.Responses.$200>
|
|
4057
|
+
/**
|
|
4058
|
+
* GetBudget
|
|
4059
|
+
*/
|
|
4060
|
+
'GetBudget'(
|
|
4061
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4062
|
+
data?: any,
|
|
4063
|
+
config?: AxiosRequestConfig
|
|
4064
|
+
): OperationResponse<Paths.GetBudget.Responses.$200>
|
|
3883
4065
|
/**
|
|
3884
4066
|
* Get2FAStatus - Get 2FA status for the current user
|
|
3885
4067
|
*/
|
|
@@ -4368,6 +4550,15 @@ export interface OperationMethods {
|
|
|
4368
4550
|
data?: any,
|
|
4369
4551
|
config?: AxiosRequestConfig
|
|
4370
4552
|
): OperationResponse<Paths.DeleteOrgUserMcp.Responses.$204>
|
|
4553
|
+
/**
|
|
4554
|
+
* ValidateAuthConfig - Validate authentication configuration
|
|
4555
|
+
* Tests if the provided auth config can successfully authenticate
|
|
4556
|
+
*/
|
|
4557
|
+
'ValidateAuthConfig'(
|
|
4558
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4559
|
+
data?: Paths.ValidateAuthConfig.RequestBody,
|
|
4560
|
+
config?: AxiosRequestConfig
|
|
4561
|
+
): OperationResponse<Paths.ValidateAuthConfig.Responses.$200>
|
|
4371
4562
|
/**
|
|
4372
4563
|
* GetOrgServices
|
|
4373
4564
|
*/
|
|
@@ -4704,6 +4895,102 @@ export interface OperationMethods {
|
|
|
4704
4895
|
data?: any,
|
|
4705
4896
|
config?: AxiosRequestConfig
|
|
4706
4897
|
): OperationResponse<Paths.ProxyGetModels.Responses.$200>
|
|
4898
|
+
/**
|
|
4899
|
+
* GetChatSessions
|
|
4900
|
+
*/
|
|
4901
|
+
'GetChatSessions'(
|
|
4902
|
+
parameters?: Parameters<Paths.GetChatSessions.QueryParameters> | null,
|
|
4903
|
+
data?: any,
|
|
4904
|
+
config?: AxiosRequestConfig
|
|
4905
|
+
): OperationResponse<Paths.GetChatSessions.Responses.$200>
|
|
4906
|
+
/**
|
|
4907
|
+
* CreateChatSession
|
|
4908
|
+
*/
|
|
4909
|
+
'CreateChatSession'(
|
|
4910
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4911
|
+
data?: Paths.CreateChatSession.RequestBody,
|
|
4912
|
+
config?: AxiosRequestConfig
|
|
4913
|
+
): OperationResponse<Paths.CreateChatSession.Responses.$200>
|
|
4914
|
+
/**
|
|
4915
|
+
* GetChatSession
|
|
4916
|
+
*/
|
|
4917
|
+
'GetChatSession'(
|
|
4918
|
+
parameters?: Parameters<Paths.GetChatSession.PathParameters> | null,
|
|
4919
|
+
data?: any,
|
|
4920
|
+
config?: AxiosRequestConfig
|
|
4921
|
+
): OperationResponse<Paths.GetChatSession.Responses.$200>
|
|
4922
|
+
/**
|
|
4923
|
+
* UpdateChatSession
|
|
4924
|
+
*/
|
|
4925
|
+
'UpdateChatSession'(
|
|
4926
|
+
parameters?: Parameters<Paths.UpdateChatSession.PathParameters> | null,
|
|
4927
|
+
data?: Paths.UpdateChatSession.RequestBody,
|
|
4928
|
+
config?: AxiosRequestConfig
|
|
4929
|
+
): OperationResponse<Paths.UpdateChatSession.Responses.$200>
|
|
4930
|
+
/**
|
|
4931
|
+
* DeleteChatSession
|
|
4932
|
+
*/
|
|
4933
|
+
'DeleteChatSession'(
|
|
4934
|
+
parameters?: Parameters<Paths.DeleteChatSession.PathParameters> | null,
|
|
4935
|
+
data?: any,
|
|
4936
|
+
config?: AxiosRequestConfig
|
|
4937
|
+
): OperationResponse<Paths.DeleteChatSession.Responses.$204>
|
|
4938
|
+
/**
|
|
4939
|
+
* GetChatSessionMessages
|
|
4940
|
+
*/
|
|
4941
|
+
'GetChatSessionMessages'(
|
|
4942
|
+
parameters?: Parameters<Paths.GetChatSessionMessages.PathParameters> | null,
|
|
4943
|
+
data?: any,
|
|
4944
|
+
config?: AxiosRequestConfig
|
|
4945
|
+
): OperationResponse<Paths.GetChatSessionMessages.Responses.$200>
|
|
4946
|
+
/**
|
|
4947
|
+
* CreateChatMessage
|
|
4948
|
+
*/
|
|
4949
|
+
'CreateChatMessage'(
|
|
4950
|
+
parameters?: Parameters<Paths.CreateChatMessage.PathParameters> | null,
|
|
4951
|
+
data?: Paths.CreateChatMessage.RequestBody,
|
|
4952
|
+
config?: AxiosRequestConfig
|
|
4953
|
+
): OperationResponse<Paths.CreateChatMessage.Responses.$200>
|
|
4954
|
+
/**
|
|
4955
|
+
* DeleteChatMessage
|
|
4956
|
+
*/
|
|
4957
|
+
'DeleteChatMessage'(
|
|
4958
|
+
parameters?: Parameters<Paths.DeleteChatMessage.PathParameters> | null,
|
|
4959
|
+
data?: any,
|
|
4960
|
+
config?: AxiosRequestConfig
|
|
4961
|
+
): OperationResponse<Paths.DeleteChatMessage.Responses.$204>
|
|
4962
|
+
/**
|
|
4963
|
+
* PublicChat
|
|
4964
|
+
*/
|
|
4965
|
+
'PublicChat'(
|
|
4966
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4967
|
+
data?: Paths.PublicChat.RequestBody,
|
|
4968
|
+
config?: AxiosRequestConfig
|
|
4969
|
+
): OperationResponse<Paths.PublicChat.Responses.$200>
|
|
4970
|
+
/**
|
|
4971
|
+
* CreateSessionFromThread
|
|
4972
|
+
*/
|
|
4973
|
+
'CreateSessionFromThread'(
|
|
4974
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4975
|
+
data?: Paths.CreateSessionFromThread.RequestBody,
|
|
4976
|
+
config?: AxiosRequestConfig
|
|
4977
|
+
): OperationResponse<Paths.CreateSessionFromThread.Responses.$200>
|
|
4978
|
+
/**
|
|
4979
|
+
* CreateMessageTask
|
|
4980
|
+
*/
|
|
4981
|
+
'CreateMessageTask'(
|
|
4982
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4983
|
+
data?: Paths.CreateMessageTask.RequestBody,
|
|
4984
|
+
config?: AxiosRequestConfig
|
|
4985
|
+
): OperationResponse<Paths.CreateMessageTask.Responses.$200>
|
|
4986
|
+
/**
|
|
4987
|
+
* UpdateOrgTask
|
|
4988
|
+
*/
|
|
4989
|
+
'UpdateOrgTask'(
|
|
4990
|
+
parameters?: Parameters<Paths.UpdateOrgTask.PathParameters> | null,
|
|
4991
|
+
data?: Paths.UpdateOrgTask.RequestBody,
|
|
4992
|
+
config?: AxiosRequestConfig
|
|
4993
|
+
): OperationResponse<Paths.UpdateOrgTask.Responses.$200>
|
|
4707
4994
|
/**
|
|
4708
4995
|
* GetHealth - Basic health check
|
|
4709
4996
|
*
|
|
@@ -4744,6 +5031,39 @@ export interface OperationMethods {
|
|
|
4744
5031
|
data?: any,
|
|
4745
5032
|
config?: AxiosRequestConfig
|
|
4746
5033
|
): OperationResponse<Paths.GetLiveness.Responses.$200>
|
|
5034
|
+
/**
|
|
5035
|
+
* ProbeMcpServer - Probe an MCP server URL to detect OAuth capabilities
|
|
5036
|
+
*/
|
|
5037
|
+
'ProbeMcpServer'(
|
|
5038
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5039
|
+
data?: Paths.ProbeMcpServer.RequestBody,
|
|
5040
|
+
config?: AxiosRequestConfig
|
|
5041
|
+
): OperationResponse<Paths.ProbeMcpServer.Responses.$200>
|
|
5042
|
+
/**
|
|
5043
|
+
* InitiateOAuthFlow - Initiate OAuth flow for MCP server authentication
|
|
5044
|
+
*/
|
|
5045
|
+
'InitiateOAuthFlow'(
|
|
5046
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5047
|
+
data?: Paths.InitiateOAuthFlow.RequestBody,
|
|
5048
|
+
config?: AxiosRequestConfig
|
|
5049
|
+
): OperationResponse<Paths.InitiateOAuthFlow.Responses.$200>
|
|
5050
|
+
/**
|
|
5051
|
+
* HandleOAuthCallback - Handle OAuth callback - Complete the OAuth flow
|
|
5052
|
+
* Called by the frontend after OAuth provider redirects back
|
|
5053
|
+
*/
|
|
5054
|
+
'HandleOAuthCallback'(
|
|
5055
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5056
|
+
data?: Paths.HandleOAuthCallback.RequestBody,
|
|
5057
|
+
config?: AxiosRequestConfig
|
|
5058
|
+
): OperationResponse<Paths.HandleOAuthCallback.Responses.$200>
|
|
5059
|
+
/**
|
|
5060
|
+
* CheckAuthStatus - Check authentication status for a secret
|
|
5061
|
+
*/
|
|
5062
|
+
'CheckAuthStatus'(
|
|
5063
|
+
parameters?: Parameters<Paths.CheckAuthStatus.QueryParameters & Paths.CheckAuthStatus.PathParameters> | null,
|
|
5064
|
+
data?: any,
|
|
5065
|
+
config?: AxiosRequestConfig
|
|
5066
|
+
): OperationResponse<Paths.CheckAuthStatus.Responses.$200>
|
|
4747
5067
|
/**
|
|
4748
5068
|
* GetTokenStatus
|
|
4749
5069
|
*/
|
|
@@ -5057,135 +5377,39 @@ export interface OperationMethods {
|
|
|
5057
5377
|
config?: AxiosRequestConfig
|
|
5058
5378
|
): OperationResponse<Paths.CleanupSessions.Responses.$200>
|
|
5059
5379
|
/**
|
|
5060
|
-
*
|
|
5061
|
-
*/
|
|
5062
|
-
'GetChatSessions'(
|
|
5063
|
-
parameters?: Parameters<Paths.GetChatSessions.QueryParameters> | null,
|
|
5064
|
-
data?: any,
|
|
5065
|
-
config?: AxiosRequestConfig
|
|
5066
|
-
): OperationResponse<Paths.GetChatSessions.Responses.$200>
|
|
5067
|
-
/**
|
|
5068
|
-
* CreateChatSession
|
|
5380
|
+
* CreateChatCompletion - Create a chat completion
|
|
5069
5381
|
*/
|
|
5070
|
-
'
|
|
5382
|
+
'CreateChatCompletion'(
|
|
5071
5383
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5072
|
-
data?: Paths.
|
|
5384
|
+
data?: Paths.CreateChatCompletion.RequestBody,
|
|
5073
5385
|
config?: AxiosRequestConfig
|
|
5074
|
-
): OperationResponse<Paths.
|
|
5386
|
+
): OperationResponse<Paths.CreateChatCompletion.Responses.$200>
|
|
5075
5387
|
/**
|
|
5076
|
-
*
|
|
5388
|
+
* GetModels - Get available models, optionally filtered by type
|
|
5077
5389
|
*/
|
|
5078
|
-
'
|
|
5079
|
-
parameters?: Parameters<Paths.
|
|
5390
|
+
'GetModels'(
|
|
5391
|
+
parameters?: Parameters<Paths.GetModels.QueryParameters> | null,
|
|
5080
5392
|
data?: any,
|
|
5081
5393
|
config?: AxiosRequestConfig
|
|
5082
|
-
): OperationResponse<Paths.
|
|
5083
|
-
/**
|
|
5084
|
-
* UpdateChatSession
|
|
5085
|
-
*/
|
|
5086
|
-
'UpdateChatSession'(
|
|
5087
|
-
parameters?: Parameters<Paths.UpdateChatSession.PathParameters> | null,
|
|
5088
|
-
data?: Paths.UpdateChatSession.RequestBody,
|
|
5089
|
-
config?: AxiosRequestConfig
|
|
5090
|
-
): OperationResponse<Paths.UpdateChatSession.Responses.$200>
|
|
5394
|
+
): OperationResponse<Paths.GetModels.Responses.$200>
|
|
5091
5395
|
/**
|
|
5092
|
-
*
|
|
5396
|
+
* GetTools - Get available tools for the organization/user
|
|
5093
5397
|
*/
|
|
5094
|
-
'
|
|
5095
|
-
parameters?: Parameters<
|
|
5398
|
+
'GetTools'(
|
|
5399
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5096
5400
|
data?: any,
|
|
5097
5401
|
config?: AxiosRequestConfig
|
|
5098
|
-
): OperationResponse<Paths.
|
|
5402
|
+
): OperationResponse<Paths.GetTools.Responses.$200>
|
|
5099
5403
|
/**
|
|
5100
|
-
*
|
|
5404
|
+
* TestKnowhowTool - Test a specific tool by calling it with provided arguments
|
|
5101
5405
|
*/
|
|
5102
|
-
'
|
|
5103
|
-
parameters?: Parameters<
|
|
5104
|
-
data?:
|
|
5406
|
+
'TestKnowhowTool'(
|
|
5407
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5408
|
+
data?: Paths.TestKnowhowTool.RequestBody,
|
|
5105
5409
|
config?: AxiosRequestConfig
|
|
5106
|
-
): OperationResponse<Paths.
|
|
5410
|
+
): OperationResponse<Paths.TestKnowhowTool.Responses.$200>
|
|
5107
5411
|
/**
|
|
5108
|
-
*
|
|
5109
|
-
*/
|
|
5110
|
-
'CreateChatMessage'(
|
|
5111
|
-
parameters?: Parameters<Paths.CreateChatMessage.PathParameters> | null,
|
|
5112
|
-
data?: Paths.CreateChatMessage.RequestBody,
|
|
5113
|
-
config?: AxiosRequestConfig
|
|
5114
|
-
): OperationResponse<Paths.CreateChatMessage.Responses.$200>
|
|
5115
|
-
/**
|
|
5116
|
-
* DeleteChatMessage
|
|
5117
|
-
*/
|
|
5118
|
-
'DeleteChatMessage'(
|
|
5119
|
-
parameters?: Parameters<Paths.DeleteChatMessage.PathParameters> | null,
|
|
5120
|
-
data?: any,
|
|
5121
|
-
config?: AxiosRequestConfig
|
|
5122
|
-
): OperationResponse<Paths.DeleteChatMessage.Responses.$204>
|
|
5123
|
-
/**
|
|
5124
|
-
* PublicChat
|
|
5125
|
-
*/
|
|
5126
|
-
'PublicChat'(
|
|
5127
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5128
|
-
data?: Paths.PublicChat.RequestBody,
|
|
5129
|
-
config?: AxiosRequestConfig
|
|
5130
|
-
): OperationResponse<Paths.PublicChat.Responses.$200>
|
|
5131
|
-
/**
|
|
5132
|
-
* CreateSessionFromThread
|
|
5133
|
-
*/
|
|
5134
|
-
'CreateSessionFromThread'(
|
|
5135
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5136
|
-
data?: Paths.CreateSessionFromThread.RequestBody,
|
|
5137
|
-
config?: AxiosRequestConfig
|
|
5138
|
-
): OperationResponse<Paths.CreateSessionFromThread.Responses.$200>
|
|
5139
|
-
/**
|
|
5140
|
-
* CreateMessageTask
|
|
5141
|
-
*/
|
|
5142
|
-
'CreateMessageTask'(
|
|
5143
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5144
|
-
data?: Paths.CreateMessageTask.RequestBody,
|
|
5145
|
-
config?: AxiosRequestConfig
|
|
5146
|
-
): OperationResponse<Paths.CreateMessageTask.Responses.$200>
|
|
5147
|
-
/**
|
|
5148
|
-
* UpdateOrgTask
|
|
5149
|
-
*/
|
|
5150
|
-
'UpdateOrgTask'(
|
|
5151
|
-
parameters?: Parameters<Paths.UpdateOrgTask.PathParameters> | null,
|
|
5152
|
-
data?: Paths.UpdateOrgTask.RequestBody,
|
|
5153
|
-
config?: AxiosRequestConfig
|
|
5154
|
-
): OperationResponse<Paths.UpdateOrgTask.Responses.$200>
|
|
5155
|
-
/**
|
|
5156
|
-
* CreateChatCompletion - Create a chat completion
|
|
5157
|
-
*/
|
|
5158
|
-
'CreateChatCompletion'(
|
|
5159
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5160
|
-
data?: Paths.CreateChatCompletion.RequestBody,
|
|
5161
|
-
config?: AxiosRequestConfig
|
|
5162
|
-
): OperationResponse<Paths.CreateChatCompletion.Responses.$200>
|
|
5163
|
-
/**
|
|
5164
|
-
* GetModels - Get available models, optionally filtered by type
|
|
5165
|
-
*/
|
|
5166
|
-
'GetModels'(
|
|
5167
|
-
parameters?: Parameters<Paths.GetModels.QueryParameters> | null,
|
|
5168
|
-
data?: any,
|
|
5169
|
-
config?: AxiosRequestConfig
|
|
5170
|
-
): OperationResponse<Paths.GetModels.Responses.$200>
|
|
5171
|
-
/**
|
|
5172
|
-
* GetTools - Get available tools for the organization/user
|
|
5173
|
-
*/
|
|
5174
|
-
'GetTools'(
|
|
5175
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5176
|
-
data?: any,
|
|
5177
|
-
config?: AxiosRequestConfig
|
|
5178
|
-
): OperationResponse<Paths.GetTools.Responses.$200>
|
|
5179
|
-
/**
|
|
5180
|
-
* TestKnowhowTool - Test a specific tool by calling it with provided arguments
|
|
5181
|
-
*/
|
|
5182
|
-
'TestKnowhowTool'(
|
|
5183
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5184
|
-
data?: Paths.TestKnowhowTool.RequestBody,
|
|
5185
|
-
config?: AxiosRequestConfig
|
|
5186
|
-
): OperationResponse<Paths.TestKnowhowTool.Responses.$200>
|
|
5187
|
-
/**
|
|
5188
|
-
* CreateEmbeddings - Generate text embeddings
|
|
5412
|
+
* CreateEmbeddings - Generate text embeddings
|
|
5189
5413
|
*/
|
|
5190
5414
|
'CreateEmbeddings'(
|
|
5191
5415
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
@@ -5394,6 +5618,16 @@ export interface PathsDictionary {
|
|
|
5394
5618
|
config?: AxiosRequestConfig
|
|
5395
5619
|
): OperationResponse<Paths.ChangePassword.Responses.$200>
|
|
5396
5620
|
}
|
|
5621
|
+
['/users/budget']: {
|
|
5622
|
+
/**
|
|
5623
|
+
* GetBudget
|
|
5624
|
+
*/
|
|
5625
|
+
'get'(
|
|
5626
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5627
|
+
data?: any,
|
|
5628
|
+
config?: AxiosRequestConfig
|
|
5629
|
+
): OperationResponse<Paths.GetBudget.Responses.$200>
|
|
5630
|
+
}
|
|
5397
5631
|
['/two-factor/status']: {
|
|
5398
5632
|
/**
|
|
5399
5633
|
* Get2FAStatus - Get 2FA status for the current user
|
|
@@ -5962,6 +6196,17 @@ export interface PathsDictionary {
|
|
|
5962
6196
|
config?: AxiosRequestConfig
|
|
5963
6197
|
): OperationResponse<Paths.DeleteOrgUserMcp.Responses.$204>
|
|
5964
6198
|
}
|
|
6199
|
+
['/org-user-mcp/auth-check']: {
|
|
6200
|
+
/**
|
|
6201
|
+
* ValidateAuthConfig - Validate authentication configuration
|
|
6202
|
+
* Tests if the provided auth config can successfully authenticate
|
|
6203
|
+
*/
|
|
6204
|
+
'post'(
|
|
6205
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6206
|
+
data?: Paths.ValidateAuthConfig.RequestBody,
|
|
6207
|
+
config?: AxiosRequestConfig
|
|
6208
|
+
): OperationResponse<Paths.ValidateAuthConfig.Responses.$200>
|
|
6209
|
+
}
|
|
5965
6210
|
['/org-services']: {
|
|
5966
6211
|
/**
|
|
5967
6212
|
* GetOrgServices
|
|
@@ -6352,6 +6597,118 @@ export interface PathsDictionary {
|
|
|
6352
6597
|
config?: AxiosRequestConfig
|
|
6353
6598
|
): OperationResponse<Paths.ProxyGetModels.Responses.$200>
|
|
6354
6599
|
}
|
|
6600
|
+
['/chat/sessions']: {
|
|
6601
|
+
/**
|
|
6602
|
+
* GetChatSessions
|
|
6603
|
+
*/
|
|
6604
|
+
'get'(
|
|
6605
|
+
parameters?: Parameters<Paths.GetChatSessions.QueryParameters> | null,
|
|
6606
|
+
data?: any,
|
|
6607
|
+
config?: AxiosRequestConfig
|
|
6608
|
+
): OperationResponse<Paths.GetChatSessions.Responses.$200>
|
|
6609
|
+
/**
|
|
6610
|
+
* CreateChatSession
|
|
6611
|
+
*/
|
|
6612
|
+
'post'(
|
|
6613
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6614
|
+
data?: Paths.CreateChatSession.RequestBody,
|
|
6615
|
+
config?: AxiosRequestConfig
|
|
6616
|
+
): OperationResponse<Paths.CreateChatSession.Responses.$200>
|
|
6617
|
+
}
|
|
6618
|
+
['/chat/sessions/{sessionId}']: {
|
|
6619
|
+
/**
|
|
6620
|
+
* GetChatSession
|
|
6621
|
+
*/
|
|
6622
|
+
'get'(
|
|
6623
|
+
parameters?: Parameters<Paths.GetChatSession.PathParameters> | null,
|
|
6624
|
+
data?: any,
|
|
6625
|
+
config?: AxiosRequestConfig
|
|
6626
|
+
): OperationResponse<Paths.GetChatSession.Responses.$200>
|
|
6627
|
+
/**
|
|
6628
|
+
* UpdateChatSession
|
|
6629
|
+
*/
|
|
6630
|
+
'put'(
|
|
6631
|
+
parameters?: Parameters<Paths.UpdateChatSession.PathParameters> | null,
|
|
6632
|
+
data?: Paths.UpdateChatSession.RequestBody,
|
|
6633
|
+
config?: AxiosRequestConfig
|
|
6634
|
+
): OperationResponse<Paths.UpdateChatSession.Responses.$200>
|
|
6635
|
+
/**
|
|
6636
|
+
* DeleteChatSession
|
|
6637
|
+
*/
|
|
6638
|
+
'delete'(
|
|
6639
|
+
parameters?: Parameters<Paths.DeleteChatSession.PathParameters> | null,
|
|
6640
|
+
data?: any,
|
|
6641
|
+
config?: AxiosRequestConfig
|
|
6642
|
+
): OperationResponse<Paths.DeleteChatSession.Responses.$204>
|
|
6643
|
+
}
|
|
6644
|
+
['/chat/sessions/{sessionId}/messages']: {
|
|
6645
|
+
/**
|
|
6646
|
+
* GetChatSessionMessages
|
|
6647
|
+
*/
|
|
6648
|
+
'get'(
|
|
6649
|
+
parameters?: Parameters<Paths.GetChatSessionMessages.PathParameters> | null,
|
|
6650
|
+
data?: any,
|
|
6651
|
+
config?: AxiosRequestConfig
|
|
6652
|
+
): OperationResponse<Paths.GetChatSessionMessages.Responses.$200>
|
|
6653
|
+
/**
|
|
6654
|
+
* CreateChatMessage
|
|
6655
|
+
*/
|
|
6656
|
+
'post'(
|
|
6657
|
+
parameters?: Parameters<Paths.CreateChatMessage.PathParameters> | null,
|
|
6658
|
+
data?: Paths.CreateChatMessage.RequestBody,
|
|
6659
|
+
config?: AxiosRequestConfig
|
|
6660
|
+
): OperationResponse<Paths.CreateChatMessage.Responses.$200>
|
|
6661
|
+
}
|
|
6662
|
+
['/chat/sessions/{sessionId}/messages/{messageId}']: {
|
|
6663
|
+
/**
|
|
6664
|
+
* DeleteChatMessage
|
|
6665
|
+
*/
|
|
6666
|
+
'delete'(
|
|
6667
|
+
parameters?: Parameters<Paths.DeleteChatMessage.PathParameters> | null,
|
|
6668
|
+
data?: any,
|
|
6669
|
+
config?: AxiosRequestConfig
|
|
6670
|
+
): OperationResponse<Paths.DeleteChatMessage.Responses.$204>
|
|
6671
|
+
}
|
|
6672
|
+
['/chat/public']: {
|
|
6673
|
+
/**
|
|
6674
|
+
* PublicChat
|
|
6675
|
+
*/
|
|
6676
|
+
'post'(
|
|
6677
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6678
|
+
data?: Paths.PublicChat.RequestBody,
|
|
6679
|
+
config?: AxiosRequestConfig
|
|
6680
|
+
): OperationResponse<Paths.PublicChat.Responses.$200>
|
|
6681
|
+
}
|
|
6682
|
+
['/chat/sessions/from-thread']: {
|
|
6683
|
+
/**
|
|
6684
|
+
* CreateSessionFromThread
|
|
6685
|
+
*/
|
|
6686
|
+
'post'(
|
|
6687
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6688
|
+
data?: Paths.CreateSessionFromThread.RequestBody,
|
|
6689
|
+
config?: AxiosRequestConfig
|
|
6690
|
+
): OperationResponse<Paths.CreateSessionFromThread.Responses.$200>
|
|
6691
|
+
}
|
|
6692
|
+
['/chat/tasks']: {
|
|
6693
|
+
/**
|
|
6694
|
+
* CreateMessageTask
|
|
6695
|
+
*/
|
|
6696
|
+
'post'(
|
|
6697
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6698
|
+
data?: Paths.CreateMessageTask.RequestBody,
|
|
6699
|
+
config?: AxiosRequestConfig
|
|
6700
|
+
): OperationResponse<Paths.CreateMessageTask.Responses.$200>
|
|
6701
|
+
}
|
|
6702
|
+
['/chat/tasks/{taskId}']: {
|
|
6703
|
+
/**
|
|
6704
|
+
* UpdateOrgTask
|
|
6705
|
+
*/
|
|
6706
|
+
'put'(
|
|
6707
|
+
parameters?: Parameters<Paths.UpdateOrgTask.PathParameters> | null,
|
|
6708
|
+
data?: Paths.UpdateOrgTask.RequestBody,
|
|
6709
|
+
config?: AxiosRequestConfig
|
|
6710
|
+
): OperationResponse<Paths.UpdateOrgTask.Responses.$200>
|
|
6711
|
+
}
|
|
6355
6712
|
['/health']: {
|
|
6356
6713
|
/**
|
|
6357
6714
|
* GetHealth - Basic health check
|
|
@@ -6400,6 +6757,47 @@ export interface PathsDictionary {
|
|
|
6400
6757
|
config?: AxiosRequestConfig
|
|
6401
6758
|
): OperationResponse<Paths.GetLiveness.Responses.$200>
|
|
6402
6759
|
}
|
|
6760
|
+
['/mcp-auth/probe']: {
|
|
6761
|
+
/**
|
|
6762
|
+
* ProbeMcpServer - Probe an MCP server URL to detect OAuth capabilities
|
|
6763
|
+
*/
|
|
6764
|
+
'post'(
|
|
6765
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6766
|
+
data?: Paths.ProbeMcpServer.RequestBody,
|
|
6767
|
+
config?: AxiosRequestConfig
|
|
6768
|
+
): OperationResponse<Paths.ProbeMcpServer.Responses.$200>
|
|
6769
|
+
}
|
|
6770
|
+
['/mcp-auth/initiate']: {
|
|
6771
|
+
/**
|
|
6772
|
+
* InitiateOAuthFlow - Initiate OAuth flow for MCP server authentication
|
|
6773
|
+
*/
|
|
6774
|
+
'post'(
|
|
6775
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6776
|
+
data?: Paths.InitiateOAuthFlow.RequestBody,
|
|
6777
|
+
config?: AxiosRequestConfig
|
|
6778
|
+
): OperationResponse<Paths.InitiateOAuthFlow.Responses.$200>
|
|
6779
|
+
}
|
|
6780
|
+
['/mcp-auth/callback']: {
|
|
6781
|
+
/**
|
|
6782
|
+
* HandleOAuthCallback - Handle OAuth callback - Complete the OAuth flow
|
|
6783
|
+
* Called by the frontend after OAuth provider redirects back
|
|
6784
|
+
*/
|
|
6785
|
+
'post'(
|
|
6786
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6787
|
+
data?: Paths.HandleOAuthCallback.RequestBody,
|
|
6788
|
+
config?: AxiosRequestConfig
|
|
6789
|
+
): OperationResponse<Paths.HandleOAuthCallback.Responses.$200>
|
|
6790
|
+
}
|
|
6791
|
+
['/mcp-auth/status/{secretName}']: {
|
|
6792
|
+
/**
|
|
6793
|
+
* CheckAuthStatus - Check authentication status for a secret
|
|
6794
|
+
*/
|
|
6795
|
+
'get'(
|
|
6796
|
+
parameters?: Parameters<Paths.CheckAuthStatus.QueryParameters & Paths.CheckAuthStatus.PathParameters> | null,
|
|
6797
|
+
data?: any,
|
|
6798
|
+
config?: AxiosRequestConfig
|
|
6799
|
+
): OperationResponse<Paths.CheckAuthStatus.Responses.$200>
|
|
6800
|
+
}
|
|
6403
6801
|
['/github/token-status']: {
|
|
6404
6802
|
/**
|
|
6405
6803
|
* GetTokenStatus
|
|
@@ -6768,118 +7166,6 @@ export interface PathsDictionary {
|
|
|
6768
7166
|
config?: AxiosRequestConfig
|
|
6769
7167
|
): OperationResponse<Paths.CleanupSessions.Responses.$200>
|
|
6770
7168
|
}
|
|
6771
|
-
['/chat/sessions']: {
|
|
6772
|
-
/**
|
|
6773
|
-
* GetChatSessions
|
|
6774
|
-
*/
|
|
6775
|
-
'get'(
|
|
6776
|
-
parameters?: Parameters<Paths.GetChatSessions.QueryParameters> | null,
|
|
6777
|
-
data?: any,
|
|
6778
|
-
config?: AxiosRequestConfig
|
|
6779
|
-
): OperationResponse<Paths.GetChatSessions.Responses.$200>
|
|
6780
|
-
/**
|
|
6781
|
-
* CreateChatSession
|
|
6782
|
-
*/
|
|
6783
|
-
'post'(
|
|
6784
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6785
|
-
data?: Paths.CreateChatSession.RequestBody,
|
|
6786
|
-
config?: AxiosRequestConfig
|
|
6787
|
-
): OperationResponse<Paths.CreateChatSession.Responses.$200>
|
|
6788
|
-
}
|
|
6789
|
-
['/chat/sessions/{sessionId}']: {
|
|
6790
|
-
/**
|
|
6791
|
-
* GetChatSession
|
|
6792
|
-
*/
|
|
6793
|
-
'get'(
|
|
6794
|
-
parameters?: Parameters<Paths.GetChatSession.PathParameters> | null,
|
|
6795
|
-
data?: any,
|
|
6796
|
-
config?: AxiosRequestConfig
|
|
6797
|
-
): OperationResponse<Paths.GetChatSession.Responses.$200>
|
|
6798
|
-
/**
|
|
6799
|
-
* UpdateChatSession
|
|
6800
|
-
*/
|
|
6801
|
-
'put'(
|
|
6802
|
-
parameters?: Parameters<Paths.UpdateChatSession.PathParameters> | null,
|
|
6803
|
-
data?: Paths.UpdateChatSession.RequestBody,
|
|
6804
|
-
config?: AxiosRequestConfig
|
|
6805
|
-
): OperationResponse<Paths.UpdateChatSession.Responses.$200>
|
|
6806
|
-
/**
|
|
6807
|
-
* DeleteChatSession
|
|
6808
|
-
*/
|
|
6809
|
-
'delete'(
|
|
6810
|
-
parameters?: Parameters<Paths.DeleteChatSession.PathParameters> | null,
|
|
6811
|
-
data?: any,
|
|
6812
|
-
config?: AxiosRequestConfig
|
|
6813
|
-
): OperationResponse<Paths.DeleteChatSession.Responses.$204>
|
|
6814
|
-
}
|
|
6815
|
-
['/chat/sessions/{sessionId}/messages']: {
|
|
6816
|
-
/**
|
|
6817
|
-
* GetChatSessionMessages
|
|
6818
|
-
*/
|
|
6819
|
-
'get'(
|
|
6820
|
-
parameters?: Parameters<Paths.GetChatSessionMessages.PathParameters> | null,
|
|
6821
|
-
data?: any,
|
|
6822
|
-
config?: AxiosRequestConfig
|
|
6823
|
-
): OperationResponse<Paths.GetChatSessionMessages.Responses.$200>
|
|
6824
|
-
/**
|
|
6825
|
-
* CreateChatMessage
|
|
6826
|
-
*/
|
|
6827
|
-
'post'(
|
|
6828
|
-
parameters?: Parameters<Paths.CreateChatMessage.PathParameters> | null,
|
|
6829
|
-
data?: Paths.CreateChatMessage.RequestBody,
|
|
6830
|
-
config?: AxiosRequestConfig
|
|
6831
|
-
): OperationResponse<Paths.CreateChatMessage.Responses.$200>
|
|
6832
|
-
}
|
|
6833
|
-
['/chat/sessions/{sessionId}/messages/{messageId}']: {
|
|
6834
|
-
/**
|
|
6835
|
-
* DeleteChatMessage
|
|
6836
|
-
*/
|
|
6837
|
-
'delete'(
|
|
6838
|
-
parameters?: Parameters<Paths.DeleteChatMessage.PathParameters> | null,
|
|
6839
|
-
data?: any,
|
|
6840
|
-
config?: AxiosRequestConfig
|
|
6841
|
-
): OperationResponse<Paths.DeleteChatMessage.Responses.$204>
|
|
6842
|
-
}
|
|
6843
|
-
['/chat/public']: {
|
|
6844
|
-
/**
|
|
6845
|
-
* PublicChat
|
|
6846
|
-
*/
|
|
6847
|
-
'post'(
|
|
6848
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6849
|
-
data?: Paths.PublicChat.RequestBody,
|
|
6850
|
-
config?: AxiosRequestConfig
|
|
6851
|
-
): OperationResponse<Paths.PublicChat.Responses.$200>
|
|
6852
|
-
}
|
|
6853
|
-
['/chat/sessions/from-thread']: {
|
|
6854
|
-
/**
|
|
6855
|
-
* CreateSessionFromThread
|
|
6856
|
-
*/
|
|
6857
|
-
'post'(
|
|
6858
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6859
|
-
data?: Paths.CreateSessionFromThread.RequestBody,
|
|
6860
|
-
config?: AxiosRequestConfig
|
|
6861
|
-
): OperationResponse<Paths.CreateSessionFromThread.Responses.$200>
|
|
6862
|
-
}
|
|
6863
|
-
['/chat/tasks']: {
|
|
6864
|
-
/**
|
|
6865
|
-
* CreateMessageTask
|
|
6866
|
-
*/
|
|
6867
|
-
'post'(
|
|
6868
|
-
parameters?: Parameters<UnknownParamsObject> | null,
|
|
6869
|
-
data?: Paths.CreateMessageTask.RequestBody,
|
|
6870
|
-
config?: AxiosRequestConfig
|
|
6871
|
-
): OperationResponse<Paths.CreateMessageTask.Responses.$200>
|
|
6872
|
-
}
|
|
6873
|
-
['/chat/tasks/{taskId}']: {
|
|
6874
|
-
/**
|
|
6875
|
-
* UpdateOrgTask
|
|
6876
|
-
*/
|
|
6877
|
-
'put'(
|
|
6878
|
-
parameters?: Parameters<Paths.UpdateOrgTask.PathParameters> | null,
|
|
6879
|
-
data?: Paths.UpdateOrgTask.RequestBody,
|
|
6880
|
-
config?: AxiosRequestConfig
|
|
6881
|
-
): OperationResponse<Paths.UpdateOrgTask.Responses.$200>
|
|
6882
|
-
}
|
|
6883
7169
|
['/ai/chat/completions']: {
|
|
6884
7170
|
/**
|
|
6885
7171
|
* CreateChatCompletion - Create a chat completion
|
|
@@ -6938,8 +7224,11 @@ export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
|
6938
7224
|
export type AICompletionOptions = Components.Schemas.AICompletionOptions;
|
|
6939
7225
|
export type AIEmbeddingOptions = Components.Schemas.AIEmbeddingOptions;
|
|
6940
7226
|
export type AddCommentRequest = Components.Schemas.AddCommentRequest;
|
|
7227
|
+
export type ApiKeyAuthConfig = Components.Schemas.ApiKeyAuthConfig;
|
|
6941
7228
|
export type ApproveSessionResponse = Components.Schemas.ApproveSessionResponse;
|
|
7229
|
+
export type AuthStatusResponse = Components.Schemas.AuthStatusResponse;
|
|
6942
7230
|
export type AutoReloadSettings = Components.Schemas.AutoReloadSettings;
|
|
7231
|
+
export type BasicAuthConfig = Components.Schemas.BasicAuthConfig;
|
|
6943
7232
|
export type ChatCompletionResponse = Components.Schemas.ChatCompletionResponse;
|
|
6944
7233
|
export type CliLoginSessionStatus = Components.Schemas.CliLoginSessionStatus;
|
|
6945
7234
|
export type CompletionResponse = Components.Schemas.CompletionResponse;
|
|
@@ -6982,6 +7271,8 @@ export type FilterType_Prisma_OrgFileUpdateWithoutOrganizationInput_OrgFileOptio
|
|
|
6982
7271
|
export type Generate2FAResponse = Components.Schemas.Generate2FAResponse;
|
|
6983
7272
|
export type Get2FAStatusResponse = Components.Schemas.Get2FAStatusResponse;
|
|
6984
7273
|
export type HealthCheckResponse = Components.Schemas.HealthCheckResponse;
|
|
7274
|
+
export type InitiateOAuthRequest = Components.Schemas.InitiateOAuthRequest;
|
|
7275
|
+
export type InitiateOAuthResponse = Components.Schemas.InitiateOAuthResponse;
|
|
6985
7276
|
export type InputJsonArray = Components.Schemas.InputJsonArray;
|
|
6986
7277
|
export type InputJsonObject = Components.Schemas.InputJsonObject;
|
|
6987
7278
|
export type InputJsonValue = Components.Schemas.InputJsonValue;
|
|
@@ -6991,6 +7282,7 @@ export type JsonValue = Components.Schemas.JsonValue;
|
|
|
6991
7282
|
export type LivenessResponse = Components.Schemas.LivenessResponse;
|
|
6992
7283
|
export type MarkCompletedRequest = Components.Schemas.MarkCompletedRequest;
|
|
6993
7284
|
export type MarkCompletedResponse = Components.Schemas.MarkCompletedResponse;
|
|
7285
|
+
export type McpAuthConfig = Components.Schemas.McpAuthConfig;
|
|
6994
7286
|
export type Message = Components.Schemas.Message;
|
|
6995
7287
|
export type MessageContent = Components.Schemas.MessageContent;
|
|
6996
7288
|
export type N$16_Enums_CheckState = Components.Schemas.N$16EnumsCheckState;
|
|
@@ -6999,7 +7291,10 @@ export type N$16_Enums_FundingMethod = Components.Schemas.N$16EnumsFundingMethod
|
|
|
6999
7291
|
export type N$16_Enums_TaskState = Components.Schemas.N$16EnumsTaskState;
|
|
7000
7292
|
export type N$16_Enums_UserRole = Components.Schemas.N$16EnumsUserRole;
|
|
7001
7293
|
export type N$16_Enums_WaitlistStatus = Components.Schemas.N$16EnumsWaitlistStatus;
|
|
7294
|
+
export type NoAuthConfig = Components.Schemas.NoAuthConfig;
|
|
7002
7295
|
export type NullablePartial_Pick_Prisma_OrganizationUncheckedUpdateWithoutUsersInput_OrganizationOptionalFields__ = Components.Schemas.NullablePartialPickPrismaOrganizationUncheckedUpdateWithoutUsersInputOrganizationOptionalFields;
|
|
7296
|
+
export type OAuth21DynamicAuthConfig = Components.Schemas.OAuth21DynamicAuthConfig;
|
|
7297
|
+
export type OAuth21StaticAuthConfig = Components.Schemas.OAuth21StaticAuthConfig;
|
|
7003
7298
|
export type Omit_EmbedSource_output_ = Components.Schemas.OmitEmbedSourceOutput;
|
|
7004
7299
|
export type Omit_PartialBy_Prisma_OrgEmbeddingUpdateWithoutOrganizationInput_OrgEmbeddingOptionalFields__OrgEmbeddingExcludedFields_ = Components.Schemas.OmitPartialByPrismaOrgEmbeddingUpdateWithoutOrganizationInputOrgEmbeddingOptionalFieldsOrgEmbeddingExcludedFields;
|
|
7005
7300
|
export type Omit_PartialBy_Prisma_OrgFileUpdateWithoutOrganizationInput_OrgFileOptionalFields__OrgFileExcludedFields_ = Components.Schemas.OmitPartialByPrismaOrgFileUpdateWithoutOrganizationInputOrgFileOptionalFieldsOrgFileExcludedFields;
|
|
@@ -7045,6 +7340,8 @@ export type Prisma_NullableStringFieldUpdateOperationsInput = Components.Schemas
|
|
|
7045
7340
|
export type Prisma_OrgEmbeddingCreateWithoutOrganizationInput = Components.Schemas.PrismaOrgEmbeddingCreateWithoutOrganizationInput;
|
|
7046
7341
|
export type Prisma_OrgFileCreateWithoutOrganizationInput = Components.Schemas.PrismaOrgFileCreateWithoutOrganizationInput;
|
|
7047
7342
|
export type Prisma_StringFieldUpdateOperationsInput = Components.Schemas.PrismaStringFieldUpdateOperationsInput;
|
|
7343
|
+
export type ProbeRequest = Components.Schemas.ProbeRequest;
|
|
7344
|
+
export type ProbeResponse = Components.Schemas.ProbeResponse;
|
|
7048
7345
|
export type PublicChatRequest = Components.Schemas.PublicChatRequest;
|
|
7049
7346
|
export type PurchaseHistoryResponse = Components.Schemas.PurchaseHistoryResponse;
|
|
7050
7347
|
export type ReadinessResponse = Components.Schemas.ReadinessResponse;
|