@linear/sdk 17.0.1 → 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 +74 -39
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +28 -23
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +74 -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 +74 -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 +75 -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
@@ -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
|
@@ -5508,7 +5535,7 @@ export declare class TimeScheduleEntry extends Request {
|
|
5508
5535
|
endsAt: Date;
|
5509
5536
|
/** The start date of the schedule in ISO 8601 date-time format. */
|
5510
5537
|
startsAt: Date;
|
5511
|
-
/** 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. */
|
5512
5539
|
userEmail?: string;
|
5513
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. */
|
5514
5541
|
userId?: string;
|
@@ -7912,21 +7939,6 @@ export declare class AttachmentLinkZendeskMutation extends Request {
|
|
7912
7939
|
*/
|
7913
7940
|
fetch(issueId: string, ticketId: string, variables?: Omit<L.AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
|
7914
7941
|
}
|
7915
|
-
/**
|
7916
|
-
* A fetchable AttachmentUnsyncSlack Mutation
|
7917
|
-
*
|
7918
|
-
* @param request - function to call the graphql client
|
7919
|
-
*/
|
7920
|
-
export declare class AttachmentUnsyncSlackMutation extends Request {
|
7921
|
-
constructor(request: LinearRequest);
|
7922
|
-
/**
|
7923
|
-
* Call the AttachmentUnsyncSlack mutation and return a AttachmentPayload
|
7924
|
-
*
|
7925
|
-
* @param id - required id to pass to attachmentUnsyncSlack
|
7926
|
-
* @returns parsed response from AttachmentUnsyncSlackMutation
|
7927
|
-
*/
|
7928
|
-
fetch(id: string): LinearFetch<AttachmentPayload>;
|
7929
|
-
}
|
7930
7942
|
/**
|
7931
7943
|
* A fetchable UpdateAttachment Mutation
|
7932
7944
|
*
|
@@ -12982,13 +12994,6 @@ export declare class LinearSdk extends Request {
|
|
12982
12994
|
* @returns AttachmentPayload
|
12983
12995
|
*/
|
12984
12996
|
attachmentLinkZendesk(issueId: string, ticketId: string, variables?: Omit<L.AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
|
12985
|
-
/**
|
12986
|
-
* [DEPRECATED] Unsyncs an existing synced Slack attachment.
|
12987
|
-
*
|
12988
|
-
* @param id - required id to pass to attachmentUnsyncSlack
|
12989
|
-
* @returns AttachmentPayload
|
12990
|
-
*/
|
12991
|
-
attachmentUnsyncSlack(id: string): LinearFetch<AttachmentPayload>;
|
12992
12997
|
/**
|
12993
12998
|
* Updates an existing issue attachment.
|
12994
12999
|
*
|