@linear/sdk 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +68 -0
- package/dist/_generated_documents.d.ts +103 -259
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +50 -180
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +138 -501
- 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 +137 -494
- 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 +139 -502
- 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
@@ -516,17 +516,6 @@ export declare type CommentUpdateInput = {
|
|
516
516
|
/** The comment content as a Prosemirror document. */
|
517
517
|
bodyData?: Maybe<Scalars["JSON"]>;
|
518
518
|
};
|
519
|
-
/** GitHub's commit data */
|
520
|
-
export declare type CommitPayload = {
|
521
|
-
__typename?: "CommitPayload";
|
522
|
-
added: Array<Scalars["String"]>;
|
523
|
-
id: Scalars["String"];
|
524
|
-
message: Scalars["String"];
|
525
|
-
modified: Array<Scalars["String"]>;
|
526
|
-
removed: Array<Scalars["String"]>;
|
527
|
-
timestamp: Scalars["String"];
|
528
|
-
url: Scalars["String"];
|
529
|
-
};
|
530
519
|
export declare type ContactCreateInput = {
|
531
520
|
/** User's browser information. */
|
532
521
|
browser?: Maybe<Scalars["String"]>;
|
@@ -1432,58 +1421,6 @@ export declare type IntegrationRequestPayload = {
|
|
1432
1421
|
/** Whether the operation was successful. */
|
1433
1422
|
success: Scalars["Boolean"];
|
1434
1423
|
};
|
1435
|
-
/** An integration resource created by an external service. */
|
1436
|
-
export declare type IntegrationResource = Node & {
|
1437
|
-
__typename?: "IntegrationResource";
|
1438
|
-
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
1439
|
-
archivedAt?: Maybe<Scalars["DateTime"]>;
|
1440
|
-
/** The time at which the entity was created. */
|
1441
|
-
createdAt: Scalars["DateTime"];
|
1442
|
-
/** Detailed information about the external resource. */
|
1443
|
-
data: IntegrationResourceData;
|
1444
|
-
/** The unique identifier of the entity. */
|
1445
|
-
id: Scalars["ID"];
|
1446
|
-
/** The integration that the resource is associated with. */
|
1447
|
-
integration?: Maybe<Integration>;
|
1448
|
-
/** The issue that the resource is associated with. */
|
1449
|
-
issue: Issue;
|
1450
|
-
/** Pull request information for GitHub pull requests and GitLab merge requests. */
|
1451
|
-
pullRequest: PullRequestPayload;
|
1452
|
-
/** The external service resource ID. */
|
1453
|
-
resourceId: Scalars["String"];
|
1454
|
-
/** The integration's type. */
|
1455
|
-
resourceType: Scalars["String"];
|
1456
|
-
/**
|
1457
|
-
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
1458
|
-
* 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
|
1459
|
-
* been updated after creation.
|
1460
|
-
*/
|
1461
|
-
updatedAt: Scalars["DateTime"];
|
1462
|
-
};
|
1463
|
-
export declare type IntegrationResourceConnection = {
|
1464
|
-
__typename?: "IntegrationResourceConnection";
|
1465
|
-
edges: Array<IntegrationResourceEdge>;
|
1466
|
-
nodes: Array<IntegrationResource>;
|
1467
|
-
pageInfo: PageInfo;
|
1468
|
-
};
|
1469
|
-
/** Integration resource's payload */
|
1470
|
-
export declare type IntegrationResourceData = {
|
1471
|
-
__typename?: "IntegrationResourceData";
|
1472
|
-
/** The payload for an IntegrationResource of type 'githubCommit' */
|
1473
|
-
githubCommit?: Maybe<CommitPayload>;
|
1474
|
-
/** The payload for an IntegrationResource of type 'githubPullRequest' */
|
1475
|
-
githubPullRequest?: Maybe<PullRequestPayload>;
|
1476
|
-
/** The payload for an IntegrationResource of type 'gitlabMergeRequest' */
|
1477
|
-
gitlabMergeRequest?: Maybe<PullRequestPayload>;
|
1478
|
-
/** The payload for an IntegrationResource of type 'sentryIssue' */
|
1479
|
-
sentryIssue?: Maybe<SentryIssuePayload>;
|
1480
|
-
};
|
1481
|
-
export declare type IntegrationResourceEdge = {
|
1482
|
-
__typename?: "IntegrationResourceEdge";
|
1483
|
-
/** Used in `before` and `after` args */
|
1484
|
-
cursor: Scalars["String"];
|
1485
|
-
node: IntegrationResource;
|
1486
|
-
};
|
1487
1424
|
/** The integration resource's settings */
|
1488
1425
|
export declare type IntegrationSettings = {
|
1489
1426
|
__typename?: "IntegrationSettings";
|
@@ -1748,11 +1685,6 @@ export declare type Issue = Node & {
|
|
1748
1685
|
id: Scalars["ID"];
|
1749
1686
|
/** Issue's human readable identifier (e.g. ENG-123). */
|
1750
1687
|
identifier: Scalars["String"];
|
1751
|
-
/**
|
1752
|
-
* [DEPRECATED] Integration resources for this issue.
|
1753
|
-
* @deprecated This field will soon be deprecated, please use `attachments` instead
|
1754
|
-
*/
|
1755
|
-
integrationResources: IntegrationResourceConnection;
|
1756
1688
|
/** Inverse relations associated with this issue. */
|
1757
1689
|
inverseRelations: IssueRelationConnection;
|
1758
1690
|
/** Labels associated with this issue. */
|
@@ -1850,15 +1782,6 @@ export declare type IssueHistoryArgs = {
|
|
1850
1782
|
orderBy?: Maybe<PaginationOrderBy>;
|
1851
1783
|
};
|
1852
1784
|
/** An issue. */
|
1853
|
-
export declare type IssueIntegrationResourcesArgs = {
|
1854
|
-
after?: Maybe<Scalars["String"]>;
|
1855
|
-
before?: Maybe<Scalars["String"]>;
|
1856
|
-
first?: Maybe<Scalars["Int"]>;
|
1857
|
-
includeArchived?: Maybe<Scalars["Boolean"]>;
|
1858
|
-
last?: Maybe<Scalars["Int"]>;
|
1859
|
-
orderBy?: Maybe<PaginationOrderBy>;
|
1860
|
-
};
|
1861
|
-
/** An issue. */
|
1862
1785
|
export declare type IssueInverseRelationsArgs = {
|
1863
1786
|
after?: Maybe<Scalars["String"]>;
|
1864
1787
|
before?: Maybe<Scalars["String"]>;
|
@@ -1964,6 +1887,8 @@ export declare type IssueCollectionFilter = {
|
|
1964
1887
|
priority?: Maybe<NullableNumberComparator>;
|
1965
1888
|
/** Filters that the issues project must satisfy. */
|
1966
1889
|
project?: Maybe<NullableProjectFilter>;
|
1890
|
+
/** [ALPHA] Filters that the issues project milestone must satisfy. */
|
1891
|
+
projectMilestone?: Maybe<NullableProjectMilestoneFilter>;
|
1967
1892
|
/** [Internal] Comparator for the issues content. */
|
1968
1893
|
searchableContent?: Maybe<ContentComparator>;
|
1969
1894
|
/** Comparator for the issues sla status. */
|
@@ -2151,6 +2076,8 @@ export declare type IssueFilter = {
|
|
2151
2076
|
priority?: Maybe<NullableNumberComparator>;
|
2152
2077
|
/** Filters that the issues project must satisfy. */
|
2153
2078
|
project?: Maybe<NullableProjectFilter>;
|
2079
|
+
/** [ALPHA] Filters that the issues project milestone must satisfy. */
|
2080
|
+
projectMilestone?: Maybe<NullableProjectMilestoneFilter>;
|
2154
2081
|
/** [Internal] Comparator for the issues content. */
|
2155
2082
|
searchableContent?: Maybe<ContentComparator>;
|
2156
2083
|
/** Comparator for the issues sla status. */
|
@@ -2870,11 +2797,6 @@ export declare type Mutation = {
|
|
2870
2797
|
integrationLoom: IntegrationPayload;
|
2871
2798
|
/** Requests a currently unavailable integration. */
|
2872
2799
|
integrationRequest: IntegrationRequestPayload;
|
2873
|
-
/**
|
2874
|
-
* Archives an integration resource.
|
2875
|
-
* @deprecated This query will soon be deprecated, please use `attachmentArchive` instead
|
2876
|
-
*/
|
2877
|
-
integrationResourceArchive: ArchivePayload;
|
2878
2800
|
/** Integrates the organization with Sentry. */
|
2879
2801
|
integrationSentryConnect: IntegrationPayload;
|
2880
2802
|
/** [INTERNAL] Updates the integration. */
|
@@ -3305,9 +3227,6 @@ export declare type MutationIntegrationIntercomSettingsUpdateArgs = {
|
|
3305
3227
|
export declare type MutationIntegrationRequestArgs = {
|
3306
3228
|
input: IntegrationRequestInput;
|
3307
3229
|
};
|
3308
|
-
export declare type MutationIntegrationResourceArchiveArgs = {
|
3309
|
-
id: Scalars["String"];
|
3310
|
-
};
|
3311
3230
|
export declare type MutationIntegrationSentryConnectArgs = {
|
3312
3231
|
code: Scalars["String"];
|
3313
3232
|
installationId: Scalars["String"];
|
@@ -3997,6 +3916,8 @@ export declare type NullableIssueFilter = {
|
|
3997
3916
|
priority?: Maybe<NullableNumberComparator>;
|
3998
3917
|
/** Filters that the issues project must satisfy. */
|
3999
3918
|
project?: Maybe<NullableProjectFilter>;
|
3919
|
+
/** [ALPHA] Filters that the issues project milestone must satisfy. */
|
3920
|
+
projectMilestone?: Maybe<NullableProjectMilestoneFilter>;
|
4000
3921
|
/** [Internal] Comparator for the issues content. */
|
4001
3922
|
searchableContent?: Maybe<ContentComparator>;
|
4002
3923
|
/** Comparator for the issues sla status. */
|
@@ -4074,6 +3995,21 @@ export declare type NullableProjectFilter = {
|
|
4074
3995
|
/** Comparator for the updated at date. */
|
4075
3996
|
updatedAt?: Maybe<DateComparator>;
|
4076
3997
|
};
|
3998
|
+
/** [ALPHA] Project milestone filtering options. */
|
3999
|
+
export declare type NullableProjectMilestoneFilter = {
|
4000
|
+
/** Compound filters, all of which need to be matched by the project milestone. */
|
4001
|
+
and?: Maybe<Array<NullableProjectMilestoneFilter>>;
|
4002
|
+
/** Comparator for the created at date. */
|
4003
|
+
createdAt?: Maybe<DateComparator>;
|
4004
|
+
/** Comparator for the identifier. */
|
4005
|
+
id?: Maybe<IdComparator>;
|
4006
|
+
/** Filter based on the existence of the relation. */
|
4007
|
+
null?: Maybe<Scalars["Boolean"]>;
|
4008
|
+
/** Compound filters, one of which need to be matched by the project milestone. */
|
4009
|
+
or?: Maybe<Array<NullableProjectMilestoneFilter>>;
|
4010
|
+
/** Comparator for the updated at date. */
|
4011
|
+
updatedAt?: Maybe<DateComparator>;
|
4012
|
+
};
|
4077
4013
|
/** Comparator for optional strings. */
|
4078
4014
|
export declare type NullableStringComparator = {
|
4079
4015
|
/** Contains constraint. Matches any values that contain the given string. */
|
@@ -4331,6 +4267,8 @@ export declare type Organization = Node & {
|
|
4331
4267
|
projectUpdateRemindersHour: Scalars["Float"];
|
4332
4268
|
/** The frequency at which to prompt for project updates. */
|
4333
4269
|
projectUpdatesReminderFrequency: ProjectUpdateReminderFrequency;
|
4270
|
+
/** The feature release channel the organization belongs to. */
|
4271
|
+
releaseChannel: ReleaseChannel;
|
4334
4272
|
/** Whether the organization is using a roadmap. */
|
4335
4273
|
roadmapEnabled: Scalars["Boolean"];
|
4336
4274
|
/** Whether SAML authentication is enabled for organization. */
|
@@ -5004,6 +4942,8 @@ export declare type ProjectMilestone = Node & {
|
|
5004
4942
|
name: Scalars["String"];
|
5005
4943
|
/** The project of the milestone. */
|
5006
4944
|
project: Project;
|
4945
|
+
/** The order of the milestone in relation to other milestones within a project. */
|
4946
|
+
sortOrder: Scalars["Float"];
|
5007
4947
|
/** The planned completion date of the milestone. */
|
5008
4948
|
targetDate?: Maybe<Scalars["TimelessDate"]>;
|
5009
4949
|
/**
|
@@ -5315,43 +5255,6 @@ export declare type ProjectUpdateWithInteractionPayload = {
|
|
5315
5255
|
/** Whether the operation was successful. */
|
5316
5256
|
success: Scalars["Boolean"];
|
5317
5257
|
};
|
5318
|
-
/** Pull request data */
|
5319
|
-
export declare type PullRequestPayload = {
|
5320
|
-
__typename?: "PullRequestPayload";
|
5321
|
-
branch: Scalars["String"];
|
5322
|
-
closedAt: Scalars["String"];
|
5323
|
-
createdAt: Scalars["String"];
|
5324
|
-
draft: Scalars["Boolean"];
|
5325
|
-
id: Scalars["String"];
|
5326
|
-
mergedAt: Scalars["String"];
|
5327
|
-
number: Scalars["Float"];
|
5328
|
-
repoLogin: Scalars["String"];
|
5329
|
-
repoName: Scalars["String"];
|
5330
|
-
reviewers?: Maybe<Array<Scalars["String"]>>;
|
5331
|
-
reviews?: Maybe<Array<PullRequestReview>>;
|
5332
|
-
status: Scalars["String"];
|
5333
|
-
title: Scalars["String"];
|
5334
|
-
updatedAt: Scalars["String"];
|
5335
|
-
url: Scalars["String"];
|
5336
|
-
userId: Scalars["String"];
|
5337
|
-
userLogin: Scalars["String"];
|
5338
|
-
};
|
5339
|
-
/** Pull request review data */
|
5340
|
-
export declare type PullRequestReview = {
|
5341
|
-
__typename?: "PullRequestReview";
|
5342
|
-
/** The ID of the review. */
|
5343
|
-
id: Scalars["Float"];
|
5344
|
-
/** [Internal] The reviewer's avatar URL. */
|
5345
|
-
reviewerAvatarUrl?: Maybe<Scalars["String"]>;
|
5346
|
-
/** The user ID of the reviewer. */
|
5347
|
-
reviewerId: Scalars["Float"];
|
5348
|
-
/** The login of the reviewer. */
|
5349
|
-
reviewerLogin: Scalars["String"];
|
5350
|
-
/** The state of the review. */
|
5351
|
-
state: Scalars["String"];
|
5352
|
-
/** The timestamp of review submission. */
|
5353
|
-
submittedAt: Scalars["String"];
|
5354
|
-
};
|
5355
5258
|
/** A user's web browser push notification subscription. */
|
5356
5259
|
export declare type PushSubscription = Node & {
|
5357
5260
|
__typename?: "PushSubscription";
|
@@ -5477,16 +5380,6 @@ export declare type Query = {
|
|
5477
5380
|
figmaEmbedInfo: FigmaEmbedPayload;
|
5478
5381
|
/** One specific integration. */
|
5479
5382
|
integration: Integration;
|
5480
|
-
/**
|
5481
|
-
* One specific integration resource. (e.g. linked GitHub pull requests for an issue)
|
5482
|
-
* @deprecated This query will soon be deprecated, please use `attachment` instead
|
5483
|
-
*/
|
5484
|
-
integrationResource: IntegrationResource;
|
5485
|
-
/**
|
5486
|
-
* All integrations resources (e.g. linked GitHub pull requests for issues).
|
5487
|
-
* @deprecated This query will soon be deprecated, please use `attachments` instead
|
5488
|
-
*/
|
5489
|
-
integrationResources: IntegrationResourceConnection;
|
5490
5383
|
/** One specific integrationTemplate. */
|
5491
5384
|
integrationTemplate: IntegrationTemplate;
|
5492
5385
|
/** Template and integration connections. */
|
@@ -5746,17 +5639,6 @@ export declare type QueryFigmaEmbedInfoArgs = {
|
|
5746
5639
|
export declare type QueryIntegrationArgs = {
|
5747
5640
|
id: Scalars["String"];
|
5748
5641
|
};
|
5749
|
-
export declare type QueryIntegrationResourceArgs = {
|
5750
|
-
id: Scalars["String"];
|
5751
|
-
};
|
5752
|
-
export declare type QueryIntegrationResourcesArgs = {
|
5753
|
-
after?: Maybe<Scalars["String"]>;
|
5754
|
-
before?: Maybe<Scalars["String"]>;
|
5755
|
-
first?: Maybe<Scalars["Int"]>;
|
5756
|
-
includeArchived?: Maybe<Scalars["Boolean"]>;
|
5757
|
-
last?: Maybe<Scalars["Int"]>;
|
5758
|
-
orderBy?: Maybe<PaginationOrderBy>;
|
5759
|
-
};
|
5760
5642
|
export declare type QueryIntegrationTemplateArgs = {
|
5761
5643
|
id: Scalars["String"];
|
5762
5644
|
};
|
@@ -6088,6 +5970,13 @@ export declare type RelationExistsComparator = {
|
|
6088
5970
|
/** Not equals constraint. */
|
6089
5971
|
neq?: Maybe<Scalars["Boolean"]>;
|
6090
5972
|
};
|
5973
|
+
/** Features release channel */
|
5974
|
+
export declare enum ReleaseChannel {
|
5975
|
+
Beta = "beta",
|
5976
|
+
Internal = "internal",
|
5977
|
+
PreRelease = "preRelease",
|
5978
|
+
Public = "public"
|
5979
|
+
}
|
6091
5980
|
/** A roadmap for projects. */
|
6092
5981
|
export declare type Roadmap = Node & {
|
6093
5982
|
__typename?: "Roadmap";
|
@@ -6305,32 +6194,6 @@ export declare type SamlConfigurationPayload = {
|
|
6305
6194
|
/** The algorithm of the Signing Certificate. Can be one of `sha1`, `sha256` (default), or `sha512`. */
|
6306
6195
|
ssoSignAlgo?: Maybe<Scalars["String"]>;
|
6307
6196
|
};
|
6308
|
-
/** Sentry issue data */
|
6309
|
-
export declare type SentryIssuePayload = {
|
6310
|
-
__typename?: "SentryIssuePayload";
|
6311
|
-
/** The Sentry identifier of the actor who created the issue. */
|
6312
|
-
actorId: Scalars["Float"];
|
6313
|
-
/** The name of the Sentry actor who created this issue. */
|
6314
|
-
actorName: Scalars["String"];
|
6315
|
-
/** The type of the actor who created the issue. */
|
6316
|
-
actorType: Scalars["String"];
|
6317
|
-
/** The date this issue was first seen. */
|
6318
|
-
firstSeen: Scalars["String"];
|
6319
|
-
/** The name of the first release version this issue appeared on, if available. */
|
6320
|
-
firstVersion?: Maybe<Scalars["String"]>;
|
6321
|
-
/** The Sentry identifier for the issue. */
|
6322
|
-
issueId: Scalars["String"];
|
6323
|
-
/** The title of the issue. */
|
6324
|
-
issueTitle: Scalars["String"];
|
6325
|
-
/** The Sentry identifier of the project this issue belongs to. */
|
6326
|
-
projectId: Scalars["Float"];
|
6327
|
-
/** The slug of the project this issue belongs to. */
|
6328
|
-
projectSlug: Scalars["String"];
|
6329
|
-
/** The shortId of the issue. */
|
6330
|
-
shortId: Scalars["String"];
|
6331
|
-
/** The description of the issue. */
|
6332
|
-
webUrl: Scalars["String"];
|
6333
|
-
};
|
6334
6197
|
/** Sentry specific settings. */
|
6335
6198
|
export declare type SentrySettings = {
|
6336
6199
|
__typename?: "SentrySettings";
|
@@ -7098,7 +6961,7 @@ export declare type UpdateOrganizationInput = {
|
|
7098
6961
|
reducedPersonalInformation?: Maybe<Scalars["Boolean"]>;
|
7099
6962
|
/** Whether the organization is using roadmap. */
|
7100
6963
|
roadmapEnabled?: Maybe<Scalars["Boolean"]>;
|
7101
|
-
/** Internal. Whether
|
6964
|
+
/** Internal. Whether SLAs have been enabled for the organization. */
|
7102
6965
|
slaEnabled?: Maybe<Scalars["Boolean"]>;
|
7103
6966
|
/** The URL key of the organization. */
|
7104
6967
|
urlKey?: Maybe<Scalars["String"]>;
|
@@ -7603,7 +7466,6 @@ export declare enum ViewType {
|
|
7603
7466
|
MyIssuesActivity = "myIssuesActivity",
|
7604
7467
|
MyIssuesCreatedByMe = "myIssuesCreatedByMe",
|
7605
7468
|
MyIssuesSubscribedTo = "myIssuesSubscribedTo",
|
7606
|
-
MyIssuesTouchedByMe = "myIssuesTouchedByMe",
|
7607
7469
|
Project = "project",
|
7608
7470
|
Projects = "projects",
|
7609
7471
|
ProjectsAll = "projectsAll",
|
@@ -7709,6 +7571,48 @@ export declare type WorkflowCondition = {
|
|
7709
7571
|
/** Triggers the workflow when a project matches the filter. Can only be used when the trigger type is `Project`. */
|
7710
7572
|
projectFilter?: Maybe<ProjectFilter>;
|
7711
7573
|
};
|
7574
|
+
export declare type WorkflowCronJobDefinition = Node & {
|
7575
|
+
__typename?: "WorkflowCronJobDefinition";
|
7576
|
+
/** An array of activities that will be executed as part of the workflow cron job. */
|
7577
|
+
activities: Scalars["JSONObject"];
|
7578
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
7579
|
+
archivedAt?: Maybe<Scalars["DateTime"]>;
|
7580
|
+
/** The time at which the entity was created. */
|
7581
|
+
createdAt: Scalars["DateTime"];
|
7582
|
+
/** The user who created the workflow cron job. */
|
7583
|
+
creator: User;
|
7584
|
+
/** The description of the workflow cron job. */
|
7585
|
+
description?: Maybe<Scalars["String"]>;
|
7586
|
+
enabled: Scalars["Boolean"];
|
7587
|
+
/** The unique identifier of the entity. */
|
7588
|
+
id: Scalars["ID"];
|
7589
|
+
/** The name of the workflow cron job. */
|
7590
|
+
name: Scalars["String"];
|
7591
|
+
/** Cron schedule which is used to execute the workflow cron job. */
|
7592
|
+
schedule: Scalars["JSONObject"];
|
7593
|
+
/** The sort order of the workflow cron job definition within its siblings. */
|
7594
|
+
sortOrder: Scalars["String"];
|
7595
|
+
/** The team associated with the workflow cron job. */
|
7596
|
+
team: Team;
|
7597
|
+
/**
|
7598
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
7599
|
+
* 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
|
7600
|
+
* been updated after creation.
|
7601
|
+
*/
|
7602
|
+
updatedAt: Scalars["DateTime"];
|
7603
|
+
};
|
7604
|
+
export declare type WorkflowCronJobDefinitionConnection = {
|
7605
|
+
__typename?: "WorkflowCronJobDefinitionConnection";
|
7606
|
+
edges: Array<WorkflowCronJobDefinitionEdge>;
|
7607
|
+
nodes: Array<WorkflowCronJobDefinition>;
|
7608
|
+
pageInfo: PageInfo;
|
7609
|
+
};
|
7610
|
+
export declare type WorkflowCronJobDefinitionEdge = {
|
7611
|
+
__typename?: "WorkflowCronJobDefinitionEdge";
|
7612
|
+
/** Used in `before` and `after` args */
|
7613
|
+
cursor: Scalars["String"];
|
7614
|
+
node: WorkflowCronJobDefinition;
|
7615
|
+
};
|
7712
7616
|
export declare type WorkflowDefinition = Node & {
|
7713
7617
|
__typename?: "WorkflowDefinition";
|
7714
7618
|
/** An array of activities that will be executed as part of the workflow. */
|
@@ -7730,8 +7634,6 @@ export declare type WorkflowDefinition = Node & {
|
|
7730
7634
|
id: Scalars["ID"];
|
7731
7635
|
/** The name of the workflow. */
|
7732
7636
|
name: Scalars["String"];
|
7733
|
-
/** Cron schedule which is used to execute the workflow. Only applicable for cron based workflows. */
|
7734
|
-
schedule: Scalars["JSONObject"];
|
7735
7637
|
/** The sort order of the workflow definition within its siblings. */
|
7736
7638
|
sortOrder: Scalars["String"];
|
7737
7639
|
/** The team associated with the workflow. If not set, the workflow is associated with the entire organization. */
|
@@ -7874,7 +7776,6 @@ export declare type WorkflowStateUpdateInput = {
|
|
7874
7776
|
position?: Maybe<Scalars["Float"]>;
|
7875
7777
|
};
|
7876
7778
|
export declare enum WorkflowTrigger {
|
7877
|
-
Cron = "cron",
|
7878
7779
|
EntityCreated = "entityCreated",
|
7879
7780
|
EntityCreatedOrUpdated = "entityCreatedOrUpdated",
|
7880
7781
|
EntityRemoved = "entityRemoved",
|
@@ -7887,7 +7788,6 @@ export declare enum WorkflowTriggerType {
|
|
7887
7788
|
}
|
7888
7789
|
export declare enum WorkflowType {
|
7889
7790
|
Custom = "custom",
|
7890
|
-
RecurringIssue = "recurringIssue",
|
7891
7791
|
Sla = "sla"
|
7892
7792
|
}
|
7893
7793
|
/** [INTERNAL] Public information of the OAuth application, plus the userIds and scopes for those users. */
|
@@ -8009,7 +7909,7 @@ export declare type DocumentFragment = {
|
|
8009
7909
|
};
|
8010
7910
|
export declare type ProjectMilestoneFragment = {
|
8011
7911
|
__typename: "ProjectMilestone";
|
8012
|
-
} & Pick<ProjectMilestone, "description" | "updatedAt" | "name" | "targetDate" | "archivedAt" | "createdAt" | "id"> & {
|
7912
|
+
} & Pick<ProjectMilestone, "description" | "updatedAt" | "name" | "sortOrder" | "targetDate" | "archivedAt" | "createdAt" | "id"> & {
|
8013
7913
|
project: {
|
8014
7914
|
__typename?: "Project";
|
8015
7915
|
} & Pick<Project, "id">;
|
@@ -8271,22 +8171,6 @@ export declare type ProjectLinkFragment = {
|
|
8271
8171
|
export declare type IssueImportFragment = {
|
8272
8172
|
__typename: "IssueImport";
|
8273
8173
|
} & Pick<IssueImport, "progress" | "teamName" | "mapping" | "creatorId" | "updatedAt" | "service" | "status" | "archivedAt" | "createdAt" | "id" | "error">;
|
8274
|
-
export declare type IntegrationResourceFragment = {
|
8275
|
-
__typename: "IntegrationResource";
|
8276
|
-
} & Pick<IntegrationResource, "resourceId" | "resourceType" | "updatedAt" | "archivedAt" | "createdAt" | "id"> & {
|
8277
|
-
data: {
|
8278
|
-
__typename?: "IntegrationResourceData";
|
8279
|
-
} & IntegrationResourceDataFragment;
|
8280
|
-
pullRequest: {
|
8281
|
-
__typename?: "PullRequestPayload";
|
8282
|
-
} & PullRequestPayloadFragment;
|
8283
|
-
integration?: Maybe<{
|
8284
|
-
__typename?: "Integration";
|
8285
|
-
} & Pick<Integration, "id">>;
|
8286
|
-
issue: {
|
8287
|
-
__typename?: "Issue";
|
8288
|
-
} & Pick<Issue, "id">;
|
8289
|
-
};
|
8290
8174
|
export declare type IntegrationFragment = {
|
8291
8175
|
__typename: "Integration";
|
8292
8176
|
} & Pick<Integration, "service" | "updatedAt" | "archivedAt" | "createdAt" | "id"> & {
|
@@ -8441,9 +8325,6 @@ export declare type GithubOAuthTokenPayloadFragment = {
|
|
8441
8325
|
__typename?: "GithubOrg";
|
8442
8326
|
} & GithubOrgFragment>>;
|
8443
8327
|
};
|
8444
|
-
export declare type CommitPayloadFragment = {
|
8445
|
-
__typename: "CommitPayload";
|
8446
|
-
} & Pick<CommitPayload, "added" | "id" | "message" | "modified" | "removed" | "timestamp" | "url">;
|
8447
8328
|
export declare type GoogleSheetsSettingsFragment = {
|
8448
8329
|
__typename: "GoogleSheetsSettings";
|
8449
8330
|
} & Pick<GoogleSheetsSettings, "sheetId" | "spreadsheetId" | "spreadsheetUrl" | "updatedIssuesAt">;
|
@@ -8457,22 +8338,6 @@ export declare type ProjectUpdateInteractionFragment = {
|
|
8457
8338
|
__typename?: "User";
|
8458
8339
|
} & Pick<User, "id">;
|
8459
8340
|
};
|
8460
|
-
export declare type IntegrationResourceDataFragment = {
|
8461
|
-
__typename: "IntegrationResourceData";
|
8462
|
-
} & {
|
8463
|
-
githubCommit?: Maybe<{
|
8464
|
-
__typename?: "CommitPayload";
|
8465
|
-
} & CommitPayloadFragment>;
|
8466
|
-
githubPullRequest?: Maybe<{
|
8467
|
-
__typename?: "PullRequestPayload";
|
8468
|
-
} & PullRequestPayloadFragment>;
|
8469
|
-
gitlabMergeRequest?: Maybe<{
|
8470
|
-
__typename?: "PullRequestPayload";
|
8471
|
-
} & PullRequestPayloadFragment>;
|
8472
|
-
sentryIssue?: Maybe<{
|
8473
|
-
__typename?: "SentryIssuePayload";
|
8474
|
-
} & SentryIssuePayloadFragment>;
|
8475
|
-
};
|
8476
8341
|
export declare type IntercomSettingsFragment = {
|
8477
8342
|
__typename: "IntercomSettings";
|
8478
8343
|
} & Pick<IntercomSettings, "automateTicketReopeningOnComment" | "automateTicketReopeningOnCancellation" | "automateTicketReopeningOnCompletion" | "sendNoteOnStatusChange" | "sendNoteOnComment">;
|
@@ -8591,16 +8456,6 @@ export declare type UserAuthorizedApplicationFragment = {
|
|
8591
8456
|
export declare type ApplicationFragment = {
|
8592
8457
|
__typename: "Application";
|
8593
8458
|
} & Pick<Application, "name" | "imageUrl" | "description" | "developer" | "id" | "clientId" | "developerUrl">;
|
8594
|
-
export declare type PullRequestPayloadFragment = {
|
8595
|
-
__typename: "PullRequestPayload";
|
8596
|
-
} & Pick<PullRequestPayload, "branch" | "closedAt" | "createdAt" | "draft" | "id" | "mergedAt" | "number" | "repoLogin" | "repoName" | "reviewers" | "status" | "title" | "updatedAt" | "url" | "userId" | "userLogin"> & {
|
8597
|
-
reviews?: Maybe<Array<{
|
8598
|
-
__typename?: "PullRequestReview";
|
8599
|
-
} & PullRequestReviewFragment>>;
|
8600
|
-
};
|
8601
|
-
export declare type PullRequestReviewFragment = {
|
8602
|
-
__typename: "PullRequestReview";
|
8603
|
-
} & Pick<PullRequestReview, "id" | "reviewerLogin" | "state" | "submittedAt" | "reviewerId">;
|
8604
8459
|
export declare type GithubOrgFragment = {
|
8605
8460
|
__typename: "GithubOrg";
|
8606
8461
|
} & Pick<GithubOrg, "id" | "login" | "name" | "isPersonal"> & {
|
@@ -8614,9 +8469,6 @@ export declare type GithubRepoFragment = {
|
|
8614
8469
|
export declare type OauthClientApprovalFragment = {
|
8615
8470
|
__typename: "OauthClientApproval";
|
8616
8471
|
} & Pick<OauthClientApproval, "updatedAt" | "requesterId" | "responderId" | "requestReason" | "denyReason" | "scopes" | "archivedAt" | "createdAt" | "id" | "oauthClientId">;
|
8617
|
-
export declare type SentryIssuePayloadFragment = {
|
8618
|
-
__typename: "SentryIssuePayload";
|
8619
|
-
} & Pick<SentryIssuePayload, "issueId" | "actorId" | "projectId" | "firstSeen" | "webUrl" | "actorName" | "firstVersion" | "shortId" | "projectSlug" | "issueTitle" | "actorType">;
|
8620
8472
|
export declare type SentrySettingsFragment = {
|
8621
8473
|
__typename: "SentrySettings";
|
8622
8474
|
} & Pick<SentrySettings, "organizationSlug">;
|
@@ -8974,16 +8826,6 @@ export declare type IntegrationPayloadFragment = {
|
|
8974
8826
|
export declare type IntegrationRequestPayloadFragment = {
|
8975
8827
|
__typename: "IntegrationRequestPayload";
|
8976
8828
|
} & Pick<IntegrationRequestPayload, "success">;
|
8977
|
-
export declare type IntegrationResourceConnectionFragment = {
|
8978
|
-
__typename: "IntegrationResourceConnection";
|
8979
|
-
} & {
|
8980
|
-
nodes: Array<{
|
8981
|
-
__typename?: "IntegrationResource";
|
8982
|
-
} & IntegrationResourceFragment>;
|
8983
|
-
pageInfo: {
|
8984
|
-
__typename?: "PageInfo";
|
8985
|
-
} & PageInfoFragment;
|
8986
|
-
};
|
8987
8829
|
export declare type IntegrationTemplateConnectionFragment = {
|
8988
8830
|
__typename: "IntegrationTemplateConnection";
|
8989
8831
|
} & {
|
@@ -9136,9 +8978,6 @@ declare type Node_Favorite_Fragment = {
|
|
9136
8978
|
declare type Node_Integration_Fragment = {
|
9137
8979
|
__typename: "Integration";
|
9138
8980
|
} & Pick<Integration, "id">;
|
9139
|
-
declare type Node_IntegrationResource_Fragment = {
|
9140
|
-
__typename: "IntegrationResource";
|
9141
|
-
} & Pick<IntegrationResource, "id">;
|
9142
8981
|
declare type Node_IntegrationTemplate_Fragment = {
|
9143
8982
|
__typename: "IntegrationTemplate";
|
9144
8983
|
} & Pick<IntegrationTemplate, "id">;
|
@@ -9247,13 +9086,16 @@ declare type Node_ViewPreferences_Fragment = {
|
|
9247
9086
|
declare type Node_Webhook_Fragment = {
|
9248
9087
|
__typename: "Webhook";
|
9249
9088
|
} & Pick<Webhook, "id">;
|
9089
|
+
declare type Node_WorkflowCronJobDefinition_Fragment = {
|
9090
|
+
__typename: "WorkflowCronJobDefinition";
|
9091
|
+
} & Pick<WorkflowCronJobDefinition, "id">;
|
9250
9092
|
declare type Node_WorkflowDefinition_Fragment = {
|
9251
9093
|
__typename: "WorkflowDefinition";
|
9252
9094
|
} & Pick<WorkflowDefinition, "id">;
|
9253
9095
|
declare type Node_WorkflowState_Fragment = {
|
9254
9096
|
__typename: "WorkflowState";
|
9255
9097
|
} & Pick<WorkflowState, "id">;
|
9256
|
-
export declare type NodeFragment = Node_ApiKey_Fragment | Node_Attachment_Fragment | Node_AuditEntry_Fragment | Node_Comment_Fragment | Node_CustomView_Fragment | Node_Cycle_Fragment | Node_Document_Fragment | Node_Emoji_Fragment | Node_Favorite_Fragment | Node_Integration_Fragment |
|
9098
|
+
export declare type NodeFragment = Node_ApiKey_Fragment | Node_Attachment_Fragment | Node_AuditEntry_Fragment | Node_Comment_Fragment | Node_CustomView_Fragment | Node_Cycle_Fragment | Node_Document_Fragment | Node_Emoji_Fragment | Node_Favorite_Fragment | Node_Integration_Fragment | Node_IntegrationTemplate_Fragment | Node_IntegrationsSettings_Fragment | Node_Issue_Fragment | Node_IssueDraft_Fragment | Node_IssueHistory_Fragment | Node_IssueImport_Fragment | Node_IssueLabel_Fragment | Node_IssueNotification_Fragment | Node_IssueRelation_Fragment | Node_OauthClient_Fragment | Node_OauthClientApproval_Fragment | Node_OauthClientApprovalNotification_Fragment | Node_Organization_Fragment | Node_OrganizationDomain_Fragment | Node_OrganizationInvite_Fragment | Node_PaidSubscription_Fragment | Node_PersonalNote_Fragment | Node_Project_Fragment | Node_ProjectLink_Fragment | Node_ProjectMilestone_Fragment | Node_ProjectNotification_Fragment | Node_ProjectNotificationSubscription_Fragment | Node_ProjectUpdate_Fragment | Node_ProjectUpdateInteraction_Fragment | Node_PushSubscription_Fragment | Node_Reaction_Fragment | Node_Roadmap_Fragment | Node_RoadmapToProject_Fragment | Node_Team_Fragment | Node_TeamMembership_Fragment | Node_TeamNotificationSubscription_Fragment | Node_Template_Fragment | Node_User_Fragment | Node_UserSettings_Fragment | Node_ViewPreferences_Fragment | Node_Webhook_Fragment | Node_WorkflowCronJobDefinition_Fragment | Node_WorkflowDefinition_Fragment | Node_WorkflowState_Fragment;
|
9257
9099
|
export declare type NotificationConnectionFragment = {
|
9258
9100
|
__typename: "NotificationConnection";
|
9259
9101
|
} & {
|
@@ -9627,9 +9469,29 @@ export declare type WebhookPayloadFragment = {
|
|
9627
9469
|
__typename?: "Webhook";
|
9628
9470
|
} & Pick<Webhook, "id">;
|
9629
9471
|
};
|
9472
|
+
export declare type WorkflowCronJobDefinitionFragment = {
|
9473
|
+
__typename: "WorkflowCronJobDefinition";
|
9474
|
+
} & Pick<WorkflowCronJobDefinition, "activities" | "schedule" | "description" | "updatedAt" | "name" | "sortOrder" | "archivedAt" | "createdAt" | "id" | "enabled"> & {
|
9475
|
+
team: {
|
9476
|
+
__typename?: "Team";
|
9477
|
+
} & Pick<Team, "id">;
|
9478
|
+
creator: {
|
9479
|
+
__typename?: "User";
|
9480
|
+
} & Pick<User, "id">;
|
9481
|
+
};
|
9482
|
+
export declare type WorkflowCronJobDefinitionConnectionFragment = {
|
9483
|
+
__typename: "WorkflowCronJobDefinitionConnection";
|
9484
|
+
} & {
|
9485
|
+
nodes: Array<{
|
9486
|
+
__typename?: "WorkflowCronJobDefinition";
|
9487
|
+
} & WorkflowCronJobDefinitionFragment>;
|
9488
|
+
pageInfo: {
|
9489
|
+
__typename?: "PageInfo";
|
9490
|
+
} & PageInfoFragment;
|
9491
|
+
};
|
9630
9492
|
export declare type WorkflowDefinitionFragment = {
|
9631
9493
|
__typename: "WorkflowDefinition";
|
9632
|
-
} & Pick<WorkflowDefinition, "activities" | "
|
9494
|
+
} & Pick<WorkflowDefinition, "activities" | "conditions" | "description" | "updatedAt" | "groupName" | "name" | "sortOrder" | "archivedAt" | "createdAt" | "id" | "enabled"> & {
|
9633
9495
|
team?: Maybe<{
|
9634
9496
|
__typename?: "Team";
|
9635
9497
|
} & Pick<Team, "id">>;
|
@@ -10221,16 +10083,6 @@ export declare type IntegrationRequestMutation = {
|
|
10221
10083
|
__typename?: "IntegrationRequestPayload";
|
10222
10084
|
} & IntegrationRequestPayloadFragment;
|
10223
10085
|
};
|
10224
|
-
export declare type ArchiveIntegrationResourceMutationVariables = Exact<{
|
10225
|
-
id: Scalars["String"];
|
10226
|
-
}>;
|
10227
|
-
export declare type ArchiveIntegrationResourceMutation = {
|
10228
|
-
__typename?: "Mutation";
|
10229
|
-
} & {
|
10230
|
-
integrationResourceArchive: {
|
10231
|
-
__typename?: "ArchivePayload";
|
10232
|
-
} & ArchivePayloadFragment;
|
10233
|
-
};
|
10234
10086
|
export declare type IntegrationSentryConnectMutationVariables = Exact<{
|
10235
10087
|
code: Scalars["String"];
|
10236
10088
|
installationId: Scalars["String"];
|
@@ -13751,13 +13603,6 @@ export declare const IntegrationFragmentDoc: DocumentNode<IntegrationFragment, u
|
|
13751
13603
|
export declare const IntegrationConnectionFragmentDoc: DocumentNode<IntegrationConnectionFragment, unknown>;
|
13752
13604
|
export declare const IntegrationPayloadFragmentDoc: DocumentNode<IntegrationPayloadFragment, unknown>;
|
13753
13605
|
export declare const IntegrationRequestPayloadFragmentDoc: DocumentNode<IntegrationRequestPayloadFragment, unknown>;
|
13754
|
-
export declare const CommitPayloadFragmentDoc: DocumentNode<CommitPayloadFragment, unknown>;
|
13755
|
-
export declare const PullRequestReviewFragmentDoc: DocumentNode<PullRequestReviewFragment, unknown>;
|
13756
|
-
export declare const PullRequestPayloadFragmentDoc: DocumentNode<PullRequestPayloadFragment, unknown>;
|
13757
|
-
export declare const SentryIssuePayloadFragmentDoc: DocumentNode<SentryIssuePayloadFragment, unknown>;
|
13758
|
-
export declare const IntegrationResourceDataFragmentDoc: DocumentNode<IntegrationResourceDataFragment, unknown>;
|
13759
|
-
export declare const IntegrationResourceFragmentDoc: DocumentNode<IntegrationResourceFragment, unknown>;
|
13760
|
-
export declare const IntegrationResourceConnectionFragmentDoc: DocumentNode<IntegrationResourceConnectionFragment, unknown>;
|
13761
13606
|
export declare const IntegrationTemplateFragmentDoc: DocumentNode<IntegrationTemplateFragment, unknown>;
|
13762
13607
|
export declare const IntegrationTemplateConnectionFragmentDoc: DocumentNode<IntegrationTemplateConnectionFragment, unknown>;
|
13763
13608
|
export declare const IntegrationTemplatePayloadFragmentDoc: DocumentNode<IntegrationTemplatePayloadFragment, unknown>;
|
@@ -13857,6 +13702,8 @@ export declare const ViewPreferencesPayloadFragmentDoc: DocumentNode<ViewPrefere
|
|
13857
13702
|
export declare const WebhookFragmentDoc: DocumentNode<WebhookFragment, unknown>;
|
13858
13703
|
export declare const WebhookConnectionFragmentDoc: DocumentNode<WebhookConnectionFragment, unknown>;
|
13859
13704
|
export declare const WebhookPayloadFragmentDoc: DocumentNode<WebhookPayloadFragment, unknown>;
|
13705
|
+
export declare const WorkflowCronJobDefinitionFragmentDoc: DocumentNode<WorkflowCronJobDefinitionFragment, unknown>;
|
13706
|
+
export declare const WorkflowCronJobDefinitionConnectionFragmentDoc: DocumentNode<WorkflowCronJobDefinitionConnectionFragment, unknown>;
|
13860
13707
|
export declare const WorkflowDefinitionFragmentDoc: DocumentNode<WorkflowDefinitionFragment, unknown>;
|
13861
13708
|
export declare const WorkflowDefinitionConnectionFragmentDoc: DocumentNode<WorkflowDefinitionConnectionFragment, unknown>;
|
13862
13709
|
export declare const WorkflowStateFragmentDoc: DocumentNode<WorkflowStateFragment, unknown>;
|
@@ -14048,9 +13895,6 @@ export declare const IntegrationLoomDocument: DocumentNode<IntegrationLoomMutati
|
|
14048
13895
|
export declare const IntegrationRequestDocument: DocumentNode<IntegrationRequestMutation, Exact<{
|
14049
13896
|
input: IntegrationRequestInput;
|
14050
13897
|
}>>;
|
14051
|
-
export declare const ArchiveIntegrationResourceDocument: DocumentNode<ArchiveIntegrationResourceMutation, Exact<{
|
14052
|
-
id: Scalars["String"];
|
14053
|
-
}>>;
|
14054
13898
|
export declare const IntegrationSentryConnectDocument: DocumentNode<IntegrationSentryConnectMutation, Exact<{
|
14055
13899
|
code: Scalars["String"];
|
14056
13900
|
installationId: Scalars["String"];
|