@linear/sdk 14.0.0 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_generated_documents.d.ts +271 -45
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +31 -9
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +137 -19
- package/dist/index-cjs.js.map +1 -1
- package/dist/index-cjs.min.js +1 -1
- package/dist/index-cjs.min.js.br +0 -0
- package/dist/index-cjs.min.js.gz +0 -0
- package/dist/index-cjs.min.js.map +1 -1
- package/dist/index-es.js +136 -20
- package/dist/index-es.js.map +1 -1
- package/dist/index-es.min.js +1 -1
- package/dist/index-es.min.js.br +0 -0
- package/dist/index-es.min.js.gz +0 -0
- package/dist/index-es.min.js.map +1 -1
- package/dist/index-umd.js +138 -20
- package/dist/index-umd.js.map +1 -1
- package/dist/index-umd.min.js +1 -1
- package/dist/index-umd.min.js.br +0 -0
- package/dist/index-umd.min.js.gz +0 -0
- package/dist/index-umd.min.js.map +1 -1
- package/package.json +1 -1
@@ -145,6 +145,13 @@ export declare type AsksChannelConnectPayload = {
|
|
145
145
|
/** Whether the operation was successful. */
|
146
146
|
success: Scalars["Boolean"];
|
147
147
|
};
|
148
|
+
/** Issue assignee sorting options. */
|
149
|
+
export declare type AssigneeSort = {
|
150
|
+
/** Whether nulls should be sorted first or last */
|
151
|
+
nulls?: Maybe<PaginationNulls>;
|
152
|
+
/** The order for the individual sort */
|
153
|
+
order?: Maybe<PaginationSortOrder>;
|
154
|
+
};
|
148
155
|
/** Issue attachment (e.g. support ticket, pull request). */
|
149
156
|
export declare type Attachment = Node & {
|
150
157
|
__typename?: "Attachment";
|
@@ -518,6 +525,8 @@ export declare type AuthOrganizationDomain = {
|
|
518
525
|
/** An invitation to the organization that has been sent via email. */
|
519
526
|
export declare type AuthOrganizationInvite = {
|
520
527
|
__typename?: "AuthOrganizationInvite";
|
528
|
+
/** The time at which the invite will be expiring. Null, if the invite shouldn't expire. */
|
529
|
+
expiresAt?: Maybe<Scalars["DateTime"]>;
|
521
530
|
/** The unique identifier of the entity. */
|
522
531
|
id: Scalars["ID"];
|
523
532
|
};
|
@@ -898,6 +907,13 @@ export declare type CompanyEdge = {
|
|
898
907
|
cursor: Scalars["String"];
|
899
908
|
node: Company;
|
900
909
|
};
|
910
|
+
/** Issue completion date sorting options. */
|
911
|
+
export declare type CompletedAtSort = {
|
912
|
+
/** Whether nulls should be sorted first or last */
|
913
|
+
nulls?: Maybe<PaginationNulls>;
|
914
|
+
/** The order for the individual sort */
|
915
|
+
order?: Maybe<PaginationSortOrder>;
|
916
|
+
};
|
901
917
|
export declare type ContactCreateInput = {
|
902
918
|
/** User's browser information. */
|
903
919
|
browser?: Maybe<Scalars["String"]>;
|
@@ -966,6 +982,13 @@ export declare type CreateOrganizationInput = {
|
|
966
982
|
/** JSON serialized UTM parameters associated with the creation of the workspace. */
|
967
983
|
utm?: Maybe<Scalars["String"]>;
|
968
984
|
};
|
985
|
+
/** Issue creation date sorting options. */
|
986
|
+
export declare type CreatedAtSort = {
|
987
|
+
/** Whether nulls should be sorted first or last */
|
988
|
+
nulls?: Maybe<PaginationNulls>;
|
989
|
+
/** The order for the individual sort */
|
990
|
+
order?: Maybe<PaginationSortOrder>;
|
991
|
+
};
|
969
992
|
/** A custom view that has been saved by a user. */
|
970
993
|
export declare type CustomView = Node & {
|
971
994
|
__typename?: "CustomView";
|
@@ -1345,6 +1368,13 @@ export declare type CycleShiftAllInput = {
|
|
1345
1368
|
/** [DEPRECATED] The cycle id at which to start the shift. */
|
1346
1369
|
id: Scalars["String"];
|
1347
1370
|
};
|
1371
|
+
/** Issue cycle sorting options. */
|
1372
|
+
export declare type CycleSort = {
|
1373
|
+
/** Whether nulls should be sorted first or last */
|
1374
|
+
nulls?: Maybe<PaginationNulls>;
|
1375
|
+
/** The order for the individual sort */
|
1376
|
+
order?: Maybe<PaginationSortOrder>;
|
1377
|
+
};
|
1348
1378
|
export declare type CycleUpdateInput = {
|
1349
1379
|
/** The end date of the cycle. */
|
1350
1380
|
completedAt?: Maybe<Scalars["DateTime"]>;
|
@@ -1715,6 +1745,13 @@ export declare type DocumentUpdateInput = {
|
|
1715
1745
|
/** The title of the document. */
|
1716
1746
|
title?: Maybe<Scalars["String"]>;
|
1717
1747
|
};
|
1748
|
+
/** Issue due date sorting options. */
|
1749
|
+
export declare type DueDateSort = {
|
1750
|
+
/** Whether nulls should be sorted first or last */
|
1751
|
+
nulls?: Maybe<PaginationNulls>;
|
1752
|
+
/** The order for the individual sort */
|
1753
|
+
order?: Maybe<PaginationSortOrder>;
|
1754
|
+
};
|
1718
1755
|
/** An email address that can be used for submitting issues. */
|
1719
1756
|
export declare type EmailIntakeAddress = Node & {
|
1720
1757
|
__typename?: "EmailIntakeAddress";
|
@@ -1900,6 +1937,13 @@ export declare type EstimateComparator = {
|
|
1900
1937
|
/** Compound filters, all of which need to be matched by the estimate. */
|
1901
1938
|
or?: Maybe<Array<NullableNumberComparator>>;
|
1902
1939
|
};
|
1940
|
+
/** Issue estimate sorting options. */
|
1941
|
+
export declare type EstimateSort = {
|
1942
|
+
/** Whether nulls should be sorted first or last */
|
1943
|
+
nulls?: Maybe<PaginationNulls>;
|
1944
|
+
/** The order for the individual sort */
|
1945
|
+
order?: Maybe<PaginationSortOrder>;
|
1946
|
+
};
|
1903
1947
|
/** An external authenticated (e.g., through Slack) user which doesn't have a Linear account, but can create and update entities in Linear from the external system that authenticated them. */
|
1904
1948
|
export declare type ExternalUser = Node & {
|
1905
1949
|
__typename?: "ExternalUser";
|
@@ -4180,6 +4224,41 @@ export declare type IssueSearchResultEdge = {
|
|
4180
4224
|
cursor: Scalars["String"];
|
4181
4225
|
node: IssueSearchResult;
|
4182
4226
|
};
|
4227
|
+
/** Issue filtering options. */
|
4228
|
+
export declare type IssueSortInput = {
|
4229
|
+
/** Sort by assignee name */
|
4230
|
+
assignee?: Maybe<AssigneeSort>;
|
4231
|
+
/** Sort by issue completion date */
|
4232
|
+
completedAt?: Maybe<CompletedAtSort>;
|
4233
|
+
/** Sort by issue creation date */
|
4234
|
+
createdAt?: Maybe<CreatedAtSort>;
|
4235
|
+
/** Sort by Cycle start date */
|
4236
|
+
cycle?: Maybe<CycleSort>;
|
4237
|
+
/** Sort by issue due date */
|
4238
|
+
dueDate?: Maybe<DueDateSort>;
|
4239
|
+
/** Sort by estimate */
|
4240
|
+
estimate?: Maybe<EstimateSort>;
|
4241
|
+
/** Sort by label */
|
4242
|
+
label?: Maybe<LabelSort>;
|
4243
|
+
/** Sort by manual order */
|
4244
|
+
manual?: Maybe<ManualSort>;
|
4245
|
+
/** Sort by Project Milestone target date */
|
4246
|
+
milestone?: Maybe<MilestoneSort>;
|
4247
|
+
/** Sort by priority */
|
4248
|
+
priority?: Maybe<PrioritySort>;
|
4249
|
+
/** Sort by Project name */
|
4250
|
+
project?: Maybe<ProjectSort>;
|
4251
|
+
/** Sort by SLA status */
|
4252
|
+
slaStatus?: Maybe<SlaStatusSort>;
|
4253
|
+
/** Sort by Team name */
|
4254
|
+
team?: Maybe<TeamSort>;
|
4255
|
+
/** Sort by issue title */
|
4256
|
+
title?: Maybe<TitleSort>;
|
4257
|
+
/** Sort by issue update date */
|
4258
|
+
updatedAt?: Maybe<UpdatedAtSort>;
|
4259
|
+
/** Sort by workflow state type */
|
4260
|
+
workflowState?: Maybe<WorkflowStateSort>;
|
4261
|
+
};
|
4183
4262
|
export declare type IssueUpdateInput = {
|
4184
4263
|
/** The identifier of the user to assign the issue to. */
|
4185
4264
|
assigneeId?: Maybe<Scalars["String"]>;
|
@@ -4360,11 +4439,32 @@ export declare type LabelNotificationSubscription = Entity & Node & Notification
|
|
4360
4439
|
/** The type of user view to which the notification subscription context is associated with. */
|
4361
4440
|
userContextViewType?: Maybe<UserContextViewType>;
|
4362
4441
|
};
|
4442
|
+
/** Issue sorting options. */
|
4443
|
+
export declare type LabelSort = {
|
4444
|
+
/** Whether nulls should be sorted first or last */
|
4445
|
+
nulls?: Maybe<PaginationNulls>;
|
4446
|
+
/** The order for the individual sort */
|
4447
|
+
order?: Maybe<PaginationSortOrder>;
|
4448
|
+
};
|
4363
4449
|
export declare type LogoutResponse = {
|
4364
4450
|
__typename?: "LogoutResponse";
|
4365
4451
|
/** Whether the operation was successful. */
|
4366
4452
|
success: Scalars["Boolean"];
|
4367
4453
|
};
|
4454
|
+
/** Issue manual sorting options. */
|
4455
|
+
export declare type ManualSort = {
|
4456
|
+
/** Whether nulls should be sorted first or last */
|
4457
|
+
nulls?: Maybe<PaginationNulls>;
|
4458
|
+
/** The order for the individual sort */
|
4459
|
+
order?: Maybe<PaginationSortOrder>;
|
4460
|
+
};
|
4461
|
+
/** Issue project milestone options. */
|
4462
|
+
export declare type MilestoneSort = {
|
4463
|
+
/** Whether nulls should be sorted first or last */
|
4464
|
+
nulls?: Maybe<PaginationNulls>;
|
4465
|
+
/** The order for the individual sort */
|
4466
|
+
order?: Maybe<PaginationSortOrder>;
|
4467
|
+
};
|
4368
4468
|
export declare type Mutation = {
|
4369
4469
|
__typename?: "Mutation";
|
4370
4470
|
/** Creates an integration api key for Airbyte to connect with Linear. */
|
@@ -4798,6 +4898,14 @@ export declare type Mutation = {
|
|
4798
4898
|
timeScheduleRefreshIntegrationSchedule: TimeSchedulePayload;
|
4799
4899
|
/** [ALPHA] Updates a time schedule. */
|
4800
4900
|
timeScheduleUpdate: TimeSchedulePayload;
|
4901
|
+
/** [ALPHA] Upsert an external time schedule. */
|
4902
|
+
timeScheduleUpsertExternal: TimeSchedulePayload;
|
4903
|
+
/** [ALPHA] Creates a new triage responsibility. */
|
4904
|
+
triageResponsibilityCreate: TriageResponsibilityPayload;
|
4905
|
+
/** [ALPHA] Deletes a triage responsibility. */
|
4906
|
+
triageResponsibilityDelete: DeletePayload;
|
4907
|
+
/** [ALPHA] Updates an existing triage responsibility. */
|
4908
|
+
triageResponsibilityUpdate: TriageResponsibilityPayload;
|
4801
4909
|
/** Makes user a regular user. Can only be called by an admin. */
|
4802
4910
|
userDemoteAdmin: UserAdminPayload;
|
4803
4911
|
/** Makes user a guest. Can only be called by an admin. */
|
@@ -5615,6 +5723,20 @@ export declare type MutationTimeScheduleUpdateArgs = {
|
|
5615
5723
|
id: Scalars["String"];
|
5616
5724
|
input: TimeScheduleUpdateInput;
|
5617
5725
|
};
|
5726
|
+
export declare type MutationTimeScheduleUpsertExternalArgs = {
|
5727
|
+
externalId: Scalars["String"];
|
5728
|
+
input: TimeScheduleUpdateInput;
|
5729
|
+
};
|
5730
|
+
export declare type MutationTriageResponsibilityCreateArgs = {
|
5731
|
+
input: TriageResponsibilityCreateInput;
|
5732
|
+
};
|
5733
|
+
export declare type MutationTriageResponsibilityDeleteArgs = {
|
5734
|
+
id: Scalars["String"];
|
5735
|
+
};
|
5736
|
+
export declare type MutationTriageResponsibilityUpdateArgs = {
|
5737
|
+
id: Scalars["String"];
|
5738
|
+
input: TriageResponsibilityUpdateInput;
|
5739
|
+
};
|
5618
5740
|
export declare type MutationUserDemoteAdminArgs = {
|
5619
5741
|
id: Scalars["String"];
|
5620
5742
|
};
|
@@ -6867,11 +6989,21 @@ export declare type PagerDutySettings = {
|
|
6867
6989
|
/** Metadata about a PagerDuty schedule. */
|
6868
6990
|
scheduleMapping: Array<PagerDutyScheduleInfo>;
|
6869
6991
|
};
|
6992
|
+
/** How to treat NULL values, whether they should appear first or last */
|
6993
|
+
export declare enum PaginationNulls {
|
6994
|
+
First = "first",
|
6995
|
+
Last = "last"
|
6996
|
+
}
|
6870
6997
|
/** By which field should the pagination order by */
|
6871
6998
|
export declare enum PaginationOrderBy {
|
6872
6999
|
CreatedAt = "createdAt",
|
6873
7000
|
UpdatedAt = "updatedAt"
|
6874
7001
|
}
|
7002
|
+
/** Whether to sort in ascending or descending order */
|
7003
|
+
export declare enum PaginationSortOrder {
|
7004
|
+
Ascending = "Ascending",
|
7005
|
+
Descending = "Descending"
|
7006
|
+
}
|
6875
7007
|
/** The paid subscription of an organization. */
|
6876
7008
|
export declare type PaidSubscription = Node & {
|
6877
7009
|
__typename?: "PaidSubscription";
|
@@ -6908,6 +7040,15 @@ export declare type PaidSubscription = Node & {
|
|
6908
7040
|
*/
|
6909
7041
|
updatedAt: Scalars["DateTime"];
|
6910
7042
|
};
|
7043
|
+
/** Issue priority sorting options. */
|
7044
|
+
export declare type PrioritySort = {
|
7045
|
+
/** Whether to consider no priority as the highest or lowest priority */
|
7046
|
+
noPriorityFirst?: Maybe<Scalars["Boolean"]>;
|
7047
|
+
/** Whether nulls should be sorted first or last */
|
7048
|
+
nulls?: Maybe<PaginationNulls>;
|
7049
|
+
/** The order for the individual sort */
|
7050
|
+
order?: Maybe<PaginationSortOrder>;
|
7051
|
+
};
|
6911
7052
|
/** A project. */
|
6912
7053
|
export declare type Project = Node & {
|
6913
7054
|
__typename?: "Project";
|
@@ -7738,6 +7879,13 @@ export declare type ProjectSearchResultEdge = {
|
|
7738
7879
|
cursor: Scalars["String"];
|
7739
7880
|
node: ProjectSearchResult;
|
7740
7881
|
};
|
7882
|
+
/** Issue project sorting options. */
|
7883
|
+
export declare type ProjectSort = {
|
7884
|
+
/** Whether nulls should be sorted first or last */
|
7885
|
+
nulls?: Maybe<PaginationNulls>;
|
7886
|
+
/** The order for the individual sort */
|
7887
|
+
order?: Maybe<PaginationSortOrder>;
|
7888
|
+
};
|
7741
7889
|
/** [ALPHA] A project status. */
|
7742
7890
|
export declare type ProjectStatus = Node & {
|
7743
7891
|
__typename?: "ProjectStatus";
|
@@ -8311,6 +8459,10 @@ export declare type Query = {
|
|
8311
8459
|
timeSchedule: TimeSchedule;
|
8312
8460
|
/** [ALPHA] All time schedules. */
|
8313
8461
|
timeSchedules: TimeScheduleConnection;
|
8462
|
+
/** [ALPHA] All triage responsibilities. */
|
8463
|
+
triageResponsibilities: TriageResponsibilityConnection;
|
8464
|
+
/** [ALPHA] A specific triage responsibility. */
|
8465
|
+
triageResponsibility: TriageResponsibility;
|
8314
8466
|
/** One specific user. */
|
8315
8467
|
user: User;
|
8316
8468
|
/** The user's settings. */
|
@@ -8607,6 +8759,7 @@ export declare type QueryIssuesArgs = {
|
|
8607
8759
|
includeArchived?: Maybe<Scalars["Boolean"]>;
|
8608
8760
|
last?: Maybe<Scalars["Int"]>;
|
8609
8761
|
orderBy?: Maybe<PaginationOrderBy>;
|
8762
|
+
sort?: Maybe<Array<IssueSortInput>>;
|
8610
8763
|
};
|
8611
8764
|
export declare type QueryNotificationArgs = {
|
8612
8765
|
id: Scalars["String"];
|
@@ -8818,6 +8971,17 @@ export declare type QueryTimeSchedulesArgs = {
|
|
8818
8971
|
last?: Maybe<Scalars["Int"]>;
|
8819
8972
|
orderBy?: Maybe<PaginationOrderBy>;
|
8820
8973
|
};
|
8974
|
+
export declare type QueryTriageResponsibilitiesArgs = {
|
8975
|
+
after?: Maybe<Scalars["String"]>;
|
8976
|
+
before?: Maybe<Scalars["String"]>;
|
8977
|
+
first?: Maybe<Scalars["Int"]>;
|
8978
|
+
includeArchived?: Maybe<Scalars["Boolean"]>;
|
8979
|
+
last?: Maybe<Scalars["Int"]>;
|
8980
|
+
orderBy?: Maybe<PaginationOrderBy>;
|
8981
|
+
};
|
8982
|
+
export declare type QueryTriageResponsibilityArgs = {
|
8983
|
+
id: Scalars["String"];
|
8984
|
+
};
|
8821
8985
|
export declare type QueryUserArgs = {
|
8822
8986
|
id: Scalars["String"];
|
8823
8987
|
};
|
@@ -9194,6 +9358,13 @@ export declare type SlaStatusComparator = {
|
|
9194
9358
|
/** Null constraint. Matches any non-null values if the given value is false, otherwise it matches null values. */
|
9195
9359
|
null?: Maybe<Scalars["Boolean"]>;
|
9196
9360
|
};
|
9361
|
+
/** Issue SLA status sorting options. */
|
9362
|
+
export declare type SlaStatusSort = {
|
9363
|
+
/** Whether nulls should be sorted first or last */
|
9364
|
+
nulls?: Maybe<PaginationNulls>;
|
9365
|
+
/** The order for the individual sort */
|
9366
|
+
order?: Maybe<PaginationSortOrder>;
|
9367
|
+
};
|
9197
9368
|
/** Slack Asks specific settings. */
|
9198
9369
|
export declare type SlackAsksSettings = {
|
9199
9370
|
__typename?: "SlackAsksSettings";
|
@@ -9552,6 +9723,8 @@ export declare type Team = Node & {
|
|
9552
9723
|
triageEnabled: Scalars["Boolean"];
|
9553
9724
|
/** The workflow state into which issues are set when they are opened by non-team members or integrations if triage is enabled. */
|
9554
9725
|
triageIssueState?: Maybe<WorkflowState>;
|
9726
|
+
/** Team's triage responsibility. */
|
9727
|
+
triageResponsibility?: Maybe<TriageResponsibility>;
|
9555
9728
|
/** How many upcoming cycles to create. */
|
9556
9729
|
upcomingCycleCount: Scalars["Float"];
|
9557
9730
|
/**
|
@@ -9928,6 +10101,13 @@ export declare type TeamRepoMappingInput = {
|
|
9928
10101
|
/** The Linear team id to map to the given project. */
|
9929
10102
|
linearTeamId: Scalars["String"];
|
9930
10103
|
};
|
10104
|
+
/** Issue team sorting options. */
|
10105
|
+
export declare type TeamSort = {
|
10106
|
+
/** Whether nulls should be sorted first or last */
|
10107
|
+
nulls?: Maybe<PaginationNulls>;
|
10108
|
+
/** The order for the individual sort */
|
10109
|
+
order?: Maybe<PaginationSortOrder>;
|
10110
|
+
};
|
9931
10111
|
export declare type TeamUpdateInput = {
|
9932
10112
|
/** Period after which closed and completed issues are automatically archived, in months. */
|
9933
10113
|
autoArchivePeriod?: Maybe<Scalars["Float"]>;
|
@@ -10104,8 +10284,6 @@ export declare type TimeSchedule = Node & {
|
|
10104
10284
|
createdAt: Scalars["DateTime"];
|
10105
10285
|
/** The schedule entries. */
|
10106
10286
|
entries: Array<TimeScheduleEntry>;
|
10107
|
-
/** User presentable error message, if an error occurred while updating the schedule. */
|
10108
|
-
error?: Maybe<Scalars["String"]>;
|
10109
10287
|
/** The identifier of the external schedule. */
|
10110
10288
|
externalId?: Maybe<Scalars["String"]>;
|
10111
10289
|
/** The URL to the external schedule. */
|
@@ -10133,17 +10311,13 @@ export declare type TimeScheduleConnection = {
|
|
10133
10311
|
};
|
10134
10312
|
export declare type TimeScheduleCreateInput = {
|
10135
10313
|
/** The schedule entries. */
|
10136
|
-
entries
|
10137
|
-
/**
|
10138
|
-
error?: Maybe<Scalars["String"]>;
|
10139
|
-
/** The identifier of the external schedule. */
|
10314
|
+
entries: Array<TimeScheduleEntryInput>;
|
10315
|
+
/** The unique identifier of the external schedule. */
|
10140
10316
|
externalId?: Maybe<Scalars["String"]>;
|
10141
10317
|
/** The URL to the external schedule. */
|
10142
10318
|
externalUrl?: Maybe<Scalars["String"]>;
|
10143
10319
|
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
|
10144
10320
|
id?: Maybe<Scalars["String"]>;
|
10145
|
-
/** The identifier of the Linear integration populating the schedule. */
|
10146
|
-
integrationId?: Maybe<Scalars["String"]>;
|
10147
10321
|
/** The name of the schedule. */
|
10148
10322
|
name: Scalars["String"];
|
10149
10323
|
};
|
@@ -10185,9 +10359,7 @@ export declare type TimeSchedulePayload = {
|
|
10185
10359
|
export declare type TimeScheduleUpdateInput = {
|
10186
10360
|
/** The schedule entries. */
|
10187
10361
|
entries?: Maybe<Array<TimeScheduleEntryInput>>;
|
10188
|
-
/**
|
10189
|
-
error?: Maybe<Scalars["String"]>;
|
10190
|
-
/** The identifier of the external schedule. */
|
10362
|
+
/** The unique identifier of the external schedule. */
|
10191
10363
|
externalId?: Maybe<Scalars["String"]>;
|
10192
10364
|
/** The URL to the external schedule. */
|
10193
10365
|
externalUrl?: Maybe<Scalars["String"]>;
|
@@ -10213,6 +10385,13 @@ export declare type TimelessDateComparator = {
|
|
10213
10385
|
/** Not-in-array constraint. */
|
10214
10386
|
nin?: Maybe<Array<Scalars["TimelessDate"]>>;
|
10215
10387
|
};
|
10388
|
+
/** Issue title sorting options. */
|
10389
|
+
export declare type TitleSort = {
|
10390
|
+
/** Whether nulls should be sorted first or last */
|
10391
|
+
nulls?: Maybe<PaginationNulls>;
|
10392
|
+
/** The order for the individual sort */
|
10393
|
+
order?: Maybe<PaginationSortOrder>;
|
10394
|
+
};
|
10216
10395
|
export declare type TokenUserAccountAuthInput = {
|
10217
10396
|
/** The email which to login via the magic login code. */
|
10218
10397
|
email: Scalars["String"];
|
@@ -10234,18 +10413,16 @@ export declare type TriageResponsibility = Node & {
|
|
10234
10413
|
archivedAt?: Maybe<Scalars["DateTime"]>;
|
10235
10414
|
/** The time at which the entity was created. */
|
10236
10415
|
createdAt: Scalars["DateTime"];
|
10416
|
+
/** The user currently responsible for triage. */
|
10417
|
+
currentUser?: Maybe<User>;
|
10237
10418
|
/** The unique identifier of the entity. */
|
10238
10419
|
id: Scalars["ID"];
|
10239
|
-
/** The integration used for scheduling. */
|
10240
|
-
integration: Integration;
|
10241
10420
|
/** Set of users used for triage responsibility. */
|
10242
|
-
manualSelection?: Maybe<
|
10243
|
-
/** Schedule used for triage responsibility. */
|
10244
|
-
schedule?: Maybe<Scalars["JSONObject"]>;
|
10421
|
+
manualSelection?: Maybe<TriageResponsibilityManualSelection>;
|
10245
10422
|
/** The team to which the triage responsibility belongs to. */
|
10246
10423
|
team: Team;
|
10247
10424
|
/** The time schedule used for scheduling. */
|
10248
|
-
timeSchedule
|
10425
|
+
timeSchedule?: Maybe<TimeSchedule>;
|
10249
10426
|
/**
|
10250
10427
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
10251
10428
|
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
@@ -10264,38 +10441,60 @@ export declare type TriageResponsibilityConnection = {
|
|
10264
10441
|
nodes: Array<TriageResponsibility>;
|
10265
10442
|
pageInfo: PageInfo;
|
10266
10443
|
};
|
10444
|
+
export declare type TriageResponsibilityCreateInput = {
|
10445
|
+
/** The action to take when an issue is added to triage. */
|
10446
|
+
action: Scalars["String"];
|
10447
|
+
/** The identifier in UUID v4 format. If none is provided, the backend will generate one. */
|
10448
|
+
id?: Maybe<Scalars["String"]>;
|
10449
|
+
/** The manual selection of users responsible for triage. */
|
10450
|
+
manualSelection?: Maybe<TriageResponsibilityManualSelectionInput>;
|
10451
|
+
/** The identifier of the team associated with the triage responsibility. */
|
10452
|
+
teamId: Scalars["String"];
|
10453
|
+
/** The identifier of the time schedule used for scheduling triage responsibility */
|
10454
|
+
timeScheduleId?: Maybe<Scalars["String"]>;
|
10455
|
+
};
|
10267
10456
|
export declare type TriageResponsibilityEdge = {
|
10268
10457
|
__typename?: "TriageResponsibilityEdge";
|
10269
10458
|
/** Used in `before` and `after` args */
|
10270
10459
|
cursor: Scalars["String"];
|
10271
10460
|
node: TriageResponsibility;
|
10272
10461
|
};
|
10273
|
-
/** Manual triage responsibility using a set of users. */
|
10274
10462
|
export declare type TriageResponsibilityManualSelection = {
|
10463
|
+
__typename?: "TriageResponsibilityManualSelection";
|
10275
10464
|
/** [INTERNAL] The index of the current userId used for the assign action when having more than one user. */
|
10276
10465
|
assignmentIndex?: Maybe<Scalars["Int"]>;
|
10277
10466
|
/** The set of users responsible for triage. */
|
10278
10467
|
userIds: Array<Scalars["String"]>;
|
10279
10468
|
};
|
10280
|
-
/**
|
10281
|
-
export declare type
|
10282
|
-
/** The
|
10283
|
-
|
10284
|
-
/**
|
10285
|
-
|
10286
|
-
|
10287
|
-
|
10288
|
-
|
10289
|
-
/** The
|
10290
|
-
|
10291
|
-
/**
|
10292
|
-
|
10293
|
-
|
10294
|
-
|
10295
|
-
|
10296
|
-
|
10297
|
-
|
10298
|
-
|
10469
|
+
/** Manual triage responsibility using a set of users. */
|
10470
|
+
export declare type TriageResponsibilityManualSelectionInput = {
|
10471
|
+
/** [INTERNAL] The index of the current userId used for the assign action when having more than one user. */
|
10472
|
+
assignmentIndex?: Maybe<Scalars["Int"]>;
|
10473
|
+
/** The set of users responsible for triage. */
|
10474
|
+
userIds: Array<Scalars["String"]>;
|
10475
|
+
};
|
10476
|
+
export declare type TriageResponsibilityPayload = {
|
10477
|
+
__typename?: "TriageResponsibilityPayload";
|
10478
|
+
/** The identifier of the last sync operation. */
|
10479
|
+
lastSyncId: Scalars["Float"];
|
10480
|
+
/** Whether the operation was successful. */
|
10481
|
+
success: Scalars["Boolean"];
|
10482
|
+
triageResponsibility: TriageResponsibility;
|
10483
|
+
};
|
10484
|
+
export declare type TriageResponsibilityUpdateInput = {
|
10485
|
+
/** The action to take when an issue is added to triage. */
|
10486
|
+
action?: Maybe<Scalars["String"]>;
|
10487
|
+
/** The manual selection of users responsible for triage. */
|
10488
|
+
manualSelection?: Maybe<TriageResponsibilityManualSelectionInput>;
|
10489
|
+
/** The identifier of the time schedule used for scheduling triage responsibility. */
|
10490
|
+
timeScheduleId?: Maybe<Scalars["String"]>;
|
10491
|
+
};
|
10492
|
+
/** Issue update date sorting options. */
|
10493
|
+
export declare type UpdatedAtSort = {
|
10494
|
+
/** Whether nulls should be sorted first or last */
|
10495
|
+
nulls?: Maybe<PaginationNulls>;
|
10496
|
+
/** The order for the individual sort */
|
10497
|
+
order?: Maybe<PaginationSortOrder>;
|
10299
10498
|
};
|
10300
10499
|
/** Object representing Google Cloud upload policy, plus additional data. */
|
10301
10500
|
export declare type UploadFile = {
|
@@ -11186,6 +11385,13 @@ export declare type WorkflowStatePayload = {
|
|
11186
11385
|
/** The state that was created or updated. */
|
11187
11386
|
workflowState: WorkflowState;
|
11188
11387
|
};
|
11388
|
+
/** Issue workflow state sorting options. */
|
11389
|
+
export declare type WorkflowStateSort = {
|
11390
|
+
/** Whether nulls should be sorted first or last */
|
11391
|
+
nulls?: Maybe<PaginationNulls>;
|
11392
|
+
/** The order for the individual sort */
|
11393
|
+
order?: Maybe<PaginationSortOrder>;
|
11394
|
+
};
|
11189
11395
|
export declare type WorkflowStateUpdateInput = {
|
11190
11396
|
/** The color of the state. */
|
11191
11397
|
color?: Maybe<Scalars["String"]>;
|
@@ -11846,16 +12052,19 @@ export declare type TeamNotificationSubscriptionFragment = {
|
|
11846
12052
|
};
|
11847
12053
|
export declare type TriageResponsibilityFragment = {
|
11848
12054
|
__typename: "TriageResponsibility";
|
11849
|
-
} & Pick<TriageResponsibility, "
|
11850
|
-
|
11851
|
-
__typename?: "
|
11852
|
-
} &
|
12055
|
+
} & Pick<TriageResponsibility, "updatedAt" | "archivedAt" | "createdAt" | "id"> & {
|
12056
|
+
manualSelection?: Maybe<{
|
12057
|
+
__typename?: "TriageResponsibilityManualSelection";
|
12058
|
+
} & TriageResponsibilityManualSelectionFragment>;
|
11853
12059
|
team: {
|
11854
12060
|
__typename?: "Team";
|
11855
12061
|
} & Pick<Team, "id">;
|
11856
|
-
timeSchedule
|
12062
|
+
timeSchedule?: Maybe<{
|
11857
12063
|
__typename?: "TimeSchedule";
|
11858
|
-
} & Pick<TimeSchedule, "id"
|
12064
|
+
} & Pick<TimeSchedule, "id">>;
|
12065
|
+
currentUser?: Maybe<{
|
12066
|
+
__typename?: "User";
|
12067
|
+
} & Pick<User, "id">>;
|
11859
12068
|
};
|
11860
12069
|
export declare type TemplateFragment = {
|
11861
12070
|
__typename: "Template";
|
@@ -11872,7 +12081,7 @@ export declare type TemplateFragment = {
|
|
11872
12081
|
};
|
11873
12082
|
export declare type TimeScheduleFragment = {
|
11874
12083
|
__typename: "TimeSchedule";
|
11875
|
-
} & Pick<TimeSchedule, "externalUrl" | "externalId" | "updatedAt" | "name" | "archivedAt" | "createdAt" | "id"
|
12084
|
+
} & Pick<TimeSchedule, "externalUrl" | "externalId" | "updatedAt" | "name" | "archivedAt" | "createdAt" | "id"> & {
|
11876
12085
|
integration?: Maybe<{
|
11877
12086
|
__typename?: "Integration";
|
11878
12087
|
} & Pick<Integration, "id">>;
|
@@ -11998,7 +12207,7 @@ export declare type IntegrationFragment = {
|
|
11998
12207
|
};
|
11999
12208
|
export declare type AuthOrganizationInviteFragment = {
|
12000
12209
|
__typename: "AuthOrganizationInvite";
|
12001
|
-
} & Pick<AuthOrganizationInvite, "id">;
|
12210
|
+
} & Pick<AuthOrganizationInvite, "expiresAt" | "id">;
|
12002
12211
|
export declare type OrganizationInviteFragment = {
|
12003
12212
|
__typename: "OrganizationInvite";
|
12004
12213
|
} & Pick<OrganizationInvite, "metadata" | "external" | "email" | "updatedAt" | "archivedAt" | "createdAt" | "acceptedAt" | "expiresAt" | "id"> & {
|
@@ -12128,6 +12337,9 @@ export declare type TeamFragment = {
|
|
12128
12337
|
activeCycle?: Maybe<{
|
12129
12338
|
__typename?: "Cycle";
|
12130
12339
|
} & Pick<Cycle, "id">>;
|
12340
|
+
triageResponsibility?: Maybe<{
|
12341
|
+
__typename?: "TriageResponsibility";
|
12342
|
+
} & Pick<TriageResponsibility, "id">>;
|
12131
12343
|
defaultTemplateForMembers?: Maybe<{
|
12132
12344
|
__typename?: "Template";
|
12133
12345
|
} & Pick<Template, "id">>;
|
@@ -13887,6 +14099,16 @@ export declare type TriageResponsibilityConnectionFragment = {
|
|
13887
14099
|
__typename?: "PageInfo";
|
13888
14100
|
} & PageInfoFragment;
|
13889
14101
|
};
|
14102
|
+
export declare type TriageResponsibilityManualSelectionFragment = {
|
14103
|
+
__typename: "TriageResponsibilityManualSelection";
|
14104
|
+
} & Pick<TriageResponsibilityManualSelection, "userIds">;
|
14105
|
+
export declare type TriageResponsibilityPayloadFragment = {
|
14106
|
+
__typename: "TriageResponsibilityPayload";
|
14107
|
+
} & Pick<TriageResponsibilityPayload, "lastSyncId" | "success"> & {
|
14108
|
+
triageResponsibility: {
|
14109
|
+
__typename?: "TriageResponsibility";
|
14110
|
+
} & Pick<TriageResponsibility, "id">;
|
14111
|
+
};
|
13890
14112
|
export declare type UploadFileHeaderFragment = {
|
13891
14113
|
__typename: "UploadFileHeader";
|
13892
14114
|
} & Pick<UploadFileHeader, "key" | "value">;
|
@@ -15318,6 +15540,7 @@ export declare type IssuesQueryVariables = Exact<{
|
|
15318
15540
|
includeArchived?: Maybe<Scalars["Boolean"]>;
|
15319
15541
|
last?: Maybe<Scalars["Int"]>;
|
15320
15542
|
orderBy?: Maybe<PaginationOrderBy>;
|
15543
|
+
sort?: Maybe<Array<IssueSortInput> | IssueSortInput>;
|
15321
15544
|
}>;
|
15322
15545
|
export declare type IssuesQuery = {
|
15323
15546
|
__typename?: "Query";
|
@@ -19127,8 +19350,10 @@ export declare const TimeScheduleEntryFragmentDoc: DocumentNode<TimeScheduleEntr
|
|
19127
19350
|
export declare const TimeScheduleFragmentDoc: DocumentNode<TimeScheduleFragment, unknown>;
|
19128
19351
|
export declare const TimeScheduleConnectionFragmentDoc: DocumentNode<TimeScheduleConnectionFragment, unknown>;
|
19129
19352
|
export declare const TimeSchedulePayloadFragmentDoc: DocumentNode<TimeSchedulePayloadFragment, unknown>;
|
19353
|
+
export declare const TriageResponsibilityManualSelectionFragmentDoc: DocumentNode<TriageResponsibilityManualSelectionFragment, unknown>;
|
19130
19354
|
export declare const TriageResponsibilityFragmentDoc: DocumentNode<TriageResponsibilityFragment, unknown>;
|
19131
19355
|
export declare const TriageResponsibilityConnectionFragmentDoc: DocumentNode<TriageResponsibilityConnectionFragment, unknown>;
|
19356
|
+
export declare const TriageResponsibilityPayloadFragmentDoc: DocumentNode<TriageResponsibilityPayloadFragment, unknown>;
|
19132
19357
|
export declare const UploadFileHeaderFragmentDoc: DocumentNode<UploadFileHeaderFragment, unknown>;
|
19133
19358
|
export declare const UploadFileFragmentDoc: DocumentNode<UploadFileFragment, unknown>;
|
19134
19359
|
export declare const UploadPayloadFragmentDoc: DocumentNode<UploadPayloadFragment, unknown>;
|
@@ -19729,6 +19954,7 @@ export declare const IssuesDocument: DocumentNode<IssuesQuery, Exact<{
|
|
19729
19954
|
includeArchived?: Maybe<boolean> | undefined;
|
19730
19955
|
last?: Maybe<number> | undefined;
|
19731
19956
|
orderBy?: Maybe<PaginationOrderBy> | undefined;
|
19957
|
+
sort?: Maybe<IssueSortInput | IssueSortInput[]> | undefined;
|
19732
19958
|
}>>;
|
19733
19959
|
export declare const NotificationDocument: DocumentNode<NotificationQuery, Exact<{
|
19734
19960
|
id: Scalars["String"];
|