@linear/sdk 12.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 +832 -205
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +610 -191
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +2201 -695
- 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 +2176 -689
- 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 +2202 -696
- 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
|
*
|
@@ -418,14 +421,90 @@ export declare class AuthIntegration extends Request {
|
|
418
421
|
*/
|
419
422
|
export declare class AuthOauthClient extends Request {
|
420
423
|
constructor(request: LinearRequest, data: L.AuthOauthClientFragment);
|
424
|
+
archivedAt?: Date;
|
421
425
|
/** OAuth application's client ID. */
|
422
426
|
clientId: string;
|
423
427
|
/** OAuth application's client secret. */
|
424
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;
|
425
437
|
/** The unique identifier of the entity. */
|
426
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;
|
427
447
|
/** List of allowed redirect URIs for the application. */
|
428
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;
|
429
508
|
}
|
430
509
|
/**
|
431
510
|
* An organization. Organizations are root-level objects that contain users and teams.
|
@@ -439,6 +518,7 @@ export declare class AuthOrganization extends Request {
|
|
439
518
|
allowedAuthServices: string[];
|
440
519
|
/** The time at which deletion of the organization was requested. */
|
441
520
|
deletionRequestedAt?: Date;
|
521
|
+
/** The unique identifier of the entity. */
|
442
522
|
id: string;
|
443
523
|
/** The organization's logo URL. */
|
444
524
|
logoUrl?: string;
|
@@ -448,10 +528,23 @@ export declare class AuthOrganization extends Request {
|
|
448
528
|
previousUrlKeys: string[];
|
449
529
|
/** Whether SAML authentication is enabled for organization. */
|
450
530
|
samlEnabled: boolean;
|
531
|
+
/** Whether SCIM provisioning is enabled for organization. */
|
532
|
+
scimEnabled: boolean;
|
451
533
|
/** The organization's unique URL key. */
|
452
534
|
urlKey: string;
|
453
535
|
userCount: number;
|
454
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
|
+
}
|
455
548
|
/**
|
456
549
|
* AuthResolverResponse model
|
457
550
|
*
|
@@ -477,6 +570,17 @@ export declare class AuthResolverResponse extends Request {
|
|
477
570
|
/** Users belonging to this account. */
|
478
571
|
users: AuthUser[];
|
479
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
|
+
}
|
480
584
|
/**
|
481
585
|
* A user that has access to the the resources of an organization.
|
482
586
|
*
|
@@ -485,6 +589,8 @@ export declare class AuthResolverResponse extends Request {
|
|
485
589
|
*/
|
486
590
|
export declare class AuthUser extends Request {
|
487
591
|
constructor(request: LinearRequest, data: L.AuthUserFragment);
|
592
|
+
/** Whether the user is active. */
|
593
|
+
active: boolean;
|
488
594
|
/** An URL to the user's avatar image. */
|
489
595
|
avatarUrl?: string;
|
490
596
|
/** The user's display (nick) name. Unique within each organization. */
|
@@ -536,7 +642,7 @@ export declare class AuthenticationSession extends Request {
|
|
536
642
|
userAgent?: string;
|
537
643
|
}
|
538
644
|
/**
|
539
|
-
*
|
645
|
+
* Authentication session information
|
540
646
|
*
|
541
647
|
* @param request - function to call the graphql client
|
542
648
|
* @param data - L.AuthenticationSessionResponseFragment response data
|
@@ -575,6 +681,25 @@ export declare class AuthenticationSessionResponse extends Request {
|
|
575
681
|
/** Session's user-agent. */
|
576
682
|
userAgent?: string;
|
577
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
|
+
}
|
578
703
|
/**
|
579
704
|
* A comment associated with an issue.
|
580
705
|
*
|
@@ -582,8 +707,9 @@ export declare class AuthenticationSessionResponse extends Request {
|
|
582
707
|
* @param data - L.CommentFragment response data
|
583
708
|
*/
|
584
709
|
export declare class Comment extends Request {
|
585
|
-
private _issue
|
710
|
+
private _issue?;
|
586
711
|
private _parent?;
|
712
|
+
private _projectUpdate?;
|
587
713
|
private _resolvingComment?;
|
588
714
|
private _resolvingUser?;
|
589
715
|
private _user?;
|
@@ -599,7 +725,7 @@ export declare class Comment extends Request {
|
|
599
725
|
/** The unique identifier of the entity. */
|
600
726
|
id: string;
|
601
727
|
/** Emoji reaction summary, grouped by emoji type */
|
602
|
-
reactionData:
|
728
|
+
reactionData: L.Scalars["JSONObject"];
|
603
729
|
/** The time the resolvingUser resolved the thread. */
|
604
730
|
resolvedAt?: Date;
|
605
731
|
/**
|
@@ -618,6 +744,8 @@ export declare class Comment extends Request {
|
|
618
744
|
get issue(): LinearFetch<Issue> | undefined;
|
619
745
|
/** The parent comment under which the current comment is nested. */
|
620
746
|
get parent(): LinearFetch<Comment> | undefined;
|
747
|
+
/** The project update that the comment is associated with. */
|
748
|
+
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
|
621
749
|
/** The comment that resolved the thread. */
|
622
750
|
get resolvingComment(): LinearFetch<Comment> | undefined;
|
623
751
|
/** The user that resolved the thread. */
|
@@ -671,7 +799,7 @@ export declare class Company extends Request {
|
|
671
799
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
672
800
|
archivedAt?: Date;
|
673
801
|
/** Custom company properties. */
|
674
|
-
companyProperties:
|
802
|
+
companyProperties: L.Scalars["JSONObject"];
|
675
803
|
/** The time at which the entity was created. */
|
676
804
|
createdAt: Date;
|
677
805
|
/** Company ID in an external system. */
|
@@ -758,9 +886,9 @@ export declare class CustomView extends Request {
|
|
758
886
|
/** The description of the custom view. */
|
759
887
|
description?: string;
|
760
888
|
/** The filter applied to issues in the custom view. */
|
761
|
-
filterData:
|
889
|
+
filterData: L.Scalars["JSONObject"];
|
762
890
|
/** The filters applied to issues in the custom view. */
|
763
|
-
filters:
|
891
|
+
filters: L.Scalars["JSONObject"];
|
764
892
|
/** The icon of the custom view. */
|
765
893
|
icon?: string;
|
766
894
|
/** The unique identifier of the entity. */
|
@@ -1081,6 +1209,8 @@ export declare class Document extends Request {
|
|
1081
1209
|
id: string;
|
1082
1210
|
/** The document's unique URL slug. */
|
1083
1211
|
slugId: string;
|
1212
|
+
/** The order of the item in the project resources list. */
|
1213
|
+
sortOrder: number;
|
1084
1214
|
/** The document title. */
|
1085
1215
|
title: string;
|
1086
1216
|
/**
|
@@ -1265,9 +1395,11 @@ export declare class DocumentSearchResult extends Request {
|
|
1265
1395
|
/** The unique identifier of the entity. */
|
1266
1396
|
id: string;
|
1267
1397
|
/** Metadata related to search result */
|
1268
|
-
metadata:
|
1398
|
+
metadata: L.Scalars["JSONObject"];
|
1269
1399
|
/** The document's unique URL slug. */
|
1270
1400
|
slugId: string;
|
1401
|
+
/** The order of the item in the project resources list. */
|
1402
|
+
sortOrder: number;
|
1271
1403
|
/** The document title. */
|
1272
1404
|
title: string;
|
1273
1405
|
/**
|
@@ -1295,6 +1427,37 @@ export declare class DocumentSearchResult extends Request {
|
|
1295
1427
|
export declare class DocumentSearchResultConnection extends Connection<DocumentSearchResult> {
|
1296
1428
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentSearchResult> | undefined>, data: L.DocumentSearchResultConnectionFragment);
|
1297
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
|
+
}
|
1298
1461
|
/**
|
1299
1462
|
* EmailUnsubscribePayload model
|
1300
1463
|
*
|
@@ -1533,6 +1696,66 @@ export declare class FrontSettings extends Request {
|
|
1533
1696
|
/** Whether an internal message should be added when a Linear issue changes status (for status types except completed or canceled). */
|
1534
1697
|
sendNoteOnStatusChange?: boolean;
|
1535
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
|
+
}
|
1536
1759
|
/**
|
1537
1760
|
* GitHubCommitIntegrationPayload model
|
1538
1761
|
*
|
@@ -1552,45 +1775,45 @@ export declare class GitHubCommitIntegrationPayload extends Request {
|
|
1552
1775
|
get integration(): LinearFetch<Integration> | undefined;
|
1553
1776
|
}
|
1554
1777
|
/**
|
1555
|
-
* Metadata and settings for a GitHub integration.
|
1778
|
+
* Metadata and settings for a GitHub Personal integration.
|
1556
1779
|
*
|
1557
1780
|
* @param request - function to call the graphql client
|
1558
|
-
* @param data - L.
|
1781
|
+
* @param data - L.GitHubPersonalSettingsFragment response data
|
1559
1782
|
*/
|
1560
|
-
export declare class
|
1561
|
-
constructor(request: LinearRequest, data: L.
|
1562
|
-
/** The
|
1563
|
-
|
1564
|
-
/** The GitHub organization's name */
|
1565
|
-
orgLogin: string;
|
1566
|
-
/** The names of the repositories connected for the GitHub integration */
|
1567
|
-
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;
|
1568
1787
|
}
|
1569
1788
|
/**
|
1570
1789
|
* GitHub repos available to sync.
|
1571
1790
|
*
|
1572
1791
|
* @param request - function to call the graphql client
|
1573
|
-
* @param data - L.
|
1792
|
+
* @param data - L.GitHubRepoFragment response data
|
1574
1793
|
*/
|
1575
|
-
export declare class
|
1576
|
-
constructor(request: LinearRequest, data: L.
|
1794
|
+
export declare class GitHubRepo extends Request {
|
1795
|
+
constructor(request: LinearRequest, data: L.GitHubRepoFragment);
|
1577
1796
|
/** The full name of the repository. */
|
1578
1797
|
fullName: string;
|
1579
1798
|
/** The GitHub repo id. */
|
1580
1799
|
id: number;
|
1581
1800
|
}
|
1582
1801
|
/**
|
1583
|
-
* Metadata and settings for a GitHub
|
1802
|
+
* Metadata and settings for a GitHub integration.
|
1584
1803
|
*
|
1585
1804
|
* @param request - function to call the graphql client
|
1586
|
-
* @param data - L.
|
1805
|
+
* @param data - L.GitHubSettingsFragment response data
|
1587
1806
|
*/
|
1588
|
-
export declare class
|
1589
|
-
constructor(request: LinearRequest, data: L.
|
1590
|
-
/**
|
1591
|
-
|
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;
|
1592
1813
|
/** The names of the repositories connected for the GitHub integration */
|
1593
|
-
|
1814
|
+
repositories?: GitHubRepo[];
|
1815
|
+
/** Mapping of team to repository for syncing */
|
1816
|
+
repositoriesMapping?: TeamRepoMapping[];
|
1594
1817
|
}
|
1595
1818
|
/**
|
1596
1819
|
* Metadata and settings for a GitLab integration.
|
@@ -1760,7 +1983,7 @@ export declare class IntegrationSettings extends Request {
|
|
1760
1983
|
constructor(request: LinearRequest, data: L.IntegrationSettingsFragment);
|
1761
1984
|
front?: FrontSettings;
|
1762
1985
|
gitHub?: GitHubSettings;
|
1763
|
-
|
1986
|
+
gitHubPersonal?: GitHubPersonalSettings;
|
1764
1987
|
gitLab?: GitLabSettings;
|
1765
1988
|
googleSheets?: GoogleSheetsSettings;
|
1766
1989
|
intercom?: IntercomSettings;
|
@@ -1977,6 +2200,8 @@ export declare class Issue extends Request {
|
|
1977
2200
|
id: string;
|
1978
2201
|
/** Issue's human readable identifier (e.g. ENG-123). */
|
1979
2202
|
identifier: string;
|
2203
|
+
/** Id of the labels associated with this issue. */
|
2204
|
+
labelIds: string[];
|
1980
2205
|
/** The issue's unique number. */
|
1981
2206
|
number: number;
|
1982
2207
|
/** Previous identifiers of the issue if it has been moved between teams. */
|
@@ -2009,6 +2234,8 @@ export declare class Issue extends Request {
|
|
2009
2234
|
updatedAt: Date;
|
2010
2235
|
/** Issue URL. */
|
2011
2236
|
url: string;
|
2237
|
+
/** The bot that created the issue, if applicable. */
|
2238
|
+
botActor?: ActorBot;
|
2012
2239
|
/** The user to whom the issue is assigned to. */
|
2013
2240
|
get assignee(): LinearFetch<User> | undefined;
|
2014
2241
|
/** The user who created the issue. */
|
@@ -2106,7 +2333,7 @@ export declare class IssueConnection extends Connection<Issue> {
|
|
2106
2333
|
export declare class IssueFilterSuggestionPayload extends Request {
|
2107
2334
|
constructor(request: LinearRequest, data: L.IssueFilterSuggestionPayloadFragment);
|
2108
2335
|
/** The json filter that is suggested. */
|
2109
|
-
filter?:
|
2336
|
+
filter?: L.Scalars["JSONObject"];
|
2110
2337
|
}
|
2111
2338
|
/**
|
2112
2339
|
* A record of changes to an issue.
|
@@ -2274,11 +2501,11 @@ export declare class IssueImport extends Request {
|
|
2274
2501
|
/** User readable error message, if one has occurred during the import. */
|
2275
2502
|
error?: string;
|
2276
2503
|
/** Error code and metadata, if one has occurred during the import */
|
2277
|
-
errorMetadata?:
|
2504
|
+
errorMetadata?: L.Scalars["JSONObject"];
|
2278
2505
|
/** The unique identifier of the entity. */
|
2279
2506
|
id: string;
|
2280
2507
|
/** The data mapping configuration for the import job. */
|
2281
|
-
mapping?:
|
2508
|
+
mapping?: L.Scalars["JSONObject"];
|
2282
2509
|
/** Current step progress in % (0-100). */
|
2283
2510
|
progress?: number;
|
2284
2511
|
/** The service from which data will be imported. */
|
@@ -2633,8 +2860,10 @@ export declare class IssueSearchResult extends Request {
|
|
2633
2860
|
id: string;
|
2634
2861
|
/** Issue's human readable identifier (e.g. ENG-123). */
|
2635
2862
|
identifier: string;
|
2863
|
+
/** Id of the labels associated with this issue. */
|
2864
|
+
labelIds: string[];
|
2636
2865
|
/** Metadata related to search result */
|
2637
|
-
metadata:
|
2866
|
+
metadata: L.Scalars["JSONObject"];
|
2638
2867
|
/** The issue's unique number. */
|
2639
2868
|
number: number;
|
2640
2869
|
/** Previous identifiers of the issue if it has been moved between teams. */
|
@@ -2667,6 +2896,8 @@ export declare class IssueSearchResult extends Request {
|
|
2667
2896
|
updatedAt: Date;
|
2668
2897
|
/** Issue URL. */
|
2669
2898
|
url: string;
|
2899
|
+
/** The bot that created the issue, if applicable. */
|
2900
|
+
botActor?: ActorBot;
|
2670
2901
|
/** The user to whom the issue is assigned to. */
|
2671
2902
|
get assignee(): LinearFetch<User> | undefined;
|
2672
2903
|
/** The user who created the issue. */
|
@@ -2708,6 +2939,8 @@ export declare class JiraLinearMapping extends Request {
|
|
2708
2939
|
constructor(request: LinearRequest, data: L.JiraLinearMappingFragment);
|
2709
2940
|
/** Whether the sync for this mapping is bidirectional. */
|
2710
2941
|
bidirectional?: boolean;
|
2942
|
+
/** Whether this mapping is the default one for issue creation. */
|
2943
|
+
default?: boolean;
|
2711
2944
|
/** The Jira id for this project. */
|
2712
2945
|
jiraProjectId: string;
|
2713
2946
|
/** The Linear team id to map to the given project. */
|
@@ -2747,6 +2980,8 @@ export declare class JiraProjectData extends Request {
|
|
2747
2980
|
*/
|
2748
2981
|
export declare class JiraSettings extends Request {
|
2749
2982
|
constructor(request: LinearRequest, data: L.JiraSettingsFragment);
|
2983
|
+
/** Whether this integration is for Jira Server or not. */
|
2984
|
+
isJiraServer?: boolean;
|
2750
2985
|
/** The mapping of Jira project id => Linear team id. */
|
2751
2986
|
projectMapping?: JiraLinearMapping[];
|
2752
2987
|
/** The Jira projects for the organization. */
|
@@ -3142,6 +3377,17 @@ export declare class OauthClientApprovalNotification extends Request {
|
|
3142
3377
|
export declare class OauthClientConnection extends Connection<OauthClient> {
|
3143
3378
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<OauthClient> | undefined>, data: L.OauthClientConnectionFragment);
|
3144
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
|
+
}
|
3145
3391
|
/**
|
3146
3392
|
* An organization. Organizations are root-level objects that contain user accounts and teams.
|
3147
3393
|
*
|
@@ -3162,6 +3408,8 @@ export declare class Organization extends Request {
|
|
3162
3408
|
createdIssueCount: number;
|
3163
3409
|
/** The time at which deletion of the organization was requested. */
|
3164
3410
|
deletionRequestedAt?: Date;
|
3411
|
+
/** The month at which the fiscal year starts. Defaults to January (0). */
|
3412
|
+
fiscalYearStartMonth: number;
|
3165
3413
|
/** How git branches are formatted. If null, default formatting will be used. */
|
3166
3414
|
gitBranchFormat?: string;
|
3167
3415
|
/** Whether the Git integration linkback messages should be sent to private repositories. */
|
@@ -3309,7 +3557,7 @@ export declare class OrganizationInvite extends Request {
|
|
3309
3557
|
/** The unique identifier of the entity. */
|
3310
3558
|
id: string;
|
3311
3559
|
/** Extra metadata associated with the organization invite. */
|
3312
|
-
metadata:
|
3560
|
+
metadata: L.Scalars["JSONObject"];
|
3313
3561
|
/**
|
3314
3562
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3315
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
|
@@ -3499,7 +3747,7 @@ export declare class PaidSubscription extends Request {
|
|
3499
3747
|
*/
|
3500
3748
|
export declare class Project extends Request {
|
3501
3749
|
private _convertedFromIssue?;
|
3502
|
-
private _creator
|
3750
|
+
private _creator?;
|
3503
3751
|
private _integrationsSettings?;
|
3504
3752
|
private _lastAppliedTemplate?;
|
3505
3753
|
private _lead?;
|
@@ -3597,7 +3845,7 @@ export declare class Project extends Request {
|
|
3597
3845
|
/** Archives a project. */
|
3598
3846
|
archive(variables?: Omit<L.ArchiveProjectMutationVariables, "id">): LinearFetch<ProjectArchivePayload>;
|
3599
3847
|
/** Creates a new project. */
|
3600
|
-
create(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
|
3848
|
+
create(input: L.ProjectCreateInput, variables?: Omit<L.CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
|
3601
3849
|
/** Deletes (trashes) a project. */
|
3602
3850
|
delete(): LinearFetch<ProjectArchivePayload>;
|
3603
3851
|
/** Unarchives a project. */
|
@@ -3640,7 +3888,7 @@ export declare class ProjectConnection extends Connection<Project> {
|
|
3640
3888
|
export declare class ProjectFilterSuggestionPayload extends Request {
|
3641
3889
|
constructor(request: LinearRequest, data: L.ProjectFilterSuggestionPayloadFragment);
|
3642
3890
|
/** The json filter that is suggested. */
|
3643
|
-
filter?:
|
3891
|
+
filter?: L.Scalars["JSONObject"];
|
3644
3892
|
}
|
3645
3893
|
/**
|
3646
3894
|
* An external link for a project.
|
@@ -3660,6 +3908,8 @@ export declare class ProjectLink extends Request {
|
|
3660
3908
|
id: string;
|
3661
3909
|
/** The link's label. */
|
3662
3910
|
label: string;
|
3911
|
+
/** The order of the item in the project resources list. */
|
3912
|
+
sortOrder: number;
|
3663
3913
|
/**
|
3664
3914
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
3665
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
|
@@ -3899,7 +4149,7 @@ export declare class ProjectSearchPayload extends Request {
|
|
3899
4149
|
*/
|
3900
4150
|
export declare class ProjectSearchResult extends Request {
|
3901
4151
|
private _convertedFromIssue?;
|
3902
|
-
private _creator
|
4152
|
+
private _creator?;
|
3903
4153
|
private _integrationsSettings?;
|
3904
4154
|
private _lastAppliedTemplate?;
|
3905
4155
|
private _lead?;
|
@@ -3933,7 +4183,7 @@ export declare class ProjectSearchResult extends Request {
|
|
3933
4183
|
/** The total number of issues in the project after each week. */
|
3934
4184
|
issueCountHistory: number[];
|
3935
4185
|
/** Metadata related to search result */
|
3936
|
-
metadata:
|
4186
|
+
metadata: L.Scalars["JSONObject"];
|
3937
4187
|
/** The project's name. */
|
3938
4188
|
name: string;
|
3939
4189
|
/** The overall progress of the project. This is the (completed estimate points + 0.25 * in progress estimate points) / total estimate points. */
|
@@ -4255,6 +4505,9 @@ export declare class RateLimitResultPayload extends Request {
|
|
4255
4505
|
* @param data - L.ReactionFragment response data
|
4256
4506
|
*/
|
4257
4507
|
export declare class Reaction extends Request {
|
4508
|
+
private _comment?;
|
4509
|
+
private _issue?;
|
4510
|
+
private _projectUpdate?;
|
4258
4511
|
private _user?;
|
4259
4512
|
constructor(request: LinearRequest, data: L.ReactionFragment);
|
4260
4513
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
@@ -4271,7 +4524,13 @@ export declare class Reaction extends Request {
|
|
4271
4524
|
* been updated after creation.
|
4272
4525
|
*/
|
4273
4526
|
updatedAt: Date;
|
4274
|
-
/** 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. */
|
4275
4534
|
get user(): LinearFetch<User> | undefined;
|
4276
4535
|
/** Creates a new reaction. */
|
4277
4536
|
create(input: L.ReactionCreateInput): LinearFetch<ReactionPayload>;
|
@@ -4526,6 +4785,28 @@ export declare class SlackAsksTeamSettings extends Request {
|
|
4526
4785
|
/** The Linear team ID. */
|
4527
4786
|
id: string;
|
4528
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
|
+
}
|
4529
4810
|
/**
|
4530
4811
|
* Object for mapping Slack channel IDs to names and other settings
|
4531
4812
|
*
|
@@ -4540,6 +4821,8 @@ export declare class SlackChannelNameMapping extends Request {
|
|
4540
4821
|
autoCreateOnEmoji?: boolean;
|
4541
4822
|
/** Whether or not top-level messages in this channel should automatically create Asks */
|
4542
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;
|
4543
4826
|
/** Whether or not we the Linear Asks bot has been added to this Slack channel */
|
4544
4827
|
botAdded?: boolean;
|
4545
4828
|
/** The Slack channel ID. */
|
@@ -4589,28 +4872,6 @@ export declare class SsoUrlFromEmailResponse extends Request {
|
|
4589
4872
|
/** Whether the operation was successful. */
|
4590
4873
|
success: boolean;
|
4591
4874
|
}
|
4592
|
-
/**
|
4593
|
-
* 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.
|
4594
|
-
*
|
4595
|
-
* @param request - function to call the graphql client
|
4596
|
-
* @param data - L.SyncResponseFragment response data
|
4597
|
-
*/
|
4598
|
-
export declare class SyncResponse extends Request {
|
4599
|
-
constructor(request: LinearRequest, data: L.SyncResponseFragment);
|
4600
|
-
/** The version of the remote database. Incremented by 1 for each migration run on the database. */
|
4601
|
-
databaseVersion: number;
|
4602
|
-
/** JSON serialized delta changes that the client can apply to its local state in order to catch up with the state of the world. */
|
4603
|
-
delta?: string;
|
4604
|
-
/** The last sync id covered by the response. */
|
4605
|
-
lastSyncId: number;
|
4606
|
-
/**
|
4607
|
-
* The full state of the organization as a serialized JSON object.
|
4608
|
-
* Mutually exclusive with the delta property
|
4609
|
-
*/
|
4610
|
-
state?: string;
|
4611
|
-
/** The sync groups that the user is subscribed to. */
|
4612
|
-
subscribedSyncGroups: string[];
|
4613
|
-
}
|
4614
4875
|
/**
|
4615
4876
|
* SynchronizedPayload model
|
4616
4877
|
*
|
@@ -4697,7 +4958,7 @@ export declare class Team extends Request {
|
|
4697
4958
|
issueEstimationType: string;
|
4698
4959
|
/** Whether issues without priority should be sorted first. */
|
4699
4960
|
issueOrderingNoPriorityFirst: boolean;
|
4700
|
-
/** 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. */
|
4701
4962
|
issueSortOrderDefaultToBottom: boolean;
|
4702
4963
|
/** The team's unique key. The key is used in URLs. */
|
4703
4964
|
key: string;
|
@@ -4707,6 +4968,8 @@ export declare class Team extends Request {
|
|
4707
4968
|
private: boolean;
|
4708
4969
|
/** Whether an issue needs to have a priority set before leaving triage */
|
4709
4970
|
requirePriorityToLeaveTriage: boolean;
|
4971
|
+
/** Where to move issues when changing state. */
|
4972
|
+
setIssueSortOrderOnStateChange: string;
|
4710
4973
|
/** Whether to send new issue comment notifications to Slack. */
|
4711
4974
|
slackIssueComments: boolean;
|
4712
4975
|
/** Whether to send new issue status updates to Slack. */
|
@@ -4753,6 +5016,8 @@ export declare class Team extends Request {
|
|
4753
5016
|
get startWorkflowState(): LinearFetch<WorkflowState> | undefined;
|
4754
5017
|
/** The workflow state into which issues are set when they are opened by non-team members or integrations if triage is enabled. */
|
4755
5018
|
get triageIssueState(): LinearFetch<WorkflowState> | undefined;
|
5019
|
+
/** The automation states for the team. */
|
5020
|
+
automationStates(variables?: Omit<L.Team_AutomationStatesQueryVariables, "id">): LinearFetch<GitAutomationStateConnection>;
|
4756
5021
|
/** Cycles associated with the team. */
|
4757
5022
|
cycles(variables?: Omit<L.Team_CyclesQueryVariables, "id">): LinearFetch<CycleConnection>;
|
4758
5023
|
/** Issues associated with the team. */
|
@@ -4775,9 +5040,27 @@ export declare class Team extends Request {
|
|
4775
5040
|
create(input: L.TeamCreateInput, variables?: Omit<L.CreateTeamMutationVariables, "input">): LinearFetch<TeamPayload>;
|
4776
5041
|
/** Deletes a team. */
|
4777
5042
|
delete(): LinearFetch<DeletePayload>;
|
5043
|
+
/** Unarchives a team and cancels deletion. */
|
5044
|
+
unarchive(): LinearFetch<TeamArchivePayload>;
|
4778
5045
|
/** Updates a team. */
|
4779
5046
|
update(input: L.TeamUpdateInput): LinearFetch<TeamPayload>;
|
4780
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
|
+
}
|
4781
5064
|
/**
|
4782
5065
|
* TeamConnection model
|
4783
5066
|
*
|
@@ -4976,12 +5259,11 @@ export declare class Template extends Request {
|
|
4976
5259
|
* TemplateConnection model
|
4977
5260
|
*
|
4978
5261
|
* @param request - function to call the graphql client
|
4979
|
-
* @param
|
5262
|
+
* @param fetch - function to trigger a refetch of this TemplateConnection model
|
5263
|
+
* @param data - TemplateConnection response data
|
4980
5264
|
*/
|
4981
|
-
export declare class TemplateConnection extends
|
4982
|
-
constructor(request: LinearRequest, data: L.TemplateConnectionFragment);
|
4983
|
-
pageInfo: PageInfo;
|
4984
|
-
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);
|
4985
5267
|
}
|
4986
5268
|
/**
|
4987
5269
|
* TemplatePayload model
|
@@ -5016,9 +5298,9 @@ export declare class TriageResponsibility extends Request {
|
|
5016
5298
|
/** The unique identifier of the entity. */
|
5017
5299
|
id: string;
|
5018
5300
|
/** Set of users used for triage responsibility. */
|
5019
|
-
manualSelection?:
|
5301
|
+
manualSelection?: L.Scalars["JSONObject"];
|
5020
5302
|
/** Schedule used for triage responsibility. */
|
5021
|
-
schedule?:
|
5303
|
+
schedule?: L.Scalars["JSONObject"];
|
5022
5304
|
/**
|
5023
5305
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
5024
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
|
@@ -5054,7 +5336,7 @@ export declare class UploadFile extends Request {
|
|
5054
5336
|
contentType: string;
|
5055
5337
|
/** The filename. */
|
5056
5338
|
filename: string;
|
5057
|
-
metaData?:
|
5339
|
+
metaData?: L.Scalars["JSONObject"];
|
5058
5340
|
/** The size of the uploaded file. */
|
5059
5341
|
size: number;
|
5060
5342
|
/** The signed URL the for the uploaded file. (assigned automatically) */
|
@@ -5319,7 +5601,7 @@ export declare class UserSettings extends Request {
|
|
5319
5601
|
/** The unique identifier of the entity. */
|
5320
5602
|
id: string;
|
5321
5603
|
/** The notification channel settings the user has selected. */
|
5322
|
-
notificationPreferences:
|
5604
|
+
notificationPreferences: L.Scalars["JSONObject"];
|
5323
5605
|
/** Whether to show full user names instead of display names. */
|
5324
5606
|
showFullUserNames: boolean;
|
5325
5607
|
/** The email types the user has unsubscribed from. */
|
@@ -5508,7 +5790,7 @@ export declare class WorkflowCronJobDefinition extends Request {
|
|
5508
5790
|
private _team;
|
5509
5791
|
constructor(request: LinearRequest, data: L.WorkflowCronJobDefinitionFragment);
|
5510
5792
|
/** An array of activities that will be executed as part of the workflow cron job. */
|
5511
|
-
activities:
|
5793
|
+
activities: L.Scalars["JSONObject"];
|
5512
5794
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5513
5795
|
archivedAt?: Date;
|
5514
5796
|
/** The time at which the entity was created. */
|
@@ -5521,7 +5803,7 @@ export declare class WorkflowCronJobDefinition extends Request {
|
|
5521
5803
|
/** The name of the workflow cron job. */
|
5522
5804
|
name: string;
|
5523
5805
|
/** Cron schedule which is used to execute the workflow cron job. */
|
5524
|
-
schedule:
|
5806
|
+
schedule: L.Scalars["JSONObject"];
|
5525
5807
|
/** The sort order of the workflow cron job definition within its siblings. */
|
5526
5808
|
sortOrder: string;
|
5527
5809
|
/**
|
@@ -5561,11 +5843,11 @@ export declare class WorkflowDefinition extends Request {
|
|
5561
5843
|
private _user?;
|
5562
5844
|
constructor(request: LinearRequest, data: L.WorkflowDefinitionFragment);
|
5563
5845
|
/** An array of activities that will be executed as part of the workflow. */
|
5564
|
-
activities:
|
5846
|
+
activities: L.Scalars["JSONObject"];
|
5565
5847
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
5566
5848
|
archivedAt?: Date;
|
5567
5849
|
/** The conditions that need to be match for the workflow to be triggered. */
|
5568
|
-
conditions:
|
5850
|
+
conditions: L.Scalars["JSONObject"];
|
5569
5851
|
/** The time at which the entity was created. */
|
5570
5852
|
createdAt: Date;
|
5571
5853
|
/** The description of the workflow. */
|
@@ -6674,9 +6956,10 @@ export declare class PushSubscriptionTestQuery extends Request {
|
|
6674
6956
|
/**
|
6675
6957
|
* Call the PushSubscriptionTest query and return a PushSubscriptionTestPayload
|
6676
6958
|
*
|
6959
|
+
* @param variables - variables to pass into the PushSubscriptionTestQuery
|
6677
6960
|
* @returns parsed response from PushSubscriptionTestQuery
|
6678
6961
|
*/
|
6679
|
-
fetch(): LinearFetch<PushSubscriptionTestPayload>;
|
6962
|
+
fetch(variables?: L.PushSubscriptionTestQueryVariables): LinearFetch<PushSubscriptionTestPayload>;
|
6680
6963
|
}
|
6681
6964
|
/**
|
6682
6965
|
* A fetchable RateLimitStatus Query
|
@@ -7164,6 +7447,23 @@ export declare class AttachmentLinkFrontMutation extends Request {
|
|
7164
7447
|
*/
|
7165
7448
|
fetch(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
|
7166
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
|
+
}
|
7167
7467
|
/**
|
7168
7468
|
* A fetchable AttachmentLinkGitHubPr Mutation
|
7169
7469
|
*
|
@@ -7175,14 +7475,11 @@ export declare class AttachmentLinkGitHubPrMutation extends Request {
|
|
7175
7475
|
* Call the AttachmentLinkGitHubPr mutation and return a AttachmentPayload
|
7176
7476
|
*
|
7177
7477
|
* @param issueId - required issueId to pass to attachmentLinkGitHubPR
|
7178
|
-
* @param number - required number to pass to attachmentLinkGitHubPR
|
7179
|
-
* @param owner - required owner to pass to attachmentLinkGitHubPR
|
7180
|
-
* @param repo - required repo to pass to attachmentLinkGitHubPR
|
7181
7478
|
* @param url - required url to pass to attachmentLinkGitHubPR
|
7182
|
-
* @param variables - variables without 'issueId', '
|
7479
|
+
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubPrMutation
|
7183
7480
|
* @returns parsed response from AttachmentLinkGitHubPrMutation
|
7184
7481
|
*/
|
7185
|
-
fetch(issueId: string,
|
7482
|
+
fetch(issueId: string, url: string, variables?: Omit<L.AttachmentLinkGitHubPrMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
|
7186
7483
|
}
|
7187
7484
|
/**
|
7188
7485
|
* A fetchable AttachmentLinkGitLabMr Mutation
|
@@ -7535,6 +7832,21 @@ export declare class CreateCycleMutation extends Request {
|
|
7535
7832
|
*/
|
7536
7833
|
fetch(input: L.CycleCreateInput): LinearFetch<CyclePayload>;
|
7537
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
|
+
}
|
7538
7850
|
/**
|
7539
7851
|
* A fetchable UpdateCycle Mutation
|
7540
7852
|
*
|
@@ -7736,6 +8048,52 @@ export declare class FileUploadMutation extends Request {
|
|
7736
8048
|
*/
|
7737
8049
|
fetch(contentType: string, filename: string, size: number, variables?: Omit<L.FileUploadMutationVariables, "contentType" | "filename" | "size">): LinearFetch<UploadPayload>;
|
7738
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
|
+
}
|
7739
8097
|
/**
|
7740
8098
|
* A fetchable GoogleUserAccountAuth Mutation
|
7741
8099
|
*
|
@@ -7907,21 +8265,6 @@ export declare class IntegrationGithubConnectMutation extends Request {
|
|
7907
8265
|
*/
|
7908
8266
|
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
7909
8267
|
}
|
7910
|
-
/**
|
7911
|
-
* A fetchable IntegrationGithubSyncConnect Mutation
|
7912
|
-
*
|
7913
|
-
* @param request - function to call the graphql client
|
7914
|
-
*/
|
7915
|
-
export declare class IntegrationGithubSyncConnectMutation extends Request {
|
7916
|
-
constructor(request: LinearRequest);
|
7917
|
-
/**
|
7918
|
-
* Call the IntegrationGithubSyncConnect mutation and return a IntegrationPayload
|
7919
|
-
*
|
7920
|
-
* @param installationId - required installationId to pass to integrationGithubSyncConnect
|
7921
|
-
* @returns parsed response from IntegrationGithubSyncConnectMutation
|
7922
|
-
*/
|
7923
|
-
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
7924
|
-
}
|
7925
8268
|
/**
|
7926
8269
|
* A fetchable IntegrationGitlabConnect Mutation
|
7927
8270
|
*
|
@@ -8009,10 +8352,10 @@ export declare class IntegrationJiraPersonalMutation extends Request {
|
|
8009
8352
|
/**
|
8010
8353
|
* Call the IntegrationJiraPersonal mutation and return a IntegrationPayload
|
8011
8354
|
*
|
8012
|
-
* @param
|
8355
|
+
* @param variables - variables to pass into the IntegrationJiraPersonalMutation
|
8013
8356
|
* @returns parsed response from IntegrationJiraPersonalMutation
|
8014
8357
|
*/
|
8015
|
-
fetch(
|
8358
|
+
fetch(variables?: L.IntegrationJiraPersonalMutationVariables): LinearFetch<IntegrationPayload>;
|
8016
8359
|
}
|
8017
8360
|
/**
|
8018
8361
|
* A fetchable IntegrationLoom Mutation
|
@@ -8117,13 +8460,13 @@ export declare class IntegrationSlackImportEmojisMutation extends Request {
|
|
8117
8460
|
export declare class IntegrationSlackOrgProjectUpdatesPostMutation extends Request {
|
8118
8461
|
constructor(request: LinearRequest);
|
8119
8462
|
/**
|
8120
|
-
* Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a
|
8463
|
+
* Call the IntegrationSlackOrgProjectUpdatesPost mutation and return a SlackChannelConnectPayload
|
8121
8464
|
*
|
8122
8465
|
* @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
|
8123
8466
|
* @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
|
8124
8467
|
* @returns parsed response from IntegrationSlackOrgProjectUpdatesPostMutation
|
8125
8468
|
*/
|
8126
|
-
fetch(code: string, redirectUri: string): LinearFetch<
|
8469
|
+
fetch(code: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
|
8127
8470
|
}
|
8128
8471
|
/**
|
8129
8472
|
* A fetchable IntegrationSlackPersonal Mutation
|
@@ -8149,7 +8492,7 @@ export declare class IntegrationSlackPersonalMutation extends Request {
|
|
8149
8492
|
export declare class IntegrationSlackPostMutation extends Request {
|
8150
8493
|
constructor(request: LinearRequest);
|
8151
8494
|
/**
|
8152
|
-
* Call the IntegrationSlackPost mutation and return a
|
8495
|
+
* Call the IntegrationSlackPost mutation and return a SlackChannelConnectPayload
|
8153
8496
|
*
|
8154
8497
|
* @param code - required code to pass to integrationSlackPost
|
8155
8498
|
* @param redirectUri - required redirectUri to pass to integrationSlackPost
|
@@ -8157,7 +8500,7 @@ export declare class IntegrationSlackPostMutation extends Request {
|
|
8157
8500
|
* @param variables - variables without 'code', 'redirectUri', 'teamId' to pass into the IntegrationSlackPostMutation
|
8158
8501
|
* @returns parsed response from IntegrationSlackPostMutation
|
8159
8502
|
*/
|
8160
|
-
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>;
|
8161
8504
|
}
|
8162
8505
|
/**
|
8163
8506
|
* A fetchable IntegrationSlackProjectPost Mutation
|
@@ -8167,7 +8510,7 @@ export declare class IntegrationSlackPostMutation extends Request {
|
|
8167
8510
|
export declare class IntegrationSlackProjectPostMutation extends Request {
|
8168
8511
|
constructor(request: LinearRequest);
|
8169
8512
|
/**
|
8170
|
-
* Call the IntegrationSlackProjectPost mutation and return a
|
8513
|
+
* Call the IntegrationSlackProjectPost mutation and return a SlackChannelConnectPayload
|
8171
8514
|
*
|
8172
8515
|
* @param code - required code to pass to integrationSlackProjectPost
|
8173
8516
|
* @param projectId - required projectId to pass to integrationSlackProjectPost
|
@@ -8175,7 +8518,7 @@ export declare class IntegrationSlackProjectPostMutation extends Request {
|
|
8175
8518
|
* @param service - required service to pass to integrationSlackProjectPost
|
8176
8519
|
* @returns parsed response from IntegrationSlackProjectPostMutation
|
8177
8520
|
*/
|
8178
|
-
fetch(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<
|
8521
|
+
fetch(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<SlackChannelConnectPayload>;
|
8179
8522
|
}
|
8180
8523
|
/**
|
8181
8524
|
* A fetchable CreateIntegrationTemplate Mutation
|
@@ -8466,7 +8809,7 @@ export declare class IssueImportProcessMutation extends Request {
|
|
8466
8809
|
* @param mapping - required mapping to pass to issueImportProcess
|
8467
8810
|
* @returns parsed response from IssueImportProcessMutation
|
8468
8811
|
*/
|
8469
|
-
fetch(issueImportId: string, mapping:
|
8812
|
+
fetch(issueImportId: string, mapping: L.Scalars["JSONObject"]): LinearFetch<IssueImportPayload>;
|
8470
8813
|
}
|
8471
8814
|
/**
|
8472
8815
|
* A fetchable UpdateIssueImport Mutation
|
@@ -9089,9 +9432,10 @@ export declare class CreateProjectMutation extends Request {
|
|
9089
9432
|
* Call the CreateProject mutation and return a ProjectPayload
|
9090
9433
|
*
|
9091
9434
|
* @param input - required input to pass to createProject
|
9435
|
+
* @param variables - variables without 'input' to pass into the CreateProjectMutation
|
9092
9436
|
* @returns parsed response from CreateProjectMutation
|
9093
9437
|
*/
|
9094
|
-
fetch(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
|
9438
|
+
fetch(input: L.ProjectCreateInput, variables?: Omit<L.CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
|
9095
9439
|
}
|
9096
9440
|
/**
|
9097
9441
|
* A fetchable DeleteProject Mutation
|
@@ -9641,6 +9985,21 @@ export declare class UpdateTeamMembershipMutation extends Request {
|
|
9641
9985
|
*/
|
9642
9986
|
fetch(id: string, input: L.TeamMembershipUpdateInput): LinearFetch<TeamMembershipPayload>;
|
9643
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
|
+
}
|
9644
10003
|
/**
|
9645
10004
|
* A fetchable UpdateTeam Mutation
|
9646
10005
|
*
|
@@ -9780,36 +10139,6 @@ export declare class UpdateUserFlagMutation extends Request {
|
|
9780
10139
|
*/
|
9781
10140
|
fetch(flag: L.UserFlagType, operation: L.UserFlagUpdateOperation): LinearFetch<UserSettingsFlagPayload>;
|
9782
10141
|
}
|
9783
|
-
/**
|
9784
|
-
* A fetchable UserGitHubConnect Mutation
|
9785
|
-
*
|
9786
|
-
* @param request - function to call the graphql client
|
9787
|
-
*/
|
9788
|
-
export declare class UserGitHubConnectMutation extends Request {
|
9789
|
-
constructor(request: LinearRequest);
|
9790
|
-
/**
|
9791
|
-
* Call the UserGitHubConnect mutation and return a UserPayload
|
9792
|
-
*
|
9793
|
-
* @param code - required code to pass to userGitHubConnect
|
9794
|
-
* @returns parsed response from UserGitHubConnectMutation
|
9795
|
-
*/
|
9796
|
-
fetch(code: string): LinearFetch<UserPayload>;
|
9797
|
-
}
|
9798
|
-
/**
|
9799
|
-
* A fetchable UserJiraConnect Mutation
|
9800
|
-
*
|
9801
|
-
* @param request - function to call the graphql client
|
9802
|
-
*/
|
9803
|
-
export declare class UserJiraConnectMutation extends Request {
|
9804
|
-
constructor(request: LinearRequest);
|
9805
|
-
/**
|
9806
|
-
* Call the UserJiraConnect mutation and return a UserPayload
|
9807
|
-
*
|
9808
|
-
* @param code - required code to pass to userJiraConnect
|
9809
|
-
* @returns parsed response from UserJiraConnectMutation
|
9810
|
-
*/
|
9811
|
-
fetch(code: string): LinearFetch<UserPayload>;
|
9812
|
-
}
|
9813
10142
|
/**
|
9814
10143
|
* A fetchable UserPromoteAdmin Mutation
|
9815
10144
|
*
|
@@ -10089,6 +10418,22 @@ export declare class AttachmentIssue_AttachmentsQuery extends Request {
|
|
10089
10418
|
*/
|
10090
10419
|
fetch(variables?: Omit<L.AttachmentIssue_AttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
|
10091
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
|
+
}
|
10092
10437
|
/**
|
10093
10438
|
* A fetchable AttachmentIssue_Children Query
|
10094
10439
|
*
|
@@ -10349,6 +10694,22 @@ export declare class Issue_AttachmentsQuery extends Request {
|
|
10349
10694
|
*/
|
10350
10695
|
fetch(variables?: Omit<L.Issue_AttachmentsQueryVariables, "id">): LinearFetch<AttachmentConnection>;
|
10351
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
|
+
}
|
10352
10713
|
/**
|
10353
10714
|
* A fetchable Issue_Children Query
|
10354
10715
|
*
|
@@ -10539,6 +10900,22 @@ export declare class IssueVcsBranchSearch_AttachmentsQuery extends Request {
|
|
10539
10900
|
*/
|
10540
10901
|
fetch(variables?: Omit<L.IssueVcsBranchSearch_AttachmentsQueryVariables, "branchName">): LinearFetch<AttachmentConnection | undefined>;
|
10541
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
|
+
}
|
10542
10919
|
/**
|
10543
10920
|
* A fetchable IssueVcsBranchSearch_Children Query
|
10544
10921
|
*
|
@@ -10980,6 +11357,25 @@ export declare class SearchProjects_ArchivePayloadQuery extends Request {
|
|
10980
11357
|
*/
|
10981
11358
|
fetch(variables?: Omit<L.SearchProjects_ArchivePayloadQueryVariables, "term">): LinearFetch<ArchiveResponse>;
|
10982
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
|
+
}
|
10983
11379
|
/**
|
10984
11380
|
* A fetchable Team_Cycles Query
|
10985
11381
|
*
|
@@ -11768,9 +12164,10 @@ export declare class LinearSdk extends Request {
|
|
11768
12164
|
/**
|
11769
12165
|
* Sends a test push message.
|
11770
12166
|
*
|
12167
|
+
* @param variables - variables to pass into the PushSubscriptionTestQuery
|
11771
12168
|
* @returns PushSubscriptionTestPayload
|
11772
12169
|
*/
|
11773
|
-
|
12170
|
+
pushSubscriptionTest(variables?: L.PushSubscriptionTestQueryVariables): LinearFetch<PushSubscriptionTestPayload>;
|
11774
12171
|
/**
|
11775
12172
|
* The status of the rate limiter.
|
11776
12173
|
*
|
@@ -12002,17 +12399,23 @@ export declare class LinearSdk extends Request {
|
|
12002
12399
|
*/
|
12003
12400
|
attachmentLinkFront(conversationId: string, issueId: string, variables?: Omit<L.AttachmentLinkFrontMutationVariables, "conversationId" | "issueId">): LinearFetch<FrontAttachmentPayload>;
|
12004
12401
|
/**
|
12005
|
-
* 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.
|
12006
12412
|
*
|
12007
12413
|
* @param issueId - required issueId to pass to attachmentLinkGitHubPR
|
12008
|
-
* @param number - required number to pass to attachmentLinkGitHubPR
|
12009
|
-
* @param owner - required owner to pass to attachmentLinkGitHubPR
|
12010
|
-
* @param repo - required repo to pass to attachmentLinkGitHubPR
|
12011
12414
|
* @param url - required url to pass to attachmentLinkGitHubPR
|
12012
|
-
* @param variables - variables without 'issueId', '
|
12415
|
+
* @param variables - variables without 'issueId', 'url' to pass into the AttachmentLinkGitHubPrMutation
|
12013
12416
|
* @returns AttachmentPayload
|
12014
12417
|
*/
|
12015
|
-
attachmentLinkGitHubPR(issueId: string,
|
12418
|
+
attachmentLinkGitHubPR(issueId: string, url: string, variables?: Omit<L.AttachmentLinkGitHubPrMutationVariables, "issueId" | "url">): LinearFetch<AttachmentPayload>;
|
12016
12419
|
/**
|
12017
12420
|
* Link an existing GitLab MR to an issue.
|
12018
12421
|
*
|
@@ -12188,6 +12591,13 @@ export declare class LinearSdk extends Request {
|
|
12188
12591
|
* @returns CyclePayload
|
12189
12592
|
*/
|
12190
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>;
|
12191
12601
|
/**
|
12192
12602
|
* Updates a cycle.
|
12193
12603
|
*
|
@@ -12285,6 +12695,28 @@ export declare class LinearSdk extends Request {
|
|
12285
12695
|
* @returns UploadPayload
|
12286
12696
|
*/
|
12287
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>;
|
12288
12720
|
/**
|
12289
12721
|
* Authenticate user account through Google OAuth. This is the 2nd step of OAuth flow.
|
12290
12722
|
*
|
@@ -12368,13 +12800,6 @@ export declare class LinearSdk extends Request {
|
|
12368
12800
|
* @returns IntegrationPayload
|
12369
12801
|
*/
|
12370
12802
|
integrationGithubConnect(installationId: string): LinearFetch<IntegrationPayload>;
|
12371
|
-
/**
|
12372
|
-
* Connects the organization with the GitHub Sync App.
|
12373
|
-
*
|
12374
|
-
* @param installationId - required installationId to pass to integrationGithubSyncConnect
|
12375
|
-
* @returns IntegrationPayload
|
12376
|
-
*/
|
12377
|
-
integrationGithubSyncConnect(installationId: string): LinearFetch<IntegrationPayload>;
|
12378
12803
|
/**
|
12379
12804
|
* Connects the organization with a GitLab Access Token.
|
12380
12805
|
*
|
@@ -12415,10 +12840,10 @@ export declare class LinearSdk extends Request {
|
|
12415
12840
|
/**
|
12416
12841
|
* Connect your Jira account to Linear.
|
12417
12842
|
*
|
12418
|
-
* @param
|
12843
|
+
* @param variables - variables to pass into the IntegrationJiraPersonalMutation
|
12419
12844
|
* @returns IntegrationPayload
|
12420
12845
|
*/
|
12421
|
-
integrationJiraPersonal(
|
12846
|
+
integrationJiraPersonal(variables?: L.IntegrationJiraPersonalMutationVariables): LinearFetch<IntegrationPayload>;
|
12422
12847
|
/**
|
12423
12848
|
* Enables Loom integration for the organization.
|
12424
12849
|
*
|
@@ -12471,9 +12896,9 @@ export declare class LinearSdk extends Request {
|
|
12471
12896
|
*
|
12472
12897
|
* @param code - required code to pass to integrationSlackOrgProjectUpdatesPost
|
12473
12898
|
* @param redirectUri - required redirectUri to pass to integrationSlackOrgProjectUpdatesPost
|
12474
|
-
* @returns
|
12899
|
+
* @returns SlackChannelConnectPayload
|
12475
12900
|
*/
|
12476
|
-
integrationSlackOrgProjectUpdatesPost(code: string, redirectUri: string): LinearFetch<
|
12901
|
+
integrationSlackOrgProjectUpdatesPost(code: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
|
12477
12902
|
/**
|
12478
12903
|
* Integrates your personal notifications with Slack.
|
12479
12904
|
*
|
@@ -12489,9 +12914,9 @@ export declare class LinearSdk extends Request {
|
|
12489
12914
|
* @param redirectUri - required redirectUri to pass to integrationSlackPost
|
12490
12915
|
* @param teamId - required teamId to pass to integrationSlackPost
|
12491
12916
|
* @param variables - variables without 'code', 'redirectUri', 'teamId' to pass into the IntegrationSlackPostMutation
|
12492
|
-
* @returns
|
12917
|
+
* @returns SlackChannelConnectPayload
|
12493
12918
|
*/
|
12494
|
-
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>;
|
12495
12920
|
/**
|
12496
12921
|
* Slack integration for project notifications.
|
12497
12922
|
*
|
@@ -12499,9 +12924,9 @@ export declare class LinearSdk extends Request {
|
|
12499
12924
|
* @param projectId - required projectId to pass to integrationSlackProjectPost
|
12500
12925
|
* @param redirectUri - required redirectUri to pass to integrationSlackProjectPost
|
12501
12926
|
* @param service - required service to pass to integrationSlackProjectPost
|
12502
|
-
* @returns
|
12927
|
+
* @returns SlackChannelConnectPayload
|
12503
12928
|
*/
|
12504
|
-
integrationSlackProjectPost(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<
|
12929
|
+
integrationSlackProjectPost(code: string, projectId: string, redirectUri: string, service: string): LinearFetch<SlackChannelConnectPayload>;
|
12505
12930
|
/**
|
12506
12931
|
* Creates a new integrationTemplate join.
|
12507
12932
|
*
|
@@ -12648,7 +13073,7 @@ export declare class LinearSdk extends Request {
|
|
12648
13073
|
* @param mapping - required mapping to pass to issueImportProcess
|
12649
13074
|
* @returns IssueImportPayload
|
12650
13075
|
*/
|
12651
|
-
issueImportProcess(issueImportId: string, mapping:
|
13076
|
+
issueImportProcess(issueImportId: string, mapping: L.Scalars["JSONObject"]): LinearFetch<IssueImportPayload>;
|
12652
13077
|
/**
|
12653
13078
|
* Updates the mapping for the issue import.
|
12654
13079
|
*
|
@@ -12943,9 +13368,10 @@ export declare class LinearSdk extends Request {
|
|
12943
13368
|
* Creates a new project.
|
12944
13369
|
*
|
12945
13370
|
* @param input - required input to pass to createProject
|
13371
|
+
* @param variables - variables without 'input' to pass into the CreateProjectMutation
|
12946
13372
|
* @returns ProjectPayload
|
12947
13373
|
*/
|
12948
|
-
createProject(input: L.ProjectCreateInput): LinearFetch<ProjectPayload>;
|
13374
|
+
createProject(input: L.ProjectCreateInput, variables?: Omit<L.CreateProjectMutationVariables, "input">): LinearFetch<ProjectPayload>;
|
12949
13375
|
/**
|
12950
13376
|
* Deletes (trashes) a project.
|
12951
13377
|
*
|
@@ -13206,6 +13632,13 @@ export declare class LinearSdk extends Request {
|
|
13206
13632
|
* @returns TeamMembershipPayload
|
13207
13633
|
*/
|
13208
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>;
|
13209
13642
|
/**
|
13210
13643
|
* Updates a team.
|
13211
13644
|
*
|
@@ -13273,20 +13706,6 @@ export declare class LinearSdk extends Request {
|
|
13273
13706
|
* @returns UserSettingsFlagPayload
|
13274
13707
|
*/
|
13275
13708
|
updateUserFlag(flag: L.UserFlagType, operation: L.UserFlagUpdateOperation): LinearFetch<UserSettingsFlagPayload>;
|
13276
|
-
/**
|
13277
|
-
* [DEPRECATED] Connects the GitHub user to this Linear account via OAuth2.
|
13278
|
-
*
|
13279
|
-
* @param code - required code to pass to userGitHubConnect
|
13280
|
-
* @returns UserPayload
|
13281
|
-
*/
|
13282
|
-
userGitHubConnect(code: string): LinearFetch<UserPayload>;
|
13283
|
-
/**
|
13284
|
-
* [DEPRECATED] Connects the Jira user to this Linear account via OAuth2.
|
13285
|
-
*
|
13286
|
-
* @param code - required code to pass to userJiraConnect
|
13287
|
-
* @returns UserPayload
|
13288
|
-
*/
|
13289
|
-
userJiraConnect(code: string): LinearFetch<UserPayload>;
|
13290
13709
|
/**
|
13291
13710
|
* Makes user an admin. Can only be called by an admin.
|
13292
13711
|
*
|