@linear/sdk 19.2.0 → 19.3.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 +37 -33
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +89 -0
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +207 -92
- 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 +207 -93
- 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 +208 -93
- 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
@@ -551,6 +551,8 @@ export declare class AuthOrganization extends Request {
|
|
551
551
|
/** The organization's unique URL key. */
|
552
552
|
urlKey: string;
|
553
553
|
userCount: number;
|
554
|
+
/** The feature release channel the organization belongs to. */
|
555
|
+
releaseChannel: L.ReleaseChannel;
|
554
556
|
}
|
555
557
|
/**
|
556
558
|
* AuthOrganizationDomain model
|
@@ -566,6 +568,7 @@ export declare class AuthOrganizationDomain extends Request {
|
|
566
568
|
name: string;
|
567
569
|
organizationId: string;
|
568
570
|
verified: boolean;
|
571
|
+
authType: L.OrganizationDomainAuthType;
|
569
572
|
}
|
570
573
|
/**
|
571
574
|
* An invitation to the organization that has been sent via email.
|
@@ -677,6 +680,8 @@ export declare class AuthenticationSession extends Request {
|
|
677
680
|
updatedAt: Date;
|
678
681
|
/** Session's user-agent. */
|
679
682
|
userAgent?: string;
|
683
|
+
/** Type of application used to authenticate. */
|
684
|
+
type: L.AuthenticationSessionType;
|
680
685
|
}
|
681
686
|
/**
|
682
687
|
* Authentication session information.
|
@@ -717,6 +722,8 @@ export declare class AuthenticationSessionResponse extends Request {
|
|
717
722
|
updatedAt: Date;
|
718
723
|
/** Session's user-agent. */
|
719
724
|
userAgent?: string;
|
725
|
+
/** Type of application used to authenticate. */
|
726
|
+
type: L.AuthenticationSessionType;
|
720
727
|
}
|
721
728
|
/**
|
722
729
|
* AuthorizedApplicationBase model
|
@@ -1021,6 +1028,10 @@ export declare class CustomViewNotificationSubscription extends Request {
|
|
1021
1028
|
* been updated after creation.
|
1022
1029
|
*/
|
1023
1030
|
updatedAt: Date;
|
1031
|
+
/** The type of view to which the notification subscription context is associated with. */
|
1032
|
+
contextViewType?: L.ContextViewType;
|
1033
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
1034
|
+
userContextViewType?: L.UserContextViewType;
|
1024
1035
|
/** The custom view subscribed to. */
|
1025
1036
|
get customView(): LinearFetch<CustomView> | undefined;
|
1026
1037
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -1184,6 +1195,10 @@ export declare class CycleNotificationSubscription extends Request {
|
|
1184
1195
|
* been updated after creation.
|
1185
1196
|
*/
|
1186
1197
|
updatedAt: Date;
|
1198
|
+
/** The type of view to which the notification subscription context is associated with. */
|
1199
|
+
contextViewType?: L.ContextViewType;
|
1200
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
1201
|
+
userContextViewType?: L.UserContextViewType;
|
1187
1202
|
/** The contextual custom view associated with the notification subscription. */
|
1188
1203
|
get customView(): LinearFetch<CustomView> | undefined;
|
1189
1204
|
/** The cycle subscribed to. */
|
@@ -1726,6 +1741,8 @@ export declare class Favorite extends Request {
|
|
1726
1741
|
* been updated after creation.
|
1727
1742
|
*/
|
1728
1743
|
updatedAt: Date;
|
1744
|
+
/** The targeted tab of the project. */
|
1745
|
+
projectTab?: L.ProjectTab;
|
1729
1746
|
/** The favorited custom view. */
|
1730
1747
|
get customView(): LinearFetch<CustomView> | undefined;
|
1731
1748
|
/** The favorited cycle. */
|
@@ -1843,6 +1860,8 @@ export declare class GitAutomationState extends Request {
|
|
1843
1860
|
updatedAt: Date;
|
1844
1861
|
/** The target branch associated to this automation state. */
|
1845
1862
|
targetBranch?: GitAutomationTargetBranch;
|
1863
|
+
/** The event that triggers the automation. */
|
1864
|
+
event: L.GitAutomationStates;
|
1846
1865
|
/** The associated workflow state. */
|
1847
1866
|
get state(): LinearFetch<WorkflowState> | undefined;
|
1848
1867
|
/** The team to which this automation state belongs. */
|
@@ -2438,6 +2457,8 @@ export declare class Issue extends Request {
|
|
2438
2457
|
url: string;
|
2439
2458
|
/** The bot that created the issue, if applicable. */
|
2440
2459
|
botActor?: ActorBot;
|
2460
|
+
/** Integration type that created this issue, if applicable. */
|
2461
|
+
integrationSourceType?: L.IntegrationService;
|
2441
2462
|
/** The user to whom the issue is assigned to. */
|
2442
2463
|
get assignee(): LinearFetch<User> | undefined;
|
2443
2464
|
/** The user who created the issue. */
|
@@ -3112,6 +3133,8 @@ export declare class IssueSearchResult extends Request {
|
|
3112
3133
|
url: string;
|
3113
3134
|
/** The bot that created the issue, if applicable. */
|
3114
3135
|
botActor?: ActorBot;
|
3136
|
+
/** Integration type that created this issue, if applicable. */
|
3137
|
+
integrationSourceType?: L.IntegrationService;
|
3115
3138
|
/** The user to whom the issue is assigned to. */
|
3116
3139
|
get assignee(): LinearFetch<User> | undefined;
|
3117
3140
|
/** The user who created the issue. */
|
@@ -3238,6 +3261,10 @@ export declare class LabelNotificationSubscription extends Request {
|
|
3238
3261
|
* been updated after creation.
|
3239
3262
|
*/
|
3240
3263
|
updatedAt: Date;
|
3264
|
+
/** The type of view to which the notification subscription context is associated with. */
|
3265
|
+
contextViewType?: L.ContextViewType;
|
3266
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
3267
|
+
userContextViewType?: L.UserContextViewType;
|
3241
3268
|
/** The contextual custom view associated with the notification subscription. */
|
3242
3269
|
get customView(): LinearFetch<CustomView> | undefined;
|
3243
3270
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -3406,6 +3433,10 @@ export declare class NotificationSubscription extends Request {
|
|
3406
3433
|
* been updated after creation.
|
3407
3434
|
*/
|
3408
3435
|
updatedAt: Date;
|
3436
|
+
/** The type of view to which the notification subscription context is associated with. */
|
3437
|
+
contextViewType?: L.ContextViewType;
|
3438
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
3439
|
+
userContextViewType?: L.UserContextViewType;
|
3409
3440
|
/** The contextual custom view associated with the notification subscription. */
|
3410
3441
|
get customView(): LinearFetch<CustomView> | undefined;
|
3411
3442
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -3545,6 +3576,8 @@ export declare class OauthClientApproval extends Request {
|
|
3545
3576
|
* been updated after creation.
|
3546
3577
|
*/
|
3547
3578
|
updatedAt: Date;
|
3579
|
+
/** The status for the OAuth client approval request. */
|
3580
|
+
status: L.OAuthClientApprovalStatus;
|
3548
3581
|
}
|
3549
3582
|
/**
|
3550
3583
|
* An oauth client approval related notification.
|
@@ -3693,6 +3726,14 @@ export declare class Organization extends Request {
|
|
3693
3726
|
userCount: number;
|
3694
3727
|
/** The organization's subscription to a paid plan. */
|
3695
3728
|
subscription?: PaidSubscription;
|
3729
|
+
/** The day at which to prompt for project updates. */
|
3730
|
+
projectUpdateRemindersDay: L.Day;
|
3731
|
+
/** The frequency at which to prompt for project updates. */
|
3732
|
+
projectUpdatesReminderFrequency: L.ProjectUpdateReminderFrequency;
|
3733
|
+
/** The feature release channel the organization belongs to. */
|
3734
|
+
releaseChannel: L.ReleaseChannel;
|
3735
|
+
/** Which day count to use for SLA calculations. */
|
3736
|
+
slaDayCount: L.SLADayCountType;
|
3696
3737
|
/** Integrations associated with the organization. */
|
3697
3738
|
integrations(variables?: L.Organization_IntegrationsQueryVariables): LinearFetch<IntegrationConnection>;
|
3698
3739
|
/** Labels associated with the organization. */
|
@@ -3708,6 +3749,17 @@ export declare class Organization extends Request {
|
|
3708
3749
|
/** Updates the user's organization. */
|
3709
3750
|
update(input: L.OrganizationUpdateInput): LinearFetch<OrganizationPayload>;
|
3710
3751
|
}
|
3752
|
+
/**
|
3753
|
+
* OrganizationAcceptedOrExpiredInviteDetailsPayload model
|
3754
|
+
*
|
3755
|
+
* @param request - function to call the graphql client
|
3756
|
+
* @param data - L.OrganizationAcceptedOrExpiredInviteDetailsPayloadFragment response data
|
3757
|
+
*/
|
3758
|
+
export declare class OrganizationAcceptedOrExpiredInviteDetailsPayload extends Request {
|
3759
|
+
constructor(request: LinearRequest, data: L.OrganizationAcceptedOrExpiredInviteDetailsPayloadFragment);
|
3760
|
+
/** The status of the invite. */
|
3761
|
+
status: L.OrganizationInviteStatus;
|
3762
|
+
}
|
3711
3763
|
/**
|
3712
3764
|
* OrganizationCancelDeletePayload model
|
3713
3765
|
*
|
@@ -3759,6 +3811,8 @@ export declare class OrganizationDomain extends Request {
|
|
3759
3811
|
verificationEmail?: string;
|
3760
3812
|
/** Is this domain verified. */
|
3761
3813
|
verified: boolean;
|
3814
|
+
/** What type of auth is the domain used for. */
|
3815
|
+
authType: L.OrganizationDomainAuthType;
|
3762
3816
|
/** The user who added the domain. */
|
3763
3817
|
get creator(): LinearFetch<User> | undefined;
|
3764
3818
|
/** Deletes a domain. */
|
@@ -3809,6 +3863,8 @@ export declare class OrganizationInvite extends Request {
|
|
3809
3863
|
* been updated after creation.
|
3810
3864
|
*/
|
3811
3865
|
updatedAt: Date;
|
3866
|
+
/** The user role that the invitee will receive upon accepting the invite. */
|
3867
|
+
role: L.UserRoleType;
|
3812
3868
|
/** The user who has accepted the invite. Null, if the invite hasn't been accepted. */
|
3813
3869
|
get invitee(): LinearFetch<User> | undefined;
|
3814
3870
|
/** The user who created the invitation. */
|
@@ -3858,6 +3914,10 @@ export declare class OrganizationInviteFullDetailsPayload extends Request {
|
|
3858
3914
|
organizationLogoUrl?: string;
|
3859
3915
|
/** Name of the workspace the invite is for. */
|
3860
3916
|
organizationName: string;
|
3917
|
+
/** What user role the invite should grant. */
|
3918
|
+
role: L.UserRoleType;
|
3919
|
+
/** The status of the invite. */
|
3920
|
+
status: L.OrganizationInviteStatus;
|
3861
3921
|
}
|
3862
3922
|
/**
|
3863
3923
|
* OrganizationInviteLinkDetailsPayload model
|
@@ -4372,6 +4432,10 @@ export declare class ProjectNotificationSubscription extends Request {
|
|
4372
4432
|
* been updated after creation.
|
4373
4433
|
*/
|
4374
4434
|
updatedAt: Date;
|
4435
|
+
/** The type of view to which the notification subscription context is associated with. */
|
4436
|
+
contextViewType?: L.ContextViewType;
|
4437
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
4438
|
+
userContextViewType?: L.UserContextViewType;
|
4375
4439
|
/** The contextual custom view associated with the notification subscription. */
|
4376
4440
|
get customView(): LinearFetch<CustomView> | undefined;
|
4377
4441
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -4557,6 +4621,8 @@ export declare class ProjectUpdate extends Request {
|
|
4557
4621
|
updatedAt: Date;
|
4558
4622
|
/** The URL to the project update. */
|
4559
4623
|
url: string;
|
4624
|
+
/** The health of the project at the time of the update. */
|
4625
|
+
health: L.ProjectUpdateHealthType;
|
4560
4626
|
/** The project that the update is associated with. */
|
4561
4627
|
get project(): LinearFetch<Project> | undefined;
|
4562
4628
|
/** The user who wrote the update. */
|
@@ -5042,6 +5108,8 @@ export declare class SlackAsksSettings extends Request {
|
|
5042
5108
|
teamName?: string;
|
5043
5109
|
/** The mapping of Slack channel ID => Slack channel name for connected channels. */
|
5044
5110
|
slackChannelMapping?: SlackChannelNameMapping[];
|
5111
|
+
/** The user role type that is allowed to manage Asks settings. */
|
5112
|
+
canAdministrate: L.UserRoleType;
|
5045
5113
|
}
|
5046
5114
|
/**
|
5047
5115
|
* Tuple for mapping Slack channel IDs to names.
|
@@ -5118,6 +5186,7 @@ export declare class SlackPostSettings extends Request {
|
|
5118
5186
|
channel: string;
|
5119
5187
|
channelId: string;
|
5120
5188
|
configurationUrl: string;
|
5189
|
+
channelType?: L.SlackChannelType;
|
5121
5190
|
}
|
5122
5191
|
/**
|
5123
5192
|
* Settings for the regular Slack integration.
|
@@ -5455,6 +5524,10 @@ export declare class TeamNotificationSubscription extends Request {
|
|
5455
5524
|
* been updated after creation.
|
5456
5525
|
*/
|
5457
5526
|
updatedAt: Date;
|
5527
|
+
/** The type of view to which the notification subscription context is associated with. */
|
5528
|
+
contextViewType?: L.ContextViewType;
|
5529
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
5530
|
+
userContextViewType?: L.UserContextViewType;
|
5458
5531
|
/** The contextual custom view associated with the notification subscription. */
|
5459
5532
|
get customView(): LinearFetch<CustomView> | undefined;
|
5460
5533
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -5673,6 +5746,8 @@ export declare class TriageResponsibility extends Request {
|
|
5673
5746
|
updatedAt: Date;
|
5674
5747
|
/** Set of users used for triage responsibility. */
|
5675
5748
|
manualSelection?: TriageResponsibilityManualSelection;
|
5749
|
+
/** The action to take when an issue is added to triage. */
|
5750
|
+
action: L.TriageResponsibilityAction;
|
5676
5751
|
/** The user currently responsible for triage. */
|
5677
5752
|
get currentUser(): LinearFetch<User> | undefined;
|
5678
5753
|
/** The team to which the triage responsibility belongs to. */
|
@@ -5944,6 +6019,10 @@ export declare class UserNotificationSubscription extends Request {
|
|
5944
6019
|
* been updated after creation.
|
5945
6020
|
*/
|
5946
6021
|
updatedAt: Date;
|
6022
|
+
/** The type of view to which the notification subscription context is associated with. */
|
6023
|
+
contextViewType?: L.ContextViewType;
|
6024
|
+
/** The type of user view to which the notification subscription context is associated with. */
|
6025
|
+
userContextViewType?: L.UserContextViewType;
|
5947
6026
|
/** The contextual custom view associated with the notification subscription. */
|
5948
6027
|
get customView(): LinearFetch<CustomView> | undefined;
|
5949
6028
|
/** The contextual cycle view associated with the notification subscription. */
|
@@ -6269,6 +6348,16 @@ export declare class WorkflowDefinition extends Request {
|
|
6269
6348
|
* been updated after creation.
|
6270
6349
|
*/
|
6271
6350
|
updatedAt: Date;
|
6351
|
+
/** The type of view to which this workflow's context is associated with. */
|
6352
|
+
contextViewType?: L.ContextViewType;
|
6353
|
+
/** The type of the event that triggers off the workflow. */
|
6354
|
+
trigger: L.WorkflowTrigger;
|
6355
|
+
/** The object type (e.g. Issue) that triggers this workflow. */
|
6356
|
+
triggerType: L.WorkflowTriggerType;
|
6357
|
+
/** The type of the workflow. */
|
6358
|
+
type: L.WorkflowType;
|
6359
|
+
/** The type of user view to which this workflow's context is associated with. */
|
6360
|
+
userContextViewType?: L.UserContextViewType;
|
6272
6361
|
/** The user who created the workflow. */
|
6273
6362
|
get creator(): LinearFetch<User> | undefined;
|
6274
6363
|
/** The context custom view associated with the workflow. */
|