-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.generated.ts
2694 lines (2535 loc) · 117 KB
/
types.generated.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: string;
String: string;
Boolean: boolean;
Int: number;
Float: number;
DateTime: any;
JSON: any;
JSONObject: any;
TimelessDate: any;
UUID: any;
};
export type AdminJobConfiguration = {
currentJob?: InputMaybe<Scalars['String']>;
delay?: InputMaybe<Scalars['Float']>;
enabled: Scalars['Boolean'];
param?: InputMaybe<Scalars['String']>;
};
export type AirbyteConfigurationInput = {
/** Linear export API key. */
apiKey: Scalars['String'];
};
export type ApiKeyCreateInput = {
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The API key value. */
key: Scalars['String'];
/** The label for the API key. */
label: Scalars['String'];
};
/** Attachment collection filtering options. */
export type AttachmentCollectionFilter = {
/** Compound filters, all of which need to be matched by the attachment. */
and?: InputMaybe<Array<AttachmentCollectionFilter>>;
/** Comparator for the created at date. */
createdAt?: InputMaybe<DateComparator>;
/** Filters that the attachments creator must satisfy. */
creator?: InputMaybe<NullableUserFilter>;
/** Filters that needs to be matched by all attachments. */
every?: InputMaybe<AttachmentFilter>;
/** Comparator for the identifier. */
id?: InputMaybe<IdComparator>;
/** Comparator for the collection length. */
length?: InputMaybe<NumberComparator>;
/** Compound filters, one of which need to be matched by the attachment. */
or?: InputMaybe<Array<AttachmentCollectionFilter>>;
/** Filters that needs to be matched by some attachments. */
some?: InputMaybe<AttachmentFilter>;
/** Comparator for the source type. */
sourceType?: InputMaybe<SourceTypeComparator>;
/** Comparator for the subtitle. */
subtitle?: InputMaybe<NullableStringComparator>;
/** Comparator for the title. */
title?: InputMaybe<StringComparator>;
/** Comparator for the updated at date. */
updatedAt?: InputMaybe<DateComparator>;
/** Comparator for the url. */
url?: InputMaybe<StringComparator>;
};
export type AttachmentCreateInput = {
/** Create a linked comment with markdown body. */
commentBody?: InputMaybe<Scalars['String']>;
/** Create a linked comment with Prosemirror body. Please use `commentBody` instead */
commentBodyData?: InputMaybe<Scalars['JSONObject']>;
/** Create attachment as a user with the provided name. This option is only available to OAuth applications creating attachments in `actor=application` mode. */
createAsUser?: InputMaybe<Scalars['String']>;
/** Indicates if attachments for the same source application should be grouped in the Linear UI. */
groupBySource?: InputMaybe<Scalars['Boolean']>;
/** An icon url to display with the attachment. Should be of jpg or png format. Maximum of 1MB in size. Dimensions should be 20x20px for optimal display quality. */
iconUrl?: InputMaybe<Scalars['String']>;
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The issue to associate the attachment with. */
issueId: Scalars['String'];
/** Attachment metadata object with string and number values. */
metadata?: InputMaybe<Scalars['JSONObject']>;
/** The attachment subtitle. */
subtitle?: InputMaybe<Scalars['String']>;
/** The attachment title. */
title: Scalars['String'];
/** Attachment location which is also used as an unique identifier for the attachment. If another attachment is created with the same `url` value, existing record is updated instead. */
url: Scalars['String'];
};
/** Attachment filtering options. */
export type AttachmentFilter = {
/** Compound filters, all of which need to be matched by the attachment. */
and?: InputMaybe<Array<AttachmentFilter>>;
/** Comparator for the created at date. */
createdAt?: InputMaybe<DateComparator>;
/** Filters that the attachments creator must satisfy. */
creator?: InputMaybe<NullableUserFilter>;
/** Comparator for the identifier. */
id?: InputMaybe<IdComparator>;
/** Compound filters, one of which need to be matched by the attachment. */
or?: InputMaybe<Array<AttachmentFilter>>;
/** Comparator for the source type. */
sourceType?: InputMaybe<SourceTypeComparator>;
/** Comparator for the subtitle. */
subtitle?: InputMaybe<NullableStringComparator>;
/** Comparator for the title. */
title?: InputMaybe<StringComparator>;
/** Comparator for the updated at date. */
updatedAt?: InputMaybe<DateComparator>;
/** Comparator for the url. */
url?: InputMaybe<StringComparator>;
};
export type AttachmentUpdateInput = {
/** An icon url to display with the attachment. Should be of jpg or png format. Maximum of 1MB in size. Dimensions should be 20x20px for optimal display quality. */
iconUrl?: InputMaybe<Scalars['String']>;
/** Attachment metadata object with string and number values. */
metadata?: InputMaybe<Scalars['JSONObject']>;
/** The attachment subtitle. */
subtitle?: InputMaybe<Scalars['String']>;
/** The attachment title. */
title: Scalars['String'];
};
/** Audit entry filtering options. */
export type AuditEntryFilter = {
/** Filters that the audit entry actor must satisfy. */
actor?: InputMaybe<NullableUserFilter>;
/** Comparator for the country code. */
countryCode?: InputMaybe<StringComparator>;
/** Comparator for the created at date. */
createdAt?: InputMaybe<DateComparator>;
/** Comparator for the identifier. */
id?: InputMaybe<IdComparator>;
/** Comparator for the IP address. */
ip?: InputMaybe<StringComparator>;
/** Comparator for the type. */
type?: InputMaybe<StringComparator>;
/** Comparator for the updated at date. */
updatedAt?: InputMaybe<DateComparator>;
};
/** Comparator for booleans. */
export type BooleanComparator = {
/** Equals constraint. */
eq?: InputMaybe<Scalars['Boolean']>;
/** Not equals constraint. */
neq?: InputMaybe<Scalars['Boolean']>;
};
/** Comment filtering options. */
export type CommentCollectionFilter = {
/** Compound filters, all of which need to be matched by the comment. */
and?: InputMaybe<Array<CommentCollectionFilter>>;
/** Comparator for the comments body. */
body?: InputMaybe<StringComparator>;
/** Comparator for the created at date. */
createdAt?: InputMaybe<DateComparator>;
/** Filters that needs to be matched by all comments. */
every?: InputMaybe<CommentFilter>;
/** Comparator for the identifier. */
id?: InputMaybe<IdComparator>;
/** Filters that the comments issue must satisfy. */
issue?: InputMaybe<IssueFilter>;
/** Comparator for the collection length. */
length?: InputMaybe<NumberComparator>;
/** Compound filters, one of which need to be matched by the comment. */
or?: InputMaybe<Array<CommentCollectionFilter>>;
/** Filters that needs to be matched by some comments. */
some?: InputMaybe<CommentFilter>;
/** Comparator for the updated at date. */
updatedAt?: InputMaybe<DateComparator>;
/** Filters that the comments creator must satisfy. */
user?: InputMaybe<UserFilter>;
};
export type CommentCreateInput = {
/** The comment content in markdown format. */
body?: InputMaybe<Scalars['String']>;
/** The comment content as a Prosemirror document. */
bodyData?: InputMaybe<Scalars['JSON']>;
/** Create comment as a user with the provided name. This option is only available to OAuth applications creating comments in `actor=application` mode. */
createAsUser?: InputMaybe<Scalars['String']>;
/** The date when the comment was created (e.g. if importing from another system). Must be a date in the past. If none is provided, the backend will generate the time as now. */
createdAt?: InputMaybe<Scalars['DateTime']>;
/** Provide an external user avatar URL. Can only be used in conjunction with the `createAsUser` options. This option is only available to OAuth applications creating comments in `actor=application` mode. */
displayIconUrl?: InputMaybe<Scalars['String']>;
/** Flag to prevent auto subscription to the issue the comment is created on. */
doNotSubscribeToIssue?: InputMaybe<Scalars['Boolean']>;
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The issue to associate the comment with. */
issueId: Scalars['String'];
/** [Internal] The parent under which to nest the comment. */
parentId?: InputMaybe<Scalars['String']>;
};
/** Comment filtering options. */
export type CommentFilter = {
/** Compound filters, all of which need to be matched by the comment. */
and?: InputMaybe<Array<CommentFilter>>;
/** Comparator for the comments body. */
body?: InputMaybe<StringComparator>;
/** Comparator for the created at date. */
createdAt?: InputMaybe<DateComparator>;
/** Comparator for the identifier. */
id?: InputMaybe<IdComparator>;
/** Filters that the comments issue must satisfy. */
issue?: InputMaybe<IssueFilter>;
/** Compound filters, one of which need to be matched by the comment. */
or?: InputMaybe<Array<CommentFilter>>;
/** Comparator for the updated at date. */
updatedAt?: InputMaybe<DateComparator>;
/** Filters that the comments creator must satisfy. */
user?: InputMaybe<UserFilter>;
};
export type CommentUpdateInput = {
/** The comment content. */
body?: InputMaybe<Scalars['String']>;
/** The comment content as a Prosemirror document. */
bodyData?: InputMaybe<Scalars['JSON']>;
};
export type ContactCreateInput = {
/** User's browser information. */
browser?: InputMaybe<Scalars['String']>;
/** User's Linear client information. */
clientVersion?: InputMaybe<Scalars['String']>;
/** User's device information. */
device?: InputMaybe<Scalars['String']>;
/** How disappointed the user would be if they could no longer use Linear. */
disappointmentRating?: InputMaybe<Scalars['Int']>;
/** The message the user sent. */
message: Scalars['String'];
/** User's operating system. */
operatingSystem?: InputMaybe<Scalars['String']>;
/** The type of support contact. */
type: Scalars['String'];
};
/** [INTERNAL] Input for sending a message to the Linear Sales team */
export type ContactSalesCreateInput = {
/** Work email of the person requesting information. */
email: Scalars['String'];
/** The message the user sent. */
message?: InputMaybe<Scalars['String']>;
/** Name of the person requesting information. */
name: Scalars['String'];
};
/** [Internal] Comparator for content. */
export type ContentComparator = {
/** [Internal] Contains constraint. */
contains?: InputMaybe<Scalars['String']>;
/** [Internal] Not-contains constraint. */
notContains?: InputMaybe<Scalars['String']>;
};
export type CreateOrganizationInput = {
/** Whether the organization should allow email domain access. */
domainAccess?: InputMaybe<Scalars['Boolean']>;
/** The name of the organization. */
name: Scalars['String'];
/** The timezone of the organization, passed in by client. */
timezone?: InputMaybe<Scalars['String']>;
/** The URL key of the organization. */
urlKey: Scalars['String'];
/** JSON serialized UTM parameters associated with the creation of the workspace. */
utm?: InputMaybe<Scalars['String']>;
};
export type CustomViewCreateInput = {
/** The color of the icon of the custom view. */
color?: InputMaybe<Scalars['String']>;
/** The description of the custom view. */
description?: InputMaybe<Scalars['String']>;
/** The filter applied to issues in the custom view. */
filterData?: InputMaybe<Scalars['JSONObject']>;
/** The filters applied to issues in the custom view. */
filters?: InputMaybe<Scalars['JSONObject']>;
/** The icon of the custom view. */
icon?: InputMaybe<Scalars['String']>;
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The name of the custom view. */
name: Scalars['String'];
/** Whether the custom view is shared with everyone in the organization. */
shared?: InputMaybe<Scalars['Boolean']>;
/** The id of the team associated with the custom view. */
teamId?: InputMaybe<Scalars['String']>;
};
export type CustomViewUpdateInput = {
/** The color of the icon of the custom view. */
color?: InputMaybe<Scalars['String']>;
/** The description of the custom view. */
description?: InputMaybe<Scalars['String']>;
/** The filter applied to issues in the custom view. */
filterData?: InputMaybe<Scalars['JSONObject']>;
/** The filters applied to issues in the custom view. */
filters?: InputMaybe<Scalars['JSONObject']>;
/** The icon of the custom view. */
icon?: InputMaybe<Scalars['String']>;
/** The name of the custom view. */
name?: InputMaybe<Scalars['String']>;
/** Whether the custom view is shared with everyone in the organization. */
shared?: InputMaybe<Scalars['Boolean']>;
/** The id of the team associated with the custom view. */
teamId?: InputMaybe<Scalars['String']>;
};
export type CycleCreateInput = {
/** The completion time of the cycle. If null, the cycle hasn't been completed. */
completedAt?: InputMaybe<Scalars['DateTime']>;
/** The description of the cycle. */
description?: InputMaybe<Scalars['String']>;
/** The end date of the cycle. */
endsAt: Scalars['DateTime'];
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The custom name of the cycle. */
name?: InputMaybe<Scalars['String']>;
/** The start date of the cycle. */
startsAt: Scalars['DateTime'];
/** The team to associate the cycle with. */
teamId: Scalars['String'];
};
/** Cycle filtering options. */
export type CycleFilter = {
/** Compound filters, all of which need to be matched by the cycle. */
and?: InputMaybe<Array<CycleFilter>>;
/** Comparator for the cycle completed at date. */
completedAt?: InputMaybe<DateComparator>;
/** Comparator for the created at date. */
createdAt?: InputMaybe<DateComparator>;
/** Comparator for the cycle ends at date. */
endsAt?: InputMaybe<DateComparator>;
/** Comparator for the identifier. */
id?: InputMaybe<IdComparator>;
/** Comparator for the filtering active cycle. */
isActive?: InputMaybe<BooleanComparator>;
/** Comparator for the filtering future cycles. */
isFuture?: InputMaybe<BooleanComparator>;
/** Comparator for the filtering next cycle. */
isNext?: InputMaybe<BooleanComparator>;
/** Comparator for the filtering past cycles. */
isPast?: InputMaybe<BooleanComparator>;
/** Comparator for the filtering previous cycle. */
isPrevious?: InputMaybe<BooleanComparator>;
/** Filters that the cycles issues must satisfy. */
issues?: InputMaybe<IssueCollectionFilter>;
/** Comparator for the cycle name. */
name?: InputMaybe<StringComparator>;
/** Comparator for the cycle number. */
number?: InputMaybe<NumberComparator>;
/** Compound filters, one of which need to be matched by the cycle. */
or?: InputMaybe<Array<CycleFilter>>;
/** Comparator for the cycle start date. */
startsAt?: InputMaybe<DateComparator>;
/** Filters that the cycles team must satisfy. */
team?: InputMaybe<TeamFilter>;
/** Comparator for the updated at date. */
updatedAt?: InputMaybe<DateComparator>;
};
export type CycleUpdateInput = {
/** The end date of the cycle. */
completedAt?: InputMaybe<Scalars['DateTime']>;
/** The description of the cycle. */
description?: InputMaybe<Scalars['String']>;
/** The end date of the cycle. */
endsAt?: InputMaybe<Scalars['DateTime']>;
/** The custom name of the cycle. */
name?: InputMaybe<Scalars['String']>;
/** The start date of the cycle. */
startsAt?: InputMaybe<Scalars['DateTime']>;
};
/** Comparator for dates. */
export type DateComparator = {
/** Equals constraint. */
eq?: InputMaybe<Scalars['DateTime']>;
/** Greater-than constraint. Matches any values that are greater than the given value. */
gt?: InputMaybe<Scalars['DateTime']>;
/** Greater-than-or-equal constraint. Matches any values that are greater than or equal to the given value. */
gte?: InputMaybe<Scalars['DateTime']>;
/** In-array constraint. */
in?: InputMaybe<Array<Scalars['DateTime']>>;
/** Less-than constraint. Matches any values that are less than the given value. */
lt?: InputMaybe<Scalars['DateTime']>;
/** Less-than-or-equal constraint. Matches any values that are less than or equal to the given value. */
lte?: InputMaybe<Scalars['DateTime']>;
/** Not-equals constraint. */
neq?: InputMaybe<Scalars['DateTime']>;
/** Not-in-array constraint. */
nin?: InputMaybe<Array<Scalars['DateTime']>>;
};
/** The day of the week. */
export type Day =
| 'Friday'
| 'Monday'
| 'Saturday'
| 'Sunday'
| 'Thursday'
| 'Tuesday'
| 'Wednesday';
export type DeleteOrganizationInput = {
/** The deletion code to confirm operation. */
deletionCode: Scalars['String'];
};
export type DocumentCreateInput = {
/** The color of the icon. */
color?: InputMaybe<Scalars['String']>;
/** The document content as markdown. */
content?: InputMaybe<Scalars['String']>;
/** The document content as a Prosemirror document. */
contentData?: InputMaybe<Scalars['JSONObject']>;
/** The icon of the document. */
icon?: InputMaybe<Scalars['String']>;
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** Related project for the document. */
projectId: Scalars['String'];
/** The title of the document. */
title: Scalars['String'];
};
export type DocumentUpdateInput = {
/** The color of the icon. */
color?: InputMaybe<Scalars['String']>;
/** The document content as markdown. */
content?: InputMaybe<Scalars['String']>;
/** The document content as a Prosemirror document. */
contentData?: InputMaybe<Scalars['JSONObject']>;
/** The icon of the document. */
icon?: InputMaybe<Scalars['String']>;
/** Related project for the document. */
projectId?: InputMaybe<Scalars['String']>;
/** The title of the document. */
title?: InputMaybe<Scalars['String']>;
};
export type EmailSubscribeInput = {
/** [INTERNAL] Email to subscribe. */
email: Scalars['String'];
};
export type EmailUnsubscribeInput = {
/** The user's email validation token. */
token: Scalars['String'];
/** Email type to unsubscribed from. */
type: Scalars['String'];
/** The identifier of the user. */
userId: Scalars['String'];
};
export type EmailUserAccountAuthChallengeInput = {
/** Auth code for the client initiating the sequence. */
clientAuthCode?: InputMaybe<Scalars['String']>;
/** The email for which to generate the magic login code. */
email: Scalars['String'];
/** Whether the login was requested from the desktop app. */
isDesktop?: InputMaybe<Scalars['Boolean']>;
/** Signup code. */
signupCode?: InputMaybe<Scalars['String']>;
};
export type EmojiCreateInput = {
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The name of the custom emoji. */
name: Scalars['String'];
/** The URL for the emoji. */
url: Scalars['String'];
};
/** Comparator for estimates. */
export type EstimateComparator = {
/** Compound filters, one of which need to be matched by the estimate. */
and?: InputMaybe<Array<NullableNumberComparator>>;
/** Equals constraint. */
eq?: InputMaybe<Scalars['Float']>;
/** Greater-than constraint. Matches any values that are greater than the given value. */
gt?: InputMaybe<Scalars['Float']>;
/** Greater-than-or-equal constraint. Matches any values that are greater than or equal to the given value. */
gte?: InputMaybe<Scalars['Float']>;
/** In-array constraint. */
in?: InputMaybe<Array<Scalars['Float']>>;
/** Less-than constraint. Matches any values that are less than the given value. */
lt?: InputMaybe<Scalars['Float']>;
/** Less-than-or-equal constraint. Matches any values that are less than or equal to the given value. */
lte?: InputMaybe<Scalars['Float']>;
/** Not-equals constraint. */
neq?: InputMaybe<Scalars['Float']>;
/** Not-in-array constraint. */
nin?: InputMaybe<Array<Scalars['Float']>>;
/** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
null?: InputMaybe<Scalars['Boolean']>;
/** Compound filters, all of which need to be matched by the estimate. */
or?: InputMaybe<Array<NullableNumberComparator>>;
};
export type EventCreateInput = {
/** The category of the event to create. */
category: Scalars['String'];
/** Additional data of the event, encoded as JSON. */
data?: InputMaybe<Scalars['JSON']>;
/** The subject of the event. */
subject: Scalars['String'];
/** The target identifier of the event. */
targetId?: InputMaybe<Scalars['String']>;
/** The value of the event. */
value?: InputMaybe<Scalars['Float']>;
};
export type FavoriteCreateInput = {
/** The identifier of the custom view to favorite. */
customViewId?: InputMaybe<Scalars['String']>;
/** The identifier of the cycle to favorite. */
cycleId?: InputMaybe<Scalars['String']>;
/** The identifier of the document to favorite. */
documentId?: InputMaybe<Scalars['String']>;
/** The name of the favorite folder. */
folderName?: InputMaybe<Scalars['String']>;
/** The identifier. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The identifier of the issue to favorite. */
issueId?: InputMaybe<Scalars['String']>;
/** The identifier of the label to favorite. */
labelId?: InputMaybe<Scalars['String']>;
/** The parent folder of the favorite. */
parentId?: InputMaybe<Scalars['String']>;
/** The identifier of team for the predefined view to favorite. */
predefinedViewTeamId?: InputMaybe<Scalars['String']>;
/** The type of the predefined view to favorite. */
predefinedViewType?: InputMaybe<Scalars['String']>;
/** The identifier of the project to favorite. */
projectId?: InputMaybe<Scalars['String']>;
/** The identifier of the project team to favorite. */
projectTeamId?: InputMaybe<Scalars['String']>;
/** The identifier of the roadmap to favorite. */
roadmapId?: InputMaybe<Scalars['String']>;
/** The position of the item in the favorites list. */
sortOrder?: InputMaybe<Scalars['Float']>;
};
export type FavoriteUpdateInput = {
/** The name of the favorite folder. */
folderName?: InputMaybe<Scalars['String']>;
/** The identifier (in UUID v4 format) of the folder to move the favorite under. */
parentId?: InputMaybe<Scalars['String']>;
/** The position of the item in the favorites list. */
sortOrder?: InputMaybe<Scalars['Float']>;
};
export type FrontSettingsInput = {
/** Whether a ticket should be automatically reopened when its linked Linear issue is cancelled. */
automateTicketReopeningOnCancellation?: InputMaybe<Scalars['Boolean']>;
/** Whether a ticket should be automatically reopened when a comment is posted on its linked Linear issue */
automateTicketReopeningOnComment?: InputMaybe<Scalars['Boolean']>;
/** Whether a ticket should be automatically reopened when its linked Linear issue is completed. */
automateTicketReopeningOnCompletion?: InputMaybe<Scalars['Boolean']>;
/** Whether an internal message should be added when someone comments on an issue. */
sendNoteOnComment?: InputMaybe<Scalars['Boolean']>;
/** Whether an internal message should be added when a Linear issue changes status (for status types except completed or canceled). */
sendNoteOnStatusChange?: InputMaybe<Scalars['Boolean']>;
};
export type GitHubSettingsInput = {
/** The avatar URL for the GitHub organization */
orgAvatarUrl: Scalars['String'];
/** The GitHub organization's name */
orgLogin: Scalars['String'];
};
export type GoogleSheetsSettingsInput = {
sheetId: Scalars['Float'];
spreadsheetId: Scalars['String'];
spreadsheetUrl: Scalars['String'];
updatedIssuesAt: Scalars['DateTime'];
};
export type GoogleUserAccountAuthInput = {
/** Code returned from Google's OAuth flow. */
code: Scalars['String'];
/** The URI to redirect the user to. */
redirectUri?: InputMaybe<Scalars['String']>;
/** Signup code. */
signupCode?: InputMaybe<Scalars['String']>;
/** The identifiers of the teams to auto-join. */
teamIdsToJoin?: InputMaybe<Array<Scalars['String']>>;
/** The timezone of the user's browser. */
timezone: Scalars['String'];
};
/** Comparator for identifiers. */
export type IdComparator = {
/** Equals constraint. */
eq?: InputMaybe<Scalars['ID']>;
/** In-array constraint. */
in?: InputMaybe<Array<Scalars['ID']>>;
/** Not-equals constraint. */
neq?: InputMaybe<Scalars['ID']>;
/** Not-in-array constraint. */
nin?: InputMaybe<Array<Scalars['ID']>>;
};
export type IntegrationRequestInput = {
/** Email associated with the request. */
email?: InputMaybe<Scalars['String']>;
/** Name of the requested integration. */
name: Scalars['String'];
};
export type IntegrationSettingsInput = {
front?: InputMaybe<FrontSettingsInput>;
gitHub?: InputMaybe<GitHubSettingsInput>;
googleSheets?: InputMaybe<GoogleSheetsSettingsInput>;
intercom?: InputMaybe<IntercomSettingsInput>;
jira?: InputMaybe<JiraSettingsInput>;
sentry?: InputMaybe<SentrySettingsInput>;
slackOrgProjectUpdatesPost?: InputMaybe<SlackPostSettingsInput>;
slackPost?: InputMaybe<SlackPostSettingsInput>;
slackProjectPost?: InputMaybe<SlackPostSettingsInput>;
zendesk?: InputMaybe<ZendeskSettingsInput>;
};
export type IntegrationTemplateCreateInput = {
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The identifier of the integration. */
integrationId: Scalars['String'];
/** The identifier of the template. */
templateId: Scalars['String'];
};
export type IntegrationsSettingsCreateInput = {
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The identifier of the project to create settings for. */
projectId?: InputMaybe<Scalars['String']>;
/** Whether to send a Slack message when a new issue is added to triage. */
slackIssueAddedToTriage?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a new issue is created for the project or the team. */
slackIssueCreated?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a comment is created on any of the project or team's issues. */
slackIssueNewComment?: InputMaybe<Scalars['Boolean']>;
/** Whether to receive notification when an SLA has breached on Slack. */
slackIssueSlaBreached?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when an SLA is at high risk */
slackIssueSlaHighRisk?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when any of the project or team's issues has a change in status. */
slackIssueStatusChangedAll?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when any of the project or team's issues change to completed or cancelled. */
slackIssueStatusChangedDone?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a project update is created. */
slackProjectUpdateCreated?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a project update is created to milestone channels. */
slackProjectUpdateCreatedToMilestone?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a project update is created to team channels. */
slackProjectUpdateCreatedToTeam?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a project update is created to workspace channel. */
slackProjectUpdateCreatedToWorkspace?: InputMaybe<Scalars['Boolean']>;
/** The identifier of the team to create settings for. */
teamId?: InputMaybe<Scalars['String']>;
};
export type IntegrationsSettingsUpdateInput = {
/** Whether to send a Slack message when a new issue is added to triage. */
slackIssueAddedToTriage?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a new issue is created for the project or the team. */
slackIssueCreated?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a comment is created on any of the project or team's issues. */
slackIssueNewComment?: InputMaybe<Scalars['Boolean']>;
/** Whether to receive notification when an SLA has breached on Slack. */
slackIssueSlaBreached?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when an SLA is at high risk */
slackIssueSlaHighRisk?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when any of the project or team's issues has a change in status. */
slackIssueStatusChangedAll?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when any of the project or team's issues change to completed or cancelled. */
slackIssueStatusChangedDone?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a project update is created. */
slackProjectUpdateCreated?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a project update is created to milestone channels. */
slackProjectUpdateCreatedToMilestone?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a project update is created to team channels. */
slackProjectUpdateCreatedToTeam?: InputMaybe<Scalars['Boolean']>;
/** Whether to send a Slack message when a project update is created to workspace channel. */
slackProjectUpdateCreatedToWorkspace?: InputMaybe<Scalars['Boolean']>;
};
export type IntercomSettingsInput = {
/** Whether a ticket should be automatically reopened when its linked Linear issue is cancelled. */
automateTicketReopeningOnCancellation?: InputMaybe<Scalars['Boolean']>;
/** Whether a ticket should be automatically reopened when a comment is posted on its linked Linear issue */
automateTicketReopeningOnComment?: InputMaybe<Scalars['Boolean']>;
/** Whether a ticket should be automatically reopened when its linked Linear issue is completed. */
automateTicketReopeningOnCompletion?: InputMaybe<Scalars['Boolean']>;
/** Whether an internal message should be added when someone comments on an issue. */
sendNoteOnComment?: InputMaybe<Scalars['Boolean']>;
/** Whether an internal message should be added when a Linear issue changes status (for status types except completed or canceled). */
sendNoteOnStatusChange?: InputMaybe<Scalars['Boolean']>;
};
/** Issue filtering options. */
export type IssueCollectionFilter = {
/** Compound filters, all of which need to be matched by the issue. */
and?: InputMaybe<Array<IssueCollectionFilter>>;
/** Filters that the issues assignee must satisfy. */
assignee?: InputMaybe<NullableUserFilter>;
/** Filters that the issues attachments must satisfy. */
attachments?: InputMaybe<AttachmentCollectionFilter>;
/** Comparator for the issues auto archived at date. */
autoArchivedAt?: InputMaybe<NullableDateComparator>;
/** Comparator for the issues auto closed at date. */
autoClosedAt?: InputMaybe<NullableDateComparator>;
/** Comparator for the issues canceled at date. */
canceledAt?: InputMaybe<NullableDateComparator>;
/** Filters that the child issues must satisfy. */
children?: InputMaybe<IssueCollectionFilter>;
/** Filters that the issues comments must satisfy. */
comments?: InputMaybe<CommentCollectionFilter>;
/** Comparator for the issues completed at date. */
completedAt?: InputMaybe<NullableDateComparator>;
/** Comparator for the created at date. */
createdAt?: InputMaybe<DateComparator>;
/** Filters that the issues creator must satisfy. */
creator?: InputMaybe<NullableUserFilter>;
/** Filters that the issues cycle must satisfy. */
cycle?: InputMaybe<NullableCycleFilter>;
/** Comparator for the issues description. */
description?: InputMaybe<NullableStringComparator>;
/** Comparator for the issues due date. */
dueDate?: InputMaybe<NullableTimelessDateComparator>;
/** Comparator for the issues estimate. */
estimate?: InputMaybe<EstimateComparator>;
/** Filters that needs to be matched by all issues. */
every?: InputMaybe<IssueFilter>;
/** Comparator for filtering issues which are blocked. */
hasBlockedByRelations?: InputMaybe<RelationExistsComparator>;
/** Comparator for filtering issues which are blocking. */
hasBlockingRelations?: InputMaybe<RelationExistsComparator>;
/** Comparator for filtering issues which are duplicates. */
hasDuplicateRelations?: InputMaybe<RelationExistsComparator>;
/** Comparator for filtering issues with relations. */
hasRelatedRelations?: InputMaybe<RelationExistsComparator>;
/** Comparator for the identifier. */
id?: InputMaybe<IdComparator>;
/** Filters that issue labels must satisfy. */
labels?: InputMaybe<IssueLabelCollectionFilter>;
/** Comparator for the collection length. */
length?: InputMaybe<NumberComparator>;
/** Comparator for the issues number. */
number?: InputMaybe<NumberComparator>;
/** Compound filters, one of which need to be matched by the issue. */
or?: InputMaybe<Array<IssueCollectionFilter>>;
/** Filters that the issue parent must satisfy. */
parent?: InputMaybe<NullableIssueFilter>;
/** Comparator for the issues priority. */
priority?: InputMaybe<NullableNumberComparator>;
/** Filters that the issues project must satisfy. */
project?: InputMaybe<NullableProjectFilter>;
/** [Internal] Comparator for the issues content. */
searchableContent?: InputMaybe<ContentComparator>;
/** Filters that the issues snoozer must satisfy. */
snoozedBy?: InputMaybe<NullableUserFilter>;
/** Comparator for the issues snoozed until date. */
snoozedUntilAt?: InputMaybe<NullableDateComparator>;
/** Filters that needs to be matched by some issues. */
some?: InputMaybe<IssueFilter>;
/** Comparator for the issues started at date. */
startedAt?: InputMaybe<NullableDateComparator>;
/** Filters that the issues state must satisfy. */
state?: InputMaybe<WorkflowStateFilter>;
/** Filters that issue subscribers must satisfy. */
subscribers?: InputMaybe<UserCollectionFilter>;
/** Filters that the issues team must satisfy. */
team?: InputMaybe<TeamFilter>;
/** Comparator for the issues title. */
title?: InputMaybe<StringComparator>;
/** Comparator for the updated at date. */
updatedAt?: InputMaybe<DateComparator>;
};
export type IssueCreateInput = {
/** The identifier of the user to assign the issue to. */
assigneeId?: InputMaybe<Scalars['String']>;
/** The position of the issue in its column on the board view. */
boardOrder?: InputMaybe<Scalars['Float']>;
/** Create issue as a user with the provided name. This option is only available to OAuth applications creating issues in `actor=application` mode. */
createAsUser?: InputMaybe<Scalars['String']>;
/** The date when the issue was created (e.g. if importing from another system). Must be a date in the past. If none is provided, the backend will generate the time as now. */
createdAt?: InputMaybe<Scalars['DateTime']>;
/** The cycle associated with the issue. */
cycleId?: InputMaybe<Scalars['String']>;
/** The issue description in markdown format. */
description?: InputMaybe<Scalars['String']>;
/** The issue description as a Prosemirror document. */
descriptionData?: InputMaybe<Scalars['JSON']>;
/** Provide an external user avatar URL. Can only be used in conjunction with the `createAsUser` options. This option is only available to OAuth applications creating comments in `actor=application` mode. */
displayIconUrl?: InputMaybe<Scalars['String']>;
/** The date at which the issue is due. */
dueDate?: InputMaybe<Scalars['TimelessDate']>;
/** The estimated complexity of the issue. */
estimate?: InputMaybe<Scalars['Int']>;
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The identifiers of the issue labels associated with this ticket. */
labelIds?: InputMaybe<Array<Scalars['String']>>;
/** The identifier of the parent issue. */
parentId?: InputMaybe<Scalars['String']>;
/** The priority of the issue. */
priority?: InputMaybe<Scalars['Int']>;
/** The project associated with the issue. */
projectId?: InputMaybe<Scalars['String']>;
/** [ALPHA] The project milestone associated with the issue. */
projectMilestoneId?: InputMaybe<Scalars['String']>;
/** The comment the issue is referencing. */
referenceCommentId?: InputMaybe<Scalars['String']>;
/** The position of the issue related to other issues. */
sortOrder?: InputMaybe<Scalars['Float']>;
/** The team state of the issue. */
stateId?: InputMaybe<Scalars['String']>;
/** The position of the issue in parent's sub-issue list. */
subIssueSortOrder?: InputMaybe<Scalars['Float']>;
/** The identifiers of the users subscribing to this ticket. */
subscriberIds?: InputMaybe<Array<Scalars['String']>>;
/** The identifier or key of the team associated with the issue. */
teamId: Scalars['String'];
/** The title of the issue. */
title: Scalars['String'];
};
export type IssueDraftCreateInput = {
/** The identifier of the user to assign the draft to. */
assigneeId?: InputMaybe<Scalars['String']>;
/** The attachments associated with this draft. */
attachments?: InputMaybe<Scalars['JSONObject']>;
/** The cycle associated with the draft. */
cycleId?: InputMaybe<Scalars['String']>;
/** The draft description in markdown format. */
description?: InputMaybe<Scalars['String']>;
/** The draft description as a Prosemirror document. */
descriptionData?: InputMaybe<Scalars['JSON']>;
/** The date at which the draft is due. */
dueDate?: InputMaybe<Scalars['TimelessDate']>;
/** The estimated complexity of the draft. */
estimate?: InputMaybe<Scalars['Int']>;
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
id?: InputMaybe<Scalars['String']>;
/** The identifiers of the issue labels associated with this draft. */
labelIds?: InputMaybe<Array<Scalars['String']>>;
/** The identifier of the parent draft. */
parentId?: InputMaybe<Scalars['String']>;
/** The identifier of the parent issue. */
parentIssueId?: InputMaybe<Scalars['String']>;
/** The priority of the draft. */
priority?: InputMaybe<Scalars['Int']>;
/** The project associated with the draft. */
projectId?: InputMaybe<Scalars['String']>;
/** The team state of the draft. */
stateId?: InputMaybe<Scalars['String']>;
/** The position of the draft in parent draft's sub-draft list. */
subIssueSortOrder?: InputMaybe<Scalars['Float']>;
/** The identifier or key of the team associated with the draft. */
teamId: Scalars['String'];
/** The title of the draft. */
title: Scalars['String'];
};
export type IssueDraftUpdateInput = {
/** The identifier of the user to assign the draft to. */
assigneeId?: InputMaybe<Scalars['String']>;
/** The attachments associated with this draft. */
attachments?: InputMaybe<Scalars['JSONObject']>;
/** The cycle associated with the draft. */
cycleId?: InputMaybe<Scalars['String']>;
/** The draft description in markdown format. */
description?: InputMaybe<Scalars['String']>;
/** The draft description as a Prosemirror document. */
descriptionData?: InputMaybe<Scalars['JSON']>;
/** The date at which the draft is due. */
dueDate?: InputMaybe<Scalars['TimelessDate']>;
/** The estimated complexity of the draft. */
estimate?: InputMaybe<Scalars['Int']>;
/** The identifiers of the issue labels associated with this draft. */
labelIds?: InputMaybe<Array<Scalars['String']>>;
/** The identifier of the parent draft. */
parentId?: InputMaybe<Scalars['String']>;
/** The identifier of the parent issue. */
parentIssueId?: InputMaybe<Scalars['String']>;
/** The priority of the draft. */
priority?: InputMaybe<Scalars['Int']>;
/** The project associated with the draft. */
projectId?: InputMaybe<Scalars['String']>;
/** The team state of the draft. */
stateId?: InputMaybe<Scalars['String']>;
/** The position of the draft in parent draft's sub-draft list. */
subIssueSortOrder?: InputMaybe<Scalars['Float']>;
/** The identifier or key of the team associated with the draft. */
teamId?: InputMaybe<Scalars['String']>;
/** The title of the draft. */
title?: InputMaybe<Scalars['String']>;
};
/** Issue filtering options. */
export type IssueFilter = {
/** Compound filters, all of which need to be matched by the issue. */
and?: InputMaybe<Array<IssueFilter>>;
/** Filters that the issues assignee must satisfy. */
assignee?: InputMaybe<NullableUserFilter>;
/** Filters that the issues attachments must satisfy. */
attachments?: InputMaybe<AttachmentCollectionFilter>;
/** Comparator for the issues auto archived at date. */
autoArchivedAt?: InputMaybe<NullableDateComparator>;
/** Comparator for the issues auto closed at date. */
autoClosedAt?: InputMaybe<NullableDateComparator>;
/** Comparator for the issues canceled at date. */
canceledAt?: InputMaybe<NullableDateComparator>;
/** Filters that the child issues must satisfy. */
children?: InputMaybe<IssueCollectionFilter>;
/** Filters that the issues comments must satisfy. */
comments?: InputMaybe<CommentCollectionFilter>;
/** Comparator for the issues completed at date. */
completedAt?: InputMaybe<NullableDateComparator>;
/** Comparator for the created at date. */
createdAt?: InputMaybe<DateComparator>;
/** Filters that the issues creator must satisfy. */
creator?: InputMaybe<NullableUserFilter>;
/** Filters that the issues cycle must satisfy. */
cycle?: InputMaybe<NullableCycleFilter>;
/** Comparator for the issues description. */
description?: InputMaybe<NullableStringComparator>;
/** Comparator for the issues due date. */
dueDate?: InputMaybe<NullableTimelessDateComparator>;
/** Comparator for the issues estimate. */
estimate?: InputMaybe<EstimateComparator>;
/** Comparator for filtering issues which are blocked. */
hasBlockedByRelations?: InputMaybe<RelationExistsComparator>;
/** Comparator for filtering issues which are blocking. */
hasBlockingRelations?: InputMaybe<RelationExistsComparator>;
/** Comparator for filtering issues which are duplicates. */
hasDuplicateRelations?: InputMaybe<RelationExistsComparator>;
/** Comparator for filtering issues with relations. */
hasRelatedRelations?: InputMaybe<RelationExistsComparator>;
/** Comparator for the identifier. */
id?: InputMaybe<IdComparator>;
/** Filters that issue labels must satisfy. */
labels?: InputMaybe<IssueLabelCollectionFilter>;
/** Comparator for the issues number. */
number?: InputMaybe<NumberComparator>;
/** Compound filters, one of which need to be matched by the issue. */
or?: InputMaybe<Array<IssueFilter>>;
/** Filters that the issue parent must satisfy. */
parent?: InputMaybe<NullableIssueFilter>;
/** Comparator for the issues priority. */
priority?: InputMaybe<NullableNumberComparator>;
/** Filters that the issues project must satisfy. */
project?: InputMaybe<NullableProjectFilter>;
/** [Internal] Comparator for the issues content. */
searchableContent?: InputMaybe<ContentComparator>;
/** Filters that the issues snoozer must satisfy. */
snoozedBy?: InputMaybe<NullableUserFilter>;
/** Comparator for the issues snoozed until date. */
snoozedUntilAt?: InputMaybe<NullableDateComparator>;
/** Comparator for the issues started at date. */
startedAt?: InputMaybe<NullableDateComparator>;
/** Filters that the issues state must satisfy. */
state?: InputMaybe<WorkflowStateFilter>;
/** Filters that issue subscribers must satisfy. */
subscribers?: InputMaybe<UserCollectionFilter>;
/** Filters that the issues team must satisfy. */
team?: InputMaybe<TeamFilter>;
/** Comparator for the issues title. */
title?: InputMaybe<StringComparator>;
/** Comparator for the updated at date. */
updatedAt?: InputMaybe<DateComparator>;
};
/** Issue import mapping input */
export type IssueImportMappingInput = {
/** The mapping configuration for epics */
epics?: InputMaybe<Scalars['JSONObject']>;
/** The mapping configuration for users */
users?: InputMaybe<Scalars['JSONObject']>;
/** The mapping configuration for workflow states */
workflowStates?: InputMaybe<Scalars['JSONObject']>;
};