@linear/sdk 4.0.0 → 5.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/CHANGELOG.md +59 -0
- package/dist/_generated_documents.d.ts +118 -30
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +29 -27
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +102 -84
- 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 +101 -83
- 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 +103 -85
- 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
@@ -2679,13 +2679,13 @@ export declare class OrganizationInviteConnection extends Connection<Organizatio
|
|
2679
2679
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<OrganizationInvite> | undefined>, data: L.OrganizationInviteConnectionFragment);
|
2680
2680
|
}
|
2681
2681
|
/**
|
2682
|
-
*
|
2682
|
+
* OrganizationInviteFullDetailsPayload model
|
2683
2683
|
*
|
2684
2684
|
* @param request - function to call the graphql client
|
2685
|
-
* @param data - L.
|
2685
|
+
* @param data - L.OrganizationInviteFullDetailsPayloadFragment response data
|
2686
2686
|
*/
|
2687
|
-
export declare class
|
2688
|
-
constructor(request: LinearRequest, data: L.
|
2687
|
+
export declare class OrganizationInviteFullDetailsPayload extends Request {
|
2688
|
+
constructor(request: LinearRequest, data: L.OrganizationInviteFullDetailsPayloadFragment);
|
2689
2689
|
/** Whether the invite has already been accepted. */
|
2690
2690
|
accepted: boolean;
|
2691
2691
|
/** When the invite was created. */
|
@@ -3860,7 +3860,7 @@ export declare class Team extends Request {
|
|
3860
3860
|
issueEstimationAllowZero: boolean;
|
3861
3861
|
/** Whether to add additional points to the estimate scale. */
|
3862
3862
|
issueEstimationExtended: boolean;
|
3863
|
-
/** The issue estimation type to use. */
|
3863
|
+
/** The issue estimation type to use. Must be one of "notUsed", "exponential", "fibonacci", "linear", "tShirt". */
|
3864
3864
|
issueEstimationType: string;
|
3865
3865
|
/** Whether issues without priority should be sorted first. */
|
3866
3866
|
issueOrderingNoPriorityFirst: boolean;
|
@@ -4371,6 +4371,8 @@ export declare class UserSettings extends Request {
|
|
4371
4371
|
id: string;
|
4372
4372
|
/** The notification channel settings the user has selected. */
|
4373
4373
|
notificationPreferences: Record<string, unknown>;
|
4374
|
+
/** Whether to show full user names instead of display names. */
|
4375
|
+
showFullUserNames: boolean;
|
4374
4376
|
/** The email types the user has unsubscribed from. */
|
4375
4377
|
unsubscribedFrom: string[];
|
4376
4378
|
/**
|
@@ -7152,6 +7154,21 @@ export declare class UserGoogleCalendarConnectMutation extends Request {
|
|
7152
7154
|
*/
|
7153
7155
|
fetch(code: string): LinearFetch<UserPayload>;
|
7154
7156
|
}
|
7157
|
+
/**
|
7158
|
+
* A fetchable UserJiraConnect Mutation
|
7159
|
+
*
|
7160
|
+
* @param request - function to call the graphql client
|
7161
|
+
*/
|
7162
|
+
export declare class UserJiraConnectMutation extends Request {
|
7163
|
+
constructor(request: LinearRequest);
|
7164
|
+
/**
|
7165
|
+
* Call the UserJiraConnect mutation and return a UserPayload
|
7166
|
+
*
|
7167
|
+
* @param code - required code to pass to userJiraConnect
|
7168
|
+
* @returns parsed response from UserJiraConnectMutation
|
7169
|
+
*/
|
7170
|
+
fetch(code: string): LinearFetch<UserPayload>;
|
7171
|
+
}
|
7155
7172
|
/**
|
7156
7173
|
* A fetchable UserPromoteAdmin Mutation
|
7157
7174
|
*
|
@@ -8164,21 +8181,6 @@ export declare class OrganizationInviteQuery extends Request {
|
|
8164
8181
|
*/
|
8165
8182
|
fetch(id: string): LinearFetch<OrganizationInvite>;
|
8166
8183
|
}
|
8167
|
-
/**
|
8168
|
-
* A fetchable OrganizationInviteDetails Query
|
8169
|
-
*
|
8170
|
-
* @param request - function to call the graphql client
|
8171
|
-
*/
|
8172
|
-
export declare class OrganizationInviteDetailsQuery extends Request {
|
8173
|
-
constructor(request: LinearRequest);
|
8174
|
-
/**
|
8175
|
-
* Call the OrganizationInviteDetails query and return a OrganizationInviteDetailsPayload
|
8176
|
-
*
|
8177
|
-
* @param id - required id to pass to organizationInviteDetails
|
8178
|
-
* @returns parsed response from OrganizationInviteDetailsQuery
|
8179
|
-
*/
|
8180
|
-
fetch(id: string): LinearFetch<OrganizationInviteDetailsPayload>;
|
8181
|
-
}
|
8182
8184
|
/**
|
8183
8185
|
* A fetchable OrganizationInvites Query
|
8184
8186
|
*
|
@@ -11093,6 +11095,13 @@ export declare class LinearSdk extends Request {
|
|
11093
11095
|
* @returns UserPayload
|
11094
11096
|
*/
|
11095
11097
|
userGoogleCalendarConnect(code: string): LinearFetch<UserPayload>;
|
11098
|
+
/**
|
11099
|
+
* Connects the Jira user to this Linear account via OAuth2.
|
11100
|
+
*
|
11101
|
+
* @param code - required code to pass to userJiraConnect
|
11102
|
+
* @returns UserPayload
|
11103
|
+
*/
|
11104
|
+
userJiraConnect(code: string): LinearFetch<UserPayload>;
|
11096
11105
|
/**
|
11097
11106
|
* Makes user an admin. Can only be called by an admin.
|
11098
11107
|
*
|
@@ -11572,13 +11581,6 @@ export declare class LinearSdk extends Request {
|
|
11572
11581
|
* @returns OrganizationInvite
|
11573
11582
|
*/
|
11574
11583
|
organizationInvite(id: string): LinearFetch<OrganizationInvite>;
|
11575
|
-
/**
|
11576
|
-
* One specific organization invite.
|
11577
|
-
*
|
11578
|
-
* @param id - required id to pass to organizationInviteDetails
|
11579
|
-
* @returns OrganizationInviteDetailsPayload
|
11580
|
-
*/
|
11581
|
-
organizationInviteDetails(id: string): LinearFetch<OrganizationInviteDetailsPayload>;
|
11582
11584
|
/**
|
11583
11585
|
* All invites for the organization.
|
11584
11586
|
*
|