@linear/sdk 2.3.0 → 2.5.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 +72 -0
- package/dist/_generated_documents.d.ts +158 -44
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +86 -28
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +355 -134
- 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 +348 -133
- 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 +362 -139
- 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/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/webhooks.d.ts +18 -0
- package/dist/webhooks.d.ts.map +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,77 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 2.5.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- 08697ed: feat(schema): [breaking] Type 'AdminJobConfiguration' was removed (AdminJobConfiguration)
|
8
|
+
|
9
|
+
feat(schema): [breaking] Type 'AdminJobConfigurationPayload' was removed (AdminJobConfigurationPayload)
|
10
|
+
|
11
|
+
feat(schema): [breaking] Type 'AdminJobStatusPayload' was removed (AdminJobStatusPayload)
|
12
|
+
|
13
|
+
feat(schema): [dangerous] Input field 'slaBreachesAt' was added to input object type 'IssueCreateInput' (IssueCreateInput.slaBreachesAt)
|
14
|
+
|
15
|
+
feat(schema): [dangerous] Input field 'sortOrder' was added to input object type 'ProjectMilestoneCreateInput' (ProjectMilestoneCreateInput.sortOrder)
|
16
|
+
|
17
|
+
feat(schema): [dangerous] Input field 'sortOrder' was added to input object type 'ProjectMilestoneUpdateInput' (ProjectMilestoneUpdateInput.sortOrder)
|
18
|
+
|
19
|
+
feat(schema): [non_breaking] Type 'OauthClientConnection' was added (OauthClientConnection)
|
20
|
+
|
21
|
+
feat(schema): [non_breaking] Type 'OauthClientEdge' was added (OauthClientEdge)
|
22
|
+
|
23
|
+
feat(schema): [non_breaking] Field 'integrationSlackIntake' was added to object type 'Mutation' (Mutation.integrationSlackIntake)
|
24
|
+
|
25
|
+
feat(schema): [non_breaking] Field 'webhookSecret' was added to object type 'OauthClient' (OauthClient.webhookSecret)
|
26
|
+
|
27
|
+
feat(schema): [non_breaking] Input field 'WebhookCreateInput.secret' description changed from 'An optional secret token used to sign the webhook payload.' to 'A secret token used to sign the webhook payload.' (WebhookCreateInput.secret)
|
28
|
+
|
29
|
+
feat(schema): [non_breaking] Input field 'WebhookUpdateInput.secret' description changed from 'An optional secret token used to sign the Webhook payload.' to 'A secret token used to sign the webhook payload.' (WebhookUpdateInput.secret)
|
30
|
+
|
31
|
+
- e9e1c69: Add new Webhooks helper class
|
32
|
+
|
33
|
+
### Patch Changes
|
34
|
+
|
35
|
+
- 5ab451c: chore(deps): update dependency patch versions
|
36
|
+
|
37
|
+
## 2.4.0
|
38
|
+
|
39
|
+
### Minor Changes
|
40
|
+
|
41
|
+
- 735f437: feat(schema): [breaking] Enum value 'myIssuesTouchedByMe' was removed from enum 'ViewType' (ViewType.myIssuesTouchedByMe)
|
42
|
+
|
43
|
+
feat(schema): [breaking] Field 'schedule' was removed from object type 'WorkflowDefinition' (WorkflowDefinition.schedule)
|
44
|
+
|
45
|
+
feat(schema): [breaking] Enum value 'cron' was removed from enum 'WorkflowTrigger' (WorkflowTrigger.cron)
|
46
|
+
|
47
|
+
feat(schema): [breaking] Enum value 'recurringIssue' was removed from enum 'WorkflowType' (WorkflowType.recurringIssue)
|
48
|
+
|
49
|
+
feat(schema): [dangerous] Input field 'projectMilestone' was added to input object type 'IssueCollectionFilter' (IssueCollectionFilter.projectMilestone)
|
50
|
+
|
51
|
+
feat(schema): [dangerous] Input field 'projectMilestone' was added to input object type 'IssueFilter' (IssueFilter.projectMilestone)
|
52
|
+
|
53
|
+
feat(schema): [dangerous] Input field 'projectMilestone' was added to input object type 'NullableIssueFilter' (NullableIssueFilter.projectMilestone)
|
54
|
+
|
55
|
+
feat(schema): [non_breaking] Type 'NullableProjectMilestoneFilter' was added (NullableProjectMilestoneFilter)
|
56
|
+
|
57
|
+
feat(schema): [non_breaking] Type 'ReleaseChannel' was added (ReleaseChannel)
|
58
|
+
|
59
|
+
feat(schema): [non_breaking] Type 'WorkflowCronJobDefinition' was added (WorkflowCronJobDefinition)
|
60
|
+
|
61
|
+
feat(schema): [non_breaking] Type 'WorkflowCronJobDefinitionConnection' was added (WorkflowCronJobDefinitionConnection)
|
62
|
+
|
63
|
+
feat(schema): [non_breaking] Type 'WorkflowCronJobDefinitionEdge' was added (WorkflowCronJobDefinitionEdge)
|
64
|
+
|
65
|
+
feat(schema): [non_breaking] Field 'releaseChannel' was added to object type 'Organization' (Organization.releaseChannel)
|
66
|
+
|
67
|
+
- 9583079: feat(schema): [non_breaking] Field 'sortOrder' was added to object type 'ProjectMilestone' (ProjectMilestone.sortOrder)
|
68
|
+
|
69
|
+
## 2.3.1
|
70
|
+
|
71
|
+
### Patch Changes
|
72
|
+
|
73
|
+
- 3b943fb: chore(deps): update dependency patch versions
|
74
|
+
|
3
75
|
## 2.3.0
|
4
76
|
|
5
77
|
### Minor Changes
|
@@ -29,26 +29,6 @@ export declare type Scalars = {
|
|
29
29
|
/** A universally unique identifier as specified by RFC 4122. */
|
30
30
|
UUID: any;
|
31
31
|
};
|
32
|
-
export declare type AdminJobConfiguration = {
|
33
|
-
currentJob?: Maybe<Scalars["String"]>;
|
34
|
-
delay?: Maybe<Scalars["Float"]>;
|
35
|
-
enabled: Scalars["Boolean"];
|
36
|
-
param?: Maybe<Scalars["String"]>;
|
37
|
-
};
|
38
|
-
export declare type AdminJobConfigurationPayload = {
|
39
|
-
__typename?: "AdminJobConfigurationPayload";
|
40
|
-
currentJob?: Maybe<Scalars["String"]>;
|
41
|
-
delay: Scalars["Float"];
|
42
|
-
enabled: Scalars["Boolean"];
|
43
|
-
param?: Maybe<Scalars["String"]>;
|
44
|
-
};
|
45
|
-
export declare type AdminJobStatusPayload = {
|
46
|
-
__typename?: "AdminJobStatusPayload";
|
47
|
-
availableJobs: Array<Scalars["String"]>;
|
48
|
-
configuration: AdminJobConfigurationPayload;
|
49
|
-
cursor?: Maybe<Scalars["String"]>;
|
50
|
-
startedAt?: Maybe<Scalars["DateTime"]>;
|
51
|
-
};
|
52
32
|
export declare type AirbyteConfigurationInput = {
|
53
33
|
/** Linear export API key. */
|
54
34
|
apiKey: Scalars["String"];
|
@@ -1887,6 +1867,8 @@ export declare type IssueCollectionFilter = {
|
|
1887
1867
|
priority?: Maybe<NullableNumberComparator>;
|
1888
1868
|
/** Filters that the issues project must satisfy. */
|
1889
1869
|
project?: Maybe<NullableProjectFilter>;
|
1870
|
+
/** [ALPHA] Filters that the issues project milestone must satisfy. */
|
1871
|
+
projectMilestone?: Maybe<NullableProjectMilestoneFilter>;
|
1890
1872
|
/** [Internal] Comparator for the issues content. */
|
1891
1873
|
searchableContent?: Maybe<ContentComparator>;
|
1892
1874
|
/** Comparator for the issues sla status. */
|
@@ -1951,6 +1933,8 @@ export declare type IssueCreateInput = {
|
|
1951
1933
|
projectMilestoneId?: Maybe<Scalars["String"]>;
|
1952
1934
|
/** The comment the issue is referencing. */
|
1953
1935
|
referenceCommentId?: Maybe<Scalars["String"]>;
|
1936
|
+
/** [Internal] The timestamp at which an issue will be considered in breach of SLA. */
|
1937
|
+
slaBreachesAt?: Maybe<Scalars["DateTime"]>;
|
1954
1938
|
/** The position of the issue related to other issues. */
|
1955
1939
|
sortOrder?: Maybe<Scalars["Float"]>;
|
1956
1940
|
/** The team state of the issue. */
|
@@ -2074,6 +2058,8 @@ export declare type IssueFilter = {
|
|
2074
2058
|
priority?: Maybe<NullableNumberComparator>;
|
2075
2059
|
/** Filters that the issues project must satisfy. */
|
2076
2060
|
project?: Maybe<NullableProjectFilter>;
|
2061
|
+
/** [ALPHA] Filters that the issues project milestone must satisfy. */
|
2062
|
+
projectMilestone?: Maybe<NullableProjectMilestoneFilter>;
|
2077
2063
|
/** [Internal] Comparator for the issues content. */
|
2078
2064
|
searchableContent?: Maybe<ContentComparator>;
|
2079
2065
|
/** Comparator for the issues sla status. */
|
@@ -2801,6 +2787,8 @@ export declare type Mutation = {
|
|
2801
2787
|
integrationSlack: IntegrationPayload;
|
2802
2788
|
/** Imports custom emojis from your Slack workspace. */
|
2803
2789
|
integrationSlackImportEmojis: IntegrationPayload;
|
2790
|
+
/** Integrates the organization with Slack for issue intake. */
|
2791
|
+
integrationSlackIntake: IntegrationPayload;
|
2804
2792
|
/** Slack integration for organization level project update notifications. */
|
2805
2793
|
integrationSlackOrgProjectUpdatesPost: IntegrationPayload;
|
2806
2794
|
/** Integrates your personal notifications with Slack. */
|
@@ -3241,6 +3229,10 @@ export declare type MutationIntegrationSlackImportEmojisArgs = {
|
|
3241
3229
|
code: Scalars["String"];
|
3242
3230
|
redirectUri: Scalars["String"];
|
3243
3231
|
};
|
3232
|
+
export declare type MutationIntegrationSlackIntakeArgs = {
|
3233
|
+
code: Scalars["String"];
|
3234
|
+
redirectUri: Scalars["String"];
|
3235
|
+
};
|
3244
3236
|
export declare type MutationIntegrationSlackOrgProjectUpdatesPostArgs = {
|
3245
3237
|
code: Scalars["String"];
|
3246
3238
|
redirectUri: Scalars["String"];
|
@@ -3912,6 +3904,8 @@ export declare type NullableIssueFilter = {
|
|
3912
3904
|
priority?: Maybe<NullableNumberComparator>;
|
3913
3905
|
/** Filters that the issues project must satisfy. */
|
3914
3906
|
project?: Maybe<NullableProjectFilter>;
|
3907
|
+
/** [ALPHA] Filters that the issues project milestone must satisfy. */
|
3908
|
+
projectMilestone?: Maybe<NullableProjectMilestoneFilter>;
|
3915
3909
|
/** [Internal] Comparator for the issues content. */
|
3916
3910
|
searchableContent?: Maybe<ContentComparator>;
|
3917
3911
|
/** Comparator for the issues sla status. */
|
@@ -3989,6 +3983,21 @@ export declare type NullableProjectFilter = {
|
|
3989
3983
|
/** Comparator for the updated at date. */
|
3990
3984
|
updatedAt?: Maybe<DateComparator>;
|
3991
3985
|
};
|
3986
|
+
/** [ALPHA] Project milestone filtering options. */
|
3987
|
+
export declare type NullableProjectMilestoneFilter = {
|
3988
|
+
/** Compound filters, all of which need to be matched by the project milestone. */
|
3989
|
+
and?: Maybe<Array<NullableProjectMilestoneFilter>>;
|
3990
|
+
/** Comparator for the created at date. */
|
3991
|
+
createdAt?: Maybe<DateComparator>;
|
3992
|
+
/** Comparator for the identifier. */
|
3993
|
+
id?: Maybe<IdComparator>;
|
3994
|
+
/** Filter based on the existence of the relation. */
|
3995
|
+
null?: Maybe<Scalars["Boolean"]>;
|
3996
|
+
/** Compound filters, one of which need to be matched by the project milestone. */
|
3997
|
+
or?: Maybe<Array<NullableProjectMilestoneFilter>>;
|
3998
|
+
/** Comparator for the updated at date. */
|
3999
|
+
updatedAt?: Maybe<DateComparator>;
|
4000
|
+
};
|
3992
4001
|
/** Comparator for optional strings. */
|
3993
4002
|
export declare type NullableStringComparator = {
|
3994
4003
|
/** Contains constraint. Matches any values that contain the given string. */
|
@@ -4135,6 +4144,8 @@ export declare type OauthClient = Node & {
|
|
4135
4144
|
updatedAt: Scalars["DateTime"];
|
4136
4145
|
/** The resource types to request when creating new webhooks. */
|
4137
4146
|
webhookResourceTypes: Array<Scalars["String"]>;
|
4147
|
+
/** Webhook secret token for verifying the origin on the recipient side. */
|
4148
|
+
webhookSecret?: Maybe<Scalars["String"]>;
|
4138
4149
|
/** Webhook URL */
|
4139
4150
|
webhookUrl?: Maybe<Scalars["String"]>;
|
4140
4151
|
};
|
@@ -4203,6 +4214,18 @@ export declare type OauthClientApprovalNotification = Entity & Node & Notificati
|
|
4203
4214
|
/** The user that received the notification. */
|
4204
4215
|
user: User;
|
4205
4216
|
};
|
4217
|
+
export declare type OauthClientConnection = {
|
4218
|
+
__typename?: "OauthClientConnection";
|
4219
|
+
edges: Array<OauthClientEdge>;
|
4220
|
+
nodes: Array<OauthClient>;
|
4221
|
+
pageInfo: PageInfo;
|
4222
|
+
};
|
4223
|
+
export declare type OauthClientEdge = {
|
4224
|
+
__typename?: "OauthClientEdge";
|
4225
|
+
/** Used in `before` and `after` args */
|
4226
|
+
cursor: Scalars["String"];
|
4227
|
+
node: OauthClient;
|
4228
|
+
};
|
4206
4229
|
export declare type OnboardingCustomerSurvey = {
|
4207
4230
|
companyRole?: Maybe<Scalars["String"]>;
|
4208
4231
|
companySize?: Maybe<Scalars["String"]>;
|
@@ -4246,6 +4269,8 @@ export declare type Organization = Node & {
|
|
4246
4269
|
projectUpdateRemindersHour: Scalars["Float"];
|
4247
4270
|
/** The frequency at which to prompt for project updates. */
|
4248
4271
|
projectUpdatesReminderFrequency: ProjectUpdateReminderFrequency;
|
4272
|
+
/** The feature release channel the organization belongs to. */
|
4273
|
+
releaseChannel: ReleaseChannel;
|
4249
4274
|
/** Whether the organization is using a roadmap. */
|
4250
4275
|
roadmapEnabled: Scalars["Boolean"];
|
4251
4276
|
/** Whether SAML authentication is enabled for organization. */
|
@@ -4919,6 +4944,8 @@ export declare type ProjectMilestone = Node & {
|
|
4919
4944
|
name: Scalars["String"];
|
4920
4945
|
/** The project of the milestone. */
|
4921
4946
|
project: Project;
|
4947
|
+
/** The order of the milestone in relation to other milestones within a project. */
|
4948
|
+
sortOrder: Scalars["Float"];
|
4922
4949
|
/** The planned completion date of the milestone. */
|
4923
4950
|
targetDate?: Maybe<Scalars["TimelessDate"]>;
|
4924
4951
|
/**
|
@@ -4943,6 +4970,8 @@ export declare type ProjectMilestoneCreateInput = {
|
|
4943
4970
|
name: Scalars["String"];
|
4944
4971
|
/** Related project for the project milestone. */
|
4945
4972
|
projectId: Scalars["String"];
|
4973
|
+
/** The sort order for the project milestone within a project. */
|
4974
|
+
sortOrder?: Maybe<Scalars["Float"]>;
|
4946
4975
|
/** The planned target date of the project milestone. */
|
4947
4976
|
targetDate?: Maybe<Scalars["TimelessDate"]>;
|
4948
4977
|
};
|
@@ -4968,6 +4997,8 @@ export declare type ProjectMilestoneUpdateInput = {
|
|
4968
4997
|
name?: Maybe<Scalars["String"]>;
|
4969
4998
|
/** Related project for the project milestone. */
|
4970
4999
|
projectId?: Maybe<Scalars["String"]>;
|
5000
|
+
/** The sort order for the project milestone within a project. */
|
5001
|
+
sortOrder?: Maybe<Scalars["Float"]>;
|
4971
5002
|
/** The planned target date of the project milestone. */
|
4972
5003
|
targetDate?: Maybe<Scalars["TimelessDate"]>;
|
4973
5004
|
};
|
@@ -5945,6 +5976,13 @@ export declare type RelationExistsComparator = {
|
|
5945
5976
|
/** Not equals constraint. */
|
5946
5977
|
neq?: Maybe<Scalars["Boolean"]>;
|
5947
5978
|
};
|
5979
|
+
/** Features release channel */
|
5980
|
+
export declare enum ReleaseChannel {
|
5981
|
+
Beta = "beta",
|
5982
|
+
Internal = "internal",
|
5983
|
+
PreRelease = "preRelease",
|
5984
|
+
Public = "public"
|
5985
|
+
}
|
5948
5986
|
/** A roadmap for projects. */
|
5949
5987
|
export declare type Roadmap = Node & {
|
5950
5988
|
__typename?: "Roadmap";
|
@@ -7434,7 +7472,6 @@ export declare enum ViewType {
|
|
7434
7472
|
MyIssuesActivity = "myIssuesActivity",
|
7435
7473
|
MyIssuesCreatedByMe = "myIssuesCreatedByMe",
|
7436
7474
|
MyIssuesSubscribedTo = "myIssuesSubscribedTo",
|
7437
|
-
MyIssuesTouchedByMe = "myIssuesTouchedByMe",
|
7438
7475
|
Project = "project",
|
7439
7476
|
Projects = "projects",
|
7440
7477
|
ProjectsAll = "projectsAll",
|
@@ -7499,7 +7536,7 @@ export declare type WebhookCreateInput = {
|
|
7499
7536
|
label?: Maybe<Scalars["String"]>;
|
7500
7537
|
/** List of resources the webhook should subscribe to. */
|
7501
7538
|
resourceTypes: Array<Scalars["String"]>;
|
7502
|
-
/**
|
7539
|
+
/** A secret token used to sign the webhook payload. */
|
7503
7540
|
secret?: Maybe<Scalars["String"]>;
|
7504
7541
|
/** The identifier or key of the team associated with the Webhook. */
|
7505
7542
|
teamId?: Maybe<Scalars["String"]>;
|
@@ -7528,7 +7565,7 @@ export declare type WebhookUpdateInput = {
|
|
7528
7565
|
label?: Maybe<Scalars["String"]>;
|
7529
7566
|
/** List of resources the webhook should subscribe to. */
|
7530
7567
|
resourceTypes?: Maybe<Array<Scalars["String"]>>;
|
7531
|
-
/**
|
7568
|
+
/** A secret token used to sign the webhook payload. */
|
7532
7569
|
secret?: Maybe<Scalars["String"]>;
|
7533
7570
|
/** The URL that will be called on data changes. */
|
7534
7571
|
url?: Maybe<Scalars["String"]>;
|
@@ -7540,6 +7577,48 @@ export declare type WorkflowCondition = {
|
|
7540
7577
|
/** Triggers the workflow when a project matches the filter. Can only be used when the trigger type is `Project`. */
|
7541
7578
|
projectFilter?: Maybe<ProjectFilter>;
|
7542
7579
|
};
|
7580
|
+
export declare type WorkflowCronJobDefinition = Node & {
|
7581
|
+
__typename?: "WorkflowCronJobDefinition";
|
7582
|
+
/** An array of activities that will be executed as part of the workflow cron job. */
|
7583
|
+
activities: Scalars["JSONObject"];
|
7584
|
+
/** The time at which the entity was archived. Null if the entity has not been archived. */
|
7585
|
+
archivedAt?: Maybe<Scalars["DateTime"]>;
|
7586
|
+
/** The time at which the entity was created. */
|
7587
|
+
createdAt: Scalars["DateTime"];
|
7588
|
+
/** The user who created the workflow cron job. */
|
7589
|
+
creator: User;
|
7590
|
+
/** The description of the workflow cron job. */
|
7591
|
+
description?: Maybe<Scalars["String"]>;
|
7592
|
+
enabled: Scalars["Boolean"];
|
7593
|
+
/** The unique identifier of the entity. */
|
7594
|
+
id: Scalars["ID"];
|
7595
|
+
/** The name of the workflow cron job. */
|
7596
|
+
name: Scalars["String"];
|
7597
|
+
/** Cron schedule which is used to execute the workflow cron job. */
|
7598
|
+
schedule: Scalars["JSONObject"];
|
7599
|
+
/** The sort order of the workflow cron job definition within its siblings. */
|
7600
|
+
sortOrder: Scalars["String"];
|
7601
|
+
/** The team associated with the workflow cron job. */
|
7602
|
+
team: Team;
|
7603
|
+
/**
|
7604
|
+
* The last time at which the entity was meaningfully updated, i.e. for all changes of syncable properties except those
|
7605
|
+
* 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
|
7606
|
+
* been updated after creation.
|
7607
|
+
*/
|
7608
|
+
updatedAt: Scalars["DateTime"];
|
7609
|
+
};
|
7610
|
+
export declare type WorkflowCronJobDefinitionConnection = {
|
7611
|
+
__typename?: "WorkflowCronJobDefinitionConnection";
|
7612
|
+
edges: Array<WorkflowCronJobDefinitionEdge>;
|
7613
|
+
nodes: Array<WorkflowCronJobDefinition>;
|
7614
|
+
pageInfo: PageInfo;
|
7615
|
+
};
|
7616
|
+
export declare type WorkflowCronJobDefinitionEdge = {
|
7617
|
+
__typename?: "WorkflowCronJobDefinitionEdge";
|
7618
|
+
/** Used in `before` and `after` args */
|
7619
|
+
cursor: Scalars["String"];
|
7620
|
+
node: WorkflowCronJobDefinition;
|
7621
|
+
};
|
7543
7622
|
export declare type WorkflowDefinition = Node & {
|
7544
7623
|
__typename?: "WorkflowDefinition";
|
7545
7624
|
/** An array of activities that will be executed as part of the workflow. */
|
@@ -7561,8 +7640,6 @@ export declare type WorkflowDefinition = Node & {
|
|
7561
7640
|
id: Scalars["ID"];
|
7562
7641
|
/** The name of the workflow. */
|
7563
7642
|
name: Scalars["String"];
|
7564
|
-
/** Cron schedule which is used to execute the workflow. Only applicable for cron based workflows. */
|
7565
|
-
schedule: Scalars["JSONObject"];
|
7566
7643
|
/** The sort order of the workflow definition within its siblings. */
|
7567
7644
|
sortOrder: Scalars["String"];
|
7568
7645
|
/** The team associated with the workflow. If not set, the workflow is associated with the entire organization. */
|
@@ -7705,7 +7782,6 @@ export declare type WorkflowStateUpdateInput = {
|
|
7705
7782
|
position?: Maybe<Scalars["Float"]>;
|
7706
7783
|
};
|
7707
7784
|
export declare enum WorkflowTrigger {
|
7708
|
-
Cron = "cron",
|
7709
7785
|
EntityCreated = "entityCreated",
|
7710
7786
|
EntityCreatedOrUpdated = "entityCreatedOrUpdated",
|
7711
7787
|
EntityRemoved = "entityRemoved",
|
@@ -7718,7 +7794,6 @@ export declare enum WorkflowTriggerType {
|
|
7718
7794
|
}
|
7719
7795
|
export declare enum WorkflowType {
|
7720
7796
|
Custom = "custom",
|
7721
|
-
RecurringIssue = "recurringIssue",
|
7722
7797
|
Sla = "sla"
|
7723
7798
|
}
|
7724
7799
|
/** [INTERNAL] Public information of the OAuth application, plus the userIds and scopes for those users. */
|
@@ -7840,7 +7915,7 @@ export declare type DocumentFragment = {
|
|
7840
7915
|
};
|
7841
7916
|
export declare type ProjectMilestoneFragment = {
|
7842
7917
|
__typename: "ProjectMilestone";
|
7843
|
-
} & Pick<ProjectMilestone, "description" | "updatedAt" | "name" | "targetDate" | "archivedAt" | "createdAt" | "id"> & {
|
7918
|
+
} & Pick<ProjectMilestone, "description" | "updatedAt" | "name" | "sortOrder" | "targetDate" | "archivedAt" | "createdAt" | "id"> & {
|
7844
7919
|
project: {
|
7845
7920
|
__typename?: "Project";
|
7846
7921
|
} & Pick<Project, "id">;
|
@@ -8366,7 +8441,7 @@ export declare type NotionSettingsFragment = {
|
|
8366
8441
|
} & Pick<NotionSettings, "workspaceId" | "workspaceName">;
|
8367
8442
|
export declare type OauthClientFragment = {
|
8368
8443
|
__typename: "OauthClient";
|
8369
|
-
} & Pick<OauthClient, "imageUrl" | "description" | "redirectUris" | "developer" | "clientId" | "name" | "clientSecret" | "updatedAt" | "webhookResourceTypes" | "archivedAt" | "createdAt" | "id" | "developerUrl" | "webhookUrl" | "publicEnabled"> & {
|
8444
|
+
} & Pick<OauthClient, "imageUrl" | "description" | "redirectUris" | "developer" | "clientId" | "name" | "clientSecret" | "updatedAt" | "webhookResourceTypes" | "archivedAt" | "createdAt" | "id" | "developerUrl" | "webhookUrl" | "webhookSecret" | "publicEnabled"> & {
|
8370
8445
|
creator: {
|
8371
8446
|
__typename?: "User";
|
8372
8447
|
} & Pick<User, "id">;
|
@@ -8523,16 +8598,6 @@ export declare type AuditEntryFragment = {
|
|
8523
8598
|
export declare type ZendeskSettingsFragment = {
|
8524
8599
|
__typename: "ZendeskSettings";
|
8525
8600
|
} & Pick<ZendeskSettings, "botUserId" | "url" | "subdomain" | "automateTicketReopeningOnComment" | "automateTicketReopeningOnCancellation" | "automateTicketReopeningOnCompletion" | "sendNoteOnStatusChange" | "sendNoteOnComment">;
|
8526
|
-
export declare type AdminJobConfigurationPayloadFragment = {
|
8527
|
-
__typename: "AdminJobConfigurationPayload";
|
8528
|
-
} & Pick<AdminJobConfigurationPayload, "currentJob" | "delay" | "enabled" | "param">;
|
8529
|
-
export declare type AdminJobStatusPayloadFragment = {
|
8530
|
-
__typename: "AdminJobStatusPayload";
|
8531
|
-
} & Pick<AdminJobStatusPayload, "availableJobs" | "cursor" | "startedAt"> & {
|
8532
|
-
configuration: {
|
8533
|
-
__typename?: "AdminJobConfigurationPayload";
|
8534
|
-
} & AdminJobConfigurationPayloadFragment;
|
8535
|
-
};
|
8536
8601
|
export declare type ApiKeyConnectionFragment = {
|
8537
8602
|
__typename: "ApiKeyConnection";
|
8538
8603
|
} & {
|
@@ -9017,13 +9082,16 @@ declare type Node_ViewPreferences_Fragment = {
|
|
9017
9082
|
declare type Node_Webhook_Fragment = {
|
9018
9083
|
__typename: "Webhook";
|
9019
9084
|
} & Pick<Webhook, "id">;
|
9085
|
+
declare type Node_WorkflowCronJobDefinition_Fragment = {
|
9086
|
+
__typename: "WorkflowCronJobDefinition";
|
9087
|
+
} & Pick<WorkflowCronJobDefinition, "id">;
|
9020
9088
|
declare type Node_WorkflowDefinition_Fragment = {
|
9021
9089
|
__typename: "WorkflowDefinition";
|
9022
9090
|
} & Pick<WorkflowDefinition, "id">;
|
9023
9091
|
declare type Node_WorkflowState_Fragment = {
|
9024
9092
|
__typename: "WorkflowState";
|
9025
9093
|
} & Pick<WorkflowState, "id">;
|
9026
|
-
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_WorkflowDefinition_Fragment | Node_WorkflowState_Fragment;
|
9094
|
+
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;
|
9027
9095
|
export declare type NotificationConnectionFragment = {
|
9028
9096
|
__typename: "NotificationConnection";
|
9029
9097
|
} & {
|
@@ -9070,6 +9138,16 @@ export declare type NotificationSubscriptionPayloadFragment = {
|
|
9070
9138
|
__typename?: "TeamNotificationSubscription";
|
9071
9139
|
} & NotificationSubscription_TeamNotificationSubscription_Fragment);
|
9072
9140
|
};
|
9141
|
+
export declare type OauthClientConnectionFragment = {
|
9142
|
+
__typename: "OauthClientConnection";
|
9143
|
+
} & {
|
9144
|
+
nodes: Array<{
|
9145
|
+
__typename?: "OauthClient";
|
9146
|
+
} & OauthClientFragment>;
|
9147
|
+
pageInfo: {
|
9148
|
+
__typename?: "PageInfo";
|
9149
|
+
} & PageInfoFragment;
|
9150
|
+
};
|
9073
9151
|
export declare type OrganizationCancelDeletePayloadFragment = {
|
9074
9152
|
__typename: "OrganizationCancelDeletePayload";
|
9075
9153
|
} & Pick<OrganizationCancelDeletePayload, "success">;
|
@@ -9397,9 +9475,29 @@ export declare type WebhookPayloadFragment = {
|
|
9397
9475
|
__typename?: "Webhook";
|
9398
9476
|
} & Pick<Webhook, "id">;
|
9399
9477
|
};
|
9478
|
+
export declare type WorkflowCronJobDefinitionFragment = {
|
9479
|
+
__typename: "WorkflowCronJobDefinition";
|
9480
|
+
} & Pick<WorkflowCronJobDefinition, "activities" | "schedule" | "description" | "updatedAt" | "name" | "sortOrder" | "archivedAt" | "createdAt" | "id" | "enabled"> & {
|
9481
|
+
team: {
|
9482
|
+
__typename?: "Team";
|
9483
|
+
} & Pick<Team, "id">;
|
9484
|
+
creator: {
|
9485
|
+
__typename?: "User";
|
9486
|
+
} & Pick<User, "id">;
|
9487
|
+
};
|
9488
|
+
export declare type WorkflowCronJobDefinitionConnectionFragment = {
|
9489
|
+
__typename: "WorkflowCronJobDefinitionConnection";
|
9490
|
+
} & {
|
9491
|
+
nodes: Array<{
|
9492
|
+
__typename?: "WorkflowCronJobDefinition";
|
9493
|
+
} & WorkflowCronJobDefinitionFragment>;
|
9494
|
+
pageInfo: {
|
9495
|
+
__typename?: "PageInfo";
|
9496
|
+
} & PageInfoFragment;
|
9497
|
+
};
|
9400
9498
|
export declare type WorkflowDefinitionFragment = {
|
9401
9499
|
__typename: "WorkflowDefinition";
|
9402
|
-
} & Pick<WorkflowDefinition, "activities" | "
|
9500
|
+
} & Pick<WorkflowDefinition, "activities" | "conditions" | "description" | "updatedAt" | "groupName" | "name" | "sortOrder" | "archivedAt" | "createdAt" | "id" | "enabled"> & {
|
9403
9501
|
team?: Maybe<{
|
9404
9502
|
__typename?: "Team";
|
9405
9503
|
} & Pick<Team, "id">>;
|
@@ -10026,6 +10124,17 @@ export declare type IntegrationSlackImportEmojisMutation = {
|
|
10026
10124
|
__typename?: "IntegrationPayload";
|
10027
10125
|
} & IntegrationPayloadFragment;
|
10028
10126
|
};
|
10127
|
+
export declare type IntegrationSlackIntakeMutationVariables = Exact<{
|
10128
|
+
code: Scalars["String"];
|
10129
|
+
redirectUri: Scalars["String"];
|
10130
|
+
}>;
|
10131
|
+
export declare type IntegrationSlackIntakeMutation = {
|
10132
|
+
__typename?: "Mutation";
|
10133
|
+
} & {
|
10134
|
+
integrationSlackIntake: {
|
10135
|
+
__typename?: "IntegrationPayload";
|
10136
|
+
} & IntegrationPayloadFragment;
|
10137
|
+
};
|
10029
10138
|
export declare type IntegrationSlackOrgProjectUpdatesPostMutationVariables = Exact<{
|
10030
10139
|
code: Scalars["String"];
|
10031
10140
|
redirectUri: Scalars["String"];
|
@@ -13445,7 +13554,6 @@ export declare const OrganizationDomainFragmentDoc: DocumentNode<OrganizationDom
|
|
13445
13554
|
export declare const GithubRepoFragmentDoc: DocumentNode<GithubRepoFragment, unknown>;
|
13446
13555
|
export declare const GithubOrgFragmentDoc: DocumentNode<GithubOrgFragment, unknown>;
|
13447
13556
|
export declare const GithubOAuthTokenPayloadFragmentDoc: DocumentNode<GithubOAuthTokenPayloadFragment, unknown>;
|
13448
|
-
export declare const OauthClientFragmentDoc: DocumentNode<OauthClientFragment, unknown>;
|
13449
13557
|
export declare const UserAuthorizedApplicationFragmentDoc: DocumentNode<UserAuthorizedApplicationFragment, unknown>;
|
13450
13558
|
export declare const ApplicationFragmentDoc: DocumentNode<ApplicationFragment, unknown>;
|
13451
13559
|
export declare const FrontSettingsFragmentDoc: DocumentNode<FrontSettingsFragment, unknown>;
|
@@ -13462,8 +13570,6 @@ export declare const ZendeskSettingsFragmentDoc: DocumentNode<ZendeskSettingsFra
|
|
13462
13570
|
export declare const IntegrationSettingsFragmentDoc: DocumentNode<IntegrationSettingsFragment, unknown>;
|
13463
13571
|
export declare const SamlConfigurationPayloadFragmentDoc: DocumentNode<SamlConfigurationPayloadFragment, unknown>;
|
13464
13572
|
export declare const UserSettingsFragmentDoc: DocumentNode<UserSettingsFragment, unknown>;
|
13465
|
-
export declare const AdminJobConfigurationPayloadFragmentDoc: DocumentNode<AdminJobConfigurationPayloadFragment, unknown>;
|
13466
|
-
export declare const AdminJobStatusPayloadFragmentDoc: DocumentNode<AdminJobStatusPayloadFragment, unknown>;
|
13467
13573
|
export declare const ApiKeyFragmentDoc: DocumentNode<ApiKeyFragment, unknown>;
|
13468
13574
|
export declare const PageInfoFragmentDoc: DocumentNode<PageInfoFragment, unknown>;
|
13469
13575
|
export declare const ApiKeyConnectionFragmentDoc: DocumentNode<ApiKeyConnectionFragment, unknown>;
|
@@ -13546,6 +13652,8 @@ export declare const NotificationPayloadFragmentDoc: DocumentNode<NotificationPa
|
|
13546
13652
|
export declare const NotificationSubscriptionFragmentDoc: DocumentNode<NotificationSubscriptionFragment, unknown>;
|
13547
13653
|
export declare const NotificationSubscriptionConnectionFragmentDoc: DocumentNode<NotificationSubscriptionConnectionFragment, unknown>;
|
13548
13654
|
export declare const NotificationSubscriptionPayloadFragmentDoc: DocumentNode<NotificationSubscriptionPayloadFragment, unknown>;
|
13655
|
+
export declare const OauthClientFragmentDoc: DocumentNode<OauthClientFragment, unknown>;
|
13656
|
+
export declare const OauthClientConnectionFragmentDoc: DocumentNode<OauthClientConnectionFragment, unknown>;
|
13549
13657
|
export declare const OrganizationCancelDeletePayloadFragmentDoc: DocumentNode<OrganizationCancelDeletePayloadFragment, unknown>;
|
13550
13658
|
export declare const OrganizationDeletePayloadFragmentDoc: DocumentNode<OrganizationDeletePayloadFragment, unknown>;
|
13551
13659
|
export declare const OrganizationExistsPayloadFragmentDoc: DocumentNode<OrganizationExistsPayloadFragment, unknown>;
|
@@ -13610,6 +13718,8 @@ export declare const ViewPreferencesPayloadFragmentDoc: DocumentNode<ViewPrefere
|
|
13610
13718
|
export declare const WebhookFragmentDoc: DocumentNode<WebhookFragment, unknown>;
|
13611
13719
|
export declare const WebhookConnectionFragmentDoc: DocumentNode<WebhookConnectionFragment, unknown>;
|
13612
13720
|
export declare const WebhookPayloadFragmentDoc: DocumentNode<WebhookPayloadFragment, unknown>;
|
13721
|
+
export declare const WorkflowCronJobDefinitionFragmentDoc: DocumentNode<WorkflowCronJobDefinitionFragment, unknown>;
|
13722
|
+
export declare const WorkflowCronJobDefinitionConnectionFragmentDoc: DocumentNode<WorkflowCronJobDefinitionConnectionFragment, unknown>;
|
13613
13723
|
export declare const WorkflowDefinitionFragmentDoc: DocumentNode<WorkflowDefinitionFragment, unknown>;
|
13614
13724
|
export declare const WorkflowDefinitionConnectionFragmentDoc: DocumentNode<WorkflowDefinitionConnectionFragment, unknown>;
|
13615
13725
|
export declare const WorkflowStateFragmentDoc: DocumentNode<WorkflowStateFragment, unknown>;
|
@@ -13815,6 +13925,10 @@ export declare const IntegrationSlackImportEmojisDocument: DocumentNode<Integrat
|
|
13815
13925
|
code: Scalars["String"];
|
13816
13926
|
redirectUri: Scalars["String"];
|
13817
13927
|
}>>;
|
13928
|
+
export declare const IntegrationSlackIntakeDocument: DocumentNode<IntegrationSlackIntakeMutation, Exact<{
|
13929
|
+
code: Scalars["String"];
|
13930
|
+
redirectUri: Scalars["String"];
|
13931
|
+
}>>;
|
13818
13932
|
export declare const IntegrationSlackOrgProjectUpdatesPostDocument: DocumentNode<IntegrationSlackOrgProjectUpdatesPostMutation, Exact<{
|
13819
13933
|
code: Scalars["String"];
|
13820
13934
|
redirectUri: Scalars["String"];
|