@linear/sdk 20.0.0 → 21.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.
@@ -1281,6 +1281,66 @@ export declare class DeletePayload extends Request {
1281
1281
  /** Whether the operation was successful. */
1282
1282
  success: boolean;
1283
1283
  }
1284
+ /**
1285
+ * A diary entry
1286
+ *
1287
+ * @param request - function to call the graphql client
1288
+ * @param data - L.DiaryEntryFragment response data
1289
+ */
1290
+ export declare class DiaryEntry extends Request {
1291
+ private _user;
1292
+ constructor(request: LinearRequest, data: L.DiaryEntryFragment);
1293
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
1294
+ archivedAt?: Date;
1295
+ /** The time at which the entity was created. */
1296
+ createdAt: Date;
1297
+ /** The date for which the entry is created */
1298
+ date: L.Scalars["TimelessDate"];
1299
+ /** The unique identifier of the entity. */
1300
+ id: string;
1301
+ /**
1302
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
1303
+ * 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
1304
+ * been updated after creation.
1305
+ */
1306
+ updatedAt: Date;
1307
+ /** The canonical url for the DiaryEntry. */
1308
+ url: string;
1309
+ /** The user who the diary belongs to. */
1310
+ get user(): LinearFetch<User> | undefined;
1311
+ /** Creates a new diary entry. */
1312
+ create(input: L.DiaryEntryCreateInput): LinearFetch<DiaryEntryPayload>;
1313
+ /** Deletes a diaryEntry. */
1314
+ delete(): LinearFetch<DeletePayload>;
1315
+ /** Updates a diaryEntry. */
1316
+ update(input: L.DiaryEntryUpdateInput): LinearFetch<DiaryEntryPayload>;
1317
+ }
1318
+ /**
1319
+ * DiaryEntryConnection model
1320
+ *
1321
+ * @param request - function to call the graphql client
1322
+ * @param fetch - function to trigger a refetch of this DiaryEntryConnection model
1323
+ * @param data - DiaryEntryConnection response data
1324
+ */
1325
+ export declare class DiaryEntryConnection extends Connection<DiaryEntry> {
1326
+ constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DiaryEntry> | undefined>, data: L.DiaryEntryConnectionFragment);
1327
+ }
1328
+ /**
1329
+ * DiaryEntryPayload model
1330
+ *
1331
+ * @param request - function to call the graphql client
1332
+ * @param data - L.DiaryEntryPayloadFragment response data
1333
+ */
1334
+ export declare class DiaryEntryPayload extends Request {
1335
+ private _diaryEntry;
1336
+ constructor(request: LinearRequest, data: L.DiaryEntryPayloadFragment);
1337
+ /** The identifier of the last sync operation. */
1338
+ lastSyncId: number;
1339
+ /** Whether the operation was successful. */
1340
+ success: boolean;
1341
+ /** The diary entry that was created or updated. */
1342
+ get diaryEntry(): LinearFetch<DiaryEntry> | undefined;
1343
+ }
1284
1344
  /**
1285
1345
  * A document that can be attached to different entities.
1286
1346
  *
@@ -5184,6 +5244,43 @@ export declare class ReactionPayload extends Request {
5184
5244
  success: boolean;
5185
5245
  reaction: Reaction;
5186
5246
  }
5247
+ /**
5248
+ * A reminder that can be attached to different entities.
5249
+ *
5250
+ * @param request - function to call the graphql client
5251
+ * @param data - L.ReminderFragment response data
5252
+ */
5253
+ export declare class Reminder extends Request {
5254
+ private _documentId?;
5255
+ private _issueId?;
5256
+ private _projectId?;
5257
+ private _user;
5258
+ constructor(request: LinearRequest, data: L.ReminderFragment);
5259
+ /** The time at which the entity was archived. Null if the entity has not been archived. */
5260
+ archivedAt?: Date;
5261
+ /** The reminder's comment. */
5262
+ comment?: string;
5263
+ /** The time at which the entity was created. */
5264
+ createdAt: Date;
5265
+ /** The unique identifier of the entity. */
5266
+ id: string;
5267
+ /** The time when a reminder triggers a notification in users inbox. */
5268
+ remindAt: Date;
5269
+ /**
5270
+ * The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
5271
+ * 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
5272
+ * been updated after creation.
5273
+ */
5274
+ updatedAt: Date;
5275
+ /** The document that the reminder is associated with. */
5276
+ get documentId(): LinearFetch<Document> | undefined;
5277
+ /** The issue that the reminder is associated with. */
5278
+ get issueId(): LinearFetch<Issue> | undefined;
5279
+ /** The project that the reminder is associated with. */
5280
+ get projectId(): LinearFetch<Project> | undefined;
5281
+ /** The user that created a reminder. */
5282
+ get user(): LinearFetch<User> | undefined;
5283
+ }
5187
5284
  /**
5188
5285
  * A roadmap for projects.
5189
5286
  *
@@ -5542,6 +5639,7 @@ export declare class Team extends Request {
5542
5639
  private _reviewWorkflowState?;
5543
5640
  private _startWorkflowState?;
5544
5641
  private _triageIssueState?;
5642
+ private _triageResponsibility?;
5545
5643
  constructor(request: LinearRequest, data: L.TeamFragment);
5546
5644
  /** The time at which the entity was archived. Null if the entity has not been archived. */
5547
5645
  archivedAt?: Date;
@@ -5607,7 +5705,7 @@ export declare class Team extends Request {
5607
5705
  private: boolean;
5608
5706
  /** Whether an issue needs to have a priority set before leaving triage. */
5609
5707
  requirePriorityToLeaveTriage: boolean;
5610
- /** Whether the team is managed by SCIM. */
5708
+ /** Whether the team is managed by SCIM integration. */
5611
5709
  scimManaged: boolean;
5612
5710
  /** Where to move issues when changing state. */
5613
5711
  setIssueSortOrderOnStateChange: string;
@@ -5657,6 +5755,8 @@ export declare class Team extends Request {
5657
5755
  get startWorkflowState(): LinearFetch<WorkflowState> | undefined;
5658
5756
  /** The workflow state into which issues are set when they are opened by non-team members or integrations if triage is enabled. */
5659
5757
  get triageIssueState(): LinearFetch<WorkflowState> | undefined;
5758
+ /** Team's triage responsibility. */
5759
+ get triageResponsibility(): LinearFetch<TriageResponsibility> | undefined;
5660
5760
  /** Cycles associated with the team. */
5661
5761
  cycles(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
5662
5762
  /** The Git automation states for the team. */
@@ -5879,6 +5979,8 @@ export declare class Template extends Request {
5879
5979
  id: string;
5880
5980
  /** The name of the template. */
5881
5981
  name: string;
5982
+ /** The sort order of the template. */
5983
+ sortOrder: number;
5882
5984
  /** Template data. */
5883
5985
  templateData: Record<string, unknown>;
5884
5986
  /** The entity type this template is for. */
@@ -5963,6 +6065,12 @@ export declare class TimeSchedule extends Request {
5963
6065
  get integration(): LinearFetch<Integration> | undefined;
5964
6066
  /** The organization of the schedule. */
5965
6067
  get organization(): LinearFetch<Organization>;
6068
+ /** Creates a new time schedule. */
6069
+ create(input: L.TimeScheduleCreateInput): LinearFetch<TimeSchedulePayload>;
6070
+ /** Deletes a time schedule. */
6071
+ delete(): LinearFetch<DeletePayload>;
6072
+ /** Updates a time schedule. */
6073
+ update(input: L.TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
5966
6074
  }
5967
6075
  /**
5968
6076
  * TimeScheduleConnection model
@@ -5998,11 +6106,13 @@ export declare class TimeScheduleEntry extends Request {
5998
6106
  * @param data - L.TimeSchedulePayloadFragment response data
5999
6107
  */
6000
6108
  export declare class TimeSchedulePayload extends Request {
6109
+ private _timeSchedule;
6001
6110
  constructor(request: LinearRequest, data: L.TimeSchedulePayloadFragment);
6002
6111
  /** The identifier of the last sync operation. */
6003
6112
  lastSyncId: number;
6004
6113
  /** Whether the operation was successful. */
6005
6114
  success: boolean;
6115
+ get timeSchedule(): LinearFetch<TimeSchedule> | undefined;
6006
6116
  }
6007
6117
  /**
6008
6118
  * A team's triage responsibility.
@@ -6013,6 +6123,7 @@ export declare class TimeSchedulePayload extends Request {
6013
6123
  export declare class TriageResponsibility extends Request {
6014
6124
  private _currentUser?;
6015
6125
  private _team;
6126
+ private _timeSchedule?;
6016
6127
  constructor(request: LinearRequest, data: L.TriageResponsibilityFragment);
6017
6128
  /** The time at which the entity was archived. Null if the entity has not been archived. */
6018
6129
  archivedAt?: Date;
@@ -6034,6 +6145,14 @@ export declare class TriageResponsibility extends Request {
6034
6145
  get currentUser(): LinearFetch<User> | undefined;
6035
6146
  /** The team to which the triage responsibility belongs to. */
6036
6147
  get team(): LinearFetch<Team> | undefined;
6148
+ /** The time schedule used for scheduling. */
6149
+ get timeSchedule(): LinearFetch<TimeSchedule> | undefined;
6150
+ /** Creates a new triage responsibility. */
6151
+ create(input: L.TriageResponsibilityCreateInput): LinearFetch<TriageResponsibilityPayload>;
6152
+ /** Deletes a triage responsibility. */
6153
+ delete(): LinearFetch<DeletePayload>;
6154
+ /** Updates an existing triage responsibility. */
6155
+ update(input: L.TriageResponsibilityUpdateInput): LinearFetch<TriageResponsibilityPayload>;
6037
6156
  }
6038
6157
  /**
6039
6158
  * TriageResponsibilityConnection model
@@ -6063,11 +6182,13 @@ export declare class TriageResponsibilityManualSelection extends Request {
6063
6182
  * @param data - L.TriageResponsibilityPayloadFragment response data
6064
6183
  */
6065
6184
  export declare class TriageResponsibilityPayload extends Request {
6185
+ private _triageResponsibility;
6066
6186
  constructor(request: LinearRequest, data: L.TriageResponsibilityPayloadFragment);
6067
6187
  /** The identifier of the last sync operation. */
6068
6188
  lastSyncId: number;
6069
6189
  /** Whether the operation was successful. */
6070
6190
  success: boolean;
6191
+ get triageResponsibility(): LinearFetch<TriageResponsibility> | undefined;
6071
6192
  }
6072
6193
  /**
6073
6194
  * Object representing Google Cloud upload policy, plus additional data.
@@ -7076,6 +7197,21 @@ export declare class CyclesQuery extends Request {
7076
7197
  */
7077
7198
  fetch(variables?: L.CyclesQueryVariables): LinearFetch<CycleConnection>;
7078
7199
  }
7200
+ /**
7201
+ * A fetchable DiaryEntry Query
7202
+ *
7203
+ * @param request - function to call the graphql client
7204
+ */
7205
+ export declare class DiaryEntryQuery extends Request {
7206
+ constructor(request: LinearRequest);
7207
+ /**
7208
+ * Call the DiaryEntry query and return a DiaryEntry
7209
+ *
7210
+ * @param id - required id to pass to diaryEntry
7211
+ * @returns parsed response from DiaryEntryQuery
7212
+ */
7213
+ fetch(id: string): LinearFetch<DiaryEntry>;
7214
+ }
7079
7215
  /**
7080
7216
  * A fetchable Document Query
7081
7217
  *
@@ -8085,6 +8221,66 @@ export declare class TemplatesForIntegrationQuery extends Request {
8085
8221
  */
8086
8222
  fetch(integrationType: string): LinearFetch<Template[]>;
8087
8223
  }
8224
+ /**
8225
+ * A fetchable TimeSchedule Query
8226
+ *
8227
+ * @param request - function to call the graphql client
8228
+ */
8229
+ export declare class TimeScheduleQuery extends Request {
8230
+ constructor(request: LinearRequest);
8231
+ /**
8232
+ * Call the TimeSchedule query and return a TimeSchedule
8233
+ *
8234
+ * @param id - required id to pass to timeSchedule
8235
+ * @returns parsed response from TimeScheduleQuery
8236
+ */
8237
+ fetch(id: string): LinearFetch<TimeSchedule>;
8238
+ }
8239
+ /**
8240
+ * A fetchable TimeSchedules Query
8241
+ *
8242
+ * @param request - function to call the graphql client
8243
+ */
8244
+ export declare class TimeSchedulesQuery extends Request {
8245
+ constructor(request: LinearRequest);
8246
+ /**
8247
+ * Call the TimeSchedules query and return a TimeScheduleConnection
8248
+ *
8249
+ * @param variables - variables to pass into the TimeSchedulesQuery
8250
+ * @returns parsed response from TimeSchedulesQuery
8251
+ */
8252
+ fetch(variables?: L.TimeSchedulesQueryVariables): LinearFetch<TimeScheduleConnection>;
8253
+ }
8254
+ /**
8255
+ * A fetchable TriageResponsibilities Query
8256
+ *
8257
+ * @param request - function to call the graphql client
8258
+ */
8259
+ export declare class TriageResponsibilitiesQuery extends Request {
8260
+ constructor(request: LinearRequest);
8261
+ /**
8262
+ * Call the TriageResponsibilities query and return a TriageResponsibilityConnection
8263
+ *
8264
+ * @param variables - variables to pass into the TriageResponsibilitiesQuery
8265
+ * @returns parsed response from TriageResponsibilitiesQuery
8266
+ */
8267
+ fetch(variables?: L.TriageResponsibilitiesQueryVariables): LinearFetch<TriageResponsibilityConnection>;
8268
+ }
8269
+ /**
8270
+ * A fetchable TriageResponsibility Query
8271
+ *
8272
+ * @param request - function to call the graphql client
8273
+ */
8274
+ export declare class TriageResponsibilityQuery extends Request {
8275
+ constructor(request: LinearRequest);
8276
+ /**
8277
+ * Call the TriageResponsibility query and return a TriageResponsibility
8278
+ *
8279
+ * @param id - required id to pass to triageResponsibility
8280
+ * @returns parsed response from TriageResponsibilityQuery
8281
+ */
8282
+ fetch(id: string): LinearFetch<TriageResponsibility>;
8283
+ }
8088
8284
  /**
8089
8285
  * A fetchable User Query
8090
8286
  *
@@ -8728,6 +8924,52 @@ export declare class UpdateCycleMutation extends Request {
8728
8924
  */
8729
8925
  fetch(id: string, input: L.CycleUpdateInput): LinearFetch<CyclePayload>;
8730
8926
  }
8927
+ /**
8928
+ * A fetchable CreateDiaryEntry Mutation
8929
+ *
8930
+ * @param request - function to call the graphql client
8931
+ */
8932
+ export declare class CreateDiaryEntryMutation extends Request {
8933
+ constructor(request: LinearRequest);
8934
+ /**
8935
+ * Call the CreateDiaryEntry mutation and return a DiaryEntryPayload
8936
+ *
8937
+ * @param input - required input to pass to createDiaryEntry
8938
+ * @returns parsed response from CreateDiaryEntryMutation
8939
+ */
8940
+ fetch(input: L.DiaryEntryCreateInput): LinearFetch<DiaryEntryPayload>;
8941
+ }
8942
+ /**
8943
+ * A fetchable DeleteDiaryEntry Mutation
8944
+ *
8945
+ * @param request - function to call the graphql client
8946
+ */
8947
+ export declare class DeleteDiaryEntryMutation extends Request {
8948
+ constructor(request: LinearRequest);
8949
+ /**
8950
+ * Call the DeleteDiaryEntry mutation and return a DeletePayload
8951
+ *
8952
+ * @param id - required id to pass to deleteDiaryEntry
8953
+ * @returns parsed response from DeleteDiaryEntryMutation
8954
+ */
8955
+ fetch(id: string): LinearFetch<DeletePayload>;
8956
+ }
8957
+ /**
8958
+ * A fetchable UpdateDiaryEntry Mutation
8959
+ *
8960
+ * @param request - function to call the graphql client
8961
+ */
8962
+ export declare class UpdateDiaryEntryMutation extends Request {
8963
+ constructor(request: LinearRequest);
8964
+ /**
8965
+ * Call the UpdateDiaryEntry mutation and return a DiaryEntryPayload
8966
+ *
8967
+ * @param id - required id to pass to updateDiaryEntry
8968
+ * @param input - required input to pass to updateDiaryEntry
8969
+ * @returns parsed response from UpdateDiaryEntryMutation
8970
+ */
8971
+ fetch(id: string, input: L.DiaryEntryUpdateInput): LinearFetch<DiaryEntryPayload>;
8972
+ }
8731
8973
  /**
8732
8974
  * A fetchable CreateDocument Mutation
8733
8975
  *
@@ -8758,6 +9000,22 @@ export declare class DeleteDocumentMutation extends Request {
8758
9000
  */
8759
9001
  fetch(id: string): LinearFetch<DeletePayload>;
8760
9002
  }
9003
+ /**
9004
+ * A fetchable DocumentReminder Mutation
9005
+ *
9006
+ * @param request - function to call the graphql client
9007
+ */
9008
+ export declare class DocumentReminderMutation extends Request {
9009
+ constructor(request: LinearRequest);
9010
+ /**
9011
+ * Call the DocumentReminder mutation and return a DocumentPayload
9012
+ *
9013
+ * @param id - required id to pass to documentReminder
9014
+ * @param reminderAt - required reminderAt to pass to documentReminder
9015
+ * @returns parsed response from DocumentReminderMutation
9016
+ */
9017
+ fetch(id: string, reminderAt: Date): LinearFetch<DocumentPayload>;
9018
+ }
8761
9019
  /**
8762
9020
  * A fetchable UpdateDocument Mutation
8763
9021
  *
@@ -11096,6 +11354,129 @@ export declare class UpdateTemplateMutation extends Request {
11096
11354
  */
11097
11355
  fetch(id: string, input: L.TemplateUpdateInput): LinearFetch<TemplatePayload>;
11098
11356
  }
11357
+ /**
11358
+ * A fetchable CreateTimeSchedule Mutation
11359
+ *
11360
+ * @param request - function to call the graphql client
11361
+ */
11362
+ export declare class CreateTimeScheduleMutation extends Request {
11363
+ constructor(request: LinearRequest);
11364
+ /**
11365
+ * Call the CreateTimeSchedule mutation and return a TimeSchedulePayload
11366
+ *
11367
+ * @param input - required input to pass to createTimeSchedule
11368
+ * @returns parsed response from CreateTimeScheduleMutation
11369
+ */
11370
+ fetch(input: L.TimeScheduleCreateInput): LinearFetch<TimeSchedulePayload>;
11371
+ }
11372
+ /**
11373
+ * A fetchable DeleteTimeSchedule Mutation
11374
+ *
11375
+ * @param request - function to call the graphql client
11376
+ */
11377
+ export declare class DeleteTimeScheduleMutation extends Request {
11378
+ constructor(request: LinearRequest);
11379
+ /**
11380
+ * Call the DeleteTimeSchedule mutation and return a DeletePayload
11381
+ *
11382
+ * @param id - required id to pass to deleteTimeSchedule
11383
+ * @returns parsed response from DeleteTimeScheduleMutation
11384
+ */
11385
+ fetch(id: string): LinearFetch<DeletePayload>;
11386
+ }
11387
+ /**
11388
+ * A fetchable TimeScheduleRefreshIntegrationSchedule Mutation
11389
+ *
11390
+ * @param request - function to call the graphql client
11391
+ */
11392
+ export declare class TimeScheduleRefreshIntegrationScheduleMutation extends Request {
11393
+ constructor(request: LinearRequest);
11394
+ /**
11395
+ * Call the TimeScheduleRefreshIntegrationSchedule mutation and return a TimeSchedulePayload
11396
+ *
11397
+ * @param id - required id to pass to timeScheduleRefreshIntegrationSchedule
11398
+ * @returns parsed response from TimeScheduleRefreshIntegrationScheduleMutation
11399
+ */
11400
+ fetch(id: string): LinearFetch<TimeSchedulePayload>;
11401
+ }
11402
+ /**
11403
+ * A fetchable UpdateTimeSchedule Mutation
11404
+ *
11405
+ * @param request - function to call the graphql client
11406
+ */
11407
+ export declare class UpdateTimeScheduleMutation extends Request {
11408
+ constructor(request: LinearRequest);
11409
+ /**
11410
+ * Call the UpdateTimeSchedule mutation and return a TimeSchedulePayload
11411
+ *
11412
+ * @param id - required id to pass to updateTimeSchedule
11413
+ * @param input - required input to pass to updateTimeSchedule
11414
+ * @returns parsed response from UpdateTimeScheduleMutation
11415
+ */
11416
+ fetch(id: string, input: L.TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
11417
+ }
11418
+ /**
11419
+ * A fetchable TimeScheduleUpsertExternal Mutation
11420
+ *
11421
+ * @param request - function to call the graphql client
11422
+ */
11423
+ export declare class TimeScheduleUpsertExternalMutation extends Request {
11424
+ constructor(request: LinearRequest);
11425
+ /**
11426
+ * Call the TimeScheduleUpsertExternal mutation and return a TimeSchedulePayload
11427
+ *
11428
+ * @param externalId - required externalId to pass to timeScheduleUpsertExternal
11429
+ * @param input - required input to pass to timeScheduleUpsertExternal
11430
+ * @returns parsed response from TimeScheduleUpsertExternalMutation
11431
+ */
11432
+ fetch(externalId: string, input: L.TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
11433
+ }
11434
+ /**
11435
+ * A fetchable CreateTriageResponsibility Mutation
11436
+ *
11437
+ * @param request - function to call the graphql client
11438
+ */
11439
+ export declare class CreateTriageResponsibilityMutation extends Request {
11440
+ constructor(request: LinearRequest);
11441
+ /**
11442
+ * Call the CreateTriageResponsibility mutation and return a TriageResponsibilityPayload
11443
+ *
11444
+ * @param input - required input to pass to createTriageResponsibility
11445
+ * @returns parsed response from CreateTriageResponsibilityMutation
11446
+ */
11447
+ fetch(input: L.TriageResponsibilityCreateInput): LinearFetch<TriageResponsibilityPayload>;
11448
+ }
11449
+ /**
11450
+ * A fetchable DeleteTriageResponsibility Mutation
11451
+ *
11452
+ * @param request - function to call the graphql client
11453
+ */
11454
+ export declare class DeleteTriageResponsibilityMutation extends Request {
11455
+ constructor(request: LinearRequest);
11456
+ /**
11457
+ * Call the DeleteTriageResponsibility mutation and return a DeletePayload
11458
+ *
11459
+ * @param id - required id to pass to deleteTriageResponsibility
11460
+ * @returns parsed response from DeleteTriageResponsibilityMutation
11461
+ */
11462
+ fetch(id: string): LinearFetch<DeletePayload>;
11463
+ }
11464
+ /**
11465
+ * A fetchable UpdateTriageResponsibility Mutation
11466
+ *
11467
+ * @param request - function to call the graphql client
11468
+ */
11469
+ export declare class UpdateTriageResponsibilityMutation extends Request {
11470
+ constructor(request: LinearRequest);
11471
+ /**
11472
+ * Call the UpdateTriageResponsibility mutation and return a TriageResponsibilityPayload
11473
+ *
11474
+ * @param id - required id to pass to updateTriageResponsibility
11475
+ * @param input - required input to pass to updateTriageResponsibility
11476
+ * @returns parsed response from UpdateTriageResponsibilityMutation
11477
+ */
11478
+ fetch(id: string, input: L.TriageResponsibilityUpdateInput): LinearFetch<TriageResponsibilityPayload>;
11479
+ }
11099
11480
  /**
11100
11481
  * A fetchable UserDemoteAdmin Mutation
11101
11482
  *
@@ -12734,6 +13115,22 @@ export declare class Team_WebhooksQuery extends Request {
12734
13115
  */
12735
13116
  fetch(variables?: Omit<L.Team_WebhooksQueryVariables, "id">): LinearFetch<WebhookConnection>;
12736
13117
  }
13118
+ /**
13119
+ * A fetchable TriageResponsibility_ManualSelection Query
13120
+ *
13121
+ * @param request - function to call the graphql client
13122
+ * @param id - required id to pass to triageResponsibility
13123
+ */
13124
+ export declare class TriageResponsibility_ManualSelectionQuery extends Request {
13125
+ private _id;
13126
+ constructor(request: LinearRequest, id: string);
13127
+ /**
13128
+ * Call the TriageResponsibility_ManualSelection query and return a TriageResponsibilityManualSelection
13129
+ *
13130
+ * @returns parsed response from TriageResponsibility_ManualSelectionQuery
13131
+ */
13132
+ fetch(): LinearFetch<TriageResponsibilityManualSelection | undefined>;
13133
+ }
12737
13134
  /**
12738
13135
  * A fetchable User_AssignedIssues Query
12739
13136
  *
@@ -13040,6 +13437,13 @@ export declare class LinearSdk extends Request {
13040
13437
  * @returns CycleConnection
13041
13438
  */
13042
13439
  cycles(variables?: L.CyclesQueryVariables): LinearFetch<CycleConnection>;
13440
+ /**
13441
+ * One specific diary entry.
13442
+ *
13443
+ * @param id - required id to pass to diaryEntry
13444
+ * @returns DiaryEntry
13445
+ */
13446
+ diaryEntry(id: string): LinearFetch<DiaryEntry>;
13043
13447
  /**
13044
13448
  * One specific document.
13045
13449
  *
@@ -13513,6 +13917,34 @@ export declare class LinearSdk extends Request {
13513
13917
  * @returns Template[]
13514
13918
  */
13515
13919
  templatesForIntegration(integrationType: string): LinearFetch<Template[]>;
13920
+ /**
13921
+ * A specific time schedule.
13922
+ *
13923
+ * @param id - required id to pass to timeSchedule
13924
+ * @returns TimeSchedule
13925
+ */
13926
+ timeSchedule(id: string): LinearFetch<TimeSchedule>;
13927
+ /**
13928
+ * All time schedules.
13929
+ *
13930
+ * @param variables - variables to pass into the TimeSchedulesQuery
13931
+ * @returns TimeScheduleConnection
13932
+ */
13933
+ timeSchedules(variables?: L.TimeSchedulesQueryVariables): LinearFetch<TimeScheduleConnection>;
13934
+ /**
13935
+ * All triage responsibilities.
13936
+ *
13937
+ * @param variables - variables to pass into the TriageResponsibilitiesQuery
13938
+ * @returns TriageResponsibilityConnection
13939
+ */
13940
+ triageResponsibilities(variables?: L.TriageResponsibilitiesQueryVariables): LinearFetch<TriageResponsibilityConnection>;
13941
+ /**
13942
+ * A specific triage responsibility.
13943
+ *
13944
+ * @param id - required id to pass to triageResponsibility
13945
+ * @returns TriageResponsibility
13946
+ */
13947
+ triageResponsibility(id: string): LinearFetch<TriageResponsibility>;
13516
13948
  /**
13517
13949
  * One specific user.
13518
13950
  *
@@ -13828,6 +14260,28 @@ export declare class LinearSdk extends Request {
13828
14260
  * @returns CyclePayload
13829
14261
  */
13830
14262
  updateCycle(id: string, input: L.CycleUpdateInput): LinearFetch<CyclePayload>;
14263
+ /**
14264
+ * Creates a new diary entry.
14265
+ *
14266
+ * @param input - required input to pass to createDiaryEntry
14267
+ * @returns DiaryEntryPayload
14268
+ */
14269
+ createDiaryEntry(input: L.DiaryEntryCreateInput): LinearFetch<DiaryEntryPayload>;
14270
+ /**
14271
+ * Deletes a diaryEntry.
14272
+ *
14273
+ * @param id - required id to pass to deleteDiaryEntry
14274
+ * @returns DeletePayload
14275
+ */
14276
+ deleteDiaryEntry(id: string): LinearFetch<DeletePayload>;
14277
+ /**
14278
+ * Updates a diaryEntry.
14279
+ *
14280
+ * @param id - required id to pass to updateDiaryEntry
14281
+ * @param input - required input to pass to updateDiaryEntry
14282
+ * @returns DiaryEntryPayload
14283
+ */
14284
+ updateDiaryEntry(id: string, input: L.DiaryEntryUpdateInput): LinearFetch<DiaryEntryPayload>;
13831
14285
  /**
13832
14286
  * Creates a new document.
13833
14287
  *
@@ -13842,6 +14296,14 @@ export declare class LinearSdk extends Request {
13842
14296
  * @returns DeletePayload
13843
14297
  */
13844
14298
  deleteDocument(id: string): LinearFetch<DeletePayload>;
14299
+ /**
14300
+ * Adds a document reminder. Will cause a notification to be sent when the issue reminder time is reached.
14301
+ *
14302
+ * @param id - required id to pass to documentReminder
14303
+ * @param reminderAt - required reminderAt to pass to documentReminder
14304
+ * @returns DocumentPayload
14305
+ */
14306
+ documentReminder(id: string, reminderAt: Date): LinearFetch<DocumentPayload>;
13845
14307
  /**
13846
14308
  * Updates a document.
13847
14309
  *
@@ -14972,6 +15434,65 @@ export declare class LinearSdk extends Request {
14972
15434
  * @returns TemplatePayload
14973
15435
  */
14974
15436
  updateTemplate(id: string, input: L.TemplateUpdateInput): LinearFetch<TemplatePayload>;
15437
+ /**
15438
+ * Creates a new time schedule.
15439
+ *
15440
+ * @param input - required input to pass to createTimeSchedule
15441
+ * @returns TimeSchedulePayload
15442
+ */
15443
+ createTimeSchedule(input: L.TimeScheduleCreateInput): LinearFetch<TimeSchedulePayload>;
15444
+ /**
15445
+ * Deletes a time schedule.
15446
+ *
15447
+ * @param id - required id to pass to deleteTimeSchedule
15448
+ * @returns DeletePayload
15449
+ */
15450
+ deleteTimeSchedule(id: string): LinearFetch<DeletePayload>;
15451
+ /**
15452
+ * Refresh the integration schedule information.
15453
+ *
15454
+ * @param id - required id to pass to timeScheduleRefreshIntegrationSchedule
15455
+ * @returns TimeSchedulePayload
15456
+ */
15457
+ timeScheduleRefreshIntegrationSchedule(id: string): LinearFetch<TimeSchedulePayload>;
15458
+ /**
15459
+ * Updates a time schedule.
15460
+ *
15461
+ * @param id - required id to pass to updateTimeSchedule
15462
+ * @param input - required input to pass to updateTimeSchedule
15463
+ * @returns TimeSchedulePayload
15464
+ */
15465
+ updateTimeSchedule(id: string, input: L.TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
15466
+ /**
15467
+ * Upsert an external time schedule.
15468
+ *
15469
+ * @param externalId - required externalId to pass to timeScheduleUpsertExternal
15470
+ * @param input - required input to pass to timeScheduleUpsertExternal
15471
+ * @returns TimeSchedulePayload
15472
+ */
15473
+ timeScheduleUpsertExternal(externalId: string, input: L.TimeScheduleUpdateInput): LinearFetch<TimeSchedulePayload>;
15474
+ /**
15475
+ * Creates a new triage responsibility.
15476
+ *
15477
+ * @param input - required input to pass to createTriageResponsibility
15478
+ * @returns TriageResponsibilityPayload
15479
+ */
15480
+ createTriageResponsibility(input: L.TriageResponsibilityCreateInput): LinearFetch<TriageResponsibilityPayload>;
15481
+ /**
15482
+ * Deletes a triage responsibility.
15483
+ *
15484
+ * @param id - required id to pass to deleteTriageResponsibility
15485
+ * @returns DeletePayload
15486
+ */
15487
+ deleteTriageResponsibility(id: string): LinearFetch<DeletePayload>;
15488
+ /**
15489
+ * Updates an existing triage responsibility.
15490
+ *
15491
+ * @param id - required id to pass to updateTriageResponsibility
15492
+ * @param input - required input to pass to updateTriageResponsibility
15493
+ * @returns TriageResponsibilityPayload
15494
+ */
15495
+ updateTriageResponsibility(id: string, input: L.TriageResponsibilityUpdateInput): LinearFetch<TriageResponsibilityPayload>;
14975
15496
  /**
14976
15497
  * Makes user a regular user. Can only be called by an admin.
14977
15498
  *