@linear/sdk 16.0.0 → 18.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 +109 -57
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +41 -24
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +99 -76
- 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 +99 -76
- 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 +100 -77
- 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
@@ -608,7 +608,7 @@ export declare class AuthUser extends Request {
|
|
608
608
|
id: string;
|
609
609
|
/** The user's full name. */
|
610
610
|
name: string;
|
611
|
-
/** User account
|
611
|
+
/** User account ID the user belongs to. */
|
612
612
|
userAccountId: string;
|
613
613
|
/** Organization the user belongs to. */
|
614
614
|
organization: AuthOrganization;
|
@@ -2339,6 +2339,7 @@ export declare class Issue extends Request {
|
|
2339
2339
|
private _project?;
|
2340
2340
|
private _projectMilestone?;
|
2341
2341
|
private _snoozedBy?;
|
2342
|
+
private _sourceComment?;
|
2342
2343
|
private _state;
|
2343
2344
|
private _team;
|
2344
2345
|
constructor(request: LinearRequest, data: L.IssueFragment);
|
@@ -2426,6 +2427,8 @@ export declare class Issue extends Request {
|
|
2426
2427
|
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
2427
2428
|
/** The user who snoozed the issue. */
|
2428
2429
|
get snoozedBy(): LinearFetch<User> | undefined;
|
2430
|
+
/** The comment that this issue was created from. */
|
2431
|
+
get sourceComment(): LinearFetch<Comment> | undefined;
|
2429
2432
|
/** The workflow state that the issue is associated with. */
|
2430
2433
|
get state(): LinearFetch<WorkflowState> | undefined;
|
2431
2434
|
/** The team that the issue is associated with. */
|
@@ -3008,6 +3011,7 @@ export declare class IssueSearchResult extends Request {
|
|
3008
3011
|
private _project?;
|
3009
3012
|
private _projectMilestone?;
|
3010
3013
|
private _snoozedBy?;
|
3014
|
+
private _sourceComment?;
|
3011
3015
|
private _state;
|
3012
3016
|
private _team;
|
3013
3017
|
constructor(request: LinearRequest, data: L.IssueSearchResultFragment);
|
@@ -3097,6 +3101,8 @@ export declare class IssueSearchResult extends Request {
|
|
3097
3101
|
get projectMilestone(): LinearFetch<ProjectMilestone> | undefined;
|
3098
3102
|
/** The user who snoozed the issue. */
|
3099
3103
|
get snoozedBy(): LinearFetch<User> | undefined;
|
3104
|
+
/** The comment that this issue was created from. */
|
3105
|
+
get sourceComment(): LinearFetch<Comment> | undefined;
|
3100
3106
|
/** The workflow state that the issue is associated with. */
|
3101
3107
|
get state(): LinearFetch<WorkflowState> | undefined;
|
3102
3108
|
/** The team that the issue is associated with. */
|
@@ -4928,6 +4934,19 @@ export declare class SentrySettings extends Request {
|
|
4928
4934
|
/** The slug of the Sentry organization being connected. */
|
4929
4935
|
organizationSlug: string;
|
4930
4936
|
}
|
4937
|
+
/**
|
4938
|
+
* Shared Slack integration settings.
|
4939
|
+
*
|
4940
|
+
* @param request - function to call the graphql client
|
4941
|
+
* @param data - L.SharedSlackSettingsFragment response data
|
4942
|
+
*/
|
4943
|
+
export declare class SharedSlackSettings extends Request {
|
4944
|
+
constructor(request: LinearRequest, data: L.SharedSlackSettingsFragment);
|
4945
|
+
/** Slack workspace id */
|
4946
|
+
teamId?: string;
|
4947
|
+
/** Slack workspace name */
|
4948
|
+
teamName?: string;
|
4949
|
+
}
|
4931
4950
|
/**
|
4932
4951
|
* Slack Asks specific settings.
|
4933
4952
|
*
|
@@ -4936,6 +4955,10 @@ export declare class SentrySettings extends Request {
|
|
4936
4955
|
*/
|
4937
4956
|
export declare class SlackAsksSettings extends Request {
|
4938
4957
|
constructor(request: LinearRequest, data: L.SlackAsksSettingsFragment);
|
4958
|
+
/** Slack workspace id */
|
4959
|
+
teamId?: string;
|
4960
|
+
/** Slack workspace name */
|
4961
|
+
teamName?: string;
|
4939
4962
|
/** The mapping of Slack channel ID => Slack channel name for connected channels. */
|
4940
4963
|
slackChannelMapping?: SlackChannelNameMapping[];
|
4941
4964
|
}
|
@@ -5025,6 +5048,10 @@ export declare class SlackSettings extends Request {
|
|
5025
5048
|
constructor(request: LinearRequest, data: L.SlackSettingsFragment);
|
5026
5049
|
/** Whether Linear should automatically respond with issue unfurls when an issue identifier is mentioned in a Slack message. */
|
5027
5050
|
linkOnIssueIdMention: boolean;
|
5051
|
+
/** Slack workspace id */
|
5052
|
+
teamId?: string;
|
5053
|
+
/** Slack workspace name */
|
5054
|
+
teamName?: string;
|
5028
5055
|
}
|
5029
5056
|
/**
|
5030
5057
|
* SsoUrlFromEmailResponse model
|
@@ -5125,6 +5152,8 @@ export declare class Team extends Request {
|
|
5125
5152
|
issueEstimationType: string;
|
5126
5153
|
/** Whether issues without priority should be sorted first. */
|
5127
5154
|
issueOrderingNoPriorityFirst: boolean;
|
5155
|
+
/** [DEPRECATED] Whether to move issues to bottom of the column when changing state. */
|
5156
|
+
issueSortOrderDefaultToBottom: boolean;
|
5128
5157
|
/** The team's unique key. The key is used in URLs. */
|
5129
5158
|
key: string;
|
5130
5159
|
/** The team's name. */
|
@@ -5506,7 +5535,7 @@ export declare class TimeScheduleEntry extends Request {
|
|
5506
5535
|
endsAt: Date;
|
5507
5536
|
/** The start date of the schedule in ISO 8601 date-time format. */
|
5508
5537
|
startsAt: Date;
|
5509
|
-
/** The email
|
5538
|
+
/** The email, name or reference to the user on schedule. This is used in case the external user could not be mapped to a Linear user id. */
|
5510
5539
|
userEmail?: string;
|
5511
5540
|
/** The Linear user id of the user on schedule. If the user cannot be mapped to a Linear user then `userEmail` can be used as a reference. */
|
5512
5541
|
userId?: string;
|
@@ -5871,6 +5900,16 @@ export declare class UserSettings extends Request {
|
|
5871
5900
|
notificationPreferences: L.Scalars["JSONObject"];
|
5872
5901
|
/** Whether to show full user names instead of display names. */
|
5873
5902
|
showFullUserNames: boolean;
|
5903
|
+
/** Whether this user is subscribed to changelog email or not. */
|
5904
|
+
subscribedToChangelog: boolean;
|
5905
|
+
/** Whether this user is subscribed to DPA emails or not. */
|
5906
|
+
subscribedToDPA: boolean;
|
5907
|
+
/** Whether this user is subscribed to invite accepted emails or not. */
|
5908
|
+
subscribedToInviteAccepted: boolean;
|
5909
|
+
/** Whether this user is subscribed to privacy and legal update emails or not. */
|
5910
|
+
subscribedToPrivacyLegalUpdates: boolean;
|
5911
|
+
/** Whether this user is subscribed to unread notifications reminder emails or not. */
|
5912
|
+
subscribedToUnreadNotificationsReminder: boolean;
|
5874
5913
|
/** The email types the user has unsubscribed from. */
|
5875
5914
|
unsubscribedFrom: string[];
|
5876
5915
|
/**
|
@@ -7900,21 +7939,6 @@ export declare class AttachmentLinkZendeskMutation extends Request {
|
|
7900
7939
|
*/
|
7901
7940
|
fetch(issueId: string, ticketId: string, variables?: Omit<L.AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
|
7902
7941
|
}
|
7903
|
-
/**
|
7904
|
-
* A fetchable AttachmentUnsyncSlack Mutation
|
7905
|
-
*
|
7906
|
-
* @param request - function to call the graphql client
|
7907
|
-
*/
|
7908
|
-
export declare class AttachmentUnsyncSlackMutation extends Request {
|
7909
|
-
constructor(request: LinearRequest);
|
7910
|
-
/**
|
7911
|
-
* Call the AttachmentUnsyncSlack mutation and return a AttachmentPayload
|
7912
|
-
*
|
7913
|
-
* @param id - required id to pass to attachmentUnsyncSlack
|
7914
|
-
* @returns parsed response from AttachmentUnsyncSlackMutation
|
7915
|
-
*/
|
7916
|
-
fetch(id: string): LinearFetch<AttachmentPayload>;
|
7917
|
-
}
|
7918
7942
|
/**
|
7919
7943
|
* A fetchable UpdateAttachment Mutation
|
7920
7944
|
*
|
@@ -12970,13 +12994,6 @@ export declare class LinearSdk extends Request {
|
|
12970
12994
|
* @returns AttachmentPayload
|
12971
12995
|
*/
|
12972
12996
|
attachmentLinkZendesk(issueId: string, ticketId: string, variables?: Omit<L.AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
|
12973
|
-
/**
|
12974
|
-
* Unsyncs an existing synced Slack attachment.
|
12975
|
-
*
|
12976
|
-
* @param id - required id to pass to attachmentUnsyncSlack
|
12977
|
-
* @returns AttachmentPayload
|
12978
|
-
*/
|
12979
|
-
attachmentUnsyncSlack(id: string): LinearFetch<AttachmentPayload>;
|
12980
12997
|
/**
|
12981
12998
|
* Updates an existing issue attachment.
|
12982
12999
|
*
|