@linear/sdk 16.0.0 → 17.0.1
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 +36 -19
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +14 -2
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +26 -1
- 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 +26 -1
- 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 +27 -2
- 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
@@ -573,7 +573,7 @@ export declare type AuthUser = {
|
|
573
573
|
name: Scalars["String"];
|
574
574
|
/** Organization the user belongs to. */
|
575
575
|
organization: AuthOrganization;
|
576
|
-
/** User account
|
576
|
+
/** User account ID the user belongs to. */
|
577
577
|
userAccountId: Scalars["String"];
|
578
578
|
};
|
579
579
|
/** User authentication session. */
|
@@ -1047,6 +1047,7 @@ export declare type CustomViewIssuesArgs = {
|
|
1047
1047
|
includeArchived?: Maybe<Scalars["Boolean"]>;
|
1048
1048
|
last?: Maybe<Scalars["Int"]>;
|
1049
1049
|
orderBy?: Maybe<PaginationOrderBy>;
|
1050
|
+
sort?: Maybe<Array<IssueSortInput>>;
|
1050
1051
|
};
|
1051
1052
|
export declare type CustomViewConnection = {
|
1052
1053
|
__typename?: "CustomViewConnection";
|
@@ -1801,15 +1802,6 @@ export declare type EmailIntakeAddressUpdateInput = {
|
|
1801
1802
|
/** Whether the email address is currently enabled. If set to false, the email address will be disabled and no longer accept incoming emails. */
|
1802
1803
|
enabled: Scalars["Boolean"];
|
1803
1804
|
};
|
1804
|
-
export declare type EmailSubscribeInput = {
|
1805
|
-
/** [INTERNAL] Email to subscribe. */
|
1806
|
-
email: Scalars["String"];
|
1807
|
-
};
|
1808
|
-
export declare type EmailSubscribePayload = {
|
1809
|
-
__typename?: "EmailSubscribePayload";
|
1810
|
-
/** [INTERNAL] Whether the operation was successful. */
|
1811
|
-
success: Scalars["Boolean"];
|
1812
|
-
};
|
1813
1805
|
export declare type EmailUnsubscribeInput = {
|
1814
1806
|
/** The user's email validation token. */
|
1815
1807
|
token: Scalars["String"];
|
@@ -4505,7 +4497,7 @@ export declare type Mutation = {
|
|
4505
4497
|
attachmentLinkURL: AttachmentPayload;
|
4506
4498
|
/** Link an existing Zendesk ticket to an issue. */
|
4507
4499
|
attachmentLinkZendesk: AttachmentPayload;
|
4508
|
-
/** Unsyncs an existing synced Slack attachment. */
|
4500
|
+
/** [DEPRECATED] Unsyncs an existing synced Slack attachment. */
|
4509
4501
|
attachmentUnsyncSlack: AttachmentPayload;
|
4510
4502
|
/** Updates an existing issue attachment. */
|
4511
4503
|
attachmentUpdate: AttachmentPayload;
|
@@ -4557,8 +4549,6 @@ export declare type Mutation = {
|
|
4557
4549
|
emailIntakeAddressRotate: EmailIntakeAddressPayload;
|
4558
4550
|
/** Updates an existing email intake address. */
|
4559
4551
|
emailIntakeAddressUpdate: EmailIntakeAddressPayload;
|
4560
|
-
/** [INTERNAL] Subscribes the email to the newsletter. */
|
4561
|
-
emailSubscribe: EmailSubscribePayload;
|
4562
4552
|
/** Authenticates a user account via email and authentication token. */
|
4563
4553
|
emailTokenUserAccountAuth: AuthResolverResponse;
|
4564
4554
|
/** Unsubscribes the user from one type of emails. */
|
@@ -5149,9 +5139,6 @@ export declare type MutationEmailIntakeAddressUpdateArgs = {
|
|
5149
5139
|
id: Scalars["String"];
|
5150
5140
|
input: EmailIntakeAddressUpdateInput;
|
5151
5141
|
};
|
5152
|
-
export declare type MutationEmailSubscribeArgs = {
|
5153
|
-
input: EmailSubscribeInput;
|
5154
|
-
};
|
5155
5142
|
export declare type MutationEmailTokenUserAccountAuthArgs = {
|
5156
5143
|
input: TokenUserAccountAuthInput;
|
5157
5144
|
};
|
@@ -9674,6 +9661,11 @@ export declare type Team = Node & {
|
|
9674
9661
|
issueEstimationType: Scalars["String"];
|
9675
9662
|
/** Whether issues without priority should be sorted first. */
|
9676
9663
|
issueOrderingNoPriorityFirst: Scalars["Boolean"];
|
9664
|
+
/**
|
9665
|
+
* [DEPRECATED] Whether to move issues to bottom of the column when changing state.
|
9666
|
+
* @deprecated Use setIssueSortOrderOnStateChange instead.
|
9667
|
+
*/
|
9668
|
+
issueSortOrderDefaultToBottom: Scalars["Boolean"];
|
9677
9669
|
/** Issues associated with the team. */
|
9678
9670
|
issues: IssueConnection;
|
9679
9671
|
/** [INTERNAL] Whether new users should join this team by default. */
|
@@ -10895,7 +10887,20 @@ export declare type UserSettings = Node & {
|
|
10895
10887
|
notificationPreferences: Scalars["JSONObject"];
|
10896
10888
|
/** Whether to show full user names instead of display names. */
|
10897
10889
|
showFullUserNames: Scalars["Boolean"];
|
10898
|
-
/**
|
10890
|
+
/** Whether this user is subscribed to changelog email or not. */
|
10891
|
+
subscribedToChangelog: Scalars["Boolean"];
|
10892
|
+
/** Whether this user is subscribed to DPA emails or not. */
|
10893
|
+
subscribedToDPA: Scalars["Boolean"];
|
10894
|
+
/** Whether this user is subscribed to invite accepted emails or not. */
|
10895
|
+
subscribedToInviteAccepted: Scalars["Boolean"];
|
10896
|
+
/** Whether this user is subscribed to privacy and legal update emails or not. */
|
10897
|
+
subscribedToPrivacyLegalUpdates: Scalars["Boolean"];
|
10898
|
+
/** Whether this user is subscribed to unread notifications reminder emails or not. */
|
10899
|
+
subscribedToUnreadNotificationsReminder: Scalars["Boolean"];
|
10900
|
+
/**
|
10901
|
+
* The email types the user has unsubscribed from.
|
10902
|
+
* @deprecated Use individual subscription fields instead.
|
10903
|
+
*/
|
10899
10904
|
unsubscribedFrom: Array<Scalars["String"]>;
|
10900
10905
|
/**
|
10901
10906
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
@@ -10938,6 +10943,16 @@ export declare type UserSettingsUpdateInput = {
|
|
10938
10943
|
notificationPreferences?: Maybe<Scalars["JSONObject"]>;
|
10939
10944
|
/** The user's settings. */
|
10940
10945
|
settings?: Maybe<Scalars["JSONObject"]>;
|
10946
|
+
/** Whether this user is subscribed to changelog email or not. */
|
10947
|
+
subscribedToChangelog?: Maybe<Scalars["Boolean"]>;
|
10948
|
+
/** Whether this user is subscribed to DPA emails or not. */
|
10949
|
+
subscribedToDPA?: Maybe<Scalars["Boolean"]>;
|
10950
|
+
/** Whether this user is subscribed to invite accepted emails or not. */
|
10951
|
+
subscribedToInviteAccepted?: Maybe<Scalars["Boolean"]>;
|
10952
|
+
/** Whether this user is subscribed to privacy and legal update emails or not. */
|
10953
|
+
subscribedToPrivacyLegalUpdates?: Maybe<Scalars["Boolean"]>;
|
10954
|
+
/** Whether this user is subscribed to email notifications reminder or not. */
|
10955
|
+
subscribedToUnreadNotificationsReminder?: Maybe<Scalars["Boolean"]>;
|
10941
10956
|
/** The types of emails the user has unsubscribed from. */
|
10942
10957
|
unsubscribedFrom?: Maybe<Array<Scalars["String"]>>;
|
10943
10958
|
/** [Internal] The user's usage warning history. */
|
@@ -12327,7 +12342,7 @@ export declare type AuthOrganizationFragment = {
|
|
12327
12342
|
} & Pick<AuthOrganization, "allowedAuthServices" | "previousUrlKeys" | "serviceId" | "logoUrl" | "name" | "urlKey" | "deletionRequestedAt" | "id" | "samlEnabled" | "scimEnabled" | "userCount">;
|
12328
12343
|
export declare type TeamFragment = {
|
12329
12344
|
__typename: "Team";
|
12330
|
-
} & Pick<Team, "cycleIssueAutoAssignCompleted" | "cycleLockToActive" | "cycleIssueAutoAssignStarted" | "cycleCalenderUrl" | "upcomingCycleCount" | "issueCount" | "autoArchivePeriod" | "autoClosePeriod" | "autoCloseStateId" | "cycleCooldownTime" | "cycleStartDay" | "cycleDuration" | "icon" | "defaultTemplateForMembersId" | "defaultTemplateForNonMembersId" | "issueEstimationType" | "updatedAt" | "color" | "description" | "name" | "key" | "archivedAt" | "createdAt" | "timezone" | "id" | "inviteHash" | "defaultIssueEstimate" | "setIssueSortOrderOnStateChange" | "requirePriorityToLeaveTriage" | "issueOrderingNoPriorityFirst" | "private" | "cyclesEnabled" | "issueEstimationExtended" | "issueEstimationAllowZero" | "groupIssueHistory" | "slackIssueComments" | "slackNewIssue" | "slackIssueStatuses" | "triageEnabled"> & {
|
12345
|
+
} & Pick<Team, "cycleIssueAutoAssignCompleted" | "cycleLockToActive" | "cycleIssueAutoAssignStarted" | "cycleCalenderUrl" | "upcomingCycleCount" | "issueCount" | "autoArchivePeriod" | "autoClosePeriod" | "autoCloseStateId" | "cycleCooldownTime" | "cycleStartDay" | "cycleDuration" | "icon" | "defaultTemplateForMembersId" | "defaultTemplateForNonMembersId" | "issueEstimationType" | "updatedAt" | "color" | "description" | "name" | "key" | "archivedAt" | "createdAt" | "timezone" | "id" | "inviteHash" | "defaultIssueEstimate" | "setIssueSortOrderOnStateChange" | "requirePriorityToLeaveTriage" | "issueOrderingNoPriorityFirst" | "private" | "cyclesEnabled" | "issueEstimationExtended" | "issueEstimationAllowZero" | "groupIssueHistory" | "slackIssueComments" | "slackNewIssue" | "slackIssueStatuses" | "triageEnabled" | "issueSortOrderDefaultToBottom"> & {
|
12331
12346
|
integrationsSettings?: Maybe<{
|
12332
12347
|
__typename?: "IntegrationsSettings";
|
12333
12348
|
} & Pick<IntegrationsSettings, "id">>;
|
@@ -12806,7 +12821,7 @@ export declare type PaidSubscriptionFragment = {
|
|
12806
12821
|
};
|
12807
12822
|
export declare type UserSettingsFragment = {
|
12808
12823
|
__typename: "UserSettings";
|
12809
|
-
} & Pick<UserSettings, "calendarHash" | "unsubscribedFrom" | "updatedAt" | "notificationPreferences" | "archivedAt" | "createdAt" | "id" | "showFullUserNames"> & {
|
12824
|
+
} & Pick<UserSettings, "calendarHash" | "unsubscribedFrom" | "updatedAt" | "notificationPreferences" | "archivedAt" | "createdAt" | "id" | "subscribedToDPA" | "subscribedToChangelog" | "subscribedToInviteAccepted" | "subscribedToPrivacyLegalUpdates" | "subscribedToUnreadNotificationsReminder" | "showFullUserNames"> & {
|
12810
12825
|
user: {
|
12811
12826
|
__typename?: "User";
|
12812
12827
|
} & Pick<User, "id">;
|
@@ -14674,6 +14689,7 @@ export declare type CustomView_IssuesQueryVariables = Exact<{
|
|
14674
14689
|
includeArchived?: Maybe<Scalars["Boolean"]>;
|
14675
14690
|
last?: Maybe<Scalars["Int"]>;
|
14676
14691
|
orderBy?: Maybe<PaginationOrderBy>;
|
14692
|
+
sort?: Maybe<Array<IssueSortInput> | IssueSortInput>;
|
14677
14693
|
}>;
|
14678
14694
|
export declare type CustomView_IssuesQuery = {
|
14679
14695
|
__typename?: "Query";
|
@@ -19570,6 +19586,7 @@ export declare const CustomView_IssuesDocument: DocumentNode<CustomView_IssuesQu
|
|
19570
19586
|
includeArchived?: Maybe<boolean> | undefined;
|
19571
19587
|
last?: Maybe<number> | undefined;
|
19572
19588
|
orderBy?: Maybe<PaginationOrderBy> | undefined;
|
19589
|
+
sort?: Maybe<IssueSortInput | IssueSortInput[]> | undefined;
|
19573
19590
|
}>>;
|
19574
19591
|
export declare const CustomViewHasSubscribersDocument: DocumentNode<CustomViewHasSubscribersQuery, Exact<{
|
19575
19592
|
id: Scalars["String"];
|