@caido/sdk-frontend 0.50.3-beta.4 → 0.50.3-beta.5
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/package.json
CHANGED
|
@@ -132,6 +132,47 @@ export type Scalars = {
|
|
|
132
132
|
output: string;
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
|
+
export declare const AiErrorReason: {
|
|
136
|
+
readonly InvalidAuthentication: "INVALID_AUTHENTICATION";
|
|
137
|
+
readonly ProviderNotConfigured: "PROVIDER_NOT_CONFIGURED";
|
|
138
|
+
readonly RequestMalformed: "REQUEST_MALFORMED";
|
|
139
|
+
};
|
|
140
|
+
export type AiErrorReason = (typeof AiErrorReason)[keyof typeof AiErrorReason];
|
|
141
|
+
export type AiProviderAnthropic = {
|
|
142
|
+
apiKey: Scalars["Sensitive"]["output"];
|
|
143
|
+
};
|
|
144
|
+
export type AiProviderAnthropicInput = {
|
|
145
|
+
apiKey: Scalars["Sensitive"]["input"];
|
|
146
|
+
};
|
|
147
|
+
export type AiProviderGoogle = {
|
|
148
|
+
apiKey: Scalars["Sensitive"]["output"];
|
|
149
|
+
};
|
|
150
|
+
export type AiProviderGoogleInput = {
|
|
151
|
+
apiKey: Scalars["Sensitive"]["input"];
|
|
152
|
+
};
|
|
153
|
+
export type AiProviderOpenAi = {
|
|
154
|
+
apiKey: Scalars["Sensitive"]["output"];
|
|
155
|
+
};
|
|
156
|
+
export type AiProviderOpenAiInput = {
|
|
157
|
+
apiKey: Scalars["Sensitive"]["input"];
|
|
158
|
+
};
|
|
159
|
+
export type AiProviderOpenRouter = {
|
|
160
|
+
apiKey: Scalars["Sensitive"]["output"];
|
|
161
|
+
};
|
|
162
|
+
export type AiProviderOpenRouterInput = {
|
|
163
|
+
apiKey: Scalars["Sensitive"]["input"];
|
|
164
|
+
};
|
|
165
|
+
export type AiProviders = {
|
|
166
|
+
anthropic?: Maybe<AiProviderAnthropic>;
|
|
167
|
+
google?: Maybe<AiProviderGoogle>;
|
|
168
|
+
openai?: Maybe<AiProviderOpenAi>;
|
|
169
|
+
openrouter?: Maybe<AiProviderOpenRouter>;
|
|
170
|
+
};
|
|
171
|
+
export type AiUserError = UserError & {
|
|
172
|
+
code: Scalars["String"]["output"];
|
|
173
|
+
message: Scalars["String"]["output"];
|
|
174
|
+
reason: AiErrorReason;
|
|
175
|
+
};
|
|
135
176
|
export type AliasTakenUserError = UserError & {
|
|
136
177
|
alias: Scalars["String"]["output"];
|
|
137
178
|
code: Scalars["String"]["output"];
|
|
@@ -1477,6 +1518,9 @@ export type InstallPluginPackagePayload = {
|
|
|
1477
1518
|
error?: Maybe<InstallPluginPackageError>;
|
|
1478
1519
|
package?: Maybe<PluginPackage>;
|
|
1479
1520
|
};
|
|
1521
|
+
export type InstanceSettings = {
|
|
1522
|
+
aiProviders: AiProviders;
|
|
1523
|
+
};
|
|
1480
1524
|
export type InterceptEntry = {
|
|
1481
1525
|
id: Scalars["ID"]["output"];
|
|
1482
1526
|
request: Request;
|
|
@@ -1747,6 +1791,7 @@ export type MutationRoot = {
|
|
|
1747
1791
|
setGlobalConfigOnboarding: SetConfigOnboardingPayload;
|
|
1748
1792
|
setGlobalConfigPort: SetConfigPortPayload;
|
|
1749
1793
|
setGlobalConfigProject: SetConfigProjectPayload;
|
|
1794
|
+
setInstanceSettings: SetInstanceSettingsPayload;
|
|
1750
1795
|
setInterceptOptions: SetInterceptOptionsPayload;
|
|
1751
1796
|
setPluginData: SetPluginDataPayload;
|
|
1752
1797
|
setProjectConfigStream: SetProjectConfigStreamPayload;
|
|
@@ -1754,6 +1799,7 @@ export type MutationRoot = {
|
|
|
1754
1799
|
startAutomateTask: StartAutomateTaskPayload;
|
|
1755
1800
|
startExportRequestsTask: StartExportRequestsTaskPayload;
|
|
1756
1801
|
startReplayTask: StartReplayTaskPayload;
|
|
1802
|
+
testAiProvider: TestAiProviderPayload;
|
|
1757
1803
|
testTamperRule: TestTamperRulePayload;
|
|
1758
1804
|
testUpstreamProxyHttp: TestUpstreamProxyHttpPayload;
|
|
1759
1805
|
testUpstreamProxySocks: TestUpstreamProxySocksPayload;
|
|
@@ -2074,6 +2120,9 @@ export type MutationRootSetGlobalConfigPortArgs = {
|
|
|
2074
2120
|
export type MutationRootSetGlobalConfigProjectArgs = {
|
|
2075
2121
|
input: SetConfigProjectInput;
|
|
2076
2122
|
};
|
|
2123
|
+
export type MutationRootSetInstanceSettingsArgs = {
|
|
2124
|
+
input: SetInstanceSettingsInput;
|
|
2125
|
+
};
|
|
2077
2126
|
export type MutationRootSetInterceptOptionsArgs = {
|
|
2078
2127
|
input: InterceptOptionsInput;
|
|
2079
2128
|
};
|
|
@@ -2094,6 +2143,9 @@ export type MutationRootStartReplayTaskArgs = {
|
|
|
2094
2143
|
input: StartReplayTaskInput;
|
|
2095
2144
|
sessionId: Scalars["ID"]["input"];
|
|
2096
2145
|
};
|
|
2146
|
+
export type MutationRootTestAiProviderArgs = {
|
|
2147
|
+
input: TestAiProviderInput;
|
|
2148
|
+
};
|
|
2097
2149
|
export type MutationRootTestTamperRuleArgs = {
|
|
2098
2150
|
input: TestTamperRuleInput;
|
|
2099
2151
|
};
|
|
@@ -2236,7 +2288,7 @@ export type PauseInterceptPayload = {
|
|
|
2236
2288
|
export declare const PermissionDeniedErrorReason: {
|
|
2237
2289
|
readonly Entitlement: "ENTITLEMENT";
|
|
2238
2290
|
readonly GuestUser: "GUEST_USER";
|
|
2239
|
-
readonly
|
|
2291
|
+
readonly ScriptUser: "SCRIPT_USER";
|
|
2240
2292
|
};
|
|
2241
2293
|
export type PermissionDeniedErrorReason = (typeof PermissionDeniedErrorReason)[keyof typeof PermissionDeniedErrorReason];
|
|
2242
2294
|
export type PermissionDeniedUserError = UserError & {
|
|
@@ -2306,9 +2358,15 @@ export type PluginPackage = {
|
|
|
2306
2358
|
export type PluginPackageSource = {
|
|
2307
2359
|
file: Scalars["Upload"]["input"];
|
|
2308
2360
|
manifestId?: never;
|
|
2361
|
+
url?: never;
|
|
2309
2362
|
} | {
|
|
2310
2363
|
file?: never;
|
|
2311
2364
|
manifestId: Scalars["ID"]["input"];
|
|
2365
|
+
url?: never;
|
|
2366
|
+
} | {
|
|
2367
|
+
file?: never;
|
|
2368
|
+
manifestId?: never;
|
|
2369
|
+
url: Scalars["Url"]["input"];
|
|
2312
2370
|
};
|
|
2313
2371
|
export declare const PluginRuntime: {
|
|
2314
2372
|
readonly Javascript: "JAVASCRIPT";
|
|
@@ -2404,6 +2462,7 @@ export type QueryRoot = {
|
|
|
2404
2462
|
findingsByOffset: FindingConnection;
|
|
2405
2463
|
globalConfig: GlobalConfig;
|
|
2406
2464
|
hostedFiles: Array<HostedFile>;
|
|
2465
|
+
instanceSettings: InstanceSettings;
|
|
2407
2466
|
interceptEntries: InterceptEntryConnection;
|
|
2408
2467
|
interceptEntriesByOffset: InterceptEntryConnection;
|
|
2409
2468
|
interceptEntry?: Maybe<InterceptEntry>;
|
|
@@ -3128,6 +3187,12 @@ export type SetConfigProjectInput = {
|
|
|
3128
3187
|
export type SetConfigProjectPayload = {
|
|
3129
3188
|
config: GlobalConfig;
|
|
3130
3189
|
};
|
|
3190
|
+
export type SetInstanceSettingsInput = {
|
|
3191
|
+
aiProvider: SettingsAiProviderInput;
|
|
3192
|
+
};
|
|
3193
|
+
export type SetInstanceSettingsPayload = {
|
|
3194
|
+
settings: InstanceSettings;
|
|
3195
|
+
};
|
|
3131
3196
|
export type SetInterceptOptionsPayload = {
|
|
3132
3197
|
options: InterceptOptions;
|
|
3133
3198
|
};
|
|
@@ -3139,6 +3204,27 @@ export type SetPluginDataPayload = {
|
|
|
3139
3204
|
export type SetProjectConfigStreamPayload = {
|
|
3140
3205
|
config: ProjectConfigStream;
|
|
3141
3206
|
};
|
|
3207
|
+
export type SettingsAiProviderInput = {
|
|
3208
|
+
anthropic: AiProviderAnthropicInput;
|
|
3209
|
+
google?: never;
|
|
3210
|
+
openai?: never;
|
|
3211
|
+
openrouter?: never;
|
|
3212
|
+
} | {
|
|
3213
|
+
anthropic?: never;
|
|
3214
|
+
google: AiProviderGoogleInput;
|
|
3215
|
+
openai?: never;
|
|
3216
|
+
openrouter?: never;
|
|
3217
|
+
} | {
|
|
3218
|
+
anthropic?: never;
|
|
3219
|
+
google?: never;
|
|
3220
|
+
openai: AiProviderOpenAiInput;
|
|
3221
|
+
openrouter?: never;
|
|
3222
|
+
} | {
|
|
3223
|
+
anthropic?: never;
|
|
3224
|
+
google?: never;
|
|
3225
|
+
openai?: never;
|
|
3226
|
+
openrouter: AiProviderOpenRouterInput;
|
|
3227
|
+
};
|
|
3142
3228
|
export declare const SitemapDescendantsDepth: {
|
|
3143
3229
|
readonly All: "ALL";
|
|
3144
3230
|
readonly Direct: "DIRECT";
|
|
@@ -3459,6 +3545,7 @@ export type SubscriptionRoot = {
|
|
|
3459
3545
|
updatedFilterPreset: UpdatedFilterPresetPayload;
|
|
3460
3546
|
updatedFindings: UpdatedFindingsPayload;
|
|
3461
3547
|
updatedHostedFile: UpdatedHostedFilePayload;
|
|
3548
|
+
updatedInstanceSettings: UpdatedInstanceSettingsPayload;
|
|
3462
3549
|
updatedInterceptEntry: UpdatedInterceptEntryPayload;
|
|
3463
3550
|
updatedInterceptOptions: UpdatedInterceptOptionsPayload;
|
|
3464
3551
|
updatedInterceptStatus: UpdatedInterceptStatusPayload;
|
|
@@ -3938,6 +4025,32 @@ export type TaskInProgressUserError = UserError & {
|
|
|
3938
4025
|
code: Scalars["String"]["output"];
|
|
3939
4026
|
taskId: Scalars["ID"]["output"];
|
|
3940
4027
|
};
|
|
4028
|
+
export type TestAiProviderError = AiUserError | OtherUserError;
|
|
4029
|
+
export type TestAiProviderInput = {
|
|
4030
|
+
anthropic: AiProviderAnthropicInput;
|
|
4031
|
+
google?: never;
|
|
4032
|
+
openai?: never;
|
|
4033
|
+
openrouter?: never;
|
|
4034
|
+
} | {
|
|
4035
|
+
anthropic?: never;
|
|
4036
|
+
google: AiProviderGoogleInput;
|
|
4037
|
+
openai?: never;
|
|
4038
|
+
openrouter?: never;
|
|
4039
|
+
} | {
|
|
4040
|
+
anthropic?: never;
|
|
4041
|
+
google?: never;
|
|
4042
|
+
openai: AiProviderOpenAiInput;
|
|
4043
|
+
openrouter?: never;
|
|
4044
|
+
} | {
|
|
4045
|
+
anthropic?: never;
|
|
4046
|
+
google?: never;
|
|
4047
|
+
openai?: never;
|
|
4048
|
+
openrouter: AiProviderOpenRouterInput;
|
|
4049
|
+
};
|
|
4050
|
+
export type TestAiProviderPayload = {
|
|
4051
|
+
error?: Maybe<TestAiProviderError>;
|
|
4052
|
+
success?: Maybe<Scalars["Boolean"]["output"]>;
|
|
4053
|
+
};
|
|
3941
4054
|
export type TestTamperRuleError = InvalidRegexUserError | OtherUserError;
|
|
3942
4055
|
export type TestTamperRuleInput = {
|
|
3943
4056
|
raw: Scalars["Blob"]["input"];
|
|
@@ -4215,6 +4328,9 @@ export type UpdatedFindingsPayload = {
|
|
|
4215
4328
|
export type UpdatedHostedFilePayload = {
|
|
4216
4329
|
hostedFile: HostedFile;
|
|
4217
4330
|
};
|
|
4331
|
+
export type UpdatedInstanceSettingsPayload = {
|
|
4332
|
+
settings: InstanceSettings;
|
|
4333
|
+
};
|
|
4218
4334
|
export type UpdatedInterceptEntryPayload = {
|
|
4219
4335
|
interceptEntryEdge: InterceptEntryEdge;
|
|
4220
4336
|
snapshot: Scalars["Snapshot"]["output"];
|
|
@@ -8174,6 +8290,10 @@ export type InvalidGlobTermsUserErrorFullFragment = {
|
|
|
8174
8290
|
terms: Array<string>;
|
|
8175
8291
|
code: string;
|
|
8176
8292
|
};
|
|
8293
|
+
type UserErrorFull_AiUserError_Fragment = {
|
|
8294
|
+
__typename: "AIUserError";
|
|
8295
|
+
code: string;
|
|
8296
|
+
};
|
|
8177
8297
|
type UserErrorFull_AliasTakenUserError_Fragment = {
|
|
8178
8298
|
__typename: "AliasTakenUserError";
|
|
8179
8299
|
code: string;
|
|
@@ -8278,7 +8398,7 @@ type UserErrorFull_WorkflowUserError_Fragment = {
|
|
|
8278
8398
|
__typename: "WorkflowUserError";
|
|
8279
8399
|
code: string;
|
|
8280
8400
|
};
|
|
8281
|
-
export type UserErrorFullFragment = UserErrorFull_AliasTakenUserError_Fragment | UserErrorFull_AssistantUserError_Fragment | UserErrorFull_AuthenticationUserError_Fragment | UserErrorFull_AuthorizationUserError_Fragment | UserErrorFull_AutomateTaskUserError_Fragment | UserErrorFull_BackupUserError_Fragment | UserErrorFull_CertificateUserError_Fragment | UserErrorFull_CloudUserError_Fragment | UserErrorFull_InternalUserError_Fragment | UserErrorFull_InvalidGlobTermsUserError_Fragment | UserErrorFull_InvalidHttpqlUserError_Fragment | UserErrorFull_InvalidRegexUserError_Fragment | UserErrorFull_NameTakenUserError_Fragment | UserErrorFull_NewerVersionUserError_Fragment | UserErrorFull_OtherUserError_Fragment | UserErrorFull_PermissionDeniedUserError_Fragment | UserErrorFull_PluginUserError_Fragment | UserErrorFull_ProjectUserError_Fragment | UserErrorFull_RankUserError_Fragment | UserErrorFull_ReadOnlyUserError_Fragment | UserErrorFull_RenderFailedUserError_Fragment | UserErrorFull_StoreUserError_Fragment | UserErrorFull_TaskInProgressUserError_Fragment | UserErrorFull_UnknownIdUserError_Fragment | UserErrorFull_UnsupportedPlatformUserError_Fragment | UserErrorFull_WorkflowUserError_Fragment;
|
|
8401
|
+
export type UserErrorFullFragment = UserErrorFull_AiUserError_Fragment | UserErrorFull_AliasTakenUserError_Fragment | UserErrorFull_AssistantUserError_Fragment | UserErrorFull_AuthenticationUserError_Fragment | UserErrorFull_AuthorizationUserError_Fragment | UserErrorFull_AutomateTaskUserError_Fragment | UserErrorFull_BackupUserError_Fragment | UserErrorFull_CertificateUserError_Fragment | UserErrorFull_CloudUserError_Fragment | UserErrorFull_InternalUserError_Fragment | UserErrorFull_InvalidGlobTermsUserError_Fragment | UserErrorFull_InvalidHttpqlUserError_Fragment | UserErrorFull_InvalidRegexUserError_Fragment | UserErrorFull_NameTakenUserError_Fragment | UserErrorFull_NewerVersionUserError_Fragment | UserErrorFull_OtherUserError_Fragment | UserErrorFull_PermissionDeniedUserError_Fragment | UserErrorFull_PluginUserError_Fragment | UserErrorFull_ProjectUserError_Fragment | UserErrorFull_RankUserError_Fragment | UserErrorFull_ReadOnlyUserError_Fragment | UserErrorFull_RenderFailedUserError_Fragment | UserErrorFull_StoreUserError_Fragment | UserErrorFull_TaskInProgressUserError_Fragment | UserErrorFull_UnknownIdUserError_Fragment | UserErrorFull_UnsupportedPlatformUserError_Fragment | UserErrorFull_WorkflowUserError_Fragment;
|
|
8282
8402
|
export type InvalidHttpqlUserErrorFullFragment = {
|
|
8283
8403
|
__typename: "InvalidHTTPQLUserError";
|
|
8284
8404
|
query: string;
|
|
@@ -9939,6 +10059,118 @@ export type HostedFilesQuery = {
|
|
|
9939
10059
|
createdAt: Date;
|
|
9940
10060
|
}>;
|
|
9941
10061
|
};
|
|
10062
|
+
export type InstanceSettingsFullFragment = {
|
|
10063
|
+
__typename: "InstanceSettings";
|
|
10064
|
+
aiProviders: {
|
|
10065
|
+
anthropic?: {
|
|
10066
|
+
apiKey: string;
|
|
10067
|
+
} | undefined | null;
|
|
10068
|
+
google?: {
|
|
10069
|
+
apiKey: string;
|
|
10070
|
+
} | undefined | null;
|
|
10071
|
+
openai?: {
|
|
10072
|
+
apiKey: string;
|
|
10073
|
+
} | undefined | null;
|
|
10074
|
+
openrouter?: {
|
|
10075
|
+
apiKey: string;
|
|
10076
|
+
} | undefined | null;
|
|
10077
|
+
};
|
|
10078
|
+
};
|
|
10079
|
+
export type TestAiProviderPayloadFullFragment = {
|
|
10080
|
+
success?: boolean | undefined | null;
|
|
10081
|
+
error?: {
|
|
10082
|
+
code: string;
|
|
10083
|
+
message: string;
|
|
10084
|
+
reason: AiErrorReason;
|
|
10085
|
+
} | {
|
|
10086
|
+
code: string;
|
|
10087
|
+
} | undefined | null;
|
|
10088
|
+
};
|
|
10089
|
+
export type SetInstanceSettingsMutationVariables = Exact<{
|
|
10090
|
+
input: SetInstanceSettingsInput;
|
|
10091
|
+
}>;
|
|
10092
|
+
export type SetInstanceSettingsMutation = {
|
|
10093
|
+
setInstanceSettings: {
|
|
10094
|
+
settings: {
|
|
10095
|
+
__typename: "InstanceSettings";
|
|
10096
|
+
aiProviders: {
|
|
10097
|
+
anthropic?: {
|
|
10098
|
+
apiKey: string;
|
|
10099
|
+
} | undefined | null;
|
|
10100
|
+
google?: {
|
|
10101
|
+
apiKey: string;
|
|
10102
|
+
} | undefined | null;
|
|
10103
|
+
openai?: {
|
|
10104
|
+
apiKey: string;
|
|
10105
|
+
} | undefined | null;
|
|
10106
|
+
openrouter?: {
|
|
10107
|
+
apiKey: string;
|
|
10108
|
+
} | undefined | null;
|
|
10109
|
+
};
|
|
10110
|
+
};
|
|
10111
|
+
};
|
|
10112
|
+
};
|
|
10113
|
+
export type TestAiProviderMutationVariables = Exact<{
|
|
10114
|
+
input: TestAiProviderInput;
|
|
10115
|
+
}>;
|
|
10116
|
+
export type TestAiProviderMutation = {
|
|
10117
|
+
testAiProvider: {
|
|
10118
|
+
success?: boolean | undefined | null;
|
|
10119
|
+
error?: {
|
|
10120
|
+
code: string;
|
|
10121
|
+
message: string;
|
|
10122
|
+
reason: AiErrorReason;
|
|
10123
|
+
} | {
|
|
10124
|
+
code: string;
|
|
10125
|
+
} | undefined | null;
|
|
10126
|
+
};
|
|
10127
|
+
};
|
|
10128
|
+
export type InstanceSettingsQueryVariables = Exact<{
|
|
10129
|
+
[key: string]: never;
|
|
10130
|
+
}>;
|
|
10131
|
+
export type InstanceSettingsQuery = {
|
|
10132
|
+
instanceSettings: {
|
|
10133
|
+
__typename: "InstanceSettings";
|
|
10134
|
+
aiProviders: {
|
|
10135
|
+
anthropic?: {
|
|
10136
|
+
apiKey: string;
|
|
10137
|
+
} | undefined | null;
|
|
10138
|
+
google?: {
|
|
10139
|
+
apiKey: string;
|
|
10140
|
+
} | undefined | null;
|
|
10141
|
+
openai?: {
|
|
10142
|
+
apiKey: string;
|
|
10143
|
+
} | undefined | null;
|
|
10144
|
+
openrouter?: {
|
|
10145
|
+
apiKey: string;
|
|
10146
|
+
} | undefined | null;
|
|
10147
|
+
};
|
|
10148
|
+
};
|
|
10149
|
+
};
|
|
10150
|
+
export type UpdatedInstanceSettingsSubscriptionVariables = Exact<{
|
|
10151
|
+
[key: string]: never;
|
|
10152
|
+
}>;
|
|
10153
|
+
export type UpdatedInstanceSettingsSubscription = {
|
|
10154
|
+
updatedInstanceSettings: {
|
|
10155
|
+
settings: {
|
|
10156
|
+
__typename: "InstanceSettings";
|
|
10157
|
+
aiProviders: {
|
|
10158
|
+
anthropic?: {
|
|
10159
|
+
apiKey: string;
|
|
10160
|
+
} | undefined | null;
|
|
10161
|
+
google?: {
|
|
10162
|
+
apiKey: string;
|
|
10163
|
+
} | undefined | null;
|
|
10164
|
+
openai?: {
|
|
10165
|
+
apiKey: string;
|
|
10166
|
+
} | undefined | null;
|
|
10167
|
+
openrouter?: {
|
|
10168
|
+
apiKey: string;
|
|
10169
|
+
} | undefined | null;
|
|
10170
|
+
};
|
|
10171
|
+
};
|
|
10172
|
+
};
|
|
10173
|
+
};
|
|
9942
10174
|
export type InterceptRequestMessageMetaFragment = {
|
|
9943
10175
|
__typename: "InterceptRequestMessage";
|
|
9944
10176
|
id: string;
|
|
@@ -20951,6 +21183,8 @@ export type FinishedTaskSubscription = {
|
|
|
20951
21183
|
code: string;
|
|
20952
21184
|
} | {
|
|
20953
21185
|
code: string;
|
|
21186
|
+
} | {
|
|
21187
|
+
code: string;
|
|
20954
21188
|
} | undefined | null;
|
|
20955
21189
|
};
|
|
20956
21190
|
};
|
|
@@ -22073,6 +22307,8 @@ export declare const InterceptEntryFullFragmentDoc = "\n fragment interceptEn
|
|
|
22073
22307
|
export declare const InterceptEntryEdgeMetaFragmentDoc = "\n fragment interceptEntryEdgeMeta on InterceptEntryEdge {\n __typename\n cursor\n node {\n ...interceptEntryMeta\n }\n}\n ";
|
|
22074
22308
|
export declare const DeleteInterceptEntriesTaskFullFragmentDoc = "\n fragment deleteInterceptEntriesTaskFull on DeleteInterceptEntriesTask {\n __typename\n id\n deletedEntryIds\n}\n ";
|
|
22075
22309
|
export declare const HostedFileFullFragmentDoc = "\n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
|
|
22310
|
+
export declare const InstanceSettingsFullFragmentDoc = "\n fragment instanceSettingsFull on InstanceSettings {\n __typename\n aiProviders {\n anthropic {\n apiKey\n }\n google {\n apiKey\n }\n openai {\n apiKey\n }\n openrouter {\n apiKey\n }\n }\n}\n ";
|
|
22311
|
+
export declare const TestAiProviderPayloadFullFragmentDoc = "\n fragment testAiProviderPayloadFull on TestAIProviderPayload {\n error {\n ... on AIUserError {\n code\n message\n reason\n }\n ... on OtherUserError {\n code\n }\n }\n success\n}\n ";
|
|
22076
22312
|
export declare const InterceptRequestMessageMetaFragmentDoc = "\n fragment interceptRequestMessageMeta on InterceptRequestMessage {\n __typename\n id\n request {\n ...requestMeta\n }\n}\n ";
|
|
22077
22313
|
export declare const InterceptResponseMessageMetaFragmentDoc = "\n fragment interceptResponseMessageMeta on InterceptResponseMessage {\n __typename\n id\n response {\n ...responseMeta\n }\n request {\n ...requestMeta\n }\n}\n ";
|
|
22078
22314
|
export declare const StreamWsMessageEditRefFragmentDoc = "\n fragment streamWsMessageEditRef on StreamWsMessageEditRef {\n id\n alteration\n}\n ";
|
|
@@ -22309,6 +22545,10 @@ export declare const DeleteHostedFileDocument = "\n mutation deleteHostedFile
|
|
|
22309
22545
|
export declare const RenameHostedFileDocument = "\n mutation renameHostedFile($id: ID!, $name: String!) {\n renameHostedFile(id: $id, name: $name) {\n hostedFile {\n ...hostedFileFull\n }\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
|
|
22310
22546
|
export declare const UploadHostedFileDocument = "\n mutation uploadHostedFile($input: UploadHostedFileInput!) {\n uploadHostedFile(input: $input) {\n hostedFile {\n ...hostedFileFull\n }\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
|
|
22311
22547
|
export declare const HostedFilesDocument = "\n query hostedFiles {\n hostedFiles {\n ...hostedFileFull\n }\n}\n \n fragment hostedFileFull on HostedFile {\n __typename\n id\n name\n path\n size\n status\n updatedAt\n createdAt\n}\n ";
|
|
22548
|
+
export declare const SetInstanceSettingsDocument = "\n mutation setInstanceSettings($input: SetInstanceSettingsInput!) {\n setInstanceSettings(input: $input) {\n settings {\n ...instanceSettingsFull\n }\n }\n}\n \n fragment instanceSettingsFull on InstanceSettings {\n __typename\n aiProviders {\n anthropic {\n apiKey\n }\n google {\n apiKey\n }\n openai {\n apiKey\n }\n openrouter {\n apiKey\n }\n }\n}\n ";
|
|
22549
|
+
export declare const TestAiProviderDocument = "\n mutation testAiProvider($input: TestAIProviderInput!) {\n testAiProvider(input: $input) {\n ...testAiProviderPayloadFull\n }\n}\n \n fragment testAiProviderPayloadFull on TestAIProviderPayload {\n error {\n ... on AIUserError {\n code\n message\n reason\n }\n ... on OtherUserError {\n code\n }\n }\n success\n}\n ";
|
|
22550
|
+
export declare const InstanceSettingsDocument = "\n query instanceSettings {\n instanceSettings {\n ...instanceSettingsFull\n }\n}\n \n fragment instanceSettingsFull on InstanceSettings {\n __typename\n aiProviders {\n anthropic {\n apiKey\n }\n google {\n apiKey\n }\n openai {\n apiKey\n }\n openrouter {\n apiKey\n }\n }\n}\n ";
|
|
22551
|
+
export declare const UpdatedInstanceSettingsDocument = "\n subscription updatedInstanceSettings {\n updatedInstanceSettings {\n settings {\n ...instanceSettingsFull\n }\n }\n}\n \n fragment instanceSettingsFull on InstanceSettings {\n __typename\n aiProviders {\n anthropic {\n apiKey\n }\n google {\n apiKey\n }\n openai {\n apiKey\n }\n openrouter {\n apiKey\n }\n }\n}\n ";
|
|
22312
22552
|
export declare const ForwardInterceptMessageDocument = "\n mutation forwardInterceptMessage($id: ID!, $input: ForwardInterceptMessageInput) {\n forwardInterceptMessage(id: $id, input: $input) {\n forwardedId\n }\n}\n ";
|
|
22313
22553
|
export declare const DropInterceptMesageDocument = "\n mutation dropInterceptMesage($id: ID!) {\n dropInterceptMessage(id: $id) {\n droppedId\n }\n}\n ";
|
|
22314
22554
|
export declare const SetInterceptOptionsDocument = "\n mutation setInterceptOptions($input: InterceptOptionsInput!) {\n setInterceptOptions(input: $input) {\n options {\n ...interceptOptionsMeta\n }\n }\n}\n \n fragment interceptOptionsMeta on InterceptOptions {\n request {\n ...interceptRequestOptionsMeta\n }\n response {\n ...interceptResponseOptionsMeta\n }\n streamWs {\n ...interceptStreamWsOptionsMeta\n }\n scope {\n ...interceptScopeOptionsMeta\n }\n}\n \n\n fragment interceptRequestOptionsMeta on InterceptRequestOptions {\n enabled\n filter\n}\n \n\n fragment interceptResponseOptionsMeta on InterceptResponseOptions {\n enabled\n filter\n}\n \n\n fragment interceptStreamWsOptionsMeta on InterceptStreamWsOptions {\n enabled\n}\n \n\n fragment interceptScopeOptionsMeta on InterceptScopeOptions {\n scopeId\n}\n ";
|
|
@@ -22613,6 +22853,10 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
22613
22853
|
renameHostedFile(variables: RenameHostedFileMutationVariables, options?: C): Promise<RenameHostedFileMutation>;
|
|
22614
22854
|
uploadHostedFile(variables: UploadHostedFileMutationVariables, options?: C): Promise<UploadHostedFileMutation>;
|
|
22615
22855
|
hostedFiles(variables?: HostedFilesQueryVariables, options?: C): Promise<HostedFilesQuery>;
|
|
22856
|
+
setInstanceSettings(variables: SetInstanceSettingsMutationVariables, options?: C): Promise<SetInstanceSettingsMutation>;
|
|
22857
|
+
testAiProvider(variables: TestAiProviderMutationVariables, options?: C): Promise<TestAiProviderMutation>;
|
|
22858
|
+
instanceSettings(variables?: InstanceSettingsQueryVariables, options?: C): Promise<InstanceSettingsQuery>;
|
|
22859
|
+
updatedInstanceSettings(variables?: UpdatedInstanceSettingsSubscriptionVariables, options?: C): AsyncIterable<UpdatedInstanceSettingsSubscription>;
|
|
22616
22860
|
forwardInterceptMessage(variables: ForwardInterceptMessageMutationVariables, options?: C): Promise<ForwardInterceptMessageMutation>;
|
|
22617
22861
|
dropInterceptMesage(variables: DropInterceptMesageMutationVariables, options?: C): Promise<DropInterceptMesageMutation>;
|
|
22618
22862
|
setInterceptOptions(variables: SetInterceptOptionsMutationVariables, options?: C): Promise<SetInterceptOptionsMutation>;
|