@linear/sdk 11.0.0 → 13.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 +851 -205
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +629 -191
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +2133 -587
- 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 +2107 -581
- 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 +2134 -588
- 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
package/dist/_generated_sdk.d.ts
CHANGED
@@ -191,7 +191,7 @@ export declare class ArchiveResponse extends Request {
|
|
191
191
|
export declare class AsksChannelConnectPayload extends Request {
|
192
192
|
private _integration?;
|
193
193
|
constructor(request: LinearRequest, data: L.AsksChannelConnectPayloadFragment);
|
194
|
-
/** Whether the bot needs to be added to the channel. */
|
194
|
+
/** Whether the bot needs to be manually added to the channel. */
|
195
195
|
addBot: boolean;
|
196
196
|
/** The identifier of the last sync operation. */
|
197
197
|
lastSyncId: number;
|
@@ -221,9 +221,9 @@ export declare class Attachment extends Request {
|
|
221
221
|
/** The unique identifier of the entity. */
|
222
222
|
id: string;
|
223
223
|
/** Custom metadata related to the attachment. */
|
224
|
-
metadata:
|
224
|
+
metadata: L.Scalars["JSONObject"];
|
225
225
|
/** Information about the source which created the attachment. */
|
226
|
-
source?:
|
226
|
+
source?: L.Scalars["JSONObject"];
|
227
227
|
/** An accessor helper to source.type, defines the source type of the attachment. */
|
228
228
|
sourceType?: string;
|
229
229
|
/** Content for the subtitle line in the Linear attachment widget. */
|
@@ -302,7 +302,7 @@ export declare class AttachmentPayload extends Request {
|
|
302
302
|
export declare class AttachmentSourcesPayload extends Request {
|
303
303
|
constructor(request: LinearRequest, data: L.AttachmentSourcesPayloadFragment);
|
304
304
|
/** A unique list of all source types used in this workspace */
|
305
|
-
sources:
|
305
|
+
sources: L.Scalars["JSONObject"];
|
306
306
|
}
|
307
307
|
/**
|
308
308
|
* Workspace audit log entry object.
|
@@ -326,9 +326,9 @@ export declare class AuditEntry extends Request {
|
|
326
326
|
/** IP from actor when entry was recorded. */
|
327
327
|
ip?: string;
|
328
328
|
/** Additional metadata related to the audit entry. */
|
329
|
-
metadata?:
|
329
|
+
metadata?: L.Scalars["JSONObject"];
|
330
330
|
/** Additional information related to the request which performed the action. */
|
331
|
-
requestInformation?:
|
331
|
+
requestInformation?: L.Scalars["JSONObject"];
|
332
332
|
type: string;
|
333
333
|
/**
|
334
334
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
@@ -375,17 +375,6 @@ export declare class AuthApiKey extends Request {
|
|
375
375
|
/** The unique identifier of the entity. */
|
376
376
|
id: string;
|
377
377
|
}
|
378
|
-
/**
|
379
|
-
* AuthApiKeyDeletePayload model
|
380
|
-
*
|
381
|
-
* @param request - function to call the graphql client
|
382
|
-
* @param data - L.AuthApiKeyDeletePayloadFragment response data
|
383
|
-
*/
|
384
|
-
export declare class AuthApiKeyDeletePayload extends Request {
|
385
|
-
constructor(request: LinearRequest, data: L.AuthApiKeyDeletePayloadFragment);
|
386
|
-
/** Whether the operation was successful. */
|
387
|
-
success: boolean;
|
388
|
-
}
|
389
378
|
/**
|
390
379
|
* AuthApiKeyPayload model
|
391
380
|
*
|
@@ -399,6 +388,20 @@ export declare class AuthApiKeyPayload extends Request {
|
|
399
388
|
/** The auth API key that was created. */
|
400
389
|
authApiKey: AuthApiKey;
|
401
390
|
}
|
391
|
+
/**
|
392
|
+
* AuthCreateOrJoinOrganizationResponse model
|
393
|
+
*
|
394
|
+
* @param request - function to call the graphql client
|
395
|
+
* @param data - L.AuthCreateOrJoinOrganizationResponseFragment response data
|
396
|
+
*/
|
397
|
+
export declare class AuthCreateOrJoinOrganizationResponse extends Request {
|
398
|
+
constructor(request: LinearRequest, data: L.AuthCreateOrJoinOrganizationResponseFragment);
|
399
|
+
grantDomainAccess?: boolean;
|
400
|
+
authOrganization: AuthOrganization;
|
401
|
+
authUser: AuthUser;
|
402
|
+
organization: AuthOrganization;
|
403
|
+
user: AuthUser;
|
404
|
+
}
|
402
405
|
/**
|
403
406
|
* AuthIntegration model
|
404
407
|
*
|
@@ -410,6 +413,99 @@ export declare class AuthIntegration extends Request {
|
|
410
413
|
/** The unique identifier of the entity. */
|
411
414
|
id: string;
|
412
415
|
}
|
416
|
+
/**
|
417
|
+
* AuthOauthClient model
|
418
|
+
*
|
419
|
+
* @param request - function to call the graphql client
|
420
|
+
* @param data - L.AuthOauthClientFragment response data
|
421
|
+
*/
|
422
|
+
export declare class AuthOauthClient extends Request {
|
423
|
+
constructor(request: LinearRequest, data: L.AuthOauthClientFragment);
|
424
|
+
archivedAt?: Date;
|
425
|
+
/** OAuth application's client ID. */
|
426
|
+
clientId: string;
|
427
|
+
/** OAuth application's client secret. */
|
428
|
+
clientSecret: string;
|
429
|
+
/** The ID of the user who created the OAuth application. */
|
430
|
+
creatorId: string;
|
431
|
+
/** Information about the application. */
|
432
|
+
description?: string;
|
433
|
+
/** Name of the developer. */
|
434
|
+
developer: string;
|
435
|
+
/** Url of the developer. */
|
436
|
+
developerUrl: string;
|
437
|
+
/** The unique identifier of the entity. */
|
438
|
+
id: string;
|
439
|
+
/** Image of the application. */
|
440
|
+
imageUrl?: string;
|
441
|
+
/** OAuth application's client name. */
|
442
|
+
name: string;
|
443
|
+
/** The ID of the workspace the OAuth application belongs to. */
|
444
|
+
organizationId: string;
|
445
|
+
/** Whether the OAuth application can be installed in other organizations. */
|
446
|
+
publicEnabled: boolean;
|
447
|
+
/** List of allowed redirect URIs for the application. */
|
448
|
+
redirectUris: string[];
|
449
|
+
/** Webhook URL */
|
450
|
+
webhookUrl?: string;
|
451
|
+
}
|
452
|
+
/**
|
453
|
+
* AuthOauthClient with token creator IDs and counts (memberships), for use in the GraphQL API.
|
454
|
+
*
|
455
|
+
* @param request - function to call the graphql client
|
456
|
+
* @param data - L.AuthOauthClientWithMembershipsFragment response data
|
457
|
+
*/
|
458
|
+
export declare class AuthOauthClientWithMemberships extends Request {
|
459
|
+
constructor(request: LinearRequest, data: L.AuthOauthClientWithMembershipsFragment);
|
460
|
+
/** OAuth application's ID. */
|
461
|
+
appId: string;
|
462
|
+
/** OAuth application's client ID. */
|
463
|
+
clientId: string;
|
464
|
+
/** Image of the application. */
|
465
|
+
imageUrl?: string;
|
466
|
+
/** Application name. */
|
467
|
+
name: string;
|
468
|
+
/** Scopes that are authorized for this application for a given user. */
|
469
|
+
scope: string[];
|
470
|
+
/** Total number of members that authorized the application. */
|
471
|
+
totalMembers: number;
|
472
|
+
/** The application's webhook URL. */
|
473
|
+
webhookUrl?: string;
|
474
|
+
}
|
475
|
+
/**
|
476
|
+
* AuthOauthClient with scope from OauthToken, for use in the GraphQL API.
|
477
|
+
*
|
478
|
+
* @param request - function to call the graphql client
|
479
|
+
* @param data - L.AuthOauthClientWithScopeFragment response data
|
480
|
+
*/
|
481
|
+
export declare class AuthOauthClientWithScope extends Request {
|
482
|
+
constructor(request: LinearRequest, data: L.AuthOauthClientWithScopeFragment);
|
483
|
+
/** OAuth application's ID. */
|
484
|
+
appId: string;
|
485
|
+
/** OAuth application's client ID. */
|
486
|
+
clientId: string;
|
487
|
+
/** Image of the application. */
|
488
|
+
imageUrl?: string;
|
489
|
+
/** Application name. */
|
490
|
+
name: string;
|
491
|
+
/** Scopes that are authorized for this application for a given user. */
|
492
|
+
scope: string[];
|
493
|
+
/** The application's webhook URL. */
|
494
|
+
webhookUrl?: string;
|
495
|
+
}
|
496
|
+
/**
|
497
|
+
* AuthOauthClientWithTokens model
|
498
|
+
*
|
499
|
+
* @param request - function to call the graphql client
|
500
|
+
* @param data - L.AuthOauthClientWithTokensFragment response data
|
501
|
+
*/
|
502
|
+
export declare class AuthOauthClientWithTokens extends Request {
|
503
|
+
constructor(request: LinearRequest, data: L.AuthOauthClientWithTokensFragment);
|
504
|
+
/** The token matching the app, scope, and actor. */
|
505
|
+
tokens: OauthToken[];
|
506
|
+
/** The auth OAuth client. */
|
507
|
+
client: AuthOauthClient;
|
508
|
+
}
|
413
509
|
/**
|
414
510
|
* An organization. Organizations are root-level objects that contain users and teams.
|
415
511
|
*
|
@@ -422,6 +518,7 @@ export declare class AuthOrganization extends Request {
|
|
422
518
|
allowedAuthServices: string[];
|
423
519
|
/** The time at which deletion of the organization was requested. */
|
424
520
|
deletionRequestedAt?: Date;
|
521
|
+
/** The unique identifier of the entity. */
|
425
522
|
id: string;
|
426
523
|
/** The organization's logo URL. */
|
427
524
|
logoUrl?: string;
|
@@ -431,10 +528,23 @@ export declare class AuthOrganization extends Request {
|
|
431
528
|
previousUrlKeys: string[];
|
432
529
|
/** Whether SAML authentication is enabled for organization. */
|
433
530
|
samlEnabled: boolean;
|
531
|
+
/** Whether SCIM provisioning is enabled for organization. */
|
532
|
+
scimEnabled: boolean;
|
434
533
|
/** The organization's unique URL key. */
|
435
534
|
urlKey: string;
|
436
535
|
userCount: number;
|
437
536
|
}
|
537
|
+
/**
|
538
|
+
* AuthOrganizationDomain model
|
539
|
+
*
|
540
|
+
* @param request - function to call the graphql client
|
541
|
+
* @param data - L.AuthOrganizationDomainFragment response data
|
542
|
+
*/
|
543
|
+
export declare class AuthOrganizationDomain extends Request {
|
544
|
+
constructor(request: LinearRequest, data: L.AuthOrganizationDomainFragment);
|
545
|
+
/** The unique identifier of the entity. */
|
546
|
+
id: string;
|
547
|
+
}
|
438
548
|
/**
|
439
549
|
* AuthResolverResponse model
|
440
550
|
*
|
@@ -460,6 +570,17 @@ export declare class AuthResolverResponse extends Request {
|
|
460
570
|
/** Users belonging to this account. */
|
461
571
|
users: AuthUser[];
|
462
572
|
}
|
573
|
+
/**
|
574
|
+
* AuthSuccessPayload model
|
575
|
+
*
|
576
|
+
* @param request - function to call the graphql client
|
577
|
+
* @param data - L.AuthSuccessPayloadFragment response data
|
578
|
+
*/
|
579
|
+
export declare class AuthSuccessPayload extends Request {
|
580
|
+
constructor(request: LinearRequest, data: L.AuthSuccessPayloadFragment);
|
581
|
+
/** Whether the operation was successful. */
|
582
|
+
success: boolean;
|
583
|
+
}
|
463
584
|
/**
|
464
585
|
* A user that has access to the the resources of an organization.
|
465
586
|
*
|
@@ -468,6 +589,8 @@ export declare class AuthResolverResponse extends Request {
|
|
468
589
|
*/
|
469
590
|
export declare class AuthUser extends Request {
|
470
591
|
constructor(request: LinearRequest, data: L.AuthUserFragment);
|
592
|
+
/** Whether the user is active. */
|
593
|
+
active: boolean;
|
471
594
|
/** An URL to the user's avatar image. */
|
472
595
|
avatarUrl?: string;
|
473
596
|
/** The user's display (nick) name. Unique within each organization. */
|
@@ -519,7 +642,7 @@ export declare class AuthenticationSession extends Request {
|
|
519
642
|
userAgent?: string;
|
520
643
|
}
|
521
644
|
/**
|
522
|
-
*
|
645
|
+
* Authentication session information
|
523
646
|
*
|
524
647
|
* @param request - function to call the graphql client
|
525
648
|
* @param data - L.AuthenticationSessionResponseFragment response data
|
@@ -558,6 +681,25 @@ export declare class AuthenticationSessionResponse extends Request {
|
|
558
681
|
/** Session's user-agent. */
|
559
682
|
userAgent?: string;
|
560
683
|
}
|
684
|
+
/**
|
685
|
+
* AuthorizedApplicationBase model
|
686
|
+
*
|
687
|
+
* @param request - function to call the graphql client
|
688
|
+
* @param data - L.AuthorizedApplicationBaseFragment response data
|
689
|
+
*/
|
690
|
+
export declare class AuthorizedApplicationBase extends Request {
|
691
|
+
constructor(request: LinearRequest, data: L.AuthorizedApplicationBaseFragment);
|
692
|
+
/** OAuth application's ID. */
|
693
|
+
appId: string;
|
694
|
+
/** OAuth application's client ID. */
|
695
|
+
clientId: string;
|
696
|
+
/** Image of the application. */
|
697
|
+
imageUrl?: string;
|
698
|
+
/** Application name. */
|
699
|
+
name: string;
|
700
|
+
/** Scopes that are authorized for this application for a given user. */
|
701
|
+
scope: string[];
|
702
|
+
}
|
561
703
|
/**
|
562
704
|
* A comment associated with an issue.
|
563
705
|
*
|
@@ -565,8 +707,9 @@ export declare class AuthenticationSessionResponse extends Request {
|
|
565
707
|
* @param data - L.CommentFragment response data
|
566
708
|
*/
|
567
709
|
export declare class Comment extends Request {
|
568
|
-
private _issue
|
710
|
+
private _issue?;
|
569
711
|
private _parent?;
|
712
|
+
private _projectUpdate?;
|
570
713
|
private _resolvingComment?;
|
571
714
|
private _resolvingUser?;
|
572
715
|
private _user?;
|
@@ -582,7 +725,7 @@ export declare class Comment extends Request {
|
|
582
725
|
/** The unique identifier of the entity. */
|
583
726
|
id: string;
|
584
727
|
/** Emoji reaction summary, grouped by emoji type */
|
585
|
-
reactionData:
|
728
|
+
reactionData: L.Scalars["JSONObject"];
|
586
729
|
/** The time the resolvingUser resolved the thread. */
|
587
730
|
resolvedAt?: Date;
|
588
731
|
/**
|
@@ -601,6 +744,8 @@ export declare class Comment extends Request {
|
|
601
744
|
get issue(): LinearFetch<Issue> | undefined;
|
602
745
|
/** The parent comment under which the current comment is nested. */
|
603
746
|
get parent(): LinearFetch<Comment> | undefined;
|
747
|
+
/** The project update that the comment is associated with. */
|
748
|
+
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
|
604
749
|
/** The comment that resolved the thread. */
|
605
750
|
get resolvingComment(): LinearFetch<Comment> | undefined;
|
606
751
|
/** The user that resolved the thread. */
|
@@ -654,7 +799,7 @@ export declare class Company extends Request {
|
|
654
799
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
655
800
|
archivedAt?: Date;
|
656
801
|
/** Custom company properties. */
|
657
|
-
companyProperties:
|
802
|
+
companyProperties: L.Scalars["JSONObject"];
|
658
803
|
/** The time at which the entity was created. */
|
659
804
|
createdAt: Date;
|
660
805
|
/** Company ID in an external system. */
|
@@ -741,9 +886,9 @@ export declare class CustomView extends Request {
|
|
741
886
|
/** The description of the custom view. */
|
742
887
|
description?: string;
|
743
888
|
/** The filter applied to issues in the custom view. */
|
744
|
-
filterData:
|
889
|
+
filterData: L.Scalars["JSONObject"];
|
745
890
|
/** The filters applied to issues in the custom view. */
|
746
|
-
filters:
|
891
|
+
filters: L.Scalars["JSONObject"];
|
747
892
|
/** The icon of the custom view. */
|
748
893
|
icon?: string;
|
749
894
|
/** The unique identifier of the entity. */
|
@@ -1064,6 +1209,8 @@ export declare class Document extends Request {
|
|
1064
1209
|
id: string;
|
1065
1210
|
/** The document's unique URL slug. */
|
1066
1211
|
slugId: string;
|
1212
|
+
/** The order of the item in the project resources list. */
|
1213
|
+
sortOrder: number;
|
1067
1214
|
/** The document title. */
|
1068
1215
|
title: string;
|
1069
1216
|
/**
|
@@ -1248,9 +1395,11 @@ export declare class DocumentSearchResult extends Request {
|
|
1248
1395
|
/** The unique identifier of the entity. */
|
1249
1396
|
id: string;
|
1250
1397
|
/** Metadata related to search result */
|
1251
|
-
metadata:
|
1398
|
+
metadata: L.Scalars["JSONObject"];
|
1252
1399
|
/** The document's unique URL slug. */
|
1253
1400
|
slugId: string;
|
1401
|
+
/** The order of the item in the project resources list. */
|
1402
|
+
sortOrder: number;
|
1254
1403
|
/** The document title. */
|
1255
1404
|
title: string;
|
1256
1405
|
/**
|
@@ -1278,6 +1427,37 @@ export declare class DocumentSearchResult extends Request {
|
|
1278
1427
|
export declare class DocumentSearchResultConnection extends Connection<DocumentSearchResult> {
|
1279
1428
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentSearchResult> | undefined>, data: L.DocumentSearchResultConnectionFragment);
|
1280
1429
|
}
|
1430
|
+
/**
|
1431
|
+
* An email address that can be used for submitting issues
|
1432
|
+
*
|
1433
|
+
* @param request - function to call the graphql client
|
1434
|
+
* @param data - L.EmailIntakeAddressFragment response data
|
1435
|
+
*/
|
1436
|
+
export declare class EmailIntakeAddress extends Request {
|
1437
|
+
private _creator?;
|
1438
|
+
private _team;
|
1439
|
+
constructor(request: LinearRequest, data: L.EmailIntakeAddressFragment);
|
1440
|
+
/** Unique email address user name (before @) used for incoming email. */
|
1441
|
+
address: string;
|
1442
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1443
|
+
archivedAt?: Date;
|
1444
|
+
/** The time at which the entity was created. */
|
1445
|
+
createdAt: Date;
|
1446
|
+
/** Whether the email address is enabled. */
|
1447
|
+
enabled: boolean;
|
1448
|
+
/** The unique identifier of the entity. */
|
1449
|
+
id: string;
|
1450
|
+
/**
|
1451
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1452
|
+
* 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
|
1453
|
+
* been updated after creation.
|
1454
|
+
*/
|
1455
|
+
updatedAt: Date;
|
1456
|
+
/** The user who created the email intake address. */
|
1457
|
+
get creator(): LinearFetch<User> | undefined;
|
1458
|
+
/** The team that the email address is associated with. */
|
1459
|
+
get team(): LinearFetch<Team> | undefined;
|
1460
|
+
}
|
1281
1461
|
/**
|
1282
1462
|
* EmailUnsubscribePayload model
|
1283
1463
|
*
|
@@ -1516,6 +1696,66 @@ export declare class FrontSettings extends Request {
|
|
1516
1696
|
/** Whether an internal message should be added when a Linear issue changes status (for status types except completed or canceled). */
|
1517
1697
|
sendNoteOnStatusChange?: boolean;
|
1518
1698
|
}
|
1699
|
+
/**
|
1700
|
+
* A trigger that updates the issue status according to Git automations.
|
1701
|
+
*
|
1702
|
+
* @param request - function to call the graphql client
|
1703
|
+
* @param data - L.GitAutomationStateFragment response data
|
1704
|
+
*/
|
1705
|
+
export declare class GitAutomationState extends Request {
|
1706
|
+
private _state?;
|
1707
|
+
private _team;
|
1708
|
+
constructor(request: LinearRequest, data: L.GitAutomationStateFragment);
|
1709
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1710
|
+
archivedAt?: Date;
|
1711
|
+
/** The target branch, if null, the automation will be triggered on any branch. */
|
1712
|
+
branchPattern: string;
|
1713
|
+
/** The time at which the entity was created. */
|
1714
|
+
createdAt: Date;
|
1715
|
+
/** The unique identifier of the entity. */
|
1716
|
+
id: string;
|
1717
|
+
/**
|
1718
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1719
|
+
* 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
|
1720
|
+
* been updated after creation.
|
1721
|
+
*/
|
1722
|
+
updatedAt: Date;
|
1723
|
+
/** The associated workflow state. */
|
1724
|
+
get state(): LinearFetch<WorkflowState> | undefined;
|
1725
|
+
/** The team to which this automation state belongs. */
|
1726
|
+
get team(): LinearFetch<Team> | undefined;
|
1727
|
+
/** Creates a new automation state. */
|
1728
|
+
create(input: L.GitAutomationStateCreateInput): LinearFetch<GitAutomationStatePayload>;
|
1729
|
+
/** Archives an automation state. */
|
1730
|
+
delete(): LinearFetch<DeletePayload>;
|
1731
|
+
/** Updates an existing state. */
|
1732
|
+
update(input: L.GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
|
1733
|
+
}
|
1734
|
+
/**
|
1735
|
+
* GitAutomationStateConnection model
|
1736
|
+
*
|
1737
|
+
* @param request - function to call the graphql client
|
1738
|
+
* @param fetch - function to trigger a refetch of this GitAutomationStateConnection model
|
1739
|
+
* @param data - GitAutomationStateConnection response data
|
1740
|
+
*/
|
1741
|
+
export declare class GitAutomationStateConnection extends Connection<GitAutomationState> {
|
1742
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<GitAutomationState> | undefined>, data: L.GitAutomationStateConnectionFragment);
|
1743
|
+
}
|
1744
|
+
/**
|
1745
|
+
* GitAutomationStatePayload model
|
1746
|
+
*
|
1747
|
+
* @param request - function to call the graphql client
|
1748
|
+
* @param data - L.GitAutomationStatePayloadFragment response data
|
1749
|
+
*/
|
1750
|
+
export declare class GitAutomationStatePayload extends Request {
|
1751
|
+
constructor(request: LinearRequest, data: L.GitAutomationStatePayloadFragment);
|
1752
|
+
/** The identifier of the last sync operation. */
|
1753
|
+
lastSyncId: number;
|
1754
|
+
/** Whether the operation was successful. */
|
1755
|
+
success: boolean;
|
1756
|
+
/** The automation state that was created or updated. */
|
1757
|
+
gitAutomationState: GitAutomationState;
|
1758
|
+
}
|
1519
1759
|
/**
|
1520
1760
|
* GitHubCommitIntegrationPayload model
|
1521
1761
|
*
|
@@ -1535,45 +1775,45 @@ export declare class GitHubCommitIntegrationPayload extends Request {
|
|
1535
1775
|
get integration(): LinearFetch<Integration> | undefined;
|
1536
1776
|
}
|
1537
1777
|
/**
|
1538
|
-
* Metadata and settings for a GitHub integration.
|
1778
|
+
* Metadata and settings for a GitHub Personal integration.
|
1539
1779
|
*
|
1540
1780
|
* @param request - function to call the graphql client
|
1541
|
-
* @param data - L.
|
1781
|
+
* @param data - L.GitHubPersonalSettingsFragment response data
|
1542
1782
|
*/
|
1543
|
-
export declare class
|
1544
|
-
constructor(request: LinearRequest, data: L.
|
1545
|
-
/** The
|
1546
|
-
|
1547
|
-
/** The GitHub organization's name */
|
1548
|
-
orgLogin: string;
|
1549
|
-
/** The names of the repositories connected for the GitHub integration */
|
1550
|
-
repositories?: string[];
|
1783
|
+
export declare class GitHubPersonalSettings extends Request {
|
1784
|
+
constructor(request: LinearRequest, data: L.GitHubPersonalSettingsFragment);
|
1785
|
+
/** The GitHub user's name */
|
1786
|
+
login: string;
|
1551
1787
|
}
|
1552
1788
|
/**
|
1553
1789
|
* GitHub repos available to sync.
|
1554
1790
|
*
|
1555
1791
|
* @param request - function to call the graphql client
|
1556
|
-
* @param data - L.
|
1792
|
+
* @param data - L.GitHubRepoFragment response data
|
1557
1793
|
*/
|
1558
|
-
export declare class
|
1559
|
-
constructor(request: LinearRequest, data: L.
|
1794
|
+
export declare class GitHubRepo extends Request {
|
1795
|
+
constructor(request: LinearRequest, data: L.GitHubRepoFragment);
|
1560
1796
|
/** The full name of the repository. */
|
1561
1797
|
fullName: string;
|
1562
1798
|
/** The GitHub repo id. */
|
1563
1799
|
id: number;
|
1564
1800
|
}
|
1565
1801
|
/**
|
1566
|
-
* Metadata and settings for a GitHub
|
1802
|
+
* Metadata and settings for a GitHub integration.
|
1567
1803
|
*
|
1568
1804
|
* @param request - function to call the graphql client
|
1569
|
-
* @param data - L.
|
1805
|
+
* @param data - L.GitHubSettingsFragment response data
|
1570
1806
|
*/
|
1571
|
-
export declare class
|
1572
|
-
constructor(request: LinearRequest, data: L.
|
1573
|
-
/**
|
1574
|
-
|
1807
|
+
export declare class GitHubSettings extends Request {
|
1808
|
+
constructor(request: LinearRequest, data: L.GitHubSettingsFragment);
|
1809
|
+
/** The avatar URL for the GitHub organization */
|
1810
|
+
orgAvatarUrl: string;
|
1811
|
+
/** The GitHub organization's name */
|
1812
|
+
orgLogin: string;
|
1575
1813
|
/** The names of the repositories connected for the GitHub integration */
|
1576
|
-
|
1814
|
+
repositories?: GitHubRepo[];
|
1815
|
+
/** Mapping of team to repository for syncing */
|
1816
|
+
repositoriesMapping?: TeamRepoMapping[];
|
1577
1817
|
}
|
1578
1818
|
/**
|
1579
1819
|
* Metadata and settings for a GitLab integration.
|
@@ -1743,7 +1983,7 @@ export declare class IntegrationSettings extends Request {
|
|
1743
1983
|
constructor(request: LinearRequest, data: L.IntegrationSettingsFragment);
|
1744
1984
|
front?: FrontSettings;
|
1745
1985
|
gitHub?: GitHubSettings;
|
1746
|
-
|
1986
|
+
gitHubPersonal?: GitHubPersonalSettings;
|
1747
1987
|
gitLab?: GitLabSettings;
|
1748
1988
|
googleSheets?: GoogleSheetsSettings;
|
1749
1989
|
intercom?: IntercomSettings;
|
@@ -1960,6 +2200,8 @@ export declare class Issue extends Request {
|
|
1960
2200
|
id: string;
|
1961
2201
|
/** Issue's human readable identifier (e.g. ENG-123). */
|
1962
2202
|
identifier: string;
|
2203
|
+
/** Id of the labels associated with this issue. */
|
2204
|
+
labelIds: string[];
|
1963
2205
|
/** The issue's unique number. */
|
1964
2206
|
number: number;
|
1965
2207
|
/** Previous identifiers of the issue if it has been moved between teams. */
|
@@ -1992,6 +2234,8 @@ export declare class Issue extends Request {
|
|
1992
2234
|
updatedAt: Date;
|
1993
2235
|
/** Issue URL. */
|
1994
2236
|
url: string;
|
2237
|
+
/** The bot that created the issue, if applicable. */
|
2238
|
+
botActor?: ActorBot;
|
1995
2239
|
/** The user to whom the issue is assigned to. */
|
1996
2240
|
get assignee(): LinearFetch<User> | undefined;
|
1997
2241
|
/** The user who created the issue. */
|
@@ -2089,7 +2333,7 @@ export declare class IssueConnection extends Connection<Issue> {
|
|
2089
2333
|
export declare class IssueFilterSuggestionPayload extends Request {
|
2090
2334
|
constructor(request: LinearRequest, data: L.IssueFilterSuggestionPayloadFragment);
|
2091
2335
|
/** The json filter that is suggested. */
|
2092
|
-
filter?:
|
2336
|
+
filter?: L.Scalars["JSONObject"];
|
2093
2337
|
}
|
2094
2338
|
/**
|
2095
2339
|
* A record of changes to an issue.
|
@@ -2257,11 +2501,11 @@ export declare class IssueImport extends Request {
|
|
2257
2501
|
/** User readable error message, if one has occurred during the import. */
|
2258
2502
|
error?: string;
|
2259
2503
|
/** Error code and metadata, if one has occurred during the import */
|
2260
|
-
errorMetadata?:
|
2504
|
+
errorMetadata?: L.Scalars["JSONObject"];
|
2261
2505
|
/** The unique identifier of the entity. */
|
2262
2506
|
id: string;
|
2263
2507
|
/** The data mapping configuration for the import job. */
|
2264
|
-
mapping?:
|
2508
|
+
mapping?: L.Scalars["JSONObject"];
|
2265
2509
|
/** Current step progress in % (0-100). */
|
2266
2510
|
progress?: number;
|
2267
2511
|
/** The service from which data will be imported. */
|
@@ -2616,8 +2860,10 @@ export declare class IssueSearchResult extends Request {
|
|
2616
2860
|
id: string;
|
2617
2861
|
/** Issue's human readable identifier (e.g. ENG-123). */
|
2618
2862
|
identifier: string;
|
2863
|
+
/** Id of the labels associated with this issue. */
|
2864
|
+
labelIds: string[];
|
2619
2865
|
/** Metadata related to search result */
|
2620
|
-
metadata:
|
2866
|
+
metadata: L.Scalars["JSONObject"];
|
2621
2867
|
/** The issue's unique number. */
|
2622
2868
|
number: number;
|
2623
2869
|
/** Previous identifiers of the issue if it has been moved between teams. */
|
@@ -2650,6 +2896,8 @@ export declare class IssueSearchResult extends Request {
|
|
2650
2896
|
updatedAt: Date;
|
2651
2897
|
/** Issue URL. */
|
2652
2898
|
url: string;
|
2899
|
+
/** The bot that created the issue, if applicable. */
|
2900
|
+
botActor?: ActorBot;
|
2653
2901
|
/** The user to whom the issue is assigned to. */
|
2654
2902
|
get assignee(): LinearFetch<User> | undefined;
|
2655
2903
|
/** The user who created the issue. */
|
@@ -2689,6 +2937,10 @@ export declare class IssueSearchResultConnection extends Connection<IssueSearchR
|
|
2689
2937
|
*/
|
2690
2938
|
export declare class JiraLinearMapping extends Request {
|
2691
2939
|
constructor(request: LinearRequest, data: L.JiraLinearMappingFragment);
|
2940
|
+
/** Whether the sync for this mapping is bidirectional. */
|
2941
|
+
bidirectional?: boolean;
|
2942
|
+
/** Whether this mapping is the default one for issue creation. */
|
2943
|
+
default?: boolean;
|
2692
2944
|
/** The Jira id for this project. */
|
2693
2945
|
jiraProjectId: string;
|
2694
2946
|
/** The Linear team id to map to the given project. */
|
@@ -2728,6 +2980,8 @@ export declare class JiraProjectData extends Request {
|
|
2728
2980
|
*/
|
2729
2981
|
export declare class JiraSettings extends Request {
|
2730
2982
|
constructor(request: LinearRequest, data: L.JiraSettingsFragment);
|
2983
|
+
/** Whether this integration is for Jira Server or not. */
|
2984
|
+
isJiraServer?: boolean;
|
2731
2985
|
/** The mapping of Jira project id => Linear team id. */
|
2732
2986
|
projectMapping?: JiraLinearMapping[];
|
2733
2987
|
/** The Jira projects for the organization. */
|
@@ -3123,6 +3377,17 @@ export declare class OauthClientApprovalNotification extends Request {
|
|
3123
3377
|
export declare class OauthClientConnection extends Connection<OauthClient> {
|
3124
3378
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<OauthClient> | undefined>, data: L.OauthClientConnectionFragment);
|
3125
3379
|
}
|
3380
|
+
/**
|
3381
|
+
* OauthToken model
|
3382
|
+
*
|
3383
|
+
* @param request - function to call the graphql client
|
3384
|
+
* @param data - L.OauthTokenFragment response data
|
3385
|
+
*/
|
3386
|
+
export declare class OauthToken extends Request {
|
3387
|
+
constructor(request: LinearRequest, data: L.OauthTokenFragment);
|
3388
|
+
createdAt: Date;
|
3389
|
+
id: string;
|
3390
|
+
}
|
3126
3391
|
/**
|
3127
3392
|
* An organization. Organizations are root-level objects that contain user accounts and teams.
|
3128
3393
|
*
|
@@ -3143,6 +3408,8 @@ export declare class Organization extends Request {
|
|
3143
3408
|
createdIssueCount: number;
|
3144
3409
|
/** The time at which deletion of the organization was requested. */
|
3145
3410
|
deletionRequestedAt?: Date;
|
3411
|
+
/** The month at which the fiscal year starts. Defaults to January (0). */
|
3412
|
+
fiscalYearStartMonth: number;
|
3146
3413
|
/** How git branches are formatted. If null, default formatting will be used. */
|
3147
3414
|
gitBranchFormat?: string;
|
3148
3415
|
/** Whether the Git integration linkback messages should be sent to private repositories. */
|
@@ -3290,7 +3557,7 @@ export declare class OrganizationInvite extends Request {
|
|
3290
3557
|
/** The unique identifier of the entity. */
|
3291
3558
|
id: string;
|
3292
3559
|
/** Extra metadata associated with the organization invite. */
|
3293
|
-
metadata:
|
3560
|
+
metadata: L.Scalars["JSONObject"];
|
3294
3561
|
/**
|
3295
3562
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3296
3563
|
* 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
|
@@ -3480,7 +3747,7 @@ export declare class PaidSubscription extends Request {
|
|
3480
3747
|
*/
|
3481
3748
|
export declare class Project extends Request {
|
3482
3749
|
private _convertedFromIssue?;
|
3483
|
-
private _creator
|
3750
|
+
private _creator?;
|
3484
3751
|
private _integrationsSettings?;
|
3485
3752
|
private _lastAppliedTemplate?;
|
3486
3753
|
private _lead?;
|
@@ -3578,7 +3845,7 @@ export declare class Project extends Request {
|
|
3578
3845
|
/** Archives a project. */
|
3579
3846
|
archive(variables?: Omit<L.ArchiveProjectMutationVariables, "id">): LinearFetch<ProjectArchivePayload>;
|
3580
3847
|
/** Creates a new project. */
|
3581
|
-
create(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
|
3848
|
+
create(input: L.ProjectCreateInput, variables?: Omit<L.CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
|
3582
3849
|
/** Deletes (trashes) a project. */
|
3583
3850
|
delete(): LinearFetch<ProjectArchivePayload>;
|
3584
3851
|
/** Unarchives a project. */
|
@@ -3621,7 +3888,7 @@ export declare class ProjectConnection extends Connection<Project> {
|
|
3621
3888
|
export declare class ProjectFilterSuggestionPayload extends Request {
|
3622
3889
|
constructor(request: LinearRequest, data: L.ProjectFilterSuggestionPayloadFragment);
|
3623
3890
|
/** The json filter that is suggested. */
|
3624
|
-
filter?:
|
3891
|
+
filter?: L.Scalars["JSONObject"];
|
3625
3892
|
}
|
3626
3893
|
/**
|
3627
3894
|
* An external link for a project.
|
@@ -3641,6 +3908,8 @@ export declare class ProjectLink extends Request {
|
|
3641
3908
|
id: string;
|
3642
3909
|
/** The link's label. */
|
3643
3910
|
label: string;
|
3911
|
+
/** The order of the item in the project resources list. */
|
3912
|
+
sortOrder: number;
|
3644
3913
|
/**
|
3645
3914
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3646
3915
|
* 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
|
@@ -3880,7 +4149,7 @@ export declare class ProjectSearchPayload extends Request {
|
|
3880
4149
|
*/
|
3881
4150
|
export declare class ProjectSearchResult extends Request {
|
3882
4151
|
private _convertedFromIssue?;
|
3883
|
-
private _creator
|
4152
|
+
private _creator?;
|
3884
4153
|
private _integrationsSettings?;
|
3885
4154
|
private _lastAppliedTemplate?;
|
3886
4155
|
private _lead?;
|
@@ -3914,7 +4183,7 @@ export declare class ProjectSearchResult extends Request {
|
|
3914
4183
|
/** The total number of issues in the project after each week. */
|
3915
4184
|
issueCountHistory: number[];
|
3916
4185
|
/** Metadata related to search result */
|
3917
|
-
metadata:
|
4186
|
+
metadata: L.Scalars["JSONObject"];
|
3918
4187
|
/** The project's name. */
|
3919
4188
|
name: string;
|
3920
4189
|
/** The overall progress of the project. This is the (completed estimate points + 0.25 * in progress estimate points) / total estimate points. */
|
@@ -4236,6 +4505,9 @@ export declare class RateLimitResultPayload extends Request {
|
|
4236
4505
|
* @param data - L.ReactionFragment response data
|
4237
4506
|
*/
|
4238
4507
|
export declare class Reaction extends Request {
|
4508
|
+
private _comment?;
|
4509
|
+
private _issue?;
|
4510
|
+
private _projectUpdate?;
|
4239
4511
|
private _user?;
|
4240
4512
|
constructor(request: LinearRequest, data: L.ReactionFragment);
|
4241
4513
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -4252,7 +4524,13 @@ export declare class Reaction extends Request {
|
|
4252
4524
|
* been updated after creation.
|
4253
4525
|
*/
|
4254
4526
|
updatedAt: Date;
|
4255
|
-
/** The
|
4527
|
+
/** The comment that the reaction is associated with. */
|
4528
|
+
get comment(): LinearFetch<Comment> | undefined;
|
4529
|
+
/** The issue that the reaction is associated with. */
|
4530
|
+
get issue(): LinearFetch<Issue> | undefined;
|
4531
|
+
/** The project update that the reaction is associated with. */
|
4532
|
+
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
|
4533
|
+
/** The user that created the reaction. */
|
4256
4534
|
get user(): LinearFetch<User> | undefined;
|
4257
4535
|
/** Creates a new reaction. */
|
4258
4536
|
create(input: L.ReactionCreateInput): LinearFetch<ReactionPayload>;
|
@@ -4507,6 +4785,28 @@ export declare class SlackAsksTeamSettings extends Request {
|
|
4507
4785
|
/** The Linear team ID. */
|
4508
4786
|
id: string;
|
4509
4787
|
}
|
4788
|
+
/**
|
4789
|
+
* SlackChannelConnectPayload model
|
4790
|
+
*
|
4791
|
+
* @param request - function to call the graphql client
|
4792
|
+
* @param data - L.SlackChannelConnectPayloadFragment response data
|
4793
|
+
*/
|
4794
|
+
export declare class SlackChannelConnectPayload extends Request {
|
4795
|
+
private _integration?;
|
4796
|
+
constructor(request: LinearRequest, data: L.SlackChannelConnectPayloadFragment);
|
4797
|
+
/** Whether the bot needs to be manually added to the channel. */
|
4798
|
+
addBot: boolean;
|
4799
|
+
/** The identifier of the last sync operation. */
|
4800
|
+
lastSyncId: number;
|
4801
|
+
/** Whether it's recommended to connect main Slack integration. */
|
4802
|
+
nudgeToConnectMainSlackIntegration?: boolean;
|
4803
|
+
/** Whether it's recommended to update main Slack integration. */
|
4804
|
+
nudgeToUpdateMainSlackIntegration?: boolean;
|
4805
|
+
/** Whether the operation was successful. */
|
4806
|
+
success: boolean;
|
4807
|
+
/** The integration that was created or updated. */
|
4808
|
+
get integration(): LinearFetch<Integration> | undefined;
|
4809
|
+
}
|
4510
4810
|
/**
|
4511
4811
|
* Object for mapping Slack channel IDs to names and other settings
|
4512
4812
|
*
|
@@ -4521,6 +4821,8 @@ export declare class SlackChannelNameMapping extends Request {
|
|
4521
4821
|
autoCreateOnEmoji?: boolean;
|
4522
4822
|
/** Whether or not top-level messages in this channel should automatically create Asks */
|
4523
4823
|
autoCreateOnMessage?: boolean;
|
4824
|
+
/** The optional template ID to use for Asks auto-created in this channel. If not set, auto-created Asks won't use any template. */
|
4825
|
+
autoCreateTemplateId?: string;
|
4524
4826
|
/** Whether or not we the Linear Asks bot has been added to this Slack channel */
|
4525
4827
|
botAdded?: boolean;
|
4526
4828
|
/** The Slack channel ID. */
|
@@ -4570,28 +4872,6 @@ export declare class SsoUrlFromEmailResponse extends Request {
|
|
4570
4872
|
/** Whether the operation was successful. */
|
4571
4873
|
success: boolean;
|
4572
4874
|
}
|
4573
|
-
/**
|
4574
|
-
* Contains either the full serialized state of the application or delta packets that the requester can apply to the local data set in order to be up-to-date.
|
4575
|
-
*
|
4576
|
-
* @param request - function to call the graphql client
|
4577
|
-
* @param data - L.SyncResponseFragment response data
|
4578
|
-
*/
|
4579
|
-
export declare class SyncResponse extends Request {
|
4580
|
-
constructor(request: LinearRequest, data: L.SyncResponseFragment);
|
4581
|
-
/** The version of the remote database. Incremented by 1 for each migration run on the database. */
|
4582
|
-
databaseVersion: number;
|
4583
|
-
/** JSON serialized delta changes that the client can apply to its local state in order to catch up with the state of the world. */
|
4584
|
-
delta?: string;
|
4585
|
-
/** The last sync id covered by the response. */
|
4586
|
-
lastSyncId: number;
|
4587
|
-
/**
|
4588
|
-
* The full state of the organization as a serialized JSON object.
|
4589
|
-
* Mutually exclusive with the delta property
|
4590
|
-
*/
|
4591
|
-
state?: string;
|
4592
|
-
/** The sync groups that the user is subscribed to. */
|
4593
|
-
subscribedSyncGroups: string[];
|
4594
|
-
}
|
4595
4875
|
/**
|
4596
4876
|
* SynchronizedPayload model
|
4597
4877
|
*
|
@@ -4678,7 +4958,7 @@ export declare class Team extends Request {
|
|
4678
4958
|
issueEstimationType: string;
|
4679
4959
|
/** Whether issues without priority should be sorted first. */
|
4680
4960
|
issueOrderingNoPriorityFirst: boolean;
|
4681
|
-
/** Whether to move issues to bottom of the column when changing state. */
|
4961
|
+
/** [DEPRECATED] Whether to move issues to bottom of the column when changing state. Use setIssueSortOrderOnStateChange instead. */
|
4682
4962
|
issueSortOrderDefaultToBottom: boolean;
|
4683
4963
|
/** The team's unique key. The key is used in URLs. */
|
4684
4964
|
key: string;
|
@@ -4688,6 +4968,8 @@ export declare class Team extends Request {
|
|
4688
4968
|
private: boolean;
|
4689
4969
|
/** Whether an issue needs to have a priority set before leaving triage */
|
4690
4970
|
requirePriorityToLeaveTriage: boolean;
|
4971
|
+
/** Where to move issues when changing state. */
|
4972
|
+
setIssueSortOrderOnStateChange: string;
|
4691
4973
|
/** Whether to send new issue comment notifications to Slack. */
|
4692
4974
|
slackIssueComments: boolean;
|
4693
4975
|
/** Whether to send new issue status updates to Slack. */
|
@@ -4734,6 +5016,8 @@ export declare class Team extends Request {
|
|
4734
5016
|
get startWorkflowState(): LinearFetch<WorkflowState> | undefined;
|
4735
5017
|
/** The workflow state into which issues are set when they are opened by non-team members or integrations if triage is enabled. */
|
4736
5018
|
get triageIssueState(): LinearFetch<WorkflowState> | undefined;
|
5019
|
+
/** The automation states for the team. */
|
5020
|
+
automationStates(variables?: Omit<L.Team_AutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
|
4737
5021
|
/** Cycles associated with the team. */
|
4738
5022
|
cycles(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
|
4739
5023
|
/** Issues associated with the team. */
|
@@ -4756,9 +5040,27 @@ export declare class Team extends Request {
|
|
4756
5040
|
create(input: L.TeamCreateInput, variables?: Omit<L.CreateTeamMutationVariables, "input">): LinearFetch<TeamPayload>;
|
4757
5041
|
/** Deletes a team. */
|
4758
5042
|
delete(): LinearFetch<DeletePayload>;
|
5043
|
+
/** Unarchives a team and cancels deletion. */
|
5044
|
+
unarchive(): LinearFetch<TeamArchivePayload>;
|
4759
5045
|
/** Updates a team. */
|
4760
5046
|
update(input: L.TeamUpdateInput): LinearFetch<TeamPayload>;
|
4761
5047
|
}
|
5048
|
+
/**
|
5049
|
+
* A generic payload return from entity archive mutations.
|
5050
|
+
*
|
5051
|
+
* @param request - function to call the graphql client
|
5052
|
+
* @param data - L.TeamArchivePayloadFragment response data
|
5053
|
+
*/
|
5054
|
+
export declare class TeamArchivePayload extends Request {
|
5055
|
+
private _entity?;
|
5056
|
+
constructor(request: LinearRequest, data: L.TeamArchivePayloadFragment);
|
5057
|
+
/** The identifier of the last sync operation. */
|
5058
|
+
lastSyncId: number;
|
5059
|
+
/** Whether the operation was successful. */
|
5060
|
+
success: boolean;
|
5061
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
5062
|
+
get entity(): LinearFetch<Team> | undefined;
|
5063
|
+
}
|
4762
5064
|
/**
|
4763
5065
|
* TeamConnection model
|
4764
5066
|
*
|
@@ -4957,12 +5259,11 @@ export declare class Template extends Request {
|
|
4957
5259
|
* TemplateConnection model
|
4958
5260
|
*
|
4959
5261
|
* @param request - function to call the graphql client
|
4960
|
-
* @param
|
5262
|
+
* @param fetch - function to trigger a refetch of this TemplateConnection model
|
5263
|
+
* @param data - TemplateConnection response data
|
4961
5264
|
*/
|
4962
|
-
export declare class TemplateConnection extends
|
4963
|
-
constructor(request: LinearRequest, data: L.TemplateConnectionFragment);
|
4964
|
-
pageInfo: PageInfo;
|
4965
|
-
get nodes(): LinearFetch<Template[]>;
|
5265
|
+
export declare class TemplateConnection extends Connection<Template> {
|
5266
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Template> | undefined>, data: L.TemplateConnectionFragment);
|
4966
5267
|
}
|
4967
5268
|
/**
|
4968
5269
|
* TemplatePayload model
|
@@ -4997,9 +5298,9 @@ export declare class TriageResponsibility extends Request {
|
|
4997
5298
|
/** The unique identifier of the entity. */
|
4998
5299
|
id: string;
|
4999
5300
|
/** Set of users used for triage responsibility. */
|
5000
|
-
manualSelection?:
|
5301
|
+
manualSelection?: L.Scalars["JSONObject"];
|
5001
5302
|
/** Schedule used for triage responsibility. */
|
5002
|
-
schedule?:
|
5303
|
+
schedule?: L.Scalars["JSONObject"];
|
5003
5304
|
/**
|
5004
5305
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
5005
5306
|
* 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
|
@@ -5035,7 +5336,7 @@ export declare class UploadFile extends Request {
|
|
5035
5336
|
contentType: string;
|
5036
5337
|
/** The filename. */
|
5037
5338
|
filename: string;
|
5038
|
-
metaData?:
|
5339
|
+
metaData?: L.Scalars["JSONObject"];
|
5039
5340
|
/** The size of the uploaded file. */
|
5040
5341
|
size: number;
|
5041
5342
|
/** The signed URL the for the uploaded file. (assigned automatically) */
|
@@ -5300,7 +5601,7 @@ export declare class UserSettings extends Request {
|
|
5300
5601
|
/** The unique identifier of the entity. */
|
5301
5602
|
id: string;
|
5302
5603
|
/** The notification channel settings the user has selected. */
|
5303
|
-
notificationPreferences:
|
5604
|
+
notificationPreferences: L.Scalars["JSONObject"];
|
5304
5605
|
/** Whether to show full user names instead of display names. */
|
5305
5606
|
showFullUserNames: boolean;
|
5306
5607
|
/** The email types the user has unsubscribed from. */
|
@@ -5489,7 +5790,7 @@ export declare class WorkflowCronJobDefinition extends Request {
|
|
5489
5790
|
private _team;
|
5490
5791
|
constructor(request: LinearRequest, data: L.WorkflowCronJobDefinitionFragment);
|
5491
5792
|
/** An array of activities that will be executed as part of the workflow cron job. */
|
5492
|
-
activities:
|
5793
|
+
activities: L.Scalars["JSONObject"];
|
5493
5794
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5494
5795
|
archivedAt?: Date;
|
5495
5796
|
/** The time at which the entity was created. */
|
@@ -5502,7 +5803,7 @@ export declare class WorkflowCronJobDefinition extends Request {
|
|
5502
5803
|
/** The name of the workflow cron job. */
|
5503
5804
|
name: string;
|
5504
5805
|
/** Cron schedule which is used to execute the workflow cron job. */
|
5505
|
-
schedule:
|
5806
|
+
schedule: L.Scalars["JSONObject"];
|
5506
5807
|
/** The sort order of the workflow cron job definition within its siblings. */
|
5507
5808
|
sortOrder: string;
|
5508
5809
|
/**
|
@@ -5542,11 +5843,11 @@ export declare class WorkflowDefinition extends Request {
|
|
5542
5843
|
private _user?;
|
5543
5844
|
constructor(request: LinearRequest, data: L.WorkflowDefinitionFragment);
|
5544
5845
|
/** An array of activities that will be executed as part of the workflow. */
|
5545
|
-
activities:
|
5846
|
+
activities: L.Scalars["JSONObject"];
|
5546
5847
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5547
5848
|
archivedAt?: Date;
|
5548
5849
|
/** The conditions that need to be match for the workflow to be triggered. */
|
5549
|
-
conditions:
|
5850
|
+
conditions: L.Scalars["JSONObject"];
|
5550
5851
|
/** The time at which the entity was created. */
|
5551
5852
|
createdAt: Date;
|
5552
5853
|
/** The description of the workflow. */
|
@@ -6655,9 +6956,10 @@ export declare class PushSubscriptionTestQuery extends Request {
|
|
6655
6956
|
/**
|
6656
6957
|
* Call the PushSubscriptionTest query and return a PushSubscriptionTestPayload
|
6657
6958
|
*
|
6959
|
+
* @param variables - variables to pass into the PushSubscriptionTestQuery
|
6658
6960
|
* @returns parsed response from PushSubscriptionTestQuery
|
6659
6961
|
*/
|
6660
|
-
fetch(): LinearFetch<PushSubscriptionTestPayload>;
|
6962
|
+
fetch(variables?: L.PushSubscriptionTestQueryVariables): LinearFetch<PushSubscriptionTestPayload>;
|
6661
6963
|
}
|
6662
6964
|
/**
|
6663
6965
|
* A fetchable RateLimitStatus Query
|
@@ -7145,6 +7447,23 @@ export declare class AttachmentLinkFrontMutation extends Request {
|
|
7145
7447
|
*/
|
7146
7448
|
fetch(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
|
7147
7449
|
}
|
7450
|
+
/**
|
7451
|
+
* A fetchable AttachmentLinkGitHubIssue Mutation
|
7452
|
+
*
|
7453
|
+
* @param request - function to call the graphql client
|
7454
|
+
*/
|
7455
|
+
export declare class AttachmentLinkGitHubIssueMutation extends Request {
|
7456
|
+
constructor(request: LinearRequest);
|
7457
|
+
/**
|
7458
|
+
* Call the AttachmentLinkGitHubIssue mutation and return a AttachmentPayload
|
7459
|
+
*
|
7460
|
+
* @param issueId - required issueId to pass to attachmentLinkGitHubIssue
|
7461
|
+
* @param url - required url to pass to attachmentLinkGitHubIssue
|
7462
|
+
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubIssueMutation
|
7463
|
+
* @returns parsed response from AttachmentLinkGitHubIssueMutation
|
7464
|
+
*/
|
7465
|
+
fetch(issueId: string, url: string, variables?: Omit<L.AttachmentLinkGitHubIssueMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
|
7466
|
+
}
|
7148
7467
|
/**
|
7149
7468
|
* A fetchable AttachmentLinkGitHubPr Mutation
|
7150
7469
|
*
|
@@ -7156,14 +7475,11 @@ export declare class AttachmentLinkGitHubPrMutation extends Request {
|
|
7156
7475
|
* Call the AttachmentLinkGitHubPr mutation and return a AttachmentPayload
|
7157
7476
|
*
|
7158
7477
|
* @param issueId - required issueId to pass to attachmentLinkGitHubPR
|
7159
|
-
* @param number - required number to pass to attachmentLinkGitHubPR
|
7160
|
-
* @param owner - required owner to pass to attachmentLinkGitHubPR
|
7161
|
-
* @param repo - required repo to pass to attachmentLinkGitHubPR
|
7162
7478
|
* @param url - required url to pass to attachmentLinkGitHubPR
|
7163
|
-
* @param variables - variables without 'issueId', '
|
7479
|
+
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubPrMutation
|
7164
7480
|
* @returns parsed response from AttachmentLinkGitHubPrMutation
|
7165
7481
|
*/
|
7166
|
-
fetch(issueId: string,
|
7482
|
+
fetch(issueId: string, url: string, variables?: Omit<L.AttachmentLinkGitHubPrMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
|
7167
7483
|
}
|
7168
7484
|
/**
|
7169
7485
|
* A fetchable AttachmentLinkGitLabMr Mutation
|
@@ -7516,6 +7832,21 @@ export declare class CreateCycleMutation extends Request {
|
|
7516
7832
|
*/
|
7517
7833
|
fetch(input: L.CycleCreateInput): LinearFetch<CyclePayload>;
|
7518
7834
|
}
|
7835
|
+
/**
|
7836
|
+
* A fetchable CycleShiftAll Mutation
|
7837
|
+
*
|
7838
|
+
* @param request - function to call the graphql client
|
7839
|
+
*/
|
7840
|
+
export declare class CycleShiftAllMutation extends Request {
|
7841
|
+
constructor(request: LinearRequest);
|
7842
|
+
/**
|
7843
|
+
* Call the CycleShiftAll mutation and return a CyclePayload
|
7844
|
+
*
|
7845
|
+
* @param input - required input to pass to cycleShiftAll
|
7846
|
+
* @returns parsed response from CycleShiftAllMutation
|
7847
|
+
*/
|
7848
|
+
fetch(input: L.CycleShiftAllInput): LinearFetch<CyclePayload>;
|
7849
|
+
}
|
7519
7850
|
/**
|
7520
7851
|
* A fetchable UpdateCycle Mutation
|
7521
7852
|
*
|
@@ -7717,6 +8048,52 @@ export declare class FileUploadMutation extends Request {
|
|
7717
8048
|
*/
|
7718
8049
|
fetch(contentType: string, filename: string, size: number, variables?: Omit<L.FileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
7719
8050
|
}
|
8051
|
+
/**
|
8052
|
+
* A fetchable CreateGitAutomationState Mutation
|
8053
|
+
*
|
8054
|
+
* @param request - function to call the graphql client
|
8055
|
+
*/
|
8056
|
+
export declare class CreateGitAutomationStateMutation extends Request {
|
8057
|
+
constructor(request: LinearRequest);
|
8058
|
+
/**
|
8059
|
+
* Call the CreateGitAutomationState mutation and return a GitAutomationStatePayload
|
8060
|
+
*
|
8061
|
+
* @param input - required input to pass to createGitAutomationState
|
8062
|
+
* @returns parsed response from CreateGitAutomationStateMutation
|
8063
|
+
*/
|
8064
|
+
fetch(input: L.GitAutomationStateCreateInput): LinearFetch<GitAutomationStatePayload>;
|
8065
|
+
}
|
8066
|
+
/**
|
8067
|
+
* A fetchable DeleteGitAutomationState Mutation
|
8068
|
+
*
|
8069
|
+
* @param request - function to call the graphql client
|
8070
|
+
*/
|
8071
|
+
export declare class DeleteGitAutomationStateMutation extends Request {
|
8072
|
+
constructor(request: LinearRequest);
|
8073
|
+
/**
|
8074
|
+
* Call the DeleteGitAutomationState mutation and return a DeletePayload
|
8075
|
+
*
|
8076
|
+
* @param id - required id to pass to deleteGitAutomationState
|
8077
|
+
* @returns parsed response from DeleteGitAutomationStateMutation
|
8078
|
+
*/
|
8079
|
+
fetch(id: string): LinearFetch<DeletePayload>;
|
8080
|
+
}
|
8081
|
+
/**
|
8082
|
+
* A fetchable UpdateGitAutomationState Mutation
|
8083
|
+
*
|
8084
|
+
* @param request - function to call the graphql client
|
8085
|
+
*/
|
8086
|
+
export declare class UpdateGitAutomationStateMutation extends Request {
|
8087
|
+
constructor(request: LinearRequest);
|
8088
|
+
/**
|
8089
|
+
* Call the UpdateGitAutomationState mutation and return a GitAutomationStatePayload
|
8090
|
+
*
|
8091
|
+
* @param id - required id to pass to updateGitAutomationState
|
8092
|
+
* @param input - required input to pass to updateGitAutomationState
|
8093
|
+
* @returns parsed response from UpdateGitAutomationStateMutation
|
8094
|
+
*/
|
8095
|
+
fetch(id: string, input: L.GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
|
8096
|
+
}
|
7720
8097
|
/**
|
7721
8098
|
* A fetchable GoogleUserAccountAuth Mutation
|
7722
8099
|
*
|
@@ -7888,21 +8265,6 @@ export declare class IntegrationGithubConnectMutation extends Request {
|
|
7888
8265
|
*/
|
7889
8266
|
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
7890
8267
|
}
|
7891
|
-
/**
|
7892
|
-
* A fetchable IntegrationGithubSyncConnect Mutation
|
7893
|
-
*
|
7894
|
-
* @param request - function to call the graphql client
|
7895
|
-
*/
|
7896
|
-
export declare class IntegrationGithubSyncConnectMutation extends Request {
|
7897
|
-
constructor(request: LinearRequest);
|
7898
|
-
/**
|
7899
|
-
* Call the IntegrationGithubSyncConnect mutation and return a IntegrationPayload
|
7900
|
-
*
|
7901
|
-
* @param installationId - required installationId to pass to integrationGithubSyncConnect
|
7902
|
-
* @returns parsed response from IntegrationGithubSyncConnectMutation
|
7903
|
-
*/
|
7904
|
-
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
7905
|
-
}
|
7906
8268
|
/**
|
7907
8269
|
* A fetchable IntegrationGitlabConnect Mutation
|
7908
8270
|
*
|
@@ -7990,10 +8352,10 @@ export declare class IntegrationJiraPersonalMutation extends Request {
|
|
7990
8352
|
/**
|
7991
8353
|
* Call the IntegrationJiraPersonal mutation and return a IntegrationPayload
|
7992
8354
|
*
|
7993
|
-
* @param
|
8355
|
+
* @param variables - variables to pass into the IntegrationJiraPersonalMutation
|
7994
8356
|
* @returns parsed response from IntegrationJiraPersonalMutation
|
7995
8357
|
*/
|
7996
|
-
fetch(
|
8358
|
+
fetch(variables?: L.IntegrationJiraPersonalMutationVariables): LinearFetch<IntegrationPayload>;
|
7997
8359
|
}
|
7998
8360
|
/**
|
7999
8361
|
* A fetchable IntegrationLoom Mutation
|
@@ -8098,13 +8460,13 @@ export declare class IntegrationSlackImportEmojisMutation extends Request {
|
|
8098
8460
|
export declare class IntegrationSlackOrgProjectUpdatesPostMutation extends Request {
|
8099
8461
|
constructor(request: LinearRequest);
|
8100
8462
|
/**
|
8101
|
-
* Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a
|
8463
|
+
* Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a SlackChannelConnectPayload
|
8102
8464
|
*
|
8103
8465
|
* @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
|
8104
8466
|
* @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
|
8105
8467
|
* @returns parsed response from IntegrationSlackOrgProjectUpdatesPostMutation
|
8106
8468
|
*/
|
8107
|
-
fetch(code: string, redirectUri: string): LinearFetch<
|
8469
|
+
fetch(code: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
|
8108
8470
|
}
|
8109
8471
|
/**
|
8110
8472
|
* A fetchable IntegrationSlackPersonal Mutation
|
@@ -8130,7 +8492,7 @@ export declare class IntegrationSlackPersonalMutation extends Request {
|
|
8130
8492
|
export declare class IntegrationSlackPostMutation extends Request {
|
8131
8493
|
constructor(request: LinearRequest);
|
8132
8494
|
/**
|
8133
|
-
* Call the IntegrationSlackPost mutation and return a
|
8495
|
+
* Call the IntegrationSlackPost mutation and return a SlackChannelConnectPayload
|
8134
8496
|
*
|
8135
8497
|
* @param code - required code to pass to integrationSlackPost
|
8136
8498
|
* @param redirectUri - required redirectUri to pass to integrationSlackPost
|
@@ -8138,7 +8500,7 @@ export declare class IntegrationSlackPostMutation extends Request {
|
|
8138
8500
|
* @param variables - variables without 'code', 'redirectUri', 'teamId' to pass into the IntegrationSlackPostMutation
|
8139
8501
|
* @returns parsed response from IntegrationSlackPostMutation
|
8140
8502
|
*/
|
8141
|
-
fetch(code: string, redirectUri: string, teamId: string, variables?: Omit<L.IntegrationSlackPostMutationVariables, "code" | "redirectUri" | "teamId">): LinearFetch<
|
8503
|
+
fetch(code: string, redirectUri: string, teamId: string, variables?: Omit<L.IntegrationSlackPostMutationVariables, "code" | "redirectUri" | "teamId">): LinearFetch<SlackChannelConnectPayload>;
|
8142
8504
|
}
|
8143
8505
|
/**
|
8144
8506
|
* A fetchable IntegrationSlackProjectPost Mutation
|
@@ -8148,7 +8510,7 @@ export declare class IntegrationSlackPostMutation extends Request {
|
|
8148
8510
|
export declare class IntegrationSlackProjectPostMutation extends Request {
|
8149
8511
|
constructor(request: LinearRequest);
|
8150
8512
|
/**
|
8151
|
-
* Call the IntegrationSlackProjectPost mutation and return a
|
8513
|
+
* Call the IntegrationSlackProjectPost mutation and return a SlackChannelConnectPayload
|
8152
8514
|
*
|
8153
8515
|
* @param code - required code to pass to integrationSlackProjectPost
|
8154
8516
|
* @param projectId - required projectId to pass to integrationSlackProjectPost
|
@@ -8156,7 +8518,7 @@ export declare class IntegrationSlackProjectPostMutation extends Request {
|
|
8156
8518
|
* @param service - required service to pass to integrationSlackProjectPost
|
8157
8519
|
* @returns parsed response from IntegrationSlackProjectPostMutation
|
8158
8520
|
*/
|
8159
|
-
fetch(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<
|
8521
|
+
fetch(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<SlackChannelConnectPayload>;
|
8160
8522
|
}
|
8161
8523
|
/**
|
8162
8524
|
* A fetchable CreateIntegrationTemplate Mutation
|
@@ -8447,7 +8809,7 @@ export declare class IssueImportProcessMutation extends Request {
|
|
8447
8809
|
* @param mapping - required mapping to pass to issueImportProcess
|
8448
8810
|
* @returns parsed response from IssueImportProcessMutation
|
8449
8811
|
*/
|
8450
|
-
fetch(issueImportId: string, mapping:
|
8812
|
+
fetch(issueImportId: string, mapping: L.Scalars["JSONObject"]): LinearFetch<IssueImportPayload>;
|
8451
8813
|
}
|
8452
8814
|
/**
|
8453
8815
|
* A fetchable UpdateIssueImport Mutation
|
@@ -9070,9 +9432,10 @@ export declare class CreateProjectMutation extends Request {
|
|
9070
9432
|
* Call the CreateProject mutation and return a ProjectPayload
|
9071
9433
|
*
|
9072
9434
|
* @param input - required input to pass to createProject
|
9435
|
+
* @param variables - variables without 'input' to pass into the CreateProjectMutation
|
9073
9436
|
* @returns parsed response from CreateProjectMutation
|
9074
9437
|
*/
|
9075
|
-
fetch(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
|
9438
|
+
fetch(input: L.ProjectCreateInput, variables?: Omit<L.CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
|
9076
9439
|
}
|
9077
9440
|
/**
|
9078
9441
|
* A fetchable DeleteProject Mutation
|
@@ -9622,6 +9985,21 @@ export declare class UpdateTeamMembershipMutation extends Request {
|
|
9622
9985
|
*/
|
9623
9986
|
fetch(id: string, input: L.TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
|
9624
9987
|
}
|
9988
|
+
/**
|
9989
|
+
* A fetchable UnarchiveTeam Mutation
|
9990
|
+
*
|
9991
|
+
* @param request - function to call the graphql client
|
9992
|
+
*/
|
9993
|
+
export declare class UnarchiveTeamMutation extends Request {
|
9994
|
+
constructor(request: LinearRequest);
|
9995
|
+
/**
|
9996
|
+
* Call the UnarchiveTeam mutation and return a TeamArchivePayload
|
9997
|
+
*
|
9998
|
+
* @param id - required id to pass to unarchiveTeam
|
9999
|
+
* @returns parsed response from UnarchiveTeamMutation
|
10000
|
+
*/
|
10001
|
+
fetch(id: string): LinearFetch<TeamArchivePayload>;
|
10002
|
+
}
|
9625
10003
|
/**
|
9626
10004
|
* A fetchable UpdateTeam Mutation
|
9627
10005
|
*
|
@@ -9761,36 +10139,6 @@ export declare class UpdateUserFlagMutation extends Request {
|
|
9761
10139
|
*/
|
9762
10140
|
fetch(flag: L.UserFlagType, operation: L.UserFlagUpdateOperation): LinearFetch<UserSettingsFlagPayload>;
|
9763
10141
|
}
|
9764
|
-
/**
|
9765
|
-
* A fetchable UserGitHubConnect Mutation
|
9766
|
-
*
|
9767
|
-
* @param request - function to call the graphql client
|
9768
|
-
*/
|
9769
|
-
export declare class UserGitHubConnectMutation extends Request {
|
9770
|
-
constructor(request: LinearRequest);
|
9771
|
-
/**
|
9772
|
-
* Call the UserGitHubConnect mutation and return a UserPayload
|
9773
|
-
*
|
9774
|
-
* @param code - required code to pass to userGitHubConnect
|
9775
|
-
* @returns parsed response from UserGitHubConnectMutation
|
9776
|
-
*/
|
9777
|
-
fetch(code: string): LinearFetch<UserPayload>;
|
9778
|
-
}
|
9779
|
-
/**
|
9780
|
-
* A fetchable UserJiraConnect Mutation
|
9781
|
-
*
|
9782
|
-
* @param request - function to call the graphql client
|
9783
|
-
*/
|
9784
|
-
export declare class UserJiraConnectMutation extends Request {
|
9785
|
-
constructor(request: LinearRequest);
|
9786
|
-
/**
|
9787
|
-
* Call the UserJiraConnect mutation and return a UserPayload
|
9788
|
-
*
|
9789
|
-
* @param code - required code to pass to userJiraConnect
|
9790
|
-
* @returns parsed response from UserJiraConnectMutation
|
9791
|
-
*/
|
9792
|
-
fetch(code: string): LinearFetch<UserPayload>;
|
9793
|
-
}
|
9794
10142
|
/**
|
9795
10143
|
* A fetchable UserPromoteAdmin Mutation
|
9796
10144
|
*
|
@@ -10070,6 +10418,22 @@ export declare class AttachmentIssue_AttachmentsQuery extends Request {
|
|
10070
10418
|
*/
|
10071
10419
|
fetch(variables?: Omit<L.AttachmentIssue_AttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
|
10072
10420
|
}
|
10421
|
+
/**
|
10422
|
+
* A fetchable AttachmentIssue_BotActor Query
|
10423
|
+
*
|
10424
|
+
* @param request - function to call the graphql client
|
10425
|
+
* @param id - required id to pass to attachmentIssue
|
10426
|
+
*/
|
10427
|
+
export declare class AttachmentIssue_BotActorQuery extends Request {
|
10428
|
+
private _id;
|
10429
|
+
constructor(request: LinearRequest, id: string);
|
10430
|
+
/**
|
10431
|
+
* Call the AttachmentIssue_BotActor query and return a ActorBot
|
10432
|
+
*
|
10433
|
+
* @returns parsed response from AttachmentIssue_BotActorQuery
|
10434
|
+
*/
|
10435
|
+
fetch(): LinearFetch<ActorBot | undefined>;
|
10436
|
+
}
|
10073
10437
|
/**
|
10074
10438
|
* A fetchable AttachmentIssue_Children Query
|
10075
10439
|
*
|
@@ -10330,6 +10694,22 @@ export declare class Issue_AttachmentsQuery extends Request {
|
|
10330
10694
|
*/
|
10331
10695
|
fetch(variables?: Omit<L.Issue_AttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
|
10332
10696
|
}
|
10697
|
+
/**
|
10698
|
+
* A fetchable Issue_BotActor Query
|
10699
|
+
*
|
10700
|
+
* @param request - function to call the graphql client
|
10701
|
+
* @param id - required id to pass to issue
|
10702
|
+
*/
|
10703
|
+
export declare class Issue_BotActorQuery extends Request {
|
10704
|
+
private _id;
|
10705
|
+
constructor(request: LinearRequest, id: string);
|
10706
|
+
/**
|
10707
|
+
* Call the Issue_BotActor query and return a ActorBot
|
10708
|
+
*
|
10709
|
+
* @returns parsed response from Issue_BotActorQuery
|
10710
|
+
*/
|
10711
|
+
fetch(): LinearFetch<ActorBot | undefined>;
|
10712
|
+
}
|
10333
10713
|
/**
|
10334
10714
|
* A fetchable Issue_Children Query
|
10335
10715
|
*
|
@@ -10520,6 +10900,22 @@ export declare class IssueVcsBranchSearch_AttachmentsQuery extends Request {
|
|
10520
10900
|
*/
|
10521
10901
|
fetch(variables?: Omit<L.IssueVcsBranchSearch_AttachmentsQueryVariables, "branchName">): LinearFetch<AttachmentConnection | undefined>;
|
10522
10902
|
}
|
10903
|
+
/**
|
10904
|
+
* A fetchable IssueVcsBranchSearch_BotActor Query
|
10905
|
+
*
|
10906
|
+
* @param request - function to call the graphql client
|
10907
|
+
* @param branchName - required branchName to pass to issueVcsBranchSearch
|
10908
|
+
*/
|
10909
|
+
export declare class IssueVcsBranchSearch_BotActorQuery extends Request {
|
10910
|
+
private _branchName;
|
10911
|
+
constructor(request: LinearRequest, branchName: string);
|
10912
|
+
/**
|
10913
|
+
* Call the IssueVcsBranchSearch_BotActor query and return a ActorBot
|
10914
|
+
*
|
10915
|
+
* @returns parsed response from IssueVcsBranchSearch_BotActorQuery
|
10916
|
+
*/
|
10917
|
+
fetch(): LinearFetch<ActorBot | undefined>;
|
10918
|
+
}
|
10523
10919
|
/**
|
10524
10920
|
* A fetchable IssueVcsBranchSearch_Children Query
|
10525
10921
|
*
|
@@ -10961,6 +11357,25 @@ export declare class SearchProjects_ArchivePayloadQuery extends Request {
|
|
10961
11357
|
*/
|
10962
11358
|
fetch(variables?: Omit<L.SearchProjects_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
|
10963
11359
|
}
|
11360
|
+
/**
|
11361
|
+
* A fetchable Team_AutomationStates Query
|
11362
|
+
*
|
11363
|
+
* @param request - function to call the graphql client
|
11364
|
+
* @param id - required id to pass to team
|
11365
|
+
* @param variables - variables without 'id' to pass into the Team_AutomationStatesQuery
|
11366
|
+
*/
|
11367
|
+
export declare class Team_AutomationStatesQuery extends Request {
|
11368
|
+
private _id;
|
11369
|
+
private _variables?;
|
11370
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.Team_AutomationStatesQueryVariables, "id">);
|
11371
|
+
/**
|
11372
|
+
* Call the Team_AutomationStates query and return a GitAutomationStateConnection
|
11373
|
+
*
|
11374
|
+
* @param variables - variables without 'id' to pass into the Team_AutomationStatesQuery
|
11375
|
+
* @returns parsed response from Team_AutomationStatesQuery
|
11376
|
+
*/
|
11377
|
+
fetch(variables?: Omit<L.Team_AutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
|
11378
|
+
}
|
10964
11379
|
/**
|
10965
11380
|
* A fetchable Team_Cycles Query
|
10966
11381
|
*
|
@@ -11749,9 +12164,10 @@ export declare class LinearSdk extends Request {
|
|
11749
12164
|
/**
|
11750
12165
|
* Sends a test push message.
|
11751
12166
|
*
|
12167
|
+
* @param variables - variables to pass into the PushSubscriptionTestQuery
|
11752
12168
|
* @returns PushSubscriptionTestPayload
|
11753
12169
|
*/
|
11754
|
-
|
12170
|
+
pushSubscriptionTest(variables?: L.PushSubscriptionTestQueryVariables): LinearFetch<PushSubscriptionTestPayload>;
|
11755
12171
|
/**
|
11756
12172
|
* The status of the rate limiter.
|
11757
12173
|
*
|
@@ -11983,17 +12399,23 @@ export declare class LinearSdk extends Request {
|
|
11983
12399
|
*/
|
11984
12400
|
attachmentLinkFront(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
|
11985
12401
|
/**
|
11986
|
-
* Link
|
12402
|
+
* Link a GitHub issue to a Linear issue.
|
12403
|
+
*
|
12404
|
+
* @param issueId - required issueId to pass to attachmentLinkGitHubIssue
|
12405
|
+
* @param url - required url to pass to attachmentLinkGitHubIssue
|
12406
|
+
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubIssueMutation
|
12407
|
+
* @returns AttachmentPayload
|
12408
|
+
*/
|
12409
|
+
attachmentLinkGitHubIssue(issueId: string, url: string, variables?: Omit<L.AttachmentLinkGitHubIssueMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
|
12410
|
+
/**
|
12411
|
+
* Link a GitHub pull request to an issue.
|
11987
12412
|
*
|
11988
12413
|
* @param issueId - required issueId to pass to attachmentLinkGitHubPR
|
11989
|
-
* @param number - required number to pass to attachmentLinkGitHubPR
|
11990
|
-
* @param owner - required owner to pass to attachmentLinkGitHubPR
|
11991
|
-
* @param repo - required repo to pass to attachmentLinkGitHubPR
|
11992
12414
|
* @param url - required url to pass to attachmentLinkGitHubPR
|
11993
|
-
* @param variables - variables without 'issueId', '
|
12415
|
+
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubPrMutation
|
11994
12416
|
* @returns AttachmentPayload
|
11995
12417
|
*/
|
11996
|
-
attachmentLinkGitHubPR(issueId: string,
|
12418
|
+
attachmentLinkGitHubPR(issueId: string, url: string, variables?: Omit<L.AttachmentLinkGitHubPrMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
|
11997
12419
|
/**
|
11998
12420
|
* Link an existing GitLab MR to an issue.
|
11999
12421
|
*
|
@@ -12169,6 +12591,13 @@ export declare class LinearSdk extends Request {
|
|
12169
12591
|
* @returns CyclePayload
|
12170
12592
|
*/
|
12171
12593
|
createCycle(input: L.CycleCreateInput): LinearFetch<CyclePayload>;
|
12594
|
+
/**
|
12595
|
+
* Shifts all cycles starts by a certain number of weeks.
|
12596
|
+
*
|
12597
|
+
* @param input - required input to pass to cycleShiftAll
|
12598
|
+
* @returns CyclePayload
|
12599
|
+
*/
|
12600
|
+
cycleShiftAll(input: L.CycleShiftAllInput): LinearFetch<CyclePayload>;
|
12172
12601
|
/**
|
12173
12602
|
* Updates a cycle.
|
12174
12603
|
*
|
@@ -12266,6 +12695,28 @@ export declare class LinearSdk extends Request {
|
|
12266
12695
|
* @returns UploadPayload
|
12267
12696
|
*/
|
12268
12697
|
fileUpload(contentType: string, filename: string, size: number, variables?: Omit<L.FileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
12698
|
+
/**
|
12699
|
+
* Creates a new automation state.
|
12700
|
+
*
|
12701
|
+
* @param input - required input to pass to createGitAutomationState
|
12702
|
+
* @returns GitAutomationStatePayload
|
12703
|
+
*/
|
12704
|
+
createGitAutomationState(input: L.GitAutomationStateCreateInput): LinearFetch<GitAutomationStatePayload>;
|
12705
|
+
/**
|
12706
|
+
* Archives an automation state.
|
12707
|
+
*
|
12708
|
+
* @param id - required id to pass to deleteGitAutomationState
|
12709
|
+
* @returns DeletePayload
|
12710
|
+
*/
|
12711
|
+
deleteGitAutomationState(id: string): LinearFetch<DeletePayload>;
|
12712
|
+
/**
|
12713
|
+
* Updates an existing state.
|
12714
|
+
*
|
12715
|
+
* @param id - required id to pass to updateGitAutomationState
|
12716
|
+
* @param input - required input to pass to updateGitAutomationState
|
12717
|
+
* @returns GitAutomationStatePayload
|
12718
|
+
*/
|
12719
|
+
updateGitAutomationState(id: string, input: L.GitAutomationStateUpdateInput): LinearFetch<GitAutomationStatePayload>;
|
12269
12720
|
/**
|
12270
12721
|
* Authenticate user account through Google OAuth. This is the 2nd step of OAuth flow.
|
12271
12722
|
*
|
@@ -12349,13 +12800,6 @@ export declare class LinearSdk extends Request {
|
|
12349
12800
|
* @returns IntegrationPayload
|
12350
12801
|
*/
|
12351
12802
|
integrationGithubConnect(installationId: string): LinearFetch<IntegrationPayload>;
|
12352
|
-
/**
|
12353
|
-
* Connects the organization with the GitHub Sync App.
|
12354
|
-
*
|
12355
|
-
* @param installationId - required installationId to pass to integrationGithubSyncConnect
|
12356
|
-
* @returns IntegrationPayload
|
12357
|
-
*/
|
12358
|
-
integrationGithubSyncConnect(installationId: string): LinearFetch<IntegrationPayload>;
|
12359
12803
|
/**
|
12360
12804
|
* Connects the organization with a GitLab Access Token.
|
12361
12805
|
*
|
@@ -12396,10 +12840,10 @@ export declare class LinearSdk extends Request {
|
|
12396
12840
|
/**
|
12397
12841
|
* Connect your Jira account to Linear.
|
12398
12842
|
*
|
12399
|
-
* @param
|
12843
|
+
* @param variables - variables to pass into the IntegrationJiraPersonalMutation
|
12400
12844
|
* @returns IntegrationPayload
|
12401
12845
|
*/
|
12402
|
-
integrationJiraPersonal(
|
12846
|
+
integrationJiraPersonal(variables?: L.IntegrationJiraPersonalMutationVariables): LinearFetch<IntegrationPayload>;
|
12403
12847
|
/**
|
12404
12848
|
* Enables Loom integration for the organization.
|
12405
12849
|
*
|
@@ -12452,9 +12896,9 @@ export declare class LinearSdk extends Request {
|
|
12452
12896
|
*
|
12453
12897
|
* @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
|
12454
12898
|
* @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
|
12455
|
-
* @returns
|
12899
|
+
* @returns SlackChannelConnectPayload
|
12456
12900
|
*/
|
12457
|
-
integrationSlackOrgProjectUpdatesPost(code: string, redirectUri: string): LinearFetch<
|
12901
|
+
integrationSlackOrgProjectUpdatesPost(code: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
|
12458
12902
|
/**
|
12459
12903
|
* Integrates your personal notifications with Slack.
|
12460
12904
|
*
|
@@ -12470,9 +12914,9 @@ export declare class LinearSdk extends Request {
|
|
12470
12914
|
* @param redirectUri - required redirectUri to pass to integrationSlackPost
|
12471
12915
|
* @param teamId - required teamId to pass to integrationSlackPost
|
12472
12916
|
* @param variables - variables without 'code', 'redirectUri', 'teamId' to pass into the IntegrationSlackPostMutation
|
12473
|
-
* @returns
|
12917
|
+
* @returns SlackChannelConnectPayload
|
12474
12918
|
*/
|
12475
|
-
integrationSlackPost(code: string, redirectUri: string, teamId: string, variables?: Omit<L.IntegrationSlackPostMutationVariables, "code" | "redirectUri" | "teamId">): LinearFetch<
|
12919
|
+
integrationSlackPost(code: string, redirectUri: string, teamId: string, variables?: Omit<L.IntegrationSlackPostMutationVariables, "code" | "redirectUri" | "teamId">): LinearFetch<SlackChannelConnectPayload>;
|
12476
12920
|
/**
|
12477
12921
|
* Slack integration for project notifications.
|
12478
12922
|
*
|
@@ -12480,9 +12924,9 @@ export declare class LinearSdk extends Request {
|
|
12480
12924
|
* @param projectId - required projectId to pass to integrationSlackProjectPost
|
12481
12925
|
* @param redirectUri - required redirectUri to pass to integrationSlackProjectPost
|
12482
12926
|
* @param service - required service to pass to integrationSlackProjectPost
|
12483
|
-
* @returns
|
12927
|
+
* @returns SlackChannelConnectPayload
|
12484
12928
|
*/
|
12485
|
-
integrationSlackProjectPost(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<
|
12929
|
+
integrationSlackProjectPost(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<SlackChannelConnectPayload>;
|
12486
12930
|
/**
|
12487
12931
|
* Creates a new integrationTemplate join.
|
12488
12932
|
*
|
@@ -12629,7 +13073,7 @@ export declare class LinearSdk extends Request {
|
|
12629
13073
|
* @param mapping - required mapping to pass to issueImportProcess
|
12630
13074
|
* @returns IssueImportPayload
|
12631
13075
|
*/
|
12632
|
-
issueImportProcess(issueImportId: string, mapping:
|
13076
|
+
issueImportProcess(issueImportId: string, mapping: L.Scalars["JSONObject"]): LinearFetch<IssueImportPayload>;
|
12633
13077
|
/**
|
12634
13078
|
* Updates the mapping for the issue import.
|
12635
13079
|
*
|
@@ -12924,9 +13368,10 @@ export declare class LinearSdk extends Request {
|
|
12924
13368
|
* Creates a new project.
|
12925
13369
|
*
|
12926
13370
|
* @param input - required input to pass to createProject
|
13371
|
+
* @param variables - variables without 'input' to pass into the CreateProjectMutation
|
12927
13372
|
* @returns ProjectPayload
|
12928
13373
|
*/
|
12929
|
-
createProject(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
|
13374
|
+
createProject(input: L.ProjectCreateInput, variables?: Omit<L.CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
|
12930
13375
|
/**
|
12931
13376
|
* Deletes (trashes) a project.
|
12932
13377
|
*
|
@@ -13187,6 +13632,13 @@ export declare class LinearSdk extends Request {
|
|
13187
13632
|
* @returns TeamMembershipPayload
|
13188
13633
|
*/
|
13189
13634
|
updateTeamMembership(id: string, input: L.TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
|
13635
|
+
/**
|
13636
|
+
* Unarchives a team and cancels deletion.
|
13637
|
+
*
|
13638
|
+
* @param id - required id to pass to unarchiveTeam
|
13639
|
+
* @returns TeamArchivePayload
|
13640
|
+
*/
|
13641
|
+
unarchiveTeam(id: string): LinearFetch<TeamArchivePayload>;
|
13190
13642
|
/**
|
13191
13643
|
* Updates a team.
|
13192
13644
|
*
|
@@ -13254,20 +13706,6 @@ export declare class LinearSdk extends Request {
|
|
13254
13706
|
* @returns UserSettingsFlagPayload
|
13255
13707
|
*/
|
13256
13708
|
updateUserFlag(flag: L.UserFlagType, operation: L.UserFlagUpdateOperation): LinearFetch<UserSettingsFlagPayload>;
|
13257
|
-
/**
|
13258
|
-
* [DEPRECATED] Connects the GitHub user to this Linear account via OAuth2.
|
13259
|
-
*
|
13260
|
-
* @param code - required code to pass to userGitHubConnect
|
13261
|
-
* @returns UserPayload
|
13262
|
-
*/
|
13263
|
-
userGitHubConnect(code: string): LinearFetch<UserPayload>;
|
13264
|
-
/**
|
13265
|
-
* [DEPRECATED] Connects the Jira user to this Linear account via OAuth2.
|
13266
|
-
*
|
13267
|
-
* @param code - required code to pass to userJiraConnect
|
13268
|
-
* @returns UserPayload
|
13269
|
-
*/
|
13270
|
-
userJiraConnect(code: string): LinearFetch<UserPayload>;
|
13271
13709
|
/**
|
13272
13710
|
* Makes user an admin. Can only be called by an admin.
|
13273
13711
|
*
|