@caido/sdk-frontend 0.51.1-beta.2 → 0.51.1
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,47 +132,6 @@ 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
|
-
};
|
|
176
135
|
export type AliasTakenUserError = UserError & {
|
|
177
136
|
alias: Scalars["String"]["output"];
|
|
178
137
|
code: Scalars["String"]["output"];
|
|
@@ -1518,9 +1477,6 @@ export type InstallPluginPackagePayload = {
|
|
|
1518
1477
|
error?: Maybe<InstallPluginPackageError>;
|
|
1519
1478
|
package?: Maybe<PluginPackage>;
|
|
1520
1479
|
};
|
|
1521
|
-
export type InstanceSettings = {
|
|
1522
|
-
aiProviders: AiProviders;
|
|
1523
|
-
};
|
|
1524
1480
|
export type InterceptEntry = {
|
|
1525
1481
|
id: Scalars["ID"]["output"];
|
|
1526
1482
|
request: Request;
|
|
@@ -1791,7 +1747,6 @@ export type MutationRoot = {
|
|
|
1791
1747
|
setGlobalConfigOnboarding: SetConfigOnboardingPayload;
|
|
1792
1748
|
setGlobalConfigPort: SetConfigPortPayload;
|
|
1793
1749
|
setGlobalConfigProject: SetConfigProjectPayload;
|
|
1794
|
-
setInstanceSettings: SetInstanceSettingsPayload;
|
|
1795
1750
|
setInterceptOptions: SetInterceptOptionsPayload;
|
|
1796
1751
|
setPluginData: SetPluginDataPayload;
|
|
1797
1752
|
setProjectConfigStream: SetProjectConfigStreamPayload;
|
|
@@ -1799,7 +1754,6 @@ export type MutationRoot = {
|
|
|
1799
1754
|
startAutomateTask: StartAutomateTaskPayload;
|
|
1800
1755
|
startExportRequestsTask: StartExportRequestsTaskPayload;
|
|
1801
1756
|
startReplayTask: StartReplayTaskPayload;
|
|
1802
|
-
testAiProvider: TestAiProviderPayload;
|
|
1803
1757
|
testTamperRule: TestTamperRulePayload;
|
|
1804
1758
|
testUpstreamProxyHttp: TestUpstreamProxyHttpPayload;
|
|
1805
1759
|
testUpstreamProxySocks: TestUpstreamProxySocksPayload;
|
|
@@ -2120,9 +2074,6 @@ export type MutationRootSetGlobalConfigPortArgs = {
|
|
|
2120
2074
|
export type MutationRootSetGlobalConfigProjectArgs = {
|
|
2121
2075
|
input: SetConfigProjectInput;
|
|
2122
2076
|
};
|
|
2123
|
-
export type MutationRootSetInstanceSettingsArgs = {
|
|
2124
|
-
input: SetInstanceSettingsInput;
|
|
2125
|
-
};
|
|
2126
2077
|
export type MutationRootSetInterceptOptionsArgs = {
|
|
2127
2078
|
input: InterceptOptionsInput;
|
|
2128
2079
|
};
|
|
@@ -2143,9 +2094,6 @@ export type MutationRootStartReplayTaskArgs = {
|
|
|
2143
2094
|
input: StartReplayTaskInput;
|
|
2144
2095
|
sessionId: Scalars["ID"]["input"];
|
|
2145
2096
|
};
|
|
2146
|
-
export type MutationRootTestAiProviderArgs = {
|
|
2147
|
-
input: TestAiProviderInput;
|
|
2148
|
-
};
|
|
2149
2097
|
export type MutationRootTestTamperRuleArgs = {
|
|
2150
2098
|
input: TestTamperRuleInput;
|
|
2151
2099
|
};
|
|
@@ -2288,7 +2236,7 @@ export type PauseInterceptPayload = {
|
|
|
2288
2236
|
export declare const PermissionDeniedErrorReason: {
|
|
2289
2237
|
readonly Entitlement: "ENTITLEMENT";
|
|
2290
2238
|
readonly GuestUser: "GUEST_USER";
|
|
2291
|
-
readonly
|
|
2239
|
+
readonly PluginUser: "PLUGIN_USER";
|
|
2292
2240
|
};
|
|
2293
2241
|
export type PermissionDeniedErrorReason = (typeof PermissionDeniedErrorReason)[keyof typeof PermissionDeniedErrorReason];
|
|
2294
2242
|
export type PermissionDeniedUserError = UserError & {
|
|
@@ -2358,15 +2306,9 @@ export type PluginPackage = {
|
|
|
2358
2306
|
export type PluginPackageSource = {
|
|
2359
2307
|
file: Scalars["Upload"]["input"];
|
|
2360
2308
|
manifestId?: never;
|
|
2361
|
-
url?: never;
|
|
2362
2309
|
} | {
|
|
2363
2310
|
file?: never;
|
|
2364
2311
|
manifestId: Scalars["ID"]["input"];
|
|
2365
|
-
url?: never;
|
|
2366
|
-
} | {
|
|
2367
|
-
file?: never;
|
|
2368
|
-
manifestId?: never;
|
|
2369
|
-
url: Scalars["Url"]["input"];
|
|
2370
2312
|
};
|
|
2371
2313
|
export declare const PluginRuntime: {
|
|
2372
2314
|
readonly Javascript: "JAVASCRIPT";
|
|
@@ -2462,7 +2404,6 @@ export type QueryRoot = {
|
|
|
2462
2404
|
findingsByOffset: FindingConnection;
|
|
2463
2405
|
globalConfig: GlobalConfig;
|
|
2464
2406
|
hostedFiles: Array<HostedFile>;
|
|
2465
|
-
instanceSettings: InstanceSettings;
|
|
2466
2407
|
interceptEntries: InterceptEntryConnection;
|
|
2467
2408
|
interceptEntriesByOffset: InterceptEntryConnection;
|
|
2468
2409
|
interceptEntry?: Maybe<InterceptEntry>;
|
|
@@ -3187,12 +3128,6 @@ export type SetConfigProjectInput = {
|
|
|
3187
3128
|
export type SetConfigProjectPayload = {
|
|
3188
3129
|
config: GlobalConfig;
|
|
3189
3130
|
};
|
|
3190
|
-
export type SetInstanceSettingsInput = {
|
|
3191
|
-
aiProvider: SettingsAiProviderInput;
|
|
3192
|
-
};
|
|
3193
|
-
export type SetInstanceSettingsPayload = {
|
|
3194
|
-
settings: InstanceSettings;
|
|
3195
|
-
};
|
|
3196
3131
|
export type SetInterceptOptionsPayload = {
|
|
3197
3132
|
options: InterceptOptions;
|
|
3198
3133
|
};
|
|
@@ -3204,27 +3139,6 @@ export type SetPluginDataPayload = {
|
|
|
3204
3139
|
export type SetProjectConfigStreamPayload = {
|
|
3205
3140
|
config: ProjectConfigStream;
|
|
3206
3141
|
};
|
|
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
|
-
};
|
|
3228
3142
|
export declare const SitemapDescendantsDepth: {
|
|
3229
3143
|
readonly All: "ALL";
|
|
3230
3144
|
readonly Direct: "DIRECT";
|
|
@@ -3545,7 +3459,6 @@ export type SubscriptionRoot = {
|
|
|
3545
3459
|
updatedFilterPreset: UpdatedFilterPresetPayload;
|
|
3546
3460
|
updatedFindings: UpdatedFindingsPayload;
|
|
3547
3461
|
updatedHostedFile: UpdatedHostedFilePayload;
|
|
3548
|
-
updatedInstanceSettings: UpdatedInstanceSettingsPayload;
|
|
3549
3462
|
updatedInterceptEntry: UpdatedInterceptEntryPayload;
|
|
3550
3463
|
updatedInterceptOptions: UpdatedInterceptOptionsPayload;
|
|
3551
3464
|
updatedInterceptStatus: UpdatedInterceptStatusPayload;
|
|
@@ -4025,32 +3938,6 @@ export type TaskInProgressUserError = UserError & {
|
|
|
4025
3938
|
code: Scalars["String"]["output"];
|
|
4026
3939
|
taskId: Scalars["ID"]["output"];
|
|
4027
3940
|
};
|
|
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
|
-
};
|
|
4054
3941
|
export type TestTamperRuleError = InvalidRegexUserError | OtherUserError;
|
|
4055
3942
|
export type TestTamperRuleInput = {
|
|
4056
3943
|
raw: Scalars["Blob"]["input"];
|
|
@@ -4328,9 +4215,6 @@ export type UpdatedFindingsPayload = {
|
|
|
4328
4215
|
export type UpdatedHostedFilePayload = {
|
|
4329
4216
|
hostedFile: HostedFile;
|
|
4330
4217
|
};
|
|
4331
|
-
export type UpdatedInstanceSettingsPayload = {
|
|
4332
|
-
settings: InstanceSettings;
|
|
4333
|
-
};
|
|
4334
4218
|
export type UpdatedInterceptEntryPayload = {
|
|
4335
4219
|
interceptEntryEdge: InterceptEntryEdge;
|
|
4336
4220
|
snapshot: Scalars["Snapshot"]["output"];
|
|
@@ -8290,10 +8174,6 @@ export type InvalidGlobTermsUserErrorFullFragment = {
|
|
|
8290
8174
|
terms: Array<string>;
|
|
8291
8175
|
code: string;
|
|
8292
8176
|
};
|
|
8293
|
-
type UserErrorFull_AiUserError_Fragment = {
|
|
8294
|
-
__typename: "AIUserError";
|
|
8295
|
-
code: string;
|
|
8296
|
-
};
|
|
8297
8177
|
type UserErrorFull_AliasTakenUserError_Fragment = {
|
|
8298
8178
|
__typename: "AliasTakenUserError";
|
|
8299
8179
|
code: string;
|
|
@@ -8398,7 +8278,7 @@ type UserErrorFull_WorkflowUserError_Fragment = {
|
|
|
8398
8278
|
__typename: "WorkflowUserError";
|
|
8399
8279
|
code: string;
|
|
8400
8280
|
};
|
|
8401
|
-
export type UserErrorFullFragment =
|
|
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;
|
|
8402
8282
|
export type InvalidHttpqlUserErrorFullFragment = {
|
|
8403
8283
|
__typename: "InvalidHTTPQLUserError";
|
|
8404
8284
|
query: string;
|
|
@@ -10059,118 +9939,6 @@ export type HostedFilesQuery = {
|
|
|
10059
9939
|
createdAt: Date;
|
|
10060
9940
|
}>;
|
|
10061
9941
|
};
|
|
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
|
-
};
|
|
10174
9942
|
export type InterceptRequestMessageMetaFragment = {
|
|
10175
9943
|
__typename: "InterceptRequestMessage";
|
|
10176
9944
|
id: string;
|
|
@@ -15372,7 +15140,6 @@ export type StorePluginPackageFullFragment = {
|
|
|
15372
15140
|
name?: string | undefined | null;
|
|
15373
15141
|
repository: string;
|
|
15374
15142
|
version: string;
|
|
15375
|
-
official: boolean;
|
|
15376
15143
|
author?: {
|
|
15377
15144
|
email?: string | undefined | null;
|
|
15378
15145
|
name?: string | undefined | null;
|
|
@@ -15462,7 +15229,6 @@ export type StorePluginPackagesQuery = {
|
|
|
15462
15229
|
name?: string | undefined | null;
|
|
15463
15230
|
repository: string;
|
|
15464
15231
|
version: string;
|
|
15465
|
-
official: boolean;
|
|
15466
15232
|
author?: {
|
|
15467
15233
|
email?: string | undefined | null;
|
|
15468
15234
|
name?: string | undefined | null;
|
|
@@ -21183,8 +20949,6 @@ export type FinishedTaskSubscription = {
|
|
|
21183
20949
|
code: string;
|
|
21184
20950
|
} | {
|
|
21185
20951
|
code: string;
|
|
21186
|
-
} | {
|
|
21187
|
-
code: string;
|
|
21188
20952
|
} | undefined | null;
|
|
21189
20953
|
};
|
|
21190
20954
|
};
|
|
@@ -22307,8 +22071,6 @@ export declare const InterceptEntryFullFragmentDoc = "\n fragment interceptEn
|
|
|
22307
22071
|
export declare const InterceptEntryEdgeMetaFragmentDoc = "\n fragment interceptEntryEdgeMeta on InterceptEntryEdge {\n __typename\n cursor\n node {\n ...interceptEntryMeta\n }\n}\n ";
|
|
22308
22072
|
export declare const DeleteInterceptEntriesTaskFullFragmentDoc = "\n fragment deleteInterceptEntriesTaskFull on DeleteInterceptEntriesTask {\n __typename\n id\n deletedEntryIds\n}\n ";
|
|
22309
22073
|
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 ";
|
|
22312
22074
|
export declare const InterceptRequestMessageMetaFragmentDoc = "\n fragment interceptRequestMessageMeta on InterceptRequestMessage {\n __typename\n id\n request {\n ...requestMeta\n }\n}\n ";
|
|
22313
22075
|
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 ";
|
|
22314
22076
|
export declare const StreamWsMessageEditRefFragmentDoc = "\n fragment streamWsMessageEditRef on StreamWsMessageEditRef {\n id\n alteration\n}\n ";
|
|
@@ -22363,7 +22125,7 @@ export declare const PluginBackendFullFragmentDoc = "\n fragment pluginBacken
|
|
|
22363
22125
|
export declare const WorkflowMetaFragmentDoc = "\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
|
|
22364
22126
|
export declare const PluginWorkflowFullFragmentDoc = "\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n ";
|
|
22365
22127
|
export declare const PluginPackageFullFragmentDoc = "\n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n}\n ";
|
|
22366
|
-
export declare const StorePluginPackageFullFragmentDoc = "\n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n downloads\n license\n manifestId\n name\n repository\n version\n
|
|
22128
|
+
export declare const StorePluginPackageFullFragmentDoc = "\n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n downloads\n license\n manifestId\n name\n repository\n version\n}\n ";
|
|
22367
22129
|
export declare const ProjectConfigStreamFullFragmentDoc = "\n fragment projectConfigStreamFull on ProjectConfigStream {\n stripExtension\n}\n ";
|
|
22368
22130
|
export declare const ProjectConfigFullFragmentDoc = "\n fragment projectConfigFull on ProjectConfig {\n stream {\n ...projectConfigStreamFull\n }\n}\n ";
|
|
22369
22131
|
export declare const CurrentProjectFullFragmentDoc = "\n fragment currentProjectFull on CurrentProject {\n project {\n ...projectFull\n }\n config {\n ...projectConfigFull\n }\n}\n ";
|
|
@@ -22545,10 +22307,6 @@ export declare const DeleteHostedFileDocument = "\n mutation deleteHostedFile
|
|
|
22545
22307
|
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 ";
|
|
22546
22308
|
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 ";
|
|
22547
22309
|
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 ";
|
|
22552
22310
|
export declare const ForwardInterceptMessageDocument = "\n mutation forwardInterceptMessage($id: ID!, $input: ForwardInterceptMessageInput) {\n forwardInterceptMessage(id: $id, input: $input) {\n forwardedId\n }\n}\n ";
|
|
22553
22311
|
export declare const DropInterceptMesageDocument = "\n mutation dropInterceptMesage($id: ID!) {\n dropInterceptMessage(id: $id) {\n droppedId\n }\n}\n ";
|
|
22554
22312
|
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 ";
|
|
@@ -22576,7 +22334,7 @@ export declare const ToggleTamperRuleDocument = "\n mutation toggleTamperRule
|
|
|
22576
22334
|
export declare const RankTamperRuleDocument = "\n mutation rankTamperRule($id: ID!, $input: RankTamperRuleInput!) {\n rankTamperRule(id: $id, input: $input) {\n rule {\n ...tamperRuleFull\n }\n }\n}\n \n fragment tamperRuleFull on TamperRule {\n __typename\n id\n name\n section {\n ...tamperSectionFull\n }\n enable {\n rank\n }\n condition\n collection {\n id\n }\n}\n \n\n fragment tamperSectionFull on TamperSection {\n __typename\n ... on TamperSectionRequestPath {\n operation {\n ...tamperOperationPathFull\n }\n }\n ... on TamperSectionRequestMethod {\n operation {\n ...tamperOperationMethodFull\n }\n }\n ... on TamperSectionRequestQuery {\n operation {\n ...tamperOperationQueryFull\n }\n }\n ... on TamperSectionRequestFirstLine {\n operation {\n ...tamperOperationFirstLineFull\n }\n }\n ... on TamperSectionRequestHeader {\n operation {\n ...tamperOperationHeaderFull\n }\n }\n ... on TamperSectionRequestBody {\n operation {\n ...tamperOperationBodyFull\n }\n }\n ... on TamperSectionResponseFirstLine {\n operation {\n ...tamperOperationFirstLineFull\n }\n }\n ... on TamperSectionResponseStatusCode {\n operation {\n ...tamperOperationStatusCodeFull\n }\n }\n ... on TamperSectionResponseHeader {\n operation {\n ...tamperOperationHeaderFull\n }\n }\n ... on TamperSectionResponseBody {\n operation {\n ...tamperOperationBodyFull\n }\n }\n}\n \n\n fragment tamperOperationPathFull on TamperOperationPath {\n __typename\n ... on TamperOperationPathRaw {\n ...tamperOperationPathRawFull\n }\n}\n \n\n fragment tamperOperationPathRawFull on TamperOperationPathRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperMatcherRawFull on TamperMatcherRaw {\n __typename\n ... on TamperMatcherValue {\n ...tamperMatcherValueFull\n }\n ... on TamperMatcherRegex {\n ...tamperMatcherRegexFull\n }\n}\n \n\n fragment tamperMatcherValueFull on TamperMatcherValue {\n __typename\n value\n}\n \n\n fragment tamperMatcherRegexFull on TamperMatcherRegex {\n __typename\n regex\n}\n \n\n fragment tamperReplacerFull on TamperReplacer {\n __typename\n ... on TamperReplacerTerm {\n ...tamperReplacerTermFull\n }\n ... on TamperReplacerWorkflow {\n ...tamperReplacerWorkflowFull\n }\n}\n \n\n fragment tamperReplacerTermFull on TamperReplacerTerm {\n __typename\n term\n}\n \n\n fragment tamperReplacerWorkflowFull on TamperReplacerWorkflow {\n __typename\n id\n}\n \n\n fragment tamperOperationMethodFull on TamperOperationMethod {\n __typename\n ... on TamperOperationMethodUpdate {\n ...tamperOperationMethodUpdateFull\n }\n}\n \n\n fragment tamperOperationMethodUpdateFull on TamperOperationMethodUpdate {\n __typename\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationQueryFull on TamperOperationQuery {\n __typename\n ... on TamperOperationQueryRaw {\n ...tamperOperationQueryRawFull\n }\n ... on TamperOperationQueryUpdate {\n ...tamperOperationQueryUpdateFull\n }\n ... on TamperOperationQueryAdd {\n ...tamperOperationQueryAddFull\n }\n ... on TamperOperationQueryRemove {\n ...tamperOperationQueryRemoveFull\n }\n}\n \n\n fragment tamperOperationQueryRawFull on TamperOperationQueryRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationQueryUpdateFull on TamperOperationQueryUpdate {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperMatcherNameFull on TamperMatcherName {\n __typename\n name\n}\n \n\n fragment tamperOperationQueryAddFull on TamperOperationQueryAdd {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationQueryRemoveFull on TamperOperationQueryRemove {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n}\n \n\n fragment tamperOperationFirstLineFull on TamperOperationFirstLine {\n __typename\n ... on TamperOperationFirstLineRaw {\n ...tamperOperationFirstLineRawFull\n }\n}\n \n\n fragment tamperOperationFirstLineRawFull on TamperOperationFirstLineRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderFull on TamperOperationHeader {\n __typename\n ... on TamperOperationHeaderRaw {\n ...tamperOperationHeaderRawFull\n }\n ... on TamperOperationHeaderUpdate {\n ...tamperOperationHeaderUpdateFull\n }\n ... on TamperOperationHeaderAdd {\n ...tamperOperationHeaderAddFull\n }\n ... on TamperOperationHeaderRemove {\n ...tamperOperationHeaderRemoveFull\n }\n}\n \n\n fragment tamperOperationHeaderRawFull on TamperOperationHeaderRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderUpdateFull on TamperOperationHeaderUpdate {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderAddFull on TamperOperationHeaderAdd {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderRemoveFull on TamperOperationHeaderRemove {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n}\n \n\n fragment tamperOperationBodyFull on TamperOperationBody {\n __typename\n ... on TamperOperationBodyRaw {\n ...tamperOperationBodyRawFull\n }\n}\n \n\n fragment tamperOperationBodyRawFull on TamperOperationBodyRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationStatusCodeFull on TamperOperationStatusCode {\n __typename\n ... on TamperOperationStatusCodeUpdate {\n ...tamperOperationStatusCodeUpdateFull\n }\n}\n \n\n fragment tamperOperationStatusCodeUpdateFull on TamperOperationStatusCodeUpdate {\n __typename\n replacer {\n ...tamperReplacerFull\n }\n}\n ";
|
|
22577
22335
|
export declare const MoveTamperRuleDocument = "\n mutation moveTamperRule($id: ID!, $collectionId: ID!) {\n moveTamperRule(id: $id, collectionId: $collectionId) {\n rule {\n ...tamperRuleFull\n }\n }\n}\n \n fragment tamperRuleFull on TamperRule {\n __typename\n id\n name\n section {\n ...tamperSectionFull\n }\n enable {\n rank\n }\n condition\n collection {\n id\n }\n}\n \n\n fragment tamperSectionFull on TamperSection {\n __typename\n ... on TamperSectionRequestPath {\n operation {\n ...tamperOperationPathFull\n }\n }\n ... on TamperSectionRequestMethod {\n operation {\n ...tamperOperationMethodFull\n }\n }\n ... on TamperSectionRequestQuery {\n operation {\n ...tamperOperationQueryFull\n }\n }\n ... on TamperSectionRequestFirstLine {\n operation {\n ...tamperOperationFirstLineFull\n }\n }\n ... on TamperSectionRequestHeader {\n operation {\n ...tamperOperationHeaderFull\n }\n }\n ... on TamperSectionRequestBody {\n operation {\n ...tamperOperationBodyFull\n }\n }\n ... on TamperSectionResponseFirstLine {\n operation {\n ...tamperOperationFirstLineFull\n }\n }\n ... on TamperSectionResponseStatusCode {\n operation {\n ...tamperOperationStatusCodeFull\n }\n }\n ... on TamperSectionResponseHeader {\n operation {\n ...tamperOperationHeaderFull\n }\n }\n ... on TamperSectionResponseBody {\n operation {\n ...tamperOperationBodyFull\n }\n }\n}\n \n\n fragment tamperOperationPathFull on TamperOperationPath {\n __typename\n ... on TamperOperationPathRaw {\n ...tamperOperationPathRawFull\n }\n}\n \n\n fragment tamperOperationPathRawFull on TamperOperationPathRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperMatcherRawFull on TamperMatcherRaw {\n __typename\n ... on TamperMatcherValue {\n ...tamperMatcherValueFull\n }\n ... on TamperMatcherRegex {\n ...tamperMatcherRegexFull\n }\n}\n \n\n fragment tamperMatcherValueFull on TamperMatcherValue {\n __typename\n value\n}\n \n\n fragment tamperMatcherRegexFull on TamperMatcherRegex {\n __typename\n regex\n}\n \n\n fragment tamperReplacerFull on TamperReplacer {\n __typename\n ... on TamperReplacerTerm {\n ...tamperReplacerTermFull\n }\n ... on TamperReplacerWorkflow {\n ...tamperReplacerWorkflowFull\n }\n}\n \n\n fragment tamperReplacerTermFull on TamperReplacerTerm {\n __typename\n term\n}\n \n\n fragment tamperReplacerWorkflowFull on TamperReplacerWorkflow {\n __typename\n id\n}\n \n\n fragment tamperOperationMethodFull on TamperOperationMethod {\n __typename\n ... on TamperOperationMethodUpdate {\n ...tamperOperationMethodUpdateFull\n }\n}\n \n\n fragment tamperOperationMethodUpdateFull on TamperOperationMethodUpdate {\n __typename\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationQueryFull on TamperOperationQuery {\n __typename\n ... on TamperOperationQueryRaw {\n ...tamperOperationQueryRawFull\n }\n ... on TamperOperationQueryUpdate {\n ...tamperOperationQueryUpdateFull\n }\n ... on TamperOperationQueryAdd {\n ...tamperOperationQueryAddFull\n }\n ... on TamperOperationQueryRemove {\n ...tamperOperationQueryRemoveFull\n }\n}\n \n\n fragment tamperOperationQueryRawFull on TamperOperationQueryRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationQueryUpdateFull on TamperOperationQueryUpdate {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperMatcherNameFull on TamperMatcherName {\n __typename\n name\n}\n \n\n fragment tamperOperationQueryAddFull on TamperOperationQueryAdd {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationQueryRemoveFull on TamperOperationQueryRemove {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n}\n \n\n fragment tamperOperationFirstLineFull on TamperOperationFirstLine {\n __typename\n ... on TamperOperationFirstLineRaw {\n ...tamperOperationFirstLineRawFull\n }\n}\n \n\n fragment tamperOperationFirstLineRawFull on TamperOperationFirstLineRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderFull on TamperOperationHeader {\n __typename\n ... on TamperOperationHeaderRaw {\n ...tamperOperationHeaderRawFull\n }\n ... on TamperOperationHeaderUpdate {\n ...tamperOperationHeaderUpdateFull\n }\n ... on TamperOperationHeaderAdd {\n ...tamperOperationHeaderAddFull\n }\n ... on TamperOperationHeaderRemove {\n ...tamperOperationHeaderRemoveFull\n }\n}\n \n\n fragment tamperOperationHeaderRawFull on TamperOperationHeaderRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderUpdateFull on TamperOperationHeaderUpdate {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderAddFull on TamperOperationHeaderAdd {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationHeaderRemoveFull on TamperOperationHeaderRemove {\n __typename\n matcher {\n ...tamperMatcherNameFull\n }\n}\n \n\n fragment tamperOperationBodyFull on TamperOperationBody {\n __typename\n ... on TamperOperationBodyRaw {\n ...tamperOperationBodyRawFull\n }\n}\n \n\n fragment tamperOperationBodyRawFull on TamperOperationBodyRaw {\n __typename\n matcher {\n ...tamperMatcherRawFull\n }\n replacer {\n ...tamperReplacerFull\n }\n}\n \n\n fragment tamperOperationStatusCodeFull on TamperOperationStatusCode {\n __typename\n ... on TamperOperationStatusCodeUpdate {\n ...tamperOperationStatusCodeUpdateFull\n }\n}\n \n\n fragment tamperOperationStatusCodeUpdateFull on TamperOperationStatusCodeUpdate {\n __typename\n replacer {\n ...tamperReplacerFull\n }\n}\n ";
|
|
22578
22336
|
export declare const PluginPackagesDocument = "\n query pluginPackages {\n pluginPackages {\n ...pluginPackageFull\n }\n}\n \n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n}\n \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n links {\n ...pluginLinksFull\n }\n version\n installedAt\n manifestId\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginLinksFull on PluginLinks {\n sponsor\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n ";
|
|
22579
|
-
export declare const StorePluginPackagesDocument = "\n query storePluginPackages {\n store {\n pluginPackages {\n ...storePluginPackageFull\n }\n }\n}\n \n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n downloads\n license\n manifestId\n name\n repository\n version\n
|
|
22337
|
+
export declare const StorePluginPackagesDocument = "\n query storePluginPackages {\n store {\n pluginPackages {\n ...storePluginPackageFull\n }\n }\n}\n \n fragment storePluginPackageFull on StorePluginPackage {\n author {\n email\n name\n url\n }\n description\n downloads\n license\n manifestId\n name\n repository\n version\n}\n ";
|
|
22580
22338
|
export declare const InstallPluginPackageDocument = "\n mutation installPluginPackage($input: InstallPluginPackageInput!) {\n installPluginPackage(input: $input) {\n package {\n ...pluginPackageFull\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on PluginUserError {\n ...pluginUserErrorFull\n }\n ... on StoreUserError {\n ...storeUserErrorFull\n }\n ... on CloudUserError {\n ...cloudUserErrorFull\n }\n }\n }\n}\n \n fragment pluginPackageFull on PluginPackage {\n ...pluginPackageMeta\n plugins {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n}\n \n\n fragment pluginPackageMeta on PluginPackage {\n id\n name\n description\n author {\n ...pluginAuthorFull\n }\n links {\n ...pluginLinksFull\n }\n version\n installedAt\n manifestId\n}\n \n\n fragment pluginAuthorFull on PluginAuthor {\n name\n email\n url\n}\n \n\n fragment pluginLinksFull on PluginLinks {\n sponsor\n}\n \n\n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment pluginUserErrorFull on PluginUserError {\n ...userErrorFull\n reason\n}\n \n\n fragment storeUserErrorFull on StoreUserError {\n ...userErrorFull\n storeReason: reason\n}\n \n\n fragment cloudUserErrorFull on CloudUserError {\n ...userErrorFull\n cloudReason: reason\n}\n ";
|
|
22581
22339
|
export declare const UninstallPluginPackageDocument = "\n mutation uninstallPluginPackage($id: ID!) {\n uninstallPluginPackage(id: $id) {\n deletedId\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n }\n }\n}\n \n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n ";
|
|
22582
22340
|
export declare const TogglePluginDocument = "\n mutation togglePlugin($id: ID!, $enabled: Boolean!) {\n togglePlugin(id: $id, enabled: $enabled) {\n plugin {\n ... on PluginFrontend {\n ...pluginFrontendFull\n }\n ... on PluginBackend {\n ...pluginBackendFull\n }\n ... on PluginWorkflow {\n ...pluginWorkflowFull\n }\n }\n error {\n ... on OtherUserError {\n ...otherUserErrorFull\n }\n ... on UnknownIdUserError {\n ...unknownIdUserErrorFull\n }\n ... on PluginUserError {\n ...pluginUserErrorFull\n }\n }\n }\n}\n \n fragment pluginFrontendFull on PluginFrontend {\n ...pluginMeta\n entrypoint\n style\n data\n backend {\n ...pluginBackendMeta\n }\n}\n \n\n fragment pluginMeta on Plugin {\n __typename\n id\n name\n enabled\n manifestId\n package {\n id\n }\n}\n \n\n fragment pluginBackendMeta on PluginBackend {\n __typename\n id\n}\n \n\n fragment pluginBackendFull on PluginBackend {\n ...pluginMeta\n runtime\n state {\n error\n running\n }\n}\n \n\n fragment pluginWorkflowFull on PluginWorkflow {\n ...pluginMeta\n name\n workflow {\n ...workflowMeta\n }\n}\n \n\n fragment workflowMeta on Workflow {\n __typename\n id\n kind\n name\n enabled\n global\n readOnly\n}\n \n\n fragment otherUserErrorFull on OtherUserError {\n ...userErrorFull\n}\n \n\n fragment userErrorFull on UserError {\n __typename\n code\n}\n \n\n fragment unknownIdUserErrorFull on UnknownIdUserError {\n ...userErrorFull\n id\n}\n \n\n fragment pluginUserErrorFull on PluginUserError {\n ...userErrorFull\n reason\n}\n ";
|
|
@@ -22853,10 +22611,6 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
22853
22611
|
renameHostedFile(variables: RenameHostedFileMutationVariables, options?: C): Promise<RenameHostedFileMutation>;
|
|
22854
22612
|
uploadHostedFile(variables: UploadHostedFileMutationVariables, options?: C): Promise<UploadHostedFileMutation>;
|
|
22855
22613
|
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>;
|
|
22860
22614
|
forwardInterceptMessage(variables: ForwardInterceptMessageMutationVariables, options?: C): Promise<ForwardInterceptMessageMutation>;
|
|
22861
22615
|
dropInterceptMesage(variables: DropInterceptMesageMutationVariables, options?: C): Promise<DropInterceptMesageMutation>;
|
|
22862
22616
|
setInterceptOptions(variables: SetInterceptOptionsMutationVariables, options?: C): Promise<SetInterceptOptionsMutation>;
|
package/src/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { FooterSlot, type FooterSlotContent } from "./types/footer";
|
|
2
2
|
export type { DialogOptions } from "./types/window";
|
|
3
|
-
export type { CommandContext
|
|
3
|
+
export type { CommandContext } from "./types/commands";
|
|
4
4
|
export type { MenuItem } from "./types/menu";
|
|
5
5
|
export { type ReplayTab, type ReplaySession, type ReplayCollection, type SendRequestOptions, ReplaySlot, type ReplaySlotContent, type RequestSource, } from "./types/replay";
|
|
6
6
|
export type { HostedFile } from "./types/files";
|
|
@@ -8,7 +8,7 @@ export type { Filter } from "./types/filter";
|
|
|
8
8
|
export type { HTTPQL, ID, ComponentDefinition } from "./types/utils";
|
|
9
9
|
export type { JSONValue, JSONCompatible } from "./types/json";
|
|
10
10
|
export type { SlotContent, ButtonSlotContent, CustomSlotContent, CommandSlotContent, } from "./types/slots";
|
|
11
|
-
export type { RequestViewModeOptions
|
|
11
|
+
export type { RequestViewModeOptions } from "./types/request";
|
|
12
12
|
export type { MatchReplaceRule, MatchReplaceCollection, MatchReplaceSection, MatchReplaceSectionRequestBody, MatchReplaceSectionRequestFirstLine, MatchReplaceSectionRequestHeader, MatchReplaceSectionRequestMethod, MatchReplaceSectionRequestPath, MatchReplaceSectionRequestQuery, MatchReplaceSectionResponseBody, MatchReplaceSectionResponseFirstLine, MatchReplaceSectionResponseHeader, MatchReplaceSectionResponseStatusCode, MatchReplaceOperationStatusCode, MatchReplaceOperationStatusCodeUpdate, MatchReplaceOperationQuery, MatchReplaceOperationQueryRaw, MatchReplaceOperationQueryAdd, MatchReplaceOperationQueryRemove, MatchReplaceOperationQueryUpdate, MatchReplaceOperationPath, MatchReplaceOperationPathRaw, MatchReplaceOperationMethod, MatchReplaceOperationMethodUpdate, MatchReplaceOperationHeader, MatchReplaceOperationHeaderRaw, MatchReplaceOperationHeaderAdd, MatchReplaceOperationHeaderRemove, MatchReplaceOperationHeaderUpdate, MatchReplaceOperationBody, MatchReplaceOperationBodyRaw, MatchReplaceOperationFirstLine, MatchReplaceOperationFirstLineRaw, MatchReplaceReplacer, MatchReplaceReplacerTerm, MatchReplaceReplacerWorkflow, MatchReplaceMatcherName, MatchReplaceMatcherRaw, MatchReplaceMatcherRawFull, MatchReplaceMatcherRawRegex, MatchReplaceMatcherRawValue, } from "./types/matchReplace";
|
|
13
13
|
export type { Scope } from "./types/scopes";
|
|
14
14
|
export type { EnvironmentVariable } from "./types/environment";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { RequestViewModeOptions } from "../types/request";
|
|
2
1
|
import type { HTTPQL, ID } from "../types/utils";
|
|
3
2
|
/**
|
|
4
3
|
* Utilities to interact with the Search page.
|
|
@@ -25,9 +24,4 @@ export type SearchSDK = {
|
|
|
25
24
|
* @param id The ID of the scope to set.
|
|
26
25
|
*/
|
|
27
26
|
setScope: (id: ID | undefined) => Promise<void>;
|
|
28
|
-
/**
|
|
29
|
-
* Add a custom request view mode.
|
|
30
|
-
* @param options The view mode options.
|
|
31
|
-
*/
|
|
32
|
-
addRequestViewMode: (options: RequestViewModeOptions) => void;
|
|
33
27
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type RequestDraft, type RequestFull, type RequestMeta } from "./request";
|
|
2
1
|
import { type ID } from "./utils";
|
|
3
2
|
/**
|
|
4
3
|
* A unique command identifier.
|
|
@@ -17,31 +16,48 @@ export type CommandContext = CommandContextBase | CommandContextRequestRow | Com
|
|
|
17
16
|
* This context is used for commands that are not executed in a specific context, such as via shortcuts and the command palette.
|
|
18
17
|
* @category Commands
|
|
19
18
|
*/
|
|
20
|
-
|
|
19
|
+
type CommandContextBase = {
|
|
21
20
|
type: "BaseContext";
|
|
22
21
|
};
|
|
23
22
|
/**
|
|
24
23
|
* The context for a command that is executed on a row in the request table.
|
|
25
24
|
* @category Commands
|
|
26
25
|
*/
|
|
27
|
-
|
|
26
|
+
type CommandContextRequestRow = {
|
|
28
27
|
type: "RequestRowContext";
|
|
29
28
|
/**
|
|
30
29
|
* The requests that are selected in the request table.
|
|
31
30
|
*/
|
|
32
|
-
requests:
|
|
31
|
+
requests: {
|
|
32
|
+
id: ID;
|
|
33
|
+
host: string;
|
|
34
|
+
port: number;
|
|
35
|
+
path: string;
|
|
36
|
+
query: string;
|
|
37
|
+
isTls: boolean;
|
|
38
|
+
streamId?: ID;
|
|
39
|
+
}[];
|
|
33
40
|
};
|
|
34
41
|
/**
|
|
35
42
|
* The context for a command that is executed on a request pane.
|
|
36
43
|
* @category Commands
|
|
37
44
|
*/
|
|
38
|
-
|
|
45
|
+
type CommandContextRequest = {
|
|
39
46
|
type: "RequestContext";
|
|
40
47
|
/**
|
|
41
48
|
* The request that is currently open in the request pane.
|
|
42
49
|
* If the request has not yet been saved in the database, the id will be undefined.
|
|
43
50
|
*/
|
|
44
|
-
request:
|
|
51
|
+
request: {
|
|
52
|
+
id: ID | undefined;
|
|
53
|
+
host: string;
|
|
54
|
+
port: number;
|
|
55
|
+
path: string;
|
|
56
|
+
query: string;
|
|
57
|
+
isTls: boolean;
|
|
58
|
+
raw: string;
|
|
59
|
+
streamId?: ID;
|
|
60
|
+
};
|
|
45
61
|
/**
|
|
46
62
|
* The currently selected text in the request pane.
|
|
47
63
|
*/
|
|
@@ -51,12 +67,20 @@ export type CommandContextRequest = {
|
|
|
51
67
|
* The context for a command that is executed on a response pane.
|
|
52
68
|
* @category Commands
|
|
53
69
|
*/
|
|
54
|
-
|
|
70
|
+
type CommandContextResponse = {
|
|
55
71
|
type: "ResponseContext";
|
|
56
72
|
/**
|
|
57
73
|
* The request that is associated with the response.
|
|
58
74
|
*/
|
|
59
|
-
request:
|
|
75
|
+
request: {
|
|
76
|
+
id: ID;
|
|
77
|
+
host: string;
|
|
78
|
+
port: number;
|
|
79
|
+
path: string;
|
|
80
|
+
query: string;
|
|
81
|
+
isTls: boolean;
|
|
82
|
+
streamId?: ID;
|
|
83
|
+
};
|
|
60
84
|
/**
|
|
61
85
|
* The response that is currently open in the response pane.
|
|
62
86
|
*/
|
|
@@ -71,3 +95,4 @@ export type CommandContextResponse = {
|
|
|
71
95
|
*/
|
|
72
96
|
selection: string;
|
|
73
97
|
};
|
|
98
|
+
export {};
|
|
@@ -1,31 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export type RequestDraft = Prettify<As<"RequestDraft"> & {
|
|
3
|
-
host: string;
|
|
4
|
-
port: number;
|
|
5
|
-
path: string;
|
|
6
|
-
query: string;
|
|
7
|
-
isTls: boolean;
|
|
8
|
-
raw: string;
|
|
9
|
-
}>;
|
|
10
|
-
export type RequestMeta = Prettify<As<"RequestMeta"> & {
|
|
11
|
-
id: ID;
|
|
12
|
-
host: string;
|
|
13
|
-
port: number;
|
|
14
|
-
path: string;
|
|
15
|
-
query: string;
|
|
16
|
-
isTls: boolean;
|
|
17
|
-
streamId: ID | undefined;
|
|
18
|
-
}>;
|
|
19
|
-
export type RequestFull = Prettify<As<"RequestFull"> & {
|
|
20
|
-
id: ID;
|
|
21
|
-
host: string;
|
|
22
|
-
port: number;
|
|
23
|
-
path: string;
|
|
24
|
-
query: string;
|
|
25
|
-
isTls: boolean;
|
|
26
|
-
streamId: ID | undefined;
|
|
27
|
-
raw: string;
|
|
28
|
-
}>;
|
|
1
|
+
import { type ComponentDefinition } from "./utils";
|
|
29
2
|
export type RequestViewModeOptions = {
|
|
30
3
|
/**
|
|
31
4
|
* The label of the view mode.
|