@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 03:37 UTC

main
ts 5,433 lines 336 KB
Raw
1 // Generated by @effect/graphql-generator. Do not edit.
2 import * as Schema from "effect/Schema"
3
4 export const Int = Schema.Number.check(Schema.isInt32())
5
6 export const Float = Schema.Finite
7
8 export const ID = Schema.String
9
10 /** Represents a date and time in ISO 8601 format. Accepts shortcuts like `2021` to represent midnight Fri Jan 01 2021. Also accepts ISO 8601 durations strings which are added to the current date to create the represented date (e.g '-P2W1D' represents the date that was two weeks and 1 day ago) */
11 export const DateTime = Schema.String
12
13 /** Represents a date and time in ISO 8601 format. Accepts shortcuts like `2021` to represent midnight Fri Jan 01 2021. Also accepts ISO 8601 durations strings which are added to the current date to create the represented date (e.g '-P2W1D' represents the date that was two weeks and 1 day ago) */
14 export const DateTimeOrDuration = Schema.String
15
16 /** Represents a duration in ISO 8601 format. Accepts ISO 8601 duration strings or integers in milliseconds. */
17 export const Duration = Schema.String
18
19 /** The `JSON` scalar type represents arbitrary values as *stringified* JSON */
20 export const JSON = Schema.Json
21
22 /** The `JSONObject` scalar type represents arbitrary values as *embedded* JSON */
23 export const JSONObject = Schema.Json
24
25 /** Represents a date in ISO 8601 format. Accepts shortcuts like `2021` to represent midnight Fri Jan 01 2021. Also accepts ISO 8601 durations strings which are added to the current date to create the represented date (e.g '-P2W1D' represents the date that was two weeks and 1 day ago) */
26 export const TimelessDate = Schema.String
27
28 /** Represents a date in ISO 8601 format or a duration. Accepts shortcuts like `2021` to represent midnight Fri Jan 01 2021. Also accepts ISO 8601 durations strings (e.g '-P2W1D'), which are not converted to dates. */
29 export const TimelessDateOrDuration = Schema.String
30
31 /**
32 * - `after`
33 * - `before`
34 * - `during`
35 */
36 export const CyclePeriod = Schema.Literals(["after", "before", "during"])
37 export type CyclePeriod = typeof CyclePeriod.Type
38
39 /**
40 * By which field should the pagination order by
41 *
42 * - `createdAt`
43 * - `updatedAt`
44 */
45 export const PaginationOrderBy = Schema.Literals(["createdAt", "updatedAt"])
46 export type PaginationOrderBy = typeof PaginationOrderBy.Type
47
48 /**
49 * The type of a release pipeline, which determines how releases are created and managed. Continuous pipelines create a new completed release for each sync. Scheduled pipelines accumulate issues into a started release that is explicitly completed.
50 *
51 * - `continuous`
52 * - `scheduled`
53 */
54 export const ReleasePipelineType = Schema.Literals(["continuous", "scheduled"])
55 export type ReleasePipelineType = typeof ReleasePipelineType.Type
56
57 /**
58 * The type of a release stage, which determines the release's lifecycle state. Types include planned, started, completed, and canceled. Each pipeline must have at least one stage of each type, though only started stages may have multiple instances.
59 *
60 * - `canceled`
61 * - `completed`
62 * - `planned`
63 * - `started`
64 */
65 export const ReleaseStageType = Schema.Literals(["canceled", "completed", "planned", "started"])
66 export type ReleaseStageType = typeof ReleaseStageType.Type
67
68 /**
69 * Which day count to use for SLA calculations.
70 *
71 * - `all`
72 * - `onlyBusinessDays`
73 */
74 export const SLADayCountType = Schema.Literals(["all", "onlyBusinessDays"])
75 export type SLADayCountType = typeof SLADayCountType.Type
76
77 /**
78 * - `Breached`
79 * - `Completed`
80 * - `Failed`
81 * - `HighRisk`
82 * - `LowRisk`
83 * - `MediumRisk`
84 */
85 export const SlaStatus = Schema.Literals(["Breached", "Completed", "Failed", "HighRisk", "LowRisk", "MediumRisk"])
86 export type SlaStatus = typeof SlaStatus.Type
87
88 /**
89 * The visibility of a team. A team can be public, private, or restricted within an enclosing private-team boundary.
90 *
91 * - `private`
92 * - `public`
93 * - `restricted`
94 */
95 export const TeamVisibility = Schema.Literals(["private", "public", "restricted"])
96 export type TeamVisibility = typeof TeamVisibility.Type
97
98 /** Input for creating a new comment. */
99 export const CommentCreateInput = Schema.Struct({
100 /** The comment content in markdown format. */
101 body: Schema.optional(Schema.NullOr(Schema.String)),
102 /** [Internal] The comment content as a Prosemirror document. */
103 bodyData: Schema.optional(Schema.NullOr(JSON)),
104 /** Create comment as a user with the provided name. This option is only available to OAuth applications creating comments in `actor=app` mode. */
105 createAsUser: Schema.optional(Schema.NullOr(Schema.String)),
106 /** Flag to indicate this comment should be created on the issue's synced Slack comment thread. If no synced Slack comment thread exists, the mutation will fail. If there are multiple synced Slack threads on the issue, the oldest one will be targeted. */
107 createOnSyncedSlackThread: Schema.optional(Schema.NullOr(Schema.Boolean)),
108 /** The time at which the comment was created (e.g. if importing from another system). Must be a time in the past. If none is provided, the backend will generate the time as now. */
109 createdAt: Schema.optional(Schema.NullOr(DateTime)),
110 /** 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=app` mode. */
111 displayIconUrl: Schema.optional(Schema.NullOr(Schema.String)),
112 /** Flag to prevent auto subscription to the issue the comment is created on. */
113 doNotSubscribeToIssue: Schema.optional(Schema.NullOr(Schema.Boolean)),
114 /** The document content to associate the comment with. */
115 documentContentId: Schema.optional(Schema.NullOr(Schema.String)),
116 /** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
117 id: Schema.optional(Schema.NullOr(Schema.String)),
118 /** The initiative to associate the comment with. Can be a UUID or initiative identifier (e.g., 'I-12'). */
119 initiativeId: Schema.optional(Schema.NullOr(Schema.String)),
120 /** The initiative update to associate the comment with. */
121 initiativeUpdateId: Schema.optional(Schema.NullOr(Schema.String)),
122 /** [Internal] Where the commented text starts, as a base64-encoded Y.js relative position created on the commenter's copy of the document content. Requires `inlineAnchorTo` and `documentContentId`. */
123 inlineAnchorFrom: Schema.optional(Schema.NullOr(Schema.String)),
124 /** [Internal] Where the commented text ends, as a base64-encoded Y.js relative position created on the commenter's copy of the document content. Requires `inlineAnchorFrom` and `documentContentId`. */
125 inlineAnchorTo: Schema.optional(Schema.NullOr(Schema.String)),
126 /** The issue to associate the comment with. Can be a UUID or issue identifier (e.g., 'LIN-123'). */
127 issueId: Schema.optional(Schema.NullOr(Schema.String)),
128 /** The parent comment under which to nest a current comment. */
129 parentId: Schema.optional(Schema.NullOr(Schema.String)),
130 /** The post to associate the comment with. */
131 postId: Schema.optional(Schema.NullOr(Schema.String)),
132 /** The project to associate the comment with. Can be a UUID or project identifier (e.g., 'P-LIN-123'). */
133 projectId: Schema.optional(Schema.NullOr(Schema.String)),
134 /** The project update to associate the comment with. */
135 projectUpdateId: Schema.optional(Schema.NullOr(Schema.String)),
136 /** The text that this comment references. Only defined for inline comments. */
137 quotedText: Schema.optional(Schema.NullOr(Schema.String)),
138 /** [INTERNAL] The identifiers of the users subscribing to this comment thread. */
139 subscriberIds: Schema.optional(Schema.NullOr(Schema.Array(Schema.String)))
140 })
141 export interface CommentCreateInput extends Schema.Struct.Type<typeof CommentCreateInput.fields> {}
142
143 /** Input for creating a new issue. At minimum, a team must be specified. A title is required unless a template is provided. All other fields are optional and will use defaults from the team or template if not specified. */
144 export const IssueCreateInput = Schema.Struct({
145 /** The identifier of the user to assign the issue to. */
146 assigneeId: Schema.optional(Schema.NullOr(Schema.String)),
147 /** The time at which the issue was completed (e.g. if importing from another system). Must be a time in the past and after createdAt. Cannot be provided with an incompatible workflow state. */
148 completedAt: Schema.optional(Schema.NullOr(DateTime)),
149 /** Create issue as a user with the provided name. This option is only available to OAuth applications creating issues in `actor=app` mode. */
150 createAsUser: Schema.optional(Schema.NullOr(Schema.String)),
151 /** The time at which the issue was created (e.g. if importing from another system). Must be a time in the past. If none is provided, the backend will generate the time as now. */
152 createdAt: Schema.optional(Schema.NullOr(DateTime)),
153 /** The cycle associated with the issue. */
154 cycleId: Schema.optional(Schema.NullOr(Schema.String)),
155 /** The identifier of the agent user to delegate the issue to. */
156 delegateId: Schema.optional(Schema.NullOr(Schema.String)),
157 /** The issue description in markdown format. */
158 description: Schema.optional(Schema.NullOr(Schema.String)),
159 /** [Internal] The issue description as a Prosemirror document. */
160 descriptionData: Schema.optional(Schema.NullOr(JSON)),
161 /** 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=app` mode. */
162 displayIconUrl: Schema.optional(Schema.NullOr(Schema.String)),
163 /** The date at which the issue is due. */
164 dueDate: Schema.optional(Schema.NullOr(TimelessDate)),
165 /** The estimated complexity of the issue. */
166 estimate: Schema.optional(Schema.NullOr(Int)),
167 /** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
168 id: Schema.optional(Schema.NullOr(Schema.String)),
169 /** [Internal] Whether this issue should inherit shared access from its parent issue. Set to false to opt out of automatic shared access inheritance when creating a sub-issue. */
170 inheritsSharedAccess: Schema.optional(Schema.NullOr(Schema.Boolean)),
171 /** The identifiers of the issue labels associated with this ticket. */
172 labelIds: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
173 /** The ID of the last template applied to the issue. */
174 lastAppliedTemplateId: Schema.optional(Schema.NullOr(Schema.String)),
175 /** The identifier of the parent issue. Can be a UUID or issue identifier (e.g., 'LIN-123'). */
176 parentId: Schema.optional(Schema.NullOr(Schema.String)),
177 /** Whether the passed sort order should be preserved. */
178 preserveSortOrderOnCreate: Schema.optional(Schema.NullOr(Schema.Boolean)),
179 /** The priority of the issue. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
180 priority: Schema.optional(Schema.NullOr(Int)),
181 /** The position of the issue related to other issues, when ordered by priority. */
182 prioritySortOrder: Schema.optional(Schema.NullOr(Float)),
183 /** The project associated with the issue. Can be a UUID or project identifier (e.g., 'P-LIN-123'). */
184 projectId: Schema.optional(Schema.NullOr(Schema.String)),
185 /** The project milestone associated with the issue. */
186 projectMilestoneId: Schema.optional(Schema.NullOr(Schema.String)),
187 /** The comment the issue is referencing. */
188 referenceCommentId: Schema.optional(Schema.NullOr(Schema.String)),
189 /** The identifiers of the releases to associate with this issue. */
190 releaseIds: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
191 /** [Internal] The time at which an issue will be considered in breach of SLA. */
192 slaBreachesAt: Schema.optional(Schema.NullOr(DateTime)),
193 /** [Internal] The time at which the issue's SLA was started. */
194 slaStartedAt: Schema.optional(Schema.NullOr(DateTime)),
195 /** The SLA day count type for the issue. Whether SLA should be business days only or calendar days (default). */
196 slaType: Schema.optional(Schema.NullOr(SLADayCountType)),
197 /** The position of the issue related to other issues. */
198 sortOrder: Schema.optional(Schema.NullOr(Float)),
199 /** The comment the issue is created from. */
200 sourceCommentId: Schema.optional(Schema.NullOr(Schema.String)),
201 /** [Internal] The pull request comment the issue is created from. */
202 sourcePullRequestCommentId: Schema.optional(Schema.NullOr(Schema.String)),
203 /** The team state of the issue. */
204 stateId: Schema.optional(Schema.NullOr(Schema.String)),
205 /** The position of the issue in parent's sub-issue list. */
206 subIssueSortOrder: Schema.optional(Schema.NullOr(Float)),
207 /** The identifiers of the users subscribing to this ticket. */
208 subscriberIds: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
209 /** The identifier of the team associated with the issue. */
210 teamId: Schema.String,
211 /** The identifier of a template the issue should be created from. If other values are provided in the input, they will override template values. */
212 templateId: Schema.optional(Schema.NullOr(Schema.String)),
213 /** The title of the issue. */
214 title: Schema.optional(Schema.NullOr(Schema.String)),
215 /** Whether to use the default template for the team. When set to true, the default template of this team based on user's membership will be applied. */
216 useDefaultTemplate: Schema.optional(Schema.NullOr(Schema.Boolean))
217 })
218 export interface IssueCreateInput extends Schema.Struct.Type<typeof IssueCreateInput.fields> {}
219
220 /** Comparator for optional dates. */
221 export const NullableDateComparator = Schema.Struct({
222 /** Equals constraint. */
223 eq: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
224 /** Greater-than constraint. Matches any values that are greater than the given value. */
225 gt: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
226 /** Greater-than-or-equal constraint. Matches any values that are greater than or equal to the given value. */
227 gte: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
228 /** In-array constraint. */
229 in: Schema.optional(Schema.NullOr(Schema.Array(DateTimeOrDuration))),
230 /** Less-than constraint. Matches any values that are less than the given value. */
231 lt: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
232 /** Less-than-or-equal constraint. Matches any values that are less than or equal to the given value. */
233 lte: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
234 /** Not-equals constraint. */
235 neq: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
236 /** Not-in-array constraint. */
237 nin: Schema.optional(Schema.NullOr(Schema.Array(DateTimeOrDuration))),
238 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
239 null: Schema.optional(Schema.NullOr(Schema.Boolean))
240 })
241 export interface NullableDateComparator extends Schema.Struct.Type<typeof NullableDateComparator.fields> {}
242
243 /** Comparator for dates. */
244 export const DateComparator = Schema.Struct({
245 /** Equals constraint. */
246 eq: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
247 /** Greater-than constraint. Matches any values that are greater than the given value. */
248 gt: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
249 /** Greater-than-or-equal constraint. Matches any values that are greater than or equal to the given value. */
250 gte: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
251 /** In-array constraint. */
252 in: Schema.optional(Schema.NullOr(Schema.Array(DateTimeOrDuration))),
253 /** Less-than constraint. Matches any values that are less than the given value. */
254 lt: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
255 /** Less-than-or-equal constraint. Matches any values that are less than or equal to the given value. */
256 lte: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
257 /** Not-equals constraint. */
258 neq: Schema.optional(Schema.NullOr(DateTimeOrDuration)),
259 /** Not-in-array constraint. */
260 nin: Schema.optional(Schema.NullOr(Schema.Array(DateTimeOrDuration)))
261 })
262 export interface DateComparator extends Schema.Struct.Type<typeof DateComparator.fields> {}
263
264 /** Comparator for identifiers. */
265 export const IDComparator = Schema.Struct({
266 /** Equals constraint. */
267 eq: Schema.optional(Schema.NullOr(ID)),
268 /** In-array constraint. */
269 in: Schema.optional(Schema.NullOr(Schema.Array(ID))),
270 /** Not-equals constraint. */
271 neq: Schema.optional(Schema.NullOr(ID)),
272 /** Not-in-array constraint. */
273 nin: Schema.optional(Schema.NullOr(Schema.Array(ID)))
274 })
275 export interface IDComparator extends Schema.Struct.Type<typeof IDComparator.fields> {}
276
277 /** Comparator for booleans. */
278 export const BooleanComparator = Schema.Struct({
279 /** Equals constraint. */
280 eq: Schema.optional(Schema.NullOr(Schema.Boolean)),
281 /** Not equals constraint. */
282 neq: Schema.optional(Schema.NullOr(Schema.Boolean))
283 })
284 export interface BooleanComparator extends Schema.Struct.Type<typeof BooleanComparator.fields> {}
285
286 /** Comparator for period when issue was added to a cycle. */
287 export const CyclePeriodComparator = Schema.Struct({
288 /** Equals constraint. */
289 eq: Schema.optional(Schema.NullOr(CyclePeriod)),
290 /** In-array constraint. */
291 in: Schema.optional(Schema.NullOr(Schema.Array(CyclePeriod))),
292 /** Not-equals constraint. */
293 neq: Schema.optional(Schema.NullOr(CyclePeriod)),
294 /** Not-in-array constraint. */
295 nin: Schema.optional(Schema.NullOr(Schema.Array(CyclePeriod))),
296 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
297 null: Schema.optional(Schema.NullOr(Schema.Boolean))
298 })
299 export interface CyclePeriodComparator extends Schema.Struct.Type<typeof CyclePeriodComparator.fields> {}
300
301 /** Nullable comparator for optional durations. */
302 export const NullableDurationComparator = Schema.Struct({
303 /** Equals constraint. */
304 eq: Schema.optional(Schema.NullOr(Duration)),
305 /** Greater-than constraint. Matches any values that are greater than the given value. */
306 gt: Schema.optional(Schema.NullOr(Duration)),
307 /** Greater-than-or-equal constraint. Matches any values that are greater than or equal to the given value. */
308 gte: Schema.optional(Schema.NullOr(Duration)),
309 /** In-array constraint. */
310 in: Schema.optional(Schema.NullOr(Schema.Array(Duration))),
311 /** Less-than constraint. Matches any values that are less than the given value. */
312 lt: Schema.optional(Schema.NullOr(Duration)),
313 /** Less-than-or-equal constraint. Matches any values that are less than or equal to the given value. */
314 lte: Schema.optional(Schema.NullOr(Duration)),
315 /** Not-equals constraint. */
316 neq: Schema.optional(Schema.NullOr(Duration)),
317 /** Not-in-array constraint. */
318 nin: Schema.optional(Schema.NullOr(Schema.Array(Duration))),
319 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
320 null: Schema.optional(Schema.NullOr(Schema.Boolean))
321 })
322 export interface NullableDurationComparator extends Schema.Struct.Type<typeof NullableDurationComparator.fields> {}
323
324 /** Comparator for strings. */
325 export const StringComparator = Schema.Struct({
326 /** Contains constraint. Matches any values that contain the given string. */
327 contains: Schema.optional(Schema.NullOr(Schema.String)),
328 /** Contains case insensitive constraint. Matches any values that contain the given string case insensitive. */
329 containsIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
330 /** Contains case and accent insensitive constraint. Matches any values that contain the given string case and accent insensitive. */
331 containsIgnoreCaseAndAccent: Schema.optional(Schema.NullOr(Schema.String)),
332 /** Ends with constraint. Matches any values that end with the given string. */
333 endsWith: Schema.optional(Schema.NullOr(Schema.String)),
334 /** Equals constraint. */
335 eq: Schema.optional(Schema.NullOr(Schema.String)),
336 /** Equals case insensitive. Matches any values that matches the given string case insensitive. */
337 eqIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
338 /** In-array constraint. */
339 in: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
340 /** Not-equals constraint. */
341 neq: Schema.optional(Schema.NullOr(Schema.String)),
342 /** Not-equals case insensitive. Matches any values that don't match the given string case insensitive. */
343 neqIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
344 /** Not-in-array constraint. */
345 nin: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
346 /** Doesn't contain constraint. Matches any values that don't contain the given string. */
347 notContains: Schema.optional(Schema.NullOr(Schema.String)),
348 /** Doesn't contain case insensitive constraint. Matches any values that don't contain the given string case insensitive. */
349 notContainsIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
350 /** Doesn't end with constraint. Matches any values that don't end with the given string. */
351 notEndsWith: Schema.optional(Schema.NullOr(Schema.String)),
352 /** Doesn't start with constraint. Matches any values that don't start with the given string. */
353 notStartsWith: Schema.optional(Schema.NullOr(Schema.String)),
354 /** Starts with constraint. Matches any values that start with the given string. */
355 startsWith: Schema.optional(Schema.NullOr(Schema.String)),
356 /** Starts with case insensitive constraint. Matches any values that start with the given string. */
357 startsWithIgnoreCase: Schema.optional(Schema.NullOr(Schema.String))
358 })
359 export interface StringComparator extends Schema.Struct.Type<typeof StringComparator.fields> {}
360
361 /** Comparator for `sourceType` field. */
362 export const SourceTypeComparator = Schema.Struct({
363 /** Contains constraint. Matches any values that contain the given string. */
364 contains: Schema.optional(Schema.NullOr(Schema.String)),
365 /** Contains case insensitive constraint. Matches any values that contain the given string case insensitive. */
366 containsIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
367 /** Contains case and accent insensitive constraint. Matches any values that contain the given string case and accent insensitive. */
368 containsIgnoreCaseAndAccent: Schema.optional(Schema.NullOr(Schema.String)),
369 /** Ends with constraint. Matches any values that end with the given string. */
370 endsWith: Schema.optional(Schema.NullOr(Schema.String)),
371 /** Equals constraint. */
372 eq: Schema.optional(Schema.NullOr(Schema.String)),
373 /** Equals case insensitive. Matches any values that matches the given string case insensitive. */
374 eqIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
375 /** In-array constraint. */
376 in: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
377 /** Not-equals constraint. */
378 neq: Schema.optional(Schema.NullOr(Schema.String)),
379 /** Not-equals case insensitive. Matches any values that don't match the given string case insensitive. */
380 neqIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
381 /** Not-in-array constraint. */
382 nin: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
383 /** Doesn't contain constraint. Matches any values that don't contain the given string. */
384 notContains: Schema.optional(Schema.NullOr(Schema.String)),
385 /** Doesn't contain case insensitive constraint. Matches any values that don't contain the given string case insensitive. */
386 notContainsIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
387 /** Doesn't end with constraint. Matches any values that don't end with the given string. */
388 notEndsWith: Schema.optional(Schema.NullOr(Schema.String)),
389 /** Doesn't start with constraint. Matches any values that don't start with the given string. */
390 notStartsWith: Schema.optional(Schema.NullOr(Schema.String)),
391 /** Starts with constraint. Matches any values that start with the given string. */
392 startsWith: Schema.optional(Schema.NullOr(Schema.String)),
393 /** Starts with case insensitive constraint. Matches any values that start with the given string. */
394 startsWithIgnoreCase: Schema.optional(Schema.NullOr(Schema.String))
395 })
396 export interface SourceTypeComparator extends Schema.Struct.Type<typeof SourceTypeComparator.fields> {}
397
398 /** Comparator for optional strings. */
399 export const NullableStringComparator = Schema.Struct({
400 /** Contains constraint. Matches any values that contain the given string. */
401 contains: Schema.optional(Schema.NullOr(Schema.String)),
402 /** Contains case insensitive constraint. Matches any values that contain the given string case insensitive. */
403 containsIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
404 /** Contains case and accent insensitive constraint. Matches any values that contain the given string case and accent insensitive. */
405 containsIgnoreCaseAndAccent: Schema.optional(Schema.NullOr(Schema.String)),
406 /** Ends with constraint. Matches any values that end with the given string. */
407 endsWith: Schema.optional(Schema.NullOr(Schema.String)),
408 /** Equals constraint. */
409 eq: Schema.optional(Schema.NullOr(Schema.String)),
410 /** Equals case insensitive. Matches any values that matches the given string case insensitive. */
411 eqIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
412 /** In-array constraint. */
413 in: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
414 /** Not-equals constraint. */
415 neq: Schema.optional(Schema.NullOr(Schema.String)),
416 /** Not-equals case insensitive. Matches any values that don't match the given string case insensitive. */
417 neqIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
418 /** Not-in-array constraint. */
419 nin: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
420 /** Doesn't contain constraint. Matches any values that don't contain the given string. */
421 notContains: Schema.optional(Schema.NullOr(Schema.String)),
422 /** Doesn't contain case insensitive constraint. Matches any values that don't contain the given string case insensitive. */
423 notContainsIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
424 /** Doesn't end with constraint. Matches any values that don't end with the given string. */
425 notEndsWith: Schema.optional(Schema.NullOr(Schema.String)),
426 /** Doesn't start with constraint. Matches any values that don't start with the given string. */
427 notStartsWith: Schema.optional(Schema.NullOr(Schema.String)),
428 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
429 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
430 /** Starts with constraint. Matches any values that start with the given string. */
431 startsWith: Schema.optional(Schema.NullOr(Schema.String)),
432 /** Starts with case insensitive constraint. Matches any values that start with the given string. */
433 startsWithIgnoreCase: Schema.optional(Schema.NullOr(Schema.String))
434 })
435 export interface NullableStringComparator extends Schema.Struct.Type<typeof NullableStringComparator.fields> {}
436
437 /** Comparator for numbers. */
438 export const NumberComparator = Schema.Struct({
439 /** Equals constraint. */
440 eq: Schema.optional(Schema.NullOr(Float)),
441 /** Greater-than constraint. Matches any values that are greater than the given value. */
442 gt: Schema.optional(Schema.NullOr(Float)),
443 /** Greater-than-or-equal constraint. Matches any values that are greater than or equal to the given value. */
444 gte: Schema.optional(Schema.NullOr(Float)),
445 /** In-array constraint. */
446 in: Schema.optional(Schema.NullOr(Schema.Array(Float))),
447 /** Less-than constraint. Matches any values that are less than the given value. */
448 lt: Schema.optional(Schema.NullOr(Float)),
449 /** Less-than-or-equal constraint. Matches any values that are less than or equal to the given value. */
450 lte: Schema.optional(Schema.NullOr(Float)),
451 /** Not-equals constraint. */
452 neq: Schema.optional(Schema.NullOr(Float)),
453 /** Not-in-array constraint. */
454 nin: Schema.optional(Schema.NullOr(Schema.Array(Float)))
455 })
456 export interface NumberComparator extends Schema.Struct.Type<typeof NumberComparator.fields> {}
457
458 /** Comparator for release pipeline type. */
459 export const ReleasePipelineTypeComparator = Schema.Struct({
460 /** Equals constraint. */
461 eq: Schema.optional(Schema.NullOr(ReleasePipelineType)),
462 /** In-array constraint. */
463 in: Schema.optional(Schema.NullOr(Schema.Array(ReleasePipelineType))),
464 /** Not-equals constraint. */
465 neq: Schema.optional(Schema.NullOr(ReleasePipelineType)),
466 /** Not-in-array constraint. */
467 nin: Schema.optional(Schema.NullOr(Schema.Array(ReleasePipelineType))),
468 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
469 null: Schema.optional(Schema.NullOr(Schema.Boolean))
470 })
471 export interface ReleasePipelineTypeComparator extends Schema.Struct.Type<typeof ReleasePipelineTypeComparator.fields> {}
472
473 /** Comparator for team visibility. */
474 export const TeamVisibilityComparator = Schema.Struct({
475 /** Equals constraint. */
476 eq: Schema.optional(Schema.NullOr(TeamVisibility)),
477 /** In-array constraint. */
478 in: Schema.optional(Schema.NullOr(Schema.Array(TeamVisibility))),
479 /** Not-equals constraint. */
480 neq: Schema.optional(Schema.NullOr(TeamVisibility)),
481 /** Not-in-array constraint. */
482 nin: Schema.optional(Schema.NullOr(Schema.Array(TeamVisibility)))
483 })
484 export interface TeamVisibilityComparator extends Schema.Struct.Type<typeof TeamVisibilityComparator.fields> {}
485
486 /** Comparator for project and initiative identifiers. Accepts UUIDs and human-readable identifiers (e.g. "PROJ-123"). */
487 export const EntityIdentifierIDComparator = Schema.Struct({
488 /** Equals constraint. */
489 eq: Schema.optional(Schema.NullOr(ID)),
490 /** In-array constraint. */
491 in: Schema.optional(Schema.NullOr(Schema.Array(ID))),
492 /** Not-equals constraint. */
493 neq: Schema.optional(Schema.NullOr(ID)),
494 /** Not-in-array constraint. */
495 nin: Schema.optional(Schema.NullOr(Schema.Array(ID)))
496 })
497 export interface EntityIdentifierIDComparator extends Schema.Struct.Type<typeof EntityIdentifierIDComparator.fields> {}
498
499 /** Options for filtering initiatives by initiative updates. */
500 export const InitiativeUpdatesFilter: Schema.Codec<InitiativeUpdatesFilter, InitiativeUpdatesFilterEncoded> = Schema.Struct({
501 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeUpdatesFilter)))),
502 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
503 id: Schema.optional(Schema.NullOr(IDComparator)),
504 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeUpdatesFilter)))),
505 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
506 })
507 export interface InitiativeUpdatesFilter {
508 /** Compound filters, all of which need to be matched by the initiative updates. */
509 readonly and?: readonly InitiativeUpdatesFilter[] | null | undefined
510 /** Comparator for the created at date. */
511 readonly createdAt?: DateComparator | null | undefined
512 /** Comparator for the identifier. */
513 readonly id?: IDComparator | null | undefined
514 /** Compound filters, one of which need to be matched by the initiative updates. */
515 readonly or?: readonly InitiativeUpdatesFilter[] | null | undefined
516 /** Comparator for the updated at date. */
517 readonly updatedAt?: DateComparator | null | undefined
518 }
519 export interface InitiativeUpdatesFilterEncoded {
520 readonly and?: readonly InitiativeUpdatesFilterEncoded[] | null | undefined
521 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
522 readonly id?: typeof IDComparator.Encoded | null | undefined
523 readonly or?: readonly InitiativeUpdatesFilterEncoded[] | null | undefined
524 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
525 }
526
527 /** Collection filtering options for filtering initiatives by initiative updates. */
528 export const InitiativeUpdatesCollectionFilter: Schema.Codec<InitiativeUpdatesCollectionFilter, InitiativeUpdatesCollectionFilterEncoded> = Schema.Struct({
529 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeUpdatesCollectionFilter)))),
530 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
531 every: Schema.optional(Schema.NullOr(InitiativeUpdatesFilter)),
532 id: Schema.optional(Schema.NullOr(IDComparator)),
533 length: Schema.optional(Schema.NullOr(NumberComparator)),
534 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeUpdatesCollectionFilter)))),
535 some: Schema.optional(Schema.NullOr(InitiativeUpdatesFilter)),
536 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
537 })
538 export interface InitiativeUpdatesCollectionFilter {
539 /** Compound filters, all of which need to be matched by the initiative update. */
540 readonly and?: readonly InitiativeUpdatesCollectionFilter[] | null | undefined
541 /** Comparator for the created at date. */
542 readonly createdAt?: DateComparator | null | undefined
543 /** Filters that needs to be matched by all initiative updates. */
544 readonly every?: InitiativeUpdatesFilter | null | undefined
545 /** Comparator for the identifier. */
546 readonly id?: IDComparator | null | undefined
547 /** Comparator for the collection length. */
548 readonly length?: NumberComparator | null | undefined
549 /** Compound filters, one of which need to be matched by the update. */
550 readonly or?: readonly InitiativeUpdatesCollectionFilter[] | null | undefined
551 /** Filters that needs to be matched by some initiative updates. */
552 readonly some?: InitiativeUpdatesFilter | null | undefined
553 /** Comparator for the updated at date. */
554 readonly updatedAt?: DateComparator | null | undefined
555 }
556 export interface InitiativeUpdatesCollectionFilterEncoded {
557 readonly and?: readonly InitiativeUpdatesCollectionFilterEncoded[] | null | undefined
558 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
559 readonly every?: InitiativeUpdatesFilterEncoded | null | undefined
560 readonly id?: typeof IDComparator.Encoded | null | undefined
561 readonly length?: typeof NumberComparator.Encoded | null | undefined
562 readonly or?: readonly InitiativeUpdatesCollectionFilterEncoded[] | null | undefined
563 readonly some?: InitiativeUpdatesFilterEncoded | null | undefined
564 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
565 }
566
567 /** Comparator for optional numbers. */
568 export const NullableNumberComparator = Schema.Struct({
569 /** Equals constraint. */
570 eq: Schema.optional(Schema.NullOr(Float)),
571 /** Greater-than constraint. Matches any values that are greater than the given value. */
572 gt: Schema.optional(Schema.NullOr(Float)),
573 /** Greater-than-or-equal constraint. Matches any values that are greater than or equal to the given value. */
574 gte: Schema.optional(Schema.NullOr(Float)),
575 /** In-array constraint. */
576 in: Schema.optional(Schema.NullOr(Schema.Array(Float))),
577 /** Less-than constraint. Matches any values that are less than the given value. */
578 lt: Schema.optional(Schema.NullOr(Float)),
579 /** Less-than-or-equal constraint. Matches any values that are less than or equal to the given value. */
580 lte: Schema.optional(Schema.NullOr(Float)),
581 /** Not-equals constraint. */
582 neq: Schema.optional(Schema.NullOr(Float)),
583 /** Not-in-array constraint. */
584 nin: Schema.optional(Schema.NullOr(Schema.Array(Float))),
585 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
586 null: Schema.optional(Schema.NullOr(Schema.Boolean))
587 })
588 export interface NullableNumberComparator extends Schema.Struct.Type<typeof NullableNumberComparator.fields> {}
589
590 /** Comparator for relation existence. */
591 export const RelationExistsComparator = Schema.Struct({
592 /** Equals constraint. */
593 eq: Schema.optional(Schema.NullOr(Schema.Boolean)),
594 /** Not equals constraint. */
595 neq: Schema.optional(Schema.NullOr(Schema.Boolean))
596 })
597 export interface RelationExistsComparator extends Schema.Struct.Type<typeof RelationExistsComparator.fields> {}
598
599 /** Reaction filtering options. */
600 export const ReactionFilter: Schema.Codec<ReactionFilter, ReactionFilterEncoded> = Schema.Struct({
601 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReactionFilter)))),
602 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
603 customEmojiId: Schema.optional(Schema.NullOr(IDComparator)),
604 emoji: Schema.optional(Schema.NullOr(StringComparator)),
605 id: Schema.optional(Schema.NullOr(IDComparator)),
606 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReactionFilter)))),
607 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
608 })
609 export interface ReactionFilter {
610 /** Compound filters, all of which need to be matched by the reaction. */
611 readonly and?: readonly ReactionFilter[] | null | undefined
612 /** Comparator for the created at date. */
613 readonly createdAt?: DateComparator | null | undefined
614 /** Comparator for the reactions custom emoji. */
615 readonly customEmojiId?: IDComparator | null | undefined
616 /** Comparator for the reactions emoji. */
617 readonly emoji?: StringComparator | null | undefined
618 /** Comparator for the identifier. */
619 readonly id?: IDComparator | null | undefined
620 /** Compound filters, one of which need to be matched by the reaction. */
621 readonly or?: readonly ReactionFilter[] | null | undefined
622 /** Comparator for the updated at date. */
623 readonly updatedAt?: DateComparator | null | undefined
624 }
625 export interface ReactionFilterEncoded {
626 readonly and?: readonly ReactionFilterEncoded[] | null | undefined
627 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
628 readonly customEmojiId?: typeof IDComparator.Encoded | null | undefined
629 readonly emoji?: typeof StringComparator.Encoded | null | undefined
630 readonly id?: typeof IDComparator.Encoded | null | undefined
631 readonly or?: readonly ReactionFilterEncoded[] | null | undefined
632 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
633 }
634
635 /** Reaction filtering options. */
636 export const ReactionCollectionFilter: Schema.Codec<ReactionCollectionFilter, ReactionCollectionFilterEncoded> = Schema.Struct({
637 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReactionCollectionFilter)))),
638 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
639 customEmojiId: Schema.optional(Schema.NullOr(IDComparator)),
640 emoji: Schema.optional(Schema.NullOr(StringComparator)),
641 every: Schema.optional(Schema.NullOr(ReactionFilter)),
642 id: Schema.optional(Schema.NullOr(IDComparator)),
643 length: Schema.optional(Schema.NullOr(NumberComparator)),
644 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReactionCollectionFilter)))),
645 some: Schema.optional(Schema.NullOr(ReactionFilter)),
646 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
647 })
648 export interface ReactionCollectionFilter {
649 /** Compound filters, all of which need to be matched by the reaction. */
650 readonly and?: readonly ReactionCollectionFilter[] | null | undefined
651 /** Comparator for the created at date. */
652 readonly createdAt?: DateComparator | null | undefined
653 /** Comparator for the reactions custom emoji. */
654 readonly customEmojiId?: IDComparator | null | undefined
655 /** Comparator for the reactions emoji. */
656 readonly emoji?: StringComparator | null | undefined
657 /** Filters that needs to be matched by all reactions. */
658 readonly every?: ReactionFilter | null | undefined
659 /** Comparator for the identifier. */
660 readonly id?: IDComparator | null | undefined
661 /** Comparator for the collection length. */
662 readonly length?: NumberComparator | null | undefined
663 /** Compound filters, one of which need to be matched by the reaction. */
664 readonly or?: readonly ReactionCollectionFilter[] | null | undefined
665 /** Filters that needs to be matched by some reactions. */
666 readonly some?: ReactionFilter | null | undefined
667 /** Comparator for the updated at date. */
668 readonly updatedAt?: DateComparator | null | undefined
669 }
670 export interface ReactionCollectionFilterEncoded {
671 readonly and?: readonly ReactionCollectionFilterEncoded[] | null | undefined
672 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
673 readonly customEmojiId?: typeof IDComparator.Encoded | null | undefined
674 readonly emoji?: typeof StringComparator.Encoded | null | undefined
675 readonly every?: ReactionFilterEncoded | null | undefined
676 readonly id?: typeof IDComparator.Encoded | null | undefined
677 readonly length?: typeof NumberComparator.Encoded | null | undefined
678 readonly or?: readonly ReactionCollectionFilterEncoded[] | null | undefined
679 readonly some?: ReactionFilterEncoded | null | undefined
680 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
681 }
682
683 /** Comparator for optional timeless dates. */
684 export const NullableTimelessDateComparator = Schema.Struct({
685 /** Equals constraint. */
686 eq: Schema.optional(Schema.NullOr(TimelessDateOrDuration)),
687 /** Greater-than constraint. Matches any values that are greater than the given value. */
688 gt: Schema.optional(Schema.NullOr(TimelessDateOrDuration)),
689 /** Greater-than-or-equal constraint. Matches any values that are greater than or equal to the given value. */
690 gte: Schema.optional(Schema.NullOr(TimelessDateOrDuration)),
691 /** In-array constraint. */
692 in: Schema.optional(Schema.NullOr(Schema.Array(TimelessDateOrDuration))),
693 /** Less-than constraint. Matches any values that are less than the given value. */
694 lt: Schema.optional(Schema.NullOr(TimelessDateOrDuration)),
695 /** Less-than-or-equal constraint. Matches any values that are less than or equal to the given value. */
696 lte: Schema.optional(Schema.NullOr(TimelessDateOrDuration)),
697 /** Not-equals constraint. */
698 neq: Schema.optional(Schema.NullOr(TimelessDateOrDuration)),
699 /** Not-in-array constraint. */
700 nin: Schema.optional(Schema.NullOr(Schema.Array(TimelessDateOrDuration))),
701 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
702 null: Schema.optional(Schema.NullOr(Schema.Boolean))
703 })
704 export interface NullableTimelessDateComparator extends Schema.Struct.Type<typeof NullableTimelessDateComparator.fields> {}
705
706 /** Comparator for estimates. */
707 export const EstimateComparator = Schema.Struct({
708 /** Compound filters, one of which need to be matched by the estimate. */
709 and: Schema.optional(Schema.NullOr(Schema.Array(NullableNumberComparator))),
710 /** Equals constraint. */
711 eq: Schema.optional(Schema.NullOr(Float)),
712 /** Greater-than constraint. Matches any values that are greater than the given value. */
713 gt: Schema.optional(Schema.NullOr(Float)),
714 /** Greater-than-or-equal constraint. Matches any values that are greater than or equal to the given value. */
715 gte: Schema.optional(Schema.NullOr(Float)),
716 /** In-array constraint. */
717 in: Schema.optional(Schema.NullOr(Schema.Array(Float))),
718 /** Less-than constraint. Matches any values that are less than the given value. */
719 lt: Schema.optional(Schema.NullOr(Float)),
720 /** Less-than-or-equal constraint. Matches any values that are less than or equal to the given value. */
721 lte: Schema.optional(Schema.NullOr(Float)),
722 /** Not-equals constraint. */
723 neq: Schema.optional(Schema.NullOr(Float)),
724 /** Not-in-array constraint. */
725 nin: Schema.optional(Schema.NullOr(Schema.Array(Float))),
726 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
727 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
728 /** Compound filters, all of which need to be matched by the estimate. */
729 or: Schema.optional(Schema.NullOr(Schema.Array(NullableNumberComparator)))
730 })
731 export interface EstimateComparator extends Schema.Struct.Type<typeof EstimateComparator.fields> {}
732
733 /** Comparator for issue identifiers. */
734 export const IssueIDComparator = Schema.Struct({
735 /** Equals constraint. */
736 eq: Schema.optional(Schema.NullOr(ID)),
737 /** In-array constraint. */
738 in: Schema.optional(Schema.NullOr(Schema.Array(ID))),
739 /** Not-equals constraint. */
740 neq: Schema.optional(Schema.NullOr(ID)),
741 /** Not-in-array constraint. */
742 nin: Schema.optional(Schema.NullOr(Schema.Array(ID)))
743 })
744 export interface IssueIDComparator extends Schema.Struct.Type<typeof IssueIDComparator.fields> {}
745
746 /** Comparator for release stage type. */
747 export const ReleaseStageTypeComparator = Schema.Struct({
748 /** Equals constraint. */
749 eq: Schema.optional(Schema.NullOr(ReleaseStageType)),
750 /** In-array constraint. */
751 in: Schema.optional(Schema.NullOr(Schema.Array(ReleaseStageType))),
752 /** Not-equals constraint. */
753 neq: Schema.optional(Schema.NullOr(ReleaseStageType)),
754 /** Not-in-array constraint. */
755 nin: Schema.optional(Schema.NullOr(Schema.Array(ReleaseStageType))),
756 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
757 null: Schema.optional(Schema.NullOr(Schema.Boolean))
758 })
759 export interface ReleaseStageTypeComparator extends Schema.Struct.Type<typeof ReleaseStageTypeComparator.fields> {}
760
761 /** Release stage filtering options. */
762 export const ReleaseStageFilter: Schema.Codec<ReleaseStageFilter, ReleaseStageFilterEncoded> = Schema.Struct({
763 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReleaseStageFilter)))),
764 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
765 id: Schema.optional(Schema.NullOr(IDComparator)),
766 name: Schema.optional(Schema.NullOr(StringComparator)),
767 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReleaseStageFilter)))),
768 type: Schema.optional(Schema.NullOr(ReleaseStageTypeComparator)),
769 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
770 })
771 export interface ReleaseStageFilter {
772 /** Compound filters, all of which need to be matched by the stage. */
773 readonly and?: readonly ReleaseStageFilter[] | null | undefined
774 /** Comparator for the created at date. */
775 readonly createdAt?: DateComparator | null | undefined
776 /** Comparator for the identifier. */
777 readonly id?: IDComparator | null | undefined
778 /** Comparator for the stage name. */
779 readonly name?: StringComparator | null | undefined
780 /** Compound filters, one of which need to be matched by the stage. */
781 readonly or?: readonly ReleaseStageFilter[] | null | undefined
782 /** Comparator for the stage type. */
783 readonly type?: ReleaseStageTypeComparator | null | undefined
784 /** Comparator for the updated at date. */
785 readonly updatedAt?: DateComparator | null | undefined
786 }
787 export interface ReleaseStageFilterEncoded {
788 readonly and?: readonly ReleaseStageFilterEncoded[] | null | undefined
789 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
790 readonly id?: typeof IDComparator.Encoded | null | undefined
791 readonly name?: typeof StringComparator.Encoded | null | undefined
792 readonly or?: readonly ReleaseStageFilterEncoded[] | null | undefined
793 readonly type?: typeof ReleaseStageTypeComparator.Encoded | null | undefined
794 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
795 }
796
797 /** [Internal] Comparator for content. */
798 export const ContentComparator = Schema.Struct({
799 /** [Internal] Contains constraint. */
800 contains: Schema.optional(Schema.NullOr(Schema.String)),
801 /** [Internal] Not-contains constraint. */
802 notContains: Schema.optional(Schema.NullOr(Schema.String))
803 })
804 export interface ContentComparator extends Schema.Struct.Type<typeof ContentComparator.fields> {}
805
806 /** Comparator for sla status. */
807 export const SlaStatusComparator = Schema.Struct({
808 /** Equals constraint. */
809 eq: Schema.optional(Schema.NullOr(SlaStatus)),
810 /** In-array constraint. */
811 in: Schema.optional(Schema.NullOr(Schema.Array(SlaStatus))),
812 /** Not-equals constraint. */
813 neq: Schema.optional(Schema.NullOr(SlaStatus)),
814 /** Not-in-array constraint. */
815 nin: Schema.optional(Schema.NullOr(Schema.Array(SlaStatus))),
816 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
817 null: Schema.optional(Schema.NullOr(Schema.Boolean))
818 })
819 export interface SlaStatusComparator extends Schema.Struct.Type<typeof SlaStatusComparator.fields> {}
820
821 /** [INTERNAL] Comparator for Salesforce metadata. */
822 export const SalesforceMetadataIntegrationComparator = Schema.Struct({
823 /** Salesforce Case metadata filter */
824 caseMetadata: Schema.optional(Schema.NullOr(JSONObject))
825 })
826 export interface SalesforceMetadataIntegrationComparator extends Schema.Struct.Type<typeof SalesforceMetadataIntegrationComparator.fields> {}
827
828 /** Comparator for source type. */
829 export const SubTypeComparator = Schema.Struct({
830 /** Equals constraint. */
831 eq: Schema.optional(Schema.NullOr(Schema.String)),
832 /** In-array constraint. */
833 in: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
834 /** Not-equals constraint. */
835 neq: Schema.optional(Schema.NullOr(Schema.String)),
836 /** Not-in-array constraint. */
837 nin: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
838 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
839 null: Schema.optional(Schema.NullOr(Schema.Boolean))
840 })
841 export interface SubTypeComparator extends Schema.Struct.Type<typeof SubTypeComparator.fields> {}
842
843 /** Comparator for the workflow definition that created an issue. */
844 export const WorkflowDefinitionIdComparator = Schema.Struct({
845 /** Equals constraint. */
846 eq: Schema.optional(Schema.NullOr(ID)),
847 /** In-array constraint. */
848 in: Schema.optional(Schema.NullOr(Schema.Array(ID))),
849 /** Not-equals constraint. */
850 neq: Schema.optional(Schema.NullOr(ID)),
851 /** Not-in-array constraint. */
852 nin: Schema.optional(Schema.NullOr(Schema.Array(ID))),
853 /** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
854 null: Schema.optional(Schema.NullOr(Schema.Boolean))
855 })
856 export interface WorkflowDefinitionIdComparator extends Schema.Struct.Type<typeof WorkflowDefinitionIdComparator.fields> {}
857
858 /** Comparator for issue source type. */
859 export const SourceMetadataComparator = Schema.Struct({
860 /** Null constraint. When true, matches issues without an external source: issues with no source metadata and issues created through the API, an OAuth application, or a loop. When false, matches issues created by an integration or an intake source such as email. */
861 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
862 /** [INTERNAL] Comparator for the salesforce metadata. */
863 salesforceMetadata: Schema.optional(Schema.NullOr(SalesforceMetadataIntegrationComparator)),
864 /** Comparator for the sub type. */
865 subType: Schema.optional(Schema.NullOr(SubTypeComparator)),
866 /** Comparator for the workflow definition that created the issue. */
867 workflowDefinitionId: Schema.optional(Schema.NullOr(WorkflowDefinitionIdComparator))
868 })
869 export interface SourceMetadataComparator extends Schema.Struct.Type<typeof SourceMetadataComparator.fields> {}
870
871 /** Options for filtering projects by project updates. */
872 export const ProjectUpdatesFilter: Schema.Codec<ProjectUpdatesFilter, ProjectUpdatesFilterEncoded> = Schema.Struct({
873 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectUpdatesFilter)))),
874 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
875 health: Schema.optional(Schema.NullOr(StringComparator)),
876 id: Schema.optional(Schema.NullOr(IDComparator)),
877 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectUpdatesFilter)))),
878 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
879 })
880 export interface ProjectUpdatesFilter {
881 /** Compound filters, all of which need to be matched by the project updates. */
882 readonly and?: readonly ProjectUpdatesFilter[] | null | undefined
883 /** Comparator for the created at date. */
884 readonly createdAt?: DateComparator | null | undefined
885 /** Comparator for the project update health. */
886 readonly health?: StringComparator | null | undefined
887 /** Comparator for the identifier. */
888 readonly id?: IDComparator | null | undefined
889 /** Compound filters, one of which need to be matched by the project updates. */
890 readonly or?: readonly ProjectUpdatesFilter[] | null | undefined
891 /** Comparator for the updated at date. */
892 readonly updatedAt?: DateComparator | null | undefined
893 }
894 export interface ProjectUpdatesFilterEncoded {
895 readonly and?: readonly ProjectUpdatesFilterEncoded[] | null | undefined
896 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
897 readonly health?: typeof StringComparator.Encoded | null | undefined
898 readonly id?: typeof IDComparator.Encoded | null | undefined
899 readonly or?: readonly ProjectUpdatesFilterEncoded[] | null | undefined
900 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
901 }
902
903 /** Collection filtering options for filtering projects by project updates. */
904 export const ProjectUpdatesCollectionFilter: Schema.Codec<ProjectUpdatesCollectionFilter, ProjectUpdatesCollectionFilterEncoded> = Schema.Struct({
905 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectUpdatesCollectionFilter)))),
906 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
907 every: Schema.optional(Schema.NullOr(ProjectUpdatesFilter)),
908 health: Schema.optional(Schema.NullOr(StringComparator)),
909 id: Schema.optional(Schema.NullOr(IDComparator)),
910 length: Schema.optional(Schema.NullOr(NumberComparator)),
911 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectUpdatesCollectionFilter)))),
912 some: Schema.optional(Schema.NullOr(ProjectUpdatesFilter)),
913 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
914 })
915 export interface ProjectUpdatesCollectionFilter {
916 /** Compound filters, all of which need to be matched by the project update. */
917 readonly and?: readonly ProjectUpdatesCollectionFilter[] | null | undefined
918 /** Comparator for the created at date. */
919 readonly createdAt?: DateComparator | null | undefined
920 /** Filters that needs to be matched by all updates. */
921 readonly every?: ProjectUpdatesFilter | null | undefined
922 /** Comparator for the project update health. */
923 readonly health?: StringComparator | null | undefined
924 /** Comparator for the identifier. */
925 readonly id?: IDComparator | null | undefined
926 /** Comparator for the collection length. */
927 readonly length?: NumberComparator | null | undefined
928 /** Compound filters, one of which need to be matched by the update. */
929 readonly or?: readonly ProjectUpdatesCollectionFilter[] | null | undefined
930 /** Filters that needs to be matched by some updates. */
931 readonly some?: ProjectUpdatesFilter | null | undefined
932 /** Comparator for the updated at date. */
933 readonly updatedAt?: DateComparator | null | undefined
934 }
935 export interface ProjectUpdatesCollectionFilterEncoded {
936 readonly and?: readonly ProjectUpdatesCollectionFilterEncoded[] | null | undefined
937 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
938 readonly every?: ProjectUpdatesFilterEncoded | null | undefined
939 readonly health?: typeof StringComparator.Encoded | null | undefined
940 readonly id?: typeof IDComparator.Encoded | null | undefined
941 readonly length?: typeof NumberComparator.Encoded | null | undefined
942 readonly or?: readonly ProjectUpdatesCollectionFilterEncoded[] | null | undefined
943 readonly some?: ProjectUpdatesFilterEncoded | null | undefined
944 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
945 }
946
947 /** Comparator for strings in arrays. */
948 export const StringItemComparator = Schema.Struct({
949 /** Contains constraint. Matches any values that contain the given string. */
950 contains: Schema.optional(Schema.NullOr(Schema.String)),
951 /** Contains case insensitive constraint. Matches any values that contain the given string case insensitive. */
952 containsIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
953 /** Contains case and accent insensitive constraint. Matches any values that contain the given string case and accent insensitive. */
954 containsIgnoreCaseAndAccent: Schema.optional(Schema.NullOr(Schema.String)),
955 /** Ends with constraint. Matches any values that end with the given string. */
956 endsWith: Schema.optional(Schema.NullOr(Schema.String)),
957 /** Equals constraint. */
958 eq: Schema.optional(Schema.NullOr(Schema.String)),
959 /** Equals case insensitive. Matches any values that matches the given string case insensitive. */
960 eqIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
961 /** In-array constraint. */
962 in: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
963 /** Not-equals constraint. */
964 neq: Schema.optional(Schema.NullOr(Schema.String)),
965 /** Not-equals case insensitive. Matches any values that don't match the given string case insensitive. */
966 neqIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
967 /** Not-in-array constraint. */
968 nin: Schema.optional(Schema.NullOr(Schema.Array(Schema.String))),
969 /** Doesn't contain constraint. Matches any values that don't contain the given string. */
970 notContains: Schema.optional(Schema.NullOr(Schema.String)),
971 /** Doesn't contain case insensitive constraint. Matches any values that don't contain the given string case insensitive. */
972 notContainsIgnoreCase: Schema.optional(Schema.NullOr(Schema.String)),
973 /** Doesn't end with constraint. Matches any values that don't end with the given string. */
974 notEndsWith: Schema.optional(Schema.NullOr(Schema.String)),
975 /** Doesn't start with constraint. Matches any values that don't start with the given string. */
976 notStartsWith: Schema.optional(Schema.NullOr(Schema.String)),
977 /** Starts with constraint. Matches any values that start with the given string. */
978 startsWith: Schema.optional(Schema.NullOr(Schema.String)),
979 /** Starts with case insensitive constraint. Matches any values that start with the given string. */
980 startsWithIgnoreCase: Schema.optional(Schema.NullOr(Schema.String))
981 })
982 export interface StringItemComparator extends Schema.Struct.Type<typeof StringItemComparator.fields> {}
983
984 /** Comparator for strings. */
985 export const StringArrayComparator = Schema.Struct({
986 /** Compound filters, all of which need to be matched. */
987 every: Schema.optional(Schema.NullOr(StringItemComparator)),
988 /** Length of the array. Matches any values that have the given length. */
989 length: Schema.optional(Schema.NullOr(NumberComparator)),
990 /** Compound filters, one of which needs to be matched. */
991 some: Schema.optional(Schema.NullOr(StringItemComparator))
992 })
993 export interface StringArrayComparator extends Schema.Struct.Type<typeof StringArrayComparator.fields> {}
994
995 /** Customer status filtering options. */
996 export const CustomerStatusFilter: Schema.Codec<CustomerStatusFilter, CustomerStatusFilterEncoded> = Schema.Struct({
997 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => CustomerStatusFilter)))),
998 color: Schema.optional(Schema.NullOr(StringComparator)),
999 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
1000 description: Schema.optional(Schema.NullOr(StringComparator)),
1001 id: Schema.optional(Schema.NullOr(IDComparator)),
1002 name: Schema.optional(Schema.NullOr(StringComparator)),
1003 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => CustomerStatusFilter)))),
1004 position: Schema.optional(Schema.NullOr(NumberComparator)),
1005 type: Schema.optional(Schema.NullOr(StringComparator)),
1006 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
1007 })
1008 export interface CustomerStatusFilter {
1009 /** Compound filters, all of which need to be matched by the customer status. */
1010 readonly and?: readonly CustomerStatusFilter[] | null | undefined
1011 /** Comparator for the customer status color. */
1012 readonly color?: StringComparator | null | undefined
1013 /** Comparator for the created at date. */
1014 readonly createdAt?: DateComparator | null | undefined
1015 /** Comparator for the customer status description. */
1016 readonly description?: StringComparator | null | undefined
1017 /** Comparator for the identifier. */
1018 readonly id?: IDComparator | null | undefined
1019 /** Comparator for the customer status name. */
1020 readonly name?: StringComparator | null | undefined
1021 /** Compound filters, one of which needs to be matched by the customer status. */
1022 readonly or?: readonly CustomerStatusFilter[] | null | undefined
1023 /** Comparator for the customer status position. */
1024 readonly position?: NumberComparator | null | undefined
1025 /** Comparator for the customer status type. */
1026 readonly type?: StringComparator | null | undefined
1027 /** Comparator for the updated at date. */
1028 readonly updatedAt?: DateComparator | null | undefined
1029 }
1030 export interface CustomerStatusFilterEncoded {
1031 readonly and?: readonly CustomerStatusFilterEncoded[] | null | undefined
1032 readonly color?: typeof StringComparator.Encoded | null | undefined
1033 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
1034 readonly description?: typeof StringComparator.Encoded | null | undefined
1035 readonly id?: typeof IDComparator.Encoded | null | undefined
1036 readonly name?: typeof StringComparator.Encoded | null | undefined
1037 readonly or?: readonly CustomerStatusFilterEncoded[] | null | undefined
1038 readonly position?: typeof NumberComparator.Encoded | null | undefined
1039 readonly type?: typeof StringComparator.Encoded | null | undefined
1040 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
1041 }
1042
1043 /** Customer tier filtering options. */
1044 export const CustomerTierFilter: Schema.Codec<CustomerTierFilter, CustomerTierFilterEncoded> = Schema.Struct({
1045 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => CustomerTierFilter)))),
1046 color: Schema.optional(Schema.NullOr(StringComparator)),
1047 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
1048 description: Schema.optional(Schema.NullOr(StringComparator)),
1049 displayName: Schema.optional(Schema.NullOr(StringComparator)),
1050 id: Schema.optional(Schema.NullOr(IDComparator)),
1051 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => CustomerTierFilter)))),
1052 position: Schema.optional(Schema.NullOr(NumberComparator)),
1053 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
1054 })
1055 export interface CustomerTierFilter {
1056 /** Compound filters, all of which need to be matched by the customer tier. */
1057 readonly and?: readonly CustomerTierFilter[] | null | undefined
1058 /** Comparator for the customer tier color. */
1059 readonly color?: StringComparator | null | undefined
1060 /** Comparator for the created at date. */
1061 readonly createdAt?: DateComparator | null | undefined
1062 /** Comparator for the customer tier description. */
1063 readonly description?: StringComparator | null | undefined
1064 /** Comparator for the customer tier display name. */
1065 readonly displayName?: StringComparator | null | undefined
1066 /** Comparator for the identifier. */
1067 readonly id?: IDComparator | null | undefined
1068 /** Compound filters, one of which needs to be matched by the customer tier. */
1069 readonly or?: readonly CustomerTierFilter[] | null | undefined
1070 /** Comparator for the customer tier position. */
1071 readonly position?: NumberComparator | null | undefined
1072 /** Comparator for the updated at date. */
1073 readonly updatedAt?: DateComparator | null | undefined
1074 }
1075 export interface CustomerTierFilterEncoded {
1076 readonly and?: readonly CustomerTierFilterEncoded[] | null | undefined
1077 readonly color?: typeof StringComparator.Encoded | null | undefined
1078 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
1079 readonly description?: typeof StringComparator.Encoded | null | undefined
1080 readonly displayName?: typeof StringComparator.Encoded | null | undefined
1081 readonly id?: typeof IDComparator.Encoded | null | undefined
1082 readonly or?: readonly CustomerTierFilterEncoded[] | null | undefined
1083 readonly position?: typeof NumberComparator.Encoded | null | undefined
1084 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
1085 }
1086
1087 /** Issue filtering options. */
1088 export const IssueFilter: Schema.Codec<IssueFilter, IssueFilterEncoded> = Schema.Struct({
1089 accumulatedStateUpdatedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1090 activity: Schema.optional(Schema.NullOr(Schema.suspend(() => ActivityCollectionFilter))),
1091 addedToCycleAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1092 addedToCyclePeriod: Schema.optional(Schema.NullOr(CyclePeriodComparator)),
1093 ageTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
1094 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueFilter)))),
1095 archivedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1096 assignee: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
1097 attachments: Schema.optional(Schema.NullOr(Schema.suspend(() => AttachmentCollectionFilter))),
1098 autoArchivedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1099 autoClosedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1100 canceledAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1101 children: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
1102 comments: Schema.optional(Schema.NullOr(Schema.suspend(() => CommentCollectionFilter))),
1103 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1104 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
1105 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
1106 customerCount: Schema.optional(Schema.NullOr(NumberComparator)),
1107 customerImportantCount: Schema.optional(Schema.NullOr(NumberComparator)),
1108 cycle: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableCycleFilter))),
1109 cycleTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
1110 delegate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
1111 description: Schema.optional(Schema.NullOr(NullableStringComparator)),
1112 dueDate: Schema.optional(Schema.NullOr(NullableTimelessDateComparator)),
1113 estimate: Schema.optional(Schema.NullOr(EstimateComparator)),
1114 hasActiveAgentSessions: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1115 hasBlockedByRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1116 hasBlockingRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1117 hasDismissedAgentSessions: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1118 hasDuplicateRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1119 hasErroredAgentSessions: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1120 hasMergedAgentPullRequests: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1121 hasRelatedRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1122 hasSharedUsers: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1123 hasSuggestedAssignees: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1124 hasSuggestedLabels: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1125 hasSuggestedProjects: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1126 hasSuggestedRelatedIssues: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1127 hasSuggestedSimilarIssues: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1128 hasSuggestedTeams: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1129 id: Schema.optional(Schema.NullOr(IssueIDComparator)),
1130 labels: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueLabelCollectionFilter))),
1131 lastAppliedTemplate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTemplateFilter))),
1132 leadTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
1133 needs: Schema.optional(Schema.NullOr(Schema.suspend(() => CustomerNeedCollectionFilter))),
1134 number: Schema.optional(Schema.NullOr(NumberComparator)),
1135 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueFilter)))),
1136 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableIssueFilter))),
1137 priority: Schema.optional(Schema.NullOr(NullableNumberComparator)),
1138 project: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
1139 projectMilestone: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectMilestoneFilter))),
1140 reactions: Schema.optional(Schema.NullOr(ReactionCollectionFilter)),
1141 recurringIssueTemplate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTemplateFilter))),
1142 releases: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleaseCollectionFilter))),
1143 searchableContent: Schema.optional(Schema.NullOr(ContentComparator)),
1144 sharedWith: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
1145 slaBreachesAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1146 slaStatus: Schema.optional(Schema.NullOr(SlaStatusComparator)),
1147 snoozedBy: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
1148 snoozedUntilAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1149 sourceMetadata: Schema.optional(Schema.NullOr(SourceMetadataComparator)),
1150 startedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1151 state: Schema.optional(Schema.NullOr(Schema.suspend(() => WorkflowStateFilter))),
1152 subscribers: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
1153 suggestions: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueSuggestionCollectionFilter))),
1154 team: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamFilter))),
1155 title: Schema.optional(Schema.NullOr(StringComparator)),
1156 triageTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
1157 triagedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1158 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
1159 })
1160 export interface IssueFilter {
1161 /** [Internal] Comparator for the issue's accumulatedStateUpdatedAt date. */
1162 readonly accumulatedStateUpdatedAt?: NullableDateComparator | null | undefined
1163 /** Filters that the issue's activities must satisfy. */
1164 readonly activity?: ActivityCollectionFilter | null | undefined
1165 /** Comparator for the issues added to cycle at date. */
1166 readonly addedToCycleAt?: NullableDateComparator | null | undefined
1167 /** Comparator for the period when issue was added to a cycle. */
1168 readonly addedToCyclePeriod?: CyclePeriodComparator | null | undefined
1169 /** [Internal] Age (created -> now) comparator, defined if the issue is still open. */
1170 readonly ageTime?: NullableDurationComparator | null | undefined
1171 /** Compound filters, all of which need to be matched by the issue. */
1172 readonly and?: readonly IssueFilter[] | null | undefined
1173 /** Comparator for the issues archived at date. */
1174 readonly archivedAt?: NullableDateComparator | null | undefined
1175 /** Filters that the issues assignee must satisfy. */
1176 readonly assignee?: NullableUserFilter | null | undefined
1177 /** Filters that the issues attachments must satisfy. */
1178 readonly attachments?: AttachmentCollectionFilter | null | undefined
1179 /** Comparator for the issues auto archived at date. */
1180 readonly autoArchivedAt?: NullableDateComparator | null | undefined
1181 /** Comparator for the issues auto closed at date. */
1182 readonly autoClosedAt?: NullableDateComparator | null | undefined
1183 /** Comparator for the issues canceled at date. */
1184 readonly canceledAt?: NullableDateComparator | null | undefined
1185 /** Filters that the child issues must satisfy. */
1186 readonly children?: IssueCollectionFilter | null | undefined
1187 /** Filters that the issues comments must satisfy. */
1188 readonly comments?: CommentCollectionFilter | null | undefined
1189 /** Comparator for the issues completed at date. */
1190 readonly completedAt?: NullableDateComparator | null | undefined
1191 /** Comparator for the created at date. */
1192 readonly createdAt?: DateComparator | null | undefined
1193 /** Filters that the issues creator must satisfy. */
1194 readonly creator?: NullableUserFilter | null | undefined
1195 /** Count of customers */
1196 readonly customerCount?: NumberComparator | null | undefined
1197 /** Count of important customers */
1198 readonly customerImportantCount?: NumberComparator | null | undefined
1199 /** Filters that the issues cycle must satisfy. */
1200 readonly cycle?: NullableCycleFilter | null | undefined
1201 /** [Internal] Cycle time (started -> completed) comparator. */
1202 readonly cycleTime?: NullableDurationComparator | null | undefined
1203 /** Filters that the issue's delegated agent must satisfy. */
1204 readonly delegate?: NullableUserFilter | null | undefined
1205 /** Comparator for the issues description. */
1206 readonly description?: NullableStringComparator | null | undefined
1207 /** Comparator for the issues due date. */
1208 readonly dueDate?: NullableTimelessDateComparator | null | undefined
1209 /** Comparator for the issues estimate. */
1210 readonly estimate?: EstimateComparator | null | undefined
1211 /** [Internal] Comparator for filtering issues bucketed as having active agent sessions, no closed agent pull requests, and no merged agent pull requests. */
1212 readonly hasActiveAgentSessions?: RelationExistsComparator | null | undefined
1213 /** Comparator for filtering issues which are blocked. */
1214 readonly hasBlockedByRelations?: RelationExistsComparator | null | undefined
1215 /** Comparator for filtering issues which are blocking. */
1216 readonly hasBlockingRelations?: RelationExistsComparator | null | undefined
1217 /** [Internal] Comparator for filtering issues bucketed as having all agent sessions dismissed or closed, and no merged agent pull requests. */
1218 readonly hasDismissedAgentSessions?: RelationExistsComparator | null | undefined
1219 /** Comparator for filtering issues which are duplicates. */
1220 readonly hasDuplicateRelations?: RelationExistsComparator | null | undefined
1221 /** [Internal] Comparator for filtering issues bucketed as having an errored agent session, no active sessions, and no merged agent pull requests. */
1222 readonly hasErroredAgentSessions?: RelationExistsComparator | null | undefined
1223 /** [Internal] Comparator for filtering issues which have agent-session-linked pull requests that were merged. */
1224 readonly hasMergedAgentPullRequests?: RelationExistsComparator | null | undefined
1225 /** Comparator for filtering issues with relations. */
1226 readonly hasRelatedRelations?: RelationExistsComparator | null | undefined
1227 /** Comparator for filtering issues which have been shared with users outside of the team. */
1228 readonly hasSharedUsers?: RelationExistsComparator | null | undefined
1229 /** [Internal] Comparator for filtering issues which have suggested assignees. */
1230 readonly hasSuggestedAssignees?: RelationExistsComparator | null | undefined
1231 /** [Internal] Comparator for filtering issues which have suggested labels. */
1232 readonly hasSuggestedLabels?: RelationExistsComparator | null | undefined
1233 /** [Internal] Comparator for filtering issues which have suggested projects. */
1234 readonly hasSuggestedProjects?: RelationExistsComparator | null | undefined
1235 /** [Internal] Comparator for filtering issues which have suggested related issues. */
1236 readonly hasSuggestedRelatedIssues?: RelationExistsComparator | null | undefined
1237 /** [Internal] Comparator for filtering issues which have suggested similar issues. */
1238 readonly hasSuggestedSimilarIssues?: RelationExistsComparator | null | undefined
1239 /** [Internal] Comparator for filtering issues which have suggested teams. */
1240 readonly hasSuggestedTeams?: RelationExistsComparator | null | undefined
1241 /** Comparator for the identifier. */
1242 readonly id?: IssueIDComparator | null | undefined
1243 /** Filters that issue labels must satisfy. */
1244 readonly labels?: IssueLabelCollectionFilter | null | undefined
1245 /** Filters that the last applied template must satisfy. */
1246 readonly lastAppliedTemplate?: NullableTemplateFilter | null | undefined
1247 /** [Internal] Lead time (created -> completed) comparator. */
1248 readonly leadTime?: NullableDurationComparator | null | undefined
1249 /** Filters that the issue's customer needs must satisfy. */
1250 readonly needs?: CustomerNeedCollectionFilter | null | undefined
1251 /** Comparator for the issues number. */
1252 readonly number?: NumberComparator | null | undefined
1253 /** Compound filters, one of which need to be matched by the issue. */
1254 readonly or?: readonly IssueFilter[] | null | undefined
1255 /** Filters that the issue parent must satisfy. */
1256 readonly parent?: NullableIssueFilter | null | undefined
1257 /** Comparator for the issues priority. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
1258 readonly priority?: NullableNumberComparator | null | undefined
1259 /** Filters that the issues project must satisfy. */
1260 readonly project?: NullableProjectFilter | null | undefined
1261 /** Filters that the issues project milestone must satisfy. */
1262 readonly projectMilestone?: NullableProjectMilestoneFilter | null | undefined
1263 /** Filters that the issues reactions must satisfy. */
1264 readonly reactions?: ReactionCollectionFilter | null | undefined
1265 /** [ALPHA] Filters that the recurring issue template must satisfy. */
1266 readonly recurringIssueTemplate?: NullableTemplateFilter | null | undefined
1267 /** Filters that the issue's releases must satisfy. */
1268 readonly releases?: ReleaseCollectionFilter | null | undefined
1269 /** [Internal] Comparator for the issues content. */
1270 readonly searchableContent?: ContentComparator | null | undefined
1271 /** Filters that users the issue has been shared with must satisfy. */
1272 readonly sharedWith?: UserCollectionFilter | null | undefined
1273 /** Comparator for the issue's SLA breach date. */
1274 readonly slaBreachesAt?: NullableDateComparator | null | undefined
1275 /** Comparator for the issues sla status. */
1276 readonly slaStatus?: SlaStatusComparator | null | undefined
1277 /** Filters that the issues snoozer must satisfy. */
1278 readonly snoozedBy?: NullableUserFilter | null | undefined
1279 /** Comparator for the issues snoozed until date. */
1280 readonly snoozedUntilAt?: NullableDateComparator | null | undefined
1281 /** Filters that the source must satisfy. */
1282 readonly sourceMetadata?: SourceMetadataComparator | null | undefined
1283 /** Comparator for the issues started at date. */
1284 readonly startedAt?: NullableDateComparator | null | undefined
1285 /** Filters that the issues state must satisfy. */
1286 readonly state?: WorkflowStateFilter | null | undefined
1287 /** Filters that issue subscribers must satisfy. */
1288 readonly subscribers?: UserCollectionFilter | null | undefined
1289 /** [Internal] Filters that the issue's suggestions must satisfy. */
1290 readonly suggestions?: IssueSuggestionCollectionFilter | null | undefined
1291 /** Filters that the issues team must satisfy. */
1292 readonly team?: TeamFilter | null | undefined
1293 /** Comparator for the issues title. */
1294 readonly title?: StringComparator | null | undefined
1295 /** [Internal] Triage time (entered triaged -> triaged) comparator. */
1296 readonly triageTime?: NullableDurationComparator | null | undefined
1297 /** Comparator for the issues triaged at date. */
1298 readonly triagedAt?: NullableDateComparator | null | undefined
1299 /** Comparator for the updated at date. */
1300 readonly updatedAt?: DateComparator | null | undefined
1301 }
1302 export interface IssueFilterEncoded {
1303 readonly accumulatedStateUpdatedAt?: typeof NullableDateComparator.Encoded | null | undefined
1304 readonly activity?: ActivityCollectionFilterEncoded | null | undefined
1305 readonly addedToCycleAt?: typeof NullableDateComparator.Encoded | null | undefined
1306 readonly addedToCyclePeriod?: typeof CyclePeriodComparator.Encoded | null | undefined
1307 readonly ageTime?: typeof NullableDurationComparator.Encoded | null | undefined
1308 readonly and?: readonly IssueFilterEncoded[] | null | undefined
1309 readonly archivedAt?: typeof NullableDateComparator.Encoded | null | undefined
1310 readonly assignee?: NullableUserFilterEncoded | null | undefined
1311 readonly attachments?: AttachmentCollectionFilterEncoded | null | undefined
1312 readonly autoArchivedAt?: typeof NullableDateComparator.Encoded | null | undefined
1313 readonly autoClosedAt?: typeof NullableDateComparator.Encoded | null | undefined
1314 readonly canceledAt?: typeof NullableDateComparator.Encoded | null | undefined
1315 readonly children?: IssueCollectionFilterEncoded | null | undefined
1316 readonly comments?: CommentCollectionFilterEncoded | null | undefined
1317 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
1318 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
1319 readonly creator?: NullableUserFilterEncoded | null | undefined
1320 readonly customerCount?: typeof NumberComparator.Encoded | null | undefined
1321 readonly customerImportantCount?: typeof NumberComparator.Encoded | null | undefined
1322 readonly cycle?: NullableCycleFilterEncoded | null | undefined
1323 readonly cycleTime?: typeof NullableDurationComparator.Encoded | null | undefined
1324 readonly delegate?: NullableUserFilterEncoded | null | undefined
1325 readonly description?: typeof NullableStringComparator.Encoded | null | undefined
1326 readonly dueDate?: typeof NullableTimelessDateComparator.Encoded | null | undefined
1327 readonly estimate?: typeof EstimateComparator.Encoded | null | undefined
1328 readonly hasActiveAgentSessions?: typeof RelationExistsComparator.Encoded | null | undefined
1329 readonly hasBlockedByRelations?: typeof RelationExistsComparator.Encoded | null | undefined
1330 readonly hasBlockingRelations?: typeof RelationExistsComparator.Encoded | null | undefined
1331 readonly hasDismissedAgentSessions?: typeof RelationExistsComparator.Encoded | null | undefined
1332 readonly hasDuplicateRelations?: typeof RelationExistsComparator.Encoded | null | undefined
1333 readonly hasErroredAgentSessions?: typeof RelationExistsComparator.Encoded | null | undefined
1334 readonly hasMergedAgentPullRequests?: typeof RelationExistsComparator.Encoded | null | undefined
1335 readonly hasRelatedRelations?: typeof RelationExistsComparator.Encoded | null | undefined
1336 readonly hasSharedUsers?: typeof RelationExistsComparator.Encoded | null | undefined
1337 readonly hasSuggestedAssignees?: typeof RelationExistsComparator.Encoded | null | undefined
1338 readonly hasSuggestedLabels?: typeof RelationExistsComparator.Encoded | null | undefined
1339 readonly hasSuggestedProjects?: typeof RelationExistsComparator.Encoded | null | undefined
1340 readonly hasSuggestedRelatedIssues?: typeof RelationExistsComparator.Encoded | null | undefined
1341 readonly hasSuggestedSimilarIssues?: typeof RelationExistsComparator.Encoded | null | undefined
1342 readonly hasSuggestedTeams?: typeof RelationExistsComparator.Encoded | null | undefined
1343 readonly id?: typeof IssueIDComparator.Encoded | null | undefined
1344 readonly labels?: IssueLabelCollectionFilterEncoded | null | undefined
1345 readonly lastAppliedTemplate?: NullableTemplateFilterEncoded | null | undefined
1346 readonly leadTime?: typeof NullableDurationComparator.Encoded | null | undefined
1347 readonly needs?: CustomerNeedCollectionFilterEncoded | null | undefined
1348 readonly number?: typeof NumberComparator.Encoded | null | undefined
1349 readonly or?: readonly IssueFilterEncoded[] | null | undefined
1350 readonly parent?: NullableIssueFilterEncoded | null | undefined
1351 readonly priority?: typeof NullableNumberComparator.Encoded | null | undefined
1352 readonly project?: NullableProjectFilterEncoded | null | undefined
1353 readonly projectMilestone?: NullableProjectMilestoneFilterEncoded | null | undefined
1354 readonly reactions?: ReactionCollectionFilterEncoded | null | undefined
1355 readonly recurringIssueTemplate?: NullableTemplateFilterEncoded | null | undefined
1356 readonly releases?: ReleaseCollectionFilterEncoded | null | undefined
1357 readonly searchableContent?: typeof ContentComparator.Encoded | null | undefined
1358 readonly sharedWith?: UserCollectionFilterEncoded | null | undefined
1359 readonly slaBreachesAt?: typeof NullableDateComparator.Encoded | null | undefined
1360 readonly slaStatus?: typeof SlaStatusComparator.Encoded | null | undefined
1361 readonly snoozedBy?: NullableUserFilterEncoded | null | undefined
1362 readonly snoozedUntilAt?: typeof NullableDateComparator.Encoded | null | undefined
1363 readonly sourceMetadata?: typeof SourceMetadataComparator.Encoded | null | undefined
1364 readonly startedAt?: typeof NullableDateComparator.Encoded | null | undefined
1365 readonly state?: WorkflowStateFilterEncoded | null | undefined
1366 readonly subscribers?: UserCollectionFilterEncoded | null | undefined
1367 readonly suggestions?: IssueSuggestionCollectionFilterEncoded | null | undefined
1368 readonly team?: TeamFilterEncoded | null | undefined
1369 readonly title?: typeof StringComparator.Encoded | null | undefined
1370 readonly triageTime?: typeof NullableDurationComparator.Encoded | null | undefined
1371 readonly triagedAt?: typeof NullableDateComparator.Encoded | null | undefined
1372 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
1373 }
1374
1375 /** Activity collection filtering options. */
1376 export const ActivityCollectionFilter: Schema.Codec<ActivityCollectionFilter, ActivityCollectionFilterEncoded> = Schema.Struct({
1377 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ActivityCollectionFilter)))),
1378 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
1379 every: Schema.optional(Schema.NullOr(Schema.suspend(() => ActivityFilter))),
1380 id: Schema.optional(Schema.NullOr(IDComparator)),
1381 length: Schema.optional(Schema.NullOr(NumberComparator)),
1382 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ActivityCollectionFilter)))),
1383 some: Schema.optional(Schema.NullOr(Schema.suspend(() => ActivityFilter))),
1384 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
1385 user: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter)))
1386 })
1387 export interface ActivityCollectionFilter {
1388 /** Compound filters, all of which need to be matched by the activity. */
1389 readonly and?: readonly ActivityCollectionFilter[] | null | undefined
1390 /** Comparator for the created at date. */
1391 readonly createdAt?: DateComparator | null | undefined
1392 /** Filters that needs to be matched by all activities. */
1393 readonly every?: ActivityFilter | null | undefined
1394 /** Comparator for the identifier. */
1395 readonly id?: IDComparator | null | undefined
1396 /** Comparator for the collection length. */
1397 readonly length?: NumberComparator | null | undefined
1398 /** Compound filters, one of which need to be matched by the activity. */
1399 readonly or?: readonly ActivityCollectionFilter[] | null | undefined
1400 /** Filters that needs to be matched by some activities. */
1401 readonly some?: ActivityFilter | null | undefined
1402 /** Comparator for the updated at date. */
1403 readonly updatedAt?: DateComparator | null | undefined
1404 /** Filters that the activity's user must satisfy. */
1405 readonly user?: UserFilter | null | undefined
1406 }
1407 export interface ActivityCollectionFilterEncoded {
1408 readonly and?: readonly ActivityCollectionFilterEncoded[] | null | undefined
1409 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
1410 readonly every?: ActivityFilterEncoded | null | undefined
1411 readonly id?: typeof IDComparator.Encoded | null | undefined
1412 readonly length?: typeof NumberComparator.Encoded | null | undefined
1413 readonly or?: readonly ActivityCollectionFilterEncoded[] | null | undefined
1414 readonly some?: ActivityFilterEncoded | null | undefined
1415 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
1416 readonly user?: UserFilterEncoded | null | undefined
1417 }
1418
1419 /** Activity filtering options. */
1420 export const ActivityFilter: Schema.Codec<ActivityFilter, ActivityFilterEncoded> = Schema.Struct({
1421 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ActivityFilter)))),
1422 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
1423 id: Schema.optional(Schema.NullOr(IDComparator)),
1424 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ActivityFilter)))),
1425 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
1426 user: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter)))
1427 })
1428 export interface ActivityFilter {
1429 /** Compound filters, all of which need to be matched by the activity. */
1430 readonly and?: readonly ActivityFilter[] | null | undefined
1431 /** Comparator for the created at date. */
1432 readonly createdAt?: DateComparator | null | undefined
1433 /** Comparator for the identifier. */
1434 readonly id?: IDComparator | null | undefined
1435 /** Compound filters, one of which need to be matched by the activity. */
1436 readonly or?: readonly ActivityFilter[] | null | undefined
1437 /** Comparator for the updated at date. */
1438 readonly updatedAt?: DateComparator | null | undefined
1439 /** Filters that the activity's user must satisfy. */
1440 readonly user?: UserFilter | null | undefined
1441 }
1442 export interface ActivityFilterEncoded {
1443 readonly and?: readonly ActivityFilterEncoded[] | null | undefined
1444 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
1445 readonly id?: typeof IDComparator.Encoded | null | undefined
1446 readonly or?: readonly ActivityFilterEncoded[] | null | undefined
1447 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
1448 readonly user?: UserFilterEncoded | null | undefined
1449 }
1450
1451 /** User filtering options. */
1452 export const UserFilter: Schema.Codec<UserFilter, UserFilterEncoded> = Schema.Struct({
1453 active: Schema.optional(Schema.NullOr(BooleanComparator)),
1454 admin: Schema.optional(Schema.NullOr(BooleanComparator)),
1455 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => UserFilter)))),
1456 app: Schema.optional(Schema.NullOr(BooleanComparator)),
1457 assignedIssues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
1458 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
1459 displayName: Schema.optional(Schema.NullOr(StringComparator)),
1460 email: Schema.optional(Schema.NullOr(StringComparator)),
1461 id: Schema.optional(Schema.NullOr(IDComparator)),
1462 invited: Schema.optional(Schema.NullOr(BooleanComparator)),
1463 isInvited: Schema.optional(Schema.NullOr(BooleanComparator)),
1464 isMe: Schema.optional(Schema.NullOr(BooleanComparator)),
1465 name: Schema.optional(Schema.NullOr(StringComparator)),
1466 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => UserFilter)))),
1467 owner: Schema.optional(Schema.NullOr(BooleanComparator)),
1468 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
1469 })
1470 export interface UserFilter {
1471 /** Comparator for the user's activity status. */
1472 readonly active?: BooleanComparator | null | undefined
1473 /** Comparator for the user's admin status. */
1474 readonly admin?: BooleanComparator | null | undefined
1475 /** Compound filters, all of which need to be matched by the user. */
1476 readonly and?: readonly UserFilter[] | null | undefined
1477 /** Comparator for the user's app status. */
1478 readonly app?: BooleanComparator | null | undefined
1479 /** Filters that the users assigned issues must satisfy. */
1480 readonly assignedIssues?: IssueCollectionFilter | null | undefined
1481 /** Comparator for the created at date. */
1482 readonly createdAt?: DateComparator | null | undefined
1483 /** Comparator for the user's display name. */
1484 readonly displayName?: StringComparator | null | undefined
1485 /** Comparator for the user's email. */
1486 readonly email?: StringComparator | null | undefined
1487 /** Comparator for the identifier. */
1488 readonly id?: IDComparator | null | undefined
1489 /** Comparator for the user's invited status. */
1490 readonly invited?: BooleanComparator | null | undefined
1491 /** Comparator for the user's invited status. */
1492 readonly isInvited?: BooleanComparator | null | undefined
1493 /** Filter based on the currently authenticated user. Set to true to filter for the authenticated user, false for any other user. */
1494 readonly isMe?: BooleanComparator | null | undefined
1495 /** Comparator for the user's name. */
1496 readonly name?: StringComparator | null | undefined
1497 /** Compound filters, one of which need to be matched by the user. */
1498 readonly or?: readonly UserFilter[] | null | undefined
1499 /** Comparator for the user's owner status. */
1500 readonly owner?: BooleanComparator | null | undefined
1501 /** Comparator for the updated at date. */
1502 readonly updatedAt?: DateComparator | null | undefined
1503 }
1504 export interface UserFilterEncoded {
1505 readonly active?: typeof BooleanComparator.Encoded | null | undefined
1506 readonly admin?: typeof BooleanComparator.Encoded | null | undefined
1507 readonly and?: readonly UserFilterEncoded[] | null | undefined
1508 readonly app?: typeof BooleanComparator.Encoded | null | undefined
1509 readonly assignedIssues?: IssueCollectionFilterEncoded | null | undefined
1510 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
1511 readonly displayName?: typeof StringComparator.Encoded | null | undefined
1512 readonly email?: typeof StringComparator.Encoded | null | undefined
1513 readonly id?: typeof IDComparator.Encoded | null | undefined
1514 readonly invited?: typeof BooleanComparator.Encoded | null | undefined
1515 readonly isInvited?: typeof BooleanComparator.Encoded | null | undefined
1516 readonly isMe?: typeof BooleanComparator.Encoded | null | undefined
1517 readonly name?: typeof StringComparator.Encoded | null | undefined
1518 readonly or?: readonly UserFilterEncoded[] | null | undefined
1519 readonly owner?: typeof BooleanComparator.Encoded | null | undefined
1520 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
1521 }
1522
1523 /** Issue filtering options. */
1524 export const IssueCollectionFilter: Schema.Codec<IssueCollectionFilter, IssueCollectionFilterEncoded> = Schema.Struct({
1525 accumulatedStateUpdatedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1526 activity: Schema.optional(Schema.NullOr(Schema.suspend(() => ActivityCollectionFilter))),
1527 addedToCycleAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1528 addedToCyclePeriod: Schema.optional(Schema.NullOr(CyclePeriodComparator)),
1529 ageTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
1530 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueCollectionFilter)))),
1531 archivedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1532 assignee: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
1533 attachments: Schema.optional(Schema.NullOr(Schema.suspend(() => AttachmentCollectionFilter))),
1534 autoArchivedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1535 autoClosedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1536 canceledAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1537 children: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
1538 comments: Schema.optional(Schema.NullOr(Schema.suspend(() => CommentCollectionFilter))),
1539 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1540 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
1541 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
1542 customerCount: Schema.optional(Schema.NullOr(NumberComparator)),
1543 customerImportantCount: Schema.optional(Schema.NullOr(NumberComparator)),
1544 cycle: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableCycleFilter))),
1545 cycleTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
1546 delegate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
1547 description: Schema.optional(Schema.NullOr(NullableStringComparator)),
1548 dueDate: Schema.optional(Schema.NullOr(NullableTimelessDateComparator)),
1549 estimate: Schema.optional(Schema.NullOr(EstimateComparator)),
1550 every: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueFilter))),
1551 hasActiveAgentSessions: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1552 hasBlockedByRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1553 hasBlockingRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1554 hasDismissedAgentSessions: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1555 hasDuplicateRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1556 hasErroredAgentSessions: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1557 hasMergedAgentPullRequests: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1558 hasRelatedRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1559 hasSharedUsers: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1560 hasSuggestedAssignees: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1561 hasSuggestedLabels: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1562 hasSuggestedProjects: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1563 hasSuggestedRelatedIssues: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1564 hasSuggestedSimilarIssues: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1565 hasSuggestedTeams: Schema.optional(Schema.NullOr(RelationExistsComparator)),
1566 id: Schema.optional(Schema.NullOr(IssueIDComparator)),
1567 labels: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueLabelCollectionFilter))),
1568 lastAppliedTemplate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTemplateFilter))),
1569 leadTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
1570 length: Schema.optional(Schema.NullOr(NumberComparator)),
1571 needs: Schema.optional(Schema.NullOr(Schema.suspend(() => CustomerNeedCollectionFilter))),
1572 number: Schema.optional(Schema.NullOr(NumberComparator)),
1573 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueCollectionFilter)))),
1574 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableIssueFilter))),
1575 priority: Schema.optional(Schema.NullOr(NullableNumberComparator)),
1576 project: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
1577 projectMilestone: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectMilestoneFilter))),
1578 reactions: Schema.optional(Schema.NullOr(ReactionCollectionFilter)),
1579 recurringIssueTemplate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTemplateFilter))),
1580 releases: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleaseCollectionFilter))),
1581 searchableContent: Schema.optional(Schema.NullOr(ContentComparator)),
1582 sharedWith: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
1583 slaBreachesAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1584 slaStatus: Schema.optional(Schema.NullOr(SlaStatusComparator)),
1585 snoozedBy: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
1586 snoozedUntilAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1587 some: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueFilter))),
1588 sourceMetadata: Schema.optional(Schema.NullOr(SourceMetadataComparator)),
1589 startedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1590 state: Schema.optional(Schema.NullOr(Schema.suspend(() => WorkflowStateFilter))),
1591 subscribers: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
1592 suggestions: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueSuggestionCollectionFilter))),
1593 team: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamFilter))),
1594 title: Schema.optional(Schema.NullOr(StringComparator)),
1595 triageTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
1596 triagedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
1597 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
1598 })
1599 export interface IssueCollectionFilter {
1600 /** [Internal] Comparator for the issue's accumulatedStateUpdatedAt date. */
1601 readonly accumulatedStateUpdatedAt?: NullableDateComparator | null | undefined
1602 /** Filters that the issue's activities must satisfy. */
1603 readonly activity?: ActivityCollectionFilter | null | undefined
1604 /** Comparator for the issues added to cycle at date. */
1605 readonly addedToCycleAt?: NullableDateComparator | null | undefined
1606 /** Comparator for the period when issue was added to a cycle. */
1607 readonly addedToCyclePeriod?: CyclePeriodComparator | null | undefined
1608 /** [Internal] Age (created -> now) comparator, defined if the issue is still open. */
1609 readonly ageTime?: NullableDurationComparator | null | undefined
1610 /** Compound filters, all of which need to be matched by the issue. */
1611 readonly and?: readonly IssueCollectionFilter[] | null | undefined
1612 /** Comparator for the issues archived at date. */
1613 readonly archivedAt?: NullableDateComparator | null | undefined
1614 /** Filters that the issues assignee must satisfy. */
1615 readonly assignee?: NullableUserFilter | null | undefined
1616 /** Filters that the issues attachments must satisfy. */
1617 readonly attachments?: AttachmentCollectionFilter | null | undefined
1618 /** Comparator for the issues auto archived at date. */
1619 readonly autoArchivedAt?: NullableDateComparator | null | undefined
1620 /** Comparator for the issues auto closed at date. */
1621 readonly autoClosedAt?: NullableDateComparator | null | undefined
1622 /** Comparator for the issues canceled at date. */
1623 readonly canceledAt?: NullableDateComparator | null | undefined
1624 /** Filters that the child issues must satisfy. */
1625 readonly children?: IssueCollectionFilter | null | undefined
1626 /** Filters that the issues comments must satisfy. */
1627 readonly comments?: CommentCollectionFilter | null | undefined
1628 /** Comparator for the issues completed at date. */
1629 readonly completedAt?: NullableDateComparator | null | undefined
1630 /** Comparator for the created at date. */
1631 readonly createdAt?: DateComparator | null | undefined
1632 /** Filters that the issues creator must satisfy. */
1633 readonly creator?: NullableUserFilter | null | undefined
1634 /** Count of customers */
1635 readonly customerCount?: NumberComparator | null | undefined
1636 /** Count of important customers */
1637 readonly customerImportantCount?: NumberComparator | null | undefined
1638 /** Filters that the issues cycle must satisfy. */
1639 readonly cycle?: NullableCycleFilter | null | undefined
1640 /** [Internal] Cycle time (started -> completed) comparator. */
1641 readonly cycleTime?: NullableDurationComparator | null | undefined
1642 /** Filters that the issue's delegated agent must satisfy. */
1643 readonly delegate?: NullableUserFilter | null | undefined
1644 /** Comparator for the issues description. */
1645 readonly description?: NullableStringComparator | null | undefined
1646 /** Comparator for the issues due date. */
1647 readonly dueDate?: NullableTimelessDateComparator | null | undefined
1648 /** Comparator for the issues estimate. */
1649 readonly estimate?: EstimateComparator | null | undefined
1650 /** Filters that needs to be matched by all issues. */
1651 readonly every?: IssueFilter | null | undefined
1652 /** [Internal] Comparator for filtering issues bucketed as having active agent sessions, no closed agent pull requests, and no merged agent pull requests. */
1653 readonly hasActiveAgentSessions?: RelationExistsComparator | null | undefined
1654 /** Comparator for filtering issues which are blocked. */
1655 readonly hasBlockedByRelations?: RelationExistsComparator | null | undefined
1656 /** Comparator for filtering issues which are blocking. */
1657 readonly hasBlockingRelations?: RelationExistsComparator | null | undefined
1658 /** [Internal] Comparator for filtering issues bucketed as having all agent sessions dismissed or closed, and no merged agent pull requests. */
1659 readonly hasDismissedAgentSessions?: RelationExistsComparator | null | undefined
1660 /** Comparator for filtering issues which are duplicates. */
1661 readonly hasDuplicateRelations?: RelationExistsComparator | null | undefined
1662 /** [Internal] Comparator for filtering issues bucketed as having an errored agent session, no active sessions, and no merged agent pull requests. */
1663 readonly hasErroredAgentSessions?: RelationExistsComparator | null | undefined
1664 /** [Internal] Comparator for filtering issues which have agent-session-linked pull requests that were merged. */
1665 readonly hasMergedAgentPullRequests?: RelationExistsComparator | null | undefined
1666 /** Comparator for filtering issues with relations. */
1667 readonly hasRelatedRelations?: RelationExistsComparator | null | undefined
1668 /** Comparator for filtering issues which have been shared with users outside of the team. */
1669 readonly hasSharedUsers?: RelationExistsComparator | null | undefined
1670 /** [Internal] Comparator for filtering issues which have suggested assignees. */
1671 readonly hasSuggestedAssignees?: RelationExistsComparator | null | undefined
1672 /** [Internal] Comparator for filtering issues which have suggested labels. */
1673 readonly hasSuggestedLabels?: RelationExistsComparator | null | undefined
1674 /** [Internal] Comparator for filtering issues which have suggested projects. */
1675 readonly hasSuggestedProjects?: RelationExistsComparator | null | undefined
1676 /** [Internal] Comparator for filtering issues which have suggested related issues. */
1677 readonly hasSuggestedRelatedIssues?: RelationExistsComparator | null | undefined
1678 /** [Internal] Comparator for filtering issues which have suggested similar issues. */
1679 readonly hasSuggestedSimilarIssues?: RelationExistsComparator | null | undefined
1680 /** [Internal] Comparator for filtering issues which have suggested teams. */
1681 readonly hasSuggestedTeams?: RelationExistsComparator | null | undefined
1682 /** Comparator for the identifier. */
1683 readonly id?: IssueIDComparator | null | undefined
1684 /** Filters that issue labels must satisfy. */
1685 readonly labels?: IssueLabelCollectionFilter | null | undefined
1686 /** Filters that the last applied template must satisfy. */
1687 readonly lastAppliedTemplate?: NullableTemplateFilter | null | undefined
1688 /** [Internal] Lead time (created -> completed) comparator. */
1689 readonly leadTime?: NullableDurationComparator | null | undefined
1690 /** Comparator for the collection length. */
1691 readonly length?: NumberComparator | null | undefined
1692 /** Filters that the issue's customer needs must satisfy. */
1693 readonly needs?: CustomerNeedCollectionFilter | null | undefined
1694 /** Comparator for the issues number. */
1695 readonly number?: NumberComparator | null | undefined
1696 /** Compound filters, one of which need to be matched by the issue. */
1697 readonly or?: readonly IssueCollectionFilter[] | null | undefined
1698 /** Filters that the issue parent must satisfy. */
1699 readonly parent?: NullableIssueFilter | null | undefined
1700 /** Comparator for the issues priority. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
1701 readonly priority?: NullableNumberComparator | null | undefined
1702 /** Filters that the issues project must satisfy. */
1703 readonly project?: NullableProjectFilter | null | undefined
1704 /** Filters that the issues project milestone must satisfy. */
1705 readonly projectMilestone?: NullableProjectMilestoneFilter | null | undefined
1706 /** Filters that the issues reactions must satisfy. */
1707 readonly reactions?: ReactionCollectionFilter | null | undefined
1708 /** [ALPHA] Filters that the recurring issue template must satisfy. */
1709 readonly recurringIssueTemplate?: NullableTemplateFilter | null | undefined
1710 /** Filters that the issue's releases must satisfy. */
1711 readonly releases?: ReleaseCollectionFilter | null | undefined
1712 /** [Internal] Comparator for the issues content. */
1713 readonly searchableContent?: ContentComparator | null | undefined
1714 /** Filters that users the issue has been shared with must satisfy. */
1715 readonly sharedWith?: UserCollectionFilter | null | undefined
1716 /** Comparator for the issue's SLA breach date. */
1717 readonly slaBreachesAt?: NullableDateComparator | null | undefined
1718 /** Comparator for the issues sla status. */
1719 readonly slaStatus?: SlaStatusComparator | null | undefined
1720 /** Filters that the issues snoozer must satisfy. */
1721 readonly snoozedBy?: NullableUserFilter | null | undefined
1722 /** Comparator for the issues snoozed until date. */
1723 readonly snoozedUntilAt?: NullableDateComparator | null | undefined
1724 /** Filters that needs to be matched by some issues. */
1725 readonly some?: IssueFilter | null | undefined
1726 /** Filters that the source must satisfy. */
1727 readonly sourceMetadata?: SourceMetadataComparator | null | undefined
1728 /** Comparator for the issues started at date. */
1729 readonly startedAt?: NullableDateComparator | null | undefined
1730 /** Filters that the issues state must satisfy. */
1731 readonly state?: WorkflowStateFilter | null | undefined
1732 /** Filters that issue subscribers must satisfy. */
1733 readonly subscribers?: UserCollectionFilter | null | undefined
1734 /** [Internal] Filters that the issue's suggestions must satisfy. */
1735 readonly suggestions?: IssueSuggestionCollectionFilter | null | undefined
1736 /** Filters that the issues team must satisfy. */
1737 readonly team?: TeamFilter | null | undefined
1738 /** Comparator for the issues title. */
1739 readonly title?: StringComparator | null | undefined
1740 /** [Internal] Triage time (entered triaged -> triaged) comparator. */
1741 readonly triageTime?: NullableDurationComparator | null | undefined
1742 /** Comparator for the issues triaged at date. */
1743 readonly triagedAt?: NullableDateComparator | null | undefined
1744 /** Comparator for the updated at date. */
1745 readonly updatedAt?: DateComparator | null | undefined
1746 }
1747 export interface IssueCollectionFilterEncoded {
1748 readonly accumulatedStateUpdatedAt?: typeof NullableDateComparator.Encoded | null | undefined
1749 readonly activity?: ActivityCollectionFilterEncoded | null | undefined
1750 readonly addedToCycleAt?: typeof NullableDateComparator.Encoded | null | undefined
1751 readonly addedToCyclePeriod?: typeof CyclePeriodComparator.Encoded | null | undefined
1752 readonly ageTime?: typeof NullableDurationComparator.Encoded | null | undefined
1753 readonly and?: readonly IssueCollectionFilterEncoded[] | null | undefined
1754 readonly archivedAt?: typeof NullableDateComparator.Encoded | null | undefined
1755 readonly assignee?: NullableUserFilterEncoded | null | undefined
1756 readonly attachments?: AttachmentCollectionFilterEncoded | null | undefined
1757 readonly autoArchivedAt?: typeof NullableDateComparator.Encoded | null | undefined
1758 readonly autoClosedAt?: typeof NullableDateComparator.Encoded | null | undefined
1759 readonly canceledAt?: typeof NullableDateComparator.Encoded | null | undefined
1760 readonly children?: IssueCollectionFilterEncoded | null | undefined
1761 readonly comments?: CommentCollectionFilterEncoded | null | undefined
1762 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
1763 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
1764 readonly creator?: NullableUserFilterEncoded | null | undefined
1765 readonly customerCount?: typeof NumberComparator.Encoded | null | undefined
1766 readonly customerImportantCount?: typeof NumberComparator.Encoded | null | undefined
1767 readonly cycle?: NullableCycleFilterEncoded | null | undefined
1768 readonly cycleTime?: typeof NullableDurationComparator.Encoded | null | undefined
1769 readonly delegate?: NullableUserFilterEncoded | null | undefined
1770 readonly description?: typeof NullableStringComparator.Encoded | null | undefined
1771 readonly dueDate?: typeof NullableTimelessDateComparator.Encoded | null | undefined
1772 readonly estimate?: typeof EstimateComparator.Encoded | null | undefined
1773 readonly every?: IssueFilterEncoded | null | undefined
1774 readonly hasActiveAgentSessions?: typeof RelationExistsComparator.Encoded | null | undefined
1775 readonly hasBlockedByRelations?: typeof RelationExistsComparator.Encoded | null | undefined
1776 readonly hasBlockingRelations?: typeof RelationExistsComparator.Encoded | null | undefined
1777 readonly hasDismissedAgentSessions?: typeof RelationExistsComparator.Encoded | null | undefined
1778 readonly hasDuplicateRelations?: typeof RelationExistsComparator.Encoded | null | undefined
1779 readonly hasErroredAgentSessions?: typeof RelationExistsComparator.Encoded | null | undefined
1780 readonly hasMergedAgentPullRequests?: typeof RelationExistsComparator.Encoded | null | undefined
1781 readonly hasRelatedRelations?: typeof RelationExistsComparator.Encoded | null | undefined
1782 readonly hasSharedUsers?: typeof RelationExistsComparator.Encoded | null | undefined
1783 readonly hasSuggestedAssignees?: typeof RelationExistsComparator.Encoded | null | undefined
1784 readonly hasSuggestedLabels?: typeof RelationExistsComparator.Encoded | null | undefined
1785 readonly hasSuggestedProjects?: typeof RelationExistsComparator.Encoded | null | undefined
1786 readonly hasSuggestedRelatedIssues?: typeof RelationExistsComparator.Encoded | null | undefined
1787 readonly hasSuggestedSimilarIssues?: typeof RelationExistsComparator.Encoded | null | undefined
1788 readonly hasSuggestedTeams?: typeof RelationExistsComparator.Encoded | null | undefined
1789 readonly id?: typeof IssueIDComparator.Encoded | null | undefined
1790 readonly labels?: IssueLabelCollectionFilterEncoded | null | undefined
1791 readonly lastAppliedTemplate?: NullableTemplateFilterEncoded | null | undefined
1792 readonly leadTime?: typeof NullableDurationComparator.Encoded | null | undefined
1793 readonly length?: typeof NumberComparator.Encoded | null | undefined
1794 readonly needs?: CustomerNeedCollectionFilterEncoded | null | undefined
1795 readonly number?: typeof NumberComparator.Encoded | null | undefined
1796 readonly or?: readonly IssueCollectionFilterEncoded[] | null | undefined
1797 readonly parent?: NullableIssueFilterEncoded | null | undefined
1798 readonly priority?: typeof NullableNumberComparator.Encoded | null | undefined
1799 readonly project?: NullableProjectFilterEncoded | null | undefined
1800 readonly projectMilestone?: NullableProjectMilestoneFilterEncoded | null | undefined
1801 readonly reactions?: ReactionCollectionFilterEncoded | null | undefined
1802 readonly recurringIssueTemplate?: NullableTemplateFilterEncoded | null | undefined
1803 readonly releases?: ReleaseCollectionFilterEncoded | null | undefined
1804 readonly searchableContent?: typeof ContentComparator.Encoded | null | undefined
1805 readonly sharedWith?: UserCollectionFilterEncoded | null | undefined
1806 readonly slaBreachesAt?: typeof NullableDateComparator.Encoded | null | undefined
1807 readonly slaStatus?: typeof SlaStatusComparator.Encoded | null | undefined
1808 readonly snoozedBy?: NullableUserFilterEncoded | null | undefined
1809 readonly snoozedUntilAt?: typeof NullableDateComparator.Encoded | null | undefined
1810 readonly some?: IssueFilterEncoded | null | undefined
1811 readonly sourceMetadata?: typeof SourceMetadataComparator.Encoded | null | undefined
1812 readonly startedAt?: typeof NullableDateComparator.Encoded | null | undefined
1813 readonly state?: WorkflowStateFilterEncoded | null | undefined
1814 readonly subscribers?: UserCollectionFilterEncoded | null | undefined
1815 readonly suggestions?: IssueSuggestionCollectionFilterEncoded | null | undefined
1816 readonly team?: TeamFilterEncoded | null | undefined
1817 readonly title?: typeof StringComparator.Encoded | null | undefined
1818 readonly triageTime?: typeof NullableDurationComparator.Encoded | null | undefined
1819 readonly triagedAt?: typeof NullableDateComparator.Encoded | null | undefined
1820 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
1821 }
1822
1823 /** User filtering options. */
1824 export const NullableUserFilter: Schema.Codec<NullableUserFilter, NullableUserFilterEncoded> = Schema.Struct({
1825 active: Schema.optional(Schema.NullOr(BooleanComparator)),
1826 admin: Schema.optional(Schema.NullOr(BooleanComparator)),
1827 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableUserFilter)))),
1828 app: Schema.optional(Schema.NullOr(BooleanComparator)),
1829 assignedIssues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
1830 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
1831 displayName: Schema.optional(Schema.NullOr(StringComparator)),
1832 email: Schema.optional(Schema.NullOr(StringComparator)),
1833 id: Schema.optional(Schema.NullOr(IDComparator)),
1834 invited: Schema.optional(Schema.NullOr(BooleanComparator)),
1835 isInvited: Schema.optional(Schema.NullOr(BooleanComparator)),
1836 isMe: Schema.optional(Schema.NullOr(BooleanComparator)),
1837 name: Schema.optional(Schema.NullOr(StringComparator)),
1838 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
1839 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableUserFilter)))),
1840 owner: Schema.optional(Schema.NullOr(BooleanComparator)),
1841 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
1842 })
1843 export interface NullableUserFilter {
1844 /** Comparator for the user's activity status. */
1845 readonly active?: BooleanComparator | null | undefined
1846 /** Comparator for the user's admin status. */
1847 readonly admin?: BooleanComparator | null | undefined
1848 /** Compound filters, all of which need to be matched by the user. */
1849 readonly and?: readonly NullableUserFilter[] | null | undefined
1850 /** Comparator for the user's app status. */
1851 readonly app?: BooleanComparator | null | undefined
1852 /** Filters that the users assigned issues must satisfy. */
1853 readonly assignedIssues?: IssueCollectionFilter | null | undefined
1854 /** Comparator for the created at date. */
1855 readonly createdAt?: DateComparator | null | undefined
1856 /** Comparator for the user's display name. */
1857 readonly displayName?: StringComparator | null | undefined
1858 /** Comparator for the user's email. */
1859 readonly email?: StringComparator | null | undefined
1860 /** Comparator for the identifier. */
1861 readonly id?: IDComparator | null | undefined
1862 /** Comparator for the user's invited status. */
1863 readonly invited?: BooleanComparator | null | undefined
1864 /** Comparator for the user's invited status. */
1865 readonly isInvited?: BooleanComparator | null | undefined
1866 /** Filter based on the currently authenticated user. Set to true to filter for the authenticated user, false for any other user. */
1867 readonly isMe?: BooleanComparator | null | undefined
1868 /** Comparator for the user's name. */
1869 readonly name?: StringComparator | null | undefined
1870 /** Filter based on the existence of the relation. */
1871 readonly null?: boolean | null | undefined
1872 /** Compound filters, one of which need to be matched by the user. */
1873 readonly or?: readonly NullableUserFilter[] | null | undefined
1874 /** Comparator for the user's owner status. */
1875 readonly owner?: BooleanComparator | null | undefined
1876 /** Comparator for the updated at date. */
1877 readonly updatedAt?: DateComparator | null | undefined
1878 }
1879 export interface NullableUserFilterEncoded {
1880 readonly active?: typeof BooleanComparator.Encoded | null | undefined
1881 readonly admin?: typeof BooleanComparator.Encoded | null | undefined
1882 readonly and?: readonly NullableUserFilterEncoded[] | null | undefined
1883 readonly app?: typeof BooleanComparator.Encoded | null | undefined
1884 readonly assignedIssues?: IssueCollectionFilterEncoded | null | undefined
1885 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
1886 readonly displayName?: typeof StringComparator.Encoded | null | undefined
1887 readonly email?: typeof StringComparator.Encoded | null | undefined
1888 readonly id?: typeof IDComparator.Encoded | null | undefined
1889 readonly invited?: typeof BooleanComparator.Encoded | null | undefined
1890 readonly isInvited?: typeof BooleanComparator.Encoded | null | undefined
1891 readonly isMe?: typeof BooleanComparator.Encoded | null | undefined
1892 readonly name?: typeof StringComparator.Encoded | null | undefined
1893 readonly null?: boolean | null | undefined
1894 readonly or?: readonly NullableUserFilterEncoded[] | null | undefined
1895 readonly owner?: typeof BooleanComparator.Encoded | null | undefined
1896 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
1897 }
1898
1899 /** Attachment collection filtering options. */
1900 export const AttachmentCollectionFilter: Schema.Codec<AttachmentCollectionFilter, AttachmentCollectionFilterEncoded> = Schema.Struct({
1901 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => AttachmentCollectionFilter)))),
1902 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
1903 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
1904 every: Schema.optional(Schema.NullOr(Schema.suspend(() => AttachmentFilter))),
1905 id: Schema.optional(Schema.NullOr(IDComparator)),
1906 length: Schema.optional(Schema.NullOr(NumberComparator)),
1907 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => AttachmentCollectionFilter)))),
1908 some: Schema.optional(Schema.NullOr(Schema.suspend(() => AttachmentFilter))),
1909 sourceType: Schema.optional(Schema.NullOr(SourceTypeComparator)),
1910 subtitle: Schema.optional(Schema.NullOr(NullableStringComparator)),
1911 title: Schema.optional(Schema.NullOr(StringComparator)),
1912 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
1913 url: Schema.optional(Schema.NullOr(StringComparator))
1914 })
1915 export interface AttachmentCollectionFilter {
1916 /** Compound filters, all of which need to be matched by the attachment. */
1917 readonly and?: readonly AttachmentCollectionFilter[] | null | undefined
1918 /** Comparator for the created at date. */
1919 readonly createdAt?: DateComparator | null | undefined
1920 /** Filters that the attachments creator must satisfy. */
1921 readonly creator?: NullableUserFilter | null | undefined
1922 /** Filters that needs to be matched by all attachments. */
1923 readonly every?: AttachmentFilter | null | undefined
1924 /** Comparator for the identifier. */
1925 readonly id?: IDComparator | null | undefined
1926 /** Comparator for the collection length. */
1927 readonly length?: NumberComparator | null | undefined
1928 /** Compound filters, one of which need to be matched by the attachment. */
1929 readonly or?: readonly AttachmentCollectionFilter[] | null | undefined
1930 /** Filters that needs to be matched by some attachments. */
1931 readonly some?: AttachmentFilter | null | undefined
1932 /** Comparator for the source type. */
1933 readonly sourceType?: SourceTypeComparator | null | undefined
1934 /** Comparator for the subtitle. */
1935 readonly subtitle?: NullableStringComparator | null | undefined
1936 /** Comparator for the title. */
1937 readonly title?: StringComparator | null | undefined
1938 /** Comparator for the updated at date. */
1939 readonly updatedAt?: DateComparator | null | undefined
1940 /** Comparator for the url. */
1941 readonly url?: StringComparator | null | undefined
1942 }
1943 export interface AttachmentCollectionFilterEncoded {
1944 readonly and?: readonly AttachmentCollectionFilterEncoded[] | null | undefined
1945 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
1946 readonly creator?: NullableUserFilterEncoded | null | undefined
1947 readonly every?: AttachmentFilterEncoded | null | undefined
1948 readonly id?: typeof IDComparator.Encoded | null | undefined
1949 readonly length?: typeof NumberComparator.Encoded | null | undefined
1950 readonly or?: readonly AttachmentCollectionFilterEncoded[] | null | undefined
1951 readonly some?: AttachmentFilterEncoded | null | undefined
1952 readonly sourceType?: typeof SourceTypeComparator.Encoded | null | undefined
1953 readonly subtitle?: typeof NullableStringComparator.Encoded | null | undefined
1954 readonly title?: typeof StringComparator.Encoded | null | undefined
1955 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
1956 readonly url?: typeof StringComparator.Encoded | null | undefined
1957 }
1958
1959 /** Attachment filtering options. */
1960 export const AttachmentFilter: Schema.Codec<AttachmentFilter, AttachmentFilterEncoded> = Schema.Struct({
1961 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => AttachmentFilter)))),
1962 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
1963 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
1964 id: Schema.optional(Schema.NullOr(IDComparator)),
1965 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => AttachmentFilter)))),
1966 sourceType: Schema.optional(Schema.NullOr(SourceTypeComparator)),
1967 subtitle: Schema.optional(Schema.NullOr(NullableStringComparator)),
1968 title: Schema.optional(Schema.NullOr(StringComparator)),
1969 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
1970 url: Schema.optional(Schema.NullOr(StringComparator))
1971 })
1972 export interface AttachmentFilter {
1973 /** Compound filters, all of which need to be matched by the attachment. */
1974 readonly and?: readonly AttachmentFilter[] | null | undefined
1975 /** Comparator for the created at date. */
1976 readonly createdAt?: DateComparator | null | undefined
1977 /** Filters that the attachments creator must satisfy. */
1978 readonly creator?: NullableUserFilter | null | undefined
1979 /** Comparator for the identifier. */
1980 readonly id?: IDComparator | null | undefined
1981 /** Compound filters, one of which need to be matched by the attachment. */
1982 readonly or?: readonly AttachmentFilter[] | null | undefined
1983 /** Comparator for the source type. */
1984 readonly sourceType?: SourceTypeComparator | null | undefined
1985 /** Comparator for the subtitle. */
1986 readonly subtitle?: NullableStringComparator | null | undefined
1987 /** Comparator for the title. */
1988 readonly title?: StringComparator | null | undefined
1989 /** Comparator for the updated at date. */
1990 readonly updatedAt?: DateComparator | null | undefined
1991 /** Comparator for the url. */
1992 readonly url?: StringComparator | null | undefined
1993 }
1994 export interface AttachmentFilterEncoded {
1995 readonly and?: readonly AttachmentFilterEncoded[] | null | undefined
1996 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
1997 readonly creator?: NullableUserFilterEncoded | null | undefined
1998 readonly id?: typeof IDComparator.Encoded | null | undefined
1999 readonly or?: readonly AttachmentFilterEncoded[] | null | undefined
2000 readonly sourceType?: typeof SourceTypeComparator.Encoded | null | undefined
2001 readonly subtitle?: typeof NullableStringComparator.Encoded | null | undefined
2002 readonly title?: typeof StringComparator.Encoded | null | undefined
2003 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2004 readonly url?: typeof StringComparator.Encoded | null | undefined
2005 }
2006
2007 /** Comment filtering options. */
2008 export const CommentCollectionFilter: Schema.Codec<CommentCollectionFilter, CommentCollectionFilterEncoded> = Schema.Struct({
2009 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => CommentCollectionFilter)))),
2010 body: Schema.optional(Schema.NullOr(StringComparator)),
2011 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2012 documentContent: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableDocumentContentFilter))),
2013 every: Schema.optional(Schema.NullOr(Schema.suspend(() => CommentFilter))),
2014 id: Schema.optional(Schema.NullOr(IDComparator)),
2015 initiative: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableInitiativeFilter))),
2016 initiativeUpdate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableInitiativeUpdateFilter))),
2017 issue: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableIssueFilter))),
2018 length: Schema.optional(Schema.NullOr(NumberComparator)),
2019 needs: Schema.optional(Schema.NullOr(Schema.suspend(() => CustomerNeedCollectionFilter))),
2020 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => CommentCollectionFilter)))),
2021 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableCommentFilter))),
2022 project: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
2023 projectUpdate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectUpdateFilter))),
2024 reactions: Schema.optional(Schema.NullOr(ReactionCollectionFilter)),
2025 some: Schema.optional(Schema.NullOr(Schema.suspend(() => CommentFilter))),
2026 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
2027 user: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter)))
2028 })
2029 export interface CommentCollectionFilter {
2030 /** Compound filters, all of which need to be matched by the comment. */
2031 readonly and?: readonly CommentCollectionFilter[] | null | undefined
2032 /** Comparator for the comment's body. */
2033 readonly body?: StringComparator | null | undefined
2034 /** Comparator for the created at date. */
2035 readonly createdAt?: DateComparator | null | undefined
2036 /** Filters that the comment's document content must satisfy. */
2037 readonly documentContent?: NullableDocumentContentFilter | null | undefined
2038 /** Filters that needs to be matched by all comments. */
2039 readonly every?: CommentFilter | null | undefined
2040 /** Comparator for the identifier. */
2041 readonly id?: IDComparator | null | undefined
2042 /** [Internal] Filters that the comment's initiative must satisfy. */
2043 readonly initiative?: NullableInitiativeFilter | null | undefined
2044 /** Filters that the comment's initiative update must satisfy. */
2045 readonly initiativeUpdate?: NullableInitiativeUpdateFilter | null | undefined
2046 /** Filters that the comment's issue must satisfy. */
2047 readonly issue?: NullableIssueFilter | null | undefined
2048 /** Comparator for the collection length. */
2049 readonly length?: NumberComparator | null | undefined
2050 /** Filters that the comment's customer needs must satisfy. */
2051 readonly needs?: CustomerNeedCollectionFilter | null | undefined
2052 /** Compound filters, one of which need to be matched by the comment. */
2053 readonly or?: readonly CommentCollectionFilter[] | null | undefined
2054 /** Filters that the comment parent must satisfy. */
2055 readonly parent?: NullableCommentFilter | null | undefined
2056 /** [Internal] Filters that the comment's project must satisfy. */
2057 readonly project?: NullableProjectFilter | null | undefined
2058 /** Filters that the comment's project update must satisfy. */
2059 readonly projectUpdate?: NullableProjectUpdateFilter | null | undefined
2060 /** Filters that the comment's reactions must satisfy. */
2061 readonly reactions?: ReactionCollectionFilter | null | undefined
2062 /** Filters that needs to be matched by some comments. */
2063 readonly some?: CommentFilter | null | undefined
2064 /** Comparator for the updated at date. */
2065 readonly updatedAt?: DateComparator | null | undefined
2066 /** Filters that the comment's creator must satisfy. */
2067 readonly user?: UserFilter | null | undefined
2068 }
2069 export interface CommentCollectionFilterEncoded {
2070 readonly and?: readonly CommentCollectionFilterEncoded[] | null | undefined
2071 readonly body?: typeof StringComparator.Encoded | null | undefined
2072 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2073 readonly documentContent?: NullableDocumentContentFilterEncoded | null | undefined
2074 readonly every?: CommentFilterEncoded | null | undefined
2075 readonly id?: typeof IDComparator.Encoded | null | undefined
2076 readonly initiative?: NullableInitiativeFilterEncoded | null | undefined
2077 readonly initiativeUpdate?: NullableInitiativeUpdateFilterEncoded | null | undefined
2078 readonly issue?: NullableIssueFilterEncoded | null | undefined
2079 readonly length?: typeof NumberComparator.Encoded | null | undefined
2080 readonly needs?: CustomerNeedCollectionFilterEncoded | null | undefined
2081 readonly or?: readonly CommentCollectionFilterEncoded[] | null | undefined
2082 readonly parent?: NullableCommentFilterEncoded | null | undefined
2083 readonly project?: NullableProjectFilterEncoded | null | undefined
2084 readonly projectUpdate?: NullableProjectUpdateFilterEncoded | null | undefined
2085 readonly reactions?: ReactionCollectionFilterEncoded | null | undefined
2086 readonly some?: CommentFilterEncoded | null | undefined
2087 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2088 readonly user?: UserFilterEncoded | null | undefined
2089 }
2090
2091 /** Document content filtering options. */
2092 export const NullableDocumentContentFilter: Schema.Codec<NullableDocumentContentFilter, NullableDocumentContentFilterEncoded> = Schema.Struct({
2093 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableDocumentContentFilter)))),
2094 content: Schema.optional(Schema.NullOr(NullableStringComparator)),
2095 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2096 document: Schema.optional(Schema.NullOr(Schema.suspend(() => DocumentFilter))),
2097 id: Schema.optional(Schema.NullOr(IDComparator)),
2098 initiative: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeFilter))),
2099 issue: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueFilter))),
2100 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
2101 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableDocumentContentFilter)))),
2102 project: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectFilter))),
2103 projectMilestone: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneFilter))),
2104 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
2105 })
2106 export interface NullableDocumentContentFilter {
2107 /** Compound filters, all of which need to be matched by the user. */
2108 readonly and?: readonly NullableDocumentContentFilter[] | null | undefined
2109 /** Comparator for the document content. */
2110 readonly content?: NullableStringComparator | null | undefined
2111 /** Comparator for the created at date. */
2112 readonly createdAt?: DateComparator | null | undefined
2113 /** Filters that the document content document must satisfy. */
2114 readonly document?: DocumentFilter | null | undefined
2115 /** Comparator for the identifier. */
2116 readonly id?: IDComparator | null | undefined
2117 /** Filters that the document content initiative must satisfy. */
2118 readonly initiative?: InitiativeFilter | null | undefined
2119 /** Filters that the document content issue must satisfy. */
2120 readonly issue?: IssueFilter | null | undefined
2121 /** Filter based on the existence of the relation. */
2122 readonly null?: boolean | null | undefined
2123 /** Compound filters, one of which need to be matched by the user. */
2124 readonly or?: readonly NullableDocumentContentFilter[] | null | undefined
2125 /** Filters that the document content project must satisfy. */
2126 readonly project?: ProjectFilter | null | undefined
2127 /** Filters that the document content project milestone must satisfy. */
2128 readonly projectMilestone?: ProjectMilestoneFilter | null | undefined
2129 /** Comparator for the updated at date. */
2130 readonly updatedAt?: DateComparator | null | undefined
2131 }
2132 export interface NullableDocumentContentFilterEncoded {
2133 readonly and?: readonly NullableDocumentContentFilterEncoded[] | null | undefined
2134 readonly content?: typeof NullableStringComparator.Encoded | null | undefined
2135 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2136 readonly document?: DocumentFilterEncoded | null | undefined
2137 readonly id?: typeof IDComparator.Encoded | null | undefined
2138 readonly initiative?: InitiativeFilterEncoded | null | undefined
2139 readonly issue?: IssueFilterEncoded | null | undefined
2140 readonly null?: boolean | null | undefined
2141 readonly or?: readonly NullableDocumentContentFilterEncoded[] | null | undefined
2142 readonly project?: ProjectFilterEncoded | null | undefined
2143 readonly projectMilestone?: ProjectMilestoneFilterEncoded | null | undefined
2144 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2145 }
2146
2147 /** Document filtering options. */
2148 export const DocumentFilter: Schema.Codec<DocumentFilter, DocumentFilterEncoded> = Schema.Struct({
2149 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => DocumentFilter)))),
2150 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2151 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter))),
2152 cycle: Schema.optional(Schema.NullOr(Schema.suspend(() => CycleFilter))),
2153 id: Schema.optional(Schema.NullOr(IDComparator)),
2154 initiative: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeFilter))),
2155 issue: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueFilter))),
2156 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => DocumentFilter)))),
2157 owner: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
2158 project: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectFilter))),
2159 release: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleaseFilter))),
2160 searchableContent: Schema.optional(Schema.NullOr(ContentComparator)),
2161 slugId: Schema.optional(Schema.NullOr(StringComparator)),
2162 team: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
2163 title: Schema.optional(Schema.NullOr(StringComparator)),
2164 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
2165 })
2166 export interface DocumentFilter {
2167 /** Compound filters, all of which need to be matched by the document. */
2168 readonly and?: readonly DocumentFilter[] | null | undefined
2169 /** Comparator for the created at date. */
2170 readonly createdAt?: DateComparator | null | undefined
2171 /** Filters that the document's creator must satisfy. */
2172 readonly creator?: UserFilter | null | undefined
2173 /** Filters that the document's cycle must satisfy. */
2174 readonly cycle?: CycleFilter | null | undefined
2175 /** Comparator for the identifier. */
2176 readonly id?: IDComparator | null | undefined
2177 /** Filters that the document's initiative must satisfy. */
2178 readonly initiative?: InitiativeFilter | null | undefined
2179 /** Filters that the document's issue must satisfy. */
2180 readonly issue?: IssueFilter | null | undefined
2181 /** Compound filters, one of which need to be matched by the document. */
2182 readonly or?: readonly DocumentFilter[] | null | undefined
2183 /** Filters that the document's owner must satisfy. */
2184 readonly owner?: NullableUserFilter | null | undefined
2185 /** Filters that the document's project must satisfy. */
2186 readonly project?: ProjectFilter | null | undefined
2187 /** Filters that the document's release must satisfy. */
2188 readonly release?: ReleaseFilter | null | undefined
2189 /** [Internal] Comparator for the document's searchable content. */
2190 readonly searchableContent?: ContentComparator | null | undefined
2191 /** Comparator for the document slug ID. */
2192 readonly slugId?: StringComparator | null | undefined
2193 /** Filters that the document's team must satisfy. */
2194 readonly team?: NullableTeamFilter | null | undefined
2195 /** Comparator for the document title. */
2196 readonly title?: StringComparator | null | undefined
2197 /** Comparator for the updated at date. */
2198 readonly updatedAt?: DateComparator | null | undefined
2199 }
2200 export interface DocumentFilterEncoded {
2201 readonly and?: readonly DocumentFilterEncoded[] | null | undefined
2202 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2203 readonly creator?: UserFilterEncoded | null | undefined
2204 readonly cycle?: CycleFilterEncoded | null | undefined
2205 readonly id?: typeof IDComparator.Encoded | null | undefined
2206 readonly initiative?: InitiativeFilterEncoded | null | undefined
2207 readonly issue?: IssueFilterEncoded | null | undefined
2208 readonly or?: readonly DocumentFilterEncoded[] | null | undefined
2209 readonly owner?: NullableUserFilterEncoded | null | undefined
2210 readonly project?: ProjectFilterEncoded | null | undefined
2211 readonly release?: ReleaseFilterEncoded | null | undefined
2212 readonly searchableContent?: typeof ContentComparator.Encoded | null | undefined
2213 readonly slugId?: typeof StringComparator.Encoded | null | undefined
2214 readonly team?: NullableTeamFilterEncoded | null | undefined
2215 readonly title?: typeof StringComparator.Encoded | null | undefined
2216 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2217 }
2218
2219 /** Cycle filtering options. */
2220 export const CycleFilter: Schema.Codec<CycleFilter, CycleFilterEncoded> = Schema.Struct({
2221 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => CycleFilter)))),
2222 completedAt: Schema.optional(Schema.NullOr(DateComparator)),
2223 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2224 endsAt: Schema.optional(Schema.NullOr(DateComparator)),
2225 id: Schema.optional(Schema.NullOr(IDComparator)),
2226 inheritedFromId: Schema.optional(Schema.NullOr(IDComparator)),
2227 isActive: Schema.optional(Schema.NullOr(BooleanComparator)),
2228 isFuture: Schema.optional(Schema.NullOr(BooleanComparator)),
2229 isInCooldown: Schema.optional(Schema.NullOr(BooleanComparator)),
2230 isNext: Schema.optional(Schema.NullOr(BooleanComparator)),
2231 isPast: Schema.optional(Schema.NullOr(BooleanComparator)),
2232 isPrevious: Schema.optional(Schema.NullOr(BooleanComparator)),
2233 issues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
2234 name: Schema.optional(Schema.NullOr(StringComparator)),
2235 number: Schema.optional(Schema.NullOr(NumberComparator)),
2236 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => CycleFilter)))),
2237 startsAt: Schema.optional(Schema.NullOr(DateComparator)),
2238 team: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamFilter))),
2239 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
2240 })
2241 export interface CycleFilter {
2242 /** Compound filters, all of which need to be matched by the cycle. */
2243 readonly and?: readonly CycleFilter[] | null | undefined
2244 /** Comparator for the cycle completed at date. */
2245 readonly completedAt?: DateComparator | null | undefined
2246 /** Comparator for the created at date. */
2247 readonly createdAt?: DateComparator | null | undefined
2248 /** Comparator for the cycle ends at date. */
2249 readonly endsAt?: DateComparator | null | undefined
2250 /** Comparator for the identifier. */
2251 readonly id?: IDComparator | null | undefined
2252 /** Comparator for the inherited cycle ID. */
2253 readonly inheritedFromId?: IDComparator | null | undefined
2254 /** Comparator for the filtering active cycle. */
2255 readonly isActive?: BooleanComparator | null | undefined
2256 /** Comparator for the filtering future cycles. */
2257 readonly isFuture?: BooleanComparator | null | undefined
2258 /** Comparator for filtering for whether the cycle is currently in cooldown. */
2259 readonly isInCooldown?: BooleanComparator | null | undefined
2260 /** Comparator for the filtering next cycle. */
2261 readonly isNext?: BooleanComparator | null | undefined
2262 /** Comparator for the filtering past cycles. */
2263 readonly isPast?: BooleanComparator | null | undefined
2264 /** Comparator for the filtering previous cycle. */
2265 readonly isPrevious?: BooleanComparator | null | undefined
2266 /** Filters that the cycles issues must satisfy. */
2267 readonly issues?: IssueCollectionFilter | null | undefined
2268 /** Comparator for the cycle name. */
2269 readonly name?: StringComparator | null | undefined
2270 /** Comparator for the cycle number. */
2271 readonly number?: NumberComparator | null | undefined
2272 /** Compound filters, one of which need to be matched by the cycle. */
2273 readonly or?: readonly CycleFilter[] | null | undefined
2274 /** Comparator for the cycle start date. */
2275 readonly startsAt?: DateComparator | null | undefined
2276 /** Filters that the cycles team must satisfy. */
2277 readonly team?: TeamFilter | null | undefined
2278 /** Comparator for the updated at date. */
2279 readonly updatedAt?: DateComparator | null | undefined
2280 }
2281 export interface CycleFilterEncoded {
2282 readonly and?: readonly CycleFilterEncoded[] | null | undefined
2283 readonly completedAt?: typeof DateComparator.Encoded | null | undefined
2284 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2285 readonly endsAt?: typeof DateComparator.Encoded | null | undefined
2286 readonly id?: typeof IDComparator.Encoded | null | undefined
2287 readonly inheritedFromId?: typeof IDComparator.Encoded | null | undefined
2288 readonly isActive?: typeof BooleanComparator.Encoded | null | undefined
2289 readonly isFuture?: typeof BooleanComparator.Encoded | null | undefined
2290 readonly isInCooldown?: typeof BooleanComparator.Encoded | null | undefined
2291 readonly isNext?: typeof BooleanComparator.Encoded | null | undefined
2292 readonly isPast?: typeof BooleanComparator.Encoded | null | undefined
2293 readonly isPrevious?: typeof BooleanComparator.Encoded | null | undefined
2294 readonly issues?: IssueCollectionFilterEncoded | null | undefined
2295 readonly name?: typeof StringComparator.Encoded | null | undefined
2296 readonly number?: typeof NumberComparator.Encoded | null | undefined
2297 readonly or?: readonly CycleFilterEncoded[] | null | undefined
2298 readonly startsAt?: typeof DateComparator.Encoded | null | undefined
2299 readonly team?: TeamFilterEncoded | null | undefined
2300 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2301 }
2302
2303 /** Team filtering options. */
2304 export const TeamFilter: Schema.Codec<TeamFilter, TeamFilterEncoded> = Schema.Struct({
2305 ancestors: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
2306 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => TeamFilter)))),
2307 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2308 description: Schema.optional(Schema.NullOr(NullableStringComparator)),
2309 id: Schema.optional(Schema.NullOr(IDComparator)),
2310 issues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
2311 key: Schema.optional(Schema.NullOr(StringComparator)),
2312 members: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
2313 name: Schema.optional(Schema.NullOr(StringComparator)),
2314 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => TeamFilter)))),
2315 owners: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
2316 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
2317 private: Schema.optional(Schema.NullOr(BooleanComparator)),
2318 releasePipelines: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleasePipelineCollectionFilter))),
2319 restrictedBy: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
2320 retiredAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
2321 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
2322 users: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
2323 visibility: Schema.optional(Schema.NullOr(TeamVisibilityComparator))
2324 })
2325 export interface TeamFilter {
2326 /** Filters that the team's ancestors must satisfy. */
2327 readonly ancestors?: TeamCollectionFilter | null | undefined
2328 /** Compound filters, all of which need to be matched by the team. */
2329 readonly and?: readonly TeamFilter[] | null | undefined
2330 /** Comparator for the created at date. */
2331 readonly createdAt?: DateComparator | null | undefined
2332 /** Comparator for the team description. */
2333 readonly description?: NullableStringComparator | null | undefined
2334 /** Comparator for the identifier. */
2335 readonly id?: IDComparator | null | undefined
2336 /** Filters that the team's issues must satisfy. */
2337 readonly issues?: IssueCollectionFilter | null | undefined
2338 /** Comparator for the team key. */
2339 readonly key?: StringComparator | null | undefined
2340 /** Filters that the team's members must satisfy. */
2341 readonly members?: UserCollectionFilter | null | undefined
2342 /** Comparator for the team name. */
2343 readonly name?: StringComparator | null | undefined
2344 /** Compound filters, one of which need to be matched by the team. */
2345 readonly or?: readonly TeamFilter[] | null | undefined
2346 /** Filters that the team's owners must satisfy. */
2347 readonly owners?: UserCollectionFilter | null | undefined
2348 /** Filters that the team's parent must satisfy. */
2349 readonly parent?: NullableTeamFilter | null | undefined
2350 /** [DEPRECATED] Comparator for the team privacy. */
2351 readonly private?: BooleanComparator | null | undefined
2352 /** Filters that the team's release pipelines must satisfy. */
2353 readonly releasePipelines?: ReleasePipelineCollectionFilter | null | undefined
2354 /** [Internal] Filters that the private team forming this team's visibility boundary must satisfy. Only relevant for non-public teams. */
2355 readonly restrictedBy?: NullableTeamFilter | null | undefined
2356 /** Comparator for the time at which the team was retired. */
2357 readonly retiredAt?: NullableDateComparator | null | undefined
2358 /** Comparator for the updated at date. */
2359 readonly updatedAt?: DateComparator | null | undefined
2360 /** [Internal] Filters that the team's members must satisfy. Alias of `members` matching the filter shape produced by the app; prefer `members`. */
2361 readonly users?: UserCollectionFilter | null | undefined
2362 /** Comparator for the team visibility. */
2363 readonly visibility?: TeamVisibilityComparator | null | undefined
2364 }
2365 export interface TeamFilterEncoded {
2366 readonly ancestors?: TeamCollectionFilterEncoded | null | undefined
2367 readonly and?: readonly TeamFilterEncoded[] | null | undefined
2368 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2369 readonly description?: typeof NullableStringComparator.Encoded | null | undefined
2370 readonly id?: typeof IDComparator.Encoded | null | undefined
2371 readonly issues?: IssueCollectionFilterEncoded | null | undefined
2372 readonly key?: typeof StringComparator.Encoded | null | undefined
2373 readonly members?: UserCollectionFilterEncoded | null | undefined
2374 readonly name?: typeof StringComparator.Encoded | null | undefined
2375 readonly or?: readonly TeamFilterEncoded[] | null | undefined
2376 readonly owners?: UserCollectionFilterEncoded | null | undefined
2377 readonly parent?: NullableTeamFilterEncoded | null | undefined
2378 readonly private?: typeof BooleanComparator.Encoded | null | undefined
2379 readonly releasePipelines?: ReleasePipelineCollectionFilterEncoded | null | undefined
2380 readonly restrictedBy?: NullableTeamFilterEncoded | null | undefined
2381 readonly retiredAt?: typeof NullableDateComparator.Encoded | null | undefined
2382 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2383 readonly users?: UserCollectionFilterEncoded | null | undefined
2384 readonly visibility?: typeof TeamVisibilityComparator.Encoded | null | undefined
2385 }
2386
2387 /** Team collection filtering options. */
2388 export const TeamCollectionFilter: Schema.Codec<TeamCollectionFilter, TeamCollectionFilterEncoded> = Schema.Struct({
2389 ancestors: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
2390 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => TeamCollectionFilter)))),
2391 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2392 every: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamFilter))),
2393 id: Schema.optional(Schema.NullOr(IDComparator)),
2394 length: Schema.optional(Schema.NullOr(NumberComparator)),
2395 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => TeamCollectionFilter)))),
2396 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
2397 some: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamFilter))),
2398 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
2399 })
2400 export interface TeamCollectionFilter {
2401 /** Filters that the team's ancestors must satisfy. */
2402 readonly ancestors?: TeamCollectionFilter | null | undefined
2403 /** Compound filters, all of which need to be matched by the team. */
2404 readonly and?: readonly TeamCollectionFilter[] | null | undefined
2405 /** Comparator for the created at date. */
2406 readonly createdAt?: DateComparator | null | undefined
2407 /** Filters that needs to be matched by all teams. */
2408 readonly every?: TeamFilter | null | undefined
2409 /** Comparator for the identifier. */
2410 readonly id?: IDComparator | null | undefined
2411 /** Comparator for the collection length. */
2412 readonly length?: NumberComparator | null | undefined
2413 /** Compound filters, one of which need to be matched by the team. */
2414 readonly or?: readonly TeamCollectionFilter[] | null | undefined
2415 /** Filters that the teams parent must satisfy. */
2416 readonly parent?: NullableTeamFilter | null | undefined
2417 /** Filters that needs to be matched by some teams. */
2418 readonly some?: TeamFilter | null | undefined
2419 /** Comparator for the updated at date. */
2420 readonly updatedAt?: DateComparator | null | undefined
2421 }
2422 export interface TeamCollectionFilterEncoded {
2423 readonly ancestors?: TeamCollectionFilterEncoded | null | undefined
2424 readonly and?: readonly TeamCollectionFilterEncoded[] | null | undefined
2425 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2426 readonly every?: TeamFilterEncoded | null | undefined
2427 readonly id?: typeof IDComparator.Encoded | null | undefined
2428 readonly length?: typeof NumberComparator.Encoded | null | undefined
2429 readonly or?: readonly TeamCollectionFilterEncoded[] | null | undefined
2430 readonly parent?: NullableTeamFilterEncoded | null | undefined
2431 readonly some?: TeamFilterEncoded | null | undefined
2432 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2433 }
2434
2435 /** Team filtering options. */
2436 export const NullableTeamFilter: Schema.Codec<NullableTeamFilter, NullableTeamFilterEncoded> = Schema.Struct({
2437 ancestors: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
2438 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableTeamFilter)))),
2439 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2440 description: Schema.optional(Schema.NullOr(NullableStringComparator)),
2441 id: Schema.optional(Schema.NullOr(IDComparator)),
2442 issues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
2443 key: Schema.optional(Schema.NullOr(StringComparator)),
2444 members: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
2445 name: Schema.optional(Schema.NullOr(StringComparator)),
2446 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
2447 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableTeamFilter)))),
2448 owners: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
2449 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
2450 private: Schema.optional(Schema.NullOr(BooleanComparator)),
2451 releasePipelines: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleasePipelineCollectionFilter))),
2452 restrictedBy: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
2453 retiredAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
2454 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
2455 users: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
2456 visibility: Schema.optional(Schema.NullOr(TeamVisibilityComparator))
2457 })
2458 export interface NullableTeamFilter {
2459 /** Filters that the team's ancestors must satisfy. */
2460 readonly ancestors?: TeamCollectionFilter | null | undefined
2461 /** Compound filters, all of which need to be matched by the team. */
2462 readonly and?: readonly NullableTeamFilter[] | null | undefined
2463 /** Comparator for the created at date. */
2464 readonly createdAt?: DateComparator | null | undefined
2465 /** Comparator for the team description. */
2466 readonly description?: NullableStringComparator | null | undefined
2467 /** Comparator for the identifier. */
2468 readonly id?: IDComparator | null | undefined
2469 /** Filters that the team's issues must satisfy. */
2470 readonly issues?: IssueCollectionFilter | null | undefined
2471 /** Comparator for the team key. */
2472 readonly key?: StringComparator | null | undefined
2473 /** Filters that the team's members must satisfy. */
2474 readonly members?: UserCollectionFilter | null | undefined
2475 /** Comparator for the team name. */
2476 readonly name?: StringComparator | null | undefined
2477 /** Filter based on the existence of the relation. */
2478 readonly null?: boolean | null | undefined
2479 /** Compound filters, one of which need to be matched by the team. */
2480 readonly or?: readonly NullableTeamFilter[] | null | undefined
2481 /** Filters that the team's owners must satisfy. */
2482 readonly owners?: UserCollectionFilter | null | undefined
2483 /** Filters that the team's parent must satisfy. */
2484 readonly parent?: NullableTeamFilter | null | undefined
2485 /** [DEPRECATED] Comparator for the team privacy. */
2486 readonly private?: BooleanComparator | null | undefined
2487 /** Filters that the team's release pipelines must satisfy. */
2488 readonly releasePipelines?: ReleasePipelineCollectionFilter | null | undefined
2489 /** [Internal] Filters that the private team forming this team's visibility boundary must satisfy. Only relevant for non-public teams. */
2490 readonly restrictedBy?: NullableTeamFilter | null | undefined
2491 /** Comparator for the time at which the team was retired. */
2492 readonly retiredAt?: NullableDateComparator | null | undefined
2493 /** Comparator for the updated at date. */
2494 readonly updatedAt?: DateComparator | null | undefined
2495 /** [Internal] Filters that the team's members must satisfy. Alias of `members` matching the filter shape produced by the app; prefer `members`. */
2496 readonly users?: UserCollectionFilter | null | undefined
2497 /** Comparator for the team visibility. */
2498 readonly visibility?: TeamVisibilityComparator | null | undefined
2499 }
2500 export interface NullableTeamFilterEncoded {
2501 readonly ancestors?: TeamCollectionFilterEncoded | null | undefined
2502 readonly and?: readonly NullableTeamFilterEncoded[] | null | undefined
2503 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2504 readonly description?: typeof NullableStringComparator.Encoded | null | undefined
2505 readonly id?: typeof IDComparator.Encoded | null | undefined
2506 readonly issues?: IssueCollectionFilterEncoded | null | undefined
2507 readonly key?: typeof StringComparator.Encoded | null | undefined
2508 readonly members?: UserCollectionFilterEncoded | null | undefined
2509 readonly name?: typeof StringComparator.Encoded | null | undefined
2510 readonly null?: boolean | null | undefined
2511 readonly or?: readonly NullableTeamFilterEncoded[] | null | undefined
2512 readonly owners?: UserCollectionFilterEncoded | null | undefined
2513 readonly parent?: NullableTeamFilterEncoded | null | undefined
2514 readonly private?: typeof BooleanComparator.Encoded | null | undefined
2515 readonly releasePipelines?: ReleasePipelineCollectionFilterEncoded | null | undefined
2516 readonly restrictedBy?: NullableTeamFilterEncoded | null | undefined
2517 readonly retiredAt?: typeof NullableDateComparator.Encoded | null | undefined
2518 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2519 readonly users?: UserCollectionFilterEncoded | null | undefined
2520 readonly visibility?: typeof TeamVisibilityComparator.Encoded | null | undefined
2521 }
2522
2523 /** User filtering options. */
2524 export const UserCollectionFilter: Schema.Codec<UserCollectionFilter, UserCollectionFilterEncoded> = Schema.Struct({
2525 active: Schema.optional(Schema.NullOr(BooleanComparator)),
2526 admin: Schema.optional(Schema.NullOr(BooleanComparator)),
2527 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => UserCollectionFilter)))),
2528 app: Schema.optional(Schema.NullOr(BooleanComparator)),
2529 assignedIssues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
2530 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2531 displayName: Schema.optional(Schema.NullOr(StringComparator)),
2532 email: Schema.optional(Schema.NullOr(StringComparator)),
2533 every: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter))),
2534 id: Schema.optional(Schema.NullOr(IDComparator)),
2535 invited: Schema.optional(Schema.NullOr(BooleanComparator)),
2536 isInvited: Schema.optional(Schema.NullOr(BooleanComparator)),
2537 isMe: Schema.optional(Schema.NullOr(BooleanComparator)),
2538 length: Schema.optional(Schema.NullOr(NumberComparator)),
2539 name: Schema.optional(Schema.NullOr(StringComparator)),
2540 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => UserCollectionFilter)))),
2541 owner: Schema.optional(Schema.NullOr(BooleanComparator)),
2542 some: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter))),
2543 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
2544 })
2545 export interface UserCollectionFilter {
2546 /** Comparator for the user's activity status. */
2547 readonly active?: BooleanComparator | null | undefined
2548 /** Comparator for the user's admin status. */
2549 readonly admin?: BooleanComparator | null | undefined
2550 /** Compound filters, all of which need to be matched by the user. */
2551 readonly and?: readonly UserCollectionFilter[] | null | undefined
2552 /** Comparator for the user's app status. */
2553 readonly app?: BooleanComparator | null | undefined
2554 /** Filters that the users assigned issues must satisfy. */
2555 readonly assignedIssues?: IssueCollectionFilter | null | undefined
2556 /** Comparator for the created at date. */
2557 readonly createdAt?: DateComparator | null | undefined
2558 /** Comparator for the user's display name. */
2559 readonly displayName?: StringComparator | null | undefined
2560 /** Comparator for the user's email. */
2561 readonly email?: StringComparator | null | undefined
2562 /** Filters that needs to be matched by all users. */
2563 readonly every?: UserFilter | null | undefined
2564 /** Comparator for the identifier. */
2565 readonly id?: IDComparator | null | undefined
2566 /** Comparator for the user's invited status. */
2567 readonly invited?: BooleanComparator | null | undefined
2568 /** Comparator for the user's invited status. */
2569 readonly isInvited?: BooleanComparator | null | undefined
2570 /** Filter based on the currently authenticated user. Set to true to filter for the authenticated user, false for any other user. */
2571 readonly isMe?: BooleanComparator | null | undefined
2572 /** Comparator for the collection length. */
2573 readonly length?: NumberComparator | null | undefined
2574 /** Comparator for the user's name. */
2575 readonly name?: StringComparator | null | undefined
2576 /** Compound filters, one of which need to be matched by the user. */
2577 readonly or?: readonly UserCollectionFilter[] | null | undefined
2578 /** Comparator for the user's owner status. */
2579 readonly owner?: BooleanComparator | null | undefined
2580 /** Filters that needs to be matched by some users. */
2581 readonly some?: UserFilter | null | undefined
2582 /** Comparator for the updated at date. */
2583 readonly updatedAt?: DateComparator | null | undefined
2584 }
2585 export interface UserCollectionFilterEncoded {
2586 readonly active?: typeof BooleanComparator.Encoded | null | undefined
2587 readonly admin?: typeof BooleanComparator.Encoded | null | undefined
2588 readonly and?: readonly UserCollectionFilterEncoded[] | null | undefined
2589 readonly app?: typeof BooleanComparator.Encoded | null | undefined
2590 readonly assignedIssues?: IssueCollectionFilterEncoded | null | undefined
2591 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2592 readonly displayName?: typeof StringComparator.Encoded | null | undefined
2593 readonly email?: typeof StringComparator.Encoded | null | undefined
2594 readonly every?: UserFilterEncoded | null | undefined
2595 readonly id?: typeof IDComparator.Encoded | null | undefined
2596 readonly invited?: typeof BooleanComparator.Encoded | null | undefined
2597 readonly isInvited?: typeof BooleanComparator.Encoded | null | undefined
2598 readonly isMe?: typeof BooleanComparator.Encoded | null | undefined
2599 readonly length?: typeof NumberComparator.Encoded | null | undefined
2600 readonly name?: typeof StringComparator.Encoded | null | undefined
2601 readonly or?: readonly UserCollectionFilterEncoded[] | null | undefined
2602 readonly owner?: typeof BooleanComparator.Encoded | null | undefined
2603 readonly some?: UserFilterEncoded | null | undefined
2604 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2605 }
2606
2607 /** Release pipeline collection filtering options. */
2608 export const ReleasePipelineCollectionFilter: Schema.Codec<ReleasePipelineCollectionFilter, ReleasePipelineCollectionFilterEncoded> = Schema.Struct({
2609 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReleasePipelineCollectionFilter)))),
2610 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2611 every: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleasePipelineFilter))),
2612 id: Schema.optional(Schema.NullOr(IDComparator)),
2613 isProduction: Schema.optional(Schema.NullOr(BooleanComparator)),
2614 length: Schema.optional(Schema.NullOr(NumberComparator)),
2615 name: Schema.optional(Schema.NullOr(StringComparator)),
2616 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReleasePipelineCollectionFilter)))),
2617 some: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleasePipelineFilter))),
2618 teams: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
2619 type: Schema.optional(Schema.NullOr(ReleasePipelineTypeComparator)),
2620 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
2621 })
2622 export interface ReleasePipelineCollectionFilter {
2623 /** Compound filters, all of which need to be matched by the release pipeline. */
2624 readonly and?: readonly ReleasePipelineCollectionFilter[] | null | undefined
2625 /** Comparator for the created at date. */
2626 readonly createdAt?: DateComparator | null | undefined
2627 /** Filters that needs to be matched by all release pipelines. */
2628 readonly every?: ReleasePipelineFilter | null | undefined
2629 /** Comparator for the identifier. */
2630 readonly id?: IDComparator | null | undefined
2631 /** Comparator for the pipeline production flag. */
2632 readonly isProduction?: BooleanComparator | null | undefined
2633 /** Comparator for the collection length. */
2634 readonly length?: NumberComparator | null | undefined
2635 /** Comparator for the pipeline name. */
2636 readonly name?: StringComparator | null | undefined
2637 /** Compound filters, one of which need to be matched by the release pipeline. */
2638 readonly or?: readonly ReleasePipelineCollectionFilter[] | null | undefined
2639 /** Filters that needs to be matched by some release pipelines. */
2640 readonly some?: ReleasePipelineFilter | null | undefined
2641 /** Filters that the release pipeline's teams must satisfy. */
2642 readonly teams?: TeamCollectionFilter | null | undefined
2643 /** Comparator for the pipeline type. */
2644 readonly type?: ReleasePipelineTypeComparator | null | undefined
2645 /** Comparator for the updated at date. */
2646 readonly updatedAt?: DateComparator | null | undefined
2647 }
2648 export interface ReleasePipelineCollectionFilterEncoded {
2649 readonly and?: readonly ReleasePipelineCollectionFilterEncoded[] | null | undefined
2650 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2651 readonly every?: ReleasePipelineFilterEncoded | null | undefined
2652 readonly id?: typeof IDComparator.Encoded | null | undefined
2653 readonly isProduction?: typeof BooleanComparator.Encoded | null | undefined
2654 readonly length?: typeof NumberComparator.Encoded | null | undefined
2655 readonly name?: typeof StringComparator.Encoded | null | undefined
2656 readonly or?: readonly ReleasePipelineCollectionFilterEncoded[] | null | undefined
2657 readonly some?: ReleasePipelineFilterEncoded | null | undefined
2658 readonly teams?: TeamCollectionFilterEncoded | null | undefined
2659 readonly type?: typeof ReleasePipelineTypeComparator.Encoded | null | undefined
2660 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2661 }
2662
2663 /** Release pipeline filtering options. */
2664 export const ReleasePipelineFilter: Schema.Codec<ReleasePipelineFilter, ReleasePipelineFilterEncoded> = Schema.Struct({
2665 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReleasePipelineFilter)))),
2666 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2667 id: Schema.optional(Schema.NullOr(IDComparator)),
2668 isProduction: Schema.optional(Schema.NullOr(BooleanComparator)),
2669 name: Schema.optional(Schema.NullOr(StringComparator)),
2670 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReleasePipelineFilter)))),
2671 teams: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
2672 type: Schema.optional(Schema.NullOr(ReleasePipelineTypeComparator)),
2673 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
2674 })
2675 export interface ReleasePipelineFilter {
2676 /** Compound filters, all of which need to be matched by the pipeline. */
2677 readonly and?: readonly ReleasePipelineFilter[] | null | undefined
2678 /** Comparator for the created at date. */
2679 readonly createdAt?: DateComparator | null | undefined
2680 /** Comparator for the identifier. */
2681 readonly id?: IDComparator | null | undefined
2682 /** Comparator for the pipeline production flag. */
2683 readonly isProduction?: BooleanComparator | null | undefined
2684 /** Comparator for the pipeline name. */
2685 readonly name?: StringComparator | null | undefined
2686 /** Compound filters, one of which need to be matched by the pipeline. */
2687 readonly or?: readonly ReleasePipelineFilter[] | null | undefined
2688 /** Filters that the release pipeline's teams must satisfy. */
2689 readonly teams?: TeamCollectionFilter | null | undefined
2690 /** Comparator for the pipeline type. */
2691 readonly type?: ReleasePipelineTypeComparator | null | undefined
2692 /** Comparator for the updated at date. */
2693 readonly updatedAt?: DateComparator | null | undefined
2694 }
2695 export interface ReleasePipelineFilterEncoded {
2696 readonly and?: readonly ReleasePipelineFilterEncoded[] | null | undefined
2697 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2698 readonly id?: typeof IDComparator.Encoded | null | undefined
2699 readonly isProduction?: typeof BooleanComparator.Encoded | null | undefined
2700 readonly name?: typeof StringComparator.Encoded | null | undefined
2701 readonly or?: readonly ReleasePipelineFilterEncoded[] | null | undefined
2702 readonly teams?: TeamCollectionFilterEncoded | null | undefined
2703 readonly type?: typeof ReleasePipelineTypeComparator.Encoded | null | undefined
2704 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2705 }
2706
2707 /** Initiative filtering options. */
2708 export const InitiativeFilter: Schema.Codec<InitiativeFilter, InitiativeFilterEncoded> = Schema.Struct({
2709 activityType: Schema.optional(Schema.NullOr(StringComparator)),
2710 ancestors: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeCollectionFilter))),
2711 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeFilter)))),
2712 canceledAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
2713 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
2714 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2715 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
2716 customIdentifier: Schema.optional(Schema.NullOr(NullableStringComparator)),
2717 health: Schema.optional(Schema.NullOr(StringComparator)),
2718 healthWithAge: Schema.optional(Schema.NullOr(StringComparator)),
2719 id: Schema.optional(Schema.NullOr(EntityIdentifierIDComparator)),
2720 initiativeUpdates: Schema.optional(Schema.NullOr(InitiativeUpdatesCollectionFilter)),
2721 labels: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeLabelCollectionFilter))),
2722 leadTeam: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
2723 name: Schema.optional(Schema.NullOr(StringComparator)),
2724 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeFilter)))),
2725 owner: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
2726 priority: Schema.optional(Schema.NullOr(NullableNumberComparator)),
2727 projects: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectCollectionFilter))),
2728 slugId: Schema.optional(Schema.NullOr(StringComparator)),
2729 startedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
2730 status: Schema.optional(Schema.NullOr(StringComparator)),
2731 targetDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
2732 teams: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
2733 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
2734 })
2735 export interface InitiativeFilter {
2736 /** Comparator for the initiative activity type. */
2737 readonly activityType?: StringComparator | null | undefined
2738 /** Filters that the initiative must be an ancestor of. */
2739 readonly ancestors?: InitiativeCollectionFilter | null | undefined
2740 /** Compound filters, all of which need to be matched by the initiative. */
2741 readonly and?: readonly InitiativeFilter[] | null | undefined
2742 /** [Internal] Comparator for the initiative canceled at date. */
2743 readonly canceledAt?: NullableDateComparator | null | undefined
2744 /** Comparator for the initiative completed at date. */
2745 readonly completedAt?: NullableDateComparator | null | undefined
2746 /** Comparator for the created at date. */
2747 readonly createdAt?: DateComparator | null | undefined
2748 /** Filters that the initiative creator must satisfy. */
2749 readonly creator?: NullableUserFilter | null | undefined
2750 /** [Internal] Comparator for the initiative's custom identifier. */
2751 readonly customIdentifier?: NullableStringComparator | null | undefined
2752 /** Comparator for the initiative health: onTrack, atRisk, offTrack */
2753 readonly health?: StringComparator | null | undefined
2754 /** Comparator for the initiative health (with age): onTrack, atRisk, offTrack, outdated, noUpdate */
2755 readonly healthWithAge?: StringComparator | null | undefined
2756 /** Comparator for the identifier. */
2757 readonly id?: EntityIdentifierIDComparator | null | undefined
2758 /** Filters that the initiative updates must satisfy. */
2759 readonly initiativeUpdates?: InitiativeUpdatesCollectionFilter | null | undefined
2760 /** Filters that the initiative labels must satisfy. */
2761 readonly labels?: InitiativeLabelCollectionFilter | null | undefined
2762 /** Filters that the initiative lead team must satisfy. */
2763 readonly leadTeam?: NullableTeamFilter | null | undefined
2764 /** Comparator for the initiative name. */
2765 readonly name?: StringComparator | null | undefined
2766 /** Compound filters, one of which need to be matched by the initiative. */
2767 readonly or?: readonly InitiativeFilter[] | null | undefined
2768 /** Filters that the initiative owner must satisfy. */
2769 readonly owner?: NullableUserFilter | null | undefined
2770 /** Comparator for the initiative priority. */
2771 readonly priority?: NullableNumberComparator | null | undefined
2772 /** Filters that the initiative projects must satisfy. */
2773 readonly projects?: ProjectCollectionFilter | null | undefined
2774 /** Comparator for the initiative slug ID. */
2775 readonly slugId?: StringComparator | null | undefined
2776 /** Comparator for the initiative started at date. */
2777 readonly startedAt?: NullableDateComparator | null | undefined
2778 /** Comparator for the initiative status: Proposed, Planned, Active, Completed, Canceled */
2779 readonly status?: StringComparator | null | undefined
2780 /** Comparator for the initiative target date. */
2781 readonly targetDate?: NullableDateComparator | null | undefined
2782 /** Filters that the initiative teams must satisfy. */
2783 readonly teams?: TeamCollectionFilter | null | undefined
2784 /** Comparator for the updated at date. */
2785 readonly updatedAt?: DateComparator | null | undefined
2786 }
2787 export interface InitiativeFilterEncoded {
2788 readonly activityType?: typeof StringComparator.Encoded | null | undefined
2789 readonly ancestors?: InitiativeCollectionFilterEncoded | null | undefined
2790 readonly and?: readonly InitiativeFilterEncoded[] | null | undefined
2791 readonly canceledAt?: typeof NullableDateComparator.Encoded | null | undefined
2792 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
2793 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2794 readonly creator?: NullableUserFilterEncoded | null | undefined
2795 readonly customIdentifier?: typeof NullableStringComparator.Encoded | null | undefined
2796 readonly health?: typeof StringComparator.Encoded | null | undefined
2797 readonly healthWithAge?: typeof StringComparator.Encoded | null | undefined
2798 readonly id?: typeof EntityIdentifierIDComparator.Encoded | null | undefined
2799 readonly initiativeUpdates?: InitiativeUpdatesCollectionFilterEncoded | null | undefined
2800 readonly labels?: InitiativeLabelCollectionFilterEncoded | null | undefined
2801 readonly leadTeam?: NullableTeamFilterEncoded | null | undefined
2802 readonly name?: typeof StringComparator.Encoded | null | undefined
2803 readonly or?: readonly InitiativeFilterEncoded[] | null | undefined
2804 readonly owner?: NullableUserFilterEncoded | null | undefined
2805 readonly priority?: typeof NullableNumberComparator.Encoded | null | undefined
2806 readonly projects?: ProjectCollectionFilterEncoded | null | undefined
2807 readonly slugId?: typeof StringComparator.Encoded | null | undefined
2808 readonly startedAt?: typeof NullableDateComparator.Encoded | null | undefined
2809 readonly status?: typeof StringComparator.Encoded | null | undefined
2810 readonly targetDate?: typeof NullableDateComparator.Encoded | null | undefined
2811 readonly teams?: TeamCollectionFilterEncoded | null | undefined
2812 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2813 }
2814
2815 /** Initiative collection filtering options. */
2816 export const InitiativeCollectionFilter: Schema.Codec<InitiativeCollectionFilter, InitiativeCollectionFilterEncoded> = Schema.Struct({
2817 activityType: Schema.optional(Schema.NullOr(StringComparator)),
2818 ancestors: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeCollectionFilter))),
2819 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeCollectionFilter)))),
2820 canceledAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
2821 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
2822 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2823 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
2824 customIdentifier: Schema.optional(Schema.NullOr(NullableStringComparator)),
2825 every: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeFilter))),
2826 health: Schema.optional(Schema.NullOr(StringComparator)),
2827 healthWithAge: Schema.optional(Schema.NullOr(StringComparator)),
2828 id: Schema.optional(Schema.NullOr(EntityIdentifierIDComparator)),
2829 initiativeUpdates: Schema.optional(Schema.NullOr(InitiativeUpdatesCollectionFilter)),
2830 labels: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeLabelCollectionFilter))),
2831 leadTeam: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
2832 length: Schema.optional(Schema.NullOr(NumberComparator)),
2833 name: Schema.optional(Schema.NullOr(StringComparator)),
2834 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeCollectionFilter)))),
2835 owner: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
2836 priority: Schema.optional(Schema.NullOr(NullableNumberComparator)),
2837 projects: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectCollectionFilter))),
2838 slugId: Schema.optional(Schema.NullOr(StringComparator)),
2839 some: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeFilter))),
2840 startedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
2841 status: Schema.optional(Schema.NullOr(StringComparator)),
2842 targetDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
2843 teams: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
2844 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
2845 })
2846 export interface InitiativeCollectionFilter {
2847 /** Comparator for the initiative activity type. */
2848 readonly activityType?: StringComparator | null | undefined
2849 /** Filters that the initiative must be an ancestor of. */
2850 readonly ancestors?: InitiativeCollectionFilter | null | undefined
2851 /** Compound filters, all of which need to be matched by the initiative. */
2852 readonly and?: readonly InitiativeCollectionFilter[] | null | undefined
2853 /** [Internal] Comparator for the initiative canceled at date. */
2854 readonly canceledAt?: NullableDateComparator | null | undefined
2855 /** Comparator for the initiative completed at date. */
2856 readonly completedAt?: NullableDateComparator | null | undefined
2857 /** Comparator for the created at date. */
2858 readonly createdAt?: DateComparator | null | undefined
2859 /** Filters that the initiative creator must satisfy. */
2860 readonly creator?: NullableUserFilter | null | undefined
2861 /** [Internal] Comparator for the initiative's custom identifier. */
2862 readonly customIdentifier?: NullableStringComparator | null | undefined
2863 /** Filters that needs to be matched by all initiatives. */
2864 readonly every?: InitiativeFilter | null | undefined
2865 /** Comparator for the initiative health: onTrack, atRisk, offTrack */
2866 readonly health?: StringComparator | null | undefined
2867 /** Comparator for the initiative health (with age): onTrack, atRisk, offTrack, outdated, noUpdate */
2868 readonly healthWithAge?: StringComparator | null | undefined
2869 /** Comparator for the identifier. */
2870 readonly id?: EntityIdentifierIDComparator | null | undefined
2871 /** Filters that the initiative updates must satisfy. */
2872 readonly initiativeUpdates?: InitiativeUpdatesCollectionFilter | null | undefined
2873 /** Filters that the initiative labels must satisfy. */
2874 readonly labels?: InitiativeLabelCollectionFilter | null | undefined
2875 /** Filters that the initiative lead team must satisfy. */
2876 readonly leadTeam?: NullableTeamFilter | null | undefined
2877 /** Comparator for the collection length. */
2878 readonly length?: NumberComparator | null | undefined
2879 /** Comparator for the initiative name. */
2880 readonly name?: StringComparator | null | undefined
2881 /** Compound filters, one of which need to be matched by the initiative. */
2882 readonly or?: readonly InitiativeCollectionFilter[] | null | undefined
2883 /** Filters that the initiative owner must satisfy. */
2884 readonly owner?: NullableUserFilter | null | undefined
2885 /** Comparator for the initiative priority. */
2886 readonly priority?: NullableNumberComparator | null | undefined
2887 /** Filters that the initiative projects must satisfy. */
2888 readonly projects?: ProjectCollectionFilter | null | undefined
2889 /** Comparator for the initiative slug ID. */
2890 readonly slugId?: StringComparator | null | undefined
2891 /** Filters that needs to be matched by some initiatives. */
2892 readonly some?: InitiativeFilter | null | undefined
2893 /** Comparator for the initiative started at date. */
2894 readonly startedAt?: NullableDateComparator | null | undefined
2895 /** Comparator for the initiative status: Proposed, Planned, Active, Completed, Canceled */
2896 readonly status?: StringComparator | null | undefined
2897 /** Comparator for the initiative target date. */
2898 readonly targetDate?: NullableDateComparator | null | undefined
2899 /** Filters that the initiative teams must satisfy. */
2900 readonly teams?: TeamCollectionFilter | null | undefined
2901 /** Comparator for the updated at date. */
2902 readonly updatedAt?: DateComparator | null | undefined
2903 }
2904 export interface InitiativeCollectionFilterEncoded {
2905 readonly activityType?: typeof StringComparator.Encoded | null | undefined
2906 readonly ancestors?: InitiativeCollectionFilterEncoded | null | undefined
2907 readonly and?: readonly InitiativeCollectionFilterEncoded[] | null | undefined
2908 readonly canceledAt?: typeof NullableDateComparator.Encoded | null | undefined
2909 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
2910 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2911 readonly creator?: NullableUserFilterEncoded | null | undefined
2912 readonly customIdentifier?: typeof NullableStringComparator.Encoded | null | undefined
2913 readonly every?: InitiativeFilterEncoded | null | undefined
2914 readonly health?: typeof StringComparator.Encoded | null | undefined
2915 readonly healthWithAge?: typeof StringComparator.Encoded | null | undefined
2916 readonly id?: typeof EntityIdentifierIDComparator.Encoded | null | undefined
2917 readonly initiativeUpdates?: InitiativeUpdatesCollectionFilterEncoded | null | undefined
2918 readonly labels?: InitiativeLabelCollectionFilterEncoded | null | undefined
2919 readonly leadTeam?: NullableTeamFilterEncoded | null | undefined
2920 readonly length?: typeof NumberComparator.Encoded | null | undefined
2921 readonly name?: typeof StringComparator.Encoded | null | undefined
2922 readonly or?: readonly InitiativeCollectionFilterEncoded[] | null | undefined
2923 readonly owner?: NullableUserFilterEncoded | null | undefined
2924 readonly priority?: typeof NullableNumberComparator.Encoded | null | undefined
2925 readonly projects?: ProjectCollectionFilterEncoded | null | undefined
2926 readonly slugId?: typeof StringComparator.Encoded | null | undefined
2927 readonly some?: InitiativeFilterEncoded | null | undefined
2928 readonly startedAt?: typeof NullableDateComparator.Encoded | null | undefined
2929 readonly status?: typeof StringComparator.Encoded | null | undefined
2930 readonly targetDate?: typeof NullableDateComparator.Encoded | null | undefined
2931 readonly teams?: TeamCollectionFilterEncoded | null | undefined
2932 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2933 }
2934
2935 /** Initiative label filtering options. */
2936 export const InitiativeLabelCollectionFilter: Schema.Codec<InitiativeLabelCollectionFilter, InitiativeLabelCollectionFilterEncoded> = Schema.Struct({
2937 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeLabelCollectionFilter)))),
2938 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2939 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
2940 every: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeLabelFilter))),
2941 id: Schema.optional(Schema.NullOr(IDComparator)),
2942 isGroup: Schema.optional(Schema.NullOr(BooleanComparator)),
2943 length: Schema.optional(Schema.NullOr(NumberComparator)),
2944 name: Schema.optional(Schema.NullOr(StringComparator)),
2945 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
2946 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeLabelCollectionFilter)))),
2947 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeLabelFilter))),
2948 some: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeLabelCollectionFilter))),
2949 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
2950 })
2951 export interface InitiativeLabelCollectionFilter {
2952 /** Compound filters, all of which need to be matched by the label. */
2953 readonly and?: readonly InitiativeLabelCollectionFilter[] | null | undefined
2954 /** Comparator for the created at date. */
2955 readonly createdAt?: DateComparator | null | undefined
2956 /** Filters that the initiative labels creator must satisfy. */
2957 readonly creator?: NullableUserFilter | null | undefined
2958 /** Filters that needs to be matched by all initiative labels. */
2959 readonly every?: InitiativeLabelFilter | null | undefined
2960 /** Comparator for the identifier. */
2961 readonly id?: IDComparator | null | undefined
2962 /** Comparator for whether the label is a group label. */
2963 readonly isGroup?: BooleanComparator | null | undefined
2964 /** Comparator for the collection length. */
2965 readonly length?: NumberComparator | null | undefined
2966 /** Comparator for the name. */
2967 readonly name?: StringComparator | null | undefined
2968 /** Filter based on the existence of the relation. */
2969 readonly null?: boolean | null | undefined
2970 /** Compound filters, one of which need to be matched by the label. */
2971 readonly or?: readonly InitiativeLabelCollectionFilter[] | null | undefined
2972 /** Filters that the initiative label's parent label must satisfy. */
2973 readonly parent?: InitiativeLabelFilter | null | undefined
2974 /** Filters that needs to be matched by some initiative labels. */
2975 readonly some?: InitiativeLabelCollectionFilter | null | undefined
2976 /** Comparator for the updated at date. */
2977 readonly updatedAt?: DateComparator | null | undefined
2978 }
2979 export interface InitiativeLabelCollectionFilterEncoded {
2980 readonly and?: readonly InitiativeLabelCollectionFilterEncoded[] | null | undefined
2981 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
2982 readonly creator?: NullableUserFilterEncoded | null | undefined
2983 readonly every?: InitiativeLabelFilterEncoded | null | undefined
2984 readonly id?: typeof IDComparator.Encoded | null | undefined
2985 readonly isGroup?: typeof BooleanComparator.Encoded | null | undefined
2986 readonly length?: typeof NumberComparator.Encoded | null | undefined
2987 readonly name?: typeof StringComparator.Encoded | null | undefined
2988 readonly null?: boolean | null | undefined
2989 readonly or?: readonly InitiativeLabelCollectionFilterEncoded[] | null | undefined
2990 readonly parent?: InitiativeLabelFilterEncoded | null | undefined
2991 readonly some?: InitiativeLabelCollectionFilterEncoded | null | undefined
2992 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
2993 }
2994
2995 /** Initiative label filtering options. */
2996 export const InitiativeLabelFilter: Schema.Codec<InitiativeLabelFilter, InitiativeLabelFilterEncoded> = Schema.Struct({
2997 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeLabelFilter)))),
2998 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
2999 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
3000 id: Schema.optional(Schema.NullOr(IDComparator)),
3001 isGroup: Schema.optional(Schema.NullOr(BooleanComparator)),
3002 name: Schema.optional(Schema.NullOr(StringComparator)),
3003 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => InitiativeLabelFilter)))),
3004 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeLabelFilter))),
3005 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
3006 })
3007 export interface InitiativeLabelFilter {
3008 /** Compound filters, all of which need to be matched by the label. */
3009 readonly and?: readonly InitiativeLabelFilter[] | null | undefined
3010 /** Comparator for the created at date. */
3011 readonly createdAt?: DateComparator | null | undefined
3012 /** Filters that the initiative labels creator must satisfy. */
3013 readonly creator?: NullableUserFilter | null | undefined
3014 /** Comparator for the identifier. */
3015 readonly id?: IDComparator | null | undefined
3016 /** Comparator for whether the label is a group label. */
3017 readonly isGroup?: BooleanComparator | null | undefined
3018 /** Comparator for the name. */
3019 readonly name?: StringComparator | null | undefined
3020 /** Compound filters, one of which need to be matched by the label. */
3021 readonly or?: readonly InitiativeLabelFilter[] | null | undefined
3022 /** Filters that the initiative label's parent label must satisfy. */
3023 readonly parent?: InitiativeLabelFilter | null | undefined
3024 /** Comparator for the updated at date. */
3025 readonly updatedAt?: DateComparator | null | undefined
3026 }
3027 export interface InitiativeLabelFilterEncoded {
3028 readonly and?: readonly InitiativeLabelFilterEncoded[] | null | undefined
3029 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3030 readonly creator?: NullableUserFilterEncoded | null | undefined
3031 readonly id?: typeof IDComparator.Encoded | null | undefined
3032 readonly isGroup?: typeof BooleanComparator.Encoded | null | undefined
3033 readonly name?: typeof StringComparator.Encoded | null | undefined
3034 readonly or?: readonly InitiativeLabelFilterEncoded[] | null | undefined
3035 readonly parent?: InitiativeLabelFilterEncoded | null | undefined
3036 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3037 }
3038
3039 /** Project filtering options. */
3040 export const ProjectCollectionFilter: Schema.Codec<ProjectCollectionFilter, ProjectCollectionFilterEncoded> = Schema.Struct({
3041 accessibleTeams: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
3042 activityType: Schema.optional(Schema.NullOr(StringComparator)),
3043 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectCollectionFilter)))),
3044 canceledAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3045 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3046 completedProjectMilestones: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneCollectionFilter))),
3047 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3048 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter))),
3049 customIdentifier: Schema.optional(Schema.NullOr(NullableStringComparator)),
3050 customerCount: Schema.optional(Schema.NullOr(NumberComparator)),
3051 customerImportantCount: Schema.optional(Schema.NullOr(NumberComparator)),
3052 every: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectFilter))),
3053 hasBlockedByRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3054 hasBlockingRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3055 hasDependedOnByRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3056 hasDependsOnRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3057 hasRelatedRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3058 hasViolatedRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3059 health: Schema.optional(Schema.NullOr(StringComparator)),
3060 healthWithAge: Schema.optional(Schema.NullOr(StringComparator)),
3061 id: Schema.optional(Schema.NullOr(EntityIdentifierIDComparator)),
3062 initiatives: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeCollectionFilter))),
3063 issues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
3064 labels: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectLabelCollectionFilter))),
3065 lastAppliedTemplate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTemplateFilter))),
3066 lead: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
3067 leadTeam: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
3068 length: Schema.optional(Schema.NullOr(NumberComparator)),
3069 members: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
3070 name: Schema.optional(Schema.NullOr(StringComparator)),
3071 needs: Schema.optional(Schema.NullOr(Schema.suspend(() => CustomerNeedCollectionFilter))),
3072 nextProjectMilestone: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneFilter))),
3073 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectCollectionFilter)))),
3074 priority: Schema.optional(Schema.NullOr(NullableNumberComparator)),
3075 projectMilestones: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneCollectionFilter))),
3076 projectUpdates: Schema.optional(Schema.NullOr(ProjectUpdatesCollectionFilter)),
3077 roadmaps: Schema.optional(Schema.NullOr(Schema.suspend(() => RoadmapCollectionFilter))),
3078 searchableContent: Schema.optional(Schema.NullOr(ContentComparator)),
3079 slugId: Schema.optional(Schema.NullOr(StringComparator)),
3080 some: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectFilter))),
3081 startDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
3082 startedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3083 state: Schema.optional(Schema.NullOr(StringComparator)),
3084 status: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectStatusFilter))),
3085 targetDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
3086 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
3087 })
3088 export interface ProjectCollectionFilter {
3089 /** Filters that the project's team must satisfy. */
3090 readonly accessibleTeams?: TeamCollectionFilter | null | undefined
3091 /** [ALPHA] Comparator for the project activity type: buzzin, active, some, none */
3092 readonly activityType?: StringComparator | null | undefined
3093 /** Compound filters, all of which need to be matched by the project. */
3094 readonly and?: readonly ProjectCollectionFilter[] | null | undefined
3095 /** Comparator for the project cancelation date. */
3096 readonly canceledAt?: NullableDateComparator | null | undefined
3097 /** Comparator for the project completion date. */
3098 readonly completedAt?: NullableDateComparator | null | undefined
3099 /** Filters that the project's completed milestones must satisfy. */
3100 readonly completedProjectMilestones?: ProjectMilestoneCollectionFilter | null | undefined
3101 /** Comparator for the created at date. */
3102 readonly createdAt?: DateComparator | null | undefined
3103 /** Filters that the projects creator must satisfy. */
3104 readonly creator?: UserFilter | null | undefined
3105 /** [Internal] Comparator for the project's custom identifier. */
3106 readonly customIdentifier?: NullableStringComparator | null | undefined
3107 /** Count of customers */
3108 readonly customerCount?: NumberComparator | null | undefined
3109 /** Count of important customers */
3110 readonly customerImportantCount?: NumberComparator | null | undefined
3111 /** Filters that needs to be matched by all projects. */
3112 readonly every?: ProjectFilter | null | undefined
3113 /** Comparator for filtering projects which are blocked. */
3114 readonly hasBlockedByRelations?: RelationExistsComparator | null | undefined
3115 /** Comparator for filtering projects which are blocking. */
3116 readonly hasBlockingRelations?: RelationExistsComparator | null | undefined
3117 /** [Deprecated] Comparator for filtering projects which this is depended on by. */
3118 readonly hasDependedOnByRelations?: RelationExistsComparator | null | undefined
3119 /** [Deprecated]Comparator for filtering projects which this depends on. */
3120 readonly hasDependsOnRelations?: RelationExistsComparator | null | undefined
3121 /** Comparator for filtering projects with relations. */
3122 readonly hasRelatedRelations?: RelationExistsComparator | null | undefined
3123 /** Comparator for filtering projects with violated dependencies. */
3124 readonly hasViolatedRelations?: RelationExistsComparator | null | undefined
3125 /** Comparator for the project health: onTrack, atRisk, offTrack */
3126 readonly health?: StringComparator | null | undefined
3127 /** Comparator for the project health (with age): onTrack, atRisk, offTrack, outdated, noUpdate */
3128 readonly healthWithAge?: StringComparator | null | undefined
3129 /** Comparator for the identifier. */
3130 readonly id?: EntityIdentifierIDComparator | null | undefined
3131 /** Filters that the projects initiatives must satisfy. */
3132 readonly initiatives?: InitiativeCollectionFilter | null | undefined
3133 /** Filters that the projects issues must satisfy. */
3134 readonly issues?: IssueCollectionFilter | null | undefined
3135 /** Filters that project labels must satisfy. */
3136 readonly labels?: ProjectLabelCollectionFilter | null | undefined
3137 /** Filters that the last applied template must satisfy. */
3138 readonly lastAppliedTemplate?: NullableTemplateFilter | null | undefined
3139 /** Filters that the projects lead must satisfy. */
3140 readonly lead?: NullableUserFilter | null | undefined
3141 /** [ALPHA] Filters that the project's lead team must satisfy. */
3142 readonly leadTeam?: NullableTeamFilter | null | undefined
3143 /** Comparator for the collection length. */
3144 readonly length?: NumberComparator | null | undefined
3145 /** Filters that the projects members must satisfy. */
3146 readonly members?: UserCollectionFilter | null | undefined
3147 /** Comparator for the project name. */
3148 readonly name?: StringComparator | null | undefined
3149 /** Filters that the project's customer needs must satisfy. */
3150 readonly needs?: CustomerNeedCollectionFilter | null | undefined
3151 /** Filters that the project's next milestone must satisfy. */
3152 readonly nextProjectMilestone?: ProjectMilestoneFilter | null | undefined
3153 /** Compound filters, one of which need to be matched by the project. */
3154 readonly or?: readonly ProjectCollectionFilter[] | null | undefined
3155 /** Comparator for the project priority. */
3156 readonly priority?: NullableNumberComparator | null | undefined
3157 /** Filters that the project's milestones must satisfy. */
3158 readonly projectMilestones?: ProjectMilestoneCollectionFilter | null | undefined
3159 /** Comparator for the project updates. */
3160 readonly projectUpdates?: ProjectUpdatesCollectionFilter | null | undefined
3161 /** Filters that the projects roadmaps must satisfy. */
3162 readonly roadmaps?: RoadmapCollectionFilter | null | undefined
3163 /** [Internal] Comparator for the project's content. */
3164 readonly searchableContent?: ContentComparator | null | undefined
3165 /** Comparator for the project slug ID. */
3166 readonly slugId?: StringComparator | null | undefined
3167 /** Filters that needs to be matched by some projects. */
3168 readonly some?: ProjectFilter | null | undefined
3169 /** Comparator for the project start date. */
3170 readonly startDate?: NullableDateComparator | null | undefined
3171 /** Comparator for the project started date (when it was moved to an "In Progress" status). */
3172 readonly startedAt?: NullableDateComparator | null | undefined
3173 /** [DEPRECATED] Comparator for the project state. */
3174 readonly state?: StringComparator | null | undefined
3175 /** Filters that the project status must satisfy. */
3176 readonly status?: ProjectStatusFilter | null | undefined
3177 /** Comparator for the project target date. */
3178 readonly targetDate?: NullableDateComparator | null | undefined
3179 /** Comparator for the updated at date. */
3180 readonly updatedAt?: DateComparator | null | undefined
3181 }
3182 export interface ProjectCollectionFilterEncoded {
3183 readonly accessibleTeams?: TeamCollectionFilterEncoded | null | undefined
3184 readonly activityType?: typeof StringComparator.Encoded | null | undefined
3185 readonly and?: readonly ProjectCollectionFilterEncoded[] | null | undefined
3186 readonly canceledAt?: typeof NullableDateComparator.Encoded | null | undefined
3187 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
3188 readonly completedProjectMilestones?: ProjectMilestoneCollectionFilterEncoded | null | undefined
3189 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3190 readonly creator?: UserFilterEncoded | null | undefined
3191 readonly customIdentifier?: typeof NullableStringComparator.Encoded | null | undefined
3192 readonly customerCount?: typeof NumberComparator.Encoded | null | undefined
3193 readonly customerImportantCount?: typeof NumberComparator.Encoded | null | undefined
3194 readonly every?: ProjectFilterEncoded | null | undefined
3195 readonly hasBlockedByRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3196 readonly hasBlockingRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3197 readonly hasDependedOnByRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3198 readonly hasDependsOnRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3199 readonly hasRelatedRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3200 readonly hasViolatedRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3201 readonly health?: typeof StringComparator.Encoded | null | undefined
3202 readonly healthWithAge?: typeof StringComparator.Encoded | null | undefined
3203 readonly id?: typeof EntityIdentifierIDComparator.Encoded | null | undefined
3204 readonly initiatives?: InitiativeCollectionFilterEncoded | null | undefined
3205 readonly issues?: IssueCollectionFilterEncoded | null | undefined
3206 readonly labels?: ProjectLabelCollectionFilterEncoded | null | undefined
3207 readonly lastAppliedTemplate?: NullableTemplateFilterEncoded | null | undefined
3208 readonly lead?: NullableUserFilterEncoded | null | undefined
3209 readonly leadTeam?: NullableTeamFilterEncoded | null | undefined
3210 readonly length?: typeof NumberComparator.Encoded | null | undefined
3211 readonly members?: UserCollectionFilterEncoded | null | undefined
3212 readonly name?: typeof StringComparator.Encoded | null | undefined
3213 readonly needs?: CustomerNeedCollectionFilterEncoded | null | undefined
3214 readonly nextProjectMilestone?: ProjectMilestoneFilterEncoded | null | undefined
3215 readonly or?: readonly ProjectCollectionFilterEncoded[] | null | undefined
3216 readonly priority?: typeof NullableNumberComparator.Encoded | null | undefined
3217 readonly projectMilestones?: ProjectMilestoneCollectionFilterEncoded | null | undefined
3218 readonly projectUpdates?: ProjectUpdatesCollectionFilterEncoded | null | undefined
3219 readonly roadmaps?: RoadmapCollectionFilterEncoded | null | undefined
3220 readonly searchableContent?: typeof ContentComparator.Encoded | null | undefined
3221 readonly slugId?: typeof StringComparator.Encoded | null | undefined
3222 readonly some?: ProjectFilterEncoded | null | undefined
3223 readonly startDate?: typeof NullableDateComparator.Encoded | null | undefined
3224 readonly startedAt?: typeof NullableDateComparator.Encoded | null | undefined
3225 readonly state?: typeof StringComparator.Encoded | null | undefined
3226 readonly status?: ProjectStatusFilterEncoded | null | undefined
3227 readonly targetDate?: typeof NullableDateComparator.Encoded | null | undefined
3228 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3229 }
3230
3231 /** Milestone collection filtering options. */
3232 export const ProjectMilestoneCollectionFilter: Schema.Codec<ProjectMilestoneCollectionFilter, ProjectMilestoneCollectionFilterEncoded> = Schema.Struct({
3233 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectMilestoneCollectionFilter)))),
3234 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3235 every: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneFilter))),
3236 id: Schema.optional(Schema.NullOr(IDComparator)),
3237 length: Schema.optional(Schema.NullOr(NumberComparator)),
3238 name: Schema.optional(Schema.NullOr(NullableStringComparator)),
3239 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectMilestoneCollectionFilter)))),
3240 project: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
3241 some: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneFilter))),
3242 targetDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
3243 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
3244 })
3245 export interface ProjectMilestoneCollectionFilter {
3246 /** Compound filters, all of which need to be matched by the milestone. */
3247 readonly and?: readonly ProjectMilestoneCollectionFilter[] | null | undefined
3248 /** Comparator for the created at date. */
3249 readonly createdAt?: DateComparator | null | undefined
3250 /** Filters that needs to be matched by all milestones. */
3251 readonly every?: ProjectMilestoneFilter | null | undefined
3252 /** Comparator for the identifier. */
3253 readonly id?: IDComparator | null | undefined
3254 /** Comparator for the collection length. */
3255 readonly length?: NumberComparator | null | undefined
3256 /** Comparator for the project milestone name. */
3257 readonly name?: NullableStringComparator | null | undefined
3258 /** Compound filters, one of which need to be matched by the milestone. */
3259 readonly or?: readonly ProjectMilestoneCollectionFilter[] | null | undefined
3260 /** Filters that the project milestone's project must satisfy. */
3261 readonly project?: NullableProjectFilter | null | undefined
3262 /** Filters that needs to be matched by some milestones. */
3263 readonly some?: ProjectMilestoneFilter | null | undefined
3264 /** Comparator for the project milestone target date. */
3265 readonly targetDate?: NullableDateComparator | null | undefined
3266 /** Comparator for the updated at date. */
3267 readonly updatedAt?: DateComparator | null | undefined
3268 }
3269 export interface ProjectMilestoneCollectionFilterEncoded {
3270 readonly and?: readonly ProjectMilestoneCollectionFilterEncoded[] | null | undefined
3271 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3272 readonly every?: ProjectMilestoneFilterEncoded | null | undefined
3273 readonly id?: typeof IDComparator.Encoded | null | undefined
3274 readonly length?: typeof NumberComparator.Encoded | null | undefined
3275 readonly name?: typeof NullableStringComparator.Encoded | null | undefined
3276 readonly or?: readonly ProjectMilestoneCollectionFilterEncoded[] | null | undefined
3277 readonly project?: NullableProjectFilterEncoded | null | undefined
3278 readonly some?: ProjectMilestoneFilterEncoded | null | undefined
3279 readonly targetDate?: typeof NullableDateComparator.Encoded | null | undefined
3280 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3281 }
3282
3283 /** Project milestone filtering options. */
3284 export const ProjectMilestoneFilter: Schema.Codec<ProjectMilestoneFilter, ProjectMilestoneFilterEncoded> = Schema.Struct({
3285 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectMilestoneFilter)))),
3286 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3287 id: Schema.optional(Schema.NullOr(IDComparator)),
3288 name: Schema.optional(Schema.NullOr(NullableStringComparator)),
3289 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectMilestoneFilter)))),
3290 project: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
3291 targetDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
3292 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
3293 })
3294 export interface ProjectMilestoneFilter {
3295 /** Compound filters, all of which need to be matched by the project milestone. */
3296 readonly and?: readonly ProjectMilestoneFilter[] | null | undefined
3297 /** Comparator for the created at date. */
3298 readonly createdAt?: DateComparator | null | undefined
3299 /** Comparator for the identifier. */
3300 readonly id?: IDComparator | null | undefined
3301 /** Comparator for the project milestone name. */
3302 readonly name?: NullableStringComparator | null | undefined
3303 /** Compound filters, one of which need to be matched by the project milestone. */
3304 readonly or?: readonly ProjectMilestoneFilter[] | null | undefined
3305 /** Filters that the project milestone's project must satisfy. */
3306 readonly project?: NullableProjectFilter | null | undefined
3307 /** Comparator for the project milestone target date. */
3308 readonly targetDate?: NullableDateComparator | null | undefined
3309 /** Comparator for the updated at date. */
3310 readonly updatedAt?: DateComparator | null | undefined
3311 }
3312 export interface ProjectMilestoneFilterEncoded {
3313 readonly and?: readonly ProjectMilestoneFilterEncoded[] | null | undefined
3314 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3315 readonly id?: typeof IDComparator.Encoded | null | undefined
3316 readonly name?: typeof NullableStringComparator.Encoded | null | undefined
3317 readonly or?: readonly ProjectMilestoneFilterEncoded[] | null | undefined
3318 readonly project?: NullableProjectFilterEncoded | null | undefined
3319 readonly targetDate?: typeof NullableDateComparator.Encoded | null | undefined
3320 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3321 }
3322
3323 /** Project filtering options. */
3324 export const NullableProjectFilter: Schema.Codec<NullableProjectFilter, NullableProjectFilterEncoded> = Schema.Struct({
3325 accessibleTeams: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
3326 activityType: Schema.optional(Schema.NullOr(StringComparator)),
3327 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableProjectFilter)))),
3328 canceledAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3329 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3330 completedProjectMilestones: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneCollectionFilter))),
3331 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3332 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter))),
3333 customIdentifier: Schema.optional(Schema.NullOr(NullableStringComparator)),
3334 customerCount: Schema.optional(Schema.NullOr(NumberComparator)),
3335 customerImportantCount: Schema.optional(Schema.NullOr(NumberComparator)),
3336 hasBlockedByRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3337 hasBlockingRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3338 hasDependedOnByRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3339 hasDependsOnRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3340 hasRelatedRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3341 hasViolatedRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3342 health: Schema.optional(Schema.NullOr(StringComparator)),
3343 healthWithAge: Schema.optional(Schema.NullOr(StringComparator)),
3344 id: Schema.optional(Schema.NullOr(EntityIdentifierIDComparator)),
3345 initiatives: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeCollectionFilter))),
3346 issues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
3347 labels: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectLabelCollectionFilter))),
3348 lastAppliedTemplate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTemplateFilter))),
3349 lead: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
3350 leadTeam: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
3351 members: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
3352 name: Schema.optional(Schema.NullOr(StringComparator)),
3353 needs: Schema.optional(Schema.NullOr(Schema.suspend(() => CustomerNeedCollectionFilter))),
3354 nextProjectMilestone: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneFilter))),
3355 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
3356 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableProjectFilter)))),
3357 priority: Schema.optional(Schema.NullOr(NullableNumberComparator)),
3358 projectMilestones: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneCollectionFilter))),
3359 projectUpdates: Schema.optional(Schema.NullOr(ProjectUpdatesCollectionFilter)),
3360 roadmaps: Schema.optional(Schema.NullOr(Schema.suspend(() => RoadmapCollectionFilter))),
3361 searchableContent: Schema.optional(Schema.NullOr(ContentComparator)),
3362 slugId: Schema.optional(Schema.NullOr(StringComparator)),
3363 startDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
3364 startedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3365 state: Schema.optional(Schema.NullOr(StringComparator)),
3366 status: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectStatusFilter))),
3367 targetDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
3368 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
3369 })
3370 export interface NullableProjectFilter {
3371 /** Filters that the project's team must satisfy. */
3372 readonly accessibleTeams?: TeamCollectionFilter | null | undefined
3373 /** [ALPHA] Comparator for the project activity type: buzzin, active, some, none */
3374 readonly activityType?: StringComparator | null | undefined
3375 /** Compound filters, all of which need to be matched by the project. */
3376 readonly and?: readonly NullableProjectFilter[] | null | undefined
3377 /** Comparator for the project cancelation date. */
3378 readonly canceledAt?: NullableDateComparator | null | undefined
3379 /** Comparator for the project completion date. */
3380 readonly completedAt?: NullableDateComparator | null | undefined
3381 /** Filters that the project's completed milestones must satisfy. */
3382 readonly completedProjectMilestones?: ProjectMilestoneCollectionFilter | null | undefined
3383 /** Comparator for the created at date. */
3384 readonly createdAt?: DateComparator | null | undefined
3385 /** Filters that the projects creator must satisfy. */
3386 readonly creator?: UserFilter | null | undefined
3387 /** [Internal] Comparator for the project's custom identifier. */
3388 readonly customIdentifier?: NullableStringComparator | null | undefined
3389 /** Count of customers */
3390 readonly customerCount?: NumberComparator | null | undefined
3391 /** Count of important customers */
3392 readonly customerImportantCount?: NumberComparator | null | undefined
3393 /** Comparator for filtering projects which are blocked. */
3394 readonly hasBlockedByRelations?: RelationExistsComparator | null | undefined
3395 /** Comparator for filtering projects which are blocking. */
3396 readonly hasBlockingRelations?: RelationExistsComparator | null | undefined
3397 /** [Deprecated] Comparator for filtering projects which this is depended on by. */
3398 readonly hasDependedOnByRelations?: RelationExistsComparator | null | undefined
3399 /** [Deprecated]Comparator for filtering projects which this depends on. */
3400 readonly hasDependsOnRelations?: RelationExistsComparator | null | undefined
3401 /** Comparator for filtering projects with relations. */
3402 readonly hasRelatedRelations?: RelationExistsComparator | null | undefined
3403 /** Comparator for filtering projects with violated dependencies. */
3404 readonly hasViolatedRelations?: RelationExistsComparator | null | undefined
3405 /** Comparator for the project health: onTrack, atRisk, offTrack */
3406 readonly health?: StringComparator | null | undefined
3407 /** Comparator for the project health (with age): onTrack, atRisk, offTrack, outdated, noUpdate */
3408 readonly healthWithAge?: StringComparator | null | undefined
3409 /** Comparator for the identifier. */
3410 readonly id?: EntityIdentifierIDComparator | null | undefined
3411 /** Filters that the projects initiatives must satisfy. */
3412 readonly initiatives?: InitiativeCollectionFilter | null | undefined
3413 /** Filters that the projects issues must satisfy. */
3414 readonly issues?: IssueCollectionFilter | null | undefined
3415 /** Filters that project labels must satisfy. */
3416 readonly labels?: ProjectLabelCollectionFilter | null | undefined
3417 /** Filters that the last applied template must satisfy. */
3418 readonly lastAppliedTemplate?: NullableTemplateFilter | null | undefined
3419 /** Filters that the projects lead must satisfy. */
3420 readonly lead?: NullableUserFilter | null | undefined
3421 /** [ALPHA] Filters that the project's lead team must satisfy. */
3422 readonly leadTeam?: NullableTeamFilter | null | undefined
3423 /** Filters that the projects members must satisfy. */
3424 readonly members?: UserCollectionFilter | null | undefined
3425 /** Comparator for the project name. */
3426 readonly name?: StringComparator | null | undefined
3427 /** Filters that the project's customer needs must satisfy. */
3428 readonly needs?: CustomerNeedCollectionFilter | null | undefined
3429 /** Filters that the project's next milestone must satisfy. */
3430 readonly nextProjectMilestone?: ProjectMilestoneFilter | null | undefined
3431 /** Filter based on the existence of the relation. */
3432 readonly null?: boolean | null | undefined
3433 /** Compound filters, one of which need to be matched by the project. */
3434 readonly or?: readonly NullableProjectFilter[] | null | undefined
3435 /** Comparator for the project priority. */
3436 readonly priority?: NullableNumberComparator | null | undefined
3437 /** Filters that the project's milestones must satisfy. */
3438 readonly projectMilestones?: ProjectMilestoneCollectionFilter | null | undefined
3439 /** Comparator for the project updates. */
3440 readonly projectUpdates?: ProjectUpdatesCollectionFilter | null | undefined
3441 /** Filters that the projects roadmaps must satisfy. */
3442 readonly roadmaps?: RoadmapCollectionFilter | null | undefined
3443 /** [Internal] Comparator for the project's content. */
3444 readonly searchableContent?: ContentComparator | null | undefined
3445 /** Comparator for the project slug ID. */
3446 readonly slugId?: StringComparator | null | undefined
3447 /** Comparator for the project start date. */
3448 readonly startDate?: NullableDateComparator | null | undefined
3449 /** Comparator for the project started date (when it was moved to an "In Progress" status). */
3450 readonly startedAt?: NullableDateComparator | null | undefined
3451 /** [DEPRECATED] Comparator for the project state. */
3452 readonly state?: StringComparator | null | undefined
3453 /** Filters that the project status must satisfy. */
3454 readonly status?: ProjectStatusFilter | null | undefined
3455 /** Comparator for the project target date. */
3456 readonly targetDate?: NullableDateComparator | null | undefined
3457 /** Comparator for the updated at date. */
3458 readonly updatedAt?: DateComparator | null | undefined
3459 }
3460 export interface NullableProjectFilterEncoded {
3461 readonly accessibleTeams?: TeamCollectionFilterEncoded | null | undefined
3462 readonly activityType?: typeof StringComparator.Encoded | null | undefined
3463 readonly and?: readonly NullableProjectFilterEncoded[] | null | undefined
3464 readonly canceledAt?: typeof NullableDateComparator.Encoded | null | undefined
3465 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
3466 readonly completedProjectMilestones?: ProjectMilestoneCollectionFilterEncoded | null | undefined
3467 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3468 readonly creator?: UserFilterEncoded | null | undefined
3469 readonly customIdentifier?: typeof NullableStringComparator.Encoded | null | undefined
3470 readonly customerCount?: typeof NumberComparator.Encoded | null | undefined
3471 readonly customerImportantCount?: typeof NumberComparator.Encoded | null | undefined
3472 readonly hasBlockedByRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3473 readonly hasBlockingRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3474 readonly hasDependedOnByRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3475 readonly hasDependsOnRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3476 readonly hasRelatedRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3477 readonly hasViolatedRelations?: typeof RelationExistsComparator.Encoded | null | undefined
3478 readonly health?: typeof StringComparator.Encoded | null | undefined
3479 readonly healthWithAge?: typeof StringComparator.Encoded | null | undefined
3480 readonly id?: typeof EntityIdentifierIDComparator.Encoded | null | undefined
3481 readonly initiatives?: InitiativeCollectionFilterEncoded | null | undefined
3482 readonly issues?: IssueCollectionFilterEncoded | null | undefined
3483 readonly labels?: ProjectLabelCollectionFilterEncoded | null | undefined
3484 readonly lastAppliedTemplate?: NullableTemplateFilterEncoded | null | undefined
3485 readonly lead?: NullableUserFilterEncoded | null | undefined
3486 readonly leadTeam?: NullableTeamFilterEncoded | null | undefined
3487 readonly members?: UserCollectionFilterEncoded | null | undefined
3488 readonly name?: typeof StringComparator.Encoded | null | undefined
3489 readonly needs?: CustomerNeedCollectionFilterEncoded | null | undefined
3490 readonly nextProjectMilestone?: ProjectMilestoneFilterEncoded | null | undefined
3491 readonly null?: boolean | null | undefined
3492 readonly or?: readonly NullableProjectFilterEncoded[] | null | undefined
3493 readonly priority?: typeof NullableNumberComparator.Encoded | null | undefined
3494 readonly projectMilestones?: ProjectMilestoneCollectionFilterEncoded | null | undefined
3495 readonly projectUpdates?: ProjectUpdatesCollectionFilterEncoded | null | undefined
3496 readonly roadmaps?: RoadmapCollectionFilterEncoded | null | undefined
3497 readonly searchableContent?: typeof ContentComparator.Encoded | null | undefined
3498 readonly slugId?: typeof StringComparator.Encoded | null | undefined
3499 readonly startDate?: typeof NullableDateComparator.Encoded | null | undefined
3500 readonly startedAt?: typeof NullableDateComparator.Encoded | null | undefined
3501 readonly state?: typeof StringComparator.Encoded | null | undefined
3502 readonly status?: ProjectStatusFilterEncoded | null | undefined
3503 readonly targetDate?: typeof NullableDateComparator.Encoded | null | undefined
3504 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3505 }
3506
3507 /** Project label filtering options. */
3508 export const ProjectLabelCollectionFilter: Schema.Codec<ProjectLabelCollectionFilter, ProjectLabelCollectionFilterEncoded> = Schema.Struct({
3509 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectLabelCollectionFilter)))),
3510 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3511 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
3512 every: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectLabelFilter))),
3513 id: Schema.optional(Schema.NullOr(IDComparator)),
3514 isGroup: Schema.optional(Schema.NullOr(BooleanComparator)),
3515 length: Schema.optional(Schema.NullOr(NumberComparator)),
3516 name: Schema.optional(Schema.NullOr(StringComparator)),
3517 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
3518 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectLabelCollectionFilter)))),
3519 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectLabelFilter))),
3520 some: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectLabelCollectionFilter))),
3521 team: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
3522 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
3523 })
3524 export interface ProjectLabelCollectionFilter {
3525 /** Compound filters, all of which need to be matched by the label. */
3526 readonly and?: readonly ProjectLabelCollectionFilter[] | null | undefined
3527 /** Comparator for the created at date. */
3528 readonly createdAt?: DateComparator | null | undefined
3529 /** Filters that the project labels creator must satisfy. */
3530 readonly creator?: NullableUserFilter | null | undefined
3531 /** Filters that needs to be matched by all project labels. */
3532 readonly every?: ProjectLabelFilter | null | undefined
3533 /** Comparator for the identifier. */
3534 readonly id?: IDComparator | null | undefined
3535 /** Comparator for whether the label is a group label. */
3536 readonly isGroup?: BooleanComparator | null | undefined
3537 /** Comparator for the collection length. */
3538 readonly length?: NumberComparator | null | undefined
3539 /** Comparator for the name. */
3540 readonly name?: StringComparator | null | undefined
3541 /** Filter based on the existence of the relation. */
3542 readonly null?: boolean | null | undefined
3543 /** Compound filters, one of which need to be matched by the label. */
3544 readonly or?: readonly ProjectLabelCollectionFilter[] | null | undefined
3545 /** Filters that the project label's parent label must satisfy. */
3546 readonly parent?: ProjectLabelFilter | null | undefined
3547 /** Filters that needs to be matched by some project labels. */
3548 readonly some?: ProjectLabelCollectionFilter | null | undefined
3549 /** Filters that the project label's team must satisfy. Use `{ null: true }` to filter workspace-level labels. */
3550 readonly team?: NullableTeamFilter | null | undefined
3551 /** Comparator for the updated at date. */
3552 readonly updatedAt?: DateComparator | null | undefined
3553 }
3554 export interface ProjectLabelCollectionFilterEncoded {
3555 readonly and?: readonly ProjectLabelCollectionFilterEncoded[] | null | undefined
3556 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3557 readonly creator?: NullableUserFilterEncoded | null | undefined
3558 readonly every?: ProjectLabelFilterEncoded | null | undefined
3559 readonly id?: typeof IDComparator.Encoded | null | undefined
3560 readonly isGroup?: typeof BooleanComparator.Encoded | null | undefined
3561 readonly length?: typeof NumberComparator.Encoded | null | undefined
3562 readonly name?: typeof StringComparator.Encoded | null | undefined
3563 readonly null?: boolean | null | undefined
3564 readonly or?: readonly ProjectLabelCollectionFilterEncoded[] | null | undefined
3565 readonly parent?: ProjectLabelFilterEncoded | null | undefined
3566 readonly some?: ProjectLabelCollectionFilterEncoded | null | undefined
3567 readonly team?: NullableTeamFilterEncoded | null | undefined
3568 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3569 }
3570
3571 /** Project label filtering options. */
3572 export const ProjectLabelFilter: Schema.Codec<ProjectLabelFilter, ProjectLabelFilterEncoded> = Schema.Struct({
3573 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectLabelFilter)))),
3574 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3575 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
3576 id: Schema.optional(Schema.NullOr(IDComparator)),
3577 isGroup: Schema.optional(Schema.NullOr(BooleanComparator)),
3578 name: Schema.optional(Schema.NullOr(StringComparator)),
3579 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectLabelFilter)))),
3580 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectLabelFilter))),
3581 team: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
3582 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
3583 })
3584 export interface ProjectLabelFilter {
3585 /** Compound filters, all of which need to be matched by the label. */
3586 readonly and?: readonly ProjectLabelFilter[] | null | undefined
3587 /** Comparator for the created at date. */
3588 readonly createdAt?: DateComparator | null | undefined
3589 /** Filters that the project labels creator must satisfy. */
3590 readonly creator?: NullableUserFilter | null | undefined
3591 /** Comparator for the identifier. */
3592 readonly id?: IDComparator | null | undefined
3593 /** Comparator for whether the label is a group label. */
3594 readonly isGroup?: BooleanComparator | null | undefined
3595 /** Comparator for the name. */
3596 readonly name?: StringComparator | null | undefined
3597 /** Compound filters, one of which need to be matched by the label. */
3598 readonly or?: readonly ProjectLabelFilter[] | null | undefined
3599 /** Filters that the project label's parent label must satisfy. */
3600 readonly parent?: ProjectLabelFilter | null | undefined
3601 /** Filters that the project label's team must satisfy. Use `{ null: true }` to filter workspace-level labels. */
3602 readonly team?: NullableTeamFilter | null | undefined
3603 /** Comparator for the updated at date. */
3604 readonly updatedAt?: DateComparator | null | undefined
3605 }
3606 export interface ProjectLabelFilterEncoded {
3607 readonly and?: readonly ProjectLabelFilterEncoded[] | null | undefined
3608 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3609 readonly creator?: NullableUserFilterEncoded | null | undefined
3610 readonly id?: typeof IDComparator.Encoded | null | undefined
3611 readonly isGroup?: typeof BooleanComparator.Encoded | null | undefined
3612 readonly name?: typeof StringComparator.Encoded | null | undefined
3613 readonly or?: readonly ProjectLabelFilterEncoded[] | null | undefined
3614 readonly parent?: ProjectLabelFilterEncoded | null | undefined
3615 readonly team?: NullableTeamFilterEncoded | null | undefined
3616 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3617 }
3618
3619 /** Template filtering options. */
3620 export const NullableTemplateFilter: Schema.Codec<NullableTemplateFilter, NullableTemplateFilterEncoded> = Schema.Struct({
3621 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableTemplateFilter)))),
3622 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3623 id: Schema.optional(Schema.NullOr(IDComparator)),
3624 inheritedFromId: Schema.optional(Schema.NullOr(IDComparator)),
3625 name: Schema.optional(Schema.NullOr(StringComparator)),
3626 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
3627 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableTemplateFilter)))),
3628 team: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
3629 type: Schema.optional(Schema.NullOr(StringComparator)),
3630 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
3631 })
3632 export interface NullableTemplateFilter {
3633 /** Compound filters, all of which need to be matched by the template. */
3634 readonly and?: readonly NullableTemplateFilter[] | null | undefined
3635 /** Comparator for the created at date. */
3636 readonly createdAt?: DateComparator | null | undefined
3637 /** Comparator for the identifier. */
3638 readonly id?: IDComparator | null | undefined
3639 /** Comparator for the inherited template's ID. */
3640 readonly inheritedFromId?: IDComparator | null | undefined
3641 /** Comparator for the template's name. */
3642 readonly name?: StringComparator | null | undefined
3643 /** Filter based on the existence of the relation. */
3644 readonly null?: boolean | null | undefined
3645 /** Compound filters, one of which need to be matched by the template. */
3646 readonly or?: readonly NullableTemplateFilter[] | null | undefined
3647 /** Filters that the template's team must satisfy. */
3648 readonly team?: NullableTeamFilter | null | undefined
3649 /** Comparator for the template's type. */
3650 readonly type?: StringComparator | null | undefined
3651 /** Comparator for the updated at date. */
3652 readonly updatedAt?: DateComparator | null | undefined
3653 }
3654 export interface NullableTemplateFilterEncoded {
3655 readonly and?: readonly NullableTemplateFilterEncoded[] | null | undefined
3656 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3657 readonly id?: typeof IDComparator.Encoded | null | undefined
3658 readonly inheritedFromId?: typeof IDComparator.Encoded | null | undefined
3659 readonly name?: typeof StringComparator.Encoded | null | undefined
3660 readonly null?: boolean | null | undefined
3661 readonly or?: readonly NullableTemplateFilterEncoded[] | null | undefined
3662 readonly team?: NullableTeamFilterEncoded | null | undefined
3663 readonly type?: typeof StringComparator.Encoded | null | undefined
3664 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3665 }
3666
3667 /** Customer needs filtering options. */
3668 export const CustomerNeedCollectionFilter: Schema.Codec<CustomerNeedCollectionFilter, CustomerNeedCollectionFilterEncoded> = Schema.Struct({
3669 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => CustomerNeedCollectionFilter)))),
3670 comment: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableCommentFilter))),
3671 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3672 customer: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableCustomerFilter))),
3673 every: Schema.optional(Schema.NullOr(Schema.suspend(() => CustomerNeedFilter))),
3674 id: Schema.optional(Schema.NullOr(IDComparator)),
3675 issue: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableIssueFilter))),
3676 length: Schema.optional(Schema.NullOr(NumberComparator)),
3677 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => CustomerNeedCollectionFilter)))),
3678 priority: Schema.optional(Schema.NullOr(NumberComparator)),
3679 project: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
3680 some: Schema.optional(Schema.NullOr(Schema.suspend(() => CustomerNeedFilter))),
3681 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
3682 })
3683 export interface CustomerNeedCollectionFilter {
3684 /** Compound filters, all of which need to be matched by the customer needs. */
3685 readonly and?: readonly CustomerNeedCollectionFilter[] | null | undefined
3686 /** Filters that the need's comment must satisfy. */
3687 readonly comment?: NullableCommentFilter | null | undefined
3688 /** Comparator for the created at date. */
3689 readonly createdAt?: DateComparator | null | undefined
3690 /** Filters that the need's customer must satisfy. */
3691 readonly customer?: NullableCustomerFilter | null | undefined
3692 /** Filters that needs to be matched by all customer needs. */
3693 readonly every?: CustomerNeedFilter | null | undefined
3694 /** Comparator for the identifier. */
3695 readonly id?: IDComparator | null | undefined
3696 /** Filters that the need's issue must satisfy. */
3697 readonly issue?: NullableIssueFilter | null | undefined
3698 /** Comparator for the collection length. */
3699 readonly length?: NumberComparator | null | undefined
3700 /** Compound filters, one of which need to be matched by the customer needs. */
3701 readonly or?: readonly CustomerNeedCollectionFilter[] | null | undefined
3702 /** Comparator for the customer need priority. */
3703 readonly priority?: NumberComparator | null | undefined
3704 /** Filters that the need's project must satisfy. */
3705 readonly project?: NullableProjectFilter | null | undefined
3706 /** Filters that needs to be matched by some customer needs. */
3707 readonly some?: CustomerNeedFilter | null | undefined
3708 /** Comparator for the updated at date. */
3709 readonly updatedAt?: DateComparator | null | undefined
3710 }
3711 export interface CustomerNeedCollectionFilterEncoded {
3712 readonly and?: readonly CustomerNeedCollectionFilterEncoded[] | null | undefined
3713 readonly comment?: NullableCommentFilterEncoded | null | undefined
3714 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3715 readonly customer?: NullableCustomerFilterEncoded | null | undefined
3716 readonly every?: CustomerNeedFilterEncoded | null | undefined
3717 readonly id?: typeof IDComparator.Encoded | null | undefined
3718 readonly issue?: NullableIssueFilterEncoded | null | undefined
3719 readonly length?: typeof NumberComparator.Encoded | null | undefined
3720 readonly or?: readonly CustomerNeedCollectionFilterEncoded[] | null | undefined
3721 readonly priority?: typeof NumberComparator.Encoded | null | undefined
3722 readonly project?: NullableProjectFilterEncoded | null | undefined
3723 readonly some?: CustomerNeedFilterEncoded | null | undefined
3724 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3725 }
3726
3727 /** Comment filtering options. */
3728 export const NullableCommentFilter: Schema.Codec<NullableCommentFilter, NullableCommentFilterEncoded> = Schema.Struct({
3729 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableCommentFilter)))),
3730 body: Schema.optional(Schema.NullOr(StringComparator)),
3731 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3732 documentContent: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableDocumentContentFilter))),
3733 id: Schema.optional(Schema.NullOr(IDComparator)),
3734 initiative: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableInitiativeFilter))),
3735 initiativeUpdate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableInitiativeUpdateFilter))),
3736 issue: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableIssueFilter))),
3737 needs: Schema.optional(Schema.NullOr(Schema.suspend(() => CustomerNeedCollectionFilter))),
3738 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
3739 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableCommentFilter)))),
3740 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableCommentFilter))),
3741 project: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
3742 projectUpdate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectUpdateFilter))),
3743 reactions: Schema.optional(Schema.NullOr(ReactionCollectionFilter)),
3744 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
3745 user: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter)))
3746 })
3747 export interface NullableCommentFilter {
3748 /** Compound filters, all of which need to be matched by the comment. */
3749 readonly and?: readonly NullableCommentFilter[] | null | undefined
3750 /** Comparator for the comment's body. */
3751 readonly body?: StringComparator | null | undefined
3752 /** Comparator for the created at date. */
3753 readonly createdAt?: DateComparator | null | undefined
3754 /** Filters that the comment's document content must satisfy. */
3755 readonly documentContent?: NullableDocumentContentFilter | null | undefined
3756 /** Comparator for the identifier. */
3757 readonly id?: IDComparator | null | undefined
3758 /** [Internal] Filters that the comment's initiative must satisfy. */
3759 readonly initiative?: NullableInitiativeFilter | null | undefined
3760 /** Filters that the comment's initiative update must satisfy. */
3761 readonly initiativeUpdate?: NullableInitiativeUpdateFilter | null | undefined
3762 /** Filters that the comment's issue must satisfy. */
3763 readonly issue?: NullableIssueFilter | null | undefined
3764 /** Filters that the comment's customer needs must satisfy. */
3765 readonly needs?: CustomerNeedCollectionFilter | null | undefined
3766 /** Filter based on the existence of the relation. */
3767 readonly null?: boolean | null | undefined
3768 /** Compound filters, one of which need to be matched by the comment. */
3769 readonly or?: readonly NullableCommentFilter[] | null | undefined
3770 /** Filters that the comment parent must satisfy. */
3771 readonly parent?: NullableCommentFilter | null | undefined
3772 /** [Internal] Filters that the comment's project must satisfy. */
3773 readonly project?: NullableProjectFilter | null | undefined
3774 /** Filters that the comment's project update must satisfy. */
3775 readonly projectUpdate?: NullableProjectUpdateFilter | null | undefined
3776 /** Filters that the comment's reactions must satisfy. */
3777 readonly reactions?: ReactionCollectionFilter | null | undefined
3778 /** Comparator for the updated at date. */
3779 readonly updatedAt?: DateComparator | null | undefined
3780 /** Filters that the comment's creator must satisfy. */
3781 readonly user?: UserFilter | null | undefined
3782 }
3783 export interface NullableCommentFilterEncoded {
3784 readonly and?: readonly NullableCommentFilterEncoded[] | null | undefined
3785 readonly body?: typeof StringComparator.Encoded | null | undefined
3786 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3787 readonly documentContent?: NullableDocumentContentFilterEncoded | null | undefined
3788 readonly id?: typeof IDComparator.Encoded | null | undefined
3789 readonly initiative?: NullableInitiativeFilterEncoded | null | undefined
3790 readonly initiativeUpdate?: NullableInitiativeUpdateFilterEncoded | null | undefined
3791 readonly issue?: NullableIssueFilterEncoded | null | undefined
3792 readonly needs?: CustomerNeedCollectionFilterEncoded | null | undefined
3793 readonly null?: boolean | null | undefined
3794 readonly or?: readonly NullableCommentFilterEncoded[] | null | undefined
3795 readonly parent?: NullableCommentFilterEncoded | null | undefined
3796 readonly project?: NullableProjectFilterEncoded | null | undefined
3797 readonly projectUpdate?: NullableProjectUpdateFilterEncoded | null | undefined
3798 readonly reactions?: ReactionCollectionFilterEncoded | null | undefined
3799 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3800 readonly user?: UserFilterEncoded | null | undefined
3801 }
3802
3803 /** Initiative filtering options. */
3804 export const NullableInitiativeFilter: Schema.Codec<NullableInitiativeFilter, NullableInitiativeFilterEncoded> = Schema.Struct({
3805 activityType: Schema.optional(Schema.NullOr(StringComparator)),
3806 ancestors: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeCollectionFilter))),
3807 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableInitiativeFilter)))),
3808 canceledAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3809 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3810 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3811 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
3812 customIdentifier: Schema.optional(Schema.NullOr(NullableStringComparator)),
3813 health: Schema.optional(Schema.NullOr(StringComparator)),
3814 healthWithAge: Schema.optional(Schema.NullOr(StringComparator)),
3815 id: Schema.optional(Schema.NullOr(EntityIdentifierIDComparator)),
3816 initiativeUpdates: Schema.optional(Schema.NullOr(InitiativeUpdatesCollectionFilter)),
3817 labels: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeLabelCollectionFilter))),
3818 leadTeam: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
3819 name: Schema.optional(Schema.NullOr(StringComparator)),
3820 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
3821 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableInitiativeFilter)))),
3822 owner: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
3823 priority: Schema.optional(Schema.NullOr(NullableNumberComparator)),
3824 projects: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectCollectionFilter))),
3825 slugId: Schema.optional(Schema.NullOr(StringComparator)),
3826 startedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3827 status: Schema.optional(Schema.NullOr(StringComparator)),
3828 targetDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
3829 teams: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
3830 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
3831 })
3832 export interface NullableInitiativeFilter {
3833 /** Comparator for the initiative activity type. */
3834 readonly activityType?: StringComparator | null | undefined
3835 /** Filters that the initiative must be an ancestor of. */
3836 readonly ancestors?: InitiativeCollectionFilter | null | undefined
3837 /** Compound filters, all of which need to be matched by the initiative. */
3838 readonly and?: readonly NullableInitiativeFilter[] | null | undefined
3839 /** [Internal] Comparator for the initiative canceled at date. */
3840 readonly canceledAt?: NullableDateComparator | null | undefined
3841 /** Comparator for the initiative completed at date. */
3842 readonly completedAt?: NullableDateComparator | null | undefined
3843 /** Comparator for the created at date. */
3844 readonly createdAt?: DateComparator | null | undefined
3845 /** Filters that the initiative creator must satisfy. */
3846 readonly creator?: NullableUserFilter | null | undefined
3847 /** [Internal] Comparator for the initiative's custom identifier. */
3848 readonly customIdentifier?: NullableStringComparator | null | undefined
3849 /** Comparator for the initiative health: onTrack, atRisk, offTrack */
3850 readonly health?: StringComparator | null | undefined
3851 /** Comparator for the initiative health (with age): onTrack, atRisk, offTrack, outdated, noUpdate */
3852 readonly healthWithAge?: StringComparator | null | undefined
3853 /** Comparator for the identifier. */
3854 readonly id?: EntityIdentifierIDComparator | null | undefined
3855 /** Filters that the initiative updates must satisfy. */
3856 readonly initiativeUpdates?: InitiativeUpdatesCollectionFilter | null | undefined
3857 /** Filters that the initiative labels must satisfy. */
3858 readonly labels?: InitiativeLabelCollectionFilter | null | undefined
3859 /** Filters that the initiative lead team must satisfy. */
3860 readonly leadTeam?: NullableTeamFilter | null | undefined
3861 /** Comparator for the initiative name. */
3862 readonly name?: StringComparator | null | undefined
3863 /** Filter based on the existence of the relation. */
3864 readonly null?: boolean | null | undefined
3865 /** Compound filters, one of which need to be matched by the initiative. */
3866 readonly or?: readonly NullableInitiativeFilter[] | null | undefined
3867 /** Filters that the initiative owner must satisfy. */
3868 readonly owner?: NullableUserFilter | null | undefined
3869 /** Comparator for the initiative priority. */
3870 readonly priority?: NullableNumberComparator | null | undefined
3871 /** Filters that the initiative projects must satisfy. */
3872 readonly projects?: ProjectCollectionFilter | null | undefined
3873 /** Comparator for the initiative slug ID. */
3874 readonly slugId?: StringComparator | null | undefined
3875 /** Comparator for the initiative started at date. */
3876 readonly startedAt?: NullableDateComparator | null | undefined
3877 /** Comparator for the initiative status: Proposed, Planned, Active, Completed, Canceled */
3878 readonly status?: StringComparator | null | undefined
3879 /** Comparator for the initiative target date. */
3880 readonly targetDate?: NullableDateComparator | null | undefined
3881 /** Filters that the initiative teams must satisfy. */
3882 readonly teams?: TeamCollectionFilter | null | undefined
3883 /** Comparator for the updated at date. */
3884 readonly updatedAt?: DateComparator | null | undefined
3885 }
3886 export interface NullableInitiativeFilterEncoded {
3887 readonly activityType?: typeof StringComparator.Encoded | null | undefined
3888 readonly ancestors?: InitiativeCollectionFilterEncoded | null | undefined
3889 readonly and?: readonly NullableInitiativeFilterEncoded[] | null | undefined
3890 readonly canceledAt?: typeof NullableDateComparator.Encoded | null | undefined
3891 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
3892 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3893 readonly creator?: NullableUserFilterEncoded | null | undefined
3894 readonly customIdentifier?: typeof NullableStringComparator.Encoded | null | undefined
3895 readonly health?: typeof StringComparator.Encoded | null | undefined
3896 readonly healthWithAge?: typeof StringComparator.Encoded | null | undefined
3897 readonly id?: typeof EntityIdentifierIDComparator.Encoded | null | undefined
3898 readonly initiativeUpdates?: InitiativeUpdatesCollectionFilterEncoded | null | undefined
3899 readonly labels?: InitiativeLabelCollectionFilterEncoded | null | undefined
3900 readonly leadTeam?: NullableTeamFilterEncoded | null | undefined
3901 readonly name?: typeof StringComparator.Encoded | null | undefined
3902 readonly null?: boolean | null | undefined
3903 readonly or?: readonly NullableInitiativeFilterEncoded[] | null | undefined
3904 readonly owner?: NullableUserFilterEncoded | null | undefined
3905 readonly priority?: typeof NullableNumberComparator.Encoded | null | undefined
3906 readonly projects?: ProjectCollectionFilterEncoded | null | undefined
3907 readonly slugId?: typeof StringComparator.Encoded | null | undefined
3908 readonly startedAt?: typeof NullableDateComparator.Encoded | null | undefined
3909 readonly status?: typeof StringComparator.Encoded | null | undefined
3910 readonly targetDate?: typeof NullableDateComparator.Encoded | null | undefined
3911 readonly teams?: TeamCollectionFilterEncoded | null | undefined
3912 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3913 }
3914
3915 /** Nullable initiative update filtering options. */
3916 export const NullableInitiativeUpdateFilter: Schema.Codec<NullableInitiativeUpdateFilter, NullableInitiativeUpdateFilterEncoded> = Schema.Struct({
3917 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableInitiativeUpdateFilter)))),
3918 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3919 id: Schema.optional(Schema.NullOr(IDComparator)),
3920 initiative: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeFilter))),
3921 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
3922 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableInitiativeUpdateFilter)))),
3923 reactions: Schema.optional(Schema.NullOr(ReactionCollectionFilter)),
3924 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
3925 user: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter)))
3926 })
3927 export interface NullableInitiativeUpdateFilter {
3928 /** Compound filters, all of which need to be matched by the initiative update. */
3929 readonly and?: readonly NullableInitiativeUpdateFilter[] | null | undefined
3930 /** Comparator for the created at date. */
3931 readonly createdAt?: DateComparator | null | undefined
3932 /** Comparator for the identifier. */
3933 readonly id?: IDComparator | null | undefined
3934 /** Filters that the initiative update initiative must satisfy. */
3935 readonly initiative?: InitiativeFilter | null | undefined
3936 /** Filter based on the existence of the relation. */
3937 readonly null?: boolean | null | undefined
3938 /** Compound filters, one of which need to be matched by the initiative update. */
3939 readonly or?: readonly NullableInitiativeUpdateFilter[] | null | undefined
3940 /** Filters that the initiative updates reactions must satisfy. */
3941 readonly reactions?: ReactionCollectionFilter | null | undefined
3942 /** Comparator for the updated at date. */
3943 readonly updatedAt?: DateComparator | null | undefined
3944 /** Filters that the initiative update creator must satisfy. */
3945 readonly user?: UserFilter | null | undefined
3946 }
3947 export interface NullableInitiativeUpdateFilterEncoded {
3948 readonly and?: readonly NullableInitiativeUpdateFilterEncoded[] | null | undefined
3949 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
3950 readonly id?: typeof IDComparator.Encoded | null | undefined
3951 readonly initiative?: InitiativeFilterEncoded | null | undefined
3952 readonly null?: boolean | null | undefined
3953 readonly or?: readonly NullableInitiativeUpdateFilterEncoded[] | null | undefined
3954 readonly reactions?: ReactionCollectionFilterEncoded | null | undefined
3955 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
3956 readonly user?: UserFilterEncoded | null | undefined
3957 }
3958
3959 /** Issue filtering options. */
3960 export const NullableIssueFilter: Schema.Codec<NullableIssueFilter, NullableIssueFilterEncoded> = Schema.Struct({
3961 accumulatedStateUpdatedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3962 activity: Schema.optional(Schema.NullOr(Schema.suspend(() => ActivityCollectionFilter))),
3963 addedToCycleAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3964 addedToCyclePeriod: Schema.optional(Schema.NullOr(CyclePeriodComparator)),
3965 ageTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
3966 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableIssueFilter)))),
3967 archivedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3968 assignee: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
3969 attachments: Schema.optional(Schema.NullOr(Schema.suspend(() => AttachmentCollectionFilter))),
3970 autoArchivedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3971 autoClosedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3972 canceledAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3973 children: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
3974 comments: Schema.optional(Schema.NullOr(Schema.suspend(() => CommentCollectionFilter))),
3975 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
3976 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
3977 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
3978 customerCount: Schema.optional(Schema.NullOr(NumberComparator)),
3979 customerImportantCount: Schema.optional(Schema.NullOr(NumberComparator)),
3980 cycle: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableCycleFilter))),
3981 cycleTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
3982 delegate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
3983 description: Schema.optional(Schema.NullOr(NullableStringComparator)),
3984 dueDate: Schema.optional(Schema.NullOr(NullableTimelessDateComparator)),
3985 estimate: Schema.optional(Schema.NullOr(EstimateComparator)),
3986 hasActiveAgentSessions: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3987 hasBlockedByRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3988 hasBlockingRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3989 hasDismissedAgentSessions: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3990 hasDuplicateRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3991 hasErroredAgentSessions: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3992 hasMergedAgentPullRequests: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3993 hasRelatedRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3994 hasSharedUsers: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3995 hasSuggestedAssignees: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3996 hasSuggestedLabels: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3997 hasSuggestedProjects: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3998 hasSuggestedRelatedIssues: Schema.optional(Schema.NullOr(RelationExistsComparator)),
3999 hasSuggestedSimilarIssues: Schema.optional(Schema.NullOr(RelationExistsComparator)),
4000 hasSuggestedTeams: Schema.optional(Schema.NullOr(RelationExistsComparator)),
4001 id: Schema.optional(Schema.NullOr(IssueIDComparator)),
4002 labels: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueLabelCollectionFilter))),
4003 lastAppliedTemplate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTemplateFilter))),
4004 leadTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
4005 needs: Schema.optional(Schema.NullOr(Schema.suspend(() => CustomerNeedCollectionFilter))),
4006 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
4007 number: Schema.optional(Schema.NullOr(NumberComparator)),
4008 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableIssueFilter)))),
4009 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableIssueFilter))),
4010 priority: Schema.optional(Schema.NullOr(NullableNumberComparator)),
4011 project: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
4012 projectMilestone: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectMilestoneFilter))),
4013 reactions: Schema.optional(Schema.NullOr(ReactionCollectionFilter)),
4014 recurringIssueTemplate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTemplateFilter))),
4015 releases: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleaseCollectionFilter))),
4016 searchableContent: Schema.optional(Schema.NullOr(ContentComparator)),
4017 sharedWith: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
4018 slaBreachesAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
4019 slaStatus: Schema.optional(Schema.NullOr(SlaStatusComparator)),
4020 snoozedBy: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
4021 snoozedUntilAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
4022 sourceMetadata: Schema.optional(Schema.NullOr(SourceMetadataComparator)),
4023 startedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
4024 state: Schema.optional(Schema.NullOr(Schema.suspend(() => WorkflowStateFilter))),
4025 subscribers: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
4026 suggestions: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueSuggestionCollectionFilter))),
4027 team: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamFilter))),
4028 title: Schema.optional(Schema.NullOr(StringComparator)),
4029 triageTime: Schema.optional(Schema.NullOr(NullableDurationComparator)),
4030 triagedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
4031 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
4032 })
4033 export interface NullableIssueFilter {
4034 /** [Internal] Comparator for the issue's accumulatedStateUpdatedAt date. */
4035 readonly accumulatedStateUpdatedAt?: NullableDateComparator | null | undefined
4036 /** Filters that the issue's activities must satisfy. */
4037 readonly activity?: ActivityCollectionFilter | null | undefined
4038 /** Comparator for the issues added to cycle at date. */
4039 readonly addedToCycleAt?: NullableDateComparator | null | undefined
4040 /** Comparator for the period when issue was added to a cycle. */
4041 readonly addedToCyclePeriod?: CyclePeriodComparator | null | undefined
4042 /** [Internal] Age (created -> now) comparator, defined if the issue is still open. */
4043 readonly ageTime?: NullableDurationComparator | null | undefined
4044 /** Compound filters, all of which need to be matched by the issue. */
4045 readonly and?: readonly NullableIssueFilter[] | null | undefined
4046 /** Comparator for the issues archived at date. */
4047 readonly archivedAt?: NullableDateComparator | null | undefined
4048 /** Filters that the issues assignee must satisfy. */
4049 readonly assignee?: NullableUserFilter | null | undefined
4050 /** Filters that the issues attachments must satisfy. */
4051 readonly attachments?: AttachmentCollectionFilter | null | undefined
4052 /** Comparator for the issues auto archived at date. */
4053 readonly autoArchivedAt?: NullableDateComparator | null | undefined
4054 /** Comparator for the issues auto closed at date. */
4055 readonly autoClosedAt?: NullableDateComparator | null | undefined
4056 /** Comparator for the issues canceled at date. */
4057 readonly canceledAt?: NullableDateComparator | null | undefined
4058 /** Filters that the child issues must satisfy. */
4059 readonly children?: IssueCollectionFilter | null | undefined
4060 /** Filters that the issues comments must satisfy. */
4061 readonly comments?: CommentCollectionFilter | null | undefined
4062 /** Comparator for the issues completed at date. */
4063 readonly completedAt?: NullableDateComparator | null | undefined
4064 /** Comparator for the created at date. */
4065 readonly createdAt?: DateComparator | null | undefined
4066 /** Filters that the issues creator must satisfy. */
4067 readonly creator?: NullableUserFilter | null | undefined
4068 /** Count of customers */
4069 readonly customerCount?: NumberComparator | null | undefined
4070 /** Count of important customers */
4071 readonly customerImportantCount?: NumberComparator | null | undefined
4072 /** Filters that the issues cycle must satisfy. */
4073 readonly cycle?: NullableCycleFilter | null | undefined
4074 /** [Internal] Cycle time (started -> completed) comparator. */
4075 readonly cycleTime?: NullableDurationComparator | null | undefined
4076 /** Filters that the issue's delegated agent must satisfy. */
4077 readonly delegate?: NullableUserFilter | null | undefined
4078 /** Comparator for the issues description. */
4079 readonly description?: NullableStringComparator | null | undefined
4080 /** Comparator for the issues due date. */
4081 readonly dueDate?: NullableTimelessDateComparator | null | undefined
4082 /** Comparator for the issues estimate. */
4083 readonly estimate?: EstimateComparator | null | undefined
4084 /** [Internal] Comparator for filtering issues bucketed as having active agent sessions, no closed agent pull requests, and no merged agent pull requests. */
4085 readonly hasActiveAgentSessions?: RelationExistsComparator | null | undefined
4086 /** Comparator for filtering issues which are blocked. */
4087 readonly hasBlockedByRelations?: RelationExistsComparator | null | undefined
4088 /** Comparator for filtering issues which are blocking. */
4089 readonly hasBlockingRelations?: RelationExistsComparator | null | undefined
4090 /** [Internal] Comparator for filtering issues bucketed as having all agent sessions dismissed or closed, and no merged agent pull requests. */
4091 readonly hasDismissedAgentSessions?: RelationExistsComparator | null | undefined
4092 /** Comparator for filtering issues which are duplicates. */
4093 readonly hasDuplicateRelations?: RelationExistsComparator | null | undefined
4094 /** [Internal] Comparator for filtering issues bucketed as having an errored agent session, no active sessions, and no merged agent pull requests. */
4095 readonly hasErroredAgentSessions?: RelationExistsComparator | null | undefined
4096 /** [Internal] Comparator for filtering issues which have agent-session-linked pull requests that were merged. */
4097 readonly hasMergedAgentPullRequests?: RelationExistsComparator | null | undefined
4098 /** Comparator for filtering issues with relations. */
4099 readonly hasRelatedRelations?: RelationExistsComparator | null | undefined
4100 /** Comparator for filtering issues which have been shared with users outside of the team. */
4101 readonly hasSharedUsers?: RelationExistsComparator | null | undefined
4102 /** [Internal] Comparator for filtering issues which have suggested assignees. */
4103 readonly hasSuggestedAssignees?: RelationExistsComparator | null | undefined
4104 /** [Internal] Comparator for filtering issues which have suggested labels. */
4105 readonly hasSuggestedLabels?: RelationExistsComparator | null | undefined
4106 /** [Internal] Comparator for filtering issues which have suggested projects. */
4107 readonly hasSuggestedProjects?: RelationExistsComparator | null | undefined
4108 /** [Internal] Comparator for filtering issues which have suggested related issues. */
4109 readonly hasSuggestedRelatedIssues?: RelationExistsComparator | null | undefined
4110 /** [Internal] Comparator for filtering issues which have suggested similar issues. */
4111 readonly hasSuggestedSimilarIssues?: RelationExistsComparator | null | undefined
4112 /** [Internal] Comparator for filtering issues which have suggested teams. */
4113 readonly hasSuggestedTeams?: RelationExistsComparator | null | undefined
4114 /** Comparator for the identifier. */
4115 readonly id?: IssueIDComparator | null | undefined
4116 /** Filters that issue labels must satisfy. */
4117 readonly labels?: IssueLabelCollectionFilter | null | undefined
4118 /** Filters that the last applied template must satisfy. */
4119 readonly lastAppliedTemplate?: NullableTemplateFilter | null | undefined
4120 /** [Internal] Lead time (created -> completed) comparator. */
4121 readonly leadTime?: NullableDurationComparator | null | undefined
4122 /** Filters that the issue's customer needs must satisfy. */
4123 readonly needs?: CustomerNeedCollectionFilter | null | undefined
4124 /** Filter based on the existence of the relation. */
4125 readonly null?: boolean | null | undefined
4126 /** Comparator for the issues number. */
4127 readonly number?: NumberComparator | null | undefined
4128 /** Compound filters, one of which need to be matched by the issue. */
4129 readonly or?: readonly NullableIssueFilter[] | null | undefined
4130 /** Filters that the issue parent must satisfy. */
4131 readonly parent?: NullableIssueFilter | null | undefined
4132 /** Comparator for the issues priority. 0 = No priority, 1 = Urgent, 2 = High, 3 = Medium, 4 = Low. */
4133 readonly priority?: NullableNumberComparator | null | undefined
4134 /** Filters that the issues project must satisfy. */
4135 readonly project?: NullableProjectFilter | null | undefined
4136 /** Filters that the issues project milestone must satisfy. */
4137 readonly projectMilestone?: NullableProjectMilestoneFilter | null | undefined
4138 /** Filters that the issues reactions must satisfy. */
4139 readonly reactions?: ReactionCollectionFilter | null | undefined
4140 /** [ALPHA] Filters that the recurring issue template must satisfy. */
4141 readonly recurringIssueTemplate?: NullableTemplateFilter | null | undefined
4142 /** Filters that the issue's releases must satisfy. */
4143 readonly releases?: ReleaseCollectionFilter | null | undefined
4144 /** [Internal] Comparator for the issues content. */
4145 readonly searchableContent?: ContentComparator | null | undefined
4146 /** Filters that users the issue has been shared with must satisfy. */
4147 readonly sharedWith?: UserCollectionFilter | null | undefined
4148 /** Comparator for the issue's SLA breach date. */
4149 readonly slaBreachesAt?: NullableDateComparator | null | undefined
4150 /** Comparator for the issues sla status. */
4151 readonly slaStatus?: SlaStatusComparator | null | undefined
4152 /** Filters that the issues snoozer must satisfy. */
4153 readonly snoozedBy?: NullableUserFilter | null | undefined
4154 /** Comparator for the issues snoozed until date. */
4155 readonly snoozedUntilAt?: NullableDateComparator | null | undefined
4156 /** Filters that the source must satisfy. */
4157 readonly sourceMetadata?: SourceMetadataComparator | null | undefined
4158 /** Comparator for the issues started at date. */
4159 readonly startedAt?: NullableDateComparator | null | undefined
4160 /** Filters that the issues state must satisfy. */
4161 readonly state?: WorkflowStateFilter | null | undefined
4162 /** Filters that issue subscribers must satisfy. */
4163 readonly subscribers?: UserCollectionFilter | null | undefined
4164 /** [Internal] Filters that the issue's suggestions must satisfy. */
4165 readonly suggestions?: IssueSuggestionCollectionFilter | null | undefined
4166 /** Filters that the issues team must satisfy. */
4167 readonly team?: TeamFilter | null | undefined
4168 /** Comparator for the issues title. */
4169 readonly title?: StringComparator | null | undefined
4170 /** [Internal] Triage time (entered triaged -> triaged) comparator. */
4171 readonly triageTime?: NullableDurationComparator | null | undefined
4172 /** Comparator for the issues triaged at date. */
4173 readonly triagedAt?: NullableDateComparator | null | undefined
4174 /** Comparator for the updated at date. */
4175 readonly updatedAt?: DateComparator | null | undefined
4176 }
4177 export interface NullableIssueFilterEncoded {
4178 readonly accumulatedStateUpdatedAt?: typeof NullableDateComparator.Encoded | null | undefined
4179 readonly activity?: ActivityCollectionFilterEncoded | null | undefined
4180 readonly addedToCycleAt?: typeof NullableDateComparator.Encoded | null | undefined
4181 readonly addedToCyclePeriod?: typeof CyclePeriodComparator.Encoded | null | undefined
4182 readonly ageTime?: typeof NullableDurationComparator.Encoded | null | undefined
4183 readonly and?: readonly NullableIssueFilterEncoded[] | null | undefined
4184 readonly archivedAt?: typeof NullableDateComparator.Encoded | null | undefined
4185 readonly assignee?: NullableUserFilterEncoded | null | undefined
4186 readonly attachments?: AttachmentCollectionFilterEncoded | null | undefined
4187 readonly autoArchivedAt?: typeof NullableDateComparator.Encoded | null | undefined
4188 readonly autoClosedAt?: typeof NullableDateComparator.Encoded | null | undefined
4189 readonly canceledAt?: typeof NullableDateComparator.Encoded | null | undefined
4190 readonly children?: IssueCollectionFilterEncoded | null | undefined
4191 readonly comments?: CommentCollectionFilterEncoded | null | undefined
4192 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
4193 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4194 readonly creator?: NullableUserFilterEncoded | null | undefined
4195 readonly customerCount?: typeof NumberComparator.Encoded | null | undefined
4196 readonly customerImportantCount?: typeof NumberComparator.Encoded | null | undefined
4197 readonly cycle?: NullableCycleFilterEncoded | null | undefined
4198 readonly cycleTime?: typeof NullableDurationComparator.Encoded | null | undefined
4199 readonly delegate?: NullableUserFilterEncoded | null | undefined
4200 readonly description?: typeof NullableStringComparator.Encoded | null | undefined
4201 readonly dueDate?: typeof NullableTimelessDateComparator.Encoded | null | undefined
4202 readonly estimate?: typeof EstimateComparator.Encoded | null | undefined
4203 readonly hasActiveAgentSessions?: typeof RelationExistsComparator.Encoded | null | undefined
4204 readonly hasBlockedByRelations?: typeof RelationExistsComparator.Encoded | null | undefined
4205 readonly hasBlockingRelations?: typeof RelationExistsComparator.Encoded | null | undefined
4206 readonly hasDismissedAgentSessions?: typeof RelationExistsComparator.Encoded | null | undefined
4207 readonly hasDuplicateRelations?: typeof RelationExistsComparator.Encoded | null | undefined
4208 readonly hasErroredAgentSessions?: typeof RelationExistsComparator.Encoded | null | undefined
4209 readonly hasMergedAgentPullRequests?: typeof RelationExistsComparator.Encoded | null | undefined
4210 readonly hasRelatedRelations?: typeof RelationExistsComparator.Encoded | null | undefined
4211 readonly hasSharedUsers?: typeof RelationExistsComparator.Encoded | null | undefined
4212 readonly hasSuggestedAssignees?: typeof RelationExistsComparator.Encoded | null | undefined
4213 readonly hasSuggestedLabels?: typeof RelationExistsComparator.Encoded | null | undefined
4214 readonly hasSuggestedProjects?: typeof RelationExistsComparator.Encoded | null | undefined
4215 readonly hasSuggestedRelatedIssues?: typeof RelationExistsComparator.Encoded | null | undefined
4216 readonly hasSuggestedSimilarIssues?: typeof RelationExistsComparator.Encoded | null | undefined
4217 readonly hasSuggestedTeams?: typeof RelationExistsComparator.Encoded | null | undefined
4218 readonly id?: typeof IssueIDComparator.Encoded | null | undefined
4219 readonly labels?: IssueLabelCollectionFilterEncoded | null | undefined
4220 readonly lastAppliedTemplate?: NullableTemplateFilterEncoded | null | undefined
4221 readonly leadTime?: typeof NullableDurationComparator.Encoded | null | undefined
4222 readonly needs?: CustomerNeedCollectionFilterEncoded | null | undefined
4223 readonly null?: boolean | null | undefined
4224 readonly number?: typeof NumberComparator.Encoded | null | undefined
4225 readonly or?: readonly NullableIssueFilterEncoded[] | null | undefined
4226 readonly parent?: NullableIssueFilterEncoded | null | undefined
4227 readonly priority?: typeof NullableNumberComparator.Encoded | null | undefined
4228 readonly project?: NullableProjectFilterEncoded | null | undefined
4229 readonly projectMilestone?: NullableProjectMilestoneFilterEncoded | null | undefined
4230 readonly reactions?: ReactionCollectionFilterEncoded | null | undefined
4231 readonly recurringIssueTemplate?: NullableTemplateFilterEncoded | null | undefined
4232 readonly releases?: ReleaseCollectionFilterEncoded | null | undefined
4233 readonly searchableContent?: typeof ContentComparator.Encoded | null | undefined
4234 readonly sharedWith?: UserCollectionFilterEncoded | null | undefined
4235 readonly slaBreachesAt?: typeof NullableDateComparator.Encoded | null | undefined
4236 readonly slaStatus?: typeof SlaStatusComparator.Encoded | null | undefined
4237 readonly snoozedBy?: NullableUserFilterEncoded | null | undefined
4238 readonly snoozedUntilAt?: typeof NullableDateComparator.Encoded | null | undefined
4239 readonly sourceMetadata?: typeof SourceMetadataComparator.Encoded | null | undefined
4240 readonly startedAt?: typeof NullableDateComparator.Encoded | null | undefined
4241 readonly state?: WorkflowStateFilterEncoded | null | undefined
4242 readonly subscribers?: UserCollectionFilterEncoded | null | undefined
4243 readonly suggestions?: IssueSuggestionCollectionFilterEncoded | null | undefined
4244 readonly team?: TeamFilterEncoded | null | undefined
4245 readonly title?: typeof StringComparator.Encoded | null | undefined
4246 readonly triageTime?: typeof NullableDurationComparator.Encoded | null | undefined
4247 readonly triagedAt?: typeof NullableDateComparator.Encoded | null | undefined
4248 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4249 }
4250
4251 /** Cycle filtering options. */
4252 export const NullableCycleFilter: Schema.Codec<NullableCycleFilter, NullableCycleFilterEncoded> = Schema.Struct({
4253 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableCycleFilter)))),
4254 completedAt: Schema.optional(Schema.NullOr(DateComparator)),
4255 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4256 endsAt: Schema.optional(Schema.NullOr(DateComparator)),
4257 id: Schema.optional(Schema.NullOr(IDComparator)),
4258 inheritedFromId: Schema.optional(Schema.NullOr(IDComparator)),
4259 isActive: Schema.optional(Schema.NullOr(BooleanComparator)),
4260 isFuture: Schema.optional(Schema.NullOr(BooleanComparator)),
4261 isInCooldown: Schema.optional(Schema.NullOr(BooleanComparator)),
4262 isNext: Schema.optional(Schema.NullOr(BooleanComparator)),
4263 isPast: Schema.optional(Schema.NullOr(BooleanComparator)),
4264 isPrevious: Schema.optional(Schema.NullOr(BooleanComparator)),
4265 issues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
4266 name: Schema.optional(Schema.NullOr(StringComparator)),
4267 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
4268 number: Schema.optional(Schema.NullOr(NumberComparator)),
4269 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableCycleFilter)))),
4270 startsAt: Schema.optional(Schema.NullOr(DateComparator)),
4271 team: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamFilter))),
4272 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
4273 })
4274 export interface NullableCycleFilter {
4275 /** Compound filters, all of which need to be matched by the cycle. */
4276 readonly and?: readonly NullableCycleFilter[] | null | undefined
4277 /** Comparator for the cycle completed at date. */
4278 readonly completedAt?: DateComparator | null | undefined
4279 /** Comparator for the created at date. */
4280 readonly createdAt?: DateComparator | null | undefined
4281 /** Comparator for the cycle ends at date. */
4282 readonly endsAt?: DateComparator | null | undefined
4283 /** Comparator for the identifier. */
4284 readonly id?: IDComparator | null | undefined
4285 /** Comparator for the inherited cycle ID. */
4286 readonly inheritedFromId?: IDComparator | null | undefined
4287 /** Comparator for the filtering active cycle. */
4288 readonly isActive?: BooleanComparator | null | undefined
4289 /** Comparator for the filtering future cycles. */
4290 readonly isFuture?: BooleanComparator | null | undefined
4291 /** Comparator for filtering for whether the cycle is currently in cooldown. */
4292 readonly isInCooldown?: BooleanComparator | null | undefined
4293 /** Comparator for the filtering next cycle. */
4294 readonly isNext?: BooleanComparator | null | undefined
4295 /** Comparator for the filtering past cycles. */
4296 readonly isPast?: BooleanComparator | null | undefined
4297 /** Comparator for the filtering previous cycle. */
4298 readonly isPrevious?: BooleanComparator | null | undefined
4299 /** Filters that the cycles issues must satisfy. */
4300 readonly issues?: IssueCollectionFilter | null | undefined
4301 /** Comparator for the cycle name. */
4302 readonly name?: StringComparator | null | undefined
4303 /** Filter based on the existence of the relation. */
4304 readonly null?: boolean | null | undefined
4305 /** Comparator for the cycle number. */
4306 readonly number?: NumberComparator | null | undefined
4307 /** Compound filters, one of which need to be matched by the cycle. */
4308 readonly or?: readonly NullableCycleFilter[] | null | undefined
4309 /** Comparator for the cycle start date. */
4310 readonly startsAt?: DateComparator | null | undefined
4311 /** Filters that the cycles team must satisfy. */
4312 readonly team?: TeamFilter | null | undefined
4313 /** Comparator for the updated at date. */
4314 readonly updatedAt?: DateComparator | null | undefined
4315 }
4316 export interface NullableCycleFilterEncoded {
4317 readonly and?: readonly NullableCycleFilterEncoded[] | null | undefined
4318 readonly completedAt?: typeof DateComparator.Encoded | null | undefined
4319 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4320 readonly endsAt?: typeof DateComparator.Encoded | null | undefined
4321 readonly id?: typeof IDComparator.Encoded | null | undefined
4322 readonly inheritedFromId?: typeof IDComparator.Encoded | null | undefined
4323 readonly isActive?: typeof BooleanComparator.Encoded | null | undefined
4324 readonly isFuture?: typeof BooleanComparator.Encoded | null | undefined
4325 readonly isInCooldown?: typeof BooleanComparator.Encoded | null | undefined
4326 readonly isNext?: typeof BooleanComparator.Encoded | null | undefined
4327 readonly isPast?: typeof BooleanComparator.Encoded | null | undefined
4328 readonly isPrevious?: typeof BooleanComparator.Encoded | null | undefined
4329 readonly issues?: IssueCollectionFilterEncoded | null | undefined
4330 readonly name?: typeof StringComparator.Encoded | null | undefined
4331 readonly null?: boolean | null | undefined
4332 readonly number?: typeof NumberComparator.Encoded | null | undefined
4333 readonly or?: readonly NullableCycleFilterEncoded[] | null | undefined
4334 readonly startsAt?: typeof DateComparator.Encoded | null | undefined
4335 readonly team?: TeamFilterEncoded | null | undefined
4336 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4337 }
4338
4339 /** Issue label filtering options. */
4340 export const IssueLabelCollectionFilter: Schema.Codec<IssueLabelCollectionFilter, IssueLabelCollectionFilterEncoded> = Schema.Struct({
4341 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueLabelCollectionFilter)))),
4342 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4343 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
4344 every: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueLabelFilter))),
4345 id: Schema.optional(Schema.NullOr(IDComparator)),
4346 isGroup: Schema.optional(Schema.NullOr(BooleanComparator)),
4347 length: Schema.optional(Schema.NullOr(NumberComparator)),
4348 name: Schema.optional(Schema.NullOr(StringComparator)),
4349 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
4350 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueLabelCollectionFilter)))),
4351 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueLabelFilter))),
4352 some: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueLabelFilter))),
4353 team: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
4354 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
4355 })
4356 export interface IssueLabelCollectionFilter {
4357 /** Compound filters, all of which need to be matched by the label. */
4358 readonly and?: readonly IssueLabelCollectionFilter[] | null | undefined
4359 /** Comparator for the created at date. */
4360 readonly createdAt?: DateComparator | null | undefined
4361 /** Filters that the issue labels creator must satisfy. */
4362 readonly creator?: NullableUserFilter | null | undefined
4363 /** Filters that needs to be matched by all issue labels. */
4364 readonly every?: IssueLabelFilter | null | undefined
4365 /** Comparator for the identifier. */
4366 readonly id?: IDComparator | null | undefined
4367 /** Comparator for whether the label is a group label. */
4368 readonly isGroup?: BooleanComparator | null | undefined
4369 /** Comparator for the collection length. */
4370 readonly length?: NumberComparator | null | undefined
4371 /** Comparator for the name. */
4372 readonly name?: StringComparator | null | undefined
4373 /** Filter based on the existence of the relation. */
4374 readonly null?: boolean | null | undefined
4375 /** Compound filters, one of which need to be matched by the label. */
4376 readonly or?: readonly IssueLabelCollectionFilter[] | null | undefined
4377 /** Filters that the issue label's parent label must satisfy. */
4378 readonly parent?: IssueLabelFilter | null | undefined
4379 /** Filters that needs to be matched by some issue labels. */
4380 readonly some?: IssueLabelFilter | null | undefined
4381 /** Filters that the issue labels team must satisfy. */
4382 readonly team?: NullableTeamFilter | null | undefined
4383 /** Comparator for the updated at date. */
4384 readonly updatedAt?: DateComparator | null | undefined
4385 }
4386 export interface IssueLabelCollectionFilterEncoded {
4387 readonly and?: readonly IssueLabelCollectionFilterEncoded[] | null | undefined
4388 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4389 readonly creator?: NullableUserFilterEncoded | null | undefined
4390 readonly every?: IssueLabelFilterEncoded | null | undefined
4391 readonly id?: typeof IDComparator.Encoded | null | undefined
4392 readonly isGroup?: typeof BooleanComparator.Encoded | null | undefined
4393 readonly length?: typeof NumberComparator.Encoded | null | undefined
4394 readonly name?: typeof StringComparator.Encoded | null | undefined
4395 readonly null?: boolean | null | undefined
4396 readonly or?: readonly IssueLabelCollectionFilterEncoded[] | null | undefined
4397 readonly parent?: IssueLabelFilterEncoded | null | undefined
4398 readonly some?: IssueLabelFilterEncoded | null | undefined
4399 readonly team?: NullableTeamFilterEncoded | null | undefined
4400 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4401 }
4402
4403 /** Issue label filtering options. */
4404 export const IssueLabelFilter: Schema.Codec<IssueLabelFilter, IssueLabelFilterEncoded> = Schema.Struct({
4405 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueLabelFilter)))),
4406 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4407 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
4408 id: Schema.optional(Schema.NullOr(IDComparator)),
4409 isGroup: Schema.optional(Schema.NullOr(BooleanComparator)),
4410 name: Schema.optional(Schema.NullOr(StringComparator)),
4411 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueLabelFilter)))),
4412 parent: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueLabelFilter))),
4413 team: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
4414 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
4415 })
4416 export interface IssueLabelFilter {
4417 /** Compound filters, all of which need to be matched by the label. */
4418 readonly and?: readonly IssueLabelFilter[] | null | undefined
4419 /** Comparator for the created at date. */
4420 readonly createdAt?: DateComparator | null | undefined
4421 /** Filters that the issue labels creator must satisfy. */
4422 readonly creator?: NullableUserFilter | null | undefined
4423 /** Comparator for the identifier. */
4424 readonly id?: IDComparator | null | undefined
4425 /** Comparator for whether the label is a group label. */
4426 readonly isGroup?: BooleanComparator | null | undefined
4427 /** Comparator for the name. */
4428 readonly name?: StringComparator | null | undefined
4429 /** Compound filters, one of which need to be matched by the label. */
4430 readonly or?: readonly IssueLabelFilter[] | null | undefined
4431 /** Filters that the issue label's parent label must satisfy. */
4432 readonly parent?: IssueLabelFilter | null | undefined
4433 /** Filters that the issue labels team must satisfy. */
4434 readonly team?: NullableTeamFilter | null | undefined
4435 /** Comparator for the updated at date. */
4436 readonly updatedAt?: DateComparator | null | undefined
4437 }
4438 export interface IssueLabelFilterEncoded {
4439 readonly and?: readonly IssueLabelFilterEncoded[] | null | undefined
4440 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4441 readonly creator?: NullableUserFilterEncoded | null | undefined
4442 readonly id?: typeof IDComparator.Encoded | null | undefined
4443 readonly isGroup?: typeof BooleanComparator.Encoded | null | undefined
4444 readonly name?: typeof StringComparator.Encoded | null | undefined
4445 readonly or?: readonly IssueLabelFilterEncoded[] | null | undefined
4446 readonly parent?: IssueLabelFilterEncoded | null | undefined
4447 readonly team?: NullableTeamFilterEncoded | null | undefined
4448 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4449 }
4450
4451 /** Project milestone filtering options. */
4452 export const NullableProjectMilestoneFilter: Schema.Codec<NullableProjectMilestoneFilter, NullableProjectMilestoneFilterEncoded> = Schema.Struct({
4453 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableProjectMilestoneFilter)))),
4454 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4455 id: Schema.optional(Schema.NullOr(IDComparator)),
4456 name: Schema.optional(Schema.NullOr(NullableStringComparator)),
4457 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
4458 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableProjectMilestoneFilter)))),
4459 project: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
4460 targetDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
4461 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
4462 })
4463 export interface NullableProjectMilestoneFilter {
4464 /** Compound filters, all of which need to be matched by the project milestone. */
4465 readonly and?: readonly NullableProjectMilestoneFilter[] | null | undefined
4466 /** Comparator for the created at date. */
4467 readonly createdAt?: DateComparator | null | undefined
4468 /** Comparator for the identifier. */
4469 readonly id?: IDComparator | null | undefined
4470 /** Comparator for the project milestone name. */
4471 readonly name?: NullableStringComparator | null | undefined
4472 /** Filter based on the existence of the relation. */
4473 readonly null?: boolean | null | undefined
4474 /** Compound filters, one of which need to be matched by the project milestone. */
4475 readonly or?: readonly NullableProjectMilestoneFilter[] | null | undefined
4476 /** Filters that the project milestone's project must satisfy. */
4477 readonly project?: NullableProjectFilter | null | undefined
4478 /** Comparator for the project milestone target date. */
4479 readonly targetDate?: NullableDateComparator | null | undefined
4480 /** Comparator for the updated at date. */
4481 readonly updatedAt?: DateComparator | null | undefined
4482 }
4483 export interface NullableProjectMilestoneFilterEncoded {
4484 readonly and?: readonly NullableProjectMilestoneFilterEncoded[] | null | undefined
4485 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4486 readonly id?: typeof IDComparator.Encoded | null | undefined
4487 readonly name?: typeof NullableStringComparator.Encoded | null | undefined
4488 readonly null?: boolean | null | undefined
4489 readonly or?: readonly NullableProjectMilestoneFilterEncoded[] | null | undefined
4490 readonly project?: NullableProjectFilterEncoded | null | undefined
4491 readonly targetDate?: typeof NullableDateComparator.Encoded | null | undefined
4492 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4493 }
4494
4495 /** Release collection filtering options. */
4496 export const ReleaseCollectionFilter: Schema.Codec<ReleaseCollectionFilter, ReleaseCollectionFilterEncoded> = Schema.Struct({
4497 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReleaseCollectionFilter)))),
4498 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
4499 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4500 every: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleaseFilter))),
4501 hasReleaseNotes: Schema.optional(Schema.NullOr(BooleanComparator)),
4502 id: Schema.optional(Schema.NullOr(IDComparator)),
4503 length: Schema.optional(Schema.NullOr(NumberComparator)),
4504 name: Schema.optional(Schema.NullOr(StringComparator)),
4505 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReleaseCollectionFilter)))),
4506 pipeline: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleasePipelineFilter))),
4507 some: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleaseFilter))),
4508 stage: Schema.optional(Schema.NullOr(ReleaseStageFilter)),
4509 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
4510 version: Schema.optional(Schema.NullOr(StringComparator))
4511 })
4512 export interface ReleaseCollectionFilter {
4513 /** Compound filters, all of which need to be matched by the release. */
4514 readonly and?: readonly ReleaseCollectionFilter[] | null | undefined
4515 /** Comparator for the release completion date. */
4516 readonly completedAt?: NullableDateComparator | null | undefined
4517 /** Comparator for the created at date. */
4518 readonly createdAt?: DateComparator | null | undefined
4519 /** Filters that needs to be matched by all releases. */
4520 readonly every?: ReleaseFilter | null | undefined
4521 /** Comparator for whether the release is covered by any (non-archived) release note. Filter with `{ eq: false }` to retrieve releases that do not yet have release notes attached. */
4522 readonly hasReleaseNotes?: BooleanComparator | null | undefined
4523 /** Comparator for the identifier. */
4524 readonly id?: IDComparator | null | undefined
4525 /** Comparator for the collection length. */
4526 readonly length?: NumberComparator | null | undefined
4527 /** Comparator for the release name. */
4528 readonly name?: StringComparator | null | undefined
4529 /** Compound filters, one of which need to be matched by the release. */
4530 readonly or?: readonly ReleaseCollectionFilter[] | null | undefined
4531 /** Filters that the release's pipeline must satisfy. */
4532 readonly pipeline?: ReleasePipelineFilter | null | undefined
4533 /** Filters that needs to be matched by some releases. */
4534 readonly some?: ReleaseFilter | null | undefined
4535 /** Filters that the release's stage must satisfy. */
4536 readonly stage?: ReleaseStageFilter | null | undefined
4537 /** Comparator for the updated at date. */
4538 readonly updatedAt?: DateComparator | null | undefined
4539 /** Comparator for the release version. */
4540 readonly version?: StringComparator | null | undefined
4541 }
4542 export interface ReleaseCollectionFilterEncoded {
4543 readonly and?: readonly ReleaseCollectionFilterEncoded[] | null | undefined
4544 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
4545 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4546 readonly every?: ReleaseFilterEncoded | null | undefined
4547 readonly hasReleaseNotes?: typeof BooleanComparator.Encoded | null | undefined
4548 readonly id?: typeof IDComparator.Encoded | null | undefined
4549 readonly length?: typeof NumberComparator.Encoded | null | undefined
4550 readonly name?: typeof StringComparator.Encoded | null | undefined
4551 readonly or?: readonly ReleaseCollectionFilterEncoded[] | null | undefined
4552 readonly pipeline?: ReleasePipelineFilterEncoded | null | undefined
4553 readonly some?: ReleaseFilterEncoded | null | undefined
4554 readonly stage?: ReleaseStageFilterEncoded | null | undefined
4555 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4556 readonly version?: typeof StringComparator.Encoded | null | undefined
4557 }
4558
4559 /** Release filtering options. */
4560 export const ReleaseFilter: Schema.Codec<ReleaseFilter, ReleaseFilterEncoded> = Schema.Struct({
4561 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReleaseFilter)))),
4562 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
4563 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4564 hasReleaseNotes: Schema.optional(Schema.NullOr(BooleanComparator)),
4565 id: Schema.optional(Schema.NullOr(IDComparator)),
4566 name: Schema.optional(Schema.NullOr(StringComparator)),
4567 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ReleaseFilter)))),
4568 pipeline: Schema.optional(Schema.NullOr(Schema.suspend(() => ReleasePipelineFilter))),
4569 stage: Schema.optional(Schema.NullOr(ReleaseStageFilter)),
4570 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
4571 version: Schema.optional(Schema.NullOr(StringComparator))
4572 })
4573 export interface ReleaseFilter {
4574 /** Compound filters, all of which need to be matched by the release. */
4575 readonly and?: readonly ReleaseFilter[] | null | undefined
4576 /** Comparator for the release completion date. */
4577 readonly completedAt?: NullableDateComparator | null | undefined
4578 /** Comparator for the created at date. */
4579 readonly createdAt?: DateComparator | null | undefined
4580 /** Comparator for whether the release is covered by any (non-archived) release note. Filter with `{ eq: false }` to retrieve releases that do not yet have release notes attached. */
4581 readonly hasReleaseNotes?: BooleanComparator | null | undefined
4582 /** Comparator for the identifier. */
4583 readonly id?: IDComparator | null | undefined
4584 /** Comparator for the release name. */
4585 readonly name?: StringComparator | null | undefined
4586 /** Compound filters, one of which need to be matched by the release. */
4587 readonly or?: readonly ReleaseFilter[] | null | undefined
4588 /** Filters that the release's pipeline must satisfy. */
4589 readonly pipeline?: ReleasePipelineFilter | null | undefined
4590 /** Filters that the release's stage must satisfy. */
4591 readonly stage?: ReleaseStageFilter | null | undefined
4592 /** Comparator for the updated at date. */
4593 readonly updatedAt?: DateComparator | null | undefined
4594 /** Comparator for the release version. */
4595 readonly version?: StringComparator | null | undefined
4596 }
4597 export interface ReleaseFilterEncoded {
4598 readonly and?: readonly ReleaseFilterEncoded[] | null | undefined
4599 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
4600 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4601 readonly hasReleaseNotes?: typeof BooleanComparator.Encoded | null | undefined
4602 readonly id?: typeof IDComparator.Encoded | null | undefined
4603 readonly name?: typeof StringComparator.Encoded | null | undefined
4604 readonly or?: readonly ReleaseFilterEncoded[] | null | undefined
4605 readonly pipeline?: ReleasePipelineFilterEncoded | null | undefined
4606 readonly stage?: ReleaseStageFilterEncoded | null | undefined
4607 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4608 readonly version?: typeof StringComparator.Encoded | null | undefined
4609 }
4610
4611 /** Workflow state filtering options. */
4612 export const WorkflowStateFilter: Schema.Codec<WorkflowStateFilter, WorkflowStateFilterEncoded> = Schema.Struct({
4613 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => WorkflowStateFilter)))),
4614 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4615 description: Schema.optional(Schema.NullOr(StringComparator)),
4616 id: Schema.optional(Schema.NullOr(IDComparator)),
4617 issues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
4618 name: Schema.optional(Schema.NullOr(StringComparator)),
4619 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => WorkflowStateFilter)))),
4620 position: Schema.optional(Schema.NullOr(NumberComparator)),
4621 team: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamFilter))),
4622 type: Schema.optional(Schema.NullOr(StringComparator)),
4623 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
4624 })
4625 export interface WorkflowStateFilter {
4626 /** Compound filters, all of which need to be matched by the workflow state. */
4627 readonly and?: readonly WorkflowStateFilter[] | null | undefined
4628 /** Comparator for the created at date. */
4629 readonly createdAt?: DateComparator | null | undefined
4630 /** Comparator for the workflow state description. */
4631 readonly description?: StringComparator | null | undefined
4632 /** Comparator for the identifier. */
4633 readonly id?: IDComparator | null | undefined
4634 /** Filters that the workflow states issues must satisfy. */
4635 readonly issues?: IssueCollectionFilter | null | undefined
4636 /** Comparator for the workflow state name. */
4637 readonly name?: StringComparator | null | undefined
4638 /** Compound filters, one of which need to be matched by the workflow state. */
4639 readonly or?: readonly WorkflowStateFilter[] | null | undefined
4640 /** Comparator for the workflow state position. */
4641 readonly position?: NumberComparator | null | undefined
4642 /** Filters that the workflow states team must satisfy. */
4643 readonly team?: TeamFilter | null | undefined
4644 /** Comparator for the workflow state type. Possible values are "triage", "backlog", "unstarted", "started", "completed", "canceled", "duplicate". */
4645 readonly type?: StringComparator | null | undefined
4646 /** Comparator for the updated at date. */
4647 readonly updatedAt?: DateComparator | null | undefined
4648 }
4649 export interface WorkflowStateFilterEncoded {
4650 readonly and?: readonly WorkflowStateFilterEncoded[] | null | undefined
4651 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4652 readonly description?: typeof StringComparator.Encoded | null | undefined
4653 readonly id?: typeof IDComparator.Encoded | null | undefined
4654 readonly issues?: IssueCollectionFilterEncoded | null | undefined
4655 readonly name?: typeof StringComparator.Encoded | null | undefined
4656 readonly or?: readonly WorkflowStateFilterEncoded[] | null | undefined
4657 readonly position?: typeof NumberComparator.Encoded | null | undefined
4658 readonly team?: TeamFilterEncoded | null | undefined
4659 readonly type?: typeof StringComparator.Encoded | null | undefined
4660 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4661 }
4662
4663 /** IssueSuggestion collection filtering options. */
4664 export const IssueSuggestionCollectionFilter: Schema.Codec<IssueSuggestionCollectionFilter, IssueSuggestionCollectionFilterEncoded> = Schema.Struct({
4665 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueSuggestionCollectionFilter)))),
4666 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4667 every: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueSuggestionFilter))),
4668 id: Schema.optional(Schema.NullOr(IDComparator)),
4669 length: Schema.optional(Schema.NullOr(NumberComparator)),
4670 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueSuggestionCollectionFilter)))),
4671 some: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueSuggestionFilter))),
4672 state: Schema.optional(Schema.NullOr(StringComparator)),
4673 suggestedLabel: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueLabelFilter))),
4674 suggestedProject: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
4675 suggestedTeam: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
4676 suggestedUser: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
4677 type: Schema.optional(Schema.NullOr(StringComparator)),
4678 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
4679 })
4680 export interface IssueSuggestionCollectionFilter {
4681 /** Compound filters, all of which need to be matched by the suggestion. */
4682 readonly and?: readonly IssueSuggestionCollectionFilter[] | null | undefined
4683 /** Comparator for the created at date. */
4684 readonly createdAt?: DateComparator | null | undefined
4685 /** Filters that needs to be matched by all suggestions. */
4686 readonly every?: IssueSuggestionFilter | null | undefined
4687 /** Comparator for the identifier. */
4688 readonly id?: IDComparator | null | undefined
4689 /** Comparator for the collection length. */
4690 readonly length?: NumberComparator | null | undefined
4691 /** Compound filters, one of which need to be matched by the suggestion. */
4692 readonly or?: readonly IssueSuggestionCollectionFilter[] | null | undefined
4693 /** Filters that needs to be matched by some suggestions. */
4694 readonly some?: IssueSuggestionFilter | null | undefined
4695 /** Comparator for the suggestion state. */
4696 readonly state?: StringComparator | null | undefined
4697 /** Filters that the suggested label must satisfy. */
4698 readonly suggestedLabel?: IssueLabelFilter | null | undefined
4699 /** Filters that the suggested project must satisfy. */
4700 readonly suggestedProject?: NullableProjectFilter | null | undefined
4701 /** Filters that the suggested team must satisfy. */
4702 readonly suggestedTeam?: NullableTeamFilter | null | undefined
4703 /** Filters that the suggested user must satisfy. */
4704 readonly suggestedUser?: NullableUserFilter | null | undefined
4705 /** Comparator for the suggestion type. */
4706 readonly type?: StringComparator | null | undefined
4707 /** Comparator for the updated at date. */
4708 readonly updatedAt?: DateComparator | null | undefined
4709 }
4710 export interface IssueSuggestionCollectionFilterEncoded {
4711 readonly and?: readonly IssueSuggestionCollectionFilterEncoded[] | null | undefined
4712 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4713 readonly every?: IssueSuggestionFilterEncoded | null | undefined
4714 readonly id?: typeof IDComparator.Encoded | null | undefined
4715 readonly length?: typeof NumberComparator.Encoded | null | undefined
4716 readonly or?: readonly IssueSuggestionCollectionFilterEncoded[] | null | undefined
4717 readonly some?: IssueSuggestionFilterEncoded | null | undefined
4718 readonly state?: typeof StringComparator.Encoded | null | undefined
4719 readonly suggestedLabel?: IssueLabelFilterEncoded | null | undefined
4720 readonly suggestedProject?: NullableProjectFilterEncoded | null | undefined
4721 readonly suggestedTeam?: NullableTeamFilterEncoded | null | undefined
4722 readonly suggestedUser?: NullableUserFilterEncoded | null | undefined
4723 readonly type?: typeof StringComparator.Encoded | null | undefined
4724 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4725 }
4726
4727 /** IssueSuggestion filtering options. */
4728 export const IssueSuggestionFilter: Schema.Codec<IssueSuggestionFilter, IssueSuggestionFilterEncoded> = Schema.Struct({
4729 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueSuggestionFilter)))),
4730 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4731 id: Schema.optional(Schema.NullOr(IDComparator)),
4732 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => IssueSuggestionFilter)))),
4733 state: Schema.optional(Schema.NullOr(StringComparator)),
4734 suggestedLabel: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueLabelFilter))),
4735 suggestedProject: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableProjectFilter))),
4736 suggestedTeam: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
4737 suggestedUser: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
4738 type: Schema.optional(Schema.NullOr(StringComparator)),
4739 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
4740 })
4741 export interface IssueSuggestionFilter {
4742 /** Compound filters, all of which need to be matched by the suggestion. */
4743 readonly and?: readonly IssueSuggestionFilter[] | null | undefined
4744 /** Comparator for the created at date. */
4745 readonly createdAt?: DateComparator | null | undefined
4746 /** Comparator for the identifier. */
4747 readonly id?: IDComparator | null | undefined
4748 /** Compound filters, one of which need to be matched by the suggestion. */
4749 readonly or?: readonly IssueSuggestionFilter[] | null | undefined
4750 /** Comparator for the suggestion state. */
4751 readonly state?: StringComparator | null | undefined
4752 /** Filters that the suggested label must satisfy. */
4753 readonly suggestedLabel?: IssueLabelFilter | null | undefined
4754 /** Filters that the suggested project must satisfy. */
4755 readonly suggestedProject?: NullableProjectFilter | null | undefined
4756 /** Filters that the suggested team must satisfy. */
4757 readonly suggestedTeam?: NullableTeamFilter | null | undefined
4758 /** Filters that the suggested user must satisfy. */
4759 readonly suggestedUser?: NullableUserFilter | null | undefined
4760 /** Comparator for the suggestion type. */
4761 readonly type?: StringComparator | null | undefined
4762 /** Comparator for the updated at date. */
4763 readonly updatedAt?: DateComparator | null | undefined
4764 }
4765 export interface IssueSuggestionFilterEncoded {
4766 readonly and?: readonly IssueSuggestionFilterEncoded[] | null | undefined
4767 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4768 readonly id?: typeof IDComparator.Encoded | null | undefined
4769 readonly or?: readonly IssueSuggestionFilterEncoded[] | null | undefined
4770 readonly state?: typeof StringComparator.Encoded | null | undefined
4771 readonly suggestedLabel?: IssueLabelFilterEncoded | null | undefined
4772 readonly suggestedProject?: NullableProjectFilterEncoded | null | undefined
4773 readonly suggestedTeam?: NullableTeamFilterEncoded | null | undefined
4774 readonly suggestedUser?: NullableUserFilterEncoded | null | undefined
4775 readonly type?: typeof StringComparator.Encoded | null | undefined
4776 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4777 }
4778
4779 /** Nullable project update filtering options. */
4780 export const NullableProjectUpdateFilter: Schema.Codec<NullableProjectUpdateFilter, NullableProjectUpdateFilterEncoded> = Schema.Struct({
4781 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableProjectUpdateFilter)))),
4782 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4783 id: Schema.optional(Schema.NullOr(IDComparator)),
4784 null: Schema.optional(Schema.NullOr(Schema.Boolean)),
4785 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => NullableProjectUpdateFilter)))),
4786 project: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectFilter))),
4787 reactions: Schema.optional(Schema.NullOr(ReactionCollectionFilter)),
4788 updatedAt: Schema.optional(Schema.NullOr(DateComparator)),
4789 user: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter)))
4790 })
4791 export interface NullableProjectUpdateFilter {
4792 /** Compound filters, all of which need to be matched by the project update. */
4793 readonly and?: readonly NullableProjectUpdateFilter[] | null | undefined
4794 /** Comparator for the created at date. */
4795 readonly createdAt?: DateComparator | null | undefined
4796 /** Comparator for the identifier. */
4797 readonly id?: IDComparator | null | undefined
4798 /** Filter based on the existence of the relation. */
4799 readonly null?: boolean | null | undefined
4800 /** Compound filters, one of which need to be matched by the project update. */
4801 readonly or?: readonly NullableProjectUpdateFilter[] | null | undefined
4802 /** Filters that the project update project must satisfy. */
4803 readonly project?: ProjectFilter | null | undefined
4804 /** Filters that the project updates reactions must satisfy. */
4805 readonly reactions?: ReactionCollectionFilter | null | undefined
4806 /** Comparator for the updated at date. */
4807 readonly updatedAt?: DateComparator | null | undefined
4808 /** Filters that the project update creator must satisfy. */
4809 readonly user?: UserFilter | null | undefined
4810 }
4811 export interface NullableProjectUpdateFilterEncoded {
4812 readonly and?: readonly NullableProjectUpdateFilterEncoded[] | null | undefined
4813 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4814 readonly id?: typeof IDComparator.Encoded | null | undefined
4815 readonly null?: boolean | null | undefined
4816 readonly or?: readonly NullableProjectUpdateFilterEncoded[] | null | undefined
4817 readonly project?: ProjectFilterEncoded | null | undefined
4818 readonly reactions?: ReactionCollectionFilterEncoded | null | undefined
4819 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
4820 readonly user?: UserFilterEncoded | null | undefined
4821 }
4822
4823 /** Project filtering options. */
4824 export const ProjectFilter: Schema.Codec<ProjectFilter, ProjectFilterEncoded> = Schema.Struct({
4825 accessibleTeams: Schema.optional(Schema.NullOr(Schema.suspend(() => TeamCollectionFilter))),
4826 activityType: Schema.optional(Schema.NullOr(StringComparator)),
4827 and: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectFilter)))),
4828 canceledAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
4829 completedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
4830 completedProjectMilestones: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneCollectionFilter))),
4831 createdAt: Schema.optional(Schema.NullOr(DateComparator)),
4832 creator: Schema.optional(Schema.NullOr(Schema.suspend(() => UserFilter))),
4833 customIdentifier: Schema.optional(Schema.NullOr(NullableStringComparator)),
4834 customerCount: Schema.optional(Schema.NullOr(NumberComparator)),
4835 customerImportantCount: Schema.optional(Schema.NullOr(NumberComparator)),
4836 hasBlockedByRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
4837 hasBlockingRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
4838 hasDependedOnByRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
4839 hasDependsOnRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
4840 hasRelatedRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
4841 hasViolatedRelations: Schema.optional(Schema.NullOr(RelationExistsComparator)),
4842 health: Schema.optional(Schema.NullOr(StringComparator)),
4843 healthWithAge: Schema.optional(Schema.NullOr(StringComparator)),
4844 id: Schema.optional(Schema.NullOr(EntityIdentifierIDComparator)),
4845 initiatives: Schema.optional(Schema.NullOr(Schema.suspend(() => InitiativeCollectionFilter))),
4846 issues: Schema.optional(Schema.NullOr(Schema.suspend(() => IssueCollectionFilter))),
4847 labels: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectLabelCollectionFilter))),
4848 lastAppliedTemplate: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTemplateFilter))),
4849 lead: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableUserFilter))),
4850 leadTeam: Schema.optional(Schema.NullOr(Schema.suspend(() => NullableTeamFilter))),
4851 members: Schema.optional(Schema.NullOr(Schema.suspend(() => UserCollectionFilter))),
4852 name: Schema.optional(Schema.NullOr(StringComparator)),
4853 needs: Schema.optional(Schema.NullOr(Schema.suspend(() => CustomerNeedCollectionFilter))),
4854 nextProjectMilestone: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneFilter))),
4855 or: Schema.optional(Schema.NullOr(Schema.Array(Schema.suspend(() => ProjectFilter)))),
4856 priority: Schema.optional(Schema.NullOr(NullableNumberComparator)),
4857 projectMilestones: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectMilestoneCollectionFilter))),
4858 projectUpdates: Schema.optional(Schema.NullOr(ProjectUpdatesCollectionFilter)),
4859 roadmaps: Schema.optional(Schema.NullOr(Schema.suspend(() => RoadmapCollectionFilter))),
4860 searchableContent: Schema.optional(Schema.NullOr(ContentComparator)),
4861 slugId: Schema.optional(Schema.NullOr(StringComparator)),
4862 startDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
4863 startedAt: Schema.optional(Schema.NullOr(NullableDateComparator)),
4864 state: Schema.optional(Schema.NullOr(StringComparator)),
4865 status: Schema.optional(Schema.NullOr(Schema.suspend(() => ProjectStatusFilter))),
4866 targetDate: Schema.optional(Schema.NullOr(NullableDateComparator)),
4867 updatedAt: Schema.optional(Schema.NullOr(DateComparator))
4868 })
4869 export interface ProjectFilter {
4870 /** Filters that the project's team must satisfy. */
4871 readonly accessibleTeams?: TeamCollectionFilter | null | undefined
4872 /** [ALPHA] Comparator for the project activity type: buzzin, active, some, none */
4873 readonly activityType?: StringComparator | null | undefined
4874 /** Compound filters, all of which need to be matched by the project. */
4875 readonly and?: readonly ProjectFilter[] | null | undefined
4876 /** Comparator for the project cancelation date. */
4877 readonly canceledAt?: NullableDateComparator | null | undefined
4878 /** Comparator for the project completion date. */
4879 readonly completedAt?: NullableDateComparator | null | undefined
4880 /** Filters that the project's completed milestones must satisfy. */
4881 readonly completedProjectMilestones?: ProjectMilestoneCollectionFilter | null | undefined
4882 /** Comparator for the created at date. */
4883 readonly createdAt?: DateComparator | null | undefined
4884 /** Filters that the projects creator must satisfy. */
4885 readonly creator?: UserFilter | null | undefined
4886 /** [Internal] Comparator for the project's custom identifier. */
4887 readonly customIdentifier?: NullableStringComparator | null | undefined
4888 /** Count of customers */
4889 readonly customerCount?: NumberComparator | null | undefined
4890 /** Count of important customers */
4891 readonly customerImportantCount?: NumberComparator | null | undefined
4892 /** Comparator for filtering projects which are blocked. */
4893 readonly hasBlockedByRelations?: RelationExistsComparator | null | undefined
4894 /** Comparator for filtering projects which are blocking. */
4895 readonly hasBlockingRelations?: RelationExistsComparator | null | undefined
4896 /** [Deprecated] Comparator for filtering projects which this is depended on by. */
4897 readonly hasDependedOnByRelations?: RelationExistsComparator | null | undefined
4898 /** [Deprecated]Comparator for filtering projects which this depends on. */
4899 readonly hasDependsOnRelations?: RelationExistsComparator | null | undefined
4900 /** Comparator for filtering projects with relations. */
4901 readonly hasRelatedRelations?: RelationExistsComparator | null | undefined
4902 /** Comparator for filtering projects with violated dependencies. */
4903 readonly hasViolatedRelations?: RelationExistsComparator | null | undefined
4904 /** Comparator for the project health: onTrack, atRisk, offTrack */
4905 readonly health?: StringComparator | null | undefined
4906 /** Comparator for the project health (with age): onTrack, atRisk, offTrack, outdated, noUpdate */
4907 readonly healthWithAge?: StringComparator | null | undefined
4908 /** Comparator for the identifier. */
4909 readonly id?: EntityIdentifierIDComparator | null | undefined
4910 /** Filters that the projects initiatives must satisfy. */
4911 readonly initiatives?: InitiativeCollectionFilter | null | undefined
4912 /** Filters that the projects issues must satisfy. */
4913 readonly issues?: IssueCollectionFilter | null | undefined
4914 /** Filters that project labels must satisfy. */
4915 readonly labels?: ProjectLabelCollectionFilter | null | undefined
4916 /** Filters that the last applied template must satisfy. */
4917 readonly lastAppliedTemplate?: NullableTemplateFilter | null | undefined
4918 /** Filters that the projects lead must satisfy. */
4919 readonly lead?: NullableUserFilter | null | undefined
4920 /** [ALPHA] Filters that the project's lead team must satisfy. */
4921 readonly leadTeam?: NullableTeamFilter | null | undefined
4922 /** Filters that the projects members must satisfy. */
4923 readonly members?: UserCollectionFilter | null | undefined
4924 /** Comparator for the project name. */
4925 readonly name?: StringComparator | null | undefined
4926 /** Filters that the project's customer needs must satisfy. */
4927 readonly needs?: CustomerNeedCollectionFilter | null | undefined
4928 /** Filters that the project's next milestone must satisfy. */
4929 readonly nextProjectMilestone?: ProjectMilestoneFilter | null | undefined
4930 /** Compound filters, one of which need to be matched by the project. */
4931 readonly or?: readonly ProjectFilter[] | null | undefined
4932 /** Comparator for the project priority. */
4933 readonly priority?: NullableNumberComparator | null | undefined
4934 /** Filters that the project's milestones must satisfy. */
4935 readonly projectMilestones?: ProjectMilestoneCollectionFilter | null | undefined
4936 /** Comparator for the project updates. */
4937 readonly projectUpdates?: ProjectUpdatesCollectionFilter | null | undefined
4938 /** Filters that the projects roadmaps must satisfy. */
4939 readonly roadmaps?: RoadmapCollectionFilter | null | undefined
4940 /** [Internal] Comparator for the project's content. */
4941 readonly searchableContent?: ContentComparator | null | undefined
4942 /** Comparator for the project slug ID. */
4943 readonly slugId?: StringComparator | null | undefined
4944 /** Comparator for the project start date. */
4945 readonly startDate?: NullableDateComparator | null | undefined
4946 /** Comparator for the project started date (when it was moved to an "In Progress" status). */
4947 readonly startedAt?: NullableDateComparator | null | undefined
4948 /** [DEPRECATED] Comparator for the project state. */
4949 readonly state?: StringComparator | null | undefined
4950 /** Filters that the project status must satisfy. */
4951 readonly status?: ProjectStatusFilter | null | undefined
4952 /** Comparator for the project target date. */
4953 readonly targetDate?: NullableDateComparator | null | undefined
4954 /** Comparator for the updated at date. */
4955 readonly updatedAt?: DateComparator | null | undefined
4956 }
4957 export interface ProjectFilterEncoded {
4958 readonly accessibleTeams?: TeamCollectionFilterEncoded | null | undefined
4959 readonly activityType?: typeof StringComparator.Encoded | null | undefined
4960 readonly and?: readonly ProjectFilterEncoded[] | null | undefined
4961 readonly canceledAt?: typeof NullableDateComparator.Encoded | null | undefined
4962 readonly completedAt?: typeof NullableDateComparator.Encoded | null | undefined
4963 readonly completedProjectMilestones?: ProjectMilestoneCollectionFilterEncoded | null | undefined
4964 readonly createdAt?: typeof DateComparator.Encoded | null | undefined
4965 readonly creator?: UserFilterEncoded | null | undefined
4966 readonly customIdentifier?: typeof NullableStringComparator.Encoded | null | undefined
4967 readonly customerCount?: typeof NumberComparator.Encoded | null | undefined
4968 readonly customerImportantCount?: typeof NumberComparator.Encoded | null | undefined
4969 readonly hasBlockedByRelations?: typeof RelationExistsComparator.Encoded | null | undefined
4970 readonly hasBlockingRelations?: typeof RelationExistsComparator.Encoded | null | undefined
4971 readonly hasDependedOnByRelations?: typeof RelationExistsComparator.Encoded | null | undefined
4972 readonly hasDependsOnRelations?: typeof RelationExistsComparator.Encoded | null | undefined
4973 readonly hasRelatedRelations?: typeof RelationExistsComparator.Encoded | null | undefined
4974 readonly hasViolatedRelations?: typeof RelationExistsComparator.Encoded | null | undefined
4975 readonly health?: typeof StringComparator.Encoded | null | undefined
4976 readonly healthWithAge?: typeof StringComparator.Encoded | null | undefined
4977 readonly id?: typeof EntityIdentifierIDComparator.Encoded | null | undefined
4978 readonly initiatives?: InitiativeCollectionFilterEncoded | null | undefined
4979 readonly issues?: IssueCollectionFilterEncoded | null | undefined
4980 readonly labels?: ProjectLabelCollectionFilterEncoded | null | undefined
4981 readonly lastAppliedTemplate?: NullableTemplateFilterEncoded | null | undefined
4982 readonly lead?: NullableUserFilterEncoded | null | undefined
4983 readonly leadTeam?: NullableTeamFilterEncoded | null | undefined
4984 readonly members?: UserCollectionFilterEncoded | null | undefined
4985 readonly name?: typeof StringComparator.Encoded | null | undefined
4986 readonly needs?: CustomerNeedCollectionFilterEncoded | null | undefined
4987 readonly nextProjectMilestone?: ProjectMilestoneFilterEncoded | null | undefined
4988 readonly or?: readonly ProjectFilterEncoded[] | null | undefined
4989 readonly priority?: typeof NullableNumberComparator.Encoded | null | undefined
4990 readonly projectMilestones?: ProjectMilestoneCollectionFilterEncoded | null | undefined
4991 readonly projectUpdates?: ProjectUpdatesCollectionFilterEncoded | null | undefined
4992 readonly roadmaps?: RoadmapCollectionFilterEncoded | null | undefined
4993 readonly searchableContent?: typeof ContentComparator.Encoded | null | undefined
4994 readonly slugId?: typeof StringComparator.Encoded | null | undefined
4995 readonly startDate?: typeof NullableDateComparator.Encoded | null | undefined
4996 readonly startedAt?: typeof NullableDateComparator.Encoded | null | undefined
4997 readonly state?: typeof StringComparator.Encoded | null | undefined
4998 readonly status?: ProjectStatusFilterEncoded | null | undefined
4999 readonly targetDate?: typeof NullableDateComparator.Encoded | null | undefined
5000 readonly updatedAt?: typeof DateComparator.Encoded | null | undefined
Showing first 5,000 of 5,433 lines. View raw