@linear/sdk 21.1.0 → 23.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 +1557 -251
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +835 -198
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +3137 -734
- 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 +3098 -725
- 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 +3138 -735
- 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. */
|
@@ -554,6 +556,19 @@ export declare class AuthOrganization extends Request {
|
|
554
556
|
/** The feature release channel the organization belongs to. */
|
555
557
|
releaseChannel: L.ReleaseChannel;
|
556
558
|
}
|
559
|
+
/**
|
560
|
+
* AuthOrganizationBucketNamePayload model
|
561
|
+
*
|
562
|
+
* @param request - function to call the graphql client
|
563
|
+
* @param data - L.AuthOrganizationBucketNamePayloadFragment response data
|
564
|
+
*/
|
565
|
+
export declare class AuthOrganizationBucketNamePayload extends Request {
|
566
|
+
constructor(request: LinearRequest, data: L.AuthOrganizationBucketNamePayloadFragment);
|
567
|
+
/** The imports bucket name for the organization. */
|
568
|
+
importsBucketName: string;
|
569
|
+
/** The uploads bucket name for the organization. */
|
570
|
+
uploadsBucketName: string;
|
571
|
+
}
|
557
572
|
/**
|
558
573
|
* AuthOrganizationDomain model
|
559
574
|
*
|
@@ -563,6 +578,8 @@ export declare class AuthOrganization extends Request {
|
|
563
578
|
export declare class AuthOrganizationDomain extends Request {
|
564
579
|
constructor(request: LinearRequest, data: L.AuthOrganizationDomainFragment);
|
565
580
|
claimed?: boolean;
|
581
|
+
/** Prevent users with this domain to create new workspaces. */
|
582
|
+
disableOrganizationCreation?: boolean;
|
566
583
|
/** The unique identifier of the entity. */
|
567
584
|
id: string;
|
568
585
|
name: string;
|
@@ -631,6 +648,8 @@ export declare class AuthResolverResponse extends Request {
|
|
631
648
|
availableOrganizations?: AuthOrganization[];
|
632
649
|
/** List of organization available to this user account but locked due to the current auth method. */
|
633
650
|
lockedOrganizations?: AuthOrganization[];
|
651
|
+
/** List of locked users that are locked by login restrictions */
|
652
|
+
lockedUsers: AuthUser[];
|
634
653
|
/** List of active users that belong to the user account. */
|
635
654
|
users: AuthUser[];
|
636
655
|
}
|
@@ -668,6 +687,8 @@ export declare class AuthUser extends Request {
|
|
668
687
|
userAccountId: string;
|
669
688
|
/** Organization the user belongs to. */
|
670
689
|
organization: AuthOrganization;
|
690
|
+
/** Whether the user is an organization admin or guest on a database level. */
|
691
|
+
role: L.UserRoleType;
|
671
692
|
}
|
672
693
|
/**
|
673
694
|
* User authentication session.
|
@@ -813,6 +834,8 @@ export declare class Comment extends Request {
|
|
813
834
|
updatedAt: Date;
|
814
835
|
/** Comment's URL. */
|
815
836
|
url: string;
|
837
|
+
/** Reactions associated with the comment. */
|
838
|
+
reactions: Reaction[];
|
816
839
|
/** The bot that created the comment. */
|
817
840
|
botActor?: ActorBot;
|
818
841
|
/** The document content that the comment is associated with. */
|
@@ -1005,6 +1028,8 @@ export declare class CustomView extends Request {
|
|
1005
1028
|
get updatedBy(): LinearFetch<User> | undefined;
|
1006
1029
|
/** Issues associated with the custom view. */
|
1007
1030
|
issues(variables?: Omit<L.CustomView_IssuesQueryVariables, "id">): LinearFetch<IssueConnection>;
|
1031
|
+
/** Projects associated with the custom view. */
|
1032
|
+
projects(variables?: Omit<L.CustomView_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
1008
1033
|
/** Creates a new custom view. */
|
1009
1034
|
create(input: L.CustomViewCreateInput): LinearFetch<CustomViewPayload>;
|
1010
1035
|
/** Deletes a custom view. */
|
@@ -1373,6 +1398,8 @@ export declare class Document extends Request {
|
|
1373
1398
|
sortOrder: number;
|
1374
1399
|
/** The document title. */
|
1375
1400
|
title: string;
|
1401
|
+
/** A flag that indicates whether the document is in the trash bin. */
|
1402
|
+
trashed?: boolean;
|
1376
1403
|
/**
|
1377
1404
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1378
1405
|
* 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
|
@@ -1391,11 +1418,29 @@ export declare class Document extends Request {
|
|
1391
1418
|
get updatedBy(): LinearFetch<User> | undefined;
|
1392
1419
|
/** Creates a new document. */
|
1393
1420
|
create(input: L.DocumentCreateInput): LinearFetch<DocumentPayload>;
|
1394
|
-
/** Deletes a document. */
|
1395
|
-
delete(): LinearFetch<
|
1421
|
+
/** Deletes (trashes) a document. */
|
1422
|
+
delete(): LinearFetch<DocumentArchivePayload>;
|
1423
|
+
/** Restores a document. */
|
1424
|
+
unarchive(): LinearFetch<DocumentArchivePayload>;
|
1396
1425
|
/** Updates a document. */
|
1397
1426
|
update(input: L.DocumentUpdateInput): LinearFetch<DocumentPayload>;
|
1398
1427
|
}
|
1428
|
+
/**
|
1429
|
+
* A generic payload return from entity archive mutations.
|
1430
|
+
*
|
1431
|
+
* @param request - function to call the graphql client
|
1432
|
+
* @param data - L.DocumentArchivePayloadFragment response data
|
1433
|
+
*/
|
1434
|
+
export declare class DocumentArchivePayload extends Request {
|
1435
|
+
private _entity?;
|
1436
|
+
constructor(request: LinearRequest, data: L.DocumentArchivePayloadFragment);
|
1437
|
+
/** The identifier of the last sync operation. */
|
1438
|
+
lastSyncId: number;
|
1439
|
+
/** Whether the operation was successful. */
|
1440
|
+
success: boolean;
|
1441
|
+
/** The archived/unarchived entity. Null if entity was deleted. */
|
1442
|
+
get entity(): LinearFetch<Document> | undefined;
|
1443
|
+
}
|
1399
1444
|
/**
|
1400
1445
|
* DocumentConnection model
|
1401
1446
|
*
|
@@ -1483,7 +1528,7 @@ export declare class DocumentContentHistoryPayload extends Request {
|
|
1483
1528
|
/** Whether the operation was successful. */
|
1484
1529
|
success: boolean;
|
1485
1530
|
/** The document content history entries. */
|
1486
|
-
history
|
1531
|
+
history: DocumentContentHistoryType[];
|
1487
1532
|
}
|
1488
1533
|
/**
|
1489
1534
|
* DocumentContentHistoryType model
|
@@ -1612,6 +1657,8 @@ export declare class DocumentSearchResult extends Request {
|
|
1612
1657
|
sortOrder: number;
|
1613
1658
|
/** The document title. */
|
1614
1659
|
title: string;
|
1660
|
+
/** A flag that indicates whether the document is in the trash bin. */
|
1661
|
+
trashed?: boolean;
|
1615
1662
|
/**
|
1616
1663
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1617
1664
|
* 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
|
@@ -1908,6 +1955,52 @@ export declare class ExternalUser extends Request {
|
|
1908
1955
|
export declare class ExternalUserConnection extends Connection<ExternalUser> {
|
1909
1956
|
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<ExternalUser> | undefined>, data: L.ExternalUserConnectionFragment);
|
1910
1957
|
}
|
1958
|
+
/**
|
1959
|
+
* 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.
|
1960
|
+
*
|
1961
|
+
* @param request - function to call the graphql client
|
1962
|
+
* @param data - L.FacetFragment response data
|
1963
|
+
*/
|
1964
|
+
export declare class Facet extends Request {
|
1965
|
+
private _sourceProject?;
|
1966
|
+
private _sourceTeam?;
|
1967
|
+
private _targetCustomView?;
|
1968
|
+
constructor(request: LinearRequest, data: L.FacetFragment);
|
1969
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1970
|
+
archivedAt?: Date;
|
1971
|
+
/** The time at which the entity was created. */
|
1972
|
+
createdAt: Date;
|
1973
|
+
/** The unique identifier of the entity. */
|
1974
|
+
id: string;
|
1975
|
+
/** The sort order of the facet. */
|
1976
|
+
sortOrder: number;
|
1977
|
+
/**
|
1978
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1979
|
+
* 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
|
1980
|
+
* been updated after creation.
|
1981
|
+
*/
|
1982
|
+
updatedAt: Date;
|
1983
|
+
/** The owning page. */
|
1984
|
+
sourcePage?: L.FacetPageSource;
|
1985
|
+
/** The owning organization. */
|
1986
|
+
get sourceOrganization(): LinearFetch<Organization>;
|
1987
|
+
/** The owning project. */
|
1988
|
+
get sourceProject(): LinearFetch<Project> | undefined;
|
1989
|
+
/** The owning team. */
|
1990
|
+
get sourceTeam(): LinearFetch<Team> | undefined;
|
1991
|
+
/** The targeted custom view. */
|
1992
|
+
get targetCustomView(): LinearFetch<CustomView> | undefined;
|
1993
|
+
}
|
1994
|
+
/**
|
1995
|
+
* FacetConnection model
|
1996
|
+
*
|
1997
|
+
* @param request - function to call the graphql client
|
1998
|
+
* @param fetch - function to trigger a refetch of this FacetConnection model
|
1999
|
+
* @param data - FacetConnection response data
|
2000
|
+
*/
|
2001
|
+
export declare class FacetConnection extends Connection<Facet> {
|
2002
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<Facet> | undefined>, data: L.FacetConnectionFragment);
|
2003
|
+
}
|
1911
2004
|
/**
|
1912
2005
|
* User favorites presented in the sidebar.
|
1913
2006
|
*
|
@@ -2009,6 +2102,113 @@ export declare class FavoritePayload extends Request {
|
|
2009
2102
|
/** The object that was added as a favorite. */
|
2010
2103
|
get favorite(): LinearFetch<Favorite> | undefined;
|
2011
2104
|
}
|
2105
|
+
/**
|
2106
|
+
* A feature flag for a project.
|
2107
|
+
*
|
2108
|
+
* @param request - function to call the graphql client
|
2109
|
+
* @param data - L.FeatureFlagFragment response data
|
2110
|
+
*/
|
2111
|
+
export declare class FeatureFlag extends Request {
|
2112
|
+
private _creator?;
|
2113
|
+
private _integration;
|
2114
|
+
private _lastStageUpdatedBy?;
|
2115
|
+
private _project?;
|
2116
|
+
constructor(request: LinearRequest, data: L.FeatureFlagFragment);
|
2117
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2118
|
+
archivedAt?: Date;
|
2119
|
+
/** The time at which the entity was created. */
|
2120
|
+
createdAt: Date;
|
2121
|
+
/** The description of the feature flag. */
|
2122
|
+
description?: string;
|
2123
|
+
/** Url to the feature flag provider's page about the feature flag. */
|
2124
|
+
externalUrl: string;
|
2125
|
+
/** The unique identifier of the entity. */
|
2126
|
+
id: string;
|
2127
|
+
/** Whether the feature flag is enabled. */
|
2128
|
+
isEnabled: boolean;
|
2129
|
+
/** The unique key as defined by the feature flag provider. */
|
2130
|
+
key: string;
|
2131
|
+
/** The description of the feature flag. */
|
2132
|
+
lastStageUpdatedAt?: Date;
|
2133
|
+
/** The status of the feature flag. */
|
2134
|
+
status: string;
|
2135
|
+
/**
|
2136
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2137
|
+
* 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
|
2138
|
+
* been updated after creation.
|
2139
|
+
*/
|
2140
|
+
updatedAt: Date;
|
2141
|
+
/** The pending rollout stage for the feature flag. */
|
2142
|
+
pendingRolloutStage?: FeatureFlagRolloutStage;
|
2143
|
+
/** The rollout stage of the feature flag, should be defined for all feature flags in use. */
|
2144
|
+
rolloutStage: FeatureFlagRolloutStage;
|
2145
|
+
/** The user who created the feature flag. */
|
2146
|
+
get creator(): LinearFetch<User> | undefined;
|
2147
|
+
/** The integration providing the feature flag. */
|
2148
|
+
get integration(): LinearFetch<Integration> | undefined;
|
2149
|
+
/** The user who last changed the stage of the feature flag. */
|
2150
|
+
get lastStageUpdatedBy(): LinearFetch<User> | undefined;
|
2151
|
+
/** The organization of the feature flag. */
|
2152
|
+
get organization(): LinearFetch<Organization>;
|
2153
|
+
/** The project the feature flag is associated with. */
|
2154
|
+
get project(): LinearFetch<Project> | undefined;
|
2155
|
+
}
|
2156
|
+
/**
|
2157
|
+
* FeatureFlagConnection model
|
2158
|
+
*
|
2159
|
+
* @param request - function to call the graphql client
|
2160
|
+
* @param fetch - function to trigger a refetch of this FeatureFlagConnection model
|
2161
|
+
* @param data - FeatureFlagConnection response data
|
2162
|
+
*/
|
2163
|
+
export declare class FeatureFlagConnection extends Connection<FeatureFlag> {
|
2164
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<FeatureFlag> | undefined>, data: L.FeatureFlagConnectionFragment);
|
2165
|
+
}
|
2166
|
+
/**
|
2167
|
+
* A rollout stage for a feature flag.
|
2168
|
+
*
|
2169
|
+
* @param request - function to call the graphql client
|
2170
|
+
* @param data - L.FeatureFlagRolloutStageFragment response data
|
2171
|
+
*/
|
2172
|
+
export declare class FeatureFlagRolloutStage extends Request {
|
2173
|
+
private _integration;
|
2174
|
+
constructor(request: LinearRequest, data: L.FeatureFlagRolloutStageFragment);
|
2175
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2176
|
+
archivedAt?: Date;
|
2177
|
+
/** The time at which the entity was created. */
|
2178
|
+
createdAt: Date;
|
2179
|
+
/** The description of the rollout stage. */
|
2180
|
+
description?: string;
|
2181
|
+
/** The unique identifier of the entity. */
|
2182
|
+
id: string;
|
2183
|
+
/** The name of the rollout stage. */
|
2184
|
+
name: string;
|
2185
|
+
/** Which feature flag provider segments this rollout stage is associated with. */
|
2186
|
+
segmentKeys: string[];
|
2187
|
+
/** The order of the rollout stages within an organization. */
|
2188
|
+
sortOrder: number;
|
2189
|
+
/**
|
2190
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2191
|
+
* 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
|
2192
|
+
* been updated after creation.
|
2193
|
+
*/
|
2194
|
+
updatedAt: Date;
|
2195
|
+
/** The type of the feature flag rollout stage. */
|
2196
|
+
type: L.FeatureFlagRolloutStageType;
|
2197
|
+
/** The integration providing the feature flag. */
|
2198
|
+
get integration(): LinearFetch<Integration> | undefined;
|
2199
|
+
/** The organization of the feature flag rollout stage. */
|
2200
|
+
get organization(): LinearFetch<Organization>;
|
2201
|
+
}
|
2202
|
+
/**
|
2203
|
+
* FeatureFlagRolloutStageConnection model
|
2204
|
+
*
|
2205
|
+
* @param request - function to call the graphql client
|
2206
|
+
* @param fetch - function to trigger a refetch of this FeatureFlagRolloutStageConnection model
|
2207
|
+
* @param data - FeatureFlagRolloutStageConnection response data
|
2208
|
+
*/
|
2209
|
+
export declare class FeatureFlagRolloutStageConnection extends Connection<FeatureFlagRolloutStage> {
|
2210
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<FeatureFlagRolloutStage> | undefined>, data: L.FeatureFlagRolloutStageConnectionFragment);
|
2211
|
+
}
|
2012
2212
|
/**
|
2013
2213
|
* FrontAttachmentPayload model
|
2014
2214
|
*
|
@@ -2172,6 +2372,23 @@ export declare class GitHubCommitIntegrationPayload extends Request {
|
|
2172
2372
|
/** The integration that was created or updated. */
|
2173
2373
|
get integration(): LinearFetch<Integration> | undefined;
|
2174
2374
|
}
|
2375
|
+
/**
|
2376
|
+
* Metadata and settings for a GitHub import integration.
|
2377
|
+
*
|
2378
|
+
* @param request - function to call the graphql client
|
2379
|
+
* @param data - L.GitHubImportSettingsFragment response data
|
2380
|
+
*/
|
2381
|
+
export declare class GitHubImportSettings extends Request {
|
2382
|
+
constructor(request: LinearRequest, data: L.GitHubImportSettingsFragment);
|
2383
|
+
/** The avatar URL for the GitHub organization. */
|
2384
|
+
orgAvatarUrl: string;
|
2385
|
+
/** The GitHub organization's name. */
|
2386
|
+
orgLogin: string;
|
2387
|
+
/** The names of the repositories connected for the GitHub integration. */
|
2388
|
+
repositories: GitHubRepo[];
|
2389
|
+
/** The type of Github org */
|
2390
|
+
orgType: L.GithubOrgType;
|
2391
|
+
}
|
2175
2392
|
/**
|
2176
2393
|
* Metadata and settings for a GitHub Personal integration.
|
2177
2394
|
*
|
@@ -2212,6 +2429,8 @@ export declare class GitHubSettings extends Request {
|
|
2212
2429
|
repositories?: GitHubRepo[];
|
2213
2430
|
/** Mapping of team to repository for syncing. */
|
2214
2431
|
repositoriesMapping?: TeamRepoMapping[];
|
2432
|
+
/** The type of Github org */
|
2433
|
+
orgType?: L.GithubOrgType;
|
2215
2434
|
}
|
2216
2435
|
/**
|
2217
2436
|
* Metadata and settings for a GitLab integration.
|
@@ -2228,49 +2447,6 @@ export declare class GitLabSettings extends Request {
|
|
2228
2447
|
/** The self-hosted URL of the GitLab instance. */
|
2229
2448
|
url?: string;
|
2230
2449
|
}
|
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
2450
|
/**
|
2275
2451
|
* Google Sheets specific settings.
|
2276
2452
|
*
|
@@ -2282,7 +2458,7 @@ export declare class GoogleSheetsSettings extends Request {
|
|
2282
2458
|
sheetId: number;
|
2283
2459
|
spreadsheetId: string;
|
2284
2460
|
spreadsheetUrl: string;
|
2285
|
-
updatedIssuesAt
|
2461
|
+
updatedIssuesAt?: Date;
|
2286
2462
|
}
|
2287
2463
|
/**
|
2288
2464
|
* ImageUploadFromUrlPayload model
|
@@ -2312,6 +2488,51 @@ export declare class InitiativeArchivePayload extends Request {
|
|
2312
2488
|
/** Whether the operation was successful. */
|
2313
2489
|
success: boolean;
|
2314
2490
|
}
|
2491
|
+
/**
|
2492
|
+
* An initiative related notification.
|
2493
|
+
*
|
2494
|
+
* @param request - function to call the graphql client
|
2495
|
+
* @param data - L.InitiativeNotificationFragment response data
|
2496
|
+
*/
|
2497
|
+
export declare class InitiativeNotification extends Request {
|
2498
|
+
private _actor?;
|
2499
|
+
private _externalUserActor?;
|
2500
|
+
private _user;
|
2501
|
+
constructor(request: LinearRequest, data: L.InitiativeNotificationFragment);
|
2502
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
2503
|
+
archivedAt?: Date;
|
2504
|
+
/** The time at which the entity was created. */
|
2505
|
+
createdAt: Date;
|
2506
|
+
/**
|
2507
|
+
* The time at when an email reminder for this notification was sent to the user. Null, if no email
|
2508
|
+
* reminder has been sent.
|
2509
|
+
*/
|
2510
|
+
emailedAt?: Date;
|
2511
|
+
/** The unique identifier of the entity. */
|
2512
|
+
id: string;
|
2513
|
+
/** The time at when the user marked the notification as read. Null, if the the user hasn't read the notification */
|
2514
|
+
readAt?: Date;
|
2515
|
+
/** The time until a notification will be snoozed. After that it will appear in the inbox again. */
|
2516
|
+
snoozedUntilAt?: Date;
|
2517
|
+
/** Notification type. */
|
2518
|
+
type: string;
|
2519
|
+
/** The time at which a notification was unsnoozed.. */
|
2520
|
+
unsnoozedAt?: Date;
|
2521
|
+
/**
|
2522
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
2523
|
+
* 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
|
2524
|
+
* been updated after creation.
|
2525
|
+
*/
|
2526
|
+
updatedAt: Date;
|
2527
|
+
/** The bot that caused the notification. */
|
2528
|
+
botActor?: ActorBot;
|
2529
|
+
/** The user that caused the notification. */
|
2530
|
+
get actor(): LinearFetch<User> | undefined;
|
2531
|
+
/** The external user that caused the notification. */
|
2532
|
+
get externalUserActor(): LinearFetch<ExternalUser> | undefined;
|
2533
|
+
/** The user that received the notification. */
|
2534
|
+
get user(): LinearFetch<User> | undefined;
|
2535
|
+
}
|
2315
2536
|
/**
|
2316
2537
|
* An integration with an external service.
|
2317
2538
|
*
|
@@ -2407,18 +2628,21 @@ export declare class IntegrationSettings extends Request {
|
|
2407
2628
|
constructor(request: LinearRequest, data: L.IntegrationSettingsFragment);
|
2408
2629
|
front?: FrontSettings;
|
2409
2630
|
gitHub?: GitHubSettings;
|
2631
|
+
gitHubImport?: GitHubImportSettings;
|
2410
2632
|
gitHubPersonal?: GitHubPersonalSettings;
|
2411
2633
|
gitLab?: GitLabSettings;
|
2412
2634
|
googleSheets?: GoogleSheetsSettings;
|
2413
2635
|
intercom?: IntercomSettings;
|
2414
2636
|
jira?: JiraSettings;
|
2415
2637
|
jiraPersonal?: JiraPersonalSettings;
|
2638
|
+
launchDarkly?: LaunchDarklySettings;
|
2416
2639
|
notion?: NotionSettings;
|
2417
2640
|
opsgenie?: OpsgenieSettings;
|
2418
2641
|
pagerDuty?: PagerDutySettings;
|
2419
2642
|
sentry?: SentrySettings;
|
2420
2643
|
slack?: SlackSettings;
|
2421
2644
|
slackAsks?: SlackAsksSettings;
|
2645
|
+
slackCustomViewNotifications?: SlackPostSettings;
|
2422
2646
|
slackOrgProjectUpdatesPost?: SlackPostSettings;
|
2423
2647
|
slackPost?: SlackPostSettings;
|
2424
2648
|
slackProjectPost?: SlackPostSettings;
|
@@ -2501,6 +2725,8 @@ export declare class IntegrationsSettings extends Request {
|
|
2501
2725
|
id: string;
|
2502
2726
|
/** Whether to send a Slack message when a new issue is added to triage. */
|
2503
2727
|
slackIssueAddedToTriage?: boolean;
|
2728
|
+
/** Whether to send a Slack message when an issue is added to the custom view. */
|
2729
|
+
slackIssueAddedToView?: boolean;
|
2504
2730
|
/** Whether to send a Slack message when a new issue is created for the project or the team. */
|
2505
2731
|
slackIssueCreated?: boolean;
|
2506
2732
|
/** Whether to send a Slack message when a comment is created on any of the project or team's issues. */
|
@@ -2638,6 +2864,8 @@ export declare class Issue extends Request {
|
|
2638
2864
|
priority: number;
|
2639
2865
|
/** Label for the priority. */
|
2640
2866
|
priorityLabel: string;
|
2867
|
+
/** Emoji reaction summary, grouped by emoji type. */
|
2868
|
+
reactionData: L.Scalars["JSONObject"];
|
2641
2869
|
/** The time at which the issue's SLA will breach. */
|
2642
2870
|
slaBreachesAt?: Date;
|
2643
2871
|
/** The time at which the issue's SLA began. */
|
@@ -2666,6 +2894,8 @@ export declare class Issue extends Request {
|
|
2666
2894
|
updatedAt: Date;
|
2667
2895
|
/** Issue URL. */
|
2668
2896
|
url: string;
|
2897
|
+
/** Reactions associated with the issue. */
|
2898
|
+
reactions: Reaction[];
|
2669
2899
|
/** The bot that created the issue, if applicable. */
|
2670
2900
|
botActor?: ActorBot;
|
2671
2901
|
/** Integration type that created this issue, if applicable. */
|
@@ -2871,46 +3101,51 @@ export declare class IssueHistory extends Request {
|
|
2871
3101
|
updatedAt: Date;
|
2872
3102
|
/** Whether the issue's description was updated. */
|
2873
3103
|
updatedDescription?: boolean;
|
3104
|
+
/** The actors that performed the actions. This field may be empty in the case of integrations or automations. */
|
3105
|
+
actors: User[];
|
3106
|
+
/** The labels that were added to the issue. */
|
2874
3107
|
addedLabels?: IssueLabel[];
|
2875
3108
|
/** Changed issue relationships. */
|
2876
3109
|
relationChanges?: IssueRelationHistoryPayload[];
|
3110
|
+
/** The labels that were removed from the issue. */
|
2877
3111
|
removedLabels?: IssueLabel[];
|
3112
|
+
/** The users that were notified of the issue. */
|
2878
3113
|
triageResponsibilityNotifiedUsers?: User[];
|
2879
3114
|
/** The bot that performed the action. */
|
2880
3115
|
botActor?: ActorBot;
|
2881
3116
|
/** The import record. */
|
2882
3117
|
issueImport?: IssueImport;
|
2883
|
-
/** The
|
3118
|
+
/** The actor that performed the actions. This field may be empty in the case of integrations or automations. */
|
2884
3119
|
get actor(): LinearFetch<User> | undefined;
|
2885
3120
|
/** The linked attachment. */
|
2886
3121
|
get attachment(): LinearFetch<Attachment> | undefined;
|
2887
|
-
/** The user from
|
3122
|
+
/** The user that was unassigned from the issue. */
|
2888
3123
|
get fromAssignee(): LinearFetch<User> | undefined;
|
2889
|
-
/** The
|
3124
|
+
/** The cycle that the issue was moved from. */
|
2890
3125
|
get fromCycle(): LinearFetch<Cycle> | undefined;
|
2891
|
-
/** The
|
3126
|
+
/** The parent issue that the issue was moved from. */
|
2892
3127
|
get fromParent(): LinearFetch<Issue> | undefined;
|
2893
|
-
/** The
|
3128
|
+
/** The project that the issue was moved from. */
|
2894
3129
|
get fromProject(): LinearFetch<Project> | undefined;
|
2895
|
-
/** The
|
3130
|
+
/** The state that the issue was moved from. */
|
2896
3131
|
get fromState(): LinearFetch<WorkflowState> | undefined;
|
2897
|
-
/** The team
|
3132
|
+
/** The team that the issue was moved from. */
|
2898
3133
|
get fromTeam(): LinearFetch<Team> | undefined;
|
2899
3134
|
/** The issue that was changed. */
|
2900
3135
|
get issue(): LinearFetch<Issue> | undefined;
|
2901
|
-
/** The user
|
3136
|
+
/** The user that was assigned to the issue. */
|
2902
3137
|
get toAssignee(): LinearFetch<User> | undefined;
|
2903
3138
|
/** The new project created from the issue. */
|
2904
3139
|
get toConvertedProject(): LinearFetch<Project> | undefined;
|
2905
|
-
/** The
|
3140
|
+
/** The cycle that the issue was moved to. */
|
2906
3141
|
get toCycle(): LinearFetch<Cycle> | undefined;
|
2907
|
-
/** The
|
3142
|
+
/** The parent issue that the issue was moved to. */
|
2908
3143
|
get toParent(): LinearFetch<Issue> | undefined;
|
2909
|
-
/** The
|
3144
|
+
/** The project that the issue was moved to. */
|
2910
3145
|
get toProject(): LinearFetch<Project> | undefined;
|
2911
|
-
/** The
|
3146
|
+
/** The state that the issue was moved to. */
|
2912
3147
|
get toState(): LinearFetch<WorkflowState> | undefined;
|
2913
|
-
/** The team
|
3148
|
+
/** The team that the issue was moved to. */
|
2914
3149
|
get toTeam(): LinearFetch<Team> | undefined;
|
2915
3150
|
}
|
2916
3151
|
/**
|
@@ -2951,6 +3186,8 @@ export declare class IssueImport extends Request {
|
|
2951
3186
|
progress?: number;
|
2952
3187
|
/** The service from which data will be imported. */
|
2953
3188
|
service: string;
|
3189
|
+
/** Metadata related to import service. */
|
3190
|
+
serviceMetadata?: L.Scalars["JSONObject"];
|
2954
3191
|
/** The status for the import job. */
|
2955
3192
|
status: string;
|
2956
3193
|
/** New team's name in cases when teamId not set. */
|
@@ -3007,6 +3244,19 @@ export declare class IssueImportPayload extends Request {
|
|
3007
3244
|
/** The import job that was created or updated. */
|
3008
3245
|
issueImport?: IssueImport;
|
3009
3246
|
}
|
3247
|
+
/**
|
3248
|
+
* Whether an issue import can be synced at the end of an import or not
|
3249
|
+
*
|
3250
|
+
* @param request - function to call the graphql client
|
3251
|
+
* @param data - L.IssueImportSyncCheckPayloadFragment response data
|
3252
|
+
*/
|
3253
|
+
export declare class IssueImportSyncCheckPayload extends Request {
|
3254
|
+
constructor(request: LinearRequest, data: L.IssueImportSyncCheckPayloadFragment);
|
3255
|
+
/** Returns true if the import can be synced, false otherwise */
|
3256
|
+
canSync: boolean;
|
3257
|
+
/** An error message with a root cause of why the import cannot be synced */
|
3258
|
+
error?: string;
|
3259
|
+
}
|
3010
3260
|
/**
|
3011
3261
|
* Labels that can be associated with issues.
|
3012
3262
|
*
|
@@ -3198,7 +3448,7 @@ export declare class IssueRelation extends Request {
|
|
3198
3448
|
/** The related issue. */
|
3199
3449
|
get relatedIssue(): LinearFetch<Issue> | undefined;
|
3200
3450
|
/** Creates a new issue relation. */
|
3201
|
-
create(input: L.IssueRelationCreateInput): LinearFetch<IssueRelationPayload>;
|
3451
|
+
create(input: L.IssueRelationCreateInput, variables?: Omit<L.CreateIssueRelationMutationVariables, "input">): LinearFetch<IssueRelationPayload>;
|
3202
3452
|
/** Deletes an issue relation. */
|
3203
3453
|
delete(): LinearFetch<DeletePayload>;
|
3204
3454
|
/** Updates an issue relation. */
|
@@ -3319,6 +3569,8 @@ export declare class IssueSearchResult extends Request {
|
|
3319
3569
|
priority: number;
|
3320
3570
|
/** Label for the priority. */
|
3321
3571
|
priorityLabel: string;
|
3572
|
+
/** Emoji reaction summary, grouped by emoji type. */
|
3573
|
+
reactionData: L.Scalars["JSONObject"];
|
3322
3574
|
/** The time at which the issue's SLA will breach. */
|
3323
3575
|
slaBreachesAt?: Date;
|
3324
3576
|
/** The time at which the issue's SLA began. */
|
@@ -3347,6 +3599,8 @@ export declare class IssueSearchResult extends Request {
|
|
3347
3599
|
updatedAt: Date;
|
3348
3600
|
/** Issue URL. */
|
3349
3601
|
url: string;
|
3602
|
+
/** Reactions associated with the issue. */
|
3603
|
+
reactions: Reaction[];
|
3350
3604
|
/** The bot that created the issue, if applicable. */
|
3351
3605
|
botActor?: ActorBot;
|
3352
3606
|
/** Integration type that created this issue, if applicable. */
|
@@ -3441,6 +3695,10 @@ export declare class JiraSettings extends Request {
|
|
3441
3695
|
constructor(request: LinearRequest, data: L.JiraSettingsFragment);
|
3442
3696
|
/** Whether this integration is for Jira Server or not. */
|
3443
3697
|
isJiraServer?: boolean;
|
3698
|
+
/** Whether this integration is using a manual setup flow. */
|
3699
|
+
manualSetup?: boolean;
|
3700
|
+
/** 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 */
|
3701
|
+
setupPending?: boolean;
|
3444
3702
|
/** The mapping of Jira project id => Linear team id. */
|
3445
3703
|
projectMapping?: JiraLinearMapping[];
|
3446
3704
|
/** The Jira projects for the organization. */
|
@@ -3496,6 +3754,19 @@ export declare class LabelNotificationSubscription extends Request {
|
|
3496
3754
|
/** The user view associated with the notification subscription. */
|
3497
3755
|
get user(): LinearFetch<User> | undefined;
|
3498
3756
|
}
|
3757
|
+
/**
|
3758
|
+
* LaunchDarkly specific settings.
|
3759
|
+
*
|
3760
|
+
* @param request - function to call the graphql client
|
3761
|
+
* @param data - L.LaunchDarklySettingsFragment response data
|
3762
|
+
*/
|
3763
|
+
export declare class LaunchDarklySettings extends Request {
|
3764
|
+
constructor(request: LinearRequest, data: L.LaunchDarklySettingsFragment);
|
3765
|
+
/** The environment of the LaunchDarkly integration. */
|
3766
|
+
environment: string;
|
3767
|
+
/** The project key of the LaunchDarkly integration. */
|
3768
|
+
projectKey: string;
|
3769
|
+
}
|
3499
3770
|
/**
|
3500
3771
|
* LogoutResponse model
|
3501
3772
|
*
|
@@ -3604,8 +3875,70 @@ export declare class NotificationBatchActionPayload extends Request {
|
|
3604
3875
|
* @param fetch - function to trigger a refetch of this NotificationConnection model
|
3605
3876
|
* @param data - NotificationConnection response data
|
3606
3877
|
*/
|
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);
|
3878
|
+
export declare class NotificationConnection extends Connection<DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> {
|
3879
|
+
constructor(request: LinearRequest, fetch: (connection?: LinearConnectionVariables) => LinearFetch<LinearConnection<DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification> | undefined>, data: L.NotificationConnectionFragment);
|
3880
|
+
}
|
3881
|
+
/**
|
3882
|
+
* A user's notification delivery preferences.
|
3883
|
+
*
|
3884
|
+
* @param request - function to call the graphql client
|
3885
|
+
* @param data - L.NotificationDeliveryPreferencesFragment response data
|
3886
|
+
*/
|
3887
|
+
export declare class NotificationDeliveryPreferences extends Request {
|
3888
|
+
constructor(request: LinearRequest, data: L.NotificationDeliveryPreferencesFragment);
|
3889
|
+
/** The delivery preferences for the mobile channel. */
|
3890
|
+
mobile?: NotificationDeliveryPreferencesChannel;
|
3891
|
+
}
|
3892
|
+
/**
|
3893
|
+
* A user's notification delivery preferences.
|
3894
|
+
*
|
3895
|
+
* @param request - function to call the graphql client
|
3896
|
+
* @param data - L.NotificationDeliveryPreferencesChannelFragment response data
|
3897
|
+
*/
|
3898
|
+
export declare class NotificationDeliveryPreferencesChannel extends Request {
|
3899
|
+
constructor(request: LinearRequest, data: L.NotificationDeliveryPreferencesChannelFragment);
|
3900
|
+
/** Whether notifications are enabled for this channel. */
|
3901
|
+
notificationsDisabled?: boolean;
|
3902
|
+
/** The schedule for notifications on this channel. */
|
3903
|
+
schedule?: NotificationDeliveryPreferencesSchedule;
|
3904
|
+
}
|
3905
|
+
/**
|
3906
|
+
* A user's notification delivery schedule for a particular day.
|
3907
|
+
*
|
3908
|
+
* @param request - function to call the graphql client
|
3909
|
+
* @param data - L.NotificationDeliveryPreferencesDayFragment response data
|
3910
|
+
*/
|
3911
|
+
export declare class NotificationDeliveryPreferencesDay extends Request {
|
3912
|
+
constructor(request: LinearRequest, data: L.NotificationDeliveryPreferencesDayFragment);
|
3913
|
+
/** The time notifications end. */
|
3914
|
+
end?: string;
|
3915
|
+
/** The time notifications start. */
|
3916
|
+
start?: string;
|
3917
|
+
}
|
3918
|
+
/**
|
3919
|
+
* A user's notification delivery schedule for a particular day.
|
3920
|
+
*
|
3921
|
+
* @param request - function to call the graphql client
|
3922
|
+
* @param data - L.NotificationDeliveryPreferencesScheduleFragment response data
|
3923
|
+
*/
|
3924
|
+
export declare class NotificationDeliveryPreferencesSchedule extends Request {
|
3925
|
+
constructor(request: LinearRequest, data: L.NotificationDeliveryPreferencesScheduleFragment);
|
3926
|
+
/** Whether the schedule is disabled. */
|
3927
|
+
disabled?: boolean;
|
3928
|
+
/** Delivery preferences for Friday. */
|
3929
|
+
friday: NotificationDeliveryPreferencesDay;
|
3930
|
+
/** Delivery preferences for Monday. */
|
3931
|
+
monday: NotificationDeliveryPreferencesDay;
|
3932
|
+
/** Delivery preferences for Saturday. */
|
3933
|
+
saturday: NotificationDeliveryPreferencesDay;
|
3934
|
+
/** Delivery preferences for Sunday. */
|
3935
|
+
sunday: NotificationDeliveryPreferencesDay;
|
3936
|
+
/** Delivery preferences for Thursday. */
|
3937
|
+
thursday: NotificationDeliveryPreferencesDay;
|
3938
|
+
/** Delivery preferences for Tuesday. */
|
3939
|
+
tuesday: NotificationDeliveryPreferencesDay;
|
3940
|
+
/** Delivery preferences for Wednesday. */
|
3941
|
+
wednesday: NotificationDeliveryPreferencesDay;
|
3609
3942
|
}
|
3610
3943
|
/**
|
3611
3944
|
* NotificationPayload model
|
@@ -3882,7 +4215,7 @@ export declare class OauthToken extends Request {
|
|
3882
4215
|
export declare class OpsgenieSettings extends Request {
|
3883
4216
|
constructor(request: LinearRequest, data: L.OpsgenieSettingsFragment);
|
3884
4217
|
/** The date when the Opsgenie API failed with an unauthorized error. */
|
3885
|
-
apiFailedWithUnauthorizedErrorAt
|
4218
|
+
apiFailedWithUnauthorizedErrorAt?: Date;
|
3886
4219
|
}
|
3887
4220
|
/**
|
3888
4221
|
* An organization. Organizations are root-level objects that contain user accounts and teams.
|
@@ -3930,7 +4263,7 @@ export declare class Organization extends Request {
|
|
3930
4263
|
samlEnabled: boolean;
|
3931
4264
|
/** Whether SCIM provisioning is enabled for organization. */
|
3932
4265
|
scimEnabled: boolean;
|
3933
|
-
/** The time at which the trial
|
4266
|
+
/** The time at which the trial will end. */
|
3934
4267
|
trialEndsAt?: Date;
|
3935
4268
|
/**
|
3936
4269
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
@@ -3942,6 +4275,8 @@ export declare class Organization extends Request {
|
|
3942
4275
|
urlKey: string;
|
3943
4276
|
/** Number of active users in the organization. */
|
3944
4277
|
userCount: number;
|
4278
|
+
/** IP restriction configurations. */
|
4279
|
+
ipRestrictions?: OrganizationIpRestriction[];
|
3945
4280
|
/** The organization's project statuses. */
|
3946
4281
|
projectStatuses: ProjectStatus[];
|
3947
4282
|
/** The organization's subscription to a paid plan. */
|
@@ -4017,6 +4352,8 @@ export declare class OrganizationDomain extends Request {
|
|
4017
4352
|
claimed?: boolean;
|
4018
4353
|
/** The time at which the entity was created. */
|
4019
4354
|
createdAt: Date;
|
4355
|
+
/** Prevent users with this domain to create new workspaces. */
|
4356
|
+
disableOrganizationCreation?: boolean;
|
4020
4357
|
/** The unique identifier of the entity. */
|
4021
4358
|
id: string;
|
4022
4359
|
/** Domain name. */
|
@@ -4076,7 +4413,7 @@ export declare class OrganizationInvite extends Request {
|
|
4076
4413
|
/** The unique identifier of the entity. */
|
4077
4414
|
id: string;
|
4078
4415
|
/** Extra metadata associated with the organization invite. */
|
4079
|
-
metadata
|
4416
|
+
metadata?: L.Scalars["JSONObject"];
|
4080
4417
|
/**
|
4081
4418
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
4082
4419
|
* 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
|
@@ -4176,6 +4513,36 @@ export declare class OrganizationInvitePayload extends Request {
|
|
4176
4513
|
/** The organization invite that was created or updated. */
|
4177
4514
|
get organizationInvite(): LinearFetch<OrganizationInvite> | undefined;
|
4178
4515
|
}
|
4516
|
+
/**
|
4517
|
+
* OrganizationIpRestriction model
|
4518
|
+
*
|
4519
|
+
* @param request - function to call the graphql client
|
4520
|
+
* @param data - L.OrganizationIpRestrictionFragment response data
|
4521
|
+
*/
|
4522
|
+
export declare class OrganizationIpRestriction extends Request {
|
4523
|
+
constructor(request: LinearRequest, data: L.OrganizationIpRestrictionFragment);
|
4524
|
+
/** Optional restriction description. */
|
4525
|
+
description?: string;
|
4526
|
+
/** Whether the restriction is enabled. */
|
4527
|
+
enabled: boolean;
|
4528
|
+
/** IP range in CIDR format. */
|
4529
|
+
range: string;
|
4530
|
+
/** Restriction type. */
|
4531
|
+
type: string;
|
4532
|
+
}
|
4533
|
+
/**
|
4534
|
+
* OrganizationMeta model
|
4535
|
+
*
|
4536
|
+
* @param request - function to call the graphql client
|
4537
|
+
* @param data - L.OrganizationMetaFragment response data
|
4538
|
+
*/
|
4539
|
+
export declare class OrganizationMeta extends Request {
|
4540
|
+
constructor(request: LinearRequest, data: L.OrganizationMetaFragment);
|
4541
|
+
/** Allowed authentication providers, empty array means all are allowed. */
|
4542
|
+
allowedAuthServices: string[];
|
4543
|
+
/** The region the organization is hosted in. */
|
4544
|
+
region: string;
|
4545
|
+
}
|
4179
4546
|
/**
|
4180
4547
|
* OrganizationPayload model
|
4181
4548
|
*
|
@@ -4205,13 +4572,13 @@ export declare class OrganizationRegionResponse extends Request {
|
|
4205
4572
|
success: boolean;
|
4206
4573
|
}
|
4207
4574
|
/**
|
4208
|
-
*
|
4575
|
+
* OrganizationStartTrialPayload model
|
4209
4576
|
*
|
4210
4577
|
* @param request - function to call the graphql client
|
4211
|
-
* @param data - L.
|
4578
|
+
* @param data - L.OrganizationStartTrialPayloadFragment response data
|
4212
4579
|
*/
|
4213
|
-
export declare class
|
4214
|
-
constructor(request: LinearRequest, data: L.
|
4580
|
+
export declare class OrganizationStartTrialPayload extends Request {
|
4581
|
+
constructor(request: LinearRequest, data: L.OrganizationStartTrialPayloadFragment);
|
4215
4582
|
/** Whether the operation was successful. */
|
4216
4583
|
success: boolean;
|
4217
4584
|
}
|
@@ -4241,7 +4608,7 @@ export declare class PageInfo extends Request {
|
|
4241
4608
|
export declare class PagerDutySettings extends Request {
|
4242
4609
|
constructor(request: LinearRequest, data: L.PagerDutySettingsFragment);
|
4243
4610
|
/** The date when the PagerDuty API failed with an unauthorized error. */
|
4244
|
-
apiFailedWithUnauthorizedErrorAt
|
4611
|
+
apiFailedWithUnauthorizedErrorAt?: Date;
|
4245
4612
|
}
|
4246
4613
|
/**
|
4247
4614
|
* The paid subscription of an organization.
|
@@ -4257,7 +4624,7 @@ export declare class PaidSubscription extends Request {
|
|
4257
4624
|
/** The date the subscription was canceled, if any. */
|
4258
4625
|
canceledAt?: Date;
|
4259
4626
|
/** The collection method for this subscription, either automatically charged or invoiced. */
|
4260
|
-
collectionMethod
|
4627
|
+
collectionMethod: string;
|
4261
4628
|
/** The time at which the entity was created. */
|
4262
4629
|
createdAt: Date;
|
4263
4630
|
/** The unique identifier of the entity. */
|
@@ -4285,6 +4652,52 @@ export declare class PaidSubscription extends Request {
|
|
4285
4652
|
/** The organization that the subscription is associated with. */
|
4286
4653
|
get organization(): LinearFetch<Organization>;
|
4287
4654
|
}
|
4655
|
+
/**
|
4656
|
+
* Registered passkey for authentication.
|
4657
|
+
*
|
4658
|
+
* @param request - function to call the graphql client
|
4659
|
+
* @param data - L.PasskeyFragment response data
|
4660
|
+
*/
|
4661
|
+
export declare class Passkey extends Request {
|
4662
|
+
constructor(request: LinearRequest, data: L.PasskeyFragment);
|
4663
|
+
aaguid: string;
|
4664
|
+
/** Used web browser. Only set on creation. */
|
4665
|
+
browserType?: string;
|
4666
|
+
/** The time at which the entity was created. */
|
4667
|
+
createdAt: Date;
|
4668
|
+
id: string;
|
4669
|
+
/** IP address. Only set on creation. */
|
4670
|
+
ip?: string;
|
4671
|
+
label: string;
|
4672
|
+
/** The time when the passkey was last used. */
|
4673
|
+
lastUsedAt: Date;
|
4674
|
+
lastUsedSessionId?: string;
|
4675
|
+
/** Location city name. Only set on creation. */
|
4676
|
+
locationCity?: string;
|
4677
|
+
/** Location country name. Only set on creation. */
|
4678
|
+
locationCountry?: string;
|
4679
|
+
/** Location country code. Only set on creation. */
|
4680
|
+
locationCountryCode?: string;
|
4681
|
+
/** Location region code. Only set on creation. */
|
4682
|
+
locationRegionCode?: string;
|
4683
|
+
/** Date when the passkey was last updated. */
|
4684
|
+
updatedAt: Date;
|
4685
|
+
/** Creating session's user-agent. Only set on creation. */
|
4686
|
+
userAgent?: string;
|
4687
|
+
/** Type of application used to create. */
|
4688
|
+
clientType: L.AuthenticationSessionType;
|
4689
|
+
}
|
4690
|
+
/**
|
4691
|
+
* PasskeyLoginStartResponse model
|
4692
|
+
*
|
4693
|
+
* @param request - function to call the graphql client
|
4694
|
+
* @param data - L.PasskeyLoginStartResponseFragment response data
|
4695
|
+
*/
|
4696
|
+
export declare class PasskeyLoginStartResponse extends Request {
|
4697
|
+
constructor(request: LinearRequest, data: L.PasskeyLoginStartResponseFragment);
|
4698
|
+
options: L.Scalars["JSONObject"];
|
4699
|
+
success: boolean;
|
4700
|
+
}
|
4288
4701
|
/**
|
4289
4702
|
* A project.
|
4290
4703
|
*
|
@@ -4955,6 +5368,8 @@ export declare class ProjectUpdate extends Request {
|
|
4955
5368
|
updatedAt: Date;
|
4956
5369
|
/** The URL to the project update. */
|
4957
5370
|
url: string;
|
5371
|
+
/** Reactions associated with the project update. */
|
5372
|
+
reactions: Reaction[];
|
4958
5373
|
/** The health of the project at the time of the update. */
|
4959
5374
|
health: L.ProjectUpdateHealthType;
|
4960
5375
|
/** The project that the update is associated with. */
|
@@ -5264,8 +5679,10 @@ export declare class Reminder extends Request {
|
|
5264
5679
|
createdAt: Date;
|
5265
5680
|
/** The unique identifier of the entity. */
|
5266
5681
|
id: string;
|
5267
|
-
/** The time when a reminder triggers a notification in
|
5268
|
-
remindAt
|
5682
|
+
/** The time when a reminder triggers a notification in the user's inbox. */
|
5683
|
+
remindAt?: Date;
|
5684
|
+
/** Scheduling settings for recurring reminders. */
|
5685
|
+
schedule?: L.Scalars["JSONObject"];
|
5269
5686
|
/**
|
5270
5687
|
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
5271
5688
|
* 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 +5873,8 @@ export declare class SentrySettings extends Request {
|
|
5456
5873
|
*/
|
5457
5874
|
export declare class SharedSlackSettings extends Request {
|
5458
5875
|
constructor(request: LinearRequest, data: L.SharedSlackSettingsFragment);
|
5876
|
+
/** Enterprise id of the connected Slack enterprise */
|
5877
|
+
enterpriseId?: string;
|
5459
5878
|
/** Enterprise name of the connected Slack enterprise */
|
5460
5879
|
enterpriseName?: string;
|
5461
5880
|
/** Whether to show unfurl previews in Slack */
|
@@ -5473,6 +5892,8 @@ export declare class SharedSlackSettings extends Request {
|
|
5473
5892
|
*/
|
5474
5893
|
export declare class SlackAsksSettings extends Request {
|
5475
5894
|
constructor(request: LinearRequest, data: L.SlackAsksSettingsFragment);
|
5895
|
+
/** Enterprise id of the connected Slack enterprise */
|
5896
|
+
enterpriseId?: string;
|
5476
5897
|
/** Enterprise name of the connected Slack enterprise */
|
5477
5898
|
enterpriseName?: string;
|
5478
5899
|
/** Whether to show unfurl previews in Slack */
|
@@ -5573,6 +5994,8 @@ export declare class SlackPostSettings extends Request {
|
|
5573
5994
|
*/
|
5574
5995
|
export declare class SlackSettings extends Request {
|
5575
5996
|
constructor(request: LinearRequest, data: L.SlackSettingsFragment);
|
5997
|
+
/** Enterprise id of the connected Slack enterprise */
|
5998
|
+
enterpriseId?: string;
|
5576
5999
|
/** Enterprise name of the connected Slack enterprise */
|
5577
6000
|
enterpriseName?: string;
|
5578
6001
|
/** Whether Linear should automatically respond with issue unfurls when an issue identifier is mentioned in a Slack message. */
|
@@ -5597,6 +6020,19 @@ export declare class SsoUrlFromEmailResponse extends Request {
|
|
5597
6020
|
/** Whether the operation was successful. */
|
5598
6021
|
success: boolean;
|
5599
6022
|
}
|
6023
|
+
/**
|
6024
|
+
* SuccessPayload model
|
6025
|
+
*
|
6026
|
+
* @param request - function to call the graphql client
|
6027
|
+
* @param data - L.SuccessPayloadFragment response data
|
6028
|
+
*/
|
6029
|
+
export declare class SuccessPayload extends Request {
|
6030
|
+
constructor(request: LinearRequest, data: L.SuccessPayloadFragment);
|
6031
|
+
/** The identifier of the last sync operation. */
|
6032
|
+
lastSyncId: number;
|
6033
|
+
/** Whether the operation was successful. */
|
6034
|
+
success: boolean;
|
6035
|
+
}
|
5600
6036
|
/**
|
5601
6037
|
* SummaryPayload model
|
5602
6038
|
*
|
@@ -5829,7 +6265,7 @@ export declare class TeamMembership extends Request {
|
|
5829
6265
|
/** The unique identifier of the entity. */
|
5830
6266
|
id: string;
|
5831
6267
|
/** Whether the user is the owner of the team. */
|
5832
|
-
owner
|
6268
|
+
owner: boolean;
|
5833
6269
|
/** The order of the item in the users team list. */
|
5834
6270
|
sortOrder: number;
|
5835
6271
|
/**
|
@@ -6032,6 +6468,46 @@ export declare class TemplatePayload extends Request {
|
|
6032
6468
|
/** The template that was created or updated. */
|
6033
6469
|
get template(): LinearFetch<Template> | undefined;
|
6034
6470
|
}
|
6471
|
+
/**
|
6472
|
+
* A text draft, used for comments and project updates.
|
6473
|
+
*
|
6474
|
+
* @param request - function to call the graphql client
|
6475
|
+
* @param data - L.TextDraftFragment response data
|
6476
|
+
*/
|
6477
|
+
export declare class TextDraft extends Request {
|
6478
|
+
private _issue?;
|
6479
|
+
private _parentComment?;
|
6480
|
+
private _project?;
|
6481
|
+
private _projectUpdate?;
|
6482
|
+
private _user;
|
6483
|
+
constructor(request: LinearRequest, data: L.TextDraftFragment);
|
6484
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
6485
|
+
archivedAt?: Date;
|
6486
|
+
/** The text content as a Prosemirror document. */
|
6487
|
+
bodyData: Record<string, unknown>;
|
6488
|
+
/** The time at which the entity was created. */
|
6489
|
+
createdAt: Date;
|
6490
|
+
/** The unique identifier of the entity. */
|
6491
|
+
id: string;
|
6492
|
+
/** Whether the draft was autogenerated for the user. */
|
6493
|
+
isAutogenerated: boolean;
|
6494
|
+
/**
|
6495
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
6496
|
+
* 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
|
6497
|
+
* been updated after creation.
|
6498
|
+
*/
|
6499
|
+
updatedAt: Date;
|
6500
|
+
/** The issue for which this is a draft comment. */
|
6501
|
+
get issue(): LinearFetch<Issue> | undefined;
|
6502
|
+
/** The comment for which this is a draft comment reply. */
|
6503
|
+
get parentComment(): LinearFetch<Comment> | undefined;
|
6504
|
+
/** The project for which this is a draft project update. */
|
6505
|
+
get project(): LinearFetch<Project> | undefined;
|
6506
|
+
/** The project update for which this is a draft comment. */
|
6507
|
+
get projectUpdate(): LinearFetch<ProjectUpdate> | undefined;
|
6508
|
+
/** The user who created the draft. */
|
6509
|
+
get user(): LinearFetch<User> | undefined;
|
6510
|
+
}
|
6035
6511
|
/**
|
6036
6512
|
* A time schedule.
|
6037
6513
|
*
|
@@ -6060,7 +6536,7 @@ export declare class TimeSchedule extends Request {
|
|
6060
6536
|
*/
|
6061
6537
|
updatedAt: Date;
|
6062
6538
|
/** The schedule entries. */
|
6063
|
-
entries
|
6539
|
+
entries?: TimeScheduleEntry[];
|
6064
6540
|
/** The identifier of the Linear integration populating the schedule. */
|
6065
6541
|
get integration(): LinearFetch<Integration> | undefined;
|
6066
6542
|
/** The organization of the schedule. */
|
@@ -6496,6 +6972,8 @@ export declare class UserSettings extends Request {
|
|
6496
6972
|
* been updated after creation.
|
6497
6973
|
*/
|
6498
6974
|
updatedAt: Date;
|
6975
|
+
/** The notification delivery preferences for the user. */
|
6976
|
+
notificationDeliveryPreferences: NotificationDeliveryPreferences;
|
6499
6977
|
/** The user associated with these settings. */
|
6500
6978
|
get user(): LinearFetch<User> | undefined;
|
6501
6979
|
/** Updates the user's settings. */
|
@@ -6510,13 +6988,13 @@ export declare class UserSettings extends Request {
|
|
6510
6988
|
export declare class UserSettingsFlagPayload extends Request {
|
6511
6989
|
constructor(request: LinearRequest, data: L.UserSettingsFlagPayloadFragment);
|
6512
6990
|
/** The flag key which was updated. */
|
6513
|
-
flag
|
6991
|
+
flag?: string;
|
6514
6992
|
/** The identifier of the last sync operation. */
|
6515
6993
|
lastSyncId: number;
|
6516
6994
|
/** Whether the operation was successful. */
|
6517
6995
|
success: boolean;
|
6518
6996
|
/** The flag value after update. */
|
6519
|
-
value
|
6997
|
+
value?: number;
|
6520
6998
|
}
|
6521
6999
|
/**
|
6522
7000
|
* UserSettingsFlagsResetPayload model
|
@@ -6748,7 +7226,7 @@ export declare class WorkflowDefinition extends Request {
|
|
6748
7226
|
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
6749
7227
|
archivedAt?: Date;
|
6750
7228
|
/** The conditions that need to be match for the workflow to be triggered. */
|
6751
|
-
conditions
|
7229
|
+
conditions?: L.Scalars["JSONObject"];
|
6752
7230
|
/** The time at which the entity was created. */
|
6753
7231
|
createdAt: Date;
|
6754
7232
|
/** The description of the workflow. */
|
@@ -7517,19 +7995,19 @@ export declare class IssueImportCheckCsvQuery extends Request {
|
|
7517
7995
|
fetch(csvUrl: string, service: string): LinearFetch<IssueImportCheckPayload>;
|
7518
7996
|
}
|
7519
7997
|
/**
|
7520
|
-
* A fetchable
|
7998
|
+
* A fetchable IssueImportCheckSync Query
|
7521
7999
|
*
|
7522
8000
|
* @param request - function to call the graphql client
|
7523
8001
|
*/
|
7524
|
-
export declare class
|
8002
|
+
export declare class IssueImportCheckSyncQuery extends Request {
|
7525
8003
|
constructor(request: LinearRequest);
|
7526
8004
|
/**
|
7527
|
-
* Call the
|
8005
|
+
* Call the IssueImportCheckSync query and return a IssueImportSyncCheckPayload
|
7528
8006
|
*
|
7529
|
-
* @param
|
7530
|
-
* @returns parsed response from
|
8007
|
+
* @param issueImportId - required issueImportId to pass to issueImportCheckSync
|
8008
|
+
* @returns parsed response from IssueImportCheckSyncQuery
|
7531
8009
|
*/
|
7532
|
-
fetch(
|
8010
|
+
fetch(issueImportId: string): LinearFetch<IssueImportSyncCheckPayload>;
|
7533
8011
|
}
|
7534
8012
|
/**
|
7535
8013
|
* A fetchable IssueLabel Query
|
@@ -7663,7 +8141,7 @@ export declare class NotificationQuery extends Request {
|
|
7663
8141
|
* @param id - required id to pass to notification
|
7664
8142
|
* @returns parsed response from NotificationQuery
|
7665
8143
|
*/
|
7666
|
-
fetch(id: string): LinearFetch<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
8144
|
+
fetch(id: string): LinearFetch<DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
7667
8145
|
}
|
7668
8146
|
/**
|
7669
8147
|
* A fetchable NotificationSubscription Query
|
@@ -8414,36 +8892,6 @@ export declare class AirbyteIntegrationConnectMutation extends Request {
|
|
8414
8892
|
*/
|
8415
8893
|
fetch(input: L.AirbyteConfigurationInput): LinearFetch<IntegrationPayload>;
|
8416
8894
|
}
|
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
8895
|
/**
|
8448
8896
|
* A fetchable ArchiveAttachment Mutation
|
8449
8897
|
*
|
@@ -8662,6 +9110,21 @@ export declare class AttachmentLinkZendeskMutation extends Request {
|
|
8662
9110
|
*/
|
8663
9111
|
fetch(issueId: string, ticketId: string, variables?: Omit<L.AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
|
8664
9112
|
}
|
9113
|
+
/**
|
9114
|
+
* A fetchable AttachmentSyncToSlack Mutation
|
9115
|
+
*
|
9116
|
+
* @param request - function to call the graphql client
|
9117
|
+
*/
|
9118
|
+
export declare class AttachmentSyncToSlackMutation extends Request {
|
9119
|
+
constructor(request: LinearRequest);
|
9120
|
+
/**
|
9121
|
+
* Call the AttachmentSyncToSlack mutation and return a AttachmentPayload
|
9122
|
+
*
|
9123
|
+
* @param id - required id to pass to attachmentSyncToSlack
|
9124
|
+
* @returns parsed response from AttachmentSyncToSlackMutation
|
9125
|
+
*/
|
9126
|
+
fetch(id: string): LinearFetch<AttachmentPayload>;
|
9127
|
+
}
|
8665
9128
|
/**
|
8666
9129
|
* A fetchable UpdateAttachment Mutation
|
8667
9130
|
*
|
@@ -8993,28 +9456,27 @@ export declare class CreateDocumentMutation extends Request {
|
|
8993
9456
|
export declare class DeleteDocumentMutation extends Request {
|
8994
9457
|
constructor(request: LinearRequest);
|
8995
9458
|
/**
|
8996
|
-
* Call the DeleteDocument mutation and return a
|
9459
|
+
* Call the DeleteDocument mutation and return a DocumentArchivePayload
|
8997
9460
|
*
|
8998
9461
|
* @param id - required id to pass to deleteDocument
|
8999
9462
|
* @returns parsed response from DeleteDocumentMutation
|
9000
9463
|
*/
|
9001
|
-
fetch(id: string): LinearFetch<
|
9464
|
+
fetch(id: string): LinearFetch<DocumentArchivePayload>;
|
9002
9465
|
}
|
9003
9466
|
/**
|
9004
|
-
* A fetchable
|
9467
|
+
* A fetchable UnarchiveDocument Mutation
|
9005
9468
|
*
|
9006
9469
|
* @param request - function to call the graphql client
|
9007
9470
|
*/
|
9008
|
-
export declare class
|
9471
|
+
export declare class UnarchiveDocumentMutation extends Request {
|
9009
9472
|
constructor(request: LinearRequest);
|
9010
9473
|
/**
|
9011
|
-
* Call the
|
9474
|
+
* Call the UnarchiveDocument mutation and return a DocumentArchivePayload
|
9012
9475
|
*
|
9013
|
-
* @param id - required id to pass to
|
9014
|
-
* @
|
9015
|
-
* @returns parsed response from DocumentReminderMutation
|
9476
|
+
* @param id - required id to pass to unarchiveDocument
|
9477
|
+
* @returns parsed response from UnarchiveDocumentMutation
|
9016
9478
|
*/
|
9017
|
-
fetch(id: string
|
9479
|
+
fetch(id: string): LinearFetch<DocumentArchivePayload>;
|
9018
9480
|
}
|
9019
9481
|
/**
|
9020
9482
|
* A fetchable UpdateDocument Mutation
|
@@ -9556,6 +10018,21 @@ export declare class IntegrationGithubConnectMutation extends Request {
|
|
9556
10018
|
*/
|
9557
10019
|
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
9558
10020
|
}
|
10021
|
+
/**
|
10022
|
+
* A fetchable IntegrationGithubImportConnect Mutation
|
10023
|
+
*
|
10024
|
+
* @param request - function to call the graphql client
|
10025
|
+
*/
|
10026
|
+
export declare class IntegrationGithubImportConnectMutation extends Request {
|
10027
|
+
constructor(request: LinearRequest);
|
10028
|
+
/**
|
10029
|
+
* Call the IntegrationGithubImportConnect mutation and return a IntegrationPayload
|
10030
|
+
*
|
10031
|
+
* @param installationId - required installationId to pass to integrationGithubImportConnect
|
10032
|
+
* @returns parsed response from IntegrationGithubImportConnectMutation
|
10033
|
+
*/
|
10034
|
+
fetch(installationId: string): LinearFetch<IntegrationPayload>;
|
10035
|
+
}
|
9559
10036
|
/**
|
9560
10037
|
* A fetchable IntegrationGitlabConnect Mutation
|
9561
10038
|
*
|
@@ -9727,6 +10204,23 @@ export declare class IntegrationSlackAsksMutation extends Request {
|
|
9727
10204
|
*/
|
9728
10205
|
fetch(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
9729
10206
|
}
|
10207
|
+
/**
|
10208
|
+
* A fetchable IntegrationSlackCustomViewNotifications Mutation
|
10209
|
+
*
|
10210
|
+
* @param request - function to call the graphql client
|
10211
|
+
*/
|
10212
|
+
export declare class IntegrationSlackCustomViewNotificationsMutation extends Request {
|
10213
|
+
constructor(request: LinearRequest);
|
10214
|
+
/**
|
10215
|
+
* Call the IntegrationSlackCustomViewNotifications mutation and return a SlackChannelConnectPayload
|
10216
|
+
*
|
10217
|
+
* @param code - required code to pass to integrationSlackCustomViewNotifications
|
10218
|
+
* @param customViewId - required customViewId to pass to integrationSlackCustomViewNotifications
|
10219
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackCustomViewNotifications
|
10220
|
+
* @returns parsed response from IntegrationSlackCustomViewNotificationsMutation
|
10221
|
+
*/
|
10222
|
+
fetch(code: string, customViewId: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
|
10223
|
+
}
|
9730
10224
|
/**
|
9731
10225
|
* A fetchable IntegrationSlackImportEmojis Mutation
|
9732
10226
|
*
|
@@ -10044,13 +10538,11 @@ export declare class IssueImportCreateGithubMutation extends Request {
|
|
10044
10538
|
/**
|
10045
10539
|
* Call the IssueImportCreateGithub mutation and return a IssueImportPayload
|
10046
10540
|
*
|
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
|
10541
|
+
* @param integrationId - required integrationId to pass to issueImportCreateGithub
|
10542
|
+
* @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
|
10051
10543
|
* @returns parsed response from IssueImportCreateGithubMutation
|
10052
10544
|
*/
|
10053
|
-
fetch(
|
10545
|
+
fetch(integrationId: string, variables?: Omit<L.IssueImportCreateGithubMutationVariables, "integrationId">): LinearFetch<IssueImportPayload>;
|
10054
10546
|
}
|
10055
10547
|
/**
|
10056
10548
|
* A fetchable IssueImportCreateJira Mutation
|
@@ -10177,9 +10669,10 @@ export declare class CreateIssueRelationMutation extends Request {
|
|
10177
10669
|
* Call the CreateIssueRelation mutation and return a IssueRelationPayload
|
10178
10670
|
*
|
10179
10671
|
* @param input - required input to pass to createIssueRelation
|
10672
|
+
* @param variables - variables without 'input' to pass into the CreateIssueRelationMutation
|
10180
10673
|
* @returns parsed response from CreateIssueRelationMutation
|
10181
10674
|
*/
|
10182
|
-
fetch(input: L.IssueRelationCreateInput): LinearFetch<IssueRelationPayload>;
|
10675
|
+
fetch(input: L.IssueRelationCreateInput, variables?: Omit<L.CreateIssueRelationMutationVariables, "input">): LinearFetch<IssueRelationPayload>;
|
10183
10676
|
}
|
10184
10677
|
/**
|
10185
10678
|
* A fetchable DeleteIssueRelation Mutation
|
@@ -10669,18 +11162,18 @@ export declare class UpdateOrganizationInviteMutation extends Request {
|
|
10669
11162
|
fetch(id: string, input: L.OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
|
10670
11163
|
}
|
10671
11164
|
/**
|
10672
|
-
* A fetchable
|
11165
|
+
* A fetchable OrganizationStartTrial Mutation
|
10673
11166
|
*
|
10674
11167
|
* @param request - function to call the graphql client
|
10675
11168
|
*/
|
10676
|
-
export declare class
|
11169
|
+
export declare class OrganizationStartTrialMutation extends Request {
|
10677
11170
|
constructor(request: LinearRequest);
|
10678
11171
|
/**
|
10679
|
-
* Call the
|
11172
|
+
* Call the OrganizationStartTrial mutation and return a OrganizationStartTrialPayload
|
10680
11173
|
*
|
10681
|
-
* @returns parsed response from
|
11174
|
+
* @returns parsed response from OrganizationStartTrialMutation
|
10682
11175
|
*/
|
10683
|
-
fetch(): LinearFetch<
|
11176
|
+
fetch(): LinearFetch<OrganizationStartTrialPayload>;
|
10684
11177
|
}
|
10685
11178
|
/**
|
10686
11179
|
* A fetchable UpdateOrganization Mutation
|
@@ -11584,21 +12077,6 @@ export declare class UserPromoteMemberMutation extends Request {
|
|
11584
12077
|
*/
|
11585
12078
|
fetch(id: string): LinearFetch<UserAdminPayload>;
|
11586
12079
|
}
|
11587
|
-
/**
|
11588
|
-
* A fetchable UserSettingsFlagIncrement Mutation
|
11589
|
-
*
|
11590
|
-
* @param request - function to call the graphql client
|
11591
|
-
*/
|
11592
|
-
export declare class UserSettingsFlagIncrementMutation extends Request {
|
11593
|
-
constructor(request: LinearRequest);
|
11594
|
-
/**
|
11595
|
-
* Call the UserSettingsFlagIncrement mutation and return a UserSettingsFlagPayload
|
11596
|
-
*
|
11597
|
-
* @param flag - required flag to pass to userSettingsFlagIncrement
|
11598
|
-
* @returns parsed response from UserSettingsFlagIncrementMutation
|
11599
|
-
*/
|
11600
|
-
fetch(flag: string): LinearFetch<UserSettingsFlagPayload>;
|
11601
|
-
}
|
11602
12080
|
/**
|
11603
12081
|
* A fetchable UserSettingsFlagsReset Mutation
|
11604
12082
|
*
|
@@ -12068,6 +12546,25 @@ export declare class CustomView_OrganizationViewPreferencesQuery extends Request
|
|
12068
12546
|
*/
|
12069
12547
|
fetch(): LinearFetch<ViewPreferences | undefined>;
|
12070
12548
|
}
|
12549
|
+
/**
|
12550
|
+
* A fetchable CustomView_Projects Query
|
12551
|
+
*
|
12552
|
+
* @param request - function to call the graphql client
|
12553
|
+
* @param id - required id to pass to customView
|
12554
|
+
* @param variables - variables without 'id' to pass into the CustomView_ProjectsQuery
|
12555
|
+
*/
|
12556
|
+
export declare class CustomView_ProjectsQuery extends Request {
|
12557
|
+
private _id;
|
12558
|
+
private _variables?;
|
12559
|
+
constructor(request: LinearRequest, id: string, variables?: Omit<L.CustomView_ProjectsQueryVariables, "id">);
|
12560
|
+
/**
|
12561
|
+
* Call the CustomView_Projects query and return a ProjectConnection
|
12562
|
+
*
|
12563
|
+
* @param variables - variables without 'id' to pass into the CustomView_ProjectsQuery
|
12564
|
+
* @returns parsed response from CustomView_ProjectsQuery
|
12565
|
+
*/
|
12566
|
+
fetch(variables?: Omit<L.CustomView_ProjectsQueryVariables, "id">): LinearFetch<ProjectConnection>;
|
12567
|
+
}
|
12071
12568
|
/**
|
12072
12569
|
* A fetchable CustomView_UserViewPreferences Query
|
12073
12570
|
*
|
@@ -13207,6 +13704,146 @@ export declare class User_TeamsQuery extends Request {
|
|
13207
13704
|
*/
|
13208
13705
|
fetch(variables?: Omit<L.User_TeamsQueryVariables, "id">): LinearFetch<TeamConnection>;
|
13209
13706
|
}
|
13707
|
+
/**
|
13708
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences Query
|
13709
|
+
*
|
13710
|
+
* @param request - function to call the graphql client
|
13711
|
+
*/
|
13712
|
+
export declare class UserSettings_NotificationDeliveryPreferencesQuery extends Request {
|
13713
|
+
constructor(request: LinearRequest);
|
13714
|
+
/**
|
13715
|
+
* Call the UserSettings_NotificationDeliveryPreferences query and return a NotificationDeliveryPreferences
|
13716
|
+
*
|
13717
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferencesQuery
|
13718
|
+
*/
|
13719
|
+
fetch(): LinearFetch<NotificationDeliveryPreferences>;
|
13720
|
+
}
|
13721
|
+
/**
|
13722
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile Query
|
13723
|
+
*
|
13724
|
+
* @param request - function to call the graphql client
|
13725
|
+
*/
|
13726
|
+
export declare class UserSettings_NotificationDeliveryPreferences_MobileQuery extends Request {
|
13727
|
+
constructor(request: LinearRequest);
|
13728
|
+
/**
|
13729
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile query and return a NotificationDeliveryPreferencesChannel
|
13730
|
+
*
|
13731
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_MobileQuery
|
13732
|
+
*/
|
13733
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesChannel | undefined>;
|
13734
|
+
}
|
13735
|
+
/**
|
13736
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule Query
|
13737
|
+
*
|
13738
|
+
* @param request - function to call the graphql client
|
13739
|
+
*/
|
13740
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_ScheduleQuery extends Request {
|
13741
|
+
constructor(request: LinearRequest);
|
13742
|
+
/**
|
13743
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule query and return a NotificationDeliveryPreferencesSchedule
|
13744
|
+
*
|
13745
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_ScheduleQuery
|
13746
|
+
*/
|
13747
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesSchedule | undefined>;
|
13748
|
+
}
|
13749
|
+
/**
|
13750
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Friday Query
|
13751
|
+
*
|
13752
|
+
* @param request - function to call the graphql client
|
13753
|
+
*/
|
13754
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_FridayQuery extends Request {
|
13755
|
+
constructor(request: LinearRequest);
|
13756
|
+
/**
|
13757
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Friday query and return a NotificationDeliveryPreferencesDay
|
13758
|
+
*
|
13759
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_FridayQuery
|
13760
|
+
*/
|
13761
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13762
|
+
}
|
13763
|
+
/**
|
13764
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Monday Query
|
13765
|
+
*
|
13766
|
+
* @param request - function to call the graphql client
|
13767
|
+
*/
|
13768
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_MondayQuery extends Request {
|
13769
|
+
constructor(request: LinearRequest);
|
13770
|
+
/**
|
13771
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Monday query and return a NotificationDeliveryPreferencesDay
|
13772
|
+
*
|
13773
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_MondayQuery
|
13774
|
+
*/
|
13775
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13776
|
+
}
|
13777
|
+
/**
|
13778
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Saturday Query
|
13779
|
+
*
|
13780
|
+
* @param request - function to call the graphql client
|
13781
|
+
*/
|
13782
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SaturdayQuery extends Request {
|
13783
|
+
constructor(request: LinearRequest);
|
13784
|
+
/**
|
13785
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Saturday query and return a NotificationDeliveryPreferencesDay
|
13786
|
+
*
|
13787
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SaturdayQuery
|
13788
|
+
*/
|
13789
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13790
|
+
}
|
13791
|
+
/**
|
13792
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Sunday Query
|
13793
|
+
*
|
13794
|
+
* @param request - function to call the graphql client
|
13795
|
+
*/
|
13796
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SundayQuery extends Request {
|
13797
|
+
constructor(request: LinearRequest);
|
13798
|
+
/**
|
13799
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Sunday query and return a NotificationDeliveryPreferencesDay
|
13800
|
+
*
|
13801
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_SundayQuery
|
13802
|
+
*/
|
13803
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13804
|
+
}
|
13805
|
+
/**
|
13806
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Thursday Query
|
13807
|
+
*
|
13808
|
+
* @param request - function to call the graphql client
|
13809
|
+
*/
|
13810
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_ThursdayQuery extends Request {
|
13811
|
+
constructor(request: LinearRequest);
|
13812
|
+
/**
|
13813
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Thursday query and return a NotificationDeliveryPreferencesDay
|
13814
|
+
*
|
13815
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_ThursdayQuery
|
13816
|
+
*/
|
13817
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13818
|
+
}
|
13819
|
+
/**
|
13820
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Tuesday Query
|
13821
|
+
*
|
13822
|
+
* @param request - function to call the graphql client
|
13823
|
+
*/
|
13824
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_TuesdayQuery extends Request {
|
13825
|
+
constructor(request: LinearRequest);
|
13826
|
+
/**
|
13827
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Tuesday query and return a NotificationDeliveryPreferencesDay
|
13828
|
+
*
|
13829
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_TuesdayQuery
|
13830
|
+
*/
|
13831
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13832
|
+
}
|
13833
|
+
/**
|
13834
|
+
* A fetchable UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Wednesday Query
|
13835
|
+
*
|
13836
|
+
* @param request - function to call the graphql client
|
13837
|
+
*/
|
13838
|
+
export declare class UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_WednesdayQuery extends Request {
|
13839
|
+
constructor(request: LinearRequest);
|
13840
|
+
/**
|
13841
|
+
* Call the UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_Wednesday query and return a NotificationDeliveryPreferencesDay
|
13842
|
+
*
|
13843
|
+
* @returns parsed response from UserSettings_NotificationDeliveryPreferences_Mobile_Schedule_WednesdayQuery
|
13844
|
+
*/
|
13845
|
+
fetch(): LinearFetch<NotificationDeliveryPreferencesDay | undefined>;
|
13846
|
+
}
|
13210
13847
|
/**
|
13211
13848
|
* A fetchable Viewer_AssignedIssues Query
|
13212
13849
|
*
|
@@ -13589,12 +14226,12 @@ export declare class LinearSdk extends Request {
|
|
13589
14226
|
*/
|
13590
14227
|
issueImportCheckCSV(csvUrl: string, service: string): LinearFetch<IssueImportCheckPayload>;
|
13591
14228
|
/**
|
13592
|
-
*
|
14229
|
+
* Checks whether it will be possible to setup sync for this project or repository at the end of import
|
13593
14230
|
*
|
13594
|
-
* @param
|
13595
|
-
* @returns
|
14231
|
+
* @param issueImportId - required issueImportId to pass to issueImportCheckSync
|
14232
|
+
* @returns IssueImportSyncCheckPayload
|
13596
14233
|
*/
|
13597
|
-
|
14234
|
+
issueImportCheckSync(issueImportId: string): LinearFetch<IssueImportSyncCheckPayload>;
|
13598
14235
|
/**
|
13599
14236
|
* One specific label.
|
13600
14237
|
*
|
@@ -13656,7 +14293,7 @@ export declare class LinearSdk extends Request {
|
|
13656
14293
|
* @param id - required id to pass to notification
|
13657
14294
|
* @returns Notification
|
13658
14295
|
*/
|
13659
|
-
notification(id: string): LinearFetch<DocumentNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
14296
|
+
notification(id: string): LinearFetch<DocumentNotification | InitiativeNotification | IssueNotification | OauthClientApprovalNotification | ProjectNotification | Notification>;
|
13660
14297
|
/**
|
13661
14298
|
* One specific notification subscription.
|
13662
14299
|
*
|
@@ -14006,20 +14643,6 @@ export declare class LinearSdk extends Request {
|
|
14006
14643
|
* @returns IntegrationPayload
|
14007
14644
|
*/
|
14008
14645
|
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
14646
|
/**
|
14024
14647
|
* [DEPRECATED] Archives an issue attachment.
|
14025
14648
|
*
|
@@ -14134,6 +14757,13 @@ export declare class LinearSdk extends Request {
|
|
14134
14757
|
* @returns AttachmentPayload
|
14135
14758
|
*/
|
14136
14759
|
attachmentLinkZendesk(issueId: string, ticketId: string, variables?: Omit<L.AttachmentLinkZendeskMutationVariables, "issueId" | "ticketId">): LinearFetch<AttachmentPayload>;
|
14760
|
+
/**
|
14761
|
+
* Begin syncing the thread for an existing Slack message attachment with a comment thread on its issue.
|
14762
|
+
*
|
14763
|
+
* @param id - required id to pass to attachmentSyncToSlack
|
14764
|
+
* @returns AttachmentPayload
|
14765
|
+
*/
|
14766
|
+
attachmentSyncToSlack(id: string): LinearFetch<AttachmentPayload>;
|
14137
14767
|
/**
|
14138
14768
|
* Updates an existing issue attachment.
|
14139
14769
|
*
|
@@ -14290,20 +14920,19 @@ export declare class LinearSdk extends Request {
|
|
14290
14920
|
*/
|
14291
14921
|
createDocument(input: L.DocumentCreateInput): LinearFetch<DocumentPayload>;
|
14292
14922
|
/**
|
14293
|
-
* Deletes a document.
|
14923
|
+
* Deletes (trashes) a document.
|
14294
14924
|
*
|
14295
14925
|
* @param id - required id to pass to deleteDocument
|
14296
|
-
* @returns
|
14926
|
+
* @returns DocumentArchivePayload
|
14297
14927
|
*/
|
14298
|
-
deleteDocument(id: string): LinearFetch<
|
14928
|
+
deleteDocument(id: string): LinearFetch<DocumentArchivePayload>;
|
14299
14929
|
/**
|
14300
|
-
*
|
14930
|
+
* Restores a document.
|
14301
14931
|
*
|
14302
|
-
* @param id - required id to pass to
|
14303
|
-
* @
|
14304
|
-
* @returns DocumentPayload
|
14932
|
+
* @param id - required id to pass to unarchiveDocument
|
14933
|
+
* @returns DocumentArchivePayload
|
14305
14934
|
*/
|
14306
|
-
|
14935
|
+
unarchiveDocument(id: string): LinearFetch<DocumentArchivePayload>;
|
14307
14936
|
/**
|
14308
14937
|
* Updates a document.
|
14309
14938
|
*
|
@@ -14564,6 +15193,13 @@ export declare class LinearSdk extends Request {
|
|
14564
15193
|
* @returns IntegrationPayload
|
14565
15194
|
*/
|
14566
15195
|
integrationGithubConnect(installationId: string): LinearFetch<IntegrationPayload>;
|
15196
|
+
/**
|
15197
|
+
* Connects the organization with the GitHub Import App.
|
15198
|
+
*
|
15199
|
+
* @param installationId - required installationId to pass to integrationGithubImportConnect
|
15200
|
+
* @returns IntegrationPayload
|
15201
|
+
*/
|
15202
|
+
integrationGithubImportConnect(installationId: string): LinearFetch<IntegrationPayload>;
|
14567
15203
|
/**
|
14568
15204
|
* Connects the organization with a GitLab Access Token.
|
14569
15205
|
*
|
@@ -14647,6 +15283,15 @@ export declare class LinearSdk extends Request {
|
|
14647
15283
|
* @returns IntegrationPayload
|
14648
15284
|
*/
|
14649
15285
|
integrationSlackAsks(code: string, redirectUri: string): LinearFetch<IntegrationPayload>;
|
15286
|
+
/**
|
15287
|
+
* Slack integration for custom view notifications.
|
15288
|
+
*
|
15289
|
+
* @param code - required code to pass to integrationSlackCustomViewNotifications
|
15290
|
+
* @param customViewId - required customViewId to pass to integrationSlackCustomViewNotifications
|
15291
|
+
* @param redirectUri - required redirectUri to pass to integrationSlackCustomViewNotifications
|
15292
|
+
* @returns SlackChannelConnectPayload
|
15293
|
+
*/
|
15294
|
+
integrationSlackCustomViewNotifications(code: string, customViewId: string, redirectUri: string): LinearFetch<SlackChannelConnectPayload>;
|
14650
15295
|
/**
|
14651
15296
|
* Imports custom emojis from your Slack workspace.
|
14652
15297
|
*
|
@@ -14805,13 +15450,11 @@ export declare class LinearSdk extends Request {
|
|
14805
15450
|
/**
|
14806
15451
|
* Kicks off a GitHub import job.
|
14807
15452
|
*
|
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
|
15453
|
+
* @param integrationId - required integrationId to pass to issueImportCreateGithub
|
15454
|
+
* @param variables - variables without 'integrationId' to pass into the IssueImportCreateGithubMutation
|
14812
15455
|
* @returns IssueImportPayload
|
14813
15456
|
*/
|
14814
|
-
issueImportCreateGithub(
|
15457
|
+
issueImportCreateGithub(integrationId: string, variables?: Omit<L.IssueImportCreateGithubMutationVariables, "integrationId">): LinearFetch<IssueImportPayload>;
|
14815
15458
|
/**
|
14816
15459
|
* Kicks off a Jira import job.
|
14817
15460
|
*
|
@@ -14874,9 +15517,10 @@ export declare class LinearSdk extends Request {
|
|
14874
15517
|
* Creates a new issue relation.
|
14875
15518
|
*
|
14876
15519
|
* @param input - required input to pass to createIssueRelation
|
15520
|
+
* @param variables - variables without 'input' to pass into the CreateIssueRelationMutation
|
14877
15521
|
* @returns IssueRelationPayload
|
14878
15522
|
*/
|
14879
|
-
createIssueRelation(input: L.IssueRelationCreateInput): LinearFetch<IssueRelationPayload>;
|
15523
|
+
createIssueRelation(input: L.IssueRelationCreateInput, variables?: Omit<L.CreateIssueRelationMutationVariables, "input">): LinearFetch<IssueRelationPayload>;
|
14880
15524
|
/**
|
14881
15525
|
* Deletes an issue relation.
|
14882
15526
|
*
|
@@ -15109,11 +15753,11 @@ export declare class LinearSdk extends Request {
|
|
15109
15753
|
*/
|
15110
15754
|
updateOrganizationInvite(id: string, input: L.OrganizationInviteUpdateInput): LinearFetch<OrganizationInvitePayload>;
|
15111
15755
|
/**
|
15112
|
-
* Starts a
|
15756
|
+
* Starts a trial for the organization. Administrator privileges required.
|
15113
15757
|
*
|
15114
|
-
* @returns
|
15758
|
+
* @returns OrganizationStartTrialPayload
|
15115
15759
|
*/
|
15116
|
-
get
|
15760
|
+
get organizationStartTrial(): LinearFetch<OrganizationStartTrialPayload>;
|
15117
15761
|
/**
|
15118
15762
|
* Updates the user's organization.
|
15119
15763
|
*
|
@@ -15544,13 +16188,6 @@ export declare class LinearSdk extends Request {
|
|
15544
16188
|
* @returns UserAdminPayload
|
15545
16189
|
*/
|
15546
16190
|
userPromoteMember(id: string): LinearFetch<UserAdminPayload>;
|
15547
|
-
/**
|
15548
|
-
* [Deprecated] Updates a user's settings flag.
|
15549
|
-
*
|
15550
|
-
* @param flag - required flag to pass to userSettingsFlagIncrement
|
15551
|
-
* @returns UserSettingsFlagPayload
|
15552
|
-
*/
|
15553
|
-
userSettingsFlagIncrement(flag: string): LinearFetch<UserSettingsFlagPayload>;
|
15554
16191
|
/**
|
15555
16192
|
* Resets user's setting flags.
|
15556
16193
|
*
|