mobbdev 1.1.0 → 1.1.2

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.
@@ -1,4432 +1,11 @@
1
1
  import * as Yargs from 'yargs';
2
2
  import z from 'zod';
3
- import { GraphQLClient, RequestOptions } from 'graphql-request';
4
3
 
5
- type Maybe<T> = T | null;
6
- type InputMaybe<T> = Maybe<T>;
7
- type Exact<T extends {
8
- [key: string]: unknown;
9
- }> = {
10
- [K in keyof T]: T[K];
11
- };
12
- type GraphQLClientRequestHeaders = RequestOptions['requestHeaders'];
13
- /** All built-in and custom scalars, mapped to their actual values */
14
- type Scalars = {
15
- ID: {
16
- input: string;
17
- output: string;
18
- };
19
- String: {
20
- input: string;
21
- output: string;
22
- };
23
- Boolean: {
24
- input: boolean;
25
- output: boolean;
26
- };
27
- Int: {
28
- input: number;
29
- output: number;
30
- };
31
- Float: {
32
- input: number;
33
- output: number;
34
- };
35
- JSON: {
36
- input: any;
37
- output: any;
38
- };
39
- Timestamp: {
40
- input: any;
41
- output: any;
42
- };
43
- Void: {
44
- input: any;
45
- output: any;
46
- };
47
- _text: {
48
- input: any;
49
- output: any;
50
- };
51
- bigint: {
52
- input: any;
53
- output: any;
54
- };
55
- date: {
56
- input: any;
57
- output: any;
58
- };
59
- json: {
60
- input: any;
61
- output: any;
62
- };
63
- jsonb: {
64
- input: any;
65
- output: any;
66
- };
67
- organization_scalar: {
68
- input: any;
69
- output: any;
70
- };
71
- project_scalar: {
72
- input: any;
73
- output: any;
74
- };
75
- smallint: {
76
- input: any;
77
- output: any;
78
- };
79
- time: {
80
- input: any;
81
- output: any;
82
- };
83
- timestamp: {
84
- input: any;
85
- output: any;
86
- };
87
- timestamptz: {
88
- input: any;
89
- output: any;
90
- };
91
- uuid: {
92
- input: any;
93
- output: any;
94
- };
95
- };
96
- type AiBlameInferenceFinalizeInput = {
97
- aiBlameInferenceId: Scalars['String']['input'];
98
- aiResponseAt: Scalars['Timestamp']['input'];
99
- blameType?: InputMaybe<AiBlameInferenceType>;
100
- inferenceKey: Scalars['String']['input'];
101
- metadataJSON?: InputMaybe<Scalars['String']['input']>;
102
- model?: InputMaybe<Scalars['String']['input']>;
103
- promptKey: Scalars['String']['input'];
104
- toolName?: InputMaybe<Scalars['String']['input']>;
105
- };
106
- type AiBlameInferenceInitInput = {
107
- aiResponseAt: Scalars['Timestamp']['input'];
108
- blameType?: InputMaybe<AiBlameInferenceType>;
109
- inferenceFileName: Scalars['String']['input'];
110
- metadataJSON?: InputMaybe<Scalars['String']['input']>;
111
- model?: InputMaybe<Scalars['String']['input']>;
112
- promptFileName: Scalars['String']['input'];
113
- toolName?: InputMaybe<Scalars['String']['input']>;
114
- };
115
4
  declare enum AiBlameInferenceType {
116
5
  Chat = "CHAT",
117
6
  HumanEdit = "HUMAN_EDIT",
118
7
  TabAutocomplete = "TAB_AUTOCOMPLETE"
119
8
  }
120
- /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */
121
- type Boolean_Comparison_Exp = {
122
- _eq?: InputMaybe<Scalars['Boolean']['input']>;
123
- _gt?: InputMaybe<Scalars['Boolean']['input']>;
124
- _gte?: InputMaybe<Scalars['Boolean']['input']>;
125
- _in?: InputMaybe<Array<Scalars['Boolean']['input']>>;
126
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
127
- _lt?: InputMaybe<Scalars['Boolean']['input']>;
128
- _lte?: InputMaybe<Scalars['Boolean']['input']>;
129
- _neq?: InputMaybe<Scalars['Boolean']['input']>;
130
- _nin?: InputMaybe<Array<Scalars['Boolean']['input']>>;
131
- };
132
- declare enum FixDownloadSource {
133
- AutoMvs = "AUTO_MVS",
134
- Mcp = "MCP",
135
- WebUi = "WEB_UI"
136
- }
137
- declare enum FixQuestionInputType {
138
- Number = "NUMBER",
139
- Select = "SELECT",
140
- Text = "TEXT"
141
- }
142
- /** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */
143
- type Int_Comparison_Exp = {
144
- _eq?: InputMaybe<Scalars['Int']['input']>;
145
- _gt?: InputMaybe<Scalars['Int']['input']>;
146
- _gte?: InputMaybe<Scalars['Int']['input']>;
147
- _in?: InputMaybe<Array<Scalars['Int']['input']>>;
148
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
149
- _lt?: InputMaybe<Scalars['Int']['input']>;
150
- _lte?: InputMaybe<Scalars['Int']['input']>;
151
- _neq?: InputMaybe<Scalars['Int']['input']>;
152
- _nin?: InputMaybe<Array<Scalars['Int']['input']>>;
153
- };
154
- declare enum Language {
155
- Cpp = "CPP",
156
- Csharp = "CSHARP",
157
- Default = "DEFAULT",
158
- Dockerfile = "DOCKERFILE",
159
- Go = "GO",
160
- Java = "JAVA",
161
- Js = "JS",
162
- Php = "PHP",
163
- Python = "PYTHON",
164
- Sql = "SQL",
165
- Xml = "XML",
166
- Yaml = "YAML"
167
- }
168
- declare enum ManifestAction {
169
- Add = "add",
170
- Relock = "relock",
171
- Upgrade = "upgrade"
172
- }
173
- declare enum PrStrategy {
174
- Condense = "CONDENSE",
175
- Spread = "SPREAD"
176
- }
177
- declare enum Status {
178
- Error = "Error",
179
- Ok = "OK"
180
- }
181
- /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */
182
- type String_Comparison_Exp = {
183
- _eq?: InputMaybe<Scalars['String']['input']>;
184
- _gt?: InputMaybe<Scalars['String']['input']>;
185
- _gte?: InputMaybe<Scalars['String']['input']>;
186
- /** does the column match the given case-insensitive pattern */
187
- _ilike?: InputMaybe<Scalars['String']['input']>;
188
- _in?: InputMaybe<Array<Scalars['String']['input']>>;
189
- /** does the column match the given POSIX regular expression, case insensitive */
190
- _iregex?: InputMaybe<Scalars['String']['input']>;
191
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
192
- /** does the column match the given pattern */
193
- _like?: InputMaybe<Scalars['String']['input']>;
194
- _lt?: InputMaybe<Scalars['String']['input']>;
195
- _lte?: InputMaybe<Scalars['String']['input']>;
196
- _neq?: InputMaybe<Scalars['String']['input']>;
197
- /** does the column NOT match the given case-insensitive pattern */
198
- _nilike?: InputMaybe<Scalars['String']['input']>;
199
- _nin?: InputMaybe<Array<Scalars['String']['input']>>;
200
- /** does the column NOT match the given POSIX regular expression, case insensitive */
201
- _niregex?: InputMaybe<Scalars['String']['input']>;
202
- /** does the column NOT match the given pattern */
203
- _nlike?: InputMaybe<Scalars['String']['input']>;
204
- /** does the column NOT match the given POSIX regular expression, case sensitive */
205
- _nregex?: InputMaybe<Scalars['String']['input']>;
206
- /** does the column NOT match the given SQL regular expression */
207
- _nsimilar?: InputMaybe<Scalars['String']['input']>;
208
- /** does the column match the given POSIX regular expression, case sensitive */
209
- _regex?: InputMaybe<Scalars['String']['input']>;
210
- /** does the column match the given SQL regular expression */
211
- _similar?: InputMaybe<Scalars['String']['input']>;
212
- };
213
- /** Boolean expression to filter rows from the table "ai_ide". All fields are combined with a logical 'AND'. */
214
- type Ai_Ide_Bool_Exp = {
215
- _and?: InputMaybe<Array<Ai_Ide_Bool_Exp>>;
216
- _not?: InputMaybe<Ai_Ide_Bool_Exp>;
217
- _or?: InputMaybe<Array<Ai_Ide_Bool_Exp>>;
218
- comment?: InputMaybe<String_Comparison_Exp>;
219
- value?: InputMaybe<String_Comparison_Exp>;
220
- };
221
- declare enum Ai_Ide_Enum {
222
- /** Cursor */
223
- Cursor = "CURSOR"
224
- }
225
- /** Boolean expression to compare columns of type "ai_ide_enum". All fields are combined with logical 'AND'. */
226
- type Ai_Ide_Enum_Comparison_Exp = {
227
- _eq?: InputMaybe<Ai_Ide_Enum>;
228
- _in?: InputMaybe<Array<Ai_Ide_Enum>>;
229
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
230
- _neq?: InputMaybe<Ai_Ide_Enum>;
231
- _nin?: InputMaybe<Array<Ai_Ide_Enum>>;
232
- };
233
- /** Boolean expression to filter rows from the table "ai_model". All fields are combined with a logical 'AND'. */
234
- type Ai_Model_Bool_Exp = {
235
- _and?: InputMaybe<Array<Ai_Model_Bool_Exp>>;
236
- _not?: InputMaybe<Ai_Model_Bool_Exp>;
237
- _or?: InputMaybe<Array<Ai_Model_Bool_Exp>>;
238
- comment?: InputMaybe<String_Comparison_Exp>;
239
- value?: InputMaybe<String_Comparison_Exp>;
240
- };
241
- declare enum Ai_Model_Enum {
242
- /** CLAUDE4SONNET */
243
- Claude4Sonnet = "CLAUDE4SONNET",
244
- /** CLAUDE4SONNETTHINKING */
245
- Claude4Sonnetthinking = "CLAUDE4SONNETTHINKING",
246
- /** CLAUDE41OPUSTHINKING */
247
- Claude41Opusthinking = "CLAUDE41OPUSTHINKING",
248
- /** code-supernova */
249
- Codesupernova = "CODESUPERNOVA",
250
- /** cursor-small */
251
- Cursorsmall = "CURSORSMALL",
252
- /** deepseek-r1 */
253
- Deepseekr1 = "DEEPSEEKR1",
254
- /** deepseek-v3.1 */
255
- Deepseekv31 = "DEEPSEEKV31",
256
- /** DEFAULT */
257
- Default = "DEFAULT",
258
- /** GEMINI25PRO */
259
- Gemini25Pro = "GEMINI25PRO",
260
- /** GPT4O */
261
- Gpt4O = "GPT4O",
262
- /** GPT5 */
263
- Gpt5 = "GPT5",
264
- /** GPT5CODEX */
265
- Gpt5Codex = "GPT5CODEX",
266
- /** GPT5HIGH */
267
- Gpt5High = "GPT5HIGH",
268
- /** GPT41 */
269
- Gpt41 = "GPT41",
270
- /** grok-4-0709 */
271
- Grok40709 = "GROK40709",
272
- /** o4-mini */
273
- O4Mini = "O4MINI",
274
- /** UNKNOWN */
275
- Unknown = "UNKNOWN"
276
- }
277
- /** Boolean expression to compare columns of type "ai_model_enum". All fields are combined with logical 'AND'. */
278
- type Ai_Model_Enum_Comparison_Exp = {
279
- _eq?: InputMaybe<Ai_Model_Enum>;
280
- _in?: InputMaybe<Array<Ai_Model_Enum>>;
281
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
282
- _neq?: InputMaybe<Ai_Model_Enum>;
283
- _nin?: InputMaybe<Array<Ai_Model_Enum>>;
284
- };
285
- /** Boolean expression to filter rows from the table "ai_source_type". All fields are combined with a logical 'AND'. */
286
- type Ai_Source_Type_Bool_Exp = {
287
- _and?: InputMaybe<Array<Ai_Source_Type_Bool_Exp>>;
288
- _not?: InputMaybe<Ai_Source_Type_Bool_Exp>;
289
- _or?: InputMaybe<Array<Ai_Source_Type_Bool_Exp>>;
290
- comment?: InputMaybe<String_Comparison_Exp>;
291
- value?: InputMaybe<String_Comparison_Exp>;
292
- };
293
- declare enum Ai_Source_Type_Enum {
294
- /** Cloud AI providers API */
295
- Api = "API",
296
- /** Ide installed plugin */
297
- IdeExtension = "IDE_EXTENSION"
298
- }
299
- /** Boolean expression to compare columns of type "ai_source_type_enum". All fields are combined with logical 'AND'. */
300
- type Ai_Source_Type_Enum_Comparison_Exp = {
301
- _eq?: InputMaybe<Ai_Source_Type_Enum>;
302
- _in?: InputMaybe<Array<Ai_Source_Type_Enum>>;
303
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
304
- _neq?: InputMaybe<Ai_Source_Type_Enum>;
305
- _nin?: InputMaybe<Array<Ai_Source_Type_Enum>>;
306
- };
307
- type Ai_Tool_Token_Aggregate_Bool_Exp = {
308
- count?: InputMaybe<Ai_Tool_Token_Aggregate_Bool_Exp_Count>;
309
- };
310
- type Ai_Tool_Token_Aggregate_Bool_Exp_Count = {
311
- arguments?: InputMaybe<Array<Ai_Tool_Token_Select_Column>>;
312
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
313
- filter?: InputMaybe<Ai_Tool_Token_Bool_Exp>;
314
- predicate: Int_Comparison_Exp;
315
- };
316
- /** Boolean expression to filter rows from the table "ai_tool_token". All fields are combined with a logical 'AND'. */
317
- type Ai_Tool_Token_Bool_Exp = {
318
- _and?: InputMaybe<Array<Ai_Tool_Token_Bool_Exp>>;
319
- _not?: InputMaybe<Ai_Tool_Token_Bool_Exp>;
320
- _or?: InputMaybe<Array<Ai_Tool_Token_Bool_Exp>>;
321
- aiTool?: InputMaybe<Ai_Tool_Type_Bool_Exp>;
322
- aiToolType?: InputMaybe<Ai_Tool_Type_Enum_Comparison_Exp>;
323
- aiToolUserDayUsages?: InputMaybe<Ai_Tool_User_Day_Usage_Bool_Exp>;
324
- aiToolUserDayUsages_aggregate?: InputMaybe<Ai_Tool_User_Day_Usage_Aggregate_Bool_Exp>;
325
- id?: InputMaybe<Uuid_Comparison_Exp>;
326
- organization?: InputMaybe<Organization_Bool_Exp>;
327
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
328
- token?: InputMaybe<String_Comparison_Exp>;
329
- tokenLastUpdate?: InputMaybe<Timestamptz_Comparison_Exp>;
330
- };
331
- /** select columns of table "ai_tool_token" */
332
- declare enum Ai_Tool_Token_Select_Column {
333
- /** column name */
334
- AiToolType = "aiToolType",
335
- /** column name */
336
- Id = "id",
337
- /** column name */
338
- OrganizationId = "organizationId",
339
- /** column name */
340
- Token = "token",
341
- /** column name */
342
- TokenLastUpdate = "tokenLastUpdate"
343
- }
344
- /** Boolean expression to filter rows from the table "ai_tool_type". All fields are combined with a logical 'AND'. */
345
- type Ai_Tool_Type_Bool_Exp = {
346
- _and?: InputMaybe<Array<Ai_Tool_Type_Bool_Exp>>;
347
- _not?: InputMaybe<Ai_Tool_Type_Bool_Exp>;
348
- _or?: InputMaybe<Array<Ai_Tool_Type_Bool_Exp>>;
349
- comment?: InputMaybe<String_Comparison_Exp>;
350
- value?: InputMaybe<String_Comparison_Exp>;
351
- };
352
- declare enum Ai_Tool_Type_Enum {
353
- /** Cursor */
354
- Cursor = "CURSOR",
355
- /** Github Copilot */
356
- GithubCopilot = "GITHUB_COPILOT"
357
- }
358
- /** Boolean expression to compare columns of type "ai_tool_type_enum". All fields are combined with logical 'AND'. */
359
- type Ai_Tool_Type_Enum_Comparison_Exp = {
360
- _eq?: InputMaybe<Ai_Tool_Type_Enum>;
361
- _in?: InputMaybe<Array<Ai_Tool_Type_Enum>>;
362
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
363
- _neq?: InputMaybe<Ai_Tool_Type_Enum>;
364
- _nin?: InputMaybe<Array<Ai_Tool_Type_Enum>>;
365
- };
366
- type Ai_Tool_User_Day_Usage_Aggregate_Bool_Exp = {
367
- count?: InputMaybe<Ai_Tool_User_Day_Usage_Aggregate_Bool_Exp_Count>;
368
- };
369
- type Ai_Tool_User_Day_Usage_Aggregate_Bool_Exp_Count = {
370
- arguments?: InputMaybe<Array<Ai_Tool_User_Day_Usage_Select_Column>>;
371
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
372
- filter?: InputMaybe<Ai_Tool_User_Day_Usage_Bool_Exp>;
373
- predicate: Int_Comparison_Exp;
374
- };
375
- /** Boolean expression to filter rows from the table "ai_tool_user_day_usage". All fields are combined with a logical 'AND'. */
376
- type Ai_Tool_User_Day_Usage_Bool_Exp = {
377
- _and?: InputMaybe<Array<Ai_Tool_User_Day_Usage_Bool_Exp>>;
378
- _not?: InputMaybe<Ai_Tool_User_Day_Usage_Bool_Exp>;
379
- _or?: InputMaybe<Array<Ai_Tool_User_Day_Usage_Bool_Exp>>;
380
- aiHandle?: InputMaybe<String_Comparison_Exp>;
381
- aiIde?: InputMaybe<Ai_Ide_Bool_Exp>;
382
- aiInteractionCount?: InputMaybe<Int_Comparison_Exp>;
383
- aiModel?: InputMaybe<Ai_Model_Bool_Exp>;
384
- aiSource?: InputMaybe<Ai_Source_Type_Bool_Exp>;
385
- aiTool?: InputMaybe<Ai_Tool_Type_Bool_Exp>;
386
- aiToolToken?: InputMaybe<Ai_Tool_Token_Bool_Exp>;
387
- aiToolTokenId?: InputMaybe<Uuid_Comparison_Exp>;
388
- aiToolType?: InputMaybe<Ai_Tool_Type_Enum_Comparison_Exp>;
389
- aiToolUserId?: InputMaybe<String_Comparison_Exp>;
390
- date?: InputMaybe<Timestamptz_Comparison_Exp>;
391
- email?: InputMaybe<String_Comparison_Exp>;
392
- id?: InputMaybe<Uuid_Comparison_Exp>;
393
- ide?: InputMaybe<Ai_Ide_Enum_Comparison_Exp>;
394
- lastSeenDate?: InputMaybe<Timestamptz_Comparison_Exp>;
395
- mcp?: InputMaybe<Jsonb_Comparison_Exp>;
396
- model?: InputMaybe<Ai_Model_Enum_Comparison_Exp>;
397
- name?: InputMaybe<String_Comparison_Exp>;
398
- organization?: InputMaybe<Organization_Bool_Exp>;
399
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
400
- rawModel?: InputMaybe<String_Comparison_Exp>;
401
- source?: InputMaybe<Ai_Source_Type_Enum_Comparison_Exp>;
402
- tokenCount?: InputMaybe<Int_Comparison_Exp>;
403
- };
404
- /** select columns of table "ai_tool_user_day_usage" */
405
- declare enum Ai_Tool_User_Day_Usage_Select_Column {
406
- /** column name */
407
- AiHandle = "aiHandle",
408
- /** column name */
409
- AiInteractionCount = "aiInteractionCount",
410
- /** column name */
411
- AiToolTokenId = "aiToolTokenId",
412
- /** column name */
413
- AiToolType = "aiToolType",
414
- /** column name */
415
- AiToolUserId = "aiToolUserId",
416
- /** column name */
417
- Date = "date",
418
- /** column name */
419
- Email = "email",
420
- /** column name */
421
- Id = "id",
422
- /** column name */
423
- Ide = "ide",
424
- /** column name */
425
- LastSeenDate = "lastSeenDate",
426
- /** column name */
427
- Mcp = "mcp",
428
- /** column name */
429
- Model = "model",
430
- /** column name */
431
- Name = "name",
432
- /** column name */
433
- OrganizationId = "organizationId",
434
- /** column name */
435
- RawModel = "rawModel",
436
- /** column name */
437
- Source = "source",
438
- /** column name */
439
- TokenCount = "tokenCount"
440
- }
441
- type Api_Token_Aggregate_Bool_Exp = {
442
- count?: InputMaybe<Api_Token_Aggregate_Bool_Exp_Count>;
443
- };
444
- type Api_Token_Aggregate_Bool_Exp_Count = {
445
- arguments?: InputMaybe<Array<Api_Token_Select_Column>>;
446
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
447
- filter?: InputMaybe<Api_Token_Bool_Exp>;
448
- predicate: Int_Comparison_Exp;
449
- };
450
- /** Boolean expression to filter rows from the table "api_token". All fields are combined with a logical 'AND'. */
451
- type Api_Token_Bool_Exp = {
452
- _and?: InputMaybe<Array<Api_Token_Bool_Exp>>;
453
- _not?: InputMaybe<Api_Token_Bool_Exp>;
454
- _or?: InputMaybe<Array<Api_Token_Bool_Exp>>;
455
- created_at?: InputMaybe<Timestamptz_Comparison_Exp>;
456
- id?: InputMaybe<Uuid_Comparison_Exp>;
457
- name?: InputMaybe<String_Comparison_Exp>;
458
- token?: InputMaybe<String_Comparison_Exp>;
459
- user?: InputMaybe<User_Bool_Exp>;
460
- user_id?: InputMaybe<Uuid_Comparison_Exp>;
461
- };
462
- /** select columns of table "api_token" */
463
- declare enum Api_Token_Select_Column {
464
- /** column name */
465
- CreatedAt = "created_at",
466
- /** column name */
467
- Id = "id",
468
- /** column name */
469
- Name = "name",
470
- /** column name */
471
- Token = "token",
472
- /** column name */
473
- UserId = "user_id"
474
- }
475
- /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */
476
- type Bigint_Comparison_Exp = {
477
- _eq?: InputMaybe<Scalars['bigint']['input']>;
478
- _gt?: InputMaybe<Scalars['bigint']['input']>;
479
- _gte?: InputMaybe<Scalars['bigint']['input']>;
480
- _in?: InputMaybe<Array<Scalars['bigint']['input']>>;
481
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
482
- _lt?: InputMaybe<Scalars['bigint']['input']>;
483
- _lte?: InputMaybe<Scalars['bigint']['input']>;
484
- _neq?: InputMaybe<Scalars['bigint']['input']>;
485
- _nin?: InputMaybe<Array<Scalars['bigint']['input']>>;
486
- };
487
- type Broker_Host_Aggregate_Bool_Exp = {
488
- count?: InputMaybe<Broker_Host_Aggregate_Bool_Exp_Count>;
489
- };
490
- type Broker_Host_Aggregate_Bool_Exp_Count = {
491
- arguments?: InputMaybe<Array<Broker_Host_Select_Column>>;
492
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
493
- filter?: InputMaybe<Broker_Host_Bool_Exp>;
494
- predicate: Int_Comparison_Exp;
495
- };
496
- /** Boolean expression to filter rows from the table "broker_host". All fields are combined with a logical 'AND'. */
497
- type Broker_Host_Bool_Exp = {
498
- _and?: InputMaybe<Array<Broker_Host_Bool_Exp>>;
499
- _not?: InputMaybe<Broker_Host_Bool_Exp>;
500
- _or?: InputMaybe<Array<Broker_Host_Bool_Exp>>;
501
- brokerTokens?: InputMaybe<Broker_Token_Bool_Exp>;
502
- brokerTokens_aggregate?: InputMaybe<Broker_Token_Aggregate_Bool_Exp>;
503
- id?: InputMaybe<Uuid_Comparison_Exp>;
504
- organization?: InputMaybe<Organization_Bool_Exp>;
505
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
506
- realDomain?: InputMaybe<String_Comparison_Exp>;
507
- scmType?: InputMaybe<Submit_Fix_Request_Scm_Type_Enum_Comparison_Exp>;
508
- virtualDomain?: InputMaybe<Uuid_Comparison_Exp>;
509
- };
510
- /** select columns of table "broker_host" */
511
- declare enum Broker_Host_Select_Column {
512
- /** column name */
513
- Id = "id",
514
- /** column name */
515
- OrganizationId = "organizationId",
516
- /** column name */
517
- RealDomain = "realDomain",
518
- /** column name */
519
- ScmType = "scmType",
520
- /** column name */
521
- VirtualDomain = "virtualDomain"
522
- }
523
- type Broker_Token_Aggregate_Bool_Exp = {
524
- count?: InputMaybe<Broker_Token_Aggregate_Bool_Exp_Count>;
525
- };
526
- type Broker_Token_Aggregate_Bool_Exp_Count = {
527
- arguments?: InputMaybe<Array<Broker_Token_Select_Column>>;
528
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
529
- filter?: InputMaybe<Broker_Token_Bool_Exp>;
530
- predicate: Int_Comparison_Exp;
531
- };
532
- /** Boolean expression to filter rows from the table "broker_token". All fields are combined with a logical 'AND'. */
533
- type Broker_Token_Bool_Exp = {
534
- _and?: InputMaybe<Array<Broker_Token_Bool_Exp>>;
535
- _not?: InputMaybe<Broker_Token_Bool_Exp>;
536
- _or?: InputMaybe<Array<Broker_Token_Bool_Exp>>;
537
- brokerHost?: InputMaybe<Broker_Host_Bool_Exp>;
538
- brokerHostId?: InputMaybe<Uuid_Comparison_Exp>;
539
- createdOn?: InputMaybe<Timestamptz_Comparison_Exp>;
540
- id?: InputMaybe<Uuid_Comparison_Exp>;
541
- token?: InputMaybe<String_Comparison_Exp>;
542
- tokenName?: InputMaybe<String_Comparison_Exp>;
543
- };
544
- /** select columns of table "broker_token" */
545
- declare enum Broker_Token_Select_Column {
546
- /** column name */
547
- BrokerHostId = "brokerHostId",
548
- /** column name */
549
- CreatedOn = "createdOn",
550
- /** column name */
551
- Id = "id",
552
- /** column name */
553
- Token = "token",
554
- /** column name */
555
- TokenName = "tokenName"
556
- }
557
- declare enum Effort_To_Apply_Fix_Enum {
558
- /** Easy fix to be apply */
559
- Easy = "EASY",
560
- /** Hard to apply fix */
561
- Hard = "HARD",
562
- /** Moderate effort to apply fix */
563
- Moderate = "MODERATE"
564
- }
565
- /** Boolean expression to compare columns of type "effort_to_apply_fix_enum". All fields are combined with logical 'AND'. */
566
- type Effort_To_Apply_Fix_Enum_Comparison_Exp = {
567
- _eq?: InputMaybe<Effort_To_Apply_Fix_Enum>;
568
- _in?: InputMaybe<Array<Effort_To_Apply_Fix_Enum>>;
569
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
570
- _neq?: InputMaybe<Effort_To_Apply_Fix_Enum>;
571
- _nin?: InputMaybe<Array<Effort_To_Apply_Fix_Enum>>;
572
- };
573
- type False_Positive_Aggregate_Bool_Exp = {
574
- count?: InputMaybe<False_Positive_Aggregate_Bool_Exp_Count>;
575
- };
576
- type False_Positive_Aggregate_Bool_Exp_Count = {
577
- arguments?: InputMaybe<Array<False_Positive_Select_Column>>;
578
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
579
- filter?: InputMaybe<False_Positive_Bool_Exp>;
580
- predicate: Int_Comparison_Exp;
581
- };
582
- /** Boolean expression to filter rows from the table "false_positive". All fields are combined with a logical 'AND'. */
583
- type False_Positive_Bool_Exp = {
584
- _and?: InputMaybe<Array<False_Positive_Bool_Exp>>;
585
- _not?: InputMaybe<False_Positive_Bool_Exp>;
586
- _or?: InputMaybe<Array<False_Positive_Bool_Exp>>;
587
- created_on?: InputMaybe<Timestamptz_Comparison_Exp>;
588
- fixReport?: InputMaybe<FixReport_Bool_Exp>;
589
- fpInfoFile?: InputMaybe<File_Bool_Exp>;
590
- fpInfoFileId?: InputMaybe<Uuid_Comparison_Exp>;
591
- fpReportId?: InputMaybe<Uuid_Comparison_Exp>;
592
- id?: InputMaybe<Uuid_Comparison_Exp>;
593
- };
594
- /** select columns of table "false_positive" */
595
- declare enum False_Positive_Select_Column {
596
- /** column name */
597
- CreatedOn = "created_on",
598
- /** column name */
599
- FpInfoFileId = "fpInfoFileId",
600
- /** column name */
601
- FpReportId = "fpReportId",
602
- /** column name */
603
- Id = "id"
604
- }
605
- /** Boolean expression to filter rows from the table "file". All fields are combined with a logical 'AND'. */
606
- type File_Bool_Exp = {
607
- _and?: InputMaybe<Array<File_Bool_Exp>>;
608
- _not?: InputMaybe<File_Bool_Exp>;
609
- _or?: InputMaybe<Array<File_Bool_Exp>>;
610
- fixByFileInfoFile?: InputMaybe<Fix_Bool_Exp>;
611
- fixByPatchFile?: InputMaybe<Fix_Bool_Exp>;
612
- fixFileByOriginalFile?: InputMaybe<FixFile_Bool_Exp>;
613
- id?: InputMaybe<Uuid_Comparison_Exp>;
614
- path?: InputMaybe<String_Comparison_Exp>;
615
- repoByArchiveFile?: InputMaybe<Repo_Bool_Exp>;
616
- vulnerabilityReport?: InputMaybe<Vulnerability_Report_Bool_Exp>;
617
- vulnerabilityReportIssueCodeNodes?: InputMaybe<Vulnerability_Report_Issue_Code_Node_Bool_Exp>;
618
- vulnerabilityReportIssueCodeNodes_aggregate?: InputMaybe<Vulnerability_Report_Issue_Code_Node_Aggregate_Bool_Exp>;
619
- vulnerabilityReportIssues?: InputMaybe<Vulnerability_Report_Issue_Bool_Exp>;
620
- vulnerabilityReportIssues_aggregate?: InputMaybe<Vulnerability_Report_Issue_Aggregate_Bool_Exp>;
621
- };
622
- type FixAnswer_Aggregate_Bool_Exp = {
623
- count?: InputMaybe<FixAnswer_Aggregate_Bool_Exp_Count>;
624
- };
625
- type FixAnswer_Aggregate_Bool_Exp_Count = {
626
- arguments?: InputMaybe<Array<FixAnswer_Select_Column>>;
627
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
628
- filter?: InputMaybe<FixAnswer_Bool_Exp>;
629
- predicate: Int_Comparison_Exp;
630
- };
631
- /** Boolean expression to filter rows from the table "fix_answer". All fields are combined with a logical 'AND'. */
632
- type FixAnswer_Bool_Exp = {
633
- _and?: InputMaybe<Array<FixAnswer_Bool_Exp>>;
634
- _not?: InputMaybe<FixAnswer_Bool_Exp>;
635
- _or?: InputMaybe<Array<FixAnswer_Bool_Exp>>;
636
- fix?: InputMaybe<Fix_Bool_Exp>;
637
- fixId?: InputMaybe<Uuid_Comparison_Exp>;
638
- id?: InputMaybe<Uuid_Comparison_Exp>;
639
- key?: InputMaybe<String_Comparison_Exp>;
640
- value?: InputMaybe<String_Comparison_Exp>;
641
- };
642
- /** select columns of table "fix_answer" */
643
- declare enum FixAnswer_Select_Column {
644
- /** column name */
645
- FixId = "fixId",
646
- /** column name */
647
- Id = "id",
648
- /** column name */
649
- Key = "key",
650
- /** column name */
651
- Value = "value"
652
- }
653
- type FixFile_Aggregate_Bool_Exp = {
654
- bool_and?: InputMaybe<FixFile_Aggregate_Bool_Exp_Bool_And>;
655
- bool_or?: InputMaybe<FixFile_Aggregate_Bool_Exp_Bool_Or>;
656
- count?: InputMaybe<FixFile_Aggregate_Bool_Exp_Count>;
657
- };
658
- type FixFile_Aggregate_Bool_Exp_Bool_And = {
659
- arguments: FixFile_Select_Column_FixFile_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
660
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
661
- filter?: InputMaybe<FixFile_Bool_Exp>;
662
- predicate: Boolean_Comparison_Exp;
663
- };
664
- type FixFile_Aggregate_Bool_Exp_Bool_Or = {
665
- arguments: FixFile_Select_Column_FixFile_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
666
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
667
- filter?: InputMaybe<FixFile_Bool_Exp>;
668
- predicate: Boolean_Comparison_Exp;
669
- };
670
- type FixFile_Aggregate_Bool_Exp_Count = {
671
- arguments?: InputMaybe<Array<FixFile_Select_Column>>;
672
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
673
- filter?: InputMaybe<FixFile_Bool_Exp>;
674
- predicate: Int_Comparison_Exp;
675
- };
676
- /** Boolean expression to filter rows from the table "fix_file". All fields are combined with a logical 'AND'. */
677
- type FixFile_Bool_Exp = {
678
- _and?: InputMaybe<Array<FixFile_Bool_Exp>>;
679
- _not?: InputMaybe<FixFile_Bool_Exp>;
680
- _or?: InputMaybe<Array<FixFile_Bool_Exp>>;
681
- fileRepoRelativePath?: InputMaybe<String_Comparison_Exp>;
682
- fix?: InputMaybe<Fix_Bool_Exp>;
683
- fixId?: InputMaybe<Uuid_Comparison_Exp>;
684
- id?: InputMaybe<Uuid_Comparison_Exp>;
685
- isSecondary?: InputMaybe<Boolean_Comparison_Exp>;
686
- originalFile?: InputMaybe<File_Bool_Exp>;
687
- originalFileId?: InputMaybe<Uuid_Comparison_Exp>;
688
- };
689
- /** select columns of table "fix_file" */
690
- declare enum FixFile_Select_Column {
691
- /** column name */
692
- FileRepoRelativePath = "fileRepoRelativePath",
693
- /** column name */
694
- FixId = "fixId",
695
- /** column name */
696
- Id = "id",
697
- /** column name */
698
- IsSecondary = "isSecondary",
699
- /** column name */
700
- OriginalFileId = "originalFileId"
701
- }
702
- /** select "fixFile_aggregate_bool_exp_bool_and_arguments_columns" columns of table "fix_file" */
703
- declare enum FixFile_Select_Column_FixFile_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
704
- /** column name */
705
- IsSecondary = "isSecondary"
706
- }
707
- /** select "fixFile_aggregate_bool_exp_bool_or_arguments_columns" columns of table "fix_file" */
708
- declare enum FixFile_Select_Column_FixFile_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
709
- /** column name */
710
- IsSecondary = "isSecondary"
711
- }
712
- /** Boolean expression to filter rows from the table "fix_report". All fields are combined with a logical 'AND'. */
713
- type FixReport_Bool_Exp = {
714
- _and?: InputMaybe<Array<FixReport_Bool_Exp>>;
715
- _not?: InputMaybe<FixReport_Bool_Exp>;
716
- _or?: InputMaybe<Array<FixReport_Bool_Exp>>;
717
- analysisUrl?: InputMaybe<String_Comparison_Exp>;
718
- assignedTo?: InputMaybe<Json_Comparison_Exp>;
719
- confidences?: InputMaybe<Json_Comparison_Exp>;
720
- createdByUser?: InputMaybe<User_Bool_Exp>;
721
- createdByUserId?: InputMaybe<Uuid_Comparison_Exp>;
722
- createdOn?: InputMaybe<Timestamptz_Comparison_Exp>;
723
- expirationOn?: InputMaybe<Timestamptz_Comparison_Exp>;
724
- failReason?: InputMaybe<String_Comparison_Exp>;
725
- falsePositives?: InputMaybe<False_Positive_Bool_Exp>;
726
- falsePositives_aggregate?: InputMaybe<False_Positive_Aggregate_Bool_Exp>;
727
- fixes?: InputMaybe<Fix_Bool_Exp>;
728
- fixesCountByEffort?: InputMaybe<Json_Comparison_Exp>;
729
- fixesDoneCount?: InputMaybe<Int_Comparison_Exp>;
730
- fixesInprogressCount?: InputMaybe<Int_Comparison_Exp>;
731
- fixesReadyCount?: InputMaybe<Int_Comparison_Exp>;
732
- fixes_aggregate?: InputMaybe<Fix_Aggregate_Bool_Exp>;
733
- freshFixes?: InputMaybe<Fix_Bool_Exp>;
734
- hybridFixes?: InputMaybe<Int_Comparison_Exp>;
735
- id?: InputMaybe<Uuid_Comparison_Exp>;
736
- isAiEnabled?: InputMaybe<Boolean_Comparison_Exp>;
737
- issueLanguages?: InputMaybe<Json_Comparison_Exp>;
738
- issueTypes?: InputMaybe<Json_Comparison_Exp>;
739
- remainingUnstableFixes?: InputMaybe<Int_Comparison_Exp>;
740
- repo?: InputMaybe<Repo_Bool_Exp>;
741
- repoArchiveId?: InputMaybe<Uuid_Comparison_Exp>;
742
- s3RefreshedOn?: InputMaybe<Timestamptz_Comparison_Exp>;
743
- scans?: InputMaybe<Scan_Bool_Exp>;
744
- scans_aggregate?: InputMaybe<Scan_Aggregate_Bool_Exp>;
745
- state?: InputMaybe<Fix_Report_State_Enum_Comparison_Exp>;
746
- vulnerabilityReport?: InputMaybe<Vulnerability_Report_Bool_Exp>;
747
- vulnerabilityReportId?: InputMaybe<Uuid_Comparison_Exp>;
748
- vulnerabilitySeverities?: InputMaybe<Json_Comparison_Exp>;
749
- };
750
- type Fix_Aggregate_Bool_Exp = {
751
- bool_and?: InputMaybe<Fix_Aggregate_Bool_Exp_Bool_And>;
752
- bool_or?: InputMaybe<Fix_Aggregate_Bool_Exp_Bool_Or>;
753
- count?: InputMaybe<Fix_Aggregate_Bool_Exp_Count>;
754
- };
755
- type Fix_Aggregate_Bool_Exp_Bool_And = {
756
- arguments: Fix_Select_Column_Fix_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
757
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
758
- filter?: InputMaybe<Fix_Bool_Exp>;
759
- predicate: Boolean_Comparison_Exp;
760
- };
761
- type Fix_Aggregate_Bool_Exp_Bool_Or = {
762
- arguments: Fix_Select_Column_Fix_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
763
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
764
- filter?: InputMaybe<Fix_Bool_Exp>;
765
- predicate: Boolean_Comparison_Exp;
766
- };
767
- type Fix_Aggregate_Bool_Exp_Count = {
768
- arguments?: InputMaybe<Array<Fix_Select_Column>>;
769
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
770
- filter?: InputMaybe<Fix_Bool_Exp>;
771
- predicate: Int_Comparison_Exp;
772
- };
773
- /** Boolean expression to filter rows from the table "fix". All fields are combined with a logical 'AND'. */
774
- type Fix_Bool_Exp = {
775
- _and?: InputMaybe<Array<Fix_Bool_Exp>>;
776
- _not?: InputMaybe<Fix_Bool_Exp>;
777
- _or?: InputMaybe<Array<Fix_Bool_Exp>>;
778
- confidence?: InputMaybe<Int_Comparison_Exp>;
779
- created_on?: InputMaybe<Timestamptz_Comparison_Exp>;
780
- downloadedBy?: InputMaybe<User_Bool_Exp>;
781
- downloadedByUserIdDeprecated?: InputMaybe<Uuid_Comparison_Exp>;
782
- effortToApplyFix?: InputMaybe<Effort_To_Apply_Fix_Enum_Comparison_Exp>;
783
- fixAnswers?: InputMaybe<FixAnswer_Bool_Exp>;
784
- fixAnswers_aggregate?: InputMaybe<FixAnswer_Aggregate_Bool_Exp>;
785
- fixContentHashId?: InputMaybe<String_Comparison_Exp>;
786
- fixFiles?: InputMaybe<FixFile_Bool_Exp>;
787
- fixFiles_aggregate?: InputMaybe<FixFile_Aggregate_Bool_Exp>;
788
- fixInfoFile?: InputMaybe<File_Bool_Exp>;
789
- fixInfoFileId?: InputMaybe<Uuid_Comparison_Exp>;
790
- fixRatings?: InputMaybe<Fix_Rating_Bool_Exp>;
791
- fixRawContentHash?: InputMaybe<String_Comparison_Exp>;
792
- fixReport?: InputMaybe<FixReport_Bool_Exp>;
793
- fixReportId?: InputMaybe<Uuid_Comparison_Exp>;
794
- fix_shared_state_id?: InputMaybe<Uuid_Comparison_Exp>;
795
- gitBlameLogin?: InputMaybe<String_Comparison_Exp>;
796
- id?: InputMaybe<Uuid_Comparison_Exp>;
797
- isArchived?: InputMaybe<Boolean_Comparison_Exp>;
798
- isArchivedDeprecated?: InputMaybe<Boolean_Comparison_Exp>;
799
- isExpired?: InputMaybe<Boolean_Comparison_Exp>;
800
- issueLanguageOld?: InputMaybe<IssueLanguage_Enum_Comparison_Exp>;
801
- issueTypeOld?: InputMaybe<IssueType_Enum_Comparison_Exp>;
802
- modifiedBy?: InputMaybe<String_Comparison_Exp>;
803
- numberOfVulnerabilityIssues?: InputMaybe<Int_Comparison_Exp>;
804
- patchFile?: InputMaybe<File_Bool_Exp>;
805
- patchFileId?: InputMaybe<Uuid_Comparison_Exp>;
806
- safeIssueLanguage?: InputMaybe<String_Comparison_Exp>;
807
- safeIssueType?: InputMaybe<String_Comparison_Exp>;
808
- scmSubmitFixRequests?: InputMaybe<Scm_Submit_Fix_Request_Bool_Exp>;
809
- severityText?: InputMaybe<String_Comparison_Exp>;
810
- severityValue?: InputMaybe<Int_Comparison_Exp>;
811
- sharedState?: InputMaybe<Fix_Shared_State_Bool_Exp>;
812
- state?: InputMaybe<String_Comparison_Exp>;
813
- stateDeprecated?: InputMaybe<Fix_State_Enum_Comparison_Exp>;
814
- submitFixRequests?: InputMaybe<Fix_To_Submit_Fix_Request_Bool_Exp>;
815
- submitFixRequests_aggregate?: InputMaybe<Fix_To_Submit_Fix_Request_Aggregate_Bool_Exp>;
816
- urlPath?: InputMaybe<String_Comparison_Exp>;
817
- vulnerabilityReportIssues?: InputMaybe<Vulnerability_Report_Issue_Bool_Exp>;
818
- vulnerabilityReportIssues_aggregate?: InputMaybe<Vulnerability_Report_Issue_Aggregate_Bool_Exp>;
819
- vulnerabilitySeverityOld?: InputMaybe<Vulnerability_Severity_Enum_Comparison_Exp>;
820
- };
821
- /** Boolean expression to filter rows from the table "fix_download_source". All fields are combined with a logical 'AND'. */
822
- type Fix_Download_Source_Bool_Exp = {
823
- _and?: InputMaybe<Array<Fix_Download_Source_Bool_Exp>>;
824
- _not?: InputMaybe<Fix_Download_Source_Bool_Exp>;
825
- _or?: InputMaybe<Array<Fix_Download_Source_Bool_Exp>>;
826
- comment?: InputMaybe<String_Comparison_Exp>;
827
- value?: InputMaybe<String_Comparison_Exp>;
828
- };
829
- declare enum Fix_Download_Source_Enum {
830
- /** User was provided a fix by auto-MVS integration */
831
- AutoMvs = "AUTO_MVS",
832
- /** User downloaded fix from the MCP integration in the IDE */
833
- Mcp = "MCP",
834
- /** Fix downloaded by user from the Mobb web UI */
835
- WebUi = "WEB_UI"
836
- }
837
- /** Boolean expression to compare columns of type "fix_download_source_enum". All fields are combined with logical 'AND'. */
838
- type Fix_Download_Source_Enum_Comparison_Exp = {
839
- _eq?: InputMaybe<Fix_Download_Source_Enum>;
840
- _in?: InputMaybe<Array<Fix_Download_Source_Enum>>;
841
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
842
- _neq?: InputMaybe<Fix_Download_Source_Enum>;
843
- _nin?: InputMaybe<Array<Fix_Download_Source_Enum>>;
844
- };
845
- type Fix_Download_To_User_Aggregate_Bool_Exp = {
846
- count?: InputMaybe<Fix_Download_To_User_Aggregate_Bool_Exp_Count>;
847
- };
848
- type Fix_Download_To_User_Aggregate_Bool_Exp_Count = {
849
- arguments?: InputMaybe<Array<Fix_Download_To_User_Select_Column>>;
850
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
851
- filter?: InputMaybe<Fix_Download_To_User_Bool_Exp>;
852
- predicate: Int_Comparison_Exp;
853
- };
854
- /** Boolean expression to filter rows from the table "fix_download_to_user". All fields are combined with a logical 'AND'. */
855
- type Fix_Download_To_User_Bool_Exp = {
856
- _and?: InputMaybe<Array<Fix_Download_To_User_Bool_Exp>>;
857
- _not?: InputMaybe<Fix_Download_To_User_Bool_Exp>;
858
- _or?: InputMaybe<Array<Fix_Download_To_User_Bool_Exp>>;
859
- downloadSource?: InputMaybe<Fix_Download_Source_Enum_Comparison_Exp>;
860
- downloadedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
861
- fixId?: InputMaybe<Uuid_Comparison_Exp>;
862
- fixSharedId?: InputMaybe<Uuid_Comparison_Exp>;
863
- fix_download_source?: InputMaybe<Fix_Download_Source_Bool_Exp>;
864
- fix_shared_state?: InputMaybe<Fix_Shared_State_Bool_Exp>;
865
- id?: InputMaybe<Uuid_Comparison_Exp>;
866
- user?: InputMaybe<User_Bool_Exp>;
867
- userId?: InputMaybe<Uuid_Comparison_Exp>;
868
- };
869
- /** select columns of table "fix_download_to_user" */
870
- declare enum Fix_Download_To_User_Select_Column {
871
- /** column name */
872
- DownloadSource = "downloadSource",
873
- /** column name */
874
- DownloadedAt = "downloadedAt",
875
- /** column name */
876
- FixId = "fixId",
877
- /** column name */
878
- FixSharedId = "fixSharedId",
879
- /** column name */
880
- Id = "id",
881
- /** column name */
882
- UserId = "userId"
883
- }
884
- type Fix_Rating_Aggregate_Bool_Exp = {
885
- count?: InputMaybe<Fix_Rating_Aggregate_Bool_Exp_Count>;
886
- };
887
- type Fix_Rating_Aggregate_Bool_Exp_Count = {
888
- arguments?: InputMaybe<Array<Fix_Rating_Select_Column>>;
889
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
890
- filter?: InputMaybe<Fix_Rating_Bool_Exp>;
891
- predicate: Int_Comparison_Exp;
892
- };
893
- /** Boolean expression to filter rows from the table "fix_rating". All fields are combined with a logical 'AND'. */
894
- type Fix_Rating_Bool_Exp = {
895
- _and?: InputMaybe<Array<Fix_Rating_Bool_Exp>>;
896
- _not?: InputMaybe<Fix_Rating_Bool_Exp>;
897
- _or?: InputMaybe<Array<Fix_Rating_Bool_Exp>>;
898
- comment?: InputMaybe<String_Comparison_Exp>;
899
- excludedByUserId?: InputMaybe<Uuid_Comparison_Exp>;
900
- fix?: InputMaybe<Fix_Bool_Exp>;
901
- fixId?: InputMaybe<Uuid_Comparison_Exp>;
902
- fixRatingTag?: InputMaybe<Fix_Rating_Tag_Enum_Comparison_Exp>;
903
- fixSharedStateId?: InputMaybe<Uuid_Comparison_Exp>;
904
- id?: InputMaybe<Uuid_Comparison_Exp>;
905
- updatedDate?: InputMaybe<Timestamptz_Comparison_Exp>;
906
- user?: InputMaybe<User_Bool_Exp>;
907
- voteScore?: InputMaybe<Smallint_Comparison_Exp>;
908
- };
909
- /** select columns of table "fix_rating" */
910
- declare enum Fix_Rating_Select_Column {
911
- /** column name */
912
- Comment = "comment",
913
- /** column name */
914
- ExcludedByUserId = "excludedByUserId",
915
- /** column name */
916
- FixId = "fixId",
917
- /** column name */
918
- FixRatingTag = "fixRatingTag",
919
- /** column name */
920
- FixSharedStateId = "fixSharedStateId",
921
- /** column name */
922
- Id = "id",
923
- /** column name */
924
- UpdatedDate = "updatedDate",
925
- /** column name */
926
- VoteScore = "voteScore"
927
- }
928
- declare enum Fix_Rating_Tag_Enum {
929
- /** Bad code pattern */
930
- BadPattern = "BAD_PATTERN",
931
- /** Fix will break my code */
932
- BreakingFix = "BREAKING_FIX",
933
- /** Issues is false positive */
934
- FalsePositive = "FALSE_POSITIVE",
935
- /** Other */
936
- Other = "OTHER",
937
- /** Fix does not resolve the issue */
938
- UnresolvedFix = "UNRESOLVED_FIX"
939
- }
940
- /** Boolean expression to compare columns of type "fix_rating_tag_enum". All fields are combined with logical 'AND'. */
941
- type Fix_Rating_Tag_Enum_Comparison_Exp = {
942
- _eq?: InputMaybe<Fix_Rating_Tag_Enum>;
943
- _in?: InputMaybe<Array<Fix_Rating_Tag_Enum>>;
944
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
945
- _neq?: InputMaybe<Fix_Rating_Tag_Enum>;
946
- _nin?: InputMaybe<Array<Fix_Rating_Tag_Enum>>;
947
- };
948
- declare enum Fix_Report_State_Enum {
949
- /** The fix report was created in the database */
950
- Created = "Created",
951
- /** A delete report - should not be seen in the UI */
952
- Deleted = "Deleted",
953
- /** The report was digested */
954
- Digested = "Digested",
955
- /** An expired report - the files are not available anymore */
956
- Expired = "Expired",
957
- /** The report init failed during initialization */
958
- Failed = "Failed",
959
- /** All the issues in the fix report were processed */
960
- Finished = "Finished",
961
- /** The fix report was initialized, report init done */
962
- Initialized = "Initialized",
963
- /** A request was sent to analyze the fix report */
964
- Requested = "Requested"
965
- }
966
- /** Boolean expression to compare columns of type "fix_report_state_enum". All fields are combined with logical 'AND'. */
967
- type Fix_Report_State_Enum_Comparison_Exp = {
968
- _eq?: InputMaybe<Fix_Report_State_Enum>;
969
- _in?: InputMaybe<Array<Fix_Report_State_Enum>>;
970
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
971
- _neq?: InputMaybe<Fix_Report_State_Enum>;
972
- _nin?: InputMaybe<Array<Fix_Report_State_Enum>>;
973
- };
974
- /** select columns of table "fix" */
975
- declare enum Fix_Select_Column {
976
- /** column name */
977
- Confidence = "confidence",
978
- /** column name */
979
- CreatedOn = "created_on",
980
- /** column name */
981
- DownloadedByUserIdDeprecated = "downloadedByUserIdDeprecated",
982
- /** column name */
983
- EffortToApplyFix = "effortToApplyFix",
984
- /** column name */
985
- FixContentHashId = "fixContentHashId",
986
- /** column name */
987
- FixInfoFileId = "fixInfoFileId",
988
- /** column name */
989
- FixRawContentHash = "fixRawContentHash",
990
- /** column name */
991
- FixReportId = "fixReportId",
992
- /** column name */
993
- FixSharedStateId = "fix_shared_state_id",
994
- /** column name */
995
- GitBlameLogin = "gitBlameLogin",
996
- /** column name */
997
- Id = "id",
998
- /** column name */
999
- IsArchivedDeprecated = "isArchivedDeprecated",
1000
- /** column name */
1001
- IsExpired = "isExpired",
1002
- /** column name */
1003
- IssueLanguageOld = "issueLanguageOld",
1004
- /** column name */
1005
- IssueTypeOld = "issueTypeOld",
1006
- /** column name */
1007
- ModifiedBy = "modifiedBy",
1008
- /** column name */
1009
- PatchFileId = "patchFileId",
1010
- /** column name */
1011
- StateDeprecated = "stateDeprecated",
1012
- /** column name */
1013
- VulnerabilitySeverityOld = "vulnerabilitySeverityOld"
1014
- }
1015
- /** select "fix_aggregate_bool_exp_bool_and_arguments_columns" columns of table "fix" */
1016
- declare enum Fix_Select_Column_Fix_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
1017
- /** column name */
1018
- IsArchivedDeprecated = "isArchivedDeprecated",
1019
- /** column name */
1020
- IsExpired = "isExpired"
1021
- }
1022
- /** select "fix_aggregate_bool_exp_bool_or_arguments_columns" columns of table "fix" */
1023
- declare enum Fix_Select_Column_Fix_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
1024
- /** column name */
1025
- IsArchivedDeprecated = "isArchivedDeprecated",
1026
- /** column name */
1027
- IsExpired = "isExpired"
1028
- }
1029
- /** Boolean expression to filter rows from the table "fix_shared_state". All fields are combined with a logical 'AND'. */
1030
- type Fix_Shared_State_Bool_Exp = {
1031
- _and?: InputMaybe<Array<Fix_Shared_State_Bool_Exp>>;
1032
- _not?: InputMaybe<Fix_Shared_State_Bool_Exp>;
1033
- _or?: InputMaybe<Array<Fix_Shared_State_Bool_Exp>>;
1034
- downloadedBy?: InputMaybe<Fix_Download_To_User_Bool_Exp>;
1035
- downloadedBy_aggregate?: InputMaybe<Fix_Download_To_User_Aggregate_Bool_Exp>;
1036
- fixHash?: InputMaybe<String_Comparison_Exp>;
1037
- fixRatings?: InputMaybe<Fix_Rating_Bool_Exp>;
1038
- fixRatings_aggregate?: InputMaybe<Fix_Rating_Aggregate_Bool_Exp>;
1039
- fixes?: InputMaybe<Fix_Bool_Exp>;
1040
- fixes_aggregate?: InputMaybe<Fix_Aggregate_Bool_Exp>;
1041
- id?: InputMaybe<Uuid_Comparison_Exp>;
1042
- isArchived?: InputMaybe<Boolean_Comparison_Exp>;
1043
- project?: InputMaybe<Project_Bool_Exp>;
1044
- projectId?: InputMaybe<Uuid_Comparison_Exp>;
1045
- repoUrl?: InputMaybe<String_Comparison_Exp>;
1046
- scmSubmitFixRequests?: InputMaybe<Fix_To_Scm_Submit_Fix_Request_Bool_Exp>;
1047
- scmSubmitFixRequests_aggregate?: InputMaybe<Fix_To_Scm_Submit_Fix_Request_Aggregate_Bool_Exp>;
1048
- state?: InputMaybe<Fix_State_Enum_Comparison_Exp>;
1049
- };
1050
- declare enum Fix_State_Enum {
1051
- /** The fix was committed to a PR */
1052
- Committed = "Committed",
1053
- /** All questions are answered – the fix is ready to be applied */
1054
- Done = "Done",
1055
- /** The patch for the fix was downloaded */
1056
- Downloaded = "Downloaded",
1057
- /** The PR containing the fix was merged to his base branch */
1058
- Merged = "Merged",
1059
- /** The questions are ready to review */
1060
- Ready = "Ready"
1061
- }
1062
- /** Boolean expression to compare columns of type "fix_state_enum". All fields are combined with logical 'AND'. */
1063
- type Fix_State_Enum_Comparison_Exp = {
1064
- _eq?: InputMaybe<Fix_State_Enum>;
1065
- _in?: InputMaybe<Array<Fix_State_Enum>>;
1066
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1067
- _neq?: InputMaybe<Fix_State_Enum>;
1068
- _nin?: InputMaybe<Array<Fix_State_Enum>>;
1069
- };
1070
- type Fix_To_Scm_Submit_Fix_Request_Aggregate_Bool_Exp = {
1071
- count?: InputMaybe<Fix_To_Scm_Submit_Fix_Request_Aggregate_Bool_Exp_Count>;
1072
- };
1073
- type Fix_To_Scm_Submit_Fix_Request_Aggregate_Bool_Exp_Count = {
1074
- arguments?: InputMaybe<Array<Fix_To_Scm_Submit_Fix_Request_Select_Column>>;
1075
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1076
- filter?: InputMaybe<Fix_To_Scm_Submit_Fix_Request_Bool_Exp>;
1077
- predicate: Int_Comparison_Exp;
1078
- };
1079
- /** Boolean expression to filter rows from the table "fix_to_scm_submit_fix_request". All fields are combined with a logical 'AND'. */
1080
- type Fix_To_Scm_Submit_Fix_Request_Bool_Exp = {
1081
- _and?: InputMaybe<Array<Fix_To_Scm_Submit_Fix_Request_Bool_Exp>>;
1082
- _not?: InputMaybe<Fix_To_Scm_Submit_Fix_Request_Bool_Exp>;
1083
- _or?: InputMaybe<Array<Fix_To_Scm_Submit_Fix_Request_Bool_Exp>>;
1084
- fix?: InputMaybe<Fix_Bool_Exp>;
1085
- fixId?: InputMaybe<Uuid_Comparison_Exp>;
1086
- fixSharedState?: InputMaybe<Fix_Shared_State_Bool_Exp>;
1087
- fix_shared_state_id?: InputMaybe<Uuid_Comparison_Exp>;
1088
- id?: InputMaybe<Uuid_Comparison_Exp>;
1089
- scmSubmitFixRequest?: InputMaybe<Scm_Submit_Fix_Request_Bool_Exp>;
1090
- scmSubmitFixRequestId?: InputMaybe<Uuid_Comparison_Exp>;
1091
- };
1092
- /** select columns of table "fix_to_scm_submit_fix_request" */
1093
- declare enum Fix_To_Scm_Submit_Fix_Request_Select_Column {
1094
- /** column name */
1095
- FixId = "fixId",
1096
- /** column name */
1097
- FixSharedStateId = "fix_shared_state_id",
1098
- /** column name */
1099
- Id = "id",
1100
- /** column name */
1101
- ScmSubmitFixRequestId = "scmSubmitFixRequestId"
1102
- }
1103
- type Fix_To_Submit_Fix_Request_Aggregate_Bool_Exp = {
1104
- count?: InputMaybe<Fix_To_Submit_Fix_Request_Aggregate_Bool_Exp_Count>;
1105
- };
1106
- type Fix_To_Submit_Fix_Request_Aggregate_Bool_Exp_Count = {
1107
- arguments?: InputMaybe<Array<Fix_To_Submit_Fix_Request_Select_Column>>;
1108
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1109
- filter?: InputMaybe<Fix_To_Submit_Fix_Request_Bool_Exp>;
1110
- predicate: Int_Comparison_Exp;
1111
- };
1112
- /** Boolean expression to filter rows from the table "fix_to_submit_fix_request". All fields are combined with a logical 'AND'. */
1113
- type Fix_To_Submit_Fix_Request_Bool_Exp = {
1114
- _and?: InputMaybe<Array<Fix_To_Submit_Fix_Request_Bool_Exp>>;
1115
- _not?: InputMaybe<Fix_To_Submit_Fix_Request_Bool_Exp>;
1116
- _or?: InputMaybe<Array<Fix_To_Submit_Fix_Request_Bool_Exp>>;
1117
- fix?: InputMaybe<Fix_Bool_Exp>;
1118
- fixId?: InputMaybe<Uuid_Comparison_Exp>;
1119
- id?: InputMaybe<Uuid_Comparison_Exp>;
1120
- submitFixRequest?: InputMaybe<Submit_Fix_Request_Bool_Exp>;
1121
- submitFixRequestId?: InputMaybe<Uuid_Comparison_Exp>;
1122
- };
1123
- /** select columns of table "fix_to_submit_fix_request" */
1124
- declare enum Fix_To_Submit_Fix_Request_Select_Column {
1125
- /** column name */
1126
- FixId = "fixId",
1127
- /** column name */
1128
- Id = "id",
1129
- /** column name */
1130
- SubmitFixRequestId = "submitFixRequestId"
1131
- }
1132
- type Github_App_Aggregate_Bool_Exp = {
1133
- count?: InputMaybe<Github_App_Aggregate_Bool_Exp_Count>;
1134
- };
1135
- type Github_App_Aggregate_Bool_Exp_Count = {
1136
- arguments?: InputMaybe<Array<Github_App_Select_Column>>;
1137
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1138
- filter?: InputMaybe<Github_App_Bool_Exp>;
1139
- predicate: Int_Comparison_Exp;
1140
- };
1141
- /** Boolean expression to filter rows from the table "github_app". All fields are combined with a logical 'AND'. */
1142
- type Github_App_Bool_Exp = {
1143
- _and?: InputMaybe<Array<Github_App_Bool_Exp>>;
1144
- _not?: InputMaybe<Github_App_Bool_Exp>;
1145
- _or?: InputMaybe<Array<Github_App_Bool_Exp>>;
1146
- created_on?: InputMaybe<Time_Comparison_Exp>;
1147
- id?: InputMaybe<Uuid_Comparison_Exp>;
1148
- installationId?: InputMaybe<Int_Comparison_Exp>;
1149
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
1150
- };
1151
- /** select columns of table "github_app" */
1152
- declare enum Github_App_Select_Column {
1153
- /** column name */
1154
- CreatedOn = "created_on",
1155
- /** column name */
1156
- Id = "id",
1157
- /** column name */
1158
- InstallationId = "installationId",
1159
- /** column name */
1160
- OrganizationId = "organizationId"
1161
- }
1162
- type Integration_Aggregate_Bool_Exp = {
1163
- count?: InputMaybe<Integration_Aggregate_Bool_Exp_Count>;
1164
- };
1165
- type Integration_Aggregate_Bool_Exp_Count = {
1166
- arguments?: InputMaybe<Array<Integration_Select_Column>>;
1167
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1168
- filter?: InputMaybe<Integration_Bool_Exp>;
1169
- predicate: Int_Comparison_Exp;
1170
- };
1171
- /** Boolean expression to filter rows from the table "integration". All fields are combined with a logical 'AND'. */
1172
- type Integration_Bool_Exp = {
1173
- _and?: InputMaybe<Array<Integration_Bool_Exp>>;
1174
- _not?: InputMaybe<Integration_Bool_Exp>;
1175
- _or?: InputMaybe<Array<Integration_Bool_Exp>>;
1176
- accessToken?: InputMaybe<String_Comparison_Exp>;
1177
- id?: InputMaybe<Uuid_Comparison_Exp>;
1178
- organization?: InputMaybe<Organization_Bool_Exp>;
1179
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
1180
- type?: InputMaybe<Integration_Type_Enum_Comparison_Exp>;
1181
- user?: InputMaybe<User_Bool_Exp>;
1182
- userId?: InputMaybe<Uuid_Comparison_Exp>;
1183
- values?: InputMaybe<Jsonb_Comparison_Exp>;
1184
- };
1185
- /** select columns of table "integration" */
1186
- declare enum Integration_Select_Column {
1187
- /** column name */
1188
- AccessToken = "accessToken",
1189
- /** column name */
1190
- Id = "id",
1191
- /** column name */
1192
- OrganizationId = "organizationId",
1193
- /** column name */
1194
- Type = "type",
1195
- /** column name */
1196
- UserId = "userId",
1197
- /** column name */
1198
- Values = "values"
1199
- }
1200
- declare enum Integration_Type_Enum {
1201
- /** checkmarx */
1202
- Checkmarx = "checkmarx",
1203
- /** linear */
1204
- Linear = "linear"
1205
- }
1206
- /** Boolean expression to compare columns of type "integration_type_enum". All fields are combined with logical 'AND'. */
1207
- type Integration_Type_Enum_Comparison_Exp = {
1208
- _eq?: InputMaybe<Integration_Type_Enum>;
1209
- _in?: InputMaybe<Array<Integration_Type_Enum>>;
1210
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1211
- _neq?: InputMaybe<Integration_Type_Enum>;
1212
- _nin?: InputMaybe<Array<Integration_Type_Enum>>;
1213
- };
1214
- declare enum IssueLanguage_Enum {
1215
- /** C# */
1216
- CSharp = "CSharp",
1217
- /** C++ */
1218
- Cpp = "Cpp",
1219
- /** Default */
1220
- Default = "Default",
1221
- /** Dockerfile */
1222
- Dockerfile = "Dockerfile",
1223
- /** Go */
1224
- Go = "Go",
1225
- /** Java */
1226
- Java = "Java",
1227
- /** JavaScript */
1228
- JavaScript = "JavaScript",
1229
- /** PHP */
1230
- Php = "PHP",
1231
- /** Python */
1232
- Python = "Python",
1233
- /** SQL */
1234
- Sql = "SQL",
1235
- /** XML */
1236
- Xml = "XML",
1237
- /** YAML */
1238
- Yaml = "YAML"
1239
- }
1240
- /** Boolean expression to compare columns of type "issueLanguage_enum". All fields are combined with logical 'AND'. */
1241
- type IssueLanguage_Enum_Comparison_Exp = {
1242
- _eq?: InputMaybe<IssueLanguage_Enum>;
1243
- _in?: InputMaybe<Array<IssueLanguage_Enum>>;
1244
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1245
- _neq?: InputMaybe<IssueLanguage_Enum>;
1246
- _nin?: InputMaybe<Array<IssueLanguage_Enum>>;
1247
- };
1248
- declare enum IssueType_Enum {
1249
- /** ACTION_NOT_PINNED_TO_COMMIT_SHA */
1250
- ActionNotPinnedToCommitSha = "ACTION_NOT_PINNED_TO_COMMIT_SHA",
1251
- /** Disabling auto-escaping makes the code more vulnerable to XSS */
1252
- AutoEscapeFalse = "AUTO_ESCAPE_FALSE",
1253
- /** AVOID_BUILTIN_SHADOWING */
1254
- AvoidBuiltinShadowing = "AVOID_BUILTIN_SHADOWING",
1255
- /** AVOID_IDENTITY_COMPARISON_CACHED_TYPES */
1256
- AvoidIdentityComparisonCachedTypes = "AVOID_IDENTITY_COMPARISON_CACHED_TYPES",
1257
- /** Buffer Overflow */
1258
- BufferOverflow = "BUFFER_OVERFLOW",
1259
- /** Client DOM Stored Code Injection */
1260
- ClientDomStoredCodeInjection = "CLIENT_DOM_STORED_CODE_INJECTION",
1261
- /** Command Injection */
1262
- CmDi = "CMDi",
1263
- /** Command Injection: relative path command */
1264
- CmDiRelativePathCommand = "CMDi_relative_path_command",
1265
- /** Sections of code should not be commented out */
1266
- CodeInComment = "CODE_IN_COMMENT",
1267
- /** A data member and a function have the same name which can be confusing to the developer */
1268
- ConfusingNaming = "CONFUSING_NAMING",
1269
- /** CREDENTIAL_DISCLOSURE */
1270
- CredentialDisclosure = "CREDENTIAL_DISCLOSURE",
1271
- /** Cross-Site Request Forgery (CSRF) occurs when an attacker tricks a user into performing actions they did not intend on a web application in which they are authenticated, potentially leading to unauthorized actions or data manipulation */
1272
- Csrf = "CSRF",
1273
- /** Use of dangerous function */
1274
- DangerousFunctionOverflow = "DANGEROUS_FUNCTION_OVERFLOW",
1275
- /** Dead Code: Unused Field */
1276
- DeadCodeUnusedField = "DEAD_CODE_UNUSED_FIELD",
1277
- /** Running the application in debug mode */
1278
- DebugEnabled = "DEBUG_ENABLED",
1279
- /** DECLARE_VARIABLE_EXPLICITLY */
1280
- DeclareVariableExplicitly = "DECLARE_VARIABLE_EXPLICITLY",
1281
- /** Default definer rights in package or object definition */
1282
- DefaultRightsInObjDefinition = "DEFAULT_RIGHTS_IN_OBJ_DEFINITION",
1283
- /** Deprecated Function */
1284
- DeprecatedFunction = "DEPRECATED_FUNCTION",
1285
- /** DJANGO_BLANK_FIELD_NEEDS_NULL_OR_DEFAULT */
1286
- DjangoBlankFieldNeedsNullOrDefault = "DJANGO_BLANK_FIELD_NEEDS_NULL_OR_DEFAULT",
1287
- /** A denial of service by exploiting string builder */
1288
- DosStringBuilder = "DOS_STRING_BUILDER",
1289
- /** DO_NOT_RAISE_EXCEPTION */
1290
- DoNotRaiseException = "DO_NOT_RAISE_EXCEPTION",
1291
- /** DO_NOT_THROW_GENERIC_EXCEPTION */
1292
- DoNotThrowGenericException = "DO_NOT_THROW_GENERIC_EXCEPTION",
1293
- /** String literals should not be duplicated */
1294
- DuplicatedStrings = "DUPLICATED_STRINGS",
1295
- /** Erroneous string compare */
1296
- ErroneousStringCompare = "ERRONEOUS_STRING_COMPARE",
1297
- /** Error Condition Without Action */
1298
- ErrorCondtionWithoutAction = "ERROR_CONDTION_WITHOUT_ACTION",
1299
- /** frameable_login_page */
1300
- FrameableLoginPage = "FRAMEABLE_LOGIN_PAGE",
1301
- /** FUNCTION_CALL_WITHOUT_PARENTHESES */
1302
- FunctionCallWithoutParentheses = "FUNCTION_CALL_WITHOUT_PARENTHESES",
1303
- /** GH_ACTIONS_SHELL_INJECTION */
1304
- GhActionsShellInjection = "GH_ACTIONS_SHELL_INJECTION",
1305
- /** GraphQl Depth Limit */
1306
- GraphqlDepthLimit = "GRAPHQL_DEPTH_LIMIT",
1307
- /** Hardcoded Domain in HTML */
1308
- HardcodedDomainInHtml = "HARDCODED_DOMAIN_IN_HTML",
1309
- /** Hardcoded Secrets */
1310
- HardcodedSecrets = "HARDCODED_SECRETS",
1311
- /** Header Manipulation */
1312
- HeaderManipulation = "HEADER_MANIPULATION",
1313
- /** Heap Inspection by an attacker to discover secrets in memory */
1314
- HeapInspection = "HEAP_INSPECTION",
1315
- /** System Information Leak: HTML Comment in JSP */
1316
- HtmlCommentInJsp = "HTML_COMMENT_IN_JSP",
1317
- /** HTTP only cookie */
1318
- HttpOnlyCookie = "HTTP_ONLY_COOKIE",
1319
- /** HTTP_PARAMETER_POLLUTION */
1320
- HttpParameterPollution = "HTTP_PARAMETER_POLLUTION",
1321
- /** HTTP response splitting */
1322
- HttpResponseSplitting = "HTTP_RESPONSE_SPLITTING",
1323
- /** Client use of iframe without sandbox */
1324
- IframeWithoutSandbox = "IFRAME_WITHOUT_SANDBOX",
1325
- /** Improper Exception Handling */
1326
- ImproperExceptionHandling = "IMPROPER_EXCEPTION_HANDLING",
1327
- /** A resource was defined without proper release */
1328
- ImproperResourceShutdownOrRelease = "IMPROPER_RESOURCE_SHUTDOWN_OR_RELEASE",
1329
- /** IMPROPER_STRING_FORMATTING */
1330
- ImproperStringFormatting = "IMPROPER_STRING_FORMATTING",
1331
- /** Incomplete Hostname Regex */
1332
- IncompleteHostnameRegex = "INCOMPLETE_HOSTNAME_REGEX",
1333
- /** INCOMPLETE_SANITIZATION */
1334
- IncompleteSanitization = "INCOMPLETE_SANITIZATION",
1335
- /** A case where the validation on the url is partial */
1336
- IncompleteUrlSanitization = "INCOMPLETE_URL_SANITIZATION",
1337
- /** Incomplete URL Scheme Check */
1338
- IncompleteUrlSchemeCheck = "INCOMPLETE_URL_SCHEME_CHECK",
1339
- /** INCORRECT_SQL_API_USAGE */
1340
- IncorrectSqlApiUsage = "INCORRECT_SQL_API_USAGE",
1341
- /** Information Exposure via Headers */
1342
- InformationExposureViaHeaders = "INFORMATION_EXPOSURE_VIA_HEADERS",
1343
- /** Insecure Binder Configuration */
1344
- InsecureBinderConfiguration = "INSECURE_BINDER_CONFIGURATION",
1345
- /** HTTP insecure cookie */
1346
- InsecureCookie = "INSECURE_COOKIE",
1347
- /** INSECURE_POSTMESSAGE */
1348
- InsecurePostmessage = "INSECURE_POSTMESSAGE",
1349
- /** Insecure Randomness */
1350
- InsecureRandomness = "INSECURE_RANDOMNESS",
1351
- /** INSECURE_TMP_FILE */
1352
- InsecureTmpFile = "INSECURE_TMP_FILE",
1353
- /** Insecure UUID version */
1354
- InsecureUuidVersion = "INSECURE_UUID_VERSION",
1355
- /** Insufficient Logging of Sensitive Operations */
1356
- InsufficientLogging = "INSUFFICIENT_LOGGING",
1357
- /** Client jQuery deprecated symbols */
1358
- JqueryDeprecatedSymbols = "JQUERY_DEPRECATED_SYMBOLS",
1359
- /** Leftover debug code */
1360
- LeftoverDebugCode = "LEFTOVER_DEBUG_CODE",
1361
- /** A string is used in locale dependent comparison which can cause bugs */
1362
- LocaleDependentComparison = "LOCALE_DEPENDENT_COMPARISON",
1363
- /** Log Forging / Injection */
1364
- LogForging = "LOG_FORGING",
1365
- /** Missing Anti-Forgery Validation */
1366
- MissingAntiforgeryValidation = "MISSING_ANTIFORGERY_VALIDATION",
1367
- /** The program might dereference a null-pointer because it does not check the return value of a function that might return null */
1368
- MissingCheckAgainstNull = "MISSING_CHECK_AGAINST_NULL",
1369
- /** Missing CSP Header */
1370
- MissingCspHeader = "MISSING_CSP_HEADER",
1371
- /** MISSING_ENCODING_FILE_OPEN */
1372
- MissingEncodingFileOpen = "MISSING_ENCODING_FILE_OPEN",
1373
- /** Missing equals or hashcode method */
1374
- MissingEqualsOrHashcode = "MISSING_EQUALS_OR_HASHCODE",
1375
- /** Missing HSTS Header */
1376
- MissingHstsHeader = "MISSING_HSTS_HEADER",
1377
- /** Missing TLS MinVersion */
1378
- MissingSslMinversion = "MISSING_SSL_MINVERSION",
1379
- /** MISSING_TEMPLATE_STRING_INDICATOR */
1380
- MissingTemplateStringIndicator = "MISSING_TEMPLATE_STRING_INDICATOR",
1381
- /** MISSING_USER */
1382
- MissingUser = "MISSING_USER",
1383
- /** MISSING_WHITESPACE */
1384
- MissingWhitespace = "MISSING_WHITESPACE",
1385
- /** MODIFIED_DEFAULT_PARAM */
1386
- ModifiedDefaultParam = "MODIFIED_DEFAULT_PARAM",
1387
- /** Non-final public static field */
1388
- NonFinalPublicStaticField = "NON_FINAL_PUBLIC_STATIC_FIELD",
1389
- /** Fields that are only assigned in the constructor should be readonly */
1390
- NonReadonlyField = "NON_READONLY_FIELD",
1391
- /** NO_ASSERT */
1392
- NoAssert = "NO_ASSERT",
1393
- /** No equals method */
1394
- NoEquivalenceMethod = "NO_EQUIVALENCE_METHOD",
1395
- /** Missing rate limiting */
1396
- NoLimitsOrThrottling = "NO_LIMITS_OR_THROTTLING",
1397
- /** NO_NESTED_TRY */
1398
- NoNestedTry = "NO_NESTED_TRY",
1399
- /** NO_NEW_PRIVILEGES */
1400
- NoNewPrivileges = "NO_NEW_PRIVILEGES",
1401
- /** NO_OP_OVERHEAD */
1402
- NoOpOverhead = "NO_OP_OVERHEAD",
1403
- /** NO_PRINT_STATEMENT */
1404
- NoPrintStatement = "NO_PRINT_STATEMENT",
1405
- /** NO_RETURN_IN_FINALLY */
1406
- NoReturnInFinally = "NO_RETURN_IN_FINALLY",
1407
- /** NO_VAR */
1408
- NoVar = "NO_VAR",
1409
- /** Null Dereference */
1410
- NullDereference = "NULL_DEREFERENCE",
1411
- /** Open Redirect */
1412
- OpenRedirect = "OPEN_REDIRECT",
1413
- /** The catch block handles a broad swath of exceptions, potentially trapping dissimilar issues or problems that should not be dealt with at this point in the program */
1414
- OverlyBroadCatch = "OVERLY_BROAD_CATCH",
1415
- /** Overly Large Range */
1416
- OverlyLargeRange = "OVERLY_LARGE_RANGE",
1417
- /** The code has a password stored in a comment */
1418
- PasswordInComment = "PASSWORD_IN_COMMENT",
1419
- /** Catch blocks with nothing inside or just a comment. */
1420
- PoorErrorHandlingEmptyCatchBlock = "POOR_ERROR_HANDLING_EMPTY_CATCH_BLOCK",
1421
- /** PORT_ALL_INTERFACES */
1422
- PortAllInterfaces = "PORT_ALL_INTERFACES",
1423
- /** Privacy Violation */
1424
- PrivacyViolation = "PRIVACY_VIOLATION",
1425
- /** Prototype Pollution */
1426
- PrototypePollution = "PROTOTYPE_POLLUTION",
1427
- /** Path Traversal */
1428
- Pt = "PT",
1429
- /** Race Condition: Format Flaw */
1430
- RaceConditionFormatFlaw = "RACE_CONDITION_FORMAT_FLAW",
1431
- /** REDOS */
1432
- Redos = "REDOS",
1433
- /** REDUNDANT_NIL_ERROR_CHECK */
1434
- RedundantNilErrorCheck = "REDUNDANT_NIL_ERROR_CHECK",
1435
- /** Regular Expression Injection */
1436
- RegexInjection = "REGEX_INJECTION",
1437
- /** REGEX_MISSING_TIMEOUT */
1438
- RegexMissingTimeout = "REGEX_MISSING_TIMEOUT",
1439
- /** REQUEST_PARAMETERS_BOUND_VIA_INPUT */
1440
- RequestParametersBoundViaInput = "REQUEST_PARAMETERS_BOUND_VIA_INPUT",
1441
- /** RETURN_IN_INIT */
1442
- ReturnInInit = "RETURN_IN_INIT",
1443
- /** RETURN_SHOULD_NOT_BE_INVARIANT */
1444
- ReturnShouldNotBeInvariant = "RETURN_SHOULD_NOT_BE_INVARIANT",
1445
- /** SPRING_DEFAULT_PERMIT */
1446
- SpringDefaultPermit = "SPRING_DEFAULT_PERMIT",
1447
- /** SQL Injection */
1448
- SqlInjection = "SQL_Injection",
1449
- /** Server Side Request Forgery */
1450
- Ssrf = "SSRF",
1451
- /** Composite format strings should be used correctly */
1452
- StringFormatMisuse = "STRING_FORMAT_MISUSE",
1453
- /** STRING_TERMINATION_ERROR */
1454
- StringTerminationError = "STRING_TERMINATION_ERROR",
1455
- /** SYSTEM_EXIT_SHOULD_RERAISE */
1456
- SystemExitShouldReraise = "SYSTEM_EXIT_SHOULD_RERAISE",
1457
- /** Revealing system data or debugging information helps an adversary learn about the system and form a plan of attack */
1458
- SystemInformationLeak = "SYSTEM_INFORMATION_LEAK",
1459
- /** Revealing system data or debugging information helps an adversary learn about the system and form a plan of attack */
1460
- SystemInformationLeakExternal = "SYSTEM_INFORMATION_LEAK_EXTERNAL",
1461
- /** TAR_SLIP */
1462
- TarSlip = "TAR_SLIP",
1463
- /** Trust Boundary Violation */
1464
- TrustBoundaryViolation = "TRUST_BOUNDARY_VIOLATION",
1465
- /** HTTP request parameter may be either an array or a string */
1466
- TypeConfusion = "TYPE_CONFUSION",
1467
- /** Unchecked loop condition */
1468
- UncheckedLoopCondition = "UNCHECKED_LOOP_CONDITION",
1469
- /** UNNECESSARY_IMPORTS */
1470
- UnnecessaryImports = "UNNECESSARY_IMPORTS",
1471
- /** Unsafe deserialization of untrusted data */
1472
- UnsafeDeserialization = "UNSAFE_DESERIALIZATION",
1473
- /** Unsafe use of target blank */
1474
- UnsafeTargetBlank = "UNSAFE_TARGET_BLANK",
1475
- /** UNSAFE_WEB_THREAD */
1476
- UnsafeWebThread = "UNSAFE_WEB_THREAD",
1477
- /** A public method agument is not checked for null */
1478
- UnvalidatedPublicMethodArgument = "UNVALIDATED_PUBLIC_METHOD_ARGUMENT",
1479
- /** USELESS_IF_BODY */
1480
- UselessIfBody = "USELESS_IF_BODY",
1481
- /** Useless regular-expression character escape */
1482
- UselessRegexpCharEscape = "USELESS_REGEXP_CHAR_ESCAPE",
1483
- /** USELESS_TERNARY */
1484
- UselessTernary = "USELESS_TERNARY",
1485
- /** Use_of_Hard_coded_Cryptographic_Key */
1486
- UseOfHardCodedCryptographicKey = "USE_OF_HARD_CODED_CRYPTOGRAPHIC_KEY",
1487
- /** Printing logs in assorted way to the sys out/err */
1488
- UseOfSystemOutputStream = "USE_OF_SYSTEM_OUTPUT_STREAM",
1489
- /** USE_RAISE_FOR_STATUS */
1490
- UseRaiseForStatus = "USE_RAISE_FOR_STATUS",
1491
- /** USE_SYS_EXIT */
1492
- UseSysExit = "USE_SYS_EXIT",
1493
- /** USE_TIMEOUT */
1494
- UseTimeout = "USE_TIMEOUT",
1495
- /** A variable is assigned a value that is never read */
1496
- ValueNeverRead = "VALUE_NEVER_READ",
1497
- /** Value Shadowing */
1498
- ValueShadowing = "VALUE_SHADOWING",
1499
- /** WCF Misconfiguration: Insufficient Logging */
1500
- WcfMisconfigurationInsufficientLogging = "WCF_MISCONFIGURATION_INSUFFICIENT_LOGGING",
1501
- /** WCF Misconfiguration: Throttling Not Enabled */
1502
- WcfMisconfigurationThrottlingNotEnabled = "WCF_MISCONFIGURATION_THROTTLING_NOT_ENABLED",
1503
- /** Encryption mechanisms are insufficiently secure due to outdated algorithms, short key lengths, or poor implementation, making sensitive data vulnerable to decryption by attackers */
1504
- WeakEncryption = "WEAK_ENCRYPTION",
1505
- /** Unbounded occurrences can lead to resources exhaustion and ultimately a denial of service */
1506
- WeakXmlSchemaUnboundedOccurrences = "WEAK_XML_SCHEMA_UNBOUNDED_OCCURRENCES",
1507
- /** Missing websocket origin check */
1508
- WebsocketMissingOriginCheck = "WEBSOCKET_MISSING_ORIGIN_CHECK",
1509
- /** WILDCARD_IMPORTS */
1510
- WildcardImports = "WILDCARD_IMPORTS",
1511
- /** WRITABLE_FILESYSTEM_SERVICE */
1512
- WritableFilesystemService = "WRITABLE_FILESYSTEM_SERVICE",
1513
- /** Cross Site Scripting */
1514
- Xss = "XSS",
1515
- /** XXE */
1516
- Xxe = "XXE",
1517
- /** Zip Slip is a form of directory traversal that can be exploited by extracting files from an archive */
1518
- ZipSlip = "ZIP_SLIP"
1519
- }
1520
- /** Boolean expression to compare columns of type "issueType_enum". All fields are combined with logical 'AND'. */
1521
- type IssueType_Enum_Comparison_Exp = {
1522
- _eq?: InputMaybe<IssueType_Enum>;
1523
- _in?: InputMaybe<Array<IssueType_Enum>>;
1524
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1525
- _neq?: InputMaybe<IssueType_Enum>;
1526
- _nin?: InputMaybe<Array<IssueType_Enum>>;
1527
- };
1528
- /** Boolean expression to compare columns of type "json". All fields are combined with logical 'AND'. */
1529
- type Json_Comparison_Exp = {
1530
- _eq?: InputMaybe<Scalars['json']['input']>;
1531
- _gt?: InputMaybe<Scalars['json']['input']>;
1532
- _gte?: InputMaybe<Scalars['json']['input']>;
1533
- _in?: InputMaybe<Array<Scalars['json']['input']>>;
1534
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1535
- _lt?: InputMaybe<Scalars['json']['input']>;
1536
- _lte?: InputMaybe<Scalars['json']['input']>;
1537
- _neq?: InputMaybe<Scalars['json']['input']>;
1538
- _nin?: InputMaybe<Array<Scalars['json']['input']>>;
1539
- };
1540
- type Jsonb_Cast_Exp = {
1541
- String?: InputMaybe<String_Comparison_Exp>;
1542
- };
1543
- /** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */
1544
- type Jsonb_Comparison_Exp = {
1545
- _cast?: InputMaybe<Jsonb_Cast_Exp>;
1546
- /** is the column contained in the given json value */
1547
- _contained_in?: InputMaybe<Scalars['jsonb']['input']>;
1548
- /** does the column contain the given json value at the top level */
1549
- _contains?: InputMaybe<Scalars['jsonb']['input']>;
1550
- _eq?: InputMaybe<Scalars['jsonb']['input']>;
1551
- _gt?: InputMaybe<Scalars['jsonb']['input']>;
1552
- _gte?: InputMaybe<Scalars['jsonb']['input']>;
1553
- /** does the string exist as a top-level key in the column */
1554
- _has_key?: InputMaybe<Scalars['String']['input']>;
1555
- /** do all of these strings exist as top-level keys in the column */
1556
- _has_keys_all?: InputMaybe<Array<Scalars['String']['input']>>;
1557
- /** do any of these strings exist as top-level keys in the column */
1558
- _has_keys_any?: InputMaybe<Array<Scalars['String']['input']>>;
1559
- _in?: InputMaybe<Array<Scalars['jsonb']['input']>>;
1560
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1561
- _lt?: InputMaybe<Scalars['jsonb']['input']>;
1562
- _lte?: InputMaybe<Scalars['jsonb']['input']>;
1563
- _neq?: InputMaybe<Scalars['jsonb']['input']>;
1564
- _nin?: InputMaybe<Array<Scalars['jsonb']['input']>>;
1565
- };
1566
- type On_Prem_Scm_Oauth_Config_Aggregate_Bool_Exp = {
1567
- count?: InputMaybe<On_Prem_Scm_Oauth_Config_Aggregate_Bool_Exp_Count>;
1568
- };
1569
- type On_Prem_Scm_Oauth_Config_Aggregate_Bool_Exp_Count = {
1570
- arguments?: InputMaybe<Array<On_Prem_Scm_Oauth_Config_Select_Column>>;
1571
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1572
- filter?: InputMaybe<On_Prem_Scm_Oauth_Config_Bool_Exp>;
1573
- predicate: Int_Comparison_Exp;
1574
- };
1575
- /** Boolean expression to filter rows from the table "on_prem_scm_oauth_config". All fields are combined with a logical 'AND'. */
1576
- type On_Prem_Scm_Oauth_Config_Bool_Exp = {
1577
- _and?: InputMaybe<Array<On_Prem_Scm_Oauth_Config_Bool_Exp>>;
1578
- _not?: InputMaybe<On_Prem_Scm_Oauth_Config_Bool_Exp>;
1579
- _or?: InputMaybe<Array<On_Prem_Scm_Oauth_Config_Bool_Exp>>;
1580
- id?: InputMaybe<Uuid_Comparison_Exp>;
1581
- oauthClientId?: InputMaybe<String_Comparison_Exp>;
1582
- oauthClientSecret?: InputMaybe<String_Comparison_Exp>;
1583
- organization?: InputMaybe<Organization_Bool_Exp>;
1584
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
1585
- scmType?: InputMaybe<Submit_Fix_Request_Scm_Type_Enum_Comparison_Exp>;
1586
- scmUrl?: InputMaybe<String_Comparison_Exp>;
1587
- };
1588
- /** select columns of table "on_prem_scm_oauth_config" */
1589
- declare enum On_Prem_Scm_Oauth_Config_Select_Column {
1590
- /** column name */
1591
- Id = "id",
1592
- /** column name */
1593
- OauthClientId = "oauthClientId",
1594
- /** column name */
1595
- OauthClientSecret = "oauthClientSecret",
1596
- /** column name */
1597
- OrganizationId = "organizationId",
1598
- /** column name */
1599
- ScmType = "scmType",
1600
- /** column name */
1601
- ScmUrl = "scmUrl"
1602
- }
1603
- /** Boolean expression to filter rows from the table "organization". All fields are combined with a logical 'AND'. */
1604
- type Organization_Bool_Exp = {
1605
- _and?: InputMaybe<Array<Organization_Bool_Exp>>;
1606
- _not?: InputMaybe<Organization_Bool_Exp>;
1607
- _or?: InputMaybe<Array<Organization_Bool_Exp>>;
1608
- aiToolToken?: InputMaybe<Ai_Tool_Token_Bool_Exp>;
1609
- aiToolToken_aggregate?: InputMaybe<Ai_Tool_Token_Aggregate_Bool_Exp>;
1610
- allowedIssueTypes?: InputMaybe<Jsonb_Comparison_Exp>;
1611
- availableUniqueFixes?: InputMaybe<Fix_Bool_Exp>;
1612
- brokerHosts?: InputMaybe<Broker_Host_Bool_Exp>;
1613
- brokerHosts_aggregate?: InputMaybe<Broker_Host_Aggregate_Bool_Exp>;
1614
- brokerTokenExpiryInDays?: InputMaybe<Int_Comparison_Exp>;
1615
- createdOn?: InputMaybe<Timestamptz_Comparison_Exp>;
1616
- enableIssueFilter?: InputMaybe<Boolean_Comparison_Exp>;
1617
- ghFixerNoFixComments?: InputMaybe<Boolean_Comparison_Exp>;
1618
- githubApps?: InputMaybe<Github_App_Bool_Exp>;
1619
- githubApps_aggregate?: InputMaybe<Github_App_Aggregate_Bool_Exp>;
1620
- github_app_installation_id?: InputMaybe<Int_Comparison_Exp>;
1621
- id?: InputMaybe<Uuid_Comparison_Exp>;
1622
- includeSuppressed?: InputMaybe<Boolean_Comparison_Exp>;
1623
- isAiEnabled?: InputMaybe<Boolean_Comparison_Exp>;
1624
- isDashboardActivityOrg?: InputMaybe<Boolean_Comparison_Exp>;
1625
- isDashboardActivityProject?: InputMaybe<Boolean_Comparison_Exp>;
1626
- isPrivateRepoEnabled?: InputMaybe<Boolean_Comparison_Exp>;
1627
- isSendInvitationEnabled?: InputMaybe<Boolean_Comparison_Exp>;
1628
- issueTypeSettings?: InputMaybe<Organization_Issue_Type_Settings_Bool_Exp>;
1629
- issueTypeSettings_aggregate?: InputMaybe<Organization_Issue_Type_Settings_Aggregate_Bool_Exp>;
1630
- name?: InputMaybe<String_Comparison_Exp>;
1631
- onPremScmOauthConfigs?: InputMaybe<On_Prem_Scm_Oauth_Config_Bool_Exp>;
1632
- onPremScmOauthConfigs_aggregate?: InputMaybe<On_Prem_Scm_Oauth_Config_Aggregate_Bool_Exp>;
1633
- orgDomainsAutoAdd?: InputMaybe<Boolean_Comparison_Exp>;
1634
- orgDomainsAutoAddRole?: InputMaybe<Organization_Role_Type_Enum_Comparison_Exp>;
1635
- organizationFilesMatchingSettings?: InputMaybe<Organization_Files_Matching_Settings_Bool_Exp>;
1636
- organizationFilesMatchingSettings_aggregate?: InputMaybe<Organization_Files_Matching_Settings_Aggregate_Bool_Exp>;
1637
- organizationRoles?: InputMaybe<Organization_To_Organization_Role_Bool_Exp>;
1638
- organizationRoles_aggregate?: InputMaybe<Organization_To_Organization_Role_Aggregate_Bool_Exp>;
1639
- organizationUsers?: InputMaybe<Organization_To_User_Bool_Exp>;
1640
- organizationUsers_aggregate?: InputMaybe<Organization_To_User_Aggregate_Bool_Exp>;
1641
- projects?: InputMaybe<Project_Bool_Exp>;
1642
- projects_aggregate?: InputMaybe<Project_Aggregate_Bool_Exp>;
1643
- rawIssueTypeBlocklist?: InputMaybe<Organization_Raw_Issue_Type_Blocklist_Bool_Exp>;
1644
- rawIssueTypeBlocklist_aggregate?: InputMaybe<Organization_Raw_Issue_Type_Blocklist_Aggregate_Bool_Exp>;
1645
- remainingUnstableFixes?: InputMaybe<Int_Comparison_Exp>;
1646
- roiDevHourlyRate?: InputMaybe<Int_Comparison_Exp>;
1647
- roiIndustryFixingTimeInMinutes?: InputMaybe<Int_Comparison_Exp>;
1648
- roiMobbFixingTimeInMinutes?: InputMaybe<Int_Comparison_Exp>;
1649
- roiTriageTimeInMinutes?: InputMaybe<Int_Comparison_Exp>;
1650
- scmConfigs?: InputMaybe<Scm_Config_Bool_Exp>;
1651
- scmConfigs_aggregate?: InputMaybe<Scm_Config_Aggregate_Bool_Exp>;
1652
- };
1653
- type Organization_Files_Matching_Settings_Aggregate_Bool_Exp = {
1654
- count?: InputMaybe<Organization_Files_Matching_Settings_Aggregate_Bool_Exp_Count>;
1655
- };
1656
- type Organization_Files_Matching_Settings_Aggregate_Bool_Exp_Count = {
1657
- arguments?: InputMaybe<Array<Organization_Files_Matching_Settings_Select_Column>>;
1658
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1659
- filter?: InputMaybe<Organization_Files_Matching_Settings_Bool_Exp>;
1660
- predicate: Int_Comparison_Exp;
1661
- };
1662
- /** Boolean expression to filter rows from the table "organization_files_matching_settings". All fields are combined with a logical 'AND'. */
1663
- type Organization_Files_Matching_Settings_Bool_Exp = {
1664
- _and?: InputMaybe<Array<Organization_Files_Matching_Settings_Bool_Exp>>;
1665
- _not?: InputMaybe<Organization_Files_Matching_Settings_Bool_Exp>;
1666
- _or?: InputMaybe<Array<Organization_Files_Matching_Settings_Bool_Exp>>;
1667
- autogenerated_code_glob_pattern?: InputMaybe<String_Comparison_Exp>;
1668
- auxiliary_code_glob_pattern?: InputMaybe<String_Comparison_Exp>;
1669
- id?: InputMaybe<Uuid_Comparison_Exp>;
1670
- organization_id?: InputMaybe<Uuid_Comparison_Exp>;
1671
- testing_code_glob_pattern?: InputMaybe<String_Comparison_Exp>;
1672
- vendor_code_glob_pattern?: InputMaybe<String_Comparison_Exp>;
1673
- };
1674
- /** select columns of table "organization_files_matching_settings" */
1675
- declare enum Organization_Files_Matching_Settings_Select_Column {
1676
- /** column name */
1677
- AutogeneratedCodeGlobPattern = "autogenerated_code_glob_pattern",
1678
- /** column name */
1679
- AuxiliaryCodeGlobPattern = "auxiliary_code_glob_pattern",
1680
- /** column name */
1681
- Id = "id",
1682
- /** column name */
1683
- OrganizationId = "organization_id",
1684
- /** column name */
1685
- TestingCodeGlobPattern = "testing_code_glob_pattern",
1686
- /** column name */
1687
- VendorCodeGlobPattern = "vendor_code_glob_pattern"
1688
- }
1689
- type Organization_Issue_Type_Settings_Aggregate_Bool_Exp = {
1690
- bool_and?: InputMaybe<Organization_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_And>;
1691
- bool_or?: InputMaybe<Organization_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_Or>;
1692
- count?: InputMaybe<Organization_Issue_Type_Settings_Aggregate_Bool_Exp_Count>;
1693
- };
1694
- type Organization_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_And = {
1695
- arguments: Organization_Issue_Type_Settings_Select_Column_Organization_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
1696
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1697
- filter?: InputMaybe<Organization_Issue_Type_Settings_Bool_Exp>;
1698
- predicate: Boolean_Comparison_Exp;
1699
- };
1700
- type Organization_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_Or = {
1701
- arguments: Organization_Issue_Type_Settings_Select_Column_Organization_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
1702
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1703
- filter?: InputMaybe<Organization_Issue_Type_Settings_Bool_Exp>;
1704
- predicate: Boolean_Comparison_Exp;
1705
- };
1706
- type Organization_Issue_Type_Settings_Aggregate_Bool_Exp_Count = {
1707
- arguments?: InputMaybe<Array<Organization_Issue_Type_Settings_Select_Column>>;
1708
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1709
- filter?: InputMaybe<Organization_Issue_Type_Settings_Bool_Exp>;
1710
- predicate: Int_Comparison_Exp;
1711
- };
1712
- /** Boolean expression to filter rows from the table "organization_issue_type_settings". All fields are combined with a logical 'AND'. */
1713
- type Organization_Issue_Type_Settings_Bool_Exp = {
1714
- _and?: InputMaybe<Array<Organization_Issue_Type_Settings_Bool_Exp>>;
1715
- _not?: InputMaybe<Organization_Issue_Type_Settings_Bool_Exp>;
1716
- _or?: InputMaybe<Array<Organization_Issue_Type_Settings_Bool_Exp>>;
1717
- autoPrEnabled?: InputMaybe<Boolean_Comparison_Exp>;
1718
- enabled?: InputMaybe<Boolean_Comparison_Exp>;
1719
- id?: InputMaybe<Uuid_Comparison_Exp>;
1720
- issueType?: InputMaybe<IssueType_Enum_Comparison_Exp>;
1721
- organization?: InputMaybe<Organization_Bool_Exp>;
1722
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
1723
- };
1724
- /** select columns of table "organization_issue_type_settings" */
1725
- declare enum Organization_Issue_Type_Settings_Select_Column {
1726
- /** column name */
1727
- AutoPrEnabled = "autoPrEnabled",
1728
- /** column name */
1729
- Enabled = "enabled",
1730
- /** column name */
1731
- Id = "id",
1732
- /** column name */
1733
- IssueType = "issueType",
1734
- /** column name */
1735
- OrganizationId = "organizationId"
1736
- }
1737
- /** select "organization_issue_type_settings_aggregate_bool_exp_bool_and_arguments_columns" columns of table "organization_issue_type_settings" */
1738
- declare enum Organization_Issue_Type_Settings_Select_Column_Organization_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
1739
- /** column name */
1740
- AutoPrEnabled = "autoPrEnabled",
1741
- /** column name */
1742
- Enabled = "enabled"
1743
- }
1744
- /** select "organization_issue_type_settings_aggregate_bool_exp_bool_or_arguments_columns" columns of table "organization_issue_type_settings" */
1745
- declare enum Organization_Issue_Type_Settings_Select_Column_Organization_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
1746
- /** column name */
1747
- AutoPrEnabled = "autoPrEnabled",
1748
- /** column name */
1749
- Enabled = "enabled"
1750
- }
1751
- type Organization_Raw_Issue_Type_Blocklist_Aggregate_Bool_Exp = {
1752
- count?: InputMaybe<Organization_Raw_Issue_Type_Blocklist_Aggregate_Bool_Exp_Count>;
1753
- };
1754
- type Organization_Raw_Issue_Type_Blocklist_Aggregate_Bool_Exp_Count = {
1755
- arguments?: InputMaybe<Array<Organization_Raw_Issue_Type_Blocklist_Select_Column>>;
1756
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1757
- filter?: InputMaybe<Organization_Raw_Issue_Type_Blocklist_Bool_Exp>;
1758
- predicate: Int_Comparison_Exp;
1759
- };
1760
- /** Boolean expression to filter rows from the table "organization_raw_issue_type_blocklist". All fields are combined with a logical 'AND'. */
1761
- type Organization_Raw_Issue_Type_Blocklist_Bool_Exp = {
1762
- _and?: InputMaybe<Array<Organization_Raw_Issue_Type_Blocklist_Bool_Exp>>;
1763
- _not?: InputMaybe<Organization_Raw_Issue_Type_Blocklist_Bool_Exp>;
1764
- _or?: InputMaybe<Array<Organization_Raw_Issue_Type_Blocklist_Bool_Exp>>;
1765
- id?: InputMaybe<Uuid_Comparison_Exp>;
1766
- organization?: InputMaybe<Organization_Bool_Exp>;
1767
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
1768
- rawIssueType?: InputMaybe<String_Comparison_Exp>;
1769
- };
1770
- /** select columns of table "organization_raw_issue_type_blocklist" */
1771
- declare enum Organization_Raw_Issue_Type_Blocklist_Select_Column {
1772
- /** column name */
1773
- Id = "id",
1774
- /** column name */
1775
- OrganizationId = "organizationId",
1776
- /** column name */
1777
- RawIssueType = "rawIssueType"
1778
- }
1779
- /** Boolean expression to filter rows from the table "organization_role". All fields are combined with a logical 'AND'. */
1780
- type Organization_Role_Bool_Exp = {
1781
- _and?: InputMaybe<Array<Organization_Role_Bool_Exp>>;
1782
- _not?: InputMaybe<Organization_Role_Bool_Exp>;
1783
- _or?: InputMaybe<Array<Organization_Role_Bool_Exp>>;
1784
- canChangeRole?: InputMaybe<Boolean_Comparison_Exp>;
1785
- canCreateProject?: InputMaybe<Boolean_Comparison_Exp>;
1786
- canDeleteUserFromOrganization?: InputMaybe<Boolean_Comparison_Exp>;
1787
- canEditBrokerSettings?: InputMaybe<Boolean_Comparison_Exp>;
1788
- canInviteToOrganization?: InputMaybe<Boolean_Comparison_Exp>;
1789
- id?: InputMaybe<Uuid_Comparison_Exp>;
1790
- organizationTorganizationRole?: InputMaybe<Organization_To_Organization_Role_Bool_Exp>;
1791
- organizationTorganizationRole_aggregate?: InputMaybe<Organization_To_Organization_Role_Aggregate_Bool_Exp>;
1792
- type?: InputMaybe<Organization_Role_Type_Enum_Comparison_Exp>;
1793
- };
1794
- declare enum Organization_Role_Type_Enum {
1795
- /** manager */
1796
- Manager = "manager",
1797
- /** member role */
1798
- Member = "member",
1799
- /** owner */
1800
- Owner = "owner"
1801
- }
1802
- /** Boolean expression to compare columns of type "organization_role_type_enum". All fields are combined with logical 'AND'. */
1803
- type Organization_Role_Type_Enum_Comparison_Exp = {
1804
- _eq?: InputMaybe<Organization_Role_Type_Enum>;
1805
- _in?: InputMaybe<Array<Organization_Role_Type_Enum>>;
1806
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1807
- _neq?: InputMaybe<Organization_Role_Type_Enum>;
1808
- _nin?: InputMaybe<Array<Organization_Role_Type_Enum>>;
1809
- };
1810
- type Organization_To_Organization_Role_Aggregate_Bool_Exp = {
1811
- count?: InputMaybe<Organization_To_Organization_Role_Aggregate_Bool_Exp_Count>;
1812
- };
1813
- type Organization_To_Organization_Role_Aggregate_Bool_Exp_Count = {
1814
- arguments?: InputMaybe<Array<Organization_To_Organization_Role_Select_Column>>;
1815
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1816
- filter?: InputMaybe<Organization_To_Organization_Role_Bool_Exp>;
1817
- predicate: Int_Comparison_Exp;
1818
- };
1819
- /** Boolean expression to filter rows from the table "organization_to_organization_role". All fields are combined with a logical 'AND'. */
1820
- type Organization_To_Organization_Role_Bool_Exp = {
1821
- _and?: InputMaybe<Array<Organization_To_Organization_Role_Bool_Exp>>;
1822
- _not?: InputMaybe<Organization_To_Organization_Role_Bool_Exp>;
1823
- _or?: InputMaybe<Array<Organization_To_Organization_Role_Bool_Exp>>;
1824
- id?: InputMaybe<Uuid_Comparison_Exp>;
1825
- organization?: InputMaybe<Organization_Bool_Exp>;
1826
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
1827
- organizationRole?: InputMaybe<Organization_Role_Bool_Exp>;
1828
- organizationRoleId?: InputMaybe<Uuid_Comparison_Exp>;
1829
- organizationToUsers?: InputMaybe<Organization_To_User_Bool_Exp>;
1830
- organizationToUsers_aggregate?: InputMaybe<Organization_To_User_Aggregate_Bool_Exp>;
1831
- };
1832
- /** select columns of table "organization_to_organization_role" */
1833
- declare enum Organization_To_Organization_Role_Select_Column {
1834
- /** column name */
1835
- Id = "id",
1836
- /** column name */
1837
- OrganizationId = "organizationId",
1838
- /** column name */
1839
- OrganizationRoleId = "organizationRoleId"
1840
- }
1841
- type Organization_To_User_Aggregate_Bool_Exp = {
1842
- count?: InputMaybe<Organization_To_User_Aggregate_Bool_Exp_Count>;
1843
- };
1844
- type Organization_To_User_Aggregate_Bool_Exp_Count = {
1845
- arguments?: InputMaybe<Array<Organization_To_User_Select_Column>>;
1846
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1847
- filter?: InputMaybe<Organization_To_User_Bool_Exp>;
1848
- predicate: Int_Comparison_Exp;
1849
- };
1850
- /** Boolean expression to filter rows from the table "organization_to_user". All fields are combined with a logical 'AND'. */
1851
- type Organization_To_User_Bool_Exp = {
1852
- _and?: InputMaybe<Array<Organization_To_User_Bool_Exp>>;
1853
- _not?: InputMaybe<Organization_To_User_Bool_Exp>;
1854
- _or?: InputMaybe<Array<Organization_To_User_Bool_Exp>>;
1855
- createdOn?: InputMaybe<Timestamptz_Comparison_Exp>;
1856
- id?: InputMaybe<Uuid_Comparison_Exp>;
1857
- organization?: InputMaybe<Organization_Bool_Exp>;
1858
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
1859
- organizationToOrganizationRoleId?: InputMaybe<Uuid_Comparison_Exp>;
1860
- organizationToRole?: InputMaybe<Organization_To_Organization_Role_Bool_Exp>;
1861
- user?: InputMaybe<User_Bool_Exp>;
1862
- userId?: InputMaybe<Uuid_Comparison_Exp>;
1863
- };
1864
- /** select columns of table "organization_to_user" */
1865
- declare enum Organization_To_User_Select_Column {
1866
- /** column name */
1867
- CreatedOn = "createdOn",
1868
- /** column name */
1869
- Id = "id",
1870
- /** column name */
1871
- OrganizationId = "organizationId",
1872
- /** column name */
1873
- OrganizationToOrganizationRoleId = "organizationToOrganizationRoleId",
1874
- /** column name */
1875
- UserId = "userId"
1876
- }
1877
- declare enum Pr_Status_Enum {
1878
- /** PR is open and active */
1879
- Active = "ACTIVE",
1880
- /** PR was closed without merging */
1881
- Closed = "CLOSED",
1882
- /** PR was successfully merged */
1883
- Merged = "MERGED"
1884
- }
1885
- /** Boolean expression to compare columns of type "pr_status_enum". All fields are combined with logical 'AND'. */
1886
- type Pr_Status_Enum_Comparison_Exp = {
1887
- _eq?: InputMaybe<Pr_Status_Enum>;
1888
- _in?: InputMaybe<Array<Pr_Status_Enum>>;
1889
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
1890
- _neq?: InputMaybe<Pr_Status_Enum>;
1891
- _nin?: InputMaybe<Array<Pr_Status_Enum>>;
1892
- };
1893
- type Project_Aggregate_Bool_Exp = {
1894
- bool_and?: InputMaybe<Project_Aggregate_Bool_Exp_Bool_And>;
1895
- bool_or?: InputMaybe<Project_Aggregate_Bool_Exp_Bool_Or>;
1896
- count?: InputMaybe<Project_Aggregate_Bool_Exp_Count>;
1897
- };
1898
- type Project_Aggregate_Bool_Exp_Bool_And = {
1899
- arguments: Project_Select_Column_Project_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
1900
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1901
- filter?: InputMaybe<Project_Bool_Exp>;
1902
- predicate: Boolean_Comparison_Exp;
1903
- };
1904
- type Project_Aggregate_Bool_Exp_Bool_Or = {
1905
- arguments: Project_Select_Column_Project_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
1906
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1907
- filter?: InputMaybe<Project_Bool_Exp>;
1908
- predicate: Boolean_Comparison_Exp;
1909
- };
1910
- type Project_Aggregate_Bool_Exp_Count = {
1911
- arguments?: InputMaybe<Array<Project_Select_Column>>;
1912
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1913
- filter?: InputMaybe<Project_Bool_Exp>;
1914
- predicate: Int_Comparison_Exp;
1915
- };
1916
- /** Boolean expression to filter rows from the table "project". All fields are combined with a logical 'AND'. */
1917
- type Project_Bool_Exp = {
1918
- _and?: InputMaybe<Array<Project_Bool_Exp>>;
1919
- _not?: InputMaybe<Project_Bool_Exp>;
1920
- _or?: InputMaybe<Array<Project_Bool_Exp>>;
1921
- aggregatedResolvedVulnerabilitiesView?: InputMaybe<View_Project_Resolved_Vulnerabilities_Bool_Exp>;
1922
- aggregatedResolvedVulnerabilitiesView_aggregate?: InputMaybe<View_Project_Resolved_Vulnerabilities_Aggregate_Bool_Exp>;
1923
- aggregatedVulnerabilitySeveritiesView?: InputMaybe<View_Project_Vulnerability_Severities_Bool_Exp>;
1924
- aggregatedVulnerabilitySeveritiesView_aggregate?: InputMaybe<View_Project_Vulnerability_Severities_Aggregate_Bool_Exp>;
1925
- createdOn?: InputMaybe<Timestamptz_Comparison_Exp>;
1926
- id?: InputMaybe<Uuid_Comparison_Exp>;
1927
- isDefault?: InputMaybe<Boolean_Comparison_Exp>;
1928
- isDeleted?: InputMaybe<Boolean_Comparison_Exp>;
1929
- lastAnalysedVulReports?: InputMaybe<Vulnerability_Report_Bool_Exp>;
1930
- name?: InputMaybe<String_Comparison_Exp>;
1931
- numberOfUniqueRepos?: InputMaybe<Int_Comparison_Exp>;
1932
- organization?: InputMaybe<Organization_Bool_Exp>;
1933
- organizationId?: InputMaybe<Uuid_Comparison_Exp>;
1934
- projectIssueTypeSettings?: InputMaybe<Project_Issue_Type_Settings_Bool_Exp>;
1935
- projectIssueTypeSettings_aggregate?: InputMaybe<Project_Issue_Type_Settings_Aggregate_Bool_Exp>;
1936
- projectRoles?: InputMaybe<Project_To_Project_Role_Bool_Exp>;
1937
- projectRoles_aggregate?: InputMaybe<Project_To_Project_Role_Aggregate_Bool_Exp>;
1938
- projectUsers?: InputMaybe<Project_To_User_Bool_Exp>;
1939
- projectUsers_aggregate?: InputMaybe<Project_To_User_Aggregate_Bool_Exp>;
1940
- totalResolvedVulnerabilitiesView?: InputMaybe<View_Project_Total_Resolved_Vulnerabilities_Bool_Exp>;
1941
- totalUniqueUnresolvedVulnerabilitiesView?: InputMaybe<View_Total_Unique_Unresolved_Vulnerabilities_Bool_Exp>;
1942
- updatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
1943
- vulnerabilityReports?: InputMaybe<Vulnerability_Report_Bool_Exp>;
1944
- vulnerabilityReports_aggregate?: InputMaybe<Vulnerability_Report_Aggregate_Bool_Exp>;
1945
- };
1946
- type Project_Issue_Type_Settings_Aggregate_Bool_Exp = {
1947
- bool_and?: InputMaybe<Project_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_And>;
1948
- bool_or?: InputMaybe<Project_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_Or>;
1949
- count?: InputMaybe<Project_Issue_Type_Settings_Aggregate_Bool_Exp_Count>;
1950
- };
1951
- type Project_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_And = {
1952
- arguments: Project_Issue_Type_Settings_Select_Column_Project_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
1953
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1954
- filter?: InputMaybe<Project_Issue_Type_Settings_Bool_Exp>;
1955
- predicate: Boolean_Comparison_Exp;
1956
- };
1957
- type Project_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_Or = {
1958
- arguments: Project_Issue_Type_Settings_Select_Column_Project_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
1959
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1960
- filter?: InputMaybe<Project_Issue_Type_Settings_Bool_Exp>;
1961
- predicate: Boolean_Comparison_Exp;
1962
- };
1963
- type Project_Issue_Type_Settings_Aggregate_Bool_Exp_Count = {
1964
- arguments?: InputMaybe<Array<Project_Issue_Type_Settings_Select_Column>>;
1965
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
1966
- filter?: InputMaybe<Project_Issue_Type_Settings_Bool_Exp>;
1967
- predicate: Int_Comparison_Exp;
1968
- };
1969
- /** Boolean expression to filter rows from the table "project_issue_type_settings". All fields are combined with a logical 'AND'. */
1970
- type Project_Issue_Type_Settings_Bool_Exp = {
1971
- _and?: InputMaybe<Array<Project_Issue_Type_Settings_Bool_Exp>>;
1972
- _not?: InputMaybe<Project_Issue_Type_Settings_Bool_Exp>;
1973
- _or?: InputMaybe<Array<Project_Issue_Type_Settings_Bool_Exp>>;
1974
- autoPrEnabled?: InputMaybe<Boolean_Comparison_Exp>;
1975
- enabled?: InputMaybe<Boolean_Comparison_Exp>;
1976
- id?: InputMaybe<Uuid_Comparison_Exp>;
1977
- issueType?: InputMaybe<IssueType_Enum_Comparison_Exp>;
1978
- project?: InputMaybe<Project_Bool_Exp>;
1979
- projectId?: InputMaybe<Uuid_Comparison_Exp>;
1980
- };
1981
- /** select columns of table "project_issue_type_settings" */
1982
- declare enum Project_Issue_Type_Settings_Select_Column {
1983
- /** column name */
1984
- AutoPrEnabled = "autoPrEnabled",
1985
- /** column name */
1986
- Enabled = "enabled",
1987
- /** column name */
1988
- Id = "id",
1989
- /** column name */
1990
- IssueType = "issueType",
1991
- /** column name */
1992
- ProjectId = "projectId"
1993
- }
1994
- /** select "project_issue_type_settings_aggregate_bool_exp_bool_and_arguments_columns" columns of table "project_issue_type_settings" */
1995
- declare enum Project_Issue_Type_Settings_Select_Column_Project_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
1996
- /** column name */
1997
- AutoPrEnabled = "autoPrEnabled",
1998
- /** column name */
1999
- Enabled = "enabled"
2000
- }
2001
- /** select "project_issue_type_settings_aggregate_bool_exp_bool_or_arguments_columns" columns of table "project_issue_type_settings" */
2002
- declare enum Project_Issue_Type_Settings_Select_Column_Project_Issue_Type_Settings_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
2003
- /** column name */
2004
- AutoPrEnabled = "autoPrEnabled",
2005
- /** column name */
2006
- Enabled = "enabled"
2007
- }
2008
- /** Boolean expression to filter rows from the table "project_role". All fields are combined with a logical 'AND'. */
2009
- type Project_Role_Bool_Exp = {
2010
- _and?: InputMaybe<Array<Project_Role_Bool_Exp>>;
2011
- _not?: InputMaybe<Project_Role_Bool_Exp>;
2012
- _or?: InputMaybe<Array<Project_Role_Bool_Exp>>;
2013
- canCreateAnalysis?: InputMaybe<Boolean_Comparison_Exp>;
2014
- canDeleteProject?: InputMaybe<Boolean_Comparison_Exp>;
2015
- canDoScmActions?: InputMaybe<Boolean_Comparison_Exp>;
2016
- canFixVulnerability?: InputMaybe<Boolean_Comparison_Exp>;
2017
- canInviteNewUser?: InputMaybe<Boolean_Comparison_Exp>;
2018
- canQueryScmData?: InputMaybe<Boolean_Comparison_Exp>;
2019
- canUpdateProject?: InputMaybe<Boolean_Comparison_Exp>;
2020
- id?: InputMaybe<Uuid_Comparison_Exp>;
2021
- projectToProjectRoles?: InputMaybe<Project_To_Project_Role_Bool_Exp>;
2022
- projectToProjectRoles_aggregate?: InputMaybe<Project_To_Project_Role_Aggregate_Bool_Exp>;
2023
- type?: InputMaybe<Project_Role_Type_Enum_Comparison_Exp>;
2024
- };
2025
- declare enum Project_Role_Type_Enum {
2026
- /** admin role */
2027
- Admin = "admin",
2028
- /** Read Role */
2029
- Read = "read",
2030
- /** Writer Role */
2031
- Writer = "writer"
2032
- }
2033
- /** Boolean expression to compare columns of type "project_role_type_enum". All fields are combined with logical 'AND'. */
2034
- type Project_Role_Type_Enum_Comparison_Exp = {
2035
- _eq?: InputMaybe<Project_Role_Type_Enum>;
2036
- _in?: InputMaybe<Array<Project_Role_Type_Enum>>;
2037
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2038
- _neq?: InputMaybe<Project_Role_Type_Enum>;
2039
- _nin?: InputMaybe<Array<Project_Role_Type_Enum>>;
2040
- };
2041
- /** select columns of table "project" */
2042
- declare enum Project_Select_Column {
2043
- /** column name */
2044
- CreatedOn = "createdOn",
2045
- /** column name */
2046
- Id = "id",
2047
- /** column name */
2048
- IsDefault = "isDefault",
2049
- /** column name */
2050
- IsDeleted = "isDeleted",
2051
- /** column name */
2052
- Name = "name",
2053
- /** column name */
2054
- OrganizationId = "organizationId",
2055
- /** column name */
2056
- UpdatedAt = "updatedAt"
2057
- }
2058
- /** select "project_aggregate_bool_exp_bool_and_arguments_columns" columns of table "project" */
2059
- declare enum Project_Select_Column_Project_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
2060
- /** column name */
2061
- IsDefault = "isDefault",
2062
- /** column name */
2063
- IsDeleted = "isDeleted"
2064
- }
2065
- /** select "project_aggregate_bool_exp_bool_or_arguments_columns" columns of table "project" */
2066
- declare enum Project_Select_Column_Project_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
2067
- /** column name */
2068
- IsDefault = "isDefault",
2069
- /** column name */
2070
- IsDeleted = "isDeleted"
2071
- }
2072
- type Project_To_Project_Role_Aggregate_Bool_Exp = {
2073
- count?: InputMaybe<Project_To_Project_Role_Aggregate_Bool_Exp_Count>;
2074
- };
2075
- type Project_To_Project_Role_Aggregate_Bool_Exp_Count = {
2076
- arguments?: InputMaybe<Array<Project_To_Project_Role_Select_Column>>;
2077
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2078
- filter?: InputMaybe<Project_To_Project_Role_Bool_Exp>;
2079
- predicate: Int_Comparison_Exp;
2080
- };
2081
- /** Boolean expression to filter rows from the table "project_to_project_role". All fields are combined with a logical 'AND'. */
2082
- type Project_To_Project_Role_Bool_Exp = {
2083
- _and?: InputMaybe<Array<Project_To_Project_Role_Bool_Exp>>;
2084
- _not?: InputMaybe<Project_To_Project_Role_Bool_Exp>;
2085
- _or?: InputMaybe<Array<Project_To_Project_Role_Bool_Exp>>;
2086
- id?: InputMaybe<Uuid_Comparison_Exp>;
2087
- project?: InputMaybe<Project_Bool_Exp>;
2088
- projectId?: InputMaybe<Uuid_Comparison_Exp>;
2089
- projectRole?: InputMaybe<Project_Role_Bool_Exp>;
2090
- projectRoleId?: InputMaybe<Uuid_Comparison_Exp>;
2091
- };
2092
- /** select columns of table "project_to_project_role" */
2093
- declare enum Project_To_Project_Role_Select_Column {
2094
- /** column name */
2095
- Id = "id",
2096
- /** column name */
2097
- ProjectId = "projectId",
2098
- /** column name */
2099
- ProjectRoleId = "projectRoleId"
2100
- }
2101
- type Project_To_User_Aggregate_Bool_Exp = {
2102
- count?: InputMaybe<Project_To_User_Aggregate_Bool_Exp_Count>;
2103
- };
2104
- type Project_To_User_Aggregate_Bool_Exp_Count = {
2105
- arguments?: InputMaybe<Array<Project_To_User_Select_Column>>;
2106
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2107
- filter?: InputMaybe<Project_To_User_Bool_Exp>;
2108
- predicate: Int_Comparison_Exp;
2109
- };
2110
- /** Boolean expression to filter rows from the table "project_to_user". All fields are combined with a logical 'AND'. */
2111
- type Project_To_User_Bool_Exp = {
2112
- _and?: InputMaybe<Array<Project_To_User_Bool_Exp>>;
2113
- _not?: InputMaybe<Project_To_User_Bool_Exp>;
2114
- _or?: InputMaybe<Array<Project_To_User_Bool_Exp>>;
2115
- createdOn?: InputMaybe<Timestamptz_Comparison_Exp>;
2116
- id?: InputMaybe<Uuid_Comparison_Exp>;
2117
- project?: InputMaybe<Project_Bool_Exp>;
2118
- projectId?: InputMaybe<Uuid_Comparison_Exp>;
2119
- projectRoleId?: InputMaybe<Uuid_Comparison_Exp>;
2120
- projectToRole?: InputMaybe<Project_To_Project_Role_Bool_Exp>;
2121
- user?: InputMaybe<User_Bool_Exp>;
2122
- userId?: InputMaybe<Uuid_Comparison_Exp>;
2123
- };
2124
- /** select columns of table "project_to_user" */
2125
- declare enum Project_To_User_Select_Column {
2126
- /** column name */
2127
- CreatedOn = "createdOn",
2128
- /** column name */
2129
- Id = "id",
2130
- /** column name */
2131
- ProjectId = "projectId",
2132
- /** column name */
2133
- ProjectRoleId = "projectRoleId",
2134
- /** column name */
2135
- UserId = "userId"
2136
- }
2137
- /** Boolean expression to filter rows from the table "repo". All fields are combined with a logical 'AND'. */
2138
- type Repo_Bool_Exp = {
2139
- _and?: InputMaybe<Array<Repo_Bool_Exp>>;
2140
- _not?: InputMaybe<Repo_Bool_Exp>;
2141
- _or?: InputMaybe<Array<Repo_Bool_Exp>>;
2142
- archiveFile?: InputMaybe<File_Bool_Exp>;
2143
- archiveFileId?: InputMaybe<Uuid_Comparison_Exp>;
2144
- commitSha?: InputMaybe<String_Comparison_Exp>;
2145
- fixReport?: InputMaybe<FixReport_Bool_Exp>;
2146
- id?: InputMaybe<Uuid_Comparison_Exp>;
2147
- isKnownBranch?: InputMaybe<Boolean_Comparison_Exp>;
2148
- name?: InputMaybe<String_Comparison_Exp>;
2149
- originalUrl?: InputMaybe<String_Comparison_Exp>;
2150
- pathPrefix?: InputMaybe<String_Comparison_Exp>;
2151
- pullRequest?: InputMaybe<Int_Comparison_Exp>;
2152
- reference?: InputMaybe<String_Comparison_Exp>;
2153
- };
2154
- type Scan_Aggregate_Bool_Exp = {
2155
- bool_and?: InputMaybe<Scan_Aggregate_Bool_Exp_Bool_And>;
2156
- bool_or?: InputMaybe<Scan_Aggregate_Bool_Exp_Bool_Or>;
2157
- count?: InputMaybe<Scan_Aggregate_Bool_Exp_Count>;
2158
- };
2159
- type Scan_Aggregate_Bool_Exp_Bool_And = {
2160
- arguments: Scan_Select_Column_Scan_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
2161
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2162
- filter?: InputMaybe<Scan_Bool_Exp>;
2163
- predicate: Boolean_Comparison_Exp;
2164
- };
2165
- type Scan_Aggregate_Bool_Exp_Bool_Or = {
2166
- arguments: Scan_Select_Column_Scan_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
2167
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2168
- filter?: InputMaybe<Scan_Bool_Exp>;
2169
- predicate: Boolean_Comparison_Exp;
2170
- };
2171
- type Scan_Aggregate_Bool_Exp_Count = {
2172
- arguments?: InputMaybe<Array<Scan_Select_Column>>;
2173
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2174
- filter?: InputMaybe<Scan_Bool_Exp>;
2175
- predicate: Int_Comparison_Exp;
2176
- };
2177
- /** Boolean expression to filter rows from the table "scan". All fields are combined with a logical 'AND'. */
2178
- type Scan_Bool_Exp = {
2179
- _and?: InputMaybe<Array<Scan_Bool_Exp>>;
2180
- _not?: InputMaybe<Scan_Bool_Exp>;
2181
- _or?: InputMaybe<Array<Scan_Bool_Exp>>;
2182
- context?: InputMaybe<String_Comparison_Exp>;
2183
- duration?: InputMaybe<Int_Comparison_Exp>;
2184
- file_count?: InputMaybe<Int_Comparison_Exp>;
2185
- fix_report?: InputMaybe<FixReport_Bool_Exp>;
2186
- fix_report_id?: InputMaybe<Uuid_Comparison_Exp>;
2187
- id?: InputMaybe<Uuid_Comparison_Exp>;
2188
- is_git_repo?: InputMaybe<Boolean_Comparison_Exp>;
2189
- rule_count?: InputMaybe<Int_Comparison_Exp>;
2190
- scan_vendor?: InputMaybe<Vulnerability_Report_Vendor_Bool_Exp>;
2191
- vendor?: InputMaybe<String_Comparison_Exp>;
2192
- };
2193
- /** select columns of table "scan" */
2194
- declare enum Scan_Select_Column {
2195
- /** column name */
2196
- Context = "context",
2197
- /** column name */
2198
- Duration = "duration",
2199
- /** column name */
2200
- FileCount = "file_count",
2201
- /** column name */
2202
- FixReportId = "fix_report_id",
2203
- /** column name */
2204
- Id = "id",
2205
- /** column name */
2206
- IsGitRepo = "is_git_repo",
2207
- /** column name */
2208
- RuleCount = "rule_count",
2209
- /** column name */
2210
- Vendor = "vendor"
2211
- }
2212
- /** select "scan_aggregate_bool_exp_bool_and_arguments_columns" columns of table "scan" */
2213
- declare enum Scan_Select_Column_Scan_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
2214
- /** column name */
2215
- IsGitRepo = "is_git_repo"
2216
- }
2217
- /** select "scan_aggregate_bool_exp_bool_or_arguments_columns" columns of table "scan" */
2218
- declare enum Scan_Select_Column_Scan_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
2219
- /** column name */
2220
- IsGitRepo = "is_git_repo"
2221
- }
2222
- declare enum Scan_Source_Enum {
2223
- /** ASPM Integration */
2224
- Aspm = "ASPM",
2225
- /** The auto-fixer */
2226
- AutoFixer = "AUTO_FIXER",
2227
- /** Azure CI */
2228
- CiAzure = "CI_AZURE",
2229
- /** Bamboo CI */
2230
- CiBamboo = "CI_BAMBOO",
2231
- /** CircleCI CI */
2232
- CiCircleci = "CI_CIRCLECI",
2233
- /** GitHub CI */
2234
- CiGithub = "CI_GITHUB",
2235
- /** GitLab CI */
2236
- CiGitlab = "CI_GITLAB",
2237
- /** Jenkins CI */
2238
- CiJenkins = "CI_JENKINS",
2239
- /** Bagsy run with --ci flag */
2240
- CiUnknown = "CI_UNKNOWN",
2241
- /** This is Bugsy executed from a command line */
2242
- Cli = "CLI",
2243
- /** This is an open-grep scan triggered by the MCP */
2244
- Mcp = "MCP",
2245
- /** Web App from the Checkmarx integration */
2246
- WebUiCheckmarxIntegration = "WEB_UI_CHECKMARX_INTEGRATION",
2247
- /** Web App, when the user uploads the vulnerability report */
2248
- WebUiFixOwnCode = "WEB_UI_FIX_OWN_CODE",
2249
- /** Web App from the on-boarding process */
2250
- WebUiOnboarding = "WEB_UI_ONBOARDING",
2251
- /** Web App, when the fix expired, the user re-ran the analysis */
2252
- WebUiRerunAnalysis = "WEB_UI_RERUN_ANALYSIS",
2253
- /** Web App when the user requested the scan from the try now option */
2254
- WebUiTryNow = "WEB_UI_TRY_NOW"
2255
- }
2256
- /** Boolean expression to compare columns of type "scan_source_enum". All fields are combined with logical 'AND'. */
2257
- type Scan_Source_Enum_Comparison_Exp = {
2258
- _eq?: InputMaybe<Scan_Source_Enum>;
2259
- _in?: InputMaybe<Array<Scan_Source_Enum>>;
2260
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2261
- _neq?: InputMaybe<Scan_Source_Enum>;
2262
- _nin?: InputMaybe<Array<Scan_Source_Enum>>;
2263
- };
2264
- type Scm_Config_Aggregate_Bool_Exp = {
2265
- bool_and?: InputMaybe<Scm_Config_Aggregate_Bool_Exp_Bool_And>;
2266
- bool_or?: InputMaybe<Scm_Config_Aggregate_Bool_Exp_Bool_Or>;
2267
- count?: InputMaybe<Scm_Config_Aggregate_Bool_Exp_Count>;
2268
- };
2269
- type Scm_Config_Aggregate_Bool_Exp_Bool_And = {
2270
- arguments: Scm_Config_Select_Column_Scm_Config_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
2271
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2272
- filter?: InputMaybe<Scm_Config_Bool_Exp>;
2273
- predicate: Boolean_Comparison_Exp;
2274
- };
2275
- type Scm_Config_Aggregate_Bool_Exp_Bool_Or = {
2276
- arguments: Scm_Config_Select_Column_Scm_Config_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
2277
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2278
- filter?: InputMaybe<Scm_Config_Bool_Exp>;
2279
- predicate: Boolean_Comparison_Exp;
2280
- };
2281
- type Scm_Config_Aggregate_Bool_Exp_Count = {
2282
- arguments?: InputMaybe<Array<Scm_Config_Select_Column>>;
2283
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2284
- filter?: InputMaybe<Scm_Config_Bool_Exp>;
2285
- predicate: Int_Comparison_Exp;
2286
- };
2287
- /** Boolean expression to filter rows from the table "scm_config". All fields are combined with a logical 'AND'. */
2288
- type Scm_Config_Bool_Exp = {
2289
- _and?: InputMaybe<Array<Scm_Config_Bool_Exp>>;
2290
- _not?: InputMaybe<Scm_Config_Bool_Exp>;
2291
- _or?: InputMaybe<Array<Scm_Config_Bool_Exp>>;
2292
- id?: InputMaybe<Uuid_Comparison_Exp>;
2293
- installationId?: InputMaybe<Int_Comparison_Exp>;
2294
- isTokenOauth?: InputMaybe<Boolean_Comparison_Exp>;
2295
- orgId?: InputMaybe<Uuid_Comparison_Exp>;
2296
- refreshToken?: InputMaybe<String_Comparison_Exp>;
2297
- scmOrg?: InputMaybe<String_Comparison_Exp>;
2298
- scmType?: InputMaybe<Submit_Fix_Request_Scm_Type_Enum_Comparison_Exp>;
2299
- scmUrl?: InputMaybe<String_Comparison_Exp>;
2300
- scmUsername?: InputMaybe<String_Comparison_Exp>;
2301
- token?: InputMaybe<String_Comparison_Exp>;
2302
- tokenLastUpdate?: InputMaybe<Timestamptz_Comparison_Exp>;
2303
- user?: InputMaybe<User_Bool_Exp>;
2304
- userId?: InputMaybe<Uuid_Comparison_Exp>;
2305
- };
2306
- /** select columns of table "scm_config" */
2307
- declare enum Scm_Config_Select_Column {
2308
- /** column name */
2309
- Id = "id",
2310
- /** column name */
2311
- InstallationId = "installationId",
2312
- /** column name */
2313
- IsTokenOauth = "isTokenOauth",
2314
- /** column name */
2315
- OrgId = "orgId",
2316
- /** column name */
2317
- RefreshToken = "refreshToken",
2318
- /** column name */
2319
- ScmOrg = "scmOrg",
2320
- /** column name */
2321
- ScmType = "scmType",
2322
- /** column name */
2323
- ScmUrl = "scmUrl",
2324
- /** column name */
2325
- ScmUsername = "scmUsername",
2326
- /** column name */
2327
- Token = "token",
2328
- /** column name */
2329
- TokenLastUpdate = "tokenLastUpdate",
2330
- /** column name */
2331
- UserId = "userId"
2332
- }
2333
- /** select "scm_config_aggregate_bool_exp_bool_and_arguments_columns" columns of table "scm_config" */
2334
- declare enum Scm_Config_Select_Column_Scm_Config_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
2335
- /** column name */
2336
- IsTokenOauth = "isTokenOauth"
2337
- }
2338
- /** select "scm_config_aggregate_bool_exp_bool_or_arguments_columns" columns of table "scm_config" */
2339
- declare enum Scm_Config_Select_Column_Scm_Config_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
2340
- /** column name */
2341
- IsTokenOauth = "isTokenOauth"
2342
- }
2343
- type Scm_Submit_Fix_Request_Aggregate_Bool_Exp = {
2344
- count?: InputMaybe<Scm_Submit_Fix_Request_Aggregate_Bool_Exp_Count>;
2345
- };
2346
- type Scm_Submit_Fix_Request_Aggregate_Bool_Exp_Count = {
2347
- arguments?: InputMaybe<Array<Scm_Submit_Fix_Request_Select_Column>>;
2348
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2349
- filter?: InputMaybe<Scm_Submit_Fix_Request_Bool_Exp>;
2350
- predicate: Int_Comparison_Exp;
2351
- };
2352
- /** Boolean expression to filter rows from the table "scm_submit_fix_request". All fields are combined with a logical 'AND'. */
2353
- type Scm_Submit_Fix_Request_Bool_Exp = {
2354
- _and?: InputMaybe<Array<Scm_Submit_Fix_Request_Bool_Exp>>;
2355
- _not?: InputMaybe<Scm_Submit_Fix_Request_Bool_Exp>;
2356
- _or?: InputMaybe<Array<Scm_Submit_Fix_Request_Bool_Exp>>;
2357
- commitUrl?: InputMaybe<String_Comparison_Exp>;
2358
- createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
2359
- fixes?: InputMaybe<Fix_To_Scm_Submit_Fix_Request_Bool_Exp>;
2360
- fixes_aggregate?: InputMaybe<Fix_To_Scm_Submit_Fix_Request_Aggregate_Bool_Exp>;
2361
- id?: InputMaybe<Uuid_Comparison_Exp>;
2362
- prId?: InputMaybe<String_Comparison_Exp>;
2363
- prStatus?: InputMaybe<Pr_Status_Enum_Comparison_Exp>;
2364
- prUrl?: InputMaybe<String_Comparison_Exp>;
2365
- scmId?: InputMaybe<String_Comparison_Exp>;
2366
- submitBranchName?: InputMaybe<String_Comparison_Exp>;
2367
- submitFixRequest?: InputMaybe<Submit_Fix_Request_Bool_Exp>;
2368
- submitFixRequestId?: InputMaybe<Uuid_Comparison_Exp>;
2369
- updatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
2370
- };
2371
- /** select columns of table "scm_submit_fix_request" */
2372
- declare enum Scm_Submit_Fix_Request_Select_Column {
2373
- /** column name */
2374
- CommitUrl = "commitUrl",
2375
- /** column name */
2376
- CreatedAt = "createdAt",
2377
- /** column name */
2378
- Id = "id",
2379
- /** column name */
2380
- PrId = "prId",
2381
- /** column name */
2382
- PrStatus = "prStatus",
2383
- /** column name */
2384
- PrUrl = "prUrl",
2385
- /** column name */
2386
- ScmId = "scmId",
2387
- /** column name */
2388
- SubmitBranchName = "submitBranchName",
2389
- /** column name */
2390
- SubmitFixRequestId = "submitFixRequestId",
2391
- /** column name */
2392
- UpdatedAt = "updatedAt"
2393
- }
2394
- /** Boolean expression to compare columns of type "smallint". All fields are combined with logical 'AND'. */
2395
- type Smallint_Comparison_Exp = {
2396
- _eq?: InputMaybe<Scalars['smallint']['input']>;
2397
- _gt?: InputMaybe<Scalars['smallint']['input']>;
2398
- _gte?: InputMaybe<Scalars['smallint']['input']>;
2399
- _in?: InputMaybe<Array<Scalars['smallint']['input']>>;
2400
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2401
- _lt?: InputMaybe<Scalars['smallint']['input']>;
2402
- _lte?: InputMaybe<Scalars['smallint']['input']>;
2403
- _neq?: InputMaybe<Scalars['smallint']['input']>;
2404
- _nin?: InputMaybe<Array<Scalars['smallint']['input']>>;
2405
- };
2406
- /** Boolean expression to filter rows from the table "submit_fix_request". All fields are combined with a logical 'AND'. */
2407
- type Submit_Fix_Request_Bool_Exp = {
2408
- _and?: InputMaybe<Array<Submit_Fix_Request_Bool_Exp>>;
2409
- _not?: InputMaybe<Submit_Fix_Request_Bool_Exp>;
2410
- _or?: InputMaybe<Array<Submit_Fix_Request_Bool_Exp>>;
2411
- commitToSameBranch?: InputMaybe<Boolean_Comparison_Exp>;
2412
- createdByUser?: InputMaybe<User_Bool_Exp>;
2413
- createdByUserId?: InputMaybe<Uuid_Comparison_Exp>;
2414
- createdOn?: InputMaybe<Timestamptz_Comparison_Exp>;
2415
- creationType?: InputMaybe<Submit_Fix_Request_Creation_Type_Enum_Comparison_Exp>;
2416
- description?: InputMaybe<String_Comparison_Exp>;
2417
- error?: InputMaybe<String_Comparison_Exp>;
2418
- fixReport?: InputMaybe<FixReport_Bool_Exp>;
2419
- fixReportId?: InputMaybe<Uuid_Comparison_Exp>;
2420
- fixes?: InputMaybe<Fix_To_Submit_Fix_Request_Bool_Exp>;
2421
- fixes_aggregate?: InputMaybe<Fix_To_Submit_Fix_Request_Aggregate_Bool_Exp>;
2422
- id?: InputMaybe<Uuid_Comparison_Exp>;
2423
- scmSubmitFixRequests?: InputMaybe<Scm_Submit_Fix_Request_Bool_Exp>;
2424
- scmSubmitFixRequests_aggregate?: InputMaybe<Scm_Submit_Fix_Request_Aggregate_Bool_Exp>;
2425
- state?: InputMaybe<Submit_Fix_Request_State_Enum_Comparison_Exp>;
2426
- targetBranchName?: InputMaybe<String_Comparison_Exp>;
2427
- title?: InputMaybe<String_Comparison_Exp>;
2428
- type?: InputMaybe<Submit_Fix_Request_Scm_Type_Enum_Comparison_Exp>;
2429
- updatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
2430
- userError?: InputMaybe<String_Comparison_Exp>;
2431
- };
2432
- declare enum Submit_Fix_Request_Creation_Type_Enum {
2433
- /** Created by Auto-Pr pipeline */
2434
- Automatic = "Automatic",
2435
- /** Created by direct user interaction */
2436
- Manual = "Manual"
2437
- }
2438
- /** Boolean expression to compare columns of type "submit_fix_request_creation_type_enum". All fields are combined with logical 'AND'. */
2439
- type Submit_Fix_Request_Creation_Type_Enum_Comparison_Exp = {
2440
- _eq?: InputMaybe<Submit_Fix_Request_Creation_Type_Enum>;
2441
- _in?: InputMaybe<Array<Submit_Fix_Request_Creation_Type_Enum>>;
2442
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2443
- _neq?: InputMaybe<Submit_Fix_Request_Creation_Type_Enum>;
2444
- _nin?: InputMaybe<Array<Submit_Fix_Request_Creation_Type_Enum>>;
2445
- };
2446
- declare enum Submit_Fix_Request_Scm_Type_Enum {
2447
- /** Azure DevOps SCM */
2448
- Ado = "Ado",
2449
- /** Bitbucket SCM */
2450
- Bitbucket = "Bitbucket",
2451
- /** GitHub SCM */
2452
- GitHub = "GitHub",
2453
- /** GitLab SCM */
2454
- GitLab = "GitLab"
2455
- }
2456
- /** Boolean expression to compare columns of type "submit_fix_request_scm_type_enum". All fields are combined with logical 'AND'. */
2457
- type Submit_Fix_Request_Scm_Type_Enum_Comparison_Exp = {
2458
- _eq?: InputMaybe<Submit_Fix_Request_Scm_Type_Enum>;
2459
- _in?: InputMaybe<Array<Submit_Fix_Request_Scm_Type_Enum>>;
2460
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2461
- _neq?: InputMaybe<Submit_Fix_Request_Scm_Type_Enum>;
2462
- _nin?: InputMaybe<Array<Submit_Fix_Request_Scm_Type_Enum>>;
2463
- };
2464
- declare enum Submit_Fix_Request_State_Enum {
2465
- /** The submit fix request was sent to the scm agent and the scm agent returned an error */
2466
- Error = "Error",
2467
- /** The submit fix request was created and sent to the scm agent */
2468
- Requested = "Requested",
2469
- /** The submit fix request was completed successfully */
2470
- Succeeded = "Succeeded",
2471
- /** The submit fix request was sent to the scm agent but a response was never returned */
2472
- TimedOut = "TimedOut"
2473
- }
2474
- /** Boolean expression to compare columns of type "submit_fix_request_state_enum". All fields are combined with logical 'AND'. */
2475
- type Submit_Fix_Request_State_Enum_Comparison_Exp = {
2476
- _eq?: InputMaybe<Submit_Fix_Request_State_Enum>;
2477
- _in?: InputMaybe<Array<Submit_Fix_Request_State_Enum>>;
2478
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2479
- _neq?: InputMaybe<Submit_Fix_Request_State_Enum>;
2480
- _nin?: InputMaybe<Array<Submit_Fix_Request_State_Enum>>;
2481
- };
2482
- type Ticket_Integration_Aggregate_Bool_Exp = {
2483
- count?: InputMaybe<Ticket_Integration_Aggregate_Bool_Exp_Count>;
2484
- };
2485
- type Ticket_Integration_Aggregate_Bool_Exp_Count = {
2486
- arguments?: InputMaybe<Array<Ticket_Integration_Select_Column>>;
2487
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2488
- filter?: InputMaybe<Ticket_Integration_Bool_Exp>;
2489
- predicate: Int_Comparison_Exp;
2490
- };
2491
- /** Boolean expression to filter rows from the table "ticket_integration". All fields are combined with a logical 'AND'. */
2492
- type Ticket_Integration_Bool_Exp = {
2493
- _and?: InputMaybe<Array<Ticket_Integration_Bool_Exp>>;
2494
- _not?: InputMaybe<Ticket_Integration_Bool_Exp>;
2495
- _or?: InputMaybe<Array<Ticket_Integration_Bool_Exp>>;
2496
- createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
2497
- description?: InputMaybe<String_Comparison_Exp>;
2498
- externalId?: InputMaybe<String_Comparison_Exp>;
2499
- id?: InputMaybe<Uuid_Comparison_Exp>;
2500
- metadata?: InputMaybe<Jsonb_Comparison_Exp>;
2501
- project?: InputMaybe<Project_Bool_Exp>;
2502
- projectId?: InputMaybe<Uuid_Comparison_Exp>;
2503
- provider?: InputMaybe<String_Comparison_Exp>;
2504
- status?: InputMaybe<String_Comparison_Exp>;
2505
- teamName?: InputMaybe<String_Comparison_Exp>;
2506
- ticketKey?: InputMaybe<String_Comparison_Exp>;
2507
- title?: InputMaybe<String_Comparison_Exp>;
2508
- updatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
2509
- url?: InputMaybe<String_Comparison_Exp>;
2510
- };
2511
- /** select columns of table "ticket_integration" */
2512
- declare enum Ticket_Integration_Select_Column {
2513
- /** column name */
2514
- CreatedAt = "createdAt",
2515
- /** column name */
2516
- Description = "description",
2517
- /** column name */
2518
- ExternalId = "externalId",
2519
- /** column name */
2520
- Id = "id",
2521
- /** column name */
2522
- Metadata = "metadata",
2523
- /** column name */
2524
- ProjectId = "projectId",
2525
- /** column name */
2526
- Provider = "provider",
2527
- /** column name */
2528
- Status = "status",
2529
- /** column name */
2530
- TeamName = "teamName",
2531
- /** column name */
2532
- TicketKey = "ticketKey",
2533
- /** column name */
2534
- Title = "title",
2535
- /** column name */
2536
- UpdatedAt = "updatedAt",
2537
- /** column name */
2538
- Url = "url"
2539
- }
2540
- /** Boolean expression to compare columns of type "time". All fields are combined with logical 'AND'. */
2541
- type Time_Comparison_Exp = {
2542
- _eq?: InputMaybe<Scalars['time']['input']>;
2543
- _gt?: InputMaybe<Scalars['time']['input']>;
2544
- _gte?: InputMaybe<Scalars['time']['input']>;
2545
- _in?: InputMaybe<Array<Scalars['time']['input']>>;
2546
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2547
- _lt?: InputMaybe<Scalars['time']['input']>;
2548
- _lte?: InputMaybe<Scalars['time']['input']>;
2549
- _neq?: InputMaybe<Scalars['time']['input']>;
2550
- _nin?: InputMaybe<Array<Scalars['time']['input']>>;
2551
- };
2552
- /** Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. */
2553
- type Timestamptz_Comparison_Exp = {
2554
- _eq?: InputMaybe<Scalars['timestamptz']['input']>;
2555
- _gt?: InputMaybe<Scalars['timestamptz']['input']>;
2556
- _gte?: InputMaybe<Scalars['timestamptz']['input']>;
2557
- _in?: InputMaybe<Array<Scalars['timestamptz']['input']>>;
2558
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2559
- _lt?: InputMaybe<Scalars['timestamptz']['input']>;
2560
- _lte?: InputMaybe<Scalars['timestamptz']['input']>;
2561
- _neq?: InputMaybe<Scalars['timestamptz']['input']>;
2562
- _nin?: InputMaybe<Array<Scalars['timestamptz']['input']>>;
2563
- };
2564
- /** Boolean expression to filter rows from the table "unfixable". All fields are combined with a logical 'AND'. */
2565
- type Unfixable_Bool_Exp = {
2566
- _and?: InputMaybe<Array<Unfixable_Bool_Exp>>;
2567
- _not?: InputMaybe<Unfixable_Bool_Exp>;
2568
- _or?: InputMaybe<Array<Unfixable_Bool_Exp>>;
2569
- created_on?: InputMaybe<Timestamptz_Comparison_Exp>;
2570
- fixReport?: InputMaybe<FixReport_Bool_Exp>;
2571
- id?: InputMaybe<Uuid_Comparison_Exp>;
2572
- infoFile?: InputMaybe<File_Bool_Exp>;
2573
- infoFileId?: InputMaybe<Uuid_Comparison_Exp>;
2574
- reportId?: InputMaybe<Uuid_Comparison_Exp>;
2575
- };
2576
- type User_Aggregate_Bool_Exp = {
2577
- bool_and?: InputMaybe<User_Aggregate_Bool_Exp_Bool_And>;
2578
- bool_or?: InputMaybe<User_Aggregate_Bool_Exp_Bool_Or>;
2579
- count?: InputMaybe<User_Aggregate_Bool_Exp_Count>;
2580
- };
2581
- type User_Aggregate_Bool_Exp_Bool_And = {
2582
- arguments: User_Select_Column_User_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
2583
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2584
- filter?: InputMaybe<User_Bool_Exp>;
2585
- predicate: Boolean_Comparison_Exp;
2586
- };
2587
- type User_Aggregate_Bool_Exp_Bool_Or = {
2588
- arguments: User_Select_Column_User_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
2589
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2590
- filter?: InputMaybe<User_Bool_Exp>;
2591
- predicate: Boolean_Comparison_Exp;
2592
- };
2593
- type User_Aggregate_Bool_Exp_Count = {
2594
- arguments?: InputMaybe<Array<User_Select_Column>>;
2595
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2596
- filter?: InputMaybe<User_Bool_Exp>;
2597
- predicate: Int_Comparison_Exp;
2598
- };
2599
- /** Boolean expression to filter rows from the table "user". All fields are combined with a logical 'AND'. */
2600
- type User_Bool_Exp = {
2601
- _and?: InputMaybe<Array<User_Bool_Exp>>;
2602
- _not?: InputMaybe<User_Bool_Exp>;
2603
- _or?: InputMaybe<Array<User_Bool_Exp>>;
2604
- api_tokens?: InputMaybe<Api_Token_Bool_Exp>;
2605
- api_tokens_aggregate?: InputMaybe<Api_Token_Aggregate_Bool_Exp>;
2606
- email?: InputMaybe<String_Comparison_Exp>;
2607
- emailNotificationSettings?: InputMaybe<User_Email_Notification_Settings_Bool_Exp>;
2608
- email_notification_settings_id?: InputMaybe<Uuid_Comparison_Exp>;
2609
- githubToken?: InputMaybe<String_Comparison_Exp>;
2610
- id?: InputMaybe<Uuid_Comparison_Exp>;
2611
- impersonatedUserEmail?: InputMaybe<String_Comparison_Exp>;
2612
- integrations?: InputMaybe<Integration_Bool_Exp>;
2613
- integrations_aggregate?: InputMaybe<Integration_Aggregate_Bool_Exp>;
2614
- isImpersonationAllowed?: InputMaybe<Boolean_Comparison_Exp>;
2615
- isSignedUp?: InputMaybe<Boolean_Comparison_Exp>;
2616
- joined_at?: InputMaybe<Timestamptz_Comparison_Exp>;
2617
- lastActivity?: InputMaybe<Timestamptz_Comparison_Exp>;
2618
- name?: InputMaybe<String_Comparison_Exp>;
2619
- picture?: InputMaybe<String_Comparison_Exp>;
2620
- scmConfigs?: InputMaybe<Scm_Config_Bool_Exp>;
2621
- scmConfigs_aggregate?: InputMaybe<Scm_Config_Aggregate_Bool_Exp>;
2622
- userOrganizationsAndUserOrganizationRoles?: InputMaybe<Organization_To_User_Bool_Exp>;
2623
- userOrganizationsAndUserOrganizationRoles_aggregate?: InputMaybe<Organization_To_User_Aggregate_Bool_Exp>;
2624
- userProjectsAndProjectRoles?: InputMaybe<Project_To_User_Bool_Exp>;
2625
- userProjectsAndProjectRoles_aggregate?: InputMaybe<Project_To_User_Aggregate_Bool_Exp>;
2626
- };
2627
- /** Boolean expression to filter rows from the table "user_email_notification_settings". All fields are combined with a logical 'AND'. */
2628
- type User_Email_Notification_Settings_Bool_Exp = {
2629
- _and?: InputMaybe<Array<User_Email_Notification_Settings_Bool_Exp>>;
2630
- _not?: InputMaybe<User_Email_Notification_Settings_Bool_Exp>;
2631
- _or?: InputMaybe<Array<User_Email_Notification_Settings_Bool_Exp>>;
2632
- analysisCompleted?: InputMaybe<Boolean_Comparison_Exp>;
2633
- analysisExpirationWarning?: InputMaybe<Boolean_Comparison_Exp>;
2634
- fixCommitted?: InputMaybe<Boolean_Comparison_Exp>;
2635
- id?: InputMaybe<Uuid_Comparison_Exp>;
2636
- mvs_auto_fix?: InputMaybe<Boolean_Comparison_Exp>;
2637
- user?: InputMaybe<User_Bool_Exp>;
2638
- user_aggregate?: InputMaybe<User_Aggregate_Bool_Exp>;
2639
- };
2640
- /** select columns of table "user" */
2641
- declare enum User_Select_Column {
2642
- /** column name */
2643
- Email = "email",
2644
- /** column name */
2645
- EmailNotificationSettingsId = "email_notification_settings_id",
2646
- /** column name */
2647
- GithubToken = "githubToken",
2648
- /** column name */
2649
- Id = "id",
2650
- /** column name */
2651
- ImpersonatedUserEmail = "impersonatedUserEmail",
2652
- /** column name */
2653
- IsImpersonationAllowed = "isImpersonationAllowed",
2654
- /** column name */
2655
- IsSignedUp = "isSignedUp",
2656
- /** column name */
2657
- JoinedAt = "joined_at",
2658
- /** column name */
2659
- LastActivity = "lastActivity",
2660
- /** column name */
2661
- Name = "name",
2662
- /** column name */
2663
- Picture = "picture"
2664
- }
2665
- /** select "user_aggregate_bool_exp_bool_and_arguments_columns" columns of table "user" */
2666
- declare enum User_Select_Column_User_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
2667
- /** column name */
2668
- IsImpersonationAllowed = "isImpersonationAllowed",
2669
- /** column name */
2670
- IsSignedUp = "isSignedUp"
2671
- }
2672
- /** select "user_aggregate_bool_exp_bool_or_arguments_columns" columns of table "user" */
2673
- declare enum User_Select_Column_User_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
2674
- /** column name */
2675
- IsImpersonationAllowed = "isImpersonationAllowed",
2676
- /** column name */
2677
- IsSignedUp = "isSignedUp"
2678
- }
2679
- /** Boolean expression to compare columns of type "uuid". All fields are combined with logical 'AND'. */
2680
- type Uuid_Comparison_Exp = {
2681
- _eq?: InputMaybe<Scalars['uuid']['input']>;
2682
- _gt?: InputMaybe<Scalars['uuid']['input']>;
2683
- _gte?: InputMaybe<Scalars['uuid']['input']>;
2684
- _in?: InputMaybe<Array<Scalars['uuid']['input']>>;
2685
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2686
- _lt?: InputMaybe<Scalars['uuid']['input']>;
2687
- _lte?: InputMaybe<Scalars['uuid']['input']>;
2688
- _neq?: InputMaybe<Scalars['uuid']['input']>;
2689
- _nin?: InputMaybe<Array<Scalars['uuid']['input']>>;
2690
- };
2691
- type View_Project_Resolved_Vulnerabilities_Aggregate_Bool_Exp = {
2692
- count?: InputMaybe<View_Project_Resolved_Vulnerabilities_Aggregate_Bool_Exp_Count>;
2693
- };
2694
- type View_Project_Resolved_Vulnerabilities_Aggregate_Bool_Exp_Count = {
2695
- arguments?: InputMaybe<Array<View_Project_Resolved_Vulnerabilities_Select_Column>>;
2696
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2697
- filter?: InputMaybe<View_Project_Resolved_Vulnerabilities_Bool_Exp>;
2698
- predicate: Int_Comparison_Exp;
2699
- };
2700
- /** Boolean expression to filter rows from the table "view_project_resolved_vulnerabilities". All fields are combined with a logical 'AND'. */
2701
- type View_Project_Resolved_Vulnerabilities_Bool_Exp = {
2702
- _and?: InputMaybe<Array<View_Project_Resolved_Vulnerabilities_Bool_Exp>>;
2703
- _not?: InputMaybe<View_Project_Resolved_Vulnerabilities_Bool_Exp>;
2704
- _or?: InputMaybe<Array<View_Project_Resolved_Vulnerabilities_Bool_Exp>>;
2705
- count?: InputMaybe<Bigint_Comparison_Exp>;
2706
- organization?: InputMaybe<Organization_Bool_Exp>;
2707
- organization_id?: InputMaybe<Uuid_Comparison_Exp>;
2708
- project?: InputMaybe<Project_Bool_Exp>;
2709
- projectUsers?: InputMaybe<Project_To_User_Bool_Exp>;
2710
- projectUsers_aggregate?: InputMaybe<Project_To_User_Aggregate_Bool_Exp>;
2711
- project_id?: InputMaybe<Uuid_Comparison_Exp>;
2712
- vulnerability_severity?: InputMaybe<String_Comparison_Exp>;
2713
- };
2714
- /** select columns of table "view_project_resolved_vulnerabilities" */
2715
- declare enum View_Project_Resolved_Vulnerabilities_Select_Column {
2716
- /** column name */
2717
- Count = "count",
2718
- /** column name */
2719
- OrganizationId = "organization_id",
2720
- /** column name */
2721
- ProjectId = "project_id",
2722
- /** column name */
2723
- VulnerabilitySeverity = "vulnerability_severity"
2724
- }
2725
- /** Boolean expression to filter rows from the table "view_project_total_resolved_vulnerabilities". All fields are combined with a logical 'AND'. */
2726
- type View_Project_Total_Resolved_Vulnerabilities_Bool_Exp = {
2727
- _and?: InputMaybe<Array<View_Project_Total_Resolved_Vulnerabilities_Bool_Exp>>;
2728
- _not?: InputMaybe<View_Project_Total_Resolved_Vulnerabilities_Bool_Exp>;
2729
- _or?: InputMaybe<Array<View_Project_Total_Resolved_Vulnerabilities_Bool_Exp>>;
2730
- organization?: InputMaybe<Organization_Bool_Exp>;
2731
- organization_id?: InputMaybe<Uuid_Comparison_Exp>;
2732
- project?: InputMaybe<Project_Bool_Exp>;
2733
- projectUsers?: InputMaybe<Project_To_User_Bool_Exp>;
2734
- projectUsers_aggregate?: InputMaybe<Project_To_User_Aggregate_Bool_Exp>;
2735
- project_id?: InputMaybe<Uuid_Comparison_Exp>;
2736
- total_resolved_vulnerabilities?: InputMaybe<Bigint_Comparison_Exp>;
2737
- };
2738
- type View_Project_Vulnerability_Severities_Aggregate_Bool_Exp = {
2739
- count?: InputMaybe<View_Project_Vulnerability_Severities_Aggregate_Bool_Exp_Count>;
2740
- };
2741
- type View_Project_Vulnerability_Severities_Aggregate_Bool_Exp_Count = {
2742
- arguments?: InputMaybe<Array<View_Project_Vulnerability_Severities_Select_Column>>;
2743
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2744
- filter?: InputMaybe<View_Project_Vulnerability_Severities_Bool_Exp>;
2745
- predicate: Int_Comparison_Exp;
2746
- };
2747
- /** Boolean expression to filter rows from the table "view_project_vulnerability_severities". All fields are combined with a logical 'AND'. */
2748
- type View_Project_Vulnerability_Severities_Bool_Exp = {
2749
- _and?: InputMaybe<Array<View_Project_Vulnerability_Severities_Bool_Exp>>;
2750
- _not?: InputMaybe<View_Project_Vulnerability_Severities_Bool_Exp>;
2751
- _or?: InputMaybe<Array<View_Project_Vulnerability_Severities_Bool_Exp>>;
2752
- count?: InputMaybe<Bigint_Comparison_Exp>;
2753
- organization?: InputMaybe<Organization_Bool_Exp>;
2754
- organization_id?: InputMaybe<Uuid_Comparison_Exp>;
2755
- project?: InputMaybe<Project_Bool_Exp>;
2756
- projectUsers?: InputMaybe<Project_To_User_Bool_Exp>;
2757
- projectUsers_aggregate?: InputMaybe<Project_To_User_Aggregate_Bool_Exp>;
2758
- project_id?: InputMaybe<Uuid_Comparison_Exp>;
2759
- vulnerability_severity?: InputMaybe<String_Comparison_Exp>;
2760
- };
2761
- /** select columns of table "view_project_vulnerability_severities" */
2762
- declare enum View_Project_Vulnerability_Severities_Select_Column {
2763
- /** column name */
2764
- Count = "count",
2765
- /** column name */
2766
- OrganizationId = "organization_id",
2767
- /** column name */
2768
- ProjectId = "project_id",
2769
- /** column name */
2770
- VulnerabilitySeverity = "vulnerability_severity"
2771
- }
2772
- /** Boolean expression to filter rows from the table "view_total_unique_unresolved_vulnerabilities". All fields are combined with a logical 'AND'. */
2773
- type View_Total_Unique_Unresolved_Vulnerabilities_Bool_Exp = {
2774
- _and?: InputMaybe<Array<View_Total_Unique_Unresolved_Vulnerabilities_Bool_Exp>>;
2775
- _not?: InputMaybe<View_Total_Unique_Unresolved_Vulnerabilities_Bool_Exp>;
2776
- _or?: InputMaybe<Array<View_Total_Unique_Unresolved_Vulnerabilities_Bool_Exp>>;
2777
- organization?: InputMaybe<Organization_Bool_Exp>;
2778
- organization_id?: InputMaybe<Uuid_Comparison_Exp>;
2779
- project?: InputMaybe<Project_Bool_Exp>;
2780
- projectUsers?: InputMaybe<Project_To_User_Bool_Exp>;
2781
- projectUsers_aggregate?: InputMaybe<Project_To_User_Aggregate_Bool_Exp>;
2782
- project_id?: InputMaybe<Uuid_Comparison_Exp>;
2783
- total_unique_unresolved_vulnerabilities?: InputMaybe<Bigint_Comparison_Exp>;
2784
- };
2785
- type Vulnerability_Report_Aggregate_Bool_Exp = {
2786
- bool_and?: InputMaybe<Vulnerability_Report_Aggregate_Bool_Exp_Bool_And>;
2787
- bool_or?: InputMaybe<Vulnerability_Report_Aggregate_Bool_Exp_Bool_Or>;
2788
- count?: InputMaybe<Vulnerability_Report_Aggregate_Bool_Exp_Count>;
2789
- };
2790
- type Vulnerability_Report_Aggregate_Bool_Exp_Bool_And = {
2791
- arguments: Vulnerability_Report_Select_Column_Vulnerability_Report_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
2792
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2793
- filter?: InputMaybe<Vulnerability_Report_Bool_Exp>;
2794
- predicate: Boolean_Comparison_Exp;
2795
- };
2796
- type Vulnerability_Report_Aggregate_Bool_Exp_Bool_Or = {
2797
- arguments: Vulnerability_Report_Select_Column_Vulnerability_Report_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
2798
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2799
- filter?: InputMaybe<Vulnerability_Report_Bool_Exp>;
2800
- predicate: Boolean_Comparison_Exp;
2801
- };
2802
- type Vulnerability_Report_Aggregate_Bool_Exp_Count = {
2803
- arguments?: InputMaybe<Array<Vulnerability_Report_Select_Column>>;
2804
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2805
- filter?: InputMaybe<Vulnerability_Report_Bool_Exp>;
2806
- predicate: Int_Comparison_Exp;
2807
- };
2808
- /** Boolean expression to filter rows from the table "vulnerability_report". All fields are combined with a logical 'AND'. */
2809
- type Vulnerability_Report_Bool_Exp = {
2810
- _and?: InputMaybe<Array<Vulnerability_Report_Bool_Exp>>;
2811
- _not?: InputMaybe<Vulnerability_Report_Bool_Exp>;
2812
- _or?: InputMaybe<Array<Vulnerability_Report_Bool_Exp>>;
2813
- commonPathPrefix?: InputMaybe<String_Comparison_Exp>;
2814
- computedVendor?: InputMaybe<String_Comparison_Exp>;
2815
- file?: InputMaybe<File_Bool_Exp>;
2816
- fileId?: InputMaybe<Uuid_Comparison_Exp>;
2817
- fixReport?: InputMaybe<FixReport_Bool_Exp>;
2818
- id?: InputMaybe<Uuid_Comparison_Exp>;
2819
- isDeleted?: InputMaybe<Boolean_Comparison_Exp>;
2820
- isInternal?: InputMaybe<Boolean_Comparison_Exp>;
2821
- issuesWithKnownLanguage?: InputMaybe<Int_Comparison_Exp>;
2822
- lastIssueUpdatedAt?: InputMaybe<Timestamptz_Comparison_Exp>;
2823
- name?: InputMaybe<String_Comparison_Exp>;
2824
- project?: InputMaybe<Project_Bool_Exp>;
2825
- projectId?: InputMaybe<Uuid_Comparison_Exp>;
2826
- reportSummaryUrl?: InputMaybe<String_Comparison_Exp>;
2827
- scanDate?: InputMaybe<Timestamptz_Comparison_Exp>;
2828
- scanSource?: InputMaybe<Scan_Source_Enum_Comparison_Exp>;
2829
- type?: InputMaybe<String_Comparison_Exp>;
2830
- vendor?: InputMaybe<Vulnerability_Report_Vendor_Enum_Comparison_Exp>;
2831
- vendorReportId?: InputMaybe<String_Comparison_Exp>;
2832
- vulnerabilityReportIssues?: InputMaybe<Vulnerability_Report_Issue_Bool_Exp>;
2833
- vulnerabilityReportIssues_aggregate?: InputMaybe<Vulnerability_Report_Issue_Aggregate_Bool_Exp>;
2834
- };
2835
- type Vulnerability_Report_Issue_Aggregate_Bool_Exp = {
2836
- bool_and?: InputMaybe<Vulnerability_Report_Issue_Aggregate_Bool_Exp_Bool_And>;
2837
- bool_or?: InputMaybe<Vulnerability_Report_Issue_Aggregate_Bool_Exp_Bool_Or>;
2838
- count?: InputMaybe<Vulnerability_Report_Issue_Aggregate_Bool_Exp_Count>;
2839
- };
2840
- type Vulnerability_Report_Issue_Aggregate_Bool_Exp_Bool_And = {
2841
- arguments: Vulnerability_Report_Issue_Select_Column_Vulnerability_Report_Issue_Aggregate_Bool_Exp_Bool_And_Arguments_Columns;
2842
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2843
- filter?: InputMaybe<Vulnerability_Report_Issue_Bool_Exp>;
2844
- predicate: Boolean_Comparison_Exp;
2845
- };
2846
- type Vulnerability_Report_Issue_Aggregate_Bool_Exp_Bool_Or = {
2847
- arguments: Vulnerability_Report_Issue_Select_Column_Vulnerability_Report_Issue_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns;
2848
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2849
- filter?: InputMaybe<Vulnerability_Report_Issue_Bool_Exp>;
2850
- predicate: Boolean_Comparison_Exp;
2851
- };
2852
- type Vulnerability_Report_Issue_Aggregate_Bool_Exp_Count = {
2853
- arguments?: InputMaybe<Array<Vulnerability_Report_Issue_Select_Column>>;
2854
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2855
- filter?: InputMaybe<Vulnerability_Report_Issue_Bool_Exp>;
2856
- predicate: Int_Comparison_Exp;
2857
- };
2858
- /** Boolean expression to filter rows from the table "vulnerability_report_issue". All fields are combined with a logical 'AND'. */
2859
- type Vulnerability_Report_Issue_Bool_Exp = {
2860
- _and?: InputMaybe<Array<Vulnerability_Report_Issue_Bool_Exp>>;
2861
- _not?: InputMaybe<Vulnerability_Report_Issue_Bool_Exp>;
2862
- _or?: InputMaybe<Array<Vulnerability_Report_Issue_Bool_Exp>>;
2863
- category?: InputMaybe<Vulnerability_Report_Issue_Category_Enum_Comparison_Exp>;
2864
- codeFilePath?: InputMaybe<String_Comparison_Exp>;
2865
- codeNodes?: InputMaybe<Vulnerability_Report_Issue_Code_Node_Bool_Exp>;
2866
- codeNodes_aggregate?: InputMaybe<Vulnerability_Report_Issue_Code_Node_Aggregate_Bool_Exp>;
2867
- createdAt?: InputMaybe<Timestamptz_Comparison_Exp>;
2868
- extraData?: InputMaybe<Jsonb_Comparison_Exp>;
2869
- falsePositive?: InputMaybe<False_Positive_Bool_Exp>;
2870
- fingerprintHash?: InputMaybe<String_Comparison_Exp>;
2871
- fix?: InputMaybe<Fix_Bool_Exp>;
2872
- fixId?: InputMaybe<Uuid_Comparison_Exp>;
2873
- fpId?: InputMaybe<Uuid_Comparison_Exp>;
2874
- id?: InputMaybe<Uuid_Comparison_Exp>;
2875
- isSuppressed?: InputMaybe<Boolean_Comparison_Exp>;
2876
- issueLanguage?: InputMaybe<String_Comparison_Exp>;
2877
- issueType?: InputMaybe<String_Comparison_Exp>;
2878
- parsedIssueLanguage?: InputMaybe<IssueLanguage_Enum_Comparison_Exp>;
2879
- parsedIssueType?: InputMaybe<IssueType_Enum_Comparison_Exp>;
2880
- parsedSeverity?: InputMaybe<Vulnerability_Severity_Enum_Comparison_Exp>;
2881
- safeIssueLanguage?: InputMaybe<String_Comparison_Exp>;
2882
- safeIssueType?: InputMaybe<String_Comparison_Exp>;
2883
- severity?: InputMaybe<String_Comparison_Exp>;
2884
- severityValue?: InputMaybe<Int_Comparison_Exp>;
2885
- sharedState?: InputMaybe<Vulnerability_Report_Issue_Shared_State_Bool_Exp>;
2886
- sharedStateId?: InputMaybe<Uuid_Comparison_Exp>;
2887
- state?: InputMaybe<Vulnerability_Report_Issue_State_Enum_Comparison_Exp>;
2888
- unfixable?: InputMaybe<Unfixable_Bool_Exp>;
2889
- unfixableId?: InputMaybe<Uuid_Comparison_Exp>;
2890
- vendorInstanceId?: InputMaybe<String_Comparison_Exp>;
2891
- vendorIssueId?: InputMaybe<String_Comparison_Exp>;
2892
- vulnerabilityReport?: InputMaybe<Vulnerability_Report_Bool_Exp>;
2893
- vulnerabilityReportId?: InputMaybe<Uuid_Comparison_Exp>;
2894
- vulnerabilityReportIssueNodeDiffFile?: InputMaybe<File_Bool_Exp>;
2895
- vulnerabilityReportIssueNodeDiffFileId?: InputMaybe<Uuid_Comparison_Exp>;
2896
- vulnerabilityReportIssueTags?: InputMaybe<Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Bool_Exp>;
2897
- vulnerabilityReportIssueTags_aggregate?: InputMaybe<Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Aggregate_Bool_Exp>;
2898
- };
2899
- declare enum Vulnerability_Report_Issue_Category_Enum {
2900
- /** Issues that have been identified as false positives (fp_id is not null) */
2901
- FalsePositive = "FalsePositive",
2902
- /** Issues that have been filtered out during processing */
2903
- Filtered = "Filtered",
2904
- /** Issues that can be fixed - default category for issues that don't fall into other categories */
2905
- Fixable = "Fixable",
2906
- /** Issues marked as irrelevant - includes suppressed tags, FilteredAiQuota state, or issues with tags */
2907
- Irrelevant = "Irrelevant",
2908
- /** Issues that cannot be fixed - includes Unfixable state, hardcoded secrets without fp_id, Error state, or missing fix_id */
2909
- NoFix = "NoFix",
2910
- /** Issues that are in Pending or Digested state, waiting to be processed */
2911
- Pending = "Pending",
2912
- /** Issues in Unsupported state that cannot be processed by the system */
2913
- Unsupported = "Unsupported"
2914
- }
2915
- /** Boolean expression to compare columns of type "vulnerability_report_issue_category_enum". All fields are combined with logical 'AND'. */
2916
- type Vulnerability_Report_Issue_Category_Enum_Comparison_Exp = {
2917
- _eq?: InputMaybe<Vulnerability_Report_Issue_Category_Enum>;
2918
- _in?: InputMaybe<Array<Vulnerability_Report_Issue_Category_Enum>>;
2919
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
2920
- _neq?: InputMaybe<Vulnerability_Report_Issue_Category_Enum>;
2921
- _nin?: InputMaybe<Array<Vulnerability_Report_Issue_Category_Enum>>;
2922
- };
2923
- type Vulnerability_Report_Issue_Code_Node_Aggregate_Bool_Exp = {
2924
- count?: InputMaybe<Vulnerability_Report_Issue_Code_Node_Aggregate_Bool_Exp_Count>;
2925
- };
2926
- type Vulnerability_Report_Issue_Code_Node_Aggregate_Bool_Exp_Count = {
2927
- arguments?: InputMaybe<Array<Vulnerability_Report_Issue_Code_Node_Select_Column>>;
2928
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
2929
- filter?: InputMaybe<Vulnerability_Report_Issue_Code_Node_Bool_Exp>;
2930
- predicate: Int_Comparison_Exp;
2931
- };
2932
- /** Boolean expression to filter rows from the table "vulnerability_report_issue_code_node". All fields are combined with a logical 'AND'. */
2933
- type Vulnerability_Report_Issue_Code_Node_Bool_Exp = {
2934
- _and?: InputMaybe<Array<Vulnerability_Report_Issue_Code_Node_Bool_Exp>>;
2935
- _not?: InputMaybe<Vulnerability_Report_Issue_Code_Node_Bool_Exp>;
2936
- _or?: InputMaybe<Array<Vulnerability_Report_Issue_Code_Node_Bool_Exp>>;
2937
- endCol?: InputMaybe<Int_Comparison_Exp>;
2938
- endLine?: InputMaybe<Int_Comparison_Exp>;
2939
- endOffset?: InputMaybe<Int_Comparison_Exp>;
2940
- id?: InputMaybe<Uuid_Comparison_Exp>;
2941
- index?: InputMaybe<Int_Comparison_Exp>;
2942
- path?: InputMaybe<String_Comparison_Exp>;
2943
- sourceCodeFile?: InputMaybe<File_Bool_Exp>;
2944
- sourceCodeFileId?: InputMaybe<Uuid_Comparison_Exp>;
2945
- startCol?: InputMaybe<Int_Comparison_Exp>;
2946
- startLine?: InputMaybe<Int_Comparison_Exp>;
2947
- startOffset?: InputMaybe<Int_Comparison_Exp>;
2948
- vulnerabilityReportIssue?: InputMaybe<Vulnerability_Report_Issue_Bool_Exp>;
2949
- vulnerabilityReportIssueId?: InputMaybe<Uuid_Comparison_Exp>;
2950
- };
2951
- /** select columns of table "vulnerability_report_issue_code_node" */
2952
- declare enum Vulnerability_Report_Issue_Code_Node_Select_Column {
2953
- /** column name */
2954
- EndCol = "endCol",
2955
- /** column name */
2956
- EndLine = "endLine",
2957
- /** column name */
2958
- EndOffset = "endOffset",
2959
- /** column name */
2960
- Id = "id",
2961
- /** column name */
2962
- Index = "index",
2963
- /** column name */
2964
- Path = "path",
2965
- /** column name */
2966
- SourceCodeFileId = "sourceCodeFileId",
2967
- /** column name */
2968
- StartCol = "startCol",
2969
- /** column name */
2970
- StartLine = "startLine",
2971
- /** column name */
2972
- StartOffset = "startOffset",
2973
- /** column name */
2974
- VulnerabilityReportIssueId = "vulnerabilityReportIssueId"
2975
- }
2976
- /** select columns of table "vulnerability_report_issue" */
2977
- declare enum Vulnerability_Report_Issue_Select_Column {
2978
- /** column name */
2979
- Category = "category",
2980
- /** column name */
2981
- CodeFilePath = "codeFilePath",
2982
- /** column name */
2983
- CreatedAt = "createdAt",
2984
- /** column name */
2985
- ExtraData = "extraData",
2986
- /** column name */
2987
- FingerprintHash = "fingerprintHash",
2988
- /** column name */
2989
- FixId = "fixId",
2990
- /** column name */
2991
- FpId = "fpId",
2992
- /** column name */
2993
- Id = "id",
2994
- /** column name */
2995
- IsSuppressed = "isSuppressed",
2996
- /** column name */
2997
- IssueLanguage = "issueLanguage",
2998
- /** column name */
2999
- IssueType = "issueType",
3000
- /** column name */
3001
- ParsedIssueLanguage = "parsedIssueLanguage",
3002
- /** column name */
3003
- ParsedIssueType = "parsedIssueType",
3004
- /** column name */
3005
- ParsedSeverity = "parsedSeverity",
3006
- /** column name */
3007
- Severity = "severity",
3008
- /** column name */
3009
- SharedStateId = "sharedStateId",
3010
- /** column name */
3011
- State = "state",
3012
- /** column name */
3013
- UnfixableId = "unfixableId",
3014
- /** column name */
3015
- VendorInstanceId = "vendorInstanceId",
3016
- /** column name */
3017
- VendorIssueId = "vendorIssueId",
3018
- /** column name */
3019
- VulnerabilityReportId = "vulnerabilityReportId",
3020
- /** column name */
3021
- VulnerabilityReportIssueNodeDiffFileId = "vulnerabilityReportIssueNodeDiffFileId"
3022
- }
3023
- /** select "vulnerability_report_issue_aggregate_bool_exp_bool_and_arguments_columns" columns of table "vulnerability_report_issue" */
3024
- declare enum Vulnerability_Report_Issue_Select_Column_Vulnerability_Report_Issue_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
3025
- /** column name */
3026
- IsSuppressed = "isSuppressed"
3027
- }
3028
- /** select "vulnerability_report_issue_aggregate_bool_exp_bool_or_arguments_columns" columns of table "vulnerability_report_issue" */
3029
- declare enum Vulnerability_Report_Issue_Select_Column_Vulnerability_Report_Issue_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
3030
- /** column name */
3031
- IsSuppressed = "isSuppressed"
3032
- }
3033
- /** Boolean expression to filter rows from the table "vulnerability_report_issue_shared_state". All fields are combined with a logical 'AND'. */
3034
- type Vulnerability_Report_Issue_Shared_State_Bool_Exp = {
3035
- _and?: InputMaybe<Array<Vulnerability_Report_Issue_Shared_State_Bool_Exp>>;
3036
- _not?: InputMaybe<Vulnerability_Report_Issue_Shared_State_Bool_Exp>;
3037
- _or?: InputMaybe<Array<Vulnerability_Report_Issue_Shared_State_Bool_Exp>>;
3038
- id?: InputMaybe<Uuid_Comparison_Exp>;
3039
- isArchived?: InputMaybe<Boolean_Comparison_Exp>;
3040
- issueFingerprintHash?: InputMaybe<String_Comparison_Exp>;
3041
- project?: InputMaybe<Project_Bool_Exp>;
3042
- projectId?: InputMaybe<Uuid_Comparison_Exp>;
3043
- repoUrl?: InputMaybe<String_Comparison_Exp>;
3044
- ticketIntegrationId?: InputMaybe<Uuid_Comparison_Exp>;
3045
- ticketIntegrations?: InputMaybe<Ticket_Integration_Bool_Exp>;
3046
- ticketIntegrations_aggregate?: InputMaybe<Ticket_Integration_Aggregate_Bool_Exp>;
3047
- vulnerabilityReportIssues?: InputMaybe<Vulnerability_Report_Issue_Bool_Exp>;
3048
- vulnerabilityReportIssues_aggregate?: InputMaybe<Vulnerability_Report_Issue_Aggregate_Bool_Exp>;
3049
- };
3050
- declare enum Vulnerability_Report_Issue_State_Enum {
3051
- /** This vulnerability was inserted to the database */
3052
- Digested = "Digested",
3053
- /** Encountered an error while generating the fix */
3054
- Error = "Error",
3055
- /** This vulnerability is a false positive */
3056
- FalsePositive = "FalsePositive",
3057
- /** This vulnerability was filtered and not analyzed */
3058
- Filtered = "Filtered",
3059
- /** This vulnerability was filtered due to ai quota */
3060
- FilteredAiQuota = "FilteredAiQuota",
3061
- /** This vulnerability has a fix */
3062
- Fixed = "Fixed",
3063
- /** This vulnerability couldn't be fixed */
3064
- NoFix = "NoFix",
3065
- /** This vulnerability is about to be analyzed */
3066
- Pending = "Pending",
3067
- /** This vulnerability is un-fixable */
3068
- Unfixable = "Unfixable",
3069
- /** We don't support this vulnerability type/language */
3070
- Unsupported = "Unsupported"
3071
- }
3072
- /** Boolean expression to compare columns of type "vulnerability_report_issue_state_enum". All fields are combined with logical 'AND'. */
3073
- type Vulnerability_Report_Issue_State_Enum_Comparison_Exp = {
3074
- _eq?: InputMaybe<Vulnerability_Report_Issue_State_Enum>;
3075
- _in?: InputMaybe<Array<Vulnerability_Report_Issue_State_Enum>>;
3076
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
3077
- _neq?: InputMaybe<Vulnerability_Report_Issue_State_Enum>;
3078
- _nin?: InputMaybe<Array<Vulnerability_Report_Issue_State_Enum>>;
3079
- };
3080
- declare enum Vulnerability_Report_Issue_Tag_Enum {
3081
- /** Autogenerated code */
3082
- AutogeneratedCode = "AUTOGENERATED_CODE",
3083
- /** Auxiliary code */
3084
- AuxiliaryCode = "AUXILIARY_CODE",
3085
- /** False positive */
3086
- FalsePositive = "FALSE_POSITIVE",
3087
- /** Suppressed */
3088
- Suppressed = "SUPPRESSED",
3089
- /** Test code */
3090
- TestCode = "TEST_CODE",
3091
- /** Un-fixable */
3092
- Unfixable = "UNFIXABLE",
3093
- /** Vendor code */
3094
- VendorCode = "VENDOR_CODE"
3095
- }
3096
- /** Boolean expression to compare columns of type "vulnerability_report_issue_tag_enum". All fields are combined with logical 'AND'. */
3097
- type Vulnerability_Report_Issue_Tag_Enum_Comparison_Exp = {
3098
- _eq?: InputMaybe<Vulnerability_Report_Issue_Tag_Enum>;
3099
- _in?: InputMaybe<Array<Vulnerability_Report_Issue_Tag_Enum>>;
3100
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
3101
- _neq?: InputMaybe<Vulnerability_Report_Issue_Tag_Enum>;
3102
- _nin?: InputMaybe<Array<Vulnerability_Report_Issue_Tag_Enum>>;
3103
- };
3104
- type Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Aggregate_Bool_Exp = {
3105
- count?: InputMaybe<Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Aggregate_Bool_Exp_Count>;
3106
- };
3107
- type Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Aggregate_Bool_Exp_Count = {
3108
- arguments?: InputMaybe<Array<Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Select_Column>>;
3109
- distinct?: InputMaybe<Scalars['Boolean']['input']>;
3110
- filter?: InputMaybe<Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Bool_Exp>;
3111
- predicate: Int_Comparison_Exp;
3112
- };
3113
- /** Boolean expression to filter rows from the table "vulnerability_report_issue_to_vulnerability_report_issue_tag". All fields are combined with a logical 'AND'. */
3114
- type Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Bool_Exp = {
3115
- _and?: InputMaybe<Array<Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Bool_Exp>>;
3116
- _not?: InputMaybe<Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Bool_Exp>;
3117
- _or?: InputMaybe<Array<Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Bool_Exp>>;
3118
- id?: InputMaybe<Uuid_Comparison_Exp>;
3119
- vulnerability_report_issue_id?: InputMaybe<Uuid_Comparison_Exp>;
3120
- vulnerability_report_issue_tag_value?: InputMaybe<Vulnerability_Report_Issue_Tag_Enum_Comparison_Exp>;
3121
- };
3122
- /** select columns of table "vulnerability_report_issue_to_vulnerability_report_issue_tag" */
3123
- declare enum Vulnerability_Report_Issue_To_Vulnerability_Report_Issue_Tag_Select_Column {
3124
- /** column name */
3125
- Id = "id",
3126
- /** column name */
3127
- VulnerabilityReportIssueId = "vulnerability_report_issue_id",
3128
- /** column name */
3129
- VulnerabilityReportIssueTagValue = "vulnerability_report_issue_tag_value"
3130
- }
3131
- /** select columns of table "vulnerability_report" */
3132
- declare enum Vulnerability_Report_Select_Column {
3133
- /** column name */
3134
- CommonPathPrefix = "commonPathPrefix",
3135
- /** column name */
3136
- FileId = "fileId",
3137
- /** column name */
3138
- Id = "id",
3139
- /** column name */
3140
- IsDeleted = "isDeleted",
3141
- /** column name */
3142
- IsInternal = "isInternal",
3143
- /** column name */
3144
- IssuesWithKnownLanguage = "issuesWithKnownLanguage",
3145
- /** column name */
3146
- LastIssueUpdatedAt = "lastIssueUpdatedAt",
3147
- /** column name */
3148
- Name = "name",
3149
- /** column name */
3150
- ProjectId = "projectId",
3151
- /** column name */
3152
- ReportSummaryUrl = "reportSummaryUrl",
3153
- /** column name */
3154
- ScanDate = "scanDate",
3155
- /** column name */
3156
- ScanSource = "scanSource",
3157
- /** column name */
3158
- Type = "type",
3159
- /** column name */
3160
- Vendor = "vendor",
3161
- /** column name */
3162
- VendorReportId = "vendorReportId"
3163
- }
3164
- /** select "vulnerability_report_aggregate_bool_exp_bool_and_arguments_columns" columns of table "vulnerability_report" */
3165
- declare enum Vulnerability_Report_Select_Column_Vulnerability_Report_Aggregate_Bool_Exp_Bool_And_Arguments_Columns {
3166
- /** column name */
3167
- IsDeleted = "isDeleted",
3168
- /** column name */
3169
- IsInternal = "isInternal"
3170
- }
3171
- /** select "vulnerability_report_aggregate_bool_exp_bool_or_arguments_columns" columns of table "vulnerability_report" */
3172
- declare enum Vulnerability_Report_Select_Column_Vulnerability_Report_Aggregate_Bool_Exp_Bool_Or_Arguments_Columns {
3173
- /** column name */
3174
- IsDeleted = "isDeleted",
3175
- /** column name */
3176
- IsInternal = "isInternal"
3177
- }
3178
- /** Boolean expression to filter rows from the table "vulnerability_report_vendor". All fields are combined with a logical 'AND'. */
3179
- type Vulnerability_Report_Vendor_Bool_Exp = {
3180
- _and?: InputMaybe<Array<Vulnerability_Report_Vendor_Bool_Exp>>;
3181
- _not?: InputMaybe<Vulnerability_Report_Vendor_Bool_Exp>;
3182
- _or?: InputMaybe<Array<Vulnerability_Report_Vendor_Bool_Exp>>;
3183
- comment?: InputMaybe<String_Comparison_Exp>;
3184
- value?: InputMaybe<String_Comparison_Exp>;
3185
- };
3186
- declare enum Vulnerability_Report_Vendor_Enum {
3187
- /** checkmarx */
3188
- Checkmarx = "checkmarx",
3189
- /** checkmarxXml */
3190
- CheckmarxXml = "checkmarxXml",
3191
- /** codeql */
3192
- Codeql = "codeql",
3193
- /** datadog */
3194
- Datadog = "datadog",
3195
- /** fortify */
3196
- Fortify = "fortify",
3197
- /** fortifyMobbSarif */
3198
- FortifyMobbSarif = "fortifyMobbSarif",
3199
- /** We use our own internal SAST instead of receiving the report from user, currently we use opengrep */
3200
- MobbSast = "mobbSast",
3201
- /** opengrep */
3202
- Opengrep = "opengrep",
3203
- /** semgrep */
3204
- Semgrep = "semgrep",
3205
- /** snyk */
3206
- Snyk = "snyk",
3207
- /** sonarqube */
3208
- Sonarqube = "sonarqube"
3209
- }
3210
- /** Boolean expression to compare columns of type "vulnerability_report_vendor_enum". All fields are combined with logical 'AND'. */
3211
- type Vulnerability_Report_Vendor_Enum_Comparison_Exp = {
3212
- _eq?: InputMaybe<Vulnerability_Report_Vendor_Enum>;
3213
- _in?: InputMaybe<Array<Vulnerability_Report_Vendor_Enum>>;
3214
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
3215
- _neq?: InputMaybe<Vulnerability_Report_Vendor_Enum>;
3216
- _nin?: InputMaybe<Array<Vulnerability_Report_Vendor_Enum>>;
3217
- };
3218
- declare enum Vulnerability_Severity_Enum {
3219
- /** critical */
3220
- Critical = "critical",
3221
- /** high */
3222
- High = "high",
3223
- /** low */
3224
- Low = "low",
3225
- /** medium */
3226
- Medium = "medium"
3227
- }
3228
- /** Boolean expression to compare columns of type "vulnerability_severity_enum". All fields are combined with logical 'AND'. */
3229
- type Vulnerability_Severity_Enum_Comparison_Exp = {
3230
- _eq?: InputMaybe<Vulnerability_Severity_Enum>;
3231
- _in?: InputMaybe<Array<Vulnerability_Severity_Enum>>;
3232
- _is_null?: InputMaybe<Scalars['Boolean']['input']>;
3233
- _neq?: InputMaybe<Vulnerability_Severity_Enum>;
3234
- _nin?: InputMaybe<Array<Vulnerability_Severity_Enum>>;
3235
- };
3236
- type MeQueryVariables = Exact<{
3237
- [key: string]: never;
3238
- }>;
3239
- type MeQuery = {
3240
- __typename?: 'query_root';
3241
- me?: {
3242
- __typename?: 'MeResponse';
3243
- id: string;
3244
- email: string;
3245
- userOrganizationsAndUserOrganizationRoles: Array<{
3246
- __typename?: 'OrganizationToRoleType';
3247
- organization?: {
3248
- __typename?: 'OrganizationType';
3249
- brokerHosts: Array<{
3250
- __typename?: 'BrokerHostsType';
3251
- realDomain: string;
3252
- virtualDomain: string;
3253
- } | null>;
3254
- } | null;
3255
- } | null>;
3256
- scmConfigs: Array<{
3257
- __typename?: 'ScmConfig';
3258
- id: string;
3259
- orgId?: string | null;
3260
- refreshToken?: string | null;
3261
- scmType: string;
3262
- scmUrl: string;
3263
- scmUsername?: string | null;
3264
- token?: string | null;
3265
- tokenLastUpdate?: string | null;
3266
- userId?: string | null;
3267
- scmOrg?: string | null;
3268
- isTokenAvailable: boolean;
3269
- } | null>;
3270
- } | null;
3271
- };
3272
- type GetLastOrgAndNamedProjectQueryVariables = Exact<{
3273
- email: Scalars['String']['input'];
3274
- projectName: Scalars['String']['input'];
3275
- }>;
3276
- type GetLastOrgAndNamedProjectQuery = {
3277
- __typename?: 'query_root';
3278
- user: Array<{
3279
- __typename?: 'user';
3280
- id: any;
3281
- userOrganizationsAndUserOrganizationRoles: Array<{
3282
- __typename?: 'organization_to_user';
3283
- id: any;
3284
- organization: {
3285
- __typename?: 'organization';
3286
- id: any;
3287
- projects: Array<{
3288
- __typename?: 'project';
3289
- name: string;
3290
- id: any;
3291
- }>;
3292
- };
3293
- }>;
3294
- }>;
3295
- };
3296
- type GetLastOrgQueryVariables = Exact<{
3297
- email: Scalars['String']['input'];
3298
- }>;
3299
- type GetLastOrgQuery = {
3300
- __typename?: 'query_root';
3301
- user: Array<{
3302
- __typename?: 'user';
3303
- id: any;
3304
- name?: string | null;
3305
- userOrganizationsAndUserOrganizationRoles: Array<{
3306
- __typename?: 'organization_to_user';
3307
- id: any;
3308
- organization: {
3309
- __typename?: 'organization';
3310
- id: any;
3311
- };
3312
- }>;
3313
- }>;
3314
- };
3315
- type GetEncryptedApiTokenQueryVariables = Exact<{
3316
- loginId: Scalars['uuid']['input'];
3317
- }>;
3318
- type GetEncryptedApiTokenQuery = {
3319
- __typename?: 'query_root';
3320
- cli_login_by_pk?: {
3321
- __typename?: 'cli_login';
3322
- encryptedApiToken?: string | null;
3323
- } | null;
3324
- };
3325
- type FixReportStateQueryVariables = Exact<{
3326
- id: Scalars['uuid']['input'];
3327
- }>;
3328
- type FixReportStateQuery = {
3329
- __typename?: 'query_root';
3330
- fixReport_by_pk?: {
3331
- __typename?: 'fixReport';
3332
- state: Fix_Report_State_Enum;
3333
- } | null;
3334
- };
3335
- type GetVulnerabilityReportPathsQueryVariables = Exact<{
3336
- vulnerabilityReportId: Scalars['uuid']['input'];
3337
- }>;
3338
- type GetVulnerabilityReportPathsQuery = {
3339
- __typename?: 'query_root';
3340
- vulnerability_report_path: Array<{
3341
- __typename?: 'vulnerability_report_path';
3342
- path: string;
3343
- }>;
3344
- };
3345
- type GetAnalysisSubscriptionSubscriptionVariables = Exact<{
3346
- analysisId: Scalars['uuid']['input'];
3347
- }>;
3348
- type GetAnalysisSubscriptionSubscription = {
3349
- __typename?: 'subscription_root';
3350
- analysis?: {
3351
- __typename?: 'fixReport';
3352
- id: any;
3353
- state: Fix_Report_State_Enum;
3354
- failReason?: string | null;
3355
- } | null;
3356
- };
3357
- type GetAnalysisQueryVariables = Exact<{
3358
- analysisId: Scalars['uuid']['input'];
3359
- }>;
3360
- type GetAnalysisQuery = {
3361
- __typename?: 'query_root';
3362
- analysis?: {
3363
- __typename?: 'fixReport';
3364
- id: any;
3365
- state: Fix_Report_State_Enum;
3366
- failReason?: string | null;
3367
- vulnerabilityReportId: any;
3368
- repo?: {
3369
- __typename?: 'repo';
3370
- commitSha: string;
3371
- pullRequest?: number | null;
3372
- } | null;
3373
- vulnerabilityReport: {
3374
- __typename?: 'vulnerability_report';
3375
- projectId: any;
3376
- project: {
3377
- __typename?: 'project';
3378
- organizationId: any;
3379
- organization: {
3380
- __typename?: 'organization';
3381
- ghFixerNoFixComments: boolean;
3382
- };
3383
- };
3384
- file?: {
3385
- __typename?: 'file';
3386
- signedFile?: {
3387
- __typename?: 'FilePayload';
3388
- url: string;
3389
- } | null;
3390
- } | null;
3391
- };
3392
- } | null;
3393
- };
3394
- type GetFixesQueryVariables = Exact<{
3395
- filters: Fix_Bool_Exp;
3396
- }>;
3397
- type GetFixesQuery = {
3398
- __typename?: 'query_root';
3399
- fixes: Array<{
3400
- __typename?: 'fix';
3401
- safeIssueType?: string | null;
3402
- id: any;
3403
- severityText?: string | null;
3404
- safeIssueLanguage?: string | null;
3405
- patchAndQuestions: {
3406
- __typename: 'FixData';
3407
- patch: string;
3408
- patchOriginalEncodingBase64: string;
3409
- questions: Array<{
3410
- __typename: 'FixQuestion';
3411
- defaultValue: string;
3412
- index: number;
3413
- inputType: FixQuestionInputType;
3414
- key: string;
3415
- name: string;
3416
- options: Array<string>;
3417
- value?: string | null;
3418
- extraContext: Array<{
3419
- __typename?: 'UnstructuredFixExtraContext';
3420
- key: string;
3421
- value: any;
3422
- }>;
3423
- }>;
3424
- extraContext: {
3425
- __typename: 'FixExtraContextResponse';
3426
- fixDescription: string;
3427
- extraContext: Array<{
3428
- __typename: 'UnstructuredFixExtraContext';
3429
- key: string;
3430
- value: any;
3431
- }>;
3432
- manifestActionsRequired: Array<{
3433
- __typename: 'FixExtraContextManifestActionRequiredResponse';
3434
- action: ManifestAction;
3435
- language: Language;
3436
- lib: {
3437
- __typename?: 'PackageInfoResponse';
3438
- name: string;
3439
- version: string;
3440
- };
3441
- typesLib?: {
3442
- __typename?: 'PackageInfoResponse';
3443
- envName?: string | null;
3444
- name: string;
3445
- version: string;
3446
- } | null;
3447
- }>;
3448
- };
3449
- } | {
3450
- __typename: 'GetFixNoFixError';
3451
- };
3452
- }>;
3453
- };
3454
- type GetVulByNodesMetadataQueryVariables = Exact<{
3455
- filters?: InputMaybe<Array<Vulnerability_Report_Issue_Code_Node_Bool_Exp> | Vulnerability_Report_Issue_Code_Node_Bool_Exp>;
3456
- vulnerabilityReportId: Scalars['uuid']['input'];
3457
- }>;
3458
- type GetVulByNodesMetadataQuery = {
3459
- __typename?: 'query_root';
3460
- vulnerabilityReportIssueCodeNodes: Array<{
3461
- __typename?: 'vulnerability_report_issue_code_node';
3462
- vulnerabilityReportIssueId: any;
3463
- path: string;
3464
- startLine: number;
3465
- vulnerabilityReportIssue: {
3466
- __typename?: 'vulnerability_report_issue';
3467
- safeIssueType?: string | null;
3468
- fixId?: any | null;
3469
- category?: Vulnerability_Report_Issue_Category_Enum | null;
3470
- vulnerabilityReportIssueTags: Array<{
3471
- __typename?: 'vulnerability_report_issue_to_vulnerability_report_issue_tag';
3472
- tag: Vulnerability_Report_Issue_Tag_Enum;
3473
- }>;
3474
- };
3475
- }>;
3476
- fixablePrVuls: {
3477
- __typename?: 'vulnerability_report_issue_aggregate';
3478
- aggregate?: {
3479
- __typename?: 'vulnerability_report_issue_aggregate_fields';
3480
- count: number;
3481
- } | null;
3482
- };
3483
- nonFixablePrVuls: {
3484
- __typename?: 'vulnerability_report_issue_aggregate';
3485
- aggregate?: {
3486
- __typename?: 'vulnerability_report_issue_aggregate_fields';
3487
- count: number;
3488
- } | null;
3489
- };
3490
- totalScanVulnerabilities: {
3491
- __typename?: 'vulnerability_report_issue_aggregate';
3492
- aggregate?: {
3493
- __typename?: 'vulnerability_report_issue_aggregate_fields';
3494
- count: number;
3495
- } | null;
3496
- };
3497
- irrelevantVulnerabilityReportIssue: Array<{
3498
- __typename?: 'vulnerability_report';
3499
- vulnerabilityReportIssues: Array<{
3500
- __typename?: 'vulnerability_report_issue';
3501
- id: any;
3502
- safeIssueType?: string | null;
3503
- fixId?: any | null;
3504
- category?: Vulnerability_Report_Issue_Category_Enum | null;
3505
- fpId?: any | null;
3506
- vulnerabilityReportIssueTags: Array<{
3507
- __typename?: 'vulnerability_report_issue_to_vulnerability_report_issue_tag';
3508
- tag: Vulnerability_Report_Issue_Tag_Enum;
3509
- }>;
3510
- codeNodes: Array<{
3511
- __typename?: 'vulnerability_report_issue_code_node';
3512
- path: string;
3513
- startLine: number;
3514
- }>;
3515
- }>;
3516
- }>;
3517
- };
3518
- type GetFalsePositiveQueryVariables = Exact<{
3519
- fpId: Scalars['uuid']['input'];
3520
- }>;
3521
- type GetFalsePositiveQuery = {
3522
- __typename?: 'query_root';
3523
- getFalsePositive: {
3524
- __typename?: 'FalsePositiveData';
3525
- fixDescription: string;
3526
- extraContext: Array<{
3527
- __typename?: 'UnstructuredFixExtraContext';
3528
- key: string;
3529
- value: any;
3530
- }>;
3531
- } | {
3532
- __typename?: 'GetFixNoFixError';
3533
- };
3534
- };
3535
- type UpdateScmTokenMutationVariables = Exact<{
3536
- scmType: Scalars['String']['input'];
3537
- url: Scalars['String']['input'];
3538
- token: Scalars['String']['input'];
3539
- org?: InputMaybe<Scalars['String']['input']>;
3540
- refreshToken?: InputMaybe<Scalars['String']['input']>;
3541
- }>;
3542
- type UpdateScmTokenMutation = {
3543
- __typename?: 'mutation_root';
3544
- updateScmToken?: {
3545
- __typename: 'BadScmCredentials';
3546
- status: Status;
3547
- error?: string | null;
3548
- } | {
3549
- __typename: 'InvalidScmTypeError';
3550
- status: Status;
3551
- error?: string | null;
3552
- } | {
3553
- __typename: 'RepoUnreachableError';
3554
- status: Status;
3555
- } | {
3556
- __typename: 'ScmAccessTokenUpdateSuccess';
3557
- token: string;
3558
- } | null;
3559
- };
3560
- type UploadS3BucketInfoMutationVariables = Exact<{
3561
- fileName: Scalars['String']['input'];
3562
- }>;
3563
- type UploadS3BucketInfoMutation = {
3564
- __typename?: 'mutation_root';
3565
- uploadS3BucketInfo: {
3566
- __typename?: 'UploadResponse';
3567
- status: Status;
3568
- error?: string | null;
3569
- reportUploadInfo?: {
3570
- __typename?: 'UploadResult';
3571
- url: string;
3572
- fixReportId: string;
3573
- uploadFieldsJSON: string;
3574
- uploadKey: string;
3575
- } | null;
3576
- repoUploadInfo?: {
3577
- __typename?: 'UploadResult';
3578
- url: string;
3579
- fixReportId: string;
3580
- uploadFieldsJSON: string;
3581
- uploadKey: string;
3582
- } | null;
3583
- };
3584
- };
3585
- type UploadAiBlameInferencesInitMutationVariables = Exact<{
3586
- sessions: Array<AiBlameInferenceInitInput> | AiBlameInferenceInitInput;
3587
- }>;
3588
- type UploadAiBlameInferencesInitMutation = {
3589
- __typename?: 'mutation_root';
3590
- uploadAIBlameInferencesInit: {
3591
- __typename?: 'UploadAIBlameInferencesResponse';
3592
- status: Status;
3593
- error?: string | null;
3594
- uploadSessions: Array<{
3595
- __typename?: 'AIBlameInferenceUpload';
3596
- aiBlameInferenceId: string;
3597
- prompt: {
3598
- __typename?: 'AIBlameUploadResult';
3599
- url: string;
3600
- artifactId: string;
3601
- fileName: string;
3602
- uploadFieldsJSON: string;
3603
- uploadKey: string;
3604
- };
3605
- inference: {
3606
- __typename?: 'AIBlameUploadResult';
3607
- url: string;
3608
- artifactId: string;
3609
- fileName: string;
3610
- uploadFieldsJSON: string;
3611
- uploadKey: string;
3612
- };
3613
- }>;
3614
- };
3615
- };
3616
- type FinalizeAiBlameInferencesUploadMutationVariables = Exact<{
3617
- sessions: Array<AiBlameInferenceFinalizeInput> | AiBlameInferenceFinalizeInput;
3618
- }>;
3619
- type FinalizeAiBlameInferencesUploadMutation = {
3620
- __typename?: 'mutation_root';
3621
- finalizeAIBlameInferencesUpload: {
3622
- __typename?: 'AIBlameValidationResponse';
3623
- status: Status;
3624
- error?: string | null;
3625
- };
3626
- };
3627
- type DigestVulnerabilityReportMutationVariables = Exact<{
3628
- vulnerabilityReportFileName?: InputMaybe<Scalars['String']['input']>;
3629
- fixReportId: Scalars['String']['input'];
3630
- projectId: Scalars['String']['input'];
3631
- scanSource: Scalars['String']['input'];
3632
- repoUrl?: InputMaybe<Scalars['String']['input']>;
3633
- reference?: InputMaybe<Scalars['String']['input']>;
3634
- sha?: InputMaybe<Scalars['String']['input']>;
3635
- }>;
3636
- type DigestVulnerabilityReportMutation = {
3637
- __typename?: 'mutation_root';
3638
- digestVulnerabilityReport: {
3639
- __typename: 'BadShaError';
3640
- } | {
3641
- __typename: 'MobbProjectAccessError';
3642
- } | {
3643
- __typename: 'RabbitSendError';
3644
- status: Status;
3645
- error?: string | null;
3646
- } | {
3647
- __typename: 'ReferenceNotFoundError';
3648
- status: Status;
3649
- error?: string | null;
3650
- } | {
3651
- __typename: 'RepoValidationError';
3652
- } | {
3653
- __typename: 'ReportValidationError';
3654
- status: Status;
3655
- error?: string | null;
3656
- } | {
3657
- __typename: 'UploadReportS3Error';
3658
- } | {
3659
- __typename: 'VulnerabilityReport';
3660
- vulnerabilityReportId: string;
3661
- fixReportId: string;
3662
- } | {
3663
- __typename: 'VulnerabilityReportDownloadError';
3664
- };
3665
- };
3666
- type SubmitVulnerabilityReportMutationVariables = Exact<{
3667
- fixReportId: Scalars['String']['input'];
3668
- repoUrl: Scalars['String']['input'];
3669
- reference: Scalars['String']['input'];
3670
- projectId: Scalars['String']['input'];
3671
- scanSource: Scalars['String']['input'];
3672
- sha?: InputMaybe<Scalars['String']['input']>;
3673
- experimentalEnabled?: InputMaybe<Scalars['Boolean']['input']>;
3674
- vulnerabilityReportFileName?: InputMaybe<Scalars['String']['input']>;
3675
- pullRequest?: InputMaybe<Scalars['Int']['input']>;
3676
- isFullScan?: InputMaybe<Scalars['Boolean']['input']>;
3677
- scanContext: Scalars['String']['input'];
3678
- fileCount?: InputMaybe<Scalars['Int']['input']>;
3679
- }>;
3680
- type SubmitVulnerabilityReportMutation = {
3681
- __typename?: 'mutation_root';
3682
- submitVulnerabilityReport: {
3683
- __typename: 'BadShaError';
3684
- } | {
3685
- __typename: 'MobbProjectAccessError';
3686
- } | {
3687
- __typename: 'RabbitSendError';
3688
- } | {
3689
- __typename: 'ReferenceNotFoundError';
3690
- } | {
3691
- __typename: 'RepoValidationError';
3692
- } | {
3693
- __typename: 'ReportValidationError';
3694
- } | {
3695
- __typename: 'UploadReportS3Error';
3696
- } | {
3697
- __typename: 'VulnerabilityReport';
3698
- vulnerabilityReportId: string;
3699
- fixReportId: string;
3700
- } | {
3701
- __typename: 'VulnerabilityReportDownloadError';
3702
- };
3703
- };
3704
- type CreateCommunityUserMutationVariables = Exact<{
3705
- [key: string]: never;
3706
- }>;
3707
- type CreateCommunityUserMutation = {
3708
- __typename?: 'mutation_root';
3709
- initOrganizationAndProject?: {
3710
- __typename: 'InitOrganizationAndProjectGoodResponse';
3711
- projectId: string;
3712
- userId: string;
3713
- organizationId: string;
3714
- } | {
3715
- __typename: 'UserAlreadyInProjectError';
3716
- error?: string | null;
3717
- status: Status;
3718
- } | {
3719
- __typename: 'UserHasNoPermissionInProjectError';
3720
- error?: string | null;
3721
- status: Status;
3722
- } | null;
3723
- };
3724
- type CreateCliLoginMutationVariables = Exact<{
3725
- publicKey: Scalars['String']['input'];
3726
- }>;
3727
- type CreateCliLoginMutation = {
3728
- __typename?: 'mutation_root';
3729
- insert_cli_login_one?: {
3730
- __typename?: 'cli_login';
3731
- id: any;
3732
- } | null;
3733
- };
3734
- type PerformCliLoginMutationVariables = Exact<{
3735
- loginId: Scalars['String']['input'];
3736
- }>;
3737
- type PerformCliLoginMutation = {
3738
- __typename?: 'mutation_root';
3739
- performCliLogin?: {
3740
- __typename?: 'StatusQueryResponse';
3741
- status: Status;
3742
- } | null;
3743
- };
3744
- type CreateProjectMutationVariables = Exact<{
3745
- organizationId: Scalars['String']['input'];
3746
- projectName: Scalars['String']['input'];
3747
- }>;
3748
- type CreateProjectMutation = {
3749
- __typename?: 'mutation_root';
3750
- createProject: {
3751
- __typename?: 'CreateProjectResponse';
3752
- projectId: string;
3753
- };
3754
- };
3755
- type ValidateRepoUrlQueryVariables = Exact<{
3756
- repoUrl: Scalars['String']['input'];
3757
- }>;
3758
- type ValidateRepoUrlQuery = {
3759
- __typename?: 'query_root';
3760
- validateRepoUrl?: {
3761
- __typename: 'BadScmCredentials';
3762
- status: Status;
3763
- error?: string | null;
3764
- scmType?: string | null;
3765
- } | {
3766
- __typename: 'InvalidRepoUrlError';
3767
- } | {
3768
- __typename: 'RepoUnreachableError';
3769
- status: Status;
3770
- error?: string | null;
3771
- scmType?: string | null;
3772
- } | {
3773
- __typename: 'RepoValidationSuccess';
3774
- status: Status;
3775
- defaultBranch: string;
3776
- defaultBranchLastModified: string;
3777
- defaultBranchSha: string;
3778
- scmType?: string | null;
3779
- } | null;
3780
- };
3781
- type GitReferenceQueryVariables = Exact<{
3782
- repoUrl: Scalars['String']['input'];
3783
- reference: Scalars['String']['input'];
3784
- }>;
3785
- type GitReferenceQuery = {
3786
- __typename?: 'query_root';
3787
- gitReference?: {
3788
- __typename: 'GitReferenceData';
3789
- status: Status;
3790
- sha: string;
3791
- date: string;
3792
- } | {
3793
- __typename: 'ReferenceNotFoundError';
3794
- status: Status;
3795
- error?: string | null;
3796
- } | {
3797
- __typename: 'RepoUnreachableError';
3798
- } | null;
3799
- };
3800
- type AutoPrAnalysisMutationVariables = Exact<{
3801
- analysisId: Scalars['String']['input'];
3802
- commitDirectly?: InputMaybe<Scalars['Boolean']['input']>;
3803
- prId?: InputMaybe<Scalars['Int']['input']>;
3804
- prStrategy?: InputMaybe<PrStrategy>;
3805
- }>;
3806
- type AutoPrAnalysisMutation = {
3807
- __typename?: 'mutation_root';
3808
- autoPrAnalysis?: {
3809
- __typename: 'AutoPrError';
3810
- status: Status;
3811
- error: string;
3812
- } | {
3813
- __typename: 'AutoPrSuccess';
3814
- status: Status;
3815
- appliedAutoPrIssueTypes: Array<string>;
3816
- } | null;
3817
- };
3818
- type GetFixReportsByRepoUrlQueryVariables = Exact<{
3819
- repoUrl: Scalars['String']['input'];
3820
- }>;
3821
- type GetFixReportsByRepoUrlQuery = {
3822
- __typename?: 'query_root';
3823
- fixReport: Array<{
3824
- __typename?: 'fixReport';
3825
- id: any;
3826
- state: Fix_Report_State_Enum;
3827
- createdOn: any;
3828
- repo?: {
3829
- __typename?: 'repo';
3830
- originalUrl: string;
3831
- } | null;
3832
- vulnerabilityReport: {
3833
- __typename?: 'vulnerability_report';
3834
- scanDate?: any | null;
3835
- vendor?: Vulnerability_Report_Vendor_Enum | null;
3836
- };
3837
- }>;
3838
- };
3839
- type GetReportFixesQueryVariables = Exact<{
3840
- reportId: Scalars['uuid']['input'];
3841
- filters?: InputMaybe<Fix_Bool_Exp>;
3842
- limit: Scalars['Int']['input'];
3843
- offset: Scalars['Int']['input'];
3844
- currentUserEmail: Scalars['String']['input'];
3845
- }>;
3846
- type GetReportFixesQuery = {
3847
- __typename?: 'query_root';
3848
- fixReport: Array<{
3849
- __typename?: 'fixReport';
3850
- id: any;
3851
- createdOn: any;
3852
- issueTypes?: any | null;
3853
- repo?: {
3854
- __typename?: 'repo';
3855
- originalUrl: string;
3856
- } | null;
3857
- CRITICAL: {
3858
- __typename?: 'fix_aggregate';
3859
- aggregate?: {
3860
- __typename?: 'fix_aggregate_fields';
3861
- count: number;
3862
- } | null;
3863
- };
3864
- HIGH: {
3865
- __typename?: 'fix_aggregate';
3866
- aggregate?: {
3867
- __typename?: 'fix_aggregate_fields';
3868
- count: number;
3869
- } | null;
3870
- };
3871
- MEDIUM: {
3872
- __typename?: 'fix_aggregate';
3873
- aggregate?: {
3874
- __typename?: 'fix_aggregate_fields';
3875
- count: number;
3876
- } | null;
3877
- };
3878
- LOW: {
3879
- __typename?: 'fix_aggregate';
3880
- aggregate?: {
3881
- __typename?: 'fix_aggregate_fields';
3882
- count: number;
3883
- } | null;
3884
- };
3885
- fixes: Array<{
3886
- __typename?: 'fix';
3887
- id: any;
3888
- confidence: number;
3889
- safeIssueType?: string | null;
3890
- severityText?: string | null;
3891
- gitBlameLogin?: string | null;
3892
- severityValue?: number | null;
3893
- vulnerabilityReportIssues: Array<{
3894
- __typename?: 'vulnerability_report_issue';
3895
- category?: Vulnerability_Report_Issue_Category_Enum | null;
3896
- parsedIssueType?: IssueType_Enum | null;
3897
- parsedSeverity?: Vulnerability_Severity_Enum | null;
3898
- vulnerabilityReportIssueTags: Array<{
3899
- __typename?: 'vulnerability_report_issue_to_vulnerability_report_issue_tag';
3900
- vulnerability_report_issue_tag_value: Vulnerability_Report_Issue_Tag_Enum;
3901
- }>;
3902
- }>;
3903
- sharedState?: {
3904
- __typename?: 'fix_shared_state';
3905
- id: any;
3906
- downloadedBy: Array<{
3907
- __typename?: 'fix_download_to_user';
3908
- downloadSource?: Fix_Download_Source_Enum | null;
3909
- }>;
3910
- } | null;
3911
- patchAndQuestions: {
3912
- __typename: 'FixData';
3913
- patch: string;
3914
- patchOriginalEncodingBase64: string;
3915
- extraContext: {
3916
- __typename?: 'FixExtraContextResponse';
3917
- fixDescription: string;
3918
- extraContext: Array<{
3919
- __typename?: 'UnstructuredFixExtraContext';
3920
- key: string;
3921
- value: any;
3922
- }>;
3923
- };
3924
- } | {
3925
- __typename: 'GetFixNoFixError';
3926
- };
3927
- }>;
3928
- userFixes: Array<{
3929
- __typename?: 'fix';
3930
- id: any;
3931
- confidence: number;
3932
- safeIssueType?: string | null;
3933
- severityText?: string | null;
3934
- gitBlameLogin?: string | null;
3935
- severityValue?: number | null;
3936
- vulnerabilityReportIssues: Array<{
3937
- __typename?: 'vulnerability_report_issue';
3938
- category?: Vulnerability_Report_Issue_Category_Enum | null;
3939
- parsedIssueType?: IssueType_Enum | null;
3940
- parsedSeverity?: Vulnerability_Severity_Enum | null;
3941
- vulnerabilityReportIssueTags: Array<{
3942
- __typename?: 'vulnerability_report_issue_to_vulnerability_report_issue_tag';
3943
- vulnerability_report_issue_tag_value: Vulnerability_Report_Issue_Tag_Enum;
3944
- }>;
3945
- }>;
3946
- sharedState?: {
3947
- __typename?: 'fix_shared_state';
3948
- id: any;
3949
- downloadedBy: Array<{
3950
- __typename?: 'fix_download_to_user';
3951
- downloadSource?: Fix_Download_Source_Enum | null;
3952
- }>;
3953
- } | null;
3954
- patchAndQuestions: {
3955
- __typename: 'FixData';
3956
- patch: string;
3957
- patchOriginalEncodingBase64: string;
3958
- extraContext: {
3959
- __typename?: 'FixExtraContextResponse';
3960
- fixDescription: string;
3961
- extraContext: Array<{
3962
- __typename?: 'UnstructuredFixExtraContext';
3963
- key: string;
3964
- value: any;
3965
- }>;
3966
- };
3967
- } | {
3968
- __typename: 'GetFixNoFixError';
3969
- };
3970
- }>;
3971
- filteredFixesCount: {
3972
- __typename?: 'fix_aggregate';
3973
- aggregate?: {
3974
- __typename?: 'fix_aggregate_fields';
3975
- count: number;
3976
- } | null;
3977
- };
3978
- totalFixesCount: {
3979
- __typename?: 'fix_aggregate';
3980
- aggregate?: {
3981
- __typename?: 'fix_aggregate_fields';
3982
- count: number;
3983
- } | null;
3984
- };
3985
- vulnerabilityReport: {
3986
- __typename?: 'vulnerability_report';
3987
- scanDate?: any | null;
3988
- vendor?: Vulnerability_Report_Vendor_Enum | null;
3989
- projectId: any;
3990
- project: {
3991
- __typename?: 'project';
3992
- organizationId: any;
3993
- };
3994
- totalVulnerabilityReportIssuesCount: {
3995
- __typename?: 'vulnerability_report_issue_aggregate';
3996
- aggregate?: {
3997
- __typename?: 'vulnerability_report_issue_aggregate_fields';
3998
- count: number;
3999
- } | null;
4000
- };
4001
- notFixableVulnerabilityReportIssuesCount: {
4002
- __typename?: 'vulnerability_report_issue_aggregate';
4003
- aggregate?: {
4004
- __typename?: 'vulnerability_report_issue_aggregate_fields';
4005
- count: number;
4006
- } | null;
4007
- };
4008
- };
4009
- }>;
4010
- expiredReport: Array<{
4011
- __typename?: 'fixReport';
4012
- id: any;
4013
- expirationOn?: any | null;
4014
- }>;
4015
- };
4016
- type GetLatestReportByRepoUrlQueryVariables = Exact<{
4017
- repoUrl: Scalars['String']['input'];
4018
- filters?: InputMaybe<Fix_Bool_Exp>;
4019
- limit: Scalars['Int']['input'];
4020
- offset: Scalars['Int']['input'];
4021
- currentUserEmail: Scalars['String']['input'];
4022
- }>;
4023
- type GetLatestReportByRepoUrlQuery = {
4024
- __typename?: 'query_root';
4025
- fixReport: Array<{
4026
- __typename?: 'fixReport';
4027
- id: any;
4028
- createdOn: any;
4029
- issueTypes?: any | null;
4030
- repo?: {
4031
- __typename?: 'repo';
4032
- originalUrl: string;
4033
- } | null;
4034
- CRITICAL: {
4035
- __typename?: 'fix_aggregate';
4036
- aggregate?: {
4037
- __typename?: 'fix_aggregate_fields';
4038
- count: number;
4039
- } | null;
4040
- };
4041
- HIGH: {
4042
- __typename?: 'fix_aggregate';
4043
- aggregate?: {
4044
- __typename?: 'fix_aggregate_fields';
4045
- count: number;
4046
- } | null;
4047
- };
4048
- MEDIUM: {
4049
- __typename?: 'fix_aggregate';
4050
- aggregate?: {
4051
- __typename?: 'fix_aggregate_fields';
4052
- count: number;
4053
- } | null;
4054
- };
4055
- LOW: {
4056
- __typename?: 'fix_aggregate';
4057
- aggregate?: {
4058
- __typename?: 'fix_aggregate_fields';
4059
- count: number;
4060
- } | null;
4061
- };
4062
- fixes: Array<{
4063
- __typename?: 'fix';
4064
- id: any;
4065
- confidence: number;
4066
- safeIssueType?: string | null;
4067
- severityText?: string | null;
4068
- gitBlameLogin?: string | null;
4069
- severityValue?: number | null;
4070
- vulnerabilityReportIssues: Array<{
4071
- __typename?: 'vulnerability_report_issue';
4072
- category?: Vulnerability_Report_Issue_Category_Enum | null;
4073
- parsedIssueType?: IssueType_Enum | null;
4074
- parsedSeverity?: Vulnerability_Severity_Enum | null;
4075
- vulnerabilityReportIssueTags: Array<{
4076
- __typename?: 'vulnerability_report_issue_to_vulnerability_report_issue_tag';
4077
- vulnerability_report_issue_tag_value: Vulnerability_Report_Issue_Tag_Enum;
4078
- }>;
4079
- }>;
4080
- sharedState?: {
4081
- __typename?: 'fix_shared_state';
4082
- id: any;
4083
- downloadedBy: Array<{
4084
- __typename?: 'fix_download_to_user';
4085
- downloadSource?: Fix_Download_Source_Enum | null;
4086
- }>;
4087
- } | null;
4088
- patchAndQuestions: {
4089
- __typename: 'FixData';
4090
- patch: string;
4091
- patchOriginalEncodingBase64: string;
4092
- extraContext: {
4093
- __typename?: 'FixExtraContextResponse';
4094
- fixDescription: string;
4095
- extraContext: Array<{
4096
- __typename?: 'UnstructuredFixExtraContext';
4097
- key: string;
4098
- value: any;
4099
- }>;
4100
- };
4101
- } | {
4102
- __typename: 'GetFixNoFixError';
4103
- };
4104
- }>;
4105
- userFixes: Array<{
4106
- __typename?: 'fix';
4107
- id: any;
4108
- confidence: number;
4109
- safeIssueType?: string | null;
4110
- severityText?: string | null;
4111
- gitBlameLogin?: string | null;
4112
- severityValue?: number | null;
4113
- vulnerabilityReportIssues: Array<{
4114
- __typename?: 'vulnerability_report_issue';
4115
- category?: Vulnerability_Report_Issue_Category_Enum | null;
4116
- parsedIssueType?: IssueType_Enum | null;
4117
- parsedSeverity?: Vulnerability_Severity_Enum | null;
4118
- vulnerabilityReportIssueTags: Array<{
4119
- __typename?: 'vulnerability_report_issue_to_vulnerability_report_issue_tag';
4120
- vulnerability_report_issue_tag_value: Vulnerability_Report_Issue_Tag_Enum;
4121
- }>;
4122
- }>;
4123
- sharedState?: {
4124
- __typename?: 'fix_shared_state';
4125
- id: any;
4126
- downloadedBy: Array<{
4127
- __typename?: 'fix_download_to_user';
4128
- downloadSource?: Fix_Download_Source_Enum | null;
4129
- }>;
4130
- } | null;
4131
- patchAndQuestions: {
4132
- __typename: 'FixData';
4133
- patch: string;
4134
- patchOriginalEncodingBase64: string;
4135
- extraContext: {
4136
- __typename?: 'FixExtraContextResponse';
4137
- fixDescription: string;
4138
- extraContext: Array<{
4139
- __typename?: 'UnstructuredFixExtraContext';
4140
- key: string;
4141
- value: any;
4142
- }>;
4143
- };
4144
- } | {
4145
- __typename: 'GetFixNoFixError';
4146
- };
4147
- }>;
4148
- filteredFixesCount: {
4149
- __typename?: 'fix_aggregate';
4150
- aggregate?: {
4151
- __typename?: 'fix_aggregate_fields';
4152
- count: number;
4153
- } | null;
4154
- };
4155
- totalFixesCount: {
4156
- __typename?: 'fix_aggregate';
4157
- aggregate?: {
4158
- __typename?: 'fix_aggregate_fields';
4159
- count: number;
4160
- } | null;
4161
- };
4162
- vulnerabilityReport: {
4163
- __typename?: 'vulnerability_report';
4164
- scanDate?: any | null;
4165
- vendor?: Vulnerability_Report_Vendor_Enum | null;
4166
- projectId: any;
4167
- project: {
4168
- __typename?: 'project';
4169
- organizationId: any;
4170
- };
4171
- totalVulnerabilityReportIssuesCount: {
4172
- __typename?: 'vulnerability_report_issue_aggregate';
4173
- aggregate?: {
4174
- __typename?: 'vulnerability_report_issue_aggregate_fields';
4175
- count: number;
4176
- } | null;
4177
- };
4178
- notFixableVulnerabilityReportIssuesCount: {
4179
- __typename?: 'vulnerability_report_issue_aggregate';
4180
- aggregate?: {
4181
- __typename?: 'vulnerability_report_issue_aggregate_fields';
4182
- count: number;
4183
- } | null;
4184
- };
4185
- };
4186
- }>;
4187
- expiredReport: Array<{
4188
- __typename?: 'fixReport';
4189
- id: any;
4190
- expirationOn?: any | null;
4191
- }>;
4192
- };
4193
- type UpdateDownloadedFixDataMutationVariables = Exact<{
4194
- fixIds: Array<Scalars['String']['input']> | Scalars['String']['input'];
4195
- source: FixDownloadSource;
4196
- }>;
4197
- type UpdateDownloadedFixDataMutation = {
4198
- __typename?: 'mutation_root';
4199
- updateDownloadedFixData?: {
4200
- __typename?: 'StatusQueryResponse';
4201
- status: Status;
4202
- } | null;
4203
- };
4204
- type GetUserMvsAutoFixQueryVariables = Exact<{
4205
- userEmail: Scalars['String']['input'];
4206
- }>;
4207
- type GetUserMvsAutoFixQuery = {
4208
- __typename?: 'query_root';
4209
- user_email_notification_settings: Array<{
4210
- __typename?: 'user_email_notification_settings';
4211
- mvs_auto_fix: boolean;
4212
- }>;
4213
- };
4214
- type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
4215
- declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
4216
- Me(variables?: MeQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MeQuery>;
4217
- getLastOrgAndNamedProject(variables: GetLastOrgAndNamedProjectQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetLastOrgAndNamedProjectQuery>;
4218
- getLastOrg(variables: GetLastOrgQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetLastOrgQuery>;
4219
- GetEncryptedApiToken(variables: GetEncryptedApiTokenQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetEncryptedApiTokenQuery>;
4220
- FixReportState(variables: FixReportStateQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FixReportStateQuery>;
4221
- GetVulnerabilityReportPaths(variables: GetVulnerabilityReportPathsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetVulnerabilityReportPathsQuery>;
4222
- getAnalysisSubscription(variables: GetAnalysisSubscriptionSubscriptionVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAnalysisSubscriptionSubscription>;
4223
- getAnalysis(variables: GetAnalysisQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAnalysisQuery>;
4224
- getFixes(variables: GetFixesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetFixesQuery>;
4225
- getVulByNodesMetadata(variables: GetVulByNodesMetadataQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetVulByNodesMetadataQuery>;
4226
- getFalsePositive(variables: GetFalsePositiveQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetFalsePositiveQuery>;
4227
- updateScmToken(variables: UpdateScmTokenMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateScmTokenMutation>;
4228
- uploadS3BucketInfo(variables: UploadS3BucketInfoMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UploadS3BucketInfoMutation>;
4229
- UploadAIBlameInferencesInit(variables: UploadAiBlameInferencesInitMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UploadAiBlameInferencesInitMutation>;
4230
- FinalizeAIBlameInferencesUpload(variables: FinalizeAiBlameInferencesUploadMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FinalizeAiBlameInferencesUploadMutation>;
4231
- DigestVulnerabilityReport(variables: DigestVulnerabilityReportMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DigestVulnerabilityReportMutation>;
4232
- SubmitVulnerabilityReport(variables: SubmitVulnerabilityReportMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SubmitVulnerabilityReportMutation>;
4233
- CreateCommunityUser(variables?: CreateCommunityUserMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateCommunityUserMutation>;
4234
- CreateCliLogin(variables: CreateCliLoginMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateCliLoginMutation>;
4235
- performCliLogin(variables: PerformCliLoginMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<PerformCliLoginMutation>;
4236
- CreateProject(variables: CreateProjectMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateProjectMutation>;
4237
- validateRepoUrl(variables: ValidateRepoUrlQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ValidateRepoUrlQuery>;
4238
- gitReference(variables: GitReferenceQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GitReferenceQuery>;
4239
- autoPrAnalysis(variables: AutoPrAnalysisMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AutoPrAnalysisMutation>;
4240
- GetFixReportsByRepoUrl(variables: GetFixReportsByRepoUrlQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetFixReportsByRepoUrlQuery>;
4241
- GetReportFixes(variables: GetReportFixesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetReportFixesQuery>;
4242
- GetLatestReportByRepoUrl(variables: GetLatestReportByRepoUrlQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetLatestReportByRepoUrlQuery>;
4243
- updateDownloadedFixData(variables: UpdateDownloadedFixDataMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateDownloadedFixDataMutation>;
4244
- GetUserMvsAutoFix(variables: GetUserMvsAutoFixQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUserMvsAutoFixQuery>;
4245
- };
4246
- type Sdk = ReturnType<typeof getSdk>;
4247
-
4248
- type GetVulByNodeHunk = {
4249
- path: string;
4250
- ranges: {
4251
- startLine: number;
4252
- endLine: number;
4253
- }[];
4254
- };
4255
- type GetVulByNodesMetadataParams = {
4256
- vulnerabilityReportId: string;
4257
- hunks: GetVulByNodeHunk[];
4258
- };
4259
-
4260
- type GQLClientArgs = {
4261
- apiKey: string;
4262
- type: 'apiKey';
4263
- } | {
4264
- token: string;
4265
- type: 'token';
4266
- };
4267
- declare class GQLClient {
4268
- _client: GraphQLClient;
4269
- _clientSdk: Sdk;
4270
- _auth: GQLClientArgs;
4271
- constructor(args: GQLClientArgs);
4272
- getUserInfo(): Promise<{
4273
- __typename?: "MeResponse";
4274
- id: string;
4275
- email: string;
4276
- userOrganizationsAndUserOrganizationRoles: Array<{
4277
- __typename?: "OrganizationToRoleType";
4278
- organization?: {
4279
- __typename?: "OrganizationType";
4280
- brokerHosts: Array<{
4281
- __typename?: "BrokerHostsType";
4282
- realDomain: string;
4283
- virtualDomain: string;
4284
- } | null>;
4285
- } | null;
4286
- } | null>;
4287
- scmConfigs: Array<{
4288
- __typename?: "ScmConfig";
4289
- id: string;
4290
- orgId?: string | null;
4291
- refreshToken?: string | null;
4292
- scmType: string;
4293
- scmUrl: string;
4294
- scmUsername?: string | null;
4295
- token?: string | null;
4296
- tokenLastUpdate?: string | null;
4297
- userId?: string | null;
4298
- scmOrg?: string | null;
4299
- isTokenAvailable: boolean;
4300
- } | null>;
4301
- } | null | undefined>;
4302
- getLastOrg(email: string): Promise<{
4303
- organizationId: any;
4304
- userName: string;
4305
- }>;
4306
- createCliLogin(variables: CreateCliLoginMutationVariables): Promise<string>;
4307
- verifyApiConnection(): Promise<boolean>;
4308
- validateUserToken(): Promise<string | boolean>;
4309
- getLastOrgAndNamedProject(params: {
4310
- projectName: string;
4311
- userDefinedOrganizationId?: string;
4312
- }): Promise<{
4313
- organizationId: string;
4314
- projectId: string;
4315
- }>;
4316
- getEncryptedApiToken(variables: GetEncryptedApiTokenQueryVariables): Promise<string | null>;
4317
- createCommunityUser(): Promise<void>;
4318
- updateScmToken(args: {
4319
- scmType: string;
4320
- url: string;
4321
- token: string;
4322
- org: string | undefined;
4323
- refreshToken: string | undefined;
4324
- }): Promise<UpdateScmTokenMutation>;
4325
- uploadS3BucketInfo(): Promise<UploadS3BucketInfoMutation>;
4326
- getVulByNodesMetadata({ hunks, vulnerabilityReportId, }: GetVulByNodesMetadataParams): Promise<{
4327
- vulnerabilityReportIssueCodeNodes: {
4328
- path: string;
4329
- startLine: number;
4330
- vulnerabilityReportIssueId: string;
4331
- vulnerabilityReportIssue: {
4332
- fixId: string;
4333
- category: Vulnerability_Report_Issue_Category_Enum;
4334
- safeIssueType: string;
4335
- vulnerabilityReportIssueTags: {
4336
- tag: Vulnerability_Report_Issue_Tag_Enum;
4337
- }[];
4338
- };
4339
- }[];
4340
- nonFixablePrVuls: number;
4341
- fixablePrVuls: number;
4342
- totalScanVulnerabilities: number;
4343
- vulnerabilitiesOutsidePr: number;
4344
- totalPrVulnerabilities: number;
4345
- irrelevantVulnerabilityReportIssues: {
4346
- id: string;
4347
- fixId: string | null;
4348
- category: Vulnerability_Report_Issue_Category_Enum;
4349
- fpId: string | null;
4350
- safeIssueType: string;
4351
- vulnerabilityReportIssueTags: {
4352
- tag: Vulnerability_Report_Issue_Tag_Enum;
4353
- }[];
4354
- codeNodes: {
4355
- path: string;
4356
- startLine: number;
4357
- }[];
4358
- }[];
4359
- }>;
4360
- digestVulnerabilityReport({ fixReportId, projectId, scanSource, repoUrl, reference, sha, shouldScan, }: {
4361
- fixReportId: string;
4362
- projectId: string;
4363
- scanSource: string;
4364
- repoUrl?: string;
4365
- reference?: string;
4366
- sha?: string;
4367
- shouldScan?: boolean;
4368
- }): Promise<{
4369
- __typename: "VulnerabilityReport";
4370
- vulnerabilityReportId: string;
4371
- fixReportId: string;
4372
- }>;
4373
- submitVulnerabilityReport(params: SubmitVulnerabilityReportMutationVariables): Promise<SubmitVulnerabilityReportMutation>;
4374
- getFixReportState(fixReportId: string): Promise<Fix_Report_State_Enum>;
4375
- waitFixReportInit(fixReportId: string, includeDigested?: boolean): Promise<Fix_Report_State_Enum>;
4376
- getVulnerabilityReportPaths(vulnerabilityReportId: string): Promise<string[]>;
4377
- subscribeToAnalysis(params: {
4378
- subscribeToAnalysisParams: GetAnalysisSubscriptionSubscriptionVariables;
4379
- callback: (analysisId: string) => void;
4380
- callbackStates: Fix_Report_State_Enum[];
4381
- timeoutInMs?: number;
4382
- }): Promise<GetAnalysisSubscriptionSubscription>;
4383
- getFixReportsByRepoUrl({ repoUrl }: {
4384
- repoUrl: string;
4385
- }): Promise<GetFixReportsByRepoUrlQuery>;
4386
- getAnalysis(analysisId: string): Promise<{
4387
- __typename?: "fixReport";
4388
- id: any;
4389
- state: Fix_Report_State_Enum;
4390
- failReason?: string | null;
4391
- vulnerabilityReportId: any;
4392
- repo?: {
4393
- __typename?: "repo";
4394
- commitSha: string;
4395
- pullRequest?: number | null;
4396
- } | null;
4397
- vulnerabilityReport: {
4398
- __typename?: "vulnerability_report";
4399
- projectId: any;
4400
- project: {
4401
- __typename?: "project";
4402
- organizationId: any;
4403
- organization: {
4404
- __typename?: "organization";
4405
- ghFixerNoFixComments: boolean;
4406
- };
4407
- };
4408
- file?: {
4409
- __typename?: "file";
4410
- signedFile?: {
4411
- __typename?: "FilePayload";
4412
- url: string;
4413
- } | null;
4414
- } | null;
4415
- };
4416
- }>;
4417
- autoPrAnalysis({ analysisId, commitDirectly, prId, prStrategy, }: {
4418
- analysisId: string;
4419
- commitDirectly?: boolean;
4420
- prId?: number;
4421
- prStrategy?: PrStrategy;
4422
- }): Promise<AutoPrAnalysisMutation>;
4423
- getFixes(fixIds: string[]): Promise<GetFixesQuery>;
4424
- validateRepoUrl(args: ValidateRepoUrlQueryVariables): Promise<ValidateRepoUrlQuery>;
4425
- getReferenceData(args: GitReferenceQueryVariables): Promise<GitReferenceQuery>;
4426
- getFalsePositive(args: GetFalsePositiveQueryVariables): Promise<GetFalsePositiveQuery>;
4427
- uploadAIBlameInferencesInitRaw(variables: UploadAiBlameInferencesInitMutationVariables): Promise<UploadAiBlameInferencesInitMutation>;
4428
- finalizeAIBlameInferencesUploadRaw(variables: FinalizeAiBlameInferencesUploadMutationVariables): Promise<FinalizeAiBlameInferencesUploadMutation>;
4429
- }
4430
9
 
4431
10
  declare const PromptItemZ: z.ZodObject<{
4432
11
  type: z.ZodEnum<["USER_PROMPT", "AI_RESPONSE", "TOOL_EXECUTION", "AI_THINKING"]>;
@@ -4614,14 +193,6 @@ declare function uploadAiBlameHandlerFromExtension(args: {
4614
193
  responseTime: string;
4615
194
  blameType?: AiBlameInferenceType;
4616
195
  }): Promise<void>;
4617
- /**
4618
- * Initializes and authenticates a GQL client for AI Blame upload operations.
4619
- * This function can be called separately to reuse an authenticated client
4620
- * across multiple upload operations.
4621
- *
4622
- * @returns Promise<GQLClient> An authenticated GQL client ready for use
4623
- */
4624
- declare function getAuthenticatedGQLClientForIdeExtension(): Promise<GQLClient>;
4625
196
  declare function uploadAiBlameHandler(args: UploadAiBlameOptions, exitOnError?: boolean): Promise<void>;
4626
197
 
4627
- export { type PromptItem, type PromptItemArray, type UploadAiBlameOptions, getAuthenticatedGQLClientForIdeExtension, uploadAiBlameBuilder, uploadAiBlameHandler, uploadAiBlameHandlerFromExtension };
198
+ export { type PromptItem, type PromptItemArray, type UploadAiBlameOptions, uploadAiBlameBuilder, uploadAiBlameHandler, uploadAiBlameHandlerFromExtension };