@linear/sdk 21.0.0 → 22.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 +1008 -165
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +605 -157
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +2379 -555
- 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 +2348 -547
- 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 +2380 -556
- 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
@@ -105,10 +105,6 @@ export declare class ApiKey extends Request {
|
|
105
105
|
* been updated after creation.
|
106
106
|
*/
|
107
107
|
updatedAt: Date;
|
108
|
-
/** Creates a new API key. */
|
109
|
-
create(input: L.ApiKeyCreateInput): LinearFetch<ApiKeyPayload>;
|
110
|
-
/** Deletes an API key. */
|
111
|
-
delete(): LinearFetch<DeletePayload>;
|
112
108
|
}
|
113
109
|
/**
|
114
110
|
* ApiKeyConnection model
|
@@ -460,6 +456,10 @@ export declare class AuthOauthClient extends Request {
|
|
460
456
|
publicEnabled: boolean;
|
461
457
|
/** List of allowed redirect URIs for the application. */
|
462
458
|
redirectUris: string[];
|
459
|
+
/** The resource types to request when creating new webhooks. */
|
460
|
+
webhookResourceTypes: string[];
|
461
|
+
/** Webhook secret */
|
462
|
+
webhookSecret?: string;
|
463
463
|
/** Webhook URL */
|
464
464
|
webhookUrl?: string;
|
465
465
|
}
|
@@ -532,6 +532,8 @@ export declare class AuthOrganization extends Request {
|
|
532
532
|
allowedAuthServices: string[];
|
533
533
|
/** The time at which deletion of the organization was requested. */
|
534
534
|
deletionRequestedAt?: Date;
|
535
|
+
/** Whether the organization is enabled. Used as a superuser tool to lock down the org. */
|
536
|
+
enabled: boolean;
|
535
537
|
/** The unique identifier of the entity. */
|
536
538
|
id: string;
|
537
539
|
/** The organization's logo URL. */
|
@@ -563,6 +565,8 @@ export declare class AuthOrganization extends Request {
|
|
563
565
|
export declare class AuthOrganizationDomain extends Request {
|
564
566
|
constructor(request: LinearRequest, data: L.AuthOrganizationDomainFragment);
|
565
567
|
claimed?: boolean;
|
568
|
+
/** Prevent users with this domain to create new workspaces. */
|
569
|
+
disableOrganizationCreation?: boolean;
|
566
570
|
/** The unique identifier of the entity. */
|
567
571
|
id: string;
|
568
572
|
name: string;
|
@@ -631,6 +635,8 @@ export declare class AuthResolverResponse extends Request {
|
|
631
635
|
availableOrganizations?: AuthOrganization[];
|
632
636
|
/** List of organization available to this user account but locked due to the current auth method. */
|
633
637
|
lockedOrganizations?: AuthOrganization[];
|
638
|
+
/** List of locked users that are locked by login restrictions */
|
639
|
+
lockedUsers: AuthUser[];
|
634
640
|
/** List of active users that belong to the user account. */
|
635
641
|
users: AuthUser[];
|
636
642
|
}
|
@@ -668,6 +674,8 @@ export declare class AuthUser extends Request {
|
|
668
674
|
userAccountId: string;
|
669
675
|
/** Organization the user belongs to. */
|
670
676
|
organization: AuthOrganization;
|
677
|
+
/** Whether the user is an organization admin or guest on a database level. */
|
678
|
+
role: L.UserRoleType;
|
671
679
|
}
|
672
680
|
/**
|
673
681
|
* User authentication session.
|
@@ -1005,6 +1013,8 @@ export declare class CustomView extends Request {
|
|
1005
1013
|
get updatedBy(): LinearFetch<User> | undefined;
|
1006
1014
|
/** Issues associated with the custom view. */
|
1007
1015
|
issues(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
1016
|
+
/** Projects associated with the custom view. */
|
1017
|
+
projects(variables?: Omit<L.CustomView_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
1008
1018
|
/** Creates a new custom view. */
|
1009
1019
|
create(input: L.CustomViewCreateInput): LinearFetch<CustomViewPayload>;
|
1010
1020
|
/** Deletes a custom view. */
|
@@ -1908,6 +1918,39 @@ export declare class ExternalUser extends Request {
|
|
1908
1918
|
export declare class ExternalUserConnection extends Connection<ExternalUser> {
|
1909
1919
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ExternalUser> | undefined>, data: L.ExternalUserConnectionFragment);
|
1910
1920
|
}
|
1921
|
+
/**
|
1922
|
+
* A facet. Facets are joins between entities. A facet can tie a custom view to a project, or a a project to a roadmap for example.
|
1923
|
+
*
|
1924
|
+
* @param request - function to call the graphql client
|
1925
|
+
* @param data - L.FacetFragment response data
|
1926
|
+
*/
|
1927
|
+
export declare class Facet extends Request {
|
1928
|
+
constructor(request: LinearRequest, data: L.FacetFragment);
|
1929
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1930
|
+
archivedAt?: Date;
|
1931
|
+
/** The time at which the entity was created. */
|
1932
|
+
createdAt: Date;
|
1933
|
+
/** The unique identifier of the entity. */
|
1934
|
+
id: string;
|
1935
|
+
/** The sort order of the facet. */
|
1936
|
+
sortOrder: number;
|
1937
|
+
/**
|
1938
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1939
|
+
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
1940
|
+
* been updated after creation.
|
1941
|
+
*/
|
1942
|
+
updatedAt: Date;
|
1943
|
+
}
|
1944
|
+
/**
|
1945
|
+
* FacetConnection model
|
1946
|
+
*
|
1947
|
+
* @param request - function to call the graphql client
|
1948
|
+
* @param fetch - function to trigger a refetch of this FacetConnection model
|
1949
|
+
* @param data - FacetConnection response data
|
1950
|
+
*/
|
1951
|
+
export declare class FacetConnection extends Connection<Facet> {
|
1952
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Facet> | undefined>, data: L.FacetConnectionFragment);
|
1953
|
+
}
|
1911
1954
|
/**
|
1912
1955
|
* User favorites presented in the sidebar.
|
1913
1956
|
*
|
@@ -2172,6 +2215,23 @@ export declare class GitHubCommitIntegrationPayload extends Request {
|
|
2172
2215
|
/** The integration that was created or updated. */
|
2173
2216
|
get integration(): LinearFetch<Integration> | undefined;
|
2174
2217
|
}
|
2218
|
+
/**
|
2219
|
+
* Metadata and settings for a GitHub import integration.
|
2220
|
+
*
|
2221
|
+
* @param request - function to call the graphql client
|
2222
|
+
* @param data - L.GitHubImportSettingsFragment response data
|
2223
|
+
*/
|
2224
|
+
export declare class GitHubImportSettings extends Request {
|
2225
|
+
constructor(request: LinearRequest, data: L.GitHubImportSettingsFragment);
|
2226
|
+
/** The avatar URL for the GitHub organization. */
|
2227
|
+
orgAvatarUrl: string;
|
2228
|
+
/** The GitHub organization's name. */
|
2229
|
+
orgLogin: string;
|
2230
|
+
/** The names of the repositories connected for the GitHub integration. */
|
2231
|
+
repositories: GitHubRepo[];
|
2232
|
+
/** The type of Github org */
|
2233
|
+
orgType: L.GithubOrgType;
|
2234
|
+
}
|
2175
2235
|
/**
|
2176
2236
|
* Metadata and settings for a GitHub Personal integration.
|
2177
2237
|
*
|
@@ -2212,6 +2272,8 @@ export declare class GitHubSettings extends Request {
|
|
2212
2272
|
repositories?: GitHubRepo[];
|
2213
2273
|
/** Mapping of team to repository for syncing. */
|
2214
2274
|
repositoriesMapping?: TeamRepoMapping[];
|
2275
|
+
/** The type of Github org */
|
2276
|
+
orgType?: L.GithubOrgType;
|
2215
2277
|
}
|
2216
2278
|
/**
|
2217
2279
|
* Metadata and settings for a GitLab integration.
|
@@ -2228,49 +2290,6 @@ export declare class GitLabSettings extends Request {
|
|
2228
2290
|
/** The self-hosted URL of the GitLab instance. */
|
2229
2291
|
url?: string;
|
2230
2292
|
}
|
2231
|
-
/**
|
2232
|
-
* GitHub OAuth token, plus information about the organizations the user is a member of.
|
2233
|
-
*
|
2234
|
-
* @param request - function to call the graphql client
|
2235
|
-
* @param data - L.GithubOAuthTokenPayloadFragment response data
|
2236
|
-
*/
|
2237
|
-
export declare class GithubOAuthTokenPayload extends Request {
|
2238
|
-
constructor(request: LinearRequest, data: L.GithubOAuthTokenPayloadFragment);
|
2239
|
-
/** The OAuth token if the operation to fetch it was successful. */
|
2240
|
-
token?: string;
|
2241
|
-
/** A list of the GitHub organizations the user is a member of with attached repositories. */
|
2242
|
-
organizations?: GithubOrg[];
|
2243
|
-
}
|
2244
|
-
/**
|
2245
|
-
* Relevant information for the GitHub organization.
|
2246
|
-
*
|
2247
|
-
* @param request - function to call the graphql client
|
2248
|
-
* @param data - L.GithubOrgFragment response data
|
2249
|
-
*/
|
2250
|
-
export declare class GithubOrg extends Request {
|
2251
|
-
constructor(request: LinearRequest, data: L.GithubOrgFragment);
|
2252
|
-
/** GitHub organization id. */
|
2253
|
-
id: string;
|
2254
|
-
/** Whether or not this org is the user's personal repositories. */
|
2255
|
-
isPersonal?: boolean;
|
2256
|
-
/** The login for the GitHub organization. */
|
2257
|
-
login: string;
|
2258
|
-
/** Repositories that the organization owns. */
|
2259
|
-
repositories: GithubRepo[];
|
2260
|
-
}
|
2261
|
-
/**
|
2262
|
-
* Relevant information for the GitHub repository.
|
2263
|
-
*
|
2264
|
-
* @param request - function to call the graphql client
|
2265
|
-
* @param data - L.GithubRepoFragment response data
|
2266
|
-
*/
|
2267
|
-
export declare class GithubRepo extends Request {
|
2268
|
-
constructor(request: LinearRequest, data: L.GithubRepoFragment);
|
2269
|
-
/** The id of the GitHub repository. */
|
2270
|
-
id: string;
|
2271
|
-
/** The name of the GitHub repository. */
|
2272
|
-
name: string;
|
2273
|
-
}
|
2274
2293
|
/**
|
2275
2294
|
* Google Sheets specific settings.
|
2276
2295
|
*
|
@@ -2312,6 +2331,51 @@ export declare class InitiativeArchivePayload extends Request {
|
|
2312
2331
|
/** Whether the operation was successful. */
|
2313
2332
|
success: boolean;
|
2314
2333
|
}
|
2334
|
+
/**
|
2335
|
+
* An initiative related notification.
|
2336
|
+
*
|
2337
|
+
* @param request - function to call the graphql client
|
2338
|
+
* @param data - L.InitiativeNotificationFragment response data
|
2339
|
+
*/
|
2340
|
+
export declare class InitiativeNotification extends Request {
|
2341
|
+
private _actor?;
|
2342
|
+
private _externalUserActor?;
|
2343
|
+
private _user;
|
2344
|
+
constructor(request: LinearRequest, data: L.InitiativeNotificationFragment);
|
2345
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2346
|
+
archivedAt?: Date;
|
2347
|
+
/** The time at which the entity was created. */
|
2348
|
+
createdAt: Date;
|
2349
|
+
/**
|
2350
|
+
* The time at when an email reminder for this notification was sent to the user. Null, if no email
|
2351
|
+
* reminder has been sent.
|
2352
|
+
*/
|
2353
|
+
emailedAt?: Date;
|
2354
|
+
/** The unique identifier of the entity. */
|
2355
|
+
id: string;
|
2356
|
+
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
2357
|
+
readAt?: Date;
|
2358
|
+
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
2359
|
+
snoozedUntilAt?: Date;
|
2360
|
+
/** Notification type. */
|
2361
|
+
type: string;
|
2362
|
+
/** The time at which a notification was unsnoozed.. */
|
2363
|
+
unsnoozedAt?: Date;
|
2364
|
+
/**
|
2365
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2366
|
+
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
2367
|
+
* been updated after creation.
|
2368
|
+
*/
|
2369
|
+
updatedAt: Date;
|
2370
|
+
/** The bot that caused the notification. */
|
2371
|
+
botActor?: ActorBot;
|
2372
|
+
/** The user that caused the notification. */
|
2373
|
+
get actor(): LinearFetch<User> | undefined;
|
2374
|
+
/** The external user that caused the notification. */
|
2375
|
+
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
2376
|
+
/** The user that received the notification. */
|
2377
|
+
get user(): LinearFetch<User> | undefined;
|
2378
|
+
}
|
2315
2379
|
/**
|
2316
2380
|
* An integration with an external service.
|
2317
2381
|
*
|
@@ -2407,6 +2471,7 @@ export declare class IntegrationSettings extends Request {
|
|
2407
2471
|
constructor(request: LinearRequest, data: L.IntegrationSettingsFragment);
|
2408
2472
|
front?: FrontSettings;
|
2409
2473
|
gitHub?: GitHubSettings;
|
2474
|
+
gitHubImport?: GitHubImportSettings;
|
2410
2475
|
gitHubPersonal?: GitHubPersonalSettings;
|
2411
2476
|
gitLab?: GitLabSettings;
|
2412
2477
|
googleSheets?: GoogleSheetsSettings;
|
@@ -2419,6 +2484,7 @@ export declare class IntegrationSettings extends Request {
|
|
2419
2484
|
sentry?: SentrySettings;
|
2420
2485
|
slack?: SlackSettings;
|
2421
2486
|
slackAsks?: SlackAsksSettings;
|
2487
|
+
slackCustomViewNotifications?: SlackPostSettings;
|
2422
2488
|
slackOrgProjectUpdatesPost?: SlackPostSettings;
|
2423
2489
|
slackPost?: SlackPostSettings;
|
2424
2490
|
slackProjectPost?: SlackPostSettings;
|
@@ -2871,10 +2937,15 @@ export declare class IssueHistory extends Request {
|
|
2871
2937
|
updatedAt: Date;
|
2872
2938
|
/** Whether the issue's description was updated. */
|
2873
2939
|
updatedDescription?: boolean;
|
2940
|
+
/** The actors that performed the actions. This field may be empty in the case of integrations or automations. */
|
2941
|
+
actors: User[];
|
2942
|
+
/** The labels that were added to the issue. */
|
2874
2943
|
addedLabels?: IssueLabel[];
|
2875
2944
|
/** Changed issue relationships. */
|
2876
2945
|
relationChanges?: IssueRelationHistoryPayload[];
|
2946
|
+
/** The labels that were removed from the issue. */
|
2877
2947
|
removedLabels?: IssueLabel[];
|
2948
|
+
/** The users that were notified of the issue. */
|
2878
2949
|
triageResponsibilityNotifiedUsers?: User[];
|
2879
2950
|
/** The bot that performed the action. */
|
2880
2951
|
botActor?: ActorBot;
|
@@ -2951,6 +3022,8 @@ export declare class IssueImport extends Request {
|
|
2951
3022
|
progress?: number;
|
2952
3023
|
/** The service from which data will be imported. */
|
2953
3024
|
service: string;
|
3025
|
+
/** Metadata related to import service. */
|
3026
|
+
serviceMetadata?: L.Scalars["JSONObject"];
|
2954
3027
|
/** The status for the import job. */
|
2955
3028
|
status: string;
|
2956
3029
|
/** New team's name in cases when teamId not set. */
|
@@ -3007,6 +3080,19 @@ export declare class IssueImportPayload extends Request {
|
|
3007
3080
|
/** The import job that was created or updated. */
|
3008
3081
|
issueImport?: IssueImport;
|
3009
3082
|
}
|
3083
|
+
/**
|
3084
|
+
* Whether an issue import can be synced at the end of an import or not
|
3085
|
+
*
|
3086
|
+
* @param request - function to call the graphql client
|
3087
|
+
* @param data - L.IssueImportSyncCheckPayloadFragment response data
|
3088
|
+
*/
|
3089
|
+
export declare class IssueImportSyncCheckPayload extends Request {
|
3090
|
+
constructor(request: LinearRequest, data: L.IssueImportSyncCheckPayloadFragment);
|
3091
|
+
/** Returns true if the import can be synced, false otherwise */
|
3092
|
+
canSync: boolean;
|
3093
|
+
/** An error message with a root cause of why the import cannot be synced */
|
3094
|
+
error?: string;
|
3095
|
+
}
|
3010
3096
|
/**
|
3011
3097
|
* Labels that can be associated with issues.
|
3012
3098
|
*
|
@@ -3198,7 +3284,7 @@ export declare class IssueRelation extends Request {
|
|
3198
3284
|
/** The related issue. */
|
3199
3285
|
get relatedIssue(): LinearFetch<Issue> | undefined;
|
3200
3286
|
/** Creates a new issue relation. */
|
3201
|
-
create(input: L.IssueRelationCreateInput): LinearFetch<IssueRelationPayload>;
|
3287
|
+
create(input: L.IssueRelationCreateInput, variables?: Omit<L.CreateIssueRelationMutationVariables, "input">): LinearFetch<IssueRelationPayload>;
|
3202
3288
|
/** Deletes an issue relation. */
|
3203
3289
|
delete(): LinearFetch<DeletePayload>;
|
3204
3290
|
/** Updates an issue relation. */
|
@@ -3441,6 +3527,10 @@ export declare class JiraSettings extends Request {
|
|
3441
3527
|
constructor(request: LinearRequest, data: L.JiraSettingsFragment);
|
3442
3528
|
/** Whether this integration is for Jira Server or not. */
|
3443
3529
|
isJiraServer?: boolean;
|
3530
|
+
/** Whether this integration is using a manual setup flow. */
|
3531
|
+
manualSetup?: boolean;
|
3532
|
+
/** Whether the user needs to provide setup information about the webhook to complete the integration setup. Only relevant for integrations that use a manual setup flow */
|
3533
|
+
setupPending?: boolean;
|
3444
3534
|
/** The mapping of Jira project id => Linear team id. */
|
3445
3535
|
projectMapping?: JiraLinearMapping[];
|
3446
3536
|
/** The Jira projects for the organization. */
|
@@ -3604,8 +3694,70 @@ export declare class NotificationBatchActionPayload extends Request {
|
|
3604
3694
|
* @param fetch - function to trigger a refetch of this NotificationConnection model
|
3605
3695
|
* @param data - NotificationConnection response data
|
3606
3696
|
*/
|
3607
|
-
export declare class NotificationConnection extends Connection<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> {
|
3608
|
-
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> | undefined>, data: L.NotificationConnectionFragment);
|
3697
|
+
export declare class NotificationConnection extends Connection<DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> {
|
3698
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> | undefined>, data: L.NotificationConnectionFragment);
|
3699
|
+
}
|
3700
|
+
/**
|
3701
|
+
* A user's notification delivery preferences.
|
3702
|
+
*
|
3703
|
+
* @param request - function to call the graphql client
|
3704
|
+
* @param data - L.NotificationDeliveryPreferencesFragment response data
|
3705
|
+
*/
|
3706
|
+
export declare class NotificationDeliveryPreferences extends Request {
|
3707
|
+
constructor(request: LinearRequest, data: L.NotificationDeliveryPreferencesFragment);
|
3708
|
+
/** The delivery preferences for the mobile channel. */
|
3709
|
+
mobile?: NotificationDeliveryPreferencesChannel;
|
3710
|
+
}
|
3711
|
+
/**
|
3712
|
+
* A user's notification delivery preferences.
|
3713
|
+
*
|
3714
|
+
* @param request - function to call the graphql client
|
3715
|
+
* @param data - L.NotificationDeliveryPreferencesChannelFragment response data
|
3716
|
+
*/
|
3717
|
+
export declare class NotificationDeliveryPreferencesChannel extends Request {
|
3718
|
+
constructor(request: LinearRequest, data: L.NotificationDeliveryPreferencesChannelFragment);
|
3719
|
+
/** Whether notifications are enabled for this channel. */
|
3720
|
+
notificationsDisabled?: boolean;
|
3721
|
+
/** The schedule for notifications on this channel. */
|
3722
|
+
schedule: NotificationDeliveryPreferencesSchedule;
|
3723
|
+
}
|
3724
|
+
/**
|
3725
|
+
* A user's notification delivery schedule for a particular day.
|
3726
|
+
*
|
3727
|
+
* @param request - function to call the graphql client
|
3728
|
+
* @param data - L.NotificationDeliveryPreferencesDayFragment response data
|
3729
|
+
*/
|
3730
|
+
export declare class NotificationDeliveryPreferencesDay extends Request {
|
3731
|
+
constructor(request: LinearRequest, data: L.NotificationDeliveryPreferencesDayFragment);
|
3732
|
+
/** The time notifications end. */
|
3733
|
+
end?: string;
|
3734
|
+
/** The time notifications start. */
|
3735
|
+
start?: string;
|
3736
|
+
}
|
3737
|
+
/**
|
3738
|
+
* A user's notification delivery schedule for a particular day.
|
3739
|
+
*
|
3740
|
+
* @param request - function to call the graphql client
|
3741
|
+
* @param data - L.NotificationDeliveryPreferencesScheduleFragment response data
|
3742
|
+
*/
|
3743
|
+
export declare class NotificationDeliveryPreferencesSchedule extends Request {
|
3744
|
+
constructor(request: LinearRequest, data: L.NotificationDeliveryPreferencesScheduleFragment);
|
3745
|
+
/** Whether the schedule is disabled. */
|
3746
|
+
disabled?: boolean;
|
3747
|
+
/** Delivery preferences for Friday. */
|
3748
|
+
friday: NotificationDeliveryPreferencesDay;
|
3749
|
+
/** Delivery preferences for Monday. */
|
3750
|
+
monday: NotificationDeliveryPreferencesDay;
|
3751
|
+
/** Delivery preferences for Saturday. */
|
3752
|
+
saturday: NotificationDeliveryPreferencesDay;
|
3753
|
+
/** Delivery preferences for Sunday. */
|
3754
|
+
sunday: NotificationDeliveryPreferencesDay;
|
3755
|
+
/** Delivery preferences for Thursday. */
|
3756
|
+
thursday: NotificationDeliveryPreferencesDay;
|
3757
|
+
/** Delivery preferences for Tuesday. */
|
3758
|
+
tuesday: NotificationDeliveryPreferencesDay;
|
3759
|
+
/** Delivery preferences for Wednesday. */
|
3760
|
+
wednesday: NotificationDeliveryPreferencesDay;
|
3609
3761
|
}
|
3610
3762
|
/**
|
3611
3763
|
* NotificationPayload model
|
@@ -3930,7 +4082,7 @@ export declare class Organization extends Request {
|
|
3930
4082
|
samlEnabled: boolean;
|
3931
4083
|
/** Whether SCIM provisioning is enabled for organization. */
|
3932
4084
|
scimEnabled: boolean;
|
3933
|
-
/** The time at which the trial
|
4085
|
+
/** The time at which the trial will end. */
|
3934
4086
|
trialEndsAt?: Date;
|
3935
4087
|
/**
|
3936
4088
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
@@ -4017,6 +4169,8 @@ export declare class OrganizationDomain extends Request {
|
|
4017
4169
|
claimed?: boolean;
|
4018
4170
|
/** The time at which the entity was created. */
|
4019
4171
|
createdAt: Date;
|
4172
|
+
/** Prevent users with this domain to create new workspaces. */
|
4173
|
+
disableOrganizationCreation?: boolean;
|
4020
4174
|
/** The unique identifier of the entity. */
|
4021
4175
|
id: string;
|
4022
4176
|
/** Domain name. */
|
@@ -4176,6 +4330,19 @@ export declare class OrganizationInvitePayload extends Request {
|
|
4176
4330
|
/** The organization invite that was created or updated. */
|
4177
4331
|
get organizationInvite(): LinearFetch<OrganizationInvite> | undefined;
|
4178
4332
|
}
|
4333
|
+
/**
|
4334
|
+
* OrganizationMeta model
|
4335
|
+
*
|
4336
|
+
* @param request - function to call the graphql client
|
4337
|
+
* @param data - L.OrganizationMetaFragment response data
|
4338
|
+
*/
|
4339
|
+
export declare class OrganizationMeta extends Request {
|
4340
|
+
constructor(request: LinearRequest, data: L.OrganizationMetaFragment);
|
4341
|
+
/** Allowed authentication providers, empty array means all are allowed. */
|
4342
|
+
allowedAuthServices: string[];
|
4343
|
+
/** The region the organization is hosted in. */
|
4344
|
+
region: string;
|
4345
|
+
}
|
4179
4346
|
/**
|
4180
4347
|
* OrganizationPayload model
|
4181
4348
|
*
|
@@ -4205,13 +4372,13 @@ export declare class OrganizationRegionResponse extends Request {
|
|
4205
4372
|
success: boolean;
|
4206
4373
|
}
|
4207
4374
|
/**
|
4208
|
-
*
|
4375
|
+
* OrganizationStartTrialPayload model
|
4209
4376
|
*
|
4210
4377
|
* @param request - function to call the graphql client
|
4211
|
-
* @param data - L.
|
4378
|
+
* @param data - L.OrganizationStartTrialPayloadFragment response data
|
4212
4379
|
*/
|
4213
|
-
export declare class
|
4214
|
-
constructor(request: LinearRequest, data: L.
|
4380
|
+
export declare class OrganizationStartTrialPayload extends Request {
|
4381
|
+
constructor(request: LinearRequest, data: L.OrganizationStartTrialPayloadFragment);
|
4215
4382
|
/** Whether the operation was successful. */
|
4216
4383
|
success: boolean;
|
4217
4384
|
}
|
@@ -4285,6 +4452,52 @@ export declare class PaidSubscription extends Request {
|
|
4285
4452
|
/** The organization that the subscription is associated with. */
|
4286
4453
|
get organization(): LinearFetch<Organization>;
|
4287
4454
|
}
|
4455
|
+
/**
|
4456
|
+
* Registered passkey for authentication.
|
4457
|
+
*
|
4458
|
+
* @param request - function to call the graphql client
|
4459
|
+
* @param data - L.PasskeyFragment response data
|
4460
|
+
*/
|
4461
|
+
export declare class Passkey extends Request {
|
4462
|
+
constructor(request: LinearRequest, data: L.PasskeyFragment);
|
4463
|
+
aaguid: string;
|
4464
|
+
/** Used web browser. Only set on creation. */
|
4465
|
+
browserType?: string;
|
4466
|
+
/** The time at which the entity was created. */
|
4467
|
+
createdAt: Date;
|
4468
|
+
id: string;
|
4469
|
+
/** IP address. Only set on creation. */
|
4470
|
+
ip?: string;
|
4471
|
+
label: string;
|
4472
|
+
/** The time when the passkey was last used. */
|
4473
|
+
lastUsedAt: Date;
|
4474
|
+
lastUsedSessionId?: string;
|
4475
|
+
/** Location city name. Only set on creation. */
|
4476
|
+
locationCity?: string;
|
4477
|
+
/** Location country name. Only set on creation. */
|
4478
|
+
locationCountry?: string;
|
4479
|
+
/** Location country code. Only set on creation. */
|
4480
|
+
locationCountryCode?: string;
|
4481
|
+
/** Location region code. Only set on creation. */
|
4482
|
+
locationRegionCode?: string;
|
4483
|
+
/** Date when the passkey was last updated. */
|
4484
|
+
updatedAt: Date;
|
4485
|
+
/** Creating session's user-agent. Only set on creation. */
|
4486
|
+
userAgent?: string;
|
4487
|
+
/** Type of application used to create. */
|
4488
|
+
clientType: L.AuthenticationSessionType;
|
4489
|
+
}
|
4490
|
+
/**
|
4491
|
+
* PasskeyLoginStartResponse model
|
4492
|
+
*
|
4493
|
+
* @param request - function to call the graphql client
|
4494
|
+
* @param data - L.PasskeyLoginStartResponseFragment response data
|
4495
|
+
*/
|
4496
|
+
export declare class PasskeyLoginStartResponse extends Request {
|
4497
|
+
constructor(request: LinearRequest, data: L.PasskeyLoginStartResponseFragment);
|
4498
|
+
options: L.Scalars["JSONObject"];
|
4499
|
+
success: boolean;
|
4500
|
+
}
|
4288
4501
|
/**
|
4289
4502
|
* A project.
|
4290
4503
|
*
|
@@ -4430,6 +4643,19 @@ export declare class ProjectArchivePayload extends Request {
|
|
4430
4643
|
export declare class ProjectConnection extends Connection<Project> {
|
4431
4644
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Project> | undefined>, data: L.ProjectConnectionFragment);
|
4432
4645
|
}
|
4646
|
+
/**
|
4647
|
+
* ProjectDetailSuggestionPayload model
|
4648
|
+
*
|
4649
|
+
* @param request - function to call the graphql client
|
4650
|
+
* @param data - L.ProjectDetailSuggestionPayloadFragment response data
|
4651
|
+
*/
|
4652
|
+
export declare class ProjectDetailSuggestionPayload extends Request {
|
4653
|
+
constructor(request: LinearRequest, data: L.ProjectDetailSuggestionPayloadFragment);
|
4654
|
+
/** The suggested project color. */
|
4655
|
+
color?: string;
|
4656
|
+
/** The suggested view icon. */
|
4657
|
+
icon?: string;
|
4658
|
+
}
|
4433
4659
|
/**
|
4434
4660
|
* ProjectFilterSuggestionPayload model
|
4435
4661
|
*
|
@@ -5264,8 +5490,10 @@ export declare class Reminder extends Request {
|
|
5264
5490
|
createdAt: Date;
|
5265
5491
|
/** The unique identifier of the entity. */
|
5266
5492
|
id: string;
|
5267
|
-
/** The time when a reminder triggers a notification in
|
5268
|
-
remindAt
|
5493
|
+
/** The time when a reminder triggers a notification in the user's inbox. */
|
5494
|
+
remindAt?: Date;
|
5495
|
+
/** Scheduling settings for recurring reminders. */
|
5496
|
+
schedule?: L.Scalars["JSONObject"];
|
5269
5497
|
/**
|
5270
5498
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
5271
5499
|
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
@@ -5456,6 +5684,8 @@ export declare class SentrySettings extends Request {
|
|
5456
5684
|
*/
|
5457
5685
|
export declare class SharedSlackSettings extends Request {
|
5458
5686
|
constructor(request: LinearRequest, data: L.SharedSlackSettingsFragment);
|
5687
|
+
/** Enterprise id of the connected Slack enterprise */
|
5688
|
+
enterpriseId?: string;
|
5459
5689
|
/** Enterprise name of the connected Slack enterprise */
|
5460
5690
|
enterpriseName?: string;
|
5461
5691
|
/** Whether to show unfurl previews in Slack */
|
@@ -5473,6 +5703,8 @@ export declare class SharedSlackSettings extends Request {
|
|
5473
5703
|
*/
|
5474
5704
|
export declare class SlackAsksSettings extends Request {
|
5475
5705
|
constructor(request: LinearRequest, data: L.SlackAsksSettingsFragment);
|
5706
|
+
/** Enterprise id of the connected Slack enterprise */
|
5707
|
+
enterpriseId?: string;
|
5476
5708
|
/** Enterprise name of the connected Slack enterprise */
|
5477
5709
|
enterpriseName?: string;
|
5478
5710
|
/** Whether to show unfurl previews in Slack */
|
@@ -5573,6 +5805,8 @@ export declare class SlackPostSettings extends Request {
|
|
5573
5805
|
*/
|
5574
5806
|
export declare class SlackSettings extends Request {
|
5575
5807
|
constructor(request: LinearRequest, data: L.SlackSettingsFragment);
|
5808
|
+
/** Enterprise id of the connected Slack enterprise */
|
5809
|
+
enterpriseId?: string;
|
5576
5810
|
/** Enterprise name of the connected Slack enterprise */
|
5577
5811
|
enterpriseName?: string;
|
5578
5812
|
/** Whether Linear should automatically respond with issue unfurls when an issue identifier is mentioned in a Slack message. */
|
@@ -5597,6 +5831,19 @@ export declare class SsoUrlFromEmailResponse extends Request {
|
|
5597
5831
|
/** Whether the operation was successful. */
|
5598
5832
|
success: boolean;
|
5599
5833
|
}
|
5834
|
+
/**
|
5835
|
+
* SuccessPayload model
|
5836
|
+
*
|
5837
|
+
* @param request - function to call the graphql client
|
5838
|
+
* @param data - L.SuccessPayloadFragment response data
|
5839
|
+
*/
|
5840
|
+
export declare class SuccessPayload extends Request {
|
5841
|
+
constructor(request: LinearRequest, data: L.SuccessPayloadFragment);
|
5842
|
+
/** The identifier of the last sync operation. */
|
5843
|
+
lastSyncId: number;
|
5844
|
+
/** Whether the operation was successful. */
|
5845
|
+
success: boolean;
|
5846
|
+
}
|
5600
5847
|
/**
|
5601
5848
|
* SummaryPayload model
|
5602
5849
|
*
|
@@ -6032,6 +6279,46 @@ export declare class TemplatePayload extends Request {
|
|
6032
6279
|
/** The template that was created or updated. */
|
6033
6280
|
get template(): LinearFetch<Template> | undefined;
|
6034
6281
|
}
|
6282
|
+
/**
|
6283
|
+
* A text draft, used for comments and project updates.
|
6284
|
+
*
|
6285
|
+
* @param request - function to call the graphql client
|
6286
|
+
* @param data - L.TextDraftFragment response data
|
6287
|
+
*/
|
6288
|
+
export declare class TextDraft extends Request {
|
6289
|
+
private _issue?;
|
6290
|
+
private _parentComment?;
|
6291
|
+
private _project?;
|
6292
|
+
private _projectUpdate?;
|
6293
|
+
private _user;
|
6294
|
+
constructor(request: LinearRequest, data: L.TextDraftFragment);
|
6295
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
6296
|
+
archivedAt?: Date;
|
6297
|
+
/** The text content as a Prosemirror document. */
|
6298
|
+
bodyData: Record<string, unknown>;
|
6299
|
+
/** The time at which the entity was created. */
|
6300
|
+
createdAt: Date;
|
6301
|
+
/** The unique identifier of the entity. */
|
6302
|
+
id: string;
|
6303
|
+
/** Whether the draft was autogenerated for the user. */
|
6304
|
+
isAutogenerated: boolean;
|
6305
|
+
/**
|
6306
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
6307
|
+
* for which updates should not produce an update to updatedAt (see skipUpdatedAtKeys). This is the same as the creation time if the entity hasn't
|
6308
|
+
* been updated after creation.
|
6309
|
+
*/
|
6310
|
+
updatedAt: Date;
|
6311
|
+
/** The issue for which this is a draft comment. */
|
6312
|
+
get issue(): LinearFetch<Issue> | undefined;
|
6313
|
+
/** The comment for which this is a draft comment reply. */
|
6314
|
+
get parentComment(): LinearFetch<Comment> | undefined;
|
6315
|
+
/** The project for which this is a draft project update. */
|
6316
|
+
get project(): LinearFetch<Project> | undefined;
|
6317
|
+
/** The project update for which this is a draft comment. */
|
6318
|
+
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
|
6319
|
+
/** The user who created the draft. */
|
6320
|
+
get user(): LinearFetch<User> | undefined;
|
6321
|
+
}
|
6035
6322
|
/**
|
6036
6323
|
* A time schedule.
|
6037
6324
|
*
|
@@ -6496,6 +6783,8 @@ export declare class UserSettings extends Request {
|
|
6496
6783
|
* been updated after creation.
|
6497
6784
|
*/
|
6498
6785
|
updatedAt: Date;
|
6786
|
+
/** The notification delivery preferences for the user. */
|
6787
|
+
notificationDeliveryPreferences: NotificationDeliveryPreferences;
|
6499
6788
|
/** The user associated with these settings. */
|
6500
6789
|
get user(): LinearFetch<User> | undefined;
|
6501
6790
|
/** Updates the user's settings. */
|
@@ -7517,19 +7806,19 @@ export declare class IssueImportCheckCsvQuery extends Request {
|
|
7517
7806
|
fetch(csvUrl: string, service: string): LinearFetch<IssueImportCheckPayload>;
|
7518
7807
|
}
|
7519
7808
|
/**
|
7520
|
-
* A fetchable
|
7809
|
+
* A fetchable IssueImportCheckSync Query
|
7521
7810
|
*
|
7522
7811
|
* @param request - function to call the graphql client
|
7523
7812
|
*/
|
7524
|
-
export declare class
|
7813
|
+
export declare class IssueImportCheckSyncQuery extends Request {
|
7525
7814
|
constructor(request: LinearRequest);
|
7526
7815
|
/**
|
7527
|
-
* Call the
|
7816
|
+
* Call the IssueImportCheckSync query and return a IssueImportSyncCheckPayload
|
7528
7817
|
*
|
7529
|
-
* @param
|
7530
|
-
* @returns parsed response from
|
7818
|
+
* @param issueImportId - required issueImportId to pass to issueImportCheckSync
|
7819
|
+
* @returns parsed response from IssueImportCheckSyncQuery
|
7531
7820
|
*/
|
7532
|
-
fetch(
|
7821
|
+
fetch(issueImportId: string): LinearFetch<IssueImportSyncCheckPayload>;
|
7533
7822
|
}
|
7534
7823
|
/**
|
7535
7824
|
* A fetchable IssueLabel Query
|
@@ -7663,7 +7952,7 @@ export declare class NotificationQuery extends Request {
|
|
7663
7952
|
* @param id - required id to pass to notification
|
7664
7953
|
* @returns parsed response from NotificationQuery
|
7665
7954
|
*/
|
7666
|
-
fetch(id: string): LinearFetch<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
7955
|
+
fetch(id: string): LinearFetch<DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
7667
7956
|
}
|
7668
7957
|
/**
|
7669
7958
|
* A fetchable NotificationSubscription Query
|
@@ -8414,36 +8703,6 @@ export declare class AirbyteIntegrationConnectMutation extends Request {
|
|
8414
8703
|
*/
|
8415
8704
|
fetch(input: L.AirbyteConfigurationInput): LinearFetch<IntegrationPayload>;
|
8416
8705
|
}
|
8417
|
-
/**
|
8418
|
-
* A fetchable CreateApiKey Mutation
|
8419
|
-
*
|
8420
|
-
* @param request - function to call the graphql client
|
8421
|
-
*/
|
8422
|
-
export declare class CreateApiKeyMutation extends Request {
|
8423
|
-
constructor(request: LinearRequest);
|
8424
|
-
/**
|
8425
|
-
* Call the CreateApiKey mutation and return a ApiKeyPayload
|
8426
|
-
*
|
8427
|
-
* @param input - required input to pass to createApiKey
|
8428
|
-
* @returns parsed response from CreateApiKeyMutation
|
8429
|
-
*/
|
8430
|
-
fetch(input: L.ApiKeyCreateInput): LinearFetch<ApiKeyPayload>;
|
8431
|
-
}
|
8432
|
-
/**
|
8433
|
-
* A fetchable DeleteApiKey Mutation
|
8434
|
-
*
|
8435
|
-
* @param request - function to call the graphql client
|
8436
|
-
*/
|
8437
|
-
export declare class DeleteApiKeyMutation extends Request {
|
8438
|
-
constructor(request: LinearRequest);
|
8439
|
-
/**
|
8440
|
-
* Call the DeleteApiKey mutation and return a DeletePayload
|
8441
|
-
*
|
8442
|
-
* @param id - required id to pass to deleteApiKey
|
8443
|
-
* @returns parsed response from DeleteApiKeyMutation
|
8444
|
-
*/
|
8445
|
-
fetch(id: string): LinearFetch<DeletePayload>;
|
8446
|
-
}
|
8447
8706
|
/**
|
8448
8707
|
* A fetchable ArchiveAttachment Mutation
|
8449
8708
|
*
|
@@ -8662,6 +8921,21 @@ export declare class AttachmentLinkZendeskMutation extends Request {
|
|
8662
8921
|
*/
|
8663
8922
|
fetch(issueId: string, ticketId: string, variables?: Omit<L.AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
|
8664
8923
|
}
|
8924
|
+
/**
|
8925
|
+
* A fetchable AttachmentSyncToSlack Mutation
|
8926
|
+
*
|
8927
|
+
* @param request - function to call the graphql client
|
8928
|
+
*/
|
8929
|
+
export declare class AttachmentSyncToSlackMutation extends Request {
|
8930
|
+
constructor(request: LinearRequest);
|
8931
|
+
/**
|
8932
|
+
* Call the AttachmentSyncToSlack mutation and return a AttachmentPayload
|
8933
|
+
*
|
8934
|
+
* @param id - required id to pass to attachmentSyncToSlack
|
8935
|
+
* @returns parsed response from AttachmentSyncToSlackMutation
|
8936
|
+
*/
|
8937
|
+
fetch(id: string): LinearFetch<AttachmentPayload>;
|
8938
|
+
}
|
8665
8939
|
/**
|
8666
8940
|
* A fetchable UpdateAttachment Mutation
|
8667
8941
|
*
|
@@ -9000,22 +9274,6 @@ export declare class DeleteDocumentMutation extends Request {
|
|
9000
9274
|
*/
|
9001
9275
|
fetch(id: string): LinearFetch<DeletePayload>;
|
9002
9276
|
}
|
9003
|
-
/**
|
9004
|
-
* A fetchable DocumentReminder Mutation
|
9005
|
-
*
|
9006
|
-
* @param request - function to call the graphql client
|
9007
|
-
*/
|
9008
|
-
export declare class DocumentReminderMutation extends Request {
|
9009
|
-
constructor(request: LinearRequest);
|
9010
|
-
/**
|
9011
|
-
* Call the DocumentReminder mutation and return a DocumentPayload
|
9012
|
-
*
|
9013
|
-
* @param id - required id to pass to documentReminder
|
9014
|
-
* @param reminderAt - required reminderAt to pass to documentReminder
|
9015
|
-
* @returns parsed response from DocumentReminderMutation
|
9016
|
-
*/
|
9017
|
-
fetch(id: string, reminderAt: Date): LinearFetch<DocumentPayload>;
|
9018
|
-
}
|
9019
9277
|
/**
|
9020
9278
|
* A fetchable UpdateDocument Mutation
|
9021
9279
|
*
|
@@ -9556,6 +9814,21 @@ export declare class IntegrationGithubConnectMutation extends Request {
|
|
9556
9814
|
*/
|
9557
9815
|
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
9558
9816
|
}
|
9817
|
+
/**
|
9818
|
+
* A fetchable IntegrationGithubImportConnect Mutation
|
9819
|
+
*
|
9820
|
+
* @param request - function to call the graphql client
|
9821
|
+
*/
|
9822
|
+
export declare class IntegrationGithubImportConnectMutation extends Request {
|
9823
|
+
constructor(request: LinearRequest);
|
9824
|
+
/**
|
9825
|
+
* Call the IntegrationGithubImportConnect mutation and return a IntegrationPayload
|
9826
|
+
*
|
9827
|
+
* @param installationId - required installationId to pass to integrationGithubImportConnect
|
9828
|
+
* @returns parsed response from IntegrationGithubImportConnectMutation
|
9829
|
+
*/
|
9830
|
+
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
9831
|
+
}
|
9559
9832
|
/**
|
9560
9833
|
* A fetchable IntegrationGitlabConnect Mutation
|
9561
9834
|
*
|
@@ -9727,6 +10000,23 @@ export declare class IntegrationSlackAsksMutation extends Request {
|
|
9727
10000
|
*/
|
9728
10001
|
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
9729
10002
|
}
|
10003
|
+
/**
|
10004
|
+
* A fetchable IntegrationSlackCustomViewNotifications Mutation
|
10005
|
+
*
|
10006
|
+
* @param request - function to call the graphql client
|
10007
|
+
*/
|
10008
|
+
export declare class IntegrationSlackCustomViewNotificationsMutation extends Request {
|
10009
|
+
constructor(request: LinearRequest);
|
10010
|
+
/**
|
10011
|
+
* Call the IntegrationSlackCustomViewNotifications mutation and return a SlackChannelConnectPayload
|
10012
|
+
*
|
10013
|
+
* @param code - required code to pass to integrationSlackCustomViewNotifications
|
10014
|
+
* @param customViewId - required customViewId to pass to integrationSlackCustomViewNotifications
|
10015
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackCustomViewNotifications
|
10016
|
+
* @returns parsed response from IntegrationSlackCustomViewNotificationsMutation
|
10017
|
+
*/
|
10018
|
+
fetch(code: string, customViewId: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
|
10019
|
+
}
|
9730
10020
|
/**
|
9731
10021
|
* A fetchable IntegrationSlackImportEmojis Mutation
|
9732
10022
|
*
|
@@ -10044,13 +10334,11 @@ export declare class IssueImportCreateGithubMutation extends Request {
|
|
10044
10334
|
/**
|
10045
10335
|
* Call the IssueImportCreateGithub mutation and return a IssueImportPayload
|
10046
10336
|
*
|
10047
|
-
* @param
|
10048
|
-
* @param
|
10049
|
-
* @param githubToken - required githubToken to pass to issueImportCreateGithub
|
10050
|
-
* @param variables - variables without 'githubRepoName', 'githubRepoOwner', 'githubToken' to pass into the IssueImportCreateGithubMutation
|
10337
|
+
* @param integrationId - required integrationId to pass to issueImportCreateGithub
|
10338
|
+
* @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
|
10051
10339
|
* @returns parsed response from IssueImportCreateGithubMutation
|
10052
10340
|
*/
|
10053
|
-
fetch(
|
10341
|
+
fetch(integrationId: string, variables?: Omit<L.IssueImportCreateGithubMutationVariables, "integrationId">): LinearFetch<IssueImportPayload>;
|
10054
10342
|
}
|
10055
10343
|
/**
|
10056
10344
|
* A fetchable IssueImportCreateJira Mutation
|
@@ -10177,9 +10465,10 @@ export declare class CreateIssueRelationMutation extends Request {
|
|
10177
10465
|
* Call the CreateIssueRelation mutation and return a IssueRelationPayload
|
10178
10466
|
*
|
10179
10467
|
* @param input - required input to pass to createIssueRelation
|
10468
|
+
* @param variables - variables without 'input' to pass into the CreateIssueRelationMutation
|
10180
10469
|
* @returns parsed response from CreateIssueRelationMutation
|
10181
10470
|
*/
|
10182
|
-
fetch(input: L.IssueRelationCreateInput): LinearFetch<IssueRelationPayload>;
|
10471
|
+
fetch(input: L.IssueRelationCreateInput, variables?: Omit<L.CreateIssueRelationMutationVariables, "input">): LinearFetch<IssueRelationPayload>;
|
10183
10472
|
}
|
10184
10473
|
/**
|
10185
10474
|
* A fetchable DeleteIssueRelation Mutation
|
@@ -10669,18 +10958,18 @@ export declare class UpdateOrganizationInviteMutation extends Request {
|
|
10669
10958
|
fetch(id: string, input: L.OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
|
10670
10959
|
}
|
10671
10960
|
/**
|
10672
|
-
* A fetchable
|
10961
|
+
* A fetchable OrganizationStartTrial Mutation
|
10673
10962
|
*
|
10674
10963
|
* @param request - function to call the graphql client
|
10675
10964
|
*/
|
10676
|
-
export declare class
|
10965
|
+
export declare class OrganizationStartTrialMutation extends Request {
|
10677
10966
|
constructor(request: LinearRequest);
|
10678
10967
|
/**
|
10679
|
-
* Call the
|
10968
|
+
* Call the OrganizationStartTrial mutation and return a OrganizationStartTrialPayload
|
10680
10969
|
*
|
10681
|
-
* @returns parsed response from
|
10970
|
+
* @returns parsed response from OrganizationStartTrialMutation
|
10682
10971
|
*/
|
10683
|
-
fetch(): LinearFetch<
|
10972
|
+
fetch(): LinearFetch<OrganizationStartTrialPayload>;
|
10684
10973
|
}
|
10685
10974
|
/**
|
10686
10975
|
* A fetchable UpdateOrganization Mutation
|
@@ -12068,6 +12357,25 @@ export declare class CustomView_OrganizationViewPreferencesQuery extends Request
|
|
12068
12357
|
*/
|
12069
12358
|
fetch(): LinearFetch<ViewPreferences | undefined>;
|
12070
12359
|
}
|
12360
|
+
/**
|
12361
|
+
* A fetchable CustomView_Projects Query
|
12362
|
+
*
|
12363
|
+
* @param request - function to call the graphql client
|
12364
|
+
* @param id - required id to pass to customView
|
12365
|
+
* @param variables - variables without 'id' to pass into the CustomView_ProjectsQuery
|
12366
|
+
*/
|
12367
|
+
export declare class CustomView_ProjectsQuery extends Request {
|
12368
|
+
private _id;
|
12369
|
+
private _variables?;
|
12370
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.CustomView_ProjectsQueryVariables, "id">);
|
12371
|
+
/**
|
12372
|
+
* Call the CustomView_Projects query and return a ProjectConnection
|
12373
|
+
*
|
12374
|
+
* @param variables - variables without 'id' to pass into the CustomView_ProjectsQuery
|
12375
|
+
* @returns parsed response from CustomView_ProjectsQuery
|
12376
|
+
*/
|
12377
|
+
fetch(variables?: Omit<L.CustomView_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
12378
|
+
}
|
12071
12379
|
/**
|
12072
12380
|
* A fetchable CustomView_UserViewPreferences Query
|
12073
12381
|
*
|
@@ -13207,6 +13515,146 @@ export declare class User_TeamsQuery extends Request {
|
|
13207
13515
|
*/
|
13208
13516
|
fetch(variables?: Omit<L.User_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
|
13209
13517
|
}
|
13518
|
+
/**
|
13519
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences Query
|
13520
|
+
*
|
13521
|
+
* @param request - function to call the graphql client
|
13522
|
+
*/
|
13523
|
+
export declare class UserSettings_NotificationDeliveryPreferencesQuery extends Request {
|
13524
|
+
constructor(request: LinearRequest);
|
13525
|
+
/**
|
13526
|
+
* Call the UserSettings_NotificationDeliveryPreferences query and return a NotificationDeliveryPreferences
|
13527
|
+
*
|
13528
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferencesQuery
|
13529
|
+
*/
|
13530
|
+
fetch(): LinearFetch<NotificationDeliveryPreferences>;
|
13531
|
+
}
|
13532
|
+
/**
|
13533
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile Query
|
13534
|
+
*
|
13535
|
+
* @param request - function to call the graphql client
|
13536
|
+
*/
|
13537
|
+
export declare class UserSettings_NotificationDeliveryPreferences_MobileQuery extends Request {
|
13538
|
+
constructor(request: LinearRequest);
|
13539
|
+
/**
|
13540
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile query and return a NotificationDeliveryPreferencesChannel
|
13541
|
+
*
|
13542
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_MobileQuery
|
13543
|
+
*/
|
13544
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesChannel | undefined>;
|
13545
|
+
}
|
13546
|
+
/**
|
13547
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule Query
|
13548
|
+
*
|
13549
|
+
* @param request - function to call the graphql client
|
13550
|
+
*/
|
13551
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_ScheduleQuery extends Request {
|
13552
|
+
constructor(request: LinearRequest);
|
13553
|
+
/**
|
13554
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule query and return a NotificationDeliveryPreferencesSchedule
|
13555
|
+
*
|
13556
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_ScheduleQuery
|
13557
|
+
*/
|
13558
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesSchedule | undefined>;
|
13559
|
+
}
|
13560
|
+
/**
|
13561
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Friday Query
|
13562
|
+
*
|
13563
|
+
* @param request - function to call the graphql client
|
13564
|
+
*/
|
13565
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_FridayQuery extends Request {
|
13566
|
+
constructor(request: LinearRequest);
|
13567
|
+
/**
|
13568
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Friday query and return a NotificationDeliveryPreferencesDay
|
13569
|
+
*
|
13570
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_FridayQuery
|
13571
|
+
*/
|
13572
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13573
|
+
}
|
13574
|
+
/**
|
13575
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Monday Query
|
13576
|
+
*
|
13577
|
+
* @param request - function to call the graphql client
|
13578
|
+
*/
|
13579
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_MondayQuery extends Request {
|
13580
|
+
constructor(request: LinearRequest);
|
13581
|
+
/**
|
13582
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Monday query and return a NotificationDeliveryPreferencesDay
|
13583
|
+
*
|
13584
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_MondayQuery
|
13585
|
+
*/
|
13586
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13587
|
+
}
|
13588
|
+
/**
|
13589
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Saturday Query
|
13590
|
+
*
|
13591
|
+
* @param request - function to call the graphql client
|
13592
|
+
*/
|
13593
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SaturdayQuery extends Request {
|
13594
|
+
constructor(request: LinearRequest);
|
13595
|
+
/**
|
13596
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Saturday query and return a NotificationDeliveryPreferencesDay
|
13597
|
+
*
|
13598
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SaturdayQuery
|
13599
|
+
*/
|
13600
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13601
|
+
}
|
13602
|
+
/**
|
13603
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Sunday Query
|
13604
|
+
*
|
13605
|
+
* @param request - function to call the graphql client
|
13606
|
+
*/
|
13607
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SundayQuery extends Request {
|
13608
|
+
constructor(request: LinearRequest);
|
13609
|
+
/**
|
13610
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Sunday query and return a NotificationDeliveryPreferencesDay
|
13611
|
+
*
|
13612
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SundayQuery
|
13613
|
+
*/
|
13614
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13615
|
+
}
|
13616
|
+
/**
|
13617
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Thursday Query
|
13618
|
+
*
|
13619
|
+
* @param request - function to call the graphql client
|
13620
|
+
*/
|
13621
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_ThursdayQuery extends Request {
|
13622
|
+
constructor(request: LinearRequest);
|
13623
|
+
/**
|
13624
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Thursday query and return a NotificationDeliveryPreferencesDay
|
13625
|
+
*
|
13626
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_ThursdayQuery
|
13627
|
+
*/
|
13628
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13629
|
+
}
|
13630
|
+
/**
|
13631
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Tuesday Query
|
13632
|
+
*
|
13633
|
+
* @param request - function to call the graphql client
|
13634
|
+
*/
|
13635
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_TuesdayQuery extends Request {
|
13636
|
+
constructor(request: LinearRequest);
|
13637
|
+
/**
|
13638
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Tuesday query and return a NotificationDeliveryPreferencesDay
|
13639
|
+
*
|
13640
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_TuesdayQuery
|
13641
|
+
*/
|
13642
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13643
|
+
}
|
13644
|
+
/**
|
13645
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Wednesday Query
|
13646
|
+
*
|
13647
|
+
* @param request - function to call the graphql client
|
13648
|
+
*/
|
13649
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_WednesdayQuery extends Request {
|
13650
|
+
constructor(request: LinearRequest);
|
13651
|
+
/**
|
13652
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Wednesday query and return a NotificationDeliveryPreferencesDay
|
13653
|
+
*
|
13654
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_WednesdayQuery
|
13655
|
+
*/
|
13656
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13657
|
+
}
|
13210
13658
|
/**
|
13211
13659
|
* A fetchable Viewer_AssignedIssues Query
|
13212
13660
|
*
|
@@ -13589,12 +14037,12 @@ export declare class LinearSdk extends Request {
|
|
13589
14037
|
*/
|
13590
14038
|
issueImportCheckCSV(csvUrl: string, service: string): LinearFetch<IssueImportCheckPayload>;
|
13591
14039
|
/**
|
13592
|
-
*
|
14040
|
+
* Checks whether it will be possible to setup sync for this project or repository at the end of import
|
13593
14041
|
*
|
13594
|
-
* @param
|
13595
|
-
* @returns
|
14042
|
+
* @param issueImportId - required issueImportId to pass to issueImportCheckSync
|
14043
|
+
* @returns IssueImportSyncCheckPayload
|
13596
14044
|
*/
|
13597
|
-
|
14045
|
+
issueImportCheckSync(issueImportId: string): LinearFetch<IssueImportSyncCheckPayload>;
|
13598
14046
|
/**
|
13599
14047
|
* One specific label.
|
13600
14048
|
*
|
@@ -13656,7 +14104,7 @@ export declare class LinearSdk extends Request {
|
|
13656
14104
|
* @param id - required id to pass to notification
|
13657
14105
|
* @returns Notification
|
13658
14106
|
*/
|
13659
|
-
notification(id: string): LinearFetch<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
14107
|
+
notification(id: string): LinearFetch<DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
13660
14108
|
/**
|
13661
14109
|
* One specific notification subscription.
|
13662
14110
|
*
|
@@ -14006,20 +14454,6 @@ export declare class LinearSdk extends Request {
|
|
14006
14454
|
* @returns IntegrationPayload
|
14007
14455
|
*/
|
14008
14456
|
airbyteIntegrationConnect(input: L.AirbyteConfigurationInput): LinearFetch<IntegrationPayload>;
|
14009
|
-
/**
|
14010
|
-
* Creates a new API key.
|
14011
|
-
*
|
14012
|
-
* @param input - required input to pass to createApiKey
|
14013
|
-
* @returns ApiKeyPayload
|
14014
|
-
*/
|
14015
|
-
createApiKey(input: L.ApiKeyCreateInput): LinearFetch<ApiKeyPayload>;
|
14016
|
-
/**
|
14017
|
-
* Deletes an API key.
|
14018
|
-
*
|
14019
|
-
* @param id - required id to pass to deleteApiKey
|
14020
|
-
* @returns DeletePayload
|
14021
|
-
*/
|
14022
|
-
deleteApiKey(id: string): LinearFetch<DeletePayload>;
|
14023
14457
|
/**
|
14024
14458
|
* [DEPRECATED] Archives an issue attachment.
|
14025
14459
|
*
|
@@ -14134,6 +14568,13 @@ export declare class LinearSdk extends Request {
|
|
14134
14568
|
* @returns AttachmentPayload
|
14135
14569
|
*/
|
14136
14570
|
attachmentLinkZendesk(issueId: string, ticketId: string, variables?: Omit<L.AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
|
14571
|
+
/**
|
14572
|
+
* Begin syncing the thread for an existing Slack message attachment with a comment thread on its issue.
|
14573
|
+
*
|
14574
|
+
* @param id - required id to pass to attachmentSyncToSlack
|
14575
|
+
* @returns AttachmentPayload
|
14576
|
+
*/
|
14577
|
+
attachmentSyncToSlack(id: string): LinearFetch<AttachmentPayload>;
|
14137
14578
|
/**
|
14138
14579
|
* Updates an existing issue attachment.
|
14139
14580
|
*
|
@@ -14296,14 +14737,6 @@ export declare class LinearSdk extends Request {
|
|
14296
14737
|
* @returns DeletePayload
|
14297
14738
|
*/
|
14298
14739
|
deleteDocument(id: string): LinearFetch<DeletePayload>;
|
14299
|
-
/**
|
14300
|
-
* Adds a document reminder. Will cause a notification to be sent when the issue reminder time is reached.
|
14301
|
-
*
|
14302
|
-
* @param id - required id to pass to documentReminder
|
14303
|
-
* @param reminderAt - required reminderAt to pass to documentReminder
|
14304
|
-
* @returns DocumentPayload
|
14305
|
-
*/
|
14306
|
-
documentReminder(id: string, reminderAt: Date): LinearFetch<DocumentPayload>;
|
14307
14740
|
/**
|
14308
14741
|
* Updates a document.
|
14309
14742
|
*
|
@@ -14564,6 +14997,13 @@ export declare class LinearSdk extends Request {
|
|
14564
14997
|
* @returns IntegrationPayload
|
14565
14998
|
*/
|
14566
14999
|
integrationGithubConnect(installationId: string): LinearFetch<IntegrationPayload>;
|
15000
|
+
/**
|
15001
|
+
* Connects the organization with the GitHub Import App.
|
15002
|
+
*
|
15003
|
+
* @param installationId - required installationId to pass to integrationGithubImportConnect
|
15004
|
+
* @returns IntegrationPayload
|
15005
|
+
*/
|
15006
|
+
integrationGithubImportConnect(installationId: string): LinearFetch<IntegrationPayload>;
|
14567
15007
|
/**
|
14568
15008
|
* Connects the organization with a GitLab Access Token.
|
14569
15009
|
*
|
@@ -14647,6 +15087,15 @@ export declare class LinearSdk extends Request {
|
|
14647
15087
|
* @returns IntegrationPayload
|
14648
15088
|
*/
|
14649
15089
|
integrationSlackAsks(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
15090
|
+
/**
|
15091
|
+
* Slack integration for custom view notifications.
|
15092
|
+
*
|
15093
|
+
* @param code - required code to pass to integrationSlackCustomViewNotifications
|
15094
|
+
* @param customViewId - required customViewId to pass to integrationSlackCustomViewNotifications
|
15095
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackCustomViewNotifications
|
15096
|
+
* @returns SlackChannelConnectPayload
|
15097
|
+
*/
|
15098
|
+
integrationSlackCustomViewNotifications(code: string, customViewId: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
|
14650
15099
|
/**
|
14651
15100
|
* Imports custom emojis from your Slack workspace.
|
14652
15101
|
*
|
@@ -14805,13 +15254,11 @@ export declare class LinearSdk extends Request {
|
|
14805
15254
|
/**
|
14806
15255
|
* Kicks off a GitHub import job.
|
14807
15256
|
*
|
14808
|
-
* @param
|
14809
|
-
* @param
|
14810
|
-
* @param githubToken - required githubToken to pass to issueImportCreateGithub
|
14811
|
-
* @param variables - variables without 'githubRepoName', 'githubRepoOwner', 'githubToken' to pass into the IssueImportCreateGithubMutation
|
15257
|
+
* @param integrationId - required integrationId to pass to issueImportCreateGithub
|
15258
|
+
* @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
|
14812
15259
|
* @returns IssueImportPayload
|
14813
15260
|
*/
|
14814
|
-
issueImportCreateGithub(
|
15261
|
+
issueImportCreateGithub(integrationId: string, variables?: Omit<L.IssueImportCreateGithubMutationVariables, "integrationId">): LinearFetch<IssueImportPayload>;
|
14815
15262
|
/**
|
14816
15263
|
* Kicks off a Jira import job.
|
14817
15264
|
*
|
@@ -14874,9 +15321,10 @@ export declare class LinearSdk extends Request {
|
|
14874
15321
|
* Creates a new issue relation.
|
14875
15322
|
*
|
14876
15323
|
* @param input - required input to pass to createIssueRelation
|
15324
|
+
* @param variables - variables without 'input' to pass into the CreateIssueRelationMutation
|
14877
15325
|
* @returns IssueRelationPayload
|
14878
15326
|
*/
|
14879
|
-
createIssueRelation(input: L.IssueRelationCreateInput): LinearFetch<IssueRelationPayload>;
|
15327
|
+
createIssueRelation(input: L.IssueRelationCreateInput, variables?: Omit<L.CreateIssueRelationMutationVariables, "input">): LinearFetch<IssueRelationPayload>;
|
14880
15328
|
/**
|
14881
15329
|
* Deletes an issue relation.
|
14882
15330
|
*
|
@@ -15109,11 +15557,11 @@ export declare class LinearSdk extends Request {
|
|
15109
15557
|
*/
|
15110
15558
|
updateOrganizationInvite(id: string, input: L.OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
|
15111
15559
|
/**
|
15112
|
-
* Starts a
|
15560
|
+
* Starts a trial for the organization. Administrator privileges required.
|
15113
15561
|
*
|
15114
|
-
* @returns
|
15562
|
+
* @returns OrganizationStartTrialPayload
|
15115
15563
|
*/
|
15116
|
-
get
|
15564
|
+
get organizationStartTrial(): LinearFetch<OrganizationStartTrialPayload>;
|
15117
15565
|
/**
|
15118
15566
|
* Updates the user's organization.
|
15119
15567
|
*
|